]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-marks-with-various-notation-objects.ly
Doc: run makelsr locally
[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: 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
87 \relative c' {
88   e1
89
90   % the RehearsalMark will be centered above the Clef
91   \override Score.RehearsalMark #'break-align-symbols = #'(clef)
92   \key a \major
93   \clef treble
94   \mark "↓"
95   e1
96
97   % the RehearsalMark will be centered above the TimeSignature
98   \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
99   \key a \major
100   \clef treble
101   \time 3/4
102   \mark \markup { \char ##x2193 }
103   e2.
104
105   % the RehearsalMark will be centered above the KeySignature
106   \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
107   \key a \major
108   \clef treble
109   \time 4/4
110   \mark \markup { \char ##x2193 }
111   e1
112
113   \break
114   e1
115
116   % the RehearsalMark will be aligned with the left edge of the KeySignature
117   \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
118   \mark \markup { \char ##x2193 }
119   \key a \major
120   e1
121
122   % the RehearsalMark will be aligned with the right edge of the KeySignature
123   \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
124   \key a \major
125   \mark \markup { \char ##x2193 }
126   e1
127
128   % the RehearsalMark will be aligned with the left edge of the KeySignature
129   % and then shifted right by one unit.
130   \once \override Score.KeySignature #'break-align-anchor = #1
131   \key a \major
132   \mark \markup { \char ##x2193 }
133   e1
134 }