]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/measure-counter.ly
Change stringTunings from list of semitones to list of pitches
[lilypond.git] / Documentation / snippets / measure-counter.ly
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.39"
5
6 \header {
7   lsrtags = "repeats, staff-notation, editorial-annotations"
8
9 %% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
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.
14
15 "
16   doctitlees = "Contador de compases"
17
18   texidoc = "
19 This snippet provides a workaround for emitting measure counters using
20 transparent percent repeats.
21
22 "
23   doctitle = "Measure counter"
24 } % begin verbatim
25
26 <<
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
33   }
34   \context Voice = "foo" {
35     \set countPercentRepeats = ##t
36     \override PercentRepeat #'transparent = ##t
37     \override PercentRepeatCounter #'staff-padding = #1
38     \repeat percent 4 { s1 }
39   }
40 >>
41