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