]> 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 8ac5ed2fbfe5426a1273cc1d86de2484a9a91478..5d445a1b521d986855e44bdca55aaa8936e048be 100644 (file)
@@ -1,25 +1,44 @@
+\version "2.16.0"
+
 \header {
-texidoc = "Test figured bass.
-
-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+>}.
-" }
-
-\score { \notes  <
- \context FiguredBass {
-   \figures {
-       <_! 3+ 5- _ 7! 9 >4
-       < [4 6] >
-   }
- }
-
- \context Voice {
-   c 4
-   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]>
+    
+  }
+>>
+
+