[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom Time Signature
From: |
Thomas Morley |
Subject: |
Re: Custom Time Signature |
Date: |
Thu, 20 Dec 2012 02:58:53 +0100 |
2012/12/20 Kevin Patrick Barry <address@hidden>:
> Dear LilyPond experts,
>
> I would like to display the time signature 4/2 as two struck Cs next to one
> another (no 'plus' sign),
Hi,
how about:
\version "2.16.1"
doubledTimeSignature =
\override Score.TimeSignature #'stencil =
#(lambda (grob)
(let* ((stil (ly:font-get-glyph (ly:grob-default-font grob) "timesig.C22"))
(staff-space (ly:staff-symbol-staff-space grob))
(pddng (* 0.5 staff-space))
(new-stil
(ly:stencil-combine-at-edge
stil
X
RIGHT
stil
pddng)))
new-stil))
\relative {
\doubledTimeSignature
\time 4/2
c2 d e f
c d e f
}
HTH,
Harm