lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: stacking of figured bass elements


From: Jean Abou Samra
Subject: Re: stacking of figured bass elements
Date: Sun, 12 Jun 2022 20:37:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

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

[Prev in Thread] Current Thread [Next in Thread]