Showing barlines (SpanBars) only between systems: Difference between revisions
Appearance
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
m New category Tags: Mobile edit Mobile web edit |
||
| (One intermediate revision by the same user not shown) | |||
| Line 27: | Line 27: | ||
[[Category:Paper and layout]] | [[Category:Paper and layout]] | ||
[[Category:Staff notation]] | [[Category:Staff notation]] | ||
[[Category:Snippet]] | |||
Latest revision as of 23:28, 21 November 2025
Span bars are drawn only between staff bar lines. By setting bar lines to transparent, they are shown only between systems.
\version "2.24"
%% see http://lsr.di.unimi.it/LSR/Item?id=320
\relative c' \new StaffGroup <<
\new Staff {
a1
\once \override Score.BarLine.transparent = ##t
a1
\once \override Score.SpanBar.transparent = ##t
a1 a1
\bar "|."
}
\lyricmode <<
\new Lyrics { bla1 die bla }
\new Lyrics { foo bar foo }
>>
\new Staff {
f1 f1 f1 f1
}
>>