The clef indicates which lines of the staff correspond to which pitches.
The clef can be set or changed with the \clef
command
\key f\major c''2 \clef alto g'2
treble, violin, G, G2
alto, C
tenor
bass, F
french
soprano
mezzosoprano
baritone
varbaritone
subbass
percussion
tab
By adding _8
or ^8
to the clef name, the clef is
transposed one octave down or up, respectively, and _15
and
^15
transposes by two octaves. The argument clefname
must be enclosed in quotes when it contains underscores or digits. For
example,
\clef "G_8" c4
This command is equivalent to setting clefGlyph
,
clefPosition
(which controls the Y position of the clef),
centralCPosition
and clefOctavation
. A clef is printed
when any of these properties are changed.
Program reference: the object for this symbol is Clef.
Read comments on this page, or
add one.
This page is for LilyPond-2.2.6 (stable-branch). |