Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- header_tag -->
<html lang="de">
<head>
<title>Align - GNU LilyPond Benutzerhandbuch</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="description" content="GNU LilyPond Benutzerhandbuch">
<meta name="generator" content="makeinfo 4.11">
<link title="Top" rel="start" href="index.de.html#Top">
<link rel="up" href="Text-markup-commands.de.html#Text-markup-commands" title="Text markup commands">
<link rel="prev" href="Font.de.html#Font" title="Font">
<link rel="next" href="Graphic.de.html#Graphic" title="Graphic">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 1999--2007 bei den Autoren

_The translation of the following copyright notice is provided
for courtesy to non-English speakers, but only the notice in English
legally counts._

_Die Übersetzung der folgenden Lizenzanmerkung ist zur Orientierung
für Leser, die nicht Englisch sprechen. Im rechtlichen Sinne ist aber
nur die englische Version gültig._

     Es ist erlaubt, dieses Dokument unter den Bedingungen der GNU Free
     Documentation Lizenz (Version 1.1 oder spätere, von der Free
     Software Foundation publizierte Versionen, ohne invariante
     Abschnitte), zu kopieren, verbreiten und/oder zu verändern. Eie
     Kopie der Lizenz ist im Abschnitt ``GNU Free Documentation
     License'' angefügt.
     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="Align"></a>
n&auml;chstes:&nbsp;<a rel="next" accesskey="n" href="Graphic.de.html#Graphic">Graphic</a>,
voriges:&nbsp;<a rel="previous" accesskey="p" href="Font.de.html#Font">Font</a>,
aufw&auml;rts:&nbsp;<a rel="up" accesskey="u" href="Text-markup-commands.de.html#Text-markup-commands">Text markup commands</a>
<hr>
</div>

<h4 class="appendixsubsec">B.6.2 Align</h4>

     <dl>
<dt><code>\center-align</code> <var>arg</var> (markup)<dd><a name="index-g_t_005ccenter_002dalign-890"></a><a name="index-g_t_005ccenter_002dalign-891"></a>

     <p><a name="index-g_t_005ccenter_002dalign-892"></a>
<a name="index-horizontally-centering-text-893"></a>
Align <code>arg</code> to its X&nbsp;center.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \column {
              one
              \center-align
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../47/lily-f963d0a8.ly"> <img align="middle" border="0" src="../47/lily-f963d0a8.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\center-column</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005ccenter_002dcolumn-894"></a><a name="index-g_t_005ccenter_002dcolumn-895"></a>

     <p><a name="index-g_t_005ccenter_002dcolumn-896"></a>
<a name="index-centering-a-column-of-text-897"></a>
Put <code>args</code> in a centered column.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \center-column {
              one
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../2e/lily-88c24de6.ly"> <img align="middle" border="0" src="../2e/lily-88c24de6.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>baseline-skip</code>
</ul>

     <br><dt><code>\column</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005ccolumn-898"></a><a name="index-g_t_005ccolumn-899"></a>

     <p><a name="index-g_t_005ccolumn-900"></a>
<a name="index-stacking-text-in-a-column-901"></a>
Stack the markups in <var>args</var> vertically.  The property
<code>baseline-skip</code> determines the space between each
markup in <var>args</var>.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \column {
              one
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../71/lily-334212d4.ly"> <img align="middle" border="0" src="../71/lily-334212d4.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>baseline-skip</code>
</ul>

     <br><dt><code>\combine</code> <var>m1</var> (markup) <var>m2</var> (markup)<dd><a name="index-g_t_005ccombine-902"></a><a name="index-g_t_005ccombine-903"></a>

     <p><a name="index-g_t_005ccombine-904"></a>
<a name="index-merging-text-905"></a>
Print two markups on top of each other.

     <p>Note: <code>\combine</code> cannot take a list of markups enclosed in
curly braces as an argument; the follow example will not compile:

     <pre class="example">     \combine { a list }
</pre>
     <blockquote>
<pre class="verbatim">          
          \markup {
            \fontsize #5
            \override #'(thickness . 2)
            \combine
              \draw-line #'(0 . 4)
              \arrow-head #Y #DOWN ##f
          }
     </pre>
          <p>
 <a href="../3e/lily-d0eac05d.ly"> <img align="middle" border="0" src="../3e/lily-d0eac05d.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\concat</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005cconcat-906"></a><a name="index-g_t_005cconcat-907"></a>

     <p><a name="index-g_t_005cconcat-908"></a>
<a name="index-concatenating-text-909"></a><a name="index-ligatures-in-text-910"></a>
Concatenate <var>args</var> in a horizontal line, without spaces inbetween. 
Strings and simple markups are concatenated on the input level, allowing
ligatures.  For example, <code>\concat { "f" \simple #"i" }</code> is
equivalent to <code>"fi"</code>.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \concat {
              one
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../61/lily-795b7897.ly"> <img align="middle" border="0" src="../61/lily-795b7897.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\dir-column</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005cdir_002dcolumn-911"></a><a name="index-g_t_005cdir_002dcolumn-912"></a>

     <p><a name="index-g_t_005cdir_002dcolumn-913"></a>
<a name="index-changing-direction-of-text-columns-914"></a>
Make a column of args, going up or down, depending on the setting
of the <code>#'direction</code> layout property.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \override #'(direction . 1) {
              \dir-column {
                going up
              }
            }
            \dir-column {
              going down
            }
          }
     </pre>
          <p>
 <a href="../f5/lily-827ea6f3.ly"> <img align="middle" border="0" src="../f5/lily-827ea6f3.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>baseline-skip</code>
<li><code>direction</code>
</ul>

     <br><dt><code>\fill-line</code> <var>markups</var> (list of markups)<dd><a name="index-g_t_005cfill_002dline-915"></a><a name="index-g_t_005cfill_002dline-916"></a>

     <p><a name="index-g_t_005cfill_002dline-917"></a>Put <var>markups</var> in a horizontal line of width <var>line-width</var>. 
The markups are spaced or flushed to fill the entire line. 
If there are no arguments, return an empty stencil.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \column {
              \fill-line {
                Words evenly spaced across the page
              }
              \null
              \fill-line {
                \line { Text markups }
                \line {
                  \italic { evenly spaced }
                }
                \line { across the page }
              }
            }
          }
     </pre>
          <p>
 <a href="../af/lily-39cfdca5.ly"> <img align="middle" border="0" src="../af/lily-39cfdca5.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>line-width</code> (#f)
<li><code>word-space</code> (1)
<li><code>text-direction</code> (1)
</ul>

     <br><dt><code>\general-align</code> <var>axis</var> (integer) <var>dir</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005cgeneral_002dalign-918"></a><a name="index-g_t_005cgeneral_002dalign-919"></a>

     <p><a name="index-g_t_005cgeneral_002dalign-920"></a>
<a name="index-controlling-general-text-alignment-921"></a>
Align <var>arg</var> in <var>axis</var> direction to the <var>dir</var> side.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \column {
              one
              \general-align #X #LEFT
              two
              three
              \null
              one
              \general-align #X #CENTER
              two
              three
              \null
              \line {
                one
                \general-align #Y #UP
                two
                three
              }
              \null
              \line {
                one
                \general-align #Y #3.2
                two
                three
              }
            }
          }
     </pre>
          <p>
 <a href="../5e/lily-7ea2dc28.ly"> <img align="middle" border="0" src="../5e/lily-7ea2dc28.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\halign</code> <var>dir</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005chalign-922"></a><a name="index-g_t_005chalign-923"></a>

     <p><a name="index-g_t_005chalign-924"></a>
<a name="index-setting-horizontal-text-alignment-925"></a>
Set horizontal alignment.  If <var>dir</var> is <code>-1</code>, then it is
left-aligned, while <code>+1</code> is right.  Values in between interpolate
alignment accordingly.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \column {
              one
              \halign #LEFT
              two
              three
              \null
              one
              \halign #CENTER
              two
              three
              \null
              one
              \halign #RIGHT
              two
              three
              \null
              one
              \halign #-5
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../e0/lily-03f43436.ly"> <img align="middle" border="0" src="../e0/lily-03f43436.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\hcenter-in</code> <var>length</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005chcenter_002din-926"></a><a name="index-g_t_005chcenter_002din-927"></a>

     <p><a name="index-g_t_005chcenter_002din-928"></a>Center <var>arg</var> horizontally within a box of extending
<var>length</var>/2 to the left and right.

     <blockquote>
<pre class="verbatim">          
          \new StaffGroup &lt;&lt;
            \new Staff {
              \set Staff.instrumentName = \markup {
                \hcenter-in #12
                Oboe
              }
              c''1
            }
            \new Staff {
              \set Staff.instrumentName = \markup {
                \hcenter-in #12
                Bassoon
              }
              \clef tenor
              c'1
            }
          >>
     </pre>
          <p>
 <a href="../8b/lily-de726902.ly"> <img align="middle" border="0" src="../8b/lily-de726902.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\hspace</code> <var>amount</var> (number)<dd><a name="index-g_t_005chspace-929"></a><a name="index-g_t_005chspace-930"></a>

     <p><a name="index-g_t_005chspace-931"></a>
<a name="index-creating-horizontal-spaces-in-text-932"></a>
This produces an invisible object taking horizontal space.  For example,

     <pre class="example">     \markup { A \hspace #2.0 B }
</pre>
     <p class="noindent">puts extra space between A and&nbsp;B, on top of the space that is
normally inserted before elements on a line.

     <blockquote>
<pre class="verbatim">          
          \markup {
            one
            \hspace #2
            two
            \hspace #8
            three
          }
     </pre>
          <p>
 <a href="../60/lily-82fdb257.ly"> <img align="middle" border="0" src="../60/lily-82fdb257.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\justify-field</code> <var>symbol</var> (symbol)<dd><a name="index-g_t_005cjustify_002dfield-933"></a><a name="index-g_t_005cjustify_002dfield-934"></a>

     <p><a name="index-g_t_005cjustify_002dfield-935"></a>Justify the data which has been assigned to <var>symbol</var>.

     <blockquote>
<pre class="verbatim">          
          \header {
            title = "My title"
            descr = "Lorem ipsum dolor sit amet, consectetur adipisicing elit,
            sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
            Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
            nisi ut aliquip ex ea commodo consequat."
          }
          
          \paper {
            bookTitleMarkup = \markup {
              \column {
                \fill-line { \fromproperty #'header:title }
                \null
                \justify-field #'header:descr
              }
            }
          }
          
          \markup {
            \null
          }
     </pre>
          <p>
 <a href="../d3/lily-0f986976.ly"> <img align="middle" border="0" src="../d3/lily-0f986976.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\justify</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005cjustify-936"></a><a name="index-g_t_005cjustify-937"></a>

     <p><a name="index-g_t_005cjustify-938"></a>
<a name="index-justifying-text-939"></a>
Like wordwrap, but with lines stretched to justify the margins. 
Use <code>\override #'(line-width . </code><var>X</var><code>)</code> to set the line width;
<var>X</var>&nbsp;is the number of staff spaces.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \justify {
              Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
              do eiusmod tempor incididunt ut labore et dolore magna aliqua.
              Ut enim ad minim veniam, quis nostrud exercitation ullamco
              laboris nisi ut aliquip ex ea commodo consequat.
            }
          }
     </pre>
          <p>
 <a href="../45/lily-d7a7187c.ly"> <img align="middle" border="0" src="../45/lily-d7a7187c.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>text-direction</code> (1)
<li><code>word-space</code>
<li><code>line-width</code> (#f)
<li><code>baseline-skip</code>
</ul>

     <br><dt><code>\justify-string</code> <var>arg</var> (string)<dd><a name="index-g_t_005cjustify_002dstring-940"></a><a name="index-g_t_005cjustify_002dstring-941"></a>

     <p><a name="index-g_t_005cjustify_002dstring-942"></a>Justify a string.  Paragraphs may be separated with double newlines

     <blockquote>
<pre class="verbatim">          
          \markup {
            \override #'(line-width . 40)
            \justify-string #"Lorem ipsum dolor sit amet, consectetur
              adipisicing elit, sed do eiusmod tempor incididunt ut labore
              et dolore magna aliqua.
              
              
              Ut enim ad minim veniam, quis nostrud exercitation ullamco
              laboris nisi ut aliquip ex ea commodo consequat.
              
              
              Excepteur sint occaecat cupidatat non proident, sunt in culpa
              qui officia deserunt mollit anim id est laborum"
          }
     </pre>
          <p>
 <a href="../24/lily-a54f37a9.ly"> <img align="middle" border="0" src="../24/lily-a54f37a9.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>text-direction</code> (1)
<li><code>word-space</code>
<li><code>line-width</code>
<li><code>baseline-skip</code>
</ul>

     <br><dt><code>\left-align</code> <var>arg</var> (markup)<dd><a name="index-g_t_005cleft_002dalign-943"></a><a name="index-g_t_005cleft_002dalign-944"></a>

     <p><a name="index-g_t_005cleft_002dalign-945"></a>
<a name="index-left-aligning-text-946"></a>
Align <var>arg</var> on its left edge.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \column {
              one
              \left-align
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../c0/lily-c8845f06.ly"> <img align="middle" border="0" src="../c0/lily-c8845f06.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\left-column</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005cleft_002dcolumn-947"></a><a name="index-g_t_005cleft_002dcolumn-948"></a>

     <p><a name="index-g_t_005cleft_002dcolumn-949"></a>
<a name="index-text-columns_002c-left_002daligned-950"></a>
Put <code>args</code> in a left-aligned column.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \left-column {
              one
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../b0/lily-6b478fb6.ly"> <img align="middle" border="0" src="../b0/lily-6b478fb6.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>baseline-skip</code>
</ul>

     <br><dt><code>\line</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005cline-951"></a><a name="index-g_t_005cline-952"></a>

     <p><a name="index-g_t_005cline-953"></a>Put <var>args</var> in a horizontal line.  The property <code>word-space</code>
determines the space between each markup in <var>args</var>.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \line {
              one two three
            }
          }
     </pre>
          <p>
 <a href="../f4/lily-9889773d.ly"> <img align="middle" border="0" src="../f4/lily-9889773d.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>text-direction</code> (1)
<li><code>word-space</code>
</ul>

     <br><dt><code>\lower</code> <var>amount</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005clower-954"></a><a name="index-g_t_005clower-955"></a>

     <p><a name="index-g_t_005clower-956"></a>
<a name="index-lowering-text-957"></a>
Lower <var>arg</var> by the distance <var>amount</var>. 
A negative <var>amount</var> indicates raising; see also <code>\raise</code>.

     <blockquote>
<pre class="verbatim">          
          \markup {
            one
            \lower #3
            two
            three
          }
     </pre>
          <p>
 <a href="../e9/lily-a858edb2.ly"> <img align="middle" border="0" src="../e9/lily-a858edb2.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\pad-around</code> <var>amount</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005cpad_002daround-958"></a><a name="index-g_t_005cpad_002daround-959"></a>

     <p><a name="index-g_t_005cpad_002daround-960"></a>Add padding <var>amount</var> all around <var>arg</var>.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \box {
              default
            }
            \hspace #2
            \box {
              \pad-around #0.5 {
                padded
              }
            }
          }
     </pre>
          <p>
 <a href="../d7/lily-4f6c1d60.ly"> <img align="middle" border="0" src="../d7/lily-4f6c1d60.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\pad-markup</code> <var>padding</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005cpad_002dmarkup-961"></a><a name="index-g_t_005cpad_002dmarkup-962"></a>

     <p><a name="index-g_t_005cpad_002dmarkup-963"></a>
<a name="index-padding-text-964"></a><a name="index-putting-space-around-text-965"></a>
Add space around a markup object.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \box {
              default
            }
            \hspace #2
            \box {
              \pad-around #1 {
                padded
              }
            }
          }
     </pre>
          <p>
 <a href="../a4/lily-058fe9f2.ly"> <img align="middle" border="0" src="../a4/lily-058fe9f2.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\pad-to-box</code> <var>x-ext</var> (pair of numbers) <var>y-ext</var> (pair of numbers) <var>arg</var> (markup)<dd><a name="index-g_t_005cpad_002dto_002dbox-966"></a><a name="index-g_t_005cpad_002dto_002dbox-967"></a>

     <p><a name="index-g_t_005cpad_002dto_002dbox-968"></a>Make <var>arg</var> take at least <var>x-ext</var>, <var>y-ext</var> space.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \box {
              default
            }
            \hspace #4
            \box {
              \pad-to-box #'(0 . 10) #'(0 . 3) {
                padded
              }
            }
          }
     </pre>
          <p>
 <a href="../39/lily-a7c59f2e.ly"> <img align="middle" border="0" src="../39/lily-a7c59f2e.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\pad-x</code> <var>amount</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005cpad_002dx-969"></a><a name="index-g_t_005cpad_002dx-970"></a>

     <p><a name="index-g_t_005cpad_002dx-971"></a>
<a name="index-padding-text-horizontally-972"></a>
Add padding <var>amount</var> around <var>arg</var> in the X&nbsp;direction.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \box {
              default
            }
            \hspace #4
            \box {
              \pad-x #2 {
                padded
              }
            }
          }
     </pre>
          <p>
 <a href="../19/lily-3606a374.ly"> <img align="middle" border="0" src="../19/lily-3606a374.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\put-adjacent</code> <var>axis</var> (integer) <var>dir</var> (direction) <var>arg1</var> (markup) <var>arg2</var> (markup)<dd><a name="index-g_t_005cput_002dadjacent-973"></a><a name="index-g_t_005cput_002dadjacent-974"></a>

     <p><a name="index-g_t_005cput_002dadjacent-975"></a>Put <var>arg2</var> next to <var>arg1</var>, without moving <var>arg1</var>.

     <br><dt><code>\raise</code> <var>amount</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005craise-976"></a><a name="index-g_t_005craise-977"></a>

     <p><a name="index-g_t_005craise-978"></a>
<a name="index-raising-text-979"></a>
Raise <var>arg</var> by the distance <var>amount</var>. 
A negative <var>amount</var> indicates lowering, see also <code>\lower</code>.

     <p>The argument to <code>\raise</code> is the vertical displacement amount,
measured in (global) staff spaces.  <code>\raise</code> and <code>\super</code>
raise objects in relation to their surrounding markups.

     <p>If the text object itself is positioned above or below the staff, then
<code>\raise</code> cannot be used to move it, since the mechanism that
positions it next to the staff cancels any shift made with
<code>\raise</code>.  For vertical positioning, use the <code>padding</code>
and/or <code>extra-offset</code> properties.

     <blockquote>
<pre class="verbatim">          
          \markup {
            C
            \small
            \bold
            \raise #1.0
            9/7+
          }
     </pre>
          <p>
 <a href="../ab/lily-5443f4c3.ly"> <img align="middle" border="0" src="../ab/lily-5443f4c3.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\right-align</code> <var>arg</var> (markup)<dd><a name="index-g_t_005cright_002dalign-980"></a><a name="index-g_t_005cright_002dalign-981"></a>

     <p><a name="index-g_t_005cright_002dalign-982"></a>
<a name="index-right-aligning-text-983"></a>
Align <var>arg</var> on its right edge.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \column {
              one
              \right-align
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../ef/lily-343d5c5b.ly"> <img align="middle" border="0" src="../ef/lily-343d5c5b.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\right-column</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005cright_002dcolumn-984"></a><a name="index-g_t_005cright_002dcolumn-985"></a>

     <p><a name="index-g_t_005cright_002dcolumn-986"></a>
<a name="index-text-columns_002c-right_002daligned-987"></a>
Put <code>args</code> in a right-aligned column.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \right-column {
              one
              two
              three
            }
          }
     </pre>
          <p>
 <a href="../e5/lily-df524597.ly"> <img align="middle" border="0" src="../e5/lily-df524597.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>baseline-skip</code>
</ul>

     <br><dt><code>\rotate</code> <var>ang</var> (number) <var>arg</var> (markup)<dd><a name="index-g_t_005crotate-988"></a><a name="index-g_t_005crotate-989"></a>

     <p><a name="index-g_t_005crotate-990"></a>
<a name="index-rotating-text-991"></a>
Rotate object with <var>ang</var> degrees around its center.

     <blockquote>
<pre class="verbatim">          
          \markup {
            default
            \hspace #2
            \rotate #45
            \line {
              rotated 45°
            }
          }
     </pre>
          <p>
 <a href="../e3/lily-23a517c4.ly"> <img align="middle" border="0" src="../e3/lily-23a517c4.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\translate</code> <var>offset</var> (pair of numbers) <var>arg</var> (markup)<dd><a name="index-g_t_005ctranslate-992"></a><a name="index-g_t_005ctranslate-993"></a>

     <p><a name="index-g_t_005ctranslate-994"></a>
<a name="index-translating-text-995"></a>
This translates an object.  Its first argument is a cons of numbers.

     <pre class="example">     A \translate #(cons 2 -3) { B C } D
</pre>
     <p>This moves &sbquo;B C&lsquo; 2&nbsp;spaces to the right, and 3 down, relative to its
surroundings.  This command cannot be used to move isolated scripts
vertically, for the same reason that <code>\raise</code> cannot be used for
that.

     <blockquote>
<pre class="verbatim">          
          \markup {
            *
            \translate #'(2 . 3)
            \line { translated two spaces right, three up }
          }
     </pre>
          <p>
 <a href="../2e/lily-4bb55e2c.ly"> <img align="middle" border="0" src="../2e/lily-4bb55e2c.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\translate-scaled</code> <var>offset</var> (pair of numbers) <var>arg</var> (markup)<dd><a name="index-g_t_005ctranslate_002dscaled-996"></a><a name="index-g_t_005ctranslate_002dscaled-997"></a>

     <p><a name="index-g_t_005ctranslate_002dscaled-998"></a>
<a name="index-translating-text-999"></a><a name="index-scaling-text-1000"></a>
Translate <var>arg</var> by <var>offset</var>, scaling the offset by the
<code>font-size</code>.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \fontsize #5 {
              * \translate #'(2 . 3) translate
              \hspace #2
              * \translate-scaled #'(2 . 3) translate-scaled
            }
          }
     </pre>
          <p>
 <a href="../0d/lily-f7419cdf.ly"> <img align="middle" border="0" src="../0d/lily-f7419cdf.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>font-size</code> (0)
</ul>

     <br><dt><code>\vcenter</code> <var>arg</var> (markup)<dd><a name="index-g_t_005cvcenter-1001"></a><a name="index-g_t_005cvcenter-1002"></a>

     <p><a name="index-g_t_005cvcenter-1003"></a>
<a name="index-vertically-centering-text-1004"></a>
Align <code>arg</code> to its Y&nbsp;center.

     <blockquote>
<pre class="verbatim">          
          \markup {
            one
            \vcenter
            two
            three
          }
     </pre>
          <p>
 <a href="../57/lily-49cc3c0a.ly"> <img align="middle" border="0" src="../57/lily-49cc3c0a.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\wordwrap-field</code> <var>symbol</var> (symbol)<dd><a name="index-g_t_005cwordwrap_002dfield-1005"></a><a name="index-g_t_005cwordwrap_002dfield-1006"></a>

     <p><a name="index-g_t_005cwordwrap_002dfield-1007"></a>Wordwrap the data which has been assigned to <var>symbol</var>.

     <blockquote>
<pre class="verbatim">          
          \header {
            title = "My title"
            descr = "Lorem ipsum dolor sit amet, consectetur adipisicing elit,
            sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
            Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
            nisi ut aliquip ex ea commodo consequat."
          }
          
          \paper {
            bookTitleMarkup = \markup {
              \column {
                \fill-line { \fromproperty #'header:title }
                \null
                \wordwrap-field #'header:descr
              }
            }
          }
          
          \markup {
            \null
          }
     </pre>
          <p>
 <a href="../2f/lily-ffb3d27c.ly"> <img align="middle" border="0" src="../2f/lily-ffb3d27c.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <br><dt><code>\wordwrap</code> <var>args</var> (list of markups)<dd><a name="index-g_t_005cwordwrap-1008"></a><a name="index-g_t_005cwordwrap-1009"></a>

     <p><a name="index-g_t_005cwordwrap-1010"></a>Simple wordwrap.  Use <code>\override #'(line-width . </code><var>X</var><code>)</code> to set
the line width, where <var>X</var> is the number of staff spaces.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \wordwrap {
              Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
              do eiusmod tempor incididunt ut labore et dolore magna aliqua.
              Ut enim ad minim veniam, quis nostrud exercitation ullamco
              laboris nisi ut aliquip ex ea commodo consequat.
            }
          }
     </pre>
          <p>
 <a href="../b9/lily-0ee56a7f.ly"> <img align="middle" border="0" src="../b9/lily-0ee56a7f.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>text-direction</code> (1)
<li><code>word-space</code>
<li><code>line-width</code> (#f)
<li><code>baseline-skip</code>
</ul>

     <br><dt><code>\wordwrap-string</code> <var>arg</var> (string)<dd><a name="index-g_t_005cwordwrap_002dstring-1011"></a><a name="index-g_t_005cwordwrap_002dstring-1012"></a>

     <p><a name="index-g_t_005cwordwrap_002dstring-1013"></a>Wordwrap a string.  Paragraphs may be separated with double newlines.

     <blockquote>
<pre class="verbatim">          
          \markup {
            \override #'(line-width . 40)
            \wordwrap-string #"Lorem ipsum dolor sit amet, consectetur
              adipisicing elit, sed do eiusmod tempor incididunt ut labore
              et dolore magna aliqua.
              
              
              Ut enim ad minim veniam, quis nostrud exercitation ullamco
              laboris nisi ut aliquip ex ea commodo consequat.
              
              
              Excepteur sint occaecat cupidatat non proident, sunt in culpa
              qui officia deserunt mollit anim id est laborum"
          }
     </pre>
          <p>
 <a href="../ed/lily-80b2b894.ly"> <img align="middle" border="0" src="../ed/lily-80b2b894.png" alt="[image of music]"> </a>
</p>

     </blockquote>

     <p>Used properties:
          <ul>
<li><code>text-direction</code> (1)
<li><code>word-space</code>
<li><code>line-width</code>
<li><code>baseline-skip</code>
</ul>

</dl>

   <!-- footer_tag --><br><hr>
<div class="node">
<p>
n&auml;chstes:&nbsp;<a rel="next" accesskey="n" href="Graphic.de.html#Graphic">Graphic</a>,
voriges:&nbsp;<a rel="previous" accesskey="p" href="Font.de.html#Font">Font</a>,
aufw&auml;rts:&nbsp;<a rel="up" accesskey="u" href="Text-markup-commands.de.html#Text-markup-commands">Text markup commands</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="Align.html">English</a>, <a href="Align.fr.html">français</a>, <a href="Align.es.html">español</a>.
 <BR>
 
</P>
</BODY></html>