From 7c3ce989132202651945e8d4ba62c2d4690767d8 Mon Sep 17 00:00:00 2001 From: gpercival Date: Sat, 16 Oct 2004 20:49:17 +0000 Subject: [PATCH] Moved piano-lyrics into manual. --- ChangeLog | 4 +++ Documentation/user/examples.itely | 49 ++++++++++++++++++++++++++++++- 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f7472bbf68..3a2021a61c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,10 @@ * Documentation/user/lilypond-book.itely: add more details about building .lytex files. + * Documentation/user/examples.itely: added piano-lyrics template + + * input/template/piano-4-voices.ly, piano-lyrics.ly: remove. + 2004-10-16 Werner Lemberg * scripts/lilypond-book.ly (snippet_res): Define group `match' diff --git a/Documentation/user/examples.itely b/Documentation/user/examples.itely index a1d72cf0fa..8f0af888c2 100644 --- a/Documentation/user/examples.itely +++ b/Documentation/user/examples.itely @@ -296,9 +296,56 @@ lower = \relative c { \layout { \context { \RemoveEmptyStaffContext } } - \midi { \tempo 4=60} + \midi { \tempo 4=60 } +} + +@end lilypond + + +@subsection Piano centered lyrics + +Instead of having a full staff for the melody and lyrics, you can place +the lyrics between the piano staff (and omit the separate melody staff). + +@lilypond[verbatim,raggedright] + +\version "2.3.22" +upper = \relative c'' { + \clef treble + \key c \major + \time 4/4 + + a b c d } +lower = \relative c { + \clef bass + \key c \major + \time 4/4 + + a2 c +} + +text = \lyricmode { + Aaa Bee Cee Dee +} + +\score { + \context GrandStaff << + \context Staff = upper { + \context Voice = singer \upper } + \lyricsto "singer" \new Lyrics \text + \context Staff = lower << + \clef bass + \lower + >> + >> + \layout { + \context { \GrandStaff \accepts "Lyrics" } + \context { \Lyrics \consists "Bar_engraver" } + } + \midi { \tempo 4=60 } +} @end lilypond -- 2.39.5