Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 3a7b4dfc766af1222d90c7f03a0844e6 > files > 3989

lilypond-doc-2.11.57-1mdv2009.0.i586.rpm

<!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.es.html#Top">
<link rel="up" href="Contexts.es.html#Contexts" title="Contexts">
<link rel="prev" href="Devnull.es.html#Devnull" title="Devnull">
<link rel="next" href="DrumVoice.es.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:&nbsp;<a rel="next" accesskey="n" href="DrumVoice.es.html#DrumVoice">DrumVoice</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Devnull.es.html#Devnull">Devnull</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Contexts.es.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.es.html#BarLine">BarLine</a>, <a href="BassFigureAlignmentPositioning.es.html#BassFigureAlignmentPositioning">BassFigureAlignmentPositioning</a>, <a href="BassFigureAlignment.es.html#BassFigureAlignment">BassFigureAlignment</a>, <a href="BassFigureBracket.es.html#BassFigureBracket">BassFigureBracket</a>, <a href="BassFigureContinuation.es.html#BassFigureContinuation">BassFigureContinuation</a>, <a href="BassFigureLine.es.html#BassFigureLine">BassFigureLine</a>, <a href="BassFigure.es.html#BassFigure">BassFigure</a>, <a href="Clef.es.html#Clef">Clef</a>, <a href="DotColumn.es.html#DotColumn">DotColumn</a>, <a href="InstrumentName.es.html#InstrumentName">InstrumentName</a>, <a href="LedgerLineSpanner.es.html#LedgerLineSpanner">LedgerLineSpanner</a>, <a href="NoteCollision.es.html#NoteCollision">NoteCollision</a>, <a href="OctavateEight.es.html#OctavateEight">OctavateEight</a>, <a href="RestCollision.es.html#RestCollision">RestCollision</a>, <a href="ScriptRow.es.html#ScriptRow">ScriptRow</a>, <a href="SostenutoPedalLineSpanner.es.html#SostenutoPedalLineSpanner">SostenutoPedalLineSpanner</a>, <a href="StaffSpacing.es.html#StaffSpacing">StaffSpacing</a>, <a href="StaffSymbol.es.html#StaffSymbol">StaffSymbol</a>, <a href="SustainPedalLineSpanner.es.html#SustainPedalLineSpanner">SustainPedalLineSpanner</a>, <a href="TimeSignature.es.html#TimeSignature">TimeSignature</a>, <a href="UnaCordaPedalLineSpanner.es.html#UnaCordaPedalLineSpanner">UnaCordaPedalLineSpanner</a> and <a href="VerticalAxisGroup.es.html#VerticalAxisGroup">VerticalAxisGroup</a>.

   <p>This context sets the following properties:

     <ul>
<li>Set grob-property <code>staff-padding</code> in <a href="Script.es.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.es.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.es.html#DrumVoice">DrumVoice</a> and <a href="CueVoice.es.html#CueVoice">CueVoice</a>.

   <p>This context is built from the following engraver(s):
<blockquote>
          <dl>
<dt><code><a href="Script_005frow_005fengraver.es.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.es.html#ScriptRow">ScriptRow</a>.

          <br><dt><code><a href="Figured_005fbass_005fposition_005fengraver.es.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.es.html#BassFigureAlignmentPositioning">BassFigureAlignmentPositioning</a>.

          <br><dt><code><a href="Figured_005fbass_005fengraver.es.html#Figured_005fbass_005fengraver">Figured_bass_engraver</a></code><dd>Make figured bass numbers.

          <p>Music types accepted:

          <p><a href="bass_002dfigure_002devent.es.html#bass_002dfigure_002devent">bass-figure-event</a> and <a href="rest_002devent.es.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.es.html#BassFigure">BassFigure</a>, <a href="BassFigureAlignment.es.html#BassFigureAlignment">BassFigureAlignment</a>, <a href="BassFigureBracket.es.html#BassFigureBracket">BassFigureBracket</a>, <a href="BassFigureContinuation.es.html#BassFigureContinuation">BassFigureContinuation</a> and <a href="BassFigureLine.es.html#BassFigureLine">BassFigureLine</a>.

          <br><dt><code><a href="Axis_005fgroup_005fengraver.es.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.es.html#VerticalAxisGroup">VerticalAxisGroup</a>.

          <br><dt><code><a href="Instrument_005fname_005fengraver.es.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.es.html#InstrumentName">InstrumentName</a>.

          <br><dt><code><a href="Piano_005fpedal_005falign_005fengraver.es.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.es.html#SostenutoPedalLineSpanner">SostenutoPedalLineSpanner</a>, <a href="SustainPedalLineSpanner.es.html#SustainPedalLineSpanner">SustainPedalLineSpanner</a> and <a href="UnaCordaPedalLineSpanner.es.html#UnaCordaPedalLineSpanner">UnaCordaPedalLineSpanner</a>.

          <br><dt><code><a href="Rest_005fcollision_005fengraver.es.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.es.html#RestCollision">RestCollision</a>.

          <br><dt><code><a href="Collision_005fengraver.es.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.es.html#NoteCollision">NoteCollision</a>.

          <br><dt><code><a href="Staff_005fsymbol_005fengraver.es.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.es.html#staff_002dspan_002devent">staff-span-event</a>

          <p>This engraver creates the following layout object(s):

          <p><a href="StaffSymbol.es.html#StaffSymbol">StaffSymbol</a>.

          <br><dt><code><a href="Ledger_005fline_005fengraver.es.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.es.html#LedgerLineSpanner">LedgerLineSpanner</a>.

          <br><dt><code><a href="Time_005fsignature_005fengraver.es.html#Time_005fsignature_005fengraver">Time_signature_engraver</a></code><dd>Create a <a href="TimeSignature.es.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.es.html#TimeSignature">TimeSignature</a>.

          <br><dt><code><a href="Clef_005fengraver.es.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>&lsquo;<samp><span class="samp">break-visibility</span></samp>&rsquo;
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.es.html#Clef">Clef</a> and <a href="OctavateEight.es.html#OctavateEight">OctavateEight</a>.

          <br><dt><code><a href="Staff_005fcollecting_005fengraver.es.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.es.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.es.html#DotColumn">DotColumn</a>.

          <br><dt><code><a href="Separating_005fline_005fgroup_005fengraver.es.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.es.html#StaffSpacing">StaffSpacing</a>.

          <br><dt><code><a href="Font_005fsize_005fengraver.es.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.es.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.es.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.es.html#BarLine">BarLine</a>.

          <br><dt><code><a href="Output_005fproperty_005fengraver.es.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.es.html#apply_002doutput_002devent">apply-output-event</a>

        </dl>
</blockquote>

   <!-- footer_tag --><br><hr>
<div class="node">
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="DrumVoice.es.html#DrumVoice">DrumVoice</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Devnull.es.html#Devnull">Devnull</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Contexts.es.html#Contexts">Contexts</a>
</div>

<div style="background-color: #e8ffe8; padding: 2; border: #c0ffc0 1px solid;">
<p>
<font size="-1">
Esta página corresponde a LilyPond-2.11.57 (rama de desarrollo).
<br>
<address>
Informe de los fallos a través de la lista en español <a href="http://es.groups.yahoo.com/group/lilypond-es/">lilypond-es</a>, o en inglés a través de <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>. </address>
<br>
Se agradecen las <a href="http://lilypond.org/web/devel/participating/documentation-adding">sugerencias para la documentación</a>.
</font>
</p>
</div>

</BODY></html>