]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/isolated-percent-repeats.ly
Update snippets from today's LSR with changed makelsr.py
[lilypond.git] / Documentation / snippets / isolated-percent-repeats.ly
index 16ab7746efea3976eedf9c2f859894c8cb075428..ca73c2d2071a62407e0926fea6ace4bf21169c32 100644 (file)
@@ -1,49 +1,28 @@
-%% Do not edit this file; it is automatically
+%% 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.13.10"
+\version "2.14.2"
 
 \header {
   lsrtags = "repeats"
 
-%% Translation of GIT committish: 45fc8488655f9ea122d1ec6e3328892618bd6971
-  texidoces = "
-También se pueden imprimir símbolos de porcentaje sueltos.  Esto se
-hace introduciendo un silencio multicompás con una función de
-impresión distinta:
-
-"
-  doctitlees = "Símbolos de porcentaje sueltos"
-
-%% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
-  texidocde = "
-Isolierte Prozentwiederholungen können auch ausgegeben werden.  Das wird
-erreicht, indem man eine Ganztaktpause notiert und ihre Ausgabeform
-ändert:
-
-"
-  doctitlede = "Isolierte Prozentwiederholungen"
-%% Translation of GIT committish: e98b2d804c2a136edfa28adc894bb584f676c884
-  texidocfr = "
-Des symboles de pourcentage isolés peuvent aussi être obtenus, au
-moyen d'un silence multi-mesures dont on modifie l'aspect :
-
-"
-  doctitlefr = "Répétition en pourcent isolée"
-
-
   texidoc = "
-Isolated percents can also be printed.  This is done by entering a
-multi-measure rest with a different print function:
+Isolated percents can also be printed.
 
 "
   doctitle = "Isolated percent repeats"
 } % begin verbatim
 
+
+makePercent =
+#(define-music-function (parser location note) (ly:music?)
+   "Make a percent repeat the same length as NOTE."
+   (make-music 'PercentEvent
+               'length (ly:music-length note)))
+
 \relative c'' {
-  \override MultiMeasureRest #'stencil
-    = #ly:multi-measure-rest::percent
-  \override MultiMeasureRest #'thickness = #0.48
-  R1
+  \makePercent s1
 }
-