On 21.07.2016 03:39, Mojca Miklavec wrote:
When I try to start a syllable that continues after the repeat, I have
a problem.
Lilypond complains loudly:
repeats.ly:24:38: warning: unterminated hyphen; removing
Below an example that should read
Oh, tralalala! Tralalali!
(Of course the hyphen would "kind of" work if I add "li!" at the end –
it would pretend as if the word was "Tra -- li" and would place the
hyphen to the wrong place.)
What's the best recipe to fix such cases?
You have to revert to some kind of tricks; in this case, using "Tra -",
which has the disadvantage of taking the hyphen from the font instead of
Lily’s engraver tool, so it will probably look slightly different. See
attached.
Another problem are cases which I would intuitively write
tra -- _ -- la
where the first syllable "tra" would be sung across two pitches.
Simple: just omit the second hyphen. Hyphens will be extended to span
the whole distance until the next actual syllable comes. Same with
extenders.
Best, Simon
\version "2.19.30"
selfAl = #(define-music-function (num) (number?)
(once (propertyOverride '(LyricText self-alignment-X) num)))
\new PianoStaff <<
\new Voice = "melody" \fixed c' {
\autoBeamOff
\time 2/4
a2 | a2 |
\repeat volta 2 {
a4 a4 |
}
\alternative {
{ a4 a4 |}
{ a4 cis'8[ e'] | }
}
a'2
\bar "|."
}
% the last hyphen after 'Tra" is problematic and gets removed
\context Lyrics = "lyrics" {
\lyricsto "melody" {
Oh, tra -- la -- la -- la! \selfAl #-0.4 "Tra -"
li! __ _ _
}
}
>>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user