]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-marks-with-various-notation-objects.ly
LSR: Update.
[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.4"
5
6 \header {
7   lsrtags = "text"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
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: d96023d8792c8af202c7cb8508010c0d3648899d
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   texidoc = "
44 If specified, text marks may be aligned with notation objects other
45 than bar lines.  These objects include @code{ambitus},
46 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
47 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
48 @code{time-signature}.
49
50
51
52 In such cases, text marks will be horizontally centered above the
53 object. However this can be changed, as demonstrated on the second line
54 of this example (in a score with multiple staves, this setting should
55 be done for all the staves).
56
57
58
59 "
60   doctitle = "Aligning marks with various notation objects"
61 } % begin verbatim
62
63 \relative c' {
64   e1
65
66   % the RehearsalMark will be centered above the Clef
67   \override Score.RehearsalMark #'break-align-symbols = #'(clef)
68   \key a \major
69   \clef treble
70   \mark "↓"
71   e1
72
73   % the RehearsalMark will be centered above the TimeSignature
74   \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
75   \key a \major
76   \clef treble
77   \time 3/4
78   \mark "↓"
79   e2.
80
81   % the RehearsalMark will be centered above the KeySignature
82   \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
83   \key a \major
84   \clef treble
85   \time 4/4
86   \mark "↓"
87   e1
88
89   \break
90   e1
91
92   % the RehearsalMark will be aligned with the left edge of the KeySignature
93   \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
94   \mark "↓"
95   \key a \major
96   e1
97
98   % the RehearsalMark will be aligned with the right edge of the KeySignature
99   \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
100   \key a \major
101   \mark "↓"
102   e1
103
104   % the RehearsalMark will be aligned with the left edge of the KeySignature
105   % and then shifted right by one unit.
106   \once \override Score.KeySignature #'break-align-anchor = #1
107   \key a \major
108   \mark "↓"
109   e1
110 }