]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/measure-counter.ly
Merge branch 'master' into lilypond/translation
[lilypond.git] / input / lsr / measure-counter.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.11.51"
4
5 \header {
6   lsrtags = "repeats, staff-notation, editorial-annotations"
7
8   texidoc = "
9 This snippet provides an workaround for emitting measure counters using
10 transparent percent repeats. 
11
12 "
13   doctitle = "Measure counter"
14 } % begin verbatim
15
16 <<
17   \context Voice = "foo" {
18     \clef bass
19     c4 r g r
20     c4 r g r
21     c4 r g r
22     c4 r g r
23   }
24   \context Voice = "foo" {
25     \set countPercentRepeats = ##t
26     \override PercentRepeat #'transparent = ##t
27     \override PercentRepeatCounter #'staff-padding = #1
28     \repeat percent 4 { s1 }
29   }
30 >>