lilypond-user
[Top][All Lists]
Advanced

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

Re: reinstating hidden stave


From: Andrew Bernard
Subject: Re: reinstating hidden stave
Date: Fri, 29 Mar 2019 14:25:09 +1100

Hello Stan,

This came up as one of my queries a short while ago. It appears to be a surprisingly tricky topic. Have a look back through the archives for the full discussion. Here's the code I came up with. Hope this helps.

Andrew

%======
\version "2.19.82"

% manual staff hiding and showing .
% must be used with \RemoveEmptyStaves on.

hideStaffWithOnlyRests =
\set Staff.keepAliveInterfaces = #'()

showStaffWithOnlyRests =
\set Staff.keepAliveInterfaces = #'(
                                     bass-figure-interface
                                     chord-name-interface
                                     cluster-beacon-interface
                                     fret-diagram-interface
                                     lyric-syllable-interface
                                     note-head-interface
                                     tab-note-head-interface
                                     lyric-interface
                                     percent-repeat-item-interface
                                     percent-repeat-interface
                                     rest-interface
                                     )

%======

On Fri, 29 Mar 2019 at 13:48, Stan Sanderson <address@hidden> wrote:

I am setting a multiverse vocal piece with a piano intro and piano ending. I wish to “French” the score. I am using “\RemoveAllEmptyStaves” to save space, however I want the 5 measures of vocal rest to also be visible at the end to show the repetition.

How can  I revert the “RemoveAllEmptyStaves” instruction to allow this or alternatively, how can removing empty staves be applied to the first stave(s) only?


reply via email to

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