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>
>
>

Reply via email to