]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/learning/templates.itely
Docs: LM Templates: add hymn tune 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 @appendixsubsec Hymn tunes
119
120 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
121 {hymn-template.ly}
122
123
124 @node Orchestral templates
125 @appendixsec Orchestral templates
126
127 @appendixsubsec Orchestra, choir and piano
128 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
129 {orchestra,-choir-and-piano-template.ly}
130
131
132 @c bad node name to avoid node name conflict
133 @node Ancient notation templates
134 @appendixsec Ancient notation templates
135
136 @appendixsubsec Transcription of mensural music
137
138 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
139 {ancient-notation-template----modern-transcription-of-mensural-music.ly}
140
141 @appendixsubsec Gregorian transcription template
142
143 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
144 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
145
146
147 @node Other templates
148 @appendixsec Other templates
149
150 @appendixsubsec Jazz combo
151
152 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
153 {jazz-combo-template.ly}
154
155
156
157
158 @ignore
159 This isn't very useful, and only duplicates material in
160 "global issues".  And if this info changes, this section often
161 gets forgotten.
162
163 @no de Other templates
164 @se ction Other templates
165 @su bsection All headers
166
167 This template displays all available headers.  Some of them are only
168 used in the Mutopia project; they don't affect the printed output at
169 all.  They are used if you want the piece to be listed with different
170 information in the Mutopia database than you wish to have printed on the
171 music.  For example, Mutopia lists the composer of the famous D major
172 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
173 "Petr Tchaikowski" on your music.
174
175 @ The `line-width' is for \header.
176 @li lypond[quote,verbatim,ragged-right,line-width]
177 \version "2.12.0"
178 \header {
179   dedication = "dedication"
180   title = "Title"
181   subtitle = "Subtitle"
182   subsubtitle = "Subsubtitle"
183   composer = "Composer (xxxx-yyyy)"
184   opus = "Opus 0"
185   piece = "Piece I"
186   meter = "meter"
187   instrument = "Instrument"
188   arranger = "Arranger"
189   poet = "Poet"
190   texttranslator = "Translator"
191   copyright = "public domain"
192
193   % These are headers used by the Mutopia Project
194   % http://www.mutopiaproject.org/
195   mutopiatitle = ""
196   mutopiacomposer = ""
197   mutopiapoet = ""
198   mutopiainstrument = ""
199   date = "composer's dates"
200   source = "urtext "
201   maintainer = "your name here"
202   maintainerEmail = "your email here"
203   maintainerWeb = "your home page"
204   lastupdated = "2004/Aug/26"
205 }
206
207 \score {
208   { c'4 }
209   \header {
210     piece = "piece1"
211     opus = "opus1"
212   }
213 }
214
215 \score {
216   { c'4 }
217   \header {
218     piece = "piece2"
219     opus = "opus2"
220   }
221 }
222 @end lilypond
223 @end ignore
224
225
226