Deutsches Lilypond Forum (Archiv)

Notationsspezifisch => Noten für Schlagzeug => Thema gestartet von: gärchle am Samstag, 9. April 2011, 10:29

Titel: DrumStaff
Beitrag von: gärchle am Samstag, 9. April 2011, 10:29
Hallo Allerseits,

habe festgestellt, dass \RemoveEmptyStaffContext  nicht auf DrumStaff wirkt.
Mit \RemoveEmptyRhythmicStaffContext  geht es auch nicht.
Gibt es da ne einfache Lösung?

Gruß
Gärchle
Titel: Re:DrumStaff
Beitrag von: RobUr am Samstag, 9. April 2011, 17:34
Hallo Gärchle,

siehe Re: Removing empty (drum) staff in a score, […] (http://lists.gnu.org/archive/html/lilypond-user/2009-04/msg00797.html):
\layout {
  \context {
    \RemoveEmptyStaffContext
   }
   \context {
    \DrumStaff
    \remove "Axis_group_engraver"
    \override VerticalAxisGroup #'remove-empty = ##t
    \consists "Hara_kiri_engraver"
  }
}

Grüße, Robert
Titel: Re:DrumStaff
Beitrag von: gärchle am Samstag, 9. April 2011, 22:16
Merci beaucoup  :)