LSR: Update.
[lilypond/mpolesky.git] / Documentation / snippets / measure-counter.ly
blobeff76d668087f354f4654ac9dab710b014544086
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.29"
6 \header {
7 lsrtags = "repeats, staff-notation, editorial-annotations"
9 %% Translation of GIT committish: 0b55335aeca1de539bf1125b717e0c21bb6fa31b
10 texidoces = "
11 Este fragmento de código proporciona una solución alternativa a la
12 producción de contadores de compás utilizando repeticiones
13 transparentes de tipo porcentaje.
16 doctitlees = "Contador de compases"
18 texidoc = "
19 This snippet provides a workaround for emitting measure counters using
20 transparent percent repeats.
23 doctitle = "Measure counter"
24 } % begin verbatim
27 \context Voice = "foo" {
28 \clef bass
29 c4 r g r
30 c4 r g r
31 c4 r g r
32 c4 r g r
34 \context Voice = "foo" {
35 \set countPercentRepeats = ##t
36 \override PercentRepeat #'transparent = ##t
37 \override PercentRepeatCounter #'staff-padding = #1
38 \repeat percent 4 { s1 }