Pedro Kröger wrote:
The subject says all. in this example the 1st staff should be hidden in
the second system like the 3rd staff. am I missing something?

Yes, that RemoveEmptyStaffContext is a replacement only for the ordinary Staff context, not for any other kind of contexts. If you use a recent 2.5.xx version, then there is a predefined \RemoveEmptyRhythmicStaffContext in earlier LilyPond versions you have to define it yourself: RemoveEmptyRhythmicStaffContext= \context { \RhythmicStaff \remove "Axis_group_engraver" \consists "Hara_kiri_engraver" }

  /Mats


\book {
\score {
<<
\new Staff {
\context RhythmicStaff {
\time 3/4
\repeat unfold 9 {\repeat unfold 3 {c4}}
R2.*9
\repeat unfold 9 {\repeat unfold 3 {c4}}
}
}
\new Staff {
\clef percussion
\repeat unfold 27 {\repeat unfold 3 {c4}}
}


      \new Staff {
        \clef percussion
          \repeat unfold 9 {\repeat unfold 3 {d4}}
          R2.*9
          \repeat unfold 9 {\repeat unfold 3 {d4}}
      }
    >>
    \layout {
      \context {
        \RemoveEmptyStaffContext
      }
    }
  }
}


_______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

-- ============================================= 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-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to