Am 16.06.2016 um 18:45 schrieb tisimst: > Bernhard, > > On Thu, Jun 16, 2016 at 10:34 AM, Bernhard Kleine [via Lilypond] > <[hidden email] </user/SendEmail.jtp?type=node&node=191687&i=0>> wrote: > > I have a hymn which has 8 measures which are alltogether repeated. > The last two measures are different between the repetitions. > The text, however, is totally different between the two repitition. > > I have not found an example for this. Please give me some hints to > set > the hymn. > > > I think you might get a complaint about not having a "tiny example" or > source file to show how far you've gotten (or at least a picture or > something), but I wonder if you have seen this section: > > http://lilypond.org/doc/v2.19/Documentation/notation/techniques-specific-to-lyrics#lyrics-and-repeats > > Seems like the subsection "Repeats with alternative endings" might > point you in the right direction. > > HTH, > Abraham I have seen the appropiate page in the German manual, the following does not work, error unexpected alternative:
\version "2.19.5" \language "deutsch" global = { \key c \major \time 4/4 } RefrainSopran = \relative c'' { \global \override Stem.direction = #UP \repeat volta 2 { c4. c8 c4 c | h a g e | a8 a a a a4 g | g2 h\rest | d,4. d8 d4 f | g e d c | } \alternative { { d8 d d d d4 e | d2 h'\rest } { d,8 d d d d4 c | c2 h'\rest} } } RefrainAlt = \relative c' { \global \override Stem.direction = #DOWN \slurDown \repeat volta 2 {e4. e8 e4 e | e e d d | c8 c c c f4 f | e2 s2 | d4. d8 d4 d | h h a a } \alternative { {a8 a a a a4 c | h2 s2 } { a8 a a a a4 a | g2 s2 \bar "|."}} } RefrainTenor = \relative c' { \global \clef bass \override Stem.direction = #UP \repeat volta 2 { g4. g8 g4 g |g a h g | f8 f f a c4 c | c2 s2 | f,4. f8 g4 a | g g e e } \alternative { { f8 f f f f4 a| g2 s2 } { f8 f f f f4 f |e2 s2 \bar "|."}} } RefrainBass = \relative c { \global \clef bass \override Stem.direction = #DOWN \repeat volta 2 { e4. e8 e4 e |g g g g | a8 a a a a4 a | g2 e\rest | f4. f8 f4 f | g g c, c } \alternative { { f8 f f f f4 f| h,2 e\rest } { f8 f f f c4 c |e2 e\rest \bar "|."}} } einstimmigNoten = \relative c' { \global % Die Noten folgen hier. d4 a' r4 f8 d | c4 g' e c | d a' r4 f8 d| c4 g' d2| d4 c' h a |g gis a h | c8 c c c h4 a | g2. r4 | d4 a' r4 f8 d | c4 g' e c | d a' r4 f8 d| c4 g' d2| d4 c' h a |g gis a h | c8 c c c h4 a | g2. r4\bar "|" } mehrstimmigText = \lyricmode { \repeat volta 2 { \alternative { { Gut, dass wir ein -- an -- der ha -- ben, gut, dass wir ein -- an -- der sehn, Sor -- gen, Freu -- den, Krä -- fte tei -- len und auf einem We -- ge gehn. } { Gut, dass wir nicht uns nur ha -- ben, dass der Kreis sich nie -- mals schließt, und dass Gott, von dem wir re -- den, hier in uns -- rer Mit -- te ist. } } } } \layout { indent = 0 } \score { \new ChoirStaff << \new Staff << \new Voice = "RefrainS" { \RefrainSopran } \new Voice = "RefrainA" { \RefrainAlt } \new Lyrics \lyricsto "RefrainA" { \mehrstimmigText } >> \new Staff << \new Voice = "RefrainT" { \RefrainTenor } \new Voice = "RefrainB" { \RefrainBass } >> >> }
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user