lilypond-user
[Top][All Lists]
Advanced

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

Re: Instrument names disappear when using \partcombine and grace notes.


From: thorne
Subject: Re: Instrument names disappear when using \partcombine and grace notes.
Date: Wed, 2 Dec 2015 20:49:28 -0700

Thank you, sir.  The "\with" construct seems to have fixed it.

On Wed, Dec 2, 2015 at 12:43 PM, Thomas Morley <address@hidden> wrote:
> 2015-12-02 20:01 GMT+01:00 thorne <address@hidden>:
>> Hi.  With the following example, the instrument name doesn't appear on
>> the rendered pdf on the second staff (the one that uses \partcombine).
>> I suspect it has something to do with the use of \grace in the notes,
>> because when I remove the grace notes the effect disappears.
>>
>> I have done \grace {s16} in all the parts that don't have the grace
>> notes, because I have read that it is necessary when you are beginning
>> with a grace note or changing clefs. (The actual score I am working on
>> begins with a grace note in one instrument as here.
>>
>> Am I doing something wrong?
>>
>>
>>
>>
>> \version "2.19.3"
>>
>> catOne = {\grace {b'16} a'2 d'}
>> catTwo = {\grace {s16} c'2 b}
>> dogOne = {\grace {s16} a'2 b'}
>> dogTwo = {\grace {s16} c'2 d'}
>>
>> \score {
>>   <<
>>     \new Staff = "cats" {
>>       \set Staff.instrumentName = #"2 Cats"
>>        << \catOne \\ \catTwo >>
>>     }
>>
>>     \new Staff = "dogs" {
>>       \set Staff.instrumentName = #"2 Dogs"
>>        \partcombine \dogOne \dogTwo
>>     }
>>   >>
>> }
>
>
>
> Can't confirm with 2.19.32
> Though, in general it's issue 34
> https://sourceforge.net/p/testlilyissues/issues/34/
> At least related.
>
> Try:
>
> \version "2.19.3"
>
> catOne = {\grace {b'16} a'2 d'}
> catTwo = {\grace {s16} c'2 b}
> dogOne = {\grace {s16} a'2 b'}
> dogTwo = {\grace {s16} c'2 d'}
>
> \score {
>   <<
>     \new Staff = "cats"
>     \with { instrumentName = #"2 Cats" }
>     {
>        << \catOne \\ \catTwo >>
>     }
>
>     \new Staff = "dogs"
>     \with { instrumentName = #"2 Dogs" }
>     {
>        \partcombine \dogOne \dogTwo
>     }
>   >>
> }
>
> IMHO, we should really get rid of advertising \set
> Staff.instrumentName = ... and go for \with { instrumentName = ... }
> everywhere.
>
>
> Cheers,
>   Harm



-- 
รพ



reply via email to

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