]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/piano-template-with-centered-lyrics.ly
Merge branch 'master' into translation
[lilypond.git] / Documentation / snippets / piano-template-with-centered-lyrics.ly
index 99eb3ed3f94117ac0c79b6cab58cc75e681a32f2..008535e304ef6cdf50082a81294bccd01b208260 100644 (file)
@@ -17,7 +17,6 @@ centered between the staves of a piano staff.
   doctitle = "Piano template with centered lyrics"
 } % begin verbatim
 
-
 upper = \relative c'' {
   \clef treble
   \key c \major
@@ -39,20 +38,11 @@ text = \lyricmode {
 }
 
 \score {
-  \new GrandStaff <<
+  \new PianoStaff <<
     \new Staff = upper { \new Voice = "singer" \upper }
     \new Lyrics \lyricsto "singer" \text
     \new Staff = lower { \lower }
   >>
-  \layout {
-    \context {
-      \GrandStaff
-      \accepts "Lyrics"
-    }
-    \context {
-      \Lyrics
-      \consists "Bar_engraver"
-    }
-  }
+  \layout { }
   \midi { }
 }