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