From 6f4c53e7042454df192b77cab103217e71dfe3b6 Mon Sep 17 00:00:00 2001 From: Trevor Daniels Date: Sat, 20 Dec 2008 10:30:27 +0000 Subject: [PATCH] Docs: NR 5.5.1 Aligning objects: break-align-symbols - show list form --- Documentation/user/changing-defaults.itely | 44 ++++++++++++++++++---- 1 file changed, 36 insertions(+), 8 deletions(-) diff --git a/Documentation/user/changing-defaults.itely b/Documentation/user/changing-defaults.itely index 05ac1fcda3..9962c220d0 100644 --- a/Documentation/user/changing-defaults.itely +++ b/Documentation/user/changing-defaults.itely @@ -2761,7 +2761,7 @@ marks on such objects. * Setting @code{X-offset} and @code{Y-offset} directly:: * Using the @code{side-position-interface}:: * Using the @code{self-alignment-interface}:: -* Using the @code{break-aligned-interface}:: +* Using the @code{break-alignable-interface}:: @end menu @node Setting @code{X-offset} and @code{Y-offset} directly @@ -2928,17 +2928,20 @@ example shows the difference: @c TODO The align-interface, BassFigureAlignment and VerticalAlignment -@node Using the @code{break-aligned-interface} -@unnumberedsubsubsec Using the @code{break-aligned-interface} +@node Using the @code{break-alignable-interface} +@unnumberedsubsubsec Using the @code{break-alignable-interface} -Rehearsal marks may be aligned with notation objects other -than bar lines. These objects include @code{ambitus}, +@cindex align to objects +@cindex break-align-symbols + +Rehearsal marks and bar numbers may be aligned with notation +objects other than bar lines. These objects include @code{ambitus}, @code{breathing-sign}, @code{clef}, @code{custos}, @code{staff-bar}, @code{left-edge}, @code{key-cancellation}, @code{key-signature}, and @code{time-signature}. -By default, rehearsal marks will be horizontally centered above the -object: +By default, rehearsal marks and bar numbers will be horizontally +centered above the object: @lilypond[verbatim,quote,relative=1] e1 @@ -2957,6 +2960,32 @@ e e2. @end lilypond +A list of possible target alignment objects may be specified. If +some of the objects are invisible at that point due to the setting +of @code{break-visibility} or the explicit visibility settings for +keys and clefs, the rehearsal mark or bar number is aligned to the +first object in the list which is visible. If no objects in the +list are visible the object is aligned to the bar line. If the bar +line is invisible the object is aligned to the place where the bar +line would be. + +@lilypond[verbatim,quote,relative=1] +e1 +% the RehearsalMark will be centered above the Key Signature +\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef) +\key a \major +\clef treble +\mark "↓" +e +% the RehearsalMark will be centered above the Clef +\set Staff.explicitKeySignatureVisibility = #all-invisible +\override Score.RehearsalMark #'break-align-symbols = #'(key-signature clef) +\key a \minor +\clef bass +\mark "↓" +e, +@end lilypond + The alignment of the rehearsal mark relative to the notation object can be changed, as shown in the following example. In a score with multiple staves, this setting should be done for all the staves. @@ -3001,7 +3030,6 @@ e @end lilypond - @node Vertical grouping of grobs @subsection Vertical grouping of grobs -- 2.39.5