I asked a similar question a while back and  this is the answer I received:


On Thu, Feb 1, 2024 at 10:50 AM Raphael Mankin <r...@mankin.org.uk> wrote:

    I have music with alternate bars in 3/4 and 6/8. The usual way to
    indicate this is to  put both  time signatures at the start, but  I can
    find  no way to do this.

    I have tried "\time 3/4 <> \time 6/8", but I only get the last one.

    Note, this  is not a compound time of 3/4+6/8, but alternating time
    signatures.


I think this is what you are looking for. I'm not sure where I found the code so I can't give credit to its author:

%%%
#(define ((time-alternate-time upa downa upb downb) grob)
   (grob-interpret-markup grob
     (markup #:override '(baseline-skip . 0) #:number
       (#:line (
           (#:center-column (upa downa))
           (#:center-column (upb downb)))))))

% and use it like this (5/8, 4/8 in this case):

  \override Score.TimeSignature.stencil =
    #(time-alternate-time "5" "8" "4" "8")

%%%


--
Knute Snortum




On 31/05/2024 16:42, Federico Sarudiansky wrote:
Hello,

I'm typesetting a work and really want to preserve its notational idiosyncrasies. One of them is an alternating way of using time signatures. The attached MWEish does exactly what I want. The question, for me, is if this could be done in a simpler way (just for learning!).

image.png
Thanks in advance!
F.


--
https://saturday-october-seven.com/

Reply via email to