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