4 \header { texidoc= "@cindex Time Signature Double
5 Double time signatures are not supported
6 explicitly, but can be faked by overriding formatting routines. "
10 #(define (brew-double-time-sig grob)
11 (define (frac-to-mol font frac)
13 ((d (fontify-text font (number->string (cdr frac))))
14 (n (fontify-text font (number->string (car frac))))
15 (c (ly:molecule-combine-at-edge d Y UP n 0.0)) )
16 (ly:molecule-align-to! c Y CENTER)
22 ((chain (Font_interface::get_property_alist_chain grob))
23 (font (ly:paper-get-font (ly:grob-get-paper grob) chain))
25 (musfont (ly:paper-get-font (ly:grob-get-paper grob) (cons (list '(font-relative-size . 2) '(font-family . music)) chain)))
26 (plus (ly:molecule-translate-axis (ly:find-glyph-by-name musfont "scripts-stopped") 0.1 Y))
28 (m1 (frac-to-mol font f1))
29 (m2 (frac-to-mol font f2)) )
32 (ly:molecule-combine-at-edge
33 (ly:molecule-combine-at-edge m1 X RIGHT plus 0.2)
40 \score { \notes \relative c'
42 \property Staff.TimeSignature \override #'molecule-callback = #brew-double-time-sig
47 \paper{ raggedright = ##t}