]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/aligning-marks-with-various-notation-objects.ly
LSR: Update.
[lilypond.git] / input / lsr / 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.12.3"
4
5 \header {
6   lsrtags = "text"
7
8   texidoces = "
9 Si están especificadas, las marcas de texto se pueden alinear con
10 objetos de notación distintos a las líneas divisorias.  Entre estos
11 objetos se encuentran @code{ambitus}, @code{breathing-sign},
12 @code{clef}, @code{custos}, @code{staff-bar}, @code{left-edge},
13 @code{key-cancellation}, @code{key-signature} y @code{time-signature}.
14
15 En estos casos, las marcas de texto se centran horizontalmente sobre
16 el objeto, aunque esto se puede cambiar, como se muestra en la segunda
17 línea de este ejemplo (en una partitura con varios pentagramas, se
18 debe hacer este ajuste para todos los pentagramas).
19
20 "
21   doctitlees = "Alinear marcas con varios objetos de notación"
22
23   texidoc = "
24 If specified, text marks may be aligned with notation objects other
25 than bar lines.  These objects include @code{ambitus},
26 @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar},
27 @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and
28 @code{time-signature}.
29
30
31
32 In such cases, text marks will be horizontally centered above the
33 object. However this can be changed, as demonstrated on the second line
34 of this example (in a score with multiple staves, this setting should
35 be done for all the staves).
36
37
38
39 "
40   doctitle = "Aligning marks with various notation objects"
41 } % begin verbatim
42
43 \relative c' {
44   e1
45   
46   % the RehearsalMark will be centered above the Clef
47   \override Score.RehearsalMark #'break-align-symbols = #'(clef)
48   \key a \major
49   \clef treble
50   \mark "↓"
51   e1
52   
53   % the RehearsalMark will be centered above the TimeSignature
54   \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
55   \key a \major
56   \clef treble
57   \time 3/4
58   \mark "↓"
59   e2.
60   
61   % the RehearsalMark will be centered above the KeySignature
62   \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
63   \key a \major
64   \clef treble
65   \time 4/4
66   \mark "↓"
67   e1
68
69   \break
70   e1
71   
72   % the RehearsalMark will be aligned with the left edge of the KeySignature
73   \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
74   \mark "↓"
75   \key a \major
76   e1
77   
78   % the RehearsalMark will be aligned with the right edge of the KeySignature
79   \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
80   \key a \major
81   \mark "↓"
82   e1
83   
84   % the RehearsalMark will be aligned with the left edge of the KeySignature
85   % and then shifted right by one unit.
86   \once \override Score.KeySignature #'break-align-anchor = #1
87   \key a \major
88   \mark "↓"
89   e1
90 }