Printing bar numbers at regular intervals: Difference between revisions

m New category
mNo edit summary
 
Line 1: Line 1:
By setting the <code>barNumberVisibility</code> property, bar numbers can be printed at regular intervals. Here the bar numbers are printed every two measures except at the end of the line.
By setting the <code>barNumberVisibility</code> property, bar numbers can be printed at regular intervals. Here the bar numbers are printed every two measures except at the end of the line.


<lilypond version="2.24" full>
<lilypond version="2.24">
\relative c' {
\relative c' {
   \override Score.BarNumber.break-visibility = #end-of-line-invisible
   \override Score.BarNumber.break-visibility = #end-of-line-invisible
Line 11: Line 11:
   c1 | c | c | c | c
   c1 | c | c | c | c
}
}
\paper { tagline = ##f }
</lilypond>
</lilypond>