]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/measure-counter.ly
Issue 5167/6: Changes: show \markup xxx = ... \etc assignments
[lilypond.git] / Documentation / snippets / measure-counter.ly
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
5 %%
6 %% This file is in the public domain.
7 \version "2.18.0"
8
9 \header {
10   lsrtags = "editorial-annotations, repeats, staff-notation, workaround"
11
12   texidoc = "
13 This snippet provides a workaround for emitting measure counters using
14 transparent percent repeats.
15
16 "
17   doctitle = "Measure counter"
18 } % begin verbatim
19
20 <<
21   \context Voice = "foo" {
22     \clef bass
23     c4 r g r
24     c4 r g r
25     c4 r g r
26     c4 r g r
27   }
28   \context Voice = "foo" {
29     \set countPercentRepeats = ##t
30     \hide PercentRepeat
31     \override PercentRepeatCounter.staff-padding = #1
32     \repeat percent 4 { s1 }
33   }
34 >>