Figured bass in parentheses: Difference between revisions
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series |
mNo edit summary |
||
| Line 1: | Line 1: | ||
Put | Put figured bass in parentheses with a Scheme function. | ||
<lilypond version="2.24"> | <lilypond version="2.24"> | ||
%LSR by Gilles Thibault | % LSR by Gilles Thibault | ||
startParenthesis = | |||
\once \override Parentheses.stencils = #(lambda (grob) | startParenthesis = | ||
\once \override Parentheses.stencils = | |||
#(lambda (grob) | |||
(let ((par-list | |||
(parentheses-interface::calc-parenthesis-stencils grob))) | |||
(list (car par-list) point-stencil))) | |||
endParenthesis = | |||
\once \override Parentheses.stencils = | |||
#(lambda (grob) | |||
(let ((par-list | |||
(parentheses-interface::calc-parenthesis-stencils grob))) | |||
(list point-stencil (cadr par-list)))) | |||
<< | << | ||
| Line 28: | Line 31: | ||
>> | >> | ||
</lilypond> | </lilypond> | ||
[[Category:Ancient notation]] | |||
[[Category:Chords]] | |||
[[Category:Snippet]] | |||