Next: , Previous: PianoStaff, Up: Contexts


RhythmicStaff

A context like Staff but for printing rhythms. Pitches are ignored; the notes are printed on one line.

This context also accepts commands for the following context(s):

Staff

This context creates the following layout objects:

BarLine, DotColumn, InstrumentName, LedgerLineSpanner, SeparatingGroupSpanner, SeparationItem, StaffSpacing, StaffSymbol, TimeSignature, VerticalAxisGroup and VoltaBracket.

This context sets the following properties:

Context RhythmicStaff can contain Voice and CueVoice

This context is built from the following engravers:

Ledger_line_engraver
Creates the spanner to draw ledger lines, and notices objects that need ledger lines

This engraver creates the following layout objects: LedgerLineSpanner.

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

Properties (read)

currentCommandColumn (layout object)
Grob that is X-parent to all current breakable (clef, key signature, etc.) items.
This engraver creates the following layout objects: VerticalAxisGroup.
Instrument_name_engraver
Creates a system start text for instrument or vocal names.

Properties (read)

currentCommandColumn (layout object)
Grob that is X-parent to all current breakable (clef, key signature, etc.) items.
shortInstrumentName (markup)
See instrument
instrumentName (markup)
The name to print left of a staff. The instrument property labels the staff in the first system, and the instr property labels following lines.
shortVocalName (markup)
Name of a vocal line, short version.
vocalName (markup)
Name of a vocal line.
This engraver creates the following layout objects: InstrumentName.
Time_signature_engraver
Create a TimeSignature whenever timeSignatureFraction changes

This engraver creates the following layout objects: TimeSignature.

Pitch_squash_engraver
Set the vertical position of noteheads to squashedPosition, if that property is set. This can be used to make a single line staff demonstrating the rhythm of a melody.

Properties (read)

squashedPosition (integer)
Vertical position of squashing for Pitch_squash_engraver.

Staff_symbol_engraver
Create the constellation of five (default) staff lines.

Music types accepted:

staff-span-event

This engraver creates the following layout objects: StaffSymbol.

Bar_engraver
Create barlines. This engraver is controlled through the whichBar property. If it has no bar line to create, it will forbid a linebreak at this point

Properties (read)

whichBar (string)
This property is read to determine what type of bar line to create.

Example:

               \set Staff.whichBar = "|:"
          

This will create a start-repeat bar in this staff only. Valid values are described in bar-line-interface.

Properties (write)
forbidBreak (boolean)
If set to ##t, prevent a line break at this point.
This engraver creates the following layout objects: BarLine.
Dot_column_engraver
Engraves dots on dotted notes shifted to the right of the note. If omitted, then dots appear on top of the notes.

This engraver creates the following layout objects: DotColumn.

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.
Volta_engraver
Make volta brackets.

Properties (read)

repeatCommands (list)
This property is read to find any command of the form (volta . x), where x is a string or #f
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.
stavesFound (list of grobs)
list of all staff-symbols found.
This engraver creates the following layout objects: VoltaBracket.
Font_size_engraver
Puts fontSize into font-size grob property.

Properties (read)

fontSize (number)
The relative size of all grobs in a context.

Output_property_engraver
Apply a procedure to any grob acknowledged.

Music types accepted:

apply-output-event



Next: , Previous: PianoStaff, Up: Contexts

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

Report errors to http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs.