]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/measure-counter.ly
resolve merge
[lilypond.git] / Documentation / snippets / measure-counter.ly
diff --git a/Documentation/snippets/measure-counter.ly b/Documentation/snippets/measure-counter.ly
new file mode 100644 (file)
index 0000000..9981d3a
--- /dev/null
@@ -0,0 +1,44 @@
+%% DO NOT EDIT this file manually; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
+%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
+%% and then run scripts/auxiliar/makelsr.py
+%%
+%% This file is in the public domain.
+\version "2.14.0"
+
+\header {
+  lsrtags = "repeats, staff-notation, editorial-annotations"
+
+%% Translation of GIT committish: 70f5f30161f7b804a681cd080274bfcdc9f4fe8c
+  texidoces = "
+Este fragmento de código proporciona una solución alternativa a la
+producción de contadores de compás utilizando repeticiones
+transparentes de tipo porcentaje.
+
+"
+  doctitlees = "Contador de compases"
+
+  texidoc = "
+This snippet provides a workaround for emitting measure counters using
+transparent percent repeats.
+
+"
+  doctitle = "Measure counter"
+} % begin verbatim
+
+<<
+  \context Voice = "foo" {
+    \clef bass
+    c4 r g r
+    c4 r g r
+    c4 r g r
+    c4 r g r
+  }
+  \context Voice = "foo" {
+    \set countPercentRepeats = ##t
+    \override PercentRepeat #'transparent = ##t
+    \override PercentRepeatCounter #'staff-padding = #1
+    \repeat percent 4 { s1 }
+  }
+>>
+