1 @c -*- coding: utf-8; mode: texinfo; -*-
2 @c This file is part of lilypond.tely
4 Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
6 When revising a translation, copy the HEAD committish of the
7 version that you are working on. See TRANSLATION for details.
13 This section of the manual contains templates with the LilyPond score
14 already set up for you. Just add notes, run LilyPond, and enjoy
15 beautiful printed scores!
17 @c bad node name for ancient notation to avoid conflict
23 * Ancient notation templates::
25 * Lilypond-book templates::
30 @appendixsec Single staff
32 @appendixsubsec Notes only
34 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
35 {single-staff-template-with-only-notes.ly}
38 @appendixsubsec Notes and lyrics
40 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
41 {single-staff-template-with-notes-and-lyrics.ly}
43 @appendixsubsec Notes and chords
45 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
46 {single-staff-template-with-notes-and-chords.ly}
48 @appendixsubsec Notes, lyrics, and chords.
50 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
51 {single-staff-template-with-notes,-lyrics,-and-chords.ly}
55 @appendixsec Piano templates
57 @appendixsubsec Solo piano
59 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
60 {piano-template-simple.ly}
62 @appendixsubsec Piano and melody with lyrics
64 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
65 {piano-template-with-melody-and-lyrics.ly}
67 @appendixsubsec Piano centered lyrics
69 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
70 {piano-template-with-centered-lyrics.ly}
72 @appendixsubsec Piano centered dynamics
74 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
75 {piano-template-with-centered-dynamics.ly}
79 @appendixsec String quartet
81 @appendixsubsec String quartet
83 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
84 {string-quartet-template-simple.ly}
86 @appendixsubsec String quartet parts
88 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
89 {string-quartet-template-with-separate-parts.ly}
93 @appendixsec Vocal ensembles
95 @appendixsubsec SATB vocal score
97 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
98 {vocal-ensemble-template.ly}
100 @appendixsubsec SATB vocal score and automatic piano reduction
102 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
103 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
105 @appendixsubsec SATB with aligned contexts
107 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
108 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
111 @c bad node name to avoid node name conflict
112 @node Ancient notation templates
113 @appendixsec Ancient notation templates
115 @appendixsubsec Transcription of mensural music
117 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
118 {ancient-notation-template----modern-transcription-of-mensural-music.ly}
120 @appendixsubsec Gregorian transcription template
122 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
123 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
126 @appendixsec Jazz combo
128 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
129 {jazz-combo-template.ly}
135 This isn't very useful, and only duplicates material in
136 "global issues". And if this info changes, this section often
139 @no de Other templates
140 @se ction Other templates
141 @su bsection All headers
143 This template displays all available headers. Some of them are only
144 used in the Mutopia project; they don't affect the printed output at
145 all. They are used if you want the piece to be listed with different
146 information in the Mutopia database than you wish to have printed on the
147 music. For example, Mutopia lists the composer of the famous D major
148 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
149 "Petr Tchaikowski" on your music.
151 @ The `line-width' is for \header.
152 @li lypond[quote,verbatim,ragged-right,line-width]
155 dedication = "dedication"
157 subtitle = "Subtitle"
158 subsubtitle = "Subsubtitle"
159 composer = "Composer (xxxx-yyyy)"
163 instrument = "Instrument"
164 arranger = "Arranger"
166 texttranslator = "Translator"
167 copyright = "public domain"
169 % These are headers used by the Mutopia Project
170 % http://www.mutopiaproject.org/
174 mutopiainstrument = ""
175 date = "composer's dates"
177 maintainer = "your name here"
178 maintainerEmail = "your email here"
179 maintainerWeb = "your home page"
180 lastupdated = "2004/Aug/26"
202 @node Lilypond-book templates
203 @appendixsec Lilypond-book templates
205 These templates are for use with @code{lilypond-book}. If you're not familiar
206 with this program, please refer to @rprogram{LilyPond-book}.
208 @appendixsubsec LaTeX
210 You can include LilyPond fragments in a LaTeX document.
213 \documentclass[]@{article@}
235 @appendixsubsec Texinfo
237 You can include LilyPond fragments in Texinfo; in fact, this entire manual
238 is written in Texinfo.
246 @@lilypond[verbatim,fragment,ragged-right]
252 @@lilypond[verbatim,fragment,ragged-right]
260 @appendixsubsec xelatex
263 \documentclass{article}
266 %xetex specific stuff
267 \usepackage{xunicode,fontspec,xltxtra}
268 \setmainfont[Numbers=OldStyle]{Times New Roman}
271 %This can be empty if you are not going to use pdftex
272 \usepackage[T1]{fontenc}
273 \usepackage[utf8]{inputenc}
274 \usepackage{mathptmx}%Times
275 \usepackage{helvet}%Helvetica
277 %Here you can insert all packages that pdftex also understands
278 \usepackage[ngerman,finnish,english]{babel}
279 \usepackage{graphicx}
282 \title{A short document with lilypond and xelatex}
285 Normal \textbf{font} commands inside the \emph{text} work,
286 because they \textsf{are supported by \LaTeX{} and XeteX.}
287 If you want to use specific commands like \verb+\XeTeX+, you
288 should include them again in a \verb+\ifxetex+ environment.
289 You can use this to print the \ifxetex \XeTeX{} command \else
290 XeTeX command \fi which is not known to normal \LaTeX .
292 In normal text you can easily use lilypond commands, like this:
301 The fonts of snippets set with lilypond will have to be set from
303 of the snippet. For this you should read the AU on how to use
306 \selectlanguage{ngerman}
307 Auch Umlaute funktionieren ohne die \LaTeX -Befehle, wie auch alle
309 seltsamen Zeichen: __ ______, wenn sie von der Schriftart