]> git.donarmstrong.com Git - lilypond.git/blob - input/new/printing-the-bar-number-for-the-first-measure.ly
Merge commit 'origin/dev/jneeman' into systems-per-page
[lilypond.git] / input / new / printing-the-bar-number-for-the-first-measure.ly
1 \version "2.12.1"
2
3 \header {
4   lsrtags = "rhythms"
5
6   texidoc = "
7 By default, the first bar number in a score is suppressed if it is
8 less than or equal to `1'.  By setting @code{barNumberVisibility}
9 to @code{all-bar-numbers-visible}, any bar number can be printed
10 for the first measure and all subsequent measures.  Note that an
11 empty bar line must be inserted before the first note for this to
12 work.
13
14 "
15   doctitle = "Printing the bar number for the first measure"
16 }
17
18 \relative c' {
19   \set Score.barNumberVisibility = #all-bar-numbers-visible
20   \bar ""
21   c1 d e f \break
22   g1 e d c
23 }