]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/isolated-percent-repeats.ly
Change stringTunings from list of semitones to list of pitches
[lilypond.git] / Documentation / snippets / isolated-percent-repeats.ly
index 244bac81ef19557d05ec39ccf5d1374064a77d82..1208c9bce49b8fc176e01d8bcefbdf768aa1367b 100644 (file)
@@ -1,20 +1,20 @@
-%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% Do not edit this file; it is automatically
+%% generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.13.1"
+\version "2.13.39"
 
 \header {
   lsrtags = "repeats"
 
-%% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
+%% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
   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: d96023d8792c8af202c7cb8508010c0d3648899d
+
+%% 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 +23,29 @@ erreicht, indem man eine Ganztaktpause notiert und ihre Ausgabeform
 "
   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
 }