lilypond-user
[Top][All Lists]
Advanced

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

Re: Instrument name disappears if I start it with a grace note


From: Knute Snortum
Subject: Re: Instrument name disappears if I start it with a grace note
Date: Thu, 18 Nov 2021 08:01:58 -0800

On Thu, Nov 18, 2021 at 7:54 AM Omid Mo'menzadeh <omid.mnzadeh@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



reply via email to

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