lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using shortVocalName for stanza numbers on every system


From: Benjamin Bloomfield
Subject: Re: Using shortVocalName for stanza numbers on every system
Date: Mon, 20 Apr 2020 11:16:07 -0400

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 <address@hidden> 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 <address@hidden>:


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]