Clef Key Meter

\clef


Description

Name Variants Type Notation element
\clef P clef signs

Parameters

Name Type Description Default value Optional
type string bass, basso, f, f5, f4, f3, f2, f1,
tenor, c, c5, c4, c3, c2, c1, c0,
alto, violin, treble,
g, g5, g4, g3, g2, g1,
gg, gg5, gg4, gg3, gg2, gg1,
perc, perc5, perc4, perc3, perc2, perc1,
none or off
treble false

See the Clefs example.


\key


Description

Name Variants Type Notation element
\key P key signatures

The \key tag displays a key signature specified as tonality or as a number of sharps or flats. It supports also arbitrary keys and micro-tonality.

Parameters

Name Type Description Default value Optional
key string|integer F, C, G, D, A, E, B, H or a signed integer
a free key string
none false
hideNaturals string a boolean value to prevent naturals on key change false true
free string a free key string none true

See the Key example.


\meter


Description

Name Variants Type Notation element
\meter P time signatures

The \meter tag displays a time signature.

Parameters

Name Type Description Default value Optional
type string C, c, C/, c/
a rational string
a complex time signature string
4/4 false
autoBarlines boolean control automatic barlines on true
autoMeasuresNum string on, off, system, page off true
group boolean control complex meter appearance off true

See the Meter example.

See also the Sonata example for measure numbers at system level.