Gabriel Striewe <li...@gabriel-striewe.de> writes:

>> >in some, especially contemporary piano literature, a piano can have more
>> >than 2 staffs, for example three or four, usually only for the duration
>> >of a few bars.
>> >
>> >I usually notate my music using \parallelMusic.
>> >
>> >My question is: how do I achive this? I would like a third or fourth
>> >staff to appear only during some bars, not continuously.
>
> http://www.lilypond.org/doc/v2.16/Documentation/snippets/staff-notation#staff-notation-adding-an-extra-staff

So why aren't you doing it in that way?

\parallelMusic #'(voiceA voiceB) {
  c''1|
  c'1|

  %Bar 2
  d''1|
  d'1|
}

\parallelMusic #'(voiceC voiceD voiceE) {
  %Bar 3
  e''1|
  e'1|
  c'1|
}

\score {

  \new PianoStaff \with {
    instrumentName = "Klavier"
  }
  <<
    \new Staff { \voiceA \voiceC }
    \new Staff {
      \voiceB
      << \voiceD
	 \new Staff \voiceE
      >>
    }
  >>
  \layout { }
}

-- 
David Kastrup
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to