lilypond-user
[Top][All Lists]
Advanced

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

Re: Repeating stanza numbers


From: Matthew Collett
Subject: Re: Repeating stanza numbers
Date: Fri, 27 Jan 2012 08:19:52 +1300

On 27/01/2012, at 6:27 am, Matie Holtzhausen wrote:

>> \set Staff.vocalName
>> \set Staff.shortVocalName
>> 
>> similar to instrumentName
> 
> Thanks, but I was hoping to use multiple verses in the same staff:

shortVocalName does allow multiple verses: in the lyrics, wherever you say 
'\set stanza' also say
'\set shortVocalName'.  You may not like the position of the numbers though 
(outside the left of the staff).
Cut down from a real example:

Attachment: FlowGentlySweetAftonBallad.pdf
Description: Adobe PDF document


\version "2.14.1"
#( ly:set-option 'backend 'eps)
\include "english.ly"

\layout {
  indent = 0.0\cm
  \context { \Lyrics
    \override InstrumentName #'font-size = #0
    \override InstrumentName #'font-series = #'bold
  }
}

\header {
  tagline = ##f
}

verseOne = \lyricmode { \set stanza = "1." \set shortVocalName = "1."
Flow gent -- ly, sweet Af -- ton, a -- mong thy green braes,
Flow gent -- ly, I'll sing thee a song in thy praise;
}
verseTwo = \lyricmode { \set stanza = "2." \set shortVocalName = "2."
How loft -- y, sweet Af -- ton! thy neigh -- bour -- ing hills,
Far mark'd with the cour -- ses of clear, wind -- ing rills;
}
verseThree = \lyricmode { \set stanza = "3." \set shortVocalName = "3."
Thy crys -- tal stream, Af -- ton, how love -- ly it glides,
And winds by the cot where my Ma -- ry re -- sides;
}

\score { <<
  \new Staff << \clef treble \key a \major \time 3/4  
    \new Voice = "soprano" \relative { 
      \partial 4 e4 a a cs8( b) a4 a e fs a fs e2 e4 a a b cs cs d e cs a b2 
    }
  >>
  \new Lyrics \lyricsto "soprano" { \verseOne } 
  \new Lyrics \lyricsto "soprano" { \verseTwo }
  \new Lyrics \lyricsto "soprano" { \verseThree }
>> 
}

Best wishes,
Matthew

reply via email to

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