]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/instrument-name-pedal-lyrics.ly
Add newlines at EOF where appropriate.
[lilypond.git] / input / regression / instrument-name-pedal-lyrics.ly
1 \version "2.15.12"
2
3 \header {
4   texidoc = "@code{Dynamics} and @code{Lyrics} lines below
5 a @code{PianoStaff} do not affect the placement of the instrument name."
6 }
7
8 upper = \relative c'' {
9   a4 b c d
10 }
11
12 lower = \relative c {
13   \clef bass
14   a2 c
15 }
16
17 \score { 
18 <<
19   \new PianoStaff 
20   <<
21     \set PianoStaff.instrumentName = #"Piano"
22     \new Staff = "Staff_pfUpper" << \upper >>
23     \new Staff = "Staff_pfLower" << \lower >>
24     \new Dynamics { s2\sustainOn s\sustainOff }
25   >>
26
27   \new PianoStaff <<
28     \set PianoStaff.instrumentName = #"Piano"
29     \new Staff = "Staff_pfUpper" << \upper >>
30     \new Staff = "Staff_pfLower" << \lower >>
31     \new Lyrics \lyricmode { la2 la2 }
32   >>
33
34   \new PianoStaff <<
35     \set PianoStaff.instrumentName = #"Piano"
36     \new Staff = "Staff_pfUpper" << \upper >>
37     \new Staff = "Staff_pfLower" << \lower >>
38   >>
39 >>
40 }