]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/de/user/templates.itely
b88d66576030f786d71e3ef59654e0742292870f
[lilypond.git] / Documentation / de / user / templates.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*-
2 @c This file is part of lilypond-learning.tely
3 @ignore
4     Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
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 Dieser Abschnitt des Handbuches enthält Vorlagen, in denen die 
16 LilyPond-Partitur schon eingerichtet ist. Sie müssen nur noch Ihre 
17 Noten einfügen, die Datei mit LilyPond übersetzen und sich an dem 
18 schönen Notenbild erfreuen!
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 * Jazz combo::
29 * Lilypond-book templates::
30 @end menu
31
32
33 @node Single staff
34 @appendixsec Single staff
35
36 @appendixsubsec Notes only
37
38 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
39 {single-staff-template-with-only-notes.ly}
40
41
42 @appendixsubsec Notes and lyrics
43
44 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
45 {single-staff-template-with-notes-and-lyrics.ly}
46
47
48 @appendixsubsec Notes and chords
49
50 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
51 {single-staff-template-with-notes-and-chords.ly}
52
53
54 @appendixsubsec Notes, lyrics, and chords.
55
56 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
57 {single-staff-template-with-notes,-lyrics,-and-chords.ly}
58
59
60 @node Piano templates
61 @appendixsec Piano templates
62
63 @appendixsubsec Solo piano
64
65 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
66 {piano-template-simple.ly}
67
68
69 @appendixsubsec Piano and melody with lyrics
70
71 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
72 {piano-template-with-melody-and-lyrics.ly}
73
74
75 @appendixsubsec Piano centered lyrics
76
77 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
78 {piano-template-with-centered-lyrics.ly}
79
80
81 @appendixsubsec Piano centered dynamics
82
83 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
84 {piano-template-with-centered-dynamics.ly}
85
86
87 @node String quartet
88 @appendixsec String quartet
89
90 @appendixsubsec String quartet
91
92 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
93 {string-quartet-template-simple.ly}
94
95
96 @appendixsubsec String quartet parts
97
98 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
99 {string-quartet-template-with-separate-parts.ly}
100
101
102 @node Vocal ensembles
103 @appendixsec Vocal ensembles
104
105 @appendixsubsec SATB vocal score
106
107 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
108 {vocal-ensemble-template.ly}
109
110
111 @appendixsubsec SATB vocal score and automatic piano reduction
112
113 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
114 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
115
116
117 @appendixsubsec SATB with aligned contexts
118
119 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
120 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
121
122
123 @node Orchestral templates
124 @appendixsec Orchestral templates
125
126 @appendixsubsec Orchestra, choir and piano
127 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
128 {orchestra,-choir-and-piano-template.ly}
129
130
131 @c bad node name to avoid node name conflict
132 @node Ancient notation templates
133 @appendixsec Ancient notation templates
134
135 @appendixsubsec Transcription of mensural music
136
137 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
138 {ancient-notation-template----modern-transcription-of-mensural-music.ly}
139
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 Jazz combo
148 @appendixsec Jazz combo
149
150 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
151 {jazz-combo-template.ly}
152
153
154 @ignore
155
156 This isn't very useful, and only duplicates material in
157 "global issues".  And if this info changes, this section often
158 gets forgotten.
159
160 @no de Other templates
161 @se ction Other templates
162 @su bsection All headers
163
164 This template displays all available headers.  Some of them are only
165 used in the Mutopia project; they don't affect the printed output at
166 all.  They are used if you want the piece to be listed with different
167 information in the Mutopia database than you wish to have printed on the
168 music.  For example, Mutopia lists the composer of the famous D major
169 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
170 "Petr Tchaikowski" on your music.
171
172 @ The `line-width' is for \header.
173 @li lypond[quote,verbatim,ragged-right,line-width]
174 \version "2.12.0"
175 \header {
176   dedication = "dedication"
177   title = "Title"
178   subtitle = "Subtitle"
179   subsubtitle = "Subsubtitle"
180   composer = "Composer (xxxx-yyyy)"
181   opus = "Opus 0"
182   piece = "Piece I"
183   meter = "meter"
184   instrument = "Instrument"
185   arranger = "Arranger"
186   poet = "Poet"
187   texttranslator = "Translator"
188   copyright = "public domain"
189
190   % These are headers used by the Mutopia Project
191   % http://www.mutopiaproject.org/
192   mutopiatitle = ""
193   mutopiacomposer = ""
194   mutopiapoet = ""
195   mutopiainstrument = ""
196   date = "composer's dates"
197   source = "urtext "
198   maintainer = "your name here"
199   maintainerEmail = "your email here"
200   maintainerWeb = "your home page"
201   lastupdated = "2004/Aug/26"
202 }
203
204 \score {
205   { c'4 }
206   \header {
207     piece = "piece1"
208     opus = "opus1"
209   }
210 }
211
212 \score {
213   { c'4 }
214   \header {
215     piece = "piece2"
216     opus = "opus2"
217   }
218 }
219 @end lilypond
220 @end ignore
221
222
223 @node Lilypond-book templates
224 @appendixsec Lilypond-book templates
225
226 Diese Vorlagen können mit @code{lilypond-book} benutzt werden. Wenn 
227 Sie dieses Programm noch nicht kennen, lesen Sie bitte den Abschnitt 
228 @rprogram{LilyPond-book}.
229
230 @appendixsubsec LaTeX
231
232 LilyPond-Noten können in LaTeX-Dokumente eingefügt werden.
233
234 @example
235 \documentclass[]@{article@}
236
237 \begin@{document@}
238
239 Normaler LaTeX-Ttext.
240
241 \begin@{lilypond@}
242 \relative c'' @{
243 a4 b c d
244 @}
245 \end@{lilypond@}
246
247 Weiterer LaTeX-Text.
248
249 \begin@{lilypond@}
250 \relative c'' @{
251 d4 c b a
252 @}
253 \end@{lilypond@}
254 \end@{document@}
255 @end example
256
257 @appendixsubsec Texinfo
258
259 LilyPond-Noten können auch in Texinfo eingefügt werden -- dieses 
260 gesamte Handbuch ist in Texinfo geschrieben.
261
262 @example
263 \input texinfo
264 @@node Top
265
266 Texinfo-Text
267
268 @@lilypond[verbatim,fragment,ragged-right]
269 a4 b c d
270 @@end lilypond
271
272 Weiterer Texinfo-Text
273
274 @@lilypond[verbatim,fragment,ragged-right]
275 d4 c b a
276 @@end lilypond
277
278 @@bye
279 @end example
280
281
282 @appendixsubsec xelatex
283
284 @verbatim
285 \documentclass{article}
286 \usepackage{ifxetex}
287 \ifxetex
288 %xetex specific stuff
289 \usepackage{xunicode,fontspec,xltxtra}
290 \setmainfont[Numbers=OldStyle]{Times New Roman}
291 \setsansfont{Arial}
292 \else
293 %This can be empty if you are not going to use pdftex
294 \usepackage[T1]{fontenc}
295 \usepackage[utf8]{inputenc}
296 \usepackage{mathptmx}%Times
297 \usepackage{helvet}%Helvetica
298 \fi
299 %Here you can insert all packages that pdftex also understands
300 \usepackage[ngerman,finnish,english]{babel}
301 \usepackage{graphicx}
302
303 \begin{document}
304 \title{A short document with LilyPond and xelatex}
305 \maketitle
306
307 Normal \textbf{font} commands inside the \emph{text} work,
308 because they \textsf{are supported by \LaTeX{} and XeteX.}
309 If you want to use specific commands like \verb+\XeTeX+, you
310 should include them again in a \verb+\ifxetex+ environment.
311 You can use this to print the \ifxetex \XeTeX{} command \else
312 XeTeX command \fi which is not known to normal \LaTeX .
313
314 In normal text you can easily use LilyPond commands, like this:
315
316 \begin{lilypond}
317 {a2 b c'8 c' c' c'}
318 \end{lilypond}
319
320 \noindent
321 and so on.
322
323 The fonts of snippets set with LilyPond will have to be set from
324 inside 
325 of the snippet. For this you should read the AU on how to use
326 lilypond-book.
327
328 \selectlanguage{ngerman}
329 Auch Umlaute funktionieren ohne die \LaTeX -Befehle, wie auch alle
330 anderen
331 seltsamen Zeichen: ß,ł,ã,č,я,щ, wenn sie von der Schriftart
332 unterstützt werden.
333 \end{document}
334 @end verbatim
335