]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Customization.lyx
Update noweb URL in docs
[lyx.git] / lib / doc / es / Customization.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 544
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
22   \frontmatter
23   \pdfbookmark[1]{\contentsname}{}
24   \myTOC
25   \mainmatter }
26
27 \@ifpackageloaded{babel}{
28  % increase link area for cross-references and autoname them,
29  \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
30  \addto\extrasspanish{%
31   \renewcommand*{\equationautorefname}[1]{}%
32   \renewcommand{\sectionautorefname}{sec.\negthinspace}%
33   \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
34   \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
35  }
36 }{}
37 \end_preamble
38 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
40 \begin_modules
41 logicalmkup
42 \end_modules
43 \maintain_unincluded_children false
44 \language spanish
45 \language_package default
46 \inputencoding auto
47 \fontencoding global
48 \font_roman "lmodern" "default"
49 \font_sans "lmss" "default"
50 \font_typewriter "lmtt" "default"
51 \font_math "auto" "auto"
52 \font_default_family default
53 \use_non_tex_fonts false
54 \font_sc false
55 \font_osf false
56 \font_sf_scale 100 100
57 \font_tt_scale 100 100
58 \use_microtype false
59 \use_dash_ligatures false
60 \graphics default
61 \default_output_format pdf2
62 \output_sync 0
63 \bibtex_command default
64 \index_command default
65 \paperfontsize 12
66 \spacing single
67 \use_hyperref true
68 \pdf_title "Manual Personalización de LyX"
69 \pdf_author "Equipo LyX"
70 \pdf_subject "LyX-documentation Customization"
71 \pdf_keywords "LyX, documentation, customization"
72 \pdf_bookmarks true
73 \pdf_bookmarksnumbered true
74 \pdf_bookmarksopen true
75 \pdf_bookmarksopenlevel 1
76 \pdf_breaklinks false
77 \pdf_pdfborder false
78 \pdf_colorlinks true
79 \pdf_backref false
80 \pdf_pdfusetitle false
81 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
82 \papersize default
83 \use_geometry false
84 \use_package amsmath 0
85 \use_package amssymb 0
86 \use_package cancel 0
87 \use_package esint 0
88 \use_package mathdots 1
89 \use_package mathtools 0
90 \use_package mhchem 0
91 \use_package stackrel 0
92 \use_package stmaryrd 0
93 \use_package undertilde 0
94 \cite_engine basic
95 \cite_engine_type default
96 \biblio_style plain
97 \use_bibtopic false
98 \use_indices false
99 \paperorientation portrait
100 \suppress_date false
101 \justification true
102 \use_refstyle 0
103 \use_minted 0
104 \notefontcolor #0000ff
105 \branch OutDated
106 \selected 0
107 \filename_suffix 0
108 \color #f5fae7
109 \end_branch
110 \index Índice
111 \shortcut idx
112 \color #008000
113 \end_index
114 \secnumdepth 3
115 \tocdepth 3
116 \paragraph_separation indent
117 \paragraph_indentation default
118 \is_math_indent 1
119 \math_indentation default
120 \math_numbering_side default
121 \quotes_style swiss
122 \dynamic_quotes 0
123 \papercolumns 1
124 \papersides 2
125 \paperpagestyle headings
126 \tracking_changes false
127 \output_changes false
128 \html_math_output 0
129 \html_css_as_file 0
130 \html_be_strict true
131 \end_header
132
133 \begin_body
134
135 \begin_layout Title
136 Personalizar \SpecialChar LyX
137 : Características para el usuario avanzado
138 \end_layout
139
140 \begin_layout Author
141 por el equipo \SpecialChar LyX
142
143 \begin_inset Foot
144 status collapsed
145
146 \begin_layout Plain Layout
147 \noindent
148 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
149  correo de Documentación de \SpecialChar LyX
150
151 \begin_inset CommandInset href
152 LatexCommand href
153 target "lyx-docs@lists.lyx.org"
154 type "mailto:"
155 literal "false"
156
157 \end_inset
158
159 .
160  Incluye 
161 \begin_inset Quotes cld
162 \end_inset
163
164 [Customization]
165 \begin_inset Quotes crd
166 \end_inset
167
168  en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
169 , Richard Heck <rgheck@comcast.net>.
170 \end_layout
171
172 \end_inset
173
174  
175 \begin_inset Newline newline
176 \end_inset
177
178
179 \begin_inset Newline newline
180 \end_inset
181
182 Versión 2.3.x
183 \end_layout
184
185 \begin_layout Standard
186 \begin_inset CommandInset toc
187 LatexCommand tableofcontents
188
189 \end_inset
190
191
192 \end_layout
193
194 \begin_layout Chapter
195 Introducción
196 \end_layout
197
198 \begin_layout Standard
199 Este manual trata de las características de \SpecialChar LyX
200  que pueden ser modificadas
201  por el usuario.
202  En él abordamos temas como atajos de teclado, opciones de vista previa
203  en pantalla, opciones de impresora, envío de comandos mediante \SpecialChar LyX
204  Server,
205  internacionalización, instalación de nuevas clases de \SpecialChar LaTeX
206  y de formatos de
207  \SpecialChar LyX
208 , etc.
209  Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
210  desarrolladores añaden características nuevas más deprisa de lo que las
211  podemos documentar— pero explicaremos las modificaciones más comunes y
212  y esperamos orientarte en la dirección correcta para algunas más desconocidas.
213 \end_layout
214
215 \begin_layout Standard
216 \begin_inset Branch OutDated
217 inverted 0
218 status collapsed
219
220 \begin_layout Standard
221 La rama OutDated contiene información de versiones anteriores de este documento
222  que ahora parece estar obsoleta.
223  Por omisión, esta información no aparece en la salida \SpecialChar LaTeX
224 .
225 \end_layout
226
227 \end_inset
228
229
230 \end_layout
231
232 \begin_layout Chapter
233 Archivos de configuración de \SpecialChar LyX
234
235 \end_layout
236
237 \begin_layout Standard
238 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
239  de los archivos de configuración de \SpecialChar LyX
240 .
241  Antes de seguir leyendo deberías encontrar donde están los directorios
242  de bibliotecas y de usuario, consultando 
243 \begin_inset Flex Noun
244 status collapsed
245
246 \begin_layout Plain Layout
247 Ayuda\SpecialChar menuseparator
248 Acerca de \SpecialChar LyX
249
250 \end_layout
251
252 \end_inset
253
254 .
255  El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
256  tiene sus archivos
257  de configuración de sistema; el directorio de usuario es donde puedes colocar
258  tus versiones modificadas.
259  En este documento, al primero lo denominaremos 
260 \begin_inset Flex Code
261 status collapsed
262
263 \begin_layout Plain Layout
264 \SpecialChar LyX
265 Dir
266 \end_layout
267
268 \end_inset
269
270  y al segundo 
271 \begin_inset Flex Noun
272 status collapsed
273
274 \begin_layout Plain Layout
275 UserDir
276 \end_layout
277
278 \end_inset
279
280 .
281 \end_layout
282
283 \begin_layout Section
284 ¿Qué hay en 
285 \begin_inset Flex Code
286 status collapsed
287
288 \begin_layout Plain Layout
289 \SpecialChar LyX
290 Dir
291 \end_layout
292
293 \end_inset
294
295 ?
296 \end_layout
297
298 \begin_layout Standard
299 \begin_inset Flex Code
300 status collapsed
301
302 \begin_layout Plain Layout
303 \SpecialChar LyX
304 Dir
305 \end_layout
306
307 \end_inset
308
309  y sus subdirectorios contienen archivos que pueden emplearse para personalizar
310  el comportamiento de \SpecialChar LyX
311 .
312  Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
313  mediante el diálogo
314  
315 \begin_inset Flex Noun
316 status collapsed
317
318 \begin_layout Plain Layout
319 Herramientas\SpecialChar menuseparator
320 Preferencias
321 \end_layout
322
323 \end_inset
324
325 .
326  La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
327  se
328  puede hacer en este diálogo.
329  Sin embargo, muchos otros aspectos internos de \SpecialChar LyX
330  pueden cambiarse modificando
331  los archivos en 
332 \begin_inset Flex Code
333 status collapsed
334
335 \begin_layout Plain Layout
336 \SpecialChar LyX
337 Dir
338 \end_layout
339
340 \end_inset
341
342 .
343  Estos archivos pertenecen a diversas categorías, descritas en las siguientes
344  subsecciones.
345 \end_layout
346
347 \begin_layout Subsection
348 Archivos generados automáticamente
349 \end_layout
350
351 \begin_layout Standard
352 Los archivos que se encuentran en 
353 \begin_inset Flex Noun
354 status collapsed
355
356 \begin_layout Plain Layout
357 UserDir
358 \end_layout
359
360 \end_inset
361
362  se generan al configurar \SpecialChar LyX
363 .
364  Contienen varios valores predeterminados que se obtienen por inspección.
365  En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
366  en cualquier momento.
367 \end_layout
368
369 \begin_layout Labeling
370 \labelwidthstring 00.00.0000
371 \begin_inset Flex Code
372 status collapsed
373
374 \begin_layout Plain Layout
375 lyxrc.defaults
376 \end_layout
377
378 \end_inset
379
380  contiene valores predeterminados para varioscomandos.
381 \end_layout
382
383 \begin_layout Labeling
384 \labelwidthstring 00.00.0000
385 \begin_inset Flex Code
386 status collapsed
387
388 \begin_layout Plain Layout
389 packages.lst
390 \end_layout
391
392 \end_inset
393
394  contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
395 .
396  No es utilizada por el propio \SpecialChar LyX
397 , pero la información extraida, y otras cosas
398  están disponibles en 
399 \begin_inset Flex Noun
400 status collapsed
401
402 \begin_layout Plain Layout
403 Ayuda\SpecialChar menuseparator
404 Configuración de \SpecialChar LaTeX
405
406 \end_layout
407
408 \end_inset
409
410 .
411 \end_layout
412
413 \begin_layout Labeling
414 \labelwidthstring 00.00.0000
415 \begin_inset Flex Code
416 status collapsed
417
418 \begin_layout Plain Layout
419 textclass.lst
420 \end_layout
421
422 \end_inset
423
424  la lista de clases de textos encontradas en los directorios 
425 \begin_inset Flex Code
426 status collapsed
427
428 \begin_layout Plain Layout
429 layout/
430 \end_layout
431
432 \end_inset
433
434 , junto con las clases de documentos \SpecialChar LaTeX
435  y su descripción.
436 \end_layout
437
438 \begin_layout Labeling
439 \labelwidthstring 00.00.0000
440 \begin_inset Flex Code
441 status collapsed
442
443 \begin_layout Plain Layout
444 lyxmodules.lst
445 \end_layout
446
447 \end_inset
448
449  la lista de módulos de formato encontradas en los directorios 
450 \begin_inset Flex Code
451 status collapsed
452
453 \begin_layout Plain Layout
454 layout/
455 \end_layout
456
457 \end_inset
458
459 .
460 \end_layout
461
462 \begin_layout Labeling
463 \labelwidthstring 00.00.0000
464 \begin_inset Flex Code
465 status collapsed
466
467 \begin_layout Plain Layout
468 *files.lst
469 \end_layout
470
471 \end_inset
472
473  lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
474  encontrados en el sistema.
475 \end_layout
476
477 \begin_layout Labeling
478 \labelwidthstring 00.00.0000
479 \begin_inset Flex Code
480 status collapsed
481
482 \begin_layout Plain Layout
483 doc/\SpecialChar LaTeX
484 Config.lyx
485 \end_layout
486
487 \end_inset
488
489  es generado automáticamente durante la configuración a partir del archivo
490  
491 \begin_inset Flex Code
492 status collapsed
493
494 \begin_layout Plain Layout
495 \SpecialChar LaTeX
496 Config.lyx.in
497 \end_layout
498
499 \end_inset
500
501 .
502  Contiene información sobre la configuración de \SpecialChar LaTeX
503 .
504 \end_layout
505
506 \begin_layout Subsection
507 Directorios
508 \end_layout
509
510 \begin_layout Standard
511 Estos directorios están duplicados en 
512 \begin_inset Flex Code
513 status collapsed
514
515 \begin_layout Plain Layout
516 \SpecialChar LyX
517 Dir
518 \end_layout
519
520 \end_inset
521
522  y 
523 \begin_inset Flex Code
524 status collapsed
525
526 \begin_layout Plain Layout
527 UserDir
528 \end_layout
529
530 \end_inset
531
532 .
533  Si determinado archivo existe en ambos sitios, se usará el de 
534 \begin_inset Flex Code
535 status collapsed
536
537 \begin_layout Plain Layout
538 UserDir
539 \end_layout
540
541 \end_inset
542
543 .
544 \end_layout
545
546 \begin_layout Labeling
547 \labelwidthstring 00.00.0000
548 \begin_inset Flex Code
549 status collapsed
550
551 \begin_layout Plain Layout
552 bind/
553 \end_layout
554
555 \end_inset
556
557  este directorio contiene archivos con la extensión 
558 \begin_inset Flex Code
559 status collapsed
560
561 \begin_layout Plain Layout
562 .bind
563 \end_layout
564
565 \end_inset
566
567  que definen las combinaciones de teclas usadas en \SpecialChar LyX
568 .
569  Si ahí existe una versión nacional de un archivo bind llamado 
570 \begin_inset Flex Code
571 status collapsed
572
573 \begin_layout Plain Layout
574 $LANG_xxx.bind
575 \end_layout
576
577 \end_inset
578
579 , ésta se usará en primer lugar.
580 \end_layout
581
582 \begin_layout Labeling
583 \labelwidthstring 00.00.0000
584
585 \lang english
586 \begin_inset Flex Code
587 status collapsed
588
589 \begin_layout Plain Layout
590
591 \lang english
592 citeengines/
593 \end_layout
594
595 \end_inset
596
597  contains files with the extension 
598 \begin_inset Flex Code
599 status collapsed
600
601 \begin_layout Plain Layout
602
603 \lang english
604 .citeengine
605 \end_layout
606
607 \end_inset
608
609  which define the diverse citation possibilities (natbib, biblatex etc.).
610  See 
611 \begin_inset CommandInset ref
612 LatexCommand ref
613 reference "subsec:Cite-Engine-Files"
614 plural "false"
615 caps "false"
616 noprefix "false"
617
618 \end_inset
619
620  for details.
621 \end_layout
622
623 \begin_layout Labeling
624 \labelwidthstring 00.00.0000
625 \begin_inset Flex Code
626 status collapsed
627
628 \begin_layout Plain Layout
629 clipart/
630 \end_layout
631
632 \end_inset
633
634  contiene archivos gráficos que pueden ser incluidos en documentos.
635  
636 \end_layout
637
638 \begin_layout Labeling
639 \labelwidthstring 00.00.0000
640 \begin_inset Flex Code
641 status collapsed
642
643 \begin_layout Plain Layout
644 doc/
645 \end_layout
646
647 \end_inset
648
649  contiene archivos de documentación de \SpecialChar LyX
650  (incluido éste que estás leyendo).
651  El archivo 
652 \begin_inset Flex Code
653 status collapsed
654
655 \begin_layout Plain Layout
656 \SpecialChar LaTeX
657 Config.lyx
658 \end_layout
659
660 \end_inset
661
662  merece atención especial, como se mencionó antes.
663  Si existe una versión nacional del documento de ayuda en el subdirectorio
664  
665 \begin_inset Flex Code
666 status collapsed
667
668 \begin_layout Plain Layout
669 doc/xx
670 \end_layout
671
672 \end_inset
673
674 , éste se usará en primer lugar.
675  Véase 
676 \begin_inset CommandInset ref
677 LatexCommand ref
678 reference "cap:Internacionalización-de-LyX"
679
680 \end_inset
681
682  para detalles.
683 \end_layout
684
685 \begin_layout Labeling
686 \labelwidthstring 00.00.0000
687 \begin_inset Flex Code
688 status collapsed
689
690 \begin_layout Plain Layout
691 examples/
692 \end_layout
693
694 \end_inset
695
696  contiene archivos de ejemplo que describen el uso de algunas características.
697  Se puede acceder a ellos con el botón 
698 \begin_inset Flex Noun
699 status collapsed
700
701 \begin_layout Plain Layout
702 Ejemplos
703 \end_layout
704
705 \end_inset
706
707  en el buscador de archivos.
708 \end_layout
709
710 \begin_layout Labeling
711 \labelwidthstring 00.00.0000
712 \begin_inset Flex Code
713 status collapsed
714
715 \begin_layout Plain Layout
716 images/
717 \end_layout
718
719 \end_inset
720
721  contiene archivos de imagen que se usan en el diálogo 
722 \begin_inset Flex Noun
723 status collapsed
724
725 \begin_layout Plain Layout
726 Documento\SpecialChar menuseparator
727 Configuración
728 \end_layout
729
730 \end_inset
731
732 .
733  Contiene además los iconos de las barras de herramientas y las enseñas
734  de \SpecialChar LyX
735  mostradas en su inicio.
736 \end_layout
737
738 \begin_layout Labeling
739 \labelwidthstring 00.00.0000
740 \begin_inset Flex Code
741 status collapsed
742
743 \begin_layout Plain Layout
744 kbd/
745 \end_layout
746
747 \end_inset
748
749  contiene archivos de mapas de teclado.
750  Véase 
751 \begin_inset CommandInset ref
752 LatexCommand ref
753 reference "sec:keymap"
754
755 \end_inset
756
757  para detalles.
758 \end_layout
759
760 \begin_layout Labeling
761 \labelwidthstring 00.00.0000
762 \begin_inset Flex Code
763 status collapsed
764
765 \begin_layout Plain Layout
766 layouts/
767 \end_layout
768
769 \end_inset
770
771  contiene las clases de textos y los archivos de los módulos descritos en
772  
773 \begin_inset CommandInset ref
774 LatexCommand ref
775 reference "cap:Instalación-de-nuevas"
776
777 \end_inset
778
779 .
780 \end_layout
781
782 \begin_layout Labeling
783 \labelwidthstring 00.00.0000
784 \begin_inset Flex Code
785 status collapsed
786
787 \begin_layout Plain Layout
788 lyx2lyx
789 \end_layout
790
791 \end_inset
792
793  contiene los guiones de Python 
794 \begin_inset Flex Code
795 status collapsed
796
797 \begin_layout Plain Layout
798 lyx2lyx
799 \end_layout
800
801 \end_inset
802
803  para convertir entre versiones de \SpecialChar LyX
804 .
805  Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
806  por lotes.
807 \end_layout
808
809 \begin_layout Labeling
810 \labelwidthstring 00.00.0000
811 \begin_inset Flex Code
812 status collapsed
813
814 \begin_layout Plain Layout
815 scripts/
816 \end_layout
817
818 \end_inset
819
820  contiene algunos archivos que demuestran las capacidades de la característica
821  
822 \begin_inset Flex Noun
823 status collapsed
824
825 \begin_layout Plain Layout
826 Plantilla externa
827 \end_layout
828
829 \end_inset
830
831 .
832  También contiene algunos guiones usados por el propio \SpecialChar LyX
833 .
834 \end_layout
835
836 \begin_layout Labeling
837 \labelwidthstring 00.00.0000
838 \begin_inset Flex Code
839 status collapsed
840
841 \begin_layout Plain Layout
842 templates/
843 \end_layout
844
845 \end_inset
846
847  contiene los archivos de plantillas estándar de \SpecialChar LyX
848  descritas en 
849 \begin_inset CommandInset ref
850 LatexCommand ref
851 reference "subsec:Creación-de-plantillas"
852
853 \end_inset
854
855 .
856 \end_layout
857
858 \begin_layout Labeling
859 \labelwidthstring 00.00.0000
860 \begin_inset Flex Code
861 status collapsed
862
863 \begin_layout Plain Layout
864 ui/
865 \end_layout
866
867 \end_inset
868
869  contiene archivos con la extensión 
870 \begin_inset Flex Code
871 status collapsed
872
873 \begin_layout Plain Layout
874 .ui
875 \end_layout
876
877 \end_inset
878
879  que definen la interfaz de usuario de \SpecialChar LyX
880 .
881  Esto es, archivos que definen qué ítems aparecen en qué menús y barras
882  de herramientas
883 \lang english
884 .
885 \end_layout
886
887 \begin_layout Labeling
888 \labelwidthstring 00.00.0000
889
890 \lang english
891 \begin_inset Flex Code
892 status collapsed
893
894 \begin_layout Plain Layout
895
896 \lang english
897 xtemplates/
898 \end_layout
899
900 \end_inset
901
902  contains files with the extension 
903 \begin_inset Flex Code
904 status collapsed
905
906 \begin_layout Plain Layout
907
908 \lang english
909 .xtemplate
910 \end_layout
911
912 \end_inset
913
914  which define the templates for the insertion of external material to a
915  \SpecialChar LyX
916  document; see 
917 \begin_inset CommandInset ref
918 LatexCommand ref
919 reference "chap:Including-External-Material"
920
921 \end_inset
922
923 .
924 \end_layout
925
926 \begin_layout Subsection
927 Archivos que no necesitan modificaciones
928 \end_layout
929
930 \begin_layout Standard
931 Estos archivos son utilizados internamente por \SpecialChar LyX
932  y generalmente no deben
933  ser modificados sino por los desarrolladores.
934 \end_layout
935
936 \begin_layout Labeling
937 \labelwidthstring 00.00.0000
938 \begin_inset Flex Code
939 status collapsed
940
941 \begin_layout Plain Layout
942 CREDITS
943 \end_layout
944
945 \end_inset
946
947  contiene la lista de desarrolladores de \SpecialChar LyX
948 .
949  Se muestra con el menú 
950 \begin_inset Flex Noun
951 status collapsed
952
953 \begin_layout Plain Layout
954 Ayuda\SpecialChar menuseparator
955 Acerca de \SpecialChar LyX
956
957 \end_layout
958
959 \end_inset
960
961 .
962 \end_layout
963
964 \begin_layout Labeling
965 \labelwidthstring 00.00.0000
966 \begin_inset Flex Code
967 status collapsed
968
969 \begin_layout Plain Layout
970 chkconfig.ltx
971 \end_layout
972
973 \end_inset
974
975  es un guión de \SpecialChar LaTeX
976  usado durante el proceso de configuración.
977  No lo ejecutes directamente.
978 \end_layout
979
980 \begin_layout Labeling
981 \labelwidthstring 00.00.0000
982 \begin_inset Flex Code
983 status collapsed
984
985 \begin_layout Plain Layout
986 configure.py
987 \end_layout
988
989 \end_inset
990
991  es el guión utilizado para la reconfiguración de \SpecialChar LyX
992 .
993  Genera los archivos de configuración en el directorio desde el que se ha
994  ejecutado.
995 \end_layout
996
997 \begin_layout Subsection
998 Otros archivos en un par de líneas
999 \end_layout
1000
1001 \begin_layout Labeling
1002 \labelwidthstring 00.00.0000
1003 \begin_inset Flex Code
1004 status collapsed
1005
1006 \begin_layout Plain Layout
1007 encodings
1008 \end_layout
1009
1010 \end_inset
1011
1012  contiene tablas que describen cómo los distintos códigos de caracteres
1013  se transcriben a Unicode.
1014 \end_layout
1015
1016 \begin_layout Labeling
1017 \labelwidthstring 00.00.0000
1018 \begin_inset Flex Code
1019 status collapsed
1020
1021 \begin_layout Plain Layout
1022 languages
1023 \end_layout
1024
1025 \end_inset
1026
1027  contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1028 .
1029 \end_layout
1030
1031 \begin_layout Labeling
1032 \labelwidthstring 00.00.0000
1033 \begin_inset Flex Code
1034 status collapsed
1035
1036 \begin_layout Plain Layout
1037 latexfonts
1038 \end_layout
1039
1040 \end_inset
1041
1042 contiene información sobre tipografías soportadas.
1043 \end_layout
1044
1045 \begin_layout Labeling
1046 \labelwidthstring 00.00.0000
1047 \begin_inset Flex Code
1048 status collapsed
1049
1050 \begin_layout Plain Layout
1051 layouttranslations
1052 \end_layout
1053
1054 \end_inset
1055
1056  contiene traducciones para entornos de párrafo (véase 
1057 \begin_inset CommandInset ref
1058 LatexCommand ref
1059 reference "subsec:I18n"
1060
1061 \end_inset
1062
1063 ).
1064 \end_layout
1065
1066 \begin_layout Labeling
1067 \labelwidthstring 00.00.0000
1068 \begin_inset Flex Code
1069 status collapsed
1070
1071 \begin_layout Plain Layout
1072 unicodesymbols
1073 \end_layout
1074
1075 \end_inset
1076
1077  contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1078  vía \SpecialChar LaTeX
1079 .
1080 \end_layout
1081
1082 \begin_layout Section
1083 Directorio de configuración personal
1084 \end_layout
1085
1086 \begin_layout Standard
1087 Aunque uses \SpecialChar LyX
1088  como usuario sin privilegios, puedes adaptar su configuración
1089  a tus necesidades.
1090  El directorio 
1091 \begin_inset Flex Code
1092 status collapsed
1093
1094 \begin_layout Plain Layout
1095 UserDir
1096 \end_layout
1097
1098 \end_inset
1099
1100  contiene todos los archivos de configuración personal.
1101  Es el directorio especificado como 
1102 \begin_inset Quotes cld
1103 \end_inset
1104
1105 Directorio del usuario
1106 \begin_inset Quotes crd
1107 \end_inset
1108
1109  en 
1110 \begin_inset Flex Noun
1111 status collapsed
1112
1113 \begin_layout Plain Layout
1114 Ayuda\SpecialChar menuseparator
1115 Acerca de \SpecialChar LyX
1116
1117 \end_layout
1118
1119 \end_inset
1120
1121 .
1122  Este directorio se usa como espejo de 
1123 \begin_inset Flex Code
1124 status collapsed
1125
1126 \begin_layout Plain Layout
1127 \SpecialChar LyX
1128 Dir
1129 \end_layout
1130
1131 \end_inset
1132
1133 , que quiere decir que cada archivo en 
1134 \begin_inset Flex Code
1135 status collapsed
1136
1137 \begin_layout Plain Layout
1138 UserDir
1139 \end_layout
1140
1141 \end_inset
1142
1143  es un equivalente del correspondiente archivo en 
1144 \begin_inset Flex Code
1145 status collapsed
1146
1147 \begin_layout Plain Layout
1148 \SpecialChar LyX
1149 Dir
1150 \end_layout
1151
1152 \end_inset
1153
1154 .
1155  Cualquiera de los archivos de configuración descritos en las secciones
1156  anteriores puede estar en el directorio global del sistema, en cuyo caso
1157  afectará a todos los usuarios, y en tu directorio local para tu propio
1158  uso.
1159 \end_layout
1160
1161 \begin_layout Standard
1162 Para clarificar las cosas vamos a poner unos ejemplos:
1163 \end_layout
1164
1165 \begin_layout Itemize
1166 Las preferencias establecidas en el diálogo 
1167 \begin_inset Flex Noun
1168 status collapsed
1169
1170 \begin_layout Plain Layout
1171 Herramientas\SpecialChar menuseparator
1172 Preferencias
1173 \end_layout
1174
1175 \end_inset
1176
1177  se guardan en un archivo 
1178 \begin_inset Flex Code
1179 status collapsed
1180
1181 \begin_layout Plain Layout
1182 preferences
1183 \end_layout
1184
1185 \end_inset
1186
1187  en 
1188 \begin_inset Flex Code
1189 status collapsed
1190
1191 \begin_layout Plain Layout
1192 UserDir
1193 \end_layout
1194
1195 \end_inset
1196
1197 .
1198 \end_layout
1199
1200 \begin_layout Itemize
1201 Si reconfiguras mediante 
1202 \begin_inset Flex Noun
1203 status collapsed
1204
1205 \begin_layout Plain Layout
1206 Herramientas\SpecialChar menuseparator
1207 Reconfigurar
1208 \end_layout
1209
1210 \end_inset
1211
1212 , \SpecialChar LyX
1213  ejecuta el guión
1214 \begin_inset Newline linebreak
1215 \end_inset
1216
1217  
1218 \begin_inset Flex Code
1219 status collapsed
1220
1221 \begin_layout Plain Layout
1222 configure.py
1223 \end_layout
1224
1225 \end_inset
1226
1227 , y los archivos resultantes se escriben en tu directorio de usuario.
1228  Esto significa que cualquier archivo adicional de clase de texto que pudieras
1229  haber añadido en 
1230 \begin_inset Flex Code
1231 status collapsed
1232
1233 \begin_layout Plain Layout
1234 UserDir/layouts
1235 \end_layout
1236
1237 \end_inset
1238
1239  se sumará a la lista de clases en el diálogo 
1240 \begin_inset Flex Noun
1241 status collapsed
1242
1243 \begin_layout Plain Layout
1244 Documento\SpecialChar menuseparator
1245 Configuración
1246 \end_layout
1247
1248 \end_inset
1249
1250 .
1251 \end_layout
1252
1253 \begin_layout Itemize
1254 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1255  y no puedes
1256  instalarla porque no tienes permisos para administrar tu sistema, solo
1257  has de copiar los archivos en 
1258 \begin_inset Flex Code
1259 status collapsed
1260
1261 \begin_layout Plain Layout
1262 UserDir/doc/XX
1263 \end_layout
1264
1265 \end_inset
1266
1267  ¡y las entradas del menú 
1268 \begin_inset Flex Noun
1269 status collapsed
1270
1271 \begin_layout Plain Layout
1272 Ayuda
1273 \end_layout
1274
1275 \end_inset
1276
1277  los abrirán!
1278 \end_layout
1279
1280 \begin_layout Section
1281 Ejecutar \SpecialChar LyX
1282  con múltiples configuraciones
1283 \end_layout
1284
1285 \begin_layout Standard
1286 La libertad de configuración del directorio local puede no ser suficiente
1287  si quieres tener a tu disposición más de una configuración.
1288  Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1289 ones de impresora en distintos momentos.
1290  Esto lo puedes conseguir teniendo varios de estos directorios.
1291  Después especificas qué directorio usar al arrancar.
1292 \end_layout
1293
1294 \begin_layout Standard
1295 Ejecutando \SpecialChar LyX
1296  con la opción de línea de comandos 
1297 \begin_inset Flex Code
1298 status collapsed
1299
1300 \begin_layout Plain Layout
1301 -userdir
1302 \end_layout
1303
1304 \end_inset
1305
1306  
1307 \emph on
1308 <algún directorio>
1309 \emph default
1310  hace que el programa lea la configuración de ese directorio y no del predetermi
1311 nado.
1312  (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1313  sin la opción
1314  
1315 \begin_inset Flex Code
1316 status collapsed
1317
1318 \begin_layout Plain Layout
1319 -userdir
1320 \end_layout
1321
1322 \end_inset
1323
1324 ).
1325  Si el directorio especificado no existe, \SpecialChar LyX
1326  propone su creación, tal como
1327  hace con el directorio predeterminado la primera vez que se ejecuta el
1328  programa.
1329  Puedes modificar las opciones de configuración en ese directorio personal
1330  adicional exactamente igual que para el directorio predeterminado.
1331  Estos directorios son completamente independientes (pero sigue leyendo).
1332  Ten presente que establecer algún valor para la variable de entorno 
1333 \begin_inset Flex Code
1334 status collapsed
1335
1336 \begin_layout Plain Layout
1337 LYX_USERDIR_20x
1338 \end_layout
1339
1340 \end_inset
1341
1342  tiene exactamente el mismo efecto.
1343 \end_layout
1344
1345 \begin_layout Standard
1346 Tener varias configuraciones también requiere más mantenimiento: si quieres
1347  añadir un nuevo formato a 
1348 \begin_inset Flex Code
1349 status collapsed
1350
1351 \begin_layout Plain Layout
1352 NewUserDir/layouts
1353 \end_layout
1354
1355 \end_inset
1356
1357  que esté disponible en todas tus configuraciones, debes añadirlo a cada
1358  directorio por separado.
1359  Puedes evitarlo con el siguiente truco: después de que \SpecialChar LyX
1360  crea un directorio
1361  adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1362  Si quieres que la nueva configuración sea una réplica de una existente,
1363  reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1364  subdirectorio deseado.
1365  Ten precaución, no obstante, con el subdirectorio 
1366 \begin_inset Flex Code
1367 status collapsed
1368
1369 \begin_layout Plain Layout
1370 doc/
1371 \end_layout
1372
1373 \end_inset
1374
1375 , puesto que contiene un archivo escrito por el guión de configuración (también
1376  accesible mediante 
1377 \begin_inset Flex Noun
1378 status collapsed
1379
1380 \begin_layout Plain Layout
1381 Herramientas\SpecialChar menuseparator
1382 Reconfigurar
1383 \end_layout
1384
1385 \end_inset
1386
1387 ) que es específico de la configuración.
1388 \end_layout
1389
1390 \begin_layout Chapter
1391 El diálogo Preferencias
1392 \end_layout
1393
1394 \begin_layout Standard
1395 Todas las opciones del diálogo de preferencias se describen en el apéndice
1396  
1397 \emph on
1398 El diálogo
1399 \emph default
1400  
1401 \emph on
1402 Preferencias
1403 \emph default
1404  de la 
1405 \emph on
1406 Guía del usuario
1407 \emph default
1408 .
1409  Ahí encontrarás más detalles sobre algunas opciones.
1410 \end_layout
1411
1412 \begin_layout Section
1413 Formatos
1414 \begin_inset CommandInset label
1415 LatexCommand label
1416 name "sec:Formatos"
1417
1418 \end_inset
1419
1420
1421 \end_layout
1422
1423 \begin_layout Standard
1424 El primer paso es definir tus propios formatos de archivo si no lo están
1425  ya.
1426  Para hacerlo abre el diálogo 
1427 \begin_inset Flex Noun
1428 status collapsed
1429
1430 \begin_layout Plain Layout
1431 Herramientas\SpecialChar menuseparator
1432 Preferencias
1433 \end_layout
1434
1435 \end_inset
1436
1437 .
1438  En 
1439 \begin_inset Flex Noun
1440 status collapsed
1441
1442 \begin_layout Plain Layout
1443 Gestión de archivos\SpecialChar menuseparator
1444 Formatos de archivo
1445 \end_layout
1446
1447 \end_inset
1448
1449  pulsa el botón 
1450 \begin_inset Flex Noun
1451 status collapsed
1452
1453 \begin_layout Plain Layout
1454 Nuevo\SpecialChar ldots
1455
1456 \end_layout
1457
1458 \end_inset
1459
1460  para definir el nuevo formato.
1461  El campo 
1462 \begin_inset Flex Noun
1463 status collapsed
1464
1465 \begin_layout Plain Layout
1466 Formato
1467 \end_layout
1468
1469 \end_inset
1470
1471  es para el nombre que identificará el formato en la GUI (interfaz gráfica
1472  de usuario).
1473  El 
1474 \begin_inset Flex Noun
1475 status collapsed
1476
1477 \begin_layout Plain Layout
1478 Nombre corto
1479 \end_layout
1480
1481 \end_inset
1482
1483  se usa para identificar el formato internamente.
1484  Además deberás introducir una extensión de archivo.
1485  Todos estos son imprescindibles.
1486  El campo opcional 
1487 \begin_inset Flex Noun
1488 status collapsed
1489
1490 \begin_layout Plain Layout
1491 Atajo de teclado
1492 \end_layout
1493
1494 \end_inset
1495
1496  sirve para asociar una combinación de teclas en los menús.
1497  (Por ejemplo, teclear 
1498 \begin_inset Flex Noun
1499 status collapsed
1500
1501 \begin_layout Plain Layout
1502 Ctrl+D
1503 \end_layout
1504
1505 \end_inset
1506
1507  ejecuta 
1508 \begin_inset Flex Noun
1509 status collapsed
1510
1511 \begin_layout Plain Layout
1512
1513 \family sans
1514 Documento\SpecialChar menuseparator
1515 Ver
1516 \family default
1517 \SpecialChar menuseparator
1518 DVI
1519 \end_layout
1520
1521 \end_inset
1522
1523 ).
1524  
1525 \begin_inset Flex Noun
1526 status collapsed
1527
1528 \begin_layout Plain Layout
1529 Visor
1530 \end_layout
1531
1532 \end_inset
1533
1534  
1535 \end_layout
1536
1537 \begin_layout Standard
1538 Un Formato puede tener un 
1539 \begin_inset Flex Noun
1540 status collapsed
1541
1542 \begin_layout Plain Layout
1543 Visor
1544 \end_layout
1545
1546 \end_inset
1547
1548  y un 
1549 \begin_inset Flex Noun
1550 status collapsed
1551
1552 \begin_layout Plain Layout
1553 Editor
1554 \end_layout
1555
1556 \end_inset
1557
1558  asociados.
1559  Por ejemplo, podrías usar 
1560 \begin_inset Flex Noun
1561 status collapsed
1562
1563 \begin_layout Plain Layout
1564 Ghostview
1565 \end_layout
1566
1567 \end_inset
1568
1569  para ver archivos PostScript.
1570  Puedes introducir el comando para iniciar el programa en el campo correspondien
1571 te.
1572  Al definir este comando puedes usar las cuatro variables listadas en la
1573  siguiente sección.
1574  El visor se lanza cuando ves una imagen en \SpecialChar LyX
1575  o usas el menú 
1576 \begin_inset Flex Noun
1577 status collapsed
1578
1579 \begin_layout Plain Layout
1580
1581 \family sans
1582 Documento\SpecialChar menuseparator
1583 Ver
1584 \end_layout
1585
1586 \end_inset
1587
1588 .
1589  El editor se lanza cuando pulsas el botón 
1590 \begin_inset Flex Noun
1591 status collapsed
1592
1593 \begin_layout Plain Layout
1594 Editar externamente
1595 \end_layout
1596
1597 \end_inset
1598
1599  que se muestra al hacer clic derecho en un gráfico o en un material externo,
1600  por ejemplo.
1601 \end_layout
1602
1603 \begin_layout Standard
1604 El tipo 
1605 \begin_inset Flex Noun
1606 status collapsed
1607
1608 \begin_layout Plain Layout
1609 MIME
1610 \end_layout
1611
1612 \end_inset
1613
1614  de un formato es opcional, pero si se especifica, debe ser único para todos
1615  los formatos.
1616  Se usa para detectar archivos de ese formato de los contenidos de archivo.
1617  Para algunos formatos de archivo importantes no hay tipo MIME oficialmente
1618  registrado con 
1619 \begin_inset CommandInset href
1620 LatexCommand href
1621 name "IANA"
1622 target "http://www.iana.org/assignments/media-types/"
1623 literal "false"
1624
1625 \end_inset
1626
1627 .
1628  Por tanto \SpecialChar LyX
1629  usa la lista extensa de tipos MIME especificada por 
1630 \begin_inset CommandInset href
1631 LatexCommand href
1632 name "freedesktop.org"
1633 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1634 literal "false"
1635
1636 \end_inset
1637
1638 .
1639 \end_layout
1640
1641 \begin_layout Standard
1642 La opción 
1643 \begin_inset Flex Noun
1644 status collapsed
1645
1646 \begin_layout Plain Layout
1647 Formato de documento
1648 \end_layout
1649
1650 \end_inset
1651
1652  indica a \SpecialChar LyX
1653  que ese formato es adecuado para exportar.
1654  Si esto está marcado y existe una ruta de conversión adecuada (véase 
1655 \begin_inset CommandInset ref
1656 LatexCommand ref
1657 reference "sec:Convertidores"
1658
1659 \end_inset
1660
1661 ), el formato aparecerá en el menú 
1662 \begin_inset Flex Noun
1663 status collapsed
1664
1665 \begin_layout Plain Layout
1666 Archivo\SpecialChar menuseparator
1667 Exportar
1668 \end_layout
1669
1670 \end_inset
1671
1672 .
1673  También aparecerá en el menú 
1674 \begin_inset Flex Noun
1675 status collapsed
1676
1677 \begin_layout Plain Layout
1678
1679 \family sans
1680 Documento\SpecialChar menuseparator
1681 Ver
1682 \end_layout
1683
1684 \end_inset
1685
1686  si se ha especificado un visor para ese formato.
1687  Los formatos puros de imagen, como 
1688 \begin_inset Flex Code
1689 status collapsed
1690
1691 \begin_layout Plain Layout
1692 png
1693 \end_layout
1694
1695 \end_inset
1696
1697 , no deberían usar esta opción.
1698  Los formatos que pueden corresponder tanto a gráficos vectoriales como
1699  a documentos, como 
1700 \begin_inset Flex Code
1701 status collapsed
1702
1703 \begin_layout Plain Layout
1704 pdf
1705 \end_layout
1706
1707 \end_inset
1708
1709 , sí deberían usarla.
1710 \end_layout
1711
1712 \begin_layout Standard
1713 La opción 
1714 \begin_inset Flex Noun
1715 status collapsed
1716
1717 \begin_layout Plain Layout
1718 Formato de gráfico vectorial
1719 \end_layout
1720
1721 \end_inset
1722
1723  indica a \SpecialChar LyX
1724  que el formato puede contener gráficos vectoriales.
1725  Esta información se emplea para determinar el formato objetivo de los gráficos
1726  incluidos para la exportación 
1727 \begin_inset Flex Noun
1728 status collapsed
1729
1730 \begin_layout Plain Layout
1731 pdflatex
1732 \end_layout
1733
1734 \end_inset
1735
1736 .
1737  Los gráficos incluidos pueden requerir conversión a 
1738 \begin_inset Flex Noun
1739 status collapsed
1740
1741 \begin_layout Plain Layout
1742 pdf
1743 \end_layout
1744
1745 \end_inset
1746
1747
1748 \begin_inset Flex Noun
1749 status collapsed
1750
1751 \begin_layout Plain Layout
1752 png
1753 \end_layout
1754
1755 \end_inset
1756
1757 , o 
1758 \begin_inset Flex Noun
1759 status collapsed
1760
1761 \begin_layout Plain Layout
1762 jpg
1763 \end_layout
1764
1765 \end_inset
1766
1767 , puesto que 
1768 \begin_inset Flex Noun
1769 status collapsed
1770
1771 \begin_layout Plain Layout
1772 pdflatex
1773 \end_layout
1774
1775 \end_inset
1776
1777  no puede manejar otros formatos de imagen.
1778  Si un archivo incluido no está ya en formato 
1779 \begin_inset Flex Noun
1780 status collapsed
1781
1782 \begin_layout Plain Layout
1783 pdf
1784 \end_layout
1785
1786 \end_inset
1787
1788
1789 \begin_inset Flex Noun
1790 status collapsed
1791
1792 \begin_layout Plain Layout
1793 png
1794 \end_layout
1795
1796 \end_inset
1797
1798 , o 
1799 \begin_inset Flex Noun
1800 status collapsed
1801
1802 \begin_layout Plain Layout
1803 jpg
1804 \end_layout
1805
1806 \end_inset
1807
1808 , se convierte a 
1809 \begin_inset Flex Noun
1810 status collapsed
1811
1812 \begin_layout Plain Layout
1813 pdf
1814 \end_layout
1815
1816 \end_inset
1817
1818  si la opción de formato vectorial está marcada, y si no a 
1819 \begin_inset Flex Noun
1820 status collapsed
1821
1822 \begin_layout Plain Layout
1823 png
1824 \end_layout
1825
1826 \end_inset
1827
1828 .
1829  
1830 \end_layout
1831
1832 \begin_layout Section
1833 Copiadores
1834 \end_layout
1835
1836 \begin_layout Standard
1837 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1838  archivo temporal de \SpecialChar LyX
1839 , a veces es necesario modificar un archivo antes de
1840  copiarlo en el directorio temporal para que la conversión se pueda realizar.
1841 \begin_inset Foot
1842 status collapsed
1843
1844 \begin_layout Plain Layout
1845 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1846  por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1847  inválidos cuando el archivo se copia en el directorio temporal.
1848 \end_layout
1849
1850 \end_inset
1851
1852  Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1853  y puede modificarlo en el proceso.
1854 \end_layout
1855
1856 \begin_layout Standard
1857 Las definiciones de los copiadores pueden usar ocho variables:
1858 \end_layout
1859
1860 \begin_layout Labeling
1861 \labelwidthstring 00.00.0000
1862 \begin_inset Flex Code
1863 status collapsed
1864
1865 \begin_layout Plain Layout
1866 $$s
1867 \end_layout
1868
1869 \end_inset
1870
1871  El directorio de sistema de \SpecialChar LyX
1872  (p.
1873 \begin_inset space \thinspace{}
1874 \end_inset
1875
1876 e.
1877 \begin_inset space \space{}
1878 \end_inset
1879
1880
1881 \begin_inset Flex Noun
1882 status collapsed
1883
1884 \begin_layout Plain Layout
1885 /usr/share/lyx
1886 \end_layout
1887
1888 \end_inset
1889
1890 )
1891 \end_layout
1892
1893 \begin_layout Labeling
1894 \labelwidthstring 00.00.0000
1895 \begin_inset Flex Code
1896 status collapsed
1897
1898 \begin_layout Plain Layout
1899 $$i
1900 \end_layout
1901
1902 \end_inset
1903
1904  El archivo de entrada
1905 \end_layout
1906
1907 \begin_layout Labeling
1908 \labelwidthstring 00.00.0000
1909 \begin_inset Flex Code
1910 status collapsed
1911
1912 \begin_layout Plain Layout
1913 $$o
1914 \end_layout
1915
1916 \end_inset
1917
1918  El archivo de salida
1919 \end_layout
1920
1921 \begin_layout Labeling
1922 \labelwidthstring 00.00.0000
1923 \begin_inset Flex Code
1924 status collapsed
1925
1926 \begin_layout Plain Layout
1927 $$b
1928 \end_layout
1929
1930 \end_inset
1931
1932  Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1933
1934 \end_layout
1935
1936 \begin_layout Labeling
1937 \labelwidthstring 00.00.0000
1938 \begin_inset Flex Code
1939 status collapsed
1940
1941 \begin_layout Plain Layout
1942 $$p
1943 \end_layout
1944
1945 \end_inset
1946
1947  Ruta completa al directorio temporal de \SpecialChar LyX
1948
1949 \end_layout
1950
1951 \begin_layout Labeling
1952 \labelwidthstring 00.00.0000
1953 \begin_inset Flex Code
1954 status collapsed
1955
1956 \begin_layout Plain Layout
1957 $$r
1958 \end_layout
1959
1960 \end_inset
1961
1962  Ruta completa al archivo original \SpecialChar LyX
1963  que se procesa
1964 \end_layout
1965
1966 \begin_layout Labeling
1967 \labelwidthstring 00.00.0000
1968 \begin_inset Flex Code
1969 status collapsed
1970
1971 \begin_layout Plain Layout
1972 $$f
1973 \end_layout
1974
1975 \end_inset
1976
1977  Nombre del archivo \SpecialChar LyX
1978  (sin ruta de directorio)
1979 \end_layout
1980
1981 \begin_layout Labeling
1982 \labelwidthstring 00.00.0000
1983 \begin_inset Flex Code
1984 status collapsed
1985
1986 \begin_layout Plain Layout
1987 $$l
1988 \end_layout
1989
1990 \end_inset
1991
1992  El `nombre \SpecialChar LaTeX
1993 '
1994 \end_layout
1995
1996 \begin_layout Standard
1997 El último debería ser el nombre de archivo tal como debería ponerse en un
1998  comando \SpecialChar LaTeX
1999  
2000 \series bold
2001
2002 \backslash
2003 include
2004 \series default
2005 .
2006  Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2007 \end_layout
2008
2009 \begin_layout Standard
2010 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
2011  de salida.
2012  Por ejemplo, supongamos que quieres copiar archivos 
2013 \begin_inset Flex Noun
2014 status collapsed
2015
2016 \begin_layout Plain Layout
2017 pdf
2018 \end_layout
2019
2020 \end_inset
2021
2022  generados a un directorio especial, 
2023 \begin_inset Flex Code
2024 status collapsed
2025
2026 \begin_layout Plain Layout
2027 /home/you/pdf/
2028 \end_layout
2029
2030 \end_inset
2031
2032 .
2033  En ese caso deberías escribir un guión para intérprete de comandos tal
2034  como:
2035 \end_layout
2036
2037 \begin_layout Standard
2038 \begin_inset listings
2039 inline false
2040 status open
2041
2042 \begin_layout Plain Layout
2043
2044 #!/bin/bash
2045 \end_layout
2046
2047 \begin_layout Plain Layout
2048
2049 FROMFILE=$1
2050 \end_layout
2051
2052 \begin_layout Plain Layout
2053
2054 TOFILE=`basename $2`
2055 \end_layout
2056
2057 \begin_layout Plain Layout
2058
2059 cp $FROMFILE /home/you/pdf/$TOFILE
2060 \end_layout
2061
2062 \end_inset
2063
2064 Guárdalo en tu directorio local, —
2065 \begin_inset Flex Code
2066 status collapsed
2067
2068 \begin_layout Plain Layout
2069 /home/you/.lyx/scripts/pdfcopier.sh
2070 \end_layout
2071
2072 \end_inset
2073
2074 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
2075  Después, en el diálogo 
2076 \begin_inset Flex Noun
2077 status collapsed
2078
2079 \begin_layout Plain Layout
2080 Herramientas\SpecialChar menuseparator
2081 Preferencias
2082 \end_layout
2083
2084 \end_inset
2085
2086 , en 
2087 \begin_inset Flex Noun
2088 status collapsed
2089
2090 \begin_layout Plain Layout
2091 Gestión de archivos\SpecialChar menuseparator
2092 Formatos de archivo
2093 \end_layout
2094
2095 \end_inset
2096
2097 , selecciona el formato 
2098 \begin_inset Flex Noun
2099 status collapsed
2100
2101 \begin_layout Plain Layout
2102 PDF(pdflatex)
2103 \end_layout
2104
2105 \end_inset
2106
2107  —u otro de los formatos pdf— e introduce 
2108 \begin_inset Flex Code
2109 status collapsed
2110
2111 \begin_layout Plain Layout
2112 pdfcopier.sh $$i $$o
2113 \end_layout
2114
2115 \end_inset
2116
2117  en el campo 
2118 \begin_inset Flex Noun
2119 status collapsed
2120
2121 \begin_layout Plain Layout
2122 Copiador
2123 \end_layout
2124
2125 \end_inset
2126
2127 .
2128 \end_layout
2129
2130 \begin_layout Standard
2131 \SpecialChar LyX
2132  usa los copiadores en varias de sus propias conversiones.
2133  Por ejemplo, si se encuentran los programas apropiados, \SpecialChar LyX
2134  instalará copiadores
2135  para los formatos 
2136 \begin_inset Flex Noun
2137 status collapsed
2138
2139 \begin_layout Plain Layout
2140 HTML
2141 \end_layout
2142
2143 \end_inset
2144
2145  y 
2146 \begin_inset Flex Noun
2147 status collapsed
2148
2149 \begin_layout Plain Layout
2150 HTML
2151 \begin_inset space ~
2152 \end_inset
2153
2154 (MS Word)
2155 \end_layout
2156
2157 \end_inset
2158
2159 .
2160  Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2161  no solo el archivo HTML principal, sino también los diversos archivos asociados
2162  (estilos, imágenes, etc).
2163  Todos estos archivos se escriben en un subdirectorio del directorio en
2164  el que se encuentre el archivo original de \SpecialChar LyX
2165 .
2166 \begin_inset Foot
2167 status collapsed
2168
2169 \begin_layout Plain Layout
2170 Este copiador puede adaptarse.
2171  El argumento opcional 
2172 \begin_inset Quotes cld
2173 \end_inset
2174
2175 -e
2176 \begin_inset Quotes crd
2177 \end_inset
2178
2179  acepta una lista, separada por comas, con las extensiones que deben copiarse;
2180  si se omite se copiarán todos los archivos.
2181  El argumeto 
2182 \begin_inset Quotes cld
2183 \end_inset
2184
2185 -t
2186 \begin_inset Quotes crd
2187 \end_inset
2188
2189  determina la extensión añadida al directorio generado.
2190  Por omisión es 
2191 \begin_inset Quotes cld
2192 \end_inset
2193
2194
2195 \begin_inset Flex Noun
2196 status collapsed
2197
2198 \begin_layout Plain Layout
2199 \SpecialChar LyX
2200 conv
2201 \end_layout
2202
2203 \end_inset
2204
2205
2206 \begin_inset Quotes crd
2207 \end_inset
2208
2209 , así, el HTML generado a partir de 
2210 \begin_inset Flex Noun
2211 status collapsed
2212
2213 \begin_layout Plain Layout
2214 /ruta/a/archivo.lyx
2215 \end_layout
2216
2217 \end_inset
2218
2219  tendrá la forma 
2220 \begin_inset Flex Noun
2221 status collapsed
2222
2223 \begin_layout Plain Layout
2224 /ruta/a/archivo.html.\SpecialChar LyX
2225 conv
2226 \end_layout
2227
2228 \end_inset
2229
2230 .
2231 \end_layout
2232
2233 \end_inset
2234
2235
2236 \end_layout
2237
2238 \begin_layout Section
2239 Convertidores
2240 \begin_inset CommandInset label
2241 LatexCommand label
2242 name "sec:Convertidores"
2243
2244 \end_inset
2245
2246
2247 \end_layout
2248
2249 \begin_layout Standard
2250 Puedes definir tus propios convertidores para convertir archivos entre distintos
2251  formatos.
2252  Se hace en el diálogo 
2253 \begin_inset Flex Noun
2254 status collapsed
2255
2256 \begin_layout Plain Layout
2257 Herramientas\SpecialChar menuseparator
2258 Preferencias\SpecialChar menuseparator
2259 Gestión de archivos\SpecialChar menuseparator
2260 Convertidores
2261 \end_layout
2262
2263 \end_inset
2264
2265 .
2266 \end_layout
2267
2268 \begin_layout Standard
2269 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2270  las listas desplegables 
2271 \begin_inset Flex Noun
2272 status collapsed
2273
2274 \begin_layout Plain Layout
2275 Del
2276 \begin_inset space ~
2277 \end_inset
2278
2279 formato
2280 \end_layout
2281
2282 \end_inset
2283
2284  y 
2285 \begin_inset Flex Noun
2286 status collapsed
2287
2288 \begin_layout Plain Layout
2289 Al
2290 \begin_inset space ~
2291 \end_inset
2292
2293 formato
2294 \end_layout
2295
2296 \end_inset
2297
2298 , introduce el comando necesario para la conversión y después pulsa el botón
2299  
2300 \begin_inset Flex Noun
2301 status collapsed
2302
2303 \begin_layout Plain Layout
2304 Añadir
2305 \end_layout
2306
2307 \end_inset
2308
2309 .
2310  En la definición de convertidores se pueden usar distintas variables:
2311 \end_layout
2312
2313 \begin_layout Labeling
2314 \labelwidthstring 00.00.0000
2315 \begin_inset Flex Code
2316 status collapsed
2317
2318 \begin_layout Plain Layout
2319 $$s
2320 \end_layout
2321
2322 \end_inset
2323
2324  El directorio de sistema de \SpecialChar LyX
2325
2326 \end_layout
2327
2328 \begin_layout Labeling
2329 \labelwidthstring 00.00.0000
2330 \begin_inset Flex Code
2331 status collapsed
2332
2333 \begin_layout Plain Layout
2334 $$i
2335 \end_layout
2336
2337 \end_inset
2338
2339  El archivo de entrada
2340 \end_layout
2341
2342 \begin_layout Labeling
2343 \labelwidthstring 00.00.0000
2344 \begin_inset Flex Code
2345 status collapsed
2346
2347 \begin_layout Plain Layout
2348 $$o
2349 \end_layout
2350
2351 \end_inset
2352
2353  El archivo de salida
2354 \end_layout
2355
2356 \begin_layout Labeling
2357 \labelwidthstring 00.00.0000
2358 \begin_inset Flex Code
2359 status collapsed
2360
2361 \begin_layout Plain Layout
2362 $$b
2363 \end_layout
2364
2365 \end_inset
2366
2367  El nombre del archivo base del archivo de entrada (sin la extensión)
2368 \end_layout
2369
2370 \begin_layout Labeling
2371 \labelwidthstring 00.00.0000
2372 \begin_inset Flex Code
2373 status collapsed
2374
2375 \begin_layout Plain Layout
2376 $$p
2377 \end_layout
2378
2379 \end_inset
2380
2381  La ruta al archivo de entrada
2382 \end_layout
2383
2384 \begin_layout Labeling
2385 \labelwidthstring 00.00.0000
2386 \begin_inset Flex Code
2387 status collapsed
2388
2389 \begin_layout Plain Layout
2390 $$r
2391 \end_layout
2392
2393 \end_inset
2394
2395  La ruta al archivo de entrada original (esto es diferente de $$p cuando
2396  se invoca una cadena de convertidores).
2397 \end_layout
2398
2399 \begin_layout Labeling
2400 \labelwidthstring 00.00.0000
2401 \begin_inset Flex Code
2402 status collapsed
2403
2404 \begin_layout Plain Layout
2405 $$e
2406 \end_layout
2407
2408 \end_inset
2409
2410  El nombre iconv para la codificación del documento.
2411 \end_layout
2412
2413 \begin_layout Standard
2414 En el campo 
2415 \begin_inset Flex Noun
2416 status collapsed
2417
2418 \begin_layout Plain Layout
2419 Indicador adicional
2420 \end_layout
2421
2422 \end_inset
2423
2424  puedes introducir los siguientes, separados por comas:
2425 \end_layout
2426
2427 \begin_layout Labeling
2428 \labelwidthstring 00.00.0000
2429 \begin_inset Flex Code
2430 status collapsed
2431
2432 \begin_layout Plain Layout
2433 latex
2434 \end_layout
2435
2436 \end_inset
2437
2438  Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2439 .
2440  Hará estar disponibles los registros de errores \SpecialChar LaTeX
2441  de \SpecialChar LyX
2442
2443 \end_layout
2444
2445 \begin_layout Labeling
2446 \labelwidthstring 00.00.0000
2447 \begin_inset Flex Code
2448 status collapsed
2449
2450 \begin_layout Plain Layout
2451 needaux
2452 \end_layout
2453
2454 \end_inset
2455
2456  Necesita el archivo \SpecialChar LaTeX
2457  
2458 \begin_inset Flex Noun
2459 status collapsed
2460
2461 \begin_layout Plain Layout
2462 .aux
2463 \end_layout
2464
2465 \end_inset
2466
2467  para la conversión
2468 \end_layout
2469
2470 \begin_layout Labeling
2471 \labelwidthstring 00.00.0000
2472 \begin_inset Flex Code
2473 status collapsed
2474
2475 \begin_layout Plain Layout
2476 nice
2477 \end_layout
2478
2479 \end_inset
2480
2481  Necesita un 
2482 \begin_inset Quotes cld
2483 \end_inset
2484
2485 bonito
2486 \begin_inset Quotes crd
2487 \end_inset
2488
2489  archivo del trastero, que en la práctica quiere decir un archivo \SpecialChar LaTeX
2490  como
2491  el que queremos exportar, sin 
2492 \begin_inset Flex Code
2493 status collapsed
2494
2495 \begin_layout Plain Layout
2496 input@path
2497 \end_layout
2498
2499 \end_inset
2500
2501 .
2502 \end_layout
2503
2504 \begin_layout Labeling
2505 \labelwidthstring 00.00.0000
2506 \begin_inset Flex Code
2507 status collapsed
2508
2509 \begin_layout Plain Layout
2510 xml
2511 \end_layout
2512
2513 \end_inset
2514
2515  La salida es XML
2516 \end_layout
2517
2518 \begin_layout Standard
2519 Las tres siguientes no son realmente indicadores porque aceptan un argumento
2520  en la forma 
2521 \begin_inset Flex Noun
2522 status collapsed
2523
2524 \begin_layout Plain Layout
2525 key
2526 \begin_inset space ~
2527 \end_inset
2528
2529 =
2530 \begin_inset space ~
2531 \end_inset
2532
2533 value
2534 \end_layout
2535
2536 \end_inset
2537
2538 :
2539 \end_layout
2540
2541 \begin_layout Labeling
2542 \labelwidthstring 00.00.0000
2543 \begin_inset Flex Code
2544 status collapsed
2545
2546 \begin_layout Plain Layout
2547 parselog
2548 \end_layout
2549
2550 \end_inset
2551
2552  Si se pone, el error estándar del convertidor se redirecciona a un archivo
2553  
2554 \begin_inset Flex Code
2555 status collapsed
2556
2557 \begin_layout Plain Layout
2558 infile.out
2559 \end_layout
2560
2561 \end_inset
2562
2563 , y el guión dado como argumento se ejecutará como: 
2564 \begin_inset Flex Code
2565 status collapsed
2566
2567 \begin_layout Plain Layout
2568 script <infile.out >infile.log
2569 \end_layout
2570
2571 \end_inset
2572
2573 .
2574  El argumento puede contener 
2575 \begin_inset Flex Code
2576 status collapsed
2577
2578 \begin_layout Plain Layout
2579 $$s
2580 \end_layout
2581
2582 \end_inset
2583
2584 .
2585 \end_layout
2586
2587 \begin_layout Labeling
2588 \labelwidthstring 00.00.0000
2589 \begin_inset Flex Code
2590 status collapsed
2591
2592 \begin_layout Plain Layout
2593 resultdir
2594 \end_layout
2595
2596 \end_inset
2597
2598  El nombre del directorio en el que el convertidor descargará los archivos
2599  generados.
2600  \SpecialChar LyX
2601  no creará ese directorio y no copia nada en él, aunque copiará este directorio
2602  al destino.
2603  El argumento puede contener 
2604 \begin_inset Flex Code
2605 status collapsed
2606
2607 \begin_layout Plain Layout
2608 $$b
2609 \end_layout
2610
2611 \end_inset
2612
2613 , que será reemplazado por el nombre base de los archivos de entrada y de
2614  salida, respectivamente, cuando se copia el directorio.
2615 \begin_inset Newline newline
2616 \end_inset
2617
2618 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2619  El último será ignorado si se da el primero.
2620 \end_layout
2621
2622 \begin_layout Labeling
2623 \labelwidthstring 00.00.0000
2624 \begin_inset Flex Code
2625 status collapsed
2626
2627 \begin_layout Plain Layout
2628 resultfile
2629 \end_layout
2630
2631 \end_inset
2632
2633  Determina el nombre del archivo de salida y puede contener 
2634 \begin_inset Flex Code
2635 status collapsed
2636
2637 \begin_layout Plain Layout
2638 $$b
2639 \end_layout
2640
2641 \end_inset
2642
2643 .
2644  Solo es sensible con 
2645 \begin_inset Flex Code
2646 status collapsed
2647
2648 \begin_layout Plain Layout
2649 resultdir
2650 \end_layout
2651
2652 \end_inset
2653
2654  y además es opcional; si no se da, por omisión es `index'.
2655 \end_layout
2656
2657 \begin_layout Standard
2658 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2659 s que son instalados por \SpecialChar LyX
2660 .
2661 \end_layout
2662
2663 \begin_layout Standard
2664 No tienes que definir convertidores entre todos los formatos que quieras
2665  convertir.
2666  Por ejemplo, observarás que no hay convertidor `\SpecialChar LyX
2667  a PostScript', sin embargo
2668  \SpecialChar LyX
2669  exporta a PostScript.
2670  Lo hace creando primero un archivo \SpecialChar LaTeX
2671  (no es necesario un convertidor para
2672  esto), que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2673  a DVI',
2674  y por último convierte el archivo DVI resultante a PostScript.
2675  \SpecialChar LyX
2676  encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá
2677  la cadena más corta posible.
2678  Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2679  Por ejemplo, la configuración estándar de \SpecialChar LyX
2680  provee cinco caminos para convertir
2681  \SpecialChar LaTeX
2682  a PDF:
2683 \end_layout
2684
2685 \begin_layout Enumerate
2686 directamente, usando 
2687 \begin_inset Flex Noun
2688 status collapsed
2689
2690 \begin_layout Plain Layout
2691 pdflatex
2692 \end_layout
2693
2694 \end_inset
2695
2696
2697 \end_layout
2698
2699 \begin_layout Enumerate
2700 mediante (DVI y) PostScript, usando 
2701 \begin_inset Flex Noun
2702 status collapsed
2703
2704 \begin_layout Plain Layout
2705 ps2pdf
2706 \end_layout
2707
2708 \end_inset
2709
2710
2711 \end_layout
2712
2713 \begin_layout Enumerate
2714 mediante DVI, usando 
2715 \begin_inset Flex Noun
2716 status collapsed
2717
2718 \begin_layout Plain Layout
2719 dvipdfm
2720 \end_layout
2721
2722 \end_inset
2723
2724
2725 \end_layout
2726
2727 \begin_layout Enumerate
2728 directamente, usando 
2729 \begin_inset Flex Noun
2730 status collapsed
2731
2732 \begin_layout Plain Layout
2733 Xe\SpecialChar TeX
2734
2735 \end_layout
2736
2737 \end_inset
2738
2739
2740 \end_layout
2741
2742 \begin_layout Enumerate
2743 directamente, usando 
2744 \begin_inset Flex Noun
2745 status collapsed
2746
2747 \begin_layout Plain Layout
2748 Lua\SpecialChar TeX
2749
2750 \end_layout
2751
2752 \end_inset
2753
2754
2755 \end_layout
2756
2757 \begin_layout Standard
2758 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2759  de archivo' objetivo, como se describe en la sección
2760 \begin_inset space ~
2761 \end_inset
2762
2763
2764 \begin_inset CommandInset ref
2765 LatexCommand ref
2766 reference "sec:Formatos"
2767
2768 \end_inset
2769
2770 .
2771  Por ejemplo, en la configuración estándar, se definen los formatos llamados
2772  
2773 \begin_inset Flex Noun
2774 status collapsed
2775
2776 \begin_layout Plain Layout
2777 pdf
2778 \end_layout
2779
2780 \end_inset
2781
2782  (para 
2783 \begin_inset Flex Noun
2784 status collapsed
2785
2786 \begin_layout Plain Layout
2787 ps2pdf
2788 \end_layout
2789
2790 \end_inset
2791
2792 ), 
2793 \begin_inset Flex Noun
2794 status collapsed
2795
2796 \begin_layout Plain Layout
2797 pdf2
2798 \end_layout
2799
2800 \end_inset
2801
2802  (para 
2803 \begin_inset Flex Noun
2804 status collapsed
2805
2806 \begin_layout Plain Layout
2807 pdflatex
2808 \end_layout
2809
2810 \end_inset
2811
2812 ), 
2813 \begin_inset Flex Noun
2814 status collapsed
2815
2816 \begin_layout Plain Layout
2817 pdf3
2818 \end_layout
2819
2820 \end_inset
2821
2822  (para 
2823 \begin_inset Flex Noun
2824 status collapsed
2825
2826 \begin_layout Plain Layout
2827 dvipdfm
2828 \end_layout
2829
2830 \end_inset
2831
2832 ), 
2833 \begin_inset Flex Noun
2834 status collapsed
2835
2836 \begin_layout Plain Layout
2837 pdf4
2838 \end_layout
2839
2840 \end_inset
2841
2842  (para 
2843 \begin_inset Flex Noun
2844 status collapsed
2845
2846 \begin_layout Plain Layout
2847 Xe\SpecialChar TeX
2848
2849 \end_layout
2850
2851 \end_inset
2852
2853 ), y 
2854 \begin_inset Flex Noun
2855 status collapsed
2856
2857 \begin_layout Plain Layout
2858 pdf5
2859 \end_layout
2860
2861 \end_inset
2862
2863  (para 
2864 \begin_inset Flex Noun
2865 status collapsed
2866
2867 \begin_layout Plain Layout
2868 Lua\SpecialChar TeX
2869
2870 \end_layout
2871
2872 \end_inset
2873
2874 ), todos ellos compartiendo la extensión 
2875 \begin_inset Flex Noun
2876 status collapsed
2877
2878 \begin_layout Plain Layout
2879 .pdf
2880 \end_layout
2881
2882 \end_inset
2883
2884 , y que corresponden a los métodos de conversión antes mencionados.
2885 \end_layout
2886
2887 \begin_layout Chapter
2888 Internacionalización de \SpecialChar LyX
2889
2890 \begin_inset CommandInset label
2891 LatexCommand label
2892 name "cap:Internacionalización-de-LyX"
2893
2894 \end_inset
2895
2896
2897 \end_layout
2898
2899 \begin_layout Standard
2900 \SpecialChar LyX
2901  soporta el uso de una interfaz traducida.
2902  La última vez que lo comprobamos, \SpecialChar LyX
2903  suministraba textos en treinta idiomas.
2904  El idioma elegido se denomina 
2905 \emph on
2906 locale
2907 \emph default
2908 .
2909  (Para lecciones adicionales sobre configuración de idiomas, véase también
2910  la documentación de 
2911 \begin_inset Quotes cld
2912 \end_inset
2913
2914 locale
2915 \begin_inset Quotes crd
2916 \end_inset
2917
2918  del sistema operativo.
2919  En Linux, la página de manual de 
2920 \begin_inset Flex Code
2921 status collapsed
2922
2923 \begin_layout Plain Layout
2924 locale(5)
2925 \end_layout
2926
2927 \end_inset
2928
2929  es un buen punto de partida).
2930  
2931 \end_layout
2932
2933 \begin_layout Standard
2934 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2935  fallos.
2936  En particular, todos los diálogos se han diseñado con el inglés en mente,
2937  lo que significa que algún texto traducido podría ser demasiado largo para
2938  ajustarse al espacio asignado.
2939  Esto solo es un problema de presentación en pantalla y no causará ningún
2940  perjuicio.
2941  Además, encontrarás que algunas traducciones no definen atajos de teclado
2942  para todo.
2943  A veces, simplemente no hay letras libres suficientes para ello.
2944  Otras veces, el traductor todavía no lo ha completado.
2945  Nuestro equipo de traducción, al que podrías unirte si quieres,
2946 \begin_inset Foot
2947 status collapsed
2948
2949 \begin_layout Plain Layout
2950 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2951  es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
2952 !
2953 \end_layout
2954
2955 \end_inset
2956
2957  intentará, por supuesto, corregir estas deficiencias en futuras versiones
2958  de \SpecialChar LyX
2959 .
2960 \end_layout
2961
2962 \begin_layout Section
2963 Traducción de \SpecialChar LyX
2964
2965 \end_layout
2966
2967 \begin_layout Subsection
2968 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2969 \end_layout
2970
2971 \begin_layout Standard
2972 \SpecialChar LyX
2973  utiliza la biblioteca GNU 
2974 \begin_inset Flex Code
2975 status collapsed
2976
2977 \begin_layout Plain Layout
2978 gettext
2979 \end_layout
2980
2981 \end_inset
2982
2983  para manejar la internacionalización de la interfaz.
2984  Para que \SpecialChar LyX
2985  hable tu idioma preferido en todos los menús y diálogos es necesario
2986  un archivo 
2987 \begin_inset Flex Code
2988 status collapsed
2989
2990 \begin_layout Plain Layout
2991 po
2992 \end_layout
2993
2994 \end_inset
2995
2996  para ese idioma.
2997  Si está disponible, tendrás que generar a partir de él un archivo 
2998 \begin_inset Flex Code
2999 status collapsed
3000
3001 \begin_layout Plain Layout
3002 mo
3003 \end_layout
3004
3005 \end_inset
3006
3007  e instalarlo.
3008  El procedimiento para hacer todo esto se explica en la documentación de
3009  GNU 
3010 \begin_inset Flex Code
3011 status collapsed
3012
3013 \begin_layout Plain Layout
3014 gettext
3015 \end_layout
3016
3017 \end_inset
3018
3019 .
3020  Puedes hacer esto solo para ti, pero también podrías compartir el resultado
3021  de tu trabajo con el resto de la comunidad \SpecialChar LyX
3022 .
3023  Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3024  para más información
3025  sobre cómo proceder.
3026 \end_layout
3027
3028 \begin_layout Standard
3029 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
3030 \end_layout
3031
3032 \begin_layout Itemize
3033 Inspecciona el código fuente de \SpecialChar LyX
3034 .
3035  (Véase 
3036 \begin_inset CommandInset href
3037 LatexCommand href
3038 name "información en la web"
3039 target "http://www.lyx.org/HowToUseGIT"
3040 literal "false"
3041
3042 \end_inset
3043
3044 .)
3045 \end_layout
3046
3047 \begin_layout Itemize
3048 Copia el archivo 
3049 \begin_inset Flex Code
3050 status collapsed
3051
3052 \begin_layout Plain Layout
3053 lyx.pot
3054 \end_layout
3055
3056 \end_inset
3057
3058  a la carpeta de los archivos 
3059 \begin_inset Flex Code
3060 status collapsed
3061
3062 \begin_layout Plain Layout
3063 **.po
3064 \end_layout
3065
3066 \end_inset
3067
3068 .
3069  Después lo renombras como 
3070 \begin_inset Flex Code
3071 status collapsed
3072
3073 \begin_layout Plain Layout
3074 xx.po
3075 \end_layout
3076
3077 \end_inset
3078
3079 .
3080  (Si 
3081 \begin_inset Flex Code
3082 status collapsed
3083
3084 \begin_layout Plain Layout
3085 lyx.pot
3086 \end_layout
3087
3088 \end_inset
3089
3090  no está por ningún sitio, puede rehacerse con el comando de consola 
3091 \begin_inset Flex Code
3092 status collapsed
3093
3094 \begin_layout Plain Layout
3095 make lyx.pot
3096 \end_layout
3097
3098 \end_inset
3099
3100  en ese directorio, o puedes usar como muestra un archivo 
3101 \begin_inset Flex Code
3102 status collapsed
3103
3104 \begin_layout Plain Layout
3105 po
3106 \end_layout
3107
3108 \end_inset
3109
3110  de algún otro idioma).
3111 \end_layout
3112
3113 \begin_layout Itemize
3114 Edita 
3115 \begin_inset Flex Code
3116 status collapsed
3117
3118 \begin_layout Plain Layout
3119 xx.po
3120 \end_layout
3121
3122 \end_inset
3123
3124 .
3125 \begin_inset Foot
3126 status collapsed
3127
3128 \begin_layout Plain Layout
3129 Es un archivo de texto, se puede editar en cualquier editor de texto.
3130  Pero hay programas especializados para editar estos archivos, como 
3131 \family typewriter
3132 Poedit
3133 \family default
3134  (para todas las plataformas) o 
3135 \family typewriter
3136 KBabel
3137 \family default
3138  (para KDE).
3139  Además, 
3140 \family typewriter
3141 Emacs
3142 \family default
3143  tiene un `modo' para editar archivos 
3144 \begin_inset Flex Code
3145 status collapsed
3146
3147 \begin_layout Plain Layout
3148 po
3149 \end_layout
3150
3151 \end_inset
3152
3153 , veáse 
3154 \begin_inset Flex URL
3155 status open
3156
3157 \begin_layout Plain Layout
3158
3159 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html
3160 \backslash
3161 #PO-Mode
3162 \end_layout
3163
3164 \end_inset
3165
3166 .
3167 \end_layout
3168
3169 \end_inset
3170
3171  Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3172  que deberían traducirse.
3173  Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3174  con las palabras y frases del idioma.
3175  Además tendrías que rellenar la información al principio del nuevo archivo
3176  
3177 \begin_inset Flex Code
3178 status collapsed
3179
3180 \begin_layout Plain Layout
3181 po
3182 \end_layout
3183
3184 \end_inset
3185
3186 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3187  o divertidas diatribas.
3188 \end_layout
3189
3190 \begin_layout Standard
3191 Si estás haciendo esto solo para ti, entonces:
3192 \end_layout
3193
3194 \begin_layout Itemize
3195 Genera 
3196 \begin_inset Flex Code
3197 status collapsed
3198
3199 \begin_layout Plain Layout
3200 xx.mo
3201 \end_layout
3202
3203 \end_inset
3204
3205 .
3206  Se puede hacer con 
3207 \begin_inset Flex Code
3208 status collapsed
3209
3210 \begin_layout Plain Layout
3211 msgfmt -o xx.mo < xx.po
3212 \end_layout
3213
3214 \end_inset
3215
3216 .
3217 \end_layout
3218
3219 \begin_layout Itemize
3220 Copia el archivo 
3221 \begin_inset Flex Code
3222 status collapsed
3223
3224 \begin_layout Plain Layout
3225 mo
3226 \end_layout
3227
3228 \end_inset
3229
3230  a tu directorio local, en la carpeta apropiada para los mensajes de las
3231  aplicaciones en el idioma xx, con el nombre 
3232 \begin_inset Flex Code
3233 status collapsed
3234
3235 \begin_layout Plain Layout
3236 lyx.mo
3237 \end_layout
3238
3239 \end_inset
3240
3241  (p.
3242 \begin_inset space \thinspace{}
3243 \end_inset
3244
3245 e.
3246 \begin_inset space \space{}
3247 \end_inset
3248
3249
3250 \begin_inset Flex Code
3251 status collapsed
3252
3253 \begin_layout Plain Layout
3254 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3255 \end_layout
3256
3257 \end_inset
3258
3259
3260 \series bold
3261 .
3262 \end_layout
3263
3264 \begin_layout Standard
3265 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3266  
3267 \begin_inset Flex Code
3268 status collapsed
3269
3270 \begin_layout Plain Layout
3271 po
3272 \end_layout
3273
3274 \end_inset
3275
3276  a la distribución de \SpecialChar LyX
3277 , para que otros puedan usarlo.
3278  Esto requiere hacer cambios en \SpecialChar LyX
3279 , así que envía un correo a la lista de
3280  desarrolladores si estás interesado en hacerlo.
3281 \end_layout
3282
3283 \begin_layout Subsubsection
3284 Mensajes ambiguos
3285 \end_layout
3286
3287 \begin_layout Standard
3288 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3289  un idioma dado.
3290  Un ejemplo es la palabra 
3291 \begin_inset Flex Code
3292 status collapsed
3293
3294 \begin_layout Plain Layout
3295 To
3296 \end_layout
3297
3298 \end_inset
3299
3300 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3301  que tenga 
3302 \begin_inset Quotes cld
3303 \end_inset
3304
3305 to
3306 \begin_inset Quotes crd
3307 \end_inset
3308
3309  en inglés.
3310  GNU 
3311 \begin_inset Flex Code
3312 status collapsed
3313
3314 \begin_layout Plain Layout
3315 gettext
3316 \end_layout
3317
3318 \end_inset
3319
3320  no maneja tales traducciones ambiguas.
3321  Por lo tanto, debes añadir alguna información contextual al mensaje: en
3322  vez de 
3323 \begin_inset Flex Code
3324 status collapsed
3325
3326 \begin_layout Plain Layout
3327 To
3328 \end_layout
3329
3330 \end_inset
3331
3332  se pone 
3333 \begin_inset Flex Code
3334 status collapsed
3335
3336 \begin_layout Plain Layout
3337 To[[as in 'From format x to format y']]
3338 \end_layout
3339
3340 \end_inset
3341
3342  y 
3343 \begin_inset Flex Code
3344 status collapsed
3345
3346 \begin_layout Plain Layout
3347 To[[as in 'From page x to page y']]
3348 \end_layout
3349
3350 \end_inset
3351
3352 .
3353  Ahora las dos apariciones de 
3354 \begin_inset Flex Code
3355 status collapsed
3356
3357 \begin_layout Plain Layout
3358 To
3359 \end_layout
3360
3361 \end_inset
3362
3363  son diferentes para 
3364 \begin_inset Flex Code
3365 status collapsed
3366
3367 \begin_layout Plain Layout
3368 gettext
3369 \end_layout
3370
3371 \end_inset
3372
3373  y pueden traducirse correctamente por Nach y Bis, respectivamente.
3374 \end_layout
3375
3376 \begin_layout Standard
3377 Por supuesto que la información contextual debe eliminarse del mensaje original
3378  si no se usa en la traducción.
3379  Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3380  el ejemplo).
3381  El mecanismo de traducción de \SpecialChar LyX
3382  asegura que todo lo que va entre corchetes
3383  al final de los mensajes se quita antes de mostrarlos.
3384 \end_layout
3385
3386 \begin_layout Subsection
3387 Traducción de la documentación
3388 \end_layout
3389
3390 \begin_layout Standard
3391 La documentación en línea (menú 
3392 \family sans
3393
3394 \begin_inset Flex Noun
3395 status collapsed
3396
3397 \begin_layout Plain Layout
3398
3399 \family sans
3400 A
3401 \family default
3402 yu
3403 \family sans
3404 da
3405 \end_layout
3406
3407 \end_inset
3408
3409
3410 \family default
3411 ) puede (¡debería!) traducirse.
3412  Si hay versiones traducidas de la documentación disponible
3413 \begin_inset Foot
3414 status collapsed
3415
3416 \begin_layout Plain Layout
3417 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3418  a catorce idiomas, y el Tutorial está disponible en algunos más.
3419 \end_layout
3420
3421 \end_inset
3422
3423  y 
3424 \begin_inset Flex Code
3425 status collapsed
3426
3427 \begin_layout Plain Layout
3428 locale
3429 \end_layout
3430
3431 \end_inset
3432
3433  está adecuadamente configurado, \SpecialChar LyX
3434  las cargará 
3435 \begin_inset Quotes cld
3436 \end_inset
3437
3438 automágicamente
3439 \begin_inset Quotes crd
3440 \end_inset
3441
3442 .
3443  \SpecialChar LyX
3444  busca las traducciones en 
3445 \family typewriter
3446
3447 \begin_inset Flex Code
3448 status collapsed
3449
3450 \begin_layout Plain Layout
3451
3452 \family typewriter
3453 \SpecialChar LyX
3454 Dir/doc/
3455 \family default
3456 xx
3457 \family typewriter
3458 /DocName.lyx
3459 \end_layout
3460
3461 \end_inset
3462
3463
3464 \family default
3465 , donde 
3466 \family typewriter
3467 xx 
3468 \family default
3469 es el código para el idioma en uso actualmente.
3470  Si no hay versión traducida se presentará por omisión la versión inglesa
3471  del documento.
3472  Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3473  de archivo (el 
3474 \family typewriter
3475 DocName
3476 \family default
3477  de antes) que el original.
3478  Si te animas a traducir documentación (¡de paso, una excelente manera de
3479  leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3480 \end_layout
3481
3482 \begin_layout Itemize
3483 Consulta la web de traducción de la documentación en 
3484 \begin_inset CommandInset href
3485 LatexCommand href
3486 name "http://www.lyx.org/Translation"
3487 target "http://www.lyx.org/Translation"
3488 literal "false"
3489
3490 \end_inset
3491
3492 .
3493  Así podrás comprobar el estado actual de traducción de documentos a tu
3494  idioma.
3495  También si hay alguien que esté coordinando la traducción a tu idioma.
3496  Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3497 \end_layout
3498
3499 \begin_layout Standard
3500 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3501  ahorrar inconvenientes:
3502 \end_layout
3503
3504 \begin_layout Itemize
3505 ¡Únete al equipo de documentación! En 
3506 \family sans
3507
3508 \begin_inset Flex Noun
3509 status collapsed
3510
3511 \begin_layout Plain Layout
3512 Ayuda\SpecialChar menuseparator
3513 Intro
3514 \family sans
3515 ducción
3516 \end_layout
3517
3518 \end_inset
3519
3520
3521 \family default
3522 , que por cierto, es el primer documento que se debería traducir, hay informació
3523 n sobre cómo hacerlo.
3524 \end_layout
3525
3526 \begin_layout Itemize
3527 Infórmate sobre las normas tipográficas de tu idioma.
3528  La tipografía es un antiguo arte que ha desarrollado durante siglos una
3529  gran variedad de convenciones en diversas partes del mundo.
3530  Estudia también la terminología profesional de los tipógrafos en tu país.
3531  Inventar tu propia terminología sólo provocará confusión.
3532  
3533 \emph on
3534 (¡Cuidado! La tipografía es adictiva!)
3535 \end_layout
3536
3537 \begin_layout Itemize
3538 Haz una copia del documento para trabajar sobre ella.
3539  Puedes guardarla como archivo personal de traducción en tu directorio 
3540 \family typewriter
3541 ~/.lyx/doc/xx/
3542 \family default
3543 .
3544 \end_layout
3545
3546 \begin_layout Itemize
3547 De vez en cuando el documento original (del equipo \SpecialChar LyX
3548 ) será actualizado.
3549  Usa el visor de fuentes en 
3550 \begin_inset CommandInset href
3551 LatexCommand href
3552 name "http://www.lyx.org/trac/timeline"
3553 target "http://www.lyx.org/trac/timeline"
3554 literal "false"
3555
3556 \end_inset
3557
3558  para ver los cambios realizados.
3559  De esta manera puedes ver fácilmente qué partes del documento traducido
3560  necesitan actualizarse.
3561 \end_layout
3562
3563 \begin_layout Standard
3564 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3565  cambios al equipo de documentación! (¿No te has olvidado de contactar con
3566  el equipo de documentación, verdad?)
3567 \end_layout
3568
3569 \begin_layout Standard
3570 \begin_inset Branch OutDated
3571 inverted 0
3572 status collapsed
3573
3574 \begin_layout Section
3575 International Keyboard Support
3576 \end_layout
3577
3578 \begin_layout Standard
3579
3580 \emph on
3581 [Editor's Note: The following section is by
3582 \emph default
3583  
3584 \shape smallcaps
3585 \emph on
3586 Ivan Schreter
3587 \shape default
3588 .
3589  It needs to be fixed to conform to the new Documentation Style sheet and
3590  to make use of the new v1.0 features.
3591  The whole thing also needs to be merged with the section following it.-jw
3592  It may also be badly out of date.-rh (2008)]
3593 \end_layout
3594
3595 \begin_layout Subsection
3596 Defining Own Keymaps: Keymap File Format
3597 \end_layout
3598
3599 \begin_layout Standard
3600 Let's look at a keyboard definition file a little closer.
3601  It is a plain text file defining
3602 \end_layout
3603
3604 \begin_layout Itemize
3605 key-to-key or key-to-string translations
3606 \end_layout
3607
3608 \begin_layout Itemize
3609 dead keys
3610 \end_layout
3611
3612 \begin_layout Itemize
3613 dead keys exceptions
3614 \end_layout
3615
3616 \begin_layout Standard
3617 To define key-to-key or key-to-string translation, use this command:
3618 \end_layout
3619
3620 \begin_layout Quotation
3621 \begin_inset Flex Code
3622 status collapsed
3623
3624 \begin_layout Plain Layout
3625
3626 \backslash
3627 kmap
3628 \end_layout
3629
3630 \end_inset
3631
3632  
3633 \begin_inset Flex Code
3634 status collapsed
3635
3636 \begin_layout Plain Layout
3637 key
3638 \end_layout
3639
3640 \end_inset
3641
3642  outstring 
3643 \end_layout
3644
3645 \begin_layout Standard
3646 where 
3647 \begin_inset Flex Code
3648 status collapsed
3649
3650 \begin_layout Plain Layout
3651 key
3652 \end_layout
3653
3654 \end_inset
3655
3656  is the key to be translated and 
3657 \begin_inset Flex Code
3658 status collapsed
3659
3660 \begin_layout Plain Layout
3661 outstring
3662 \end_layout
3663
3664 \end_inset
3665
3666  is the string to be inserted into the document.
3667  To define dead keys, use:
3668 \end_layout
3669
3670 \begin_layout Quotation
3671 \begin_inset Flex Code
3672 status collapsed
3673
3674 \begin_layout Plain Layout
3675
3676 \backslash
3677 kmod
3678 \end_layout
3679
3680 \end_inset
3681
3682  
3683 \begin_inset Flex Code
3684 status collapsed
3685
3686 \begin_layout Plain Layout
3687 key
3688 \end_layout
3689
3690 \end_inset
3691
3692  deadkey
3693 \end_layout
3694
3695 \begin_layout Standard
3696 where 
3697 \begin_inset Flex Code
3698 status collapsed
3699
3700 \begin_layout Plain Layout
3701 key
3702 \end_layout
3703
3704 \end_inset
3705
3706  is a keyboard key and 
3707 \begin_inset Flex Code
3708 status collapsed
3709
3710 \begin_layout Plain Layout
3711 deadkey
3712 \end_layout
3713
3714 \end_inset
3715
3716  is dead key name.
3717  The following dead keys are supported (shortcut name is in parentheses):
3718 \end_layout
3719
3720 \begin_layout Quotation
3721
3722 \emph on
3723 Name
3724 \begin_inset space \hfill{}
3725 \end_inset
3726
3727 Example
3728 \end_layout
3729
3730 \begin_layout Quotation
3731 acute (acu)
3732 \begin_inset space \hfill{}
3733 \end_inset
3734
3735 áéíóú
3736 \end_layout
3737
3738 \begin_layout Quotation
3739 grave (gra)
3740 \begin_inset space \hfill{}
3741 \end_inset
3742
3743 àèìòù
3744 \end_layout
3745
3746 \begin_layout Quotation
3747 macron (mac)
3748 \begin_inset space \hfill{}
3749 \end_inset
3750
3751  ō
3752 \end_layout
3753
3754 \begin_layout Quotation
3755 tilde (til)
3756 \begin_inset space \hfill{}
3757 \end_inset
3758
3759 ñÑ
3760 \end_layout
3761
3762 \begin_layout Quotation
3763 underbar (underb)
3764 \begin_inset space \hfill{}
3765 \end_inset
3766
3767
3768 \begin_inset ERT
3769 status open
3770
3771 \begin_layout Plain Layout
3772
3773
3774 \backslash
3775 b o
3776 \end_layout
3777
3778 \end_inset
3779
3780
3781 \end_layout
3782
3783 \begin_layout Quotation
3784 cedilla (ced)
3785 \begin_inset space \hfill{}
3786 \end_inset
3787
3788 çÇ
3789 \end_layout
3790
3791 \begin_layout Quotation
3792 underdot (underd)
3793 \begin_inset space \hfill{}
3794 \end_inset
3795
3796
3797 \begin_inset ERT
3798 status open
3799
3800 \begin_layout Plain Layout
3801
3802
3803 \backslash
3804 d o
3805 \end_layout
3806
3807 \end_inset
3808
3809
3810 \end_layout
3811
3812 \begin_layout Quotation
3813 circumflex (circu)
3814 \begin_inset space \hfill{}
3815 \end_inset
3816
3817 âêîôû
3818 \end_layout
3819
3820 \begin_layout Quotation
3821 circle (circl)
3822 \begin_inset space \hfill{}
3823 \end_inset
3824
3825 ÅůŮ
3826 \end_layout
3827
3828 \begin_layout Quotation
3829 tie (tie)
3830 \begin_inset space \hfill{}
3831 \end_inset
3832
3833
3834 \begin_inset ERT
3835 status open
3836
3837 \begin_layout Plain Layout
3838
3839
3840 \backslash
3841 t o
3842 \end_layout
3843
3844 \end_inset
3845
3846
3847 \end_layout
3848
3849 \begin_layout Quotation
3850 breve (bre)
3851 \begin_inset space \hfill{}
3852 \end_inset
3853
3854 ă
3855 \begin_inset ERT
3856 status open
3857
3858 \begin_layout Plain Layout
3859
3860
3861 \backslash
3862 u o
3863 \end_layout
3864
3865 \end_inset
3866
3867
3868 \end_layout
3869
3870 \begin_layout Quotation
3871 caron (car)
3872 \begin_inset space \hfill{}
3873 \end_inset
3874
3875 čšž
3876 \end_layout
3877
3878 \begin_layout Quotation
3879 hungarian umlaut (hug)
3880 \begin_inset space \hfill{}
3881 \end_inset
3882
3883 őű
3884 \end_layout
3885
3886 \begin_layout Quotation
3887 umlaut (uml)
3888 \begin_inset space \hfill{}
3889 \end_inset
3890
3891 äöü
3892 \end_layout
3893
3894 \begin_layout Quotation
3895 dot (dot)
3896 \begin_inset space \hfill{}
3897 \end_inset
3898
3899 ż
3900 \begin_inset ERT
3901 status open
3902
3903 \begin_layout Plain Layout
3904
3905
3906 \backslash
3907 .s
3908 \end_layout
3909
3910 \end_inset
3911
3912
3913 \end_layout
3914
3915 \begin_layout Standard
3916 Since in many international keyboards there are exceptions to what some
3917  dead keys should do, you can define them using
3918 \end_layout
3919
3920 \begin_layout Quotation
3921 \begin_inset Flex Code
3922 status collapsed
3923
3924 \begin_layout Plain Layout
3925
3926 \backslash
3927 kxmod
3928 \end_layout
3929
3930 \end_inset
3931
3932  deadkey key outstring
3933 \end_layout
3934
3935 \begin_layout Standard
3936 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3937 , so you put in
3938 \end_layout
3939
3940 \begin_layout Quotation
3941 \begin_inset Flex Code
3942 status collapsed
3943
3944 \begin_layout Plain Layout
3945
3946 \backslash
3947 kxmod
3948 \end_layout
3949
3950 \end_inset
3951
3952  caron o "
3953 \backslash
3954 ^o"
3955 \end_layout
3956
3957 \begin_layout Standard
3958 to make it work correctly.
3959  Also, you have to define as exceptions dead keys over i and j, to remove
3960  the dot from them before inserting an accent mark.
3961  I will change this when the time comes, but so far I haven't had time.
3962 \end_layout
3963
3964 \begin_layout Standard
3965 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3966  double backslash.
3967  Also, quotes and 
3968 \begin_inset Flex Code
3969 status collapsed
3970
3971 \begin_layout Plain Layout
3972 #
3973 \end_layout
3974
3975 \end_inset
3976
3977  have different meaning.
3978  
3979 \begin_inset Flex Code
3980 status collapsed
3981
3982 \begin_layout Plain Layout
3983 #
3984 \end_layout
3985
3986 \end_inset
3987
3988  marks comments, quotes start and end \SpecialChar LaTeX
3989 -style commands.
3990  To enter quote, you'll need to use 
3991 \begin_inset Flex Code
3992 status collapsed
3993
3994 \begin_layout Plain Layout
3995
3996 \backslash
3997 "
3998 \end_layout
3999
4000 \end_inset
4001
4002 , to enter 
4003 \begin_inset Flex Code
4004 status collapsed
4005
4006 \begin_layout Plain Layout
4007 #
4008 \end_layout
4009
4010 \end_inset
4011
4012 , use 
4013 \begin_inset Flex Code
4014 status collapsed
4015
4016 \begin_layout Plain Layout
4017
4018 \backslash
4019 #
4020 \end_layout
4021
4022 \end_inset
4023
4024 .
4025 \end_layout
4026
4027 \begin_layout Standard
4028 If you make a keyboard description file that works for your language, please
4029  mail it to me, so I can include it in the next keymap distribution.
4030 \end_layout
4031
4032 \begin_layout Standard
4033 More keywords will be supported in keymap configuration file in future,
4034  like
4035 \end_layout
4036
4037 \begin_layout Itemize
4038 \begin_inset Flex Code
4039 status collapsed
4040
4041 \begin_layout Plain Layout
4042
4043 \backslash
4044 kinclude filename
4045 \end_layout
4046
4047 \end_inset
4048
4049
4050 \emph on
4051
4052 \begin_inset space \hfill{}
4053 \end_inset
4054
4055
4056 \begin_inset Flex Code
4057 status collapsed
4058
4059 \begin_layout Plain Layout
4060 include
4061 \end_layout
4062
4063 \end_inset
4064
4065  another file
4066 \end_layout
4067
4068 \begin_layout Itemize
4069 \begin_inset Flex Code
4070 status collapsed
4071
4072 \begin_layout Plain Layout
4073
4074 \backslash
4075 kprog program
4076 \end_layout
4077
4078 \end_inset
4079
4080
4081 \emph on
4082
4083 \begin_inset space \hfill{}
4084 \end_inset
4085
4086
4087 \begin_inset Flex Code
4088 status collapsed
4089
4090 \begin_layout Plain Layout
4091 define
4092 \end_layout
4093
4094 \end_inset
4095
4096  an external keymap translation program 
4097 \end_layout
4098
4099 \begin_layout Standard
4100 Also, it should look into 
4101 \begin_inset Flex Code
4102 status collapsed
4103
4104 \begin_layout Plain Layout
4105 lyxrc
4106 \end_layout
4107
4108 \end_inset
4109
4110  file for defaults, too (for example, a 
4111 \begin_inset Flex Code
4112 status collapsed
4113
4114 \begin_layout Plain Layout
4115
4116 \backslash
4117 kinclude
4118 \end_layout
4119
4120 \end_inset
4121
4122  option to include default keyboard).
4123 \end_layout
4124
4125 \end_inset
4126
4127
4128 \end_layout
4129
4130 \begin_layout Section
4131 \begin_inset CommandInset label
4132 LatexCommand label
4133 name "sec:keymap"
4134
4135 \end_inset
4136
4137 Cosas sobre teclados internacionales
4138 \end_layout
4139
4140 \begin_layout Standard
4141 \begin_inset Note Note
4142 status open
4143
4144 \begin_layout Plain Layout
4145 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4146  no lo comprendía.
4147  Sería bueno que alguien pudiera hacerlo.
4148  (RH)
4149 \end_layout
4150
4151 \end_inset
4152
4153
4154 \end_layout
4155
4156 \begin_layout Standard
4157 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4158  
4159 \begin_inset Flex Code
4160 status collapsed
4161
4162 \begin_layout Plain Layout
4163
4164 \shape up
4165 .kmap
4166 \end_layout
4167
4168 \end_inset
4169
4170  y 
4171 \begin_inset Flex Code
4172 status collapsed
4173
4174 \begin_layout Plain Layout
4175
4176 \shape up
4177 .cdef
4178 \end_layout
4179
4180 \end_inset
4181
4182 .
4183  Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4184  suministrados no satisfacen tus necesidades.
4185 \end_layout
4186
4187 \begin_layout Subsection
4188 El archivo .kmap
4189 \end_layout
4190
4191 \begin_layout Standard
4192 Un archivo .
4193 \begin_inset Flex Code
4194 status collapsed
4195
4196 \begin_layout Plain Layout
4197 kmap
4198 \end_layout
4199
4200 \end_inset
4201
4202  asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4203  Como sugiere el nombre, sirve para trazar un mapa del teclado.
4204  En esta sección se describen las palabras clave 
4205 \begin_inset Flex Code
4206 status collapsed
4207
4208 \begin_layout Plain Layout
4209
4210 \shape up
4211 kmap
4212 \end_layout
4213
4214 \end_inset
4215
4216
4217 \begin_inset Flex Code
4218 status collapsed
4219
4220 \begin_layout Plain Layout
4221
4222 \shape up
4223 kmod
4224 \end_layout
4225
4226 \end_inset
4227
4228
4229 \begin_inset Flex Code
4230 status collapsed
4231
4232 \begin_layout Plain Layout
4233
4234 \shape up
4235 kxmod
4236 \end_layout
4237
4238 \end_inset
4239
4240  y 
4241 \begin_inset Flex Code
4242 status collapsed
4243
4244 \begin_layout Plain Layout
4245
4246 \shape up
4247 kcomb
4248 \end_layout
4249
4250 \end_inset
4251
4252  del archivo 
4253 \begin_inset Flex Code
4254 status collapsed
4255
4256 \begin_layout Plain Layout
4257 .kmap
4258 \end_layout
4259
4260 \end_inset
4261
4262 .
4263 \end_layout
4264
4265 \begin_layout Labeling
4266 \labelwidthstring 00.00.0000
4267 \begin_inset Flex Code
4268 status collapsed
4269
4270 \begin_layout Plain Layout
4271
4272 \shape up
4273 kmap
4274 \end_layout
4275
4276 \end_inset
4277
4278  Asocia un carácter a una cadena
4279 \end_layout
4280
4281 \begin_layout LyX-Code
4282
4283 \backslash
4284 kmap 
4285 \family roman
4286 \emph on
4287 char
4288 \family default
4289 \emph default
4290  
4291 \family roman
4292 \emph on
4293 string
4294 \end_layout
4295
4296 \begin_layout Standard
4297 Esto asocia 
4298 \emph on
4299 char
4300 \emph default
4301  a 
4302 \emph on
4303 string
4304 \emph default
4305 .
4306  Anotar que en 
4307 \emph on
4308 string
4309 \emph default
4310 , la doble comilla (") y la barra invertida (
4311 \backslash
4312 ) deben escaparse con una barra (
4313 \backslash
4314 ) previa.
4315 \end_layout
4316
4317 \begin_layout Standard
4318 Un ejemplo de una declaración de 
4319 \begin_inset Flex Noun
4320 status collapsed
4321
4322 \begin_layout Plain Layout
4323
4324 \shape up
4325 kmap
4326 \end_layout
4327
4328 \end_inset
4329
4330  para hacer que el símbolo 
4331 \begin_inset Flex Noun
4332 status collapsed
4333
4334 \begin_layout Plain Layout
4335
4336 \shape up
4337 /
4338 \end_layout
4339
4340 \end_inset
4341
4342  sea generado por la tecla 
4343 \begin_inset Flex Noun
4344 status collapsed
4345
4346 \begin_layout Plain Layout
4347
4348 \shape up
4349 &
4350 \end_layout
4351
4352 \end_inset
4353
4354  es:
4355 \end_layout
4356
4357 \begin_layout LyX-Code
4358
4359 \backslash
4360 kmap & /
4361 \end_layout
4362
4363 \begin_layout Labeling
4364 \labelwidthstring 00.00.0000
4365 \begin_inset Flex Code
4366 status collapsed
4367
4368 \begin_layout Plain Layout
4369
4370 \shape up
4371 kmod
4372 \end_layout
4373
4374 \end_inset
4375
4376  Especifica un carácter acentuado
4377 \end_layout
4378
4379 \begin_layout LyX-Code
4380
4381 \backslash
4382 kmod 
4383 \family roman
4384 \emph on
4385 char accent allowed
4386 \end_layout
4387
4388 \begin_layout Standard
4389 Esto hará que el carácter 
4390 \emph on
4391 char
4392 \emph default
4393  sea un acento
4394 \emph on
4395  accent
4396 \emph default
4397  sobre el(los) carácter(es) permitido(s) 
4398 \emph on
4399 allowed
4400 \emph default
4401 .
4402  Este es el mecanismo de tecla muerta
4403 \begin_inset Foot
4404 status collapsed
4405
4406 \begin_layout Plain Layout
4407 El término 
4408 \size normal
4409 \emph on
4410 \color none
4411 tecla 
4412 \size default
4413 \color inherit
4414 muerta 
4415 \emph default
4416 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4417  seguida de otra tecla genera el carácter acentuado deseado.
4418  Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4419 \end_layout
4420
4421 \end_inset
4422
4423 .
4424  
4425 \end_layout
4426
4427 \begin_layout Standard
4428 Si pulsas 
4429 \emph on
4430 char
4431 \emph default
4432  y después una tecla que no está entre las permitidas (
4433 \emph on
4434 allowed
4435 \emph default
4436 ), en la salida obtendrás el carácter 
4437 \emph on
4438 char
4439 \emph default
4440  seguido por el otro carácter, el no permitido.
4441  Hay que tener en cuenta que 
4442 \begin_inset Flex Noun
4443 status collapsed
4444
4445 \begin_layout Plain Layout
4446
4447 \shape up
4448 Retroceso
4449 \end_layout
4450
4451 \end_inset
4452
4453  cancela una tecla muerta, de modo que si pulsas 
4454 \emph on
4455 char 
4456 \emph default
4457
4458 \begin_inset Flex Noun
4459 status collapsed
4460
4461 \begin_layout Plain Layout
4462
4463 \shape up
4464 Retroceso
4465 \end_layout
4466
4467 \end_inset
4468
4469 , el cursor no retrocede una posición sino que anula el efecto que 
4470 \emph on
4471 char
4472 \emph default
4473  hubiera tenido sobre la siguiente pulsación.
4474 \end_layout
4475
4476 \begin_layout Standard
4477 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4478  sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4479 \end_layout
4480
4481 \begin_layout LyX-Code
4482
4483 \backslash
4484 kmod ' acute aeiouAEIOU
4485 \end_layout
4486
4487 \begin_layout Labeling
4488 \labelwidthstring 00.00.0000
4489 \begin_inset Flex Code
4490 status collapsed
4491
4492 \begin_layout Plain Layout
4493 kxmod
4494 \end_layout
4495
4496 \end_inset
4497
4498  Especifica una excepción para el carácter acentuado
4499 \end_layout
4500
4501 \begin_layout LyX-Code
4502
4503 \backslash
4504 kxmod  
4505 \family roman
4506 \emph on
4507 accent char result
4508 \end_layout
4509
4510 \begin_layout Standard
4511 Define una excepción para el 
4512 \emph on
4513 accent
4514 \emph default
4515  sobre 
4516 \emph on
4517 char
4518 \emph default
4519 .
4520  El 
4521 \emph on
4522 accent
4523 \emph default
4524  debe haber sido asignado a una pulsación con una declaración previa de
4525  
4526 \begin_inset Flex Code
4527 status collapsed
4528
4529 \begin_layout Plain Layout
4530
4531 \shape up
4532
4533 \backslash
4534 kmo
4535 \shape default
4536 d
4537 \end_layout
4538
4539 \end_inset
4540
4541  y 
4542 \emph on
4543 char
4544 \emph default
4545  no debe estar en el conjunto 
4546 \emph on
4547 allowed
4548 \emph default
4549  de 
4550 \emph on
4551 accent
4552 \emph default
4553 .
4554  Si tecleas la secuencia 
4555 \emph on
4556 accent char
4557 \emph default
4558  da como resultado 
4559 \emph on
4560 result
4561 \emph default
4562 .
4563  Si dicha declaración no existe en el archivo 
4564 \begin_inset Flex Code
4565 status collapsed
4566
4567 \begin_layout Plain Layout
4568
4569 \shape up
4570 .kmap
4571 \end_layout
4572
4573 \end_inset
4574
4575  y tecleas 
4576 \emph on
4577 accent char
4578 \emph default
4579 , obtendrás 
4580 \emph on
4581 accent_key char
4582 \emph default
4583 , donde 
4584 \emph on
4585 accent_key
4586 \emph default
4587  es el primer argumento de la declaración 
4588 \begin_inset Flex Code
4589 status collapsed
4590
4591 \begin_layout Plain Layout
4592
4593 \shape up
4594
4595 \backslash
4596 kmod
4597 \end_layout
4598
4599 \end_inset
4600
4601 .
4602 \end_layout
4603
4604 \begin_layout Standard
4605 El comando siguiente generará äi cuando teclees agudo-i ('i):
4606 \end_layout
4607
4608 \begin_layout LyX-Code
4609
4610 \backslash
4611 kxmod acute i "
4612 \backslash
4613
4614 \backslash
4615 '{
4616 \backslash
4617
4618 \backslash
4619 i}"
4620 \end_layout
4621
4622 \begin_layout Labeling
4623 \labelwidthstring 00.00.0000
4624 \begin_inset Flex Code
4625 status collapsed
4626
4627 \begin_layout Plain Layout
4628 kcomb
4629 \end_layout
4630
4631 \end_inset
4632
4633  Combina dos caracteres acentos
4634 \end_layout
4635
4636 \begin_layout LyX-Code
4637
4638 \backslash
4639 kcomb 
4640 \family roman
4641 \emph on
4642 accent1 accent2 allowed
4643 \end_layout
4644
4645 \begin_layout Standard
4646 Esto es bastante esotérico.
4647  Permite combinar el efecto de 
4648 \emph on
4649 accent1
4650 \emph default
4651  y 
4652 \emph on
4653 accent2
4654 \emph default
4655  (¡en ese orden!) sobre los caracteres permitidos 
4656 \emph on
4657 allowed
4658 \emph default
4659 .
4660  Las teclas para 
4661 \emph on
4662 accent1
4663 \emph default
4664  y 
4665 \emph on
4666 accent2
4667 \emph default
4668  deben haber sido declaradas con un comando 
4669 \begin_inset Flex Code
4670 status collapsed
4671
4672 \begin_layout Plain Layout
4673
4674 \shape up
4675
4676 \backslash
4677 kmod
4678 \end_layout
4679
4680 \end_inset
4681
4682  
4683 \emph on
4684 previamente
4685 \emph default
4686  en el archivo.
4687  
4688 \end_layout
4689
4690 \begin_layout Standard
4691 Considera este ejemplo del archivo 
4692 \begin_inset Flex Code
4693 status collapsed
4694
4695 \begin_layout Plain Layout
4696
4697 \shape up
4698 greek.kmap
4699 \end_layout
4700
4701 \end_inset
4702
4703 :
4704 \end_layout
4705
4706 \begin_layout LyX-Code
4707
4708 \backslash
4709 kmod ; acute aeioyvhAEIOYVH 
4710 \backslash
4711 kmod : umlaut iyIY 
4712 \backslash
4713 kcomb acute umlaut iyIY
4714 \end_layout
4715
4716 \begin_layout Standard
4717 Esto permite pulsar 
4718 \begin_inset Flex Noun
4719 status collapsed
4720
4721 \begin_layout Plain Layout
4722
4723 \shape up
4724 ;:i
4725 \end_layout
4726
4727 \end_inset
4728
4729  y obtener el efecto de 
4730 \begin_inset Flex Code
4731 status collapsed
4732
4733 \begin_layout Plain Layout
4734
4735 \shape up
4736
4737 \backslash
4738 '{
4739 \backslash
4740 "{i}}
4741 \end_layout
4742
4743 \end_inset
4744
4745 .
4746  En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4747  
4748 \begin_inset Flex Noun
4749 status collapsed
4750
4751 \begin_layout Plain Layout
4752
4753 \shape up
4754 ;: Retroceso i
4755 \end_layout
4756
4757 \end_inset
4758
4759  obtienes 
4760 \begin_inset Flex Code
4761 status collapsed
4762
4763 \begin_layout Plain Layout
4764
4765 \shape up
4766
4767 \backslash
4768 '{i}
4769 \end_layout
4770
4771 \end_inset
4772
4773 .
4774 \end_layout
4775
4776 \begin_layout Subsection
4777 El archivo .cdef
4778 \end_layout
4779
4780 \begin_layout Standard
4781 Después de realizados el mapa 
4782 \begin_inset Flex Code
4783 status collapsed
4784
4785 \begin_layout Plain Layout
4786
4787 \shape up
4788 .kmap
4789 \end_layout
4790
4791 \end_inset
4792
4793 , un archivo 
4794 \begin_inset Flex Code
4795 status collapsed
4796
4797 \begin_layout Plain Layout
4798
4799 \shape up
4800 .cde
4801 \shape default
4802 f
4803 \end_layout
4804
4805 \end_inset
4806
4807  traza el mapa de las cadenas que los símbolos generan para los caracteres
4808  en la tipografía actual.
4809  La distribución de \SpecialChar LyX
4810  actualmente incluye al menos los archivos 
4811 \begin_inset Flex Code
4812 status collapsed
4813
4814 \begin_layout Plain Layout
4815
4816 \shape up
4817 iso8859-1.cdef
4818 \end_layout
4819
4820 \end_inset
4821
4822  and 
4823 \begin_inset Flex Code
4824 status collapsed
4825
4826 \begin_layout Plain Layout
4827
4828 \shape up
4829 iso8859-2.cdef
4830 \end_layout
4831
4832 \end_inset
4833
4834 .
4835 \end_layout
4836
4837 \begin_layout Standard
4838 En general el archivo 
4839 \begin_inset Flex Code
4840 status collapsed
4841
4842 \begin_layout Plain Layout
4843
4844 \shape up
4845 .cdef
4846 \end_layout
4847
4848 \end_inset
4849
4850  es una secuencia de declaraciones de la forma:
4851 \end_layout
4852
4853 \begin_layout LyX-Code
4854
4855 \family roman
4856 \emph on
4857 char_index_in_set
4858 \family default
4859 \emph default
4860  
4861 \family roman
4862 \emph on
4863  string
4864 \end_layout
4865
4866 \begin_layout Standard
4867 Por ejemplo, para asociar 
4868 \begin_inset Flex Noun
4869 status collapsed
4870
4871 \begin_layout Plain Layout
4872
4873 \shape up
4874
4875 \backslash
4876 '{e}
4877 \end_layout
4878
4879 \end_inset
4880
4881  al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4882 \end_layout
4883
4884 \begin_layout LyX-Code
4885 233 "
4886 \backslash
4887
4888 \backslash
4889 '{e}"
4890 \end_layout
4891
4892 \begin_layout Standard
4893 con 
4894 \begin_inset Flex Code
4895 status collapsed
4896
4897 \begin_layout Plain Layout
4898
4899 \backslash
4900
4901 \end_layout
4902
4903 \end_inset
4904
4905  y 
4906 \begin_inset Flex Code
4907 status collapsed
4908
4909 \begin_layout Plain Layout
4910 "
4911 \end_layout
4912
4913 \end_inset
4914
4915  escapados en 
4916 \emph on
4917 string
4918 \emph default
4919 .
4920  Anotar que el mismo carácter puede aplicarse a más de una cadena.
4921  En el archivo 
4922 \begin_inset Flex Code
4923 status collapsed
4924
4925 \begin_layout Plain Layout
4926 i
4927 \shape up
4928 so-8859-7.cdef
4929 \end_layout
4930
4931 \end_inset
4932
4933  tienes
4934 \end_layout
4935
4936 \begin_layout LyX-Code
4937 192 "
4938 \backslash
4939
4940 \backslash
4941 '{
4942 \backslash
4943
4944 \backslash
4945
4946 \backslash
4947 "{i}}"
4948 \begin_inset Newline newline
4949 \end_inset
4950
4951 192 "
4952 \backslash
4953
4954 \backslash
4955
4956 \backslash
4957 "{
4958 \backslash
4959
4960 \backslash
4961 '{i}}"
4962 \end_layout
4963
4964 \begin_layout Standard
4965 Si \SpecialChar LyX
4966  no puede encontrar una declaración para la cadena por una tecla o una
4967  secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4968  y probará a dibujar un acento sobre el carácter en la pantalla.
4969 \end_layout
4970
4971 \begin_layout Subsection
4972 Teclas muertas
4973 \end_layout
4974
4975 \begin_layout Standard
4976 Hay una segunda manera de añadir soporte para caracteres internacionales
4977  mediante las denominadas teclas muertas.
4978  Una tecla muerta trabaja en combinación con una letra para generar un carácter
4979  acentuado.
4980  Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4981  cómo funciona.
4982 \end_layout
4983
4984 \begin_layout Standard
4985 Supongamos que necesitas el carácter circunflejo 
4986 \begin_inset Quotes cld
4987 \end_inset
4988
4989 ^
4990 \begin_inset Quotes crd
4991 \end_inset
4992
4993 .
4994  Podrías asociar la tecla 
4995 \begin_inset Flex Noun
4996 status collapsed
4997
4998 \begin_layout Plain Layout
4999 ^
5000 \end_layout
5001
5002 \end_inset
5003
5004  (antes 
5005 \begin_inset Flex Noun
5006 status collapsed
5007
5008 \begin_layout Plain Layout
5009 Mayúsculas-6
5010 \end_layout
5011
5012 \end_inset
5013
5014 ) al comando \SpecialChar LyX
5015  
5016 \begin_inset Flex Code
5017 status collapsed
5018
5019 \begin_layout Plain Layout
5020 accent-circumflex
5021 \end_layout
5022
5023 \end_inset
5024
5025  en tu archivo 
5026 \begin_inset Flex Code
5027 status collapsed
5028
5029 \begin_layout Plain Layout
5030 lyxrc
5031 \end_layout
5032
5033 \end_inset
5034
5035 .
5036  Ahora, cuando pulses la tecla 
5037 \begin_inset Flex Noun
5038 status collapsed
5039
5040 \begin_layout Plain Layout
5041 ^
5042 \end_layout
5043
5044 \end_inset
5045
5046  seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
5047  Por ejemplo, la secuencia 
5048 \begin_inset Quotes cld
5049 \end_inset
5050
5051
5052 \begin_inset Flex Noun
5053 status collapsed
5054
5055 \begin_layout Plain Layout
5056 ^e
5057 \end_layout
5058
5059 \end_inset
5060
5061
5062 \begin_inset Quotes crd
5063 \end_inset
5064
5065  genera 
5066 \begin_inset Quotes cld
5067 \end_inset
5068
5069 ê
5070 \begin_inset Quotes crd
5071 \end_inset
5072
5073 .
5074  Si pruebas 
5075 \begin_inset Quotes cld
5076 \end_inset
5077
5078
5079 \begin_inset Flex Code
5080 status collapsed
5081
5082 \begin_layout Plain Layout
5083 ^t
5084 \end_layout
5085
5086 \end_inset
5087
5088
5089 \begin_inset Quotes crd
5090 \end_inset
5091
5092 , sin embargo, \SpecialChar LyX
5093  no imprime nada puesto que 
5094 \begin_inset Flex Noun
5095 status collapsed
5096
5097 \begin_layout Plain Layout
5098 t
5099 \end_layout
5100
5101 \end_inset
5102
5103  nunca lleva un circunflejo.
5104  Pulsar 
5105 \begin_inset Flex Noun
5106 status collapsed
5107
5108 \begin_layout Plain Layout
5109 Espacio
5110 \end_layout
5111
5112 \end_inset
5113
5114  tras una tecla muerta imprime el acento solo.
5115  ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
5116 s reasociar el carácter de esa tecla a otra tecla.
5117  Asociar la tecla 
5118 \begin_inset Flex Noun
5119 status collapsed
5120
5121 \begin_layout Plain Layout
5122 ,
5123 \end_layout
5124
5125 \end_inset
5126
5127  a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5128  de comas.
5129 \end_layout
5130
5131 \begin_layout Standard
5132 Una forma habitual de asociar teclas muertas es usar 
5133 \begin_inset Flex Noun
5134 status collapsed
5135
5136 \begin_layout Plain Layout
5137 Meta-
5138 \end_layout
5139
5140 \end_inset
5141
5142
5143 \begin_inset Flex Noun
5144 status collapsed
5145
5146 \begin_layout Plain Layout
5147 Ctrl-
5148 \end_layout
5149
5150 \end_inset
5151
5152 , y 
5153 \begin_inset Flex Noun
5154 status collapsed
5155
5156 \begin_layout Plain Layout
5157 Mayúsculas-
5158 \end_layout
5159
5160 \end_inset
5161
5162  en combinación con un acento, como 
5163 \begin_inset Quotes cld
5164 \end_inset
5165
5166
5167 \begin_inset Flex Noun
5168 status collapsed
5169
5170 \begin_layout Plain Layout
5171 ~
5172 \end_layout
5173
5174 \end_inset
5175
5176
5177 \begin_inset Quotes crd
5178 \end_inset
5179
5180  o 
5181 \begin_inset Quotes cld
5182 \end_inset
5183
5184
5185 \begin_inset Flex Noun
5186 status collapsed
5187
5188 \begin_layout Plain Layout
5189 ,
5190 \end_layout
5191
5192 \end_inset
5193
5194
5195 \begin_inset Quotes crd
5196 \end_inset
5197
5198  o 
5199 \begin_inset Quotes cld
5200 \end_inset
5201
5202
5203 \begin_inset Flex Noun
5204 status collapsed
5205
5206 \begin_layout Plain Layout
5207 ^
5208 \end_layout
5209
5210 \end_inset
5211
5212
5213 \begin_inset Quotes crd
5214 \end_inset
5215
5216 .
5217  Otra forma incluye el uso de 
5218 \begin_inset Flex Code
5219 status collapsed
5220
5221 \begin_layout Plain Layout
5222 xmodmap
5223 \end_layout
5224
5225 \end_inset
5226
5227  y 
5228 \begin_inset Flex Code
5229 status collapsed
5230
5231 \begin_layout Plain Layout
5232 xkeycaps
5233 \end_layout
5234
5235 \end_inset
5236
5237  para configurar la tecla especial 
5238 \begin_inset Flex Code
5239 status collapsed
5240
5241 \begin_layout Plain Layout
5242 Mode_Switch
5243 \end_layout
5244
5245 \end_inset
5246
5247 .
5248  Esta tecla actúa de alguna forma como 
5249 \begin_inset Flex Noun
5250 status collapsed
5251
5252 \begin_layout Plain Layout
5253 Mayúsculas
5254 \end_layout
5255
5256 \end_inset
5257
5258  y permite teclas a caracteres acentuados.
5259  También puedes transformar teclas en muertas asociándolas a algo como 
5260 \begin_inset Flex Code
5261 status collapsed
5262
5263 \begin_layout Plain Layout
5264 usldead_cedilla
5265 \end_layout
5266
5267 \end_inset
5268
5269  y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5270 .
5271 \begin_inset Foot
5272 status collapsed
5273
5274 \begin_layout Plain Layout
5275 Nota de 
5276 \noun on
5277 John Weiss
5278 \noun default
5279 : Esto es exactamente lo que hago en mis archivos 
5280 \begin_inset Flex Code
5281 status collapsed
5282
5283 \begin_layout Plain Layout
5284 ~/.lyx/lyxrc
5285 \end_layout
5286
5287 \end_inset
5288
5289  y 
5290 \begin_inset Flex Code
5291 status collapsed
5292
5293 \begin_layout Plain Layout
5294 ~/.xmodmap
5295 \end_layout
5296
5297 \end_inset
5298
5299 .
5300  Tengo mi tecla 
5301 \begin_inset Flex Noun
5302 status collapsed
5303
5304 \begin_layout Plain Layout
5305 Bloq
5306 \begin_inset space ~
5307 \end_inset
5308
5309 Despl
5310 \end_layout
5311
5312 \end_inset
5313
5314  configurada como 
5315 \begin_inset Flex Code
5316 status collapsed
5317
5318 \begin_layout Plain Layout
5319 Mode_Shift
5320 \end_layout
5321
5322 \end_inset
5323
5324  y unas cuantas de estas teclas simbólicas 
5325 \begin_inset Quotes cld
5326 \end_inset
5327
5328
5329 \begin_inset Flex Code
5330 status collapsed
5331
5332 \begin_layout Plain Layout
5333 usldead_*
5334 \end_layout
5335
5336 \end_inset
5337
5338
5339 \begin_inset Quotes crd
5340 \end_inset
5341
5342  asociadas a cosas como 
5343 \begin_inset Flex Noun
5344 status collapsed
5345
5346 \begin_layout Plain Layout
5347 Bloq
5348 \begin_inset space ~
5349 \end_inset
5350
5351 Despl-^
5352 \end_layout
5353
5354 \end_inset
5355
5356  y 
5357 \begin_inset Flex Noun
5358 status collapsed
5359
5360 \begin_layout Plain Layout
5361 Bloq
5362 \begin_inset space ~
5363 \end_inset
5364
5365 Despl-~
5366 \end_layout
5367
5368 \end_inset
5369
5370 .
5371  Así es como genero mis caracteres acentuados.
5372 \end_layout
5373
5374 \end_inset
5375
5376  Puedes hacer casi cualquier cosa con la tecla 
5377 \begin_inset Flex Code
5378 status collapsed
5379
5380 \begin_layout Plain Layout
5381 Mode_Switch
5382 \end_layout
5383
5384 \end_inset
5385
5386 : una de las teclas 
5387 \begin_inset Flex Noun
5388 status collapsed
5389
5390 \begin_layout Plain Layout
5391 Ctrl-
5392 \end_layout
5393
5394 \end_inset
5395
5396 , una tecla de función de reserva, etc.
5397  En cuanto a los comandos \SpecialChar LyX
5398  que generan acentos, consulta la entrada para
5399  
5400 \begin_inset Flex Code
5401 status collapsed
5402
5403 \begin_layout Plain Layout
5404 accent-acute
5405 \end_layout
5406
5407 \end_inset
5408
5409  en 
5410 \emph on
5411 Reference Manual
5412 \emph default
5413 .
5414  Ahí encontrarás la lista completa.
5415 \end_layout
5416
5417 \begin_layout Subsection
5418 Guardar la configuración de idioma
5419 \end_layout
5420
5421 \begin_layout Standard
5422 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5423  automáticamente configurado al iniciar \SpecialChar LyX
5424 , en el diálogo 
5425 \begin_inset Flex Noun
5426 status collapsed
5427
5428 \begin_layout Plain Layout
5429 Herramientas\SpecialChar menuseparator
5430 Preferencias
5431 \end_layout
5432
5433 \end_inset
5434
5435 .
5436 \end_layout
5437
5438 \begin_layout Chapter
5439 Instalación de nuevas clases de documento, formatos y plantillas
5440 \begin_inset CommandInset label
5441 LatexCommand label
5442 name "cap:Instalación-de-nuevas"
5443
5444 \end_inset
5445
5446
5447 \begin_inset Argument 1
5448 status collapsed
5449
5450 \begin_layout Plain Layout
5451 Instalación de clases, formatos \SpecialChar ldots
5452
5453 \end_layout
5454
5455 \end_inset
5456
5457
5458 \end_layout
5459
5460 \begin_layout Standard
5461 En este capítulo describimos los procedimientos para crear e instalar nuevos
5462  archivos de plantillas y formatos de \SpecialChar LyX
5463 , así como repasar la instalación
5464  correcta de nuevas clases de documentos \SpecialChar LaTeX
5465 .
5466 \end_layout
5467
5468 \begin_layout Standard
5469 En primer lugar, permite que digamos algo sobre la relación entre \SpecialChar LyX
5470  y \SpecialChar LaTeX
5471 .
5472  Lo que hay que entender es que, en cierto sentido, \SpecialChar LyX
5473  no sabe nada de \SpecialChar LaTeX
5474 .
5475  Desde el punto de vista de \SpecialChar LyX
5476 , \SpecialChar LaTeX
5477  solo es uno más de los varios 
5478 \begin_inset Quotes cld
5479 \end_inset
5480
5481 formatos de soporte
5482 \begin_inset Quotes crd
5483 \end_inset
5484
5485  en los que es capaz de generar salida.
5486  Otros son DocBook, texto sencillo y XHTML.
5487  \SpecialChar LaTeX
5488  es, por supuesto, un formato particularmente importante, pero muy poca
5489  de la información que \SpecialChar LyX
5490  tiene sobre \SpecialChar LaTeX
5491  está realmente contenida en el propio
5492  programa.
5493 \begin_inset Foot
5494 status collapsed
5495
5496 \begin_layout Plain Layout
5497 Algunos comandos son lo bastante complejos como para ser incluidos en el
5498  código de \SpecialChar LyX
5499 .
5500  Pero en general los desarrolladores consideran esto una mala cosa.
5501  
5502 \end_layout
5503
5504 \end_inset
5505
5506  Esa información, incluso para las clases estándar como 
5507 \family typewriter
5508 article.cls
5509 \family default
5510 , está almacenada en 'archivos de formato (
5511 \emph on
5512 layout
5513 \emph default
5514 )'.
5515  De igual manera \SpecialChar LyX
5516  no sabe gran cosa sobre DocBook o XHTML.
5517  Esa información está en los archivos de formato.
5518 \end_layout
5519
5520 \begin_layout Standard
5521 El archivo de formato para una determinada clase de documento se puede considera
5522 r como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5523  —párrafos
5524  y sus estilos, ciertos tipos de recuadros, etc.— a las estructuras correspondien
5525 tes de \SpecialChar LaTeX
5526 , DocBook o XHTML.
5527  Por ejemplo, casi todo lo que \SpecialChar LyX
5528  sabe sobre 
5529 \begin_inset Flex Code
5530 status collapsed
5531
5532 \begin_layout Plain Layout
5533 article.cls
5534 \end_layout
5535
5536 \end_inset
5537
5538  está contenido en el archivo 
5539 \begin_inset Flex Code
5540 status collapsed
5541
5542 \begin_layout Plain Layout
5543 article.layout
5544 \end_layout
5545
5546 \end_inset
5547
5548  y en otros archivos incluidos en este.
5549  Por esta razón, quien intente escribir archivos de formato debería empezar
5550  por estudiar los archivos existentes.
5551  Un buen sitio para empezar es 
5552 \begin_inset Flex Code
5553 status collapsed
5554
5555 \begin_layout Plain Layout
5556 stdsections.inc
5557 \end_layout
5558
5559 \end_inset
5560
5561 , que está incluido en 
5562 \begin_inset Flex Code
5563 status collapsed
5564
5565 \begin_layout Plain Layout
5566 article.layout
5567 \end_layout
5568
5569 \end_inset
5570
5571
5572 \begin_inset Flex Code
5573 status collapsed
5574
5575 \begin_layout Plain Layout
5576 book.layout
5577 \end_layout
5578
5579 \end_inset
5580
5581  y muchos otros archivos de formato para clases de documento.
5582  En este archivo se definen las secciones y demás: 
5583 \begin_inset Flex Code
5584 status collapsed
5585
5586 \begin_layout Plain Layout
5587 stdsections.inc
5588 \end_layout
5589
5590 \end_inset
5591
5592  indica a \SpecialChar LyX
5593  como traducir los párrafos con estilos como Sección, Subsección,
5594  etc., a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5595 , DocBook y XHTML.
5596  El archivo 
5597 \begin_inset Flex Code
5598 status collapsed
5599
5600 \begin_layout Plain Layout
5601 article.layout
5602 \end_layout
5603
5604 \end_inset
5605
5606  solo incluye, básicamente, varios de estos archivos 
5607 \begin_inset Flex Code
5608 status collapsed
5609
5610 \begin_layout Plain Layout
5611 std*.inc
5612 \end_layout
5613
5614 \end_inset
5615
5616 .
5617 \end_layout
5618
5619 \begin_layout Standard
5620 Pero definir la correspondencia \SpecialChar LyX
5621 -\SpecialChar LaTeX
5622  no es lo único que hacen los archivos
5623  de formato.
5624  Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5625  \SpecialChar LyX
5626 .
5627  El hecho de que los archivos de formato tengan estas dos tareas es a veces
5628  fuente de confusión, porque son totalmente independientes.
5629  Indicar a \SpecialChar LyX
5630  cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5631  no le dice cómo mostrarlo
5632  en pantalla; a la inversa, indicar cómo mostrar en pantalla un estilo de
5633  párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5634  (solo permite indicar
5635  a \SpecialChar LaTeX
5636  cómo mostrarlo).
5637  Así pues, en general, cuando defines una nueva construcción en \SpecialChar LyX
5638 , siempre
5639  tienes que hacer dos cosas: 1) indicar la traducción a \SpecialChar LaTeX
5640  y, 2) indicar la
5641  presentación en pantalla.
5642 \end_layout
5643
5644 \begin_layout Standard
5645 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5646  de salida, aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5647  
5648 \emph on
5649 es capaz
5650 \emph default
5651 , en cierta medida, de usar la información de la presentación de un párrafo
5652  en pantalla para generar la presentación (en forma de CSS) del párrafo
5653  en un navegador.
5654  Incluso en este caso, no obstante, la distinción entre lo que hace \SpecialChar LyX
5655  internament
5656 e y la forma en que las cosas se muestran externamente sigue en vigor, y
5657  ambas se pueden controlar separadamente.
5658  Véase 
5659 \begin_inset CommandInset ref
5660 LatexCommand ref
5661 reference "sec:Etiquetas-para-XHTML"
5662
5663 \end_inset
5664
5665  para más detalles.
5666 \end_layout
5667
5668 \begin_layout Section
5669 Instalación de nuevos archivos \SpecialChar LaTeX
5670
5671 \end_layout
5672
5673 \begin_layout Standard
5674 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5675  que te gustaría usar
5676  en \SpecialChar LyX
5677 .
5678  Por ejemplo, podrías necesitar Foil\SpecialChar TeX
5679 , un paquete para preparar transparencias
5680  o diapositivas para proyectores.
5681  Las modernas distribuciones de \SpecialChar LaTeX
5682  como \SpecialChar TeX
5683 Live (2008 o posterior) o MiK\SpecialChar TeX
5684  proveen
5685  una interfaz de usuario para eso.
5686  Por ejemplo, en MiK\SpecialChar TeX
5687  inicia su programa 
5688 \begin_inset Quotes cld
5689 \end_inset
5690
5691 Administrador de paquetes
5692 \begin_inset Quotes crd
5693 \end_inset
5694
5695  para obtener una lista de los disponibles.
5696  Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5697  de instalación.
5698 \end_layout
5699
5700 \begin_layout Standard
5701 Si tu distribución \SpecialChar LaTeX
5702  no proporciona tal 
5703 \begin_inset Quotes cld
5704 \end_inset
5705
5706 administrador de paquetes
5707 \begin_inset Quotes crd
5708 \end_inset
5709
5710 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5711  para instalarlo manualmente: 
5712 \end_layout
5713
5714 \begin_layout Enumerate
5715 Consigue el paquete de 
5716 \begin_inset CommandInset href
5717 LatexCommand href
5718 name "CTAN"
5719 target "http://www.ctan.org/"
5720 literal "false"
5721
5722 \end_inset
5723
5724  o de otro sitio.
5725 \end_layout
5726
5727 \begin_layout Enumerate
5728 Si el paquete contiene un archivo con la extensión 
5729 \begin_inset Quotes cld
5730 \end_inset
5731
5732
5733 \begin_inset Flex Code
5734 status collapsed
5735
5736 \begin_layout Plain Layout
5737 .ins
5738 \end_layout
5739
5740 \end_inset
5741
5742
5743 \begin_inset Quotes crd
5744 \end_inset
5745
5746  (es el caso de Foil\SpecialChar TeX
5747 ) abre una consola, cambia a la carpeta del archivo
5748  y ejecuta el comando 
5749 \begin_inset Flex Code
5750 status collapsed
5751
5752 \begin_layout Plain Layout
5753 latex foiltex.ins
5754 \end_layout
5755
5756 \end_inset
5757
5758 .
5759  Así desempaquetamos y disponemos de todos los archivos para instalar.
5760  La mayoría de paquetes \SpecialChar LaTeX
5761  no están empaquetados y podemos saltar este paso.
5762 \end_layout
5763
5764 \begin_layout Enumerate
5765 Tienes que decidir si el paquete estará disponible para todos los usuarios
5766  o no.
5767 \end_layout
5768
5769 \begin_deeper
5770 \begin_layout Enumerate
5771 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5772  todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5773  de \SpecialChar TeX
5774 , de lo contrario instálalo en tu directorio \SpecialChar TeX
5775  de usuario.
5776  La ubicación de estos árboles, si no existen ya, depende del sistema.
5777  Para encontrarlos mira en el archivo 
5778 \begin_inset Flex Code
5779 status collapsed
5780
5781 \begin_layout Plain Layout
5782 texmf.cnf
5783 \end_layout
5784
5785 \end_inset
5786
5787 .
5788 \begin_inset Foot
5789 status collapsed
5790
5791 \begin_layout Plain Layout
5792 Usualmente es el directorio 
5793 \family sans
5794 $TEXMF/web2c
5795 \family default
5796 , aunque se puede ejecutar el comando 
5797 \begin_inset Flex Code
5798 status collapsed
5799
5800 \begin_layout Plain Layout
5801 kpsewhich texmf.cnf
5802 \end_layout
5803
5804 \end_inset
5805
5806  para localizarlo.
5807 \end_layout
5808
5809 \end_inset
5810
5811  La ubicación del árbol `local' de \SpecialChar TeX
5812  está definida por la variable 
5813 \begin_inset Flex Code
5814 status collapsed
5815
5816 \begin_layout Plain Layout
5817 TEXMFLOCAL
5818 \end_layout
5819
5820 \end_inset
5821
5822 ; generalmente algo como 
5823 \family sans
5824 /usr/local/share/texmf/
5825 \family default
5826  o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5827 Live
5828  instalada.
5829  La ubicación del árbol `user' de \SpecialChar TeX
5830  está definida por 
5831 \begin_inset Flex Code
5832 status collapsed
5833
5834 \begin_layout Plain Layout
5835 TEXMFHOME
5836 \end_layout
5837
5838 \end_inset
5839
5840  y generalmente es 
5841 \family sans
5842 $HOME/texmf/
5843 \family default
5844  o 
5845 \begin_inset Flex Code
5846 status collapsed
5847
5848 \begin_layout Plain Layout
5849
5850 \family sans
5851 $HOME/.texliveXXXX
5852 \end_layout
5853
5854 \end_inset
5855
5856 ..
5857  (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5858  necesites permiso de administrador para crear o modificar el árbol `local',
5859  pero no para el árbol `user'.
5860 \begin_inset Newline newline
5861 \end_inset
5862
5863 En general, es recomendable instalar en el árbol `user' porque no será modificad
5864 o o sobrescrito al actualizar el sistema.
5865  Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5866 o `home' (que debe ser lo habitual).
5867 \end_layout
5868
5869 \begin_layout Enumerate
5870 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5871  cambia a la carpeta donde está instalado \SpecialChar LaTeX
5872  y en la subcarpeta 
5873 \family sans
5874 ~
5875 \backslash
5876 tex
5877 \backslash
5878 latex
5879 \family default
5880 , (En MiK\SpecialChar TeX
5881 , debería ser 
5882 \family sans
5883 ~:
5884 \backslash
5885 Programs
5886 \backslash
5887 MiK\SpecialChar TeX
5888
5889 \backslash
5890 tex
5891 \backslash
5892 latex
5893 \family default
5894  ) crea una nueva carpeta 
5895 \begin_inset Flex Code
5896 status collapsed
5897
5898 \begin_layout Plain Layout
5899 foiltex
5900 \end_layout
5901
5902 \end_inset
5903
5904  y copia en ella todos los archivos del paquete.
5905  Para hacer el paquete disponible solo a un usuario o si no dispones de
5906  permisos, haz lo mismo pero en el directorio de \SpecialChar LaTeX
5907 , p.
5908 \begin_inset space \thinspace{}
5909 \end_inset
5910
5911 ej., en MiK\SpecialChar TeX
5912
5913 \begin_inset space ~
5914 \end_inset
5915
5916 2.8 en WinXP
5917 \begin_inset Newline newline
5918 \end_inset
5919
5920
5921 \family sans
5922 ~:
5923 \backslash
5924 Documents and Settings
5925 \backslash
5926 <username>
5927 \backslash
5928 Application Data
5929 \backslash
5930
5931 \begin_inset Newline newline
5932 \end_inset
5933
5934
5935 \begin_inset Phantom HPhantom
5936 status open
5937
5938 \begin_layout Plain Layout
5939 ~:
5940 \backslash
5941
5942 \end_layout
5943
5944 \end_inset
5945
5946 MiK\SpecialChar TeX
5947
5948 \backslash
5949 2.8
5950 \backslash
5951 tex
5952 \backslash
5953 latex
5954 \family default
5955
5956 \begin_inset Newline newline
5957 \end_inset
5958
5959 en Vista sería
5960 \begin_inset Newline newline
5961 \end_inset
5962
5963
5964 \family sans
5965 ~:
5966 \backslash
5967 Users
5968 \backslash
5969 <username>
5970 \backslash
5971 AppData
5972 \backslash
5973 Roaming
5974 \backslash
5975 2.8
5976 \backslash
5977 MiK\SpecialChar TeX
5978
5979 \backslash
5980 tex
5981 \backslash
5982 latex
5983 \family default
5984  .
5985 \end_layout
5986
5987 \end_deeper
5988 \begin_layout Enumerate
5989 Ahora hay que decir a \SpecialChar LaTeX
5990  que hay archivos nuevos.
5991  Esto depende de la distribución de \SpecialChar LaTeX
5992 :
5993 \end_layout
5994
5995 \begin_deeper
5996 \begin_layout Enumerate
5997 Para \SpecialChar TeX
5998 Live ejecuta el comando 
5999 \begin_inset Flex Code
6000 status collapsed
6001
6002 \begin_layout Plain Layout
6003 texhash
6004 \end_layout
6005
6006 \end_inset
6007
6008  en una consola.
6009  Si el paquete se instaló para todos los usuarios harán falta permisos de
6010  administrador.
6011 \end_layout
6012
6013 \begin_layout Enumerate
6014 Para MiK\SpecialChar TeX
6015 , si el paquete se instaló para todos los usuarios, inicia el programa
6016  
6017 \begin_inset Quotes eld
6018 \end_inset
6019
6020 Settings
6021 \begin_inset space ~
6022 \end_inset
6023
6024 (Admin)
6025 \begin_inset Quotes erd
6026 \end_inset
6027
6028  y pulsa el botón 
6029 \begin_inset Quotes eld
6030 \end_inset
6031
6032 Refresh FNDB
6033 \begin_inset Quotes erd
6034 \end_inset
6035
6036 .
6037  Si no, inicia el programa 
6038 \begin_inset Quotes eld
6039 \end_inset
6040
6041 Settings
6042 \begin_inset Quotes erd
6043 \end_inset
6044
6045  y haz lo mismo.
6046 \end_layout
6047
6048 \end_deeper
6049 \begin_layout Enumerate
6050 Finalmente, hay que decir a \SpecialChar LyX
6051  que hay nuevos paquetes disponibles.
6052  Usa el menú 
6053 \begin_inset Flex Noun
6054 status collapsed
6055
6056 \begin_layout Plain Layout
6057 Herramientas\SpecialChar menuseparator
6058 Reconfigurar
6059 \end_layout
6060
6061 \end_inset
6062
6063  y reinicia \SpecialChar LyX
6064 .
6065 \end_layout
6066
6067 \begin_layout Standard
6068 Ya está instalado el paquete.
6069  En nuestro ejemplo, la clase de documento 
6070 \begin_inset Flex Code
6071 status collapsed
6072
6073 \begin_layout Plain Layout
6074 Slides
6075 \begin_inset space ~
6076 \end_inset
6077
6078 (FoilTeX)
6079 \end_layout
6080
6081 \end_inset
6082
6083  estará ahora disponible en 
6084 \begin_inset Flex Noun
6085 status collapsed
6086
6087 \begin_layout Plain Layout
6088 Documento\SpecialChar menuseparator
6089 Configuración\SpecialChar menuseparator
6090 Clases
6091 \begin_inset space ~
6092 \end_inset
6093
6094 de
6095 \begin_inset space ~
6096 \end_inset
6097
6098 documento
6099 \end_layout
6100
6101 \end_inset
6102
6103 .
6104  
6105 \end_layout
6106
6107 \begin_layout Standard
6108 Si quieres usar una clase de documento \SpecialChar LaTeX
6109  que no aparece listada en 
6110 \begin_inset Flex Noun
6111 status collapsed
6112
6113 \begin_layout Plain Layout
6114 Documento\SpecialChar menuseparator
6115 Configuración\SpecialChar menuseparator
6116 Clases
6117 \begin_inset space ~
6118 \end_inset
6119
6120 de
6121 \begin_inset space ~
6122 \end_inset
6123
6124 documento
6125 \end_layout
6126
6127 \end_inset
6128
6129 , debes crear un archivo de formato (`layout') para ella.
6130  Este es el tema de la sección siguiente.
6131 \end_layout
6132
6133 \begin_layout Section
6134 Tipos de archivos de formato
6135 \end_layout
6136
6137 \begin_layout Standard
6138 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6139  que contienen informació
6140 n sobre el formato.
6141  Los archivos 
6142 \begin_inset Flex Code
6143 status collapsed
6144
6145 \begin_layout Plain Layout
6146 .layout
6147 \end_layout
6148
6149 \end_inset
6150
6151  describen estilos de párrafo y de carácter, y determinan cómo los debería
6152  presentar \SpecialChar LyX
6153  y cómo deberían traducirse a \SpecialChar LaTeX
6154 , DocBook, XHTML o cualquier otro
6155  formato de salida que se vaya a usar.
6156  
6157 \end_layout
6158
6159 \begin_layout Standard
6160 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
6161  hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6162  que
6163  no podemos aspirar a tratar todas las distintas posibilidades o problemas
6164  que puedas encontrar.
6165  La lista de usuarios de \SpecialChar LyX
6166  es frecuentada por gente con mucha experiencia
6167  en el diseño de formatos deseosa de compartir sus conocimientos.
6168 \end_layout
6169
6170 \begin_layout Standard
6171 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
6172  vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6173 .
6174  Si escribes un `layout' de \SpecialChar LyX
6175  para una clase de documento \SpecialChar LaTeX
6176  o un módulo que
6177  podría ser útil también a otros, no dudes en compartir tu labor enviándola
6178  a 
6179 \begin_inset CommandInset href
6180 LatexCommand href
6181 name "sección 'Layouts' en wiki LyX"
6182 target "http://wiki.lyx.org/Layouts/Layouts"
6183 literal "false"
6184
6185 \end_inset
6186
6187  o incluso a la lista de desarrolladores de \SpecialChar LyX
6188  para poderlo incluir en la
6189  distribución.
6190 \begin_inset Foot
6191 status collapsed
6192
6193 \begin_layout Plain Layout
6194 Hay que advertir que \SpecialChar LyX
6195  se acoge a la licencia GPL, por tanto cualquier material
6196  aportado debe tener la misma licencia.
6197 \end_layout
6198
6199 \end_inset
6200
6201
6202 \end_layout
6203
6204 \begin_layout Subsection
6205 Módulos de formato
6206 \begin_inset CommandInset label
6207 LatexCommand label
6208 name "subsec:Módulos-de-formato"
6209
6210 \end_inset
6211
6212
6213 \end_layout
6214
6215 \begin_layout Standard
6216 Hemos hablado hasta ahora de `archivos de formato'.
6217  Pero hay distintos tipos de archivos con información sobre formatos.
6218  Estrictamente, los archivos de formato tienen la extensión 
6219 \begin_inset Flex Code
6220 status collapsed
6221
6222 \begin_layout Plain Layout
6223 .layout
6224 \end_layout
6225
6226 \end_inset
6227
6228  y proporcionan a \SpecialChar LyX
6229  información sobre las clases de documento.
6230  Sin embargo, a partir de \SpecialChar LyX
6231  1.6, esta información puede proporcionarse también
6232  en 
6233 \emph on
6234 módulos
6235 \emph default
6236 , que tienen la extensión 
6237 \begin_inset Flex Code
6238 status collapsed
6239
6240 \begin_layout Plain Layout
6241 .module
6242 \end_layout
6243
6244 \end_inset
6245
6246 .
6247  Los módulos son a los paquetes \SpecialChar LaTeX
6248  lo que los formatos a las clases \SpecialChar LaTeX
6249 , y algunos
6250  módulos —como el módulo Notas finales— dan soporte específico a un paquete
6251  determinado —en este caso 
6252 \begin_inset Flex Code
6253 status collapsed
6254
6255 \begin_layout Plain Layout
6256 endnotes
6257 \end_layout
6258
6259 \end_inset
6260
6261 —.
6262  En cierto sentido, los módulos de formato son similares a los `archivos
6263  incluidos'
6264 \begin_inset Foot
6265 status collapsed
6266
6267 \begin_layout Plain Layout
6268 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6269  
6270 \begin_inset Flex Code
6271 status collapsed
6272
6273 \begin_layout Plain Layout
6274 .inc
6275 \end_layout
6276
6277 \end_inset
6278
6279 .
6280 \end_layout
6281
6282 \end_inset
6283
6284  —como 
6285 \begin_inset Flex Code
6286 status collapsed
6287
6288 \begin_layout Plain Layout
6289 stdsections.inc
6290 \end_layout
6291
6292 \end_inset
6293
6294 —, ya que, como estos, los módulos no son específicos para una clase de
6295  documento dada, sino que se pueden usar con muchos formatos diferentes.
6296  La diferencia es que el uso de un archivo incluido con 
6297 \begin_inset Flex Code
6298 status collapsed
6299
6300 \begin_layout Plain Layout
6301 article.cls
6302 \end_layout
6303
6304 \end_inset
6305
6306  requiere editar dicho archivo, mientras que los módulos se seleccionan
6307  en el diálogo 
6308 \begin_inset Flex Noun
6309 status collapsed
6310
6311 \begin_layout Plain Layout
6312 Documento\SpecialChar menuseparator
6313 Configuración
6314 \end_layout
6315
6316 \end_inset
6317
6318 .
6319  
6320 \end_layout
6321
6322 \begin_layout Standard
6323 La construcción de módulos es la forma más fácil de iniciarse en la edición
6324  del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6325  de párrafo o un recuadro flexible.
6326  No obstante, los módulos pueden, en principio, contener cualquier cosa
6327  que pueda contener un archivo `layout'.
6328 \end_layout
6329
6330 \begin_layout Standard
6331 Después de crear un módulo nuevo y copiarlo en la carpeta 
6332 \begin_inset Flex Code
6333 status collapsed
6334
6335 \begin_layout Plain Layout
6336 layouts/
6337 \end_layout
6338
6339 \end_inset
6340
6341 , tendrás que reconfigurar \SpecialChar LyX
6342  y reiniciar después para que el módulo aparezca
6343  en el menú.
6344  Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6345  abres 
6346 \begin_inset Flex Noun
6347 status collapsed
6348
6349 \begin_layout Plain Layout
6350 Documento\SpecialChar menuseparator
6351 Configuración
6352 \end_layout
6353
6354 \end_inset
6355
6356 , seleccionas lo que sea y después pulsas 
6357 \begin_inset Quotes cld
6358 \end_inset
6359
6360 OK
6361 \begin_inset Quotes crd
6362 \end_inset
6363
6364 .
6365  
6366 \emph on
6367 Es muy recomendable guardar el trabajo antes de hacer eso.
6368
6369 \emph default
6370  De hecho, 
6371 \emph on
6372 es muy recomendable no intentar editar los módulos mientras se está trabajando
6373  simultáneamente en un documento
6374 \emph default
6375 .
6376  Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6377 ad de \SpecialChar LyX
6378  en estas situaciones, errores sintácticos y similares en el archivo
6379  del módulo podrían causar extraños comportamientos.
6380 \end_layout
6381
6382 \begin_layout Subsubsection
6383 Formato local
6384 \end_layout
6385
6386 \begin_layout Standard
6387 Los módulos son a \SpecialChar LyX
6388  lo que los paquetes a \SpecialChar LaTeX
6389 .
6390  Sin embargo, a veces puede suceder que necesites un recuadro específico
6391  o un estilo de carácter solo para un documento, y escribir un módulo que
6392  estará disponible también para otros documentos tiene poco sentido.
6393  En estos casos, lo que necesitas es el 
6394 \begin_inset Quotes cld
6395 \end_inset
6396
6397 Formato local
6398 \begin_inset Quotes crd
6399 \end_inset
6400
6401  de \SpecialChar LyX
6402 .
6403 \end_layout
6404
6405 \begin_layout Standard
6406 Se encuentra en 
6407 \family sans
6408 Documento\SpecialChar menuseparator
6409 Configuración\SpecialChar menuseparator
6410 Formato local
6411 \family default
6412 .
6413  El gran cuadro de texto permite introducir todo lo que podría incluirse
6414  en un archivo de formato o en un módulo.
6415  De hecho, el formato local de un documento se puede considerar como un
6416  módulo que le pertenece solo a él.
6417  Por tanto, en particular, hay que introducir una etiqueta 
6418 \begin_inset Flex Code
6419 status collapsed
6420
6421 \begin_layout Plain Layout
6422 Format
6423 \end_layout
6424
6425 \end_inset
6426
6427 .
6428  Cualquier formato es aceptable, pero debería usarse normalmente el actual
6429  formato.
6430  (En \SpecialChar LyX
6431  2.2 el formato actual es 60).
6432 \end_layout
6433
6434 \begin_layout Standard
6435 Una vez introducido algo en el panel 
6436 \begin_inset Flex Code
6437 status collapsed
6438
6439 \begin_layout Plain Layout
6440 Local Layout
6441 \end_layout
6442
6443 \end_inset
6444
6445 , \SpecialChar LyX
6446  habilitará el botón 
6447 \begin_inset Quotes cld
6448 \end_inset
6449
6450 Validar
6451 \begin_inset Quotes crd
6452 \end_inset
6453
6454  de debajo.
6455  Pulsando ese botón \SpecialChar LyX
6456  determinará si lo introducido es información válida
6457  para el formato elegido.
6458  \SpecialChar LyX
6459  informará del resultado pero, desafortunadamente, no indicará qué errores
6460  pudiera haber habido.
6461  Sin embargo, si \SpecialChar LyX
6462  se ha arrancado en una terminal se verán ahí los errores.
6463  El formato local no se podrá guardar hasta que se haya introducido algo
6464  válido.
6465 \end_layout
6466
6467 \begin_layout Standard
6468 Las advertencias al final de la sección anterior se aplican también aquí.
6469  Es mejor no enredar con formato local mientras se está trabajando, especialment
6470 e si no se ha guardado el documento.
6471  Dicho esto, usar formato local en un documento de prueba puede ser una
6472  forma muy conveniente de probar ideas de formato, o incluso de empezar
6473  a desarrollar un módulo.
6474 \end_layout
6475
6476 \begin_layout Subsection
6477 Formato para archivos 
6478 \begin_inset Flex Noun
6479 status collapsed
6480
6481 \begin_layout Plain Layout
6482 .sty
6483 \end_layout
6484
6485 \end_inset
6486
6487
6488 \end_layout
6489
6490 \begin_layout Standard
6491 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6492  soportar una nueva clase de documento \SpecialChar LaTeX
6493 , según se trate de archivos de estilo
6494  (
6495 \begin_inset Flex Code
6496 status collapsed
6497
6498 \begin_layout Plain Layout
6499 .sty
6500 \end_layout
6501
6502 \end_inset
6503
6504 ) o de archivos de clases \SpecialChar LaTeX2e
6505  (
6506 \begin_inset Flex Code
6507 status collapsed
6508
6509 \begin_layout Plain Layout
6510 .cls
6511 \end_layout
6512
6513 \end_inset
6514
6515 ).
6516  Dar soporte a un nuevo estilo es bastante fácil.
6517  Dar soporte a una nueva clase es un poco más difícil.
6518  Trataremos el primer caso en esta sección y el otro en la siguiente.
6519  Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6520  DTD.
6521 \end_layout
6522
6523 \begin_layout Standard
6524 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6525 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6526  Para nuestro ejemplo supondremos que el archivo de estilo se llama 
6527 \begin_inset Flex Noun
6528 status collapsed
6529
6530 \begin_layout Plain Layout
6531 myclass.sty
6532 \end_layout
6533
6534 \end_inset
6535
6536  y que se usará conjuntamente con 
6537 \begin_inset Flex Noun
6538 status collapsed
6539
6540 \begin_layout Plain Layout
6541 report.cls
6542 \end_layout
6543
6544 \end_inset
6545
6546 , que es una clase estándar.
6547 \end_layout
6548
6549 \begin_layout Standard
6550 Empieza por copiar el archivo `layout' existente en tu directorio local:
6551 \begin_inset Foot
6552 status collapsed
6553
6554 \begin_layout Plain Layout
6555 Evidentemente, cuál es tu directorio local variará según la plataforma,
6556  y además \SpecialChar LyX
6557  permite especificarlo al inicio usando la opción 
6558 \begin_inset Flex Code
6559 status collapsed
6560
6561 \begin_layout Plain Layout
6562 -userdir
6563 \end_layout
6564
6565 \end_inset
6566
6567 .
6568 \end_layout
6569
6570 \end_inset
6571
6572
6573 \end_layout
6574
6575 \begin_layout LyX-Code
6576 cp report.layout ~/.lyx/layouts/myclass.layout
6577 \end_layout
6578
6579 \begin_layout Standard
6580 Después edita 
6581 \begin_inset Flex Code
6582 status collapsed
6583
6584 \begin_layout Plain Layout
6585 myclass.layout
6586 \end_layout
6587
6588 \end_inset
6589
6590  y cambia la línea: 
6591 \end_layout
6592
6593 \begin_layout LyX-Code
6594
6595 \backslash
6596 DeclareLaTeXClass{report}
6597 \end_layout
6598
6599 \begin_layout Standard
6600 por la línea
6601 \end_layout
6602
6603 \begin_layout LyX-Code
6604
6605 \backslash
6606 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6607 \end_layout
6608
6609 \begin_layout Standard
6610 Después añade:
6611 \end_layout
6612
6613 \begin_layout LyX-Code
6614 Preamble 
6615 \begin_inset Newline newline
6616 \end_inset
6617
6618     
6619 \backslash
6620 usepackage{myclass}
6621 \begin_inset Newline newline
6622 \end_inset
6623
6624 EndPreamble
6625 \end_layout
6626
6627 \begin_layout Standard
6628 cerca del principio del archivo.
6629 \end_layout
6630
6631 \begin_layout Standard
6632 Inicia \SpecialChar LyX
6633  y selecciona 
6634 \begin_inset Flex Noun
6635 status collapsed
6636
6637 \begin_layout Plain Layout
6638 Herramientas\SpecialChar menuseparator
6639 Reconfigurar
6640 \end_layout
6641
6642 \end_inset
6643
6644 .
6645  Después reinicia \SpecialChar LyX
6646  y haz una prueba con un documento nuevo.
6647  En el diálogo 
6648 \begin_inset Flex Noun
6649 status collapsed
6650
6651 \begin_layout Plain Layout
6652 Documento\SpecialChar menuseparator
6653 Configuración
6654 \end_layout
6655
6656 \end_inset
6657
6658  deberías ver 
6659 \begin_inset Quotes cld
6660 \end_inset
6661
6662
6663 \begin_inset Flex Noun
6664 status collapsed
6665
6666 \begin_layout Plain Layout
6667 report (myclass)
6668 \end_layout
6669
6670 \end_inset
6671
6672
6673 \begin_inset Quotes crd
6674 \end_inset
6675
6676  en la lista de clases de documento.
6677  Es probable que algunos de los comandos de secciones y demás en tu nueva
6678  clase funcionen de distinta manera a como lo hacen en la clase estándar
6679  —
6680 \begin_inset Flex Code
6681 status collapsed
6682
6683 \begin_layout Plain Layout
6684 report
6685 \end_layout
6686
6687 \end_inset
6688
6689  en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6690  con los ajustes de las distintas secciones.
6691  La información del formato de las secciones se encuentra en 
6692 \begin_inset Flex Code
6693 status collapsed
6694
6695 \begin_layout Plain Layout
6696 stdsections.inc
6697 \end_layout
6698
6699 \end_inset
6700
6701 , pero no necesitas copiar ni cambiar este archivo.
6702  Simplemente añade tus cambios a tu archivo `layout' después de la línea
6703  
6704 \begin_inset Flex Code
6705 status collapsed
6706
6707 \begin_layout Plain Layout
6708 Input stdclass.inc
6709 \end_layout
6710
6711 \end_inset
6712
6713 , que incluye 
6714 \begin_inset Flex Code
6715 status collapsed
6716
6717 \begin_layout Plain Layout
6718 stdsections.inc
6719 \end_layout
6720
6721 \end_inset
6722
6723 .
6724  Por ejemplo, podrías añadir estas líneas:
6725 \end_layout
6726
6727 \begin_layout LyX-Code
6728 Style Chapter
6729 \end_layout
6730
6731 \begin_layout LyX-Code
6732     Font
6733 \end_layout
6734
6735 \begin_layout LyX-Code
6736         Family Sans
6737 \end_layout
6738
6739 \begin_layout LyX-Code
6740     EndFont
6741 \end_layout
6742
6743 \begin_layout LyX-Code
6744 End
6745 \end_layout
6746
6747 \begin_layout Standard
6748 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6749  Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6750  Capítulo.
6751  
6752 \end_layout
6753
6754 \begin_layout Standard
6755 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6756  en la clase base.
6757  En este caso, los añadirás al archivo `layout'.
6758  Véase sección
6759 \begin_inset space ~
6760 \end_inset
6761
6762
6763 \begin_inset CommandInset ref
6764 LatexCommand ref
6765 reference "sec:Estructura-del-archivo-layout"
6766
6767 \end_inset
6768
6769  para información sobre cómo hacerlo.
6770 \end_layout
6771
6772 \begin_layout Standard
6773 Si 
6774 \begin_inset Flex Noun
6775 status collapsed
6776
6777 \begin_layout Plain Layout
6778 myclass.sty
6779 \end_layout
6780
6781 \end_inset
6782
6783  se puede usar con diferentes clases de documento, e incluso si no es así,
6784  lo más sencillo sería escribir un módulo que puedes cargar con la clase
6785  base.
6786  El módulo más simple posible podría ser:
6787 \end_layout
6788
6789 \begin_layout LyX-Code
6790 #
6791 \backslash
6792 DeclareLyXModule{My Package} 
6793 \end_layout
6794
6795 \begin_layout LyX-Code
6796 #DescriptionBegin 
6797 \end_layout
6798
6799 \begin_layout LyX-Code
6800 #Support for mypkg.sty.
6801 \end_layout
6802
6803 \begin_layout LyX-Code
6804 #DescriptionEnd 
6805 \begin_inset Newline newline
6806 \end_inset
6807
6808
6809 \end_layout
6810
6811 \begin_layout LyX-Code
6812 Format 60
6813 \begin_inset Newline newline
6814 \end_inset
6815
6816
6817 \end_layout
6818
6819 \begin_layout LyX-Code
6820 Preamble
6821 \begin_inset Newline newline
6822 \end_inset
6823
6824     
6825 \backslash
6826 usepackage{mypkg}
6827 \begin_inset Newline newline
6828 \end_inset
6829
6830 EndPreamble
6831 \end_layout
6832
6833 \begin_layout Standard
6834 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6835  ya existente o definir algunas nuevas.
6836  De nuevo te remitimos a sección
6837 \begin_inset space ~
6838 \end_inset
6839
6840
6841 \begin_inset CommandInset ref
6842 LatexCommand ref
6843 reference "sec:Estructura-del-archivo-layout"
6844
6845 \end_inset
6846
6847  para los detalles.
6848 \end_layout
6849
6850 \begin_layout Subsection
6851 Formato para archivos 
6852 \begin_inset Flex Noun
6853 status collapsed
6854
6855 \begin_layout Plain Layout
6856 .cls
6857 \end_layout
6858
6859 \end_inset
6860
6861
6862 \end_layout
6863
6864 \begin_layout Standard
6865 En este caso hay dos opciones.
6866  Una, que el archivo de clase esté él mismo basado en una clase de documento
6867  existente.
6868  Por ejemplo, muchas clases de tesis están basadas en 
6869 \begin_inset Flex Noun
6870 status collapsed
6871
6872 \begin_layout Plain Layout
6873 book.cls
6874 \end_layout
6875
6876 \end_inset
6877
6878 .
6879  Para ver si el tuyo lo está, busca una línea parecida a
6880 \end_layout
6881
6882 \begin_layout LyX-Code
6883
6884 \backslash
6885 LoadClass{book}
6886 \end_layout
6887
6888 \begin_layout Standard
6889 en el archivo.
6890  Si está, entonces puedes proceder en gran parte como en la sección anterior,
6891  aunque la línea Declare\SpecialChar LaTeX
6892 Class será diferente.
6893  Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6894 \begin_inset Foot
6895 status collapsed
6896
6897 \begin_layout Plain Layout
6898 Y será mucho más fácil si guardas el archivo como 
6899 \begin_inset Flex Code
6900 status collapsed
6901
6902 \begin_layout Plain Layout
6903 thesis.layout
6904 \end_layout
6905
6906 \end_inset
6907
6908 : \SpecialChar LyX
6909  supone que la clase de documento tiene el mismo nombre que el archivo
6910  de formato.
6911  
6912 \end_layout
6913
6914 \end_inset
6915
6916
6917 \end_layout
6918
6919 \begin_layout LyX-Code
6920
6921 \backslash
6922 DeclareLaTeXClass[thesis,book]{thesis}
6923 \end_layout
6924
6925 \begin_layout Standard
6926 Si, por el contrario, la nueva clase no está basada en una ya existente,
6927  probablemente tendrás que ir pensando en tu propio formato.
6928  Recomendamos firmemente copiar un archivo de formato existente que use
6929  una clase de \SpecialChar LaTeX
6930  parecida y modificarlo, si es posible.
6931  O al menos, usa un archivo existente como punto de partida para ver qué
6932  items son los que te deben preocupar.
6933  Los detalles se discuten a continuación.
6934 \end_layout
6935
6936 \begin_layout Subsection
6937 Creación de plantillas
6938 \begin_inset CommandInset label
6939 LatexCommand label
6940 name "subsec:Creación-de-plantillas"
6941
6942 \end_inset
6943
6944
6945 \end_layout
6946
6947 \begin_layout Standard
6948 Una vez escrito un archivo de formato para una clase nueva de documento,
6949  podrías pensar en escribir además una 
6950 \emph on
6951 plantilla
6952 \emph default
6953  para ella.
6954  Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6955  cómo podría usarse, aunque sea con contenido irrelevante.
6956  Naturalmente, puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
6957  para
6958  obtener ideas.
6959 \end_layout
6960
6961 \begin_layout Standard
6962 Las plantillas se crean exactamente igual que un documento normal: usando
6963  \SpecialChar LyX
6964 .
6965  La única diferencia es que los documentos corrientes tienen todos los ajustes
6966  posibles, incluso el esquema de tipografías y el tamaño del papel.
6967  Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6968  preferidos para dichos parámetros.
6969  Por esta razón, el diseñador de una plantilla debería quitar comandos como
6970  
6971 \begin_inset Flex Code
6972 status collapsed
6973
6974 \begin_layout Plain Layout
6975
6976 \backslash
6977 font_roman
6978 \end_layout
6979
6980 \end_inset
6981
6982  o 
6983 \begin_inset Flex Code
6984 status collapsed
6985
6986 \begin_layout Plain Layout
6987
6988 \backslash
6989 papersize
6990 \end_layout
6991
6992 \end_inset
6993
6994  de los archivos de plantillas de \SpecialChar LyX
6995 .
6996  Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6997  
6998 \begin_inset Flex Code
6999 status collapsed
7000
7001 \begin_layout Plain Layout
7002 vi
7003 \end_layout
7004
7005 \end_inset
7006
7007  o 
7008 \begin_inset Flex Code
7009 status collapsed
7010
7011 \begin_layout Plain Layout
7012 notepad
7013 \end_layout
7014
7015 \end_inset
7016
7017 .
7018  
7019 \end_layout
7020
7021 \begin_layout Standard
7022 Los archivos editados de plantillas que has creado se ubican en 
7023 \begin_inset Flex Code
7024 status collapsed
7025
7026 \begin_layout Plain Layout
7027 UserDir/templates/
7028 \end_layout
7029
7030 \end_inset
7031
7032 , copia los que uses del directorio global de plantillas en 
7033 \begin_inset Flex Code
7034 status collapsed
7035
7036 \begin_layout Plain Layout
7037 \SpecialChar LyX
7038 Dir/templates/
7039 \end_layout
7040
7041 \end_inset
7042
7043  al mismo sitio y redefine la ruta a las plantillas en el diálogo 
7044 \begin_inset Flex Noun
7045 status collapsed
7046
7047 \begin_layout Plain Layout
7048 Herramientas\SpecialChar menuseparator
7049 Preferencias\SpecialChar menuseparator
7050 Rutas
7051 \end_layout
7052
7053 \end_inset
7054
7055 .
7056 \end_layout
7057
7058 \begin_layout Standard
7059 De paso advertiremos que hay una plantilla, 
7060 \begin_inset Flex Code
7061 status collapsed
7062
7063 \begin_layout Plain Layout
7064 defaults.lyx
7065 \end_layout
7066
7067 \end_inset
7068
7069 , que tiene un papel especial: esta plantilla se carga cada vez que abres
7070  un documento nuevo con 
7071 \begin_inset Flex Noun
7072 status collapsed
7073
7074 \begin_layout Plain Layout
7075 Archivo\SpecialChar menuseparator
7076 Nuevo
7077 \end_layout
7078
7079 \end_inset
7080
7081 , con el fin de proporcionar ajustes predeterminados por omisión.
7082  Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7083 , lo que debes hacer es abrir
7084  un documento, establecer los ajustes deseados y usar el botón 
7085 \begin_inset Flex Noun
7086 status collapsed
7087
7088 \begin_layout Plain Layout
7089 Guardar como predeterminados
7090 \end_layout
7091
7092 \end_inset
7093
7094 .
7095 \end_layout
7096
7097 \begin_layout Subsection
7098 Actualización de antiguos archivos de formato
7099 \end_layout
7100
7101 \begin_layout Standard
7102 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7103 ,
7104  de modo que los antiguos archivos de formato deben ser convertidos.
7105  Si \SpecialChar LyX
7106  lee un archivo de formato con formato antiguo lanzará la herramienta
7107  de conversión 
7108 \begin_inset Flex Code
7109 status collapsed
7110
7111 \begin_layout Plain Layout
7112 layout2layout.py
7113 \end_layout
7114
7115 \end_inset
7116
7117 , que lo convierte a un archivo temporal con el formato actual.
7118  El archivo original se deja sin tocar.
7119  Si lo usas a menudo y lo quieres convertir permanentemente para evitar
7120  que \SpecialChar LyX
7121  tenga que hacerlo cada vez, ejecuta el convertidor a mano:
7122 \end_layout
7123
7124 \begin_layout Enumerate
7125 renombra el archivo 
7126 \begin_inset Flex Code
7127 status collapsed
7128
7129 \begin_layout Plain Layout
7130 myclass.layout
7131 \end_layout
7132
7133 \end_inset
7134
7135  a 
7136 \begin_inset Flex Code
7137 status collapsed
7138
7139 \begin_layout Plain Layout
7140 myclass.old
7141 \end_layout
7142
7143 \end_inset
7144
7145
7146 \end_layout
7147
7148 \begin_layout Enumerate
7149 ejecuta el comando
7150 \begin_inset Newline newline
7151 \end_inset
7152
7153
7154 \begin_inset Flex Code
7155 status collapsed
7156
7157 \begin_layout Plain Layout
7158 python \SpecialChar LyX
7159 Dir/scripts/layout2layout.py myclass.old myclass.layout
7160 \end_layout
7161
7162 \end_inset
7163
7164
7165 \begin_inset Newline newline
7166 \end_inset
7167
7168 donde 
7169 \begin_inset Flex Code
7170 status collapsed
7171
7172 \begin_layout Plain Layout
7173 \SpecialChar LyX
7174 Dir
7175 \end_layout
7176
7177 \end_inset
7178
7179  es el nombre de tu directorio \SpecialChar LyX
7180  en el sistema.
7181 \end_layout
7182
7183 \begin_layout Standard
7184 La conversión manual no puede manejar archivos incluidos, así que estos
7185  tendrán que convertirse separadamente.
7186 \end_layout
7187
7188 \begin_layout Subsection
7189
7190 \lang english
7191 \begin_inset CommandInset label
7192 LatexCommand label
7193 name "subsec:Cite-Engine-Files"
7194
7195 \end_inset
7196
7197 Cite engine files
7198 \end_layout
7199
7200 \begin_layout Standard
7201
7202 \lang english
7203 A specific form of layout files are the so-called 
7204 \begin_inset Flex Code
7205 status collapsed
7206
7207 \begin_layout Plain Layout
7208
7209 \lang english
7210 *.citeengine
7211 \end_layout
7212
7213 \end_inset
7214
7215  files that are located in the 
7216 \begin_inset Flex Code
7217 status collapsed
7218
7219 \begin_layout Plain Layout
7220
7221 \lang english
7222 citeengines/
7223 \end_layout
7224
7225 \end_inset
7226
7227  sub-directory.
7228  Their purpose is to define the specifics of \SpecialChar LaTeX
7229  packages aimed at bibliography
7230  generation, such as 
7231 \family sans
7232 natbib
7233 \family default
7234 ,
7235 \family sans
7236  jurabib
7237 \family default
7238  or 
7239 \family sans
7240 biblatex
7241 \family default
7242 , but also the way how normal Bib\SpecialChar TeX
7243  citations (without additional packages)
7244  are handled in \SpecialChar LyX
7245  is defined in such a file.
7246  
7247 \end_layout
7248
7249 \begin_layout Standard
7250
7251 \lang english
7252 More specifically, it is defined which packages \SpecialChar LyX
7253  needs to load, which citation
7254  commands are available, how these are to be displayed in \SpecialChar LyX
7255  (in the workarea,
7256  the dialogs, the context menus) as well as in the XHTML and plain text
7257  output.
7258  Furthermore, the files specify available style variants (author-year, numerical
7259 , etc.) and their specifics.
7260  The cite engine files are also used to generate the options that are available
7261  in 
7262 \family sans
7263 Document\SpecialChar menuseparator
7264 Settings\SpecialChar menuseparator
7265 Bibliography\SpecialChar menuseparator
7266 Style engine
7267 \family default
7268 .
7269 \end_layout
7270
7271 \begin_layout Standard
7272
7273 \lang english
7274 Even though a cite engine file is essentially a normal layout file that
7275  could theoretically include any layout information, it usually primarily
7276  includes some specific parameters such as 
7277 \begin_inset Flex Code
7278 status collapsed
7279
7280 \begin_layout Plain Layout
7281
7282 \lang english
7283 MaxCiteNames
7284 \end_layout
7285
7286 \end_inset
7287
7288
7289 \begin_inset Flex Code
7290 status collapsed
7291
7292 \begin_layout Plain Layout
7293
7294 \lang english
7295 CiteFramework
7296 \end_layout
7297
7298 \end_inset
7299
7300
7301 \begin_inset Flex Code
7302 status collapsed
7303
7304 \begin_layout Plain Layout
7305
7306 \lang english
7307 CiteEngine
7308 \end_layout
7309
7310 \end_inset
7311
7312  and 
7313 \begin_inset Flex Code
7314 status collapsed
7315
7316 \begin_layout Plain Layout
7317
7318 \lang english
7319 CiteFormat
7320 \end_layout
7321
7322 \end_inset
7323
7324  blocks.
7325  The syntax of the latter two is described in
7326 \lang spanish
7327  
7328 \begin_inset CommandInset ref
7329 LatexCommand ref
7330 reference "subsec:Citation-engine-description"
7331 plural "false"
7332 caps "false"
7333 noprefix "false"
7334
7335 \end_inset
7336
7337  y 
7338 \begin_inset CommandInset ref
7339 LatexCommand ref
7340 reference "subsec:Descripción-formato-cita"
7341
7342 \end_inset
7343
7344
7345 \lang english
7346 as well as in the files themselves.
7347 \end_layout
7348
7349 \begin_layout Section
7350 Estructura del archivo `layout'
7351 \begin_inset CommandInset label
7352 LatexCommand label
7353 name "sec:Estructura-del-archivo-layout"
7354
7355 \end_inset
7356
7357
7358 \end_layout
7359
7360 \begin_layout Standard
7361 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7362  tu propio archivo de formato; las siguientes secciones describen aquello
7363  a lo que te vas a enfrentar.
7364  Nuestro consejo es ir despacito, probando y guardando a menudo.
7365  En realidad no es para tanto, pero la multitud de opciones puede llegar
7366  a abrumarte si intentas hacer muchas cosas a la vez.
7367  Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7368  como ejemplo o referencia
7369  y modificarlos según tus necesidades.
7370 \end_layout
7371
7372 \begin_layout Standard
7373 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7374  a las mayúsculas; esto significa que 
7375 \begin_inset Flex Code
7376 status collapsed
7377
7378 \begin_layout Plain Layout
7379 Style
7380 \end_layout
7381
7382 \end_inset
7383
7384
7385 \begin_inset Flex Code
7386 status collapsed
7387
7388 \begin_layout Plain Layout
7389 style
7390 \end_layout
7391
7392 \end_inset
7393
7394  y 
7395 \begin_inset Flex Code
7396 status collapsed
7397
7398 \begin_layout Plain Layout
7399 StYlE
7400 \end_layout
7401
7402 \end_inset
7403
7404  son el mismo comando.
7405  Los valores posibles se imprimen entre corchetes detrás del nombre de la
7406  característica.
7407  Si en una descripción de una clase de texto no se especifica una característica
7408 , el valor por omisión se escribe en estilo 
7409 \begin_inset Flex Code
7410 status collapsed
7411
7412 \begin_layout Plain Layout
7413
7414 \emph on
7415 énfasis
7416 \end_layout
7417
7418 \end_inset
7419
7420 .
7421  Si el argumento tiene un tipo de dato como 
7422 \begin_inset Quotes cld
7423 \end_inset
7424
7425 string
7426 \begin_inset Quotes crd
7427 \end_inset
7428
7429  o 
7430 \begin_inset Quotes cld
7431 \end_inset
7432
7433 float
7434 \begin_inset Quotes crd
7435 \end_inset
7436
7437 , el valor por omisión se muestra de esta manera: 
7438 \begin_inset Flex Code
7439 status collapsed
7440
7441 \begin_layout Plain Layout
7442 float=
7443 \emph on
7444 default
7445 \end_layout
7446
7447 \end_inset
7448
7449 .
7450 \end_layout
7451
7452 \begin_layout Subsection
7453 Declaración de la clase de documento y clasificación
7454 \end_layout
7455
7456 \begin_layout Standard
7457 Las líneas de un archivo de formato que empiezan con 
7458 \begin_inset Flex Code
7459 status collapsed
7460
7461 \begin_layout Plain Layout
7462 #
7463 \end_layout
7464
7465 \end_inset
7466
7467  son comentarios.
7468  Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7469  como:
7470 \end_layout
7471
7472 \begin_layout LyX-Code
7473
7474 \size small
7475 #% Do not delete the line below; configure depends on this
7476 \begin_inset Foot
7477 status collapsed
7478
7479 \begin_layout Plain Layout
7480
7481 \emph on
7482 N.
7483 \begin_inset space \thinspace{}
7484 \end_inset
7485
7486 del T.
7487 \emph default
7488 : No borrar la línea siguiente; la configuración depende de ella
7489 \end_layout
7490
7491 \end_inset
7492
7493
7494 \end_layout
7495
7496 \begin_layout LyX-Code
7497
7498 \size small
7499 #  
7500 \backslash
7501 DeclareLaTeXClass{Article (Standard Class)}
7502 \end_layout
7503
7504 \begin_layout LyX-Code
7505
7506 \size small
7507 #  
7508 \backslash
7509 DeclareCategory{Articles}
7510 \end_layout
7511
7512 \begin_layout Standard
7513 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7514 .
7515  El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7516  
7517 \begin_inset Flex Code
7518 status collapsed
7519
7520 \begin_layout Plain Layout
7521 chkconfig.ltx
7522 \end_layout
7523
7524 \end_inset
7525
7526  de un modo especial tal que 
7527 \begin_inset Flex Code
7528 status collapsed
7529
7530 \begin_layout Plain Layout
7531 #
7532 \end_layout
7533
7534 \end_inset
7535
7536  se ignora.
7537  La primera línea es solo un comentario, la segunda contiene la declaración
7538  obligatoria de la clase de texto y la tercera línea contiene la clasificación
7539  opcional de la clase.
7540  Si estas líneas aparecen en un archivo llamado 
7541 \begin_inset Flex Code
7542 status collapsed
7543
7544 \begin_layout Plain Layout
7545 article.layout
7546 \end_layout
7547
7548 \end_inset
7549
7550 , entonces definen una clase de texto de nombre 
7551 \begin_inset Flex Code
7552 status collapsed
7553
7554 \begin_layout Plain Layout
7555 article
7556 \end_layout
7557
7558 \end_inset
7559
7560  (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7561  
7562 \begin_inset Flex Code
7563 status collapsed
7564
7565 \begin_layout Plain Layout
7566 article.cls
7567 \end_layout
7568
7569 \end_inset
7570
7571  (por omisión se usa el mismo nombre para ambos).
7572  La palabra 
7573 \begin_inset Quotes cld
7574 \end_inset
7575
7576 Article (Standard Class)
7577 \begin_inset Quotes crd
7578 \end_inset
7579
7580  se utiliza como descripción de la clase de texto y es la que aparece en
7581  el diálogo 
7582 \begin_inset Flex Noun
7583 status collapsed
7584
7585 \begin_layout Plain Layout
7586 Documento\SpecialChar menuseparator
7587 Configuración
7588 \end_layout
7589
7590 \end_inset
7591
7592 .
7593  La categoría (
7594 \begin_inset Quotes cld
7595 \end_inset
7596
7597 Articles
7598 \begin_inset Quotes crd
7599 \end_inset
7600
7601  en el ejemplo) también se usa en el diálogo 
7602 \begin_inset Flex Noun
7603 status collapsed
7604
7605 \begin_layout Plain Layout
7606 Documento\SpecialChar menuseparator
7607 Configuración
7608 \end_layout
7609
7610 \end_inset
7611
7612 : las clases de texto se agrupan por estas categorías (generalmente son
7613  géneros, así son categorías típicas 
7614 \begin_inset Quotes cld
7615 \end_inset
7616
7617 Articles
7618 \begin_inset Quotes crd
7619 \end_inset
7620
7621
7622 \begin_inset Quotes cld
7623 \end_inset
7624
7625 Books
7626 \begin_inset Quotes crd
7627 \end_inset
7628
7629
7630 \begin_inset Quotes cld
7631 \end_inset
7632
7633 Reports
7634 \begin_inset Quotes crd
7635 \end_inset
7636
7637
7638 \begin_inset Quotes cld
7639 \end_inset
7640
7641 Letters
7642 \begin_inset Quotes crd
7643 \end_inset
7644
7645
7646 \begin_inset Quotes cld
7647 \end_inset
7648
7649 Presentations
7650 \begin_inset Quotes crd
7651 \end_inset
7652
7653
7654 \begin_inset Quotes cld
7655 \end_inset
7656
7657 Curricula Vitae
7658 \begin_inset Quotes crd
7659 \end_inset
7660
7661  etc.).
7662  Si no se ha declarado categoría la clase se pondrá en el grupo 
7663 \begin_inset Quotes cld
7664 \end_inset
7665
7666 Sin categoría
7667 \begin_inset Quotes crd
7668 \end_inset
7669
7670 .
7671 \end_layout
7672
7673 \begin_layout Standard
7674 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7675  de documento 
7676 \begin_inset Flex Code
7677 status collapsed
7678
7679 \begin_layout Plain Layout
7680 article.cls
7681 \end_layout
7682
7683 \end_inset
7684
7685 , pero en la que has cambiado el aspecto de los encabezados de sección.
7686  Si lo pones en un archivo 
7687 \begin_inset Flex Code
7688 status collapsed
7689
7690 \begin_layout Plain Layout
7691 myarticle.layout
7692 \end_layout
7693
7694 \end_inset
7695
7696 , la cabecera de este archivo debería ser:
7697 \end_layout
7698
7699 \begin_layout LyX-Code
7700
7701 \size small
7702 #% Do not delete the line below; configure depends on this
7703 \end_layout
7704
7705 \begin_layout LyX-Code
7706
7707 \size small
7708 #  
7709 \backslash
7710 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7711 \end_layout
7712
7713 \begin_layout LyX-Code
7714
7715 \size small
7716 #  
7717 \backslash
7718 DeclareCategory{Articles}
7719 \end_layout
7720
7721 \begin_layout Standard
7722 Esto declara la clase de texto 
7723 \begin_inset Flex Code
7724 status collapsed
7725
7726 \begin_layout Plain Layout
7727 myarticle
7728 \end_layout
7729
7730 \end_inset
7731
7732 , asociada con la clase de documento \SpecialChar LaTeX
7733  
7734 \begin_inset Flex Code
7735 status collapsed
7736
7737 \begin_layout Plain Layout
7738 article.cls
7739 \end_layout
7740
7741 \end_inset
7742
7743 , y cuya descripción es 
7744 \begin_inset Quotes cld
7745 \end_inset
7746
7747 Article (con Mis Encabezados)
7748 \begin_inset Quotes crd
7749 \end_inset
7750
7751 .
7752  Si la clase de texto depende de varios paquetes, puedes declararla así:
7753 \end_layout
7754
7755 \begin_layout LyX-Code
7756
7757 \size small
7758 #% Do not delete the line below; configure depends on this
7759 \end_layout
7760
7761 \begin_layout LyX-Code
7762
7763 \size small
7764 #  
7765 \backslash
7766 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
7767 \end_layout
7768
7769 \begin_layout LyX-Code
7770
7771 \size small
7772 #  
7773 \backslash
7774 DeclareCategory{Articles}
7775 \end_layout
7776
7777 \begin_layout Standard
7778 Esto indica que la clase de texto utiliza el paquete foo.sty.
7779  Finalmente, también es posible declarar clases para código DocBook.
7780  Una declaración típica podría ser:
7781 \end_layout
7782
7783 \begin_layout LyX-Code
7784
7785 \size small
7786 #% Do not delete the line below; configure depends on this
7787 \end_layout
7788
7789 \begin_layout LyX-Code
7790
7791 \size small
7792
7793 \backslash
7794 DeclareDocBookClass[article]{SGML (DocBook Article)}
7795 \end_layout
7796
7797 \begin_layout LyX-Code
7798
7799 \size small
7800 #  
7801 \backslash
7802 DeclareCategory{Articles}
7803 \end_layout
7804
7805 \begin_layout Standard
7806 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7807  que declare el nombre de la clase de documento (pero no una lista).
7808 \end_layout
7809
7810 \begin_layout Standard
7811 Así, para ser lo más explícito posible, la forma de la declaración del formato
7812  es:
7813 \end_layout
7814
7815 \begin_layout LyX-Code
7816
7817 \size small
7818 #  
7819 \backslash
7820 DeclareLaTeXClass[class,package.sty]{descripción del formato}
7821 \end_layout
7822
7823 \begin_layout LyX-Code
7824
7825 \size small
7826 #  
7827 \backslash
7828 DeclareCategory{category}
7829 \end_layout
7830
7831 \begin_layout Standard
7832 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
7833  y
7834  el nombre de archivo del formato son diferentes; si el nombre del archivo
7835  de clase no se especifica, \SpecialChar LyX
7836  simplemente supondrá que es el mismo que el
7837  del archivo de formato.
7838 \end_layout
7839
7840 \begin_layout Standard
7841 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7842  debes hacer es copiarla a 
7843 \begin_inset Flex Code
7844 status collapsed
7845
7846 \begin_layout Plain Layout
7847 \SpecialChar LyX
7848 Dir/layouts/
7849 \end_layout
7850
7851 \end_inset
7852
7853  o a 
7854 \begin_inset Flex Code
7855 status collapsed
7856
7857 \begin_layout Plain Layout
7858 UserDir/layouts
7859 \end_layout
7860
7861 \end_inset
7862
7863 , ejecutar 
7864 \begin_inset Flex Noun
7865 status collapsed
7866
7867 \begin_layout Plain Layout
7868 Herramientas\SpecialChar menuseparator
7869 Reconfigurar
7870 \end_layout
7871
7872 \end_inset
7873
7874 , y reiniciar \SpecialChar LyX
7875 .
7876  Ahora la nueva clase de texto debería estar disponible junto con las demás.
7877 \end_layout
7878
7879 \begin_layout Standard
7880 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7881  que reconfigurar ni reiniciar \SpecialChar LyX
7882 .
7883  
7884 \begin_inset Foot
7885 status collapsed
7886
7887 \begin_layout Plain Layout
7888 En versiones de \SpecialChar LyX
7889  anteriores a 1.6 no era así.
7890  Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7891  pues constantemente había que reconfigurar y reiniciar.
7892 \end_layout
7893
7894 \end_inset
7895
7896  Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
7897  
7898 \begin_inset Flex Noun
7899 status collapsed
7900
7901 \begin_layout Plain Layout
7902 layout-reload
7903 \end_layout
7904
7905 \end_inset
7906
7907 .
7908  No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7909  asociarle tú mismo una secuencia de teclas—.
7910  Normalmente usarás esta función introduciéndola simplemente en el 
7911 \emph on
7912 mini-buffer
7913 \emph default
7914 .
7915  
7916 \end_layout
7917
7918 \begin_layout Standard
7919
7920 \emph on
7921 Aviso
7922 \emph default
7923 : Esto es mucho más que una 
7924 \begin_inset Quotes cld
7925 \end_inset
7926
7927 característica avanzada
7928 \begin_inset Quotes crd
7929 \end_inset
7930
7931 .
7932  Es 
7933 \emph on
7934 muy
7935 \emph default
7936  recomendable que no intentes editar tu formato mientras estés trabajando
7937  en un documento importante.
7938  Usa un documento de prueba.
7939  Los errores sintácticos y similares en tu archivo de formato podrían provocar
7940  comportamientos extraños.
7941  En particular, tales errores podrían provocar que \SpecialChar LyX
7942  vea el formato actual
7943  como inválido e intente cambiar a algún otro.
7944 \begin_inset Foot
7945 status collapsed
7946
7947 \begin_layout Plain Layout
7948 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7949  de \SpecialChar LyX
7950 , porque ciertos tipos de error pueden hacer que \SpecialChar LyX
7951  sea incapaz de leer
7952  
7953 \emph on
7954 cualquier
7955 \emph default
7956  información de formato.
7957  Por favor ten cuidado.
7958 \end_layout
7959
7960 \end_inset
7961
7962  El equipo \SpecialChar LyX
7963  procura que \SpecialChar LyX
7964  se mantenga estable en estos casos, pero es mejor
7965  prevenir que curar.
7966 \begin_inset Foot
7967 status collapsed
7968
7969 \begin_layout Plain Layout
7970 De todos modos, haz copias de seguridad regularmente.
7971  Y sé bueno con mamá.
7972  
7973 \end_layout
7974
7975 \end_inset
7976
7977
7978 \end_layout
7979
7980 \begin_layout Subsection
7981 Declaración de un módulo
7982 \end_layout
7983
7984 \begin_layout Standard
7985 Un módulo debe empezar con una línea como la siguiente:
7986 \end_layout
7987
7988 \begin_layout LyX-Code
7989 #
7990 \backslash
7991 DeclareLyXModule[endnotes.sty]{Endnotes} 
7992 \end_layout
7993
7994 \begin_layout Standard
7995 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7996  deberá aparecer en 
7997 \begin_inset Flex Noun
7998 status collapsed
7999
8000 \begin_layout Plain Layout
8001 Documento\SpecialChar menuseparator
8002 Configuración\SpecialChar menuseparator
8003 Módulos
8004 \end_layout
8005
8006 \end_inset
8007
8008 .
8009  El argumento entre corchetes es opcional: declara cualesquiera paquetes
8010  \SpecialChar LaTeX
8011  de los que depende el módulo.
8012  También es posible usar la forma 
8013 \begin_inset Flex Noun
8014 status collapsed
8015
8016 \begin_layout Plain Layout
8017 from->to
8018 \end_layout
8019
8020 \end_inset
8021
8022  como argumento opcional, que declara que el módulo solo puede usarse cuando
8023  existe una cadena de conversión entre los formatos `
8024 \begin_inset Flex Code
8025 status collapsed
8026
8027 \begin_layout Plain Layout
8028 from
8029 \end_layout
8030
8031 \end_inset
8032
8033 ' y `
8034 \begin_inset Flex Code
8035 status collapsed
8036
8037 \begin_layout Plain Layout
8038 to
8039 \end_layout
8040
8041 \end_inset
8042
8043 '.
8044 \end_layout
8045
8046 \begin_layout Standard
8047 La declaración del módulo debe proseguir con líneas como las siguientes:
8048 \begin_inset Foot
8049 status collapsed
8050
8051 \begin_layout Plain Layout
8052 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8053 .
8054  Esta descripción aparecerá en la lista de mensajes para ser traducidos
8055  en la siguiente actualización de la interfaz.
8056 \end_layout
8057
8058 \end_inset
8059
8060
8061 \end_layout
8062
8063 \begin_layout LyX-Code
8064 #DescriptionBegin 
8065 \end_layout
8066
8067 \begin_layout LyX-Code
8068 #Adds an endnote command, in addition to footnotes.
8069  
8070 \end_layout
8071
8072 \begin_layout LyX-Code
8073 #You will need to add  
8074 \backslash
8075 theendnotes in \SpecialChar TeX
8076  code where you 
8077 \end_layout
8078
8079 \begin_layout LyX-Code
8080 #want the endnotes to appear.
8081  
8082 \end_layout
8083
8084 \begin_layout LyX-Code
8085 #DescriptionEnd 
8086 \end_layout
8087
8088 \begin_layout LyX-Code
8089 #Requires: somemodule | othermodule
8090 \end_layout
8091
8092 \begin_layout LyX-Code
8093 #Excludes: badmodule
8094 \end_layout
8095
8096 \begin_layout Standard
8097 La descripción se usa en 
8098 \begin_inset Flex Noun
8099 status collapsed
8100
8101 \begin_layout Plain Layout
8102 Documento\SpecialChar menuseparator
8103 Configuración\SpecialChar menuseparator
8104 Módulos
8105 \end_layout
8106
8107 \end_inset
8108
8109  para proporcionar al usuario información sobre las acciones del módulo.
8110  La línea 
8111 \begin_inset Flex Code
8112 status collapsed
8113
8114 \begin_layout Plain Layout
8115 Requires
8116 \end_layout
8117
8118 \end_inset
8119
8120  sirve para identificar otros módulos con los que se debe usar este; la
8121  línea 
8122 \begin_inset Flex Code
8123 status collapsed
8124
8125 \begin_layout Plain Layout
8126 Excludes
8127 \end_layout
8128
8129 \end_inset
8130
8131  identifica los módulos con los que este no se puede usar.
8132  Ambas son opcionales, y, como se ve, varios módulos deben separarse con
8133  el símbolo tubería: |.
8134  Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
8135  
8136 \emph on
8137 al menos uno
8138 \emph default
8139  de los módulos requeridos.
8140  Y no se puede usar 
8141 \emph on
8142 ningún
8143 \emph default
8144  módulo excluido.
8145  Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
8146  
8147 \begin_inset Flex Code
8148 status collapsed
8149
8150 \begin_layout Plain Layout
8151 .module
8152 \end_layout
8153
8154 \end_inset
8155
8156 .
8157  Por tanto, 
8158 \begin_inset Flex Code
8159 status collapsed
8160
8161 \begin_layout Plain Layout
8162 somemodule
8163 \end_layout
8164
8165 \end_inset
8166
8167  es realmente 
8168 \begin_inset Flex Code
8169 status collapsed
8170
8171 \begin_layout Plain Layout
8172 somemodule.module
8173 \end_layout
8174
8175 \end_inset
8176
8177 .
8178 \end_layout
8179
8180 \begin_layout Subsection
8181
8182 \lang english
8183 The CiteEngine file declaration
8184 \end_layout
8185
8186 \begin_layout Standard
8187
8188 \lang english
8189 A cite engine file must begin with a line like the following:
8190 \end_layout
8191
8192 \begin_layout LyX-Code
8193
8194 \lang english
8195 #
8196 \backslash
8197 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8198 \end_layout
8199
8200 \begin_layout Standard
8201
8202 \lang english
8203 The mandatory argument, in curly brackets, is the name of the module, as
8204  it should appear in 
8205 \begin_inset Flex Noun
8206 status collapsed
8207
8208 \begin_layout Plain Layout
8209
8210 \lang english
8211 Document\SpecialChar menuseparator
8212 Settings\SpecialChar menuseparator
8213 Bibliography
8214 \end_layout
8215
8216 \end_inset
8217
8218 .
8219  The argument in square brackets is optional: It declares any \SpecialChar LaTeX
8220  packages
8221  on which the cite engine depends.
8222 \end_layout
8223
8224 \begin_layout Standard
8225
8226 \lang english
8227 The cite engine declaration should then be followed by lines like the following:
8228 \begin_inset Foot
8229 status collapsed
8230
8231 \begin_layout Plain Layout
8232
8233 \lang english
8234 Preferably in English if the module should be published with \SpecialChar LyX
8235 .
8236  This description will appear in the list of messages to be translated and
8237  will be thus translated with the next interface update.
8238 \end_layout
8239
8240 \end_inset
8241
8242
8243 \end_layout
8244
8245 \begin_layout LyX-Code
8246
8247 \lang english
8248 # DescriptionBegin
8249 \end_layout
8250
8251 \begin_layout LyX-Code
8252
8253 \lang english
8254 #   Biblatex supports many author-year and numerical styles.
8255 \end_layout
8256
8257 \begin_layout LyX-Code
8258
8259 \lang english
8260 #   It is mainly aimed at the Humanities.
8261  It is highly
8262 \end_layout
8263
8264 \begin_layout LyX-Code
8265
8266 \lang english
8267 #   customizable, fully localized and provides many features
8268 \end_layout
8269
8270 \begin_layout LyX-Code
8271
8272 \lang english
8273 #   that are not possible with BibTeX.
8274  The use of 'biber' as
8275 \end_layout
8276
8277 \begin_layout LyX-Code
8278
8279 \lang english
8280 #   bibliography processor is advised.
8281 \end_layout
8282
8283 \begin_layout LyX-Code
8284
8285 \lang english
8286 # DescriptionEnd
8287 \end_layout
8288
8289 \begin_layout Standard
8290
8291 \lang english
8292 The description is used in 
8293 \begin_inset Flex Noun
8294 status collapsed
8295
8296 \begin_layout Plain Layout
8297
8298 \lang english
8299 Document\SpecialChar menuseparator
8300 Settings\SpecialChar menuseparator
8301 Bibliography
8302 \end_layout
8303
8304 \end_inset
8305
8306  to provide the user with information about the cite engine.
8307 \end_layout
8308
8309 \begin_layout Subsection
8310 Número de formato
8311 \end_layout
8312
8313 \begin_layout Standard
8314 La primera línea no comentada de cualquier archivo `layout', `inc' o `module'
8315  
8316 \emph on
8317 debe
8318 \emph default
8319  contener el número de formato del archivo:
8320 \end_layout
8321
8322 \begin_layout Description
8323 \begin_inset Flex Code
8324 status collapsed
8325
8326 \begin_layout Plain Layout
8327 Format
8328 \end_layout
8329
8330 \end_inset
8331
8332  [
8333 \begin_inset Flex Code
8334 status collapsed
8335
8336 \begin_layout Plain Layout
8337 int
8338 \end_layout
8339
8340 \end_inset
8341
8342 ] El número de formato del archivo de formato (`layout').
8343 \end_layout
8344
8345 \begin_layout Standard
8346 Esta etiqueta se introdujo en \SpecialChar LyX
8347
8348 \begin_inset space ~
8349 \end_inset
8350
8351 1.4.0.
8352  Los archivos anteriores no tienen un número explícito y se consideran como
8353  
8354 \begin_inset Flex Code
8355 status collapsed
8356
8357 \begin_layout Plain Layout
8358 Format
8359 \begin_inset space ~
8360 \end_inset
8361
8362 1
8363 \end_layout
8364
8365 \end_inset
8366
8367 .
8368  El número para la versión actual de \SpecialChar LyX
8369  es formato 60.
8370  Cada versión de \SpecialChar LyX
8371  es capaz de leer los formatos de versiones anteriores,
8372  de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8373
8374  anteriores.
8375  Sin embargo, no está previsto convertir a formatos anteriores.
8376 \end_layout
8377
8378 \begin_layout Subsection
8379 Parámetros generales de clases de texto
8380 \begin_inset CommandInset label
8381 LatexCommand label
8382 name "subsec:Parámetros-generales-clases"
8383
8384 \end_inset
8385
8386
8387 \end_layout
8388
8389 \begin_layout Standard
8390 Estos son los parámetros generales que describen completamente una clase
8391  de documento.
8392  (Esto 
8393 \emph on
8394 no
8395 \emph default
8396  significa que deban aparecer en archivos 
8397 \begin_inset Flex Code
8398 status collapsed
8399
8400 \begin_layout Plain Layout
8401 .layout
8402 \end_layout
8403
8404 \end_inset
8405
8406  en vez de en módulos.
8407  Un módulo puede contener cualquier etiqueta de formato).
8408 \end_layout
8409
8410 \begin_layout Description
8411 \begin_inset Flex Code
8412 status collapsed
8413
8414 \begin_layout Plain Layout
8415 AddToHTMLPreamble
8416 \end_layout
8417
8418 \end_inset
8419
8420  Añade información para el bloque 
8421 \begin_inset Flex Code
8422 status collapsed
8423
8424 \begin_layout Plain Layout
8425 <head>
8426 \end_layout
8427
8428 \end_inset
8429
8430  cuando el documento se exporte a XHTML.
8431  Típicamente, debería usarse para exportar información de estilo CSS, aunque
8432  se puede usar para cualquier cosa que pueda aparecer en 
8433 \begin_inset Flex Code
8434 status collapsed
8435
8436 \begin_layout Plain Layout
8437 <head>
8438 \end_layout
8439
8440 \end_inset
8441
8442 .
8443  Debe acabar con 
8444 \begin_inset Quotes eld
8445 \end_inset
8446
8447
8448 \begin_inset Flex Code
8449 status collapsed
8450
8451 \begin_layout Plain Layout
8452 EndPreamble
8453 \end_layout
8454
8455 \end_inset
8456
8457
8458 \begin_inset Quotes erd
8459 \end_inset
8460
8461 .
8462 \end_layout
8463
8464 \begin_layout Description
8465 \begin_inset Flex Code
8466 status collapsed
8467
8468 \begin_layout Plain Layout
8469 AddToPreamble
8470 \end_layout
8471
8472 \end_inset
8473
8474  Añade información al preámbulo del documento.
8475  Debe terminar con 
8476 \begin_inset Quotes cld
8477 \end_inset
8478
8479
8480 \begin_inset Flex Code
8481 status collapsed
8482
8483 \begin_layout Plain Layout
8484 EndPreamble
8485 \end_layout
8486
8487 \end_inset
8488
8489
8490 \begin_inset Quotes crd
8491 \end_inset
8492
8493 .
8494 \end_layout
8495
8496 \begin_layout Description
8497
8498 \lang english
8499 \begin_inset Flex Code
8500 status collapsed
8501
8502 \begin_layout Plain Layout
8503
8504 \lang english
8505 CiteEngine <engine>
8506 \end_layout
8507
8508 \end_inset
8509
8510  Defines the possibilities for displaying citation references.
8511  See 
8512 \begin_inset CommandInset ref
8513 LatexCommand ref
8514 reference "subsec:Citation-engine-description"
8515 plural "false"
8516 caps "false"
8517 noprefix "false"
8518
8519 \end_inset
8520
8521  for details.
8522  Must end with 
8523 \begin_inset Quotes eld
8524 \end_inset
8525
8526
8527 \begin_inset Flex Code
8528 status collapsed
8529
8530 \begin_layout Plain Layout
8531
8532 \lang english
8533 End
8534 \end_layout
8535
8536 \end_inset
8537
8538
8539 \begin_inset Quotes erd
8540 \end_inset
8541
8542 .
8543  Primarily used in cite engine files (see 
8544 \begin_inset CommandInset ref
8545 LatexCommand ref
8546 reference "subsec:Cite-Engine-Files"
8547 plural "false"
8548 caps "false"
8549 noprefix "false"
8550
8551 \end_inset
8552
8553 ).
8554 \end_layout
8555
8556 \begin_layout Description
8557 \begin_inset Flex Code
8558 status collapsed
8559
8560 \begin_layout Plain Layout
8561 CiteFormat
8562 \end_layout
8563
8564 \end_inset
8565
8566  Define formatos a usar en la presentación de información bibliográfica.
8567  Véase la sección
8568 \begin_inset space ~
8569 \end_inset
8570
8571
8572 \begin_inset CommandInset ref
8573 LatexCommand ref
8574 reference "subsec:Descripción-formato-cita"
8575
8576 \end_inset
8577
8578  para detalles.
8579  Debe terminar con 
8580 \begin_inset Quotes eld
8581 \end_inset
8582
8583
8584 \begin_inset Flex Code
8585 status collapsed
8586
8587 \begin_layout Plain Layout
8588 End
8589 \end_layout
8590
8591 \end_inset
8592
8593
8594 \begin_inset Quotes erd
8595 \end_inset
8596
8597 .
8598
8599 \lang english
8600  Primarily used in cite engine files (see 
8601 \begin_inset CommandInset ref
8602 LatexCommand ref
8603 reference "subsec:Cite-Engine-Files"
8604 plural "false"
8605 caps "false"
8606 noprefix "false"
8607
8608 \end_inset
8609
8610 ).
8611 \end_layout
8612
8613 \begin_layout Description
8614
8615 \lang english
8616 \begin_inset Flex Code
8617 status collapsed
8618
8619 \begin_layout Plain Layout
8620
8621 \lang english
8622 CiteFramework
8623 \end_layout
8624
8625 \end_inset
8626
8627  [
8628 \begin_inset Flex Code
8629 status collapsed
8630
8631 \begin_layout Plain Layout
8632
8633 \emph on
8634 \lang english
8635 bibtex
8636 \end_layout
8637
8638 \end_inset
8639
8640 ,
8641 \begin_inset Flex Code
8642 status collapsed
8643
8644 \begin_layout Plain Layout
8645
8646 \lang english
8647 biblatex
8648 \end_layout
8649
8650 \end_inset
8651
8652 ] Determines whether 
8653 \family sans
8654 Biblatex
8655 \family default
8656  or Bib\SpecialChar TeX
8657  is used to generate a Bibliography.
8658  Primarily used in cite engine files (see 
8659 \begin_inset CommandInset ref
8660 LatexCommand ref
8661 reference "subsec:Cite-Engine-Files"
8662 plural "false"
8663 caps "false"
8664 noprefix "false"
8665
8666 \end_inset
8667
8668 ).
8669 \end_layout
8670
8671 \begin_layout Description
8672 \begin_inset Flex Code
8673 status collapsed
8674
8675 \begin_layout Plain Layout
8676 ClassOptions
8677 \end_layout
8678
8679 \end_inset
8680
8681  Describe varias opciones globales soportadas por la clase de documento.
8682  Véase la sección
8683 \begin_inset space ~
8684 \end_inset
8685
8686
8687 \begin_inset CommandInset ref
8688 LatexCommand ref
8689 reference "subsec:ClassOptions"
8690
8691 \end_inset
8692
8693  para una descripción.
8694  Debe terminar con 
8695 \begin_inset Quotes cld
8696 \end_inset
8697
8698
8699 \begin_inset Flex Code
8700 status collapsed
8701
8702 \begin_layout Plain Layout
8703 End
8704 \end_layout
8705
8706 \end_inset
8707
8708
8709 \begin_inset Quotes crd
8710 \end_inset
8711
8712 .
8713 \end_layout
8714
8715 \begin_layout Description
8716 \begin_inset Flex Code
8717 status collapsed
8718
8719 \begin_layout Plain Layout
8720 Columns
8721 \end_layout
8722
8723 \end_inset
8724
8725  [
8726 \begin_inset Flex Code
8727 status collapsed
8728
8729 \begin_layout Plain Layout
8730
8731 \emph on
8732 1
8733 \end_layout
8734
8735 \end_inset
8736
8737 ,
8738 \begin_inset space \thinspace{}
8739 \end_inset
8740
8741
8742 \begin_inset Flex Code
8743 status collapsed
8744
8745 \begin_layout Plain Layout
8746 2
8747 \end_layout
8748
8749 \end_inset
8750
8751 ] Establece el número de columnas por omisión.
8752  Se puede cambiar en el diálogo 
8753 \begin_inset Flex Noun
8754 status collapsed
8755
8756 \begin_layout Plain Layout
8757 Documento\SpecialChar menuseparator
8758 Configuración
8759 \end_layout
8760
8761 \end_inset
8762
8763 .
8764 \end_layout
8765
8766 \begin_layout Description
8767 \begin_inset Flex Code
8768 status collapsed
8769
8770 \begin_layout Plain Layout
8771 Counter
8772 \end_layout
8773
8774 \end_inset
8775
8776  Esta secuencia define un nuevo contador.
8777  Véase la sección
8778 \begin_inset space ~
8779 \end_inset
8780
8781
8782 \begin_inset CommandInset ref
8783 LatexCommand ref
8784 reference "subsec:Contadores"
8785
8786 \end_inset
8787
8788  para detalles.
8789  Debe terminar con 
8790 \begin_inset Quotes cld
8791 \end_inset
8792
8793
8794 \begin_inset Flex Code
8795 status collapsed
8796
8797 \begin_layout Plain Layout
8798 End
8799 \end_layout
8800
8801 \end_inset
8802
8803
8804 \begin_inset Quotes crd
8805 \end_inset
8806
8807 .
8808 \end_layout
8809
8810 \begin_layout Description
8811 \begin_inset Flex Code
8812 status collapsed
8813
8814 \begin_layout Plain Layout
8815 DefaultFont
8816 \end_layout
8817
8818 \end_inset
8819
8820  Establece la tipografía por omisión para presentar el documento.
8821  Véase la sección
8822 \begin_inset space ~
8823 \end_inset
8824
8825
8826 \begin_inset CommandInset ref
8827 LatexCommand ref
8828 reference "subsec:Tipografía"
8829
8830 \end_inset
8831
8832  para cómo declarar tipografías.
8833  Debe terminar con 
8834 \begin_inset Quotes cld
8835 \end_inset
8836
8837
8838 \begin_inset Flex Code
8839 status collapsed
8840
8841 \begin_layout Plain Layout
8842 EndFont
8843 \end_layout
8844
8845 \end_inset
8846
8847
8848 \begin_inset Quotes crd
8849 \end_inset
8850
8851 .
8852 \end_layout
8853
8854 \begin_layout Description
8855 \begin_inset Flex Code
8856 status collapsed
8857
8858 \begin_layout Plain Layout
8859 DefaultModule
8860 \end_layout
8861
8862 \end_inset
8863
8864  [
8865 \begin_inset Flex Code
8866 status collapsed
8867
8868 \begin_layout Plain Layout
8869 <module>
8870 \end_layout
8871
8872 \end_inset
8873
8874 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8875  deberá declararse por su nombre de archivo sin la extensión 
8876 \begin_inset Flex Code
8877 status collapsed
8878
8879 \begin_layout Plain Layout
8880 .module
8881 \end_layout
8882
8883 \end_inset
8884
8885 .
8886  El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8887  (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8888  elige para un documento existente.)
8889 \end_layout
8890
8891 \begin_layout Description
8892 \begin_inset Flex Code
8893 status collapsed
8894
8895 \begin_layout Plain Layout
8896 DefaultStyle
8897 \end_layout
8898
8899 \end_inset
8900
8901  [
8902 \begin_inset Flex Code
8903 status collapsed
8904
8905 \begin_layout Plain Layout
8906 <style>
8907 \end_layout
8908
8909 \end_inset
8910
8911 ] Este es el estilo que será asignado a párrafos nuevos, generalmente 
8912 \begin_inset Flex Noun
8913 status collapsed
8914
8915 \begin_layout Plain Layout
8916 Standard
8917 \end_layout
8918
8919 \end_inset
8920
8921 .
8922  Si no se especifica, se escogerá por omisión el primer estilo definido,
8923  pero es muy recomendable usar esta instrucción.
8924 \end_layout
8925
8926 \begin_layout Description
8927 \begin_inset Flex Code
8928 status collapsed
8929
8930 \begin_layout Plain Layout
8931 ExcludesModule
8932 \end_layout
8933
8934 \end_inset
8935
8936  [
8937 \begin_inset Flex Code
8938 status collapsed
8939
8940 \begin_layout Plain Layout
8941 <module>
8942 \end_layout
8943
8944 \end_inset
8945
8946 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8947  de archivo sin la extensión 
8948 \begin_inset Flex Code
8949 status collapsed
8950
8951 \begin_layout Plain Layout
8952 .module
8953 \end_layout
8954
8955 \end_inset
8956
8957 ) no puede utilizarse con esta clase de documento.
8958  Esto podría usarse en un archivo de formato específico de una publicación
8959  para, digamos, impedir el empleo del módulo 
8960 \begin_inset Flex Code
8961 status collapsed
8962
8963 \begin_layout Plain Layout
8964 theorems-sec
8965 \end_layout
8966
8967 \end_inset
8968
8969 , que numera los teoremas y demás por secciones.
8970  Esta etiqueta 
8971 \emph on
8972 no
8973 \emph default
8974  puede utilizarse en un módulo.
8975  Los módulos tienen su propia forma de excluir otros módulos (véase
8976 \begin_inset space ~
8977 \end_inset
8978
8979
8980 \begin_inset CommandInset ref
8981 LatexCommand ref
8982 reference "subsec:Módulos-de-formato"
8983
8984 \end_inset
8985
8986 ).
8987 \end_layout
8988
8989 \begin_layout Description
8990 \begin_inset Flex Code
8991 status collapsed
8992
8993 \begin_layout Plain Layout
8994 Float
8995 \end_layout
8996
8997 \end_inset
8998
8999  Define un nuevo flotante.
9000  Véase la sección
9001 \begin_inset space ~
9002 \end_inset
9003
9004
9005 \begin_inset CommandInset ref
9006 LatexCommand ref
9007 reference "subsec:Flotantes"
9008
9009 \end_inset
9010
9011  para detalles.
9012  Debe terminar con 
9013 \begin_inset Quotes cld
9014 \end_inset
9015
9016
9017 \begin_inset Flex Code
9018 status collapsed
9019
9020 \begin_layout Plain Layout
9021 End
9022 \end_layout
9023
9024 \end_inset
9025
9026
9027 \begin_inset Quotes crd
9028 \end_inset
9029
9030 .
9031 \end_layout
9032
9033 \begin_layout Description
9034 \begin_inset Flex Code
9035 status collapsed
9036
9037 \begin_layout Plain Layout
9038 HTMLPreamble
9039 \end_layout
9040
9041 \end_inset
9042
9043  Da información para el bloque 
9044 \begin_inset Flex Code
9045 status collapsed
9046
9047 \begin_layout Plain Layout
9048 <head>
9049 \end_layout
9050
9051 \end_inset
9052
9053  cuando esta clase de documento se exporte a XHTML.
9054  Advertir que esto sobrescribirá completamente cualquier declaración anterior
9055  de 
9056 \begin_inset Flex Code
9057 status collapsed
9058
9059 \begin_layout Plain Layout
9060 HTMLPreamble
9061 \end_layout
9062
9063 \end_inset
9064
9065  o 
9066 \begin_inset Flex Code
9067 status collapsed
9068
9069 \begin_layout Plain Layout
9070 AddToHTMLPreamble
9071 \end_layout
9072
9073 \end_inset
9074
9075 .
9076  (Usa 
9077 \begin_inset Flex Code
9078 status collapsed
9079
9080 \begin_layout Plain Layout
9081 AddToHTMLPreamble
9082 \end_layout
9083
9084 \end_inset
9085
9086  si solo quieres añadir material al preámbulo).
9087  Debe acabar con 
9088 \begin_inset Quotes eld
9089 \end_inset
9090
9091
9092 \begin_inset Flex Code
9093 status collapsed
9094
9095 \begin_layout Plain Layout
9096 EndPreamble
9097 \end_layout
9098
9099 \end_inset
9100
9101
9102 \begin_inset Quotes erd
9103 \end_inset
9104
9105 .
9106 \end_layout
9107
9108 \begin_layout Description
9109 \begin_inset Flex Code
9110 status collapsed
9111
9112 \begin_layout Plain Layout
9113 HTMLTOCSection
9114 \end_layout
9115
9116 \end_inset
9117
9118  [
9119 \begin_inset Flex Code
9120 status collapsed
9121
9122 \begin_layout Plain Layout
9123 <style>
9124 \end_layout
9125
9126 \end_inset
9127
9128 ] El estilo a usar para el índice general, bibliografía, etc., cuando el
9129  documento se exporte a HTML.
9130  Para article, normalmente será 
9131 \begin_inset Flex Code
9132 status collapsed
9133
9134 \begin_layout Plain Layout
9135 Section
9136 \end_layout
9137
9138 \end_inset
9139
9140 ; para book 
9141 \begin_inset Flex Code
9142 status collapsed
9143
9144 \begin_layout Plain Layout
9145 Chapter
9146 \end_layout
9147
9148 \end_inset
9149
9150 .
9151  Si no se especifica, \SpecialChar LyX
9152  intentará deducir qué formato usar.
9153 \end_layout
9154
9155 \begin_layout Description
9156 \begin_inset Flex Code
9157 status collapsed
9158
9159 \begin_layout Plain Layout
9160 IfCounter
9161 \end_layout
9162
9163 \end_inset
9164
9165  [
9166 \begin_inset Flex Code
9167 status collapsed
9168
9169 \begin_layout Plain Layout
9170 <counter>
9171 \end_layout
9172
9173 \end_inset
9174
9175 ] Modifica las propiedades del contador dado.
9176  Si el contador no existe, esta sección se ignora.
9177  Debe acabar con 
9178 \begin_inset Quotes eld
9179 \end_inset
9180
9181
9182 \begin_inset Flex Code
9183 status collapsed
9184
9185 \begin_layout Plain Layout
9186 End
9187 \end_layout
9188
9189 \end_inset
9190
9191
9192 \begin_inset Quotes erd
9193 \end_inset
9194
9195 .
9196 \begin_inset Newline newline
9197 \end_inset
9198
9199 Véase la sección
9200 \begin_inset space ~
9201 \end_inset
9202
9203
9204 \begin_inset CommandInset ref
9205 LatexCommand ref
9206 reference "subsec:Contadores"
9207
9208 \end_inset
9209
9210  para más detalles.
9211 \end_layout
9212
9213 \begin_layout Description
9214 \begin_inset Flex Code
9215 status collapsed
9216
9217 \begin_layout Plain Layout
9218 Input
9219 \end_layout
9220
9221 \end_inset
9222
9223  [
9224 \begin_inset Flex Code
9225 status collapsed
9226
9227 \begin_layout Plain Layout
9228 <filename>
9229 \end_layout
9230
9231 \end_inset
9232
9233 ] Permite incluir otro archivo de definición de formato en el tuyo con el
9234  fin de evitar la duplicación de comandos.
9235  Ejemplos habituales son los archivos de formatos estándar, como 
9236 \begin_inset Flex Code
9237 status collapsed
9238
9239 \begin_layout Plain Layout
9240 stdclass.inc
9241 \end_layout
9242
9243 \end_inset
9244
9245 , que contiene la mayoría de los diseños básicos.
9246 \end_layout
9247
9248 \begin_layout Description
9249 \begin_inset Flex Code
9250 status collapsed
9251
9252 \begin_layout Plain Layout
9253 InsetLayout
9254 \end_layout
9255
9256 \end_inset
9257
9258  [
9259 \begin_inset Flex Code
9260 status collapsed
9261
9262 \begin_layout Plain Layout
9263 <type>
9264 \end_layout
9265
9266 \end_inset
9267
9268 ] Esta sección (re)define el formato de un recuadro.
9269  Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
9270  p.
9271 \begin_inset space \thinspace{}
9272 \end_inset
9273
9274 e., un nuevo estilo de texto.
9275  Véase la sección
9276 \begin_inset space ~
9277 \end_inset
9278
9279
9280 \begin_inset CommandInset ref
9281 LatexCommand ref
9282 reference "subsec:estilo-del-texto"
9283
9284 \end_inset
9285
9286  para más información.
9287  Debe terminar con 
9288 \begin_inset Quotes cld
9289 \end_inset
9290
9291
9292 \begin_inset Flex Code
9293 status collapsed
9294
9295 \begin_layout Plain Layout
9296 End
9297 \end_layout
9298
9299 \end_inset
9300
9301
9302 \begin_inset Quotes crd
9303 \end_inset
9304
9305 .
9306 \end_layout
9307
9308 \begin_layout Description
9309 \begin_inset Flex Code
9310 status collapsed
9311
9312 \begin_layout Plain Layout
9313 LeftMargin
9314 \end_layout
9315
9316 \end_inset
9317
9318  [
9319 \begin_inset Flex Code
9320 status collapsed
9321
9322 \begin_layout Plain Layout
9323 string
9324 \end_layout
9325
9326 \end_inset
9327
9328 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9329  por ejemplo 
9330 \begin_inset Quotes cld
9331 \end_inset
9332
9333
9334 \begin_inset Flex Code
9335 status collapsed
9336
9337 \begin_layout Plain Layout
9338 MMMMM
9339 \end_layout
9340
9341 \end_inset
9342
9343
9344 \begin_inset Quotes crd
9345 \end_inset
9346
9347 .
9348  (Esto no es una `longitud', como 
9349 \begin_inset Quotes cld
9350 \end_inset
9351
9352 2ex
9353 \begin_inset Quotes crd
9354 \end_inset
9355
9356 .
9357 \end_layout
9358
9359 \begin_layout Description
9360
9361 \lang english
9362 \begin_inset Flex Code
9363 status collapsed
9364
9365 \begin_layout Plain Layout
9366
9367 \lang english
9368 MaxCiteNames
9369 \end_layout
9370
9371 \end_inset
9372
9373  [
9374 \begin_inset Flex Code
9375 status collapsed
9376
9377 \begin_layout Plain Layout
9378
9379 \lang english
9380 integer
9381 \end_layout
9382
9383 \end_inset
9384
9385 ] An integer that determines the maximal number of names displayed in an
9386  author-year citation before the citation switches to 
9387 \begin_inset Quotes eld
9388 \end_inset
9389
9390 FirstAuthor et al.
9391 \begin_inset Quotes erd
9392 \end_inset
9393
9394 .
9395  Primarily used in cite engine files (see 
9396 \begin_inset CommandInset ref
9397 LatexCommand ref
9398 reference "subsec:Cite-Engine-Files"
9399 plural "false"
9400 caps "false"
9401 noprefix "false"
9402
9403 \end_inset
9404
9405 ).
9406 \end_layout
9407
9408 \begin_layout Description
9409 \begin_inset Flex Code
9410 status collapsed
9411
9412 \begin_layout Plain Layout
9413 ModifyStyle
9414 \end_layout
9415
9416 \end_inset
9417
9418  [
9419 \begin_inset Flex Code
9420 status collapsed
9421
9422 \begin_layout Plain Layout
9423 <style>
9424 \end_layout
9425
9426 \end_inset
9427
9428 ] Modifica las propiedades del estilo de párrafo dado.
9429  Si el estilo no existe, esta sección se ignora.
9430  Debe acabar con 
9431 \begin_inset Quotes eld
9432 \end_inset
9433
9434
9435 \begin_inset Flex Code
9436 status collapsed
9437
9438 \begin_layout Plain Layout
9439 End
9440 \end_layout
9441
9442 \end_inset
9443
9444
9445 \begin_inset Quotes erd
9446 \end_inset
9447
9448 .
9449 \end_layout
9450
9451 \begin_layout Description
9452 \begin_inset Flex Code
9453 status collapsed
9454
9455 \begin_layout Plain Layout
9456 NoCounter
9457 \end_layout
9458
9459 \end_inset
9460
9461  [
9462 \begin_inset Flex Code
9463 status collapsed
9464
9465 \begin_layout Plain Layout
9466 <counter>
9467 \end_layout
9468
9469 \end_inset
9470
9471 ] Este comando elimina un contador existente, generalmente uno definido
9472  en un archivo incluido.
9473 \end_layout
9474
9475 \begin_layout Description
9476 \begin_inset Flex Code
9477 status collapsed
9478
9479 \begin_layout Plain Layout
9480 NoFloat
9481 \end_layout
9482
9483 \end_inset
9484
9485  [
9486 \begin_inset Flex Code
9487 status collapsed
9488
9489 \begin_layout Plain Layout
9490 <float>
9491 \end_layout
9492
9493 \end_inset
9494
9495 ] Este comando borra un flotante existente.
9496  Es particularmente útil si quieres suprimir un flotante que ha sido definido
9497  en un archivo de entrada.
9498 \end_layout
9499
9500 \begin_layout Description
9501 \begin_inset Flex Code
9502 status collapsed
9503
9504 \begin_layout Plain Layout
9505 NoStyle
9506 \end_layout
9507
9508 \end_inset
9509
9510  [
9511 \begin_inset Flex Code
9512 status collapsed
9513
9514 \begin_layout Plain Layout
9515 <style>
9516 \end_layout
9517
9518 \end_inset
9519
9520 ] Este comando borra un estilo existente.
9521 \end_layout
9522
9523 \begin_layout Description
9524 \begin_inset Flex Code
9525 status collapsed
9526
9527 \begin_layout Plain Layout
9528 OutputFormat
9529 \end_layout
9530
9531 \end_inset
9532
9533  [
9534 \begin_inset Flex Code
9535 status collapsed
9536
9537 \begin_layout Plain Layout
9538 <format>
9539 \end_layout
9540
9541 \end_inset
9542
9543 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9544 ) producido
9545  por esta clase.
9546  Principalmente, es útil cuando 
9547 \begin_inset Flex Code
9548 status collapsed
9549
9550 \begin_layout Plain Layout
9551 OutputType
9552 \end_layout
9553
9554 \end_inset
9555
9556  es 
9557 \begin_inset Flex Code
9558 status collapsed
9559
9560 \begin_layout Plain Layout
9561 literate
9562 \end_layout
9563
9564 \end_inset
9565
9566  y se quiere definir un nuevo tipo de documento `literate'.
9567  Esta cadena se redefine a 
9568 \begin_inset Quotes cld
9569 \end_inset
9570
9571
9572 \begin_inset Flex Code
9573 status collapsed
9574
9575 \begin_layout Plain Layout
9576 docbook
9577 \end_layout
9578
9579 \end_inset
9580
9581
9582 \begin_inset Quotes crd
9583 \end_inset
9584
9585  o 
9586 \begin_inset Quotes cld
9587 \end_inset
9588
9589
9590 \begin_inset Flex Code
9591 status collapsed
9592
9593 \begin_layout Plain Layout
9594 latex
9595 \end_layout
9596
9597 \end_inset
9598
9599
9600 \begin_inset Quotes crd
9601 \end_inset
9602
9603  si se encuentra el correspondiente parámetro 
9604 \begin_inset Flex Code
9605 status collapsed
9606
9607 \begin_layout Plain Layout
9608 OutputType
9609 \end_layout
9610
9611 \end_inset
9612
9613 .
9614 \end_layout
9615
9616 \begin_layout Description
9617 \begin_inset Flex Code
9618 status collapsed
9619
9620 \begin_layout Plain Layout
9621 OutputType
9622 \end_layout
9623
9624 \end_inset
9625
9626  [
9627 \begin_inset Flex Code
9628 status collapsed
9629
9630 \begin_layout Plain Layout
9631
9632 \emph on
9633 lat
9634 \emph default
9635 ex
9636 \end_layout
9637
9638 \end_inset
9639
9640
9641 \begin_inset Flex Code
9642 status collapsed
9643
9644 \begin_layout Plain Layout
9645 docbook
9646 \end_layout
9647
9648 \end_inset
9649
9650
9651 \begin_inset Flex Code
9652 status collapsed
9653
9654 \begin_layout Plain Layout
9655 literate
9656 \end_layout
9657
9658 \end_inset
9659
9660 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9661 \end_layout
9662
9663 \begin_layout Description
9664 \begin_inset Flex Code
9665 status collapsed
9666
9667 \begin_layout Plain Layout
9668 PackageOptions
9669 \end_layout
9670
9671 \end_inset
9672
9673  [
9674 \begin_inset Flex Code
9675 status collapsed
9676
9677 \begin_layout Plain Layout
9678 string
9679 \end_layout
9680
9681 \end_inset
9682
9683  
9684 \begin_inset Flex Code
9685 status collapsed
9686
9687 \begin_layout Plain Layout
9688 string
9689 \end_layout
9690
9691 \end_inset
9692
9693 ] Especifica opciones, dadas en el segundo 
9694 \family typewriter
9695 string
9696 \family default
9697 , para el paquete nombrado en el primer
9698 \family typewriter
9699  string
9700 \family default
9701 .
9702  Por ejemplo, 
9703 \begin_inset Quotes cld
9704 \end_inset
9705
9706
9707 \begin_inset Flex Code
9708 status collapsed
9709
9710 \begin_layout Plain Layout
9711 PackageOptions natbib square
9712 \end_layout
9713
9714 \end_inset
9715
9716
9717 \begin_inset Quotes crd
9718 \end_inset
9719
9720  hará que 
9721 \begin_inset Flex Code
9722 status collapsed
9723
9724 \begin_layout Plain Layout
9725 natbib
9726 \end_layout
9727
9728 \end_inset
9729
9730  se cargue con la opción 
9731 \begin_inset Flex Code
9732 status collapsed
9733
9734 \begin_layout Plain Layout
9735 square
9736 \end_layout
9737
9738 \end_inset
9739
9740 .
9741  (Para \SpecialChar TeX
9742 pertos, esto hace que \SpecialChar LyX
9743  interprete: 
9744 \begin_inset Flex Code
9745 status collapsed
9746
9747 \begin_layout Plain Layout
9748
9749 \backslash
9750 PassOptionsToPackage{natbib}{square}
9751 \end_layout
9752
9753 \end_inset
9754
9755  antes de cargar 
9756 \begin_inset Flex Code
9757 status collapsed
9758
9759 \begin_layout Plain Layout
9760 natbib
9761 \end_layout
9762
9763 \end_inset
9764
9765 ).
9766 \end_layout
9767
9768 \begin_layout Description
9769 \begin_inset Flex Code
9770 status collapsed
9771
9772 \begin_layout Plain Layout
9773 PageStyle
9774 \end_layout
9775
9776 \end_inset
9777
9778  [
9779 \begin_inset Flex Code
9780 status collapsed
9781
9782 \begin_layout Plain Layout
9783
9784 \emph on
9785 plain
9786 \end_layout
9787
9788 \end_inset
9789
9790
9791 \begin_inset Flex Code
9792 status collapsed
9793
9794 \begin_layout Plain Layout
9795 empty
9796 \end_layout
9797
9798 \end_inset
9799
9800
9801 \begin_inset Flex Code
9802 status collapsed
9803
9804 \begin_layout Plain Layout
9805 headings
9806 \end_layout
9807
9808 \end_inset
9809
9810 ]
9811 \series medium
9812  
9813 \series default
9814 El estilo de página predeterminado de la clase.
9815  Puede cambiarse en el diálogo 
9816 \begin_inset Flex Noun
9817 status collapsed
9818
9819 \begin_layout Plain Layout
9820 Documento\SpecialChar menuseparator
9821 Configuración
9822 \end_layout
9823
9824 \end_inset
9825
9826 .
9827 \end_layout
9828
9829 \begin_layout Description
9830 \begin_inset Flex Code
9831 status collapsed
9832
9833 \begin_layout Plain Layout
9834 Preamble
9835 \end_layout
9836
9837 \end_inset
9838
9839  Establece el preámbulo \SpecialChar LaTeX
9840  para el documento.
9841  Anotar que esto anulará completamente cualesquiera declaraciones 
9842 \begin_inset Flex Code
9843 status collapsed
9844
9845 \begin_layout Plain Layout
9846 Premable
9847 \end_layout
9848
9849 \end_inset
9850
9851  o 
9852 \begin_inset Flex Code
9853 status collapsed
9854
9855 \begin_layout Plain Layout
9856 AddToPreamble
9857 \end_layout
9858
9859 \end_inset
9860
9861  anteriores.
9862  (Usa 
9863 \begin_inset Flex Code
9864 status collapsed
9865
9866 \begin_layout Plain Layout
9867 AddToPreamble
9868 \end_layout
9869
9870 \end_inset
9871
9872  si solo quieres añadir material al preámbulo).
9873  Debe terminar con 
9874 \begin_inset Quotes cld
9875 \end_inset
9876
9877
9878 \begin_inset Flex Code
9879 status collapsed
9880
9881 \begin_layout Plain Layout
9882 EndPreamble
9883 \end_layout
9884
9885 \end_inset
9886
9887
9888 \begin_inset Quotes crd
9889 \end_inset
9890
9891 .
9892 \end_layout
9893
9894 \begin_layout Description
9895 \begin_inset Flex Code
9896 status collapsed
9897
9898 \begin_layout Plain Layout
9899 Provides
9900 \end_layout
9901
9902 \end_inset
9903
9904  [
9905 \begin_inset Flex Code
9906 status collapsed
9907
9908 \begin_layout Plain Layout
9909 string
9910 \end_layout
9911
9912 \end_inset
9913
9914 ] [
9915 \begin_inset Flex Code
9916 status collapsed
9917
9918 \begin_layout Plain Layout
9919
9920 \emph on
9921 0
9922 \end_layout
9923
9924 \end_inset
9925
9926
9927 \begin_inset Flex Code
9928 status collapsed
9929
9930 \begin_layout Plain Layout
9931 1
9932 \end_layout
9933
9934 \end_inset
9935
9936 ] Si la clase ya proporciona, o no, la característica 
9937 \begin_inset Flex Code
9938 status collapsed
9939
9940 \begin_layout Plain Layout
9941 string
9942 \end_layout
9943
9944 \end_inset
9945
9946 .
9947  Una característica es en general el nombre de un paquete (
9948 \begin_inset Flex Code
9949 status collapsed
9950
9951 \begin_layout Plain Layout
9952 amsmath
9953 \end_layout
9954
9955 \end_inset
9956
9957
9958 \begin_inset Flex Code
9959 status collapsed
9960
9961 \begin_layout Plain Layout
9962 makeidx
9963 \end_layout
9964
9965 \end_inset
9966
9967 , \SpecialChar ldots
9968 ) o una macro (
9969 \begin_inset Flex Code
9970 status collapsed
9971
9972 \begin_layout Plain Layout
9973 url
9974 \end_layout
9975
9976 \end_inset
9977
9978
9979 \begin_inset Flex Code
9980 status collapsed
9981
9982 \begin_layout Plain Layout
9983 boldsymbol
9984 \end_layout
9985
9986 \end_inset
9987
9988 ,\SpecialChar ldots
9989 ).
9990  Véase en el capítulo
9991 \begin_inset space ~
9992 \end_inset
9993
9994
9995 \begin_inset CommandInset ref
9996 LatexCommand ref
9997 reference "cap:Lista-de-funciones"
9998
9999 \end_inset
10000
10001  la lista de características.
10002 \end_layout
10003
10004 \begin_layout Description
10005 \begin_inset Flex Code
10006 status collapsed
10007
10008 \begin_layout Plain Layout
10009 ProvidesModule
10010 \end_layout
10011
10012 \end_inset
10013
10014  [
10015 \begin_inset Flex Code
10016 status collapsed
10017
10018 \begin_layout Plain Layout
10019 string
10020 \end_layout
10021
10022 \end_inset
10023
10024 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10025  que deberá especificarse con su nombre de archivo sin la extensión 
10026 \begin_inset Flex Code
10027 status collapsed
10028
10029 \begin_layout Plain Layout
10030 .module
10031 \end_layout
10032
10033 \end_inset
10034
10035 .
10036  Esto se usará típicamente si el formato incluye el módulo directamente,
10037  preferiblemente a usar la etiqueta 
10038 \begin_inset Flex Code
10039 status collapsed
10040
10041 \begin_layout Plain Layout
10042 DefaultModule
10043 \end_layout
10044
10045 \end_inset
10046
10047  para indicar que debería utilizarse.
10048  Podría ser empleado en un módulo que provea una implementación alternativa
10049  de la misma funcionalidad.
10050 \end_layout
10051
10052 \begin_layout Description
10053 \begin_inset Flex Code
10054 status collapsed
10055
10056 \begin_layout Plain Layout
10057 ProvideStyle
10058 \end_layout
10059
10060 \end_inset
10061
10062  [
10063 \begin_inset Flex Code
10064 status collapsed
10065
10066 \begin_layout Plain Layout
10067 <style>
10068 \end_layout
10069
10070 \end_inset
10071
10072 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10073  Si el estilo existe se ignora esta sección.
10074  Debe acabar con 
10075 \begin_inset Quotes eld
10076 \end_inset
10077
10078
10079 \begin_inset Flex Code
10080 status collapsed
10081
10082 \begin_layout Plain Layout
10083 End
10084 \end_layout
10085
10086 \end_inset
10087
10088
10089 \begin_inset Quotes erd
10090 \end_inset
10091
10092 .
10093 \end_layout
10094
10095 \begin_layout Description
10096 \begin_inset Flex Code
10097 status collapsed
10098
10099 \begin_layout Plain Layout
10100 Requires
10101 \end_layout
10102
10103 \end_inset
10104
10105  [
10106 \begin_inset Flex Code
10107 status collapsed
10108
10109 \begin_layout Plain Layout
10110 string
10111 \end_layout
10112
10113 \end_inset
10114
10115 ] Si la clase requiere la característica
10116 \begin_inset Flex Code
10117 status collapsed
10118
10119 \begin_layout Plain Layout
10120  string
10121 \end_layout
10122
10123 \end_inset
10124
10125 .
10126  Múltiples características deben separarse con comas.
10127  Multiple features must be separated by commas.
10128  Anotar que solo se pueden demandar características soportadas.
10129  (Véase la lista en el capítulo
10130 \begin_inset space ~
10131 \end_inset
10132
10133
10134 \begin_inset CommandInset ref
10135 LatexCommand ref
10136 reference "cap:Lista-de-funciones"
10137
10138 \end_inset
10139
10140 ).
10141  Si necesitas un paquete con opciones específicas puedes usar además 
10142 \begin_inset Flex Code
10143 status collapsed
10144
10145 \begin_layout Plain Layout
10146 PackageOptions
10147 \end_layout
10148
10149 \end_inset
10150
10151 .
10152 \end_layout
10153
10154 \begin_layout Description
10155 \begin_inset Flex Code
10156 status collapsed
10157
10158 \begin_layout Plain Layout
10159 RightMargin
10160 \end_layout
10161
10162 \end_inset
10163
10164  [
10165 \begin_inset Flex Code
10166 status collapsed
10167
10168 \begin_layout Plain Layout
10169 string
10170 \end_layout
10171
10172 \end_inset
10173
10174 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
10175  ejemplo, 
10176 \begin_inset Quotes cld
10177 \end_inset
10178
10179
10180 \begin_inset Flex Code
10181 status collapsed
10182
10183 \begin_layout Plain Layout
10184 MMMMM
10185 \end_layout
10186
10187 \end_inset
10188
10189
10190 \begin_inset Quotes crd
10191 \end_inset
10192
10193 .
10194 \end_layout
10195
10196 \begin_layout Description
10197 \begin_inset Flex Code
10198 status collapsed
10199
10200 \begin_layout Plain Layout
10201 SecNumDepth
10202 \end_layout
10203
10204 \end_inset
10205
10206  [
10207 \begin_inset Flex Code
10208 status collapsed
10209
10210 \begin_layout Plain Layout
10211 int=3
10212 \end_layout
10213
10214 \end_inset
10215
10216 ] Establece qué divisiones se numeran.
10217  Corresponde al contador \SpecialChar LaTeX
10218  
10219 \begin_inset Flex Code
10220 status collapsed
10221
10222 \begin_layout Plain Layout
10223 secnumdepth
10224 \end_layout
10225
10226 \end_inset
10227
10228 .
10229 \end_layout
10230
10231 \begin_layout Description
10232 \begin_inset Flex Code
10233 status collapsed
10234
10235 \begin_layout Plain Layout
10236 Sides
10237 \end_layout
10238
10239 \end_inset
10240
10241  [
10242 \emph on
10243
10244 \begin_inset Flex Code
10245 status collapsed
10246
10247 \begin_layout Plain Layout
10248 1
10249 \end_layout
10250
10251 \end_inset
10252
10253
10254 \emph default
10255 ,
10256 \begin_inset space \thinspace{}
10257 \end_inset
10258
10259
10260 \begin_inset Flex Code
10261 status collapsed
10262
10263 \begin_layout Plain Layout
10264 2
10265 \end_layout
10266
10267 \end_inset
10268
10269 ] Si debe imprimirse en una o en ambas caras del papel.
10270  Se puede cambiar en el diálogo 
10271 \begin_inset Flex Noun
10272 status collapsed
10273
10274 \begin_layout Plain Layout
10275 Documento\SpecialChar menuseparator
10276 Configuración
10277 \end_layout
10278
10279 \end_inset
10280
10281 .
10282 \end_layout
10283
10284 \begin_layout Description
10285 \begin_inset Flex Code
10286 status collapsed
10287
10288 \begin_layout Plain Layout
10289 Style
10290 \end_layout
10291
10292 \end_inset
10293
10294  [
10295 \begin_inset Flex Code
10296 status collapsed
10297
10298 \begin_layout Plain Layout
10299 <name>
10300 \end_layout
10301
10302 \end_inset
10303
10304 ] Esta secuencia define un nuevo estilo de párrafo.
10305  Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
10306  Véase la sección
10307 \begin_inset space ~
10308 \end_inset
10309
10310
10311 \begin_inset CommandInset ref
10312 LatexCommand ref
10313 reference "subsec:Estilos-de-párrafo"
10314
10315 \end_inset
10316
10317  para detalles.
10318  Debe terminarcon 
10319 \begin_inset Quotes cld
10320 \end_inset
10321
10322
10323 \begin_inset Flex Code
10324 status collapsed
10325
10326 \begin_layout Plain Layout
10327 End
10328 \end_layout
10329
10330 \end_inset
10331
10332
10333 \begin_inset Quotes crd
10334 \end_inset
10335
10336 .
10337 \end_layout
10338
10339 \begin_layout Description
10340 \begin_inset Flex Code
10341 status collapsed
10342
10343 \begin_layout Plain Layout
10344 TitleLatexName
10345 \end_layout
10346
10347 \end_inset
10348
10349  [
10350 \begin_inset Flex Code
10351 status collapsed
10352
10353 \begin_layout Plain Layout
10354 string="maketitle"
10355 \end_layout
10356
10357 \end_inset
10358
10359 ] El nombre del comando de entorno a usar con 
10360 \begin_inset Flex Code
10361 status collapsed
10362
10363 \begin_layout Plain Layout
10364 TitleLatexType
10365 \end_layout
10366
10367 \end_inset
10368
10369 .
10370 \end_layout
10371
10372 \begin_layout Description
10373 \begin_inset Flex Code
10374 status collapsed
10375
10376 \begin_layout Plain Layout
10377 TitleLatexType
10378 \end_layout
10379
10380 \end_inset
10381
10382  [
10383 \begin_inset Flex Code
10384 status collapsed
10385
10386 \begin_layout Plain Layout
10387
10388 \emph on
10389 CommandAfter
10390 \end_layout
10391
10392 \end_inset
10393
10394
10395 \begin_inset Flex Code
10396 status collapsed
10397
10398 \begin_layout Plain Layout
10399 Environment
10400 \end_layout
10401
10402 \end_inset
10403
10404 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10405  
10406 \begin_inset Flex Code
10407 status collapsed
10408
10409 \begin_layout Plain Layout
10410 CommandAfter
10411 \end_layout
10412
10413 \end_inset
10414
10415  significa que la macro con nombre 
10416 \begin_inset Flex Code
10417 status collapsed
10418
10419 \begin_layout Plain Layout
10420 TitleLatexName
10421 \end_layout
10422
10423 \end_inset
10424
10425  se insertará después del último formato que tiene 
10426 \begin_inset Quotes cld
10427 \end_inset
10428
10429
10430 \begin_inset Flex Code
10431 status collapsed
10432
10433 \begin_layout Plain Layout
10434 InTitle
10435 \begin_inset space ~
10436 \end_inset
10437
10438 1
10439 \end_layout
10440
10441 \end_inset
10442
10443
10444 \begin_inset Quotes crd
10445 \end_inset
10446
10447 .
10448  
10449 \begin_inset Flex Code
10450 status collapsed
10451
10452 \begin_layout Plain Layout
10453 Environment
10454 \end_layout
10455
10456 \end_inset
10457
10458  corresponde al caso en que todos los formatos que tienen 
10459 \begin_inset Quotes cld
10460 \end_inset
10461
10462
10463 \begin_inset Flex Code
10464 status collapsed
10465
10466 \begin_layout Plain Layout
10467 InTitle
10468 \begin_inset space ~
10469 \end_inset
10470
10471 1
10472 \end_layout
10473
10474 \end_inset
10475
10476
10477 \begin_inset Quotes crd
10478 \end_inset
10479
10480  debería ser incluido en el entorno 
10481 \begin_inset Flex Code
10482 status collapsed
10483
10484 \begin_layout Plain Layout
10485 TitleLatexName
10486 \end_layout
10487
10488 \end_inset
10489
10490 .
10491 \end_layout
10492
10493 \begin_layout Description
10494 \begin_inset Flex Code
10495 status collapsed
10496
10497 \begin_layout Plain Layout
10498 TocDepth
10499 \end_layout
10500
10501 \end_inset
10502
10503  [
10504 \begin_inset Flex Code
10505 status collapsed
10506
10507 \begin_layout Plain Layout
10508 int=3
10509 \end_layout
10510
10511 \end_inset
10512
10513 ] Establece qué divisiones se incluyen en el índice general.
10514  Corresponde al contador \SpecialChar LaTeX
10515  
10516 \begin_inset Flex Code
10517 status collapsed
10518
10519 \begin_layout Plain Layout
10520 tocdepth
10521 \end_layout
10522
10523 \end_inset
10524
10525 .
10526 \end_layout
10527
10528 \begin_layout Subsection
10529 Sección 
10530 \begin_inset Flex Code
10531 status collapsed
10532
10533 \begin_layout Plain Layout
10534 ClassOptions
10535 \end_layout
10536
10537 \end_inset
10538
10539
10540 \begin_inset CommandInset label
10541 LatexCommand label
10542 name "subsec:ClassOptions"
10543
10544 \end_inset
10545
10546
10547 \end_layout
10548
10549 \begin_layout Standard
10550 La sección 
10551 \begin_inset Flex Code
10552 status collapsed
10553
10554 \begin_layout Plain Layout
10555 ClassOptions
10556 \end_layout
10557
10558 \end_inset
10559
10560  puede contener las siguientes entradas:
10561 \end_layout
10562
10563 \begin_layout Description
10564 \begin_inset Flex Code
10565 status collapsed
10566
10567 \begin_layout Plain Layout
10568 FontSize
10569 \end_layout
10570
10571 \end_inset
10572
10573  [
10574 \begin_inset Flex Code
10575 status collapsed
10576
10577 \begin_layout Plain Layout
10578 string="10|11|12"
10579 \end_layout
10580
10581 \end_inset
10582
10583 ] La lista de los tamaños de carácter disponibles para la tipografía principal
10584  del documento, separados por 
10585 \begin_inset Quotes cld
10586 \end_inset
10587
10588
10589 \begin_inset Flex Code
10590 status collapsed
10591
10592 \begin_layout Plain Layout
10593 |
10594 \end_layout
10595
10596 \end_inset
10597
10598
10599 \begin_inset Quotes crd
10600 \end_inset
10601
10602 .
10603 \end_layout
10604
10605 \begin_layout Description
10606 \begin_inset Flex Code
10607 status collapsed
10608
10609 \begin_layout Plain Layout
10610 Header
10611 \end_layout
10612
10613 \end_inset
10614
10615  Para establecer la línea DTD con las clases con salida basada en XML.
10616  P.
10617 \begin_inset space \thinspace{}
10618 \end_inset
10619
10620 e.: PUBLIC 
10621 \begin_inset Quotes cld
10622 \end_inset
10623
10624 -//OASIS//DTD DocBook V4.2//EN
10625 \begin_inset Quotes crd
10626 \end_inset
10627
10628 .
10629 \end_layout
10630
10631 \begin_layout Description
10632 \begin_inset Flex Code
10633 status collapsed
10634
10635 \begin_layout Plain Layout
10636 Other
10637 \end_layout
10638
10639 \end_inset
10640
10641  [
10642 \begin_inset Flex Code
10643 status collapsed
10644
10645 \begin_layout Plain Layout
10646 string=""
10647 \end_layout
10648
10649 \end_inset
10650
10651 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10652  a la parte opcional del comando 
10653 \begin_inset Flex Code
10654 status collapsed
10655
10656 \begin_layout Plain Layout
10657
10658 \backslash
10659 documentclass
10660 \end_layout
10661
10662 \end_inset
10663
10664 .
10665 \end_layout
10666
10667 \begin_layout Description
10668 \begin_inset Flex Code
10669 status collapsed
10670
10671 \begin_layout Plain Layout
10672 PageStyle
10673 \end_layout
10674
10675 \end_inset
10676
10677  [
10678 \begin_inset Flex Code
10679 status collapsed
10680
10681 \begin_layout Plain Layout
10682 string="empty|plain|headings|fancy"
10683 \end_layout
10684
10685 \end_inset
10686
10687 ] Lista de los estilos de página disponibles, separados por 
10688 \begin_inset Quotes cld
10689 \end_inset
10690
10691
10692 \begin_inset Flex Code
10693 status collapsed
10694
10695 \begin_layout Plain Layout
10696 |
10697 \end_layout
10698
10699 \end_inset
10700
10701
10702 \begin_inset Quotes crd
10703 \end_inset
10704
10705 .
10706 \end_layout
10707
10708 \begin_layout Standard
10709 La sección 
10710 \begin_inset Flex Code
10711 status collapsed
10712
10713 \begin_layout Plain Layout
10714 ClassOptions
10715 \end_layout
10716
10717 \end_inset
10718
10719  debe terminar con 
10720 \begin_inset Quotes cld
10721 \end_inset
10722
10723
10724 \begin_inset Flex Code
10725 status collapsed
10726
10727 \begin_layout Plain Layout
10728 End
10729 \end_layout
10730
10731 \end_inset
10732
10733
10734 \begin_inset Quotes crd
10735 \end_inset
10736
10737 .
10738 \end_layout
10739
10740 \begin_layout Subsection
10741 Estilos de párrafo
10742 \begin_inset CommandInset label
10743 LatexCommand label
10744 name "subsec:Estilos-de-párrafo"
10745
10746 \end_inset
10747
10748
10749 \end_layout
10750
10751 \begin_layout Standard
10752 Una descripción de estilo de párrafo tiene una aspecto como éste:
10753 \begin_inset Foot
10754 status collapsed
10755
10756 \begin_layout Plain Layout
10757 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10758 \end_layout
10759
10760 \end_inset
10761
10762
10763 \end_layout
10764
10765 \begin_layout LyX-Code
10766 Style 
10767 \family roman
10768 \emph on
10769 name
10770 \end_layout
10771
10772 \begin_layout LyX-Code
10773  ...
10774 \end_layout
10775
10776 \begin_layout LyX-Code
10777 End
10778 \end_layout
10779
10780 \begin_layout Standard
10781 donde se permiten los comandos siguientes:
10782 \end_layout
10783
10784 \begin_layout Description
10785
10786 \lang english
10787 \begin_inset Flex Code
10788 status collapsed
10789
10790 \begin_layout Plain Layout
10791
10792 \lang english
10793 AddToToc
10794 \end_layout
10795
10796 \end_inset
10797
10798  [
10799 \begin_inset Flex Code
10800 status collapsed
10801
10802 \begin_layout Plain Layout
10803
10804 \lang english
10805 string
10806 \end_layout
10807
10808 \end_inset
10809
10810 =""] This paragraph will appear in the table of contents of the given type.
10811  An empty string disables.
10812  See also the OutlinerName and the IsTocCaption commands.
10813  Default: disabled.
10814 \end_layout
10815
10816 \begin_layout Description
10817 \begin_inset Flex Code
10818 status collapsed
10819
10820 \begin_layout Plain Layout
10821 Align
10822 \end_layout
10823
10824 \end_inset
10825
10826  [
10827 \begin_inset Flex Code
10828 status collapsed
10829
10830 \begin_layout Plain Layout
10831
10832 \emph on
10833 block
10834 \emph default
10835 , left, right, center
10836 \end_layout
10837
10838 \end_inset
10839
10840 ] Alineación del párrafo.
10841 \end_layout
10842
10843 \begin_layout Description
10844 \begin_inset Flex Code
10845 status collapsed
10846
10847 \begin_layout Plain Layout
10848 AlignPossible
10849 \end_layout
10850
10851 \end_inset
10852
10853  [
10854 \begin_inset Flex Code
10855 status collapsed
10856
10857 \begin_layout Plain Layout
10858
10859 \emph on
10860 block
10861 \emph default
10862 , left, right, center
10863 \end_layout
10864
10865 \end_inset
10866
10867 ] Una lista separada con comas de alineaciones permitidas.
10868  (Algunos estilos de \SpecialChar LaTeX
10869  prohiben ciertos alineamientos, ya que no tendrían
10870  sentido.
10871  Por ejemplo una alineación a la derecha o al centro de una lista numerada
10872  no es posible).
10873 \end_layout
10874
10875 \begin_layout Description
10876 \begin_inset Flex Code
10877 status collapsed
10878
10879 \begin_layout Plain Layout
10880 Argument
10881 \end_layout
10882
10883 \end_inset
10884
10885  [
10886 \begin_inset Flex Code
10887 status collapsed
10888
10889 \begin_layout Plain Layout
10890 int
10891 \end_layout
10892
10893 \end_inset
10894
10895 ] Define el número de argumento de un comando o entorno asociado al estilo
10896  actual.
10897  Es útil para cosas como encabezados de sección y solo tiene sentido con
10898  \SpecialChar LaTeX
10899 .
10900  Cada argumento (opcional o requerido) de un comando o entorno —excepto
10901  para el argumento requerido que se asocia con el contenido del propio párrafo—
10902  tiene una definición separada, en la que el número especifica el orden
10903  de los argumentos.
10904  La definición debe finalizar con 
10905 \begin_inset Flex Code
10906 status collapsed
10907
10908 \begin_layout Plain Layout
10909 EndArgument
10910 \end_layout
10911
10912 \end_inset
10913
10914 .
10915  Así, un comando con dos argumentos opcionales tiene:
10916 \end_layout
10917
10918 \begin_deeper
10919 \begin_layout Quote
10920
10921 \family typewriter
10922 Argument 1
10923 \end_layout
10924
10925 \begin_layout Quote
10926
10927 \family typewriter
10928 ...
10929 \end_layout
10930
10931 \begin_layout Quote
10932
10933 \family typewriter
10934 EndArgument
10935 \end_layout
10936
10937 \begin_layout Quote
10938
10939 \family typewriter
10940 Argument 2
10941 \end_layout
10942
10943 \begin_layout Quote
10944
10945 \family typewriter
10946 ...
10947 \end_layout
10948
10949 \begin_layout Quote
10950
10951 \family typewriter
10952 EndArgument
10953 \end_layout
10954
10955 \begin_layout Standard
10956 En la definición de 
10957 \begin_inset Flex Code
10958 status collapsed
10959
10960 \begin_layout Plain Layout
10961 Argument
10962 \end_layout
10963
10964 \end_inset
10965
10966  son posibles las siguientes especificaciones:
10967 \end_layout
10968
10969 \begin_layout Itemize
10970 \begin_inset Flex Code
10971 status collapsed
10972
10973 \begin_layout Plain Layout
10974 LabelString
10975 \end_layout
10976
10977 \end_inset
10978
10979  
10980 \begin_inset Flex Code
10981 status collapsed
10982
10983 \begin_layout Plain Layout
10984 [string]
10985 \end_layout
10986
10987 \end_inset
10988
10989  Secuencia que aparecerá tanto en el menú (a insertar este argumento) como
10990  en el botón de inserción del argumento (a menos que especifiques también
10991  un 
10992 \begin_inset Flex Code
10993 status collapsed
10994
10995 \begin_layout Plain Layout
10996 MenuString
10997 \end_layout
10998
10999 \end_inset
11000
11001  separado).
11002  Para el menú puedes definir un acelerador agregando el carácter respectivo
11003  a la secuencia, separado con 
11004 \begin_inset Quotes cld
11005 \end_inset
11006
11007 |
11008 \begin_inset Quotes crd
11009 \end_inset
11010
11011  (p.
11012 \begin_inset space \thinspace{}
11013 \end_inset
11014
11015 e.
11016 \begin_inset space \space{}
11017 \end_inset
11018
11019
11020 \begin_inset Quotes cld
11021 \end_inset
11022
11023
11024 \begin_inset Flex Code
11025 status collapsed
11026
11027 \begin_layout Plain Layout
11028 Short Title|S
11029 \end_layout
11030
11031 \end_inset
11032
11033
11034 \begin_inset Quotes crd
11035 \end_inset
11036
11037 ).
11038 \end_layout
11039
11040 \begin_layout Itemize
11041 \begin_inset Flex Code
11042 status collapsed
11043
11044 \begin_layout Plain Layout
11045 MenuString
11046 \end_layout
11047
11048 \end_inset
11049
11050  
11051 \begin_inset Flex Code
11052 status collapsed
11053
11054 \begin_layout Plain Layout
11055 [string]
11056 \end_layout
11057
11058 \end_inset
11059
11060  Secuencia separada para el menú Puedes definir un acelerador agregando
11061  el carácter respectivo a la secuencia, separado con 
11062 \begin_inset Quotes cld
11063 \end_inset
11064
11065 |
11066 \begin_inset Quotes crd
11067 \end_inset
11068
11069  (p.
11070 \begin_inset space \thinspace{}
11071 \end_inset
11072
11073 e.
11074 \begin_inset space \space{}
11075 \end_inset
11076
11077
11078 \begin_inset Quotes cld
11079 \end_inset
11080
11081
11082 \begin_inset Flex Code
11083 status collapsed
11084
11085 \begin_layout Plain Layout
11086 Short Title|S
11087 \end_layout
11088
11089 \end_inset
11090
11091
11092 \begin_inset Quotes crd
11093 \end_inset
11094
11095 ).
11096  Esta especificación es opcional.
11097  Si no se da se usará 
11098 \begin_inset Flex Code
11099 status collapsed
11100
11101 \begin_layout Plain Layout
11102 LabelString
11103 \end_layout
11104
11105 \end_inset
11106
11107  para el menú.
11108 \end_layout
11109
11110 \begin_layout Itemize
11111 \begin_inset Flex Code
11112 status collapsed
11113
11114 \begin_layout Plain Layout
11115 Tooltip
11116 \end_layout
11117
11118 \end_inset
11119
11120  
11121 \begin_inset Flex Code
11122 status collapsed
11123
11124 \begin_layout Plain Layout
11125 [string]
11126 \end_layout
11127
11128 \end_inset
11129
11130  Texto explicativo que se muestra en un recuadro sugerencia al planear sobre
11131  el recuadro del argumento.
11132 \end_layout
11133
11134 \begin_layout Itemize
11135 \begin_inset Flex Code
11136 status collapsed
11137
11138 \begin_layout Plain Layout
11139 Mandatory
11140 \end_layout
11141
11142 \end_inset
11143
11144  [
11145 \begin_inset Flex Code
11146 status collapsed
11147
11148 \begin_layout Plain Layout
11149
11150 \emph on
11151 0
11152 \end_layout
11153
11154 \end_inset
11155
11156 ,
11157 \begin_inset space \thinspace{}
11158 \end_inset
11159
11160
11161 \begin_inset Flex Code
11162 status collapsed
11163
11164 \begin_layout Plain Layout
11165 1
11166 \end_layout
11167
11168 \end_inset
11169
11170 ] Declara si es argumento obligatorio (1) u opcional (0).
11171  Los argumentos obligatorios se emitirán vacíos si no se dan, mientras que
11172  los opcionales no serán emitidos.
11173  Por omisión, los argumentos obligatorios se delimitan con 
11174 \begin_inset Flex Code
11175 status collapsed
11176
11177 \begin_layout Plain Layout
11178 {...}
11179 \end_layout
11180
11181 \end_inset
11182
11183  y los opcionales con 
11184 \begin_inset Flex Code
11185 status collapsed
11186
11187 \begin_layout Plain Layout
11188 [...]
11189 \end_layout
11190
11191 \end_inset
11192
11193
11194 \end_layout
11195
11196 \begin_layout Itemize
11197 \begin_inset Flex Code
11198 status collapsed
11199
11200 \begin_layout Plain Layout
11201 Requires
11202 \end_layout
11203
11204 \end_inset
11205
11206  
11207 \begin_inset Flex Code
11208 status collapsed
11209
11210 \begin_layout Plain Layout
11211 [int=0]
11212 \end_layout
11213
11214 \end_inset
11215
11216  define otro argumento (por su número) que este argumento requiere para
11217  emitirse si él mismo es emitido.
11218  P.
11219 \begin_inset space \thinspace{}
11220 \end_inset
11221
11222 e., en comandos \SpecialChar LaTeX
11223 , los argumentos opcionales requieren a menudo argumentos
11224  opcionales previos para ser emitidos (al menos vacíos), como en 
11225 \begin_inset Flex Code
11226 status collapsed
11227
11228 \begin_layout Plain Layout
11229
11230 \backslash
11231 command[][argument]{text}
11232 \end_layout
11233
11234 \end_inset
11235
11236 .
11237  Esto se puede conseguir con la declaración 
11238 \begin_inset Flex Code
11239 status collapsed
11240
11241 \begin_layout Plain Layout
11242 Requires 1
11243 \end_layout
11244
11245 \end_inset
11246
11247  dentro de 
11248 \begin_inset Flex Code
11249 status collapsed
11250
11251 \begin_layout Plain Layout
11252 Argument 2
11253 \end_layout
11254
11255 \end_inset
11256
11257 .
11258 \end_layout
11259
11260 \begin_layout Itemize
11261 \begin_inset Flex Code
11262 status collapsed
11263
11264 \begin_layout Plain Layout
11265 LeftDelim
11266 \end_layout
11267
11268 \end_inset
11269
11270  
11271 \begin_inset Flex Code
11272 status collapsed
11273
11274 \begin_layout Plain Layout
11275 [string]
11276 \end_layout
11277
11278 \end_inset
11279
11280  define un delimitador izquierdo personalizado (en vez de 
11281 \begin_inset Flex Code
11282 status collapsed
11283
11284 \begin_layout Plain Layout
11285 {
11286 \end_layout
11287
11288 \end_inset
11289
11290  o 
11291 \begin_inset Flex Code
11292 status collapsed
11293
11294 \begin_layout Plain Layout
11295 [
11296 \end_layout
11297
11298 \end_inset
11299
11300 ).
11301  Un salto de línea en la salida se puede indicar con 
11302 \begin_inset Flex Code
11303 status collapsed
11304
11305 \begin_layout Plain Layout
11306 <br/>
11307 \end_layout
11308
11309 \end_inset
11310
11311 .
11312 \end_layout
11313
11314 \begin_layout Itemize
11315 \begin_inset Flex Code
11316 status collapsed
11317
11318 \begin_layout Plain Layout
11319 RightDelim
11320 \end_layout
11321
11322 \end_inset
11323
11324  
11325 \begin_inset Flex Code
11326 status collapsed
11327
11328 \begin_layout Plain Layout
11329 [string]
11330 \end_layout
11331
11332 \end_inset
11333
11334  define un delimitador derecho personalizado (en vez de 
11335 \begin_inset Flex Code
11336 status collapsed
11337
11338 \begin_layout Plain Layout
11339 }
11340 \end_layout
11341
11342 \end_inset
11343
11344  o 
11345 \begin_inset Flex Code
11346 status collapsed
11347
11348 \begin_layout Plain Layout
11349 ]
11350 \end_layout
11351
11352 \end_inset
11353
11354 ).
11355  Un salto de línea en la salida se puede indicar con 
11356 \begin_inset Flex Code
11357 status collapsed
11358
11359 \begin_layout Plain Layout
11360 <br/>
11361 \end_layout
11362
11363 \end_inset
11364
11365 .
11366 \end_layout
11367
11368 \begin_layout Itemize
11369 \begin_inset Flex Code
11370 status collapsed
11371
11372 \begin_layout Plain Layout
11373 DefaultArg
11374 \end_layout
11375
11376 \end_inset
11377
11378  
11379 \begin_inset Flex Code
11380 status collapsed
11381
11382 \begin_layout Plain Layout
11383 [string]
11384 \end_layout
11385
11386 \end_inset
11387
11388  define un argumento que se inserta si y solo si no se han dado argumentos
11389  específicos del usuario, o sea, si no se ha insertado ningún recuadro de
11390  argumento (también un recuadro de argumento vacío omite DefaultArg).
11391  Múltiples argumentos deben separarse con comas.
11392 \end_layout
11393
11394 \begin_layout Itemize
11395 \begin_inset Flex Code
11396 status collapsed
11397
11398 \begin_layout Plain Layout
11399 PresetArg
11400 \end_layout
11401
11402 \end_inset
11403
11404  
11405 \begin_inset Flex Code
11406 status collapsed
11407
11408 \begin_layout Plain Layout
11409 [string]
11410 \end_layout
11411
11412 \end_inset
11413
11414  define un argumento que se inserta en cualquier caso (solo o añadido a
11415  argumentos especificados por el usuario).
11416  Múltiples argumentos deben separarse con comas.
11417 \end_layout
11418
11419 \begin_layout Itemize
11420 \begin_inset Flex Code
11421 status collapsed
11422
11423 \begin_layout Plain Layout
11424 Font
11425 \end_layout
11426
11427 \end_inset
11428
11429  Tipografía usada para el contenido del argumento, véase 
11430 \begin_inset CommandInset ref
11431 LatexCommand ref
11432 reference "subsec:Tipografía"
11433
11434 \end_inset
11435
11436 .
11437 \end_layout
11438
11439 \begin_layout Itemize
11440 \begin_inset Flex Code
11441 status collapsed
11442
11443 \begin_layout Plain Layout
11444 LabelFont
11445 \end_layout
11446
11447 \end_inset
11448
11449  Tipografía usada para la etiqueta, véase 
11450 \begin_inset CommandInset ref
11451 LatexCommand ref
11452 reference "subsec:Tipografía"
11453
11454 \end_inset
11455
11456 .
11457 \end_layout
11458
11459 \begin_layout Itemize
11460 \begin_inset Flex Code
11461 status collapsed
11462
11463 \begin_layout Plain Layout
11464 Decoration
11465 \end_layout
11466
11467 \end_inset
11468
11469  [
11470 \begin_inset Flex Code
11471 status collapsed
11472
11473 \begin_layout Plain Layout
11474
11475 \emph on
11476 Classic
11477 \emph default
11478 , Minimalistic, Conglomerate
11479 \end_layout
11480
11481 \end_inset
11482
11483 ] describe el estilo de representación para los botones y el marco del recuadro
11484  de inserción.
11485 \end_layout
11486
11487 \begin_layout Itemize
11488 \begin_inset Flex Code
11489 status collapsed
11490
11491 \begin_layout Plain Layout
11492 AutoInsert
11493 \end_layout
11494
11495 \end_inset
11496
11497  
11498 \begin_inset Flex Code
11499 status collapsed
11500
11501 \begin_layout Plain Layout
11502 [int=0]
11503 \end_layout
11504
11505 \end_inset
11506
11507  Si se pone 
11508 \begin_inset Flex Code
11509 status collapsed
11510
11511 \begin_layout Plain Layout
11512 1
11513 \end_layout
11514
11515 \end_inset
11516
11517 , este argumento se inserta automáticamente cuando se selecciona el estilo
11518  respectivo.
11519  Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11520 forma
11521 to.
11522 \end_layout
11523
11524 \begin_layout Itemize
11525 \begin_inset Flex Code
11526 status collapsed
11527
11528 \begin_layout Plain Layout
11529 InsertCotext
11530 \end_layout
11531
11532 \end_inset
11533
11534  
11535 \begin_inset Flex Code
11536 status collapsed
11537
11538 \begin_layout Plain Layout
11539 [int=0]
11540 \end_layout
11541
11542 \end_inset
11543
11544  Si se pone 
11545 \begin_inset Flex Code
11546 status collapsed
11547
11548 \begin_layout Plain Layout
11549 1
11550 \end_layout
11551
11552 \end_inset
11553
11554 , este argumento se insertará con una copia del co-texto (texto seleccionado
11555  o párrafo completo) como contenido.
11556 \end_layout
11557
11558 \begin_layout Itemize
11559
11560 \lang english
11561 \begin_inset Flex Code
11562 status collapsed
11563
11564 \begin_layout Plain Layout
11565
11566 \lang english
11567 PassThru
11568 \end_layout
11569
11570 \end_inset
11571
11572  [
11573 \begin_inset Flex Code
11574 status collapsed
11575
11576 \begin_layout Plain Layout
11577
11578 \emph on
11579 \lang english
11580 inherited
11581 \emph default
11582 , true, false
11583 \end_layout
11584
11585 \end_inset
11586
11587 ] Whether the contents of this argument should be output in raw form, meaning
11588  without special translations that \SpecialChar LaTeX
11589  would require.
11590  By default, the 
11591 \begin_inset Flex Code
11592 status collapsed
11593
11594 \begin_layout Plain Layout
11595
11596 \lang english
11597 PassThru
11598 \end_layout
11599
11600 \end_inset
11601
11602  status is inherited by the inset or paragraph layout the argument belongs
11603  to, true and false change the status for the given argument only.
11604 \end_layout
11605
11606 \begin_layout Itemize
11607 \begin_inset Flex Code
11608 status collapsed
11609
11610 \begin_layout Plain Layout
11611 PassThruChars
11612 \end_layout
11613
11614 \end_inset
11615
11616  [
11617 \begin_inset Flex Code
11618 status collapsed
11619
11620 \begin_layout Plain Layout
11621 string of characters
11622 \end_layout
11623
11624 \end_inset
11625
11626 ]
11627 \family typewriter
11628  
11629 \family default
11630 Define caracteres individuales que deberían emitirse en bruto, es decir,
11631  sin traducciones especiales que podría requerir \SpecialChar LaTeX
11632 .
11633  Al contrario que PassThru, esto debe ser explícitamente definido para argumento
11634 s.
11635  Esto es, los argumentos no heredan PassThruChars de su recuadro de inserción
11636  o formato padre.
11637 \end_layout
11638
11639 \begin_layout Itemize
11640
11641 \lang english
11642 \begin_inset Flex Code
11643 status collapsed
11644
11645 \begin_layout Plain Layout
11646
11647 \lang english
11648 IsTocCaption
11649 \end_layout
11650
11651 \end_inset
11652
11653  [
11654 \begin_inset Flex Code
11655 status collapsed
11656
11657 \begin_layout Plain Layout
11658
11659 \emph on
11660 \lang english
11661 0
11662 \end_layout
11663
11664 \end_inset
11665
11666 ,
11667 \begin_inset space \thinspace{}
11668 \end_inset
11669
11670
11671 \begin_inset Flex Code
11672 status collapsed
11673
11674 \begin_layout Plain Layout
11675
11676 \lang english
11677 1
11678 \end_layout
11679
11680 \end_inset
11681
11682 ] If this is set to 1, the argument will output its content in the corresponding
11683  item in the table of contents.
11684  See AddToToc.
11685 \end_layout
11686
11687 \begin_layout Standard
11688 Por omisión, el texto introducido en el área de trabajo de \SpecialChar LyX
11689  en el archivo
11690  respectivo de formato es el último argumento (obligatorio) de un comando
11691  si 
11692 \begin_inset Flex Code
11693 status collapsed
11694
11695 \begin_layout Plain Layout
11696 LatexType
11697 \end_layout
11698
11699 \end_inset
11700
11701  es 
11702 \begin_inset Flex Code
11703 status collapsed
11704
11705 \begin_layout Plain Layout
11706 Command
11707 \end_layout
11708
11709 \end_inset
11710
11711 .
11712  Sin embargo, los argumentos con el prefijo 
11713 \begin_inset Flex Code
11714 status collapsed
11715
11716 \begin_layout Plain Layout
11717 post:
11718 \end_layout
11719
11720 \end_inset
11721
11722  se emiten después de este argumento de área de trabajo.
11723  La numeración de este post-argumento reinicia a 1, así que el primer argumento
11724  siguiente al del área de trabajo es 
11725 \begin_inset Flex Code
11726 status collapsed
11727
11728 \begin_layout Plain Layout
11729 post:1
11730 \end_layout
11731
11732 \end_inset
11733
11734 .
11735  Los post-argumentos se ignoran en cualquier otro 
11736 \begin_inset Flex Code
11737 status collapsed
11738
11739 \begin_layout Plain Layout
11740 LatexType
11741 \end_layout
11742
11743 \end_inset
11744
11745  distinto de 
11746 \begin_inset Flex Code
11747 status collapsed
11748
11749 \begin_layout Plain Layout
11750 Command
11751 \end_layout
11752
11753 \end_inset
11754
11755 .
11756 \end_layout
11757
11758 \begin_layout Standard
11759 Los argumentos para 
11760 \begin_inset Flex Code
11761 status collapsed
11762
11763 \begin_layout Plain Layout
11764
11765 \backslash
11766 item
11767 \end_layout
11768
11769 \end_inset
11770
11771 s de lista (como en 
11772 \begin_inset Flex Code
11773 status collapsed
11774
11775 \begin_layout Plain Layout
11776
11777 \backslash
11778 item[foo]
11779 \end_layout
11780
11781 \end_inset
11782
11783 ) tienen el prefijo 
11784 \begin_inset Flex Code
11785 status collapsed
11786
11787 \begin_layout Plain Layout
11788 item:
11789 \end_layout
11790
11791 \end_inset
11792
11793  seguido por el número (p.
11794 \begin_inset space \thinspace{}
11795 \end_inset
11796
11797 e.
11798 \begin_inset space \space{}
11799 \end_inset
11800
11801
11802 \begin_inset Flex Code
11803 status collapsed
11804
11805 \begin_layout Plain Layout
11806 Argument item:1
11807 \end_layout
11808
11809 \end_inset
11810
11811 )
11812 \end_layout
11813
11814 \end_deeper
11815 \begin_layout Description
11816 \begin_inset Flex Code
11817 status collapsed
11818
11819 \begin_layout Plain Layout
11820 BabelPreamble
11821 \end_layout
11822
11823 \end_inset
11824
11825  Esto sobrescribirá completamente cualquier anterior declaración 
11826 \begin_inset Flex Code
11827 status collapsed
11828
11829 \begin_layout Plain Layout
11830 BabelPreamble
11831 \end_layout
11832
11833 \end_inset
11834
11835  para este estilo.
11836  Debe terminar con 
11837 \begin_inset Quotes eld
11838 \end_inset
11839
11840
11841 \begin_inset Flex Code
11842 status collapsed
11843
11844 \begin_layout Plain Layout
11845 EndBabelPreamble
11846 \end_layout
11847
11848 \end_inset
11849
11850
11851 \begin_inset Quotes erd
11852 \end_inset
11853
11854 .
11855  Véase la sección
11856 \begin_inset space ~
11857 \end_inset
11858
11859
11860 \begin_inset CommandInset ref
11861 LatexCommand ref
11862 reference "subsec:I18n"
11863
11864 \end_inset
11865
11866  para detalles sobre su uso.
11867 \end_layout
11868
11869 \begin_layout Description
11870 \begin_inset Flex Code
11871 status collapsed
11872
11873 \begin_layout Plain Layout
11874 BottomSep
11875 \end_layout
11876
11877 \end_inset
11878
11879  [
11880 \begin_inset Flex Code
11881 status collapsed
11882
11883 \begin_layout Plain Layout
11884 float=0
11885 \end_layout
11886
11887 \end_inset
11888
11889 ]
11890 \begin_inset Foot
11891 status collapsed
11892
11893 \begin_layout Plain Layout
11894 Anotar que aquí un 'float' es un número real, como: 1.5.
11895 \end_layout
11896
11897 \end_inset
11898
11899  El espacio vertical con el que el último de una cadena de párrafos con
11900  este estilo se separa del siguiente párrafo.
11901  Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11902  añadidas sino que se pone la máxima.
11903 \end_layout
11904
11905 \begin_layout Description
11906 \begin_inset Flex Code
11907 status collapsed
11908
11909 \begin_layout Plain Layout
11910 Category
11911 \end_layout
11912
11913 \end_inset
11914
11915  
11916 \begin_inset Flex Code
11917 status collapsed
11918
11919 \begin_layout Plain Layout
11920 [string]
11921 \end_layout
11922
11923 \end_inset
11924
11925  La categoría para este estilo.
11926  Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11927  barra de herramientas.
11928  Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11929  existentes con tus propios estilos.
11930 \end_layout
11931
11932 \begin_layout Description
11933 \begin_inset Flex Code
11934 status collapsed
11935
11936 \begin_layout Plain Layout
11937 CommandDepth
11938 \end_layout
11939
11940 \end_inset
11941
11942  Profundidad del comando XML.
11943  Usado solo con formatos tipo XML.
11944 \end_layout
11945
11946 \begin_layout Description
11947 \begin_inset Flex Code
11948 status collapsed
11949
11950 \begin_layout Plain Layout
11951 CopyStyle
11952 \end_layout
11953
11954 \end_inset
11955
11956  
11957 \begin_inset Flex Code
11958 status collapsed
11959
11960 \begin_layout Plain Layout
11961 [string]
11962 \end_layout
11963
11964 \end_inset
11965
11966  Copia todas las características de un estilo existente en el actual.
11967  
11968 \end_layout
11969
11970 \begin_layout Description
11971 \begin_inset Flex Code
11972 status collapsed
11973
11974 \begin_layout Plain Layout
11975 DependsOn
11976 \end_layout
11977
11978 \end_inset
11979
11980  [
11981 \begin_inset Flex Code
11982 status collapsed
11983
11984 \begin_layout Plain Layout
11985 <name>
11986 \end_layout
11987
11988 \end_inset
11989
11990 ] El nombre de un estilo cuyo preámbulo debería salir 
11991 \emph on
11992 antes
11993 \emph default
11994  que éste.
11995  Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11996  de macros dependen de otra.
11997 \begin_inset Foot
11998 status collapsed
11999
12000 \begin_layout Plain Layout
12001 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
12002  orden de los preámbulos.
12003  El orden que se ve en una versión dada de \SpecialChar LyX
12004  puede cambiar sin previo aviso
12005  en versiones posteriores.
12006 \end_layout
12007
12008 \end_inset
12009
12010
12011 \end_layout
12012
12013 \begin_layout Description
12014 \begin_inset Flex Code
12015 status collapsed
12016
12017 \begin_layout Plain Layout
12018 EndLabeltype
12019 \end_layout
12020
12021 \end_inset
12022
12023  [
12024 \begin_inset Flex Code
12025 status collapsed
12026
12027 \begin_layout Plain Layout
12028
12029 \emph on
12030 No_Label
12031 \emph default
12032 , Box, Filled_Box, Static
12033 \end_layout
12034
12035 \end_inset
12036
12037 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
12038  si 
12039 \begin_inset Flex Code
12040 status collapsed
12041
12042 \begin_layout Plain Layout
12043 LatexType
12044 \end_layout
12045
12046 \end_inset
12047
12048  es 
12049 \begin_inset Flex Code
12050 status collapsed
12051
12052 \begin_layout Plain Layout
12053 Environment
12054 \end_layout
12055
12056 \end_inset
12057
12058
12059 \begin_inset Flex Code
12060 status collapsed
12061
12062 \begin_layout Plain Layout
12063 Item_Environment
12064 \end_layout
12065
12066 \end_inset
12067
12068  o 
12069 \begin_inset Flex Code
12070 status collapsed
12071
12072 \begin_layout Plain Layout
12073 List_Environment
12074 \end_layout
12075
12076 \end_inset
12077
12078 ).
12079  
12080 \begin_inset Flex Code
12081 status collapsed
12082
12083 \begin_layout Plain Layout
12084 No_Label
12085 \end_layout
12086
12087 \end_inset
12088
12089  quiere decir 
12090 \begin_inset Quotes cld
12091 \end_inset
12092
12093 nada
12094 \begin_inset Quotes crd
12095 \end_inset
12096
12097
12098 \begin_inset Flex Code
12099 status collapsed
12100
12101 \begin_layout Plain Layout
12102 Box
12103 \end_layout
12104
12105 \end_inset
12106
12107  (resp.
12108 \begin_inset Flex Code
12109 status collapsed
12110
12111 \begin_layout Plain Layout
12112 \begin_inset space ~
12113 \end_inset
12114
12115 Filled_Box
12116 \end_layout
12117
12118 \end_inset
12119
12120 ) es un cuadrado blanco (resp.
12121 \begin_inset space ~
12122 \end_inset
12123
12124 negro) adecuado para marcas finales de demostraciones, 
12125 \begin_inset Flex Code
12126 status collapsed
12127
12128 \begin_layout Plain Layout
12129 Static
12130 \end_layout
12131
12132 \end_inset
12133
12134  es una cadena de texto explícito.
12135 \end_layout
12136
12137 \begin_layout Description
12138 \begin_inset Flex Code
12139 status collapsed
12140
12141 \begin_layout Plain Layout
12142 EndLabelString
12143 \end_layout
12144
12145 \end_inset
12146
12147  [
12148 \begin_inset Flex Code
12149 status collapsed
12150
12151 \begin_layout Plain Layout
12152 string=""
12153 \end_layout
12154
12155 \end_inset
12156
12157 ] La secuencia usada para una etiqueta con un 
12158 \begin_inset Flex Code
12159 status collapsed
12160
12161 \begin_layout Plain Layout
12162 Static
12163 \end_layout
12164
12165 \end_inset
12166
12167  
12168 \begin_inset Flex Code
12169 status collapsed
12170
12171 \begin_layout Plain Layout
12172 EndLabelType
12173 \end_layout
12174
12175 \end_inset
12176
12177 .
12178  
12179 \end_layout
12180
12181 \begin_layout Description
12182 \begin_inset Foot
12183 status collapsed
12184
12185 \begin_layout Plain Layout
12186
12187 \emph on
12188 Nota de Jean-Marc:
12189 \emph default
12190  No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
12191  mucho uso, y probablemente se quitarán en próximas versiones.
12192 \end_layout
12193
12194 \end_inset
12195
12196
12197 \begin_inset Note Note
12198 status collapsed
12199
12200 \begin_layout Plain Layout
12201 No encuentro 
12202 \begin_inset Quotes cld
12203 \end_inset
12204
12205 Espacio vertical encima
12206 \begin_inset Quotes crd
12207 \end_inset
12208
12209  ni 
12210 \begin_inset Quotes cld
12211 \end_inset
12212
12213 Espacio vertical abajo
12214 \begin_inset Quotes erd
12215 \end_inset
12216
12217  en Editar\SpecialChar menuseparator
12218 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
12219  (Nota de J.P.
12220  Chrétien, feb.
12221  2011)
12222 \end_layout
12223
12224 \end_inset
12225
12226
12227 \end_layout
12228
12229 \begin_layout Description
12230 \begin_inset Flex Code
12231 status collapsed
12232
12233 \begin_layout Plain Layout
12234 Font
12235 \end_layout
12236
12237 \end_inset
12238
12239  La tipografía usada para el cuerpo del texto 
12240 \emph on
12241 y
12242 \emph default
12243  para la etiqueta.
12244  Véase la sección
12245 \begin_inset space ~
12246 \end_inset
12247
12248
12249 \begin_inset CommandInset ref
12250 LatexCommand ref
12251 reference "subsec:Tipografía"
12252
12253 \end_inset
12254
12255 .
12256  Anotar que al definir esta tipografía se define automáticamente la de la
12257  etiqueta, 
12258 \begin_inset Flex Code
12259 status collapsed
12260
12261 \begin_layout Plain Layout
12262 LabelFont
12263 \end_layout
12264
12265 \end_inset
12266
12267 .
12268  Así que debería definirse primero ésta si se quiere definir también 
12269 \begin_inset Flex Code
12270 status collapsed
12271
12272 \begin_layout Plain Layout
12273 LabelFont
12274 \end_layout
12275
12276 \end_inset
12277
12278 .
12279 \end_layout
12280
12281 \begin_layout Description
12282 \begin_inset Flex Code
12283 status collapsed
12284
12285 \begin_layout Plain Layout
12286 ForceLocal
12287 \end_layout
12288
12289 \end_inset
12290
12291  [
12292 \begin_inset Flex Code
12293 status collapsed
12294
12295 \begin_layout Plain Layout
12296 int=0
12297 \end_layout
12298
12299 \end_inset
12300
12301 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12302 .
12303  La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12304  2.1.0.
12305  El argumento es un número 0, -1 o cualquier valor mayor de cero.
12306  Si el indicador 
12307 \begin_inset Flex Code
12308 status collapsed
12309
12310 \begin_layout Plain Layout
12311 ForceLocal
12312 \end_layout
12313
12314 \end_inset
12315
12316  de un estilo es mayor que cero, se escribirá siempre en la cabecera del
12317  documento.
12318  Si un archivo .lyx es leido, las definiciones de estilo de la cabecera del
12319  documento se añaden a la clase de documento.
12320  Por eso, incluso versiones anteriores de \SpecialChar LyX
12321  pueden manejar el estilo.
12322  El argumento de 
12323 \begin_inset Flex Code
12324 status collapsed
12325
12326 \begin_layout Plain Layout
12327 ForceLocal
12328 \end_layout
12329
12330 \end_inset
12331
12332  es un número de versión: si el estilo es leido, y el número de versión
12333  es menor que el número de versión del estilo existente en la clase de documento
12334 , el nuevo se ignora.
12335  Si el número de versión es mayor, el estilo nuevo reemplaza al existente.
12336  -1 significa un número de versión infinito, o sea, el estilo se usa siempre.
12337 \end_layout
12338
12339 \begin_layout Description
12340 \begin_inset Flex Code
12341 status collapsed
12342
12343 \begin_layout Plain Layout
12344 FreeSpacing
12345 \end_layout
12346
12347 \end_inset
12348
12349  [
12350 \emph on
12351
12352 \begin_inset Flex Code
12353 status collapsed
12354
12355 \begin_layout Plain Layout
12356 0
12357 \end_layout
12358
12359 \end_inset
12360
12361
12362 \emph default
12363 ,
12364 \begin_inset space \thinspace{}
12365 \end_inset
12366
12367
12368 \begin_inset Flex Code
12369 status collapsed
12370
12371 \begin_layout Plain Layout
12372 1
12373 \end_layout
12374
12375 \end_inset
12376
12377 ] Usualmente \SpecialChar LyX
12378  no permite insertar más de un espacio entre palabras, puesto
12379  que un espacio se considera como la separación entre dos palabras, no un
12380  carácter o símbolo por sí mismo.
12381  Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
12382  escribir código de programas o de \SpecialChar LaTeX
12383  puro.
12384  Por esta razón se puede habilitar 
12385 \begin_inset Flex Code
12386 status collapsed
12387
12388 \begin_layout Plain Layout
12389 FreeSpacing
12390 \end_layout
12391
12392 \end_inset
12393
12394 .
12395  Anotar que \SpecialChar LyX
12396  creará espacios protegidos para los espacios adicionales en
12397  modos que no sean \SpecialChar LaTeX
12398 .
12399  
12400 \end_layout
12401
12402 \begin_layout Description
12403 \begin_inset Flex Code
12404 status collapsed
12405
12406 \begin_layout Plain Layout
12407 HTML*
12408 \end_layout
12409
12410 \end_inset
12411
12412  Para la salida XHTML.
12413  Véase 
12414 \begin_inset CommandInset ref
12415 LatexCommand ref
12416 reference "subsec:Estilos-de-párrafo-XHTML"
12417
12418 \end_inset
12419
12420 .
12421 \end_layout
12422
12423 \begin_layout Description
12424 \begin_inset Flex Code
12425 status collapsed
12426
12427 \begin_layout Plain Layout
12428 InnerTag
12429 \end_layout
12430
12431 \end_inset
12432
12433  [[FIXME]] (Usado solo con formatos tipo XML.)
12434 \end_layout
12435
12436 \begin_layout Description
12437 \begin_inset Flex Code
12438 status collapsed
12439
12440 \begin_layout Plain Layout
12441 InPreamble
12442 \end_layout
12443
12444 \end_inset
12445
12446  [
12447 \emph on
12448
12449 \begin_inset Flex Code
12450 status collapsed
12451
12452 \begin_layout Plain Layout
12453
12454 \emph on
12455 0
12456 \end_layout
12457
12458 \end_inset
12459
12460
12461 \emph default
12462 ,
12463 \begin_inset space \thinspace{}
12464 \end_inset
12465
12466
12467 \begin_inset Flex Code
12468 status collapsed
12469
12470 \begin_layout Plain Layout
12471 1
12472 \end_layout
12473
12474 \end_inset
12475
12476 ] Si 
12477 \begin_inset Flex Code
12478 status collapsed
12479
12480 \begin_layout Plain Layout
12481 1
12482 \end_layout
12483
12484 \end_inset
12485
12486 , marca el estilo para ser incluido en el preámbulo del documento en lugar
12487  de en el cuerpo del documento.
12488  Útil para clases de documento que piden informaciones tales como título
12489  y autor en el preámbulo.
12490  Esto solo funciona para estilos para los que 
12491 \begin_inset Flex Code
12492 status collapsed
12493
12494 \begin_layout Plain Layout
12495 LatexType
12496 \end_layout
12497
12498 \end_inset
12499
12500  es 
12501 \begin_inset Flex Code
12502 status collapsed
12503
12504 \begin_layout Plain Layout
12505 Command
12506 \end_layout
12507
12508 \end_inset
12509
12510  o 
12511 \begin_inset Flex Code
12512 status collapsed
12513
12514 \begin_layout Plain Layout
12515 Paragraph
12516 \end_layout
12517
12518 \end_inset
12519
12520 .
12521 \end_layout
12522
12523 \begin_layout Description
12524 \begin_inset Flex Code
12525 status collapsed
12526
12527 \begin_layout Plain Layout
12528 InTitle
12529 \end_layout
12530
12531 \end_inset
12532
12533  [
12534 \emph on
12535
12536 \begin_inset Flex Code
12537 status collapsed
12538
12539 \begin_layout Plain Layout
12540
12541 \emph on
12542 0
12543 \end_layout
12544
12545 \end_inset
12546
12547
12548 \emph default
12549 ,
12550 \begin_inset space \thinspace{}
12551 \end_inset
12552
12553
12554 \begin_inset Flex Code
12555 status collapsed
12556
12557 \begin_layout Plain Layout
12558 1
12559 \end_layout
12560
12561 \end_inset
12562
12563 ] Si es 
12564 \begin_inset Flex Code
12565 status collapsed
12566
12567 \begin_layout Plain Layout
12568 1
12569 \end_layout
12570
12571 \end_inset
12572
12573 , marca el estilo como parte de un bloque de título (véanse también las
12574  entradas globales 
12575 \begin_inset Flex Code
12576 status collapsed
12577
12578 \begin_layout Plain Layout
12579 TitleLatexType
12580 \end_layout
12581
12582 \end_inset
12583
12584  y 
12585 \begin_inset Flex Code
12586 status collapsed
12587
12588 \begin_layout Plain Layout
12589 TitleLatexName
12590 \end_layout
12591
12592 \end_inset
12593
12594 ).
12595 \end_layout
12596
12597 \begin_layout Description
12598
12599 \lang english
12600 \begin_inset Flex Code
12601 status collapsed
12602
12603 \begin_layout Plain Layout
12604
12605 \lang english
12606 IsTocCaption
12607 \end_layout
12608
12609 \end_inset
12610
12611  [
12612 \begin_inset Flex Code
12613 status collapsed
12614
12615 \begin_layout Plain Layout
12616
12617 \emph on
12618 \lang english
12619 0
12620 \end_layout
12621
12622 \end_inset
12623
12624 ,
12625 \begin_inset space \thinspace{}
12626 \end_inset
12627
12628
12629 \begin_inset Flex Code
12630 status collapsed
12631
12632 \begin_layout Plain Layout
12633
12634 \lang english
12635 1
12636 \end_layout
12637
12638 \end_inset
12639
12640 ] If this is set to 1 and AddToToc is enabled, the paragraph adds a summary
12641  of its contents in its item in the table of contents.
12642  Otherwise, only the label, if it exists, appears.
12643 \end_layout
12644
12645 \begin_layout Description
12646 \begin_inset Flex Code
12647 status collapsed
12648
12649 \begin_layout Plain Layout
12650 ItemCommand
12651 \end_layout
12652
12653 \end_inset
12654
12655  [
12656 \begin_inset Flex Code
12657 status collapsed
12658
12659 \begin_layout Plain Layout
12660 string="item"
12661 \end_layout
12662
12663 \end_inset
12664
12665 ] La secuencia de comando \SpecialChar LaTeX
12666  que declara un ítem en una lista.
12667  El comando es para ser definido sin la barra invertida (por omisión es
12668  
12669 \begin_inset Quotes eld
12670 \end_inset
12671
12672 item
12673 \begin_inset Quotes erd
12674 \end_inset
12675
12676 , que resulta en 
12677 \begin_inset Flex Code
12678 status collapsed
12679
12680 \begin_layout Plain Layout
12681
12682 \backslash
12683 item
12684 \end_layout
12685
12686 \end_inset
12687
12688  en la salida \SpecialChar LaTeX
12689 ).
12690 \end_layout
12691
12692 \begin_layout Description
12693 \begin_inset Flex Code
12694 status collapsed
12695
12696 \begin_layout Plain Layout
12697 ItemSep
12698 \end_layout
12699
12700 \end_inset
12701
12702  [
12703 \begin_inset Flex Code
12704 status collapsed
12705
12706 \begin_layout Plain Layout
12707 float=0
12708 \end_layout
12709
12710 \end_inset
12711
12712 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
12713  Si se ponen otros formatos en un entorno, cada uno es separado con el comando
12714  de entorno 
12715 \begin_inset Flex Code
12716 status collapsed
12717
12718 \begin_layout Plain Layout
12719 ParSep
12720 \end_layout
12721
12722 \end_inset
12723
12724 .
12725  Pero el conjunto de los ítems del entorno son separados adicionalmente
12726  con este 
12727 \begin_inset Flex Code
12728 status collapsed
12729
12730 \begin_layout Plain Layout
12731 ItemSep
12732 \end_layout
12733
12734 \end_inset
12735
12736 .
12737  Anotar que esto es un
12738 \emph on
12739  multiplicador.
12740 \end_layout
12741
12742 \begin_layout Description
12743 \begin_inset Flex Code
12744 status collapsed
12745
12746 \begin_layout Plain Layout
12747 ItemTag
12748 \end_layout
12749
12750 \end_inset
12751
12752  [[FIXME]] (Usado solo con formatos tipo XML.)
12753 \end_layout
12754
12755 \begin_layout Description
12756 \begin_inset Flex Code
12757 status collapsed
12758
12759 \begin_layout Plain Layout
12760 KeepEmpty
12761 \end_layout
12762
12763 \end_inset
12764
12765  [
12766 \emph on
12767
12768 \begin_inset Flex Code
12769 status collapsed
12770
12771 \begin_layout Plain Layout
12772
12773 \emph on
12774 0
12775 \end_layout
12776
12777 \end_inset
12778
12779
12780 \emph default
12781 ,
12782 \begin_inset space \thinspace{}
12783 \end_inset
12784
12785
12786 \begin_inset Flex Code
12787 status collapsed
12788
12789 \begin_layout Plain Layout
12790 1
12791 \end_layout
12792
12793 \end_inset
12794
12795 ] Habitualmente, \SpecialChar LyX
12796  no permite dejar un párrafo vacío, porque llevaría a una
12797  salida de \SpecialChar LaTeX
12798  vacía.
12799  Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12800  de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12801  no los olvida; en algunos casos especiales, se puede usar un estilo que
12802  no contiene texto real como una especie de salto.
12803 \end_layout
12804
12805 \begin_layout Description
12806 \begin_inset Flex Code
12807 status collapsed
12808
12809 \begin_layout Plain Layout
12810 LabelBottomsep
12811 \end_layout
12812
12813 \end_inset
12814
12815  [
12816 \begin_inset Flex Code
12817 status collapsed
12818
12819 \begin_layout Plain Layout
12820 float=0
12821 \end_layout
12822
12823 \end_inset
12824
12825 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12826  Solo se usa para etiquetas que están sobre el cuerpo del texto (
12827 \begin_inset Flex Code
12828 status collapsed
12829
12830 \begin_layout Plain Layout
12831 Top_Environment
12832 \end_layout
12833
12834 \end_inset
12835
12836  y 
12837 \begin_inset Flex Code
12838 status collapsed
12839
12840 \begin_layout Plain Layout
12841 Centered_Top_Environment
12842 \end_layout
12843
12844 \end_inset
12845
12846 ).
12847 \end_layout
12848
12849 \begin_layout Description
12850 \begin_inset Flex Code
12851 status collapsed
12852
12853 \begin_layout Plain Layout
12854 LabelCounter
12855 \end_layout
12856
12857 \end_inset
12858
12859  [
12860 \begin_inset Flex Code
12861 status collapsed
12862
12863 \begin_layout Plain Layout
12864 string=""
12865 \end_layout
12866
12867 \end_inset
12868
12869 ] El nombre del contador para numeración automática.
12870  Con el fin de que el contador aparezca con su etiqueta, deberás referenciarla
12871  en 
12872 \begin_inset Flex Code
12873 status collapsed
12874
12875 \begin_layout Plain Layout
12876 LabelString
12877 \end_layout
12878
12879 \end_inset
12880
12881 .
12882  Esto funcionará con 
12883 \begin_inset Flex Code
12884 status collapsed
12885
12886 \begin_layout Plain Layout
12887 LabelType
12888 \end_layout
12889
12890 \end_inset
12891
12892 s, 
12893 \begin_inset Flex Code
12894 status collapsed
12895
12896 \begin_layout Plain Layout
12897 Static
12898 \end_layout
12899
12900 \end_inset
12901
12902
12903 \begin_inset Flex Code
12904 status collapsed
12905
12906 \begin_layout Plain Layout
12907 Above
12908 \end_layout
12909
12910 \end_inset
12911
12912  y 
12913 \begin_inset Flex Code
12914 status collapsed
12915
12916 \begin_layout Plain Layout
12917 Centered
12918 \end_layout
12919
12920 \end_inset
12921
12922 , al menos.
12923 \begin_inset Newline newline
12924 \end_inset
12925
12926 Esto 
12927 \emph on
12928 puede
12929 \emph default
12930  ponerse también si 
12931 \begin_inset Flex Code
12932 status collapsed
12933
12934 \begin_layout Plain Layout
12935 LabelType
12936 \end_layout
12937
12938 \end_inset
12939
12940  es 
12941 \begin_inset Flex Code
12942 status collapsed
12943
12944 \begin_layout Plain Layout
12945 Enumerate
12946 \end_layout
12947
12948 \end_inset
12949
12950 , aunque este caso es un poco complicado.
12951  Supongamos que declaras 
12952 \begin_inset Quotes eld
12953 \end_inset
12954
12955
12956 \begin_inset Flex Code
12957 status collapsed
12958
12959 \begin_layout Plain Layout
12960 LabelCounter myenum
12961 \end_layout
12962
12963 \end_inset
12964
12965
12966 \begin_inset Quotes erd
12967 \end_inset
12968
12969 .
12970  Entonces, los contadores reales usados son 
12971 \begin_inset Flex Code
12972 status collapsed
12973
12974 \begin_layout Plain Layout
12975 myenumi
12976 \end_layout
12977
12978 \end_inset
12979
12980
12981 \begin_inset Flex Code
12982 status collapsed
12983
12984 \begin_layout Plain Layout
12985 myenumii
12986 \end_layout
12987
12988 \end_inset
12989
12990
12991 \begin_inset Flex Code
12992 status collapsed
12993
12994 \begin_layout Plain Layout
12995 myenumiii
12996 \end_layout
12997
12998 \end_inset
12999
13000 , y 
13001 \begin_inset Flex Code
13002 status collapsed
13003
13004 \begin_layout Plain Layout
13005 myenumiv
13006 \end_layout
13007
13008 \end_inset
13009
13010 , como en \SpecialChar LaTeX
13011 .
13012  Estos contadores deben declararse todos por separado.
13013 \begin_inset Newline newline
13014 \end_inset
13015
13016 Véase la sección 
13017 \begin_inset CommandInset ref
13018 LatexCommand ref
13019 reference "subsec:Contadores"
13020
13021 \end_inset
13022
13023  para detalles sobre contadores
13024 \end_layout
13025
13026 \begin_layout Description
13027 \begin_inset Flex Code
13028 status collapsed
13029
13030 \begin_layout Plain Layout
13031 LabelFont
13032 \end_layout
13033
13034 \end_inset
13035
13036  La tipografía usada para la etiqueta.
13037  Véase la sección
13038 \begin_inset space ~
13039 \end_inset
13040
13041
13042 \begin_inset CommandInset ref
13043 LatexCommand ref
13044 reference "subsec:Tipografía"
13045
13046 \end_inset
13047
13048 .
13049 \end_layout
13050
13051 \begin_layout Description
13052 \begin_inset Flex Code
13053 status collapsed
13054
13055 \begin_layout Plain Layout
13056 LabelIndent
13057 \end_layout
13058
13059 \end_inset
13060
13061  [
13062 \begin_inset Flex Code
13063 status collapsed
13064
13065 \begin_layout Plain Layout
13066 string=""
13067 \end_layout
13068
13069 \end_inset
13070
13071 ] Texto que indica cuánto se debe sangrar una etiqueta.
13072 \end_layout
13073
13074 \begin_layout Description
13075 \begin_inset Flex Code
13076 status collapsed
13077
13078 \begin_layout Plain Layout
13079 LabelSep
13080 \end_layout
13081
13082 \end_inset
13083
13084  [
13085 \begin_inset Flex Code
13086 status collapsed
13087
13088 \begin_layout Plain Layout
13089 string=""
13090 \end_layout
13091
13092 \end_inset
13093
13094 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
13095  cuerpo del texto.
13096  Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13097 \end_layout
13098
13099 \begin_layout Description
13100 \begin_inset Flex Code
13101 status collapsed
13102
13103 \begin_layout Plain Layout
13104 LabelString
13105 \end_layout
13106
13107 \end_inset
13108
13109  [
13110 \begin_inset Flex Code
13111 status collapsed
13112
13113 \begin_layout Plain Layout
13114 string=""
13115 \end_layout
13116
13117 \end_inset
13118
13119 ] La cadena usada para una etiqueta del 
13120 \begin_inset Flex Code
13121 status collapsed
13122
13123 \begin_layout Plain Layout
13124 LabelType
13125 \end_layout
13126
13127 \end_inset
13128
13129  
13130 \begin_inset Flex Code
13131 status collapsed
13132
13133 \begin_layout Plain Layout
13134 Static
13135 \end_layout
13136
13137 \end_inset
13138
13139 .
13140  Si 
13141 \begin_inset Flex Code
13142 status collapsed
13143
13144 \begin_layout Plain Layout
13145 LabelCounter
13146 \end_layout
13147
13148 \end_inset
13149
13150  está establecido, esta cadena puede contener los comandos especiales de
13151  formato descritos en la sección
13152 \begin_inset space ~
13153 \end_inset
13154
13155
13156 \begin_inset CommandInset ref
13157 LatexCommand ref
13158 reference "subsec:Contadores"
13159
13160 \end_inset
13161
13162 .
13163 \end_layout
13164
13165 \begin_layout Description
13166 \begin_inset Flex Code
13167 status collapsed
13168
13169 \begin_layout Plain Layout
13170 LabelStringAppendix
13171 \end_layout
13172
13173 \end_inset
13174
13175  [
13176 \begin_inset Flex Code
13177 status collapsed
13178
13179 \begin_layout Plain Layout
13180 string=""
13181 \end_layout
13182
13183 \end_inset
13184
13185 ] Esta se usa en el apéndice en vez de 
13186 \begin_inset Flex Code
13187 status collapsed
13188
13189 \begin_layout Plain Layout
13190 LabelString
13191 \end_layout
13192
13193 \end_inset
13194
13195 .
13196  Anotar que toda declaración de 
13197 \begin_inset Flex Code
13198 status collapsed
13199
13200 \begin_layout Plain Layout
13201 LabelString
13202 \end_layout
13203
13204 \end_inset
13205
13206  reconfigura también
13207 \begin_inset Newline newline
13208 \end_inset
13209
13210
13211 \begin_inset Flex Code
13212 status collapsed
13213
13214 \begin_layout Plain Layout
13215 LabelStringAppendix
13216 \end_layout
13217
13218 \end_inset
13219
13220 .
13221 \end_layout
13222
13223 \begin_layout Description
13224 \begin_inset Flex Code
13225 status collapsed
13226
13227 \begin_layout Plain Layout
13228 LabelTag
13229 \end_layout
13230
13231 \end_inset
13232
13233  [FIXME] (Usado solo con formatos tipo XML.)
13234 \end_layout
13235
13236 \begin_layout Description
13237 \begin_inset Flex Code
13238 status collapsed
13239
13240 \begin_layout Plain Layout
13241 LabelType
13242 \end_layout
13243
13244 \end_inset
13245
13246 [
13247 \begin_inset Flex Code
13248 status collapsed
13249
13250 \begin_layout Plain Layout
13251
13252 \emph on
13253 No_Label
13254 \emph default
13255 , Manual, Static, Above,
13256 \begin_inset Newline newline
13257 \end_inset
13258
13259 Centered, Sensitive, Enumerate,
13260 \begin_inset Newline newline
13261 \end_inset
13262
13263 Itemize, Bibliography
13264 \end_layout
13265
13266 \end_inset
13267
13268 ]
13269 \end_layout
13270
13271 \begin_deeper
13272 \begin_layout Description
13273 \begin_inset Flex Code
13274 status collapsed
13275
13276 \begin_layout Plain Layout
13277 Manual
13278 \end_layout
13279
13280 \end_inset
13281
13282  significa que la etiqueta es la primera palabra (hasta elprimer espacio
13283  real).
13284  Usa espacios protegidos si quieres más de una palabra como etiqueta.
13285  
13286 \end_layout
13287
13288 \begin_layout Description
13289 \begin_inset Flex Code
13290 status collapsed
13291
13292 \begin_layout Plain Layout
13293 Static
13294 \end_layout
13295
13296 \end_inset
13297
13298  significa que la etiqueta es simplemente cualquier 
13299 \begin_inset Flex Code
13300 status collapsed
13301
13302 \begin_layout Plain Layout
13303 LabelString
13304 \end_layout
13305
13306 \end_inset
13307
13308  declarado como tal.
13309  Esto se mostrará 
13310 \begin_inset Quotes cld
13311 \end_inset
13312
13313 en línea
13314 \begin_inset Quotes crd
13315 \end_inset
13316
13317  al comienzo del párrafo.
13318  Si 
13319 \begin_inset Flex Code
13320 status collapsed
13321
13322 \begin_layout Plain Layout
13323 LatexType
13324 \end_layout
13325
13326 \end_inset
13327
13328  es 
13329 \begin_inset Flex Code
13330 status collapsed
13331
13332 \begin_layout Plain Layout
13333 Environment
13334 \end_layout
13335
13336 \end_inset
13337
13338 , entonces se mostrará solo en el primer párrafo de cualquier secuencia
13339  de párrafos con el mismo 
13340 \begin_inset Flex Code
13341 status collapsed
13342
13343 \begin_layout Plain Layout
13344 Style
13345 \end_layout
13346
13347 \end_inset
13348
13349 .
13350 \end_layout
13351
13352 \begin_layout Description
13353 \begin_inset Flex Code
13354 status collapsed
13355
13356 \begin_layout Plain Layout
13357 Above
13358 \end_layout
13359
13360 \end_inset
13361
13362
13363 \begin_inset space ~
13364 \end_inset
13365
13366 y
13367 \begin_inset space ~
13368 \end_inset
13369
13370
13371 \begin_inset Flex Code
13372 status collapsed
13373
13374 \begin_layout Plain Layout
13375 Centered
13376 \end_layout
13377
13378 \end_inset
13379
13380  son casos especiales de 
13381 \begin_inset Flex Code
13382 status collapsed
13383
13384 \begin_layout Plain Layout
13385 Static
13386 \end_layout
13387
13388 \end_inset
13389
13390 .
13391  La etiqueta se imprimirá encima del párrafo, o al inicio de línea o centrado.
13392  
13393 \end_layout
13394
13395 \begin_layout Description
13396 \begin_inset Flex Code
13397 status collapsed
13398
13399 \begin_layout Plain Layout
13400 Sensitive
13401 \end_layout
13402
13403 \end_inset
13404
13405  es un caso especial para las etiquetas de las leyendas de 
13406 \begin_inset Quotes cld
13407 \end_inset
13408
13409 Figura
13410 \begin_inset Quotes crd
13411 \end_inset
13412
13413  y 
13414 \begin_inset Quotes cld
13415 \end_inset
13416
13417 Tabla
13418 \begin_inset Quotes crd
13419 \end_inset
13420
13421 .
13422  
13423 \begin_inset Flex Code
13424 status collapsed
13425
13426 \begin_layout Plain Layout
13427 Sensitive
13428 \end_layout
13429
13430 \end_inset
13431
13432  quiere decir que la cadena (en código) de la etiqueta depende de la clase
13433  de flotante: Está codificado para ser `FloatType N', donde N es el valor
13434  del contador asociado al flotante.
13435  En el caso en que la leyenda se inserte adosada a un flotante 
13436 \begin_inset Flex Code
13437 status collapsed
13438
13439 \begin_layout Plain Layout
13440 LabelString
13441 \end_layout
13442
13443 \end_inset
13444
13445  aparecerá como 
13446 \begin_inset Quotes cld
13447 \end_inset
13448
13449 Senseless!
13450 \begin_inset Quotes crd
13451 \end_inset
13452
13453  , (¡Sin sentido!).
13454 \end_layout
13455
13456 \begin_layout Description
13457 \begin_inset Flex Code
13458 status collapsed
13459
13460 \begin_layout Plain Layout
13461 Enumerate
13462 \end_layout
13463
13464 \end_inset
13465
13466  produce los tipos habituales de etiquetas de enumeración.
13467  Por ahora está codificado para usar números arábigos, minúsculas, números
13468  romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
13469  de profundidad posibles.
13470 \end_layout
13471
13472 \begin_layout Description
13473 \begin_inset Flex Code
13474 status collapsed
13475
13476 \begin_layout Plain Layout
13477 Itemize
13478 \end_layout
13479
13480 \end_inset
13481
13482  produce varias marcas para los distintos niveles.
13483  También está codificado.
13484 \end_layout
13485
13486 \begin_layout Description
13487 \begin_inset Flex Code
13488 status collapsed
13489
13490 \begin_layout Plain Layout
13491 Bibliography
13492 \end_layout
13493
13494 \end_inset
13495
13496  solo debería emplearse con 
13497 \begin_inset Flex Code
13498 status collapsed
13499
13500 \begin_layout Plain Layout
13501 LatexType BibEnvironment
13502 \end_layout
13503
13504 \end_inset
13505
13506 .
13507 \end_layout
13508
13509 \end_deeper
13510 \begin_layout Description
13511 \begin_inset Flex Code
13512 status collapsed
13513
13514 \begin_layout Plain Layout
13515 LangPreamble
13516 \end_layout
13517
13518 \end_inset
13519
13520  Esto sobrescribirá completamente cualquier declaración anterior de 
13521 \begin_inset Flex Code
13522 status collapsed
13523
13524 \begin_layout Plain Layout
13525 LangPreamble
13526 \end_layout
13527
13528 \end_inset
13529
13530  para este estilo.
13531  Debe acabar con 
13532 \begin_inset Quotes eld
13533 \end_inset
13534
13535
13536 \begin_inset Flex Code
13537 status collapsed
13538
13539 \begin_layout Plain Layout
13540 EndLangPreamble
13541 \end_layout
13542
13543 \end_inset
13544
13545
13546 \begin_inset Quotes erd
13547 \end_inset
13548
13549 .
13550  Véase la sección 
13551 \begin_inset CommandInset ref
13552 LatexCommand ref
13553 reference "subsec:I18n"
13554
13555 \end_inset
13556
13557  para detallessobre su uso.
13558 \end_layout
13559
13560 \begin_layout Description
13561 \begin_inset Flex Code
13562 status collapsed
13563
13564 \begin_layout Plain Layout
13565 LatexName
13566 \end_layout
13567
13568 \end_inset
13569
13570  [
13571 \begin_inset Flex Code
13572 status collapsed
13573
13574 \begin_layout Plain Layout
13575 <name>
13576 \end_layout
13577
13578 \end_inset
13579
13580 ] El nombre correspondiente en \SpecialChar LaTeX
13581 , ya sea de un comando o de un entorno.
13582 \end_layout
13583
13584 \begin_layout Description
13585 \begin_inset Flex Code
13586 status collapsed
13587
13588 \begin_layout Plain Layout
13589 LatexParam
13590 \end_layout
13591
13592 \end_inset
13593
13594  [
13595 \begin_inset Flex Code
13596 status collapsed
13597
13598 \begin_layout Plain Layout
13599 <parameter>
13600 \end_layout
13601
13602 \end_inset
13603
13604 ] Un parámetro opcional para el correspondiente 
13605 \begin_inset Flex Code
13606 status collapsed
13607
13608 \begin_layout Plain Layout
13609 LatexName
13610 \end_layout
13611
13612 \end_inset
13613
13614 .
13615  Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
13616  (usa 
13617 \begin_inset Flex Code
13618 status collapsed
13619
13620 \begin_layout Plain Layout
13621 Argument
13622 \end_layout
13623
13624 \end_inset
13625
13626  para parámetros personalizables).
13627  Se emitirá como tal tras todos los 
13628 \begin_inset Flex Code
13629 status collapsed
13630
13631 \begin_layout Plain Layout
13632 Argument
13633 \end_layout
13634
13635 \end_inset
13636
13637  \SpecialChar LaTeX
13638 .
13639 \end_layout
13640
13641 \begin_layout Description
13642 \begin_inset Flex Code
13643 status collapsed
13644
13645 \begin_layout Plain Layout
13646 LatexType
13647 \end_layout
13648
13649 \end_inset
13650
13651  [
13652 \begin_inset Flex Code
13653 status collapsed
13654
13655 \begin_layout Plain Layout
13656
13657 \emph on
13658 Paragraph
13659 \emph default
13660 , Command, Environment, Item_Environment,
13661 \begin_inset Newline newline
13662 \end_inset
13663
13664 List_Environment, Bib_Environment
13665 \end_layout
13666
13667 \end_inset
13668
13669 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
13670 .
13671 \begin_inset Foot
13672 status collapsed
13673
13674 \begin_layout Plain Layout
13675 \begin_inset Flex Code
13676 status collapsed
13677
13678 \begin_layout Plain Layout
13679 LatexType
13680 \end_layout
13681
13682 \end_inset
13683
13684  es un poco engañoso porque estas reglas se aplican también a clases SGML.
13685  Consulta los archivos de clases SGML (archivos de nombre 
13686 \begin_inset Flex Code
13687 status collapsed
13688
13689 \begin_layout Plain Layout
13690 db_*.inc
13691 \end_layout
13692
13693 \end_inset
13694
13695  ) para ejemplos concretos.
13696 \end_layout
13697
13698 \end_inset
13699
13700
13701 \end_layout
13702
13703 \begin_deeper
13704 \begin_layout Description
13705 \begin_inset Flex Code
13706 status collapsed
13707
13708 \begin_layout Plain Layout
13709 Paragraph
13710 \end_layout
13711
13712 \end_inset
13713
13714  no significa nada especial.
13715 \end_layout
13716
13717 \begin_layout Description
13718 \begin_inset Flex Code
13719 status collapsed
13720
13721 \begin_layout Plain Layout
13722 Command
13723 \end_layout
13724
13725 \end_inset
13726
13727  significa 
13728 \begin_inset Flex Code
13729 status collapsed
13730
13731 \begin_layout Plain Layout
13732
13733 \backslash
13734
13735 \emph on
13736 LatexName
13737 \emph default
13738 {\SpecialChar ldots
13739 }
13740 \end_layout
13741
13742 \end_inset
13743
13744 .
13745 \end_layout
13746
13747 \begin_layout Description
13748 \begin_inset Flex Code
13749 status collapsed
13750
13751 \begin_layout Plain Layout
13752 Environment
13753 \end_layout
13754
13755 \end_inset
13756
13757  significa 
13758 \begin_inset Flex Code
13759 status collapsed
13760
13761 \begin_layout Plain Layout
13762
13763 \backslash
13764 begin{
13765 \emph on
13766 LatexName
13767 \emph default
13768 }\SpecialChar ldots
13769
13770 \backslash
13771 end{
13772 \emph on
13773 LatexName
13774 \emph default
13775 }
13776 \end_layout
13777
13778 \end_inset
13779
13780 .
13781 \end_layout
13782
13783 \begin_layout Description
13784 \begin_inset Flex Code
13785 status collapsed
13786
13787 \begin_layout Plain Layout
13788 Item_Environment
13789 \end_layout
13790
13791 \end_inset
13792
13793  es lo mismo que 
13794 \begin_inset Flex Code
13795 status collapsed
13796
13797 \begin_layout Plain Layout
13798 Environment
13799 \end_layout
13800
13801 \end_inset
13802
13803 , excepto que un 
13804 \begin_inset Flex Code
13805 status collapsed
13806
13807 \begin_layout Plain Layout
13808
13809 \backslash
13810 item
13811 \end_layout
13812
13813 \end_inset
13814
13815  se genera para cada párrafo de este entorno.
13816 \end_layout
13817
13818 \begin_layout Description
13819 \begin_inset Flex Code
13820 status collapsed
13821
13822 \begin_layout Plain Layout
13823 List_Environment
13824 \end_layout
13825
13826 \end_inset
13827
13828  es lo mismo que 
13829 \begin_inset Flex Code
13830 status collapsed
13831
13832 \begin_layout Plain Layout
13833 Item_Environment
13834 \end_layout
13835
13836 \end_inset
13837
13838 , excepto que
13839 \begin_inset Newline newline
13840 \end_inset
13841
13842
13843 \begin_inset Flex Code
13844 status collapsed
13845
13846 \begin_layout Plain Layout
13847 LabelWidthString
13848 \end_layout
13849
13850 \end_inset
13851
13852  se pasa como un argumento al entorno.
13853 \begin_inset Newline newline
13854 \end_inset
13855
13856
13857 \begin_inset Flex Code
13858 status collapsed
13859
13860 \begin_layout Plain Layout
13861 LabelWidthString
13862 \end_layout
13863
13864 \end_inset
13865
13866  puede definirse en el diálogo 
13867 \begin_inset Flex Noun
13868 status collapsed
13869
13870 \begin_layout Plain Layout
13871 Editar\SpecialChar menuseparator
13872 Configuración
13873 \begin_inset space ~
13874 \end_inset
13875
13876 de
13877 \begin_inset space ~
13878 \end_inset
13879
13880 párrafos
13881 \end_layout
13882
13883 \end_inset
13884
13885 .
13886 \end_layout
13887
13888 \begin_layout Description
13889 \begin_inset Flex Code
13890 status collapsed
13891
13892 \begin_layout Plain Layout
13893 Bib_Environment
13894 \end_layout
13895
13896 \end_inset
13897
13898  es como 
13899 \begin_inset Flex Code
13900 status collapsed
13901
13902 \begin_layout Plain Layout
13903 Environment
13904 \end_layout
13905
13906 \end_inset
13907
13908  pero añade además el argumento obligatorio necesario (la etiqueta más larga)
13909  a la declaración 
13910 \family typewriter
13911 begin
13912 \family default
13913  del entorno bibliografía:
13914 \begin_inset Newline newline
13915 \end_inset
13916
13917
13918 \begin_inset Flex Code
13919 status collapsed
13920
13921 \begin_layout Plain Layout
13922
13923 \backslash
13924 begin{thebibliography}{99}
13925 \end_layout
13926
13927 \end_inset
13928
13929  Por tanto solo es útil para entornos de bibliografía.
13930  La etiqueta más larga predeterminada 
13931 \begin_inset Quotes cld
13932 \end_inset
13933
13934 99
13935 \begin_inset Quotes crd
13936 \end_inset
13937
13938  puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográf
13939 ico.
13940 \end_layout
13941
13942 \begin_layout Standard
13943 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
13944  será una de estas: 
13945 \end_layout
13946
13947 \begin_layout LyX-Code
13948
13949 \backslash
13950 LatexName[LatexParam]{\SpecialChar ldots
13951 }
13952 \end_layout
13953
13954 \begin_layout Standard
13955 o: 
13956 \end_layout
13957
13958 \begin_layout LyX-Code
13959
13960 \backslash
13961 begin{LatexName}[LatexParam] \SpecialChar ldots
13962  
13963 \backslash
13964 end{LatexName}.
13965 \end_layout
13966
13967 \begin_layout Standard
13968 dependiendo del tipo de \SpecialChar LaTeX
13969 .
13970 \end_layout
13971
13972 \end_deeper
13973 \begin_layout Description
13974 \begin_inset Flex Code
13975 status collapsed
13976
13977 \begin_layout Plain Layout
13978 LeftDelim
13979 \end_layout
13980
13981 \end_inset
13982
13983  [
13984 \begin_inset Flex Code
13985 status collapsed
13986
13987 \begin_layout Plain Layout
13988 string
13989 \end_layout
13990
13991 \end_inset
13992
13993 ] Secuencia que se pone al inicio del contenido del estilo.
13994  Un salto de línea en la salida puede indicarse con 
13995 \begin_inset Flex Code
13996 status collapsed
13997
13998 \begin_layout Plain Layout
13999 <br/>
14000 \end_layout
14001
14002 \end_inset
14003
14004 .
14005 \end_layout
14006
14007 \begin_layout Description
14008 \begin_inset Flex Code
14009 status collapsed
14010
14011 \begin_layout Plain Layout
14012 LeftMargin
14013 \end_layout
14014
14015 \end_inset
14016
14017  [
14018 \begin_inset Flex Code
14019 status collapsed
14020
14021 \begin_layout Plain Layout
14022 string=""
14023 \end_layout
14024
14025 \end_inset
14026
14027 ] Si pones estilos en entornos, los 
14028 \begin_inset Flex Code
14029 status collapsed
14030
14031 \begin_layout Plain Layout
14032 LeftMargin
14033 \end_layout
14034
14035 \end_inset
14036
14037  no son simplemente añadidos, sino aumentados en un factor 
14038 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14039 \end_inset
14040
14041 .
14042  Anotar que este parámetro se usa también cuando 
14043 \begin_inset Flex Code
14044 status collapsed
14045
14046 \begin_layout Plain Layout
14047 Margin
14048 \end_layout
14049
14050 \end_inset
14051
14052  se define como 
14053 \begin_inset Flex Code
14054 status collapsed
14055
14056 \begin_layout Plain Layout
14057 Manual
14058 \end_layout
14059
14060 \end_inset
14061
14062  o 
14063 \begin_inset Flex Code
14064 status collapsed
14065
14066 \begin_layout Plain Layout
14067 Dynamic
14068 \end_layout
14069
14070 \end_inset
14071
14072 .
14073  En ese caso se añade al margen manual o dinámico.
14074 \begin_inset Newline newline
14075 \end_inset
14076
14077 Por ejemplo 
14078 \begin_inset Quotes cld
14079 \end_inset
14080
14081
14082 \begin_inset Flex Code
14083 status collapsed
14084
14085 \begin_layout Plain Layout
14086 MM
14087 \end_layout
14088
14089 \end_inset
14090
14091
14092 \begin_inset Quotes crd
14093 \end_inset
14094
14095  significa que el párrafo se sangra con la anchura de 
14096 \begin_inset Quotes cld
14097 \end_inset
14098
14099
14100 \begin_inset Flex Code
14101 status collapsed
14102
14103 \begin_layout Plain Layout
14104 MM
14105 \end_layout
14106
14107 \end_inset
14108
14109
14110 \begin_inset Quotes crd
14111 \end_inset
14112
14113  en la tipografía normal.
14114  Se puede obtener una anchura negativa anteponiendo 
14115 \begin_inset Quotes cld
14116 \end_inset
14117
14118
14119 \begin_inset Flex Code
14120 status collapsed
14121
14122 \begin_layout Plain Layout
14123 -
14124 \end_layout
14125
14126 \end_inset
14127
14128
14129 \begin_inset Quotes crd
14130 \end_inset
14131
14132  a la cadena.
14133  Se eligió este método para que el aspecto sea el mismo con cada una de
14134  las tipografías de pantalla usadas.
14135 \end_layout
14136
14137 \begin_layout Description
14138 \begin_inset Flex Code
14139 status collapsed
14140
14141 \begin_layout Plain Layout
14142 Margin
14143 \end_layout
14144
14145 \end_inset
14146
14147  [
14148 \begin_inset Flex Code
14149 status collapsed
14150
14151 \begin_layout Plain Layout
14152
14153 \emph on
14154 Static
14155 \emph default
14156 , Manual, Dynamic, First_Dynamic, Right_Address_Box
14157 \end_layout
14158
14159 \end_inset
14160
14161
14162 \begin_inset Newline newline
14163 \end_inset
14164
14165 El tipo de margen que el estilo tiene en el lado izquierdo.
14166 \end_layout
14167
14168 \begin_deeper
14169 \begin_layout Description
14170 \begin_inset Flex Code
14171 status collapsed
14172
14173 \begin_layout Plain Layout
14174 Static
14175 \end_layout
14176
14177 \end_inset
14178
14179  significa un margen fijo.
14180 \end_layout
14181
14182 \begin_layout Description
14183 \begin_inset Flex Code
14184 status collapsed
14185
14186 \begin_layout Plain Layout
14187 Manual
14188 \end_layout
14189
14190 \end_inset
14191
14192  significa que el margen izquierdo depende de la cadena introducida en el
14193  diálogo 
14194 \begin_inset Flex Noun
14195 status collapsed
14196
14197 \begin_layout Plain Layout
14198 Editar\SpecialChar menuseparator
14199 Configuración del párrafo\SpecialChar ldots
14200
14201 \end_layout
14202
14203 \end_inset
14204
14205 .
14206  Esto se utiliza para componer bonitas listas sin tabuladores.
14207 \end_layout
14208
14209 \begin_layout Description
14210 \begin_inset Flex Code
14211 status collapsed
14212
14213 \begin_layout Plain Layout
14214 Dynamic
14215 \end_layout
14216
14217 \end_inset
14218
14219  significa que el margen depende del tamaño de la etiqueta.
14220  Esto se usa para las cabeceras automáticas de las listas numeradas.
14221  Es obvio que la cabecera 
14222 \begin_inset Quotes cld
14223 \end_inset
14224
14225 5.4.3.2.1 Cabecera muy larga
14226 \begin_inset Quotes crd
14227 \end_inset
14228
14229  debe tener un margen izquierdo más amplio (tan ancho como 
14230 \begin_inset Quotes cld
14231 \end_inset
14232
14233 5.4.3.2.1
14234 \begin_inset Quotes crd
14235 \end_inset
14236
14237  más el espacio) que 
14238 \begin_inset Quotes cld
14239 \end_inset
14240
14241 3.2 Cabecera muy larga
14242 \begin_inset Quotes crd
14243 \end_inset
14244
14245 , aunque los 
14246 \begin_inset Quotes cld
14247 \end_inset
14248
14249 procesadores de texto
14250 \begin_inset Quotes crd
14251 \end_inset
14252
14253  corrientes no sean capaces de hacer esto.
14254 \end_layout
14255
14256 \begin_layout Description
14257 \begin_inset Flex Code
14258 status collapsed
14259
14260 \begin_layout Plain Layout
14261 First_Dynamic
14262 \end_layout
14263
14264 \end_inset
14265
14266  es similar, pero solo la primera fila del párrafo es dinámica, mientras
14267  que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
14268 \end_layout
14269
14270 \begin_layout Description
14271 \begin_inset Flex Code
14272 status collapsed
14273
14274 \begin_layout Plain Layout
14275 Right_Address_Box
14276 \end_layout
14277
14278 \end_inset
14279
14280  significa que el margen se elige de manera que la fila más larga de este
14281  párrafo se adapte al margen derecho.
14282  Esto se emplea para componer una dirección en el lado derecho de la página.
14283  
14284 \end_layout
14285
14286 \end_deeper
14287 \begin_layout Description
14288 \begin_inset Flex Code
14289 status collapsed
14290
14291 \begin_layout Plain Layout
14292 NeedProtect
14293 \end_layout
14294
14295 \end_inset
14296
14297  [
14298 \begin_inset Flex Code
14299 status collapsed
14300
14301 \begin_layout Plain Layout
14302
14303 \emph on
14304 0
14305 \end_layout
14306
14307 \end_inset
14308
14309 ,
14310 \begin_inset space \thinspace{}
14311 \end_inset
14312
14313
14314 \begin_inset Flex Code
14315 status collapsed
14316
14317 \begin_layout Plain Layout
14318 1
14319 \end_layout
14320
14321 \end_inset
14322
14323 ] Si los comandos frágiles en este estilo deberían ser protegidos, 
14324 \begin_inset Flex Code
14325 status collapsed
14326
14327 \begin_layout Plain Layout
14328
14329 \backslash
14330 protect
14331 \end_layout
14332
14333 \end_inset
14334
14335 .
14336  (Nota: es 
14337 \emph on
14338 no 
14339 \emph default
14340 si este comando debería él mismo ser protegido.)
14341 \end_layout
14342
14343 \begin_layout Description
14344 \begin_inset Flex Code
14345 status collapsed
14346
14347 \begin_layout Plain Layout
14348 Newline
14349 \end_layout
14350
14351 \end_inset
14352
14353  [
14354 \begin_inset Flex Code
14355 status collapsed
14356
14357 \begin_layout Plain Layout
14358 0
14359 \end_layout
14360
14361 \end_inset
14362
14363 ,
14364 \begin_inset space \thinspace{}
14365 \end_inset
14366
14367
14368 \begin_inset Flex Code
14369 status collapsed
14370
14371 \begin_layout Plain Layout
14372
14373 \emph on
14374 1
14375 \end_layout
14376
14377 \end_inset
14378
14379 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14380  (
14381 \begin_inset Flex Code
14382 status collapsed
14383
14384 \begin_layout Plain Layout
14385
14386 \backslash
14387
14388 \backslash
14389
14390 \end_layout
14391
14392 \end_inset
14393
14394 ) o no.
14395  La transformación puede desactivarse para permitir una edición más confortable
14396  de \SpecialChar LaTeX
14397  en \SpecialChar LyX
14398 .
14399 \end_layout
14400
14401 \begin_layout Description
14402 \begin_inset Flex Code
14403 status collapsed
14404
14405 \begin_layout Plain Layout
14406 NextNoIndent
14407 \end_layout
14408
14409 \end_inset
14410
14411  [
14412 \begin_inset Flex Code
14413 status collapsed
14414
14415 \begin_layout Plain Layout
14416
14417 \emph on
14418 0
14419 \end_layout
14420
14421 \end_inset
14422
14423 ,
14424 \begin_inset space \thinspace{}
14425 \end_inset
14426
14427
14428 \begin_inset Flex Code
14429 status collapsed
14430
14431 \begin_layout Plain Layout
14432 1
14433 \end_layout
14434
14435 \end_inset
14436
14437 ] Si se permite sangrar la primera fila del párrafo siguiente.
14438  
14439 \begin_inset Flex Code
14440 status collapsed
14441
14442 \begin_layout Plain Layout
14443 1
14444 \end_layout
14445
14446 \end_inset
14447
14448  significa que no se permite hacerlo; 
14449 \begin_inset Flex Code
14450 status collapsed
14451
14452 \begin_layout Plain Layout
14453 0
14454 \end_layout
14455
14456 \end_inset
14457
14458  significa que puede hacerse si se desea.
14459 \end_layout
14460
14461 \begin_layout Description
14462 \begin_inset Flex Code
14463 status collapsed
14464
14465 \begin_layout Plain Layout
14466 ObsoletedBy
14467 \end_layout
14468
14469 \end_inset
14470
14471  [
14472 \begin_inset Flex Code
14473 status collapsed
14474
14475 \begin_layout Plain Layout
14476 <name>
14477 \end_layout
14478
14479 \end_inset
14480
14481 ] Nombre de un estilo que ha reemplazado este estilo.
14482  Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
14483 d hacia atrás.
14484 \end_layout
14485
14486 \begin_layout Description
14487 \begin_inset Flex Code
14488 status collapsed
14489
14490 \begin_layout Plain Layout
14491 ParagraphGroup
14492 \end_layout
14493
14494 \end_inset
14495
14496  [
14497 \begin_inset Flex Code
14498 status collapsed
14499
14500 \begin_layout Plain Layout
14501 0
14502 \end_layout
14503
14504 \end_inset
14505
14506 ,
14507 \begin_inset space \thinspace{}
14508 \end_inset
14509
14510
14511 \begin_inset Flex Code
14512 status collapsed
14513
14514 \begin_layout Plain Layout
14515 1
14516 \end_layout
14517
14518 \end_inset
14519
14520 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran
14521  juntos.
14522  Esto tiene el efecto de que 
14523 \begin_inset Flex Code
14524 status collapsed
14525
14526 \begin_layout Plain Layout
14527 GuiLabel
14528 \end_layout
14529
14530 \end_inset
14531
14532  solo se imprime una vez delante de tal grupo.
14533  Por omisión, esto es así para 
14534 \begin_inset Flex Code
14535 status collapsed
14536
14537 \begin_layout Plain Layout
14538 LaTeXType
14539 \end_layout
14540
14541 \end_inset
14542
14543  
14544 \begin_inset Flex Code
14545 status collapsed
14546
14547 \begin_layout Plain Layout
14548 Environment
14549 \end_layout
14550
14551 \end_inset
14552
14553  y 
14554 \begin_inset Flex Code
14555 status collapsed
14556
14557 \begin_layout Plain Layout
14558 Bib_Environment
14559 \end_layout
14560
14561 \end_inset
14562
14563  y no lo es para los demás tipos.
14564 \end_layout
14565
14566 \begin_layout Description
14567 \begin_inset Flex Code
14568 status collapsed
14569
14570 \begin_layout Plain Layout
14571 ParbreakIsNewline
14572 \end_layout
14573
14574 \end_inset
14575
14576  [
14577 \begin_inset Flex Code
14578 status collapsed
14579
14580 \begin_layout Plain Layout
14581
14582 \emph on
14583 0
14584 \end_layout
14585
14586 \end_inset
14587
14588 ,
14589 \begin_inset space \thinspace{}
14590 \end_inset
14591
14592
14593 \begin_inset Flex Code
14594 status collapsed
14595
14596 \begin_layout Plain Layout
14597 1
14598 \end_layout
14599
14600 \end_inset
14601
14602 ] Indica que los párrafos no serán separados por una línea vacía en la salida
14603  \SpecialChar LaTeX
14604 , solo por un salto de línea; junto con 
14605 \begin_inset Flex Code
14606 status collapsed
14607
14608 \begin_layout Plain Layout
14609 PassThru 1
14610 \end_layout
14611
14612 \end_inset
14613
14614 , esto permite emular un editor de texto simple (como un recuadro ERT).
14615 \end_layout
14616
14617 \begin_layout Description
14618 \begin_inset Flex Code
14619 status collapsed
14620
14621 \begin_layout Plain Layout
14622 ParIndent
14623 \end_layout
14624
14625 \end_inset
14626
14627  [
14628 \begin_inset Flex Code
14629 status collapsed
14630
14631 \begin_layout Plain Layout
14632 string=""
14633 \end_layout
14634
14635 \end_inset
14636
14637 ] El sangrado de la primera línea de un párrafo.
14638  
14639 \begin_inset Flex Code
14640 status collapsed
14641
14642 \begin_layout Plain Layout
14643 Parindent
14644 \end_layout
14645
14646 \end_inset
14647
14648  estará fijado para un determinado estilo.
14649  La excepción es el estilo 
14650 \begin_inset Flex Code
14651 status collapsed
14652
14653 \begin_layout Plain Layout
14654 Normal
14655 \end_layout
14656
14657 \end_inset
14658
14659 , puesto que la sangría de un párrafo de estilo 
14660 \begin_inset Flex Code
14661 status collapsed
14662
14663 \begin_layout Plain Layout
14664 Normal
14665 \end_layout
14666
14667 \end_inset
14668
14669  puede prohibirse con 
14670 \begin_inset Flex Code
14671 status collapsed
14672
14673 \begin_layout Plain Layout
14674 NextNoIndent
14675 \end_layout
14676
14677 \end_inset
14678
14679 .
14680  Además, los párrafos de estilo 
14681 \begin_inset Flex Code
14682 status collapsed
14683
14684 \begin_layout Plain Layout
14685 Normal
14686 \end_layout
14687
14688 \end_inset
14689
14690  dentro de entornos usan la sangría 
14691 \begin_inset Flex Code
14692 status collapsed
14693
14694 \begin_layout Plain Layout
14695 Parindent
14696 \end_layout
14697
14698 \end_inset
14699
14700  del entorno, no su propio valor.
14701  Por ejemplo, los párrafos 
14702 \begin_inset Flex Code
14703 status collapsed
14704
14705 \begin_layout Plain Layout
14706 Normal
14707 \end_layout
14708
14709 \end_inset
14710
14711  en una enumeración no se sangran.
14712 \end_layout
14713
14714 \begin_layout Description
14715 \begin_inset Flex Code
14716 status collapsed
14717
14718 \begin_layout Plain Layout
14719 ParSep
14720 \end_layout
14721
14722 \end_inset
14723
14724  [
14725 \begin_inset Flex Code
14726 status collapsed
14727
14728 \begin_layout Plain Layout
14729 float=0
14730 \end_layout
14731
14732 \end_inset
14733
14734 ] El espacio vertical entre dos párrafos de este estilo.
14735 \end_layout
14736
14737 \begin_layout Description
14738 \begin_inset Flex Code
14739 status collapsed
14740
14741 \begin_layout Plain Layout
14742 Parskip
14743 \end_layout
14744
14745 \end_inset
14746
14747  [
14748 \begin_inset Flex Code
14749 status collapsed
14750
14751 \begin_layout Plain Layout
14752 float=0
14753 \end_layout
14754
14755 \end_inset
14756
14757 ] \SpecialChar LyX
14758  permite al usuario elegir entre 
14759 \begin_inset Quotes cld
14760 \end_inset
14761
14762 sangrado
14763 \begin_inset Quotes crd
14764 \end_inset
14765
14766  o 
14767 \begin_inset Quotes cld
14768 \end_inset
14769
14770 espacio vertical
14771 \begin_inset Quotes crd
14772 \end_inset
14773
14774  para separar párrafos.
14775  Si se elige 
14776 \begin_inset Quotes cld
14777 \end_inset
14778
14779 sangrado
14780 \begin_inset Quotes crd
14781 \end_inset
14782
14783 , este valor es completamente ignorado.
14784  Si se elige 
14785 \begin_inset Quotes cld
14786 \end_inset
14787
14788 espacio vertical
14789 \begin_inset Quotes crd
14790 \end_inset
14791
14792 , el sangrado de un estilo tipo 
14793 \begin_inset Quotes cld
14794 \end_inset
14795
14796 Párrafo
14797 \begin_inset Quotes crd
14798 \end_inset
14799
14800  de \SpecialChar LaTeX
14801  se ignora y todos los párrafos son separados con este argumento 
14802 \begin_inset Quotes cld
14803 \end_inset
14804
14805 parskip
14806 \begin_inset Quotes crd
14807 \end_inset
14808
14809 .
14810  El espacio vertical se calcula con 
14811 \begin_inset Flex Code
14812 status collapsed
14813
14814 \begin_layout Plain Layout
14815 Parskip
14816 \begin_inset space ~
14817 \end_inset
14818
14819 * DefaultHeight
14820 \end_layout
14821
14822 \end_inset
14823
14824 , donde 
14825 \begin_inset Flex Code
14826 status collapsed
14827
14828 \begin_layout Plain Layout
14829 DefaultHeight
14830 \end_layout
14831
14832 \end_inset
14833
14834  es la altura de una fila con la tipografía normal.
14835  De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14836 \end_layout
14837
14838 \begin_layout Description
14839 \begin_inset Flex Code
14840 status collapsed
14841
14842 \begin_layout Plain Layout
14843 PassThru
14844 \end_layout
14845
14846 \end_inset
14847
14848  [
14849 \emph on
14850
14851 \begin_inset Flex Code
14852 status collapsed
14853
14854 \begin_layout Plain Layout
14855
14856 \emph on
14857 0
14858 \end_layout
14859
14860 \end_inset
14861
14862
14863 \emph default
14864 ,
14865 \begin_inset space \thinspace{}
14866 \end_inset
14867
14868
14869 \begin_inset Flex Code
14870 status collapsed
14871
14872 \begin_layout Plain Layout
14873 1
14874 \end_layout
14875
14876 \end_inset
14877
14878 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14879  cruda, es decir sin las traducciones especiales que \SpecialChar LaTeX
14880  necesitaría.
14881 \end_layout
14882
14883 \begin_layout Description
14884 \begin_inset Flex Code
14885 status collapsed
14886
14887 \begin_layout Plain Layout
14888 PassThruChars
14889 \end_layout
14890
14891 \end_inset
14892
14893  [
14894 \begin_inset Flex Code
14895 status collapsed
14896
14897 \begin_layout Plain Layout
14898 string
14899 \end_layout
14900
14901 \end_inset
14902
14903 ]
14904 \family typewriter
14905  
14906 \family default
14907 Define caracteres individuales que deberían emitirse en bruto, o sea, sin
14908  traducciones especiales que \SpecialChar LaTeX
14909  podría requerir.
14910 \end_layout
14911
14912 \begin_layout Description
14913 \begin_inset Flex Code
14914 status collapsed
14915
14916 \begin_layout Plain Layout
14917 Preamble
14918 \end_layout
14919
14920 \end_inset
14921
14922  Información a incluir en el preámbulo \SpecialChar LaTeX
14923  cuando se usa este estilo.
14924  Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14925  estilo en particular.
14926  Debe terminar con 
14927 \begin_inset Quotes cld
14928 \end_inset
14929
14930
14931 \begin_inset Flex Code
14932 status collapsed
14933
14934 \begin_layout Plain Layout
14935 EndPreamble
14936 \end_layout
14937
14938 \end_inset
14939
14940
14941 \begin_inset Quotes crd
14942 \end_inset
14943
14944 .
14945 \end_layout
14946
14947 \begin_layout Description
14948 \begin_inset Flex Code
14949 status collapsed
14950
14951 \begin_layout Plain Layout
14952 RefPrefix
14953 \end_layout
14954
14955 \end_inset
14956
14957  [
14958 \begin_inset Flex Code
14959 status collapsed
14960
14961 \begin_layout Plain Layout
14962 string
14963 \end_layout
14964
14965 \end_inset
14966
14967 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14968  de este tipo.
14969  Esto permite el uso de referencias con formato.
14970 \end_layout
14971
14972 \begin_layout Description
14973 \begin_inset Flex Code
14974 status collapsed
14975
14976 \begin_layout Plain Layout
14977 Requires
14978 \end_layout
14979
14980 \end_inset
14981
14982
14983 \series medium
14984  [
14985 \begin_inset Flex Code
14986 status collapsed
14987
14988 \begin_layout Plain Layout
14989 string
14990 \end_layout
14991
14992 \end_inset
14993
14994 ]
14995 \series default
14996  Si el estilo requiere la característica 
14997 \begin_inset Flex Code
14998 status collapsed
14999
15000 \begin_layout Plain Layout
15001 string
15002 \end_layout
15003
15004 \end_inset
15005
15006  (véase la lista en 
15007 \begin_inset CommandInset ref
15008 LatexCommand ref
15009 reference "cap:Lista-de-funciones"
15010
15011 \end_inset
15012
15013 ).
15014  Si necesitas un paquete con opciones específicas puedes usar además 
15015 \begin_inset Flex Code
15016 status collapsed
15017
15018 \begin_layout Plain Layout
15019 PackageOptions
15020 \end_layout
15021
15022 \end_inset
15023
15024  como un parámetro de clase de texto general (véase 
15025 \begin_inset CommandInset ref
15026 LatexCommand ref
15027 reference "subsec:Parámetros-generales-clases"
15028
15029 \end_inset
15030
15031 ).
15032 \end_layout
15033
15034 \begin_layout Description
15035 \begin_inset Flex Code
15036 status collapsed
15037
15038 \begin_layout Plain Layout
15039 ResetArgs
15040 \end_layout
15041
15042 \end_inset
15043
15044  [
15045 \begin_inset Flex Code
15046 status collapsed
15047
15048 \begin_layout Plain Layout
15049
15050 \emph on
15051 0
15052 \end_layout
15053
15054 \end_inset
15055
15056 ,
15057 \begin_inset Flex Code
15058 status collapsed
15059
15060 \begin_layout Plain Layout
15061 1
15062 \end_layout
15063
15064 \end_inset
15065
15066 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta
15067  
15068 \begin_inset Flex Code
15069 status collapsed
15070
15071 \begin_layout Plain Layout
15072 Argument
15073 \end_layout
15074
15075 \end_inset
15076
15077 ).
15078  Es útil si has copiado un estilo mediante 
15079 \begin_inset Flex Code
15080 status collapsed
15081
15082 \begin_layout Plain Layout
15083 CopyStyle
15084 \end_layout
15085
15086 \end_inset
15087
15088 , pero no quieres heredar sus argumentos (requerido y opcional).
15089 \end_layout
15090
15091 \begin_layout Description
15092
15093 \lang english
15094 \begin_inset Flex Code
15095 status collapsed
15096
15097 \begin_layout Plain Layout
15098
15099 \lang english
15100 ResumeCounter
15101 \end_layout
15102
15103 \end_inset
15104
15105  [
15106 \begin_inset Flex Code
15107 status collapsed
15108
15109 \begin_layout Plain Layout
15110
15111 \emph on
15112 \lang english
15113 0
15114 \end_layout
15115
15116 \end_inset
15117
15118 ,
15119 \begin_inset Flex Code
15120 status collapsed
15121
15122 \begin_layout Plain Layout
15123
15124 \lang english
15125 1
15126 \end_layout
15127
15128 \end_inset
15129
15130 ] Resumes a counter that is usually reset at each new sequence of layouts.
15131  This is currently only useful when 
15132 \begin_inset Flex Code
15133 status collapsed
15134
15135 \begin_layout Plain Layout
15136
15137 \lang english
15138 LabelType
15139 \end_layout
15140
15141 \end_inset
15142
15143  is 
15144 \begin_inset Flex Code
15145 status collapsed
15146
15147 \begin_layout Plain Layout
15148
15149 \lang english
15150 Enumerate
15151 \end_layout
15152
15153 \end_inset
15154
15155 .
15156 \end_layout
15157
15158 \begin_layout Description
15159 \begin_inset Flex Code
15160 status collapsed
15161
15162 \begin_layout Plain Layout
15163 RightDelim
15164 \end_layout
15165
15166 \end_inset
15167
15168  [
15169 \begin_inset Flex Code
15170 status collapsed
15171
15172 \begin_layout Plain Layout
15173 string
15174 \end_layout
15175
15176 \end_inset
15177
15178 ] Secuencia que se pone al final del contenido del formato.
15179  Un salto de línea en la salida se puede indicar con 
15180 \begin_inset Flex Code
15181 status collapsed
15182
15183 \begin_layout Plain Layout
15184 <br/>
15185 \end_layout
15186
15187 \end_inset
15188
15189 .
15190 \end_layout
15191
15192 \begin_layout Description
15193 \begin_inset Flex Code
15194 status collapsed
15195
15196 \begin_layout Plain Layout
15197 RightMargin
15198 \end_layout
15199
15200 \end_inset
15201
15202  [
15203 \begin_inset Flex Code
15204 status collapsed
15205
15206 \begin_layout Plain Layout
15207 string=""
15208 \end_layout
15209
15210 \end_inset
15211
15212 ] Similar a 
15213 \begin_inset Flex Code
15214 status collapsed
15215
15216 \begin_layout Plain Layout
15217 LeftMargin
15218 \end_layout
15219
15220 \end_inset
15221
15222 .
15223 \end_layout
15224
15225 \begin_layout Description
15226 \begin_inset Flex Code
15227 status collapsed
15228
15229 \begin_layout Plain Layout
15230 Spacing
15231 \end_layout
15232
15233 \end_inset
15234
15235  [
15236 \begin_inset Flex Code
15237 status collapsed
15238
15239 \begin_layout Plain Layout
15240
15241 \emph on
15242 single
15243 \end_layout
15244
15245 \end_inset
15246
15247
15248 \begin_inset Flex Code
15249 status collapsed
15250
15251 \begin_layout Plain Layout
15252 onehalf
15253 \end_layout
15254
15255 \end_inset
15256
15257
15258 \begin_inset Flex Code
15259 status collapsed
15260
15261 \begin_layout Plain Layout
15262 double
15263 \end_layout
15264
15265 \end_inset
15266
15267
15268 \begin_inset Flex Code
15269 status collapsed
15270
15271 \begin_layout Plain Layout
15272 other
15273 \begin_inset space ~
15274 \end_inset
15275
15276 <valor>
15277 \end_layout
15278
15279 \end_inset
15280
15281 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15282  Los argumentos 
15283 \begin_inset Flex Code
15284 status collapsed
15285
15286 \begin_layout Plain Layout
15287 single
15288 \end_layout
15289
15290 \end_inset
15291
15292
15293 \begin_inset Flex Code
15294 status collapsed
15295
15296 \begin_layout Plain Layout
15297 onehalf
15298 \end_layout
15299
15300 \end_inset
15301
15302  y 
15303 \begin_inset Flex Code
15304 status collapsed
15305
15306 \begin_layout Plain Layout
15307 double
15308 \end_layout
15309
15310 \end_inset
15311
15312  corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
15313  Si se especifica el argumento 
15314 \begin_inset Flex Code
15315 status collapsed
15316
15317 \begin_layout Plain Layout
15318 other
15319 \end_layout
15320
15321 \end_inset
15322
15323 , entonces se debería proporcionar además un argumento numérico que será
15324  el valor real del multiplicador.
15325  Anotar que, al contrario que otros parámetros, 
15326 \begin_inset Flex Code
15327 status collapsed
15328
15329 \begin_layout Plain Layout
15330 Spacing
15331 \end_layout
15332
15333 \end_inset
15334
15335  implica la generación de código \SpecialChar LaTeX
15336  específico, usando el paquete \SpecialChar LaTeX
15337  
15338 \begin_inset Flex Code
15339 status collapsed
15340
15341 \begin_layout Plain Layout
15342 setspace
15343 \end_layout
15344
15345 \end_inset
15346
15347 .
15348 \end_layout
15349
15350 \begin_layout Description
15351 \begin_inset Flex Code
15352 status collapsed
15353
15354 \begin_layout Plain Layout
15355 Spellcheck
15356 \end_layout
15357
15358 \end_inset
15359
15360  [
15361 \begin_inset Flex Code
15362 status collapsed
15363
15364 \begin_layout Plain Layout
15365 0
15366 \end_layout
15367
15368 \end_inset
15369
15370 ,
15371 \emph on
15372
15373 \begin_inset space \thinspace{}
15374 \end_inset
15375
15376
15377 \emph default
15378
15379 \begin_inset Flex Code
15380 status collapsed
15381
15382 \begin_layout Plain Layout
15383
15384 \emph on
15385 1
15386 \end_layout
15387
15388 \end_inset
15389
15390 ] Corrección ortográfica de párrafos de este estilo.
15391  Por omisión, sí.
15392 \end_layout
15393
15394 \begin_layout Description
15395
15396 \lang english
15397 \begin_inset Flex Code
15398 status collapsed
15399
15400 \begin_layout Plain Layout
15401
15402 \lang english
15403 StepMasterCounter
15404 \end_layout
15405
15406 \end_inset
15407
15408  [
15409 \begin_inset Flex Code
15410 status collapsed
15411
15412 \begin_layout Plain Layout
15413
15414 \emph on
15415 \lang english
15416 0
15417 \end_layout
15418
15419 \end_inset
15420
15421 ,
15422 \begin_inset Flex Code
15423 status collapsed
15424
15425 \begin_layout Plain Layout
15426
15427 \lang english
15428 1
15429 \end_layout
15430
15431 \end_inset
15432
15433 ] Steps the master counter of a given counter at the beginning of a new
15434  sequence of layouts.
15435  This is currently only useful when 
15436 \begin_inset Flex Code
15437 status collapsed
15438
15439 \begin_layout Plain Layout
15440
15441 \lang english
15442 LabelType
15443 \end_layout
15444
15445 \end_inset
15446
15447  is 
15448 \begin_inset Flex Code
15449 status collapsed
15450
15451 \begin_layout Plain Layout
15452
15453 \lang english
15454 Enumerate
15455 \end_layout
15456
15457 \end_inset
15458
15459 .
15460 \end_layout
15461
15462 \begin_layout Description
15463 \begin_inset Flex Code
15464 status collapsed
15465
15466 \begin_layout Plain Layout
15467 TextFont
15468 \end_layout
15469
15470 \end_inset
15471
15472  La tipografía para el cuerpo del texto.
15473  Véase la sección 
15474 \begin_inset CommandInset ref
15475 LatexCommand ref
15476 reference "subsec:Tipografía"
15477
15478 \end_inset
15479
15480 .
15481 \end_layout
15482
15483 \begin_layout Description
15484 \begin_inset Flex Code
15485 status collapsed
15486
15487 \begin_layout Plain Layout
15488 TocLevel
15489 \end_layout
15490
15491 \end_inset
15492
15493  [
15494 \begin_inset Flex Code
15495 status collapsed
15496
15497 \begin_layout Plain Layout
15498 int=3
15499 \end_layout
15500
15501 \end_inset
15502
15503 ] El nivel del estilo en el índice general.
15504  Esto se usa para la numeración automática de los encabezados de sección.
15505 \end_layout
15506
15507 \begin_layout Description
15508 \begin_inset Flex Code
15509 status collapsed
15510
15511 \begin_layout Plain Layout
15512 ToggleIndent
15513 \end_layout
15514
15515 \end_inset
15516
15517  [
15518 \emph on
15519
15520 \begin_inset Flex Code
15521 status collapsed
15522
15523 \begin_layout Plain Layout
15524 default
15525 \end_layout
15526
15527 \end_inset
15528
15529
15530 \emph default
15531
15532 \begin_inset Flex Code
15533 status collapsed
15534
15535 \begin_layout Plain Layout
15536 always
15537 \end_layout
15538
15539 \end_inset
15540
15541
15542 \begin_inset Flex Code
15543 status collapsed
15544
15545 \begin_layout Plain Layout
15546 never
15547 \end_layout
15548
15549 \end_inset
15550
15551 ] Esta etiqueta determina si la sangría de primera línea de este párrafo
15552  puede conmutarse en el diálogo de configuración del párrafo.
15553  Si se establece 
15554 \emph on
15555
15556 \begin_inset Flex Code
15557 status collapsed
15558
15559 \begin_layout Plain Layout
15560
15561 \emph off
15562 default
15563 \end_layout
15564
15565 \end_inset
15566
15567
15568 \emph default
15569 , la sangría puede conmutarse si la configuración del documento usa estilo
15570  de párrafo 
15571 \begin_inset Quotes cld
15572 \end_inset
15573
15574 sangrado
15575 \begin_inset Quotes crd
15576 \end_inset
15577
15578 ; con 
15579 \begin_inset Flex Code
15580 status collapsed
15581
15582 \begin_layout Plain Layout
15583 always
15584 \end_layout
15585
15586 \end_inset
15587
15588 , la sangría se puede conmutar siempre, no importa la configuración del
15589  documento; con 
15590 \begin_inset Flex Code
15591 status collapsed
15592
15593 \begin_layout Plain Layout
15594 never
15595 \end_layout
15596
15597 \end_inset
15598
15599 , la sangría nunca se puede conmutar.
15600 \end_layout
15601
15602 \begin_layout Description
15603 \begin_inset Flex Code
15604 status collapsed
15605
15606 \begin_layout Plain Layout
15607 TopSep
15608 \end_layout
15609
15610 \end_inset
15611
15612  [
15613 \begin_inset Flex Code
15614 status collapsed
15615
15616 \begin_layout Plain Layout
15617 float=0
15618 \end_layout
15619
15620 \end_inset
15621
15622 ] El espacio vertical con el que el primero de una cadena de párrafos con
15623  este estilo se separa del párrafo anterior.
15624  Si el párrafo anterior tiene otro estilo, la separación no es simplemente
15625  añadida, sino que se pone la máxima.
15626 \end_layout
15627
15628 \begin_layout Subsection
15629 Internacionalización de estilos de párrafo
15630 \begin_inset CommandInset label
15631 LatexCommand label
15632 name "subsec:I18n"
15633
15634 \end_inset
15635
15636
15637 \end_layout
15638
15639 \begin_layout Standard
15640 \SpecialChar LyX
15641  ha soportado desde hace tiempo la internacionalización de la información
15642  de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
15643  de usuario y no a la salida, digamos, PDF.
15644  Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
15645  `Théorème 1' en vez de `Theorem 1'.
15646  Gracias a Georg Baum, este ya no es el caso.
15647 \end_layout
15648
15649 \begin_layout Standard
15650 Si un 
15651 \begin_inset Flex Code
15652 status collapsed
15653
15654 \begin_layout Plain Layout
15655 Style
15656 \end_layout
15657
15658 \end_inset
15659
15660  define texto que se mostrará en el documento exportado, puede usar 
15661 \begin_inset Flex Code
15662 status collapsed
15663
15664 \begin_layout Plain Layout
15665 LangPreamble
15666 \end_layout
15667
15668 \end_inset
15669
15670  y 
15671 \begin_inset Flex Code
15672 status collapsed
15673
15674 \begin_layout Plain Layout
15675 BabelPreamble
15676 \end_layout
15677
15678 \end_inset
15679
15680  para soportar correctamente documentos con idioma distinto del inglés e
15681  incluso documentos plurilingües.
15682  El siguiente extracto (del archivo 
15683 \begin_inset Flex Code
15684 status collapsed
15685
15686 \begin_layout Plain Layout
15687 theorems-ams.inc
15688 \end_layout
15689
15690 \end_inset
15691
15692 ) muestra cómo funciona:
15693 \end_layout
15694
15695 \begin_layout LyX-Code
15696 Preamble
15697 \end_layout
15698
15699 \begin_deeper
15700 \begin_layout LyX-Code
15701   
15702 \backslash
15703 theoremstyle{remark}
15704 \end_layout
15705
15706 \begin_layout LyX-Code
15707   
15708 \backslash
15709 newtheorem{claim}[thm]{
15710 \backslash
15711 protect
15712 \backslash
15713 claimname}
15714 \end_layout
15715
15716 \begin_layout LyX-Code
15717 EndPreamble
15718 \end_layout
15719
15720 \begin_layout LyX-Code
15721 LangPreamble
15722 \end_layout
15723
15724 \begin_layout LyX-Code
15725   
15726 \backslash
15727 providecommand{
15728 \backslash
15729 claimname}{_(Claim)}
15730 \end_layout
15731
15732 \begin_layout LyX-Code
15733 EndLangPreamble
15734 \end_layout
15735
15736 \begin_layout LyX-Code
15737 BabelPreamble
15738 \end_layout
15739
15740 \begin_layout LyX-Code
15741     
15742 \backslash
15743 addto
15744 \backslash
15745 captions$$lang{
15746 \backslash
15747 renewcommand{
15748 \backslash
15749 claimname}{_(Claim)}}
15750 \end_layout
15751
15752 \begin_layout LyX-Code
15753 EndBabelPreamble
15754 \end_layout
15755
15756 \end_deeper
15757 \begin_layout Standard
15758 En principio, cualquier \SpecialChar LaTeX
15759  legal puede aparecer en las etiquetas 
15760 \begin_inset Flex Code
15761 status collapsed
15762
15763 \begin_layout Plain Layout
15764 LangPreamble
15765 \end_layout
15766
15767 \end_inset
15768
15769  y 
15770 \begin_inset Flex Code
15771 status collapsed
15772
15773 \begin_layout Plain Layout
15774 BabelPreamble
15775 \end_layout
15776
15777 \end_inset
15778
15779 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
15780  La clave para una correcta traducción del texto impreso es la definición
15781  del comando \SpecialChar LaTeX
15782  
15783 \begin_inset Flex Code
15784 status collapsed
15785
15786 \begin_layout Plain Layout
15787
15788 \backslash
15789 claimname
15790 \end_layout
15791
15792 \end_inset
15793
15794  y su uso en 
15795 \begin_inset Flex Code
15796 status collapsed
15797
15798 \begin_layout Plain Layout
15799
15800 \backslash
15801 newtheorem
15802 \end_layout
15803
15804 \end_inset
15805
15806 .
15807  
15808 \end_layout
15809
15810 \begin_layout Standard
15811 La etiqueta 
15812 \begin_inset Flex Code
15813 status collapsed
15814
15815 \begin_layout Plain Layout
15816 LangPreamble
15817 \end_layout
15818
15819 \end_inset
15820
15821  proporciona internacionalización basada en el idioma global del documento.
15822  El contenido de la etiqueta se incluirá en el preámbulo, igual que con
15823  la etiqueta 
15824 \begin_inset Flex Code
15825 status collapsed
15826
15827 \begin_layout Plain Layout
15828 Preamble
15829 \end_layout
15830
15831 \end_inset
15832
15833 .
15834  Lo que la hace especial es el uso de la 
15835 \begin_inset Quotes eld
15836 \end_inset
15837
15838 función
15839 \begin_inset Quotes erd
15840 \end_inset
15841
15842  
15843 \begin_inset Flex Code
15844 status collapsed
15845
15846 \begin_layout Plain Layout
15847 _()
15848 \end_layout
15849
15850 \end_inset
15851
15852 , que será reemplazada, cuando \SpecialChar LyX
15853  genere la salida \SpecialChar LaTeX
15854 , por la traducción de
15855  su argumento al idioma del documento.
15856 \end_layout
15857
15858 \begin_layout Standard
15859 La etiqueta 
15860 \begin_inset Flex Code
15861 status collapsed
15862
15863 \begin_layout Plain Layout
15864 BabelPreamble
15865 \end_layout
15866
15867 \end_inset
15868
15869  es más compleja, puesto que está pensada para dar soporte a documentos
15870  plurilingües y ofrece una interfaz al paquete 
15871 \begin_inset Flex Code
15872 status collapsed
15873
15874 \begin_layout Plain Layout
15875 babel
15876 \end_layout
15877
15878 \end_inset
15879
15880 .
15881  Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
15882  en el documento.
15883  En este caso, el argumento en 
15884 \begin_inset Flex Code
15885 status collapsed
15886
15887 \begin_layout Plain Layout
15888 _()
15889 \end_layout
15890
15891 \end_inset
15892
15893  se reemplazará por su traducción al idioma en cuestión; la expresión 
15894 \begin_inset Flex Code
15895 status collapsed
15896
15897 \begin_layout Plain Layout
15898 $$lang
15899 \end_layout
15900
15901 \end_inset
15902
15903  es reemplazada por el nombre del idioma (el usado por el paquete babel).
15904 \end_layout
15905
15906 \begin_layout Standard
15907 Un documento en alemán que también incluya una sección en francés tendría
15908  lo siguiente en el preámbulo:
15909 \end_layout
15910
15911 \begin_layout LyX-Code
15912
15913 \backslash
15914 addto
15915 \backslash
15916 captionsfrench{
15917 \backslash
15918 renewcommand{
15919 \backslash
15920 claimname}{Affirmation}}
15921 \begin_inset Newline newline
15922 \end_inset
15923
15924
15925 \backslash
15926 addto
15927 \backslash
15928 captionsngerman{
15929 \backslash
15930 renewcommand{
15931 \backslash
15932 claimname}{Behauptung}}
15933 \begin_inset Newline newline
15934 \end_inset
15935
15936
15937 \backslash
15938 providecommand{
15939 \backslash
15940 claimname}{Behauptung}
15941 \end_layout
15942
15943 \begin_layout Standard
15944 \SpecialChar LaTeX
15945  y 
15946 \begin_inset Flex Code
15947 status collapsed
15948
15949 \begin_layout Plain Layout
15950 babel
15951 \end_layout
15952
15953 \end_inset
15954
15955  conspirarán para producir el texto correcto en la salida.
15956 \end_layout
15957
15958 \begin_layout Standard
15959 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
15960 nadas por el propio \SpecialChar LyX
15961 , por medio del archivo 
15962 \begin_inset Flex Code
15963 status collapsed
15964
15965 \begin_layout Plain Layout
15966 layouttranslations
15967 \end_layout
15968
15969 \end_inset
15970
15971 .
15972  Esto quiere decir, en definitiva, que 
15973 \begin_inset Flex Code
15974 status collapsed
15975
15976 \begin_layout Plain Layout
15977 LangPreamble
15978 \end_layout
15979
15980 \end_inset
15981
15982  y 
15983 \begin_inset Flex Code
15984 status collapsed
15985
15986 \begin_layout Plain Layout
15987 BabelPreamble
15988 \end_layout
15989
15990 \end_inset
15991
15992  realmente solo son útiles en archivos de formato que son proporcionados
15993  por \SpecialChar LyX
15994 , puesto que el texto introducido en archivos de formato creados por
15995  el usuario no serán tenidos en cuenta por las rutinas de internacionalización
15996  de \SpecialChar LyX
15997  a menos que el archivo 
15998 \begin_inset Flex Code
15999 status collapsed
16000
16001 \begin_layout Plain Layout
16002 layouttranslations
16003 \end_layout
16004
16005 \end_inset
16006
16007  se modifique como correponde.
16008  Sin embargo, cualquier formato creado con la intención de ser incluido
16009  en \SpecialChar LyX
16010  debería usar estas etiquetas en los lugares apropiados.
16011  Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16012
16013  nunca cambian en actualizaciones menores (p.
16014 \begin_inset space \thinspace{}
16015 \end_inset
16016
16017 e.
16018 \begin_inset space \space{}
16019 \end_inset
16020
16021 de versión 2.1.x a 2.1.y).
16022  Sin embargo es muy probable que en actualizaciones mayores (p.
16023 \begin_inset space \thinspace{}
16024 \end_inset
16025
16026 e.
16027 \begin_inset space \space{}
16028 \end_inset
16029
16030 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16031 \end_layout
16032
16033 \begin_layout Subsection
16034 Flotantes
16035 \begin_inset CommandInset label
16036 LatexCommand label
16037 name "subsec:Flotantes"
16038
16039 \end_inset
16040
16041
16042 \end_layout
16043
16044 \begin_layout Standard
16045 Es necesario definir los flotantes (
16046 \begin_inset Flex Noun
16047 status collapsed
16048
16049 \begin_layout Plain Layout
16050 figura
16051 \end_layout
16052
16053 \end_inset
16054
16055
16056 \begin_inset Flex Noun
16057 status collapsed
16058
16059 \begin_layout Plain Layout
16060 cuadro
16061 \end_layout
16062
16063 \end_inset
16064
16065 , \SpecialChar ldots
16066 ) en la propia clase de texto.
16067  Los flotantes normales se incluyen en el archivo 
16068 \begin_inset Flex Code
16069 status collapsed
16070
16071 \begin_layout Plain Layout
16072 stdfloats.inc
16073 \end_layout
16074
16075 \end_inset
16076
16077 , así que no tendrás más que añadir
16078 \end_layout
16079
16080 \begin_layout LyX-Code
16081 Input stdfloats.inc
16082 \end_layout
16083
16084 \begin_layout Standard
16085 en tu archivo de formato.
16086  Si quieres implementar una clase de texto que proponga algún otro tipo
16087  de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16088 ), la información siguiente
16089  te servirá de ayuda:
16090 \end_layout
16091
16092 \begin_layout Description
16093 \begin_inset Flex Code
16094 status collapsed
16095
16096 \begin_layout Plain Layout
16097 AllowedPlacement
16098 \end_layout
16099
16100 \end_inset
16101
16102  [
16103 \begin_inset Flex Code
16104 status collapsed
16105
16106 \begin_layout Plain Layout
16107 string
16108 \end_layout
16109
16110 \end_inset
16111
16112 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16113  El valor es una secuencia de caracteres: 
16114 \emph on
16115 h
16116 \emph default
16117  (
16118 \begin_inset Quotes eld
16119 \end_inset
16120
16121 here if possible
16122 \begin_inset Quotes erd
16123 \end_inset
16124
16125 ), 
16126 \emph on
16127 t
16128 \emph default
16129  (
16130 \begin_inset Quotes eld
16131 \end_inset
16132
16133 top of page
16134 \begin_inset Quotes erd
16135 \end_inset
16136
16137 ), 
16138 \emph on
16139 b
16140 \emph default
16141  (
16142 \begin_inset Quotes eld
16143 \end_inset
16144
16145 bottom of page
16146 \begin_inset Quotes erd
16147 \end_inset
16148
16149 ), 
16150 \emph on
16151 p
16152 \emph default
16153  (
16154 \begin_inset Quotes eld
16155 \end_inset
16156
16157 page of floats
16158 \begin_inset Quotes erd
16159 \end_inset
16160
16161 ), 
16162 \emph on
16163 H
16164 \emph default
16165  (
16166 \begin_inset Quotes eld
16167 \end_inset
16168
16169 here definitely
16170 \begin_inset Quotes erd
16171 \end_inset
16172
16173 ) y 
16174 \emph on
16175 !
16176 \emph default
16177  (
16178 \begin_inset Quotes eld
16179 \end_inset
16180
16181 ignore LaTeX rules
16182 \begin_inset Quotes erd
16183 \end_inset
16184
16185 ).
16186  El orden no importa.
16187  Si las opciones de colocación no están permitidas usa string 
16188 \emph on
16189 none
16190 \emph default
16191 .
16192 \end_layout
16193
16194 \begin_layout Description
16195 \begin_inset Flex Code
16196 status collapsed
16197
16198 \begin_layout Plain Layout
16199 AllowsSideways
16200 \end_layout
16201
16202 \end_inset
16203
16204  [
16205 \begin_inset Flex Code
16206 status collapsed
16207
16208 \begin_layout Plain Layout
16209 0
16210 \end_layout
16211
16212 \end_inset
16213
16214 ,
16215 \begin_inset space \thinspace{}
16216 \end_inset
16217
16218
16219 \emph on
16220
16221 \begin_inset Flex Code
16222 status collapsed
16223
16224 \begin_layout Plain Layout
16225 1
16226 \end_layout
16227
16228 \end_inset
16229
16230
16231 \emph default
16232 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16233  
16234 \family typewriter
16235 rotfloat
16236 \family default
16237  (sidewaysfloat).
16238  Pon 
16239 \begin_inset Flex Code
16240 status collapsed
16241
16242 \begin_layout Plain Layout
16243 0
16244 \end_layout
16245
16246 \end_inset
16247
16248  si el flotante no soporta esta característica.
16249 \end_layout
16250
16251 \begin_layout Description
16252 \begin_inset Flex Code
16253 status collapsed
16254
16255 \begin_layout Plain Layout
16256 AllowsWide
16257 \end_layout
16258
16259 \end_inset
16260
16261  [
16262 \begin_inset Flex Code
16263 status collapsed
16264
16265 \begin_layout Plain Layout
16266 0
16267 \end_layout
16268
16269 \end_inset
16270
16271 ,
16272 \begin_inset space \thinspace{}
16273 \end_inset
16274
16275
16276 \emph on
16277
16278 \begin_inset Flex Code
16279 status collapsed
16280
16281 \begin_layout Plain Layout
16282 1
16283 \end_layout
16284
16285 \end_inset
16286
16287
16288 \emph default
16289 ] Define si el flotante tiene una variante asterisco que abarca columnas
16290  en un párrafo de dos columnas.
16291  Pon 
16292 \begin_inset Flex Code
16293 status collapsed
16294
16295 \begin_layout Plain Layout
16296 0
16297 \end_layout
16298
16299 \end_inset
16300
16301  si el flotante no soporta esta característica.
16302 \end_layout
16303
16304 \begin_layout Description
16305 \begin_inset Flex Code
16306 status collapsed
16307
16308 \begin_layout Plain Layout
16309 Extension
16310 \end_layout
16311
16312 \end_inset
16313
16314  [
16315 \begin_inset Flex Code
16316 status collapsed
16317
16318 \begin_layout Plain Layout
16319 string
16320 \end_layout
16321
16322 \end_inset
16323
16324 =
16325 \begin_inset Quotes erd
16326 \end_inset
16327
16328
16329 \begin_inset Quotes erd
16330 \end_inset
16331
16332 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
16333  (u otra cosa).
16334  \SpecialChar LaTeX
16335  escribe las leyendas en este archivo.
16336 \end_layout
16337
16338 \begin_layout Description
16339 \begin_inset Flex Code
16340 status collapsed
16341
16342 \begin_layout Plain Layout
16343 GuiName
16344 \end_layout
16345
16346 \end_inset
16347
16348  [
16349 \begin_inset Flex Code
16350 status collapsed
16351
16352 \begin_layout Plain Layout
16353 string
16354 \end_layout
16355
16356 \end_inset
16357
16358 =
16359 \begin_inset Quotes erd
16360 \end_inset
16361
16362
16363 \begin_inset Quotes erd
16364 \end_inset
16365
16366 ] La cadena que se usará en los menús y también para la leyenda.
16367  Esto se traduce al idioma actual si se usa.
16368 \end_layout
16369
16370 \begin_layout Description
16371 \begin_inset Flex Code
16372 status collapsed
16373
16374 \begin_layout Plain Layout
16375 HTML*
16376 \end_layout
16377
16378 \end_inset
16379
16380  Controlan la salida XHTML.
16381  Véase la sección
16382 \begin_inset space ~
16383 \end_inset
16384
16385
16386 \begin_inset CommandInset ref
16387 LatexCommand ref
16388 reference "sec:Etiquetas-para-XHTML"
16389
16390 \end_inset
16391
16392 .
16393 \end_layout
16394
16395 \begin_layout Description
16396 \begin_inset Flex Code
16397 status collapsed
16398
16399 \begin_layout Plain Layout
16400 IsPredefined
16401 \end_layout
16402
16403 \end_inset
16404
16405  [
16406 \emph on
16407
16408 \begin_inset Flex Code
16409 status collapsed
16410
16411 \begin_layout Plain Layout
16412 0
16413 \end_layout
16414
16415 \end_inset
16416
16417
16418 \emph default
16419 ,
16420 \begin_inset space \thinspace{}
16421 \end_inset
16422
16423
16424 \begin_inset Flex Code
16425 status collapsed
16426
16427 \begin_layout Plain Layout
16428 1
16429 \end_layout
16430
16431 \end_inset
16432
16433 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
16434 os cargar el paquete \SpecialChar LaTeX
16435  
16436 \begin_inset Flex Code
16437 status collapsed
16438
16439 \begin_layout Plain Layout
16440 float
16441 \end_layout
16442
16443 \end_inset
16444
16445  para definirlo sobre la marcha.
16446  Por omisión 
16447 \begin_inset Flex Code
16448 status collapsed
16449
16450 \begin_layout Plain Layout
16451 0
16452 \end_layout
16453
16454 \end_inset
16455
16456 , que significa: usar 
16457 \begin_inset Flex Code
16458 status collapsed
16459
16460 \begin_layout Plain Layout
16461 float
16462 \end_layout
16463
16464 \end_inset
16465
16466 .
16467  Deberá ponerse 
16468 \begin_inset Flex Code
16469 status collapsed
16470
16471 \begin_layout Plain Layout
16472 1
16473 \end_layout
16474
16475 \end_inset
16476
16477  si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
16478 .
16479 \end_layout
16480
16481 \begin_layout Description
16482 \begin_inset Flex Code
16483 status collapsed
16484
16485 \begin_layout Plain Layout
16486 ListCommand
16487 \end_layout
16488
16489 \end_inset
16490
16491  [
16492 \begin_inset Flex Code
16493 status collapsed
16494
16495 \begin_layout Plain Layout
16496 string
16497 \end_layout
16498
16499 \end_inset
16500
16501 =
16502 \begin_inset Quotes erd
16503 \end_inset
16504
16505
16506 \begin_inset Quotes erd
16507 \end_inset
16508
16509 ] El comando usado para generar una lista de flotantes de este tipo; debe
16510  omitirse el precedente `
16511 \backslash
16512 '.
16513  Esto 
16514 \emph on
16515 debe
16516 \emph default
16517  ponerse si 
16518 \begin_inset Flex Code
16519 status collapsed
16520
16521 \begin_layout Plain Layout
16522 UsesFloatPkg
16523 \end_layout
16524
16525 \end_inset
16526
16527  es `false', puesto que no hay una forma estándar de generar este comando.
16528  Se ignora si 
16529 \begin_inset Flex Code
16530 status collapsed
16531
16532 \begin_layout Plain Layout
16533 UsesFloatPkg
16534 \end_layout
16535
16536 \end_inset
16537
16538  es `true', porque en este caso sí hay una forma estándar de definir el
16539  comando.
16540 \end_layout
16541
16542 \begin_layout Description
16543 \begin_inset Flex Code
16544 status collapsed
16545
16546 \begin_layout Plain Layout
16547 ListName
16548 \end_layout
16549
16550 \end_inset
16551
16552  [
16553 \begin_inset Flex Code
16554 status collapsed
16555
16556 \begin_layout Plain Layout
16557 string
16558 \end_layout
16559
16560 \end_inset
16561
16562 =
16563 \begin_inset Quotes erd
16564 \end_inset
16565
16566
16567 \begin_inset Quotes erd
16568 \end_inset
16569
16570 ] Un título para una lista de flotantes de este tipo (índice de figuras,
16571  tablas o lo que sea).
16572  Se usa para el nombre del recuadro en \SpecialChar LyX
16573 ; se pasa a \SpecialChar LaTeX
16574  para usarlo como título
16575  allí; y se usa como título en la salida.
16576  Será traducido al idioma del documento.
16577 \end_layout
16578
16579 \begin_layout Description
16580 \begin_inset Flex Code
16581 status collapsed
16582
16583 \begin_layout Plain Layout
16584 NumberWithin
16585 \end_layout
16586
16587 \end_inset
16588
16589  [
16590 \begin_inset Flex Code
16591 status collapsed
16592
16593 \begin_layout Plain Layout
16594 string
16595 \end_layout
16596
16597 \end_inset
16598
16599 =
16600 \begin_inset Quotes erd
16601 \end_inset
16602
16603
16604 \begin_inset Quotes erd
16605 \end_inset
16606
16607 ] Este argumento (opcional) determina si los flotantes de esta clase serán
16608  numerados dentro de alguna unidad de sección del documento.
16609  Por ejemplo, si 
16610 \begin_inset Flex Code
16611 status collapsed
16612
16613 \begin_layout Plain Layout
16614 NumberWithin
16615 \end_layout
16616
16617 \end_inset
16618
16619  es 
16620 \begin_inset Quotes cld
16621 \end_inset
16622
16623
16624 \begin_inset Flex Code
16625 status collapsed
16626
16627 \begin_layout Plain Layout
16628 chapter
16629 \end_layout
16630
16631 \end_inset
16632
16633
16634 \begin_inset Quotes crd
16635 \end_inset
16636
16637 , los flotantes serán numerados dentro de los capítulos.
16638 \end_layout
16639
16640 \begin_layout Description
16641 \begin_inset Flex Code
16642 status collapsed
16643
16644 \begin_layout Plain Layout
16645 Placement
16646 \end_layout
16647
16648 \end_inset
16649
16650  [
16651 \begin_inset Flex Code
16652 status collapsed
16653
16654 \begin_layout Plain Layout
16655 string
16656 \end_layout
16657
16658 \end_inset
16659
16660 =
16661 \begin_inset Quotes erd
16662 \end_inset
16663
16664
16665 \begin_inset Quotes erd
16666 \end_inset
16667
16668 ] La colocación por omisión para la clase dada de flotantes.
16669  El valor de 
16670 \begin_inset Flex Code
16671 status collapsed
16672
16673 \begin_layout Plain Layout
16674 string
16675 \end_layout
16676
16677 \end_inset
16678
16679  deberá ser un estándar \SpecialChar LaTeX
16680
16681 \begin_inset Flex Code
16682 status collapsed
16683
16684 \begin_layout Plain Layout
16685 t
16686 \end_layout
16687
16688 \end_inset
16689
16690
16691 \begin_inset Flex Code
16692 status collapsed
16693
16694 \begin_layout Plain Layout
16695 b
16696 \end_layout
16697
16698 \end_inset
16699
16700
16701 \begin_inset Flex Code
16702 status collapsed
16703
16704 \begin_layout Plain Layout
16705 p
16706 \end_layout
16707
16708 \end_inset
16709
16710  y 
16711 \begin_inset Flex Code
16712 status collapsed
16713
16714 \begin_layout Plain Layout
16715 h
16716 \end_layout
16717
16718 \end_inset
16719
16720 , por 
16721 \begin_inset Quotes cld
16722 \end_inset
16723
16724 top
16725 \begin_inset Quotes crd
16726 \end_inset
16727
16728  (arriba), 
16729 \begin_inset Quotes cld
16730 \end_inset
16731
16732 bottom
16733 \begin_inset Quotes crd
16734 \end_inset
16735
16736  (abajo), 
16737 \begin_inset Quotes cld
16738 \end_inset
16739
16740 page
16741 \begin_inset Quotes crd
16742 \end_inset
16743
16744  (página), y 
16745 \begin_inset Quotes cld
16746 \end_inset
16747
16748 here
16749 \begin_inset Quotes crd
16750 \end_inset
16751
16752  (aquí), respectivamente.
16753 \begin_inset Foot
16754 status collapsed
16755
16756 \begin_layout Plain Layout
16757 Anotar que el orden de estas letras en la cadena es irrelevante, como en
16758  \SpecialChar LaTeX
16759 .
16760 \end_layout
16761
16762 \end_inset
16763
16764  Por encima de éstos hay un nuevo tipo, 
16765 \begin_inset Flex Code
16766 status collapsed
16767
16768 \begin_layout Plain Layout
16769 H
16770 \end_layout
16771
16772 \end_inset
16773
16774 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
16775  aquí, 
16776 \begin_inset Quotes cld
16777 \end_inset
16778
16779 here
16780 \begin_inset Quotes crd
16781 \end_inset
16782
16783 , y en ninguna otra parte.
16784  Anotar que, sin embargo, el colocador 
16785 \begin_inset Flex Code
16786 status collapsed
16787
16788 \begin_layout Plain Layout
16789 H
16790 \end_layout
16791
16792 \end_inset
16793
16794  es especial y, debido a detalles de implementación, no puede usarse en
16795  tipos de flotantes no empotrados.
16796  Si no comprendes lo que esto significa, usa solo 
16797 \begin_inset Quotes cld
16798 \end_inset
16799
16800
16801 \begin_inset Flex Code
16802 status collapsed
16803
16804 \begin_layout Plain Layout
16805 tbp
16806 \end_layout
16807
16808 \end_inset
16809
16810
16811 \begin_inset Quotes crd
16812 \end_inset
16813
16814 .
16815 \end_layout
16816
16817 \begin_layout Description
16818 \begin_inset Flex Code
16819 status collapsed
16820
16821 \begin_layout Plain Layout
16822 RefPrefix
16823 \end_layout
16824
16825 \end_inset
16826
16827  [
16828 \begin_inset Flex Code
16829 status collapsed
16830
16831 \begin_layout Plain Layout
16832 string
16833 \end_layout
16834
16835 \end_inset
16836
16837 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
16838  tipo.
16839  Esto permite el uso de referencias con formato.
16840  Puedes quitar cualquier 
16841 \begin_inset Flex Code
16842 status collapsed
16843
16844 \begin_layout Plain Layout
16845 RefPrefix
16846 \end_layout
16847
16848 \end_inset
16849
16850  puesto por un estilo copiado usando el valor especial 
16851 \begin_inset Quotes eld
16852 \end_inset
16853
16854 OFF
16855 \begin_inset Quotes erd
16856 \end_inset
16857
16858 , todas mayúsculas.
16859 \end_layout
16860
16861 \begin_layout Description
16862 \begin_inset Flex Code
16863 status collapsed
16864
16865 \begin_layout Plain Layout
16866 Style
16867 \end_layout
16868
16869 \end_inset
16870
16871  [
16872 \begin_inset Flex Code
16873 status collapsed
16874
16875 \begin_layout Plain Layout
16876 string
16877 \end_layout
16878
16879 \end_inset
16880
16881 =
16882 \begin_inset Quotes erd
16883 \end_inset
16884
16885
16886 \begin_inset Quotes erd
16887 \end_inset
16888
16889 ] El estilo usado cuando se define el flotante con 
16890 \begin_inset Flex Code
16891 status collapsed
16892
16893 \begin_layout Plain Layout
16894
16895 \backslash
16896 newfloat
16897 \end_layout
16898
16899 \end_inset
16900
16901 .
16902 \end_layout
16903
16904 \begin_layout Description
16905 \begin_inset Flex Code
16906 status collapsed
16907
16908 \begin_layout Plain Layout
16909 Type
16910 \end_layout
16911
16912 \end_inset
16913
16914  [
16915 \begin_inset Flex Code
16916 status collapsed
16917
16918 \begin_layout Plain Layout
16919 string
16920 \end_layout
16921
16922 \end_inset
16923
16924 =
16925 \begin_inset Quotes erd
16926 \end_inset
16927
16928
16929 \begin_inset Quotes erd
16930 \end_inset
16931
16932 ] El 
16933 \begin_inset Quotes cld
16934 \end_inset
16935
16936 tipo
16937 \begin_inset Quotes crd
16938 \end_inset
16939
16940  de la nueva clase de flotante, como programa o algoritmo.
16941  Después del apropiado 
16942 \begin_inset Flex Code
16943 status collapsed
16944
16945 \begin_layout Plain Layout
16946
16947 \backslash
16948 newfloat
16949 \end_layout
16950
16951 \end_inset
16952
16953 , comandos tales como 
16954 \begin_inset Flex Code
16955 status collapsed
16956
16957 \begin_layout Plain Layout
16958
16959 \backslash
16960 begin{program}
16961 \end_layout
16962
16963 \end_inset
16964
16965  o 
16966 \begin_inset Flex Code
16967 status collapsed
16968
16969 \begin_layout Plain Layout
16970
16971 \backslash
16972 end{algorithm*}
16973 \end_layout
16974
16975 \end_inset
16976
16977  estarán disponibles.
16978 \end_layout
16979
16980 \begin_layout Description
16981 \begin_inset Flex Code
16982 status collapsed
16983
16984 \begin_layout Plain Layout
16985 UsesFloatPkg
16986 \end_layout
16987
16988 \end_inset
16989
16990  [
16991 \begin_inset Flex Code
16992 status collapsed
16993
16994 \begin_layout Plain Layout
16995 0
16996 \end_layout
16997
16998 \end_inset
16999
17000 ,
17001 \begin_inset space \thinspace{}
17002 \end_inset
17003
17004
17005 \begin_inset Flex Code
17006 status collapsed
17007
17008 \begin_layout Plain Layout
17009
17010 \emph on
17011 1
17012 \end_layout
17013
17014 \end_inset
17015
17016 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17017  
17018 \begin_inset Flex Code
17019 status collapsed
17020
17021 \begin_layout Plain Layout
17022 float
17023 \end_layout
17024
17025 \end_inset
17026
17027 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
17028  por el propio \SpecialChar LyX
17029 .
17030 \end_layout
17031
17032 \begin_layout Standard
17033 Anotar que al definir un flotante con tipo 
17034 \begin_inset Flex Code
17035 status collapsed
17036
17037 \begin_layout Plain Layout
17038
17039 \emph on
17040 type
17041 \end_layout
17042
17043 \end_inset
17044
17045  automáticamente se define el correspondiente contador con nombre 
17046 \begin_inset Flex Code
17047 status collapsed
17048
17049 \begin_layout Plain Layout
17050
17051 \emph on
17052 type
17053 \end_layout
17054
17055 \end_inset
17056
17057 .
17058 \end_layout
17059
17060 \begin_layout Subsection
17061 Recuadros flexibles y formato del recuadro
17062 \begin_inset CommandInset label
17063 LatexCommand label
17064 name "subsec:estilo-del-texto"
17065
17066 \end_inset
17067
17068
17069 \end_layout
17070
17071 \begin_layout Standard
17072 Los recuadros flexibles son de tres tipos: 
17073 \end_layout
17074
17075 \begin_layout Itemize
17076 estilo del texto (
17077 \begin_inset Flex Code
17078 status collapsed
17079
17080 \begin_layout Plain Layout
17081 CharStyle
17082 \end_layout
17083
17084 \end_inset
17085
17086 ): estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17087  como 
17088 \begin_inset Flex Code
17089 status collapsed
17090
17091 \begin_layout Plain Layout
17092
17093 \backslash
17094 noun
17095 \end_layout
17096
17097 \end_inset
17098
17099  y 
17100 \begin_inset Flex Code
17101 status collapsed
17102
17103 \begin_layout Plain Layout
17104
17105 \backslash
17106 code
17107 \end_layout
17108
17109 \end_inset
17110
17111 .
17112 \end_layout
17113
17114 \begin_layout Itemize
17115 definido por el usuario (
17116 \begin_inset Flex Code
17117 status collapsed
17118
17119 \begin_layout Plain Layout
17120 Custom
17121 \end_layout
17122
17123 \end_inset
17124
17125 ): estos se pueden usar para definir recuadros plegables personalizados,
17126  del tipo de los de código \SpecialChar TeX
17127 , notas al pie y similares.
17128  Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
17129  mismo nombre (
17130 \begin_inset Flex Code
17131 status collapsed
17132
17133 \begin_layout Plain Layout
17134 endnotes
17135 \end_layout
17136
17137 \end_inset
17138
17139 ).
17140 \end_layout
17141
17142 \begin_layout Itemize
17143 elementos XML (
17144 \begin_inset Flex Code
17145 status collapsed
17146
17147 \begin_layout Plain Layout
17148 Element
17149 \end_layout
17150
17151 \end_inset
17152
17153 ): para usar con las clases DocBook.
17154 \end_layout
17155
17156 \begin_layout Standard
17157 Los recuadros flexibles se definen usando la etiqueta 
17158 \begin_inset Flex Code
17159 status collapsed
17160
17161 \begin_layout Plain Layout
17162 InsetLayout
17163 \end_layout
17164
17165 \end_inset
17166
17167 , que se explicará en un momento.
17168 \end_layout
17169
17170 \begin_layout Standard
17171 La etiqueta 
17172 \begin_inset Flex Code
17173 status collapsed
17174
17175 \begin_layout Plain Layout
17176 InsetLayout
17177 \end_layout
17178
17179 \end_inset
17180
17181  también sirve para otra función: puede utilizarse para personalizar el
17182  diseño general de muchos tipos diferentes de recuadros.
17183  Actualmente, 
17184 \begin_inset Flex Code
17185 status collapsed
17186
17187 \begin_layout Plain Layout
17188 InsetLayout
17189 \end_layout
17190
17191 \end_inset
17192
17193  permite personalizar los parámetros de diseño de notas al pie, notas al
17194  margen, notas, recuadros de código \SpecialChar TeX
17195  (ERT), ramas, listados de programa,
17196  índices, cuadros, tablas, algoritmos, URL, y leyendas, así como para definir
17197  recuadros flexibles.
17198 \end_layout
17199
17200 \begin_layout Standard
17201 La definición de 
17202 \begin_inset Flex Code
17203 status collapsed
17204
17205 \begin_layout Plain Layout
17206 InsetLayout
17207 \end_layout
17208
17209 \end_inset
17210
17211  debe comenzar con una línea de la forma:
17212 \end_layout
17213
17214 \begin_layout LyX-Code
17215 InsetLayout <type>
17216 \end_layout
17217
17218 \begin_layout Standard
17219 Aquí, 
17220 \begin_inset Flex Code
17221 status collapsed
17222
17223 \begin_layout Plain Layout
17224 <type>
17225 \end_layout
17226
17227 \end_inset
17228
17229  indica el recuadro cuyo formato se va a definir, y hay cuatro casos.
17230 \end_layout
17231
17232 \begin_layout Enumerate
17233 Se va a modificar el formato para un tipo de recuadro preexistente.
17234  En este caso, 
17235 \begin_inset Flex Code
17236 status collapsed
17237
17238 \begin_layout Plain Layout
17239 <type>
17240 \end_layout
17241
17242 \end_inset
17243
17244  puede ser uno cualquiera de los siguientes: 
17245 \begin_inset Flex Code
17246 status collapsed
17247
17248 \begin_layout Plain Layout
17249 Algorithm
17250 \end_layout
17251
17252 \end_inset
17253
17254
17255 \begin_inset Flex Code
17256 status collapsed
17257
17258 \begin_layout Plain Layout
17259 Branch
17260 \end_layout
17261
17262 \end_inset
17263
17264
17265 \begin_inset Flex Code
17266 status collapsed
17267
17268 \begin_layout Plain Layout
17269 Box
17270 \end_layout
17271
17272 \end_inset
17273
17274
17275 \begin_inset Flex Code
17276 status collapsed
17277
17278 \begin_layout Plain Layout
17279 Box:shaded
17280 \end_layout
17281
17282 \end_inset
17283
17284
17285 \begin_inset Flex Code
17286 status collapsed
17287
17288 \begin_layout Plain Layout
17289 Caption:Standard
17290 \end_layout
17291
17292 \end_inset
17293
17294
17295 \begin_inset Flex Code
17296 status collapsed
17297
17298 \begin_layout Plain Layout
17299 ERT
17300 \end_layout
17301
17302 \end_inset
17303
17304
17305 \begin_inset Flex Code
17306 status collapsed
17307
17308 \begin_layout Plain Layout
17309 Figure
17310 \end_layout
17311
17312 \end_inset
17313
17314
17315 \begin_inset Flex Code
17316 status collapsed
17317
17318 \begin_layout Plain Layout
17319 Foot
17320 \end_layout
17321
17322 \end_inset
17323
17324
17325 \begin_inset Flex Code
17326 status collapsed
17327
17328 \begin_layout Plain Layout
17329 Index
17330 \end_layout
17331
17332 \end_inset
17333
17334
17335 \begin_inset Flex Code
17336 status collapsed
17337
17338 \begin_layout Plain Layout
17339 Info
17340 \end_layout
17341
17342 \end_inset
17343
17344
17345 \begin_inset Flex Code
17346 status collapsed
17347
17348 \begin_layout Plain Layout
17349 Info:menu
17350 \end_layout
17351
17352 \end_inset
17353
17354
17355 \begin_inset Flex Code
17356 status collapsed
17357
17358 \begin_layout Plain Layout
17359 Info:shortcut
17360 \end_layout
17361
17362 \end_inset
17363
17364
17365 \begin_inset Flex Code
17366 status collapsed
17367
17368 \begin_layout Plain Layout
17369 Info:shortcuts
17370 \end_layout
17371
17372 \end_inset
17373
17374
17375 \begin_inset Flex Code
17376 status collapsed
17377
17378 \begin_layout Plain Layout
17379 Listings
17380 \end_layout
17381
17382 \end_inset
17383
17384
17385 \begin_inset Flex Code
17386 status collapsed
17387
17388 \begin_layout Plain Layout
17389 Marginal
17390 \end_layout
17391
17392 \end_inset
17393
17394
17395 \begin_inset Flex Code
17396 status collapsed
17397
17398 \begin_layout Plain Layout
17399 Note:Comment
17400 \end_layout
17401
17402 \end_inset
17403
17404
17405 \begin_inset Flex Code
17406 status collapsed
17407
17408 \begin_layout Plain Layout
17409 Note:Note
17410 \end_layout
17411
17412 \end_inset
17413
17414
17415 \begin_inset Flex Code
17416 status collapsed
17417
17418 \begin_layout Plain Layout
17419 Note:GreyedOut
17420 \end_layout
17421
17422 \end_inset
17423
17424
17425 \begin_inset Flex Code
17426 status collapsed
17427
17428 \begin_layout Plain Layout
17429 Table
17430 \end_layout
17431
17432 \end_inset
17433
17434 , o 
17435 \begin_inset Flex Code
17436 status collapsed
17437
17438 \begin_layout Plain Layout
17439 URL
17440 \end_layout
17441
17442 \end_inset
17443
17444 .
17445  
17446 \end_layout
17447
17448 \begin_layout Enumerate
17449 Se va a definir el formato para un recuadro flexible.
17450  En este caso, 
17451 \begin_inset Flex Code
17452 status collapsed
17453
17454 \begin_layout Plain Layout
17455 <type>
17456 \end_layout
17457
17458 \end_inset
17459
17460  debe de la forma 
17461 \begin_inset Quotes cld
17462 \end_inset
17463
17464
17465 \begin_inset Flex Code
17466 status collapsed
17467
17468 \begin_layout Plain Layout
17469 Flex:<name>
17470 \end_layout
17471
17472 \end_inset
17473
17474
17475 \begin_inset Quotes crd
17476 \end_inset
17477
17478 , donde 
17479 \begin_inset Flex Code
17480 status collapsed
17481
17482 \begin_layout Plain Layout
17483 name
17484 \end_layout
17485
17486 \end_inset
17487
17488  ser cualquier identificador válido no utilizado por un recuadro preexistente.
17489  El identificador puede incluir espacios, pero en este caso debe ponerse
17490  todo entre comillas.
17491  Ten en cuenta que la definición de un flexible debe incluir 
17492 \emph on
17493 además
17494 \emph default
17495  una entrada 
17496 \begin_inset Flex Code
17497 status collapsed
17498
17499 \begin_layout Plain Layout
17500 \SpecialChar LyX
17501 Type
17502 \end_layout
17503
17504 \end_inset
17505
17506  declarando qué tipo de recuadro define.
17507 \end_layout
17508
17509 \begin_layout Enumerate
17510 Se va a definir el formato para rama específica de usuario.
17511  En este caso, 
17512 \begin_inset Flex Code
17513 status collapsed
17514
17515 \begin_layout Plain Layout
17516 <type>
17517 \end_layout
17518
17519 \end_inset
17520
17521  debe ser de la forma 
17522 \begin_inset Quotes cld
17523 \end_inset
17524
17525
17526 \begin_inset Flex Code
17527 status collapsed
17528
17529 \begin_layout Plain Layout
17530 Branch:<name>
17531 \end_layout
17532
17533 \end_inset
17534
17535
17536 \begin_inset Quotes crd
17537 \end_inset
17538
17539 , donde 
17540 \begin_inset Flex Code
17541 status collapsed
17542
17543 \begin_layout Plain Layout
17544 name
17545 \end_layout
17546
17547 \end_inset
17548
17549  puede ser cualquier identificador válido de rama definido en el documento
17550  del usuario.
17551  Este identificador puede incluir espacios, pero, en ese caso todo debe
17552  ir entre comillas.
17553  El propósito principal de esta característica es permitir a \SpecialChar LaTeX
17554  envolver ramas
17555  específicas como necesite el usuario.
17556 \end_layout
17557
17558 \begin_layout Enumerate
17559 Se va a definir el formato de una leyenda específica de usuario (o clase).
17560  En este caso, 
17561 \begin_inset Flex Code
17562 status collapsed
17563
17564 \begin_layout Plain Layout
17565 <type>
17566 \end_layout
17567
17568 \end_inset
17569
17570  debe ser de la forma 
17571 \begin_inset Quotes cld
17572 \end_inset
17573
17574
17575 \begin_inset Flex Code
17576 status collapsed
17577
17578 \begin_layout Plain Layout
17579 Caption:<name>
17580 \end_layout
17581
17582 \end_inset
17583
17584
17585 \begin_inset Quotes crd
17586 \end_inset
17587
17588 , donde 
17589 \begin_inset Flex Code
17590 status collapsed
17591
17592 \begin_layout Plain Layout
17593 name
17594 \end_layout
17595
17596 \end_inset
17597
17598  especifica el nombre de la leyenda como aparece en el menú.
17599  Repasa la leyenda estándar (
17600 \begin_inset Flex Code
17601 status collapsed
17602
17603 \begin_layout Plain Layout
17604 Caption:Standard
17605 \end_layout
17606
17607 \end_inset
17608
17609 ), las leyendas específicas de las clases KOMA-Script (
17610 \begin_inset Flex Code
17611 status collapsed
17612
17613 \begin_layout Plain Layout
17614 Caption:Above
17615 \end_layout
17616
17617 \end_inset
17618
17619
17620 \begin_inset Flex Code
17621 status collapsed
17622
17623 \begin_layout Plain Layout
17624 Caption:Below
17625 \end_layout
17626
17627 \end_inset
17628
17629 ) o el módulo 
17630 \family sans
17631 Multilingual
17632 \begin_inset space ~
17633 \end_inset
17634
17635 Captions
17636 \family default
17637  (
17638 \begin_inset Flex Code
17639 status collapsed
17640
17641 \begin_layout Plain Layout
17642 Caption:Bicaption
17643 \end_layout
17644
17645 \end_inset
17646
17647 ) para aplicaciones.
17648 \end_layout
17649
17650 \begin_layout Standard
17651 La definición de 
17652 \begin_inset Flex Code
17653 status collapsed
17654
17655 \begin_layout Plain Layout
17656 InsetLayout
17657 \end_layout
17658
17659 \end_inset
17660
17661  puede contener las siguientes entradas:
17662 \end_layout
17663
17664 \begin_layout Description
17665
17666 \lang english
17667 \begin_inset Flex Code
17668 status collapsed
17669
17670 \begin_layout Plain Layout
17671
17672 \lang english
17673 AddToToc
17674 \end_layout
17675
17676 \end_inset
17677
17678  [
17679 \begin_inset Flex Code
17680 status collapsed
17681
17682 \begin_layout Plain Layout
17683
17684 \lang english
17685 string
17686 \end_layout
17687
17688 \end_inset
17689
17690 =""] This inset will appear in the table of contents of the given type.
17691  An empty string disables.
17692  See also the OutlinerName and the IsTocCaption commands.
17693  This is only implemented for Flex insets.
17694  Default: disabled.
17695 \end_layout
17696
17697 \begin_layout Description
17698 \begin_inset Flex Code
17699 status collapsed
17700
17701 \begin_layout Plain Layout
17702 Argument
17703 \end_layout
17704
17705 \end_inset
17706
17707  [
17708 \begin_inset Flex Code
17709 status collapsed
17710
17711 \begin_layout Plain Layout
17712 int
17713 \end_layout
17714
17715 \end_inset
17716
17717 ] Define el número de argumento de un comando\SpecialChar breakableslash
17718 entorno asociado con el formato
17719  actual.
17720  La definición debe terminar con 
17721 \begin_inset Flex Code
17722 status collapsed
17723
17724 \begin_layout Plain Layout
17725 EndArgument
17726 \end_layout
17727
17728 \end_inset
17729
17730 .
17731  Véase 
17732 \begin_inset CommandInset ref
17733 LatexCommand ref
17734 reference "subsec:Estilos-de-párrafo"
17735
17736 \end_inset
17737
17738  para detalles.
17739 \end_layout
17740
17741 \begin_layout Description
17742 \begin_inset Flex Code
17743 status collapsed
17744
17745 \begin_layout Plain Layout
17746 BabelPreamble
17747 \end_layout
17748
17749 \end_inset
17750
17751  Preámbulo para comandos de cambio de idioma; véase 
17752 \begin_inset CommandInset ref
17753 LatexCommand ref
17754 reference "subsec:I18n"
17755
17756 \end_inset
17757
17758 .
17759 \end_layout
17760
17761 \begin_layout Description
17762 \begin_inset Flex Code
17763 status collapsed
17764
17765 \begin_layout Plain Layout
17766 BgColor
17767 \end_layout
17768
17769 \end_inset
17770
17771  [
17772 \begin_inset Flex Code
17773 status collapsed
17774
17775 \begin_layout Plain Layout
17776 <name>
17777 \end_layout
17778
17779 \end_inset
17780
17781 ] El color para el fondo del recuadro.
17782  Véase la lista de colores en 
17783 \begin_inset CommandInset ref
17784 LatexCommand ref
17785 reference "cap:Nombres-de-colores"
17786
17787 \end_inset
17788
17789 .
17790 \end_layout
17791
17792 \begin_layout Description
17793 \begin_inset Flex Code
17794 status collapsed
17795
17796 \begin_layout Plain Layout
17797 ContentAsLabel
17798 \end_layout
17799
17800 \end_inset
17801
17802  [
17803 \begin_inset Flex Code
17804 status collapsed
17805
17806 \begin_layout Plain Layout
17807
17808 \emph on
17809 0
17810 \end_layout
17811
17812 \end_inset
17813
17814 ,
17815 \begin_inset space \thinspace{}
17816 \end_inset
17817
17818
17819 \begin_inset Flex Code
17820 status collapsed
17821
17822 \begin_layout Plain Layout
17823 1
17824 \end_layout
17825
17826 \end_inset
17827
17828 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
17829  recuadro se cierra.
17830  Por omisión, falso.
17831 \end_layout
17832
17833 \begin_layout Description
17834 \begin_inset Flex Code
17835 status collapsed
17836
17837 \begin_layout Plain Layout
17838 CopyStyle
17839 \end_layout
17840
17841 \end_inset
17842
17843  [
17844 \begin_inset Flex Code
17845 status collapsed
17846
17847 \begin_layout Plain Layout
17848 <type>
17849 \end_layout
17850
17851 \end_inset
17852
17853 ] Como los estilos de párrafo, véase 
17854 \begin_inset CommandInset ref
17855 LatexCommand ref
17856 reference "subsec:Estilos-de-párrafo"
17857
17858 \end_inset
17859
17860 .
17861  Ten en cuenta que debes especificar el tipo completo, p.
17862 \begin_inset space \thinspace{}
17863 \end_inset
17864
17865 e.
17866 \begin_inset space ~
17867 \end_inset
17868
17869
17870 \begin_inset Flex Code
17871 status collapsed
17872
17873 \begin_layout Plain Layout
17874 CopyStyle Flex:<name>
17875 \end_layout
17876
17877 \end_inset
17878
17879 .
17880 \end_layout
17881
17882 \begin_layout Description
17883 \begin_inset Flex Code
17884 status collapsed
17885
17886 \begin_layout Plain Layout
17887 CustomPars
17888 \end_layout
17889
17890 \end_inset
17891
17892  [
17893 \begin_inset Flex Code
17894 status collapsed
17895
17896 \begin_layout Plain Layout
17897
17898 \emph on
17899 0
17900 \end_layout
17901
17902 \end_inset
17903
17904 ,
17905 \begin_inset space \thinspace{}
17906 \end_inset
17907
17908
17909 \begin_inset Flex Code
17910 status collapsed
17911
17912 \begin_layout Plain Layout
17913 1
17914 \end_layout
17915
17916 \end_inset
17917
17918 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
17919  para modificar el párrafo.
17920 \end_layout
17921
17922 \begin_layout Description
17923 \begin_inset Flex Code
17924 status collapsed
17925
17926 \begin_layout Plain Layout
17927 Decoration
17928 \end_layout
17929
17930 \end_inset
17931
17932  Puede ser 
17933 \begin_inset Flex Code
17934 status collapsed
17935
17936 \begin_layout Plain Layout
17937 Classic
17938 \end_layout
17939
17940 \end_inset
17941
17942
17943 \begin_inset Flex Code
17944 status collapsed
17945
17946 \begin_layout Plain Layout
17947 Minimalistic
17948 \end_layout
17949
17950 \end_inset
17951
17952 , o 
17953 \begin_inset Flex Code
17954 status collapsed
17955
17956 \begin_layout Plain Layout
17957 Conglomerate
17958 \end_layout
17959
17960 \end_inset
17961
17962 , que describe el estilo de presentación para el marco y los botones del
17963  recuadro.
17964  Las notas al pie usan generalmente 
17965 \begin_inset Flex Code
17966 status collapsed
17967
17968 \begin_layout Plain Layout
17969 Classic
17970 \end_layout
17971
17972 \end_inset
17973
17974 , los recuadros de código \SpecialChar TeX
17975  
17976 \begin_inset Flex Code
17977 status collapsed
17978
17979 \begin_layout Plain Layout
17980 Minimalistic
17981 \end_layout
17982
17983 \end_inset
17984
17985 , y los de estilos del texto 
17986 \begin_inset Flex Code
17987 status collapsed
17988
17989 \begin_layout Plain Layout
17990 Conglomerate
17991 \end_layout
17992
17993 \end_inset
17994
17995 .
17996 \end_layout
17997
17998 \begin_layout Description
17999 \begin_inset Flex Code
18000 status collapsed
18001
18002 \begin_layout Plain Layout
18003 Display
18004 \end_layout
18005
18006 \end_inset
18007
18008  [
18009 \begin_inset Flex Code
18010 status collapsed
18011
18012 \begin_layout Plain Layout
18013 0
18014 \end_layout
18015
18016 \end_inset
18017
18018 ,
18019 \begin_inset space \thinspace{}
18020 \end_inset
18021
18022
18023 \begin_inset Flex Code
18024 status collapsed
18025
18026 \begin_layout Plain Layout
18027
18028 \emph on
18029 1
18030 \end_layout
18031
18032 \end_inset
18033
18034 ] Solo es útil si 
18035 \begin_inset Flex Code
18036 status collapsed
18037
18038 \begin_layout Plain Layout
18039 LatexType
18040 \end_layout
18041
18042 \end_inset
18043
18044  es 
18045 \begin_inset Flex Code
18046 status collapsed
18047
18048 \begin_layout Plain Layout
18049 Environment
18050 \end_layout
18051
18052 \end_inset
18053
18054 .
18055  Indica si el entorno se ubicará en su propio espacio en la salida o si
18056  aparecerá en línea con el texto circundante.
18057  Si se pone falso, se supone que el entorno \SpecialChar LaTeX
18058  ignora los espacios en blanco
18059  (incluyendo un carácter de línea nueva) después de las etiquetas 
18060 \begin_inset Flex Code
18061 status collapsed
18062
18063 \begin_layout Plain Layout
18064
18065 \backslash
18066 begin{
18067 \emph on
18068 LatexName
18069 \emph default
18070 }
18071 \end_layout
18072
18073 \end_inset
18074
18075  y 
18076 \begin_inset Flex Code
18077 status collapsed
18078
18079 \begin_layout Plain Layout
18080
18081 \backslash
18082 end{
18083 \emph on
18084 LatexName
18085 \emph default
18086 }
18087 \end_layout
18088
18089 \end_inset
18090
18091 .
18092  Por omisión, verdadero.
18093 \end_layout
18094
18095 \begin_layout Description
18096 \begin_inset Flex Code
18097 status collapsed
18098
18099 \begin_layout Plain Layout
18100 End
18101 \end_layout
18102
18103 \end_inset
18104
18105  Requerido al final de las declaraciones de formato del recuadro 
18106 \begin_inset Flex Code
18107 status collapsed
18108
18109 \begin_layout Plain Layout
18110 InsetLayout
18111 \end_layout
18112
18113 \end_inset
18114
18115 .
18116 \end_layout
18117
18118 \begin_layout Description
18119 \begin_inset Flex Code
18120 status collapsed
18121
18122 \begin_layout Plain Layout
18123 Font
18124 \end_layout
18125
18126 \end_inset
18127
18128  La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18129  Véase la 
18130 \begin_inset CommandInset ref
18131 LatexCommand ref
18132 reference "subsec:Tipografía"
18133
18134 \end_inset
18135
18136 .
18137  Anotar que al definir esta tipografía se define automáticamente el mismo
18138  valor para la etiqueta, 
18139 \begin_inset Flex Code
18140 status collapsed
18141
18142 \begin_layout Plain Layout
18143 LabelFont
18144 \end_layout
18145
18146 \end_inset
18147
18148 , así que define aquella primero y después define 
18149 \begin_inset Flex Code
18150 status collapsed
18151
18152 \begin_layout Plain Layout
18153 LabelFont
18154 \end_layout
18155
18156 \end_inset
18157
18158  si las quieres diferentes.
18159 \end_layout
18160
18161 \begin_layout Description
18162 \begin_inset Flex Code
18163 status collapsed
18164
18165 \begin_layout Plain Layout
18166 FixedWidthPreambleEncoding
18167 \end_layout
18168
18169 \end_inset
18170
18171  [
18172 \begin_inset Flex Code
18173 status collapsed
18174
18175 \begin_layout Plain Layout
18176
18177 \emph on
18178 0
18179 \end_layout
18180
18181 \end_inset
18182
18183 ,
18184 \begin_inset space \thinspace{}
18185 \end_inset
18186
18187
18188 \begin_inset Flex Code
18189 status collapsed
18190
18191 \begin_layout Plain Layout
18192 1
18193 \end_layout
18194
18195 \end_inset
18196
18197 ] Fuerza una codificación de ancho fijo para el contenido traducido del
18198  código 
18199 \begin_inset Flex Code
18200 status collapsed
18201
18202 \begin_layout Plain Layout
18203 BabelPreamble
18204 \end_layout
18205
18206 \end_inset
18207
18208  y 
18209 \begin_inset Flex Code
18210 status collapsed
18211
18212 \begin_layout Plain Layout
18213 LangPreamble
18214 \end_layout
18215
18216 \end_inset
18217
18218  generado por este formato.
18219  Esto es necesario para paquetes especiales \SpecialChar LaTeX
18220  como 
18221 \family typewriter
18222 listings
18223 \family default
18224  que no trabajan con codificaciones de ancho variable como 
18225 \family sans
18226 utf8
18227 \family default
18228 .
18229  Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18230  compatibles totalmente
18231  con Unicode como Xe\SpecialChar TeX
18232  o Lua\SpecialChar TeX
18233 .
18234 \end_layout
18235
18236 \begin_layout Description
18237 \begin_inset Flex Code
18238 status collapsed
18239
18240 \begin_layout Plain Layout
18241 ForceLocalFontSwitch
18242 \end_layout
18243
18244 \end_inset
18245
18246  [
18247 \begin_inset Flex Code
18248 status collapsed
18249
18250 \begin_layout Plain Layout
18251
18252 \emph on
18253 0
18254 \end_layout
18255
18256 \end_inset
18257
18258 ,
18259 \begin_inset space \thinspace{}
18260 \end_inset
18261
18262
18263 \begin_inset Flex Code
18264 status collapsed
18265
18266 \begin_layout Plain Layout
18267 1
18268 \end_layout
18269
18270 \end_inset
18271
18272 ] Cuando se usa babel, usar siempre un cambiador de fuente local (
18273 \begin_inset Flex Code
18274 status collapsed
18275
18276 \begin_layout Plain Layout
18277
18278 \backslash
18279 foreignlanguage
18280 \end_layout
18281
18282 \end_inset
18283
18284 ), nunca uno global (como 
18285 \begin_inset Flex Code
18286 status collapsed
18287
18288 \begin_layout Plain Layout
18289
18290 \backslash
18291 selectlanguage
18292 \end_layout
18293
18294 \end_inset
18295
18296 ).
18297 \end_layout
18298
18299 \begin_layout Description
18300 \begin_inset Flex Code
18301 status collapsed
18302
18303 \begin_layout Plain Layout
18304 ForceLTR
18305 \end_layout
18306
18307 \end_inset
18308
18309  [
18310 \begin_inset Flex Code
18311 status collapsed
18312
18313 \begin_layout Plain Layout
18314
18315 \emph on
18316 0
18317 \end_layout
18318
18319 \end_inset
18320
18321 ,
18322 \begin_inset space \thinspace{}
18323 \end_inset
18324
18325
18326 \begin_inset Flex Code
18327 status collapsed
18328
18329 \begin_layout Plain Layout
18330 1
18331 \end_layout
18332
18333 \end_inset
18334
18335 ] Fuerza el idioma 
18336 \begin_inset Quotes cld
18337 \end_inset
18338
18339 latex
18340 \begin_inset Quotes crd
18341 \end_inset
18342
18343  que genera salida Izquierda-Derecha (latin), p.
18344 \begin_inset space \thinspace{}
18345 \end_inset
18346
18347 e.
18348 \begin_inset space \space{}
18349 \end_inset
18350
18351 en código \SpecialChar TeX
18352  o URL.
18353  Un parche.
18354 \end_layout
18355
18356 \begin_layout Description
18357 \begin_inset Flex Code
18358 status collapsed
18359
18360 \begin_layout Plain Layout
18361 ForceOwnlines
18362 \end_layout
18363
18364 \end_inset
18365
18366  [
18367 \begin_inset Flex Code
18368 status collapsed
18369
18370 \begin_layout Plain Layout
18371
18372 \emph on
18373 0
18374 \end_layout
18375
18376 \end_inset
18377
18378 ,
18379 \begin_inset space \thinspace{}
18380 \end_inset
18381
18382
18383 \begin_inset Flex Code
18384 status collapsed
18385
18386 \begin_layout Plain Layout
18387 1
18388 \end_layout
18389
18390 \end_inset
18391
18392 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
18393  antes de iniciarse el recuadro
18394  de inserción y después de finalizar.
18395  Esto asegura que el recuadro mismo se ubique en sus propias líneas, con
18396  fines de análisis.
18397 \end_layout
18398
18399 \begin_layout Description
18400 \begin_inset Flex Code
18401 status collapsed
18402
18403 \begin_layout Plain Layout
18404 ForcePlain
18405 \end_layout
18406
18407 \end_inset
18408
18409  [
18410 \begin_inset Flex Code
18411 status collapsed
18412
18413 \begin_layout Plain Layout
18414
18415 \emph on
18416 0
18417 \end_layout
18418
18419 \end_inset
18420
18421 ,
18422 \begin_inset space \thinspace{}
18423 \end_inset
18424
18425
18426 \begin_inset Flex Code
18427 status collapsed
18428
18429 \begin_layout Plain Layout
18430 1
18431 \end_layout
18432
18433 \end_inset
18434
18435 ] Indica si debería usarse 
18436 \begin_inset Flex Code
18437 status collapsed
18438
18439 \begin_layout Plain Layout
18440 PlainLayout
18441 \end_layout
18442
18443 \end_inset
18444
18445  o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
18446 \end_layout
18447
18448 \begin_layout Description
18449 \begin_inset Flex Code
18450 status collapsed
18451
18452 \begin_layout Plain Layout
18453 FreeSpacing
18454 \end_layout
18455
18456 \end_inset
18457
18458  [
18459 \emph on
18460
18461 \begin_inset Flex Code
18462 status collapsed
18463
18464 \begin_layout Plain Layout
18465 0
18466 \end_layout
18467
18468 \end_inset
18469
18470
18471 \emph default
18472 ,
18473 \begin_inset space \thinspace{}
18474 \end_inset
18475
18476
18477 \begin_inset Flex Code
18478 status collapsed
18479
18480 \begin_layout Plain Layout
18481 1
18482 \end_layout
18483
18484 \end_inset
18485
18486 ] Como en estilos de párrafo, véase 
18487 \begin_inset CommandInset ref
18488 LatexCommand ref
18489 reference "subsec:Estilos-de-párrafo"
18490
18491 \end_inset
18492
18493 .
18494 \end_layout
18495
18496 \begin_layout Description
18497 \begin_inset Flex Code
18498 status collapsed
18499
18500 \begin_layout Plain Layout
18501 HTML*
18502 \end_layout
18503
18504 \end_inset
18505
18506  Controlan la salida XHTML.
18507  Véase la 
18508 \begin_inset CommandInset ref
18509 LatexCommand ref
18510 reference "sec:Etiquetas-para-XHTML"
18511
18512 \end_inset
18513
18514 .
18515 \end_layout
18516
18517 \begin_layout Description
18518 \begin_inset Flex Code
18519 status collapsed
18520
18521 \begin_layout Plain Layout
18522 InToc
18523 \end_layout
18524
18525 \end_inset
18526
18527  [
18528 \begin_inset Flex Code
18529 status collapsed
18530
18531 \begin_layout Plain Layout
18532
18533 \emph on
18534 0
18535 \end_layout
18536
18537 \end_inset
18538
18539 ,
18540 \begin_inset space \thinspace{}
18541 \end_inset
18542
18543
18544 \begin_inset Flex Code
18545 status collapsed
18546
18547 \begin_layout Plain Layout
18548 1
18549 \end_layout
18550
18551 \end_inset
18552
18553 ] Incluye o no el contenido de este inset en la cadena generada para el
18554  panel 'Navegador de contorno'
18555 \lang english
18556  for all table of contents, regardless of the AddToToc setting
18557 \lang spanish
18558 .
18559  El no sería, por ejemplo, para que el contenido de una nota al pie en un
18560  encabezado de sección no aparezca en el índice que se despliega en el navegador
18561  de contorno, sin embargo, normalmente sí se incluiría el contenido de un
18562  estilo de carácter.
18563  Predeterminado es false: no incluir.
18564 \end_layout
18565
18566 \begin_layout Description
18567
18568 \lang english
18569 \begin_inset Flex Code
18570 status collapsed
18571
18572 \begin_layout Plain Layout
18573
18574 \lang english
18575 IsTocCaption
18576 \end_layout
18577
18578 \end_inset
18579
18580  [
18581 \begin_inset Flex Code
18582 status collapsed
18583
18584 \begin_layout Plain Layout
18585
18586 \emph on
18587 \lang english
18588 0
18589 \end_layout
18590
18591 \end_inset
18592
18593 ,
18594 \begin_inset space \thinspace{}
18595 \end_inset
18596
18597
18598 \begin_inset Flex Code
18599 status collapsed
18600
18601 \begin_layout Plain Layout
18602
18603 \lang english
18604 1
18605 \end_layout
18606
18607 \end_inset
18608
18609 ] If this is set to 1 and AddToToc is enabled, the inset adds a summary
18610  of its contents in its item in the table of contents.
18611  Otherwise, only the label appears.
18612 \end_layout
18613
18614 \begin_layout Description
18615 \begin_inset Flex Code
18616 status collapsed
18617
18618 \begin_layout Plain Layout
18619 KeepEmpty
18620 \end_layout
18621
18622 \end_inset
18623
18624  [
18625 \emph on
18626
18627 \begin_inset Flex Code
18628 status collapsed
18629
18630 \begin_layout Plain Layout
18631
18632 \emph on
18633 0
18634 \end_layout
18635
18636 \end_inset
18637
18638
18639 \emph default
18640 ,
18641 \begin_inset space \thinspace{}
18642 \end_inset
18643
18644
18645 \begin_inset Flex Code
18646 status collapsed
18647
18648 \begin_layout Plain Layout
18649 1
18650 \end_layout
18651
18652 \end_inset
18653
18654 ] Como en estilos de párrafo, véase 
18655 \begin_inset CommandInset ref
18656 LatexCommand ref
18657 reference "subsec:Estilos-de-párrafo"
18658
18659 \end_inset
18660
18661 .
18662 \end_layout
18663
18664 \begin_layout Description
18665 \begin_inset Flex Code
18666 status collapsed
18667
18668 \begin_layout Plain Layout
18669 LabelFont
18670 \end_layout
18671
18672 \end_inset
18673
18674  La tipografía para la etiqueta.
18675  Véase la 
18676 \begin_inset CommandInset ref
18677 LatexCommand ref
18678 reference "subsec:Tipografía"
18679
18680 \end_inset
18681
18682 .
18683  Anotar que esta definición nunca puede aparecer antes de 
18684 \begin_inset Flex Code
18685 status collapsed
18686
18687 \begin_layout Plain Layout
18688 Font
18689 \end_layout
18690
18691 \end_inset
18692
18693 , para que sea efectiva.
18694 \end_layout
18695
18696 \begin_layout Description
18697 \begin_inset Flex Code
18698 status collapsed
18699
18700 \begin_layout Plain Layout
18701 LabelString
18702 \end_layout
18703
18704 \end_inset
18705
18706  [
18707 \begin_inset Flex Code
18708 status collapsed
18709
18710 \begin_layout Plain Layout
18711 string
18712 \end_layout
18713
18714 \end_inset
18715
18716 =
18717 \begin_inset Quotes erd
18718 \end_inset
18719
18720
18721 \begin_inset Quotes erd
18722 \end_inset
18723
18724 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
18725  Algunos tipos de recuadro (
18726 \begin_inset Flex Code
18727 status collapsed
18728
18729 \begin_layout Plain Layout
18730 código \SpecialChar TeX
18731
18732 \end_layout
18733
18734 \end_inset
18735
18736  y 
18737 \begin_inset Flex Code
18738 status collapsed
18739
18740 \begin_layout Plain Layout
18741 Ramas
18742 \end_layout
18743
18744 \end_inset
18745
18746 ) modifican esta etiqueta sobre la marcha.
18747 \end_layout
18748
18749 \begin_layout Description
18750 \begin_inset Flex Code
18751 status collapsed
18752
18753 \begin_layout Plain Layout
18754 LangPreamble
18755 \end_layout
18756
18757 \end_inset
18758
18759  Preámbulo dependiente del idioma; véase 
18760 \begin_inset CommandInset ref
18761 LatexCommand ref
18762 reference "subsec:I18n"
18763
18764 \end_inset
18765
18766 .
18767 \end_layout
18768
18769 \begin_layout Description
18770 \begin_inset Flex Code
18771 status collapsed
18772
18773 \begin_layout Plain Layout
18774 LatexName
18775 \end_layout
18776
18777 \end_inset
18778
18779  [
18780 \begin_inset Flex Code
18781 status collapsed
18782
18783 \begin_layout Plain Layout
18784 <name>
18785 \end_layout
18786
18787 \end_inset
18788
18789 ] El nombre \SpecialChar LaTeX
18790  correspondiente al asunto.
18791  Cualquier nombre de entorno o de comando.
18792 \end_layout
18793
18794 \begin_layout Description
18795 \begin_inset Flex Code
18796 status collapsed
18797
18798 \begin_layout Plain Layout
18799 LatexParam
18800 \end_layout
18801
18802 \end_inset
18803
18804  [
18805 \begin_inset Flex Code
18806 status collapsed
18807
18808 \begin_layout Plain Layout
18809 <parameter>
18810 \end_layout
18811
18812 \end_inset
18813
18814 ] El parámetro opcional para el correspondiente 
18815 \begin_inset Flex Code
18816 status collapsed
18817
18818 \begin_layout Plain Layout
18819 LatexName
18820 \end_layout
18821
18822 \end_inset
18823
18824 , incluyendo posibles pares de corchetes, 
18825 \begin_inset Flex Code
18826 status collapsed
18827
18828 \begin_layout Plain Layout
18829 []
18830 \end_layout
18831
18832 \end_inset
18833
18834 .
18835  Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
18836  (usa 
18837 \begin_inset Flex Code
18838 status collapsed
18839
18840 \begin_layout Plain Layout
18841 Argument
18842 \end_layout
18843
18844 \end_inset
18845
18846  para parámetros personalizables).
18847  Se emitirá como tal después de todos los 
18848 \begin_inset Flex Code
18849 status collapsed
18850
18851 \begin_layout Plain Layout
18852 Argument
18853 \end_layout
18854
18855 \end_inset
18856
18857  \SpecialChar LaTeX
18858 .
18859 \end_layout
18860
18861 \begin_layout Description
18862 \begin_inset Flex Code
18863 status collapsed
18864
18865 \begin_layout Plain Layout
18866 LatexType
18867 \end_layout
18868
18869 \end_inset
18870
18871  [
18872 \begin_inset Flex Code
18873 status collapsed
18874
18875 \begin_layout Plain Layout
18876 Command, Environment, None
18877 \end_layout
18878
18879 \end_inset
18880
18881 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
18882 .
18883 \begin_inset Foot
18884 status collapsed
18885
18886 \begin_layout Plain Layout
18887 \begin_inset Flex Code
18888 status collapsed
18889
18890 \begin_layout Plain Layout
18891 LatexType
18892 \end_layout
18893
18894 \end_inset
18895
18896  es quizás un poco confuso porque estas eglas se aplican también a clases.
18897  Mira los archivos de clase SGML para ejemplos concretos.
18898 \end_layout
18899
18900 \end_inset
18901
18902
18903 \end_layout
18904
18905 \begin_deeper
18906 \begin_layout Description
18907 \begin_inset Flex Code
18908 status collapsed
18909
18910 \begin_layout Plain Layout
18911 None
18912 \end_layout
18913
18914 \end_inset
18915
18916  significa nada especial
18917 \end_layout
18918
18919 \begin_layout Description
18920 \begin_inset Flex Code
18921 status collapsed
18922
18923 \begin_layout Plain Layout
18924 Command
18925 \end_layout
18926
18927 \end_inset
18928
18929  significa 
18930 \begin_inset Flex Code
18931 status collapsed
18932
18933 \begin_layout Plain Layout
18934
18935 \backslash
18936
18937 \emph on
18938 LatexName
18939 \emph default
18940 {\SpecialChar ldots
18941 }
18942 \end_layout
18943
18944 \end_inset
18945
18946
18947 \end_layout
18948
18949 \begin_layout Description
18950 \begin_inset Flex Code
18951 status collapsed
18952
18953 \begin_layout Plain Layout
18954 Environment
18955 \end_layout
18956
18957 \end_inset
18958
18959  significa 
18960 \begin_inset Flex Code
18961 status collapsed
18962
18963 \begin_layout Plain Layout
18964
18965 \backslash
18966 begin{
18967 \emph on
18968 LatexName
18969 \emph default
18970 }\SpecialChar ldots
18971
18972 \backslash
18973 end{
18974 \emph on
18975 LatexName
18976 \emph default
18977 }
18978 \end_layout
18979
18980 \end_inset
18981
18982
18983 \end_layout
18984
18985 \begin_layout Standard
18986 Poniendo juntas las últimas cosas, la salida \SpecialChar LaTeX
18987  sería: 
18988 \end_layout
18989
18990 \begin_layout LyX-Code
18991
18992 \backslash
18993 LatexName[LatexParam]{\SpecialChar ldots
18994 }
18995 \end_layout
18996
18997 \begin_layout Standard
18998 o: 
18999 \end_layout
19000
19001 \begin_layout LyX-Code
19002
19003 \backslash
19004 begin{LatexName}[LatexParam] \SpecialChar ldots
19005  
19006 \backslash
19007 end{LatexName}
19008 \end_layout
19009
19010 \begin_layout Standard
19011 dependiendo del tipo de \SpecialChar LaTeX
19012 .
19013 \end_layout
19014
19015 \end_deeper
19016 \begin_layout Description
19017 \begin_inset Flex Code
19018 status collapsed
19019
19020 \begin_layout Plain Layout
19021 LeftDelim
19022 \end_layout
19023
19024 \end_inset
19025
19026  [
19027 \begin_inset Flex Code
19028 status collapsed
19029
19030 \begin_layout Plain Layout
19031 string
19032 \end_layout
19033
19034 \end_inset
19035
19036 ] Secuencia que se pone al comienzo del contenido del formato.
19037  Un salto de línea en la salida se indica con 
19038 \begin_inset Flex Code
19039 status collapsed
19040
19041 \begin_layout Plain Layout
19042 <br/>
19043 \end_layout
19044
19045 \end_inset
19046
19047 .
19048 \end_layout
19049
19050 \begin_layout Description
19051 \begin_inset Flex Code
19052 status collapsed
19053
19054 \begin_layout Plain Layout
19055 LyxType
19056 \end_layout
19057
19058 \end_inset
19059
19060  Puede ser 
19061 \begin_inset Flex Code
19062 status collapsed
19063
19064 \begin_layout Plain Layout
19065 charstyle
19066 \end_layout
19067
19068 \end_inset
19069
19070
19071 \begin_inset Flex Code
19072 status collapsed
19073
19074 \begin_layout Plain Layout
19075 custom
19076 \end_layout
19077
19078 \end_inset
19079
19080
19081 \begin_inset Flex Code
19082 status collapsed
19083
19084 \begin_layout Plain Layout
19085 element
19086 \end_layout
19087
19088 \end_inset
19089
19090 , o 
19091 \begin_inset Flex Code
19092 status collapsed
19093
19094 \begin_layout Plain Layout
19095 end
19096 \end_layout
19097
19098 \end_inset
19099
19100  (indicando una definición ficticia que finaliza definiciones de estilos
19101  de texto, etc).
19102  Esta entrada es requerida y solo es significativa para recuadros flexibles.
19103  Entre otras cosas, determina en qué menús aparecerá este recuadro.
19104  Si 
19105 \begin_inset Flex Code
19106 status collapsed
19107
19108 \begin_layout Plain Layout
19109 LyxType
19110 \end_layout
19111
19112 \end_inset
19113
19114  es 
19115 \begin_inset Flex Code
19116 status collapsed
19117
19118 \begin_layout Plain Layout
19119 charstyle
19120 \end_layout
19121
19122 \end_inset
19123
19124  
19125 \begin_inset Flex Code
19126 status collapsed
19127
19128 \begin_layout Plain Layout
19129 MultiPar
19130 \end_layout
19131
19132 \end_inset
19133
19134  es falso y 
19135 \begin_inset Flex Code
19136 status collapsed
19137
19138 \begin_layout Plain Layout
19139 ForcePlain
19140 \end_layout
19141
19142 \end_inset
19143
19144  
19145 \lang english
19146 to true
19147 \lang spanish
19148 .
19149  
19150 \begin_inset Flex Code
19151 status collapsed
19152
19153 \begin_layout Plain Layout
19154 MultiPar
19155 \end_layout
19156
19157 \end_inset
19158
19159  se puede poner como verdadero, o 
19160 \begin_inset Flex Code
19161 status collapsed
19162
19163 \begin_layout Plain Layout
19164 ForcePlain
19165 \end_layout
19166
19167 \end_inset
19168
19169  
19170 \lang english
19171 to fals
19172 \lang spanish
19173 e, para recuadros de estilos 
19174 \begin_inset Flex Code
19175 status collapsed
19176
19177 \begin_layout Plain Layout
19178 charstyle
19179 \end_layout
19180
19181 \end_inset
19182
19183 , si poniéndolo 
19184 \emph on
19185 después
19186 \emph default
19187  de 
19188 \begin_inset Flex Code
19189 status collapsed
19190
19191 \begin_layout Plain Layout
19192 LyxType
19193 \end_layout
19194
19195 \end_inset
19196
19197 .
19198 \end_layout
19199
19200 \begin_layout Description
19201 \begin_inset Flex Code
19202 status collapsed
19203
19204 \begin_layout Plain Layout
19205 MultiPar
19206 \end_layout
19207
19208 \end_inset
19209
19210  [
19211 \begin_inset Flex Code
19212 status collapsed
19213
19214 \begin_layout Plain Layout
19215
19216 \emph on
19217 0
19218 \end_layout
19219
19220 \end_inset
19221
19222 ,
19223 \begin_inset space \thinspace{}
19224 \end_inset
19225
19226
19227 \begin_inset Flex Code
19228 status collapsed
19229
19230 \begin_layout Plain Layout
19231 1
19232 \end_layout
19233
19234 \end_inset
19235
19236 ] Indica si se permiten múltiples párrafos en este recuadro.
19237  Además establecerá para CustomPars el mismo valor y para ForcePlain el
19238  valor opuesto.
19239  Estos pueden modificarse a otros valores si se usan 
19240 \emph on
19241 después
19242 \emph default
19243  de MultiPar.
19244 \end_layout
19245
19246 \begin_layout Description
19247 \begin_inset Flex Code
19248 status collapsed
19249
19250 \begin_layout Plain Layout
19251 NeedProtect
19252 \end_layout
19253
19254 \end_inset
19255
19256  [
19257 \begin_inset Flex Code
19258 status collapsed
19259
19260 \begin_layout Plain Layout
19261
19262 \emph on
19263 0
19264 \end_layout
19265
19266 \end_inset
19267
19268 ,
19269 \begin_inset space \thinspace{}
19270 \end_inset
19271
19272
19273 \begin_inset Flex Code
19274 status collapsed
19275
19276 \begin_layout Plain Layout
19277 1
19278 \end_layout
19279
19280 \end_inset
19281
19282 ] Si los comandos frágiles deben o no ser 
19283 \begin_inset Flex Code
19284 status collapsed
19285
19286 \begin_layout Plain Layout
19287
19288 \backslash
19289 protect
19290 \end_layout
19291
19292 \end_inset
19293
19294 'ed en este recuadro.
19295  (Nota: es 
19296 \emph on
19297 no
19298 \emph default
19299  si el comando mismo debe ser protegido
19300 \emph on
19301 .)
19302 \end_layout
19303
19304 \begin_layout Description
19305 \begin_inset Flex Code
19306 status collapsed
19307
19308 \begin_layout Plain Layout
19309 NoInsetLayout
19310 \end_layout
19311
19312 \end_inset
19313
19314  [
19315 \begin_inset Flex Code
19316 status collapsed
19317
19318 \begin_layout Plain Layout
19319 <layout>
19320 \end_layout
19321
19322 \end_inset
19323
19324 ] Borra un 
19325 \begin_inset Flex Code
19326 status collapsed
19327
19328 \begin_layout Plain Layout
19329 InsetLayout
19330 \end_layout
19331
19332 \end_inset
19333
19334  existente.
19335 \end_layout
19336
19337 \begin_layout Description
19338 \begin_inset Flex Code
19339 status collapsed
19340
19341 \begin_layout Plain Layout
19342 ObsoletedBy
19343 \end_layout
19344
19345 \end_inset
19346
19347  [
19348 \begin_inset Flex Code
19349 status collapsed
19350
19351 \begin_layout Plain Layout
19352 <layout>
19353 \end_layout
19354
19355 \end_inset
19356
19357 ] Nombre de un 
19358 \begin_inset Flex Code
19359 status collapsed
19360
19361 \begin_layout Plain Layout
19362 InsetLayout
19363 \end_layout
19364
19365 \end_inset
19366
19367  que ha recolocado este 
19368 \begin_inset Flex Code
19369 status collapsed
19370
19371 \begin_layout Plain Layout
19372 InsetLayout
19373 \end_layout
19374
19375 \end_inset
19376
19377 .
19378  Se usa para renombrar un 
19379 \begin_inset Flex Code
19380 status collapsed
19381
19382 \begin_layout Plain Layout
19383 InsetLayout
19384 \end_layout
19385
19386 \end_inset
19387
19388 , mientras se mantiene compatibilidad hacia atrás.
19389 \end_layout
19390
19391 \begin_layout Description
19392 \begin_inset Flex Code
19393 status collapsed
19394
19395 \begin_layout Plain Layout
19396 ParbreakIsNewline
19397 \end_layout
19398
19399 \end_inset
19400
19401  [
19402 \begin_inset Flex Code
19403 status collapsed
19404
19405 \begin_layout Plain Layout
19406
19407 \emph on
19408 0
19409 \end_layout
19410
19411 \end_inset
19412
19413 ,
19414 \begin_inset space \thinspace{}
19415 \end_inset
19416
19417
19418 \begin_inset Flex Code
19419 status collapsed
19420
19421 \begin_layout Plain Layout
19422 1
19423 \end_layout
19424
19425 \end_inset
19426
19427 ] Igual que para estilos de párrafo, véase 
19428 \begin_inset CommandInset ref
19429 LatexCommand ref
19430 reference "subsec:Estilos-de-párrafo"
19431
19432 \end_inset
19433
19434 .
19435  Por omisión es falso.
19436 \end_layout
19437
19438 \begin_layout Description
19439 \begin_inset Flex Code
19440 status collapsed
19441
19442 \begin_layout Plain Layout
19443 PassThru
19444 \end_layout
19445
19446 \end_inset
19447
19448  [
19449 \emph on
19450
19451 \begin_inset Flex Code
19452 status collapsed
19453
19454 \begin_layout Plain Layout
19455
19456 \emph on
19457 0
19458 \end_layout
19459
19460 \end_inset
19461
19462
19463 \emph default
19464 ,
19465 \begin_inset space \thinspace{}
19466 \end_inset
19467
19468
19469 \begin_inset Flex Code
19470 status collapsed
19471
19472 \begin_layout Plain Layout
19473 1
19474 \end_layout
19475
19476 \end_inset
19477
19478 ] Igual que para estilos de párrafo, véase 
19479 \begin_inset CommandInset ref
19480 LatexCommand ref
19481 reference "subsec:Estilos-de-párrafo"
19482
19483 \end_inset
19484
19485 .
19486 \end_layout
19487
19488 \begin_layout Description
19489 \begin_inset Flex Code
19490 status collapsed
19491
19492 \begin_layout Plain Layout
19493 Preamble
19494 \end_layout
19495
19496 \end_inset
19497
19498  Igual que para estilos de párrafo, véase 
19499 \begin_inset CommandInset ref
19500 LatexCommand ref
19501 reference "subsec:Estilos-de-párrafo"
19502
19503 \end_inset
19504
19505 .
19506 \end_layout
19507
19508 \begin_layout Description
19509 \begin_inset Flex Code
19510 status collapsed
19511
19512 \begin_layout Plain Layout
19513 RefPrefix
19514 \end_layout
19515
19516 \end_inset
19517
19518  [
19519 \begin_inset Flex Code
19520 status collapsed
19521
19522 \begin_layout Plain Layout
19523 string
19524 \end_layout
19525
19526 \end_inset
19527
19528 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
19529  este tipo.
19530  Esto permite el uso de referencias con formato.
19531 \end_layout
19532
19533 \begin_layout Description
19534 \begin_inset Flex Code
19535 status collapsed
19536
19537 \begin_layout Plain Layout
19538 Requires 
19539 \end_layout
19540
19541 \end_inset
19542
19543  [
19544 \begin_inset Flex Code
19545 status collapsed
19546
19547 \begin_layout Plain Layout
19548 string
19549 \end_layout
19550
19551 \end_inset
19552
19553 ] Igual que para estilos de párrafo, véase 
19554 \begin_inset CommandInset ref
19555 LatexCommand ref
19556 reference "subsec:Estilos-de-párrafo"
19557
19558 \end_inset
19559
19560 .
19561 \end_layout
19562
19563 \begin_layout Description
19564 \begin_inset Flex Code
19565 status collapsed
19566
19567 \begin_layout Plain Layout
19568 ResetArgs
19569 \end_layout
19570
19571 \end_inset
19572
19573  [
19574 \begin_inset Flex Code
19575 status collapsed
19576
19577 \begin_layout Plain Layout
19578
19579 \emph on
19580 0
19581 \end_layout
19582
19583 \end_inset
19584
19585 ,
19586 \begin_inset space \thinspace{}
19587 \end_inset
19588
19589
19590 \begin_inset Flex Code
19591 status collapsed
19592
19593 \begin_layout Plain Layout
19594 1
19595 \end_layout
19596
19597 \end_inset
19598
19599 ] Reinicia los argumentos \SpecialChar LaTeX
19600  de este formato (como se definen con 
19601 \begin_inset Flex Code
19602 status collapsed
19603
19604 \begin_layout Plain Layout
19605 Argument
19606 \end_layout
19607
19608 \end_inset
19609
19610  tag).
19611  Es útil si has copiado un estilo con 
19612 \begin_inset Flex Code
19613 status collapsed
19614
19615 \begin_layout Plain Layout
19616 CopyStyle
19617 \end_layout
19618
19619 \end_inset
19620
19621 , pero no quieres heredar sus argumentos (requerido y opcional).
19622 \end_layout
19623
19624 \begin_layout Description
19625 \begin_inset Flex Code
19626 status collapsed
19627
19628 \begin_layout Plain Layout
19629 ResetsFont
19630 \end_layout
19631
19632 \end_inset
19633
19634  [
19635 \begin_inset Flex Code
19636 status collapsed
19637
19638 \begin_layout Plain Layout
19639 0
19640 \end_layout
19641
19642 \end_inset
19643
19644 ,
19645 \begin_inset space \thinspace{}
19646 \end_inset
19647
19648
19649 \begin_inset Flex Code
19650 status collapsed
19651
19652 \begin_layout Plain Layout
19653
19654 \emph on
19655 1
19656 \end_layout
19657
19658 \end_inset
19659
19660 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
19661  Por omisión es la tipografía de su entorno.
19662 \end_layout
19663
19664 \begin_layout Description
19665 \begin_inset Flex Code
19666 status collapsed
19667
19668 \begin_layout Plain Layout
19669 RightDelim
19670 \end_layout
19671
19672 \end_inset
19673
19674  [
19675 \begin_inset Flex Code
19676 status collapsed
19677
19678 \begin_layout Plain Layout
19679 string
19680 \end_layout
19681
19682 \end_inset
19683
19684 ] Secuencia que se pone al final del contenido del formato.
19685  Un salto de línea en la salida se indica con 
19686 \begin_inset Flex Code
19687 status collapsed
19688
19689 \begin_layout Plain Layout
19690 <br/>
19691 \end_layout
19692
19693 \end_inset
19694
19695 .
19696 \end_layout
19697
19698 \begin_layout Description
19699 \begin_inset Flex Code
19700 status collapsed
19701
19702 \begin_layout Plain Layout
19703 Spellcheck
19704 \end_layout
19705
19706 \end_inset
19707
19708  [
19709 \begin_inset Flex Code
19710 status collapsed
19711
19712 \begin_layout Plain Layout
19713 0
19714 \end_layout
19715
19716 \end_inset
19717
19718 ,
19719 \begin_inset space \thinspace{}
19720 \end_inset
19721
19722
19723 \begin_inset Flex Code
19724 status collapsed
19725
19726 \begin_layout Plain Layout
19727
19728 \emph on
19729 1
19730 \end_layout
19731
19732 \end_inset
19733
19734 ] Revisar la ortografía del contenido del recuadro.
19735  Por omisión, sí.
19736 \end_layout
19737
19738 \begin_layout Subsection
19739 Contadores
19740 \begin_inset CommandInset label
19741 LatexCommand label
19742 name "subsec:Contadores"
19743
19744 \end_inset
19745
19746
19747 \end_layout
19748
19749 \begin_layout Standard
19750 Es necesario definir los contadores (
19751 \begin_inset Flex Noun
19752 status collapsed
19753
19754 \begin_layout Plain Layout
19755 chapter
19756 \end_layout
19757
19758 \end_inset
19759
19760
19761 \begin_inset Flex Noun
19762 status collapsed
19763
19764 \begin_layout Plain Layout
19765 figure
19766 \end_layout
19767
19768 \end_inset
19769
19770 , \SpecialChar ldots
19771 ) en la propia clase de texto.
19772  Los contadores estándar están definidos en el archivo 
19773 \begin_inset Flex Code
19774 status collapsed
19775
19776 \begin_layout Plain Layout
19777 stdcounters.inc
19778 \end_layout
19779
19780 \end_inset
19781
19782 , de modo que no tienes más que añadir
19783 \end_layout
19784
19785 \begin_layout LyX-Code
19786 Input stdcounters.inc
19787 \end_layout
19788
19789 \begin_layout Standard
19790 en el archivo de formato para que funcionen.
19791  Pero si quieres puedes definir contadores personalizados.
19792  La declaración de un contador debe comenzar con:
19793 \end_layout
19794
19795 \begin_layout LyX-Code
19796 Counter <name>
19797 \end_layout
19798
19799 \begin_layout Standard
19800 donde 
19801 \begin_inset Flex Code
19802 status collapsed
19803
19804 \begin_layout Plain Layout
19805 <name>
19806 \end_layout
19807
19808 \end_inset
19809
19810  es el nombre del contador.
19811  Hay que terminar con 
19812 \begin_inset Flex Code
19813 status collapsed
19814
19815 \begin_layout Plain Layout
19816 End
19817 \end_layout
19818
19819 \end_inset
19820
19821 .
19822 \end_layout
19823
19824 \begin_layout Standard
19825 Se pueden usar además los parámetros siguientes:
19826 \end_layout
19827
19828 \begin_layout Description
19829 \begin_inset Flex Code
19830 status collapsed
19831
19832 \begin_layout Plain Layout
19833 InitialValue
19834 \end_layout
19835
19836 \end_inset
19837
19838  [
19839 \begin_inset Flex Code
19840 status collapsed
19841
19842 \begin_layout Plain Layout
19843 int=1
19844 \end_layout
19845
19846 \end_inset
19847
19848 ] Establece el valor inicial para el contador, al cuál se reiniciará cada
19849  vez que suceda esto.
19850  Normalmente será 1.
19851 \end_layout
19852
19853 \begin_layout Description
19854 \begin_inset Flex Code
19855 status collapsed
19856
19857 \begin_layout Plain Layout
19858 LabelString
19859 \end_layout
19860
19861 \end_inset
19862
19863  [
19864 \begin_inset Flex Code
19865 status collapsed
19866
19867 \begin_layout Plain Layout
19868 string
19869 \end_layout
19870
19871 \end_inset
19872
19873 =""] Si se define esta cadena, indica cómo se muestra el contador.
19874  Al establecer este valor también se da el mismo valor a 
19875 \begin_inset Flex Code
19876 status collapsed
19877
19878 \begin_layout Plain Layout
19879 LabelStringAppendix
19880 \end_layout
19881
19882 \end_inset
19883
19884 .
19885  Para los valores de 'string' se pueden usar las estructuras siguientes:
19886 \end_layout
19887
19888 \begin_deeper
19889 \begin_layout Itemize
19890 \begin_inset Flex Code
19891 status collapsed
19892
19893 \begin_layout Plain Layout
19894
19895 \backslash
19896 thecounter
19897 \end_layout
19898
19899 \end_inset
19900
19901  será reemplazado por la expansión de 
19902 \begin_inset Flex Code
19903 status collapsed
19904
19905 \begin_layout Plain Layout
19906 LabelString
19907 \end_layout
19908
19909 \end_inset
19910
19911  (o 
19912 \begin_inset Flex Code
19913 status collapsed
19914
19915 \begin_layout Plain Layout
19916 LabelStringAppendix
19917 \end_layout
19918
19919 \end_inset
19920
19921 ) del contador 
19922 \begin_inset Flex Code
19923 status collapsed
19924
19925 \begin_layout Plain Layout
19926 counter
19927 \end_layout
19928
19929 \end_inset
19930
19931 .
19932  
19933 \end_layout
19934
19935 \begin_layout Itemize
19936 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
19937  como 
19938 \begin_inset Flex Code
19939 status collapsed
19940
19941 \begin_layout Plain Layout
19942
19943 \backslash
19944
19945 \emph on
19946 numbertype
19947 \emph default
19948 {
19949 \emph on
19950 counter
19951 \emph default
19952 }
19953 \end_layout
19954
19955 \end_inset
19956
19957 , donde 
19958 \begin_inset Flex Code
19959 status collapsed
19960
19961 \begin_layout Plain Layout
19962
19963 \emph on
19964 numbertype
19965 \end_layout
19966
19967 \end_inset
19968
19969  puede ser:
19970 \begin_inset Foot
19971 status collapsed
19972
19973 \begin_layout Plain Layout
19974 En realidad la cosa es un poco más compleja: cualquier 
19975 \emph on
19976 numbertype
19977 \emph default
19978  distinto de los descritos a continuación generará números arábigos.
19979  No sería sorprendenta ver este cambio en el futuro.
19980 \end_layout
19981
19982 \end_inset
19983
19984  
19985 \begin_inset Flex Code
19986 status collapsed
19987
19988 \begin_layout Plain Layout
19989 arabic
19990 \end_layout
19991
19992 \end_inset
19993
19994 : 1, 2, 3,\SpecialChar ldots
19995
19996 \begin_inset Flex Code
19997 status collapsed
19998
19999 \begin_layout Plain Layout
20000 alph
20001 \end_layout
20002
20003 \end_inset
20004
20005  para minúsculas: a, b, c, \SpecialChar ldots
20006
20007 \begin_inset Flex Code
20008 status collapsed
20009
20010 \begin_layout Plain Layout
20011 Alph
20012 \end_layout
20013
20014 \end_inset
20015
20016  para mayúsculas: A, B, C, \SpecialChar ldots
20017
20018 \begin_inset Flex Code
20019 status collapsed
20020
20021 \begin_layout Plain Layout
20022 roman
20023 \end_layout
20024
20025 \end_inset
20026
20027  números romanos en minúscula: i, ii, iii, \SpecialChar ldots
20028
20029 \begin_inset Foot
20030 status collapsed
20031
20032 \begin_layout Plain Layout
20033
20034 \size normal
20035 \emph on
20036 \color none
20037 N.
20038 \begin_inset space \thinspace{}
20039 \end_inset
20040
20041 del T.
20042 \emph default
20043 : El estilo 
20044 \family sans
20045
20046 \begin_inset Flex Code
20047 status collapsed
20048
20049 \begin_layout Plain Layout
20050
20051 \family sans
20052 \size normal
20053 \color none
20054 spanish
20055 \end_layout
20056
20057 \end_inset
20058
20059
20060 \family default
20061  de 
20062 \family sans
20063
20064 \begin_inset Flex Code
20065 status collapsed
20066
20067 \begin_layout Plain Layout
20068
20069 \family sans
20070 \size normal
20071 \color none
20072 babel
20073 \end_layout
20074
20075 \end_inset
20076
20077
20078 \family default
20079 \size default
20080 \color inherit
20081  los transforma automáticamente en versalitas
20082 \noun on
20083 , i, ii
20084 \noun default
20085 \SpecialChar ldots
20086 , ya que los romanos en minúscula no se usan en español.
20087  
20088 \end_layout
20089
20090 \end_inset
20091
20092
20093 \begin_inset Flex Code
20094 status collapsed
20095
20096 \begin_layout Plain Layout
20097 Roman
20098 \end_layout
20099
20100 \end_inset
20101
20102  para romanos en mayúsculas: I, II, III\SpecialChar ldots
20103
20104 \begin_inset Flex Code
20105 status collapsed
20106
20107 \begin_layout Plain Layout
20108 hebrew
20109 \end_layout
20110
20111 \end_inset
20112
20113  para números hebreos.
20114 \end_layout
20115
20116 \end_deeper
20117 \begin_layout Standard
20118 Si no se define 
20119 \begin_inset Flex Code
20120 status collapsed
20121
20122 \begin_layout Plain Layout
20123 LabelString
20124 \end_layout
20125
20126 \end_inset
20127
20128 , se construye un valor por omisión así: si el contador tiene un contador
20129  maestro 
20130 \begin_inset Flex Code
20131 status collapsed
20132
20133 \begin_layout Plain Layout
20134 master
20135 \end_layout
20136
20137 \end_inset
20138
20139  (definido mediante 
20140 \begin_inset Flex Code
20141 status collapsed
20142
20143 \begin_layout Plain Layout
20144 Within
20145 \end_layout
20146
20147 \end_inset
20148
20149 ), se usa la cadena 
20150 \begin_inset Flex Code
20151 status collapsed
20152
20153 \begin_layout Plain Layout
20154
20155 \backslash
20156 themaster.
20157 \backslash
20158 arabic{counter}
20159 \end_layout
20160
20161 \end_inset
20162
20163 ; si no, se usa la cadena 
20164 \begin_inset Flex Code
20165 status collapsed
20166
20167 \begin_layout Plain Layout
20168
20169 \backslash
20170 arabic{counter}
20171 \end_layout
20172
20173 \end_inset
20174
20175 .
20176 \end_layout
20177
20178 \begin_layout Description
20179 \begin_inset Flex Code
20180 status collapsed
20181
20182 \begin_layout Plain Layout
20183 LabelStringAppendix
20184 \end_layout
20185
20186 \end_inset
20187
20188  [
20189 \begin_inset Flex Code
20190 status collapsed
20191
20192 \begin_layout Plain Layout
20193 string
20194 \end_layout
20195
20196 \end_inset
20197
20198 =""] Lo mismo que 
20199 \begin_inset Flex Code
20200 status collapsed
20201
20202 \begin_layout Plain Layout
20203 LabelString
20204 \end_layout
20205
20206 \end_inset
20207
20208 , pero para el apéndice.
20209 \end_layout
20210
20211 \begin_layout Description
20212 \begin_inset Flex Code
20213 status collapsed
20214
20215 \begin_layout Plain Layout
20216 PrettyFormat
20217 \end_layout
20218
20219 \end_inset
20220
20221  [
20222 \begin_inset Flex Code
20223 status collapsed
20224
20225 \begin_layout Plain Layout
20226 string
20227 \end_layout
20228
20229 \end_inset
20230
20231 =
20232 \begin_inset Quotes erd
20233 \end_inset
20234
20235
20236 \begin_inset Quotes erd
20237 \end_inset
20238
20239 ] Un formato para usar con las referencias a este contador.
20240  Por ejemplo, podríamos querer las referencias a los números de sección
20241  en la forma 
20242 \begin_inset Quotes cld
20243 \end_inset
20244
20245 Sección
20246 \begin_inset space ~
20247 \end_inset
20248
20249 2.4
20250 \begin_inset Quotes crd
20251 \end_inset
20252
20253 .
20254  La secuencia debería contener 
20255 \begin_inset Quotes eld
20256 \end_inset
20257
20258 ##
20259 \begin_inset Quotes erd
20260 \end_inset
20261
20262 .
20263  Esto será reemplazado por el número correspondiente del contador.
20264  Así pues, para secciones sería: Section ##.
20265 \end_layout
20266
20267 \begin_layout Description
20268 \begin_inset Flex Code
20269 status collapsed
20270
20271 \begin_layout Plain Layout
20272 Within
20273 \end_layout
20274
20275 \end_inset
20276
20277  [
20278 \begin_inset Flex Code
20279 status collapsed
20280
20281 \begin_layout Plain Layout
20282 string
20283 \end_layout
20284
20285 \end_inset
20286
20287 =""] Si esto se establece para el nombre de otro contador, el presente contador
20288  se reiniciará cada vez que el otro aumente.
20289  Por ejemplo, 
20290 \begin_inset Flex Code
20291 status collapsed
20292
20293 \begin_layout Plain Layout
20294 subsection
20295 \end_layout
20296
20297 \end_inset
20298
20299  se numera dentro de 
20300 \begin_inset Flex Code
20301 status collapsed
20302
20303 \begin_layout Plain Layout
20304 section
20305 \end_layout
20306
20307 \end_inset
20308
20309 .
20310 \end_layout
20311
20312 \begin_layout Subsection
20313 Descripción de la tipografía
20314 \begin_inset CommandInset label
20315 LatexCommand label
20316 name "subsec:Tipografía"
20317
20318 \end_inset
20319
20320
20321 \end_layout
20322
20323 \begin_layout Standard
20324 Una descripción de una tipografía se ve así:
20325 \end_layout
20326
20327 \begin_layout LyX-Code
20328 Font 
20329 \family roman
20330 \emph on
20331 o
20332 \family default
20333 \emph default
20334  LabelFont 
20335 \emph on
20336 o
20337 \emph default
20338  DefaultFont
20339 \end_layout
20340
20341 \begin_layout LyX-Code
20342  ...
20343 \end_layout
20344
20345 \begin_layout LyX-Code
20346 EndFont
20347 \end_layout
20348
20349 \begin_layout Standard
20350 Están disponibles los comandos siguientes:
20351 \end_layout
20352
20353 \begin_layout Description
20354 \begin_inset Flex Code
20355 status collapsed
20356
20357 \begin_layout Plain Layout
20358 Color
20359 \end_layout
20360
20361 \end_inset
20362
20363  [
20364 \begin_inset Flex Code
20365 status collapsed
20366
20367 \begin_layout Plain Layout
20368
20369 \emph on
20370 none
20371 \end_layout
20372
20373 \end_inset
20374
20375
20376 \begin_inset Flex Code
20377 status collapsed
20378
20379 \begin_layout Plain Layout
20380 black
20381 \end_layout
20382
20383 \end_inset
20384
20385
20386 \begin_inset Flex Code
20387 status collapsed
20388
20389 \begin_layout Plain Layout
20390 white
20391 \end_layout
20392
20393 \end_inset
20394
20395
20396 \begin_inset Flex Code
20397 status collapsed
20398
20399 \begin_layout Plain Layout
20400 red
20401 \end_layout
20402
20403 \end_inset
20404
20405
20406 \begin_inset Flex Code
20407 status collapsed
20408
20409 \begin_layout Plain Layout
20410 green
20411 \end_layout
20412
20413 \end_inset
20414
20415
20416 \begin_inset Flex Code
20417 status collapsed
20418
20419 \begin_layout Plain Layout
20420 blue
20421 \end_layout
20422
20423 \end_inset
20424
20425
20426 \begin_inset Flex Code
20427 status collapsed
20428
20429 \begin_layout Plain Layout
20430 cyan
20431 \end_layout
20432
20433 \end_inset
20434
20435
20436 \begin_inset Flex Code
20437 status collapsed
20438
20439 \begin_layout Plain Layout
20440 magenta
20441 \end_layout
20442
20443 \end_inset
20444
20445
20446 \begin_inset Flex Code
20447 status collapsed
20448
20449 \begin_layout Plain Layout
20450 yellow
20451 \end_layout
20452
20453 \end_inset
20454
20455
20456 \begin_inset Flex Code
20457 status collapsed
20458
20459 \begin_layout Plain Layout
20460 brown
20461 \end_layout
20462
20463 \end_inset
20464
20465
20466 \begin_inset Flex Code
20467 status collapsed
20468
20469 \begin_layout Plain Layout
20470 darkgray
20471 \end_layout
20472
20473 \end_inset
20474
20475
20476 \begin_inset Flex Code
20477 status collapsed
20478
20479 \begin_layout Plain Layout
20480 gray
20481 \end_layout
20482
20483 \end_inset
20484
20485
20486 \begin_inset Flex Code
20487 status collapsed
20488
20489 \begin_layout Plain Layout
20490 lightgray
20491 \end_layout
20492
20493 \end_inset
20494
20495
20496 \begin_inset Flex Code
20497 status collapsed
20498
20499 \begin_layout Plain Layout
20500 lime
20501 \end_layout
20502
20503 \end_inset
20504
20505
20506 \begin_inset Flex Code
20507 status collapsed
20508
20509 \begin_layout Plain Layout
20510 orange
20511 \end_layout
20512
20513 \end_inset
20514
20515
20516 \begin_inset Flex Code
20517 status collapsed
20518
20519 \begin_layout Plain Layout
20520 olive
20521 \end_layout
20522
20523 \end_inset
20524
20525
20526 \begin_inset Flex Code
20527 status collapsed
20528
20529 \begin_layout Plain Layout
20530 pink
20531 \end_layout
20532
20533 \end_inset
20534
20535
20536 \begin_inset Flex Code
20537 status collapsed
20538
20539 \begin_layout Plain Layout
20540 purple
20541 \end_layout
20542
20543 \end_inset
20544
20545
20546 \begin_inset Flex Code
20547 status collapsed
20548
20549 \begin_layout Plain Layout
20550 teal
20551 \end_layout
20552
20553 \end_inset
20554
20555
20556 \begin_inset Flex Code
20557 status collapsed
20558
20559 \begin_layout Plain Layout
20560 violet
20561 \end_layout
20562
20563 \end_inset
20564
20565 ]
20566 \end_layout
20567
20568 \begin_layout Description
20569 \begin_inset Flex Code
20570 status collapsed
20571
20572 \begin_layout Plain Layout
20573 Family
20574 \end_layout
20575
20576 \end_inset
20577
20578  [
20579 \emph on
20580
20581 \begin_inset Flex Code
20582 status collapsed
20583
20584 \begin_layout Plain Layout
20585
20586 \emph on
20587 Roman
20588 \end_layout
20589
20590 \end_inset
20591
20592
20593 \emph default
20594
20595 \begin_inset Flex Code
20596 status collapsed
20597
20598 \begin_layout Plain Layout
20599 Sans
20600 \end_layout
20601
20602 \end_inset
20603
20604
20605 \begin_inset Flex Code
20606 status collapsed
20607
20608 \begin_layout Plain Layout
20609 Typewriter
20610 \end_layout
20611
20612 \end_inset
20613
20614
20615 \end_layout
20616
20617 \begin_layout Description
20618 \begin_inset Flex Code
20619 status collapsed
20620
20621 \begin_layout Plain Layout
20622 Misc
20623 \end_layout
20624
20625 \end_inset
20626
20627  [
20628 \begin_inset Flex Code
20629 status collapsed
20630
20631 \begin_layout Plain Layout
20632 string
20633 \end_layout
20634
20635 \end_inset
20636
20637 ] Son argumentos válidos: 
20638 \begin_inset Flex Code
20639 status collapsed
20640
20641 \begin_layout Plain Layout
20642 emph
20643 \end_layout
20644
20645 \end_inset
20646
20647
20648 \begin_inset Flex Code
20649 status collapsed
20650
20651 \begin_layout Plain Layout
20652 noun
20653 \end_layout
20654
20655 \end_inset
20656
20657
20658 \begin_inset Flex Code
20659 status collapsed
20660
20661 \begin_layout Plain Layout
20662 strikeout
20663 \end_layout
20664
20665 \end_inset
20666
20667
20668 \begin_inset Flex Code
20669 status collapsed
20670
20671 \begin_layout Plain Layout
20672 underbar
20673 \end_layout
20674
20675 \end_inset
20676
20677
20678 \begin_inset Flex Code
20679 status collapsed
20680
20681 \begin_layout Plain Layout
20682 uuline
20683 \end_layout
20684
20685 \end_inset
20686
20687
20688 \begin_inset Flex Code
20689 status collapsed
20690
20691 \begin_layout Plain Layout
20692 uwave
20693 \end_layout
20694
20695 \end_inset
20696
20697
20698 \begin_inset Flex Code
20699 status collapsed
20700
20701 \begin_layout Plain Layout
20702 no_emph
20703 \end_layout
20704
20705 \end_inset
20706
20707
20708 \begin_inset Flex Code
20709 status collapsed
20710
20711 \begin_layout Plain Layout
20712 no_noun
20713 \end_layout
20714
20715 \end_inset
20716
20717
20718 \begin_inset Flex Code
20719 status collapsed
20720
20721 \begin_layout Plain Layout
20722 no_strikeout
20723 \end_layout
20724
20725 \end_inset
20726
20727
20728 \begin_inset Flex Code
20729 status collapsed
20730
20731 \begin_layout Plain Layout
20732 no_bar
20733 \end_layout
20734
20735 \end_inset
20736
20737
20738 \begin_inset Flex Code
20739 status collapsed
20740
20741 \begin_layout Plain Layout
20742 no_uuline
20743 \end_layout
20744
20745 \end_inset
20746
20747  y 
20748 \begin_inset Flex Code
20749 status collapsed
20750
20751 \begin_layout Plain Layout
20752 no_uwave
20753 \end_layout
20754
20755 \end_inset
20756
20757 .
20758  Cada uno de ellos activa o desactiva el atributo correspondiente.
20759  Por ejemplo, 
20760 \begin_inset Flex Code
20761 status collapsed
20762
20763 \begin_layout Plain Layout
20764 emph
20765 \end_layout
20766
20767 \end_inset
20768
20769  activa énfasis, y 
20770 \begin_inset Flex Code
20771 status collapsed
20772
20773 \begin_layout Plain Layout
20774 no_emph
20775 \end_layout
20776
20777 \end_inset
20778
20779  lo desactiva.
20780 \begin_inset Newline newline
20781 \end_inset
20782
20783 Si esto último parece superfluo, recordemos que la configuración de tipografías
20784  para el presente contexto se hereda generalmente del contexto circundante.
20785  Por eso 
20786 \begin_inset Flex Code
20787 status collapsed
20788
20789 \begin_layout Plain Layout
20790 no_emph
20791 \end_layout
20792
20793 \end_inset
20794
20795  desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
20796 \end_layout
20797
20798 \begin_layout Description
20799 \begin_inset Flex Code
20800 status collapsed
20801
20802 \begin_layout Plain Layout
20803 Series
20804 \end_layout
20805
20806 \end_inset
20807
20808  [
20809 \emph on
20810
20811 \begin_inset Flex Code
20812 status collapsed
20813
20814 \begin_layout Plain Layout
20815
20816 \emph on
20817 Medium
20818 \end_layout
20819
20820 \end_inset
20821
20822
20823 \emph default
20824
20825 \begin_inset Flex Code
20826 status collapsed
20827
20828 \begin_layout Plain Layout
20829 Bold
20830 \end_layout
20831
20832 \end_inset
20833
20834
20835 \end_layout
20836
20837 \begin_layout Description
20838 \begin_inset Flex Code
20839 status collapsed
20840
20841 \begin_layout Plain Layout
20842 Shape
20843 \end_layout
20844
20845 \end_inset
20846
20847  [
20848 \emph on
20849
20850 \begin_inset Flex Code
20851 status collapsed
20852
20853 \begin_layout Plain Layout
20854
20855 \emph on
20856 Up
20857 \end_layout
20858
20859 \end_inset
20860
20861
20862 \emph default
20863
20864 \begin_inset Flex Code
20865 status collapsed
20866
20867 \begin_layout Plain Layout
20868 Italic
20869 \end_layout
20870
20871 \end_inset
20872
20873
20874 \begin_inset Flex Code
20875 status collapsed
20876
20877 \begin_layout Plain Layout
20878 SmallCaps
20879 \end_layout
20880
20881 \end_inset
20882
20883
20884 \begin_inset Flex Code
20885 status collapsed
20886
20887 \begin_layout Plain Layout
20888 Slanted
20889 \end_layout
20890
20891 \end_inset
20892
20893
20894 \end_layout
20895
20896 \begin_layout Description
20897 \begin_inset Flex Code
20898 status collapsed
20899
20900 \begin_layout Plain Layout
20901 Size
20902 \end_layout
20903
20904 \end_inset
20905
20906  [
20907 \begin_inset Flex Code
20908 status collapsed
20909
20910 \begin_layout Plain Layout
20911 tiny
20912 \end_layout
20913
20914 \end_inset
20915
20916
20917 \begin_inset Flex Code
20918 status collapsed
20919
20920 \begin_layout Plain Layout
20921 small
20922 \end_layout
20923
20924 \end_inset
20925
20926
20927 \begin_inset Flex Code
20928 status collapsed
20929
20930 \begin_layout Plain Layout
20931
20932 \emph on
20933 normal
20934 \end_layout
20935
20936 \end_inset
20937
20938
20939 \begin_inset Flex Code
20940 status collapsed
20941
20942 \begin_layout Plain Layout
20943 large
20944 \end_layout
20945
20946 \end_inset
20947
20948
20949 \begin_inset Flex Code
20950 status collapsed
20951
20952 \begin_layout Plain Layout
20953 larger
20954 \end_layout
20955
20956 \end_inset
20957
20958
20959 \begin_inset Flex Code
20960 status collapsed
20961
20962 \begin_layout Plain Layout
20963 largest
20964 \end_layout
20965
20966 \end_inset
20967
20968
20969 \begin_inset Flex Code
20970 status collapsed
20971
20972 \begin_layout Plain Layout
20973 huge
20974 \end_layout
20975
20976 \end_inset
20977
20978
20979 \begin_inset Flex Code
20980 status collapsed
20981
20982 \begin_layout Plain Layout
20983 giant
20984 \end_layout
20985
20986 \end_inset
20987
20988 ]
20989 \end_layout
20990
20991 \begin_layout Subsection
20992
20993 \lang english
20994 \begin_inset CommandInset label
20995 LatexCommand label
20996 name "subsec:Citation-engine-description"
20997
20998 \end_inset
20999
21000 Citation engine description
21001 \end_layout
21002
21003 \begin_layout Standard
21004
21005 \lang english
21006 The 
21007 \begin_inset Flex Code
21008 status collapsed
21009
21010 \begin_layout Plain Layout
21011
21012 \lang english
21013 CiteEngine
21014 \end_layout
21015
21016 \end_inset
21017
21018  blocks, as used mainly in cite engine files (see 
21019 \begin_inset CommandInset ref
21020 LatexCommand ref
21021 reference "subsec:Cite-Engine-Files"
21022 plural "false"
21023 caps "false"
21024 noprefix "false"
21025
21026 \end_inset
21027
21028 ), define the citation commands provided by a specific 
21029 \begin_inset Quotes eld
21030 \end_inset
21031
21032 cite engine
21033 \begin_inset Quotes erd
21034 \end_inset
21035
21036 .
21037  A cite engine, in \SpecialChar LyX
21038  terms, is way specific way to format citations, using
21039  numbers, author names and/or years.
21040  Currently, \SpecialChar LyX
21041  supports three such engine types, namely:
21042 \end_layout
21043
21044 \begin_layout Enumerate
21045
21046 \lang english
21047 \begin_inset Flex Code
21048 status collapsed
21049
21050 \begin_layout Plain Layout
21051
21052 \lang english
21053 default
21054 \end_layout
21055
21056 \end_inset
21057
21058 : the default Bib\SpecialChar TeX
21059  way to format citations, a simple numeric style (e.
21060 \begin_inset space \thinspace{}
21061 \end_inset
21062
21063 g., 
21064 \begin_inset Quotes eld
21065 \end_inset
21066
21067 [1]
21068 \begin_inset Quotes erd
21069 \end_inset
21070
21071 )
21072 \end_layout
21073
21074 \begin_layout Enumerate
21075
21076 \lang english
21077 \begin_inset Flex Code
21078 status collapsed
21079
21080 \begin_layout Plain Layout
21081
21082 \lang english
21083 authoryear
21084 \end_layout
21085
21086 \end_inset
21087
21088 : Harvard-styled citations using author names and publication year (e.
21089 \begin_inset space \thinspace{}
21090 \end_inset
21091
21092 g., 
21093 \begin_inset Quotes eld
21094 \end_inset
21095
21096 Smith and Miller (2017b)
21097 \begin_inset Quotes erd
21098 \end_inset
21099
21100 )
21101 \end_layout
21102
21103 \begin_layout Enumerate
21104
21105 \lang english
21106 \begin_inset Flex Code
21107 status collapsed
21108
21109 \begin_layout Plain Layout
21110
21111 \lang english
21112 numerical
21113 \end_layout
21114
21115 \end_inset
21116
21117 : extended numerical citations that also allow for author or title next
21118  to the number (e.
21119 \begin_inset space \thinspace{}
21120 \end_inset
21121
21122 g., 
21123 \begin_inset Quotes eld
21124 \end_inset
21125
21126 Smith and Miller [1]
21127 \begin_inset Quotes erd
21128 \end_inset
21129
21130 )
21131 \end_layout
21132
21133 \begin_layout Standard
21134
21135 \lang english
21136 \begin_inset Flex Code
21137 status collapsed
21138
21139 \begin_layout Plain Layout
21140
21141 \lang english
21142 CiteEngine
21143 \end_layout
21144
21145 \end_inset
21146
21147  blocks look like this:
21148 \end_layout
21149
21150 \begin_layout LyX-Code
21151
21152 \lang english
21153 CiteEngine default
21154 \end_layout
21155
21156 \begin_layout LyX-Code
21157
21158 \lang english
21159  cite
21160 \end_layout
21161
21162 \begin_layout LyX-Code
21163
21164 \lang english
21165  Citep*[][]
21166 \end_layout
21167
21168 \begin_layout LyX-Code
21169
21170 \lang english
21171  citeyearpar[][]=parencite*
21172 \end_layout
21173
21174 \begin_layout LyX-Code
21175
21176 \lang english
21177  ...
21178 \end_layout
21179
21180 \begin_layout LyX-Code
21181
21182 \lang english
21183 End
21184 \end_layout
21185
21186 \begin_layout Standard
21187
21188 \lang english
21189 The tag following 
21190 \begin_inset Flex Code
21191 status collapsed
21192
21193 \begin_layout Plain Layout
21194
21195 \lang english
21196 CiteEngine
21197 \end_layout
21198
21199 \end_inset
21200
21201  denotes the engine.
21202  The individual lines respectively define a cite command or cite command
21203  paradigm supported by this engine.
21204  The line can be as simple as a cite command that is used both to name the
21205  respective \SpecialChar LyX
21206  command and the \SpecialChar LaTeX
21207  output or more complex in order to differentiate
21208  things.
21209  The full syntax is:
21210 \end_layout
21211
21212 \begin_layout LyX-Code
21213
21214 \lang english
21215 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21216 \end_layout
21217
21218 \begin_layout Itemize
21219
21220 \lang english
21221 \begin_inset Flex Code
21222 status collapsed
21223
21224 \begin_layout Plain Layout
21225
21226 \lang english
21227 LyXName
21228 \end_layout
21229
21230 \end_inset
21231
21232 : The name as used in the 
21233 \begin_inset Flex Code
21234 status collapsed
21235
21236 \begin_layout Plain Layout
21237
21238 \lang english
21239 *.lyx
21240 \end_layout
21241
21242 \end_inset
21243
21244  file.
21245 \end_layout
21246
21247 \begin_deeper
21248 \begin_layout Standard
21249
21250 \lang english
21251 For portability reasons, we try to use the same name for same-formatted
21252  commands in different cite packages (thus many names stem from natbib,
21253  and thus we need to differentiate a 
21254 \begin_inset Flex Code
21255 status collapsed
21256
21257 \begin_layout Plain Layout
21258
21259 \lang english
21260 latexcmd
21261 \end_layout
21262
21263 \end_inset
21264
21265  sometimes, if the \SpecialChar LaTeX
21266  command names differ).
21267 \end_layout
21268
21269 \end_deeper
21270 \begin_layout Itemize
21271
21272 \lang english
21273 \begin_inset Flex Code
21274 status collapsed
21275
21276 \begin_layout Plain Layout
21277
21278 \lang english
21279 alias
21280 \end_layout
21281
21282 \end_inset
21283
21284 : a (comma-separated) list of commands that fall back to the given 
21285 \begin_inset Flex Code
21286 status collapsed
21287
21288 \begin_layout Plain Layout
21289
21290 \lang english
21291 LyXName
21292 \end_layout
21293
21294 \end_inset
21295
21296  in the current engine.
21297  This eases the switch of citation packages and engines.
21298  The 
21299 \begin_inset Flex Code
21300 status collapsed
21301
21302 \begin_layout Plain Layout
21303
21304 \lang english
21305 alias
21306 \end_layout
21307
21308 \end_inset
21309
21310  can be compared to 
21311 \begin_inset Flex Code
21312 status collapsed
21313
21314 \begin_layout Plain Layout
21315
21316 \lang english
21317 ObsoletedBy
21318 \end_layout
21319
21320 \end_inset
21321
21322  in layout definitions.
21323 \end_layout
21324
21325 \begin_layout Itemize
21326
21327 \lang english
21328 \begin_inset Flex Code
21329 status collapsed
21330
21331 \begin_layout Plain Layout
21332
21333 \lang english
21334 latexcmd
21335 \end_layout
21336
21337 \end_inset
21338
21339 : The actual \SpecialChar LaTeX
21340  command that is output.
21341  
21342 \end_layout
21343
21344 \begin_layout Standard
21345
21346 \lang english
21347 \begin_inset Flex Code
21348 status collapsed
21349
21350 \begin_layout Plain Layout
21351
21352 \lang english
21353 Alias
21354 \end_layout
21355
21356 \end_inset
21357
21358  and 
21359 \begin_inset Flex Code
21360 status collapsed
21361
21362 \begin_layout Plain Layout
21363
21364 \lang english
21365 latexcmd
21366 \end_layout
21367
21368 \end_inset
21369
21370  are optional.
21371  If no 
21372 \begin_inset Flex Code
21373 status collapsed
21374
21375 \begin_layout Plain Layout
21376
21377 \lang english
21378 latexcmd
21379 \end_layout
21380
21381 \end_inset
21382
21383  is given, the 
21384 \begin_inset Flex Code
21385 status collapsed
21386
21387 \begin_layout Plain Layout
21388
21389 \lang english
21390 LyXName
21391 \end_layout
21392
21393 \end_inset
21394
21395  will be output to \SpecialChar LaTeX
21396 .
21397 \end_layout
21398
21399 \begin_layout Standard
21400
21401 \lang english
21402 Note further:
21403 \end_layout
21404
21405 \begin_layout Itemize
21406
21407 \lang english
21408 Capitalization indicates that the command also has a capitalized form (
21409 \begin_inset Flex Code
21410 status collapsed
21411
21412 \begin_layout Plain Layout
21413
21414 \lang english
21415
21416 \backslash
21417 Latexcmd
21418 \end_layout
21419
21420 \end_inset
21421
21422  vs.
21423  
21424 \begin_inset Flex Code
21425 status collapsed
21426
21427 \begin_layout Plain Layout
21428
21429 \lang english
21430
21431 \backslash
21432 latexcmd
21433 \end_layout
21434
21435 \end_inset
21436
21437 ).
21438  These usually enforce up-casing of name prefixes (
21439 \emph on
21440 von Goethe
21441 \emph default
21442  
21443 \begin_inset Formula $\Rightarrow$
21444 \end_inset
21445
21446  
21447 \emph on
21448 Von Goethe
21449 \emph default
21450 ).
21451 \end_layout
21452
21453 \begin_layout Itemize
21454
21455 \lang english
21456 Brackets 
21457 \begin_inset Flex Code
21458 status collapsed
21459
21460 \begin_layout Plain Layout
21461
21462 \lang english
21463 []
21464 \end_layout
21465
21466 \end_inset
21467
21468  indicate the number of optional arguments (there can be 0–2).
21469 \end_layout
21470
21471 \begin_layout Itemize
21472
21473 \lang english
21474 A star 
21475 \begin_inset Flex Code
21476 status collapsed
21477
21478 \begin_layout Plain Layout
21479
21480 \lang english
21481 *
21482 \end_layout
21483
21484 \end_inset
21485
21486  indicates there is a starred version of the command (
21487 \begin_inset Flex Code
21488 status collapsed
21489
21490 \begin_layout Plain Layout
21491
21492 \lang english
21493
21494 \backslash
21495 latexcmd*
21496 \end_layout
21497
21498 \end_inset
21499
21500  vs.
21501  
21502 \begin_inset Flex Code
21503 status collapsed
21504
21505 \begin_layout Plain Layout
21506
21507 \lang english
21508
21509 \backslash
21510 latexcmd
21511 \end_layout
21512
21513 \end_inset
21514
21515 ).
21516  
21517 \end_layout
21518
21519 \begin_deeper
21520 \begin_layout Standard
21521
21522 \lang english
21523 By default, the starred version means: Output all authors even if it should
21524  be shortened with 
21525 \begin_inset Quotes eld
21526 \end_inset
21527
21528 et al.
21529 \begin_inset Quotes erd
21530 \end_inset
21531
21532  due to the 
21533 \begin_inset Flex Code
21534 status collapsed
21535
21536 \begin_layout Plain Layout
21537
21538 \lang english
21539 MaxCiteNames
21540 \end_layout
21541
21542 \end_inset
21543
21544  threshold.
21545 \end_layout
21546
21547 \begin_layout Standard
21548
21549 \lang english
21550 If the star has a different meaning for a given command, it can be specified
21551  in angle brackets: 
21552 \begin_inset Flex Code
21553 status collapsed
21554
21555 \begin_layout Plain Layout
21556
21557 \lang english
21558 <!_stardesc!_stardesctooltip>
21559 \end_layout
21560
21561 \end_inset
21562
21563 .
21564  Maximal two translatable macro keywords, marked by the prefix 
21565 \begin_inset Flex Code
21566 status collapsed
21567
21568 \begin_layout Plain Layout
21569
21570 \lang english
21571 !_
21572 \end_layout
21573
21574 \end_inset
21575
21576 , can be given.
21577  The first points to the string that replaces the 
21578 \begin_inset Quotes eld
21579 \end_inset
21580
21581 Full aut&hor list
21582 \begin_inset Quotes erd
21583 \end_inset
21584
21585  checkbox label in the citation dialog, the second one to an optional tool
21586  tip for this checkbox.
21587  
21588 \end_layout
21589
21590 \begin_layout Standard
21591
21592 \lang english
21593 Note that these two macros have to be defined in a 
21594 \begin_inset Flex Code
21595 status collapsed
21596
21597 \begin_layout Plain Layout
21598
21599 \lang english
21600 CiteFormat
21601 \end_layout
21602
21603 \end_inset
21604
21605  (see next section), dropping the 
21606 \begin_inset Flex Code
21607 status collapsed
21608
21609 \begin_layout Plain Layout
21610
21611 \lang english
21612 !
21613 \end_layout
21614
21615 \end_inset
21616
21617  from the prefix, like this: 
21618 \end_layout
21619
21620 \begin_layout LyX-Code
21621
21622 \lang english
21623 _stardesc Sta&rred command label
21624 \end_layout
21625
21626 \begin_layout LyX-Code
21627
21628 \lang english
21629 _stardesctooltip Tooltip for the starred command checkbox.
21630 \end_layout
21631
21632 \end_deeper
21633 \begin_layout Itemize
21634
21635 \lang english
21636 A dollar sign 
21637 \begin_inset Flex Code
21638 status collapsed
21639
21640 \begin_layout Plain Layout
21641
21642 \lang english
21643 $
21644 \end_layout
21645
21646 \end_inset
21647
21648  indicates that this command features 
21649 \begin_inset Quotes eld
21650 \end_inset
21651
21652 qualified citation lists
21653 \begin_inset Quotes erd
21654 \end_inset
21655
21656 .
21657  This is a 
21658 \family sans
21659 Biblatex
21660 \family default
21661 -specific feature for multi-reference citations where an individual pre-
21662  and postnote can be given to each reference in the list.
21663  Please refer to the 
21664 \family sans
21665 Biblatex
21666 \family default
21667  manual for details.
21668 \end_layout
21669
21670 \begin_layout Subsection
21671 \begin_inset CommandInset label
21672 LatexCommand label
21673 name "subsec:Descripción-formato-cita"
21674
21675 \end_inset
21676
21677 Descripción del formato de cita
21678 \end_layout
21679
21680 \begin_layout Standard
21681 Los bloques 
21682 \begin_inset Flex Code
21683 status collapsed
21684
21685 \begin_layout Plain Layout
21686 CiteFormat
21687 \end_layout
21688
21689 \end_inset
21690
21691  se usan para describir la forma en que debe mostrarse la información bibliográf
21692 ica, tanto en \SpecialChar LyX
21693  (en el diálogo de citas y en las ayudas emergentes, por ejemplo)
21694  como en la salida XHTML.
21695  El aspecto de unode estos bloques podría ser este:
21696 \end_layout
21697
21698 \begin_layout LyX-Code
21699 CiteFormat
21700 \end_layout
21701
21702 \begin_layout LyX-Code
21703  article ...
21704 \end_layout
21705
21706 \begin_layout LyX-Code
21707  book ...
21708 \end_layout
21709
21710 \begin_layout LyX-Code
21711 End
21712 \end_layout
21713
21714 \begin_layout Standard
21715
21716 \lang english
21717 or
21718 \end_layout
21719
21720 \begin_layout LyX-Code
21721
21722 \lang english
21723 CiteFormat
21724 \end_layout
21725
21726 \begin_layout LyX-Code
21727
21728 \lang english
21729  cite ...
21730 \end_layout
21731
21732 \begin_layout LyX-Code
21733
21734 \lang english
21735  citet*[][] ...
21736 \end_layout
21737
21738 \begin_layout LyX-Code
21739
21740 \lang english
21741 End
21742 \end_layout
21743
21744 \begin_layout Standard
21745
21746 \lang english
21747 In the first case, the individual lines
21748 \lang spanish
21749 definen cómo se va a mostrar la información bibliográfica asociada con un
21750  artículo o libro, respectivamente, y tales definiciones se pueden dar para
21751  cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
21752 .
21753  \SpecialChar LyX
21754  define un formato por omsión en el código fuente que se usará si no se
21755  da una definición específica.
21756  \SpecialChar LyX
21757  predefine varios formatos en el archivo 
21758 \begin_inset Flex Code
21759 status collapsed
21760
21761 \begin_layout Plain Layout
21762 stdciteformats.inc
21763 \end_layout
21764
21765 \end_inset
21766
21767 , que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
21768 .
21769 \end_layout
21770
21771 \begin_layout Standard
21772
21773 \lang english
21774 In the second case, the lines define how a specific citation command (in
21775  the example 
21776 \begin_inset Flex Code
21777 status collapsed
21778
21779 \begin_layout Plain Layout
21780
21781 \lang english
21782
21783 \backslash
21784 cite
21785 \end_layout
21786
21787 \end_inset
21788
21789
21790 \begin_inset Flex Code
21791 status collapsed
21792
21793 \begin_layout Plain Layout
21794
21795 \lang english
21796
21797 \backslash
21798 citet
21799 \end_layout
21800
21801 \end_inset
21802
21803 ) is to be displayed on the citation inset label, in the citation dialog,
21804  menu or XHTML output.
21805  \SpecialChar LyX
21806  defines such formats for the citation style variants it supports via 
21807 \family sans
21808 Document\SpecialChar menuseparator
21809 Setting\SpecialChar menuseparator
21810 Bibliography\SpecialChar ldots
21811
21812 \family default
21813  in specific 
21814 \begin_inset Flex Code
21815 status collapsed
21816
21817 \begin_layout Plain Layout
21818
21819 \lang english
21820 *.citeengine
21821 \end_layout
21822
21823 \end_inset
21824
21825  files that are shipped with \SpecialChar LyX
21826  (see 
21827 \begin_inset CommandInset ref
21828 LatexCommand ref
21829 reference "subsec:Cite-Engine-Files"
21830 plural "false"
21831 caps "false"
21832 noprefix "false"
21833
21834 \end_inset
21835
21836 ).
21837 \end_layout
21838
21839 \begin_layout Standard
21840 Las definiciones usan un lenguaje simple que permite reemplazar las claves
21841  Bib\SpecialChar TeX
21842  por sus valores.
21843  Las claves deben encerrarse entre símbolos 
21844 \begin_inset Flex Code
21845 status collapsed
21846
21847 \begin_layout Plain Layout
21848 %
21849 \end_layout
21850
21851 \end_inset
21852
21853 , p.
21854 \begin_inset space \thinspace{}
21855 \end_inset
21856
21857 ej.: 
21858 \begin_inset Flex Code
21859 status collapsed
21860
21861 \begin_layout Plain Layout
21862 %author%
21863 \end_layout
21864
21865 \end_inset
21866
21867 .
21868  Así, una simple definición sería:
21869 \end_layout
21870
21871 \begin_layout LyX-Code
21872 misc %author%, 
21873 \begin_inset Quotes eld
21874 \end_inset
21875
21876 %title%
21877 \begin_inset Quotes erd
21878 \end_inset
21879
21880 .
21881 \end_layout
21882
21883 \begin_layout Standard
21884 Esto imprimiría el autor, una coma, a continuación el título entre comillas
21885  y un punto para finalizar.
21886 \end_layout
21887
21888 \begin_layout Standard
21889 A veces querrás, por supuesto, imprimir una clave solo si existe.
21890  Esto puede hacerse mediante una construcción condicional tal como: 
21891 \begin_inset Flex Code
21892 status collapsed
21893
21894 \begin_layout Plain Layout
21895 {%volume%[[vol.
21896 \begin_inset space ~
21897 \end_inset
21898
21899 %volume%]]}
21900 \end_layout
21901
21902 \end_inset
21903
21904 , que quiere decir: si la clave 
21905 \begin_inset Flex Code
21906 status collapsed
21907
21908 \begin_layout Plain Layout
21909 volume
21910 \end_layout
21911
21912 \end_inset
21913
21914  existe, imprime 
21915 \begin_inset Quotes eld
21916 \end_inset
21917
21918 vol.
21919 \begin_inset space ~
21920 \end_inset
21921
21922
21923 \begin_inset Quotes erd
21924 \end_inset
21925
21926  seguido de la clave.
21927  También es posible tener una cláusula de otro modo en el condicional, como:
21928 \begin_inset Newline newline
21929 \end_inset
21930
21931
21932 \begin_inset Flex Code
21933 status collapsed
21934
21935 \begin_layout Plain Layout
21936 {%author%[[%author%]][[%editor%, ed.]]}
21937 \end_layout
21938
21939 \end_inset
21940
21941
21942 \begin_inset Newline newline
21943 \end_inset
21944
21945 Aquí, la clave 
21946 \begin_inset Flex Code
21947 status collapsed
21948
21949 \begin_layout Plain Layout
21950 author
21951 \end_layout
21952
21953 \end_inset
21954
21955  se imprime si existe; por otra parte, se imprime la clave 
21956 \begin_inset Flex Code
21957 status collapsed
21958
21959 \begin_layout Plain Layout
21960 author
21961 \end_layout
21962
21963 \end_inset
21964
21965  seguida por 
21966 \begin_inset Quotes eld
21967 \end_inset
21968
21969 ,
21970 \begin_inset space ~
21971 \end_inset
21972
21973 ed.
21974 \begin_inset Quotes erd
21975 \end_inset
21976
21977 .
21978  Advierte que la clave se encierra entre signos 
21979 \begin_inset Flex Code
21980 status collapsed
21981
21982 \begin_layout Plain Layout
21983 %
21984 \end_layout
21985
21986 \end_inset
21987
21988 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
21989  y por otra parte se ponen entre cobles corchetes, 
21990 \begin_inset Quotes eld
21991 \end_inset
21992
21993
21994 \begin_inset Flex Code
21995 status collapsed
21996
21997 \begin_layout Plain Layout
21998 [[
21999 \end_layout
22000
22001 \end_inset
22002
22003
22004 \begin_inset Quotes eld
22005 \end_inset
22006
22007  y 
22008 \begin_inset Quotes eld
22009 \end_inset
22010
22011
22012 \begin_inset Flex Code
22013 status collapsed
22014
22015 \begin_layout Plain Layout
22016 ]]
22017 \end_layout
22018
22019 \end_inset
22020
22021
22022 \begin_inset Quotes erd
22023 \end_inset
22024
22025 .
22026  No debe haber espacios entre ninguno de ellos.
22027 \end_layout
22028
22029 \begin_layout Standard
22030
22031 \lang english
22032 Next to the entry keys, there are some special keys that can be used for
22033  these conditionals:
22034 \end_layout
22035
22036 \begin_layout Itemize
22037
22038 \lang english
22039 \begin_inset Flex Code
22040 status collapsed
22041
22042 \begin_layout Plain Layout
22043
22044 \lang english
22045 {%dialog%[[true]][[false]]}
22046 \end_layout
22047
22048 \end_inset
22049
22050 : process the 
22051 \begin_inset Quotes eld
22052 \end_inset
22053
22054 true
22055 \begin_inset Quotes erd
22056 \end_inset
22057
22058  part for dialogs and menus, the 
22059 \begin_inset Quotes eld
22060 \end_inset
22061
22062 false
22063 \begin_inset Quotes erd
22064 \end_inset
22065
22066  part for other contexts (workarea, export)
22067 \end_layout
22068
22069 \begin_layout Itemize
22070
22071 \lang english
22072 \begin_inset Flex Code
22073 status collapsed
22074
22075 \begin_layout Plain Layout
22076
22077 \lang english
22078 {%export%[[true]][[false]]}
22079 \end_layout
22080
22081 \end_inset
22082
22083 : process the 
22084 \begin_inset Quotes eld
22085 \end_inset
22086
22087 true
22088 \begin_inset Quotes erd
22089 \end_inset
22090
22091  part for export and menus, the 
22092 \begin_inset Quotes eld
22093 \end_inset
22094
22095 false
22096 \begin_inset Quotes erd
22097 \end_inset
22098
22099  part for other contexts (workarea, dialog)
22100 \end_layout
22101
22102 \begin_layout Itemize
22103
22104 \lang english
22105 \begin_inset Flex Code
22106 status collapsed
22107
22108 \begin_layout Plain Layout
22109
22110 \lang english
22111 {%next%[[true]]}
22112 \end_layout
22113
22114 \end_inset
22115
22116 : process the 
22117 \begin_inset Quotes eld
22118 \end_inset
22119
22120 true
22121 \begin_inset Quotes erd
22122 \end_inset
22123
22124  part if another item follows (e.
22125 \begin_inset space \thinspace{}
22126 \end_inset
22127
22128 g., in a citation with multiple keys)
22129 \end_layout
22130
22131 \begin_layout Itemize
22132
22133 \lang english
22134 \begin_inset Flex Code
22135 status collapsed
22136
22137 \begin_layout Plain Layout
22138
22139 \lang english
22140 {%second%[[true]][[false]]}
22141 \end_layout
22142
22143 \end_inset
22144
22145 : process the 
22146 \begin_inset Quotes eld
22147 \end_inset
22148
22149 true
22150 \begin_inset Quotes erd
22151 \end_inset
22152
22153  if this is the second of multiple items, else the 
22154 \begin_inset Quotes eld
22155 \end_inset
22156
22157 false
22158 \begin_inset Quotes erd
22159 \end_inset
22160
22161  part
22162 \end_layout
22163
22164 \begin_layout Itemize
22165
22166 \lang english
22167 \begin_inset Flex Code
22168 status collapsed
22169
22170 \begin_layout Plain Layout
22171
22172 \lang english
22173 {%ifstar%[[true]][[false]]}
22174 \end_layout
22175
22176 \end_inset
22177
22178 : process the 
22179 \begin_inset Quotes eld
22180 \end_inset
22181
22182 true
22183 \begin_inset Quotes erd
22184 \end_inset
22185
22186  part for starred citation commands (such as 
22187 \begin_inset Flex Code
22188 status collapsed
22189
22190 \begin_layout Plain Layout
22191
22192 \lang english
22193
22194 \backslash
22195 cite*
22196 \end_layout
22197
22198 \end_inset
22199
22200 ), the false part for unstarred
22201 \end_layout
22202
22203 \begin_layout Itemize
22204
22205 \lang english
22206 \begin_inset Flex Code
22207 status collapsed
22208
22209 \begin_layout Plain Layout
22210
22211 \lang english
22212 {%ifentrytype:<type>%[[true]][[false]]}
22213 \end_layout
22214
22215 \end_inset
22216
22217 : process the 
22218 \begin_inset Quotes eld
22219 \end_inset
22220
22221 true
22222 \begin_inset Quotes erd
22223 \end_inset
22224
22225  if the current entry type matches 
22226 \begin_inset Flex Code
22227 status collapsed
22228
22229 \begin_layout Plain Layout
22230
22231 \lang english
22232 <type>
22233 \end_layout
22234
22235 \end_inset
22236
22237 , else the false part (e.g., in a citation definition: 
22238 \begin_inset Flex Code
22239 status collapsed
22240
22241 \begin_layout Plain Layout
22242
22243 \lang english
22244 {%ifentrytype:book%[[this is a book]][[this is no book]]}
22245 \end_layout
22246
22247 \end_inset
22248
22249 )
22250 \end_layout
22251
22252 \begin_layout Itemize
22253
22254 \lang english
22255 \begin_inset Flex Code
22256 status collapsed
22257
22258 \begin_layout Plain Layout
22259
22260 \lang english
22261 {%ifmultiple:<authortype>%[[true]][[false]]}
22262 \end_layout
22263
22264 \end_inset
22265
22266 : process the 
22267 \begin_inset Quotes eld
22268 \end_inset
22269
22270 true
22271 \begin_inset Quotes erd
22272 \end_inset
22273
22274  if the current author type (author, editor etc.) has multiple authors, else
22275  the false part (e.g., in a bibliography definition: 
22276 \begin_inset Flex Code
22277 status collapsed
22278
22279 \begin_layout Plain Layout
22280
22281 \lang english
22282 {%ifmultiple:editor%[[eds.]][[ed.]]}
22283 \end_layout
22284
22285 \end_inset
22286
22287 )
22288 \end_layout
22289
22290 \begin_layout Itemize
22291
22292 \lang english
22293 \begin_inset Flex Code
22294 status collapsed
22295
22296 \begin_layout Plain Layout
22297
22298 \lang english
22299 {%ifqualified%[[true]][[false]]}
22300 \end_layout
22301
22302 \end_inset
22303
22304 : process the 
22305 \begin_inset Quotes eld
22306 \end_inset
22307
22308 true
22309 \begin_inset Quotes erd
22310 \end_inset
22311
22312  part if the current citation is a qualified citation list (a specific 
22313 \family sans
22314 Biblatex
22315 \family default
22316  format for multi-reference citations), the false part if this is not the
22317  case.
22318 \end_layout
22319
22320 \begin_layout Standard
22321
22322 \lang english
22323 We said that 
22324 \begin_inset Flex Code
22325 status collapsed
22326
22327 \begin_layout Plain Layout
22328
22329 \lang english
22330 %author%
22331 \end_layout
22332
22333 \end_inset
22334
22335  prints the author key as it is recorded in the bibliography file.
22336  This might not be what you want, since it will result in a string such
22337  as 
22338 \begin_inset Quotes eld
22339 \end_inset
22340
22341 Miller, Peter and Smith, Mary and White, Jane
22342 \begin_inset Quotes erd
22343 \end_inset
22344
22345  (since 
22346 \begin_inset Quotes eld
22347 \end_inset
22348
22349 and
22350 \begin_inset Quotes erd
22351 \end_inset
22352
22353  is used by Bib\SpecialChar TeX
22354  to delimit authors).
22355  \SpecialChar LyX
22356  therefore provides some methods to get properly formatted name lists (which
22357  will also get translated).
22358  The following keys are provided:
22359 \end_layout
22360
22361 \begin_layout Enumerate
22362
22363 \lang english
22364 For name lists with pre- and surname, suitable for the main authors/editors
22365  of a bibliography item.
22366  The 
22367 \begin_inset Flex Code
22368 status collapsed
22369
22370 \begin_layout Plain Layout
22371
22372 \lang english
22373 <nametype>
22374 \end_layout
22375
22376 \end_inset
22377
22378  part denotes the kind of list that is requested (e.g.
22379  
22380 \begin_inset Flex Code
22381 status collapsed
22382
22383 \begin_layout Plain Layout
22384
22385 \lang english
22386 <nametype:author>
22387 \end_layout
22388
22389 \end_inset
22390
22391 ):
22392 \end_layout
22393
22394 \begin_deeper
22395 \begin_layout Itemize
22396
22397 \lang english
22398 \begin_inset Flex Code
22399 status collapsed
22400
22401 \begin_layout Plain Layout
22402
22403 \lang english
22404 %abbrvnames:<nametype>%
22405 \end_layout
22406
22407 \end_inset
22408
22409 : Provides a name list which is abbreviated (with 
22410 \begin_inset Quotes eld
22411 \end_inset
22412
22413 et al.
22414 \begin_inset Quotes erd
22415 \end_inset
22416
22417 ) when 
22418 \begin_inset Flex Code
22419 status collapsed
22420
22421 \begin_layout Plain Layout
22422
22423 \lang english
22424 MaxCiteNames
22425 \end_layout
22426
22427 \end_inset
22428
22429  is reached.
22430 \end_layout
22431
22432 \begin_layout Itemize
22433
22434 \lang english
22435 \begin_inset Flex Code
22436 status collapsed
22437
22438 \begin_layout Plain Layout
22439
22440 \lang english
22441 %fullnames:<nametype>%
22442 \end_layout
22443
22444 \end_inset
22445
22446 : Provides a full name list (never abbreviated with 
22447 \begin_inset Quotes eld
22448 \end_inset
22449
22450 et al.
22451 \begin_inset Quotes erd
22452 \end_inset
22453
22454 ).
22455 \end_layout
22456
22457 \begin_layout Itemize
22458
22459 \lang english
22460 \begin_inset Flex Code
22461 status collapsed
22462
22463 \begin_layout Plain Layout
22464
22465 \lang english
22466 %forceabbrvnames:<nametype>%
22467 \end_layout
22468
22469 \end_inset
22470
22471 : Provides a name list which is always abbreviated (with 
22472 \begin_inset Quotes eld
22473 \end_inset
22474
22475 et al.
22476 \begin_inset Quotes erd
22477 \end_inset
22478
22479 ) irrespective of 
22480 \begin_inset Flex Code
22481 status collapsed
22482
22483 \begin_layout Plain Layout
22484
22485 \lang english
22486 MaxCiteNames
22487 \end_layout
22488
22489 \end_inset
22490
22491 .
22492 \end_layout
22493
22494 \end_deeper
22495 \begin_layout Enumerate
22496
22497 \lang english
22498 Alternative name lists with pre- and surname, if the order of pre- and surname
22499  inside the bibliography item differs (as in: 
22500 \begin_inset Quotes eld
22501 \end_inset
22502
22503 Miller, John: Some text, in: Mary Smith, ed.: A volume
22504 \begin_inset Quotes erd
22505 \end_inset
22506
22507 ):
22508 \end_layout
22509
22510 \begin_deeper
22511 \begin_layout Itemize
22512
22513 \lang english
22514 \begin_inset Flex Code
22515 status collapsed
22516
22517 \begin_layout Plain Layout
22518
22519 \lang english
22520 %abbrvbynames:<nametype>%
22521 \end_layout
22522
22523 \end_inset
22524
22525 : Provides a name list which is abbreviated (with 
22526 \begin_inset Quotes eld
22527 \end_inset
22528
22529 et al.
22530 \begin_inset Quotes erd
22531 \end_inset
22532
22533 ) when 
22534 \begin_inset Flex Code
22535 status collapsed
22536
22537 \begin_layout Plain Layout
22538
22539 \lang english
22540 MaxCiteNames
22541 \end_layout
22542
22543 \end_inset
22544
22545  is reached.
22546 \end_layout
22547
22548 \begin_layout Itemize
22549
22550 \lang english
22551 \begin_inset Flex Code
22552 status collapsed
22553
22554 \begin_layout Plain Layout
22555
22556 \lang english
22557 %fullbynames:<nametype>%
22558 \end_layout
22559
22560 \end_inset
22561
22562 : Provides a full name list (never abbreviated with 
22563 \begin_inset Quotes eld
22564 \end_inset
22565
22566 et al.
22567 \begin_inset Quotes erd
22568 \end_inset
22569
22570 ).
22571 \end_layout
22572
22573 \begin_layout Itemize
22574
22575 \lang english
22576 \begin_inset Flex Code
22577 status collapsed
22578
22579 \begin_layout Plain Layout
22580
22581 \lang english
22582 %forceabbrvbynames:<nametype>%
22583 \end_layout
22584
22585 \end_inset
22586
22587 : Provides a name list which is always abbreviated (with 
22588 \begin_inset Quotes eld
22589 \end_inset
22590
22591 et al.
22592 \begin_inset Quotes erd
22593 \end_inset
22594
22595 ) irrespective of 
22596 \begin_inset Flex Code
22597 status collapsed
22598
22599 \begin_layout Plain Layout
22600
22601 \lang english
22602 MaxCiteNames
22603 \end_layout
22604
22605 \end_inset
22606
22607 .
22608 \end_layout
22609
22610 \end_deeper
22611 \begin_layout Enumerate
22612
22613 \lang english
22614 And finally name lists which consist of family names only, as used in author-yea
22615 r citation labels.
22616  these do not take a 
22617 \begin_inset Flex Code
22618 status collapsed
22619
22620 \begin_layout Plain Layout
22621
22622 \lang english
22623 <nametype>
22624 \end_layout
22625
22626 \end_inset
22627
22628  part, but always return either an author list or, if this does not exist,
22629  an editor list (as common in author-year labels):
22630 \end_layout
22631
22632 \begin_deeper
22633 \begin_layout Itemize
22634
22635 \lang english
22636 \begin_inset Flex Code
22637 status collapsed
22638
22639 \begin_layout Plain Layout
22640
22641 \lang english
22642 %abbrvciteauthor%
22643 \end_layout
22644
22645 \end_inset
22646
22647 : Provides a name list which is abbreviated (with 
22648 \begin_inset Quotes eld
22649 \end_inset
22650
22651 et al.
22652 \begin_inset Quotes erd
22653 \end_inset
22654
22655 ) when 
22656 \begin_inset Flex Code
22657 status collapsed
22658
22659 \begin_layout Plain Layout
22660
22661 \lang english
22662 MaxCiteNames
22663 \end_layout
22664
22665 \end_inset
22666
22667  is reached.
22668 \end_layout
22669
22670 \begin_layout Itemize
22671
22672 \lang english
22673 \begin_inset Flex Code
22674 status collapsed
22675
22676 \begin_layout Plain Layout
22677
22678 \lang english
22679 %fullciteauthor%
22680 \end_layout
22681
22682 \end_inset
22683
22684 : Provides a full name list (never abbreviated with 
22685 \begin_inset Quotes eld
22686 \end_inset
22687
22688 et al.
22689 \begin_inset Quotes erd
22690 \end_inset
22691
22692 ).
22693 \end_layout
22694
22695 \begin_layout Itemize
22696
22697 \lang english
22698 \begin_inset Flex Code
22699 status collapsed
22700
22701 \begin_layout Plain Layout
22702
22703 \lang english
22704 %forceabbrvciteauthor%
22705 \end_layout
22706
22707 \end_inset
22708
22709 : Provides a name list which is always abbreviated (with 
22710 \begin_inset Quotes eld
22711 \end_inset
22712
22713 et al.
22714 \begin_inset Quotes erd
22715 \end_inset
22716
22717 ) irrespective of 
22718 \begin_inset Flex Code
22719 status collapsed
22720
22721 \begin_layout Plain Layout
22722
22723 \lang english
22724 MaxCiteNames
22725 \end_layout
22726
22727 \end_inset
22728
22729 .
22730 \end_layout
22731
22732 \end_deeper
22733 \begin_layout Standard
22734
22735 \lang english
22736 The order of pre- and surname in the former two lists can be adjusted by
22737  these macros:
22738 \end_layout
22739
22740 \begin_layout Itemize
22741
22742 \lang english
22743 \begin_inset Flex Code
22744 status collapsed
22745
22746 \begin_layout Plain Layout
22747
22748 \lang english
22749 !firstnameform %surname%, %prename%
22750 \end_layout
22751
22752 \end_inset
22753
22754  (first author in lists of type 1)
22755 \end_layout
22756
22757 \begin_layout Itemize
22758
22759 \lang english
22760 \begin_inset Flex Code
22761 status collapsed
22762
22763 \begin_layout Plain Layout
22764
22765 \lang english
22766 !othernameform %surname%, %prename%
22767 \end_layout
22768
22769 \end_inset
22770
22771  (other authors in lists of type 1)
22772 \end_layout
22773
22774 \begin_layout Itemize
22775
22776 \lang english
22777 \begin_inset Flex Code
22778 status collapsed
22779
22780 \begin_layout Plain Layout
22781
22782 \lang english
22783 !firstbynameform %prename% %surname%
22784 \end_layout
22785
22786 \end_inset
22787
22788  (first author in lists of type 2)
22789 \end_layout
22790
22791 \begin_layout Itemize
22792
22793 \lang english
22794 \begin_inset Flex Code
22795 status collapsed
22796
22797 \begin_layout Plain Layout
22798
22799 \lang english
22800 !otherbynameform %prename% %surname%
22801 \end_layout
22802
22803 \end_inset
22804
22805  (other authors in lists of type 2)
22806 \end_layout
22807
22808 \begin_layout Standard
22809
22810 \lang english
22811 This allows you to configure namings like 
22812 \begin_inset Quotes eld
22813 \end_inset
22814
22815 Miller, Peter and Mary Smith: \SpecialChar ldots
22816 , in: John Doe and Pat Green, eds.:\SpecialChar ldots
22817
22818 \begin_inset Quotes erd
22819 \end_inset
22820
22821 .
22822 \end_layout
22823
22824 \begin_layout Standard
22825 Hay otra pieza de sintaxis disponible en las definiciones, como esta: 
22826 \begin_inset Flex Code
22827 status collapsed
22828
22829 \begin_layout Plain Layout
22830 {!<i>!}
22831 \end_layout
22832
22833 \end_inset
22834
22835 .
22836  Define una pieza de información para ser usada cuando creamos 
22837 \begin_inset Quotes eld
22838 \end_inset
22839
22840 texto enriquecido
22841 \begin_inset Quotes erd
22842 \end_inset
22843
22844 .
22845  Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
22846  por tanto deben ponerse entre 
22847 \begin_inset Quotes eld
22848 \end_inset
22849
22850 {!
22851 \begin_inset Quotes erd
22852 \end_inset
22853
22854  y 
22855 \begin_inset Quotes eld
22856 \end_inset
22857
22858 !}
22859 \begin_inset Quotes erd
22860 \end_inset
22861
22862 .
22863 \end_layout
22864
22865 \begin_layout Standard
22866 Además, hay dos clases especiales de definiciones disponibles en un bloque
22867  
22868 \begin_inset Flex Code
22869 status collapsed
22870
22871 \begin_layout Plain Layout
22872 CiteFormat
22873 \end_layout
22874
22875 \end_inset
22876
22877 .
22878  Un ejemplo de la primera sería:
22879 \end_layout
22880
22881 \begin_layout LyX-Code
22882 !quotetitle 
22883 \begin_inset Quotes eld
22884 \end_inset
22885
22886 %title%
22887 \begin_inset Quotes erd
22888 \end_inset
22889
22890
22891 \end_layout
22892
22893 \begin_layout Standard
22894 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
22895  una clave: 
22896 \begin_inset Flex Code
22897 status collapsed
22898
22899 \begin_layout Plain Layout
22900 %!quotetitle%
22901 \end_layout
22902
22903 \end_inset
22904
22905 .
22906  \SpecialChar LyX
22907  tratará 
22908 \begin_inset Flex Code
22909 status collapsed
22910
22911 \begin_layout Plain Layout
22912 %!quotetitle%
22913 \end_layout
22914
22915 \end_inset
22916
22917  exactamente como trataría su definición.
22918  Por tanto, permítenos un 
22919 \emph on
22920 aviso
22921 \emph default
22922  obvio.
22923  No hagas:
22924 \end_layout
22925
22926 \begin_layout LyX-Code
22927 !funfun %funfun%
22928 \end_layout
22929
22930 \begin_layout Standard
22931 ni nada parecido.
22932  \SpecialChar LyX
22933  no caería en un bucle infinito, pero sí en uno muy largo.
22934 \end_layout
22935
22936 \begin_layout Standard
22937 El segundo tipo especial de definición sería como:
22938 \end_layout
22939
22940 \begin_layout LyX-Code
22941 _pptext pp.
22942 \end_layout
22943
22944 \begin_layout Standard
22945 Esto define un trozo de texto traducible, que permite traducir partes relevantes
22946  de la bibliografía
22947 \lang english
22948  or citation
22949 \lang spanish
22950 .
22951  Puede incluirse en una definición tratándolo como una clave: 
22952 \begin_inset Flex Code
22953 status collapsed
22954
22955 \begin_layout Plain Layout
22956 %_pptext%
22957 \end_layout
22958
22959 \end_inset
22960
22961 .
22962  Varios de estos están predefinidos en 
22963 \begin_inset Flex Code
22964 status collapsed
22965
22966 \begin_layout Plain Layout
22967 stdciteformats.inc
22968 \end_layout
22969
22970 \end_inset
22971
22972
22973 \lang english
22974  and the diverse 
22975 \begin_inset Flex Code
22976 status collapsed
22977
22978 \begin_layout Plain Layout
22979
22980 \lang english
22981 *.citeengine
22982 \end_layout
22983
22984 \end_inset
22985
22986  files
22987 \lang spanish
22988 .
22989  Advertiremos que no son macros en el sentido definido.
22990  No se expandirán.
22991 \end_layout
22992
22993 \begin_layout Standard
22994 Aquí hay, pues, un ejemplo que usa todas estas características:
22995 \begin_inset VSpace defskip
22996 \end_inset
22997
22998
22999 \end_layout
23000
23001 \begin_layout Standard
23002 \noindent
23003
23004 \family typewriter
23005 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
23006 \end_layout
23007
23008 \begin_layout Standard
23009 \begin_inset VSpace defskip
23010 \end_inset
23011
23012 Así definimos una macro que imprime el autor seguido de coma, si la clave
23013  
23014 \begin_inset Flex Code
23015 status collapsed
23016
23017 \begin_layout Plain Layout
23018 author
23019 \end_layout
23020
23021 \end_inset
23022
23023  está definida, o imprime el nombre del editor seguido por el texto 
23024 \begin_inset Flex Code
23025 status collapsed
23026
23027 \begin_layout Plain Layout
23028 _edtext
23029 \end_layout
23030
23031 \end_inset
23032
23033  o su traducción (por omisión 
23034 \begin_inset Quotes eld
23035 \end_inset
23036
23037 ed.
23038 \begin_inset Quotes erd
23039 \end_inset
23040
23041 ), si la clave 
23042 \begin_inset Flex Code
23043 status collapsed
23044
23045 \begin_layout Plain Layout
23046 editor
23047 \end_layout
23048
23049 \end_inset
23050
23051  está definida.
23052  De hecho, esto está definido en 
23053 \begin_inset Flex Code
23054 status collapsed
23055
23056 \begin_layout Plain Layout
23057 stdciteformats.inc
23058 \end_layout
23059
23060 \end_inset
23061
23062 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23063  si cargas antes ese archivo.
23064 \end_layout
23065
23066 \begin_layout Section
23067 Etiquetas para la salida XHTML
23068 \begin_inset CommandInset label
23069 LatexCommand label
23070 name "sec:Etiquetas-para-XHTML"
23071
23072 \end_inset
23073
23074
23075 \end_layout
23076
23077 \begin_layout Standard
23078 Como para \SpecialChar LaTeX
23079  o DocBook, el formato de salida XHTML en \SpecialChar LyX
23080  también se controla
23081  mediante la información contenida en archivos de formato.
23082  En general, \SpecialChar LyX
23083  provee valores predefinidos sensatos y, como se mencionó anteriorm
23084 ente, incluso construirá reglas de estilo CSS a partir de las otras etiquetas
23085  de formato.
23086  Por ejemplo, \SpecialChar LyX
23087  intentará usar la información proporcionada por la declaración
23088  
23089 \begin_inset Flex Code
23090 status collapsed
23091
23092 \begin_layout Plain Layout
23093 Font
23094 \end_layout
23095
23096 \end_inset
23097
23098  para el estilo Chapter para escribir CSS que formateará adecuadamente los
23099  encabezados de capítulo.
23100 \end_layout
23101
23102 \begin_layout Standard
23103 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
23104  salida XHTML para tus propios entornos, recuadros personalizados y cosas
23105  así.
23106  Pero en ciertos casos querrás hacer cambios, y para eso \SpecialChar LyX
23107  proporciona un
23108  número de etiquetas de formato que se pueden usar para personalizar los
23109  XHTML y CSS generados.
23110 \end_layout
23111
23112 \begin_layout Standard
23113 Advertimos que hay dos etiquetas, 
23114 \begin_inset Flex Code
23115 status collapsed
23116
23117 \begin_layout Plain Layout
23118 HTMLPreamble
23119 \end_layout
23120
23121 \end_inset
23122
23123  y 
23124 \begin_inset Flex Code
23125 status collapsed
23126
23127 \begin_layout Plain Layout
23128 AddToHTMLPreamble
23129 \end_layout
23130
23131 \end_inset
23132
23133  que pueden aparecer fuera de las declaraciones de estilos y recuadros.
23134  Véase 
23135 \begin_inset CommandInset ref
23136 LatexCommand ref
23137 reference "subsec:Parámetros-generales-clases"
23138
23139 \end_inset
23140
23141  para detalles sobre esto.
23142 \end_layout
23143
23144 \begin_layout Subsection
23145 Estilos de párrafo
23146 \begin_inset CommandInset label
23147 LatexCommand label
23148 name "subsec:Estilos-de-párrafo-XHTML"
23149
23150 \end_inset
23151
23152
23153 \end_layout
23154
23155 \begin_layout Standard
23156 El tipo de XHTML que genera \SpecialChar LyX
23157  para un párrafo depende de si se trata de un
23158  párrafo normal, de un comando o de un entorno, en los que esto se determina
23159  por el contenido de la correspondiente etiqueta 
23160 \begin_inset Flex Code
23161 status collapsed
23162
23163 \begin_layout Plain Layout
23164 \SpecialChar LaTeX
23165 Type
23166 \end_layout
23167
23168 \end_inset
23169
23170 .
23171  
23172 \end_layout
23173
23174 \begin_layout Standard
23175 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
23176 \end_layout
23177
23178 \begin_layout LyX-Code
23179 <tag attr=
23180 \begin_inset Quotes erd
23181 \end_inset
23182
23183 value
23184 \begin_inset Quotes erd
23185 \end_inset
23186
23187 >
23188 \end_layout
23189
23190 \begin_layout LyX-Code
23191 <labeltag attr=
23192 \begin_inset Quotes erd
23193 \end_inset
23194
23195 value
23196 \begin_inset Quotes erd
23197 \end_inset
23198
23199 >Label</labeltag>
23200 \end_layout
23201
23202 \begin_layout LyX-Code
23203 Contents of the paragraph.
23204 \end_layout
23205
23206 \begin_layout LyX-Code
23207 </tag>
23208 \end_layout
23209
23210 \begin_layout Standard
23211 Por supuesto, `label tags´ se omiten si el párrafo no tiene etiqueta.
23212 \end_layout
23213
23214 \begin_layout Standard
23215 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
23216 \end_layout
23217
23218 \begin_layout LyX-Code
23219 <tag attr=
23220 \begin_inset Quotes erd
23221 \end_inset
23222
23223 value
23224 \begin_inset Quotes erd
23225 \end_inset
23226
23227 >
23228 \end_layout
23229
23230 \begin_layout LyX-Code
23231 <itemtag attr=
23232 \begin_inset Quotes erd
23233 \end_inset
23234
23235 value
23236 \begin_inset Quotes erd
23237 \end_inset
23238
23239 ><labeltag attr=
23240 \begin_inset Quotes erd
23241 \end_inset
23242
23243 value
23244 \begin_inset Quotes erd
23245 \end_inset
23246
23247 >Environment Label</labeltag>First paragraph.</itemtag>
23248 \end_layout
23249
23250 \begin_layout LyX-Code
23251 <itemtag>Second paragraph.</itemtag>
23252 \end_layout
23253
23254 \begin_layout LyX-Code
23255 </tag>
23256 \end_layout
23257
23258 \begin_layout Standard
23259 La etiqueta se genera solo para el primer párrafo, como debería ser, por
23260  ejemplo, para un teorema.
23261  
23262 \end_layout
23263
23264 \begin_layout Standard
23265 Para una lista disponemos de una de estas formas:
23266 \end_layout
23267
23268 \begin_layout LyX-Code
23269 <tag attr=
23270 \begin_inset Quotes erd
23271 \end_inset
23272
23273 value
23274 \begin_inset Quotes erd
23275 \end_inset
23276
23277 >
23278 \end_layout
23279
23280 \begin_layout LyX-Code
23281 <itemtag attr=
23282 \begin_inset Quotes erd
23283 \end_inset
23284
23285 value
23286 \begin_inset Quotes erd
23287 \end_inset
23288
23289 ><labeltag attr=
23290 \begin_inset Quotes erd
23291 \end_inset
23292
23293 value
23294 \begin_inset Quotes erd
23295 \end_inset
23296
23297 >List Label</labeltag>First item.</itemtag>
23298 \end_layout
23299
23300 \begin_layout LyX-Code
23301 <itemtag attr=
23302 \begin_inset Quotes erd
23303 \end_inset
23304
23305 value
23306 \begin_inset Quotes erd
23307 \end_inset
23308
23309 ><labeltag attr=
23310 \begin_inset Quotes erd
23311 \end_inset
23312
23313 value
23314 \begin_inset Quotes erd
23315 \end_inset
23316
23317 >List Label</labeltag>Second item.</itemtag>
23318 \end_layout
23319
23320 \begin_layout LyX-Code
23321 </tag>
23322 \end_layout
23323
23324 \begin_layout LyX-Code
23325
23326 \end_layout
23327
23328 \begin_layout LyX-Code
23329 <tag attr=
23330 \begin_inset Quotes erd
23331 \end_inset
23332
23333 value
23334 \begin_inset Quotes erd
23335 \end_inset
23336
23337 >
23338 \end_layout
23339
23340 \begin_layout LyX-Code
23341 <labeltag attr=
23342 \begin_inset Quotes erd
23343 \end_inset
23344
23345 value
23346 \begin_inset Quotes erd
23347 \end_inset
23348
23349 >List Label</labeltag><itemtag attr=
23350 \begin_inset Quotes erd
23351 \end_inset
23352
23353 value
23354 \begin_inset Quotes erd
23355 \end_inset
23356
23357 >First item.</itemtag>
23358 \end_layout
23359
23360 \begin_layout LyX-Code
23361 <labeltag attr=
23362 \begin_inset Quotes erd
23363 \end_inset
23364
23365 value
23366 \begin_inset Quotes erd
23367 \end_inset
23368
23369 >List Label</labeltag><itemtag attr=
23370 \begin_inset Quotes erd
23371 \end_inset
23372
23373 value
23374 \begin_inset Quotes erd
23375 \end_inset
23376
23377 >Second item.</itemtag>
23378 \end_layout
23379
23380 \begin_layout LyX-Code
23381 </tag>
23382 \end_layout
23383
23384 \begin_layout Standard
23385 Observa los diferentes órdenes de 
23386 \begin_inset Flex Code
23387 status collapsed
23388
23389 \begin_layout Plain Layout
23390 labeltag
23391 \end_layout
23392
23393 \end_inset
23394
23395  e 
23396 \begin_inset Flex Code
23397 status collapsed
23398
23399 \begin_layout Plain Layout
23400 itemtag
23401 \end_layout
23402
23403 \end_inset
23404
23405 .
23406  El orden que obtenemos depende del ajuste de 
23407 \begin_inset Flex Code
23408 status collapsed
23409
23410 \begin_layout Plain Layout
23411 HTMLLabelFirst
23412 \end_layout
23413
23414 \end_inset
23415
23416 : si 
23417 \begin_inset Flex Code
23418 status collapsed
23419
23420 \begin_layout Plain Layout
23421 HTMLLabelFirst
23422 \end_layout
23423
23424 \end_inset
23425
23426  es falso (por omisión), se obtiene el primero de ellos, con la etiqueta
23427  dentro del ítem; si verdadero, se obtiene el segundo, con la etiqueta fuera
23428  del ítem.
23429 \end_layout
23430
23431 \begin_layout Standard
23432 Las etiquetas específicas y la salida de los atributos para cada tipo de
23433  párrafo puede ser controlado por medio de las etiquetas de formato que
23434  vamos a describir.
23435  Como mencionamos antes, sin embargo, \SpecialChar LyX
23436  usa predefinidos adecuados para muchos
23437  de estos valores, por lo que generalmente no necesitarás hacer nada para
23438  obtener una buena salida XHTML.
23439  Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu
23440  gusto.
23441 \end_layout
23442
23443 \begin_layout Description
23444 \begin_inset Flex Code
23445 status collapsed
23446
23447 \begin_layout Plain Layout
23448 HTMLAttr
23449 \end_layout
23450
23451 \end_inset
23452
23453  [
23454 \begin_inset Flex Code
23455 status collapsed
23456
23457 \begin_layout Plain Layout
23458 string
23459 \end_layout
23460
23461 \end_inset
23462
23463 ] Especifica información de los atributos a entregar con la etiqueta principal.
23464  Por ejemplo, 
23465 \begin_inset Quotes eld
23466 \end_inset
23467
23468
23469 \begin_inset Flex Code
23470 status collapsed
23471
23472 \begin_layout Plain Layout
23473 class=`mydiv'
23474 \end_layout
23475
23476 \end_inset
23477
23478
23479 \begin_inset Quotes erd
23480 \end_inset
23481
23482 .
23483  Por omisión, \SpecialChar LyX
23484  producirá 
23485 \begin_inset Quotes eld
23486 \end_inset
23487
23488
23489 \begin_inset Flex Code
23490 status collapsed
23491
23492 \begin_layout Plain Layout
23493 class=`layoutname'
23494 \end_layout
23495
23496 \end_inset
23497
23498
23499 \begin_inset Quotes erd
23500 \end_inset
23501
23502 , donde 
23503 \begin_inset Flex Code
23504 status collapsed
23505
23506 \begin_layout Plain Layout
23507 layoutname
23508 \end_layout
23509
23510 \end_inset
23511
23512  es el nombre del formato en \SpecialChar LyX
23513 , en minúsculas, por ejemplo: chapter.
23514  Esto 
23515 \emph on
23516 no
23517 \emph default
23518  debería contener ninguna información de estilo.
23519  Usa 
23520 \begin_inset Flex Code
23521 status collapsed
23522
23523 \begin_layout Plain Layout
23524 HTMLStyle
23525 \end_layout
23526
23527 \end_inset
23528
23529  para ese propósito.
23530 \end_layout
23531
23532 \begin_layout Description
23533 \begin_inset Flex Code
23534 status collapsed
23535
23536 \begin_layout Plain Layout
23537 HTMLForceCSS
23538 \end_layout
23539
23540 \end_inset
23541
23542  [
23543 \begin_inset Flex Code
23544 status collapsed
23545
23546 \begin_layout Plain Layout
23547
23548 \emph on
23549 0
23550 \end_layout
23551
23552 \end_inset
23553
23554 ,
23555 \begin_inset space \thinspace{}
23556 \end_inset
23557
23558
23559 \begin_inset Flex Code
23560 status collapsed
23561
23562 \begin_layout Plain Layout
23563 1
23564 \end_layout
23565
23566 \end_inset
23567
23568 ] Si producir la información CSS predeterminada que \SpecialChar LyX
23569  genera para este formato,
23570  incluso si se proporciona explícitamente información adicional mediante
23571  
23572 \begin_inset Flex Code
23573 status collapsed
23574
23575 \begin_layout Plain Layout
23576 HTMLStyle
23577 \end_layout
23578
23579 \end_inset
23580
23581 .
23582  Poner 
23583 \begin_inset Flex Code
23584 status collapsed
23585
23586 \begin_layout Plain Layout
23587 1
23588 \end_layout
23589
23590 \end_inset
23591
23592  permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
23593  Por omisión es 
23594 \begin_inset Flex Code
23595 status collapsed
23596
23597 \begin_layout Plain Layout
23598 0
23599 \end_layout
23600
23601 \end_inset
23602
23603 .
23604 \end_layout
23605
23606 \begin_layout Description
23607 \begin_inset Flex Code
23608 status collapsed
23609
23610 \begin_layout Plain Layout
23611 HTMLItem
23612 \end_layout
23613
23614 \end_inset
23615
23616  [
23617 \begin_inset Flex Code
23618 status collapsed
23619
23620 \begin_layout Plain Layout
23621 string
23622 \end_layout
23623
23624 \end_inset
23625
23626 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando 
23627 \begin_inset Flex Code
23628 status collapsed
23629
23630 \begin_layout Plain Layout
23631 itemtag
23632 \end_layout
23633
23634 \end_inset
23635
23636  en los ejemplos de arriba.
23637  Por omisión, 
23638 \begin_inset Flex Code
23639 status collapsed
23640
23641 \begin_layout Plain Layout
23642 div
23643 \end_layout
23644
23645 \end_inset
23646
23647 .
23648 \end_layout
23649
23650 \begin_layout Description
23651 \begin_inset Flex Code
23652 status collapsed
23653
23654 \begin_layout Plain Layout
23655 HTMLItemAttr
23656 \end_layout
23657
23658 \end_inset
23659
23660  [
23661 \begin_inset Flex Code
23662 status collapsed
23663
23664 \begin_layout Plain Layout
23665 string
23666 \end_layout
23667
23668 \end_inset
23669
23670 ] Atributos para la etiqueta ítem.
23671  Por omisión 
23672 \begin_inset Quotes eld
23673 \end_inset
23674
23675
23676 \begin_inset Flex Code
23677 status collapsed
23678
23679 \begin_layout Plain Layout
23680 class=`layoutname_item'
23681 \end_layout
23682
23683 \end_inset
23684
23685
23686 \begin_inset Quotes erd
23687 \end_inset
23688
23689 .
23690  Esto 
23691 \emph on
23692 no
23693 \emph default
23694  debería contener ninguna información de estilo.
23695  Usa 
23696 \begin_inset Flex Code
23697 status collapsed
23698
23699 \begin_layout Plain Layout
23700 HTMLStyle
23701 \end_layout
23702
23703 \end_inset
23704
23705  para ese propósito.
23706 \end_layout
23707
23708 \begin_layout Description
23709 \begin_inset Flex Code
23710 status collapsed
23711
23712 \begin_layout Plain Layout
23713 HTMLLabel
23714 \end_layout
23715
23716 \end_inset
23717
23718  [
23719 \begin_inset Flex Code
23720 status collapsed
23721
23722 \begin_layout Plain Layout
23723 string
23724 \end_layout
23725
23726 \end_inset
23727
23728 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando 
23729 \begin_inset Flex Code
23730 status collapsed
23731
23732 \begin_layout Plain Layout
23733 labeltag
23734 \end_layout
23735
23736 \end_inset
23737
23738  en los ejemplos de arriba.
23739  Por omisión, 
23740 \begin_inset Flex Code
23741 status collapsed
23742
23743 \begin_layout Plain Layout
23744 span
23745 \end_layout
23746
23747 \end_inset
23748
23749 , a menos que 
23750 \begin_inset Flex Code
23751 status collapsed
23752
23753 \begin_layout Plain Layout
23754 LabelType
23755 \end_layout
23756
23757 \end_inset
23758
23759  sea 
23760 \begin_inset Flex Code
23761 status collapsed
23762
23763 \begin_layout Plain Layout
23764 Top_Environment
23765 \end_layout
23766
23767 \end_inset
23768
23769  o 
23770 \begin_inset Flex Code
23771 status collapsed
23772
23773 \begin_layout Plain Layout
23774 Centered_Top_Environment
23775 \end_layout
23776
23777 \end_inset
23778
23779 , en cuyos casos es 
23780 \begin_inset Flex Code
23781 status collapsed
23782
23783 \begin_layout Plain Layout
23784 div
23785 \end_layout
23786
23787 \end_inset
23788
23789  por omisión.
23790 \end_layout
23791
23792 \begin_layout Description
23793 \begin_inset Flex Code
23794 status collapsed
23795
23796 \begin_layout Plain Layout
23797 HTMLLabelAttr
23798 \end_layout
23799
23800 \end_inset
23801
23802  [
23803 \begin_inset Flex Code
23804 status collapsed
23805
23806 \begin_layout Plain Layout
23807 string
23808 \end_layout
23809
23810 \end_inset
23811
23812 ] Atributos para la etiqueta del rótulo.
23813  Por omisión es 
23814 \begin_inset Quotes eld
23815 \end_inset
23816
23817
23818 \begin_inset Flex Code
23819 status collapsed
23820
23821 \begin_layout Plain Layout
23822 class=`layoutname_label'
23823 \end_layout
23824
23825 \end_inset
23826
23827
23828 \begin_inset Quotes erd
23829 \end_inset
23830
23831 .
23832  Esto 
23833 \emph on
23834 no
23835 \emph default
23836  debería contener ninguna información de estilo.
23837  Usa 
23838 \begin_inset Flex Code
23839 status collapsed
23840
23841 \begin_layout Plain Layout
23842 HTMLStyle
23843 \end_layout
23844
23845 \end_inset
23846
23847  para ese propósito.
23848 \end_layout
23849
23850 \begin_layout Description
23851 \begin_inset Flex Code
23852 status collapsed
23853
23854 \begin_layout Plain Layout
23855 HTMLLabelFirst
23856 \end_layout
23857
23858 \end_inset
23859
23860  [
23861 \begin_inset Flex Code
23862 status collapsed
23863
23864 \begin_layout Plain Layout
23865
23866 \emph on
23867 0
23868 \end_layout
23869
23870 \end_inset
23871
23872 ,
23873 \begin_inset space \thinspace{}
23874 \end_inset
23875
23876
23877 \begin_inset Flex Code
23878 status collapsed
23879
23880 \begin_layout Plain Layout
23881 1
23882 \end_layout
23883
23884 \end_inset
23885
23886 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
23887  si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
23888  Se usa, por ejemplo, en el entorno descripción, donde queremos `
23889 \begin_inset Flex Code
23890 status collapsed
23891
23892 \begin_layout Plain Layout
23893 <dt>\SpecialChar ldots
23894 </dt><dd>\SpecialChar ldots
23895 </dd>
23896 \end_layout
23897
23898 \end_inset
23899
23900 .
23901  Por omisión, 
23902 \begin_inset Flex Code
23903 status collapsed
23904
23905 \begin_layout Plain Layout
23906 0
23907 \end_layout
23908
23909 \end_inset
23910
23911 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
23912 \end_layout
23913
23914 \begin_layout Description
23915 \begin_inset Flex Code
23916 status collapsed
23917
23918 \begin_layout Plain Layout
23919 HTMLPreamble
23920 \end_layout
23921
23922 \end_inset
23923
23924  Información para generar en la sección 
23925 \begin_inset Flex Code
23926 status collapsed
23927
23928 \begin_layout Plain Layout
23929 <head>
23930 \end_layout
23931
23932 \end_inset
23933
23934  cuando se usa este estilo.
23935  Esto podría, por ejemplo, utilizarse para incluir un bloque 
23936 \begin_inset Flex Code
23937 status collapsed
23938
23939 \begin_layout Plain Layout
23940 <script>
23941 \end_layout
23942
23943 \end_inset
23944
23945  definiendo un controlador 
23946 \begin_inset Flex Code
23947 status collapsed
23948
23949 \begin_layout Plain Layout
23950 onclick
23951 \end_layout
23952
23953 \end_inset
23954
23955 .
23956 \end_layout
23957
23958 \begin_layout Description
23959 \begin_inset Flex Code
23960 status collapsed
23961
23962 \begin_layout Plain Layout
23963 HTMLStyle
23964 \end_layout
23965
23966 \end_inset
23967
23968  Información de estilo CSS a incluir cuando se usa este estilo.
23969  Advertimos que esto será automáticamente envuelto en un bloque 
23970 \begin_inset Flex Code
23971 status collapsed
23972
23973 \begin_layout Plain Layout
23974 <style>
23975 \end_layout
23976
23977 \end_inset
23978
23979  generado por el formato, por tanto solo es necesario incluir el propio
23980  CSS.
23981  Debe acabar con 
23982 \begin_inset Flex Code
23983 status collapsed
23984
23985 \begin_layout Plain Layout
23986 EndHTMLStyle
23987 \end_layout
23988
23989 \end_inset
23990
23991 .
23992 \end_layout
23993
23994 \begin_layout Description
23995 \begin_inset Flex Code
23996 status collapsed
23997
23998 \begin_layout Plain Layout
23999 HTMLTag
24000 \end_layout
24001
24002 \end_inset
24003
24004  [
24005 \begin_inset Flex Code
24006 status collapsed
24007
24008 \begin_layout Plain Layout
24009 string
24010 \end_layout
24011
24012 \end_inset
24013
24014 ] Etiqueta para el rótulo principal, reemplazando 
24015 \begin_inset Flex Code
24016 status collapsed
24017
24018 \begin_layout Plain Layout
24019 tag
24020 \end_layout
24021
24022 \end_inset
24023
24024  en losejemplos de arriba.
24025  Por omisión es 
24026 \begin_inset Flex Code
24027 status collapsed
24028
24029 \begin_layout Plain Layout
24030 div
24031 \end_layout
24032
24033 \end_inset
24034
24035 .
24036 \end_layout
24037
24038 \begin_layout Description
24039 \begin_inset Flex Code
24040 status collapsed
24041
24042 \begin_layout Plain Layout
24043 HTMLTitle
24044 \end_layout
24045
24046 \end_inset
24047
24048  [
24049 \begin_inset Flex Code
24050 status collapsed
24051
24052 \begin_layout Plain Layout
24053
24054 \emph on
24055 0
24056 \end_layout
24057
24058 \end_inset
24059
24060 ,
24061 \begin_inset space \thinspace{}
24062 \end_inset
24063
24064
24065 \begin_inset Flex Code
24066 status collapsed
24067
24068 \begin_layout Plain Layout
24069 1
24070 \end_layout
24071
24072 \end_inset
24073
24074 ] Marca este estilo como el que se va a usar para generar la etiqueta 
24075 \begin_inset Flex Code
24076 status collapsed
24077
24078 \begin_layout Plain Layout
24079 <title>
24080 \end_layout
24081
24082 \end_inset
24083
24084  para el archivo XHTML.
24085  Por omisión, es falso.
24086  El archivo 
24087 \begin_inset Flex Code
24088 status collapsed
24089
24090 \begin_layout Plain Layout
24091 stdtitle.inc
24092 \end_layout
24093
24094 \end_inset
24095
24096  lo establece verdadero para el entorno 
24097 \begin_inset Flex Code
24098 status collapsed
24099
24100 \begin_layout Plain Layout
24101 title
24102 \end_layout
24103
24104 \end_inset
24105
24106 .
24107  
24108 \end_layout
24109
24110 \begin_layout Subsection
24111 Recuadros XHTML
24112 \end_layout
24113
24114 \begin_layout Standard
24115 La salida XHTML de los recuadros también se puede controlar por información
24116  en archivos 'layout'.
24117 \begin_inset Foot
24118 status collapsed
24119
24120 \begin_layout Plain Layout
24121 Por ahora, esto solo es cierto para recuadros de 
24122 \begin_inset Quotes eld
24123 \end_inset
24124
24125 texto
24126 \begin_inset Quotes erd
24127 \end_inset
24128
24129  (recuadros en los que puedes escribir) y no para recuadros de 
24130 \begin_inset Quotes eld
24131 \end_inset
24132
24133 commandos
24134 \begin_inset Quotes erd
24135 \end_inset
24136
24137  (recuadros asociados con cuadros de diálogo).
24138 \end_layout
24139
24140 \end_inset
24141
24142  También en este caso, \SpecialChar LyX
24143  intenta proporcionar valores predefinidos adecuados,
24144  y construye reglas de estilo CSS, pero todo puede personalizarse.
24145 \end_layout
24146
24147 \begin_layout Standard
24148 Para los recuadros, \SpecialChar LyX
24149  produce XHTML en la forma:
24150 \end_layout
24151
24152 \begin_layout LyX-Code
24153 <tag attr=
24154 \begin_inset Quotes erd
24155 \end_inset
24156
24157 value
24158 \begin_inset Quotes erd
24159 \end_inset
24160
24161 >
24162 \end_layout
24163
24164 \begin_layout LyX-Code
24165 <labeltag>Label</labeltag>
24166 \end_layout
24167
24168 \begin_layout LyX-Code
24169 <innertag attr=
24170 \begin_inset Quotes erd
24171 \end_inset
24172
24173 value
24174 \begin_inset Quotes erd
24175 \end_inset
24176
24177 >Contents of the inset.</innertag>
24178 \end_layout
24179
24180 \begin_layout LyX-Code
24181 </tag>
24182 \end_layout
24183
24184 \begin_layout Standard
24185 Si el recuadro permite párrafos múltiples —o sea, si 
24186 \begin_inset Flex Code
24187 status collapsed
24188
24189 \begin_layout Plain Layout
24190 MultiPar
24191 \end_layout
24192
24193 \end_inset
24194
24195  es verdadero— el contenido del recuadro se generará en forma de párrafos
24196  estructurados según los estilos usados para dichos párrafos (normal, cita,
24197  y similares).
24198  El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
24199  es siempre 
24200 \begin_inset Flex Code
24201 status collapsed
24202
24203 \begin_layout Plain Layout
24204 span
24205 \end_layout
24206
24207 \end_inset
24208
24209 .
24210  La etiqueta interior es opcional y, por omisión, no aparece.
24211 \end_layout
24212
24213 \begin_layout Standard
24214 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
24215  mediante las siguientes etiquetas de formato.
24216 \end_layout
24217
24218 \begin_layout Description
24219 \begin_inset Flex Code
24220 status collapsed
24221
24222 \begin_layout Plain Layout
24223 HTMLAttr
24224 \end_layout
24225
24226 \end_inset
24227
24228  [
24229 \begin_inset Flex Code
24230 status collapsed
24231
24232 \begin_layout Plain Layout
24233 string
24234 \end_layout
24235
24236 \end_inset
24237
24238 ] Especifica información de atributos a generar con la etiqueta principal.
24239  Por ejemplo, 
24240 \begin_inset Quotes eld
24241 \end_inset
24242
24243
24244 \begin_inset Flex Code
24245 status collapsed
24246
24247 \begin_layout Plain Layout
24248 class=`myinset' onclick=`\SpecialChar ldots
24249 '
24250 \end_layout
24251
24252 \end_inset
24253
24254
24255 \begin_inset Quotes erd
24256 \end_inset
24257
24258 .
24259  Por omisión, \SpecialChar LyX
24260  generará 
24261 \begin_inset Quotes eld
24262 \end_inset
24263
24264
24265 \begin_inset Flex Code
24266 status collapsed
24267
24268 \begin_layout Plain Layout
24269 class=`insetname'
24270 \end_layout
24271
24272 \end_inset
24273
24274
24275 \begin_inset Quotes erd
24276 \end_inset
24277
24278 , donde 
24279 \begin_inset Flex Code
24280 status collapsed
24281
24282 \begin_layout Plain Layout
24283 insetname
24284 \end_layout
24285
24286 \end_inset
24287
24288  es el nombre del recuadro en \SpecialChar LyX
24289 , en minúsculas y con los caracteres no alfanuméri
24290 cos convertidos en guiones bajos, por ejemplo: footnote.
24291 \end_layout
24292
24293 \begin_layout Description
24294 \begin_inset Flex Code
24295 status collapsed
24296
24297 \begin_layout Plain Layout
24298 HTMLForceCSS
24299 \end_layout
24300
24301 \end_inset
24302
24303  [
24304 \begin_inset Flex Code
24305 status collapsed
24306
24307 \begin_layout Plain Layout
24308
24309 \emph on
24310 0
24311 \end_layout
24312
24313 \end_inset
24314
24315 ,
24316 \begin_inset space \thinspace{}
24317 \end_inset
24318
24319
24320 \begin_inset Flex Code
24321 status collapsed
24322
24323 \begin_layout Plain Layout
24324 1
24325 \end_layout
24326
24327 \end_inset
24328
24329 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
24330  genera para este formato,
24331  incluso si se da explícitamente información adicional con 
24332 \begin_inset Flex Code
24333 status collapsed
24334
24335 \begin_layout Plain Layout
24336 HTMLStyle
24337 \end_layout
24338
24339 \end_inset
24340
24341 .
24342  Si esto es 
24343 \begin_inset Flex Code
24344 status collapsed
24345
24346 \begin_layout Plain Layout
24347 1
24348 \end_layout
24349
24350 \end_inset
24351
24352  parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
24353  Por omisión, 0.
24354 \end_layout
24355
24356 \begin_layout Description
24357 \begin_inset Flex Code
24358 status collapsed
24359
24360 \begin_layout Plain Layout
24361 HTMLInnerAttr
24362 \end_layout
24363
24364 \end_inset
24365
24366  [
24367 \begin_inset Flex Code
24368 status collapsed
24369
24370 \begin_layout Plain Layout
24371 string
24372 \end_layout
24373
24374 \end_inset
24375
24376 ] Atributos para la etiqueta interna.
24377  Por omisión, es 
24378 \begin_inset Quotes eld
24379 \end_inset
24380
24381
24382 \begin_inset Flex Code
24383 status collapsed
24384
24385 \begin_layout Plain Layout
24386 class=`insetname_inner'
24387 \end_layout
24388
24389 \end_inset
24390
24391
24392 \begin_inset Quotes erd
24393 \end_inset
24394
24395 .
24396 \end_layout
24397
24398 \begin_layout Description
24399 \begin_inset Flex Code
24400 status collapsed
24401
24402 \begin_layout Plain Layout
24403 HTMLInnerTag
24404 \end_layout
24405
24406 \end_inset
24407
24408  [
24409 \begin_inset Flex Code
24410 status collapsed
24411
24412 \begin_layout Plain Layout
24413 string
24414 \end_layout
24415
24416 \end_inset
24417
24418 ] La etiqueta interna, reemplazando 
24419 \begin_inset Flex Code
24420 status collapsed
24421
24422 \begin_layout Plain Layout
24423 innertag
24424 \end_layout
24425
24426 \end_inset
24427
24428  en los ejemplos de arriba.
24429  Por omisión, ninguna.
24430 \end_layout
24431
24432 \begin_layout Description
24433 \begin_inset Flex Code
24434 status collapsed
24435
24436 \begin_layout Plain Layout
24437 HTMLIsBlock
24438 \end_layout
24439
24440 \end_inset
24441
24442  [
24443 \begin_inset Flex Code
24444 status collapsed
24445
24446 \begin_layout Plain Layout
24447 0
24448 \end_layout
24449
24450 \end_inset
24451
24452 ,
24453 \begin_inset space \thinspace{}
24454 \end_inset
24455
24456
24457 \begin_inset Flex Code
24458 status collapsed
24459
24460 \begin_layout Plain Layout
24461
24462 \emph on
24463 1
24464 \end_layout
24465
24466 \end_inset
24467
24468 ] Si este recuadro representa un bloque de texto independiente (como una
24469  nota al pie) o bien representa material que está incluido en el texto circundan
24470 te (como una rama).
24471  Por omisión, 1.
24472 \end_layout
24473
24474 \begin_layout Description
24475 \begin_inset Flex Code
24476 status collapsed
24477
24478 \begin_layout Plain Layout
24479 HTMLLabel
24480 \end_layout
24481
24482 \end_inset
24483
24484  [
24485 \begin_inset Flex Code
24486 status collapsed
24487
24488 \begin_layout Plain Layout
24489 string
24490 \end_layout
24491
24492 \end_inset
24493
24494 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
24495  un contador.
24496  Por ejemplo, para notas al pie, podría ser: 
24497 \begin_inset Flex Code
24498 status collapsed
24499
24500 \begin_layout Plain Layout
24501
24502 \backslash
24503 arabic{footnote}
24504 \end_layout
24505
24506 \end_inset
24507
24508 .
24509  Esto es opcional y no hay valor predeterminado.
24510 \end_layout
24511
24512 \begin_layout Description
24513 \begin_inset Flex Code
24514 status collapsed
24515
24516 \begin_layout Plain Layout
24517 HTMLPreamble
24518 \end_layout
24519
24520 \end_inset
24521
24522  Información que saldrá en la sección 
24523 \begin_inset Flex Code
24524 status collapsed
24525
24526 \begin_layout Plain Layout
24527 <head>
24528 \end_layout
24529
24530 \end_inset
24531
24532  cuando se usa este estilo.
24533  Esto podría usarse, por ejemplo, para incluir un bloque 
24534 \begin_inset Flex Code
24535 status collapsed
24536
24537 \begin_layout Plain Layout
24538 <script>
24539 \end_layout
24540
24541 \end_inset
24542
24543  que defina un controlador 
24544 \begin_inset Flex Code
24545 status collapsed
24546
24547 \begin_layout Plain Layout
24548 onclick
24549 \end_layout
24550
24551 \end_inset
24552
24553 .
24554 \end_layout
24555
24556 \begin_layout Description
24557 \begin_inset Flex Code
24558 status collapsed
24559
24560 \begin_layout Plain Layout
24561 HTMLStyle
24562 \end_layout
24563
24564 \end_inset
24565
24566  Información de estilo CSS a incluir cuando se usa este estilo.
24567  Esto será automáticamente envuelto en un bloque 
24568 \begin_inset Flex Code
24569 status collapsed
24570
24571 \begin_layout Plain Layout
24572 <style>
24573 \end_layout
24574
24575 \end_inset
24576
24577  generado por el formato, por lo que solo hay que incluir el propio CSS.
24578 \end_layout
24579
24580 \begin_layout Description
24581 \begin_inset Flex Code
24582 status collapsed
24583
24584 \begin_layout Plain Layout
24585 HTMLTag
24586 \end_layout
24587
24588 \end_inset
24589
24590  [
24591 \begin_inset Flex Code
24592 status collapsed
24593
24594 \begin_layout Plain Layout
24595 string
24596 \end_layout
24597
24598 \end_inset
24599
24600 ] La etiqueta a usar para el rótulo principal, reemplazando 
24601 \begin_inset Flex Code
24602 status collapsed
24603
24604 \begin_layout Plain Layout
24605 tag
24606 \end_layout
24607
24608 \end_inset
24609
24610  en los ejemplos de arriba.
24611  El valor por omisión depende de 
24612 \begin_inset Flex Code
24613 status collapsed
24614
24615 \begin_layout Plain Layout
24616 MultiPar
24617 \end_layout
24618
24619 \end_inset
24620
24621 : Si 
24622 \begin_inset Flex Code
24623 status collapsed
24624
24625 \begin_layout Plain Layout
24626 MultiPar
24627 \end_layout
24628
24629 \end_inset
24630
24631  es verdadero, es 
24632 \begin_inset Flex Code
24633 status collapsed
24634
24635 \begin_layout Plain Layout
24636 div
24637 \end_layout
24638
24639 \end_inset
24640
24641 ; si es falso, el valor por omisión es 
24642 \begin_inset Flex Code
24643 status collapsed
24644
24645 \begin_layout Plain Layout
24646 span
24647 \end_layout
24648
24649 \end_inset
24650
24651 .
24652 \end_layout
24653
24654 \begin_layout Subsection
24655 Flotantes XHTML
24656 \end_layout
24657
24658 \begin_layout Standard
24659 La salida XHTML para flotantes también se puede controlar mediante información
24660  en archivos 'layout'.
24661  La salida tiene la forma:
24662 \end_layout
24663
24664 \begin_layout LyX-Code
24665 <tag attr=
24666 \begin_inset Quotes erd
24667 \end_inset
24668
24669 value
24670 \begin_inset Quotes erd
24671 \end_inset
24672
24673 >
24674 \end_layout
24675
24676 \begin_layout LyX-Code
24677 Contents of the float.
24678 \end_layout
24679
24680 \begin_layout LyX-Code
24681 </tag>
24682 \end_layout
24683
24684 \begin_layout Standard
24685 La leyenda, si la hay, es un recuadro separado y se generará como tal.
24686  Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
24687  
24688 \end_layout
24689
24690 \begin_layout Description
24691 \begin_inset Flex Code
24692 status collapsed
24693
24694 \begin_layout Plain Layout
24695 HTMLAttr
24696 \end_layout
24697
24698 \end_inset
24699
24700  [
24701 \begin_inset Flex Code
24702 status collapsed
24703
24704 \begin_layout Plain Layout
24705 string
24706 \end_layout
24707
24708 \end_inset
24709
24710 ] Especifica información de los atributos a generar con la etiqueta principal,
24711  Por ejemplo, 
24712 \begin_inset Quotes eld
24713 \end_inset
24714
24715
24716 \begin_inset Flex Code
24717 status collapsed
24718
24719 \begin_layout Plain Layout
24720 class=`myfloat' onclick=`\SpecialChar ldots
24721 '
24722 \end_layout
24723
24724 \end_inset
24725
24726
24727 \begin_inset Quotes erd
24728 \end_inset
24729
24730 .
24731  Por omisión, \SpecialChar LyX
24732  generará 
24733 \begin_inset Quotes eld
24734 \end_inset
24735
24736
24737 \begin_inset Flex Code
24738 status collapsed
24739
24740 \begin_layout Plain Layout
24741 class=`float float-floattype'
24742 \end_layout
24743
24744 \end_inset
24745
24746
24747 \begin_inset Quotes erd
24748 \end_inset
24749
24750 , donde 
24751 \begin_inset Flex Code
24752 status collapsed
24753
24754 \begin_layout Plain Layout
24755 floattype
24756 \end_layout
24757
24758 \end_inset
24759
24760  es el nombre en \SpecialChar LyX
24761  para este tipo de flotante, como determina la declaración
24762  de flotante (véase 
24763 \begin_inset CommandInset ref
24764 LatexCommand ref
24765 reference "subsec:Flotantes"
24766
24767 \end_inset
24768
24769 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
24770  por guiones bajos, por ejemplo: float-table.
24771 \end_layout
24772
24773 \begin_layout Description
24774 \begin_inset Flex Code
24775 status collapsed
24776
24777 \begin_layout Plain Layout
24778 HTMLStyle
24779 \end_layout
24780
24781 \end_inset
24782
24783  Información de estilo CSS a incluir cuando se usa este flotante.
24784  Esto será automáticamente envuelto en un bloque 
24785 \begin_inset Flex Code
24786 status collapsed
24787
24788 \begin_layout Plain Layout
24789 <style>
24790 \end_layout
24791
24792 \end_inset
24793
24794  generado por el formato, por lo que solo hay que incluir el propio CSS.
24795 \end_layout
24796
24797 \begin_layout Description
24798 \begin_inset Flex Code
24799 status collapsed
24800
24801 \begin_layout Plain Layout
24802 HTMLTag
24803 \end_layout
24804
24805 \end_inset
24806
24807  [
24808 \begin_inset Flex Code
24809 status collapsed
24810
24811 \begin_layout Plain Layout
24812 string
24813 \end_layout
24814
24815 \end_inset
24816
24817 ] La etiqueta a usar para este flotante, reemplazando "
24818 \begin_inset Flex Code
24819 status collapsed
24820
24821 \begin_layout Plain Layout
24822 tag
24823 \end_layout
24824
24825 \end_inset
24826
24827 " en el ejemplo de arriba.
24828  El valor por omisión es 
24829 \begin_inset Flex Code
24830 status collapsed
24831
24832 \begin_layout Plain Layout
24833 div
24834 \end_layout
24835
24836 \end_inset
24837
24838  y raramente habrá que cambiarlo.
24839 \end_layout
24840
24841 \begin_layout Subsection
24842 Formato de la Bibliografía
24843 \end_layout
24844
24845 \begin_layout Standard
24846 La bibliografía se puede formatear usando bloques 
24847 \begin_inset Flex Code
24848 status collapsed
24849
24850 \begin_layout Plain Layout
24851 CiteFormat
24852 \end_layout
24853
24854 \end_inset
24855
24856 .
24857  Véase la 
24858 \begin_inset CommandInset ref
24859 LatexCommand ref
24860 reference "subsec:Descripción-formato-cita"
24861
24862 \end_inset
24863
24864  para los detalles.
24865 \end_layout
24866
24867 \begin_layout Subsection
24868 CSS generado por \SpecialChar LyX
24869
24870 \end_layout
24871
24872 \begin_layout Standard
24873 Hemos mencionado ya que \SpecialChar LyX
24874  generará reglas de estilo CSS predeterminadas para
24875  recuadros y estilos de párrafo, basados en la información suministrada
24876  para otros formatos.
24877  En esta sección comentaremos qué información usa \SpecialChar LyX
24878  y cómo la usa.
24879 \end_layout
24880
24881 \begin_layout Standard
24882 Actualmente, \SpecialChar LyX
24883  auto-genera CSS solo para información sobre tipografías, haciendo
24884  uso de 
24885 \begin_inset Flex Code
24886 status collapsed
24887
24888 \begin_layout Plain Layout
24889 Family
24890 \end_layout
24891
24892 \end_inset
24893
24894
24895 \begin_inset Flex Code
24896 status collapsed
24897
24898 \begin_layout Plain Layout
24899 Series
24900 \end_layout
24901
24902 \end_inset
24903
24904
24905 \begin_inset Flex Code
24906 status collapsed
24907
24908 \begin_layout Plain Layout
24909 Shape
24910 \end_layout
24911
24912 \end_inset
24913
24914 , y 
24915 \begin_inset Flex Code
24916 status collapsed
24917
24918 \begin_layout Plain Layout
24919 Size
24920 \end_layout
24921
24922 \end_inset
24923
24924  especificados en la declaración 
24925 \begin_inset Flex Code
24926 status collapsed
24927
24928 \begin_layout Plain Layout
24929 Font
24930 \end_layout
24931
24932 \end_inset
24933
24934 .
24935  (Véase 
24936 \begin_inset CommandInset ref
24937 LatexCommand ref
24938 reference "subsec:Tipografía"
24939
24940 \end_inset
24941
24942 .) La traducción es bastante sencilla y evidente.
24943  Por ejemplo, 
24944 \begin_inset Quotes eld
24945 \end_inset
24946
24947
24948 \begin_inset Flex Code
24949 status collapsed
24950
24951 \begin_layout Plain Layout
24952 Family Sans
24953 \end_layout
24954
24955 \end_inset
24956
24957
24958 \begin_inset Quotes erd
24959 \end_inset
24960
24961  se convierte en 
24962 \begin_inset Quotes eld
24963 \end_inset
24964
24965
24966 \begin_inset Flex Code
24967 status collapsed
24968
24969 \begin_layout Plain Layout
24970 font-family: sans-serif;
24971 \end_layout
24972
24973 \end_inset
24974
24975
24976 \begin_inset Quotes erd
24977 \end_inset
24978
24979 .
24980  La correspondencia entre tamaños \SpecialChar LyX
24981  y tamaños CSS es un poco menos obvia,
24982  pero intuitiva en todo caso.
24983  Véase la función 
24984 \begin_inset Flex Code
24985 status collapsed
24986
24987 \begin_layout Plain Layout
24988 getSizeCSS()
24989 \end_layout
24990
24991 \end_inset
24992
24993  en 
24994 \begin_inset Flex URL
24995 status collapsed
24996
24997 \begin_layout Plain Layout
24998
24999 src/FontInfo.cpp
25000 \end_layout
25001
25002 \end_inset
25003
25004  para los detalles.
25005  
25006 \end_layout
25007
25008 \begin_layout Chapter
25009 Inserción de material externo
25010 \begin_inset CommandInset label
25011 LatexCommand label
25012 name "cap:Inserción-de-material"
25013
25014 \end_inset
25015
25016
25017 \end_layout
25018
25019 \begin_layout Standard
25020 \begin_inset Box Shadowbox
25021 position "t"
25022 hor_pos "c"
25023 has_inner_box 1
25024 inner_pos "t"
25025 use_parbox 0
25026 use_makebox 0
25027 width "100col%"
25028 special "none"
25029 height "1in"
25030 height_special "totalheight"
25031 thickness "0.4pt"
25032 separation "3pt"
25033 shadowsize "4pt"
25034 framecolor "black"
25035 backgroundcolor "none"
25036 status open
25037
25038 \begin_layout Plain Layout
25039 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
25040  tiempo.
25041  Esperamos que aún sea adecuada, pero no hay garantías.
25042 \end_layout
25043
25044 \end_inset
25045
25046
25047 \end_layout
25048
25049 \begin_layout Standard
25050 El uso de material de procedencia externa a \SpecialChar LyX
25051  se trata con detalle en el
25052  manual 
25053 \emph on
25054 Objetos insertados
25055 \emph default
25056 .
25057  En el presente documento se trata sobre lo que debe suceder entre bambalinas
25058  para incluir nuevas clases de material.
25059 \end_layout
25060
25061 \begin_layout Section
25062 ¿Cómo funciona?
25063 \end_layout
25064
25065 \begin_layout Standard
25066 La característica material externo se basa en el concepto 
25067 \emph on
25068 plantilla
25069 \emph default
25070 .
25071  Una plantilla es una especificación de la forma en que \SpecialChar LyX
25072  interactúa con
25073  ciertos tipos de material.
25074  De por sí, \SpecialChar LyX
25075  incluye plantillas predefinidas para figuras Xfig, varios tipos
25076  de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
25077  Puedes comprobar la lista actual en el menú 
25078 \begin_inset Flex Noun
25079 status collapsed
25080
25081 \begin_layout Plain Layout
25082 Insertar\SpecialChar menuseparator
25083 Archivo\SpecialChar menuseparator
25084 Material externo
25085 \end_layout
25086
25087 \end_inset
25088
25089 .
25090  Además, es posible construir plantillas propias para soportar determinado
25091  tipo de material.
25092  Más tarde describiremos con más detalle lo que esto implica, y esperamos
25093  que nos envíes tus plantillas para que se puedan incluir en próximas versiones
25094  de \SpecialChar LyX
25095 .
25096 \end_layout
25097
25098 \begin_layout Standard
25099 Otra idea básica de la característica material externo es distinguir entre
25100  el archivo original que sirve como base para el material final y el archivo
25101  generado que se incluye en el documento impreso o exportado.
25102  Por ejemplo, consideremos el caso de una figura hecha con 
25103 \begin_inset Flex Code
25104 status collapsed
25105
25106 \begin_layout Plain Layout
25107 Xfig
25108 \end_layout
25109
25110 \end_inset
25111
25112 .
25113  El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
25114  
25115 \begin_inset Flex Code
25116 status collapsed
25117
25118 \begin_layout Plain Layout
25119 .fig
25120 \end_layout
25121
25122 \end_inset
25123
25124 .
25125  Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
25126  
25127 \begin_inset Flex Code
25128 status collapsed
25129
25130 \begin_layout Plain Layout
25131 .fig
25132 \end_layout
25133
25134 \end_inset
25135
25136 .
25137  Para incluir la figura en un documento, se ejecuta 
25138 \begin_inset Flex Code
25139 status collapsed
25140
25141 \begin_layout Plain Layout
25142 transfig
25143 \end_layout
25144
25145 \end_inset
25146
25147  con el fin de crear un archivo PostScript que puede incluirse fácilmente
25148  en el archivo \SpecialChar LaTeX
25149 .
25150  En este caso, el archivo 
25151 \begin_inset Flex Code
25152 status collapsed
25153
25154 \begin_layout Plain Layout
25155 .fig
25156 \end_layout
25157
25158 \end_inset
25159
25160  es el original, y el archivo PostScript es el archivo generado.
25161 \end_layout
25162
25163 \begin_layout Standard
25164 Esta distinción es importante para permitir la actualización del material
25165  durante el proceso de escritura del documento.
25166  Además, provee la flexibilidad necesaria para soportar múltiples formatos
25167  de exportación.
25168  Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
25169  idea incluir la figura como PostScript puro.
25170  En vez de esto, es preferible incluir solo una referencia a la figura o
25171  bien probar algún convertidor de gráficos a Ascii para que el resultado
25172  final se parezca al gráfico real.
25173  La gestión de material externo de \SpecialChar LyX
25174  permite hacer esto porque se basa en
25175  parámetros apropiados para los diferentes formatos de exportación soportados.
25176 \end_layout
25177
25178 \begin_layout Standard
25179 Además de soportar la generación de diferentes productos de acuerdo con
25180  el formato de exportación, existe una profunda integración con las aplicaciones
25181  de edición y visualización.
25182  En el caso de figuras Xfig, es posible editar el archivo original en Xfig
25183  con un simple clic derecho sobre el recuadro y también previsualizar el
25184  PostScript generado con ghostview.
25185  Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
25186  para localizar y manipular los archivos originales o los generados.
25187  De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
25188  aplicaciones importantes para la composición de los documentos, y por tanto
25189  aumentar el rendimiento.
25190 \end_layout
25191
25192 \begin_layout Section
25193 El archivo de configuración de plantillas externas
25194 \end_layout
25195
25196 \begin_layout Standard
25197 Es relativamente fácil añadir en \SpecialChar LyX
25198  definiciones personalizadas de plantillas
25199  externas.
25200  Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
25201  generará muy probablemente un agujero de seguridad fácil de explotar.
25202  Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
25203  en la 
25204 \begin_inset CommandInset ref
25205 LatexCommand ref
25206 reference "sec:Discusión-sobre-seguridad"
25207
25208 \end_inset
25209
25210
25211 \end_layout
25212
25213 \begin_layout Standard
25214 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
25215  que compongas.
25216 \end_layout
25217
25218 \begin_layout Standard
25219 Las plantillas externas se definen en el archivo
25220 \lang english
25221  
25222 \begin_inset Flex Code
25223 status collapsed
25224
25225 \begin_layout Plain Layout
25226
25227 \lang english
25228 *.xtemplate
25229 \end_layout
25230
25231 \end_inset
25232
25233  files that are stored in the 
25234 \begin_inset Flex Code
25235 status collapsed
25236
25237 \begin_layout Plain Layout
25238
25239 \lang english
25240 LyXDir/lib/xtemplates/
25241 \end_layout
25242
25243 \end_inset
25244
25245  directory.
25246  Each template is defined in a file of its own.
25247
25248 \lang spanish
25249  .
25250  Puedes colocar tus 
25251 \lang english
25252 templates
25253 \lang spanish
25254  propias en
25255 \lang english
25256
25257 \begin_inset Flex Code
25258 status collapsed
25259
25260 \begin_layout Plain Layout
25261
25262 \lang english
25263 UserDir/xtemplates/
25264 \end_layout
25265
25266 \end_inset
25267
25268  or copy existing templates to that directory in order to modify them.
25269
25270 \lang spanish
25271  
25272 \end_layout
25273
25274 \begin_layout Standard
25275 Una plantilla típica tiene un aspecto como este:
25276 \end_layout
25277
25278 \begin_layout LyX-Code
25279 Template XFig
25280 \end_layout
25281
25282 \begin_layout LyX-Code
25283 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
25284 \end_layout
25285
25286 \begin_layout LyX-Code
25287 HelpText
25288 \end_layout
25289
25290 \begin_layout LyX-Code
25291 An XFig figure.
25292 \end_layout
25293
25294 \begin_layout LyX-Code
25295 HelpTextEnd
25296 \end_layout
25297
25298 \begin_layout LyX-Code
25299 InputFormat fig
25300 \end_layout
25301
25302 \begin_layout LyX-Code
25303 FileFilter "*.fig"
25304 \end_layout
25305
25306 \begin_layout LyX-Code
25307 AutomaticProduction true
25308 \end_layout
25309
25310 \begin_layout LyX-Code
25311 Transform Rotate
25312 \end_layout
25313
25314 \begin_layout LyX-Code
25315 Transform Resize
25316 \end_layout
25317
25318 \begin_layout LyX-Code
25319 Format LaTeX
25320 \end_layout
25321
25322 \begin_layout LyX-Code
25323 TransformCommand Rotate RotationLatexCommand
25324 \end_layout
25325
25326 \begin_layout LyX-Code
25327 TransformCommand Resize ResizeLatexCommand
25328 \end_layout
25329
25330 \begin_layout LyX-Code
25331 Product "$$RotateFront$$ResizeFront
25332 \end_layout
25333
25334 \begin_layout LyX-Code
25335          
25336 \backslash
25337
25338 \backslash
25339 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
25340 \end_layout
25341
25342 \begin_layout LyX-Code
25343          $$ResizeBack$$RotateBack"
25344 \end_layout
25345
25346 \begin_layout LyX-Code
25347 UpdateFormat pstex
25348 \end_layout
25349
25350 \begin_layout LyX-Code
25351 UpdateResult "$$AbsPath$$Basename.pstex_t"
25352 \end_layout
25353
25354 \begin_layout LyX-Code
25355 Requirement "graphicx"
25356 \end_layout
25357
25358 \begin_layout LyX-Code
25359 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
25360 \end_layout
25361
25362 \begin_layout LyX-Code
25363 ReferencedFile latex "$$AbsPath$$Basename.eps"
25364 \end_layout
25365
25366 \begin_layout LyX-Code
25367 ReferencedFile dvi "$$AbsPath$$Basename.eps"
25368 \end_layout
25369
25370 \begin_layout LyX-Code
25371 FormatEnd
25372 \end_layout
25373
25374 \begin_layout LyX-Code
25375 Format PDFLaTeX
25376 \end_layout
25377
25378 \begin_layout LyX-Code
25379 TransformCommand Rotate RotationLatexCommand
25380 \end_layout
25381
25382 \begin_layout LyX-Code
25383 TransformCommand Resize ResizeLatexCommand
25384 \end_layout
25385
25386 \begin_layout LyX-Code
25387 Product "$$RotateFront$$ResizeFront
25388 \end_layout
25389
25390 \begin_layout LyX-Code
25391          
25392 \backslash
25393
25394 \backslash
25395 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
25396 \end_layout
25397
25398 \begin_layout LyX-Code
25399          $$ResizeBack$$RotateBack"
25400 \end_layout
25401
25402 \begin_layout LyX-Code
25403 UpdateFormat pdftex
25404 \end_layout
25405
25406 \begin_layout LyX-Code
25407 UpdateResult "$$AbsPath$$Basename.pdftex_t"
25408 \end_layout
25409
25410 \begin_layout LyX-Code
25411 Requirement "graphicx"
25412 \end_layout
25413
25414 \begin_layout LyX-Code
25415 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
25416 \end_layout
25417
25418 \begin_layout LyX-Code
25419 ReferencedFile latex "$$AbsPath$$Basename.pdf"
25420 \end_layout
25421
25422 \begin_layout LyX-Code
25423 FormatEnd
25424 \end_layout
25425
25426 \begin_layout LyX-Code
25427 Format Ascii
25428 \end_layout
25429
25430 \begin_layout LyX-Code
25431 Product "$$Contents(
25432 \backslash
25433 "$$AbsPath$$Basename.asc
25434 \backslash
25435 ")"
25436 \end_layout
25437
25438 \begin_layout LyX-Code
25439 UpdateFormat asciixfig
25440 \end_layout
25441
25442 \begin_layout LyX-Code
25443 UpdateResult "$$AbsPath$$Basename.asc"
25444 \end_layout
25445
25446 \begin_layout LyX-Code
25447 FormatEnd
25448 \end_layout
25449
25450 \begin_layout LyX-Code
25451 Format DocBook
25452 \end_layout
25453
25454 \begin_layout LyX-Code
25455 Product "<graphic fileref=
25456 \backslash
25457 "$$AbsOrRelPathMaster$$Basename.eps
25458 \backslash
25459 ">
25460 \end_layout
25461
25462 \begin_layout LyX-Code
25463          </graphic>"
25464 \end_layout
25465
25466 \begin_layout LyX-Code
25467 UpdateFormat eps
25468 \end_layout
25469
25470 \begin_layout LyX-Code
25471 UpdateResult "$$AbsPath$$Basename.eps"
25472 \end_layout
25473
25474 \begin_layout LyX-Code
25475 ReferencedFile docbook "$$AbsPath$$Basename.eps"
25476 \end_layout
25477
25478 \begin_layout LyX-Code
25479 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
25480 \end_layout
25481
25482 \begin_layout LyX-Code
25483 FormatEnd
25484 \end_layout
25485
25486 \begin_layout LyX-Code
25487 Product "[XFig: $$FName]"
25488 \end_layout
25489
25490 \begin_layout LyX-Code
25491 FormatEnd
25492 \end_layout
25493
25494 \begin_layout LyX-Code
25495 TemplateEnd
25496 \end_layout
25497
25498 \begin_layout Standard
25499 Como puedes ver, la plantilla se incluye entre 
25500 \begin_inset Flex Code
25501 status collapsed
25502
25503 \begin_layout Plain Layout
25504 Template
25505 \end_layout
25506
25507 \end_inset
25508
25509  \SpecialChar ldots
25510  
25511 \begin_inset Flex Code
25512 status collapsed
25513
25514 \begin_layout Plain Layout
25515 TemplateEnd
25516 \end_layout
25517
25518 \end_inset
25519
25520 .
25521  Contiene una cabecera que especifica algunas configuraciones generales
25522  y, por cada formato de archivo de documento primario soportado, una sección
25523  
25524 \begin_inset Flex Code
25525 status collapsed
25526
25527 \begin_layout Plain Layout
25528 Format
25529 \end_layout
25530
25531 \end_inset
25532
25533  \SpecialChar ldots
25534  
25535 \begin_inset Flex Code
25536 status collapsed
25537
25538 \begin_layout Plain Layout
25539 FormatEnd
25540 \end_layout
25541
25542 \end_inset
25543
25544 .
25545 \end_layout
25546
25547 \begin_layout Subsection
25548 La cabecera de la plantilla
25549 \end_layout
25550
25551 \begin_layout Description
25552 \begin_inset Flex Code
25553 status collapsed
25554
25555 \begin_layout Plain Layout
25556 AutomaticProduction
25557 \begin_inset space ~
25558 \end_inset
25559
25560 true|false
25561 \end_layout
25562
25563 \end_inset
25564
25565  Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
25566 .
25567  Este comando debe aparecer exactamente una vez.
25568 \end_layout
25569
25570 \begin_layout Description
25571 \begin_inset Flex Code
25572 status collapsed
25573
25574 \begin_layout Plain Layout
25575 FileFilter
25576 \begin_inset space ~
25577 \end_inset
25578
25579 <pattern>
25580 \end_layout
25581
25582 \end_inset
25583
25584  Un patrón global que se usa en el diálogo del archivo para filtrar los
25585  archivos deseados.
25586  Si hay más de una posible extensión de archivo (p.
25587 \begin_inset space \thinspace{}
25588 \end_inset
25589
25590 e.,
25591 \begin_inset space ~
25592 \end_inset
25593
25594 tgif tiene 
25595 \begin_inset Flex Code
25596 status collapsed
25597
25598 \begin_layout Plain Layout
25599 .obj
25600 \end_layout
25601
25602 \end_inset
25603
25604  y 
25605 \begin_inset Flex Code
25606 status collapsed
25607
25608 \begin_layout Plain Layout
25609 .tgo
25610 \end_layout
25611
25612 \end_inset
25613
25614 ), se pone algo como 
25615 \begin_inset Flex Code
25616 status collapsed
25617
25618 \begin_layout Plain Layout
25619 "*.{obj,tgo}"
25620 \end_layout
25621
25622 \end_inset
25623
25624 .
25625  Este comando debe aparecer exactamente una vez.
25626 \end_layout
25627
25628 \begin_layout Description
25629 \begin_inset Flex Code
25630 status collapsed
25631
25632 \begin_layout Plain Layout
25633 GuiName
25634 \begin_inset space ~
25635 \end_inset
25636
25637 <guiname>
25638 \end_layout
25639
25640 \end_inset
25641
25642  El texto mostrado sobre el botón.
25643  Este comando debe aparecer exactamente una vez.
25644 \end_layout
25645
25646 \begin_layout Description
25647 \begin_inset Flex Code
25648 status collapsed
25649
25650 \begin_layout Plain Layout
25651 HelpText
25652 \begin_inset space ~
25653 \end_inset
25654
25655 <text>
25656 \begin_inset space ~
25657 \end_inset
25658
25659 HelpTextEnd
25660 \end_layout
25661
25662 \end_inset
25663
25664  El texto de ayuda que se muestra en diálogo.
25665  Da suficiente información sobre lo que puede proporcionar la plantilla.
25666  Este comando debe aparecer exactamente una vez.
25667 \end_layout
25668
25669 \begin_layout Description
25670 \begin_inset Flex Code
25671 status collapsed
25672
25673 \begin_layout Plain Layout
25674 InputFormat
25675 \begin_inset space ~
25676 \end_inset
25677
25678 <format>
25679 \end_layout
25680
25681 \end_inset
25682
25683  El formato de archivo del original.
25684  Debe ser el nombre de un formato conocido por \SpecialChar LyX
25685  (véase la 
25686 \begin_inset CommandInset ref
25687 LatexCommand ref
25688 reference "sec:Formatos"
25689
25690 \end_inset
25691
25692 ).
25693  Se pone un 
25694 \begin_inset Quotes cld
25695 \end_inset
25696
25697
25698 \begin_inset Flex Code
25699 status collapsed
25700
25701 \begin_layout Plain Layout
25702 *
25703 \end_layout
25704
25705 \end_inset
25706
25707
25708 \begin_inset Quotes crd
25709 \end_inset
25710
25711  si la plantilla puede manejar archivos originales o más de un formato.
25712  En este caso, \SpecialChar LyX
25713  intentará inspeccionar el archivo mismo para deducir su
25714  formato.
25715  Este comando debe aparecer exactamente una vez.
25716 \end_layout
25717
25718 \begin_layout Description
25719 \begin_inset Flex Code
25720 status collapsed
25721
25722 \begin_layout Plain Layout
25723 Template
25724 \begin_inset space ~
25725 \end_inset
25726
25727 <id>
25728 \end_layout
25729
25730 \end_inset
25731
25732  Un nombre único para la plantilla.
25733  No debe contener macros de sustitución (véase abajo).
25734 \end_layout
25735
25736 \begin_layout Description
25737 \begin_inset Flex Code
25738 status collapsed
25739
25740 \begin_layout Plain Layout
25741 Transform
25742 \begin_inset space ~
25743 \end_inset
25744
25745 Rotate|Resize|Clip|Extra
25746 \end_layout
25747
25748 \end_inset
25749
25750  Este comando especifica qué transformaciones son soportadas por esta plantilla.
25751  Puede aparecer ninguna o varias veces.
25752  Este comando facilita las correspondientes pestañas en el diálogo de material
25753  externo.
25754  Cada comando 
25755 \begin_inset Flex Code
25756 status collapsed
25757
25758 \begin_layout Plain Layout
25759 Transform
25760 \end_layout
25761
25762 \end_inset
25763
25764  debe tener el correspondiente 
25765 \begin_inset Flex Code
25766 status collapsed
25767
25768 \begin_layout Plain Layout
25769 TransformCommand
25770 \end_layout
25771
25772 \end_inset
25773
25774  o bien 
25775 \begin_inset Flex Code
25776 status collapsed
25777
25778 \begin_layout Plain Layout
25779 TransformOption
25780 \end_layout
25781
25782 \end_inset
25783
25784  en la sección 
25785 \begin_inset Flex Code
25786 status collapsed
25787
25788 \begin_layout Plain Layout
25789 Format
25790 \end_layout
25791
25792 \end_inset
25793
25794 .
25795  De lo contrario la transformación no será soportada por ese formato.
25796  
25797 \end_layout
25798
25799 \begin_layout Subsection
25800 La sección Format
25801 \end_layout
25802
25803 \begin_layout Description
25804 \begin_inset Flex Code
25805 status collapsed
25806
25807 \begin_layout Plain Layout
25808 Format
25809 \begin_inset space ~
25810 \end_inset
25811
25812 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
25813 \end_layout
25814
25815 \end_inset
25816
25817  El formato de archivo del documento primario para el que es esta definición
25818  de formato.
25819  No toda plantilla tiene una representación sensible en los formatos de
25820  archivo de todos los documentos.
25821  No obstante, es preferible definir una sección 
25822 \begin_inset Flex Code
25823 status collapsed
25824
25825 \begin_layout Plain Layout
25826 Format
25827 \end_layout
25828
25829 \end_inset
25830
25831  para todos los formatos.
25832  Se usa un texto postizo si no hay representación disponible.
25833  Entonces, al menos, se puede ver una referencia al material externo en
25834  el documento exportado.
25835 \end_layout
25836
25837 \begin_layout Description
25838 \begin_inset Flex Code
25839 status collapsed
25840
25841 \begin_layout Plain Layout
25842 Option
25843 \begin_inset space ~
25844 \end_inset
25845
25846 <name>
25847 \begin_inset space ~
25848 \end_inset
25849
25850 <value>
25851 \end_layout
25852
25853 \end_inset
25854
25855  Este comando define una macro adicional, 
25856 \begin_inset Flex Code
25857 status collapsed
25858
25859 \begin_layout Plain Layout
25860 $$<name>
25861 \end_layout
25862
25863 \end_inset
25864
25865 , para sustitución en 
25866 \begin_inset Flex Code
25867 status collapsed
25868
25869 \begin_layout Plain Layout
25870 Product
25871 \end_layout
25872
25873 \end_inset
25874
25875 .
25876  
25877 \begin_inset Flex Code
25878 status collapsed
25879
25880 \begin_layout Plain Layout
25881 <value>
25882 \end_layout
25883
25884 \end_inset
25885
25886  puede contener en sí mismo macros de sustitución.
25887  La ventaja sobre el uso de 
25888 \begin_inset Flex Code
25889 status collapsed
25890
25891 \begin_layout Plain Layout
25892 <value>
25893 \end_layout
25894
25895 \end_inset
25896
25897  directamente en 
25898 \begin_inset Flex Code
25899 status collapsed
25900
25901 \begin_layout Plain Layout
25902 Product
25903 \end_layout
25904
25905 \end_inset
25906
25907  es que el valor sustituido de 
25908 \begin_inset Flex Code
25909 status collapsed
25910
25911 \begin_layout Plain Layout
25912 $$<name>
25913 \end_layout
25914
25915 \end_inset
25916
25917  está saneado así que es un argumento opcional válido en el formato del
25918  documento.
25919  Este comando puede aparecer ninguna o más veces.
25920 \end_layout
25921
25922 \begin_layout Description
25923 \begin_inset Flex Code
25924 status collapsed
25925
25926 \begin_layout Plain Layout
25927 Product
25928 \begin_inset space ~
25929 \end_inset
25930
25931 <text>
25932 \end_layout
25933
25934 \end_inset
25935
25936  El texto que se inserta en el documento exportado.
25937  Realmente este es el comando más importante y puede ser bastante complejo.
25938  Este comando debe aparecer exactamente una vez.
25939 \end_layout
25940
25941 \begin_layout Description
25942 \begin_inset Flex Code
25943 status collapsed
25944
25945 \begin_layout Plain Layout
25946 Preamble
25947 \begin_inset space ~
25948 \end_inset
25949
25950 <name>
25951 \end_layout
25952
25953 \end_inset
25954
25955  Este comando especifica un fragmento de preámbulo que se incluirá en el
25956  preámbulo \SpecialChar LaTeX
25957 .
25958  Tiene que definirse usando 
25959 \begin_inset Flex Code
25960 status collapsed
25961
25962 \begin_layout Plain Layout
25963 PreambleDef
25964 \end_layout
25965
25966 \end_inset
25967
25968  \SpecialChar ldots
25969  
25970 \begin_inset Flex Code
25971 status collapsed
25972
25973 \begin_layout Plain Layout
25974 PreambleDefEnd
25975 \end_layout
25976
25977 \end_inset
25978
25979 .
25980  Este comando puede aparecer ninguna o más veces.
25981 \end_layout
25982
25983 \begin_layout Description
25984 \begin_inset Flex Code
25985 status collapsed
25986
25987 \begin_layout Plain Layout
25988 ReferencedFile
25989 \begin_inset space ~
25990 \end_inset
25991
25992 <format>
25993 \begin_inset space ~
25994 \end_inset
25995
25996 <filename>
25997 \end_layout
25998
25999 \end_inset
26000
26001  Este comando indica los archivos que se crean por el proceso de conversión
26002  y que son necesarios para un formato de exportación particular.
26003  Si el nombre del archivo es relativo, se interpreta como relativo al documento
26004  maestro.
26005  Este comando puede darse ninguna o más veces.
26006 \end_layout
26007
26008 \begin_layout Description
26009 \begin_inset Flex Code
26010 status collapsed
26011
26012 \begin_layout Plain Layout
26013 Requirement
26014 \begin_inset space ~
26015 \end_inset
26016
26017 <package>
26018 \end_layout
26019
26020 \end_inset
26021
26022  El nombre de un paquete \SpecialChar LaTeX
26023  requerido.
26024  El paquete se incuye mediante 
26025 \begin_inset Flex Code
26026 status collapsed
26027
26028 \begin_layout Plain Layout
26029
26030 \backslash
26031 usepackage{}
26032 \end_layout
26033
26034 \end_inset
26035
26036  en el preámbulo \SpecialChar LaTeX
26037 .
26038  Este comando puede aparecer ninguna o más veces.
26039 \end_layout
26040
26041 \begin_layout Description
26042 \begin_inset Flex Code
26043 status collapsed
26044
26045 \begin_layout Plain Layout
26046 TransformCommand
26047 \begin_inset space ~
26048 \end_inset
26049
26050 Rotate
26051 \begin_inset space ~
26052 \end_inset
26053
26054 RotationLatexCommand
26055 \end_layout
26056
26057 \end_inset
26058
26059  Este comando especifica que el comando \SpecialChar LaTeX
26060  incluido debería usarse para la
26061  rotación.
26062  Este comando puede aparecer una vez o ninguna.
26063 \end_layout
26064
26065 \begin_layout Description
26066 \begin_inset Flex Code
26067 status collapsed
26068
26069 \begin_layout Plain Layout
26070 TransformCommand
26071 \begin_inset space ~
26072 \end_inset
26073
26074 Resize
26075 \begin_inset space ~
26076 \end_inset
26077
26078 ResizeLatexCommand
26079 \end_layout
26080
26081 \end_inset
26082
26083  Este comando especifica que el comando \SpecialChar LaTeX
26084  incluido debería usarse para cambiar
26085  el tamaño.
26086  Este comando puede aparecer una vez o ninguna.
26087 \end_layout
26088
26089 \begin_layout Description
26090 \begin_inset Flex Code
26091 status collapsed
26092
26093 \begin_layout Plain Layout
26094 TransformOption
26095 \begin_inset space ~
26096 \end_inset
26097
26098 Rotate
26099 \begin_inset space ~
26100 \end_inset
26101
26102 RotationLatexOption
26103 \end_layout
26104
26105 \end_inset
26106
26107  Este comando especifica que la rotación se hace mediante un argumento opcional.
26108  Este comando puede aparecer una vez o ninguna.
26109 \end_layout
26110
26111 \begin_layout Description
26112 \begin_inset Flex Code
26113 status collapsed
26114
26115 \begin_layout Plain Layout
26116 TransformOption
26117 \begin_inset space ~
26118 \end_inset
26119
26120 Resize
26121 \begin_inset space ~
26122 \end_inset
26123
26124 ResizeLatexOption
26125 \end_layout
26126
26127 \end_inset
26128
26129  Este comando especifica que el cambio de tamaño se hace mediante un argumento
26130  opcional.
26131  Este comando puede aparecer una vez o ninguna
26132 \end_layout
26133
26134 \begin_layout Description
26135 \begin_inset Flex Code
26136 status collapsed
26137
26138 \begin_layout Plain Layout
26139 TransformOption
26140 \begin_inset space ~
26141 \end_inset
26142
26143 Clip
26144 \begin_inset space ~
26145 \end_inset
26146
26147 ClipLatexOption
26148 \end_layout
26149
26150 \end_inset
26151
26152  Este comando especifica que el recorte se hace mediante un argumento opcional.
26153  Este comando puede aparecer una vez o ninguna.
26154 \end_layout
26155
26156 \begin_layout Description
26157 \begin_inset Flex Code
26158 status collapsed
26159
26160 \begin_layout Plain Layout
26161 TransformOption
26162 \begin_inset space ~
26163 \end_inset
26164
26165 Extra
26166 \begin_inset space ~
26167 \end_inset
26168
26169 ExtraLatexOption
26170 \end_layout
26171
26172 \end_inset
26173
26174  Este comando especifica que se usa un argumento extra opcional.
26175  Este comando puede aparecer una vez o ninguna.
26176  
26177 \end_layout
26178
26179 \begin_layout Description
26180 \begin_inset Flex Code
26181 status collapsed
26182
26183 \begin_layout Plain Layout
26184 UpdateFormat
26185 \begin_inset space ~
26186 \end_inset
26187
26188 <format>
26189 \end_layout
26190
26191 \end_inset
26192
26193  El formato de archivo del archivo convertido.
26194  Debe ser el nombre de un formato conocido por \SpecialChar LyX
26195  (véase 
26196 \begin_inset Flex Noun
26197 status collapsed
26198
26199 \begin_layout Plain Layout
26200 Convertidores
26201 \end_layout
26202
26203 \end_inset
26204
26205  de 
26206 \begin_inset Flex Noun
26207 status collapsed
26208
26209 \begin_layout Plain Layout
26210 Gestión de archivos
26211 \end_layout
26212
26213 \end_inset
26214
26215  en el diálogo 
26216 \begin_inset Flex Noun
26217 status collapsed
26218
26219 \begin_layout Plain Layout
26220 Herramientas\SpecialChar menuseparator
26221 Preferencias
26222 \end_layout
26223
26224 \end_inset
26225
26226 ).
26227  Este comando debe aparecer exactamente una vez.
26228  Si el formato del archivo resultante es PDF, debes especificar el formato
26229  
26230 \begin_inset Flex Code
26231 status collapsed
26232
26233 \begin_layout Plain Layout
26234 pdf6
26235 \end_layout
26236
26237 \end_inset
26238
26239 .
26240  Es el formato PDF usado para incluir gráficos.
26241  Los otros formatos PDF definidos son para exportación de documentos.
26242 \end_layout
26243
26244 \begin_layout Description
26245 \begin_inset Flex Code
26246 status collapsed
26247
26248 \begin_layout Plain Layout
26249 UpdateResult
26250 \begin_inset space ~
26251 \end_inset
26252
26253 <filename>
26254 \end_layout
26255
26256 \end_inset
26257
26258  El nombre de archivo del archivo convertido.
26259  El nombre de archivo debe ser absoluto.
26260  Este comando debe aparecer exactamente una vez.
26261 \end_layout
26262
26263 \begin_layout Subsection
26264 Definiciones de preámbulo
26265 \end_layout
26266
26267 \begin_layout Standard
26268 El archivo de configuración de plantillas externas puede contener definiciones
26269  de preámbulo adicionales encerradas entre 
26270 \begin_inset Flex Code
26271 status collapsed
26272
26273 \begin_layout Plain Layout
26274 PreambleDef
26275 \end_layout
26276
26277 \end_inset
26278
26279  \SpecialChar ldots
26280  
26281 \begin_inset Flex Code
26282 status collapsed
26283
26284 \begin_layout Plain Layout
26285 PreambleDefEnd
26286 \end_layout
26287
26288 \end_inset
26289
26290 .
26291  Se pueden usar por las plantillas en la sección 
26292 \begin_inset Flex Code
26293 status collapsed
26294
26295 \begin_layout Plain Layout
26296 Format
26297 \end_layout
26298
26299 \end_inset
26300
26301 .
26302 \end_layout
26303
26304 \begin_layout Section
26305 El mecanismo de sustitución
26306 \end_layout
26307
26308 \begin_layout Standard
26309 Cuando la función de material externo recurre a un programa externo, se
26310  hace sobre la base de un comando definido en el archivo de configuración
26311  de la plantilla.
26312  Estos comandos pueden contener varias macros que se expanden antes de su
26313  ejecución.
26314  La ejecución tiene lugar siempre en el directorio del documento.
26315  
26316 \end_layout
26317
26318 \begin_layout Standard
26319 Además, cada vez que el material externo se va a mostrar, el nombre será
26320  generado por el mecanismo de sustitución, y la mayoría de los demás comandos
26321  en la definición de la plantilla soportan también sustitución.
26322  
26323 \end_layout
26324
26325 \begin_layout Standard
26326 Las macros disponibles son las siguientes:
26327 \end_layout
26328
26329 \begin_layout Description
26330 \begin_inset Flex Code
26331 status collapsed
26332
26333 \begin_layout Plain Layout
26334 $$AbsOrRelPathMaster
26335 \end_layout
26336
26337 \end_inset
26338
26339  La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26340  maestro.
26341 \end_layout
26342
26343 \begin_layout Description
26344 \begin_inset Flex Code
26345 status collapsed
26346
26347 \begin_layout Plain Layout
26348 $$AbsOrRelPathParent
26349 \end_layout
26350
26351 \end_inset
26352
26353  La ruta del archivo, absoluta o relativa al documento \SpecialChar LyX
26354 .
26355 \end_layout
26356
26357 \begin_layout Description
26358 \begin_inset Flex Code
26359 status collapsed
26360
26361 \begin_layout Plain Layout
26362 $$AbsPath
26363 \end_layout
26364
26365 \end_inset
26366
26367  La ruta absoluta del archivo.
26368 \end_layout
26369
26370 \begin_layout Description
26371 \begin_inset Flex Code
26372 status collapsed
26373
26374 \begin_layout Plain Layout
26375 $$Basename
26376 \end_layout
26377
26378 \end_inset
26379
26380  El nombre de archivo sin ruta y sin la extensión.
26381 \end_layout
26382
26383 \begin_layout Description
26384 \begin_inset Flex Code
26385 status collapsed
26386
26387 \begin_layout Plain Layout
26388 $$Contents(
26389 \begin_inset Quotes eld
26390 \end_inset
26391
26392 filename.ext
26393 \begin_inset Quotes erd
26394 \end_inset
26395
26396 )
26397 \end_layout
26398
26399 \end_inset
26400
26401  Esta macro expandirá los contenidos del archivo con el nombre 
26402 \begin_inset Flex Code
26403 status collapsed
26404
26405 \begin_layout Plain Layout
26406 filename.ext
26407 \end_layout
26408
26409 \end_inset
26410
26411 .
26412 \end_layout
26413
26414 \begin_layout Description
26415 \begin_inset Flex Code
26416 status collapsed
26417
26418 \begin_layout Plain Layout
26419 $$Extension
26420 \end_layout
26421
26422 \end_inset
26423
26424  La extensión de archivo (incluyendo el punto).
26425 \end_layout
26426
26427 \begin_layout Description
26428 \begin_inset Flex Code
26429 status collapsed
26430
26431 \begin_layout Plain Layout
26432 $$pngOrjpg
26433 \end_layout
26434
26435 \end_inset
26436
26437  Esto será 
26438 \begin_inset Quotes cld
26439 \end_inset
26440
26441 jpg
26442 \begin_inset Quotes crd
26443 \end_inset
26444
26445  si el archivo está en formato JPEG, si no será 
26446 \begin_inset Quotes eld
26447 \end_inset
26448
26449 png
26450 \begin_inset Quotes erd
26451 \end_inset
26452
26453 .
26454  Esto es útil para evitar conversiones innecesarias para formatos de salida
26455  que soporten tanto PNG como JPEG.
26456  La plantilla predefinida RasterImage usa esta macro para el formato de
26457  salida pdf\SpecialChar TeX
26458 .
26459 \end_layout
26460
26461 \begin_layout Description
26462 \begin_inset Flex Code
26463 status collapsed
26464
26465 \begin_layout Plain Layout
26466 $$FName
26467 \end_layout
26468
26469 \end_inset
26470
26471  El nombre de archivo del archivo especificado en el diálogo de material
26472  externo.
26473  Esto es bien un nombre absoluto, bien relativo al documento \SpecialChar LyX
26474 .
26475 \end_layout
26476
26477 \begin_layout Description
26478 \begin_inset Flex Code
26479 status collapsed
26480
26481 \begin_layout Plain Layout
26482 $$FPath
26483 \end_layout
26484
26485 \end_inset
26486
26487  La parte de la ruta de 
26488 \begin_inset Flex Code
26489 status collapsed
26490
26491 \begin_layout Plain Layout
26492 $$FName
26493 \end_layout
26494
26495 \end_inset
26496
26497  (nombre absoluto o relativo al documento \SpecialChar LyX
26498 ).
26499 \end_layout
26500
26501 \begin_layout Description
26502 \begin_inset Flex Code
26503 status collapsed
26504
26505 \begin_layout Plain Layout
26506 $$RelPathMaster
26507 \end_layout
26508
26509 \end_inset
26510
26511  La ruta del archivo, relativa al documento maestro \SpecialChar LyX
26512 .
26513 \end_layout
26514
26515 \begin_layout Description
26516 \begin_inset Flex Code
26517 status collapsed
26518
26519 \begin_layout Plain Layout
26520 $$RelPathParent
26521 \end_layout
26522
26523 \end_inset
26524
26525  La ruta del archivo, relativa al documento \SpecialChar LyX
26526 .
26527 \end_layout
26528
26529 \begin_layout Description
26530 \begin_inset Flex Code
26531 status collapsed
26532
26533 \begin_layout Plain Layout
26534 $$Sysdir
26535 \end_layout
26536
26537 \end_inset
26538
26539  Esta macro expandirá a la ruta absoluta del directorio de sistema.
26540  Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
26541  se empaquetan con \SpecialChar LyX
26542 .
26543 \end_layout
26544
26545 \begin_layout Description
26546 \begin_inset Flex Code
26547 status collapsed
26548
26549 \begin_layout Plain Layout
26550 $$Tempname
26551 \end_layout
26552
26553 \end_inset
26554
26555  Un nombre y ruta completa a un directorio temporal que será borrado automáticam
26556 ente siempre que el documento se cierra, o se suprime la inserción de material
26557  externo.
26558 \end_layout
26559
26560 \begin_layout Standard
26561 Todas las macros de ruta contienen un separador de rastreo del directorio,
26562  así se puede construir, p.
26563 \begin_inset space \thinspace{}
26564 \end_inset
26565
26566 e., el nombre de archivo absoluto con 
26567 \begin_inset Flex Code
26568 status collapsed
26569
26570 \begin_layout Plain Layout
26571 $$AbsPath$$Basename$$Extension
26572 \end_layout
26573
26574 \end_inset
26575
26576 .
26577 \end_layout
26578
26579 \begin_layout Standard
26580 Las macros anteriores son sustituidas en todos los comandos a menos que
26581  se indique lo contrario.
26582  El comando 
26583 \begin_inset Flex Code
26584 status collapsed
26585
26586 \begin_layout Plain Layout
26587 Product
26588 \end_layout
26589
26590 \end_inset
26591
26592  soporta adicionalmente las siguientes sustituciones si se habilitan por
26593  los comandos 
26594 \begin_inset Flex Code
26595 status collapsed
26596
26597 \begin_layout Plain Layout
26598 Transform
26599 \end_layout
26600
26601 \end_inset
26602
26603  y 
26604 \begin_inset Flex Code
26605 status collapsed
26606
26607 \begin_layout Plain Layout
26608 TransformCommand
26609 \end_layout
26610
26611 \end_inset
26612
26613 :
26614 \end_layout
26615
26616 \begin_layout Description
26617 \begin_inset Flex Code
26618 status collapsed
26619
26620 \begin_layout Plain Layout
26621 $$ResizeFront
26622 \end_layout
26623
26624 \end_inset
26625
26626  La parte delantera del comando para cambiar el tamaño.
26627 \end_layout
26628
26629 \begin_layout Description
26630 \begin_inset Flex Code
26631 status collapsed
26632
26633 \begin_layout Plain Layout
26634 $$ResizeBack
26635 \end_layout
26636
26637 \end_inset
26638
26639  La parte trasera del comando para cambiar el tamaño.
26640 \end_layout
26641
26642 \begin_layout Description
26643 \begin_inset Flex Code
26644 status collapsed
26645
26646 \begin_layout Plain Layout
26647 $$RotateFront
26648 \end_layout
26649
26650 \end_inset
26651
26652  La parte delantera del comando para la rotación.
26653 \end_layout
26654
26655 \begin_layout Description
26656 \begin_inset Flex Code
26657 status collapsed
26658
26659 \begin_layout Plain Layout
26660 $$RotateBack
26661 \end_layout
26662
26663 \end_inset
26664
26665  La parte trasera del comando para la rotación.
26666 \end_layout
26667
26668 \begin_layout Standard
26669 La cadena de valor del comando 
26670 \begin_inset Flex Code
26671 status collapsed
26672
26673 \begin_layout Plain Layout
26674 Option
26675 \end_layout
26676
26677 \end_inset
26678
26679  soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
26680  por los comandos 
26681 \begin_inset Flex Code
26682 status collapsed
26683
26684 \begin_layout Plain Layout
26685 Transform
26686 \end_layout
26687
26688 \end_inset
26689
26690  y 
26691 \begin_inset Flex Code
26692 status collapsed
26693
26694 \begin_layout Plain Layout
26695 TransformOption
26696 \end_layout
26697
26698 \end_inset
26699
26700 :
26701 \end_layout
26702
26703 \begin_layout Description
26704 \begin_inset Flex Code
26705 status collapsed
26706
26707 \begin_layout Plain Layout
26708 $$Clip
26709 \end_layout
26710
26711 \end_inset
26712
26713  La opción recorte.
26714 \end_layout
26715
26716 \begin_layout Description
26717 \begin_inset Flex Code
26718 status collapsed
26719
26720 \begin_layout Plain Layout
26721 $$Extra
26722 \end_layout
26723
26724 \end_inset
26725
26726  La opción extra.
26727 \end_layout
26728
26729 \begin_layout Description
26730 \begin_inset Flex Code
26731 status collapsed
26732
26733 \begin_layout Plain Layout
26734 $$Resize
26735 \end_layout
26736
26737 \end_inset
26738
26739  La opción cambio de tamaño.
26740 \end_layout
26741
26742 \begin_layout Description
26743 \begin_inset Flex Code
26744 status collapsed
26745
26746 \begin_layout Plain Layout
26747 $$Rotate
26748 \end_layout
26749
26750 \end_inset
26751
26752  La opción rotación.
26753 \end_layout
26754
26755 \begin_layout Standard
26756 Te puedes preguntar por qué hay tantas macros de ruta.
26757  Por dos razones, principalmente:
26758 \end_layout
26759
26760 \begin_layout Enumerate
26761 Los nombres de archivo relativo y absoluto deberían permanecer relativo
26762  o absoluto, respectivamente.
26763  Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
26764  Los nombres relativos son útiles para documentos portables que deberían
26765  funcionar en máquinas diferentes, por ejemplo.
26766  Los nombres absolutos pueden ser requeridos por algunos programas.
26767 \end_layout
26768
26769 \begin_layout Enumerate
26770 \SpecialChar LaTeX
26771  procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
26772  y otros
26773  programas en archivos anidados incluidos.
26774  Para \SpecialChar LyX
26775 , un nombre de archivo relativo es siempre relativo al documento que
26776  contiene el nombre de archivo.
26777  Para \SpecialChar LaTeX
26778 , es siempre relativo al documento maestro.
26779  Estas dos definiciones son idénticas si se tiene solo un documento, pero
26780  son distintas si se tiene un documento maestro que incluye documentos parciales.
26781  Esto quiere decir que los nombres de archivo relativos deben ser transformados
26782  cuando se presentan a \SpecialChar LaTeX
26783 .
26784  Afortunadamente, \SpecialChar LyX
26785  hace esto automáticamente si se eligen las macros correctas.
26786 \end_layout
26787
26788 \begin_layout Standard
26789 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
26790  plantillas nuevas? La regla no es difícil:
26791 \end_layout
26792
26793 \begin_layout Itemize
26794 Usar 
26795 \begin_inset Flex Code
26796 status collapsed
26797
26798 \begin_layout Plain Layout
26799 $$AbsPath
26800 \end_layout
26801
26802 \end_inset
26803
26804  si se requiere una ruta absoluta.
26805 \end_layout
26806
26807 \begin_layout Itemize
26808 Usar 
26809 \begin_inset Flex Code
26810 status collapsed
26811
26812 \begin_layout Plain Layout
26813 $$AbsOrRelPathMaster
26814 \end_layout
26815
26816 \end_inset
26817
26818  si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
26819 .
26820 \end_layout
26821
26822 \begin_layout Itemize
26823 Si no, usar 
26824 \begin_inset Flex Code
26825 status collapsed
26826
26827 \begin_layout Plain Layout
26828 $$AbsOrRelPathParent
26829 \end_layout
26830
26831 \end_inset
26832
26833  con el fin de preservar la elección del usuario.
26834 \end_layout
26835
26836 \begin_layout Standard
26837 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
26838 \begin_inset space \thinspace{}
26839 \end_inset
26840
26841 e., nombres relativos, pero normalmente funcionará bien.
26842  Un ejemplo de uno de estos casos es el comando 
26843 \begin_inset Flex Code
26844 status collapsed
26845
26846 \begin_layout Plain Layout
26847 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
26848 \end_layout
26849
26850 \end_inset
26851
26852  en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
26853  el copiador para archivos 
26854 \begin_inset Flex Code
26855 status collapsed
26856
26857 \begin_layout Plain Layout
26858 .pstex_t
26859 \end_layout
26860
26861 \end_inset
26862
26863  necesita el nombre relativo para reescribir el contenido del archivo.
26864 \end_layout
26865
26866 \begin_layout Section
26867 Discusión sobre seguridad
26868 \begin_inset CommandInset label
26869 LatexCommand label
26870 name "sec:Discusión-sobre-seguridad"
26871
26872 \end_inset
26873
26874
26875 \end_layout
26876
26877 \begin_layout Standard
26878 La función material externo interactúa con muchos programas externos y lo
26879  hace de forma automática, así que hemos de tener en cuenta las implicaciones
26880  de seguridad que esto conlleva.
26881  En particular, puesto que tienes la opción de incluir tus propios archivos
26882  y/o cadenas de parámetros y estos se expanden en un comando, parece posible
26883  crear un documento malicioso que ejecute comandos arbitrarios cuando un
26884  usuario ve o imprime el documento.
26885  Esto es algo que definitivamente queremos evitar.
26886  
26887 \end_layout
26888
26889 \begin_layout Standard
26890 Sin embargo, dado que los comandos de material externo se especifican solo
26891  en el archivo de configuración de la plantilla, no hay problemas de seguridad
26892  si \SpecialChar LyX
26893  está adecuadamente configurado solo con plantillas seguras.
26894  Esto es así porque los programas externos se invocan con la llamada al
26895  sistema 
26896 \begin_inset Flex Code
26897 status collapsed
26898
26899 \begin_layout Plain Layout
26900 execvp
26901 \end_layout
26902
26903 \end_inset
26904
26905  más bien que con la llamada 
26906 \begin_inset Flex Code
26907 status collapsed
26908
26909 \begin_layout Plain Layout
26910 system
26911 \end_layout
26912
26913 \end_inset
26914
26915 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
26916  del nombre de archivo o de parámetros mediante el shell.
26917 \end_layout
26918
26919 \begin_layout Standard
26920 Esto implica además que hay restricciones en las cadenas de comandos que
26921  puedes usar en las plantillas de material externo.
26922  En particular, las tuberías y la redirección no están fácilmente disponibles.
26923  Esto debe ser así para que \SpecialChar LyX
26924  permanezca seguro.
26925  Si quieres usar algunas características de shell, deberías escribir un
26926  guión seguro para hacerlo de manera controlada, y después invocar el guión
26927  desde la cadena de comandos.
26928 \end_layout
26929
26930 \begin_layout Standard
26931 Es posible diseñar una plantilla que interactúe directamente con el shell,
26932  pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
26933  arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
26934  recomendamos usar solo guiones seguros que trabajen con la llamada 
26935 \begin_inset Flex Code
26936 status collapsed
26937
26938 \begin_layout Plain Layout
26939 execvp
26940 \end_layout
26941
26942 \end_inset
26943
26944  al sistema en forma controlada.
26945  Por supuesto, para usar en un entorno controlado, puede ser tentador caer
26946  en el uso de guiones de shell ordinarios.
26947  Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
26948  fácilmente explotable en tu sistema.
26949  Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
26950  en la distribución estándar de \SpecialChar LyX
26951 , aunque alentamos a la gente a que, a la
26952  usanza del software libre, envíe nuevas plantillas.
26953  No obstante, \SpecialChar LyX
26954  nunca tendrá plantillas inseguras tal y como se distribuye
26955  por los canales oficiales.
26956 \end_layout
26957
26958 \begin_layout Standard
26959 Incluir material externo suministra mucha potencia y has de ser cuidadoso
26960  en no introducir riesgos de seguridad a costa de esta potencia.
26961  Un sutil error en una simple línea en un guión aparentemente inocente puede
26962  abrir la puerta a graves problemas de seguridad.
26963  Así, si no comprendes totalmente estos asuntos, recomendamos consultar
26964  a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
26965  si
26966  tienes dudas acerca de si una plantilla dada es o no segura.
26967  Y hazlo antes de usarla en un entorno no controlado.
26968 \end_layout
26969
26970 \begin_layout Chapter
26971 \start_of_appendix
26972 Lista de funciones soportadas por \SpecialChar LyX
26973  en archivos de formato
26974 \begin_inset CommandInset label
26975 LatexCommand label
26976 name "cap:Lista-de-funciones"
26977
26978 \end_inset
26979
26980
26981 \end_layout
26982
26983 \begin_layout Standard
26984 \align center
26985 \begin_inset Tabular
26986 <lyxtabular version="3" rows="11" columns="8">
26987 <features tabularvalignment="middle">
26988 <column alignment="left" valignment="top">
26989 <column alignment="left" valignment="top">
26990 <column alignment="left" valignment="top">
26991 <column alignment="left" valignment="top">
26992 <column alignment="left" valignment="top">
26993 <column alignment="left" valignment="top">
26994 <column alignment="left" valignment="top">
26995 <column alignment="left" valignment="top">
26996 <row>
26997 <cell alignment="left" valignment="top" usebox="none">
26998 \begin_inset Text
26999
27000 \begin_layout Plain Layout
27001 accents
27002 \end_layout
27003
27004 \end_inset
27005 </cell>
27006 <cell alignment="left" valignment="top" usebox="none">
27007 \begin_inset Text
27008
27009 \begin_layout Plain Layout
27010 booktabs
27011 \end_layout
27012
27013 \end_inset
27014 </cell>
27015 <cell alignment="left" valignment="top" usebox="none">
27016 \begin_inset Text
27017
27018 \begin_layout Plain Layout
27019 feyn
27020 \end_layout
27021
27022 \end_inset
27023 </cell>
27024 <cell alignment="left" valignment="top" usebox="none">
27025 \begin_inset Text
27026
27027 \begin_layout Plain Layout
27028 listings
27029 \end_layout
27030
27031 \end_inset
27032 </cell>
27033 <cell alignment="center" valignment="top" usebox="none">
27034 \begin_inset Text
27035
27036 \begin_layout Plain Layout
27037 natbib
27038 \end_layout
27039
27040 \end_inset
27041 </cell>
27042 <cell alignment="center" valignment="top" usebox="none">
27043 \begin_inset Text
27044
27045 \begin_layout Plain Layout
27046 rotfloat
27047 \end_layout
27048
27049 \end_inset
27050 </cell>
27051 <cell alignment="center" valignment="top" usebox="none">
27052 \begin_inset Text
27053
27054 \begin_layout Plain Layout
27055 tfrupee
27056 \end_layout
27057
27058 \end_inset
27059 </cell>
27060 <cell alignment="center" valignment="top" usebox="none">
27061 \begin_inset Text
27062
27063 \begin_layout Plain Layout
27064 wasysym
27065 \end_layout
27066
27067 \end_inset
27068 </cell>
27069 </row>
27070 <row>
27071 <cell alignment="left" valignment="top" usebox="none">
27072 \begin_inset Text
27073
27074 \begin_layout Plain Layout
27075 amsbsy
27076 \end_layout
27077
27078 \end_inset
27079 </cell>
27080 <cell alignment="left" valignment="top" usebox="none">
27081 \begin_inset Text
27082
27083 \begin_layout Plain Layout
27084 calc
27085 \end_layout
27086
27087 \end_inset
27088 </cell>
27089 <cell alignment="left" valignment="top" usebox="none">
27090 \begin_inset Text
27091
27092 \begin_layout Plain Layout
27093 fixltx2e
27094 \end_layout
27095
27096 \end_inset
27097 </cell>
27098 <cell alignment="left" valignment="top" usebox="none">
27099 \begin_inset Text
27100
27101 \begin_layout Plain Layout
27102 longtable
27103 \end_layout
27104
27105 \end_inset
27106 </cell>
27107 <cell alignment="center" valignment="top" usebox="none">
27108 \begin_inset Text
27109
27110 \begin_layout Plain Layout
27111 nomencl
27112 \end_layout
27113
27114 \end_inset
27115 </cell>
27116 <cell alignment="center" valignment="top" usebox="none">
27117 \begin_inset Text
27118
27119 \begin_layout Plain Layout
27120 rsphrase
27121 \end_layout
27122
27123 \end_inset
27124 </cell>
27125 <cell alignment="center" valignment="top" usebox="none">
27126 \begin_inset Text
27127
27128 \begin_layout Plain Layout
27129 tipa
27130 \end_layout
27131
27132 \end_inset
27133 </cell>
27134 <cell alignment="center" valignment="top" usebox="none">
27135 \begin_inset Text
27136
27137 \begin_layout Plain Layout
27138 wrapfig
27139 \end_layout
27140
27141 \end_inset
27142 </cell>
27143 </row>
27144 <row>
27145 <cell alignment="left" valignment="top" usebox="none">
27146 \begin_inset Text
27147
27148 \begin_layout Plain Layout
27149 amscd
27150 \end_layout
27151
27152 \end_inset
27153 </cell>
27154 <cell alignment="left" valignment="top" usebox="none">
27155 \begin_inset Text
27156
27157 \begin_layout Plain Layout
27158 CJK
27159 \end_layout
27160
27161 \end_inset
27162 </cell>
27163 <cell alignment="left" valignment="top" usebox="none">
27164 \begin_inset Text
27165
27166 \begin_layout Plain Layout
27167 float
27168 \end_layout
27169
27170 \end_inset
27171 </cell>
27172 <cell alignment="left" valignment="top" usebox="none">
27173 \begin_inset Text
27174
27175 \begin_layout Plain Layout
27176 lyxskak
27177 \end_layout
27178
27179 \end_inset
27180 </cell>
27181 <cell alignment="center" valignment="top" usebox="none">
27182 \begin_inset Text
27183
27184 \begin_layout Plain Layout
27185 pdfcolmk
27186 \end_layout
27187
27188 \end_inset
27189 </cell>
27190 <cell alignment="center" valignment="top" usebox="none">
27191 \begin_inset Text
27192
27193 \begin_layout Plain Layout
27194 setspace
27195 \end_layout
27196
27197 \end_inset
27198 </cell>
27199 <cell alignment="center" valignment="top" usebox="none">
27200 \begin_inset Text
27201
27202 \begin_layout Plain Layout
27203 tipx
27204 \end_layout
27205
27206 \end_inset
27207 </cell>
27208 <cell alignment="center" valignment="top" usebox="none">
27209 \begin_inset Text
27210
27211 \begin_layout Plain Layout
27212 xargs
27213 \end_layout
27214
27215 \end_inset
27216 </cell>
27217 </row>
27218 <row>
27219 <cell alignment="left" valignment="top" usebox="none">
27220 \begin_inset Text
27221
27222 \begin_layout Plain Layout
27223 amsmath
27224 \end_layout
27225
27226 \end_inset
27227 </cell>
27228 <cell alignment="left" valignment="top" usebox="none">
27229 \begin_inset Text
27230
27231 \begin_layout Plain Layout
27232 color
27233 \end_layout
27234
27235 \end_inset
27236 </cell>
27237 <cell alignment="left" valignment="top" usebox="none">
27238 \begin_inset Text
27239
27240 \begin_layout Plain Layout
27241 framed
27242 \end_layout
27243
27244 \end_inset
27245 </cell>
27246 <cell alignment="left" valignment="top" usebox="none">
27247 \begin_inset Text
27248
27249 \begin_layout Plain Layout
27250 makeidx
27251 \end_layout
27252
27253 \end_inset
27254 </cell>
27255 <cell alignment="center" valignment="top" usebox="none">
27256 \begin_inset Text
27257
27258 \begin_layout Plain Layout
27259 pdfpages
27260 \end_layout
27261
27262 \end_inset
27263 </cell>
27264 <cell alignment="center" valignment="top" usebox="none">
27265 \begin_inset Text
27266
27267 \begin_layout Plain Layout
27268 shapepar
27269 \end_layout
27270
27271 \end_inset
27272 </cell>
27273 <cell alignment="center" valignment="top" usebox="none">
27274 \begin_inset Text
27275
27276 \begin_layout Plain Layout
27277 tone
27278 \end_layout
27279
27280 \end_inset
27281 </cell>
27282 <cell alignment="center" valignment="top" usebox="none">
27283 \begin_inset Text
27284
27285 \begin_layout Plain Layout
27286 xcolor
27287 \end_layout
27288
27289 \end_inset
27290 </cell>
27291 </row>
27292 <row>
27293 <cell alignment="left" valignment="top" usebox="none">
27294 \begin_inset Text
27295
27296 \begin_layout Plain Layout
27297 amssymb
27298 \end_layout
27299
27300 \end_inset
27301 </cell>
27302 <cell alignment="left" valignment="top" usebox="none">
27303 \begin_inset Text
27304
27305 \begin_layout Plain Layout
27306 covington
27307 \end_layout
27308
27309 \end_inset
27310 </cell>
27311 <cell alignment="left" valignment="top" usebox="none">
27312 \begin_inset Text
27313
27314 \begin_layout Plain Layout
27315 graphicx
27316 \end_layout
27317
27318 \end_inset
27319 </cell>
27320 <cell alignment="left" valignment="top" usebox="none">
27321 \begin_inset Text
27322
27323 \begin_layout Plain Layout
27324 marvosym
27325 \end_layout
27326
27327 \end_inset
27328 </cell>
27329 <cell alignment="center" valignment="top" usebox="none">
27330 \begin_inset Text
27331
27332 \begin_layout Plain Layout
27333 pifont
27334 \end_layout
27335
27336 \end_inset
27337 </cell>
27338 <cell alignment="center" valignment="top" usebox="none">
27339 \begin_inset Text
27340
27341 \begin_layout Plain Layout
27342 slashed
27343 \end_layout
27344
27345 \end_inset
27346 </cell>
27347 <cell alignment="center" valignment="top" usebox="none">
27348 \begin_inset Text
27349
27350 \begin_layout Plain Layout
27351 txfonts
27352 \end_layout
27353
27354 \end_inset
27355 </cell>
27356 <cell alignment="center" valignment="top" usebox="none">
27357 \begin_inset Text
27358
27359 \begin_layout Plain Layout
27360 xy
27361 \end_layout
27362
27363 \end_inset
27364 </cell>
27365 </row>
27366 <row>
27367 <cell alignment="left" valignment="top" usebox="none">
27368 \begin_inset Text
27369
27370 \begin_layout Plain Layout
27371 amstext
27372 \end_layout
27373
27374 \end_inset
27375 </cell>
27376 <cell alignment="left" valignment="top" usebox="none">
27377 \begin_inset Text
27378
27379 \begin_layout Plain Layout
27380 csquotes
27381 \end_layout
27382
27383 \end_inset
27384 </cell>
27385 <cell alignment="left" valignment="top" usebox="none">
27386 \begin_inset Text
27387
27388 \begin_layout Plain Layout
27389 hhline
27390 \end_layout
27391
27392 \end_inset
27393 </cell>
27394 <cell alignment="left" valignment="top" usebox="none">
27395 \begin_inset Text
27396
27397 \begin_layout Plain Layout
27398 mathdesign
27399 \end_layout
27400
27401 \end_inset
27402 </cell>
27403 <cell alignment="center" valignment="top" usebox="none">
27404 \begin_inset Text
27405
27406 \begin_layout Plain Layout
27407 pmboxdraw
27408 \end_layout
27409
27410 \end_inset
27411 </cell>
27412 <cell alignment="center" valignment="top" usebox="none">
27413 \begin_inset Text
27414
27415 \begin_layout Plain Layout
27416 soul
27417 \end_layout
27418
27419 \end_inset
27420 </cell>
27421 <cell alignment="center" valignment="top" usebox="none">
27422 \begin_inset Text
27423
27424 \begin_layout Plain Layout
27425 ulem
27426 \end_layout
27427
27428 \end_inset
27429 </cell>
27430 <cell alignment="center" valignment="top" usebox="none">
27431 \begin_inset Text
27432
27433 \begin_layout Plain Layout
27434 yhmath
27435 \end_layout
27436
27437 \end_inset
27438 </cell>
27439 </row>
27440 <row>
27441 <cell alignment="left" valignment="top" usebox="none">
27442 \begin_inset Text
27443
27444 \begin_layout Plain Layout
27445 amsthm
27446 \end_layout
27447
27448 \end_inset
27449 </cell>
27450 <cell alignment="left" valignment="top" usebox="none">
27451 \begin_inset Text
27452
27453 \begin_layout Plain Layout
27454 dvipost
27455 \end_layout
27456
27457 \end_inset
27458 </cell>
27459 <cell alignment="left" valignment="top" usebox="none">
27460 \begin_inset Text
27461
27462 \begin_layout Plain Layout
27463 hyperref
27464 \end_layout
27465
27466 \end_inset
27467 </cell>
27468 <cell alignment="left" valignment="top" usebox="none">
27469 \begin_inset Text
27470
27471 \begin_layout Plain Layout
27472 mathdots
27473 \end_layout
27474
27475 \end_inset
27476 </cell>
27477 <cell alignment="center" valignment="top" usebox="none">
27478 \begin_inset Text
27479
27480 \begin_layout Plain Layout
27481 polyglossia
27482 \end_layout
27483
27484 \end_inset
27485 </cell>
27486 <cell alignment="center" valignment="top" usebox="none">
27487 \begin_inset Text
27488
27489 \begin_layout Plain Layout
27490 splitidx
27491 \end_layout
27492
27493 \end_inset
27494 </cell>
27495 <cell alignment="center" valignment="top" usebox="none">
27496 \begin_inset Text
27497
27498 \begin_layout Plain Layout
27499 undertilde
27500 \end_layout
27501
27502 \end_inset
27503 </cell>
27504 <cell alignment="center" valignment="top" usebox="none">
27505 \begin_inset Text
27506
27507 \begin_layout Plain Layout
27508
27509 \end_layout
27510
27511 \end_inset
27512 </cell>
27513 </row>
27514 <row>
27515 <cell alignment="left" valignment="top" usebox="none">
27516 \begin_inset Text
27517
27518 \begin_layout Plain Layout
27519 array
27520 \end_layout
27521
27522 \end_inset
27523 </cell>
27524 <cell alignment="left" valignment="top" usebox="none">
27525 \begin_inset Text
27526
27527 \begin_layout Plain Layout
27528 endnotes
27529 \end_layout
27530
27531 \end_inset
27532 </cell>
27533 <cell alignment="left" valignment="top" usebox="none">
27534 \begin_inset Text
27535
27536 \begin_layout Plain Layout
27537 ifsym
27538 \end_layout
27539
27540 \end_inset
27541 </cell>
27542 <cell alignment="left" valignment="top" usebox="none">
27543 \begin_inset Text
27544
27545 \begin_layout Plain Layout
27546 mathrsfs
27547 \end_layout
27548
27549 \end_inset
27550 </cell>
27551 <cell alignment="center" valignment="top" usebox="none">
27552 \begin_inset Text
27553
27554 \begin_layout Plain Layout
27555 prettyref
27556 \end_layout
27557
27558 \end_inset
27559 </cell>
27560 <cell alignment="center" valignment="top" usebox="none">
27561 \begin_inset Text
27562
27563 \begin_layout Plain Layout
27564 subfig
27565 \end_layout
27566
27567 \end_inset
27568 </cell>
27569 <cell alignment="center" valignment="top" usebox="none">
27570 \begin_inset Text
27571
27572 \begin_layout Plain Layout
27573 units
27574 \end_layout
27575
27576 \end_inset
27577 </cell>
27578 <cell alignment="center" valignment="top" usebox="none">
27579 \begin_inset Text
27580
27581 \begin_layout Plain Layout
27582
27583 \end_layout
27584
27585 \end_inset
27586 </cell>
27587 </row>
27588 <row>
27589 <cell alignment="left" valignment="top" usebox="none">
27590 \begin_inset Text
27591
27592 \begin_layout Plain Layout
27593 ascii
27594 \end_layout
27595
27596 \end_inset
27597 </cell>
27598 <cell alignment="left" valignment="top" usebox="none">
27599 \begin_inset Text
27600
27601 \begin_layout Plain Layout
27602 enumitem
27603 \end_layout
27604
27605 \end_inset
27606 </cell>
27607 <cell alignment="left" valignment="top" usebox="none">
27608 \begin_inset Text
27609
27610 \begin_layout Plain Layout
27611 ifthen
27612 \end_layout
27613
27614 \end_inset
27615 </cell>
27616 <cell alignment="left" valignment="top" usebox="none">
27617 \begin_inset Text
27618
27619 \begin_layout Plain Layout
27620 mhchem
27621 \end_layout
27622
27623 \end_inset
27624 </cell>
27625 <cell alignment="center" valignment="top" usebox="none">
27626 \begin_inset Text
27627
27628 \begin_layout Plain Layout
27629 pxfonts
27630 \end_layout
27631
27632 \end_inset
27633 </cell>
27634 <cell alignment="center" valignment="top" usebox="none">
27635 \begin_inset Text
27636
27637 \begin_layout Plain Layout
27638 subscript
27639 \end_layout
27640
27641 \end_inset
27642 </cell>
27643 <cell alignment="center" valignment="top" usebox="none">
27644 \begin_inset Text
27645
27646 \begin_layout Plain Layout
27647 url
27648 \end_layout
27649
27650 \end_inset
27651 </cell>
27652 <cell alignment="center" valignment="top" usebox="none">
27653 \begin_inset Text
27654
27655 \begin_layout Plain Layout
27656
27657 \end_layout
27658
27659 \end_inset
27660 </cell>
27661 </row>
27662 <row>
27663 <cell alignment="left" valignment="top" usebox="none">
27664 \begin_inset Text
27665
27666 \begin_layout Plain Layout
27667 bbding
27668 \end_layout
27669
27670 \end_inset
27671 </cell>
27672 <cell alignment="left" valignment="top" usebox="none">
27673 \begin_inset Text
27674
27675 \begin_layout Plain Layout
27676 esint
27677 \end_layout
27678
27679 \end_inset
27680 </cell>
27681 <cell alignment="left" valignment="top" usebox="none">
27682 \begin_inset Text
27683
27684 \begin_layout Plain Layout
27685 jurabib
27686 \end_layout
27687
27688 \end_inset
27689 </cell>
27690 <cell alignment="left" valignment="top" usebox="none">
27691 \begin_inset Text
27692
27693 \begin_layout Plain Layout
27694 multicol
27695 \end_layout
27696
27697 \end_inset
27698 </cell>
27699 <cell alignment="center" valignment="top" usebox="none">
27700 \begin_inset Text
27701
27702 \begin_layout Plain Layout
27703 refstyle
27704 \end_layout
27705
27706 \end_inset
27707 </cell>
27708 <cell alignment="center" valignment="top" usebox="none">
27709 \begin_inset Text
27710
27711 \begin_layout Plain Layout
27712 textcomp
27713 \end_layout
27714
27715 \end_inset
27716 </cell>
27717 <cell alignment="center" valignment="top" usebox="none">
27718 \begin_inset Text
27719
27720 \begin_layout Plain Layout
27721 varioref
27722 \end_layout
27723
27724 \end_inset
27725 </cell>
27726 <cell alignment="center" valignment="top" usebox="none">
27727 \begin_inset Text
27728
27729 \begin_layout Plain Layout
27730
27731 \end_layout
27732
27733 \end_inset
27734 </cell>
27735 </row>
27736 <row>
27737 <cell alignment="center" valignment="top" usebox="none">
27738 \begin_inset Text
27739
27740 \begin_layout Plain Layout
27741 bm
27742 \end_layout
27743
27744 \end_inset
27745 </cell>
27746 <cell alignment="center" valignment="top" usebox="none">
27747 \begin_inset Text
27748
27749 \begin_layout Plain Layout
27750 fancybox
27751 \end_layout
27752
27753 \end_inset
27754 </cell>
27755 <cell alignment="center" valignment="top" usebox="none">
27756 \begin_inset Text
27757
27758 \begin_layout Plain Layout
27759 latexsym
27760 \end_layout
27761
27762 \end_inset
27763 </cell>
27764 <cell alignment="center" valignment="top" usebox="none">
27765 \begin_inset Text
27766
27767 \begin_layout Plain Layout
27768 multirow
27769 \end_layout
27770
27771 \end_inset
27772 </cell>
27773 <cell alignment="center" valignment="top" usebox="none">
27774 \begin_inset Text
27775
27776 \begin_layout Plain Layout
27777 rotating
27778 \end_layout
27779
27780 \end_inset
27781 </cell>
27782 <cell alignment="center" valignment="top" usebox="none">
27783 \begin_inset Text
27784
27785 \begin_layout Plain Layout
27786 textgreek
27787 \end_layout
27788
27789 \end_inset
27790 </cell>
27791 <cell alignment="center" valignment="top" usebox="none">
27792 \begin_inset Text
27793
27794 \begin_layout Plain Layout
27795 verbatim
27796 \end_layout
27797
27798 \end_inset
27799 </cell>
27800 <cell alignment="center" valignment="top" usebox="none">
27801 \begin_inset Text
27802
27803 \begin_layout Plain Layout
27804
27805 \end_layout
27806
27807 \end_inset
27808 </cell>
27809 </row>
27810 </lyxtabular>
27811
27812 \end_inset
27813
27814
27815 \end_layout
27816
27817 \begin_layout Chapter
27818 Nombres de colores disponibles para archivos de formato
27819 \begin_inset CommandInset label
27820 LatexCommand label
27821 name "cap:Nombres-de-colores"
27822
27823 \end_inset
27824
27825
27826 \end_layout
27827
27828 \begin_layout Standard
27829 Los colores listados son los colores estándar y los que se pueden modificar
27830  en las preferencias de \SpecialChar LyX
27831 .
27832 \end_layout
27833
27834 \begin_layout Section
27835
27836 \lang english
27837 Color functions
27838 \end_layout
27839
27840 \begin_layout Standard
27841
27842 \lang english
27843 The following are no real colors, but rather act on color definitions:
27844 \end_layout
27845
27846 \begin_layout Description
27847 ignore El color es ignorado
27848 \end_layout
27849
27850 \begin_layout Description
27851 inherit El color es heredado
27852 \end_layout
27853
27854 \begin_layout Description
27855 none
27856 \family roman
27857 \series medium
27858  
27859 \family default
27860 \series default
27861 Ningún color en particular, transparente o ausente
27862 \end_layout
27863
27864 \begin_layout Section
27865
27866 \lang english
27867 Static colors
27868 \end_layout
27869
27870 \begin_layout Standard
27871
27872 \lang english
27873 These are fixed colors that cannot me customized:
27874 \end_layout
27875
27876 \begin_layout Description
27877 black
27878 \end_layout
27879
27880 \begin_layout Description
27881 white
27882 \end_layout
27883
27884 \begin_layout Description
27885 blue
27886 \end_layout
27887
27888 \begin_layout Description
27889 brown
27890 \end_layout
27891
27892 \begin_layout Description
27893 cyan
27894 \end_layout
27895
27896 \begin_layout Description
27897 darkgray
27898 \end_layout
27899
27900 \begin_layout Description
27901 gray
27902 \end_layout
27903
27904 \begin_layout Description
27905 green
27906 \end_layout
27907
27908 \begin_layout Description
27909 lightgray
27910 \end_layout
27911
27912 \begin_layout Description
27913 lime
27914 \end_layout
27915
27916 \begin_layout Description
27917 magenta
27918 \end_layout
27919
27920 \begin_layout Description
27921 olive
27922 \end_layout
27923
27924 \begin_layout Description
27925 orange
27926 \end_layout
27927
27928 \begin_layout Description
27929 pink
27930 \end_layout
27931
27932 \begin_layout Description
27933 purple
27934 \end_layout
27935
27936 \begin_layout Description
27937 red
27938 \end_layout
27939
27940 \begin_layout Description
27941 teal
27942 \end_layout
27943
27944 \begin_layout Description
27945 violet
27946 \end_layout
27947
27948 \begin_layout Description
27949 yellow
27950 \end_layout
27951
27952 \begin_layout Section
27953
27954 \lang english
27955 Dynamic colors
27956 \end_layout
27957
27958 \begin_layout Standard
27959
27960 \lang english
27961 These are the colors allocated to specific elements in
27962 \lang spanish
27963  
27964 \begin_inset Flex Noun
27965 status collapsed
27966
27967 \begin_layout Plain Layout
27968 Herramientas\SpecialChar menuseparator
27969 Preferencias
27970 \end_layout
27971
27972 \end_inset
27973
27974 :
27975 \end_layout
27976
27977 \begin_layout Description
27978 added_space Color espacio añadido
27979 \end_layout
27980
27981 \begin_layout Description
27982 addedtext Color texto añadido
27983 \end_layout
27984
27985 \begin_layout Description
27986 appendix Color marcador de apéndice
27987 \end_layout
27988
27989 \begin_layout Description
27990 background Color de fondo
27991 \end_layout
27992
27993 \begin_layout Description
27994 bottomarea Color área inferior
27995 \end_layout
27996
27997 \begin_layout Description
27998 branchlabel Color etiqueta de ramas
27999 \end_layout
28000
28001 \begin_layout Description
28002 buttonbg Color fondo de botón
28003 \end_layout
28004
28005 \begin_layout Description
28006 buttonframe Color para marcos de botones de recuadro
28007 \end_layout
28008
28009 \begin_layout Description
28010 buttonhoverbg Color fondo de botón en foco
28011 \end_layout
28012
28013 \begin_layout Description
28014 changebar Color barra de cambios
28015 \end_layout
28016
28017 \begin_layout Description
28018 changedtextauthor1 Color autor 1 de texto cambiado
28019 \end_layout
28020
28021 \begin_layout Description
28022 changedtextauthor2 Color autor 2 de texto cambiado
28023 \end_layout
28024
28025 \begin_layout Description
28026 changedtextauthor3 Color autor 3 de texto cambiado 
28027 \end_layout
28028
28029 \begin_layout Description
28030 changedtextauthor4 Color autor 4 de texto cambiado
28031 \end_layout
28032
28033 \begin_layout Description
28034 changedtextauthor5 Color autor 5 de texto cambiado
28035 \end_layout
28036
28037 \begin_layout Description
28038 collapsabletext Color texto de recuadro plegable 
28039 \end_layout
28040
28041 \begin_layout Description
28042 collapsableframe Color marco de recuadro plegable
28043 \end_layout
28044
28045 \begin_layout Description
28046 command Color texto recuadros de comando
28047 \end_layout
28048
28049 \begin_layout Description
28050 commandbg Color fondo recuadros de comando
28051 \end_layout
28052
28053 \begin_layout Description
28054 commandframe Color marco recuadros de comando
28055 \end_layout
28056
28057 \begin_layout Description
28058 commentbg Color fondo de comentarios
28059 \end_layout
28060
28061 \begin_layout Description
28062 commentlabel Color etiqueta de comentarios
28063 \end_layout
28064
28065 \begin_layout Description
28066 cursor Color cursor
28067 \end_layout
28068
28069 \begin_layout Description
28070 deletedtext Color texto borrado
28071 \end_layout
28072
28073 \begin_layout Description
28074 deletedtextmodifier Color modificación de texto borrado
28075 \end_layout
28076
28077 \begin_layout Description
28078 depthbar Color barra de anidación en margen
28079 \end_layout
28080
28081 \begin_layout Description
28082 eolmarker Color marcador fin de línea
28083 \end_layout
28084
28085 \begin_layout Description
28086 error Color cuadro de error \SpecialChar LaTeX
28087
28088 \end_layout
28089
28090 \begin_layout Description
28091 footlabel Color etiqueta de notas a pie de página
28092 \end_layout
28093
28094 \begin_layout Description
28095 foreground 
28096 \lang english
28097 Foreground color
28098 \end_layout
28099
28100 \begin_layout Description
28101 graphicsbg Color fondo de recuadros de inserción de gráficos
28102 \end_layout
28103
28104 \begin_layout Description
28105 greyedoutbg Color fondo de recuadros de notas grises
28106 \end_layout
28107
28108 \begin_layout Description
28109 greyedoutlabel Color etiqueta de recuadros de notas grises
28110 \end_layout
28111
28112 \begin_layout Description
28113 greyedouttext Color texto de recuadros de notas grises
28114 \end_layout
28115
28116 \begin_layout Description
28117 indexlabel Color etiqueta de recuadros de índice
28118 \end_layout
28119
28120 \begin_layout Description
28121 inlinecompletion Color autofinalización en línea
28122 \end_layout
28123
28124 \begin_layout Description
28125 insetbg Color fondo de marcador de recuadro
28126 \end_layout
28127
28128 \begin_layout Description
28129 insetframe Color marco de marcador de recuadro
28130 \end_layout
28131
28132 \begin_layout Description
28133 language Color marcador de palabras en otros idiomas
28134 \end_layout
28135
28136 \begin_layout Description
28137 latex Color texto en modo \SpecialChar LaTeX
28138
28139 \end_layout
28140
28141 \begin_layout Description
28142 listingsbg Color fondo de recuadro listado de código
28143 \end_layout
28144
28145 \begin_layout Description
28146 marginlabel Color etiqueta de notas al margen
28147 \end_layout
28148
28149 \begin_layout Description
28150 math Color texto de recuadro de ecuación
28151 \end_layout
28152
28153 \begin_layout Description
28154 mathbg Color fondo de recuadro de ecuación
28155 \end_layout
28156
28157 \begin_layout Description
28158 mathcorners Color marco de recuadro de ecuación fuera de foco
28159 \end_layout
28160
28161 \begin_layout Description
28162 mathframe Color marco de recuadro de ecuación en foco
28163 \end_layout
28164
28165 \begin_layout Description
28166 mathline Color línea de ecuación
28167 \end_layout
28168
28169 \begin_layout Description
28170 mathmacrobg Color fondo de recuadro de macro matemática
28171 \end_layout
28172
28173 \begin_layout Description
28174 mathmacroblend Color mezclado macro matemática
28175 \end_layout
28176
28177 \begin_layout Description
28178 mathmacroframe Color marco de macro matemática
28179 \end_layout
28180
28181 \begin_layout Description
28182 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
28183 \end_layout
28184
28185 \begin_layout Description
28186 mathmacrolabel Color etiqueta macro matemática
28187 \end_layout
28188
28189 \begin_layout Description
28190 mathmacronewarg Color plantilla de macro para nuevos parámetros
28191 \end_layout
28192
28193 \begin_layout Description
28194 mathmacrooldarg Color plantilla de macro para antiguos parámetros
28195 \end_layout
28196
28197 \begin_layout Description
28198 newpage Color página nueva
28199 \end_layout
28200
28201 \begin_layout Description
28202 nonunique_inlinecompletion Color autofinalización en línea parte no única
28203 \end_layout
28204
28205 \begin_layout Description
28206 notebg Color fondo de notas
28207 \end_layout
28208
28209 \begin_layout Description
28210 notelabel Color etiqueta de notas
28211 \end_layout
28212
28213 \begin_layout Description
28214 pagebreak Color salto de página/línea
28215 \end_layout
28216
28217 \begin_layout Description
28218 paragraphmarker Color símbolo marcador de fin de párrafo
28219 \end_layout
28220
28221 \begin_layout Description
28222 phantomtext Color texto de recuadro fantasma
28223 \end_layout
28224
28225 \begin_layout Description
28226 preview Color vista preliminar
28227 \end_layout
28228
28229 \begin_layout Description
28230 previewframe Color marco vista preliminar
28231 \end_layout
28232
28233 \begin_layout Description
28234 regexpframe Color marco regexp
28235 \end_layout
28236
28237 \begin_layout Description
28238
28239 \lang english
28240 scroll Color that indicates when a row can be scrolled
28241 \end_layout
28242
28243 \begin_layout Description
28244 selection Color fondo de texto seleccionado
28245 \end_layout
28246
28247 \begin_layout Description
28248 selectiontext Color de texto seleccionado
28249 \end_layout
28250
28251 \begin_layout Description
28252 shadedbg Color fondo de marco coloreado
28253 \end_layout
28254
28255 \begin_layout Description
28256 special Color texto de caracteres especiales
28257 \end_layout
28258
28259 \begin_layout Description
28260 tabularline Color línea de cuadro/tabla
28261 \end_layout
28262
28263 \begin_layout Description
28264 tabularonoffline Color línea de cuadro/tabla on/off
28265 \end_layout
28266
28267 \begin_layout Description
28268 urllabel Color etiqueta de recuadros URL
28269 \end_layout
28270
28271 \begin_layout Description
28272 urltext Color texto de recuadros URL
28273 \end_layout
28274
28275 \end_body
28276 \end_document