]> git.donarmstrong.com Git - lilypond.git/commitdiff
Add regtest for \addlyrics on Staff context
authorDavid Kastrup <dak@gnu.org>
Tue, 9 Sep 2014 14:54:17 +0000 (16:54 +0200)
committerDavid Kastrup <dak@gnu.org>
Sun, 14 Sep 2014 05:48:30 +0000 (07:48 +0200)
input/regression/addlyrics-to-staff-context.ly [new file with mode: 0644]

diff --git a/input/regression/addlyrics-to-staff-context.ly b/input/regression/addlyrics-to-staff-context.ly
new file mode 100644 (file)
index 0000000..13b45ca
--- /dev/null
@@ -0,0 +1,22 @@
+\version "2.19.14"
+
+\header {
+  texidoc = "
+@code{\\addlyrics} may get used on a @code{Staff} context and will
+then consider all note events created below it for synchronization.
+"
+}
+
+\relative \new Staff {
+  \time 2/4
+  c''4 b8. a16 g4.
+  << { r8 a4( b) c2 } \\
+     { f,8 e4 d c2 }
+  >>
+}
+\addlyrics {
+  Life is __ _ love, _ live __ _ life.
+}
+\addlyrics {
+  No more let sins and sor -- rows grow.
+}