How about
\markup{
\override #'(baseline-skip . 0) \number {
\center-align { \concat { 4 \fontsize #2 \normal-text / 3 } "2" }
}
}
/Mats
Trevor Bača wrote:
Hi,
Anyone know how to set a time signature of 4/3 over 2?
(That's a measure that last 1 complete half note and also another 1/3
of a half note. Measure 3 of l'artisanat furieux in Le marteau.)
Getting the durations right in Lily is easy.
But getting the markup right for a diagonalized 4/3 fraction (in the
numerator) over a 2 (in the denominator) is hard.
So far I've got this:
%%% BEGIN 4/3 over 2 %%%
version "2.11.30"
\new Staff {
\set Score.proportionalNotationDuration = #(ly:make-moment 1 32)
\set tupletFullLength = ##t
\override Score.TimeSignature #'stencil = #ly:text-interface::print
\override Score.TimeSignature #'text = \markup {
\override #'(baseline-skip . 2) \number {
\column { "4/3" "2" }
}
}
\time 4/6
\times 2/3 { c'4 c'4 c'4 }
\times 2/3 { c'4 }
}
\layout { ragged-right = ##t }
%%% END %%%
Can anyone do better and make the "4/3" look like a real fraction with
a true diagonal solidus?
_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user