Multiple stanzas work with shortVocalName:
\version "2.20.0"
\score {
<<
\new Staff
<<
\clef "treble"
\new Voice = "sop" { c'4 \bar "" \break c' }
>>
{
<<
\new Lyrics \lyricsto sop { \lyricmode {
\set stanza = "1. "
\set shortVocalName = "1. "
Should Should
}}
*\new Lyrics \lyricsto sop { \lyricmode { \set stanza = "2. " \set
shortVocalName = "2. " Strange Strange }} \new Lyrics \lyricsto sop {
\lyricmode { \set stanza = "3. " \set shortVocalName = "3. " Wrong
Wrong }}*
>>
}
>>
}
\layout {
\context { \Lyrics
\override InstrumentName.direction = #RIGHT
\override InstrumentName.padding = #1.5
}
}
Thanks,
*Benjamin Bloomfield*
On Mon, Apr 20, 2020 at 12:02 PM Michael Gerdau <[email protected]> wrote:
> For short pieces I’ll see where Lilypond breaks and insert accordingly. Or
> I tell Lilypond where to break.
>
> Besides:
> What do you do when there are more stanzas?
>
> Just curious,
> Michael
>
> Mobil gesendet
>
> Am 20.04.2020 um 17:16 schrieb Benjamin Bloomfield <[email protected]>:
>
>
> Thanks for the suggestion. I would do that if I knew where the system
> breaks were going to occur ahead of time. I put the line break in the
> example code just to simplify it and demonstrate the problem with very
> little code.
>
> *Benjamin Bloomfield*
>
> On Mon, Apr 20, 2020 at 10:23 AM Michael Gerdau <[email protected]> wrote:
>
>> Why don’t you insert another \set stanza = "2." In front of the second
>> "Should" ?
>>
>> Kind regards
>> Michael
>>
>> Mobil gesendet
>>
>> Am 20.04.2020 um 16:14 schrieb Benjamin Bloomfield <[email protected]>:
>>
>>
>> I've been using shortVocalName to engrave stanza numbers at the
>> beginnings of systems, but I'm running into trouble with occasional
>> collisions with the first LyricText:
>> <image.png>
>>
>> Here is my lilypond code:
>> \version "2.20.0"
>> \score {
>> <<
>> \new Staff
>> <<
>> \clef "treble"
>> \new Voice = "sop" { c'4 \bar "" \break c' }
>> >>
>>
>> {
>> <<
>> \new Lyrics \lyricsto sop { \lyricmode {
>> \set stanza = "2. "
>> \set shortVocalName = "2. "
>> Should Should
>> }}
>> >>
>> }
>>
>> >>
>> }
>> \layout {
>> \context { \Lyrics
>> \override InstrumentName.direction = #RIGHT
>> \override InstrumentName.padding = #1.5
>> }
>> }
>>
>> I'm not sure how to go about automatically avoiding these collisions, but
>> it seems like there should be a relatively simple way to do so. Does
>> anyone have any ideas?
>>
>> Thanks,
>>
>> *Benjamin Bloomfield*
>> <!test.ly>
>>
>>
!test.ly
Description: Binary data
