The <clef> element
Parent element: <attributes>
Clefs are represented by a combination of sign, line, and clef-octave-change elements.
Content
In this order- <sign> (Required)
- <line> (Optional)
- <clef-octave-change> (Optional)
Attributes
| Name | Type | Required? | Description |
|---|---|---|---|
| additional | yes-no | No | |
| after-barline | yes-no | No | |
| color | color | No | |
| default-x | tenths | No | |
| default-y | tenths | No | |
| font-family | font-family | No | |
| font-size | font-size | No | |
| font-style | font-style | No | |
| font-weight | font-weight | No | |
| id | xs:ID | No | |
| number | staff-number | No | |
| print-object | yes-no | No | |
| relative-x | tenths | No | |
| relative-y | tenths | No | |
| size | symbol-size | No |
Examples
This element is used in the following examples:
<assess> and <player><attributes><concert-score> and <for-part><double><instrument-change><line-detail><line><measure-distance><part-symbol><pedal> (Lines)<score-timewise><staff-type><staves><unpitched>Alto ClefBaritone C ClefBaritone F ClefBass ClefBass Clef (Down Octave)Mezzo Soprano ClefPercussion ClefSoprano ClefTAB ClefTenor ClefTreble ClefTutorial: Après un rêveTutorial: Chopin PreludeTutorial: Chord SymbolsTutorial: Hello, WorldTutorial: PercussionTutorial: TablatureVocal Tenor Clef