Prevent segfault with arpeggio + no staff-symbol.
[lilypond/mpolesky.git] / input / regression / figured-bass-slashed-numbers.ly
blob0289c3e9a2ca5372bf2d2ec9bdd62fc08e5cf3b4
1 \version "2.12.0"
3 bassfigures = \figuremode {
4 <0/ 1/ 2/> <3/ 4/ 5/> <6/ 7/ 8/> <9/ 10/ 11/> <12/ 13/ 100/>
5 <0\\ 1\\ 2\\> <3\\ 4\\ 5\\> <6\\ 7\\ 8\\> <9\\ 10\\ 11\\> <12\\ 13\\ 100\\>
6 <3\\\+ 6\\/ 7\\+! >
9 <<
10 \new FiguredBass \bassfigures
14 % Override the exceptions:
16 #(define (horizontal-slash-interval-default num forward number-interval mag)
17 (interval-widen number-interval (* mag 0.25)))
19 #(define (adjust-slash-stencil-default num forward stencil mag)
20 stencil)
22 unsetExceptions = #(define-music-function (parser location) ()
23 ; (set! horizontal-slash-interval horizontal-slash-interval-default)
24 ; (set! adjust-slash-stencil adjust-slash-stencil-default)
25 (make-music 'Music 'void #t)
29 \unsetExceptions
30 \new FiguredBass <<\unsetExceptions \bassfigures>>