| [ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
| [ < ChordGridScore ] | [ Up : Contexts ] | [ CueVoice > ] |
2.1.4 ChordNames
Typesets chord names.
This context also accepts commands for the following context(s):
Staff.
This context creates the following layout object(s):
ChordName, StaffSpacing and VerticalAxisGroup.
This context sets the following properties:
- Set grob property
font-sizeinParenthesesto1.5. - Set grob property
nonstaff-nonstaff-spacing.paddinginVerticalAxisGroupto0.5. - Set grob property
nonstaff-relatedstaff-spacing.paddinginVerticalAxisGroupto0.5. - Set grob property
remove-emptyinVerticalAxisGroupto#t. - Set grob property
remove-firstinVerticalAxisGroupto#t. - Set grob property
staff-affinityinVerticalAxisGroupto-1.
This is a ‘Bottom’ context; no contexts will be created implicitly from it.
This context cannot contain other contexts.
This context is built from the following engraver(s):
-
Alteration_glyph_engraver Set the
glyph-name-alistof all grobs having theaccidental-switch-interfaceto the value of the context’salterationGlyphsproperty, when defined.Properties (read)
-
alterationGlyphs(list) Alist mapping alterations to accidental glyphs. Alterations are given as exact numbers, e.g., -1/2 for flat. This applies to all grobs that can print accidentals.
-
-
Axis_group_engraver Group all objects created in this context in a
VerticalAxisGroupspanner.Properties (read)
-
currentCommandColumn(graphical (layout) object) Grob that is X-parent to all current breakable items (clef, key signature, etc.).
-
hasAxisGroup(boolean) True if the current context is contained in an axis group.
-
keepAliveInterfaces(list) A list of symbols, signifying grob interfaces that are worth keeping a staff with
remove-emptyset around for.
Properties (write)
-
hasAxisGroup(boolean) True if the current context is contained in an axis group.
This engraver creates the following layout object(s):
VerticalAxisGroup.-
-
Chord_name_engraver Read
currentChordTextto create chord names.Properties (read)
-
chordChanges(boolean) Only show changes in chords scheme?
-
currentChordCause(stream event) Event cause of the chord that should be created in this time step (if any).
-
currentChordText(markup) In contexts printing chord names, this is at any point of time the markup that will be put in the chord name.
-
lastChord(markup) Last chord, used for detecting chord changes.
Properties (write)
-
lastChord(markup) Last chord, used for detecting chord changes.
This engraver creates the following layout object(s):
ChordName.-
-
Current_chord_text_engraver Catch note and rest events and generate the appropriate chord text using
chordNameFunction. Actually creating a chord name grob is left to other engravers.Music types accepted:
general-rest-eventandnote-eventProperties (read)
-
chordNameExceptions(list) An alist of chord exceptions. Contains
(chord . markup)entries.-
chordNameFunction(procedure) The function that converts lists of pitches to chord names.
-
chordNoteNamer(procedure) A function that converts from a pitch object to a text markup. Used for single pitches.
-
chordRootNamer(procedure) A function that converts from a pitch object to a text markup. Used for chords.
-
majorSevenSymbol(markup) How should the major 7th be formatted in a chord name?
-
noChordSymbol(markup) Markup to be displayed for rests in a ChordNames context.
Properties (write)
-
currentChordCause(stream event) Event cause of the chord that should be created in this time step (if any).
-
currentChordText(markup) In contexts printing chord names, this is at any point of time the markup that will be put in the chord name.
-
-
Output_property_engraver Apply a procedure to any grob acknowledged.
Music types accepted:
apply-output-event-
Separating_line_group_engraver Generate objects for computing spacing parameters.
Properties (read)
-
createSpacing(boolean) Create
StaffSpacingobjects? Should be set for staves.
Properties (write)
-
hasStaffSpacing(boolean) True if
currentCommandColumncontains items that will affect spacing.
This engraver creates the following layout object(s):
StaffSpacing.-
| [ << Translation ] | [Top][Contents][Index] | [ Backend >> ] |
| [ < ChordGridScore ] | [ Up : Contexts ] | [ CueVoice > ] |