]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/ja/learning/templates.itely
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / Documentation / ja / learning / templates.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: ja -*-
2
3 @ignore
4     Translation of GIT committish: 499a511d4166feaada31114e097f86b5e0c56421
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
13 @c Translators: Yoshiki Sawada
14 @c Translation status: post-GDP
15
16
17 @node テンプレート
18 @appendix テンプレート
19 @translationof Templates
20
21 このセクションにはセットアップ済みの LilyPond 楽譜を持つテンプレートがあります。音符を付け加えて、LilyPond を実行してください。あとは美しく譜刻された楽譜をお楽しみください!
22
23
24 @menu
25 * 単一の譜表::
26 * ピアノ テンプレート::
27 * 弦楽四重奏::
28 * 合唱::
29 * Ancient notation templates::
30 * Jazz combo::
31 * lilypond-book templates::
32 @end menu
33
34
35 @node 単一の譜表
36 @appendixsec 単一の譜表
37 @translationof Single staff
38
39 @appendixsubsec 音符のみ
40
41 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
42 {single-staff-template-with-only-notes.ly}
43
44 @appendixsubsec 音符と歌詞
45
46 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc,addversion]
47 {single-staff-template-with-notes-and-lyrics.ly}
48
49 @appendixsubsec 音符とコード
50
51 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
52 {single-staff-template-with-notes-and-chords.ly}
53
54 @appendixsubsec 音符、歌詞それにコード
55
56 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
57 {single-staff-template-with-notes,-lyrics,-and-chords.ly}
58
59
60 @node ピアノ テンプレート
61 @appendixsec ピアノ テンプレート
62 @translationof Piano templates
63
64 @appendixsubsec ソロ ピアノ
65
66 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
67 {piano-template-simple.ly}
68
69 @appendixsubsec ピアノと歌詞を持つ旋律
70
71 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
72 {piano-template-with-melody-and-lyrics.ly}
73
74 @appendixsubsec 中央に歌詞を持つピアノ譜
75
76 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
77 {piano-template-with-centered-lyrics.ly}
78
79 @appendixsubsec 中央に強弱記号を持つピアノ譜
80
81 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
82 {piano-template-with-centered-dynamics.ly}
83
84
85 @node 弦楽四重奏
86 @appendixsec 弦楽四重奏
87 @translationof String quartet
88
89 @appendixsubsec 弦楽四重奏
90
91 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
92 {string-quartet-template-simple.ly}
93
94 @appendixsubsec 弦楽四重奏パート
95
96 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
97 {string-quartet-template-with-separate-parts.ly}
98
99
100 @node 合唱
101 @appendixsec 合唱
102 @translationof Vocal ensembles
103
104 @appendixsubsec SATB ボーカル譜
105
106 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
107 {vocal-ensemble-template.ly}
108
109 @appendixsubsec SATB ボーカル譜と自動ピアノ譜
110
111 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
112 {vocal-ensemble-template-with-automatic-piano-reduction.ly}
113
114 @appendixsubsec 整列されたコンテキストを持つ SATB
115
116 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
117 {vocal-ensemble-template-with-lyrics-aligned-below-and-above-the-staves.ly}
118
119
120 @c bad node name to avoid node name conflict
121 @node Ancient notation templates
122 @appendixsec Ancient notation templates
123 @translationof 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
136 @node Jazz combo
137 @appendixsec Jazz combo
138 @translationof Jazz combo
139
140
141 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
142 {jazz-combo-template.ly}
143
144
145
146
147 @ignore
148 This isn't very useful, and only duplicates material in
149 "global issues".  And if this info changes, this section often
150 gets forgotten.
151
152 @no de Other templates
153 @se ction Other templates
154 @su bsection All headers
155
156 This template displays all available headers.  Some of them are only
157 used in the Mutopia project; they don't affect the printed output at
158 all.  They are used if you want the piece to be listed with different
159 information in the Mutopia database than you wish to have printed on the
160 music.  For example, Mutopia lists the composer of the famous D major
161 violin concerto as TchaikovskyPI, whereas perhaps you wish to print
162 "Petr Tchaikowski" on your music.
163
164 @ The `line-width' is for \header.
165 @li lypond[quote,verbatim,ragged-right,line-width]
166 \version "2.12.0"
167 \header {
168   dedication = "dedication"
169   title = "Title"
170   subtitle = "Subtitle"
171   subsubtitle = "Subsubtitle"
172   composer = "Composer (xxxx-yyyy)"
173   opus = "Opus 0"
174   piece = "Piece I"
175   meter = "meter"
176   instrument = "Instrument"
177   arranger = "Arranger"
178   poet = "Poet"
179   texttranslator = "Translator"
180   copyright = "public domain"
181
182   % These are headers used by the Mutopia Project
183   % http://www.mutopiaproject.org/
184   mutopiatitle = ""
185   mutopiacomposer = ""
186   mutopiapoet = ""
187   mutopiainstrument = ""
188   date = "composer's dates"
189   source = "urtext "
190   maintainer = "your name here"
191   maintainerEmail = "your email here"
192   maintainerWeb = "your home page"
193   lastupdated = "2004/Aug/26"
194 }
195
196 \score {
197   { c'4 }
198   \header {
199     piece = "piece1"
200     opus = "opus1"
201   }
202 }
203
204 \score {
205   { c'4 }
206   \header {
207     piece = "piece2"
208     opus = "opus2"
209   }
210 }
211 @end lilypond
212 @end ignore
213
214
215 @node lilypond-book templates
216 @appendixsec lilypond-book templates
217 @translationof lilypond-book templates
218
219 These templates are for use with @code{lilypond-book}.  If you're not familiar
220 with this program, please refer to @rprogram{LilyPond-book}.
221
222 @appendixsubsec LaTeX
223
224 You can include LilyPond fragments in a LaTeX document.
225
226 @example
227 \documentclass[]@{article@}
228
229 \begin@{document@}
230
231 Normal LaTeX text.
232
233 \begin@{lilypond@}
234 \relative c'' @{
235 a4 b c d
236 @}
237 \end@{lilypond@}
238
239 More LaTeX text.
240
241 \begin@{lilypond@}
242 \relative c'' @{
243 d4 c b a
244 @}
245 \end@{lilypond@}
246 \end@{document@}
247 @end example
248
249 @appendixsubsec Texinfo
250
251 You can include LilyPond fragments in Texinfo; in fact, this entire manual
252 is written in Texinfo.
253
254 @example
255 \input texinfo
256 @@node Top
257
258 Texinfo text
259
260 @@lilypond[verbatim,fragment,ragged-right]
261 a4 b c d
262 @@end lilypond
263
264 More Texinfo text
265
266 @@lilypond[verbatim,fragment,ragged-right]
267 d4 c b a
268 @@end lilypond
269
270 @@bye
271 @end example
272
273
274 @appendixsubsec xelatex
275
276 @verbatim
277 \documentclass{article}
278 \usepackage{ifxetex}
279 \ifxetex
280 %xetex specific stuff
281 \usepackage{xunicode,fontspec,xltxtra}
282 \setmainfont[Numbers=OldStyle]{Times New Roman}
283 \setsansfont{Arial}
284 \else
285 %This can be empty if you are not going to use pdftex
286 \usepackage[T1]{fontenc}
287 \usepackage[utf8]{inputenc}
288 \usepackage{mathptmx}%Times
289 \usepackage{helvet}%Helvetica
290 \fi
291 %Here you can insert all packages that pdftex also understands
292 \usepackage[ngerman,finnish,english]{babel}
293 \usepackage{graphicx}
294
295 \begin{document}
296 \title{A short document with LilyPond and xelatex}
297 \maketitle
298
299 Normal \textbf{font} commands inside the \emph{text} work,
300 because they \textsf{are supported by \LaTeX{} and XeteX.}
301 If you want to use specific commands like \verb+\XeTeX+, you
302 should include them again in a \verb+\ifxetex+ environment.
303 You can use this to print the \ifxetex \XeTeX{} command \else
304 XeTeX command \fi which is not known to normal \LaTeX .
305
306 In normal text you can easily use LilyPond commands, like this:
307
308 \begin{lilypond}
309 {a2 b c'8 c' c' c'}
310 \end{lilypond}
311
312 \noindent
313 and so on.
314
315 The fonts of snippets set with LilyPond will have to be set from
316 inside
317 of the snippet. For this you should read the AU on how to use
318 lilypond-book.
319
320 \selectlanguage{ngerman}
321 Auch Umlaute funktionieren ohne die \LaTeX -Befehle, wie auch alle
322 anderen
323 seltsamen Zeichen: __ ______, wenn sie von der Schriftart
324 unterst__tzt werden.
325 \end{document}
326 @end verbatim
327
328