Also two remarks: 1) Instead of using skips in your global block you can have your global block automatically adjusted to the music by doing
global = { \hide Staff.BarLine \skip \sopI \undo \hide Staff.BarLine \bar "|." } (after the definition of sopI in this case). \skip music will create a skip on the same length as the music. 2) Instead of using such a parallel global thing with \hide BarLine we can achieve the same effect by doing \version "2.24.0" \layout { \override Staff.BarLine.stencil = #(grob-transformer 'stencil (lambda (grob orig) (let ((type (ly:grob-property grob 'glyph))) (if (equal? type "|") empty-stencil orig)))) } sopI = \relative c'' { c1 c c \fine } sopII = \relative c' { f1 f f \fine } bass = \relative c'' { c1 c c \fine } words = \lyricmode { la la la } \new StaffGroup << \new Staff { \voices 1,2<< \sopI \\ \sopII >> } \new Lyrics \lyricsto "2" \words \new Staff { << \bass >> } >> This modifies the stencil output from a BarLine grob so that if that BarLine grob is a "|" BarLine an empty stencil is produced. This then produces a cleaner file because instead of telling Lilypond what to do you tell Lilypond how to do it automatically. If you do this for multiple files then you can simply outsource \layout { \override Staff.BarLine.stencil = #(grob-transformer 'stencil (lambda (grob orig) (let ((type (ly:grob-property grob 'glyph))) (if (equal? type "|") empty-stencil orig)))) } into a file say mensurstriche.ily and simply do \include "mensurestriche.ily" in these files. This way you get a simple style you can add to a score whenever you want without having to modify anything else. Cheers, Valentin
signature.asc
Description: This is a digitally signed message part.