2012/8/28 David Bobroff <bobr...@centrum.is>: > 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 > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
Hi David, is it this what you want? #(define ((compound-time one two three four) grob) (grob-interpret-markup grob (markup #:override '(baseline-skip . 0) #:parenthesize #:number (#:line ((#:column (one two)) #:vcenter "" (#:column (three four))))))) \relative c'' { \override Staff.TimeSignature #'stencil = #(compound-time "9" "8" "3" "4") c2. } Regards, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user