From 6517059275e67784cb6d431e127ad3219d682c96 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Wed, 25 Oct 2006 21:21:49 +0000 Subject: [PATCH] More info about stanzas; thanks Geoff! --- ChangeLog | 5 ++ Documentation/user/instrument-notation.itely | 66 ++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/ChangeLog b/ChangeLog index 56cebb4644..753b143b53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-10-25 Graham Percival + + * Diocumentation/user/instrument-notation.itely: added more + info about stanzas; thanks Geoff! + 2006-10-25 Jan Nieuwenhuizen * scm/define-context-properties.scm (all-user-translation-properties): diff --git a/Documentation/user/instrument-notation.itely b/Documentation/user/instrument-notation.itely index e0ace0b371..4ca0142e04 100644 --- a/Documentation/user/instrument-notation.itely +++ b/Documentation/user/instrument-notation.itely @@ -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}, -- 2.39.5