X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=Documentation%2Fsnippets%2Fisolated-percent-repeats.ly;h=8ee28205d8fdb1a9010b40e00519a08fd36bef83;hb=4bd29f98794235cbe90875a6d73ad6cf4ffeaf5b;hp=6b96983bcca2063f0a47cca0c26ea989bea9e223;hpb=1efdabf3b2349ea7fa3183dca5bba5104c347c36;p=lilypond.git diff --git a/Documentation/snippets/isolated-percent-repeats.ly b/Documentation/snippets/isolated-percent-repeats.ly index 6b96983bcc..8ee28205d8 100644 --- a/Documentation/snippets/isolated-percent-repeats.ly +++ b/Documentation/snippets/isolated-percent-repeats.ly @@ -1,30 +1,23 @@ -%% 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.4" +\version "2.12.2" \header { -%% 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" - - lsrtags = "repeats" -%% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca +%% Translation of GIT committish: 91eeed36c877fe625d957437d22081721c8c6345 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 @@ -33,18 +26,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 }