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