Printing the bar number for the first measure: Difference between revisions
Appearance
m New category |
mNo edit summary |
||
| Line 1: | Line 1: | ||
By default, the first bar number in a score is suppressed if it is less than or equal | By default, the first bar number in a score is suppressed if it is less than or equal to 1. This can be changed by setting the <code>barNumberVisibility</code> context property to value <code>all-bar-numbers-visible</code>. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
\ | \paper { | ||
line-width = 50\mm | |||
} | } | ||
Latest revision as of 08:44, 8 December 2025
By default, the first bar number in a score is suppressed if it is less than or equal to 1. This can be changed by setting the barNumberVisibility context property to value all-bar-numbers-visible.
\version "2.24"
\paper {
line-width = 50\mm
}
\relative c' {
\set Score.barNumberVisibility = #all-bar-numbers-visible
c1 | d | e | f \break
g1 | e | d | c
}