Regarding the original question, the simple answer, which has already been
given, is to use
\override Staff.TimeSignature #'style = #'single-digit
Regarding Gilles' problems with compound time signatures, I would recommend
to use the example in Sect. "8.4.1 Polymetric notation" as a starting
point.
Then, you could end up with something like:
\version "2.8.7"
#(define (compound-time-2 one two three four)
(markup #:override '(baseline-skip . 2) #:number
(#:line ((#:column (one two)) #:lower 1 "+" (#:column (three four))))))
theMusic = \relative c'' {
\time 3/4
\override Staff.TimeSignature #'stencil = #ly:text-interface::print
\override Staff.TimeSignature #'text = #(compound-time-2 "1" "2" "3"
"4" )
a4 b g | f4 g2 |
}
\score {
\theMusic
\layout {}
}
/Mats
For my own problem, can someone help me out? [I wonder why there
is still no easy way to create those time signatures.]
This is what I tried:
%---BEGIN---
#(define (compound-time-2 grob one two three four)
(let* ((layout (ly:grob-layout grob))
(text (interpret-markup
layout
(ly:grob-alist-chain grob (ly:output-def-lookup layout
'text-font-defaults))
(markup
#:line
(#:column (#:number one #:number two)
#:hspace -1 #:lower 0.5 "+"
#:column (#:number three #:number four))))))
text))
%---END---
Thanks and best regards (and Happy New Year),
Gilles
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user