]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/changing-the-number-of-lines-in-a-staff.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[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.16.0"
8
9 \header {
10   lsrtags = "specific-notation, 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
24 upper = \relative c'' {
25   c4 d e f
26 }
27
28 lower = \relative c {
29   \clef bass
30   c4 b a g
31 }
32
33 \score {
34   \context PianoStaff <<
35     \new Staff {
36       \upper
37     }
38     \new Staff {
39       \override Staff.StaffSymbol #'line-count = #4
40       \lower
41     }
42   >>
43 }