Sophie

Sophie

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

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>Text marks - 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.de.html#Top">
<link rel="up" href="Writing-text.de.html#Writing-text" title="Writing text">
<link rel="prev" href="Text-spanners.de.html#Text-spanners" title="Text spanners">
<link rel="next" href="Separate-text.de.html#Separate-text" title="Separate text">
<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="Text-marks"></a>
Next:&nbsp;<a rel="next" accesskey="n" href="Separate-text.de.html#Separate-text">Separate text</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Text-spanners.de.html#Text-spanners">Text spanners</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Writing-text.de.html#Writing-text">Writing text</a>
<hr>
</div>

<h5 class="subsubsection">1.8.1.3 Text marks</h5>

<p><a name="index-coda-on-bar-line-1696"></a><a name="index-segno-on-bar-line-1697"></a><a name="index-fermata-on-bar-line-1698"></a><a name="index-bar-lines_002c-symbols-on-1699"></a><a name="index-g_t_005cmark-1700"></a><a name="index-g_t_005cmark-1701"></a>

   <p>Various text elements can be added to a score using
the syntax described in <a href="Rehearsal-marks.de.html#Rehearsal-marks">Rehearsal marks</a>:

<!-- \mark needs to be placed on a separate line (it's not -->
<!-- attached to an object like \markup is). -vv -->
   <blockquote>
<pre class="verbatim">     
     c4
     \mark "Allegro"
     c c c
</pre>
     <p>
 <a href="../55/lily-b145b1d4.ly">
  <img align="middle"
    border="0" src="../55/lily-b145b1d4.png" alt="[image of music]">
 </a>
</p>

   </blockquote>

   <p>This syntax makes it possible to put any text on a bar line;
more complex text formatting may be added using a <code>\markup</code>
block, as described in <a href="Formatting-text.de.html#Formatting-text">Formatting text</a>.  This can be used to print
signs like coda, segno or fermata, by specifying the appropriate
symbol name:

   <blockquote>
<pre class="verbatim">     
     c1
     \mark \markup { \musicglyph #"scripts.ufermata" }
     c1
</pre>
     <p>
 <a href="../19/lily-4d3e778c.ly">
  <img align="middle"
    border="0" src="../19/lily-4d3e778c.png" alt="[image of music]">
 </a>
</p>

   </blockquote>

<p class="noindent">Such objects are only typeset above the top staff of the score; depending on
whether they are specified at the end or the middle of a bar, they
can be placed above the bar line or between notes.  When specified at the
beginning of a score or at a line break, marks will be printed at
the beginning of the line (the next line, in case of a line break).

   <blockquote>
<pre class="verbatim">     
     \mark "Allegro"
     c1 c
     \mark "assai" \break
     c  c
</pre>
     <p>
 <a href="../43/lily-3aaed537.ly">
  <img align="middle"
    border="0" src="../43/lily-3aaed537.png" alt="[image of music]">
 </a>
</p>

   </blockquote>

<p class="noindent">

<h5 class="subsubheading">Selected Snippets</h5>

<p><em>Printing marks at the end of a line or a score</em>

   <p>Marks can be printed at the end of the current line, instead of the
beginning of the following line. This is particularly useful when a
mark has to be added at the end of a score &ndash; when there is no next
line.

   <p>In such cases, the right end of the mark has to be aligned with the
final bar line, as demonstrated on the second line of this example.

   <blockquote>
<pre class="verbatim">     
     \relative c'' {  
       \override Score.RehearsalMark  #'break-visibility = #begin-of-line-invisible
       g2 c
       d,2 a'
       \mark \default
       \break
       
       \override Score.RehearsalMark #'self-alignment-X = #RIGHT
       g2 b,
       c1 \bar "||"
       \mark "D.C. al Fine"
     }
</pre>
     <p>
 <a href="../34/lily-cf682197.ly">
  <img align="middle"
    border="0" src="../34/lily-cf682197.png" alt="[image of music]">
 </a>
</p>

   </blockquote>

   <p><em>Aligning marks with various notation objects</em>

   <p>If specified, text marks may be aligned with notation objects other
than bar lines.  These objects include <code>ambitus</code>,
<code>breathing-sign</code>, <code>clef</code>, <code>custos</code>, <code>staff-bar</code>,
<code>left-edge</code>, <code>key-cancellation</code>, <code>key-signature</code>, and
<code>time-signature</code>.

   <p>In such cases, text marks will be horizontally centered above the
object. However this can be changed, as demonstrated on the second line
of this example (in a score with multiple staves, this setting should
be done for all the staves).

   <blockquote>
<pre class="verbatim">     
     \relative c' {
       e1
       
       % the RehearsalMark will be centered above the Clef
       \override Score.RehearsalMark #'break-align-symbols = #'(clef)
       \key a \major
       \clef treble
       \mark "↓"
       e
       
       % the RehearsalMark will be centered above the TimeSignature
       \override Score.RehearsalMark #'break-align-symbols = #'(time-signature)
       \key a \major
       \clef treble
       \time 3/4
       \mark "↓"
       e2.
       
       % the RehearsalMark will be centered above the KeySignature
       \override Score.RehearsalMark #'break-align-symbols = #'(key-signature)
       \key a \major
       \clef treble
       \time 4/4
       \mark "↓"
       e1
     
       \break
       e
       
       % the RehearsalMark will be aligned with the left edge of the KeySignature
       \once \override Score.KeySignature #'break-align-anchor-alignment = #LEFT
       \mark "↓"
       \key a \major
       e
       
       % the RehearsalMark will be aligned with the right edge of the KeySignature
       \once \override Score.KeySignature #'break-align-anchor-alignment = #RIGHT
       \key a \major
       \mark "↓"
       e
       
       % the RehearsalMark will be aligned with the left edge of the KeySignature
       % and then shifted right by 1 unit.
       \once \override Score.KeySignature #'break-align-anchor = #1
       \key a \major
       \mark "↓"
       e1
     }
</pre>
     <p>
 <a href="../d3/lily-a579dbba.ly">
  <img align="middle"
    border="0" src="../d3/lily-a579dbba.png" alt="[image of music]">
 </a>
</p>

   </blockquote>

   <p><em>Printing marks on every staff</em>

   <p>Although text marks are normally only printed above the topmost staff,
they may also be printed on every staff.

   <blockquote>
<pre class="verbatim">     
     {
       \new Score \with {
         \remove "Mark_engraver"
       }
       &lt;&lt;
         \new Staff \with {
           \consists "Mark_engraver"
         }
         { c''1 \mark "molto" c'' }
         \new Staff \with {
           \consists "Mark_engraver"
         }
         { c'1 \mark "molto" c' }
       >>
     }
</pre>
     <p>
 <a href="../3c/lily-d0582668.ly">
  <img align="middle"
    border="0" src="../3c/lily-d0582668.png" alt="[image of music]">
 </a>
</p>

   </blockquote>

<p class="noindent">

<h5 class="subsubheading">See also</h5>

   <p class="indent">

   <p>Notation Reference: <a href="Rehearsal-marks.de.html#Rehearsal-marks">Rehearsal marks</a>,
<a href="Formatting-text.de.html#Formatting-text">Formatting text</a>, <a href="The-Feta-font.de.html#The-Feta-font">The Feta font</a>.

   <p>Snippets:
<a href="../../../input/lsr/lilypond-snippets/Text.html#Text">Text</a>.

   <p>Internals Reference: <a name="index-RehearsalMark-1702"></a><a href="../lilypond-internals/RehearsalMark.de.html#RehearsalMark">RehearsalMark</a>.

<p class="noindent">

<h5 class="subsubheading">Known issues and warnings</h5>

<!-- To be removed when Issue 69 in the tracker gets fixed. -vv -->
<p>If a mark is entered at the end of the last bar of the score (where
there is no next line), then the mark will not be printed at
all.

   <!-- footer_tag --><br><hr>
<div class="node">
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Separate-text.de.html#Separate-text">Separate text</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Text-spanners.de.html#Text-spanners">Text spanners</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Writing-text.de.html#Writing-text">Writing text</a>
</div>

<div style="background-color: #e8ffe8; padding: 2; border: #c0ffc0 1px solid;">
<p>
<font size="-1">
Diese Seite ist für LilyPond-2.11.57 (Entwicklungszweig).
<br>
<address>
Fehler bitte an <a href="http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs">http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs</a> melden. </address>
<br>
Ihre <a href="http://lilypond.org/web/devel/participating/documentation-adding">Vorschläge für die Dokumentation</a> sind willkommen.
</font>
</p>
</div>


<P>
 Andere Sprachen: <a href="Text-marks.fr.html">français</a>, <a href="Text-marks.es.html">español</a>.
 <BR>
 
</P>
</BODY></html>