Changing the staff switch line to a dashed or dotted line
I would like to change the staff switch line from solid to dashed or dotted. I based the following example on a message that I found in the Lilypond mail archive: https://www.mail-archive.com/lilypond-user@gnu.org/msg47036.html When I compile this example, the line is still solid. Is my syntax incorrect or what have I misunderstood? Thanks to anyone who can provide the answer. Joe Srednicki \version "2.19.82"\new PianoStaff << \new Staff = "one" { \showStaffSwitch \override VoiceFollower #'style = #'dotted-line' c'1 \change Staff = "two" b2 a } \new Staff = "two" { \clef bass s1*2 } >> ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Changing the staff switch line to a dashed or dotted line
Hi, \override VoiceFollower #'style = #'dotted-line' Here is the mistake: The ' before dotted-line is not a quotation mark that needs a twin. It's just #'dotted-line oder #'dashed-line. Also, in recent versions, there is the following more convenient syntax: \override VoiceFollower.style = #'dashed-line More details on fine-tuning can be found here: http://lilypond.org/doc/v2.18/Documentation/internals/line_002dinterface For instance, it is explained that a dotted-line is just a dashed-line with zero dash-fraction (length of the dashes). For me, it seems sensible to increase density if you want dotted lines: \override VoiceFollower.dash-period = 0.2 Best Lukas ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Changing the staff switch line to a dashed or dotted line
Hi, \override VoiceFollower #'style = #'dotted-line' Here is the mistake: The ' before dotted-line is not a quotation mark that needs a twin. It's just #'dotted-line oder #'dashed-line. Also, in recent versions, there is the following more convenient syntax: \override VoiceFollower.style = #'dashed-line More details on fine-tuning can be found here: http://lilypond.org/doc/v2.18/Documentation/internals/line_002dinterface For instance, it is explained that a dotted-line is just a dashed-line with zero dash-fraction (length of the dashes). For me, it seems sensible to increase density if you want dotted lines: \override VoiceFollower.dash-period = 0.2 Best Lukas ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user