lilypond-user
[Top][All Lists]
Advanced

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

Instrument names disappear when using \partcombine and grace notes.


From: thorne
Subject: Instrument names disappear when using \partcombine and grace notes.
Date: Wed, 2 Dec 2015 12:01:13 -0700

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
    }
  >>
}


-- 
รพ



reply via email to

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