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