Le 12/06/2022 à 19:11, Werner LEMBERG a écrit :
This sounds like it might be related to my [long-standing] concerns
about leading, etc., in markups: there either isn’t a convenient
mechanism to deal with texts/markups *from their baseline [and not
their reference point]*, or the convenient mechanism exists and
isn’t sufficiently well exposed/documented/promoted.
It looks superficially similar, but I think it is a completely
different mechanism behind the scenes.  AFAICS, the vertical spacing
of vertically stacked figured bass elements uses a special routine
`ly:align-interface::align-to-minimum-distances` in grob
`BassFigureAlignment`.  In the source code (function
`Align_interface::internal_get_minimum_translations` in file
`align-interface.cc`) I see that the function also listens to
`basic-distance` (probably from `VerticalAxisGroup`), but I wasn't
able to trigger it – most probably, this code part is not specific to
figured bass.



I think this should do (I can elaborate when I have more time):

\version "2.22.2"

\figures {
  \override BassFigureLine.staff-staff-spacing = #'((basic-distance . 0)
(minimum-distance . 1.6)
                                                    (padding . -inf.0)
(stretchability . 0))
  < f I \markup r >
}

Cheers,
Jean


Reply via email to