|
From: | Malte Meyn |
Subject: | Re: "Mensurstriche" (barlines between systems) and Repeat signs. |
Date: | Fri, 1 Feb 2019 18:04:23 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
Am 01.02.19 um 16:53 schrieb Aaron Hill:
"" is already a valid bar line that has an empty glyph, so just extend that one:%%%% \version "2.19.82" \defineBarLine "-span" #'("|" "|" "|") \layout { \context { \Score defaultBarType = "-span" } } \new StaffGroup << \new Staff \repeat unfold 12 b'4 \new Staff \repeat unfold 12 b'4 >> %%%%
That’s not enough: #'("|" "|" "|") will make full bar lines at line breaks. When I try #'("" "" "|") instead, no span bar is printed at line end. But the following seems to work:
%%%%% \version "2.21.0" \defineBarLine "-m" #'("-m" "" "|") \layout { \context { \Score defaultBarType = "-m" } } mus = \relative { \repeat unfold 12 { c' d e d } \bar "|." } \new StaffGroup << \new Staff \mus \new Staff \mus >> %%%%% I’ll try to explain what I think is happening here:• in the middle of a line, the staff bar is taken from the name "-m" and the span bar from the third argument "|" • at the begin of a line, the second argument is used: "" is an empty staff bar *with empty span bar* (default for "" bar lines) • at the end of a line, the first argument is used: "" is not sufficient here, because the span bar is taken from the "" definition instead of the third argument; setting the first argument to "-m" looks into the third argument of this definition.
[Prev in Thread] | Current Thread | [Next in Thread] |