]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/learning/templates.itely
Doc-it: fix compile.
[lilypond.git] / Documentation / learning / templates.itely
1 @c -*- coding: utf-8; mode: texinfo; -*-
2
3 @ignore
4     Translation of GIT committish: FILL-IN-HEAD-COMMITTISH
5
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
10
11 @c \version "2.14.0"
12
13 @node Templates
14 @appendix Templates
15
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!
19
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
30
31
32 @node Single staff
33 @appendixsec Single staff
34
35 @appendixsubsec Notes only
36
37 @lilypondfile[verbatim,quote,ragged-right,texidoc,addversion]
38 {single-staff-template-with-only-notes.ly}
39
40
41 @appendixsubsec Notes and lyrics
42
43 @lilypondfile[verbatim,quote,ragged-right,texidoc,addversion]
44 {single-staff-template-with-notes-and-lyrics.ly}
45
46 @appendixsubsec Notes and chords
47
48 @lilypondfile[verbatim,quote,ragged-right,texidoc]
49 {single-staff-template-with-notes-and-chords.ly}
50
51 @appendixsubsec Notes, lyrics, and chords.
52
53 @lilypondfile[verbatim,quote,ragged-right,texidoc]
54 {single-staff-template-with-notes,-lyrics,-and-chords.ly}
55
56
57 @node Piano templates
58 @appendixsec Piano templates
59
60 @appendixsubsec Solo piano
61
62 @lilypondfile[verbatim,quote,ragged-right,texidoc]
63 {piano-template-simple.ly}
64
65 @appendixsubsec Piano and melody with lyrics
66
67 @lilypondfile[verbatim,quote,ragged-right,texidoc]
68 {piano-template-with-melody-and-lyrics.ly}
69
70 @appendixsubsec Piano centered lyrics
71
72 @lilypondfile[verbatim,quote,ragged-right,texidoc]
73 {piano-template-with-centered-lyrics.ly}
74
75 @appendixsubsec Piano centered dynamics
76
77 @lilypondfile[verbatim,quote,ragged-right,texidoc]
78 {piano-template-with-centered-dynamics.ly}
79
80
81 @node String quartet
82 @appendixsec String quartet
83
84 @appendixsubsec String quartet
85
86 @lilypondfile[verbatim,quote,ragged-right,texidoc]
87 {string-quartet-template-simple.ly}
88
89 @appendixsubsec String quartet parts
90
91 @lilypondfile[verbatim,quote,ragged-right,texidoc]
92 {string-quartet-template-with-separate-parts.ly}
93
94
95 @node Vocal ensembles
96 @appendixsec Vocal ensembles
97
98 @appendixsubsec SATB vocal score
99
100 @lilypondfile[verbatim,quote,ragged-right,texidoc]
101 {vocal-ensemble-template.ly}
102
103 @appendixsubsec SATB vocal score and automatic piano reduction
104
105 @lilypondfile[verbatim,quote,ragged-right,texidoc]
106 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
107
108 @appendixsubsec SATB with aligned contexts
109
110 @lilypondfile[verbatim,quote,ragged-right,texidoc]
111 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
112
113 @appendixsubsec SATB on four staves
114
115 @lilypondfile[verbatim,quote,ragged-right,texidoc]
116 {satb-choir-template---four-staves.ly}
117
118 @appendixsubsec Solo verse and two-part refrain
119
120 @lilypondfile[verbatim,quote,ragged-right,texidoc]
121 {vocal-ensemble-template-with-verse-and-refrain.ly}
122
123 @appendixsubsec Hymn tunes
124
125 @lilypondfile[verbatim,quote,ragged-right,texidoc]
126 {hymn-template.ly}
127
128 @appendixsubsec Psalms
129
130 @lilypondfile[verbatim,quote,ragged-right,texidoc]
131 {anglican-psalm-template.ly}
132
133
134 @node Orchestral templates
135 @appendixsec Orchestral templates
136
137 @appendixsubsec Orchestra, choir and piano
138 @lilypondfile[verbatim,quote,ragged-right,texidoc]
139 {orchestra,-choir-and-piano-template.ly}
140
141
142 @c bad node name to avoid node name conflict
143 @node Ancient notation templates
144 @appendixsec Ancient notation templates
145
146 @appendixsubsec Transcription of mensural music
147
148 @c Line-width below is because of Issue 766.  If that's fixed, it can be removed.
149 @lilypondfile[verbatim,quote,ragged-right,texidoc,line-width=140]
150 {ancient-notation-template----modern-transcription-of-mensural-music.ly}
151
152 @appendixsubsec Gregorian transcription template
153
154 @lilypondfile[verbatim,quote,ragged-right,texidoc]
155 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
156
157
158 @node Other templates
159 @appendixsec Other templates
160
161 @appendixsubsec Jazz combo
162
163 @c Line-width below is because of Issue 766.  If that's fixed, it can be removed.
164 @lilypondfile[verbatim,quote,ragged-right,texidoc,line-width=140]
165 {jazz-combo-template.ly}
166
167
168
169
170 @ignore
171 This isn't very useful, and only duplicates material in
172 "global issues".  And if this info changes, this section often
173 gets forgotten.
174
175 @no de Other templates
176 @se ction Other templates
177 @su bsection All headers
178
179 This template displays all available headers.  Some of them are only
180 used in the Mutopia project; they don't affect the printed output at
181 all.  They are used if you want the piece to be listed with different
182 information in the Mutopia database than you wish to have printed on the
183 music.  For example, Mutopia lists the composer of the famous D major
184 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
185 "Petr Tchaikowski" on your music.
186
187 @ The `line-width' is for \header.
188 @li lypond[quote,verbatim,ragged-right,line-width]
189 \version "2.14.0"
190 \header {
191   dedication = "dedication"
192   title = "Title"
193   subtitle = "Subtitle"
194   subsubtitle = "Subsubtitle"
195   composer = "Composer (xxxx-yyyy)"
196   opus = "Opus 0"
197   piece = "Piece I"
198   meter = "meter"
199   instrument = "Instrument"
200   arranger = "Arranger"
201   poet = "Poet"
202   texttranslator = "Translator"
203   copyright = "public domain"
204
205   % These are headers used by the Mutopia Project
206   % http://www.mutopiaproject.org/
207   mutopiatitle = ""
208   mutopiacomposer = ""
209   mutopiapoet = ""
210   mutopiainstrument = ""
211   date = "composer's dates"
212   source = "urtext "
213   maintainer = "your name here"
214   maintainerEmail = "your email here"
215   maintainerWeb = "your home page"
216   lastupdated = "2004/Aug/26"
217 }
218
219 \score {
220   { c'4 }
221   \header {
222     piece = "piece1"
223     opus = "opus1"
224   }
225 }
226
227 \score {
228   { c'4 }
229   \header {
230     piece = "piece2"
231     opus = "opus2"
232   }
233 }
234 @end lilypond
235 @end ignore
236
237
238