lilypond-user
[Top][All Lists]
Advanced

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

Re: double time signature with single-digit


From: tisimst
Subject: Re: double time signature with single-digit
Date: Wed, 23 Sep 2015 11:41:26 -0700 (MST)

Andreas,

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):

%%%%%%%%%%%%%
%% see http://lsr.di.unimi.it/LSR/Item?id=725
%% see also http://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


View this message in context: Re: double time signature with single-digit
Sent from the User mailing list archive at Nabble.com.

reply via email to

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