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