Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > ffe16b32b9f5eec0add70c0a6bc8cec8 > files > 10222

lilypond-doc-2.12.2-3mdv2009.1.i586.rpm

<!-- header_tag -->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html>
<!-- Created on January 20, 2009 by texi2html 1.79
texi2html was written by: 
            Lionel Cons <Lionel.Cons@cern.ch> (original author)
            Karl Berry  <karl@freefriends.org>
            Olaf Bachmann <obachman@mathematik.uni-kl.de>
            and many others.
Maintained by: Many creative people.
Send bugs and suggestions to <texi2html-bug@nongnu.org>
-->
<head>
<title>LilyPond snippets: Pitches</title>

<meta name="description" content="LilyPond snippets: Pitches">
<meta name="keywords" content="LilyPond snippets: Pitches">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2html 1.79">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="GNU LilyPond &mdash; Snippets List">
<link href="index_toc.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="index_abt.html#SEC_About" rel="help" title="About This Document">
<link href="index.html#Top" rel="up" title="GNU LilyPond &mdash; Snippets List">
<link href="Templates.html#Templates" rel="next" title="Vocal ensemble template">
<link href="index.html#Top" rel="previous" title="GNU LilyPond &mdash; Snippets List">
<link rel="stylesheet" type="text/css" title="Patrick McCarty's design" href="../../../Documentation/user/lilypond-mccarty.css">
<link rel="alternate stylesheet" type="text/css" href="../../../Documentation/user/lilypond.css" title="Andrew Hawryluk's design">
<link rel="alternate stylesheet" type="text/css" href="../../../Documentation/user/lilypond-blue.css" title="Kurt Kroon's blue design">
<!--[if lte IE 7]>
<link href="../../../Documentation/user/lilypond-ie-fixes.css" rel="stylesheet" type="text/css">
<![endif]-->


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">


<div id="main">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="index.html#Top" title="Beginning of this chapter or previous chapter"> &lt;&lt; Top&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="index.html#Top" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; Top&nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="index.html#Top" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Top&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<a name="Pitches"></a>
<h1 class="unnumbered">Pitches</h1>

<p>These snippets illustrate the Notation Reference,
section <a href="../../../Documentation/user/lilypond/Pitches.html#Pitches">Pitches</a>.
</p>

<a name="adding-ambitus-per-voice.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Adding ambitus per voice</h2>

<p>Ambitus can be added per voice. In this case, the ambitus must be moved
manually to prevent collisions. 
</p>

<pre class="verbatim">\new Staff &lt;&lt;
  \new Voice \with {
    \consists &quot;Ambitus_engraver&quot;
  } \relative c'' {
    \override Ambitus #'X-offset = #2.0
    \voiceOne
    c4 a d e
    f1
  }
  \new Voice \with {
    \consists &quot;Ambitus_engraver&quot;
  } \relative c' {
    \voiceTwo
    es4 f g as
    b1
  }
&gt;&gt;
</pre><p>
 <a href="../48/lily-a63bfbc0.ly">
  <img align="middle"
       border="0"
       src="../48/lily-a63bfbc0.png"
       alt="[image of music]">
 </a>
</p>




<a name="ambitus-with-multiple-voices.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Ambitus with multiple voices</h2>

<p>Adding the <code>Ambitus_engraver</code> to the <code>Staff</code> context creates
a single ambitus per staff, even in the case of staves with multiple
voices. 
</p>

<pre class="verbatim">\new Staff \with {
  \consists &quot;Ambitus_engraver&quot;
  }
&lt;&lt;
  \new Voice \relative c'' {
    \voiceOne
    c4 a d e
    f1
  }
  \new Voice \relative c' {
    \voiceTwo
    es4 f g as
    b1
  }
&gt;&gt;

</pre><p>
 <a href="../28/lily-07290b1f.ly">
  <img align="middle"
       border="0"
       src="../28/lily-07290b1f.png"
       alt="[image of music]">
 </a>
</p>




<a name="ambitus.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Ambitus</h2>

<p>Ambitus indicate pitch ranges for voices.
</p>

<p>Accidentals only show up if they are not part of the key signature. 
<code>AmbitusNoteHead</code> grobs also have ledger lines. 
</p>

<pre class="verbatim">\layout {
  \context {
    \Voice
    \consists &quot;Ambitus_engraver&quot;
  }
}

&lt;&lt;
  \new Staff {
    \relative c' {
      \time 2/4
      c4 f'
    }
  }
  \new Staff {
    \relative c' {
      \time  2/4
      \key d \major
      cis4 as'
    }
  }
&gt;&gt;
</pre><p>
 <a href="../3c/lily-544d05fe.ly">
  <img align="middle"
       border="0"
       src="../3c/lily-544d05fe.png"
       alt="[image of music]">
 </a>
</p>




<a name="applying-note-head-styles-depending-on-the-step-of-the-scale.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Applying note head styles depending on the step of the scale</h2>

<p>The <code>shapeNoteStyles</code> property can be used to define various note
head styles for each step of the scale (as set by the key signature or
the &quot;tonic&quot; property). This property requires a set of symbols, which
can be purely arbitrary (geometrical expressions such as
<code>triangle</code>, <code>cross</code>, and <code>xcircle</code> are allowed) or based
on old American engraving tradition (some latin note names are also
allowed).
</p>
<p>That said, to imitate old American song books, there are several
predefined note head styles available through shortcut commands such as
<code>\aikenHeads</code> or <code>\sacredHarpHeads</code>.
</p>
<p>This example shows different ways to obtain shape note heads, and
demonstrates the ability to transpose a melody without losing the
correspondence between harmonic functions and note head styles. 
</p>

<pre class="verbatim">fragment = {
  \key c \major
  c2 d
  e2 f
  g2 a
  b2 c
}

\score {
  \new Staff {
    \transpose c d 
    \relative c' {
      \set shapeNoteStyles = #'#(do re mi fa
                                 #f la ti)
      \fragment
    }

    \break

    \relative c' {
      \set shapeNoteStyles  = #'#(cross triangle fa #f
                                  mensural xcircle diamond)
      \fragment
    }
  }
  \layout { ragged-right = ##t }
}
</pre><p>
 <a href="../1c/lily-071fb6ae.ly">
  <img align="middle"
       border="0"
       src="../1c/lily-071fb6ae.png"
       alt="[image of music]">
 </a>
</p>




<a name="coloring-notes-depending-on-their-pitch.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Coloring notes depending on their pitch</h2>

<p>It is possible to color note heads depending on their pitch and/or their names:
the function used in this example even makes it possible to distinguish enharmonics.
</p>
<pre class="verbatim">%Association list of pitches to colors.
#(define color-mapping
  (list
    (cons (ly:make-pitch 0 0 0) (x11-color 'red))
    (cons (ly:make-pitch 0 0 1/2) (x11-color 'green))
    (cons (ly:make-pitch 0 1 -1/2) (x11-color 'green))
    (cons (ly:make-pitch 0 2 0) (x11-color 'red))
    (cons (ly:make-pitch 0 2 1/2) (x11-color 'green))
    (cons (ly:make-pitch 0 3 -1/2) (x11-color 'red))
    (cons (ly:make-pitch 0 3 0) (x11-color 'green))
    (cons (ly:make-pitch 0 4 1/2) (x11-color 'red))
    (cons (ly:make-pitch 0 5 0) (x11-color 'green))
    (cons (ly:make-pitch 0 5 -1/2) (x11-color 'red))
    (cons (ly:make-pitch 0 6 1/2) (x11-color 'red))
    (cons (ly:make-pitch 0 1 0) (x11-color 'blue))
    (cons (ly:make-pitch 0 3 1/2) (x11-color 'blue))
    (cons (ly:make-pitch 0 4 -1/2) (x11-color 'blue))
    (cons (ly:make-pitch 0 5 1/2) (x11-color 'blue))
    (cons (ly:make-pitch 0 6 -1/2) (x11-color 'blue))
    ))

%Compare pitch and alteration (not octave).
#(define (pitch-equals? p1 p2)
  (and
    (= (ly:pitch-alteration p1) (ly:pitch-alteration p2))
    (= (ly:pitch-notename p1) (ly:pitch-notename p2))))

#(define (pitch-to-color pitch)
  (let ((color (assoc pitch color-mapping pitch-equals?)))
    (if color
      (cdr color))))

#(define (color-notehead grob)
  (pitch-to-color
    (ly:event-property (ly:grob-property grob 'cause) 'pitch)))

\score {
  \new Staff \relative c' {
    \override NoteHead #'color = #color-notehead
    c8 b d dis ees f g aes
  }
}
</pre><p>
 <a href="../ff/lily-913ce24f.ly">
  <img align="middle"
       border="0"
       src="../ff/lily-913ce24f.png"
       alt="[image of music]">
 </a>
</p>




<a name="creating-a-sequence-of-notes-on-various-pitches.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Creating a sequence of notes on various pitches</h2>

<p>In music that contains many occurrences of the same sequence of notes
at different pitches, the following music function may prove useful. 
It takes a note, of which only the pitch is used.  The supporting
Scheme functions were borrowed from the &quot;Tips and tricks&quot; document in
the manual for version 2.10.   This example creates the rhythm used
throughout Mars, from Gustav Holst&rsquo;s The Planets. 
</p>

<pre class="verbatim">#(define (make-note-req p d)
  (make-music 'NoteEvent
   'duration d
   'pitch p))

#(define (make-note p d)
  (make-music 'EventChord
   'elements (list (make-note-req p d))))

#(define (seq-music-list elts)
  (make-music 'SequentialMusic
   'elements elts))

#(define (make-triplet elt)
  (make-music 'TimeScaledMusic
   'denominator 3
   'numerator 2
   'element elt))


rhythm =
#(define-music-function (parser location note) (ly:music?)
  &quot;Make the rhythm in Mars (the Planets) at the given note's pitch&quot;
  (let ((p (ly:music-property
              (car (ly:music-property note 'elements))
              'pitch)))
  (seq-music-list (list
    (make-triplet (seq-music-list (list
      (make-note p (ly:make-duration 3 0 2 3))
      (make-note p (ly:make-duration 3 0 2 3))
      (make-note p (ly:make-duration 3 0 2 3))
    )))
    (make-note p (ly:make-duration 2 0))
    (make-note p (ly:make-duration 2 0))
    (make-note p (ly:make-duration 3 0))
    (make-note p (ly:make-duration 3 0))
    (make-note p (ly:make-duration 2 0))
  ))))

\new Staff {
  \time 5/4
  \rhythm c'
  \rhythm c''
  \rhythm g
}
</pre><p>
 <a href="../2d/lily-1a8e685b.ly">
  <img align="middle"
       border="0"
       src="../2d/lily-1a8e685b.png"
       alt="[image of music]">
 </a>
</p>




<a name="dodecaphonic-style-accidentals-for-each-note-including-naturals.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Dodecaphonic-style accidentals for each note including naturals</h2>
<p>In early 20th century works, starting with Schoenberg,
Berg and Webern (the &quot;Second&quot; Viennese school), every pitch in the
twelve-tone scale has to be regarded as equal, without any hierarchy
such as the classical (tonal) degrees.  Therefore, these composers
print one accidental for each note, even at natural pitches, to
emphasize their new approach to music theory and language.
</p>
<p>This snippet shows how to achieve such notation rules. 
</p>
<pre class="verbatim">\score {
  \new Staff {
    #(set-accidental-style 'dodecaphonic)
    c'4 dis' cis' cis'
    c'4 dis' cis' cis'
    c'4 c' dis' des'
  }
  \layout {
    \context {
      \Staff
      \remove &quot;Key_engraver&quot;
    }
  }
}
</pre><p>
 <a href="../c9/lily-0a586a92.ly">
  <img align="middle"
       border="0"
       src="../c9/lily-0a586a92.png"
       alt="[image of music]">
 </a>
</p>




<a name="generating-random-notes.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Generating random notes</h2>

<p>This Scheme-based snippet generates 24 random notes (or as many as
required), based on the current time (or any randomish number specified
instead, in order to obtain the same random notes each time): i.e., to
get different random note patterns, just change this number.
</p>

<pre class="verbatim">\score {
  { #(let ((random-state (seed-&gt;random-state (current-time))))
    (ly:export
     (make-music 'SequentialMusic 'elements
      (map (lambda x
           (let ((idx (random 12 random-state)))
            (make-music 'EventChord
             'elements (list (make-music 'NoteEvent
                              'duration (ly:make-duration 2 0 1 1)
                              'pitch (ly:make-pitch (quotient idx 7)
                                      (remainder idx 7)
                                      0))))))
       (make-list 24)))))
  }
}
</pre><p>
 <a href="../e6/lily-83d903d8.ly">
  <img align="middle"
       border="0"
       src="../e6/lily-83d903d8.png"
       alt="[image of music]">
 </a>
</p>




<a name="makam-example.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Makam example</h2>
<p>Makam is a type of melody from Turkey using 1/9th-tone
microtonal alterations.  Consult the initialization file
<code>makam.ly</code> (see the &lsquo;Learning Manual 2.12.2,
4.6.3 Other sources of information&rsquo; for the location of this file)
for details of pitch names and alterations.
</p><pre class="verbatim">% Initialize makam settings
\include &quot;makam.ly&quot;

\relative c' {
  \set Staff.keySignature = #`((3 . ,BAKIYE) (6 . ,(- KOMA)))
  c4 cc db fk
  gbm4 gfc gfb efk
  fk4 db cc c
}
</pre><p>
 <a href="../17/lily-7f10781e.ly">
  <img align="middle"
       border="0"
       src="../17/lily-7f10781e.png"
       alt="[image of music]">
 </a>
</p>




<a name="non-traditional-key-signatures.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Non-traditional key signatures</h2>

<p>The commonly used <code>\key</code> command sets the <code>keySignature</code>
property, in the <code>Staff</code> context.
</p>
<p>To create non-standard key signatures, set this property directly. The
format of this command is a list:
</p>
<p><code> \set Staff.keySignature = #`(((octave . step) . alter) ((octave
. step) . alter) ...) </code> where, for each element in the list,
<code>octave</code> specifies the octave (0 being the octave from middle C to
the B above), <code>step</code> specifies the note within the octave (0 means
C and 6 means B), and <code>alter</code> is <code>,SHARP ,FLAT ,DOUBLE-SHARP</code>
etc. (Note the leading comma.) The accidentals in the key signature
will appear in the reverse order to that in which they are specified.
</p>

<p>Alternatively, for each item in the list, using the more concise format
<code>(step . alter)</code> specifies that the same alteration should hold in
all octaves.
</p>

<p>For microtonal scales where a &quot;sharp&quot; is not 100 cents, <code>alter</code>
refers to the alteration as a proportion of a 200-cent whole tone.
</p>

<p>Here is an example of a possible key signature for generating a
whole-tone scale: 
</p>

<pre class="verbatim">\relative c' {
  \set Staff.keySignature = #`(((0 . 3) . ,SHARP)
                               ((0 . 5) . ,FLAT)
                               ((0 . 6) . ,FLAT))
  c4 d e fis
  aes4 bes c2
}
</pre><p>
 <a href="../16/lily-01f358a1.ly">
  <img align="middle"
       border="0"
       src="../16/lily-01f358a1.png"
       alt="[image of music]">
 </a>
</p>




<a name="ottava-text.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Ottava text</h2>

<p>Internally, <code>\ottava</code> sets the properties <code>ottavation</code>
(for example, to <code>&quot;8va&quot;</code> or <code>&quot;8vb&quot;</code>) and
<code>middleCPosition</code>.  To override the text of the bracket, set
<code>ottavation</code> after invoking <code>\ottava</code>.
</p>
<pre class="verbatim">{
  \ottava #1
  \set Staff.ottavation = #&quot;8&quot;
  c''1
  \ottava #0
  c'1
  \ottava #1
  \set Staff.ottavation = #&quot;Text&quot;
  c''1
}
</pre><p>
 <a href="../ce/lily-9cba0d25.ly">
  <img align="middle"
       border="0"
       src="../ce/lily-9cba0d25.png"
       alt="[image of music]">
 </a>
</p>




<a name="preventing-extra-naturals-from-being-automatically-added.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Preventing extra naturals from being automatically added</h2>

<p>In accordance with standard typesetting rules, a natural sign is
printed before a sharp or flat if a previous accidental on the same
note needs to be canceled.  To change this behavior, set the
<code>extraNatural</code> property to &quot;false&quot; in the <code>Staff</code> context.
</p>



<pre class="verbatim">\relative c'' {
  aeses4 aes ais a
  \set Staff.extraNatural = ##f
  aeses4 aes ais a
}
</pre><p>
 <a href="../8b/lily-a3261063.ly">
  <img align="middle"
       border="0"
       src="../8b/lily-a3261063.png"
       alt="[image of music]">
 </a>
</p>




<a name="preventing-natural-signs-from-being-printed-when-the-key-signature-changes.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Preventing natural signs from being printed when the key signature changes</h2>

<p>When the key signature changes, natural signs are automatically printed
to cancel any accidentals from previous key signatures.  This may be
prevented by setting to &quot;false&quot; the <code>printKeyCancellation</code>
property in the <code>Staff</code> context. 
</p>

<pre class="verbatim">\relative c' {
  \key d \major
  a4 b cis d
  \key g \minor
  a4 bes c d
  \set Staff.printKeyCancellation = ##f
  \key d \major
  a4 b cis d
  \key g \minor
  a4 bes c d
}
</pre><p>
 <a href="../9a/lily-0862c8b3.ly">
  <img align="middle"
       border="0"
       src="../9a/lily-0862c8b3.png"
       alt="[image of music]">
 </a>
</p>




<a name="quoting-another-voice-with-transposition.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Quoting another voice with transposition</h2>
<p>Quotations take into account the transposition of both
source and target.  In this example, all instruments play sounding
middle C; the target is an instrument in F.  The target part may be
transposed using <code>\transpose</code>.  In this case, all the pitches
(including the quoted ones) are transposed.
</p>
<pre class="verbatim">\addQuote clarinet {
  \transposition bes
  \repeat unfold 8 { d'16 d' d'8 }
}

\addQuote sax {
  \transposition es'
  \repeat unfold 16 { a8 }
}

quoteTest = {
  % french horn
  \transposition f
  g'4
  &lt;&lt; \quoteDuring #&quot;clarinet&quot; { \skip 4 } s4^&quot;clar.&quot; &gt;&gt;
  &lt;&lt; \quoteDuring #&quot;sax&quot; { \skip 4 } s4^&quot;sax.&quot; &gt;&gt;
  g'4
}

{
  \set Staff.instrumentName =
    \markup {
      \center-column { Horn \line { in F } }
    }
  \quoteTest
  \transpose c' d' &lt;&lt; \quoteTest s4_&quot;up a tone&quot; &gt;&gt;
}
</pre><p>
 <a href="../da/lily-4b41bfbe.ly">
  <img align="middle"
       border="0"
       src="../da/lily-4b41bfbe.png"
       alt="[image of music]">
 </a>
</p>




<a name="transposing-pitches-with-minimum-accidentals-smart-transpose.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="#Pitches" title="Next section in reading order" accesskey="n" rel="next">&nbsp; &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Transposing music with minimum accidentals</h2>
<p>This example uses some Scheme code to enforce enharmonic
modifications for notes in order to have the minimum number of
accidentals.  In this case, the following rules apply:
</p>
<ul>
<li>
Double accidentals should be removed

</li><li>
B sharp -&gt; C

</li><li>
E sharp -&gt; F

</li><li>
C flat -&gt; B

</li><li>
F flat -&gt; E

</li></ul>

<p>In this manner, the most natural enharmonic notes are chosen.
</p>
<pre class="verbatim">#(define  (naturalize-pitch p)
  (let* ((o (ly:pitch-octave p))
         (a (* 4 (ly:pitch-alteration p)))
         ; alteration, a, in quarter tone steps,
         ; for historical reasons
         (n (ly:pitch-notename p)))
    (cond
     ((and (&gt; a 1) (or (eq? n 6) (eq? n 2)))
      (set! a (- a 2))
      (set! n (+ n 1)))
     ((and (&lt; a -1) (or (eq? n 0) (eq? n 3)))
      (set! a (+ a 2))
      (set! n (- n 1))))
    (cond
     ((&gt; a 2) (set! a (- a 4)) (set! n (+ n 1)))
     ((&lt; a -2) (set! a (+ a 4)) (set! n (- n 1))))
    (if (&lt; n 0) (begin (set! o (- o 1)) (set! n (+ n 7))))
    (if (&gt; n 6) (begin (set! o (+ o 1)) (set! n (- n 7))))
    (ly:make-pitch o n (/ a 4))))

#(define (naturalize music)
  (let* ((es (ly:music-property music 'elements))
         (e (ly:music-property music 'element))
         (p (ly:music-property music 'pitch)))
    (if (pair? es)
       (ly:music-set-property!
         music 'elements
         (map (lambda (x) (naturalize x)) es)))
    (if (ly:music? e)
       (ly:music-set-property!
         music 'element
         (naturalize e)))
    (if (ly:pitch? p)
       (begin
         (set! p (naturalize-pitch p))
         (ly:music-set-property! music 'pitch p)))
    music))

naturalizeMusic =
#(define-music-function (parser location m)
  (ly:music?)
  (naturalize m))

music = \relative c' { c4 d e g }

\score {
  \new Staff {
    \transpose c ais { \music }
    \naturalizeMusic \transpose c ais { \music }
    \transpose c deses { \music }
    \naturalizeMusic \transpose c deses { \music }
  }
  \layout { }
}
</pre><p>
 <a href="../a0/lily-4b0e9943.ly">
  <img align="middle"
       border="0"
       src="../a0/lily-4b0e9943.png"
       alt="[image of music]">
 </a>
</p>




<a name="tweaking-clef-properties.ly"></a>
<hr size="6">
<a name="Pitches"></a>
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="Rhythms.html#Rhythms" title="Next section in reading order" accesskey="n" rel="next">&nbsp;Rhythms &gt; </a>]</td></tr></table>
<h2 class="unnumberedsec">Tweaking clef properties</h2>

<p>The command <code>\clef &quot;treble_8&quot;</code> is equivalent to setting
<code>clefGlyph</code>, <code>clefPosition</code> (which controls the vertical
position of the clef), <code>middleCPosition</code> and
<code>clefOctavation</code>. A clef is printed when any of the properties
except <code>middleCPosition</code> are changed.
</p>

<p>Note that changing the glyph, the position of the clef, or the
octavation does not in itself change the position of subsequent notes
on the staff: the position of middle C must also be specified to do
this. The positional parameters are relative to the staff center line,
positive numbers displacing upwards, counting one for each line and
space. The <code>clefOctavation</code> value would normally be set to 7, -7,
15 or -15, but other values are valid.
</p>

<p>When a clef change takes place at a line break the new clef symbol is
printed at both the end of the previous line and the beginning of the
new line by default. If the warning clef at the end of the previous
line is not required it can be suppressed by setting the <code>Staff</code>
property <code>explicitClefVisibility</code> to the value
<code>end-of-line-invisible</code>. The default behavior can be recovered
with  <code>\unset Staff.explicitClefVisibility</code>.
</p>
<p>The following examples show the possibilities when setting these
properties manually. On the first line, the manual changes preserve the
standard relative positioning of clefs and notes, whereas on the second
line, they do not. 
</p>

<pre class="verbatim">\layout { ragged-right = ##t }

{
  % The default treble clef
  c'1
  % The standard bass clef
  \set Staff.clefGlyph = #&quot;clefs.F&quot;
  \set Staff.clefPosition = #2
  \set Staff.middleCPosition = #6
  c'1
  % The baritone clef
  \set Staff.clefGlyph = #&quot;clefs.C&quot;
  \set Staff.clefPosition = #4
  \set Staff.middleCPosition = #4
  c'1
  % The standard choral tenor clef
  \set Staff.clefGlyph = #&quot;clefs.G&quot;
  \set Staff.clefPosition = #-2
  \set Staff.clefOctavation = #-7
  \set Staff.middleCPosition = #1
  c'1
  % A non-standard clef
  \set Staff.clefPosition = #0
  \set Staff.clefOctavation = #0
  \set Staff.middleCPosition = #-4
  c'1 \break

  % The following clef changes do not preserve
  % the normal relationship between notes and clefs:

  \set Staff.clefGlyph = #&quot;clefs.F&quot;
  \set Staff.clefPosition = #2
  c'1
  \set Staff.clefGlyph = #&quot;clefs.G&quot;
  c'1
  \set Staff.clefGlyph = #&quot;clefs.C&quot;
  c'1
  \set Staff.clefOctavation = #7
  c'1
  \set Staff.clefOctavation = #0
  \set Staff.clefPosition = #0
  c'1
  
  % Return to the normal clef:

  \set Staff.middleCPosition = #0
  c'1
}
</pre><p>
 <a href="../91/lily-38ee9433.ly">
  <img align="middle"
       border="0"
       src="../91/lily-38ee9433.png"
       alt="[image of music]">
 </a>
</p>




<hr size="6">
<table class="nav_table">
<tr><td valign="middle" align="left" colspan="1">[<a href="#Pitches" title="Beginning of this chapter or previous chapter"> &lt;&lt; Pitches&nbsp;</a>]</td><td valign="middle" align="center" colspan="3">[<a href="index.html#Top" title="Cover (top) of document" rel="start">Top</a>][<a href="index_toc.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][Index][<a href="index_abt.html#SEC_About" title="About (help)" rel="help"> ? </a>]</td><td valign="middle" align="right" colspan="1">[<a href="Rhythms.html#Rhythms" title="Next chapter">&nbsp;Rhythms &gt;&gt; </a>]</td></tr><tr><td valign="middle" align="left" colspan="2">[<a href="#Pitches" title="Previous section in reading order" accesskey="p" rel="previous"> &lt; &nbsp;</a>]</td><td valign="middle" align="center" colspan="1">[<a href="#Pitches" title="Up section" accesskey="u" rel="up">&nbsp; Up :&nbsp;Pitches&nbsp;</a>]</td><td valign="middle" align="right" colspan="2">[<a href="Rhythms.html#Rhythms" title="Next section in reading order" accesskey="n" rel="next">&nbsp;Rhythms &gt; </a>]</td></tr></table>
<!-- footer_tag -->
<div class="footer">
<p class="footer_version">
This page is for LilyPond-2.12.2 (stable-branch).
</p>
<p class="footer_report">
Your <a href="http://lilypond.org/web/devel/participating/documentation-adding">suggestions for the documentation</a> are welcome, please report errors to our <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">bug list</a>.
</p>
</div>


<!-- FOOTER -->

<!-- end div#main here -->
</div>



<div id="tocframe">
<p class="toc_uplink"><a href="../index.html" 
         title="Documentation Index">&lt;&lt; Back to Documentation Index</a></p>
<h4 class="toc_header"> <a href="index.html#Top" title="Start of the manual">Snippets List</a></h4>
<div class="contents">
<ul class="toc">
  <li class="toc_current"><a name="toc-Pitches-1" href="Pitches.html#Pitches">Pitches</a>
  <ul class="toc">
    <li class="toc_current"><a name="toc-Adding-ambitus-per-voice-1" href="Pitches.html#Pitches">Adding ambitus per voice</a>    </li>
    <li class="toc_current"><a name="toc-Ambitus-with-multiple-voices-1" href="Pitches.html#Pitches">Ambitus with multiple voices</a>    </li>
    <li class="toc_current"><a name="toc-Ambitus-1" href="Pitches.html#Pitches">Ambitus</a>    </li>
    <li class="toc_current"><a name="toc-Applying-note-head-styles-depending-on-the-step-of-the-scale" href="Pitches.html#Pitches">Applying note head styles depending on the step of the scale</a>    </li>
    <li class="toc_current"><a name="toc-Coloring-notes-depending-on-their-pitch-1" href="Pitches.html#Pitches">Coloring notes depending on their pitch</a>    </li>
    <li class="toc_current"><a name="toc-Creating-a-sequence-of-notes-on-various-pitches" href="Pitches.html#Pitches">Creating a sequence of notes on various pitches</a>    </li>
    <li class="toc_current"><a name="toc-Dodecaphonic_002dstyle-accidentals-for-each-note-including-naturals" href="Pitches.html#Pitches">Dodecaphonic-style accidentals for each note including naturals</a>    </li>
    <li class="toc_current"><a name="toc-Generating-random-notes" href="Pitches.html#Pitches">Generating random notes</a>    </li>
    <li class="toc_current"><a name="toc-Makam-example-1" href="Pitches.html#Pitches">Makam example</a>    </li>
    <li class="toc_current"><a name="toc-Non_002dtraditional-key-signatures" href="Pitches.html#Pitches">Non-traditional key signatures</a>    </li>
    <li class="toc_current"><a name="toc-Ottava-text-1" href="Pitches.html#Pitches">Ottava text</a>    </li>
    <li class="toc_current"><a name="toc-Preventing-extra-naturals-from-being-automatically-added" href="Pitches.html#Pitches">Preventing extra naturals from being automatically added</a>    </li>
    <li class="toc_current"><a name="toc-Preventing-natural-signs-from-being-printed-when-the-key-signature-changes" href="Pitches.html#Pitches">Preventing natural signs from being printed when the key signature changes</a>    </li>
    <li class="toc_current"><a name="toc-Quoting-another-voice-with-transposition" href="Pitches.html#Pitches">Quoting another voice with transposition</a>    </li>
    <li class="toc_current"><a name="toc-Transposing-music-with-minimum-accidentals" href="Pitches.html#Pitches">Transposing music with minimum accidentals</a>    </li>
    <li class="toc_current"><a name="toc-Tweaking-clef-properties-1" href="Pitches.html#Pitches">Tweaking clef properties</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Rhythms-1" href="Rhythms.html#Rhythms">Rhythms</a>
  <ul class="toc">
    <li><a name="toc-Adding-beams_002c-slurs_002c-ties-etc_002e-when-using-tuplet-and-non_002dtuplet-rythms_002e-1" href="Rhythms.html#Rhythms">Adding beams, slurs, ties etc. when using tuplet and non-tuplet rythms.</a>    </li>
    <li><a name="toc-Adding-drum-parts-1" href="Rhythms.html#Rhythms">Adding drum parts</a>    </li>
    <li><a name="toc-Automatic-beam-subdivisions" href="Rhythms.html#Rhythms">Automatic beam subdivisions</a>    </li>
    <li><a name="toc-Automatic-beams-two-per-two-in-4_002f4-or-2_002f2-time-signature" href="Rhythms.html#Rhythms">Automatic beams two per two in 4/4 or 2/2 time signature</a>    </li>
    <li><a name="toc-Avoiding-collisions-with-chord-fingerings-1" href="Rhythms.html#Rhythms">Avoiding collisions with chord fingerings</a>    </li>
    <li><a name="toc-Beam-endings-in-Score-context" href="Rhythms.html#Rhythms">Beam endings in Score context</a>    </li>
    <li><a name="toc-Beam-grouping-in-7_002f8-time" href="Rhythms.html#Rhythms">Beam grouping in 7/8 time</a>    </li>
    <li><a name="toc-Beams-across-line-breaks" href="Rhythms.html#Rhythms">Beams across line breaks</a>    </li>
    <li><a name="toc-Changing-beam-knee-gap" href="Rhythms.html#Rhythms">Changing beam knee gap</a>    </li>
    <li><a name="toc-Changing-form-of-multi_002dmeasure-rests-1" href="Rhythms.html#Rhythms">Changing form of multi-measure rests</a>    </li>
    <li><a name="toc-Changing-text-and-spanner-styles-for-text-dynamics" href="Rhythms.html#Rhythms">Changing text and spanner styles for text dynamics</a>    </li>
    <li><a name="toc-Changing-the-time-signature-without-affecting-the-beaming" href="Rhythms.html#Rhythms">Changing the time signature without affecting the beaming</a>    </li>
    <li><a name="toc-Changing-the-tuplet-number" href="Rhythms.html#Rhythms">Changing the tuplet number</a>    </li>
    <li><a name="toc-Changing-time-signatures-inside-a-polymetric-section-using-_005cscaleDurations" href="Rhythms.html#Rhythms">Changing time signatures inside a polymetric section using <code>\scaleDurations</code></a>    </li>
    <li><a name="toc-Chant-or-psalms-notation-2" href="Rhythms.html#Rhythms">Chant or psalms notation</a>    </li>
    <li><a name="toc-Compound-time-signatures" href="Rhythms.html#Rhythms">Compound time signatures</a>    </li>
    <li><a name="toc-Conducting-signs_002c-measure-grouping-signs" href="Rhythms.html#Rhythms">Conducting signs, measure grouping signs</a>    </li>
    <li><a name="toc-Controlling-tuplet-bracket-visibility-1" href="Rhythms.html#Rhythms">Controlling tuplet bracket visibility</a>    </li>
    <li><a name="toc-Engraving-ties-manually" href="Rhythms.html#Rhythms">Engraving ties manually</a>    </li>
    <li><a name="toc-Entering-several-tuplets-using-only-one-_005ctimes-command" href="Rhythms.html#Rhythms">Entering several tuplets using only one \times command</a>    </li>
    <li><a name="toc-Flat-flags-and-beam-nibs" href="Rhythms.html#Rhythms">Flat flags and beam nibs</a>    </li>
    <li><a name="toc-Forcing-rehearsal-marks-to-start-from-a-given-letter-or-number" href="Rhythms.html#Rhythms">Forcing rehearsal marks to start from a given letter or number</a>    </li>
    <li><a name="toc-Grouping-beats" href="Rhythms.html#Rhythms">Grouping beats</a>    </li>
    <li><a name="toc-Guitar-strum-rhythms" href="Rhythms.html#Rhythms">Guitar strum rhythms</a>    </li>
    <li><a name="toc-Heavily-customized-polymetric-time-signatures" href="Rhythms.html#Rhythms">Heavily customized polymetric time signatures</a>    </li>
    <li><a name="toc-Making-an-object-invisible-with-the-transparent-property-1" href="Rhythms.html#Rhythms">Making an object invisible with the transparent property</a>    </li>
    <li><a name="toc-Manually-controlling-beam-positions" href="Rhythms.html#Rhythms">Manually controlling beam positions</a>    </li>
    <li><a name="toc-Merging-multi_002dmeasure-rests-in-a-polyphonic-part" href="Rhythms.html#Rhythms">Merging multi-measure rests in a polyphonic part</a>    </li>
    <li><a name="toc-Modifying-tuplet-bracket-length" href="Rhythms.html#Rhythms">Modifying tuplet bracket length</a>    </li>
    <li><a name="toc-Multi_002dmeasure-rest-markup-1" href="Rhythms.html#Rhythms">Multi-measure rest markup</a>    </li>
    <li><a name="toc-Permitting-line-breaks-within-beamed-tuplets" href="Rhythms.html#Rhythms">Permitting line breaks within beamed tuplets</a>    </li>
    <li><a name="toc-Positioning-multi_002dmeasure-rests" href="Rhythms.html#Rhythms">Positioning multi-measure rests</a>    </li>
    <li><a name="toc-Printing-metronome-and-rehearsal-marks-below-the-staff-2" href="Rhythms.html#Rhythms">Printing metronome and rehearsal marks below the staff</a>    </li>
    <li><a name="toc-Printing-music-with-different-time-signatures" href="Rhythms.html#Rhythms">Printing music with different time signatures</a>    </li>
    <li><a name="toc-Rest-styles-2" href="Rhythms.html#Rhythms">Rest styles</a>    </li>
    <li><a name="toc-Reverting-default-beam-endings" href="Rhythms.html#Rhythms">Reverting default beam endings</a>    </li>
    <li><a name="toc-Rhythmic-slashes" href="Rhythms.html#Rhythms">Rhythmic slashes</a>    </li>
    <li><a name="toc-Skips-in-lyric-mode-_00282_0029" href="Rhythms.html#Rhythms">Skips in lyric mode (2)</a>    </li>
    <li><a name="toc-Skips-in-lyric-mode" href="Rhythms.html#Rhythms">Skips in lyric mode</a>    </li>
    <li><a name="toc-Specifying-context-with-beatGrouping" href="Rhythms.html#Rhythms">Specifying context with beatGrouping</a>    </li>
    <li><a name="toc-Stemlets" href="Rhythms.html#Rhythms">Stemlets</a>    </li>
    <li><a name="toc-Sub_002ddividing-beams" href="Rhythms.html#Rhythms">Sub-dividing beams</a>    </li>
    <li><a name="toc-Three_002dsided-box" href="Rhythms.html#Rhythms">Three-sided box</a>    </li>
    <li><a name="toc-Using-beatLength-and-beatGrouping" href="Rhythms.html#Rhythms">Using beatLength and beatGrouping</a>    </li>
    <li><a name="toc-Using-ties-with-arpeggios" href="Rhythms.html#Rhythms">Using ties with arpeggios</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Expressive-marks-1" href="Expressive-marks.html#Expressive-marks">Expressive marks</a>
  <ul class="toc">
    <li><a name="toc-Adding-beams_002c-slurs_002c-ties-etc_002e-when-using-tuplet-and-non_002dtuplet-rythms_002e" href="Expressive-marks.html#Expressive-marks">Adding beams, slurs, ties etc. when using tuplet and non-tuplet rythms.</a>    </li>
    <li><a name="toc-Adding-parentheses-around-an-expressive-mark-or-chordal-note" href="Expressive-marks.html#Expressive-marks">Adding parentheses around an expressive mark or chordal note</a>    </li>
    <li><a name="toc-Adjusting-the-shape-of-falls-and-doits" href="Expressive-marks.html#Expressive-marks">Adjusting the shape of falls and doits</a>    </li>
    <li><a name="toc-Breathing-signs" href="Expressive-marks.html#Expressive-marks">Breathing signs</a>    </li>
    <li><a name="toc-Broken-crescendo-hairpin" href="Expressive-marks.html#Expressive-marks">Broken crescendo hairpin</a>    </li>
    <li><a name="toc-Caesura-_0028_0022railtracks_0022_0029-with-fermata-1" href="Expressive-marks.html#Expressive-marks">Caesura (&quot;railtracks&quot;) with fermata</a>    </li>
    <li><a name="toc-Center-text-below-hairpin-dynamics" href="Expressive-marks.html#Expressive-marks">Center text below hairpin dynamics</a>    </li>
    <li><a name="toc-Changing-_005cflageolet-mark-size-1" href="Expressive-marks.html#Expressive-marks">Changing \flageolet mark size</a>    </li>
    <li><a name="toc-Changing-text-and-spanner-styles-for-text-dynamics-1" href="Expressive-marks.html#Expressive-marks">Changing text and spanner styles for text dynamics</a>    </li>
    <li><a name="toc-Changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed-1" href="Expressive-marks.html#Expressive-marks">Changing the appearance of a slur from solid to dotted or dashed</a>    </li>
    <li><a name="toc-Changing-the-breath-mark-symbol" href="Expressive-marks.html#Expressive-marks">Changing the breath mark symbol</a>    </li>
    <li><a name="toc-Combining-dynamics-with-markup-texts" href="Expressive-marks.html#Expressive-marks">Combining dynamics with markup texts</a>    </li>
    <li><a name="toc-Contemporary-glissando" href="Expressive-marks.html#Expressive-marks">Contemporary glissando</a>    </li>
    <li><a name="toc-Controlling-the-vertical-ordering-of-scripts" href="Expressive-marks.html#Expressive-marks">Controlling the vertical ordering of scripts</a>    </li>
    <li><a name="toc-Creating-a-delayed-turn-2" href="Expressive-marks.html#Expressive-marks">Creating a delayed turn</a>    </li>
    <li><a name="toc-Creating-arpeggios-across-notes-in-different-voices" href="Expressive-marks.html#Expressive-marks">Creating arpeggios across notes in different voices</a>    </li>
    <li><a name="toc-Creating-cross_002dstaff-arpeggios-in-a-piano-staff" href="Expressive-marks.html#Expressive-marks">Creating cross-staff arpeggios in a piano staff</a>    </li>
    <li><a name="toc-Creating-cross_002dstaff-arpeggios-in-other-contexts" href="Expressive-marks.html#Expressive-marks">Creating cross-staff arpeggios in other contexts</a>    </li>
    <li><a name="toc-Creating-_0022real_0022-parenthesized-dynamics" href="Expressive-marks.html#Expressive-marks">Creating &quot;real&quot; parenthesized dynamics</a>    </li>
    <li><a name="toc-Creating-simultaneous-rehearsal-marks" href="Expressive-marks.html#Expressive-marks">Creating simultaneous rehearsal marks</a>    </li>
    <li><a name="toc-Creating-slurs-across-voices-2" href="Expressive-marks.html#Expressive-marks">Creating slurs across voices</a>    </li>
    <li><a name="toc-Creating-text-spanners-1" href="Expressive-marks.html#Expressive-marks">Creating text spanners</a>    </li>
    <li><a name="toc-Double-glissando" href="Expressive-marks.html#Expressive-marks">Double glissando</a>    </li>
    <li><a name="toc-Hiding-the-extender-line-for-text-dynamics" href="Expressive-marks.html#Expressive-marks">Hiding the extender line for text dynamics</a>    </li>
    <li><a name="toc-Horizontally-aligning-custom-dynamics-_0028e_002eg_002e-_0022sempre-pp_0022_002c-_0022piu-f_0022_002c-_0022subito-p_0022_0029" href="Expressive-marks.html#Expressive-marks">Horizontally aligning custom dynamics (e.g. &quot;sempre pp&quot;, &quot;piu f&quot;, &quot;subito p&quot;)</a>    </li>
    <li><a name="toc-Inserting-a-caesura" href="Expressive-marks.html#Expressive-marks">Inserting a caesura</a>    </li>
    <li><a name="toc-Laissez-vibrer-ties-1" href="Expressive-marks.html#Expressive-marks">Laissez vibrer ties</a>    </li>
    <li><a name="toc-Line-arrows" href="Expressive-marks.html#Expressive-marks">Line arrows</a>    </li>
    <li><a name="toc-Modifying-default-values-for-articulation-shorthand-notation" href="Expressive-marks.html#Expressive-marks">Modifying default values for articulation shorthand notation</a>    </li>
    <li><a name="toc-Piano-template-with-centered-dynamics-1" href="Expressive-marks.html#Expressive-marks">Piano template with centered dynamics</a>    </li>
    <li><a name="toc-Positioning-text-markups-inside-slurs-1" href="Expressive-marks.html#Expressive-marks">Positioning text markups inside slurs</a>    </li>
    <li><a name="toc-Printing-hairpins-using-al-niente-notation" href="Expressive-marks.html#Expressive-marks">Printing hairpins using al niente notation</a>    </li>
    <li><a name="toc-Printing-metronome-and-rehearsal-marks-below-the-staff" href="Expressive-marks.html#Expressive-marks">Printing metronome and rehearsal marks below the staff</a>    </li>
    <li><a name="toc-Setting-hairpin-behavior-at-bar-lines" href="Expressive-marks.html#Expressive-marks">Setting hairpin behavior at bar lines</a>    </li>
    <li><a name="toc-Setting-the-minimum-length-of-hairpins" href="Expressive-marks.html#Expressive-marks">Setting the minimum length of hairpins</a>    </li>
    <li><a name="toc-Snap_002dpizzicato-markup-_0028_0022Bartok-pizzicato_0022_0029" href="Expressive-marks.html#Expressive-marks">Snap-pizzicato markup (&quot;Bartok pizzicato&quot;)</a>    </li>
    <li><a name="toc-Using-double-slurs-for-legato-chords" href="Expressive-marks.html#Expressive-marks">Using double slurs for legato chords</a>    </li>
    <li><a name="toc-Vertically-aligning-dynamics-across-multiple-notes" href="Expressive-marks.html#Expressive-marks">Vertically aligning dynamics across multiple notes</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Repeats-1" href="Repeats.html#Repeats">Repeats</a>
  <ul class="toc">
    <li><a name="toc-Adding-volta-brackets-to-additional-staves" href="Repeats.html#Repeats">Adding volta brackets to additional staves</a>    </li>
    <li><a name="toc-Isolated-percent-repeats" href="Repeats.html#Repeats">Isolated percent repeats</a>    </li>
    <li><a name="toc-Measure-counter-1" href="Repeats.html#Repeats">Measure counter</a>    </li>
    <li><a name="toc-Percent-repeat-count-visibility-1" href="Repeats.html#Repeats">Percent repeat count visibility</a>    </li>
    <li><a name="toc-Percent-repeat-counter" href="Repeats.html#Repeats">Percent repeat counter</a>    </li>
    <li><a name="toc-Positioning-segno-and-coda-_0028with-line-break_0029" href="Repeats.html#Repeats">Positioning segno and coda (with line break)</a>    </li>
    <li><a name="toc-Printing-a-repeat-sign-at-the-beginning-of-a-piece-1" href="Repeats.html#Repeats">Printing a repeat sign at the beginning of a piece</a>    </li>
    <li><a name="toc-Shortening-volta-brackets" href="Repeats.html#Repeats">Shortening volta brackets</a>    </li>
    <li><a name="toc-Volta-under-chords-2" href="Repeats.html#Repeats">Volta under chords</a>    </li>
    <li><a name="toc-Volta-multi_002dstaff-1" href="Repeats.html#Repeats">Volta multi-staff</a>    </li>
    <li><a name="toc-Volta-text-markup-using-repeatCommands" href="Repeats.html#Repeats">Volta text markup using <code>repeatCommands</code></a>    </li>
  </ul>
  </li>
  <li><a name="toc-Simultaneous-notes-1" href="Simultaneous-notes.html#Simultaneous-notes">Simultaneous notes</a>
  <ul class="toc">
    <li><a name="toc-Additional-voices-to-avoid-collisions" href="Simultaneous-notes.html#Simultaneous-notes">Additional voices to avoid collisions</a>    </li>
    <li><a name="toc-Changing-a-single-note_0027s-size-in-a-chord-2" href="Simultaneous-notes.html#Simultaneous-notes">Changing a single note&rsquo;s size in a chord</a>    </li>
    <li><a name="toc-Changing-partcombine-texts" href="Simultaneous-notes.html#Simultaneous-notes">Changing partcombine texts</a>    </li>
    <li><a name="toc-Clusters" href="Simultaneous-notes.html#Simultaneous-notes">Clusters</a>    </li>
    <li><a name="toc-Combining-two-parts-on-the-same-staff-1" href="Simultaneous-notes.html#Simultaneous-notes">Combining two parts on the same staff</a>    </li>
    <li><a name="toc-Displaying-complex-chords-1" href="Simultaneous-notes.html#Simultaneous-notes">Displaying complex chords</a>    </li>
    <li><a name="toc-Double-glissando-1" href="Simultaneous-notes.html#Simultaneous-notes">Double glissando</a>    </li>
    <li><a name="toc-Forcing-horizontal-shift-of-notes-1" href="Simultaneous-notes.html#Simultaneous-notes">Forcing horizontal shift of notes</a>    </li>
    <li><a name="toc-Suppressing-warnings-for-clashing-note-columns" href="Simultaneous-notes.html#Simultaneous-notes">Suppressing warnings for clashing note columns</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Staff-notation-1" href="Staff-notation.html#Staff-notation">Staff notation</a>
  <ul class="toc">
    <li><a name="toc-Adding-ambitus-per-voice-2" href="Staff-notation.html#Staff-notation">Adding ambitus per voice</a>    </li>
    <li><a name="toc-Adding-an-extra-staff-at-a-line-break" href="Staff-notation.html#Staff-notation">Adding an extra staff at a line break</a>    </li>
    <li><a name="toc-Adding-an-extra-staff-1" href="Staff-notation.html#Staff-notation">Adding an extra staff</a>    </li>
    <li><a name="toc-Changing-the-number-of-lines-in-a-staff" href="Staff-notation.html#Staff-notation">Changing the number of lines in a staff</a>    </li>
    <li><a name="toc-Changing-the-staff-size-1" href="Staff-notation.html#Staff-notation">Changing the staff size</a>    </li>
    <li><a name="toc-Changing-the-tempo-without-a-metronome-mark" href="Staff-notation.html#Staff-notation">Changing the tempo without a metronome mark</a>    </li>
    <li><a name="toc-Creating-blank-staves-2" href="Staff-notation.html#Staff-notation">Creating blank staves</a>    </li>
    <li><a name="toc-Creating-metronome-marks-in-markup-mode" href="Staff-notation.html#Staff-notation">Creating metronome marks in markup mode</a>    </li>
    <li><a name="toc-Display-bracket-with-only-one-staff-in-a-system-1" href="Staff-notation.html#Staff-notation">Display bracket with only one staff in a system</a>    </li>
    <li><a name="toc-Incipit" href="Staff-notation.html#Staff-notation">Incipit</a>    </li>
    <li><a name="toc-Inserting-score-fragments-above-a-staff_002c-as-markups" href="Staff-notation.html#Staff-notation">Inserting score fragments above a staff, as markups</a>    </li>
    <li><a name="toc-Letter-tablature-formatting-1" href="Staff-notation.html#Staff-notation">Letter tablature formatting</a>    </li>
    <li><a name="toc-Making-some-staff-lines-thicker-than-the-others-1" href="Staff-notation.html#Staff-notation">Making some staff lines thicker than the others</a>    </li>
    <li><a name="toc-Measure-counter" href="Staff-notation.html#Staff-notation">Measure counter</a>    </li>
    <li><a name="toc-Mensurstriche-layout-_0028bar-lines-between-the-staves_0029" href="Staff-notation.html#Staff-notation">Mensurstriche layout (bar lines between the staves)</a>    </li>
    <li><a name="toc-Modern-TAB-text-clef-1" href="Staff-notation.html#Staff-notation">Modern TAB text clef</a>    </li>
    <li><a name="toc-Nesting-staves-1" href="Staff-notation.html#Staff-notation">Nesting staves</a>    </li>
    <li><a name="toc-Non_002dtraditional-key-signatures-1" href="Staff-notation.html#Staff-notation">Non-traditional key signatures</a>    </li>
    <li><a name="toc-Printing-metronome-and-rehearsal-marks-below-the-staff-1" href="Staff-notation.html#Staff-notation">Printing metronome and rehearsal marks below the staff</a>    </li>
    <li><a name="toc-Quoting-another-voice-with-transposition-1" href="Staff-notation.html#Staff-notation">Quoting another voice with transposition</a>    </li>
    <li><a name="toc-Quoting-another-voice" href="Staff-notation.html#Staff-notation">Quoting another voice</a>    </li>
    <li><a name="toc-Removing-the-first-empty-line-1" href="Staff-notation.html#Staff-notation">Removing the first empty line</a>    </li>
    <li><a name="toc-Tick-bar-lines" href="Staff-notation.html#Staff-notation">Tick bar lines</a>    </li>
    <li><a name="toc-Time-signature-in-parentheses" href="Staff-notation.html#Staff-notation">Time signature in parentheses</a>    </li>
    <li><a name="toc-Tweaking-clef-properties-2" href="Staff-notation.html#Staff-notation">Tweaking clef properties</a>    </li>
    <li><a name="toc-Use-square-bracket-at-the-start-of-a-staff-group" href="Staff-notation.html#Staff-notation">Use square bracket at the start of a staff group</a>    </li>
    <li><a name="toc-Volta-under-chords-1" href="Staff-notation.html#Staff-notation">Volta under chords</a>    </li>
    <li><a name="toc-Volta-multi_002dstaff" href="Staff-notation.html#Staff-notation">Volta multi-staff</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Editorial-annotations-1" href="Editorial-annotations.html#Editorial-annotations">Editorial annotations</a>
  <ul class="toc">
    <li><a name="toc-Adding-fingerings-to-a-score-1" href="Editorial-annotations.html#Editorial-annotations">Adding fingerings to a score</a>    </li>
    <li><a name="toc-Allowing-fingerings-to-be-printed-inside-the-staff-2" href="Editorial-annotations.html#Editorial-annotations">Allowing fingerings to be printed inside the staff</a>    </li>
    <li><a name="toc-Analysis-brackets-above-the-staff-1" href="Editorial-annotations.html#Editorial-annotations">Analysis brackets above the staff</a>    </li>
    <li><a name="toc-Applying-note-head-styles-depending-on-the-step-of-the-scale-1" href="Editorial-annotations.html#Editorial-annotations">Applying note head styles depending on the step of the scale</a>    </li>
    <li><a name="toc-Avoiding-collisions-with-chord-fingerings-2" href="Editorial-annotations.html#Editorial-annotations">Avoiding collisions with chord fingerings</a>    </li>
    <li><a name="toc-Blanking-staff-lines-using-the-_005cwhiteout-command" href="Editorial-annotations.html#Editorial-annotations">Blanking staff lines using the \whiteout command</a>    </li>
    <li><a name="toc-Changing-a-single-note_0027s-size-in-a-chord-1" href="Editorial-annotations.html#Editorial-annotations">Changing a single note&rsquo;s size in a chord</a>    </li>
    <li><a name="toc-Changing-the-appearance-of-a-slur-from-solid-to-dotted-or-dashed" href="Editorial-annotations.html#Editorial-annotations">Changing the appearance of a slur from solid to dotted or dashed</a>    </li>
    <li><a name="toc-Coloring-notes-depending-on-their-pitch" href="Editorial-annotations.html#Editorial-annotations">Coloring notes depending on their pitch</a>    </li>
    <li><a name="toc-Controlling-the-placement-of-chord-fingerings-3" href="Editorial-annotations.html#Editorial-annotations">Controlling the placement of chord fingerings</a>    </li>
    <li><a name="toc-Creating-a-delayed-turn-1" href="Editorial-annotations.html#Editorial-annotations">Creating a delayed turn</a>    </li>
    <li><a name="toc-Creating-blank-staves-3" href="Editorial-annotations.html#Editorial-annotations">Creating blank staves</a>    </li>
    <li><a name="toc-Default-direction-of-stems-on-the-center-line-of-the-staff" href="Editorial-annotations.html#Editorial-annotations">Default direction of stems on the center line of the staff</a>    </li>
    <li><a name="toc-Embedding-native-PostScript-in-a-_005cmarkup-block" href="Editorial-annotations.html#Editorial-annotations">Embedding native PostScript in a \markup block</a>    </li>
    <li><a name="toc-Grid-lines_003a-changing-their-appearance" href="Editorial-annotations.html#Editorial-annotations">Grid lines: changing their appearance</a>    </li>
    <li><a name="toc-Grid-lines_003a-emphasizing-rhythms-and-notes-synchronization" href="Editorial-annotations.html#Editorial-annotations">Grid lines: emphasizing rhythms and notes synchronization</a>    </li>
    <li><a name="toc-Making-some-staff-lines-thicker-than-the-others" href="Editorial-annotations.html#Editorial-annotations">Making some staff lines thicker than the others</a>    </li>
    <li><a name="toc-Marking-notes-of-spoken-parts-with-a-cross-on-the-stem-1" href="Editorial-annotations.html#Editorial-annotations">Marking notes of spoken parts with a cross on the stem</a>    </li>
    <li><a name="toc-Measure-counter-2" href="Editorial-annotations.html#Editorial-annotations">Measure counter</a>    </li>
    <li><a name="toc-Positioning-text-markups-inside-slurs" href="Editorial-annotations.html#Editorial-annotations">Positioning text markups inside slurs</a>    </li>
    <li><a name="toc-Using-PostScript-to-generate-special-note-head-shapes-1" href="Editorial-annotations.html#Editorial-annotations">Using PostScript to generate special note head shapes</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Text-1" href="Text.html#Text">Text</a>
  <ul class="toc">
    <li><a name="toc-Adjusting-lyrics-vertical-spacing-2" href="Text.html#Text">Adjusting lyrics vertical spacing</a>    </li>
    <li><a name="toc-Aligning-and-centering-instrument-names-1" href="Text.html#Text">Aligning and centering instrument names</a>    </li>
    <li><a name="toc-Aligning-marks-with-various-notation-objects" href="Text.html#Text">Aligning marks with various notation objects</a>    </li>
    <li><a name="toc-Blanking-staff-lines-using-the-_005cwhiteout-command-1" href="Text.html#Text">Blanking staff lines using the \whiteout command</a>    </li>
    <li><a name="toc-Center-text-below-hairpin-dynamics-1" href="Text.html#Text">Center text below hairpin dynamics</a>    </li>
    <li><a name="toc-Changing-the-default-text-font-family-1" href="Text.html#Text">Changing the default text font family</a>    </li>
    <li><a name="toc-Combining-dynamics-with-markup-texts-1" href="Text.html#Text">Combining dynamics with markup texts</a>    </li>
    <li><a name="toc-Combining-two-parts-on-the-same-staff" href="Text.html#Text">Combining two parts on the same staff</a>    </li>
    <li><a name="toc-Creating-_0022real_0022-parenthesized-dynamics-1" href="Text.html#Text">Creating &quot;real&quot; parenthesized dynamics</a>    </li>
    <li><a name="toc-Creating-simultaneous-rehearsal-marks-1" href="Text.html#Text">Creating simultaneous rehearsal marks</a>    </li>
    <li><a name="toc-Creating-text-spanners-2" href="Text.html#Text">Creating text spanners</a>    </li>
    <li><a name="toc-Demonstrating-all-headers-1" href="Text.html#Text">Demonstrating all headers</a>    </li>
    <li><a name="toc-Embedding-native-PostScript-in-a-_005cmarkup-block-1" href="Text.html#Text">Embedding native PostScript in a \markup block</a>    </li>
    <li><a name="toc-Formatting-lyrics-syllables-1" href="Text.html#Text">Formatting lyrics syllables</a>    </li>
    <li><a name="toc-How-to-put-ties-between-syllables-in-lyrics" href="Text.html#Text">How to put ties between syllables in lyrics</a>    </li>
    <li><a name="toc-Lyrics-alignment-1" href="Text.html#Text">Lyrics alignment</a>    </li>
    <li><a name="toc-Markup-lines" href="Text.html#Text">Markup lines</a>    </li>
    <li><a name="toc-Multi_002dmeasure-rest-markup" href="Text.html#Text">Multi-measure rest markup</a>    </li>
    <li><a name="toc-Ottava-text" href="Text.html#Text">Ottava text</a>    </li>
    <li><a name="toc-Outputting-the-version-number" href="Text.html#Text">Outputting the version number</a>    </li>
    <li><a name="toc-Piano-template-with-centered-lyrics-1" href="Text.html#Text">Piano template with centered lyrics</a>    </li>
    <li><a name="toc-Printing-marks-at-the-end-of-a-line-or-a-score" href="Text.html#Text">Printing marks at the end of a line or a score</a>    </li>
    <li><a name="toc-Printing-marks-on-every-staff" href="Text.html#Text">Printing marks on every staff</a>    </li>
    <li><a name="toc-Stand_002dalone-two_002dcolumn-markup" href="Text.html#Text">Stand-alone two-column markup</a>    </li>
    <li><a name="toc-Three_002dsided-box-1" href="Text.html#Text">Three-sided box</a>    </li>
    <li><a name="toc-UTF_002d8" href="Text.html#Text">UTF-8</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves-1" href="Text.html#Text">Vocal ensemble template with lyrics aligned below and above the staves</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Vocal-music-1" href="Vocal-music.html#Vocal-music">Vocal music</a>
  <ul class="toc">
    <li><a name="toc-Adding-ambitus-per-voice" href="Vocal-music.html#Vocal-music">Adding ambitus per voice</a>    </li>
    <li><a name="toc-Adjusting-lyrics-vertical-spacing" href="Vocal-music.html#Vocal-music">Adjusting lyrics vertical spacing</a>    </li>
    <li><a name="toc-Ambitus-with-multiple-voices" href="Vocal-music.html#Vocal-music">Ambitus with multiple voices</a>    </li>
    <li><a name="toc-Ambitus" href="Vocal-music.html#Vocal-music">Ambitus</a>    </li>
    <li><a name="toc-Changing-stanza-fonts" href="Vocal-music.html#Vocal-music">Changing stanza fonts</a>    </li>
    <li><a name="toc-Chant-or-psalms-notation-3" href="Vocal-music.html#Vocal-music">Chant or psalms notation</a>    </li>
    <li><a name="toc-Formatting-lyrics-syllables" href="Vocal-music.html#Vocal-music">Formatting lyrics syllables</a>    </li>
    <li><a name="toc-How-to-put-ties-between-syllables-in-lyrics-1" href="Vocal-music.html#Vocal-music">How to put ties between syllables in lyrics</a>    </li>
    <li><a name="toc-Lyrics-alignment" href="Vocal-music.html#Vocal-music">Lyrics alignment</a>    </li>
    <li><a name="toc-Marking-notes-of-spoken-parts-with-a-cross-on-the-stem" href="Vocal-music.html#Vocal-music">Marking notes of spoken parts with a cross on the stem</a>    </li>
    <li><a name="toc-Piano-template-with-melody-and-lyrics-1" href="Vocal-music.html#Vocal-music">Piano template with melody and lyrics</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes_002c-lyrics_002c-and-chords-1" href="Vocal-music.html#Vocal-music">Single staff template with notes, lyrics, and chords</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes_002c-lyrics_002c-chords-and-frets" href="Vocal-music.html#Vocal-music">Single staff template with notes, lyrics, chords and frets</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes-and-lyrics" href="Vocal-music.html#Vocal-music">Single staff template with notes and lyrics</a>    </li>
    <li><a name="toc-Skips-in-lyric-mode-_00282_0029-1" href="Vocal-music.html#Vocal-music">Skips in lyric mode (2)</a>    </li>
    <li><a name="toc-Skips-in-lyric-mode-1" href="Vocal-music.html#Vocal-music">Skips in lyric mode</a>    </li>
    <li><a name="toc-Vertically-aligning-ossias-and-lyrics" href="Vocal-music.html#Vocal-music">Vertically aligning ossias and lyrics</a>    </li>
    <li><a name="toc-Vertically-centered-common-lyrics" href="Vocal-music.html#Vocal-music">Vertically centered common lyrics</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-with-automatic-piano-reduction-1" href="Vocal-music.html#Vocal-music">Vocal ensemble template with automatic piano reduction</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves-2" href="Vocal-music.html#Vocal-music">Vocal ensemble template with lyrics aligned below and above the staves</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-1" href="Vocal-music.html#Vocal-music">Vocal ensemble template</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Chords-1" href="Chords.html#Chords">Chords</a>
  <ul class="toc">
    <li><a name="toc-Adding-a-figured-bass-above-or-below-the-notes-2" href="Chords.html#Chords">Adding a figured bass above or below the notes</a>    </li>
    <li><a name="toc-Adding-bar-lines-to-ChordNames-context" href="Chords.html#Chords">Adding bar lines to ChordNames context</a>    </li>
    <li><a name="toc-Avoiding-collisions-with-chord-fingerings-3" href="Chords.html#Chords">Avoiding collisions with chord fingerings</a>    </li>
    <li><a name="toc-Changing-chord-separator" href="Chords.html#Chords">Changing chord separator</a>    </li>
    <li><a name="toc-Changing-the-chord-names-to-German-or-semi_002dGerman-notation" href="Chords.html#Chords">Changing the chord names to German or semi-German notation</a>    </li>
    <li><a name="toc-Changing-the-positions-of-figured-bass-alterations" href="Chords.html#Chords">Changing the positions of figured bass alterations</a>    </li>
    <li><a name="toc-Chord-name-exceptions" href="Chords.html#Chords">Chord name exceptions</a>    </li>
    <li><a name="toc-chord-name-major7" href="Chords.html#Chords">chord name major7</a>    </li>
    <li><a name="toc-Clusters-1" href="Chords.html#Chords">Clusters</a>    </li>
    <li><a name="toc-Controlling-the-placement-of-chord-fingerings" href="Chords.html#Chords">Controlling the placement of chord fingerings</a>    </li>
    <li><a name="toc-Displaying-complex-chords" href="Chords.html#Chords">Displaying complex chords</a>    </li>
    <li><a name="toc-Manually-break-figured-bass-extenders-for-only-some-numbers" href="Chords.html#Chords">Manually break figured bass extenders for only some numbers</a>    </li>
    <li><a name="toc-Showing-chords-at-changes" href="Chords.html#Chords">Showing chords at changes</a>    </li>
    <li><a name="toc-Simple-lead-sheet" href="Chords.html#Chords">Simple lead sheet</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes_002c-lyrics_002c-and-chords" href="Chords.html#Chords">Single staff template with notes, lyrics, and chords</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes_002c-lyrics_002c-chords-and-frets-2" href="Chords.html#Chords">Single staff template with notes, lyrics, chords and frets</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes-and-chords-1" href="Chords.html#Chords">Single staff template with notes and chords</a>    </li>
    <li><a name="toc-Volta-under-chords" href="Chords.html#Chords">Volta under chords</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Keyboards-1" href="Keyboards.html#Keyboards">Keyboards</a>
  <ul class="toc">
    <li><a name="toc-Accordion_002ddiscant-symbols" href="Keyboards.html#Keyboards">Accordion-discant symbols</a>    </li>
    <li><a name="toc-Clusters-2" href="Keyboards.html#Keyboards">Clusters</a>    </li>
    <li><a name="toc-Controlling-the-placement-of-chord-fingerings-2" href="Keyboards.html#Keyboards">Controlling the placement of chord fingerings</a>    </li>
    <li><a name="toc-Creating-slurs-across-voices" href="Keyboards.html#Keyboards">Creating slurs across voices</a>    </li>
    <li><a name="toc-Fine_002dtuning-pedal-brackets-1" href="Keyboards.html#Keyboards">Fine-tuning pedal brackets</a>    </li>
    <li><a name="toc-Indicating-cross_002dstaff-chords-with-arpeggio-bracket" href="Keyboards.html#Keyboards">Indicating cross-staff chords with arpeggio bracket</a>    </li>
    <li><a name="toc-Jazz-combo-template-3" href="Keyboards.html#Keyboards">Jazz combo template</a>    </li>
    <li><a name="toc-Laissez-vibrer-ties-2" href="Keyboards.html#Keyboards">Laissez vibrer ties</a>    </li>
    <li><a name="toc-Piano-template-_0028simple_0029" href="Keyboards.html#Keyboards">Piano template (simple)</a>    </li>
    <li><a name="toc-Piano-template-with-centered-dynamics-2" href="Keyboards.html#Keyboards">Piano template with centered dynamics</a>    </li>
    <li><a name="toc-Piano-template-with-centered-lyrics-2" href="Keyboards.html#Keyboards">Piano template with centered lyrics</a>    </li>
    <li><a name="toc-Piano-template-with-melody-and-lyrics-2" href="Keyboards.html#Keyboards">Piano template with melody and lyrics</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-with-automatic-piano-reduction-2" href="Keyboards.html#Keyboards">Vocal ensemble template with automatic piano reduction</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Percussion-1" href="Percussion.html#Percussion">Percussion</a>
  <ul class="toc">
    <li><a name="toc-Adding-drum-parts" href="Percussion.html#Percussion">Adding drum parts</a>    </li>
    <li><a name="toc-Heavily-customized-polymetric-time-signatures-1" href="Percussion.html#Percussion">Heavily customized polymetric time signatures</a>    </li>
    <li><a name="toc-Jazz-combo-template-1" href="Percussion.html#Percussion">Jazz combo template</a>    </li>
    <li><a name="toc-Percussion-beaters" href="Percussion.html#Percussion">Percussion beaters</a>    </li>
    <li><a name="toc-Printing-music-with-different-time-signatures-1" href="Percussion.html#Percussion">Printing music with different time signatures</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Fretted-strings-1" href="Fretted-strings.html#Fretted-strings">Fretted strings</a>
  <ul class="toc">
    <li><a name="toc-Adding-fingerings-to-a-score" href="Fretted-strings.html#Fretted-strings">Adding fingerings to a score</a>    </li>
    <li><a name="toc-Adding-fingerings-to-tablatures" href="Fretted-strings.html#Fretted-strings">Adding fingerings to tablatures</a>    </li>
    <li><a name="toc-Allowing-fingerings-to-be-printed-inside-the-staff-1" href="Fretted-strings.html#Fretted-strings">Allowing fingerings to be printed inside the staff</a>    </li>
    <li><a name="toc-Controlling-the-placement-of-chord-fingerings-1" href="Fretted-strings.html#Fretted-strings">Controlling the placement of chord fingerings</a>    </li>
    <li><a name="toc-Customizing-fretboard-fret-diagrams" href="Fretted-strings.html#Fretted-strings">Customizing fretboard fret diagrams</a>    </li>
    <li><a name="toc-Customizing-markup-fret-diagrams-1" href="Fretted-strings.html#Fretted-strings">Customizing markup fret diagrams</a>    </li>
    <li><a name="toc-Defining-predefined-fretboards-for-other-instruments" href="Fretted-strings.html#Fretted-strings">Defining predefined fretboards for other instruments</a>    </li>
    <li><a name="toc-Faking-a-hammer-in-tablatures" href="Fretted-strings.html#Fretted-strings">Faking a hammer in tablatures</a>    </li>
    <li><a name="toc-Fingerings_002c-string-indications_002c-and-right_002dhand-fingerings" href="Fretted-strings.html#Fretted-strings">Fingerings, string indications, and right-hand fingerings</a>    </li>
    <li><a name="toc-Flamenco-notation" href="Fretted-strings.html#Fretted-strings">Flamenco notation</a>    </li>
    <li><a name="toc-Fret-diagrams-explained-and-developed" href="Fretted-strings.html#Fretted-strings">Fret diagrams explained and developed</a>    </li>
    <li><a name="toc-Guitar-strum-rhythms-1" href="Fretted-strings.html#Fretted-strings">Guitar strum rhythms</a>    </li>
    <li><a name="toc-How-to-change-fret-diagram-position-1" href="Fretted-strings.html#Fretted-strings">How to change fret diagram position</a>    </li>
    <li><a name="toc-Jazz-combo-template-2" href="Fretted-strings.html#Fretted-strings">Jazz combo template</a>    </li>
    <li><a name="toc-Laissez-vibrer-ties" href="Fretted-strings.html#Fretted-strings">Laissez vibrer ties</a>    </li>
    <li><a name="toc-Letter-tablature-formatting" href="Fretted-strings.html#Fretted-strings">Letter tablature formatting</a>    </li>
    <li><a name="toc-Modern-TAB-text-clef" href="Fretted-strings.html#Fretted-strings">Modern TAB text clef</a>    </li>
    <li><a name="toc-Placement-of-right_002dhand-fingerings" href="Fretted-strings.html#Fretted-strings">Placement of right-hand fingerings</a>    </li>
    <li><a name="toc-Polyphony-in-tablature" href="Fretted-strings.html#Fretted-strings">Polyphony in tablature</a>    </li>
    <li><a name="toc-Stem-and-beam-behavior-in-tablature" href="Fretted-strings.html#Fretted-strings">Stem and beam behavior in tablature</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Unfretted-strings-1" href="Unfretted-strings.html#Unfretted-strings">Unfretted strings</a>
  <ul class="toc">
    <li><a name="toc-Changing-_005cflageolet-mark-size" href="Unfretted-strings.html#Unfretted-strings">Changing \flageolet mark size</a>    </li>
    <li><a name="toc-Creating-slurs-across-voices-1" href="Unfretted-strings.html#Unfretted-strings">Creating slurs across voices</a>    </li>
    <li><a name="toc-Dotted-harmonics-1" href="Unfretted-strings.html#Unfretted-strings">Dotted harmonics</a>    </li>
    <li><a name="toc-Snap_002dpizzicato-markup-_0028_0022Bartok-pizzicato_0022_0029-1" href="Unfretted-strings.html#Unfretted-strings">Snap-pizzicato markup (&quot;Bartok pizzicato&quot;)</a>    </li>
    <li><a name="toc-String-quartet-template-_0028simple_0029" href="Unfretted-strings.html#Unfretted-strings">String quartet template (simple)</a>    </li>
    <li><a name="toc-String-quartet-template-with-separate-parts" href="Unfretted-strings.html#Unfretted-strings">String quartet template with separate parts</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Winds-1" href="Winds.html#Winds">Winds</a>
  <ul class="toc">
    <li><a name="toc-Flute-slap-notation" href="Winds.html#Winds">Flute slap notation</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Ancient-notation-1" href="Ancient-notation.html#Ancient-notation">Ancient notation</a>
  <ul class="toc">
    <li><a name="toc-Adding-a-figured-bass-above-or-below-the-notes-1" href="Ancient-notation.html#Ancient-notation">Adding a figured bass above or below the notes</a>    </li>
    <li><a name="toc-Ancient-fonts" href="Ancient-notation.html#Ancient-notation">Ancient fonts</a>    </li>
    <li><a name="toc-Ancient-notation-template-_002d_002d-modern-transcription-of-gregorian-music-1" href="Ancient-notation.html#Ancient-notation">Ancient notation template &ndash; modern transcription of gregorian music</a>    </li>
    <li><a name="toc-Ancient-notation-template-_002d_002d-modern-transcription-of-mensural-music" href="Ancient-notation.html#Ancient-notation">Ancient notation template &ndash; modern transcription of mensural music</a>    </li>
    <li><a name="toc-Ancient-time-signatures" href="Ancient-notation.html#Ancient-notation">Ancient time signatures</a>    </li>
    <li><a name="toc-Chant-or-psalms-notation-1" href="Ancient-notation.html#Ancient-notation">Chant or psalms notation</a>    </li>
    <li><a name="toc-Custodes" href="Ancient-notation.html#Ancient-notation">Custodes</a>    </li>
    <li><a name="toc-Incipit-1" href="Ancient-notation.html#Ancient-notation">Incipit</a>    </li>
    <li><a name="toc-Mensurstriche-layout-_0028bar-lines-between-the-staves_0029-2" href="Ancient-notation.html#Ancient-notation">Mensurstriche layout (bar lines between the staves)</a>    </li>
    <li><a name="toc-Rest-styles" href="Ancient-notation.html#Ancient-notation">Rest styles</a>    </li>
    <li><a name="toc-Transcription-of-Ancient-music-with-incipit-1" href="Ancient-notation.html#Ancient-notation">Transcription of Ancient music with incipit</a>    </li>
  </ul>
  </li>
  <li><a name="toc-World-music-1" href="World-music.html#World-music">World music</a>
  <ul class="toc">
    <li><a name="toc-Arabic-improvisation" href="World-music.html#World-music">Arabic improvisation</a>    </li>
    <li><a name="toc-Makam-example" href="World-music.html#World-music">Makam example</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Contexts-and-engravers-1" href="Contexts-and-engravers.html#Contexts-and-engravers">Contexts and engravers</a>
  <ul class="toc">
    <li><a name="toc-Adding-a-figured-bass-above-or-below-the-notes" href="Contexts-and-engravers.html#Contexts-and-engravers">Adding a figured bass above or below the notes</a>    </li>
    <li><a name="toc-Adding-an-extra-staff-at-a-line-break-1" href="Contexts-and-engravers.html#Contexts-and-engravers">Adding an extra staff at a line break</a>    </li>
    <li><a name="toc-Adding-an-extra-staff" href="Contexts-and-engravers.html#Contexts-and-engravers">Adding an extra staff</a>    </li>
    <li><a name="toc-Changing-MIDI-output-to-one-channel-per-voice" href="Contexts-and-engravers.html#Contexts-and-engravers">Changing MIDI output to one channel per voice</a>    </li>
    <li><a name="toc-Changing-time-signatures-inside-a-polymetric-section-using-_005cscaleDurations-1" href="Contexts-and-engravers.html#Contexts-and-engravers">Changing time signatures inside a polymetric section using <code>\scaleDurations</code></a>    </li>
    <li><a name="toc-Chant-or-psalms-notation" href="Contexts-and-engravers.html#Contexts-and-engravers">Chant or psalms notation</a>    </li>
    <li><a name="toc-Creating-blank-staves-1" href="Contexts-and-engravers.html#Contexts-and-engravers">Creating blank staves</a>    </li>
    <li><a name="toc-Engravers-one_002dby_002done" href="Contexts-and-engravers.html#Contexts-and-engravers">Engravers one-by-one</a>    </li>
    <li><a name="toc-Mensurstriche-layout-_0028bar-lines-between-the-staves_0029-1" href="Contexts-and-engravers.html#Contexts-and-engravers">Mensurstriche layout (bar lines between the staves)</a>    </li>
    <li><a name="toc-Nesting-staves" href="Contexts-and-engravers.html#Contexts-and-engravers">Nesting staves</a>    </li>
    <li><a name="toc-Use-square-bracket-at-the-start-of-a-staff-group-1" href="Contexts-and-engravers.html#Contexts-and-engravers">Use square bracket at the start of a staff group</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves-3" href="Contexts-and-engravers.html#Contexts-and-engravers">Vocal ensemble template with lyrics aligned below and above the staves</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Tweaks-and-overrides-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Tweaks and overrides</a>
  <ul class="toc">
    <li><a name="toc-Analysis-brackets-above-the-staff" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Analysis brackets above the staff</a>    </li>
    <li><a name="toc-Avoiding-collisions-with-chord-fingerings" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Avoiding collisions with chord fingerings</a>    </li>
    <li><a name="toc-Caesura-_0028_0022railtracks_0022_0029-with-fermata" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Caesura (&quot;railtracks&quot;) with fermata</a>    </li>
    <li><a name="toc-Changing-a-single-note_0027s-size-in-a-chord" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Changing a single note&rsquo;s size in a chord</a>    </li>
    <li><a name="toc-Changing-form-of-multi_002dmeasure-rests" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Changing form of multi-measure rests</a>    </li>
    <li><a name="toc-Changing-properties-for-individual-grobs" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Changing properties for individual grobs</a>    </li>
    <li><a name="toc-Changing-text-and-spanner-styles-for-text-dynamics-2" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Changing text and spanner styles for text dynamics</a>    </li>
    <li><a name="toc-Changing-the-default-text-font-family" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Changing the default text font family</a>    </li>
    <li><a name="toc-Changing-the-staff-size-2" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Changing the staff size</a>    </li>
    <li><a name="toc-Controlling-the-vertical-ordering-of-scripts-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Controlling the vertical ordering of scripts</a>    </li>
    <li><a name="toc-Controlling-tuplet-bracket-visibility" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Controlling tuplet bracket visibility</a>    </li>
    <li><a name="toc-Creating-a-delayed-turn" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Creating a delayed turn</a>    </li>
    <li><a name="toc-Creating-simultaneous-rehearsal-marks-2" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Creating simultaneous rehearsal marks</a>    </li>
    <li><a name="toc-Creating-text-spanners" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Creating text spanners</a>    </li>
    <li><a name="toc-Custodes-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Custodes</a>    </li>
    <li><a name="toc-Customizing-fretboard-fret-diagrams-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Customizing fretboard fret diagrams</a>    </li>
    <li><a name="toc-Customizing-markup-fret-diagrams" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Customizing markup fret diagrams</a>    </li>
    <li><a name="toc-Display-bracket-with-only-one-staff-in-a-system" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Display bracket with only one staff in a system</a>    </li>
    <li><a name="toc-Dotted-harmonics" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Dotted harmonics</a>    </li>
    <li><a name="toc-Drawing-boxes-around-grobs" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Drawing boxes around grobs</a>    </li>
    <li><a name="toc-Drawing-circles-around-various-objects" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Drawing circles around various objects</a>    </li>
    <li><a name="toc-Fine_002dtuning-pedal-brackets" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Fine-tuning pedal brackets</a>    </li>
    <li><a name="toc-Forcing-horizontal-shift-of-notes" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Forcing horizontal shift of notes</a>    </li>
    <li><a name="toc-Fret-diagrams-explained-and-developed-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Fret diagrams explained and developed</a>    </li>
    <li><a name="toc-Horizontally-aligning-custom-dynamics-_0028e_002eg_002e-_0022sempre-pp_0022_002c-_0022piu-f_0022_002c-_0022subito-p_0022_0029-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Horizontally aligning custom dynamics (e.g. &quot;sempre pp&quot;, &quot;piu f&quot;, &quot;subito p&quot;)</a>    </li>
    <li><a name="toc-How-to-change-fret-diagram-position" href="Tweaks-and-overrides.html#Tweaks-and-overrides">How to change fret diagram position</a>    </li>
    <li><a name="toc-Inserting-a-caesura-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Inserting a caesura</a>    </li>
    <li><a name="toc-Making-an-object-invisible-with-the-transparent-property" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Making an object invisible with the transparent property</a>    </li>
    <li><a name="toc-Manually-controlling-beam-positions-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Manually controlling beam positions</a>    </li>
    <li><a name="toc-Mensurstriche-layout-_0028bar-lines-between-the-staves_0029-3" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Mensurstriche layout (bar lines between the staves)</a>    </li>
    <li><a name="toc-Nesting-staves-2" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Nesting staves</a>    </li>
    <li><a name="toc-Percent-repeat-count-visibility" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Percent repeat count visibility</a>    </li>
    <li><a name="toc-Positioning-multi_002dmeasure-rests-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Positioning multi-measure rests</a>    </li>
    <li><a name="toc-Positioning-text-markups-inside-slurs-2" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Positioning text markups inside slurs</a>    </li>
    <li><a name="toc-Printing-a-repeat-sign-at-the-beginning-of-a-piece" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Printing a repeat sign at the beginning of a piece</a>    </li>
    <li><a name="toc-Printing-metronome-and-rehearsal-marks-below-the-staff-3" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Printing metronome and rehearsal marks below the staff</a>    </li>
    <li><a name="toc-Proportional-strict-notespacing-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Proportional strict notespacing</a>    </li>
    <li><a name="toc-Removing-the-first-empty-line" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Removing the first empty line</a>    </li>
    <li><a name="toc-Rest-styles-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Rest styles</a>    </li>
    <li><a name="toc-Rhythmic-slashes-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Rhythmic slashes</a>    </li>
    <li><a name="toc-Suppressing-warnings-for-clashing-note-columns-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Suppressing warnings for clashing note columns</a>    </li>
    <li><a name="toc-Time-signature-in-parentheses-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Time signature in parentheses</a>    </li>
    <li><a name="toc-Transcription-of-Ancient-music-with-incipit" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Transcription of Ancient music with incipit</a>    </li>
    <li><a name="toc-Tweaking-clef-properties" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Tweaking clef properties</a>    </li>
    <li><a name="toc-Using-PostScript-to-generate-special-note-head-shapes" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Using PostScript to generate special note head shapes</a>    </li>
    <li><a name="toc-Using-the-_005ctweak-command-to-tweak-individual-grobs" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Using the <code>\tweak</code> command to tweak individual grobs</a>    </li>
    <li><a name="toc-Vertically-aligned-dynamics-and-textscripts-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Vertically aligned dynamics and textscripts</a>    </li>
    <li><a name="toc-Vertically-aligning-ossias-and-lyrics-1" href="Tweaks-and-overrides.html#Tweaks-and-overrides">Vertically aligning ossias and lyrics</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Paper-and-layout-1" href="Paper-and-layout.html#Paper-and-layout">Paper and layout</a>
  <ul class="toc">
    <li><a name="toc-Aligning-and-centering-instrument-names-2" href="Paper-and-layout.html#Paper-and-layout">Aligning and centering instrument names</a>    </li>
    <li><a name="toc-Book-parts" href="Paper-and-layout.html#Paper-and-layout">Book parts</a>    </li>
    <li><a name="toc-Changing-the-staff-size" href="Paper-and-layout.html#Paper-and-layout">Changing the staff size</a>    </li>
    <li><a name="toc-Clip-systems" href="Paper-and-layout.html#Paper-and-layout">Clip systems</a>    </li>
    <li><a name="toc-Creating-blank-staves" href="Paper-and-layout.html#Paper-and-layout">Creating blank staves</a>    </li>
    <li><a name="toc-Demonstrating-all-headers" href="Paper-and-layout.html#Paper-and-layout">Demonstrating all headers</a>    </li>
    <li><a name="toc-Table-of-contents" href="Paper-and-layout.html#Paper-and-layout">Table of contents</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Titles-1" href="Titles.html#Titles">Titles</a>
  <ul class="toc">
    <li><a name="toc-Adding-the-current-date-to-a-score" href="Titles.html#Titles">Adding the current date to a score</a>    </li>
    <li><a name="toc-Aligning-and-centering-instrument-names" href="Titles.html#Titles">Aligning and centering instrument names</a>    </li>
    <li><a name="toc-Demonstrating-all-headers-2" href="Titles.html#Titles">Demonstrating all headers</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Spacing-1" href="Spacing.html#Spacing">Spacing</a>
  <ul class="toc">
    <li><a name="toc-Adjusting-lyrics-vertical-spacing-1" href="Spacing.html#Spacing">Adjusting lyrics vertical spacing</a>    </li>
    <li><a name="toc-Allowing-fingerings-to-be-printed-inside-the-staff" href="Spacing.html#Spacing">Allowing fingerings to be printed inside the staff</a>    </li>
    <li><a name="toc-Page-label" href="Spacing.html#Spacing">Page label</a>    </li>
    <li><a name="toc-Proportional-strict-notespacing" href="Spacing.html#Spacing">Proportional strict notespacing</a>    </li>
    <li><a name="toc-Vertically-aligned-dynamics-and-textscripts" href="Spacing.html#Spacing">Vertically aligned dynamics and textscripts</a>    </li>
    <li><a name="toc-Vertically-aligning-ossias-and-lyrics-2" href="Spacing.html#Spacing">Vertically aligning ossias and lyrics</a>    </li>
  </ul>
  </li>
  <li><a name="toc-MIDI-1" href="MIDI.html#MIDI">MIDI</a>
  <ul class="toc">
    <li><a name="toc-Changing-MIDI-output-to-one-channel-per-voice-1" href="MIDI.html#MIDI">Changing MIDI output to one channel per voice</a>    </li>
    <li><a name="toc-Demo-MidiInstruments" href="MIDI.html#MIDI">Demo MidiInstruments</a>    </li>
  </ul>
  </li>
  <li><a name="toc-Templates-1" href="Templates.html#Templates">Templates</a>
  <ul class="toc">
    <li><a name="toc-Ancient-notation-template-_002d_002d-modern-transcription-of-gregorian-music" href="Templates.html#Templates">Ancient notation template &ndash; modern transcription of gregorian music</a>    </li>
    <li><a name="toc-Ancient-notation-template-_002d_002d-modern-transcription-of-mensural-music-1" href="Templates.html#Templates">Ancient notation template &ndash; modern transcription of mensural music</a>    </li>
    <li><a name="toc-Jazz-combo-template" href="Templates.html#Templates">Jazz combo template</a>    </li>
    <li><a name="toc-Piano-template-_0028simple_0029-1" href="Templates.html#Templates">Piano template (simple)</a>    </li>
    <li><a name="toc-Piano-template-with-centered-dynamics" href="Templates.html#Templates">Piano template with centered dynamics</a>    </li>
    <li><a name="toc-Piano-template-with-centered-lyrics" href="Templates.html#Templates">Piano template with centered lyrics</a>    </li>
    <li><a name="toc-Piano-template-with-melody-and-lyrics" href="Templates.html#Templates">Piano template with melody and lyrics</a>    </li>
    <li><a name="toc-Score-for-diatonic-accordion" href="Templates.html#Templates">Score for diatonic accordion</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes_002c-lyrics_002c-and-chords-2" href="Templates.html#Templates">Single staff template with notes, lyrics, and chords</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes_002c-lyrics_002c-chords-and-frets-1" href="Templates.html#Templates">Single staff template with notes, lyrics, chords and frets</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes-and-chords" href="Templates.html#Templates">Single staff template with notes and chords</a>    </li>
    <li><a name="toc-Single-staff-template-with-notes-and-lyrics-1" href="Templates.html#Templates">Single staff template with notes and lyrics</a>    </li>
    <li><a name="toc-Single-staff-template-with-only-notes" href="Templates.html#Templates">Single staff template with only notes</a>    </li>
    <li><a name="toc-String-quartet-template-_0028simple_0029-1" href="Templates.html#Templates">String quartet template (simple)</a>    </li>
    <li><a name="toc-String-quartet-template-with-separate-parts-1" href="Templates.html#Templates">String quartet template with separate parts</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-with-automatic-piano-reduction" href="Templates.html#Templates">Vocal ensemble template with automatic piano reduction</a>    </li>
    <li><a name="toc-Vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves" href="Templates.html#Templates">Vocal ensemble template with lyrics aligned below and above the staves</a>    </li>
    <li><a name="toc-Vocal-ensemble-template" href="Templates.html#Templates">Vocal ensemble template</a>    </li>
  </ul>
  </li>
</ul>
</div>
</div>

</body>
</html>