Consistently left-aligned bar numbers (obsolete in 2.23): Difference between revisions

Import snippet from LSR
 
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
Line 3: Line 3:
The snippet solves this by keeping the first bar number right-aligned that follows a line break.
The snippet solves this by keeping the first bar number right-aligned that follows a line break.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
consistentlyLeftAlignedBarNumbers = {
consistentlyLeftAlignedBarNumbers = {
   \override Score.BarNumber.break-visibility = #end-of-line-invisible
   \override Score.BarNumber.break-visibility = #end-of-line-invisible