]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/aligning-marks-with-various-notation-objects.ly
Docs: reorganize documentation directory structure
[lilypond.git] / Documentation / snippets / aligning-marks-with-various-notation-objects.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.13.1"
4
5 \header {
6   lsrtags = "text"
7
8 %% Translation of GIT committish: 00e3a8264e138ad61b4f115a173190d5e9dc7533
9   texidoces = "
10 Si están especificadas, las marcas de texto se pueden alinear con
11 objetos de notación distintos a las líneas divisorias.  Entre estos
12 objetos se encuentran @code{ambitus}, @code{breathing-sign},
13 @code{clef}, @code{custos}, @code{staff-bar}, @code{left-edge},
14 @code{key-cancellation}, @code{key-signature} y @code{time-signature}.
15
16 En estos casos, las marcas de texto se centran horizontalmente sobre
17 el objeto, aunque esto se puede cambiar, como se muestra en la segunda
18 línea de este ejemplo (en una partitura con varios pentagramas, se
19 debe hacer este ajuste para todos los pentagramas).
20
21 "
22   doctitlees = "Alinear marcas con varios objetos de notación"
23
24 %% Translation of GIT committish: 0364058d18eb91836302a567c18289209d6e9706
25   texidocde = "
26 Wenn angegeben, können Textzeichen auch an anderen Objekten als Taktstrichen
27 ausgerichtet werden.  Zu diesen Objekten gehören @code{ambitus},
28 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
29 @code{left-edge}, @code{key-cancellation}, @code{key-signature} und
30 @code{time-signature}.
31
32 In diesem Fall werden die Zeichen horizontal über dem Objekt zentriert.
33 Diese Ausrichtung kann auch geändert werden, wie die zweite Zeile
34 des Beispiels zeigt.  In einer Partitur mit vielen Systemen sollte
35 diese Einstellung für alle Systeme gemacht werden.
36
37 "
38
39   doctitlede = "Zeichen an verschiedenen Notationsobjekten ausrichten"
40
41   texidoc = "
42 If specified, text marks may be aligned with notation objects other
43 than bar lines.  These objects include @code{ambitus},
44 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
45 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
46 @code{time-signature}.
47
48
49
50 In such cases, text marks will be horizontally centered above the
51 object. However this can be changed, as demonstrated on the second line
52 of this example (in a score with multiple staves, this setting should
53 be done for all the staves).
54
55
56
57 "
58   doctitle = "Aligning marks with various notation objects"
59 } % begin verbatim
60
61 \relative c' {
62   e1
63   
64   % the RehearsalMark will be centered above the Clef
65   \override Score.RehearsalMark #'break-align-symbols = #'(clef)
66   \key a \major
67   \clef treble
68   \mark "↓"
69   e1
70   
71   % the RehearsalMark will be centered above the TimeSignature
72   \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
73   \key a \major
74   \clef treble
75   \time 3/4
76   \mark "↓"
77   e2.
78   
79   % the RehearsalMark will be centered above the KeySignature
80   \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
81   \key a \major
82   \clef treble
83   \time 4/4
84   \mark "↓"
85   e1
86
87   \break
88   e1
89   
90   % the RehearsalMark will be aligned with the left edge of the KeySignature
91   \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
92   \mark "↓"
93   \key a \major
94   e1
95   
96   % the RehearsalMark will be aligned with the right edge of the KeySignature
97   \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
98   \key a \major
99   \mark "↓"
100   e1
101   
102   % the RehearsalMark will be aligned with the left edge of the KeySignature
103   % and then shifted right by one unit.
104   \once \override Score.KeySignature #'break-align-anchor = #1
105   \key a \major
106   \mark "↓"
107   e1
108 }