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