lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sunday school music


From: Kieren MacMillan
Subject: Re: sunday school music
Date: Sat, 8 Sep 2007 23:00:54 -0400

Hi Reinhold,

The "centering" here is achieved by simply putting the common text into the second stanza, which happens to be vertically centered. However, if you have four stanzas, there is no way to center common text vertically. I had that problem once with two stanzas, but have not found any solution to it :-(

Maybe the attached (modified) snippet will help you find the answer you're looking for? The insertion of the two braces has been left as an exercise to the reader... ;-)

Best wishes,
Kieren.
__________________________________

%%% BEGIN SNIPPET %%%

\version "2.11.32"

leftbrace = \markup { \override #'(font-encoding . fetaBraces) \lookup #"brace240" }
rightbrace = \markup { \rotate #180 \leftbrace }
dropLyrics = \override LyricText #'extra-offset = #'(0 . -5)
raiseLyrics = \revert LyricText #'extra-offset
skipFour = \repeat unfold 4 { \skip 8 }

lyricsA = \lyricmode { The first stanza has \dropLyrics the common words and \raiseLyrics then they're not. } lyricsB = \lyricmode { The second stanza shares \skipFour before they change again. } lyricsC = \lyricmode { In the third stanza, \skipFour notes are really boring. } lyricsD = \lyricmode { In the final stanza, \skipFour all the rest stop. }

melody = \relative c' { c d e f g f e d c e d2 }

\score
{
        <<
                \new Voice = m \melody
                \new Lyrics \lyricsto m \lyricsA
                \new Lyrics \lyricsto m \lyricsB
                \new Lyrics \lyricsto m \lyricsC
                \new Lyrics \lyricsto m \lyricsD
        >>
}

%%% END SNIPPET %%%




reply via email to

[Prev in Thread] Current Thread [Next in Thread]