lilypond-user
[Top][All Lists]
Advanced

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

Re: Percussion staff problems


From: David Kastrup
Subject: Re: Percussion staff problems
Date: Fri, 03 Sep 2021 23:10:42 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Gordon Bower <grb@taigabridge.net> writes:

> Success! Thank you for the fast response.
>
>
>> Your \layout with
>> \context { \Staff \RemoveEmptyStaves }
>> works as expected, but you want to remove _DrumStaff_, add.
>> \context { \DrumStaff \RemoveEmptyStaves }
>>
>
> I was thinking of a DrumStaff as a sub-type of staff.
> As long as I think of Staff, DrumStaff, RhythmStaff, GrandStaff, etc as
> separate objects, this makes sense.

Well, LilyPond thinks of them as separate things.  There is \alias in
context definitions which allows a DrumStaff to satisfy a Staff.xxx
specification in an override.  But while it can serve as a Staff in that
respect (but not for hosting a Voice context, for example), it is still
entirely separate.

-- 
David Kastrup



reply via email to

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