LEFT | RIGHT |
1 %% DO NOT EDIT this file manually; it is automatically | 1 %% DO NOT EDIT this file manually; it is automatically |
2 %% generated from LSR http://lsr.dsi.unimi.it | 2 %% generated from LSR http://lsr.dsi.unimi.it |
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ , | 3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ , |
4 %% and then run scripts/auxiliar/makelsr.py | 4 %% and then run scripts/auxiliar/makelsr.py |
5 %% | 5 %% |
6 %% This file is in the public domain. | 6 %% This file is in the public domain. |
7 \version "2.17.5" | 7 \version "2.17.6" |
8 | 8 |
9 \header { | 9 \header { |
10 lsrtags = "editorial-annotations, repeats, staff-notation, workaround" | 10 lsrtags = "editorial-annotations, repeats, staff-notation, workaround" |
11 | 11 |
12 texidoc = " | 12 texidoc = " |
13 This snippet provides a workaround for emitting measure counters using | 13 This snippet provides a workaround for emitting measure counters using |
14 transparent percent repeats. | 14 transparent percent repeats. |
15 | 15 |
16 " | 16 " |
17 doctitle = "Measure counter" | 17 doctitle = "Measure counter" |
18 } % begin verbatim | 18 } % begin verbatim |
19 | 19 |
20 << | 20 << |
21 \context Voice = "foo" { | 21 \context Voice = "foo" { |
22 \clef bass | 22 \clef bass |
23 c4 r g r | 23 c4 r g r |
24 c4 r g r | 24 c4 r g r |
25 c4 r g r | 25 c4 r g r |
26 c4 r g r | 26 c4 r g r |
27 } | 27 } |
28 \context Voice = "foo" { | 28 \context Voice = "foo" { |
29 \set countPercentRepeats = ##t | 29 \set countPercentRepeats = ##t |
30 \override PercentRepeat transparent = ##t | 30 \override PercentRepeat.transparent = ##t |
31 \override PercentRepeatCounter staff-padding = #1 | 31 \override PercentRepeatCounter.staff-padding = #1 |
32 \repeat percent 4 { s1 } | 32 \repeat percent 4 { s1 } |
33 } | 33 } |
34 >> | 34 >> |
LEFT | RIGHT |