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