]> git.donarmstrong.com Git - lilypond.git/commitdiff
Moved piano-lyrics into manual.
authorgpercival <gpercival>
Sat, 16 Oct 2004 20:49:17 +0000 (20:49 +0000)
committergpercival <gpercival>
Sat, 16 Oct 2004 20:49:17 +0000 (20:49 +0000)
ChangeLog
Documentation/user/examples.itely

index f7472bbf6862108502540dc634d37e8d134540ff..3a2021a61ce3314da13811829824be3ba843ee37 100644 (file)
--- 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  <wl@gnu.org>
 
        * scripts/lilypond-book.ly (snippet_res): Define group `match'
index a1d72cf0fa1de96a7293ee5b3528b749e633682b..8f0af888c294311a54d04e9d160d88c327bc7863 100644 (file)
@@ -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