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