Chris Trahan <trahan.ch...@gmail.com> writes: > I submitted a bug report on this issue but the person replying stated that > it's not a bug but it's working as designed. I don't see how. Maybe someone > would enlighten me. > > I've attached my code and a screen shot of the results. > > This is the technique that I'm using, which I found online. I'm yusing > LilyPond 2.18.2.1 on a Windows 7 Pro machine. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Refrain = \lyricmode {Not re -- peat -- ed.} > VerseOne = \lyricmode { The first time words. } > VerseTwo = \lyricmode {Sec -- ond time words.} > > \score { > << > \new Staff { > \new Voice = "melody" { > \relative c'' { > a4 a a a > \repeat volta 2 { b4 b b b } > } > } > } > \new Lyrics \lyricsto "melody" { > \Refrain > << > \set stanza = #"1." > \VerseOne > \new Lyrics { > \set associatedVoice = "melody" > \set stanza = #"2." > \VerseTwo > } > >> > } > >> > }
It is not clear to me what you mean with "technique that I am using" when you are appending something quite different. For example, you fiddle with staff-affinity without that being overly consistent. I try centering the lyrics between soprano and alto, but for bass there is nothing to center. It also might be worth considering using different contexts for refrain and both stanzas in order to get a visual like 1. first stanza this is the refrain 2. second stanza instead of this is the refrain 1. first stanza 2. second stanza At any rate, new contexts are usually aligned below all existing contexts. Without trying to do anything about second stanza alignment, I get
\language "english" \version "2.18.2" \paper { top-margin = 1\in system-system-spacing.minimum-distance = #17 } \header { title = "Le voici l‘Agneau si doux" composer = "Maurice Kaltnecker" tagline = "" % No LilyPond tagline } global = { \key g \major \numericTimeSignature \time 6/8 } SopranoNotes = \relative c'' { \global \repeat volta 2 { d4 e8 d4 b8 g4 b8 d4 r8 c4 a8 fs4 e'8 d4. b4 r8 d4 e8 d4 b8 \break g4 b8 d4 r8 c4 a8 fs4 a8 g4.~ g4^"Fine" r8 \bar "||" a4 d8 d4 c8b4. g4 r8 \break a4 gs8 a4 b8 a4.~ a4 r8 a4 a8 d4 c8 b4. g4 r8 a4 gs8 a4 b8 a4.( d) } } AltoNotes = \relative c'' { \global \repeat volta 2 { b4 c8 b4 g8 d4 fs8 b4 r8 a4 fs8 a4 c8 b4. g4 r8 b4 c8 b4 g8 \break d4 g8 b4 r8 a4 fs8 d4 fs8 g4.~ g4 r8 \bar "||" fs4 fs8 a4 a8 g4. d4 r8 \break fs4 f8fs4 g8 fs4.~ fs4 r8 fs4 fs8 a4 a8 g4. d4 r8 fs4 f8fs4 g8 fs4.( c') } } TenorNotes = \relative c' { \global \repeat volta 2 { g4 g8 g4 d8 a'4 d8 g,4 r8 fs4 d8 a'4 fs8 g4. d4 r8 g4 g8 g4 d8 \break b'4 d8 g,4 r8 fs4 d8 a'4 d,8 g4.~ g4 r8 \bar "||" d'4 d8 d4 d8 d4. b4 r8 \break d4 d8 d4 d8 d4.~ d4 r8 d4 d8 c4 d8 d4. b4 r8 d4 d8 d4 d8 d4.( a) } } BassNotes = \relative c { \global \repeat volta 2 { g4 b8 g4 d'8 g,4 g8 g4 r8 d'4 d8 a4 d8 g4. g,4 r8 g4 b8 g4 d'8 \break g,4 g8 g4 r8 d'4 d8 c4 d8 g,4.~ g4 r8 \bar "||" d'4 a'8 d,4 a'8 a4. a4 r8 \break d,4 d8 a4 g8 d'4.( a4) r8 d4 a'8 d,4 a'8 g4. g4 r8 d4 d8 a4 g8 d'4.~ d } } Refrain = \lyricmode { Le voi -- ci, l'Ag -- neau si doux. Le vrai pain des an -- ges. Il des -- cend du ciel pour nous. A -- do -- rons -- le tous. __ } VerseOne = \lyricmode { \set stanza = #" 1." C'est un ten -- dre Pè -- re C'est le Bon Pas -- teur __ En lui seul j'es -- pè -- re C'est mon bien -- fai -- teur. __ } VerseTwo = \lyricmode { \set stanza = #" 2." Par toi saint Mys -- tè -- re Ob -- jet de ma foi __ Je crois, je ré -- vè -- re Mon Maître et mon Roi. __ } \score { \new ChoirStaff << \new Staff \with { instrumentName = "Soprano" } \new Voice = "soprano" { \SopranoNotes } \new Lyrics = sopranolyrics \with { \override VerticalAxisGroup.staff-affinity = #CENTER } \lyricsto soprano { \Refrain << \VerseOne \new Lyrics \with { \override VerticalAxisGroup.staff-affinity = #CENTER alignBelowContext = sopranolyrics } { \set associatedVoice = soprano \VerseTwo } >> } \new Staff \with { instrumentName = "Alto" } \new Voice = "alto" { \AltoNotes } \new Staff \with { instrumentName = "Tenor" } { \clef bass \new Voice = "tenor" \TenorNotes } \new Staff \with { instrumentName = "Bass" } { \clef bass \new Voice = "bass" \BassNotes } \new Lyrics = "basslyrics" \lyricsto bass { \Refrain << \VerseOne \new Lyrics \with { associatedVoice = bass alignBelowContext = "basslyrics" } \VerseTwo >> } >> }
-- David Kastrup
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user