1 @c -*- coding: utf-8; mode: texinfo; -*-
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.
15 This section of the manual contains templates with the LilyPond score
16 already set up for you. Just add notes, run LilyPond, and enjoy
17 beautiful printed scores!
19 @c bad node name for ancient notation to avoid conflict
25 * Orchestral templates::
26 * Ancient notation templates::
28 * lilypond-book templates::
33 @appendixsec Single staff
35 @appendixsubsec Notes only
37 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
38 {single-staff-template-with-only-notes.ly}
41 @appendixsubsec Notes and lyrics
43 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
44 {single-staff-template-with-notes-and-lyrics.ly}
46 @appendixsubsec Notes and chords
48 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
49 {single-staff-template-with-notes-and-chords.ly}
51 @appendixsubsec Notes, lyrics, and chords.
53 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
54 {single-staff-template-with-notes,-lyrics,-and-chords.ly}
58 @appendixsec Piano templates
60 @appendixsubsec Solo piano
62 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
63 {piano-template-simple.ly}
65 @appendixsubsec Piano and melody with lyrics
67 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
68 {piano-template-with-melody-and-lyrics.ly}
70 @appendixsubsec Piano centered lyrics
72 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
73 {piano-template-with-centered-lyrics.ly}
75 @appendixsubsec Piano centered dynamics
77 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
78 {piano-template-with-centered-dynamics.ly}
82 @appendixsec String quartet
84 @appendixsubsec String quartet
86 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
87 {string-quartet-template-simple.ly}
89 @appendixsubsec String quartet parts
91 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
92 {string-quartet-template-with-separate-parts.ly}
96 @appendixsec Vocal ensembles
98 @appendixsubsec SATB vocal score
100 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
101 {vocal-ensemble-template.ly}
103 @appendixsubsec SATB vocal score and automatic piano reduction
105 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
106 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
108 @appendixsubsec SATB with aligned contexts
110 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
111 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
114 @node Orchestral templates
115 @appendixsec Orchestral templates
117 @appendixsubsec Orchestra, choir and piano
118 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
119 {orchestra,-choir-and-piano-template.ly}
122 @c bad node name to avoid node name conflict
123 @node Ancient notation templates
124 @appendixsec Ancient notation templates
126 @appendixsubsec Transcription of mensural music
128 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
129 {ancient-notation-template----modern-transcription-of-mensural-music.ly}
131 @appendixsubsec Gregorian transcription template
133 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
134 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
137 @appendixsec Jazz combo
139 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
140 {jazz-combo-template.ly}
146 This isn't very useful, and only duplicates material in
147 "global issues". And if this info changes, this section often
150 @no de Other templates
151 @se ction Other templates
152 @su bsection All headers
154 This template displays all available headers. Some of them are only
155 used in the Mutopia project; they don't affect the printed output at
156 all. They are used if you want the piece to be listed with different
157 information in the Mutopia database than you wish to have printed on the
158 music. For example, Mutopia lists the composer of the famous D major
159 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
160 "Petr Tchaikowski" on your music.
162 @ The `line-width' is for \header.
163 @li lypond[quote,verbatim,ragged-right,line-width]
166 dedication = "dedication"
168 subtitle = "Subtitle"
169 subsubtitle = "Subsubtitle"
170 composer = "Composer (xxxx-yyyy)"
174 instrument = "Instrument"
175 arranger = "Arranger"
177 texttranslator = "Translator"
178 copyright = "public domain"
180 % These are headers used by the Mutopia Project
181 % http://www.mutopiaproject.org/
185 mutopiainstrument = ""
186 date = "composer's dates"
188 maintainer = "your name here"
189 maintainerEmail = "your email here"
190 maintainerWeb = "your home page"
191 lastupdated = "2004/Aug/26"
213 @node lilypond-book templates
214 @appendixsec lilypond-book templates
216 These templates are for use with @code{lilypond-book}. If you're not familiar
217 with this program, please refer to
219 @c @rprogram{LilyPond-book}.
221 @appendixsubsec LaTeX
223 You can include LilyPond fragments in a LaTeX document.
226 \documentclass[]@{article@}
248 @appendixsubsec Texinfo
250 You can include LilyPond fragments in Texinfo; in fact, this entire manual
251 is written in Texinfo.
259 @@lilypond[verbatim,fragment,ragged-right]
265 @@lilypond[verbatim,fragment,ragged-right]
273 @appendixsubsec xelatex
276 \documentclass{article}
279 %xetex specific stuff
280 \usepackage{xunicode,fontspec,xltxtra}
281 \setmainfont[Numbers=OldStyle]{Times New Roman}
284 %This can be empty if you are not going to use pdftex
285 \usepackage[T1]{fontenc}
286 \usepackage[utf8]{inputenc}
287 \usepackage{mathptmx}%Times
288 \usepackage{helvet}%Helvetica
290 %Here you can insert all packages that pdftex also understands
291 \usepackage[ngerman,finnish,english]{babel}
292 \usepackage{graphicx}
295 \title{A short document with LilyPond and xelatex}
298 Normal \textbf{font} commands inside the \emph{text} work,
299 because they \textsf{are supported by \LaTeX{} and XeteX.}
300 If you want to use specific commands like \verb+\XeTeX+, you
301 should include them again in a \verb+\ifxetex+ environment.
302 You can use this to print the \ifxetex \XeTeX{} command \else
303 XeTeX command \fi which is not known to normal \LaTeX .
305 In normal text you can easily use LilyPond commands, like this:
314 The fonts of snippets set with LilyPond will have to be set from
316 of the snippet. For this you should read the AU on how to use
319 \selectlanguage{ngerman}
320 Auch Umlaute funktionieren ohne die \LaTeX -Befehle, wie auch alle
322 seltsamen Zeichen: __ ______, wenn sie von der Schriftart