<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- header_tag --> <html lang="en"> <head> <title>DrumStaff - LilyPond program-reference</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="LilyPond program-reference"> <meta name="generator" content="makeinfo 4.11"> <link title="Top" rel="start" href="index.de.html#Top"> <link rel="up" href="Contexts.de.html#Contexts" title="Contexts"> <link rel="prev" href="Devnull.de.html#Devnull" title="Devnull"> <link rel="next" href="DrumVoice.de.html#DrumVoice" title="DrumVoice"> <link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage"> <meta http-equiv="Content-Style-Type" content="text/css"> <style type="text/css"><!-- pre.display { font-family:inherit } pre.format { font-family:inherit } pre.smalldisplay { font-family:inherit; font-size:smaller } pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } span.sc { font-variant:small-caps } span.roman { font-family:serif; font-weight:normal; } span.sansserif { font-family:sans-serif; font-weight:normal; } hr { border:0; height:1; color: #000000; background-color: #000000; } /* hr { border: none; height: 1px; color: #666666; background-color: #666666; } body { border-left: 1px solid #666666; border-right: 1px solid #666666; color: #332d28; margin-right: auto; margin-left: auto; width: 60em; list-style-type: square; font-family: Arial,Helvetica,sans-serif; padding-right: 1em; padding-left: 1em; } a { border-bottom: 1px dashed #344242; text-decoration: none; color: #344242; } a:link { text-decoration: none; } a:visited { border-bottom: 1px dashed #666666; color: #666666; } a:active { border-bottom: 1px solid #00cccc; color: #00cccc; } a:hover { border-bottom: 1px solid #1d7b85; color: #1d7b85; } blockquote { border: 1px solid #cccccc; padding: 3px; width: 40em; } .node { border-left: 1px solid #666666; margin: -0.5em 0px 1em; padding: 2px 1px 0px; font-style: italic; } .node a { border: none; text-decoration: underline; font-style: normal; font-weight: bold; } .verbatim { font-family: "Courier New",Courier,monospace; } .unnumberedsubsubsec { font-size: large; color: #1d7b85; } .subsubheading { font-size: large; color: #3b220d; } .contents { border: 1px dashed #339999; margin: 3px 2em; list-style-type: square; padding-right: 1em; width: 40em; background-color: #fcfff9; } .contents a { border-bottom: 1px dashed #423d34; text-decoration: none; color: #423d34; } .contents a:visited { border-bottom: 1px dashed #666666; color: #666666; } .contents a:active { border-bottom: 1px solid #f0d86d; color: #f0d86d; } .contents a:hover { border-bottom: 1px solid #3b220d; color: #3b220d; } .menu { border-left: 1px dashed #339999; margin: 3px 2em 1em; list-style-type: square; padding-left: 1.4em; width: 40em; } .unnumbered { } h2 { font-size: x-large; color: #1d7b85; } */ --></style> </head> <BODY BGCOLOR=WHITE TEXT=BLACK> <div class="node"> <p> <a name="DrumStaff"></a> Next: <a rel="next" accesskey="n" href="DrumVoice.de.html#DrumVoice">DrumVoice</a>, Previous: <a rel="previous" accesskey="p" href="Devnull.de.html#Devnull">Devnull</a>, Up: <a rel="up" accesskey="u" href="Contexts.de.html#Contexts">Contexts</a> <hr> </div> <h4 class="unnumberedsubsec">DrumStaff</h4> <p>Handles typesetting for percussion. <p>This context also accepts commands for the following context(s): <p>Staff. <p>This context creates the following layout object(s): <p><a href="BarLine.de.html#BarLine">BarLine</a>, <a href="BassFigureAlignmentPositioning.de.html#BassFigureAlignmentPositioning">BassFigureAlignmentPositioning</a>, <a href="BassFigureAlignment.de.html#BassFigureAlignment">BassFigureAlignment</a>, <a href="BassFigureBracket.de.html#BassFigureBracket">BassFigureBracket</a>, <a href="BassFigureContinuation.de.html#BassFigureContinuation">BassFigureContinuation</a>, <a href="BassFigureLine.de.html#BassFigureLine">BassFigureLine</a>, <a href="BassFigure.de.html#BassFigure">BassFigure</a>, <a href="Clef.de.html#Clef">Clef</a>, <a href="DotColumn.de.html#DotColumn">DotColumn</a>, <a href="InstrumentName.de.html#InstrumentName">InstrumentName</a>, <a href="LedgerLineSpanner.de.html#LedgerLineSpanner">LedgerLineSpanner</a>, <a href="NoteCollision.de.html#NoteCollision">NoteCollision</a>, <a href="OctavateEight.de.html#OctavateEight">OctavateEight</a>, <a href="RestCollision.de.html#RestCollision">RestCollision</a>, <a href="ScriptRow.de.html#ScriptRow">ScriptRow</a>, <a href="SostenutoPedalLineSpanner.de.html#SostenutoPedalLineSpanner">SostenutoPedalLineSpanner</a>, <a href="StaffSpacing.de.html#StaffSpacing">StaffSpacing</a>, <a href="StaffSymbol.de.html#StaffSymbol">StaffSymbol</a>, <a href="SustainPedalLineSpanner.de.html#SustainPedalLineSpanner">SustainPedalLineSpanner</a>, <a href="TimeSignature.de.html#TimeSignature">TimeSignature</a>, <a href="UnaCordaPedalLineSpanner.de.html#UnaCordaPedalLineSpanner">UnaCordaPedalLineSpanner</a> and <a href="VerticalAxisGroup.de.html#VerticalAxisGroup">VerticalAxisGroup</a>. <p>This context sets the following properties: <ul> <li>Set grob-property <code>staff-padding</code> in <a href="Script.de.html#Script">Script</a> to <code>0.75</code>. <li>Set translator property <code>clefPosition</code> to <code>0</code>. <li>Set translator property <code>clefGlyph</code> to <code>clefs.percussion</code>. <li>Set translator property <code>shortInstrumentName</code> to <code>'()</code>. <li>Set translator property <code>instrumentName</code> to <code>'()</code>. <li>Set grob-property <code>minimum-Y-extent</code> in <a href="VerticalAxisGroup.de.html#VerticalAxisGroup">VerticalAxisGroup</a> to <code>'(-4 . 4)</code>. <li>Set translator property <code>ignoreFiguredBassRest</code> to <code>#t</code>. <li>Set translator property <code>createSpacing</code> to <code>#t</code>. <li>Set translator property <code>localKeySignature</code> to <code>'()</code>. </ul> <p>Context DrumStaff can contain <a href="DrumVoice.de.html#DrumVoice">DrumVoice</a> and <a href="CueVoice.de.html#CueVoice">CueVoice</a>. <p>This context is built from the following engraver(s): <blockquote> <dl> <dt><code><a href="Script_005frow_005fengraver.de.html#Script_005frow_005fengraver">Script_row_engraver</a></code><dd>Determine order in horizontal side position elements. <p>This engraver creates the following layout object(s): <p><a href="ScriptRow.de.html#ScriptRow">ScriptRow</a>. <br><dt><code><a href="Figured_005fbass_005fposition_005fengraver.de.html#Figured_005fbass_005fposition_005fengraver">Figured_bass_position_engraver</a></code><dd>Position figured bass alignments over notes. <p>This engraver creates the following layout object(s): <p><a href="BassFigureAlignmentPositioning.de.html#BassFigureAlignmentPositioning">BassFigureAlignmentPositioning</a>. <br><dt><code><a href="Figured_005fbass_005fengraver.de.html#Figured_005fbass_005fengraver">Figured_bass_engraver</a></code><dd>Make figured bass numbers. <p>Music types accepted: <p><a href="bass_002dfigure_002devent.de.html#bass_002dfigure_002devent">bass-figure-event</a> and <a href="rest_002devent.de.html#rest_002devent">rest-event</a> <p>Properties (read) <blockquote> <dl> <dt><code>figuredBassAlterationDirection</code> (direction)<dd>Where to put alterations relative to the main figure. <br><dt><code>figuredBassCenterContinuations</code> (boolean)<dd>Whether to vertically center pairs of extender lines. This does not work with three or more lines. <br><dt><code>figuredBassFormatter</code> (procedure)<dd>A routine generating a markup for a bass figure. <br><dt><code>implicitBassFigures</code> (list)<dd>A list of bass figures that are not printed as numbers, but only as extender lines. <br><dt><code>useBassFigureExtenders</code> (boolean)<dd>Whether to use extender lines for repeated bass figures. <br><dt><code>ignoreFiguredBassRest</code> (boolean)<dd>Don't swallow rest events. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="BassFigure.de.html#BassFigure">BassFigure</a>, <a href="BassFigureAlignment.de.html#BassFigureAlignment">BassFigureAlignment</a>, <a href="BassFigureBracket.de.html#BassFigureBracket">BassFigureBracket</a>, <a href="BassFigureContinuation.de.html#BassFigureContinuation">BassFigureContinuation</a> and <a href="BassFigureLine.de.html#BassFigureLine">BassFigureLine</a>. <br><dt><code><a href="Axis_005fgroup_005fengraver.de.html#Axis_005fgroup_005fengraver">Axis_group_engraver</a></code><dd>Group all objects created in this context in a <code>VerticalAxisGroup</code> spanner. <p>Properties (read) <blockquote> <dl> <dt><code>currentCommandColumn</code> (layout object)<dd>Grob that is X-parent to all current breakable (clef, key signature, etc.) items. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="VerticalAxisGroup.de.html#VerticalAxisGroup">VerticalAxisGroup</a>. <br><dt><code><a href="Instrument_005fname_005fengraver.de.html#Instrument_005fname_005fengraver">Instrument_name_engraver</a></code><dd>Create a system start text for instrument or vocal names. <p>Properties (read) <blockquote> <dl> <dt><code>currentCommandColumn</code> (layout object)<dd>Grob that is X-parent to all current breakable (clef, key signature, etc.) items. <br><dt><code>shortInstrumentName</code> (markup)<dd>See <code>instrument</code>. <br><dt><code>instrumentName</code> (markup)<dd>The name to print left of a staff. The <code>instrument</code> property labels the staff in the first system, and the <code>instr</code> property labels following lines. <br><dt><code>shortVocalName</code> (markup)<dd>Name of a vocal line, short version. <br><dt><code>vocalName</code> (markup)<dd>Name of a vocal line. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="InstrumentName.de.html#InstrumentName">InstrumentName</a>. <br><dt><code><a href="Piano_005fpedal_005falign_005fengraver.de.html#Piano_005fpedal_005falign_005fengraver">Piano_pedal_align_engraver</a></code><dd>Align piano pedal symbols and brackets. <p>Properties (read) <blockquote> <dl> <dt><code>currentCommandColumn</code> (layout object)<dd>Grob that is X-parent to all current breakable (clef, key signature, etc.) items. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="SostenutoPedalLineSpanner.de.html#SostenutoPedalLineSpanner">SostenutoPedalLineSpanner</a>, <a href="SustainPedalLineSpanner.de.html#SustainPedalLineSpanner">SustainPedalLineSpanner</a> and <a href="UnaCordaPedalLineSpanner.de.html#UnaCordaPedalLineSpanner">UnaCordaPedalLineSpanner</a>. <br><dt><code><a href="Rest_005fcollision_005fengraver.de.html#Rest_005fcollision_005fengraver">Rest_collision_engraver</a></code><dd>Handle collisions of rests. <p>This engraver creates the following layout object(s): <p><a href="RestCollision.de.html#RestCollision">RestCollision</a>. <br><dt><code><a href="Collision_005fengraver.de.html#Collision_005fengraver">Collision_engraver</a></code><dd>Collect <code>NoteColumns</code>, and as soon as there are two or more, put them in a <code>NoteCollision</code> object. <p>This engraver creates the following layout object(s): <p><a href="NoteCollision.de.html#NoteCollision">NoteCollision</a>. <br><dt><code><a href="Staff_005fsymbol_005fengraver.de.html#Staff_005fsymbol_005fengraver">Staff_symbol_engraver</a></code><dd>Create the constellation of five (default) staff lines. <p>Music types accepted: <p><a href="staff_002dspan_002devent.de.html#staff_002dspan_002devent">staff-span-event</a> <p>This engraver creates the following layout object(s): <p><a href="StaffSymbol.de.html#StaffSymbol">StaffSymbol</a>. <br><dt><code><a href="Ledger_005fline_005fengraver.de.html#Ledger_005fline_005fengraver">Ledger_line_engraver</a></code><dd>Create the spanner to draw ledger lines, and notices objects that need ledger lines. <p>This engraver creates the following layout object(s): <p><a href="LedgerLineSpanner.de.html#LedgerLineSpanner">LedgerLineSpanner</a>. <br><dt><code><a href="Time_005fsignature_005fengraver.de.html#Time_005fsignature_005fengraver">Time_signature_engraver</a></code><dd>Create a <a href="TimeSignature.de.html#TimeSignature">TimeSignature</a> whenever <code>timeSignatureFraction</code> changes. <p>Properties (read) <blockquote> <dl> <dt><code>implicitTimeSignatureVisibility</code> (vector)<dd>break visibility for the default time signature. <br><dt><code>timeSignatureFraction</code> (pair of numbers)<dd>A pair of numbers, signifying the time signature. For example, <code>#'(4 . 4)</code> is a 4/4 time signature. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="TimeSignature.de.html#TimeSignature">TimeSignature</a>. <br><dt><code><a href="Clef_005fengraver.de.html#Clef_005fengraver">Clef_engraver</a></code><dd>Determine and set reference point for pitches. <p>Properties (read) <blockquote> <dl> <dt><code>clefGlyph</code> (string)<dd>Name of the symbol within the music font. <br><dt><code>clefOctavation</code> (integer)<dd>Add this much extra octavation. Values of 7 and -7 are common. <br><dt><code>clefPosition</code> (number)<dd>Where should the center of the clef symbol go, measured in half staff spaces from the center of the staff. <br><dt><code>explicitClefVisibility</code> (vector)<dd>‘<samp><span class="samp">break-visibility</span></samp>’ function for clef changes. <br><dt><code>forceClef</code> (boolean)<dd>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. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="Clef.de.html#Clef">Clef</a> and <a href="OctavateEight.de.html#OctavateEight">OctavateEight</a>. <br><dt><code><a href="Staff_005fcollecting_005fengraver.de.html#Staff_005fcollecting_005fengraver">Staff_collecting_engraver</a></code><dd>Maintain the <code>stavesFound</code> variable. <p>Properties (read) <blockquote> <dl> <dt><code>stavesFound</code> (list of grobs)<dd>A list of all staff-symbols found. </dl> </blockquote> Properties (write) <blockquote> <dl> <dt><code>stavesFound</code> (list of grobs)<dd>A list of all staff-symbols found. </dl> </blockquote> <br><dt><code><a href="Dot_005fcolumn_005fengraver.de.html#Dot_005fcolumn_005fengraver">Dot_column_engraver</a></code><dd>Engrave dots on dotted notes shifted to the right of the note. If omitted, then dots appear on top of the notes. <p>This engraver creates the following layout object(s): <p><a href="DotColumn.de.html#DotColumn">DotColumn</a>. <br><dt><code><a href="Separating_005fline_005fgroup_005fengraver.de.html#Separating_005fline_005fgroup_005fengraver">Separating_line_group_engraver</a></code><dd>Generate objects for computing spacing parameters. <p>Properties (read) <blockquote> <dl> <dt><code>createSpacing</code> (boolean)<dd>Create <code>StaffSpacing</code> objects? Should be set for staves. </dl> </blockquote> Properties (write) <blockquote> <dl> <dt><code>hasStaffSpacing</code> (boolean)<dd>True if the current <code>CommandColumn</code> contains items that will affect spacing. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="StaffSpacing.de.html#StaffSpacing">StaffSpacing</a>. <br><dt><code><a href="Font_005fsize_005fengraver.de.html#Font_005fsize_005fengraver">Font_size_engraver</a></code><dd>Put <code>fontSize</code> into <code>font-size</code> grob property. <p>Properties (read) <blockquote> <dl> <dt><code>fontSize</code> (number)<dd>The relative size of all grobs in a context. </dl> </blockquote> <br><dt><code><a href="Bar_005fengraver.de.html#Bar_005fengraver">Bar_engraver</a></code><dd>Create barlines. This engraver is controlled through the <code>whichBar</code> property. If it has no bar line to create, it will forbid a linebreak at this point. <p>Properties (read) <blockquote> <dl> <dt><code>whichBar</code> (string)<dd>This property is read to determine what type of bar line to create. <p>Example: <pre class="example"> \set Staff.whichBar = "|:" </pre> <p class="noindent">This will create a start-repeat bar in this staff only. Valid values are described in <a href="bar_002dline_002dinterface.de.html#bar_002dline_002dinterface">bar-line-interface</a>. </dl> </blockquote> Properties (write) <blockquote> <dl> <dt><code>forbidBreak</code> (boolean)<dd>If set to <code>##t</code>, prevent a line break at this point. </dl> </blockquote> <p>This engraver creates the following layout object(s): <p><a href="BarLine.de.html#BarLine">BarLine</a>. <br><dt><code><a href="Output_005fproperty_005fengraver.de.html#Output_005fproperty_005fengraver">Output_property_engraver</a></code><dd>Apply a procedure to any grob acknowledged. <p>Music types accepted: <p><a href="apply_002doutput_002devent.de.html#apply_002doutput_002devent">apply-output-event</a> </dl> </blockquote> <!-- footer_tag --><br><hr> <div class="node"> <p> Next: <a rel="next" accesskey="n" href="DrumVoice.de.html#DrumVoice">DrumVoice</a>, Previous: <a rel="previous" accesskey="p" href="Devnull.de.html#Devnull">Devnull</a>, Up: <a rel="up" accesskey="u" href="Contexts.de.html#Contexts">Contexts</a> </div> <div style="background-color: #e8ffe8; padding: 2; border: #c0ffc0 1px solid;"> <p> <font size="-1"> Diese Seite ist für LilyPond-2.11.57 (Entwicklungszweig). <br> <address> Fehler bitte an <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs</a> melden. </address> <br> Ihre <a href="http://lilypond.org/web/devel/participating/documentation-adding">Vorschläge für die Dokumentation</a> sind willkommen. </font> </p> </div> </BODY></html>