Printing the bar number for the first measure: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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 | |||
} | } | ||
| Line 15: | Line 14: | ||
[[Category:Rhythms]] | [[Category:Rhythms]] | ||
[[Category:Included in the official documentation]][[Category:Snippet]] | [[Category:Included in the official documentation]] | ||
[[Category:Snippet]] | |||
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
}