Jump to content

Measure-centered bar numbers

From LilyPond wiki
Revision as of 22:56, 21 November 2025 by Lemzwerg (talk | contribs)

For film scores, a common convention is to center bar numbers within their measure. This is achieved through setting the centerBarNumbers context property to true. When this is used, the type of the bar number grobs is CenteredBarNumber rather than BarNumber.

This example demonstrates a number of settings: the centered bar numbers are boxed and placed below the staves.

LilyPond rendering error

No release of LilyPond 2.24 found.