]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/measure-counter.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / input / regression / measure-counter.ly
1 \version "2.17.6"
2
3 \header {
4   texidoc = "Measures can be numbered sequentially by enclosing them with 
5 @code{\\startMeasureCount} and @code{\\stopMeasureCount}."
6 }
7
8 \layout {
9   indent = 0
10   ragged-right = ##t
11 }
12
13 \relative c' {
14   \startMeasureCount
15   \repeat unfold 5 {
16     a4 b c d
17   }
18   \stopMeasureCount
19   a'4 b c d
20   \override Staff.MeasureCounter.count-from = #2
21   \startMeasureCount
22   \repeat unfold 4 {
23     a4 b c d
24   }
25   \stopMeasureCount\startMeasureCount
26   \revert Staff.MeasureCounter.count-from
27   \clef bass
28   \key fis \major
29   \time 3/4
30   \repeat unfold 3 {
31     R2.
32   }
33   \stopMeasureCount
34 }
35
36 \layout {
37   \context {
38     \Staff
39     \consists #Measure_counter_engraver
40   }
41 }