]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/es/user/templates.itely
lilypond-book robustness: ensure EOL at the end of @verbatim
[lilypond.git] / Documentation / es / user / templates.itely
1 @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*-
2 @c This file is part of lilypond-learning.tely
3 @ignore
4     Translation of GIT committish: d4f58bb3ad4e7fe1967a6b48f25e3addffc8aa14
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 Esta sección del manual contiene plantillas con la partitura de LilyPond
16 ya preparada.  Sólo tiene que escribir las notas, lanzar LilyPond y ¡disfrutar de
17 unas hermosas partituras impresas!
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 * 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 @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
114 @node Orchestral templates
115 @appendixsec Orchestral templates
116
117 @appendixsubsec Orchestra, choir and piano
118 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
119 {orchestra,-choir-and-piano-template.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 @appendixsubsec Gregorian transcription template
132
133 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
134 {ancient-notation-template----modern-transcription-of-gregorian-music.ly}
135
136 @node Jazz combo
137 @appendixsec Jazz combo
138
139 @lilypondfile[verbatim,lilyquote,ragged-right,texidoc]
140 {jazz-combo-template.ly}
141
142 @node lilypond-book templates
143 @appendixsec lilypond-book templates
144
145 Estas plantillas se usan para @code{lilypond-book}.  Si no está familiarizado con este
146 programa, consulte @rprogram{LilyPond-book}.
147
148 @appendixsubsec LaTeX
149
150 Podemos insertar fragmentos de LilyPond dentro de un documento de LaTeX.
151
152 @example
153 \documentclass[]@{article@}
154
155 \begin@{document@}
156
157 Texto normal en LaTeX.
158
159 \begin@{lilypond@}
160 \relative c'' @{
161 a4 b c d
162 @}
163 \end@{lilypond@}
164
165 Más texto en LaTeX.
166
167 \begin@{lilypond@}
168 \relative c'' @{
169 d4 c b a
170 @}
171 \end@{lilypond@}
172 \end@{document@}
173 @end example
174
175 @appendixsubsec Texinfo
176
177 Podemos insertar fragmentos de LilyPond dentro de Texinfo; de hecho, todo el presente manual
178 está escrito en Texinfo.
179
180 @example
181 \input texinfo
182 @@node Top
183
184 Texto en Texinfo
185
186 @@lilypond[verbatim,fragment,ragged-right]
187 a4 b c d
188 @@end lilypond
189
190 Más texto en Texinfo
191
192 @@lilypond[verbatim,fragment,ragged-right]
193 d4 c b a
194 @@end lilypond
195
196 @@bye
197 @end example
198
199
200 @appendixsubsec xelatex
201
202 @verbatim
203 \documentclass{article}
204 \usepackage{ifxetex}
205 \ifxetex
206 %xetex specific stuff
207 \usepackage{xunicode,fontspec,xltxtra}
208 \setmainfont[Numbers=OldStyle]{Times New Roman}
209 \setsansfont{Arial}
210 \else
211 %Esto puede estar en blanco si no vamos a usar  pdftex
212 \usepackage[T1]{fontenc}
213 \usepackage[utf8]{inputenc}
214 \usepackage{mathptmx}%Times
215 \usepackage{helvet}%Helvetica
216 \fi
217 %Aquí podemos insertar todos los paquetes que pdftex también entiende
218 \usepackage[spanish,ngerman,finnish,english]{babel}
219 \usepackage{graphicx}
220
221 \begin{document}
222 \title{Un breve documento con LilyPond y xelatex}
223 \maketitle
224
225 Las instrucciones \textbf{font} normales dentro del \emph{text}
226 funcionan, porque \textsf{están contempladas por \LaTeX{} y XeteX.}
227 Si quiere usar instrucciones específicas como \verb+\XeTeX+, debe
228 incluirlas también dentro de un entorno \verb+\ifxetex+. Puede usar
229 esto para imprimir la instrucción \ifxetex \XeTeX{} \else XeTeX \fi
230 que no es conocida para el \LaTeX normal.
231
232 Dentro del texto normal puede usar fácilmente instrucciones de
233 LilyPond, como ésta:
234
235 \begin{lilypond}
236 {a2 b c'8 c' c' c'}
237 \end{lilypond}
238
239 \noindent
240 etcétera.
241
242 Las tipografías de los fragmentos establecidas con LilyPond se tendrán
243 que ajustar desde dentro del fragmento. Para esto debe leer el manual
244 UA en cuanto a cómo usar lilypond-book.
245
246 \selectlanguage{ngerman}
247 Auch Umlaute funktionieren ohne die \LaTeX -Befehle, wie auch alle
248 anderen
249 seltsamen Zeichen: __ ______, wenn sie von der Schriftart
250 unterst__tzt werden.
251 \end{document}
252 @end verbatim