Hi lilyponders,
On the score I’m engraving there is repetitively measure of 2 and 3 fourths (like \repeat unfold 10 {\time 2/4 s2 \time 3/4 s2.})
I’d like to have one time signature 2/4+3/4, but with bar lines every 2 and 3 fourths. Using \compoundMeter #'((2 4) (3 4)), bars come only every 7 fourths.
I found a solution, but was wondering if there was a better way to do it? Also this solution doesn’t work if there are grace notes in beginning of measure.
{
\compoundMeter #'((2 4) (3 4))
\time 2/4 s2
\override Staff.TimeSignature #'stencil = ##f
\time 3/4
\repeat unfold 9{
\time 2/4 s2
\time 3/4 s2.
}
\override Staff.TimeSignature #'stencil = ##t