|
From: | Omid Mo'menzadeh |
Subject: | Re: Instrument name disappears if I start it with a grace note |
Date: | Thu, 18 Nov 2021 20:00:42 +0330 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |