Re: VocalName skipped when music start with a rest
Xavier Scheuer <[email protected]> Mon, 28 Jul 2025 12:13:47 +0200
| Newsgroups | gmane.comp.gnu.lilypond.bugs |
|---|---|
| Message-ID | <CADGqHRdoDc_ZXxTQ4-77R++BpQDJ6wWvUT0AtYQ-zkZc2us0ew@mail.gmail.com> |
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