]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/creating-real-parenthesized-dynamics.ly
Merge branch 'translation' into staging
[lilypond.git] / Documentation / snippets / creating-real-parenthesized-dynamics.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "expressive-marks, workaround, text"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14 Aunque la manera más fácil de añadir paréntesis a una indicación
15 de dinámica es utilizar un bloque @code{\\markup}, este método
16 tiene un inconveniente: los objetos que se crean se comportarán
17 como elementos de marcado de texto y no como indicaciones
18 dinámicas.
19
20 Sin embargo, es posible crear un objeto similar utilizando el código
21 de Scheme equivalente (como se explica en la Referencia de la
22 notación), en combinación con la función
23 @code{make-dynamic-script}. De esta forma, el elemento de marcado se
24 tratará como una indicación dinámica, y por tanto seguirá siendo
25 compatible con instrucciones como @code{\\dynamicUp} o
26 @code{\\dynamicDown}.
27
28 "
29   doctitlees = "Crear indicaciones dinámicas \"verdaderas\" entre paréntesis"
30
31 %% Translation of GIT committish: f5cfaf8ef4ac347702f554af0944ef0d8396e73a
32   texidocfr = "
33 Bien que le moyen le plus simple pour ajouter des parenthèses à une
34 indication de nuance consiste à utiliser un bloc @code{\\markup}, cette
35 pratique a un inconvénient@tie{}: les objets ainsi créés seront
36 considérés comme des annotations textuelles, non comme des nuances.
37
38 Il est néanmoins possible de créer des objets particuliers en partant de
39 code Scheme -- comme expliqué dans le manuel de notation -- avec la
40 fonction @code{make-dynamic-script}.  Les @emph{markups} ainsi créés
41 seront alors considérés comme étant des indications de nuance, et de ce
42 fait pourront se voir appliquer les effets des commandes
43 @code{\\dynamicUp} et @code{\\dynamicDown}.
44
45 "
46   doctitlefr = "Indications de nuance vraiment entre parenthèses"
47
48   texidoc = "
49 Although the easiest way to add parentheses to a dynamic mark is to use
50 a @code{\\markup} block, this method has a downside: the created
51 objects will behave like text markups, and not like dynamics.
52
53 However, it is possible to create a similar object using the equivalent
54 Scheme code (as described in the Notation Reference), combined with the
55 @code{make-dynamic-script} function. This way, the markup will be
56 regarded as a dynamic, and therefore will remain compatible with
57 commands such as @code{\\dynamicUp} or @code{\\dynamicDown}.
58
59
60
61 "
62   doctitle = "Creating \"real\" parenthesized dynamics"
63 } % begin verbatim
64
65
66 parenF = #(make-dynamic-script (markup #:line (#:normal-text #:italic
67            #:fontsize 2 "(" #:hspace -0.8 #:dynamic "f" #:normal-text
68            #:italic #:fontsize 2 ")")))
69
70 \relative c'' {
71   c4\parenF c c \dynamicUp c\parenF
72 }
73