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

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
No edit summary
 
(5 intermediate revisions by 2 users not shown)
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" full>
<lilypond version="2.24">
consistentlyLeftAlignedBarNumbers = {
consistentlyLeftAlignedBarNumbers = {
   \override Score.BarNumber.break-visibility = #end-of-line-invisible
   \override Score.BarNumber.break-visibility = #end-of-line-invisible
Line 33: Line 33:
   }
   }
>>
>>
\layout {
  indent = #0
  ragged-right = ##t
  ragged-last = ##t
}
\paper { tagline = ##f }
</lilypond>
</lilypond>


[[Category:Rhythms]]
[[Category:Rhythms]]
[[Category:Included in the official documentation]]
[[Category:Scheme]]
[[Category:Snippet]]