Handles typesetting for percussion.
This context also accepts commands for the following context(s):
Staff.
This context creates the following layout objects:
BarLine, BassFigureAlignmentPositioning, BassFigureAlignment, BassFigureBracket, BassFigureContinuation, BassFigureLine, BassFigure, Clef, DotColumn, InstrumentName, LedgerLineSpanner, NoteCollision, OctavateEight, RestCollision, ScriptRow, SostenutoPedalLineSpanner, StaffSpacing, StaffSymbol, SustainPedalLineSpanner, TimeSignature, UnaCordaPedalLineSpanner and VerticalAxisGroup.
This context sets the following properties:
staff-padding
in Script to 0.75
.
clefPosition
to 0
.
clefGlyph
to clefs.percussion
.
shortInstrumentName
to '()
.
instrumentName
to '()
.
minimum-Y-extent
in VerticalAxisGroup to '(-4 . 4)
.
ignoreFiguredBassRest
to #t
.
createSpacing
to #t
.
localKeySignature
to '()
.
Context DrumStaff can contain DrumVoice and CueVoice.
This context is built from the following engravers:
Script_row_engraver
- Determine order in horizontal side position elements.
This engraver creates the following layout objects:
Figured_bass_position_engraver
- Position figured bass alignments over notes.
This engraver creates the following layout objects:
Figured_bass_engraver
- Make figured bass numbers.
Music types accepted:
bass-figure-event and rest-event
Properties (read)
figuredBassAlterationDirection
(direction)- Where to put alterations relative to the main figure.
figuredBassCenterContinuations
(boolean)- Whether to vertically center pairs of extender lines. This does not work with three or more lines.
figuredBassFormatter
(procedure)- A routine generating a markup for a bass figure.
implicitBassFigures
(list)- A list of bass figures that are not printed as numbers, but only as extender lines.
useBassFigureExtenders
(boolean)- Whether to use extender lines for repeated bass figures.
ignoreFiguredBassRest
(boolean)- Don't swallow rest events.
This engraver creates the following layout objects:
BassFigure, BassFigureAlignment, BassFigureBracket, BassFigureContinuation and BassFigureLine.
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:
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 theinstr
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:
Piano_pedal_align_engraver
- Align piano pedal symbols and brackets.
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:
SostenutoPedalLineSpanner, SustainPedalLineSpanner and UnaCordaPedalLineSpanner.
Rest_collision_engraver
- Handles collisions of rests.
This engraver creates the following layout objects:
Collision_engraver
- Collect NoteColumns, and as soon as there are two or more, put them in a NoteCollision object.
This engraver creates the following layout objects:
Staff_symbol_engraver
- Create the constellation of five (default) staff lines.
Music types accepted:
This engraver creates the following layout objects:
Ledger_line_engraver
- Creates the spanner to draw ledger lines, and notices objects that need ledger lines
This engraver creates the following layout objects:
Time_signature_engraver
- Create a TimeSignature whenever
timeSignatureFraction
changesProperties (read)
implicitTimeSignatureVisibility
(vector)- break visibility for the default time signature.
timeSignatureFraction
(pair of numbers)- A pair of numbers, signifying the time signature. For example,
#'(4 . 4)
is a 4/4 time signature.This engraver creates the following layout objects:
Clef_engraver
- Determine and set reference point for pitches
Properties (read)
clefGlyph
(string)- Name of the symbol within the music font.
clefOctavation
(integer)- Add this much extra octavation. Values of 7 and -7 are common.
clefPosition
(number)- Where should the center of the clef symbol go, measured in half staff spaces from the center of the staff.
explicitClefVisibility
(vector)- ‘break-visibility’ function for clef changes.
forceClef
(boolean)- Show clef symbol, even if it has not changed. Only active for the first clef after the property is set, not for the full staff.
This engraver creates the following layout objects:
Clef and OctavateEight.
Staff_collecting_engraver
- Maintain the stavesFound variable
Properties (read)
Properties (write)
stavesFound
(list of grobs)- A list of all staff-symbols found.
stavesFound
(list of grobs)- A list of all staff-symbols found.
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:
Separating_line_group_engraver
- Generates objects for computing spacing parameters.
Properties (read)
Properties (write)
createSpacing
(boolean)- Create
StaffSpacing
objects? Should be set for staves.
hasStaffSpacing
(boolean)- True if the current
CommandColumn
contains items that will affect spacing.This engraver creates the following layout objects:
Font_size_engraver
- Puts fontSize into font-size grob property.
Properties (read)
fontSize
(number)- The relative size of all grobs in a context.
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 pointProperties (read)
Properties (write)
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.
forbidBreak
(boolean)- If set to
##t
, prevent a line break at this point.This engraver creates the following layout objects:
Output_property_engraver
- Apply a procedure to any grob acknowledged.
Music types accepted:
Cette page documente LilyPond-2.11.40 (branche de développement).
Rapportez toute anomalie en français à lilypond-user-fr@gnu.org ou en anglais à http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs
Vos suggestions à propos de la documentation sont les bienvenues.