lilypond-user
[Top][All Lists]
Advanced

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

Re: Time signature in French baroque music


From: Mats Bengtsson
Subject: Re: Time signature in French baroque music
Date: Wed, 03 Jan 2007 10:33:35 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20061206)

Regarding the original question, the simple answer, which has already been
given, is to use
\override Staff.TimeSignature #'style = #'single-digit

Regarding Gilles' problems with compound time signatures, I would recommend
to use the example in Sect. "8.4.1 Polymetric notation" as a starting point.
Then, you could end up with something like:

\version "2.8.7"

#(define (compound-time-2 one two three four)
 (markup #:override '(baseline-skip . 2) #:number
  (#:line ((#:column (one two)) #:lower 1 "+" (#:column (three four))))))



theMusic = \relative c'' {
 \time 3/4
 \override Staff.TimeSignature #'stencil = #ly:text-interface::print
\override Staff.TimeSignature #'text = #(compound-time-2 "1" "2" "3" "4" )
 a4 b g | f4 g2 |
}

\score {
   \theMusic
   \layout {}
}


  /Mats

For my own problem, can someone help me out?  [I wonder why there
is still no easy way to create those time signatures.]
This is what I tried:

%---BEGIN---
#(define (compound-time-2 grob one two three four)
  (let* ((layout (ly:grob-layout grob))
         (text (interpret-markup
                layout
                (ly:grob-alist-chain grob (ly:output-def-lookup layout 
'text-font-defaults))
                (markup
                 #:line
                 (#:column (#:number one #:number two)
                  #:hspace -1 #:lower 0.5 "+"
                  #:column (#:number three #:number four))))))
   text))
%---END---

Thanks and best regards (and Happy New Year),
Gilles





reply via email to

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