Re: Hiding lyrics extenders on empty measures
Le 23/11/2022 à 10:32, Werner LEMBERG a écrit : As it turns out, it’s Score.LyricHyphen.stencil I have to play with, since in my actual score, the end of the word 'Kum -- ba -- ya' occurs at the beginning of the coda [...] This is an interesting case, which probably nobody has thought of previously (at least I can't remember this ever being discussed). I agree that LilyPond should be able to handle this, for example with a predefined command like `\trailingHyphen`. Something like a \laissezVibrer followed by a \repeatTie?
Re: Hiding lyrics extenders on empty measures
Hello Kieren, >> I agree that LilyPond should be able to handle this, for example >> with a predefined command like `\trailingHyphen`. > > An automagic solution would be great! Please check our issue tracker whether we really don't have such a request. If not, could you open an issue? Werner
Re: Hiding lyrics extenders on empty measures
Hi all, > This is an interesting case, which probably nobody has thought of > previously (at least I can't remember this ever being discussed). I run into it all the time in my works… I simply prefix the syllable with a hyphen (tweaked to match the LyricHyphen) and use self-alignment-X to make it look like it’s doing the right thing. > I agree that LilyPond should be able to handle this, > for example with a predefined command like `\trailingHyphen`. An automagic solution would be great! Thanks, Kieren.
Re: Hiding lyrics extenders on empty measures
> As it turns out, it’s Score.LyricHyphen.stencil I have to play with, > since in my actual score, the end of the word 'Kum -- ba -- ya' > occurs at the beginning of the coda [...] This is an interesting case, which probably nobody has thought of previously (at least I can't remember this ever being discussed). I agree that LilyPond should be able to handle this, for example with a predefined command like `\trailingHyphen`. Jean? Werner
Re: Hiding lyrics extenders on empty measures
Hello Werner, As it turns out, it’s Score.LyricHyphen.stencil I have to play with, since in my actual score, the end of the word 'Kum — ba — ya' occurs at the beginning of the coda : But : \override Score.LyricHyphen.stencil = ##f kum — ba -- \revert Score.LyricHyphen.stencil ya prevents the hyphen I need after ‘ba’ at the end of measure 13 from being visible : it’s either all hyphens of none of them. So I use : Lo -- ord Kum -- \once \override LyricText.X-offset = #-0.5 "ba -" instead, at the cost of this minus sign being slightly too thick. Would be nice to be able to be able to hide all the hyphens except the first one in such a situation. A nice day! JM
Re: Hiding lyrics extenders on empty measures
Hello Werner, Thanks for pointing this out, and sorry for the noice : I’ve done so many attempts that this escaped me. A nice day! JM > Le 23 nov. 2022 à 08:05, Werner LEMBERG a écrit : > > >> Overriding Score.LyricExtender.stencil to hide the extenders seems >> to be ineffective, as show below. OverridingScore.LyricText.stencil >> works fine, though. > > Well, you have > > ``` >Lor -- d -- | > ``` > > If you replace this with > > ``` >Lor -- d __ | > ``` > > it works as expected. What am I missing? > > > Werner >
Re: Hiding lyrics extenders on empty measures
> Overriding Score.LyricExtender.stencil to hide the extenders seems > to be ineffective, as show below. OverridingScore.LyricText.stencil > works fine, though. Well, you have ``` Lor -- d -- | ``` If you replace this with ``` Lor -- d __ | ``` it works as expected. What am I missing? Werner
Hiding lyrics extenders on empty measures
Hello folks, Overriding Score.LyricExtender.stencil to hide the extenders seems to be ineffective, as show below. OverridingScore.LyricText.stencil works fine, though. Thanks for any help! JM \version "2.23.80" #(set-global-staff-size 32) \score { << \new Staff << \new Voice = "voixA" { \clef "treble" \partial 2 a2 | b16 c8. r4 r2 | f8 g4. a2 ~ | a2 r2 } \new Lyrics \lyricsto "voixA" { Oh | \override Score.LyricExtender.stencil = ##f %%% <-- HERE Lor -- d -- | \revert Score.LyricExtender.stencil Kum -- ba -- ya __ } >> >> }