1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.17.7
11 lsrtags = "contexts-and-engravers, repeats, staff-notation"
14 Scores of large ensemble works often have bar numbers placed beneath the
15 system, centered horizontally on the measure's extent. This snippet shows
16 how the @code{Measure_counter_engraver} may be used to simulate this
17 notational practice. Here, the engraver has been added to a @code{Dynamics}
22 doctitle = "Centered measure numbers"
29 \consists #Measure_counter_engraver
30 \override MeasureCounter.direction = #DOWN
31 \override MeasureCounter.font-encoding = #'latin1
32 \override MeasureCounter.font-shape = #'italic
33 % to control the distance of the Dynamics context from the staff:
34 \override VerticalAxisGroup.nonstaff-relatedstaff-spacing.padding = #2
38 \remove "Bar_number_engraver"
42 pattern = \repeat unfold 7 { c'4 d' e' f' }