lilypond-user
[Top][All Lists]
Advanced

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

Re: Two time signatures?


From: Valentin Villenave
Subject: Re: Two time signatures?
Date: Sat, 19 Jan 2008 01:48:11 +0100

2008/1/19, Alasdair McAndrew <address@hidden>:
> I'm typesetting a piece of music from the 17th century with the double time
> signature of both 6/2 and 3/1.  Is it possible to put two time signatures on
> a staff in LilyPond, and if so, how?

Perhaps something like this:

%%%%%%%%%%

% inspired from http://lsr.dsi.unimi.it/LSR/Item?id=261

#(define (double-time one two three four)
  (markup #:override '(baseline-skip . 0) #:number
   (#:line ((#:column (one two)) #:vcenter "|" (#:column (three four))))))

\relative {
  \time 3/1
  \override Staff.TimeSignature #'stencil = #ly:text-interface::print
  \override Staff.TimeSignature #'text = #(double-time "6" "2" "3" "1" )
  f1 e2 d e f | g1. f2 e1
}

%%%%%%%%%%%

You can replace the "|" character with a space if you prefer.

Hope this helps!

Cheers,
Valentin




reply via email to

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