Measure-centered bar numbers: Difference between revisions

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
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
For film scores, a common convention is to center bar numbers within their measure. This is achieved through setting the <code>centerBarNumbers</code> context property to true. When this is used, the type of the bar number grobs is <code>CenteredBarNumber</code> rather than <code>BarNumber</code>.
For film scores, a common convention is to center bar numbers within their measure. This is achieved through setting the <code>centerBarNumbers</code> context property to <code>#t</code>. When this is used, the type of the bar number grobs is <code>CenteredBarNumber</code> rather than <code>BarNumber</code>.


This example demonstrates a number of settings: the centered bar numbers are boxed and placed below the staves.
This example demonstrates a number of settings: the centered bar numbers are boxed and placed below the staves.
Line 34: Line 34:
[[Category:Tweaks and overrides]]
[[Category:Tweaks and overrides]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]]
[[Category:Snippet]]