Fix #1194.
[lilypond/mpolesky.git] / Documentation / learning / templates.itely
blob2940a0d88f54e6d4bd009f5208e8b568de228819
1 @c -*- coding: utf-8; mode: texinfo; -*-
3 @ignore
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..
9 @end ignore
11 @c \version "2.12.0"
13 @node Templates
14 @appendix Templates
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!
20 @c bad node name for ancient notation to avoid conflict
21 @menu
22 * Single staff::
23 * Piano templates::
24 * String quartet::
25 * Vocal ensembles::
26 * Orchestral templates::
27 * Ancient notation templates::
28 * Other templates::
29 @end menu
32 @node Single staff
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}
57 @node Piano templates
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}
81 @node String quartet
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}
95 @node Vocal ensembles
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}
113 @appendixsubsec Solo verse and two-part refrain
115 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
116 {vocal-ensemble-template-with-verse-and-refrain.ly}
119 @node Orchestral templates
120 @appendixsec Orchestral templates
122 @appendixsubsec Orchestra, choir and piano
123 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
124 {orchestra,-choir-and-piano-template.ly}
127 @c bad node name to avoid node name conflict
128 @node Ancient notation templates
129 @appendixsec Ancient notation templates
131 @appendixsubsec Transcription of mensural music
133 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
134 {ancient-notation-template----modern-transcription-of-mensural-music.ly}
136 @appendixsubsec Gregorian transcription template
138 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
139 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
142 @node Other templates
143 @appendixsec Other templates
145 @appendixsubsec Jazz combo
147 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
148 {jazz-combo-template.ly}
153 @ignore
154 This isn't very useful, and only duplicates material in
155 "global issues".  And if this info changes, this section often
156 gets forgotten.
158 @no de Other templates
159 @se ction Other templates
160 @su bsection All headers
162 This template displays all available headers.  Some of them are only
163 used in the Mutopia project; they don't affect the printed output at
164 all.  They are used if you want the piece to be listed with different
165 information in the Mutopia database than you wish to have printed on the
166 music.  For example, Mutopia lists the composer of the famous D major
167 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
168 "Petr Tchaikowski" on your music.
170 @ The `line-width' is for \header.
171 @li lypond[quote,verbatim,ragged-right,line-width]
172 \version "2.12.0"
173 \header {
174   dedication = "dedication"
175   title = "Title"
176   subtitle = "Subtitle"
177   subsubtitle = "Subsubtitle"
178   composer = "Composer (xxxx-yyyy)"
179   opus = "Opus 0"
180   piece = "Piece I"
181   meter = "meter"
182   instrument = "Instrument"
183   arranger = "Arranger"
184   poet = "Poet"
185   texttranslator = "Translator"
186   copyright = "public domain"
188   % These are headers used by the Mutopia Project
189   % http://www.mutopiaproject.org/
190   mutopiatitle = ""
191   mutopiacomposer = ""
192   mutopiapoet = ""
193   mutopiainstrument = ""
194   date = "composer's dates"
195   source = "urtext "
196   maintainer = "your name here"
197   maintainerEmail = "your email here"
198   maintainerWeb = "your home page"
199   lastupdated = "2004/Aug/26"
202 \score {
203   { c'4 }
204   \header {
205     piece = "piece1"
206     opus = "opus1"
207   }
210 \score {
211   { c'4 }
212   \header {
213     piece = "piece2"
214     opus = "opus2"
215   }
217 @end lilypond
218 @end ignore