--- /dev/null
+\version "2.15.0"
+
+\header {
+ texidoc = "@var{alignment-distances} applies to the toplevel
+VerticalAlignment but not to BassFigureAlignment. The 4 in
+the bass figure line should be directly below the 6."
+}
+
+\score {
+ <<
+ \new Staff {
+ \overrideProperty #"Score.NonMusicalPaperColumn"
+ #'line-break-system-details #'((alignment-distances . (15)))
+ c'4
+ }
+ \new Staff <<
+ { d'4 }
+ \figures { <6 4>4 } >> >>
+ }
{
if (!pure && a == Y_AXIS && dynamic_cast<Spanner*> (me) && !me->get_system ())
me->programming_error ("vertical alignment called before line-breaking");
+
+ // If include_fixed_spacing is true, we look at things like system-system-spacing
+ // and alignment-distances, which only make sense for the toplevel VerticalAlignment.
+ // If we aren't toplevel, we're working on something like BassFigureAlignment
+ // and so we definitely don't want to include alignment-distances!
+ if (!dynamic_cast<System*> (me->get_parent (Y_AXIS)))
+ include_fixed_spacing = false;
Direction stacking_dir = robust_scm2dir (me->get_property ("stacking-dir"),
DOWN);