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