Jump to content

Removing bar numbers from a score: Difference between revisions

From LilyPond wiki
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
No edit summary
Line 23: Line 23:
[[Category:Rhythms]]
[[Category:Rhythms]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Contexts and engravers]]
[[Category:Contexts and engravers]][[Category:Snippet]]

Revision as of 22:58, 21 November 2025

Bar numbers can be removed entirely by removing the Bar_number_engraver from the Score context.

\version "2.24"

% LSR modified by P.P.Schneider on Feb. 2014.

\layout {
  \context {
    \Score
    \omit BarNumber
    % or:
    %\remove "Bar_number_engraver"
  }
}

\relative c'' {
  c4 c c c \break
  c4 c c c
}

\paper { tagline = ##f }