X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Flsr%2Fcreating-real-parenthesized-dynamics.ly;h=870671166cd6d30069dc8bf3d27cca3e279c2e8d;hb=2459c66ea8366f6541be25728973975ee0bc4d62;hp=69ce5da881ad959b21d4030e57f7febfab7e9222;hpb=f38331f2a44d40bb22b1b0a321463d0eae05e1bf;p=lilypond.git diff --git a/input/lsr/creating-real-parenthesized-dynamics.ly b/input/lsr/creating-real-parenthesized-dynamics.ly index 69ce5da881..870671166c 100644 --- a/input/lsr/creating-real-parenthesized-dynamics.ly +++ b/input/lsr/creating-real-parenthesized-dynamics.ly @@ -1,10 +1,29 @@ %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it %% This file is in the public domain. -\version "2.11.38" +\version "2.12.3" \header { lsrtags = "expressive-marks, text" - texidoc = " + + texidoces = " +Aunque la manera más fácil de añadir paréntesis a una indicación +de dinámica es utilizar un bloque @code{\\markup}, este método +tiene un inconveniente: los objetos que se crean se comportarán +como elementos de marcado de texto y no como indicaciones +dinámicas. + +Sin embargo, es posible crear un objeto similar utilizando el +código de Scheme equivalente (como se explica en \"Interfaz del +programador de elementos de marcado\"), en combinación con la +función @code{make-dynamic-script}. De esta forma, el elemento de +marcado se tratará como una indicación dinámica, y por tanto +seguirá siendo compatible con instrucciones como +@code{\\dynamicUp} o @code{\\dynamicDown}. + +" + doctitlees = "Crear indicaciones dinámicas \"verdaderas\" entre paréntesis" + + texidoc = " Although the easiest way to add parentheses to a dynamic mark is to use a @code{\\markup} block, this method has a downside: the created objects will behave like text markups, and not like dynamics. @@ -16,14 +35,16 @@ be regarded as a dynamic, and therefore will remain compatible with commands such as @code{\\dynamicUp} or @code{\\dynamicDown}. -" } -% begin verbatim -\paper { ragged-right = ##t } + +" + doctitle = "Creating \"real\" parenthesized dynamics" +} % begin verbatim parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic - #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text #:italic - #:fontsize 2 ")" - ))) -{ - c''4\parenF c'' c'' \dynamicUp c''\parenF + #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text + #:italic #:fontsize 2 ")"))) + +\relative c'' { + c4\parenF c c \dynamicUp c\parenF } +