Applying a markup command to only part of a word
I'm currently working on resetting some church music where only the first and last three or four verses are actually scores; everything in the middle is just text, with underlining used to show where the "movement" comes in (every verse follows an identical pattern except for the ending verses). Unfortunately, some of these have only part of the word underlined, as the "movement" comes on a specific syllable. For example, in this half-verse: "For my brethren and companions' sake" the vocal movement comes on the "pan" in "companions'", so I need to only underline that syllable. But I have not been able to do it without introducing spaces on either side of the syllable. Is there a way to do this while keeping the word together? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Applying a markup command to only part of a word
Right after I sent the question, a workaround occurred to me - using hspace to "erase" the unwanted space, like this: \markup { \larger \column { \line { For my brethren and com \hspace #-0.7 \underline pan \hspace #-0.7 ions’ sake } \line { \hspace #9 I will say, \underline peace be within you! } } } But if anyone has a less "hacky" way to do this, I'd still love to hear it. On 2/22/2019 8:50 PM, Mike Stickles wrote: I'm currently working on resetting some church music where only the first and last three or four verses are actually scores; everything in the middle is just text, with underlining used to show where the "movement" comes in (every verse follows an identical pattern except for the ending verses). Unfortunately, some of these have only part of the word underlined, as the "movement" comes on a specific syllable. For example, in this half-verse: "For my brethren and companions' sake" the vocal movement comes on the "pan" in "companions'", so I need to only underline that syllable. But I have not been able to do it without introducing spaces on either side of the syllable. Is there a way to do this while keeping the word together? ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Applying a markup command to only part of a word
On Fri 22 Feb 2019 at 21:02:31 (-0500), Mike Stickles wrote: > Right after I sent the question, a workaround occurred to me - using > hspace to "erase" the unwanted space, like this: > > \markup { \larger > \column { > \line { For my brethren and com \hspace #-0.7 \underline pan > \hspace #-0.7 ions’ sake } > \line { \hspace #9 I will say, \underline peace be within you! } > } > } > > But if anyone has a less "hacky" way to do this, I'd still love to hear it. I think you've missed \concat. Cheers, David. \markup { \larger \column { \line { \concat { "For my brethren and com" \underline pan "ions’ sake" } } \line { \hspace #9 I will say, \underline peace be within you! } } } ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Applying a markup command to only part of a word
You're right - I totally missed that command. Thanks! Now resizing the text won't have to be a nightmare :-) On 2/22/2019 9:12 PM, David Wright wrote: On Fri 22 Feb 2019 at 21:02:31 (-0500), Mike Stickles wrote: Right after I sent the question, a workaround occurred to me - using hspace to "erase" the unwanted space, like this: \markup { \larger \column { \line { For my brethren and com \hspace #-0.7 \underline pan \hspace #-0.7 ions’ sake } \line { \hspace #9 I will say, \underline peace be within you! } } } But if anyone has a less "hacky" way to do this, I'd still love to hear it. I think you've missed \concat. Cheers, David. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user