I want to insist in this subject. I would like also to add a StaffGroup aligned to a staff and make the brackets appear right before the begining of the staff group instead of the left of the page. And naturally include the instrument names at the left of the new staves.
\new StaffGroup << \new Staff = "Violas" \relative c' { \set Staff.instrumentName = "Vla." \clef C c c c c } \new Staff = "Violoncellos" \relative c { \set Staff.instrumentName = "Vc." \clef F c c c c << \new StaffGroup \with { alignAboveContext = "Violoncellos" } << \new Staff \with { \remove "Time_signature_engraver" } % \set Staff.instrumentName = "Solo Vc. 1" % <- This doesn't seems to work and makes the compilation fail, so I comented. { \clef F ees } \new Staff \with { \remove "Time_signature_engraver" } % \set Staff.instrumentName = "Solo Vc. 2" { \clef F d } \new Staff \with { \remove "Time_signature_engraver" } % \set Staff.instrumentName = "Solo Vc. 3" { \clef F cis } >> { c^"a 6" } >> } >> I'm sending two png files of the result I want. I made both by compiling the file in svg and editing in inkscape. bye! 2011/12/14 Caio Barros <caio.bar...@gmail.com> > I'm trying to write a divisi staff that appears at the middle of the > system and I want to write the instrument name at the left of the beginning > of the staff. > Is there a way to do that? > > Example: I want to write "Cl. 1" a the left of the inserted staff in the > code below: > > \new Staff = "Clarinets" \relative a'' { > \set Staff.instrumentName = "Cl. 1 & 2" > <a d>4 > << > \new Staff \with { alignAboveContext = "Clarinets" } > { \pitchedTrill g2. \startTrillSpan a s4 \stopTrillSpan } > { \pitchedTrill a2.\startTrillSpan gis s4 \stopTrillSpan } > >> > } > > thanks! >
<<attachment: example.png>>
<<attachment: example2.png>>
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user