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
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

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

Reply via email to