From: lilypond-user <lilypond-user-bounces+carl.d.sorensen=gmail....@gnu.org> 
on behalf of Jon Arnold <jonarnoldsem...@gmail.com>
Date: Friday, October 15, 2021 at 1:14 PM
To: Lukas-Fabian Moser <l...@gmx.de>
Cc: lilypond-user <lilypond-user@gnu.org>
Subject: Re: Override start of figured bass continuation line

Here's an example:
\version "2.22.1"

\score {
  \new Staff {
    {
      <<
        {f''8 e'' d'' c'' b'2 |
         f''8 e'' d'' c'' b'2 }
        \new FiguredBass {
          \figuremode {
          \bassFigureExtendersOn
          <[_!]>8 <_!> <_>8 q8 s2 |
          <[_!]>8 <_!> s16 <_> q8
          }
        }
      >>
    }
  }
}

I would like the note-spacing of the first bar combined with the continuation 
line of the second (or maybe something in between). I do not want the note 
spacing of the second measure.

Here’s an approach that’s different from Lukas’s.  It makes the invisible 
figure wider.

\version "2.22.1"

\score {
  \new Staff {
    {
      <<
        {f''8 e'' d'' c'' b'2 |
         f''8 e'' d'' c'' b'2 }
        \new FiguredBass {
          \figuremode {
          \bassFigureExtendersOn
          <[_!]>8 <_!>
          % we tell the spacing engine that the invisible bass figure has some 
extent, so the
          % continuation line is moved to the right.  Numbers are in staff 
spaces
          \once\override FiguredBass.BassFigure.X-extent = #'(0 . 1) <_>8  q8 
s2 |
          <[_!]>8 <_!> s16 <_> q8
          }
        }
      >>
    }
  }
}

HTH,

Carl

Reply via email to