Harm, Your examples displays both instrument names as of 2.19.32.
JM > Le 2 déc. 2015 à 20:43, Thomas Morley <thomasmorle...@gmail.com> a écrit : > > 2015-12-02 20:01 GMT+01:00 thorne <ego...@gmail.com>: >> 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 > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user