[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Double timesignature with single-digit
From: |
Andreas Stenberg |
Subject: |
Re: Double timesignature with single-digit |
Date: |
Thu, 24 Sep 2015 06:36:27 +0300 |
User-agent: |
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
On 9/23/2015 10:28 AM, Andreas Stenberg [via Lilypond] wrote:
>Hi!
>
>I need a way to modify the double time signature snippet in LSR to
>produce something where the numerical part looks like the single-digit
>time signature style: something lice
>C 3 with both mensural sign and number centered around the central
>noteline.
How about this (based on LSR #725):
%%%%%%%%%%%%%
%% seehttp://lsr.di.unimi.it/LSR/Item?id=725
%% see alsohttp://lilypond.org/doc/v2.18/Documentation/snippets/rhythms
#(define ((double-time-signature glyph num) grob)
(grob-interpret-markup grob
#{
\markup {
\line {
%\fontsize #0
\musicglyph #glyph
\lower #1 \number #num
}
}
#}))
\relative c' {
\override Score.TimeSignature.stencil =
#(double-time-signature "timesig.mensural44" "3")
\time 3/4
c8 b c d e f g4 g g g4 a8 g f e d2. \bar "|."
}
%%%%%%%%%%%%%
Adjust the \fontsize value to taste (0 means default size, BTW).
Best,
Abraham
Thanks Abraham.
This will work. Also when i mod it to a triple timesignature C 3 ) .
(The ")" standing in for a inverted "C")
#(define ((triple-time-signature glyph num glyph_b) grob)
(grob-interpret-markup grob
#{
\markup {
\line {
\fontsize #4
\musicglyph #glyph
\lower #1 \number #num
\fontsize #4
\musicglyph #glyph_b
}
}
#}))
\relative c' {
\override Score.TimeSignature.stencil =
#(triple-time-signature "timesig.mensural64" "3"
"timesig.mensural68alt")
\time 3/4
c8 b c d e f g4 g g g4 a8 g f e d2. \bar "|."
}
Andreas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Double timesignature with single-digit,
Andreas Stenberg <=