[icon]

GNU LilyPond

-- --

What is LilyPond
Home
Examples
Templates
Download
GNU/Linux binaries
Windows binaries
Source code
Documentation
Tutorial
Manual
Glossary
Index

Support
Mailing lists
Search
WikiWiki

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

Node:ChordNames, Next:, Previous:ChoirStaff, Up:Contexts



ChordNames

Typesets chord names. Can contain ChordNamesVoice contexts.

This context creates the following grobs: ChordName, SeparatingGroupSpanner, SeparationItem and VerticalAxisGroup.

This context sets the following properties:

  • Set translator property verticalExtent to #f
  • Set translator property extraVerticalExtent to #f
  • Set translator property minimumVerticalExtent to #f

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_req_swallow_translator
Swallow \skip.

Music types accepted: skip-event

New_chord_name_engraver
Catch note-events and generate the appropriate chordname.

Music types accepted: note-event

Properties (read)


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 grobs: ChordName.
Separating_line_group_engraver
Generates objects for computing spacing parameters.

This engraver creates the following grobs: SeparatingGroupSpanner and SeparationItem.

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

Axis_group_engraver
Group all objects created in this context in a VerticalAxisGroup spanner.

Properties (read)


extraVerticalExtent (pair of numbers)
extra vertical extent, same format as MinimumVerticalExtent
minimumVerticalExtent (pair of numbers)
minimum vertical extent, same format as VerticalExtent
verticalExtent (pair of numbers)
hard coded vertical extent. The format is a pair of dimensions, for example, this sets the sizes of a staff to 10 (5+5) staffspaces high.
               property Staff.verticalExtent = #(-5.0 . 5.0)
               

VerticalExtent, MinimumVerticalExtent and ExtraVerticalExtent are predefined in all relevant contexts to #f, so they will not inherit values.

Note that these VerticalExtents can only operate on vertical groups, and therefore only work in contexts which contain an Axis_group_engraver.

This engraver creates the following grobs: VerticalAxisGroup.

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 (address unknown)

Copyright (c) 1997--2002 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.7.14 (development-branch) by

Buchan Milne <(address unknown)>, Thu Mar 6 21:11:35 2003 CET.