Here's an example which I put together late last year - I know it's
lengthy, but it shows what can be done.

  I would much prefer if I could input verse text into a variable and
then either put it between the staves or as a freestanding verse at
the end, using high level functions rather than layout specific
markup. Should we approach Han-Wen to see if this could be a feature
candidate for v 2.9?

Dunstan


On 18/02/06, Mats Bengtsson <[EMAIL PROTECTED]> wrote:
> Did you search the mailing list archives? There have been several nice
> examples of how to use a \markup{...} below the score to typeset
> additional stanzas. Also, there is a brief indication in the manual (at
> least the one for version 2.7, which mostly also
> applies to earlier versions) in the section on "File structure".
>
>   /Mats
>
> Quoting cordilow <[EMAIL PROTECTED]>:
>
> >
> > A long time ago, I asked how to put stanzas outside the music.  Hymns often
> > have lots of verses and all of them aren't always included in the music
> > (some are just written outside of the music, to save space, without syllable
> > markings).  Someone told me that the documentation explained how to do
> > this--however, I've searched the documentation and haven't found a way--at
> > least, I searched for everything relating to stanzas/verses that I could
> > find.
> >
> > Note: my reasons for wanting this are not the same as my reasons for the
> > left-align thing from my last post.
> > --
> > View this message in context:
> > http://www.nabble.com/stanzas-outside-the-music-t1143278.html#a2997524
> > Sent from the Gnu - Lilypond - User forum at Nabble.com.
> >
> >
> >
> > _______________________________________________
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > http://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
>
>
>
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
\include "gregorian-init.ly"
% #(set-global-staff-size 12)
\header {
	title = "Creator Alme Siderum"
	composer = "Plainchant"
	meter = "L.M."
}


verseI= \lyricmode {
	\set stanza = "1."	
Dear ma -- ker of the star -- ry skies,
Light of be -- liev -- ers ev -- er -- more,
Je -- su, Re -- deem -- er of man -- kind,
Be near us who thine aid im -- plore.
}
 
verseII= \lyricmode {
	\set stanza = "2."	
When man was sunk in sin and death,
Lost in the depth of Sa -- tan's snare,
Love brought thee down to cure our ills,
By ta -- king of those ills a share.
}
 
verseIII= \lyricmode {
	\set stanza = "3."	
Thou, for the sake of guil -- ty men
Per -- mit -- ting thy pure blood to flow,
Didst is -- sue from thy vir -- gin shrine
And to the cross a vic -- tim go.
}
 
verseIIII= \lyricmode {
	\set stanza = "4."	
So great the glo -- ry of thy might,
If we but chance thy name to sound,
At once all heaven and hel un -- ite
In ben -- ding low with awe pro -- found.
}
 
verseIIIII= \lyricmode {
	\set stanza = "5."	
Great judge of all, in that last day,
When friends shall fail, and foes com -- bine,
Be pre -- sent then with us, we pray,
To guard us with thy arm di -- vine.
}
 
verseIIIIII= \lyricmode {
	\set stanza = "6."	
To God the Fa -- ther with the Son,
And Ho -- ly Spi -- rit, one and three,
Be ho -- nour, glo -- ry, bles -- sing, praise,
All through the long e -- ter -- ni -- ty.
}

staffSoprano = \new Staff  {
	\time 2/2
	\set Staff.instrument="Voice"
	\set Staff.midiInstrument="choir aahs"
	\key ees \major
	\clef treble
	\relative c' {
		\context Voice = "melodySop" {
			\dynamicUp
			\stemUp
		r8 g' ees[ g] bes[ bes] c[ aes] bes \divisioMinima \bar ""
		bes\noBeam c[ aes] bes[ aes] g[ f] g4 \divisioMaxima \bar ""
		bes8\noBeam  aes[ f] g[ aes] g[ f] ees \divisioMinima \bar ""
		ees\noBeam  g[ aes] bes[ aes] g[ f] g4
		}

	\bar "|."
	}

}


\score {
	<<
		\set Score.timing=##f
		\staffSoprano
		\context Lyrics = "lmelodySopLI" \lyricmode  { \lyricsto "melodySop" \verseI }
		
		\context Lyrics = "lmelodySopLII" \lyricmode  { \lyricsto "melodySop" \verseII }
		
		\context Lyrics = "lmelodySopLIII" \lyricmode  { \lyricsto "melodySop" \verseIII }
		%{ 
		\context Lyrics = "lmelodySopLIIII" \lyricmode  { \lyricsto "melodySop" \verseIIII }
		
		\context Lyrics = "lmelodySopLIIIII" \lyricmode  { \lyricsto "melodySop" \verseIIIII }
		
		\context Lyrics = "lmelodySopLIIIIII" \lyricmode  { \lyricsto "melodySop" \verseIIIIII }
		 %}
	>>
	
	\midi {
	}

	\layout  {
		\context {
			\Staff \remove "Time_signature_engraver"
			% \remove "Bar_engraver"
		}
	}
}

\paper {
}
\markup {
	\fontsize #1.0 {
	\fill-line {
		\column {
			\line {" "}
			\line {" "}
			\line {" "}
			\line {" "}
			\line {" "}
			\line {
				"4. " \hspace #0.5
				\wordwrap-string #"
				So great the glory of thy might,
				
				If we but chance the name to sound,
				
				At once all heaven and hell unite
				
				In bending low with awe profound.
				"
			}
			\line {" "}
			\line {" "}
			\line {
				"5. "\hspace #0.5
				\wordwrap-string #"
				Great judge of all, in that last day,
				
				When friends shall fail, and foes combine,
				
				Be present then with us, we pray,
				
				To guard us with thy arm divine.
				"
			}
			\line {" "}
			\line {" "}
			\line {
				"6. "\hspace #0.5
				\wordwrap-string #"
				To God the Father with the Son,
				
				And Holy Spirit, one and three,
				
				Be honour, glory, blessing, praise,
				
				All through the long eternity
				"
			}
		}
	}}
}
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to