Next: , Previous: ChoirStaff, Up: Contexts



ChordNames

Typesets chord names.

This context creates the following layout objects:

ChordName, RemoveEmptyVerticalGroup, SeparatingGroupSpanner, SeparationItem, StaffSpacing and VoltaBracket.

This context sets the following properties:

This context is a `bottom' context; it can not contain other contexts.

This context is built from the following engravers:

Engraver_group_engraver
A group of engravers taken together
Skip_event_swallow_translator
Swallow \skip.

Music types accepted:

skip-event

Chord_name_engraver
Catch note-events and generate the appropriate chordname.

Music types accepted:

note-event

Properties (read)

majorSevenSymbol (markup)
How should the major 7th be formatted in a chord name?
chordNameExceptions (list)
Alist of chord exceptions. Contains (chord . markup) entries.
chordRootNamer (procedure)
Function that converts from a pitch object to a text markup. Used for chords.
chordNoteNamer (procedure)
Function that converts from a pitch object to a text markup. Used for single pitches.
chordNameFunction (procedure)
The function that converts lists of pitches to chord names.
chordNameExceptions (list)
Alist of chord exceptions. Contains (chord . markup) entries.
chordChanges (boolean)
Only show changes in chords scheme?
This engraver creates the following layout objects: ChordName.
Separating_line_group_engraver
Generates objects for computing spacing parameters.

Properties (read)

createSpacing (boolean)
Create StaffSpacing objects? Should be set for staves.
Properties (write)
breakableSeparationItem (layout object)
The breakable items in this time step, for this staff.
This engraver creates the following layout objects: SeparatingGroupSpanner, SeparationItem and StaffSpacing.
Output_property_engraver
Interpret Music of Output_property type, and apply a function to any Graphic objects that satisfies the predicate.

Music types accepted:

layout-instruction

Rest_swallow_translator
Swallow rest

Music types accepted:

rest-event

Volta_engraver
Make volta brackets

Properties (read)

stavesFound (list of grobs)
list of all staff-symbols found.
voltaSpannerDuration (moment)
This specifies the maximum duration to use for the brackets printed for \alternative. This can be used to shrink the length of brackets in the situation where one alternative is very large.
repeatCommands (list)
This property is read to find any command of the form (volta . x), where x is a string or #f
This engraver creates the following layout objects: VoltaBracket.
Hara_kiri_engraver
Like Axis_group_engraver, but make a hara-kiri spanner, and add interesting items (ie. note heads, lyric syllables and normal rests)

This engraver creates the following layout objects: RemoveEmptyVerticalGroup.

Read comments on this page, or add one.

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

Report errors to <bug-lilypond@gnu.org>.