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