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