]> git.donarmstrong.com Git - lilypond.git/blobdiff - 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
diff --git a/input/lsr/printing-the-bar-number-for-the-first-measure.ly b/input/lsr/printing-the-bar-number-for-the-first-measure.ly
new file mode 100644 (file)
index 0000000..6d69366
--- /dev/null
@@ -0,0 +1,24 @@
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.12.3"
+
+\header {
+  lsrtags = "rhythms"
+
+  texidoc = "
+By default, the first bar number in a score is suppressed if it is less
+than or equal to `1'.  By setting @code{barNumberVisibility} to
+@code{all-bar-numbers-visible}, any bar number can be printed for the
+first measure and all subsequent measures.  Note that an empty bar line
+must be inserted before the first note for this to work.
+
+"
+  doctitle = "Printing the bar number for the first measure"
+} % begin verbatim
+
+\relative c' {
+  \set Score.barNumberVisibility = #all-bar-numbers-visible
+  \bar ""
+  c1 d e f \break
+  g1 e d c
+}