]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-number-of-lines-in-a-staff.ly
Docs: run convert-ly for 2.14.0.
[lilypond.git] / Documentation / snippets / changing-the-number-of-lines-in-a-staff.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.0"
8
9 \header {
10   lsrtags = "staff-notation"
11
12   texidoc = "
13 The number of lines in a staff may changed by overriding the
14 @code{StaffSymbol} property @code{line-count}.
15
16
17
18
19 "
20   doctitle = "Changing the number of lines in a staff"
21 } % begin verbatim
22
23 upper = \relative c'' {
24   c4 d e f
25 }
26
27 lower = \relative c {
28   \clef bass
29   c4 b a g
30 }
31
32 \score {
33   \context PianoStaff <<
34     \new Staff {
35       \upper
36     }
37     \new Staff {
38       \override Staff.StaffSymbol #'line-count = #4
39       \lower
40     }
41   >>
42 }
43