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