Perfect solution. I repeat it for future readers:

Context = \new FiguredBass
First time:
Set in context with:
    \new FiguredBass \with { implicitBassFigures = #'(0) }
Or in score with:
  \set FiguredBass.implicitBassFigures = #'(0)
Next time(s)
    \set implicitBassFigures = #'(0)
Is enough,

And if context = Staff, change every FiguredBass to Staff

Thank you. Eef

Van: Michael Werner <reznae...@gmail.com>
Datum: donderdag, 11 januari 2024 om 12:15
Aan: Eef Weenink <h.e.ween...@de-erve.nl>
CC: lilypond-user@gnu.org <lilypond-user@gnu.org>
Onderwerp: Re: Help need with the "implicitBassFigures" command
Hi there,

On Thu, Jan 11, 2024 at 5:49 AM Eef Weenink 
<h.e.ween...@de-erve.nl<mailto:h.e.ween...@de-erve.nl>> wrote:
    \new FiguredBass \with { implicitBassFigures = #'(0) }
    %{if I set the implicitBass to 5, or other number, it works for the whole 
passage%}
    \figuremode {
      \set figuredBassAlterationDirection = #RIGHT
      \set figuredBassPlusDirection = #RIGHT
      \override BassFigureAlignment.stacking-dir = #DOWN
      <6 5->8 <5 4->8
      \extendOn
      \set Staff.implicitBassFigures = #'(5)
      %{if I set the implicitBass to 5, or other number, it DOES NOT do 
anything%}
      <5 3>4
          \set Staff.implicitBassFigures = #'(0)
      \extendOff <5 _+>8
      <7>8 <6>8 <5>4

You had it almost right here. The one thing you need to change is that the 
implicitBassFigures property is part of the FiguredBass context, not Staff. 
Since there is no implicitBassFigures property in the Staff context that \set 
command will just get silently ignored. So either change the
\set Staff.implicitBassFigures
to
\set FiguredBass.implicitBassFigures
or, since these statements are already in the FiguredBass context, just leave 
the context off and make it just
\set implicitBassFigures
And then you should be good.
--
Michael

Reply via email to