lilypond-user
[Top][All Lists]
Advanced

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

Re: \RemoveEmptyStaves for drums?


From: Kieren MacMillan
Subject: Re: \RemoveEmptyStaves for drums?
Date: Sat, 5 Aug 2017 21:34:32 -0400

Hi Molly,

> However I can't seem to get it to \RemoveEmptyStaves for the \DrumStaff. This 
> is what I tried.
> 
> \layout {
> \context {
> \Staff 
> \RemoveEmptyStaves
> \DrumStaff
> \RemoveEmptyStaves
>   }

To be honest, I'm not even sure *what* that would do…   =\

Here's what I just tried, and it seems to work:

%%%%  SNIPPET BEGINS
\version "2.19"

\layout {
  \context {
    \DrumStaff
    \RemoveAllEmptyStaves
  }
}

<<
  \new DrumStaff << R1 >>
  \new Staff << c''1 >>
>>
%%%%  SNIPPET ENDS

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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