On Mon, 28 Jul 2025 at 11:58, Roman Stawski <[email protected]> wrote:
>
> Hi folks
>
> I've encountered an issue with vocalName and rests:
>
> ---
>
> \version "2.25.27"
> <<
> \new Staff {
> \new Voice = "melody" {
> r2 c' | \break 2 2 | \break 2 2\bar "|."
> } }
> \new Lyrics { \lyricsto "melody" { \lyricmode {
> \set vocalName = "V."
> \set shortVocalName = "v."
> A B C D E F
> } } }
> >>
>
> ---
>
> If the music starts with a rest, as in the snippet, then the vocalName
> is not printed on the first line. if the rest is replaced by a note then
> the vocalName appears as expected. ShortVocalName appears correctly in
> all cases.
>
> The same issue occurs with instrument name and shortInstrumentName.
Hello,
Use \with:
\new Lyrics \with {
vocalName = "V."
shortVocalName = "v."
} { \lyricsto
Similarly to what is written for Instrument names in NR 6.3.1
https://lilypond.org/doc/v2.25/Documentation/notation/writing-parts#instrument-names
Kind regards,
Xavier