Re: Removing bar numbers from empty, hiden staves

Gabriel Ellsworth <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <CAHavgtU-N88NqiZfo1A4JG7qr=L9HFDcHe_z7L=uC6qj8uEPew@mail.gmail.com>
Dear Jogchum,

Jogchum Reitsma via LilyPond user discussion wrote:

> Is there a way to remove (only) those bar numbers?
>

Does the following approach work?

\omit Score.BarNumber

% your music code for the hidden staves (e.g., spacer rests)

\undo \omit Score.BarNumber

% the rest of your music

Gabriel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.