Doc: update lsr snippets.
[lilypond/mpolesky.git] / Documentation / snippets / measure-counter.ly
blobb540ccb9fa22850ddcbd5f5229a5ce3e2d8bd827
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.10"
6 \header {
7 lsrtags = "repeats, staff-notation, editorial-annotations"
9 %% Translation of GIT committish: 4385ed4cc738e164a95798862580b4b86703356f
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 }