Hi, Simon. Use "InnerStaffGroup" in StaffGroup. How about like this:
\score { \new StaffGroup << \set StaffGroup.systemStartDelimiterHierarchy = #'(SystemStartSquare (SystemStartBracket a (SystemStartBrace b c)) d) \new Staff { \set Staff.instrumentName = "Violin I Solo" \set Staff.shortInstrumentName="Vl. Solo" \violIsolop } \new Staff = "vIupper" { \set Staff.instrumentName = "Violin I.I" \set Staff.shortInstrumentName = "VI.I" << \globalScore \vIupper >> } \new Staff { \set Staff.instrumentName = "Violin I.II" \set Staff.shortInstrumentName = "VI.II" \violIp } \new Staff { \set Staff.instrumentName = "Contrabasso" \set Staff.shortInstrumentName = "Cb." \cbp } >> \layout {} } 2008/11/28 Simon Bailey <[EMAIL PROTECTED]>: > hi, > > according to the documentation at : > http://kainhofer.com/~lilypond/Documentation/user/lilypond/Displaying-staves.html#Nested-staff-groups > > the following code should produce the image shown in the documentation. > > \score { > \relative c'' { > \new StaffGroup << > \new Staff { c2 c | c2 c } > \new StaffGroup << > \new Staff { g2 g | g2 g } > \new StaffGroup \with { > systemStartDelimiter = #'SystemStartSquare > } > << > \new Staff { e2 e | e2 e } > \new Staff { c2 c | c2 c } > >> > >> > >> > } > } > > on my box (mac os x, leopard using 2.11.64 darwin-ppc) i get the attached > image "weird-nested-staffgroup.png". what gives? > > i ran into this while trying to fix a problem with the following code: > > %%% > \score { > \new StaffGroup << > \new StaffGroup << > \new Staff { > \set Staff.instrumentName = "Violin I Solo" > \set Staff.shortInstrumentName="Vl. Solo" > \violIsolop > } > \new StaffGroup << > \new Staff = "vIupper" << > \set Staff.instrumentName = "Violin I.I" > \set Staff.shortInstrumentName = "VI.I" > \globalScore > \vIupper > >> > \new Staff { > \set Staff.instrumentName = "Violin I.II" > \set Staff.shortInstrumentName = "VI.II" > \violIp > } > >> > >> > \new Staff { > \set Staff.instrumentName = "Contrabasso" > \set Staff.shortInstrumentName = "Cb." > \cbp > } > >> > \layout {} > } > %%% > > this snippet gives me a wrong ordering of the staves. see attached image > "wrong-staff-order.png" – here you can see that the contrabasso staff is > printed first, even though common sense would dictate it come last. > furthermore, the staffgroups aren't nesting properly – Violin I.I & I.II > should have 3 levels of staffbraces... > > help? full source code of my example is in weirdness.ly. > > regards, > sb > -- > Simon Bailey > Oompa Loompa of Science > +43 699 190 631 25 > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user