Clef_engraver - LilyPond program-reference
Description: LilyPond program-reference

Next: Cluster_spanner_engraver, Previous: Chord_tremolo_engraver, Up: Engravers

#### Clef_engraver

Determine and set reference point for pitches

Properties (read)

`clefPosition` (number)
  Where should the center of the clef symbol go, measured in half staff spaces from the center of the staff.
`clefGlyph` (string)
  Name of the symbol within the music font.
`middleCPosition` (number)
  Place of the middle C, measured in half staff-spaces. Usually determined by looking at `clefPosition` and `clefGlyph`.
`clefOctavation` (integer)
  Add this much extra octavation. Values of 7 and -7 are common.
`explicitClefVisibility` (vector)
  ``break-visibility`' function for clef changes.
`forceClef` (boolean)
  Show clef symbol, even if it has not changed. Only active for the first clef after the property is set, not for the full staff.

This engraver creates the following layout objects: Clef and OctavateEight.

`Clef_engraver` is part of contexts: DrumStaff, GregorianTranscriptionStaff, MensuralStaff, Staff, TabStaff and VaticanaStaff

This page is for LilyPond-2.8.8 (stable-branch).

Other languages: English.
Using automatic language selection.