% the RehearsalMark will be aligned with the right edge of the KeySignature
% and then shifted right by an additional 2 units.
- \once \override Staff.KeySignature #'break-align = #2
+ \once \override Staff.KeySignature #'break-align-anchor = #2
\mark \default
ces1
}
+@end lilypond
Although text marks are normally only printed above the topmost
staff, you may alter this to print them on every staff,
Examples:
Brackets for the repeat are normally only printed over the topmost
-staff. This can be adjusted by setting the @code{voltaOnThisStaff}
-property; see
+staff. This can be adjusted by moving @code{Volta_engraver} to the
+Staff context where you want the brackets to appear;
+see @ref{Modifying context plug-ins} and
@lsr{repeats,volta@/-multi@/-staff@/.ly}.
@lilypond[ragged-right,verbatim]
\new ChordNames \with {
\override BarLine #'bar-size = #4
- voltaOnThisStaff = ##t
\consists Bar_engraver
\consists "Volta_engraver"
}
Translator_group *tg = origin->implementation ();
Engraver *random_source = dynamic_cast<Engraver *> (unsmob_translator (scm_car (tg->get_simple_trans_list ())));
+ if (!random_source)
+ random_source = this;
/*
Make left edge appear to come from same context as clef/bar-line etc.
o += dir * 0.5 * ss;
}
}
- else if (scm_is_number (me->get_property ("staff-padding")))
+ else if (scm_is_number (me->get_property ("staff-padding")) && dir)
{
Interval iv = me->maybe_pure_extent (me, a, pure, start, end);