]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/isolated-percent-repeats.ly
Merge remote-tracking branch 'origin/master' into translation
[lilypond.git] / Documentation / snippets / isolated-percent-repeats.ly
index b8bde6e29de7586b0a0024888296bf28a035043b..c8fb9bc22f9efe600f6898f714561373f1bf1550 100644 (file)
@@ -1,49 +1,27 @@
-%% Do not edit this file; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
+%% DO NOT EDIT this file manually; it is automatically
+%% 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.13.16"
+\version "2.18.0"
 
 \header {
   lsrtags = "repeats"
 
-%% Translation of GIT committish: d2119a9e5e951c6ae850322f41444ac98d1ed492
-  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: 0a868be38a775ecb1ef935b079000cebbc64de40
-  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: a5bde6d51a5c88e952d95ae36c61a5efc22ba441
-  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
 }
-