]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/isolated-percent-repeats.ly
Doc: run makelsr locally
[lilypond.git] / Documentation / snippets / isolated-percent-repeats.ly
index 950edd6ff6762058692f5325059119a3c0d1d46e..d67e18d6d817bca555ebd5bdb4f940bd5ada69fa 100644 (file)
@@ -1,20 +1,23 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% 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.1"
+\version "2.14.2"
 
 \header {
   lsrtags = "repeats"
 
-%% Translation of GIT committish: da84f4caeafed6832152295e67ae852a9930f568
+%% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
   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:
+También se pueden imprimir símbolos de porcentaje sueltos.
 
 "
   doctitlees = "Símbolos de porcentaje sueltos"
 
-%% Translation of GIT committish: 0364058d18eb91836302a567c18289209d6e9706
+
+%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
   texidocde = "
 Isolierte Prozentwiederholungen können auch ausgegeben werden.  Das wird
 erreicht, indem man eine Ganztaktpause notiert und ihre Ausgabeform
@@ -23,18 +26,30 @@ erreicht, indem man eine Ganztaktpause notiert und ihre Ausgabeform
 "
   doctitlede = "Isolierte Prozentwiederholungen"
 
+%% Translation of GIT committish: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
+  texidocfr = "
+Des symboles de pourcentage isolés peuvent aussi être obtenus, au
+moyen d'un silence multi-mesures dont on modifie l'aspect@tie{}:
+
+"
+  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
 }