One solution is to use the \RemoveEmptyStaffContext and simply insert
multimeasure rests in the second stave. Then, LilyPond will
automatically remove the second stave and the opening brace on the
lines where there are no notes.

Example:

uppervoice=\new Staff \notes\relative c'{
c d e f g a b c c b a g f e d c
c d e f g a b c c b a g f e d c
c d e f g a b c c b a g f e d c
}

lowervoice=\new Staff \notes\relative c''{
c b a g f e d c c d e f g a b c \break
R1*4 \break
c4 b a g f e d c c d e f g a b c }

\score{
  \new GrandStaff <<
    \uppervoice
    \lowervoice
  >>
  \paper{
    \context {
      \RemoveEmptyStaffContext
    }
  }
}


/Mats

Alex Klein wrote:
Hi,
a month ago I had a little problem which I still haven't found a
solution for. I was engraving a piece of music where the first violin is
split into upper and lower voice, which was notated by using two staves
and a group bracket. At one time in the piece, the split is lost and all
first violins play in unison. I was able to drop the second stave, but
no matter what I did, there was always a group bracket around the single
stave left.
What is the correct way to engrave this?
Cheers

Alex



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-user mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to