3.2.164 time-signature-interface

A time signature, in different styles. The following values of style are recognized:

C

4/4 and 2/2 are typeset as C and cut-C signs, respectively. Alternating time signatures involving just these fractions (e.g., 2/2 + 2/2) are typeset with multiple of these signs without intervening plus signs. All other time signatures are written as numbers.

default

Equivalent to C.

mensural

2/2, 3/2, 2/4, 3/4, 4/4, 6/4, 9/4, 4/8, 6/8, and 9/8 are typeset with mensuration signs. All other time signatures are written as numbers.

neomensural

2/2, 3/2, 2/4, 3/4, 4/4, 6/4, 9/4, 4/8, 6/8, and 9/8 are typeset with mensuration signs in the neomensural style. All other time signatures are written as numbers.

numbered

All time signatures are typeset as numbers.

single-number

Basic time signatures, n/d, are written as only n. Subdivided or alternating time signatures are written in full.

When style allows printing denominators, denominator-style can alter them. The following values are recognized:

none

Do not print denominators.

note

Print denominators as a note and dots when exact representation is possible; otherwise print them as numbers.

number

Print denominators as numbers. This is the default.

When the denominator is a note, note-flag-style and note-head-style control its appearance, and note-dots-direction and note-staff-position control its placement.

The fraction property has been superseded by time-signature. By default, getting fraction returns the value of time-signature reduced to a fraction. Setting fraction has no effect.

User-settable properties:

denominator-style (symbol)

The style of denominators in a time signature.

fraction (pair of numbers)

A fraction.

nested-fraction-mixed (boolean)

Whether a fractional term of a time signature is printed as a mixed number (e.g., ‘2 1/2’) or as a common fraction (e.g., ‘5/2’).

nested-fraction-orientation (symbol)

A symbol describing the orientation of a fractional part of a time signature.

nested-fraction-relative-font-size (number)

The font size of a numeral in a fractional term of a time signature, relative to size of the whole numbers.

note-dots-direction (direction)

Whether the augmentation dots are shifted up or down (or not shifted) relative to the note head in a number-over-note time signature.

note-flag-style (symbol)

The style of the flags in a number-over-note time signature. See flag-style.

note-head-style (symbol)

The style of the note head in a number-over-note time signature. See Note head styles.

note-staff-position (number)

The position of the note in a number-over-note time signature. See staff-position.

senza-misura-stencil (stencil)

The symbol to print when TimeSignature.time-signature is not set. Overriding TimeSignature.stencil circumvents this.

style (symbol)

This setting determines in what style a grob is typeset. Valid choices depend on the stencil callback reading this property.

time-signature (time signature)

A time-signature specification. See the \time command.

This grob interface is used in the following graphical object(s): TimeSignature.


LilyPond Internals Reference v2.27.1 (development-branch).