]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/aligning-marks-with-various-notation-objects.ly
6b79863544600b220d7b92896b85cf5b162966fb
[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.11.57"
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 \relative c' {
43   e1
44   
45   % the RehearsalMark will be centered above the Clef
46   \override Score.RehearsalMark #'break-align-symbols = #'(clef)
47   \key a \major
48   \clef treble
49   \mark "↓"
50   e
51   
52   % the RehearsalMark will be centered above the TimeSignature
53   \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
54   \key a \major
55   \clef treble
56   \time 3/4
57   \mark "↓"
58   e2.
59   
60   % the RehearsalMark will be centered above the KeySignature
61   \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
62   \key a \major
63   \clef treble
64   \time 4/4
65   \mark "↓"
66   e1
67
68   \break
69   e
70   
71   % the RehearsalMark will be aligned with the left edge of the KeySignature
72   \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
73   \mark "↓"
74   \key a \major
75   e
76   
77   % the RehearsalMark will be aligned with the right edge of the KeySignature
78   \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
79   \key a \major
80   \mark "↓"
81   e
82   
83   % the RehearsalMark will be aligned with the left edge of the KeySignature
84   % and then shifted right by 1 unit.
85   \once \override Score.KeySignature #'break-align-anchor = #1
86   \key a \major
87   \mark "↓"
88   e1
89 }