Hello Kira, Aarons version uses the stencil of the stanza number, which means that it only works if there is a linenumber present (thus it won’t display after a line break. I’ve come up with a way to instead use a context that missuses the Clef stencil, which will print in every line and can force lines within a system by setting LineSep.forceClef = ##t
Cheers, Valentin
#(define dashlength 10) #(define dashindent 2) #(define dashthickness 0.17) \layout { \context { \type "Engraver_group" \name "LineSep" \consists "Bar_engraver" \consists "Clef_engraver" \consists "Axis_group_engraver" \defaultchild "NullVoice" \accepts "CueVoice" \accepts "NullVoice" \accepts "Voice" \override VerticalAxisGroup.staff-affinity = #CENTER clefPosition = 4.8 \override Clef.X-offset = #dashindent \override Clef.X-extent = #'(0 . 0) \override Clef.stencil = #(lambda (grob) (make-line-stencil dashthickness 0 0 dashlength 0)) \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #'((basic-distance . 0) (minimum-distance . 0) (padding . 0.5)) } \context { \Score \accepts LineSep } } << \new Staff \new Voice="s" { a' a' a' a' | \break a' a' a' a' } \new Lyrics \lyricsto "s" {\set stanza = #"1." He -- re is some text, bla bla bla } \new Lyrics \with { % this with block is important for the spacing between the upper lyrics to the line \override VerticalAxisGroup.nonstaff-nonstaff-spacing = #'((basic-distance . 0) (minimum-distance . 0) (padding . 0.5)) } \lyricsto "s" {\set stanza = #"2." He -- re is some text, bla bla bla } \new LineSep { s1 s2 \set LineSep.forceClef = ##t s2 } \new Lyrics \with { \override LyricText.font-shape = #'italic } \lyricsto "s" {\set stanza = #"3." He -- re is some text, bla bla bla } >>
signature.asc
Description: This is a digitally signed message part.