Sophie

Sophie

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

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>stem-interface - 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.fr.html#Top">
<link rel="up" href="Graphical-Object-Interfaces.fr.html#Graphical-Object-Interfaces" title="Graphical Object Interfaces">
<link rel="prev" href="stanza_002dnumber_002dinterface.fr.html#stanza_002dnumber_002dinterface" title="stanza-number-interface">
<link rel="next" href="stem_002dtremolo_002dinterface.fr.html#stem_002dtremolo_002dinterface" title="stem-tremolo-interface">
<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="stem-interface"></a>
<a name="stem_002dinterface"></a>
Next:&nbsp;<a rel="next" accesskey="n" href="stem_002dtremolo_002dinterface.fr.html#stem_002dtremolo_002dinterface">stem-tremolo-interface</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="stanza_002dnumber_002dinterface.fr.html#stanza_002dnumber_002dinterface">stanza-number-interface</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Graphical-Object-Interfaces.fr.html#Graphical-Object-Interfaces">Graphical Object Interfaces</a>
<hr>
</div>

<h4 class="unnumberedsubsec">stem-interface</h4>

<p>The stem represents the graphical stem.  In addition, it internally connects note heads, beams, and tremolos.  Rests and whole notes have invisible stems.

   <p>The following properties may be set in the <code>details</code> list.

     <dl>
<dt><code>beamed-lengths</code><dd>List of stem lengths given beam multiplicity. 
<br><dt><code>beamed-minimum-free-lengths</code><dd>List of normal minimum free stem lengths (chord to beams) given beam multiplicity. 
<br><dt><code>beamed-extreme-minimum-free-lengths</code><dd>List of extreme minimum free stem lengths (chord to beams) given beam multiplicity. 
<br><dt><code>lengths</code><dd>Default stem lengths.  The list gives a length for each flag count. 
<br><dt><code>stem-shorten</code><dd>How much a stem in a forced direction should be shortened.  The list gives an amount depending on the number of flags and beams. 
</dl>

<h5 class="unnumberedsubsubsec">User settable properties:</h5>

<blockquote>
          <dl>
<dt><code>avoid-note-head</code> (boolean)<dd>If set, the stem of a chord does not
pass through all note heads, but starts at the last note head. 
<br><dt><code>beaming</code> (pair)<dd>Pair of number lists.  Each number list
specifies which beams to make.  <code>0</code>&nbsp;is the central beam,
<code>1</code>&nbsp;is the next beam toward the note, etc.  This
information is used to determine how to connect the beaming patterns
from stem to stem inside a beam. 
<br><dt><code>default-direction</code> (direction)<dd>Direction determined by note head
positions. 
<br><dt><code>direction</code> (direction)<dd>If <code>side-axis</code> is <code>0</code> (or
<code>#X</code>), then this property determines whether the object is placed
<code>#LEFT</code>, <code>#CENTER</code> or <code>#RIGHT</code> with respect to the
other object.  Otherwise, it determines whether the object is placed
<code>#UP</code>, <code>#CENTER</code> or <code>#DOWN</code>.  Numerical values may also
be used: <code>#UP</code>=<code>1</code>, <code>#DOWN</code>=<code>-1</code>,
<code>#LEFT</code>=<code>-1</code>, <code>#RIGHT</code>=<code>1</code>, <code>#CENTER</code>=<code>0</code>. 
<br><dt><code>duration-log</code> (integer)<dd>The 2-log of the note head duration,
i.e., <code>0</code> = whole note, <code>1</code> = half note, etc. 
<br><dt><code>flag-style</code> (symbol)<dd>A string determining what style of flag
glyph is typeset on a <code>Stem</code>.  Valid options include <code>()</code>
and <code>mensural</code>.  Additionally, <code>no-flag</code> switches off the
flag. 
<br><dt><code>french-beaming</code> (boolean)<dd>Use French beaming style for this
stem.  The stem stops at the innermost beams. 
<br><dt><code>length</code> (dimension, in staff space)<dd>User override for the stem length of
unbeamed stems. 
<br><dt><code>length-fraction</code> (number)<dd>Multiplier for lengths.  Used for
determining ledger lines and stem lengths. 
<br><dt><code>max-beam-connect</code> (integer)<dd>Maximum number of beams to connect
to beams from this stem.  Further beams are typeset as beamlets. 
<br><dt><code>neutral-direction</code> (direction)<dd>Which direction to take in the
center of the staff. 
<br><dt><code>no-stem-extend</code> (boolean)<dd>If set, notes with ledger lines do not
get stems extending to the middle staff line. 
<br><dt><code>stem-end-position</code> (number)<dd>Where does the stem end (the end is
opposite to the support-head)? 
<br><dt><code>stemlet-length</code> (number)<dd>How long should a stem over a rest
be? 
<br><dt><code>stroke-style</code> (string)<dd>Set to <code>"grace"</code> to turn stroke
through flag on. 
<br><dt><code>thickness</code> (number)<dd>Line thickness, generally measured in
<code>line-thickness</code>. 
</dl>
</blockquote>

<h5 class="unnumberedsubsubsec">Internal properties:</h5>

<blockquote>
          <dl>
<dt><code>beam</code> (layout object)<dd>A pointer to the beam, if applicable. 
<br><dt><code>details</code> (list)<dd>Alist of parameters for detailed grob behavior.

          <p>More information on the allowed parameters can be found by inspecting
<samp><span class="file">lily/slur-scoring.cc</span></samp>, <samp><span class="file">lily/beam-quanting.cc</span></samp>, and
<samp><span class="file">lily/tie-formatting-problem.cc</span></samp>.  Setting <code>debug-tie-scoring</code>,
<code>debug-beam-scoring</code> or <code>debug-slur-scoring</code> also provides
useful clues. 
<br><dt><code>note-heads</code> (unknown)<dd>A list of note head grobs. 
<br><dt><code>positioning-done</code> (boolean)<dd>Used to signal that a positioning element
did its job.  This ensures that a positioning is only done once. 
<br><dt><code>rests</code> (unknown)<dd>A list of rest objects. 
<br><dt><code>stem-info</code> (pair)<dd>A cache of stem parameters. 
<br><dt><code>tremolo-flag</code> (layout object)<dd>The tremolo object on a stem. 
</dl>
</blockquote>

   <p>This grob interface is used in the following graphical object(s): <a href="Stem.fr.html#Stem">Stem</a>.

   <!-- footer_tag --><br><hr>
<div class="node">
<p>
<a name="stem_002dinterface"></a>
Next:&nbsp;<a rel="next" accesskey="n" href="stem_002dtremolo_002dinterface.fr.html#stem_002dtremolo_002dinterface">stem-tremolo-interface</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="stanza_002dnumber_002dinterface.fr.html#stanza_002dnumber_002dinterface">stanza-number-interface</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Graphical-Object-Interfaces.fr.html#Graphical-Object-Interfaces">Graphical Object Interfaces</a>
</div>

<div style="background-color: #e8ffe8; padding: 2; border: #c0ffc0 1px solid;">
<p>
<font size="-1">
Cette page documente LilyPond-2.11.57 (branche de développement).
<br>
<address>
Rapportez toute anomalie en français à <a href="mailto:lilypond-user-fr@gnu.org">lilypond-user-fr@gnu.org</a> ou en anglais à <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>
Vos <a href="http://lilypond.org/web/devel/participating/documentation-adding">suggestions à propos de la documentation</a> sont les bienvenues.
</font>
</p>
</div>

</BODY></html>