Mensurstriche layout (bar lines between the staves): Difference between revisions
Appearance
No edit summary |
m New category |
||
| Line 26: | Line 26: | ||
[[Category:Tweaks and overrides]] | [[Category:Tweaks and overrides]] | ||
[[Category:Contexts and engravers]] | [[Category:Contexts and engravers]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
Revision as of 23:19, 21 November 2025
Mensurstriche, bar lines between but not through staves, can be printed by setting measureBarType to "-span|" and using a grouping context that allows span bars, such as StaffGroup.
\version "2.24"
\layout {
\context {
\Staff
measureBarType = "-span|"
}
}
music = \fixed c'' {
c1
d2 \section e2
f1 \fine
}
\new StaffGroup <<
\new Staff \music
\new Staff \music
>>