<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!-- header_tag --> <html lang="en"> <head> <title>Entering lyrics - 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="Common-notation-for-vocals.de.html#Common-notation-for-vocals" title="Common notation for vocals"> <link rel="prev" href="Setting-simple-songs.de.html#Setting-simple-songs" title="Setting simple songs"> <link rel="next" href="Working-with-lyrics-and-variables.de.html#Working-with-lyrics-and-variables" title="Working with lyrics and variables"> <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="Entering-lyrics"></a> Next: <a rel="next" accesskey="n" href="Working-with-lyrics-and-variables.de.html#Working-with-lyrics-and-variables">Working with lyrics and variables</a>, Previous: <a rel="previous" accesskey="p" href="Setting-simple-songs.de.html#Setting-simple-songs">Setting simple songs</a>, Up: <a rel="up" accesskey="u" href="Common-notation-for-vocals.de.html#Common-notation-for-vocals">Common notation for vocals</a> <hr> </div> <h5 class="subsubsection">2.1.1.3 Entering lyrics</h5> <p><a name="index-lyrics-1862"></a><a name="index-g_t_005clyricmode-1863"></a><a name="index-g_t_005clyricmode-1864"></a> <a name="index-punctuation-1865"></a><a name="index-spaces_002c-in-lyrics-1866"></a><a name="index-quotes_002c-in-lyrics-1867"></a> Lyrics are entered in a special input mode, which can be introduced by the keyword <code>\lyricmode</code>, or by using <code>\addlyrics</code> or <code>\lyricsto</code>. In this mode you can enter lyrics, with punctuation and accents, and the input <code>d</code> is not parsed as a pitch, but rather as a one letter syllable. Syllables are entered like notes, but with pitches replaced by text. For example, <pre class="example">\lyricmode { Twin-4 kle4 twin- kle litt- le star2 } </pre> <p>There are two main methods to specify the horizontal placement of the syllables, either by specifying the duration of each syllable explicitly, like in the example above, or by automatically aligning the lyrics to a melody or other voice of music, using <code>\addlyrics</code> or <code>\lyricsto</code>. <!-- TODO: broken --> <!-- For more details see @ref{The Lyrics context}. --> <p>A word or syllable of lyrics begins with an alphabetic character, and ends with any space or digit. The following characters can be any character that is not a digit or white space. <p>Any character that is not a digit or white space will be regarded as part of the syllable; one important consequence of this is that a word can end with <code>}</code>, which often leads to the following mistake: <pre class="example">\lyricmode { lah- lah} </pre> <p>In this example, the <code>}</code> is included in the final syllable, so the opening brace is not balanced and the input file will probably not compile. <p><a name="index-g_t_005cproperty-in-_005clyricmode-1868"></a><a name="index-g_t_005cproperty-in-_005clyricmode-1869"></a> <p class="noindent">Similarly, a period which follows an alphabetic sequence is included in the resulting string. As a consequence, spaces must be inserted around property commands: do <em>not</em> write <pre class="example">\override Score.LyricText #'font-shape = #'italic </pre> <p class="noindent">but instead use <pre class="example">\override Score . LyricText #'font-shape = #'italic </pre> <p><a name="index-g_t_005f-1870"></a><a name="index-g_t_005f-1871"></a> <a name="index-spaces_002c-in-lyrics-1872"></a><a name="index-quotes_002c-in-lyrics-1873"></a><a name="index-ties_002c-in-lyrics-1874"></a> In order to assign more than one syllable to a single note, you can surround them with quotes or use a <code>_</code> character, to get spaces between syllables, or use tilde symbol (<code>~</code>) to get a lyric tie. <blockquote> <pre class="verbatim"> \time 3/4 \relative c' { c2 e4 g2 e4 } \addlyrics { gran- de_a- mi- go } \addlyrics { pu- "ro y ho-" nes- to } \addlyrics { pu- ro~y~ho- nes- to } </pre> <p> <a href="../59/lily-c4ff9864.ly"> <img align="middle" border="0" src="../59/lily-c4ff9864.png" alt="[image of music]"> </a> </p> </blockquote> <p>The lyric tie is implemented with the Unicode character U+203F, so be sure to have a font (Like DejaVuLGC) installed that includes this glyph. <p>To enter lyrics with characters from non-English languages, or with accented and special characters (such as the heart symbol or slanted quotes), simply insert the characters directly into the input file and save it with UTF-8 encoding. See <a href="Text-encoding.de.html#Text-encoding">Text encoding</a>, for more info. <blockquote> <pre class="verbatim"> \relative c' { e4 f e d e f e2 } \addlyrics { He said: “Let my peo ple go”. } </pre> <p> <a href="../eb/lily-ba3afbbf.ly"> <img align="middle" border="0" src="../eb/lily-ba3afbbf.png" alt="[image of music]"> </a> </p> </blockquote> <p>To use normal quotes in lyrics, add a backslash before the quotes. For example, <blockquote> <pre class="verbatim"> \relative c' { \time 3/4 e4 e4. e8 d4 e d c2. } \addlyrics { "\"I" am so lone- "ly\"" said she } </pre> <p> <a href="../9a/lily-54e9db1e.ly"> <img align="middle" border="0" src="../9a/lily-54e9db1e.png" alt="[image of music]"> </a> </p> </blockquote> <p>The full definition of a word start in Lyrics mode is somewhat more complex. <p>A word in Lyrics mode begins with: an alphabetic character, <code>_</code>, <code>?</code>, <code>!</code>, <code>:</code>, <code>'</code>, the control characters <code>^A</code> through <code>^F</code>, <code>^Q</code> through <code>^W</code>, <code>^Y</code>, <code>^^</code>, any 8-bit character with ASCII code over 127, or a two-character combination of a backslash followed by one of <code>`</code>, <code>'</code>, <code>"</code>, or <code>^</code>. <!-- " to balance double quotes for not-so-bright context-sensitive editors --> <p>To define variables containing lyrics, the function <code>lyricmode</code> must be used. <pre class="example">verseOne = \lyricmode { Joy to the world the Lord is come } \score { << \new Voice = "one" \relative c'' { \autoBeamOff \time 2/4 c4 b8. a16 g4. f8 e4 d c2 } \addlyrics { \verseOne } >> } </pre> <p class="noindent"> <h5 class="subsubheading">See also</h5> <p class="indent"> <p>Internals Reference: <a name="index-LyricText-1875"></a><a href="../lilypond-internals/LyricText.de.html#LyricText">LyricText</a>, <a name="index-LyricSpace-1876"></a><a href="../lilypond-internals/LyricSpace.de.html#LyricSpace">LyricSpace</a>. <!-- footer_tag --><br><hr> <div class="node"> <p> Next: <a rel="next" accesskey="n" href="Working-with-lyrics-and-variables.de.html#Working-with-lyrics-and-variables">Working with lyrics and variables</a>, Previous: <a rel="previous" accesskey="p" href="Setting-simple-songs.de.html#Setting-simple-songs">Setting simple songs</a>, Up: <a rel="up" accesskey="u" href="Common-notation-for-vocals.de.html#Common-notation-for-vocals">Common notation for vocals</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="Entering-lyrics.fr.html">français</a>, <a href="Entering-lyrics.es.html">español</a>. <BR> </P> </BODY></html>