Am 01.02.19 um 18:42 schrieb Aaron Hill:
On 2019-02-01 9:04 am, Malte Meyn wrote:
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:
I goofed when I posted my solution, as I had intended it to be #'("" ""
"|"), since it was meant to be only the span bar.
• 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.
That very much sounds like a bug and should be reported. The final
argument is the span setting which should be agnostic of start and end
styles and vice versa.
Hm … I don’t think that this is correct: How about
\defineBarLine ".|:-||" #'("||" ".|:" ".|")
? If the span bar ".|" would be used at all positions, the output at
line breaks wouldn’t be correct: the "||" bar at the line end would have
a ".|" span bar too …
But I don’t know why we have the span bar argument at all then …
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user