]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/changing-the-number-of-lines-in-a-staff.ly
Imported Upstream version 2.14.2
[lilypond.git] / Documentation / snippets / changing-the-number-of-lines-in-a-staff.ly
diff --git a/Documentation/snippets/changing-the-number-of-lines-in-a-staff.ly b/Documentation/snippets/changing-the-number-of-lines-in-a-staff.ly
new file mode 100644 (file)
index 0000000..ce4d1ce
--- /dev/null
@@ -0,0 +1,43 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "staff-notation"
+
+  texidoc = "
+The number of lines in a staff may changed by overriding the
+@code{StaffSymbol} property @code{line-count}.
+
+
+
+
+"
+  doctitle = "Changing the number of lines in a staff"
+} % begin verbatim
+
+upper = \relative c'' {
+  c4 d e f
+}
+
+lower = \relative c {
+  \clef bass
+  c4 b a g
+}
+
+\score {
+  \context PianoStaff <<
+    \new Staff {
+      \upper
+    }
+    \new Staff {
+      \override Staff.StaffSymbol #'line-count = #4
+      \lower
+    }
+  >>
+}
+