]> git.donarmstrong.com Git - lilypond.git/commitdiff
Issue 3655: Doc: Changes.tely 2.18 release
authorJames Lowe <pkx166h@gmail.com>
Wed, 4 Dec 2013 23:44:12 +0000 (00:44 +0100)
committerDavid Kastrup <dak@gnu.org>
Fri, 14 Mar 2014 17:42:23 +0000 (18:42 +0100)
Mention new NullVoice feature including a simple example

(cherry picked from commit 0f7b01fc0bb37987e3405a7acbc14dc6aeb47d71)

Documentation/changes.tely

index 909d8e62d26735e78f7289f549296267b3fa5def..0815787d3c127a1c2572f5041721103787b91593 100644 (file)
@@ -61,6 +61,28 @@ which scares away people.
 
 @end ignore
 
+@item
+There is now a new context type called @code{NullVoice} which, while not
+appearing in the printed output, can be used to align lyrics.  This can
+be particularly convenient when used in parallel with a
+@code{\partcombine} construct.
+
+@lilypond[verbatim,quote]
+soprano = \relative c' { c e g c }
+alto = \relative c' { a c e g }
+verse = \lyricmode { This is my song }
+
+\score {
+  \new Staff <<
+    \partcombine \soprano \alto
+    \new NullVoice = "aligner" \soprano
+    \new Lyrics \lyricsto "aligner" \verse
+  >>
+  \layout {}
+}
+@end lilypond
+
+
 @item
 Several articulations can be put into a single variable or
 returned from an event function: