]> git.donarmstrong.com Git - lilypond.git/commitdiff
More info about stanzas; thanks Geoff!
authorGraham Percival <graham@percival-music.ca>
Wed, 25 Oct 2006 21:21:49 +0000 (21:21 +0000)
committerGraham Percival <graham@percival-music.ca>
Wed, 25 Oct 2006 21:21:49 +0000 (21:21 +0000)
ChangeLog
Documentation/user/instrument-notation.itely

index 56cebb46442fbd0e09e4cf5607799d9e92dd01a5..753b143b53d55b9e0f87d5392f973d5bafe04859 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-10-25  Graham Percival  <gpermus@gmail.com>
+
+       * Diocumentation/user/instrument-notation.itely: added more
+       info about stanzas; thanks Geoff!
+
 2006-10-25  Jan Nieuwenhuizen  <janneke@gnu.org>
 
        * scm/define-context-properties.scm (all-user-translation-properties):
index e0ace0b371fd98758f42b36b67538c2404dbef61..4ca0142e04eb581bf3b42256a8b13a72f9e5dc81 100644 (file)
@@ -1468,6 +1468,72 @@ the line, just like instrument names.  They are created by setting
 @end lilypond
 
 
+When a piece of music has many verses, they are often printed in
+multiple columns across the page. An outdented verse number often
+introduces each verse. The following example shows how to produce such
+output in Lilypond.
+
+@lilypond[ragged-right,quote,verbatim]
+melody = \relative c' {
+  c c c c | d d d d
+}
+text = \lyricmode {
+  \set stanza = "1." This is verse one.
+  It has two lines.
+}
+
+\score{ <<
+    \new Voice = "one" { \melody }
+    \new Lyrics \lyricsto "one" \text
+   >>
+  \layout { }
+}
+
+\markup {
+  \fill-line {
+    \hspace #0.1 % moves the column off the left margin; can be removed if
+        % space on the page is tight
+     \column {
+      \line { \bold "2."
+        \column {
+          "This is verse two."
+          "It has two lines."
+        }
+      }
+      \hspace #0.1 % adds vertical spacing between verses
+      \line { \bold "3."
+        \column {
+          "This is verse three."
+          "It has two lines."
+        }
+      }
+    }
+    \hspace #0.1  % adds horizontal spacing between columns; if they are
+        % still too close, add more " " pairs until the result 
+        % looks good
+     \column {
+      \line { \bold "4."
+        \column {
+          "This is verse four."
+          "It has two lines."
+        }
+      }
+      \hspace #0.1 % adds vertical spacing between verses
+      \line { \bold "5."
+        \column {
+          "This is verse five."
+          "It has two lines."
+        }
+      }
+    }
+  \hspace #0.1 % gives some extra space on the right margin; can
+      % be removed if page space is tight
+  }
+}
+@end lilypond
+
+
 @seealso
 
 Program reference: @internalsref{LyricText}, @internalsref{StanzaNumber},