Mensurstriche layout (bar lines between the staves)

The mensurstriche layout, where bar lines do not appear on staves but between staves only, can be achieved with a StaffGroup instead of a ChoirStaff. The bar line on staves is blanked out using \hide.

\layout {
  \context {
    \Staff
    measureBarType = "-span|"
  }
}

music = \fixed c'' {
  c1
  d2 \section e2
  f1 \fine
}

\new StaffGroup <<
  \new Staff \music
  \new Staff \music
>>

[image of music]


LilyPond — Snippets v2.25.3 (development-branch).