lilypond-user
[Top][All Lists]
Advanced

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

Re: double time signature + double style


From: Éditions IN NOMINE
Subject: Re: double time signature + double style
Date: Mon, 25 Oct 2010 11:33:59 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.11) Gecko/20101007 Lightning/1.0b2 Thunderbird/3.1.5

And thanks to Valentin too ! ;-)

JMarc

Le 25/10/2010 10:54, Éditions IN NOMINE a écrit :
Hi all !
Thanks to Kieren, I've managed to set a double time signature. Here's the trick :

\version "2.13.29"
*deuxTimeSignature =
%% Define a function to display custom time signatures
#(define ((custom-time-signature a b) grob)
   (grob-interpret-markup grob
           (markup #:override '(baseline-skip . 2.5) #:number
(#:line ((markup (#:fontsize 4 #:musicglyph "timesig.mensural64"))
                                     (#:fontsize -1 #:column (a b)))))))*
musique = \relative c' {
\override Score.TimeSignature #'stencil =
    #(custom-time-signature  "3" "2")
\time 6/4
\override NoteHead #'duration-log = #1    %(white noteheads)
c4 c d e1*1/2 d4 c e d c1.*1/2 \bar "|."
}
\score { \musique }

Thanks again !

JMarc


Le 22/10/2010 21:08, Kieren MacMillan a écrit :
Hi JMarc,

Many thanks to those who are going to find THE trick !
Override the TimeSignature #'stencil to include both in one TimeSignature grob 
-- for a hint, see:
<http://lists.gnu.org/archive/html/lilypond-user/2010-08/msg00331.html>

Hope this helps!
Kieren.


_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user



reply via email to

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