Jump to content

Displaying bar numbers on all measures

From LilyPond wiki
Revision as of 15:07, 4 November 2025 by Jean Abou Samra (talk | contribs) (Remove LSR link and full option)

By default, bar numbers are printed only in the first measure.

This setting can be overridden so that bar numbers appear on every measure.

\version "2.24.0"

\relative c'{
  c1 c c
  \override Score.BarNumber.break-visibility = #end-of-line-invisible
  \break
  c c c
}

\layout { raggedright = ##t }
\paper { tagline = ##f }