[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom TimeSignature doesn't scale correctly
From: |
Karol Majewski |
Subject: |
Re: Custom TimeSignature doesn't scale correctly |
Date: |
Thu, 16 Jul 2015 21:16:11 +0200 |
Paul, I,ve came up with this, but it doesn't help. Is setting baseline-skip to
0 only way?
%%%% BEGIN %%%%
#(define
(customTimeSignature grob)
(let*
((sz
(ly:grob-property grob 'font-size 0.0))
(mult (magstep sz))
(fraction
(ly:grob-property grob 'fraction))
(num
(car fraction))
(denom
(cdr fraction)))
(grob-interpret-markup grob #{
\markup {
\translate #'(0 . 0.03) \override #'(font-name . "Times") \fontsize
#2.5 \override #'(baseline-skip . 2) \center-column {
\line {
#(number->string num)
}
\line {
#(number->string denom)
}
}
}
#})))
%%%% END %%%%
- Custom TimeSignature doesn't scale correctly, Karol Majewski, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, Paul Morris, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, tisimst, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, Paul Morris, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly,
Karol Majewski <=
- Re: Custom TimeSignature doesn't scale correctly, Paul Morris, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, tisimst, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, Karol Majewski, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, tisimst, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, Karol Majewski, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, tisimst, 2015/07/16
- Re: Custom TimeSignature doesn't scale correctly, Karol Majewski, 2015/07/16
Odp: Custom TimeSignature doesn't scale correctly, Karol Majewski, 2015/07/16
Odp: Custom TimeSignature doesn't scale correctly, Karol Majewski, 2015/07/16