Since you had defined your
\context Voice = "melodyVoi"
within the
\repeat volta 3 {...}
the melodyVoi Voice context didn't include the alternative endings.
The simple solution is to move the
\context Voice = "melodyVoi" {...}
outside the
\repeat volta 3 {...}\alternative{...}
If you want the final word to appear both for the first and second ending,
just repeat it once more:
verseone= \lyricmode {
...
lernt Wör- ter spre- chen und ver- stehn. stehn.
}
/Mats
Oguz Erden wrote:
Hello,
I am struggling to have print out the last word "stehn" of the fourth
line of the lyrics in the first alternative part under the note g'.
Do I have to include another lyricmode in the alternative block? Just
can't figure out, although I tried a lot of different approaches. Any
idea would be very much appreciated.
Regards,
Erden
My score so far:
%Begin Lilypond
\version "2.10.0"
\include "deutsch.ly"
harmonies = \new ChordNames \chordmode {
\germanChords
}
verseone= \lyricmode {
Ist ein Kind klein, muß es viel schla- fen,
dann lernt es sit- zen, ste- hen, gehn.
Es lernt mit sei- nen Hän- den grei- fen,__
lernt Wör- ter spre- chen und ver- stehn.
}
staffVoice = \new Staff {
\time 4/4
\key f \major
\clef treble
\relative c' {
\repeat volta 3 {
\context Voice = "melodyVoi" {
\dynamicUp
%\bar "|."
\relative d' {r8 d8 d8[ e8] f8[ f8] e8[ d8] | e8 a,4. r2}
\break
\relative e' {r8 e8 e8[ f8] g8[ g8] a8[ e8] | f2 r2}
\break
\relative a' {r8 a8 a8[ b8] c8[ c8] b8[ a8] | g16[( f16) c8]( c2) r4}
\break
\relative f' {r8 f8 f8[ f8] b8[ a8] g8[ f8] | }
}
}
\alternative {
{g'2 r}{g1 r}}
}
}
\score {
<<
\harmonies
\staffVoice
\context Lyrics = "lmelodyVoi" \lyricmode { \lyricsto "melodyVoi"
\verseone }
>>
\layout {
indent = 0.0\cm
\context { \Score \remove "Bar_number_engraver" }
}
}
%End Lilypond
--
A: Because it breaks the logical sequence of discussion.
Q: Why is top posting bad?
------------------------------------------------------------------------
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user
--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44 STOCKHOLM
Sweden
Phone: (+46) 8 790 8463
Fax: (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=============================================
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user