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