Obviously it's not intended to group RhythmicStaves in GrandStaves.
The solution is to use ordinary StaffGroups and overriding the systemStartDelimiter. Could be like this:
--- snip ---

\version "2.13.35"

\score {
        \new StaffGroup
        <<
                \new StaffGroup = "group I" \with {
                        \consists "Instrument_name_engraver"
                        instrumentName = "group 1"
                        shortInstrumentName = "g1"
                        systemStartDelimiter = #'SystemStartBrace
                } <<
                        \new RhythmicStaff = "test I" {
                                \set RhythmicStaff.instrumentName = "test 1"
                                \set RhythmicStaff.shortInstrumentName = "t1"
                                c4 c c c | \break c c c c
                        }
                        \new RhythmicStaff = "test II" {
                                \set RhythmicStaff.instrumentName = "test 2"
                                \set RhythmicStaff.shortInstrumentName = "t2"
                                c4 c c c | \break c c c c
                        }
                >>
                
                \new StaffGroup = "group II" \with {
                        \consists "Instrument_name_engraver"
                        instrumentName = "group 2"
                        shortInstrumentName = "g2"
                        systemStartDelimiter = #'SystemStartBrace
                } <<
                        \new RhythmicStaff = "test III" {
                                \set RhythmicStaff.instrumentName = "test 3"
                                \set RhythmicStaff.shortInstrumentName = "t3"
                                c4 c c c | \break c c c c
                        }
                        \new RhythmicStaff = "test IV" {
                                \set RhythmicStaff.instrumentName = "test 4"
                                \set RhythmicStaff.shortInstrumentName = "t4"
                                c4 c c c | \break c c c c
                        }
                >>
        >>
        
        \layout { }
}
--- snap ---

Best, Robert

Am 05.10.2010, 09:47 Uhr, schrieb 胡海鹏 - Hu Haipeng <hhpmu...@163.com>:

Hello,
I'd like to engrave some percussion sections for separate players. The groups have their name for player numbers, and the individual rhythmic staves indicate names of instruments. However, even though I include the engraver, the file attached doesn't generate group names into the pdf. I know this because I converted the pdf into text. Could anyone point out what's wrong?
Regards
Haipeng




_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to