]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/learning/templates.itely
Doc: LM: Make verse-and-refrain example into a template.
[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.12.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,lilyquote,ragged-right,texidoc,addversion]
38 {single-staff-template-with-only-notes.ly}
39
40
41 @appendixsubsec Notes and lyrics
42
43 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
44 {single-staff-template-with-notes-and-lyrics.ly}
45
46 @appendixsubsec Notes and chords
47
48 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
49 {single-staff-template-with-notes-and-chords.ly}
50
51 @appendixsubsec Notes, lyrics, and chords.
52
53 @lilypondfile[verbatim,lilyquote,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,lilyquote,ragged-right,texidoc]
63 {piano-template-simple.ly}
64
65 @appendixsubsec Piano and melody with lyrics
66
67 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
68 {piano-template-with-melody-and-lyrics.ly}
69
70 @appendixsubsec Piano centered lyrics
71
72 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
73 {piano-template-with-centered-lyrics.ly}
74
75 @appendixsubsec Piano centered dynamics
76
77 @lilypondfile[verbatim,lilyquote,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,lilyquote,ragged-right,texidoc]
87 {string-quartet-template-simple.ly}
88
89 @appendixsubsec String quartet parts
90
91 @lilypondfile[verbatim,lilyquote,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,lilyquote,ragged-right,texidoc]
101 {vocal-ensemble-template.ly}
102
103 @appendixsubsec SATB vocal score and automatic piano reduction
104
105 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
106 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
107
108 @appendixsubsec SATB with aligned contexts
109
110 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
111 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
112
113 @appendixsubsec Solo verse and two-part refrain
114
115 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
116 {vocal-ensemble-template-with-verse-and-refrain.ly}
117
118
119 @node Orchestral templates
120 @appendixsec Orchestral templates
121
122 @appendixsubsec Orchestra, choir and piano
123 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
124 {orchestra,-choir-and-piano-template.ly}
125
126
127 @c bad node name to avoid node name conflict
128 @node Ancient notation templates
129 @appendixsec Ancient notation templates
130
131 @appendixsubsec Transcription of mensural music
132
133 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
134 {ancient-notation-template----modern-transcription-of-mensural-music.ly}
135
136 @appendixsubsec Gregorian transcription template
137
138 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
139 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
140
141
142 @node Other templates
143 @appendixsec Other templates
144
145 @appendixsubsec Jazz combo
146
147 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
148 {jazz-combo-template.ly}
149
150
151
152
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.
157
158 @no de Other templates
159 @se ction Other templates
160 @su bsection All headers
161
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.
169
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"
187
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"
200 }
201
202 \score {
203   { c'4 }
204   \header {
205     piece = "piece1"
206     opus = "opus1"
207   }
208 }
209
210 \score {
211   { c'4 }
212   \header {
213     piece = "piece2"
214     opus = "opus2"
215   }
216 }
217 @end lilypond
218 @end ignore
219
220
221