lilypond-user
[Top][All Lists]
Advanced

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

Re: ancient custom time signature


From: Jean Brefort
Subject: Re: ancient custom time signature
Date: Tue, 21 Feb 2017 13:00:21 +0100

Le mardi 21 février 2017 à 12:29 +0100, address@hidden a écrit :
> I have a piece with the following time sigs:
>  alla breve
>  timesig.mensural34 followed by a 3.
>  alla breve
> 
> How do I typeset the timesig.mensural34 followed by a 3 where
> it should be ?
> 
> ///
> 
> I try to typeset [1], on page 6 (101 in the original), there is this
> mensuration (time sig.):
>  "tempus perfectum dimunitio et proportio tripla"
> i.e. a timesig.mensural34 followed by a 3.
> 
> With the help of [2], I have made:
> 
> #(define ((proportioD glyph a b) grob)
>    (grob-interpret-markup grob
>           (markup #:override '(baseline-skip . 2.5) #:number
>                   (#:line ((markup (#:fontsize 4 #:musicglyph glyph))
>                            (#:fontsize -1 #:column (a b)))))))
> 
> #(define ((proportioS glyph a) grob)
>   (grob-interpret-markup grob
>    (markup #:override '(baseline-skip . 2.5) #:number
>     (#:line ((markup (#:fontsize 1 #:musicglyph glyph)) #:vcenter
> (#:fontsize -1 a)) ))))
> 
> ///
> 
> With
>   \override Score.TimeSignature.stencil =
> #(proportioS  "timesig.mensural34" "3")
> I basically get what I want, but there are two problems:
> 
> 1, the timesig is 25% bigger with this function
> 
> 2, the timesig doesn't appear where I want it, it happens at the
> "next" 
>    time sig change (where there should be an alla breve instead),
>    not at "this" (\once doesn't help).
> 
> My code is at [3], the current result is at [4].
> 
> Any help would be appreciated.
> 
> Regards,
> /Karl Hammar
> 
You might use something like:
  \override Staff.TimeSignature #'stencil = #ly:text-interface::print
  \override Staff.TimeSignature #'text = \markup {\musicglyph 
#"timesig.mensural34" \lower #0.9 \bold \large "3"}

Hope this helps,
Jean



reply via email to

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