4 lsrtags = "contexts-and-engravers, repeats, staff-notation"
7 Scores of large ensemble works often have bar numbers placed beneath the
8 system, centered horizontally on the measure's extent. This snippet shows
9 how the @code{Measure_counter_engraver} may be used to simulate this
10 notational practice. Here, the engraver has been added to a @code{Dynamics}
15 doctitle = "Centered measure numbers"
21 \consists #Measure_counter_engraver
22 \override MeasureCounter.direction = #DOWN
23 \override MeasureCounter.font-encoding = #'latin1
24 \override MeasureCounter.font-shape = #'italic
25 % to control the distance of the Dynamics context from the staff:
26 \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #2
30 \remove "Bar_number_engraver"
34 pattern = \repeat unfold 7 { c'4 d' e' f' }