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. For details, see the Contributors'
8 Guide, node Updating translation committishes..
16 This section of the manual contains templates with the LilyPond score
17 already set up for you. Just add notes, run LilyPond, and enjoy
18 beautiful printed scores!
21 * Built-in templates::
22 * Single staff templates::
24 * String quartet templates::
25 * Vocal ensembles templates::
26 * Orchestral templates::
27 * Ancient notation templates::
32 @node Built-in templates
33 @appendixsec Built-in templates
35 A template, suitable for a range of choral music, is built into
36 LilyPond. This may be used to create simple choral music, with or
37 without piano accompaniment, in two or four staves. Unlike other
38 templates, this template is @q{built-in}, which means it does not
39 need to be copied and edited: instead it is simply
40 @code{\include}'d in the input file.
42 @warning {Unlike most included files, this built-in template must be
43 @code{\include}'d at the @emph{end} of the input file.}
45 The required music expressions are entered by defining values for
46 specific variables. These definition must come before the
47 @code{\include}'d file.
49 The music may be set out with one or two voices per staff by setting
50 @code{TwoVoicesPerStaff} to @code{##f} or @code{##t} respectively.
52 Here's the complete input file for producing a full four-part SATB
53 arrangement with individual lyrics and piano accompaniment:
55 @lilypond[verbatim, quote]
56 SopranoMusic = \relative { a'4\f a8 a a4 a }
57 SopranoLyrics = \lyricmode { Sop -- ra -- no ly -- rics }
58 AltoMusic = \relative { d'4\f d d d }
59 AltoLyrics = \lyricmode { Al -- to ly -- rics }
60 TenorMusic = \relative { a4\p a a a }
61 TenorLyrics = \lyricmode { Te -- nor ly -- rics }
62 BassMusic = \relative { c2\p c4 c }
63 BassLyrics = \lyricmode { Bass ly -- rics }
64 PianoRHMusic = \relative { c' e g c }
65 PianoDynamics = { s2\mp s4 s4 }
66 PianoLHMusic = \relative { c e g c }
70 The same input can be used to produce a score with two voices
71 per staff just by setting @code{TwoVoicesPerStaff} to @code{##t}.
72 Again, each voice has individual lyrics.
75 @lilypond[verbatim, quote]
76 SopranoMusic = \relative { a'4\f a8 a a4 a }
77 SopranoLyrics = \lyricmode { Sop -- ra -- no ly -- rics }
78 AltoMusic = \relative { d'4\f d d d }
79 AltoLyrics = \lyricmode { Al -- to ly -- rics }
80 TenorMusic = \relative { a4\p a a a }
81 TenorLyrics = \lyricmode { Te -- nor ly -- rics }
82 BassMusic = \relative { c2\p c4 c }
83 BassLyrics = \lyricmode { Bass ly -- rics }
84 PianoRHMusic = \relative { c' e g c }
85 PianoDynamics = { s2\mp s4 s4 }
86 PianoLHMusic = \relative { c e g c }
87 TwoVoicesPerStaff = ##t
91 When @code{TwoVoicesPerStaff} is set to false or allowed to default,
92 any of the music variables may be omitted to produce arrangements
93 with fewer voices. Here, for example, is how the input file for a
94 Soprano/Bass duet might be written:
96 @lilypond[verbatim,quote]
97 SopranoMusic = \relative { c'' c c c }
98 SopranoLyrics = \lyricmode { High voice ly -- rics }
99 BassMusic = \relative { a a a a }
100 BassLyrics = \lyricmode { Low voice ly -- rics }
104 A second verse or alternative lyrics may be added to each of the
107 @lilypond[verbatim, quote]
108 SopranoMusic = \relative { a'4 a a a }
109 SopranoLyricsOne = \lyricmode {
113 SopranoLyricsTwo = \lyricmode {
120 When the lyrics and rhythms are the same for every part, the vocal
121 music is best arranged on two staves with two voices in each. Up to
122 nine verses may be provided. Here's an unaccompanied example with
125 @lilypond[verbatim, quote]
126 SopranoMusic = \relative { a' a a a }
127 AltoMusic = \relative { f' f f f }
128 VerseOne = \lyricmode {
132 VerseTwo = \lyricmode {
136 VerseThree = \lyricmode {
140 TenorMusic = \relative { a a a a }
141 BassMusic = \relative { f f f f }
142 TwoVoicesPerStaff = ##t
146 Other variables may be given values. The key signature and
147 the time signature may be changed from the default:
149 @lilypond[verbatim, quote]
153 \tempo "Allegro" 4 = 144
155 SopranoMusic = \relative { gis' gis gis gis gis }
156 AltoMusic = \relative { cis' cis cis cis cis }
157 VerseOne = \lyricmode { Words to this du -- et }
158 TwoVoicesPerStaff = ##t
162 The instrument names and/or the short instrument names may be
165 @lilypond[verbatim,quote]
166 SopranoMusic = \relative { c'' c c c }
167 SopranoLyrics = \lyricmode { High voice ly -- rics }
168 SopranoInstrumentName = "Soprano 1"
169 SopranoShortInstrumentName = "S1"
170 AltoMusic = \relative { a' a a a }
171 AltoLyrics = \lyricmode { Low voice ly -- rics }
172 AltoInstrumentName = "Soprano 2"
173 AltoShortInstrumentName = "S2"
177 A descant may be added by defining values for the variable
178 @code{DescantMusic} and descant lyrics may be provided by defining
179 values for @code{DescantLyrics}. In a similar way a solo part may be
180 added above the grouped choir staves by defining values for
181 @code{SoloMusic} and @code{SoloLyrics}.
183 @code{\header} and @code{\paper} blocks may be added as normal.
184 A @code{\layout} block may be provided as the value of the
185 @code{Layout} variable:
188 Layout = \layout @{ ... @}
191 The complete set of variables which may be changed can be seen by
192 examining the file @file{ly/satb.ly}.
196 @ref{Organizing pieces with variables},
197 @ref{Vocal ensembles templates},
198 @ref{Extending the templates}.
201 More complex arrangements of SATB choral music are not possible with
202 these simple built-in templates.
205 @node Single staff templates
206 @appendixsec Single staff templates
212 * Notes lyrics and chords::
216 @appendixsubsec Notes only
218 @lilypondfile[verbatim,quote,ragged-right,texidoc,addversion]
219 {single-staff-template-with-only-notes.ly}
221 @node Notes and lyrics
222 @appendixsubsec Notes and lyrics
224 @lilypondfile[verbatim,quote,ragged-right,texidoc,addversion]
225 {single-staff-template-with-notes-and-lyrics.ly}
227 @node Notes and chords
228 @appendixsubsec Notes and chords
230 @lilypondfile[verbatim,quote,ragged-right,texidoc]
231 {single-staff-template-with-notes-and-chords.ly}
233 @node Notes lyrics and chords
234 @appendixsubsec Notes, lyrics, and chords
236 @lilypondfile[verbatim,quote,ragged-right,texidoc]
237 {single-staff-template-with-notes,-lyrics,-and-chords.ly}
240 @node Piano templates
241 @appendixsec Piano templates
245 * Piano and melody with lyrics::
246 * Piano centered lyrics::
250 @appendixsubsec Solo piano
252 @lilypondfile[verbatim,quote,ragged-right,texidoc]
253 {piano-template-simple.ly}
255 @node Piano and melody with lyrics
256 @appendixsubsec Piano and melody with lyrics
258 @lilypondfile[verbatim,quote,ragged-right,texidoc]
259 {piano-template-with-melody-and-lyrics.ly}
261 @node Piano centered lyrics
262 @appendixsubsec Piano centered lyrics
264 @lilypondfile[verbatim,quote,ragged-right,texidoc]
265 {piano-template-with-centered-lyrics.ly}
268 @node String quartet templates
269 @appendixsec String quartet templates
273 * String quartet parts::
277 @appendixsubsec String quartet
279 @lilypondfile[verbatim,quote,ragged-right,texidoc]
280 {string-quartet-template-simple.ly}
282 @node String quartet parts
283 @appendixsubsec String quartet parts
285 @lilypondfile[verbatim,quote,ragged-right,texidoc]
286 {string-quartet-template-with-separate-parts.ly}
289 @node Vocal ensembles templates
290 @appendixsec Vocal ensembles templates
292 The templates shown below should be copied into your score and edited
293 there. If you have a relatively simple SATB layout you may prefer to
294 use the built-in templates, which can simply be @code{\include}'d, see
295 @ref{Built-in templates}.
299 * SATB vocal score and automatic piano reduction::
300 * SATB with aligned contexts::
301 * SATB on four staves::
302 * Solo verse and two-part refrain::
307 @node SATB vocal score
308 @appendixsubsec SATB vocal score
310 @lilypondfile[verbatim,quote,ragged-right,texidoc]
311 {vocal-ensemble-template.ly}
313 @node SATB vocal score and automatic piano reduction
314 @appendixsubsec SATB vocal score and automatic piano reduction
316 @lilypondfile[verbatim,quote,ragged-right,texidoc]
317 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
319 @node SATB with aligned contexts
320 @appendixsubsec SATB with aligned contexts
322 @lilypondfile[verbatim,quote,ragged-right,texidoc]
323 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
325 @node SATB on four staves
326 @appendixsubsec SATB on four staves
328 @lilypondfile[verbatim,quote,ragged-right,texidoc]
329 {satb-choir-template---four-staves.ly}
331 @node Solo verse and two-part refrain
332 @appendixsubsec Solo verse and two-part refrain
334 @lilypondfile[verbatim,quote,ragged-right,texidoc]
335 {vocal-ensemble-template-with-verse-and-refrain.ly}
338 @appendixsubsec Hymn tunes
340 @lilypondfile[verbatim,quote,ragged-right,texidoc]
344 @appendixsubsec Psalms
346 @lilypondfile[verbatim,quote,ragged-right,texidoc]
347 {anglican-psalm-template.ly}
350 @node Orchestral templates
351 @appendixsec Orchestral templates
354 * Orchestra choir and piano::
357 @node Orchestra choir and piano
358 @appendixsubsec Orchestra, choir and piano
360 @lilypondfile[verbatim,quote,ragged-right,texidoc]
361 {orchestra,-choir-and-piano-template.ly}
364 @node Ancient notation templates
365 @appendixsec Ancient notation templates
368 * Transcription of mensural music::
369 * Gregorian transcription template::
372 @node Transcription of mensural music
373 @appendixsubsec Transcription of mensural music
375 @lilypondfile[verbatim,quote,ragged-right,texidoc]
378 @node Gregorian transcription template
379 @appendixsubsec Gregorian transcription template
381 @lilypondfile[verbatim,quote,ragged-right,texidoc]
382 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
385 @node Other templates
386 @appendixsec Other templates
393 @appendixsubsec Jazz combo
395 @lilypondfile[verbatim,quote,ragged-right,texidoc]
396 {jazz-combo-template.ly}
402 This isn't very useful, and only duplicates material in
403 "global issues". And if this info changes, this section often
406 @no de Other templates
407 @se ction Other templates
408 @su bsection All headers
410 This template displays all available headers. Some of them are only
411 used in the Mutopia project; they don't affect the printed output at
412 all. They are used if you want the piece to be listed with different
413 information in the Mutopia database than you wish to have printed on the
414 music. For example, Mutopia lists the composer of the famous D major
415 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
416 "Petr Tchaikowski" on your music.
418 @ The `line-width' is for \header.
419 @li lypond[quote,verbatim,ragged-right,line-width]
422 dedication = "dedication"
424 subtitle = "Subtitle"
425 subsubtitle = "Subsubtitle"
426 composer = "Composer (xxxx-yyyy)"
430 instrument = "Instrument"
431 arranger = "Arranger"
433 texttranslator = "Translator"
434 copyright = "public domain"
436 % These are headers used by the Mutopia Project
437 % http://www.mutopiaproject.org/
441 mutopiainstrument = ""
442 date = "composer's dates"
444 maintainer = "your name here"
445 maintainerEmail = "your email here"
446 maintainerWeb = "your home page"
447 lastupdated = "2004/Aug/26"