lilypond-user
[Top][All Lists]
Advanced

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

Re: Two staves to one while dropping the bracket?


From: Mats Bengtsson
Subject: Re: Two staves to one while dropping the bracket?
Date: Mon, 14 Jun 2004 13:25:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113

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
address@hidden
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: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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