On Apr 29, 2015, at 16:48 , padovani <zepadovani.li...@gmail.com> wrote: > > So... I discovered that the TimeSignature issue is related to the fact that > it is not being written as text to the svg file, but as a path. > > If I use this code I can create a svg file with different fonts for the > time signature, overriding the stencil with a text: ... > It works, but I'm struggling here to change the text of the time signature > automatically with a scheme function.
\version "2.19.16" #(add-simple-time-signature-style 'swiss (lambda (fraction) (let ((n (car fraction)) (d (cdr fraction))) #{ \markup { \override #'(font-name . "Helvetica") \override #'(baseline-skip . 0.2) \fontsize #4 \column { #(number->string n) #(number->string d) } } #} ))) \score { \new Staff \with { \override TimeSignature.style = #'swiss } { \time 2/4 c2 } } — Dan _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user