%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=14.5\cm,quote,staffsize=18]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)

#(set-global-staff-size 18)

\paper {
  indent = 0\mm
  line-width = 14.5\cm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
  line-width = 14.5\cm - 2.0 * 10.16\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/figured-bass-headword.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Snippet Repository
%% (http://lsr.di.unimi.it).
%%
%% Make any changes in the LSR itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.23.13"

\header {
  lsrtags = "headword"

  texidoc = "
Figured bass headword
"

  doctitle = "Figured bass headword"
} % begin verbatim


% NR 2.7.3 Figured bass

% Arcangelo Corelli, 12 Sonate da Camera, Op. 2
% Sonata II, Allemanda
% measures 1 - 88
% Coded by Neil Puttock; modified by Carl Sorensen

extendOn = \bassFigureExtendersOn
extendOff = \bassFigureExtendersOff

\score {
  \new StaffGroup <<
    \new GrandStaff <<
      \new Staff = "violinoI" \with { instrumentName = "Violino I." }

    {
      \time 4/4
      \tempo Adagio
      \partial 8 r16 a'16 |
      a'8. [ d''16 d''8.  e''16 ] cis''8 a'4 a''16 bes''16 |
      cis''8 d''16 ( e'' ) e''8.  d''16 d''4 r8 d''16 e''16 |
      f''8 f''4 g''16 ( f''16 ) e''8 e''4 f''16 ( e''16 ) |
      d''8.  d''16 g''16 ( f''16 ) e''16 ( d''16 ) cis''8
      cis''4 cis''16 cis''16 |
      d''8 d''8 c''8.  c''16 c''8 ( b'4 ) b'16 b'16 |
      c''8 c''8 bes'8.  bes'16 bes'8 ( a'4 ) a''16 a''16 |
      a''8 g''8 g''8.  g''16 g''8 ( f''8 ) r8 f''8 |
    }

      \new Staff = "violinoII" \with { instrumentName = "Violino II." }

    {
      \time 4/4
      \partial 8 r16 f'16 |
      f'8.  g'16 g'4 a'4 r8 d''16 d''16 |
      e''8 a'8 cis''8.  d''16 d''4 r8 f''16 g''16 |
      a''8 a''8 d''8.  d''16 g'8 g'8 c''8.  c''16 |
      f'8.  f''16 bes''16 ( a''16 ) g''16 ( f''16 ) e''8 e''4 e''16 e''16 |
      a'8 fis''8 g''8 a''8 d''8 d''4 d''16 d''16 |
      g'8 e''8 f''8 g''8 c''8 c''4 cis''16 cis''16 |
      d''8 d''8 e''8.  e''16 e''8 a'8 r8 d''8 |
    }

    >>

    \new Staff = "violone" \with {
      instrumentName = \markup {
        \center-column { Violone, \line { e Cembalo. } }
      }
    }

    {
      \time 4/4
      \clef bass
      \partial 8 r16 d16 |
      d4 bes,4 a,4 f4 |
      g8 f16 g16 a8 a,8 d4 d'4 ~ |
      d'8 c'8 b4 c'8 c'16 bes16 a4 |
      bes8 bes16 a16 g4 a8 a,4 a16 g16 |
      fis8 d8 e8 fis8 g8 g,4 g16 f16 |
      e8 c8 d8 e8 f8 f,4 a,8 |
      b,4 cis4 d4 r8 d'8 |

    }

    \new FiguredBass \figuremode {
      \set figuredBassAlterationDirection = #RIGHT
      \set figuredBassPlusDirection = #RIGHT
      \override BassFigureAlignment.stacking-dir = #DOWN
      s8 |
      s4 <6>4 <_+>4 <6>4 |
      <6 4\+ 2>8 <6>8 <_+> s8 s2 |
      <5>8 <6 4>8 <6 5>4 s4 <5>8 <6>8 |
      s4 <6 5 _-> <_+>2 |
      <6>8 <_+>8 <6>8 <6 5>8 <5 4>8 \extendOn <5 _!>8 \extendOff s4 |
      <6>4 <6->8 <6 5->8 <5 4->8 \extendOn <5 3>4 \extendOff <5 _+>8 |
      <7>8 <6>8 <5>4 <9 4>8 <8 3>8 s4 |
    }
  >>
}



% ****************************************************************
% end ly snippet
% ****************************************************************
