lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Time signature of 4/3 over 2?


From: Trevor Bača
Subject: Time signature of 4/3 over 2?
Date: Mon, 27 Aug 2007 21:18:45 -0500

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?



-- 
Trevor Bača
address@hidden

Attachment: fraction-time-signature.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]