]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/measure-counter.ly
166e66f086ca507bbd7934901f5f5a39ba277a10
[lilypond.git] / Documentation / snippets / measure-counter.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.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.14.2"
8
9 \header {
10   lsrtags = "repeats, editorial-annotations, workaround, staff-notation"
11
12 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
13   texidoces = "
14 Este fragmento de código proporciona una solución alternativa a la
15 producción de contadores de compás utilizando repeticiones
16 transparentes de tipo porcentaje.
17
18 "
19   doctitlees = "Contador de compases"
20
21   texidoc = "
22 This snippet provides a workaround for emitting measure counters using
23 transparent percent repeats.
24
25 "
26   doctitle = "Measure counter"
27 } % begin verbatim
28
29 <<
30   \context Voice = "foo" {
31     \clef bass
32     c4 r g r
33     c4 r g r
34     c4 r g r
35     c4 r g r
36   }
37   \context Voice = "foo" {
38     \set countPercentRepeats = ##t
39     \override PercentRepeat #'transparent = ##t
40     \override PercentRepeatCounter #'staff-padding = #1
41     \repeat percent 4 { s1 }
42   }
43 >>
44