]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-marks-with-various-notation-objects.ly
Change stringTunings from list of semitones to list of pitches
[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.39"
5
6 \header {
7   lsrtags = "text"
8
9 %% Translation of GIT committish: a874fda3641c9e02f61be5c41b215b8304b8ed00
10   texidoces = "
11 Si están especificadas, las marcas de texto se pueden alinear con
12 objetos de notación distintos a las líneas divisorias.  Entre estos
13 objetos se encuentran @code{ambitus}, @code{breathing-sign},
14 @code{clef}, @code{custos}, @code{staff-bar}, @code{left-edge},
15 @code{key-cancellation}, @code{key-signature} y @code{time-signature}.
16
17 En estos casos, las marcas de texto se centran horizontalmente sobre
18 el objeto, aunque esto se puede cambiar, como se muestra en la segunda
19 línea de este ejemplo (en una partitura con varios pentagramas, se
20 debe hacer este ajuste para todos los pentagramas).
21
22 "
23   doctitlees = "Alinear marcas con varios objetos de notación"
24
25
26 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
27   texidocde = "
28 Wenn angegeben, können Textzeichen auch an anderen Objekten als Taktstrichen
29 ausgerichtet werden.  Zu diesen Objekten gehören @code{ambitus},
30 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
31 @code{left-edge}, @code{key-cancellation}, @code{key-signature} und
32 @code{time-signature}.
33
34 In diesem Fall werden die Zeichen horizontal über dem Objekt zentriert.
35 Diese Ausrichtung kann auch geändert werden, wie die zweite Zeile
36 des Beispiels zeigt.  In einer Partitur mit vielen Systemen sollte
37 diese Einstellung für alle Systeme gemacht werden.
38
39 "
40
41   doctitlede = "Zeichen an verschiedenen Notationsobjekten ausrichten"
42
43 %% Translation of GIT committish: 548ef200973bd3d46ea75c5498461d9e5f168334
44   texidocfr = "
45 Les indications textuelles peuvent s'aligner par rapport à d'autres
46 objets que des barres de mesure, tels que @code{ambitus},
47 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
48 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, ou
49 @code{time-signature}.
50
51
52
53 Par défaut, les indications textuelles sont alignées avec le milieu
54 des objets de notation. Bien entendu, vous pouvez modifier les
55 propriétés des objets en question pour obtenir un autre
56 résultat comme l'illustre la deuxième ligne de l'exemple.  Dans le cas
57 de portées multiples, ces réglages doivent être faits pour chacune
58 d'entre elles.
59
60
61
62 "
63   doctitlefr = "Alignement des indications par rapport à divers objets
64 de notation"
65
66
67   texidoc = "
68 If specified, text marks may be aligned with notation objects other
69 than bar lines.  These objects include @code{ambitus},
70 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
71 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
72 @code{time-signature}.
73
74
75
76 In such cases, text marks will be horizontally centered above the
77 object. However this can be changed, as demonstrated on the second line
78 of this example (in a score with multiple staves, this setting should
79 be done for all the staves).
80
81
82
83 "
84   doctitle = "Aligning marks with various notation objects"
85 } % begin verbatim
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 }