The default value is @code{#f}. Can be set to @code{#t} with
@code{\specialkey} or reset with @code{\normalkey}. [BROKEN]
- @item @code{timeSignatureStyle}@indexcode{timeSignatureStyle} @propertytype{string}
+ @item @code{timeSignatureStyle}@indexcode{timeSignatureStyle} @propertytype{symbol}
Changes the default two-digit layout for time signatures. The
following values are recognized:
typeset with old-style mensuration marks. All other time
signatures are written with two digits.
- @item @code{1}@indexcode{1}
+ @item @code{1xxx}@indexcode{1xxx}
All time signatures are typeset with a single
- digit, e.g. 3/2 is written as 3.
+ digit, e.g. 3/2 is written as 3. (Any symbol starting
+ with the digit @code{1} will do.)
@item @indexcode{CM/N}@code{C}@var{M}@code{/}@var{N},
@indexcode{oldM/N}@code{old}@var{M}@code{/}@var{N} or
@code{old6/8alt}@indexcode{old6/8alt}
- Tells LilyPond to use a specific symbol as time signature.
+ Tells LilyPond to use a specific symbol as time signature,
+ regardless of the actual time signature.
@end table
The different time signature characters are shown below with its
@lilypond[center,verbatim]
- \score {
- \notes\relative c'' {
- \property Voice.textStyle = typewriter
- \property Staff.timeSignatureStyle = "C2/2"
- \time 2/2; a2^"C2/2" a2
- \property Staff.timeSignatureStyle = "C4/4"
- \time 2/2; a2^"C4/4" a2
- \property Staff.timeSignatureStyle = "old2/2"
- \time 2/2; a2^"old2/2" a2
- \property Staff.timeSignatureStyle = "old3/2"
- \time 2/2; a2^"old3/2" a2
- \property Staff.timeSignatureStyle = "old2/4"
- \time 2/2; a2^"old2/4" a2
- \property Staff.timeSignatureStyle = "old4/4"
- \time 2/2; a2^"old4/4" a2
- \property Staff.timeSignatureStyle = "old6/4"
- \time 2/2; a2^"old6/4" a2
- \property Staff.timeSignatureStyle = "old9/4"
- \time 2/2; a2^"old9/4" a2
- \property Staff.timeSignatureStyle = "old4/8"
- \time 2/2; a2^"old4/8" a2
- \property Staff.timeSignatureStyle = "old6/8"
- \time 2/2; a2^"old6/8" a2
- \property Staff.timeSignatureStyle = "old6/8alt"
- \time 2/2; a2^"old6/8alt" a2
- \property Staff.timeSignatureStyle = "old9/8"
- \time 2/2; a2^"old9/8" a2
- }
- \paper {
- linewidth = 4.5 \in;
- }
- }
+ \score {
+ \notes\relative c'' {
+ \property Voice.TextScript \set #'font-shape = #'upright
+ \property Voice.TextScript \set #'font-family = #'typewriter
+ \property Staff.TimeSignature \set #'style = #'C2/2
+ \time 2/2; a2^"C2/2" a2
+ \property Staff.TimeSignature \set #'style = #'C4/4
+ \time 2/2; a2^"C4/4" a2
+ \property Staff.TimeSignature \set #'style = #'old2/2
+ \time 2/2; a2^"old2/2" a2
+ \property Staff.TimeSignature \set #'style = #'old3/2
+ \time 2/2; a2^"old3/2" a2
+ \property Staff.TimeSignature \set #'style = #'old2/4
+ \time 2/2; a2^"old2/4" a2
+ \property Staff.TimeSignature \set #'style = #'old4/4
+ \time 2/2; a2^"old4/4" a2
+ \property Staff.TimeSignature \set #'style = #'old6/4
+ \time 2/2; a2^"old6/4" a2
+ \property Staff.TimeSignature \set #'style = #'old9/4
+ \time 2/2; a2^"old9/4" a2
+ \property Staff.TimeSignature \set #'style = #'old4/8
+ \time 2/2; a2^"old4/8" a2
+ \property Staff.TimeSignature \set #'style = #'old6/8
+ \time 2/2; a2^"old6/8" a2
+ \property Staff.TimeSignature \set #'style = #'old6/8alt
+ \time 2/2; a2^"old6/8alt" a2
+ \property Staff.TimeSignature \set #'style = #'old9/8
+ \time 2/2; a2^"old9/8" a2
+ }
+ \paper {
+ linewidth = 4.5 \in;
+ }
+ }
@end lilypond
((-1 bold upright roman cmbx 8) . "cmbx8")
((-2 bold upright roman cmbx 7) . "cmbx7")
+ ((4 medium upright typewriter cmtt 20) . "cmtt20")
+ ((3 medium upright typewriter cmtt 16) . "cmtt16")
+ ((2 medium upright typewriter cmtt 14) . "cmtt14")
+ ((1 medium upright typewriter cmtt 12) . "cmtt12")
+ ((0 medium upright typewriter cmtt 10) . "cmtt10")
+ ((-1 medium upright typewriter cmtt 8) . "cmtt8" )
+ ((-2 medium upright typewriter cmtt 7) . "cmtt7" )
+ ((-3 medium upright typewriter cmtt 6) . "cmtt6" )
+ ((-4 medium upright typewriter cmtt 5) . "cmtt5" )
+ ((-5 medium upright typewriter cmtt 4) . "cmtt4" )
+
;; should use the same brace font every where and fix C++ code.
((2 medium upright braces feta-braces 26) . "feta-braces26")
((1 medium upright braces feta-braces 23) . "feta-braces23")
(and (pair? x) (number? (car x)) (number? (cdr x))))
(define (boolean-or-symbol? x) (or boolean? x) (or symbol? x))
(define (number-or-string? x) (or (number? x) (string? x)))
-(define (list-or-string? x) (or (list? x) (string? x)))
(define markup?
(lambda (x) (or (string? x) (list? x))))
((output-port? obj) "output port")
((vector? obj) "vector")
((procedure? obj) "procedure")
+ ((boolean-or-symbol? obj) "boolean or symbol")
+ ((number-or-string? obj) "number or string")
+ ((markup? obj) "markup (list or string)")
(else "unknown type")
))
((eq? predicate output-port?) "output port")
((eq? predicate vector?) "vector")
((eq? predicate procedure?) "procedure")
+ ((eq? predicate boolean-or-symbol?) "boolean or symbol")
+ ((eq? predicate number-or-string?) "number or string")
+ ((eq? predicate markup?) "markup (list or string)")
(else "unknown type")
))
return str
- conversions.append (((1,3,110), conv, '\\push -> \\override, \\pop -> \\revert'))
+ conversions.append (((1,3,111), conv, '\\push -> \\override, \\pop -> \\revert'))
if 1:
def conv (str):
if last_conversion:
sys.stderr.write ('\n')
- new_ver = '\\\\version \"%s\"' % tup_to_str (last_conversion)
+ new_ver = '\\version \"%s\"' % tup_to_str (last_conversion)
if re.search (lilypond_version_re_str, str):
- str = re.sub (lilypond_version_re_str,new_ver , str)
+ str = re.sub (lilypond_version_re_str,'\\'+new_ver , str)
else:
str = new_ver + '\n' + str