]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/figured-bass.ly
Merge branch 'stable/2.16' into staging
[lilypond.git] / input / regression / figured-bass.ly
index f5cca0c3ffa0dd55ac5884a04f2b8b4a3cce1fc7..5d445a1b521d986855e44bdca55aaa8936e048be 100644 (file)
@@ -1,37 +1,44 @@
-\version "2.1.36"
+\version "2.16.0"
+
 \header {
-texidoc = "
-Figured bass is created by the FiguredBass context which eats
-figured bass requests and  rest-requests.  You must enter these using
-the special @code{\figures @{ @}} mode, which allows you to type
-numbers, like @code{<4 6+>}.
-
-You can also type letters by entering quoted strings.
-" }
-
-\score { \notes  <<
- \context FiguredBass {
-   \figures { 
-       <3 [5 7]>
-\once \override FiguredBass.BassFigure  #'direction = #-1
-       <3 [5 7]>
-       <3 [5] 7 [9 11]>
-       <3+ 5- 7!>
-       <3 _! 5 _- 7>
-       <3 _ 5 _ 7>
-\override FiguredBass.BassFigure  #'font-family = #'roman
-       <"V7" ["bla" 6] 7>
-    }
- }
-
- \context Voice { \clef bass
-   c 4
-   c c c c c 
-   g8
+
+
+  texidoc = " Figured bass is created by the FiguredBass context which
+responds to figured bass events and rest events.  You must enter these
+using the special @code{\\figuremode @{ @}} mode, which allows you to
+type numbers, like @code{<4 6+>} and add slashes, backslashes and pluses.
+
+You can also enter markup strings. The vertical alignment may also be tuned.
+
+"
+
+}
+
+
+\paper { ragged-right = ##t }
+
+
+<<
+  \context Voice {
+    \clef bass
+    c 4
+    c c c c c 
+    g8
+  }
+  \figures { 
+    <3 [5 7]>
+    <3\+ [5/] 7/ [9 11]>
+    <3+ 5- 7!>
+    <3 _! 5 _- 7>
+    <3 _ 5 _ 7>
+    <3 6/ >
+    <3 6\\ >
+    <"V7" ["bla" 6] \markup{ \musicglyph #"rests.2"} >
+
+    \once \override BassFigureAlignment #'stacking-dir = #UP
+    <3 [5 7]>
+    
   }
 >>
-       \paper  { raggedright = ##t }  
- }