Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- header_tag -->
<html lang="en">
<head>
<title>Creating titles - GNU LilyPond Notation Reference</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="GNU LilyPond Notation Reference">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.fr.html#Top">
<link rel="up" href="Titles-and-headers.fr.html#Titles-and-headers" title="Titles and headers">
<link rel="next" href="Custom-titles.fr.html#Custom-titles" title="Custom titles">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 1999--2007 by the authors

     Permission is granted to copy, distribute and/or modify this
     document under the terms of the GNU Free Documentation License,
     Version 1.1 or any later version published by the Free Software
     Foundation; with no Invariant Sections.  A copy of the license is
     included in the section entitled ``GNU Free Documentation
     License''.
   -->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
hr { border:0; height:1; color: #000000; background-color: #000000; }
/* hr {
  border:  none;
  height: 1px;
  color: #666666;
  background-color: #666666;
}
body {
  border-left: 1px solid #666666;
  border-right: 1px solid #666666;
  color: #332d28;
  margin-right: auto;
  margin-left: auto;
  width: 60em;
  list-style-type: square;
  font-family: Arial,Helvetica,sans-serif;
  padding-right: 1em;
  padding-left: 1em;
}
a {
  border-bottom: 1px dashed #344242;
  text-decoration: none;
  color: #344242;
}
a:link {
  text-decoration: none;
}
a:visited {
  border-bottom: 1px dashed #666666;
  color: #666666;
}
a:active {
  border-bottom: 1px solid #00cccc;
  color: #00cccc;
}
a:hover {
  border-bottom: 1px solid #1d7b85;
  color: #1d7b85;
}
blockquote {
  border: 1px solid #cccccc;
  padding: 3px;
  width: 40em;
}
.node {
  border-left: 1px solid #666666;
  margin: -0.5em 0px 1em;
  padding: 2px 1px 0px;
  font-style: italic;
}
.node a {
  border:  none;
  text-decoration: underline;
  font-style: normal;
  font-weight: bold;
}
.verbatim {
  font-family: "Courier New",Courier,monospace;
}
.unnumberedsubsubsec {
  font-size: large;
  color: #1d7b85;
}
.subsubheading {
  font-size: large;
  color: #3b220d;
}
.contents {
  border: 1px dashed #339999;
  margin: 3px 2em;
  list-style-type: square;
  padding-right: 1em;
  width: 40em;
  background-color: #fcfff9;
}
.contents a {
  border-bottom: 1px dashed #423d34;
  text-decoration: none;
  color: #423d34;
}
.contents a:visited {
  border-bottom: 1px dashed #666666;
  color: #666666;
}
.contents a:active {
  border-bottom: 1px solid #f0d86d;
  color: #f0d86d;
}
.contents a:hover {
  border-bottom: 1px solid #3b220d;
  color: #3b220d;
}
.menu {
  border-left: 1px dashed #339999;
  margin: 3px 2em 1em;
  list-style-type: square;
  padding-left: 1.4em;
  width: 40em;
}
.unnumbered {
}
h2 {
  font-size: x-large;
  color: #1d7b85;
}
*/
--></style>
</head>
<BODY BGCOLOR=WHITE TEXT=BLACK>

<div class="node">
<p>
<a name="Creating-titles"></a>
Next:&nbsp;<a rel="next" accesskey="n" href="Custom-titles.fr.html#Custom-titles">Custom titles</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Titles-and-headers.fr.html#Titles-and-headers">Titles and headers</a>
<hr>
</div>

<h4 class="subsection">3.2.1 Creating titles</h4>

<p>Titles are created for each <code>\score</code> block, as well as for the full
input file (or <code>\book</code> block).

   <p>The contents of the titles are taken from the <code>\header</code> blocks. 
The header block for a book supports the following

     
<a name="index-dedication-2355"></a>
<a name="index-dedication-2356"></a>
<dl>
<dt><code>dedication</code><dd>The dedicatee of the music, centered at the top of the first page.

     <p><a name="index-title-2357"></a><a name="index-title-2358"></a>
<br><dt><code>title</code><dd>The title of the music, centered just below the dedication.

     <p><a name="index-subtitle-2359"></a><a name="index-subtitle-2360"></a>
<br><dt><code>subtitle</code><dd>Subtitle, centered below the title.

     <p><a name="index-subsubtitle-2361"></a><a name="index-subsubtitle-2362"></a>
<br><dt><code>subsubtitle</code><dd>Subsubtitle, centered below the subtitle.

     <p><a name="index-poet-2363"></a><a name="index-poet-2364"></a>
<br><dt><code>poet</code><dd>Name of the poet, flush-left below the subtitle.

     <p><a name="index-composer-2365"></a><a name="index-composer-2366"></a>
<br><dt><code>composer</code><dd>Name of the composer, flush-right below the subtitle.

     <p><a name="index-meter-2367"></a><a name="index-meter-2368"></a>
<br><dt><code>meter</code><dd>Meter string, flush-left below the poet.

     <p><a name="index-opus-2369"></a><a name="index-opus-2370"></a>
<br><dt><code>opus</code><dd>Name of the opus, flush-right below the composer.

     <p><a name="index-arranger-2371"></a><a name="index-arranger-2372"></a>
<br><dt><code>arranger</code><dd>Name of the arranger, flush-right below the opus.

     <p><a name="index-instrument-2373"></a><a name="index-instrument-2374"></a>
<br><dt><code>instrument</code><dd>Name of the instrument, centered below the arranger.  Also
centered at the top of pages (other than the first page).

     <p><a name="index-piece-2375"></a><a name="index-piece-2376"></a>
<br><dt><code>piece</code><dd>Name of the piece, flush-left below the instrument.

     <p><a name="index-page-breaks_002c-forcing-2377"></a><a name="index-breakbefore-2378"></a><a name="index-breakbefore-2379"></a>
<br><dt><code>breakbefore</code><dd>This forces the title to start on a new page (set to ##t or ##f).

     <p><a name="index-copyright-2380"></a><a name="index-copyright-2381"></a>
<br><dt><code>copyright</code><dd>Copyright notice, centered at the bottom of the first page.  To
insert the copyright symbol, see <a href="Text-encoding.fr.html#Text-encoding">Text encoding</a>.

     <p><a name="index-tagline-2382"></a><a name="index-tagline-2383"></a>
<br><dt><code>tagline</code><dd>Centered at the bottom of the last page.

   </dl>

   <p>Here is a demonstration of the fields available.  Note that you
may use any <a href="Formatting-text.fr.html#Formatting-text">Formatting text</a>, commands in the header.

<pre class="verbatim">
\paper {
  line-width = 9.0\cm
  paper-height = 10.0\cm
}

\book {
  \header {
    dedication = "dedicated to me"
    title = \markup \center-column { "Title first line" "Title second line,
longer" }
    subtitle = "the subtitle,"
    subsubtitle = #(string-append "subsubtitle LilyPond version "
(lilypond-version))
    poet = "Poet"
    composer =  \markup \center-column { "composer" \small "(1847-1973)" }
    texttranslator = "Text Translator"
    meter = \markup { \teeny "m" \tiny "e" \normalsize "t" \large "e" \huge
"r" }
    arranger = \markup { \fontsize #8.5 "a" \fontsize #2.5 "r" \fontsize
#-2.5 "r" \fontsize #-5.3 "a" \fontsize #7.5 "nger" }
    instrument = \markup \bold \italic "instrument"
    piece = "Piece"
  }

  \score {
    { c'1 }
    \header {
      piece = "piece1"
      opus = "opus1"
    }
  }
  \markup {
      and now...
  }
  \score {
    { c'1 }
    \header {
      piece = "piece2"
      opus = "opus2"
    }
  }
}
</pre>
<p>
 <a href="../3c/lily-081d70c8.ly">
  <img align="middle"
    border="0" src="../3c/lily-081d70c8.png" alt="[image of music]">
 </a>
</p>

   <p>As demonstrated before, you can use multiple <code>\header</code> blocks. 
When same fields appear in different blocks, the latter is used. 
Here is a short example.

<pre class="example">\header {
  composer = "Composer"
}
\header {
  piece = "Piece"
}
\score {
  \new Staff { c'4 }
  \header {
    piece = "New piece"  % overwrite previous one
  }
}
</pre>
   <p>If you define the <code>\header</code> inside the <code>\score</code> block, then
normally only the <code>piece</code> and <code>opus</code> headers will be printed. 
Note that the music expression must come before the <code>\header</code>.

<pre class="verbatim">
\score {
  { c'4 }
  \header {
    title = "title"  % not printed
    piece = "piece"
    opus = "opus"
  }
}
</pre>
<p>
 <a href="../f1/lily-f8745fcb.ly">
  <img align="middle"
    border="0" src="../f1/lily-f8745fcb.png" alt="[image of music]">
 </a>
</p>

   <p><a name="index-printallheaders-2384"></a><a name="index-printallheaders-2385"></a>
You may change this behavior (and print all the headers when defining
<code>\header</code> inside <code>\score</code>) by using

<pre class="example">\paper{
  printallheaders=##t
}
</pre>
   <p><a name="index-copyright-2386"></a><a name="index-tagline-2387"></a>
The default footer is empty, except for the first page, where the
<code>copyright</code> field from <code>\header</code> is inserted, and the last
page, where <code>tagline</code> from <code>\header</code> is added.  The default
tagline is &ldquo;Music engraving by LilyPond (<var>version</var>)&rdquo;.<a rel="footnote" href="#fn-1" name="fnd-1"><sup>1</sup></a>

   <p>Headers may be completely removed by setting them to false.

<pre class="example">\header {
  tagline = ##f
  composer = ##f
}
</pre>
   <div class="footnote">
<hr>
<h4>Footnotes</h4><p class="footnote"><small>[<a name="fn-1" href="#fnd-1">1</a>]</small> Nicely
printed parts are good PR for us, so please leave the tagline if you
can.</p>

   <hr></div>

   <!-- footer_tag --><div class="node">
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Custom-titles.fr.html#Custom-titles">Custom titles</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Titles-and-headers.fr.html#Titles-and-headers">Titles and headers</a>
</div>

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


<P>
 Autres langues&nbsp;: <a href="Creating-titles.es.html">español</a>.
 <BR>
 
</P>
</BODY></html>