]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-marks-with-various-notation-objects.ly
Merge branch 'master' into lilypond/translation
[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: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
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: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
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 Par défaut, les indications textuelles sont alignées avec le milieu
56 des objets de notation.  Bien entendu, vous pouvez modifier les
57 propriétés des objets en question pour obtenir un autre
58 résultat comme l'illustre la deuxième ligne de l'exemple.  Dans le cas
59 de portées multiples, ces réglages doivent être faits pour chacune
60 d'entre elles.
61
62 "
63   doctitlefr = "Alignement des indications par rapport à divers objets de notation"
64
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 }