Thank you! It does work. It's still interesting to see why it happens, and document it if it is the expected behavior.
On Thu, Nov 18, 2021 at 7:32 PM Knute Snortum <ksnor...@gmail.com> wrote: > On Thu, Nov 18, 2021 at 7:54 AM Omid Mo'menzadeh <omid.mnza...@gmail.com> > wrote: > > > > Hello all. > > I think I just described the problem in the title, but it only happens > if I have a multi-voice staff, as the following example demonstrates: > > > > %%% > > \version "2.22.1" > > \score { > > \new Staff << > > \set Staff.instrumentName = \markup \bold "Name" > > \context Voice = "voice" \relative c'' { \appoggiatura b16 c1 } > > >> > > } > > %%% > > > > The name appears if one removes the beginning appoggiatura. It works > with grace, slashedGrace, and acciaccatura too. > > Thanks in advance, > > Omid Momenzadeh > > I don't know why it works, but try this: > > %%% > \version "2.22.1" > \score { > \new Staff \with { instrumentName = \markup \bold "Name" } << > \context Voice = "voice" \relative c'' { \appoggiatura b16 c1 } > >> > } > %%% > > -- > Knute Snortum >