]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/adding-a-figured-bass-above-or-below-the-notes.ly
Merge branch 'master' of git://git.sv.gnu.org/lilypond
[lilypond.git] / input / lsr / adding-a-figured-bass-above-or-below-the-notes.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 %% Tags: chords, ancient-notation, contexts-and-engravers
4 \version "2.11.35"
5
6 \header { texidoc = "
7 When writing a figured bass, here's a way to specify if you want your
8 figures to be placed above or below the bass notes, by defining the
9 BassFigureAlignmentPositioning #'direction property (exclusively in a
10 Staff context). Choices are #UP (or #1), #CENTER (or #0) and #DOWN (or
11 #-1).
12
13 As you can see here, this property can be changed as many times as you
14 wish. Use \\once \\override if you dont want the tweak to apply to the
15 whole score.
16 " }
17 % begin verbatim
18 bass = { \clef bass g4 b, c d e d8 c d2}
19 continuo = \figuremode {
20          < _ >4 < 6 >8   
21    \once \override Staff.BassFigureAlignmentPositioning #'direction = #CENTER
22          <5/>  < _ >4 
23    \override Staff.BassFigureAlignmentPositioning #'direction = #UP
24          < _+ > < 6 >
25    \set Staff.useBassFigureExtenders = ##t
26    \override Staff.BassFigureAlignmentPositioning #'direction = #DOWN
27          < 4 >4. < 4 >8 < _+ >4
28        } 
29 \score {
30     << \new Staff = bassStaff \bass 
31     \context Staff = bassStaff \continuo >>
32 }
33