]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-marks-with-various-notation-objects.ly
48c03a07cfbece458e72b8a268000dbb87d544bb
[lilypond.git] / Documentation / snippets / aligning-marks-with-various-notation-objects.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.16"
5
6 \header {
7   lsrtags = "text"
8
9 %% Translation of GIT committish: 2b0dc29608d6c3f5a03ead4877ae514c647adb74
10   texidoces = "
11 Si están especificadas, las marcas de texto se pueden alinear con
12 objetos de notación distintos a las líneas divisorias.  Entre estos
13 objetos se encuentran @code{ambitus}, @code{breathing-sign},
14 @code{clef}, @code{custos}, @code{staff-bar}, @code{left-edge},
15 @code{key-cancellation}, @code{key-signature} y @code{time-signature}.
16
17 En estos casos, las marcas de texto se centran horizontalmente sobre
18 el objeto, aunque esto se puede cambiar, como se muestra en la segunda
19 línea de este ejemplo (en una partitura con varios pentagramas, se
20 debe hacer este ajuste para todos los pentagramas).
21
22 "
23   doctitlees = "Alinear marcas con varios objetos de notación"
24
25 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
26   texidocde = "
27 Wenn angegeben, können Textzeichen auch an anderen Objekten als Taktstrichen
28 ausgerichtet werden.  Zu diesen Objekten gehören @code{ambitus},
29 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
30 @code{left-edge}, @code{key-cancellation}, @code{key-signature} und
31 @code{time-signature}.
32
33 In diesem Fall werden die Zeichen horizontal über dem Objekt zentriert.
34 Diese Ausrichtung kann auch geändert werden, wie die zweite Zeile
35 des Beispiels zeigt.  In einer Partitur mit vielen Systemen sollte
36 diese Einstellung für alle Systeme gemacht werden.
37
38 "
39
40   doctitlede = "Zeichen an verschiedenen Notationsobjekten ausrichten"
41 %% Translation of GIT committish: 548ef200973bd3d46ea75c5498461d9e5f168334
42   texidocfr = "
43 Les indications textuelles peuvent s'aligner par rapport à d'autres
44 objets que des barres de mesure, tels que @code{ambitus},
45 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
46 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, ou
47 @code{time-signature}.
48
49
50
51 Par défaut, les indications textuelles sont alignées avec le milieu
52 des objets de notation. Bien entendu, vous pouvez modifier les
53 propriétés des objets en question pour obtenir un autre
54 résultat comme l'illustre la deuxième ligne de l'exemple.  Dans le cas
55 de portées multiples, ces réglages doivent être faits pour chacune
56 d'entre elles.
57
58
59
60 "
61   doctitlefr = "Alignement des indications par rapport à divers objets
62 de notation"
63
64
65   texidoc = "
66 If specified, text marks may be aligned with notation objects other
67 than bar lines.  These objects include @code{ambitus},
68 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
69 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
70 @code{time-signature}.
71
72
73
74 In such cases, text marks will be horizontally centered above the
75 object. However this can be changed, as demonstrated on the second line
76 of this example (in a score with multiple staves, this setting should
77 be done for all the staves).
78
79
80
81 "
82   doctitle = "Aligning marks with various notation objects"
83 } % begin verbatim
84
85 \relative c' {
86   e1
87
88   % the RehearsalMark will be centered above the Clef
89   \override Score.RehearsalMark #'break-align-symbols = #'(clef)
90   \key a \major
91   \clef treble
92   \mark "↓"
93   e1
94
95   % the RehearsalMark will be centered above the TimeSignature
96   \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
97   \key a \major
98   \clef treble
99   \time 3/4
100   \mark \markup { \char ##x2193 }
101   e2.
102
103   % the RehearsalMark will be centered above the KeySignature
104   \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
105   \key a \major
106   \clef treble
107   \time 4/4
108   \mark \markup { \char ##x2193 }
109   e1
110
111   \break
112   e1
113
114   % the RehearsalMark will be aligned with the left edge of the KeySignature
115   \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
116   \mark \markup { \char ##x2193 }
117   \key a \major
118   e1
119
120   % the RehearsalMark will be aligned with the right edge of the KeySignature
121   \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
122   \key a \major
123   \mark \markup { \char ##x2193 }
124   e1
125
126   % the RehearsalMark will be aligned with the left edge of the KeySignature
127   % and then shifted right by one unit.
128   \once \override Score.KeySignature #'break-align-anchor = #1
129   \key a \major
130   \mark \markup { \char ##x2193 }
131   e1
132 }