Alex,

On Sat, May 23, 2015 at 6:08 PM, Alex Jones <akjonesjeff...@gmail.com>
wrote:

> This worked like a charm, thanks to everyone!
>
>
Great!

Thought of something.  Why specify the numbers of the time signature in
effect?  Not that it saves much time, but you could do this for a slightly
shorter input:

 #(define ((time-parenthesized-time up down) grob)
   (ly:stencil-combine-at-edge
    (ly:time-signature::print grob)
    X RIGHT
    (parenthesize-stencil
     (grob-interpret-markup grob
       (markup #:override '(baseline-skip . 0) #:number #:column (up down)))
     0.1 0.7 0.7 0.1) ; these numbers affect the parentheses
    0.0 ; padding between columns
    ))

\relative c' {
  \override Staff.TimeSignature.stencil = #(time-parenthesized-time "6"
"8")
  \time 3/4
  b8 b8 gis8 gis4 gis8
}


%%

David
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to