]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/measure-counter.ly
b7eefc7faabd876775c446ccd4921d7f2ee27bdb
[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 = "workaround, staff-notation, repeats, editorial-annotations"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
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 %% Translation of GIT committish: 57f9346bb030f49336a858fcbf1519366fe56454
22   texidocfr = "
23 Le code ci-dessous permet, de façon détournée, d'afficher un compteur de
24 mesures à l'aide d'une répétition en pourcent rendue transparente.
25
26 "
27   doctitlefr = "Compteur de mesures"
28
29   texidoc = "
30 This snippet provides a workaround for emitting measure counters using
31 transparent percent repeats.
32
33 "
34   doctitle = "Measure counter"
35 } % begin verbatim
36
37 <<
38   \context Voice = "foo" {
39     \clef bass
40     c4 r g r
41     c4 r g r
42     c4 r g r
43     c4 r g r
44   }
45   \context Voice = "foo" {
46     \set countPercentRepeats = ##t
47     \override PercentRepeat #'transparent = ##t
48     \override PercentRepeatCounter #'staff-padding = #1
49     \repeat percent 4 { s1 }
50   }
51 >>
52