X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fpiano-template-with-centered-lyrics.ly;h=008535e304ef6cdf50082a81294bccd01b208260;hb=65ba9df14e3a74b78689aa9e504d9d45f9cd35ac;hp=99eb3ed3f94117ac0c79b6cab58cc75e681a32f2;hpb=4ee99b07605942b02e82c6526df98b68cbc03981;p=lilypond.git diff --git a/Documentation/snippets/piano-template-with-centered-lyrics.ly b/Documentation/snippets/piano-template-with-centered-lyrics.ly index 99eb3ed3f9..008535e304 100644 --- a/Documentation/snippets/piano-template-with-centered-lyrics.ly +++ b/Documentation/snippets/piano-template-with-centered-lyrics.ly @@ -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 { } }