lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

parenthesize compound time sig


From: David Bobroff
Subject: parenthesize compound time sig
Date: Tue, 28 Aug 2012 07:41:24 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0

I thought I had the solution already in a file but I can't find it.   I
have a compound time signature defined and I would like to enclose the
whole thing in ().   I found the snippet for enclosing a standard time
signature but I couldn't work out how to adapt it.


#(define ((compound-time one two three four) grob)
   (grob-interpret-markup grob
                          (markup #:override '(baseline-skip . 0) #:number
                                  (#:line ((#:column (one two))
                                           #:vcenter ""
                                           (#:column (three four)))))))

\score{
    \override Staff.TimeSignature  #'stencil = #(compound-time "9" "8"
"3" "4")
}

Help?

-David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]