[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Displaying a staff despite \removeEmptyStaves
From: |
Kieren MacMillan |
Subject: |
Re: Displaying a staff despite \removeEmptyStaves |
Date: |
Sun, 5 Apr 2015 15:58:58 -0400 |
Hi Anton,
> Is it possible to force an empty staff to be displayed occasionally when
> \removeEmptyStaves is used?
You need to add multi-measure-rest-interface to the keepAliveInterfaces for
that staff.
Here are the two bits of syntactic sugar I use:
showMMRs = {
\set Staff.keepAliveInterfaces =
#'( rhythmic-grob-interface
multi-measure-rest-interface
lyric-interface
stanza-number-interface
percent-repeat-interface) }
hideMMRs = \unset Staff.keepAliveInterfaces
So put a \showMMRs in your music expression at the point where you want to
force that Staff context to appear (despite having \RemoveEmptyStaves active),
and put a \hideMMRs when you want it to return to “default” (i.e., the Staff
will disappear, if possible).
Hope this helps!
Kieren.
_______________________
Kieren MacMillan, composer
www: <http://www.kierenmacmillan.info>
email: address@hidden
- Displaying a staff despite \removeEmptyStaves, Anton Curl, 2015/04/05
- Re: Displaying a staff despite \removeEmptyStaves, Colin Campbell, 2015/04/05
- Re: Displaying a staff despite \removeEmptyStaves,
Kieren MacMillan <=
- Re: Displaying a staff despite \removeEmptyStaves, Anton Curl, 2015/04/05
- Re: Displaying a staff despite \removeEmptyStaves, Urs Liska, 2015/04/05
- Re: Displaying a staff despite \removeEmptyStaves, Anton Curl, 2015/04/05
- Re: Displaying a staff despite \removeEmptyStaves, Urs Liska, 2015/04/05
- Re: Displaying a staff despite \removeEmptyStaves, Anton Curl, 2015/04/06
- Re: Displaying a staff despite \removeEmptyStaves, Simon Albrecht, 2015/04/06
- Re: Displaying a staff despite \removeEmptyStaves, Anton Curl, 2015/04/06