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