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