lilypond-user
[Top][All Lists]
Advanced

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

Re: Time signature of 4/3 over 2?


From: Mats Bengtsson
Subject: Re: Time signature of 4/3 over 2?
Date: Tue, 28 Aug 2007 09:16:16 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

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?






reply via email to

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