>It seems that you've missed in your example code that `\figuremode` is
>part of the 'Staff' context...
You're absolutely right, I completely forgot about that! Now it all works
beautifully, thank you so much for this!
If I may ask another question - I noticed that in \figuremode used alone,
the selection of the glyphs seems to be very limited compared to the \new
FiguredBass:
\version "2.24.4"
\new Staff <<
{ \clef "bass" b2~ b4 a g2 d }
\new FiguredBass \figuremode {
\set figuredBassPlusDirection = #RIGHT
<5\+>2 <2\+>4 <6 4> <4\+>2
}
>>
\new Staff <<
{ \clef "bass" b2~ b4 a g2 d }
\figuremode {
\set figuredBassPlusDirection = #RIGHT
<5\+>2 <2\+>4 <6 4> <4\+>2
}
>>
Any idea how to get these glyphs in \figuremode alone? Or, taking it from
another angle - how to use \new FiguredBass and achieve the same behavior
of the figures (following the contour of the bass line) as in
\figuremode alone?
Many thanks for your help!
H.
On Sun, Dec 21, 2025 at 7:17 AM Werner LEMBERG <[email protected]> wrote:
>
> > Yes, it is indeed the same problem, except that I added yet another
> > layer of complication to it - I am NOT using \new FiguredBass, but
> > only \figuremode, because I don't want the figures to be
> > horizontally aligned.
>
> That's not a complication at all.
>
> > But in either case, the figures are not centered over the notes and
> > the workarounds Werner found don't seem to work as intended (with
> > them the figures are too far to the right).
>
> It seems that you've missed in your example code that `\figuremode` is
> part of the 'Staff' context...
>
> If you don't mind to prefix figured bass on full notes with a macro,
> you might try the following simple solution. I can imagine that one
> of our Scheme gurus would be able to get rid of the prefix altogether,
> automatically adding the proper offset for all note heads depending on
> the musical length.
>
>
> Werner
>
>
> ======================================================================
>
>
> \version "2.24.4"
>
> F = \once \override Staff.BassFigure.X-offset = #0.5
>
> \new Staff <<
> {
> \clef "bass" c8 f g b d' d b4 \break
> c'2 c d1 c
> }
> \figuremode {
> <5>8 <6> <7> <6 5> <3 4>8 <6> <6>4
> <5>1 \F <6 4+ 2\+> \F <6>
> }
> >>
>
> \layout {
> indent = 0
> \context {
> \Staff
> \override BassFigure.X-offset = #0.2
> }
> }
>
> \paper {
> line-width = 70\mm
> }
>