Next: , Up: Displaying staves


Instantiating new staves

Staves (singular: staff) are created with the \new or \context commands. For details, see Creating contexts.

The basic staff context is Staff:

     
     \new Staff { c4 d e f }

[image of music]

DrumStaff creates a five-line staff set up for a typical drum set. It uses different names for each instrument. The instrument names are set using the \drummode command. For details, see Percussion staves.

     
     \new DrumStaff {
       \drummode { cymc hh ss tomh }
     }

[image of music]

GregorianTranscriptionStaff creates a staff to notate modern Gregorian chant. It does not show bar lines.

     
     \new GregorianTranscriptionStaff { c4 d e f }

[image of music]

RhythmicStaff creates a single-line staff that only displays the rhythmic values of the input. Real durations are preserved. For details, see Showing melody rhythms.

     
     \new RhythmicStaff { c4 d e f }

[image of music]

TabStaff creates a tablature with six strings in standard guitar tuning. For details, see Default tablatures.

     
     \new TabStaff { c4 d e f }

[image of music]

There are two staff contexts specific for the notation of ancient music: MensuralStaff and VaticanaStaff. They are described in Pre-defined contexts.

Staves can be started or stopped at any point in the score. The commands \startStaff and \stopStaff are used for this purpose. For details, see Staff symbol.

See also

Music Glossary: staff, staves.

Notation Reference: Creating contexts, Percussion staves, Showing melody rhythms, Default tablatures, Pre-defined contexts, Staff symbol, Gregorian chant contexts, Mensural contexts.

Snippets: Staff notation.

Internals Reference: Staff, DrumStaff, GregorianTranscriptionStaff, RhythmicStaff, TabStaff, MensuralStaff, VaticanaStaff, StaffSymbol.

Diese Seite ist für LilyPond-2.11.58 (Entwicklungszweig).

Fehler bitte an http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs melden.

Ihre Vorschläge für die Dokumentation sind willkommen.