[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lyrics extender problem
From: |
Mats Bengtsson |
Subject: |
Re: Lyrics extender problem |
Date: |
Thu, 30 Mar 2006 22:52:07 +0200 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.0.4) |
This must be an obscure bug, unless I am missing something obvious. An
even shorter illustration of the bug is:
\version "2.8.0"
sopMusic = \relative c'' {
c4 c c8( b) c4
}
sopWords = \lyricmode {
hi hi hi __ hi
}
\score { <<
\new Lyrics = sopI { s1 }
\new Staff = women {
\new Voice =
"sopranos" \sopMusic }
\new Lyrics = sopII { s1 }
\context Lyrics = sopI \lyricsto sopranos \sopWords
\context Lyrics = sopII \lyricsto sopranos \sopWords
>>
}
Luckily, there is a workaround, namely to use the alignAboveContext
property that so far only is documented in the example called
"alignment-order.ly" in the Regression Tests document. Then you don't
have to define the Lyrics contexts before you use them. Instead you can
do:
\version "2.8.0"
sopMusic = \relative c'' {
c4 c c8( b) c4
}
sopWords = \lyricmode {
hi hi hi __ hi
}
\score { <<
\new Staff = women {
\new Voice =
"sopranos" \sopMusic }
\context Lyrics = sopI {\set alignAboveContext = "women"
\lyricsto sopranos \sopWords }
\context Lyrics = sopII \lyricsto sopranos \sopWords
>>
}
I have no idea why this works but the other version doesn't work, though.
/Mats
Quoting Georg Dummer <address@hidden>:
Hi all,
I have the following problem with Lyrics extenders. In the "altos" voice it
is drawn properly.
But in the "sopranos" the externder is missed out.
Thanks for any suggestion.
Georg
\version "2.8.0"
global = {
\key c \major
\time 4/4
}
sopMusic = \relative c'' {
c4 c c8( b) c4
}
sopWords = \lyricmode {
hi hi hi __ hi
}
altoMusic = \relative c' {
e4 f d8( d) e4
}
altoWords =\lyricmode {
ha ha ha __ ha
}
\score {
\new ChoirStaff <<
\new Lyrics = sopranos { s1 }
\new Staff = women <<
\new Voice =
"sopranos" { \voiceOne << \global \sopMusic >> }
\new Voice =
"altos" { \voiceTwo << \global \altoMusic >> }
>>
\new Lyrics = "altos" { s1 }
\context Lyrics = sopranos \lyricsto sopranos \sopWords
\context Lyrics = altos \lyricsto altos \altoWords
>>
}
_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Lyrics extender problem,
Mats Bengtsson <=