| [ << Conceptos y propiedades útiles ] | [Top][Contents][Index] | [ Instrucciones de marcado >> ] |
[ < Uso del self-alignment-interface ] | [ Up: Alineación de objetos ] | [ Modificación de los sellos > ] |
36.9.4 Uso del break-alignable-interface
Las llamadas de ensayo y de texto, los números de compás, y de
forma más general todos los objetos con la interfaz
break-alignable-interface, a los cuales nos referimos
colectivamente como “objetos alineables en el salto de línea”,
se pueden alinear con objetos de notación tales como líneas
divisorias, armaduras de tonalidad, indicaciones de compás y de
forma general con cualquier objeto que tenga la interfaz
break-aligned-interface. Para ser más exactos, los
elementos break-aligned (alineados con el salto) tienen una
propiedad break-align-symbol, que aporta símbolos que
se pueden usar como ‘puntos de anclaje’ para otros objetos por
medio de la propiedad break-align-symbols. Consulte
break-alignment-interface para ver una lista completa
de los símbolos disponibles.
Cada tipo de objeto tiene su propio punto de referencia predeterminado, con el que se alinean las marcas de ensayo:
\override Score.TextMark.self-alignment-X = #CENTER % The text mark will be aligned % to the right edge of the clef \override Score.TextMark.break-align-symbols = #'(clef) \key a \major \clef treble \textMark "↓" e'1 % The text mark will be aligned % to the left edge of the time signature \override Score.TextMark.break-align-symbols = #'(time-signature) \key a \major \clef treble \time 3/4 \textMark "↓" e'2. % The text mark will be centered % above the breathing mark \override Score.TextMark.break-align-symbols = #'(breathing-sign) \key a \major \clef treble \time 4/4 e'1 \breathe \textEndMark "↓"![]()
Se puede especificar una lista de posibles objetos para la
alineación. Si algunos de los objetos son invisibles en ese punto
debido al valor de break-visibility o a valores de
visibilidad explícitos para las armaduras y las claves, la letra
de ensayo o número de compás se alinean con el primer objeto de la
lista que sea visible. Si ningún objeto de la lista es visible,
el objeto se alinea con la línea divisoria. Si la línea divisoria
es invisible, el objeto se alinea con el punto en el que se
encontraría la línea divisoria.
\override Score.TextMark.self-alignment-X = #CENTER % The text mark will be aligned % to the right edge of the key signature \override Score.TextMark.break-align-symbols = #'(key-signature clef) \key a \major \clef treble \textMark "↓" e'1 % The text mark will be aligned % to the right edge of the clef \set Staff.explicitKeySignatureVisibility = #all-invisible \override Score.TextMark.break-align-symbols = #'(key-signature clef) \key a \major \clef bass \textMark "↓" gis,1 % The text mark will be centered % above the bar line \set Staff.explicitKeySignatureVisibility = #all-invisible \set Staff.explicitClefVisibility = #all-invisible \override Score.TextMark.break-align-symbols = #'(key-signature clef) \key a \major \clef treble \textMark "↓" e'1![]()
La alineación del elemento break-alignable con relación al objeto de notación se puede cambiar, como se ve en el ejemplo siguiente. En una partitura con varios pentagramas, este ajuste se debe hacer para todos los pentagramas.
\override Score.TextMark.self-alignment-X = #CENTER % The text mark will be aligned % with the right edge of the key signature \override Score.TextMark.break-align-symbols = #'(key-signature) \key a \major \clef treble \time 4/4 \textMark "↓" e'1 % The text mark will be centered % above the key signature \once \override Score.KeySignature.break-align-anchor-alignment = #CENTER \textMark "↓" \key a \major e'1 % The text mark will be aligned % with the left edge of the key signature \once \override Score.KeySignature.break-align-anchor-alignment = #LEFT \key a \major \textMark "↓" e'1![]()
El elemento break-alignable también se puede desplazar al borde derecho o izquierdo en una medida arbitraria. Las unidades son espacios de pentagrama:
\override Score.TextMark.self-alignment-X = #CENTER % The text mark will be aligned % with the left edge of the key signature % and then shifted right by 3.5 staff spaces \override Score.TextMark.break-align-symbols = #'(key-signature) \once \override Score.KeySignature.break-align-anchor = 3.5 \key a \major \textMark "↓" e'1 % The text mark will be aligned % with the left edge of the key signature % and then shifted left by 2 staff spaces \once \override Score.KeySignature.break-align-anchor = -2 \key a \major \textMark "↓" e'1![]()
| [ << Conceptos y propiedades útiles ] | [Top][Contents][Index] | [ Instrucciones de marcado >> ] |
[ < Uso del self-alignment-interface ] | [ Up: Alineación de objetos ] | [ Modificación de los sellos > ] |
![[image of music]](../22/lily-aaf95d0d.png)
![[image of music]](../62/lily-4d055367.png)
![[image of music]](../11/lily-fe875f0e.png)
![[image of music]](../1d/lily-b78dc322.png)