[icon]

GNU LilyPond

Welcome to the home of the GNU Music Typesetter

What is LilyPond
General information
Simple examples
Complex examples
Download
GNU/Linux binaries
Windows
Source code
Documentation
Tutorial
Manual
Glossary
other ...

Support
Mailing lists
Search
WikiWiki
FAQs

External sites
lilypond.org/development
lilypond.org/stable
ftp.lilypond.org
Mutopia
Other music online

Node:Clef, Next:, Previous:Key signature, Up:Staff notation



Clef

The clef can be set or changed with the \clef command.

  \clef clefname

Shortcut for

  \property Staff.clefGlyph = glyph associated with clefname
  \property Staff.clefPosition = clef Y-position for clefname
  \property Staff.clefOctavation = extra transposition of clefname

Any change in these properties creates a clef (a Clef grob).

Supported clef-names include

treble, violin, G, G2
G clef on 2nd line
alto, C
C clef on 3rd line
tenor
C clef on 4th line
bass, F
F clef on 4th line
french
G clef on 1st line, so-called French violin clef
soprano
C clef on 1st line
mezzosoprano
C clef on 2nd line
baritone
C clef on 5th line
varbaritone
F clef on 3rd line
subbass
F clef on 5th line
percussion
percussion clef

By adding _8 or ^8 to the clef name, the clef is transposed one octave down or up, respectively.

Supported associated glyphs (for Staff.clefGlyph) are:

clefs-C
modern style C clef
clefs-F
modern style F clef
clefs-G
modern style G clef
clefs-vaticana_do
Editio Vaticana style do clef
clefs-vaticana_fa
Editio Vaticana style fa clef
clefs-medicaea_do
Editio Medicaea style do clef
clefs-medicaea_fa
Editio Medicaea style fa clef
clefs-mensural1_c
modern style mensural C clef
clefs-mensural2_c
historic style small mensural C clef
clefs-mensural3_c
historic style big mensural C clef
clefs-mensural1_f
historic style traditional mensural F clef
clefs-mensural2_f
historic style new mensural F clef
clefs-mensural_g
historic style mensural G clef
clefs-hufnagel_do
historic style hufnagel do clef
clefs-hufnagel_fa
historic style hufnagel fa clef
clefs-hufnagel_do_fa
historic style hufnagel combined do/fa clef
clefs-percussion
modern style percussion clef

Modern style means "as is typeset in current editions." Historic style means "as was typeset or written in contemporary historic editions". Editio XXX style means "as is/was printed in Editio XXX."

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to lilypond@packages.debian.org

Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.4.12 (stable-branch) by

Anthony Fok <lilypond@packages.debian.org>, Tue Mar 12 01:35:39 2002 HKT.