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