]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/measure-counter.ly
Issue 5167/1: Reorganize markup commands to use object properties
[lilypond.git] / Documentation / snippets / measure-counter.ly
index ff5fe2b5a563d8f99db5b2415ca452aca14b4146..93317e27d2f55cd3db506915fdbc4caa928cb162 100644 (file)
@@ -1,22 +1,13 @@
 %% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% generated from LSR http://lsr.di.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.2"
+\version "2.18.0"
 
 \header {
-  lsrtags = "repeats, editorial-annotations, workaround, staff-notation"
-
-%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
-  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"
+  lsrtags = "editorial-annotations, repeats, staff-notation, workaround"
 
   texidoc = "
 This snippet provides a workaround for emitting measure counters using
@@ -36,9 +27,8 @@ transparent percent repeats.
   }
   \context Voice = "foo" {
     \set countPercentRepeats = ##t
-    \override PercentRepeat #'transparent = ##t
-    \override PercentRepeatCounter #'staff-padding = #1
+    \hide PercentRepeat
+    \override PercentRepeatCounter.staff-padding = #1
     \repeat percent 4 { s1 }
   }
 >>
-