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