bug-lilypond
[Top][All Lists]
Advanced

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

Re: Multi-measure rests before a new temporary staff is added


From: Eluze
Subject: Re: Multi-measure rests before a new temporary staff is added
Date: Mon, 4 Nov 2013 16:04:36 -0800 (PST)

Steven Weber wrote
> Lilypond 2.17.29, Windows 7.
> 
> I'm typesetting a piece where the part splits after a multi-measure rest
> (and a forced line break).    

why not use the "usual" construct that defines the staff group from the
begin and removes parts if they're  _empty_:

\score{
  \new StaffGroup \with {
    \RemoveEmptyStaves
    \override VerticalAxisGroup #'remove-first = ##t
  }
  <<
    \new Staff {
      \compressFullBarRests
      \override MultiMeasureRest.expand-limit = #1
      \new Voice \repeat unfold 5 { c4 d e f | }
      R1 *5 |
      \break
      \repeat unfold 5 { c4 d e f | }
    }
    \new Staff {
      \clef bass
      \time 4/4
      \colorContext blue
      \key f \major
      s1 *10 \repeat unfold 5 { c,4 d, e, f, | }
    }
  >>
}

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Multi-measure-rests-before-a-new-temporary-staff-is-added-tp153390p153395.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

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