Op 09-06-2026 om 21:12 schreef Gabriel Ellsworth:
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
This works, thanks.
I sometimes have difficulties finding my way around in the lilypond
docs, overwhelmed by all that is possible.
So I did find the \omit function, but not the \undo \omit.
Thanks!
cheers, Jogchum