]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/vertically-aligned-dynamics-and-textscripts.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[lilypond.git] / Documentation / snippets / vertically-aligned-dynamics-and-textscripts.ly
1 %% Do not edit this file; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% This file is in the public domain.
4 \version "2.13.4"
5
6 \header {
7   lsrtags = "tweaks-and-overrides, spacing"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
10   texidoces = "
11 Mediante el establecimiento de la propiedad @code{'Y-extent} a un valor
12 adecuado, todos los objetos @code{DynamicLineSpanner} (reguladores e
13 indicaciones dinámicas textuales) se pueden alinear con un punto de
14 referencia común, independientemente de sus dimensiones.  De esta
15 manera, todos los elementos estarán alineados verticalmente,
16 produciendo así un resultado más satisfactorio.
17
18 Se usa una idea similar para alinear las inscripciones de texto a lo
19 largo de su línea de base.
20
21 "
22   doctitlees = "Indicaciones dinámicas y textuales alineadas verticalmente"
23
24 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
25 texidocde = "
26 Indem man die @code{'Y-extent}-Eigenschaft auf einen passenden Wert setzt,
27 können alle @code{DynamicLineSpanner}-Objekte (Crescendo-Klammern und
28 Dynamik-Texte)  (hairpins and dynamic texts) unabhängig von ihrer
29 wirklichen Ausdehnung an einem gemeinsamen Referenzpunkt ausgerichtet werden.
30 Auf diese Weise ist jedes Element vertikal ausgerichtet und der Notensatz
31 sieht ansprechender aus.
32
33 Die gleiche Idee wird benutzt, um Textbeschriftungen an ihrer
34 Grundlinie auszurichten.
35
36 "
37   doctitlede = "Vertikale Ausrichtung von Dynamik und Textbeschriftung beeinflussen"
38 %% Translation of GIT committish: ae814f45737bd1bdaf65b413a4c37f70b84313b7
39   texidocfr = "
40 Vous pourrez, en jouant sur la propriété @code{'Y-extent}, aligner les
41 différents objets @code{DynamicLineSpanner} (souflets ou textuels)
42 quelle que soit leur étendue, par rapport à un même point de référence.
43 Tous les éléments seront alors centrés sur une même ligne, ce qui sera
44 visuellement plus agréable.
45
46 C'est le même principe qui sert à aligner les indications textuelles sur
47 une ligne de référence.
48
49 "
50   doctitlefr = "Alignement vertical des nuances indications textuelles"
51
52
53   texidoc = "
54 By setting the @code{'Y-extent} property to a suitable value, all
55 @code{DynamicLineSpanner} objects (hairpins and dynamic texts) can be
56 aligned to a common reference point, regardless of their actual extent.
57 This way, every element will be vertically aligned, thus producing a
58 more pleasing output.
59
60 The same idea is used to align the text scripts along their baseline.
61
62 "
63   doctitle = "Vertically aligned dynamics and textscripts"
64 } % begin verbatim
65
66 music = \relative c'' {
67   c2\p^\markup { gorgeous } c\f^\markup { fantastic }
68   c4\p c\f\> c c\!\p
69 }
70
71 {
72   \music \break
73   \override DynamicLineSpanner #'staff-padding = #2.0
74   \override DynamicLineSpanner #'Y-extent = #'(-1.5 . 1.5)
75   \override TextScript #'Y-extent = #'(-1.5 . 1.5)
76   \music
77 }
78