]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-marks-with-various-notation-objects.ly
LSR updates from tarball
[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.2"
8
9 \header {
10   lsrtags = "text"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
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: f5cfaf8ef4ac347702f554af0944ef0d8396e73a
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 Par défaut, les indications textuelles sont alignées sur le milieu
55 des objets de notation.  Bien entendu, vous pouvez modifier les
56 propriétés des objets en question pour obtenir un autre résultat comme
57 l'illustre la deuxième ligne de l'exemple.  Dans le cas de portées
58 multiples, ces réglages doivent être faits pour chacune d'entre elles.
59
60 "
61   doctitlefr = "Alignement des indications par rapport à divers objets de notation"
62
63
64   texidoc = "
65 If specified, text marks may be aligned with notation objects other
66 than bar lines.  These objects include @code{ambitus},
67 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
68 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
69 @code{time-signature}.
70
71
72
73 In such cases, text marks will be horizontally centered above the
74 object. However this can be changed, as demonstrated on the second line
75 of this example (in a score with multiple staves, this setting should
76 be done for all the staves).
77
78
79
80 "
81   doctitle = "Aligning marks with various notation objects"
82 } % begin verbatim
83
84 \relative c' {
85   e1
86
87   % the RehearsalMark will be centered above the Clef
88   \override Score.RehearsalMark #'break-align-symbols = #'(clef)
89   \key a \major
90   \clef treble
91   \mark \markup { \char ##x2193 }
92   e1
93
94   % the RehearsalMark will be centered above the TimeSignature
95   \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
96   \key a \major
97   \clef treble
98   \time 3/4
99   \mark \markup { \char ##x2193 }
100   e2.
101
102   % the RehearsalMark will be centered above the KeySignature
103   \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
104   \key a \major
105   \clef treble
106   \time 4/4
107   \mark \markup { \char ##x2193 }
108   e1
109
110   \break
111   e1
112
113   % the RehearsalMark will be aligned with the left edge of the KeySignature
114   \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
115   \mark \markup { \char ##x2193 }
116   \key a \major
117   e1
118
119   % the RehearsalMark will be aligned with the right edge of the KeySignature
120   \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
121   \key a \major
122   \mark \markup { \char ##x2193 }
123   e1
124
125   % the RehearsalMark will be aligned with the left edge of the KeySignature
126   % and then shifted right by one unit.
127   \once \override Score.KeySignature #'break-align-anchor = #1
128   \key a \major
129   \mark \markup { \char ##x2193 }
130   e1
131 }