lilypond-user
[Top][All Lists]
Advanced

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

LSR 782 Time signature with alternate in parantheses


From: Dave Higgins
Subject: LSR 782 Time signature with alternate in parantheses
Date: Thu, 9 Jan 2020 19:30:04 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

I discovered in using the time signature with alternate in parantheses that if a 2-digit number is used, the column is not centered.

Adding center to the column directive resolves this.

#(define ((time-parenthesized-time up down upp downp) grob)
   (grob-interpret-markup grob
     (markup #:override '(baseline-skip . 0) #:number
(#:line (
           (#:center-column (up down))
           #:vcenter "("
           (#:center-column (upp downp))
           #:vcenter ")" )))))

--
Dave Higgins
--
Any philosophy that can be put "in a nutshell" belongs there.
                -- Sydney J. Harris

Attachment: dave_higgins.vcf
Description: Vcard


reply via email to

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