]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Customization.lyx
2f25bc01fbbc29f3fe7fe96ee787272c9c2ab4e3
[lyx.git] / lib / doc / es / Customization.lyx
1 #LyX 2.1 created this file. For more info see http://www.lyx.org/
2 \lyxformat 474
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % DO NOT ALTER THIS PREAMBLE!!!
8 %
9 % This preamble is designed to ensure that the manual prints
10 % out as advertised. If you mess with this preamble,
11 % parts of this document may not print out as expected.  If you
12 % have problems LaTeXing this file, please contact 
13 % the documentation team
14 % email: lyx-docs@lists.lyx.org
15
16 \usepackage{ifpdf} % part of the hyperref bundle
17 \ifpdf % if pdflatex is used
18
19  % set fonts for nicer pdf view
20  \IfFileExists{lmodern.sty}
21   {\usepackage{lmodern}}{}
22
23 \fi % end if pdflatex is used
24
25 % the pages of the TOC is numbered roman
26 % and a pdf-bookmark for the TOC is added
27 \let\myTOC\tableofcontents
28 \renewcommand\tableofcontents{%
29   \frontmatter
30   \pdfbookmark[1]{\contentsname}{}
31   \myTOC
32   \mainmatter }
33
34 % increase link area for cross-references and autoname them,
35 \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
36 \addto\extrasspanish{%
37  \renewcommand*{\equationautorefname}[1]{}%
38  \renewcommand{\sectionautorefname}{sec.\negthinspace}%
39  \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
40  \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
41 }
42 \end_preamble
43 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
44 \use_default_options false
45 \begin_modules
46 logicalmkup
47 \end_modules
48 \maintain_unincluded_children false
49 \begin_local_layout
50 Format 7
51 InsetLayout  Flex:MenuItem
52 LyxType               charstyle
53 LabelString           menu
54 LatexType             command
55 LatexName             menuitem
56 Font
57 Family              Sans
58 EndFont
59 Preamble
60 \newcommand*{\menuitem}[1]{{\sffamily #1}}
61 EndPreamble
62 End
63 # In case we need to do with sans...
64 #InsetLayout CharStyle:Code
65 #Font
66 #Family              Sans
67 #EndFont
68 #Preamble
69 #\renewcommand{\code}[1]{{\sffamily #1}}
70 #EndPreamble
71 #End
72 \end_local_layout
73 \language spanish
74 \language_package default
75 \inputencoding auto
76 \fontencoding global
77 \font_roman default
78 \font_sans default
79 \font_typewriter default
80 \font_math auto
81 \font_default_family default
82 \use_non_tex_fonts false
83 \font_sc false
84 \font_osf false
85 \font_sf_scale 100
86 \font_tt_scale 100
87 \graphics default
88 \default_output_format default
89 \output_sync 0
90 \bibtex_command default
91 \index_command default
92 \paperfontsize 12
93 \spacing single
94 \use_hyperref true
95 \pdf_title "Manual Personalización de LyX"
96 \pdf_author "Equipo LyX"
97 \pdf_subject "LyX-documentation Customization"
98 \pdf_keywords "LyX, documentation, customization"
99 \pdf_bookmarks true
100 \pdf_bookmarksnumbered true
101 \pdf_bookmarksopen true
102 \pdf_bookmarksopenlevel 1
103 \pdf_breaklinks false
104 \pdf_pdfborder false
105 \pdf_colorlinks true
106 \pdf_backref false
107 \pdf_pdfusetitle false
108 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
109 \papersize default
110 \use_geometry false
111 \use_package amsmath 0
112 \use_package amssymb 0
113 \use_package cancel 0
114 \use_package esint 0
115 \use_package mathdots 1
116 \use_package mathtools 0
117 \use_package mhchem 0
118 \use_package stackrel 0
119 \use_package stmaryrd 0
120 \use_package undertilde 0
121 \cite_engine basic
122 \cite_engine_type default
123 \biblio_style plain
124 \use_bibtopic false
125 \use_indices false
126 \paperorientation portrait
127 \suppress_date false
128 \justification true
129 \use_refstyle 0
130 \branch OutDated
131 \selected 0
132 \filename_suffix 0
133 \color #f5fae7
134 \end_branch
135 \index Índice
136 \shortcut idx
137 \color #008000
138 \end_index
139 \secnumdepth 3
140 \tocdepth 3
141 \paragraph_separation indent
142 \paragraph_indentation default
143 \quotes_language french
144 \papercolumns 1
145 \papersides 2
146 \paperpagestyle headings
147 \tracking_changes false
148 \output_changes false
149 \html_math_output 0
150 \html_css_as_file 0
151 \html_be_strict true
152 \end_header
153
154 \begin_body
155
156 \begin_layout Title
157 Personalizar LyX: Características para el usuario avanzado
158 \end_layout
159
160 \begin_layout Author
161 por el equipo LyX
162 \begin_inset Foot
163 status collapsed
164
165 \begin_layout Plain Layout
166 \noindent
167 Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
168  correo de Documentación de LyX, 
169 \begin_inset CommandInset href
170 LatexCommand href
171 target "lyx-docs@lists.lyx.org"
172 type "mailto:"
173
174 \end_inset
175
176 .
177  Incluye 
178 \begin_inset Quotes fld
179 \end_inset
180
181 [Customization]
182 \begin_inset Quotes frd
183 \end_inset
184
185  en la cabecera de asunto, y envía una cc al actual mantenedor de este documento
186 , Richard Heck <rgheck@comcast.net>.
187 \end_layout
188
189 \end_inset
190
191  
192 \begin_inset Newline newline
193 \end_inset
194
195
196 \begin_inset Newline newline
197 \end_inset
198
199 Versión 2.1.x
200 \end_layout
201
202 \begin_layout Standard
203 \begin_inset CommandInset toc
204 LatexCommand tableofcontents
205
206 \end_inset
207
208
209 \end_layout
210
211 \begin_layout Chapter
212 Introducción
213 \end_layout
214
215 \begin_layout Standard
216 Este manual trata de las características de LyX que pueden ser modificadas
217  por el usuario.
218  En él abordamos temas como atajos de teclado, opciones de vista previa
219  en pantalla, opciones de impresora, envío de comandos mediante LyX Server,
220  internacionalización, instalación de nuevas clases de LaTeX y de formatos
221  de LyX, etc.
222  Seguro que no podemos aspirar a tratar todo lo que se puede cambiar, —nuestross
223  desarrolladores añaden características nuevas más deprisa de lo que las
224  podemos documentar— pero explicaremos las modificaciones más comunes y
225  y esperamos orientarte en la dirección correcta para algunas más desconocidas.
226 \end_layout
227
228 \begin_layout Standard
229 \begin_inset Branch OutDated
230 status collapsed
231
232 \begin_layout Standard
233 La rama OutDated contiene información de versiones anteriores de este documento
234  que ahora parece estar obsoleta.
235  Por omisión, esta información no aparece en la salida LaTeX.
236 \end_layout
237
238 \end_inset
239
240
241 \end_layout
242
243 \begin_layout Chapter
244 Archivos de configuración de LyX
245 \end_layout
246
247 \begin_layout Standard
248 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través
249  de los archivos de configuración de LyX.
250  Antes de seguir leyendo deberías encontrar donde están los directorios
251  de bibliotecas y de usuario, consultando 
252 \begin_inset Flex MenuItem
253 status collapsed
254
255 \begin_layout Plain Layout
256 Ayuda\SpecialChar \menuseparator
257 Acerca de LyX
258 \end_layout
259
260 \end_inset
261
262 .
263  El directorio de bibliotecas es el sitio en el que LyX tiene sus archivos
264  de configuración de sistema; el directorio de usuario es donde puedes colocar
265  tus versiones modificadas.
266  En este documento, al primero lo denominaremos 
267 \begin_inset Flex Code
268 status collapsed
269
270 \begin_layout Plain Layout
271 LyXDir
272 \end_layout
273
274 \end_inset
275
276  y al segundo 
277 \begin_inset Flex MenuItem
278 status collapsed
279
280 \begin_layout Plain Layout
281 UserDir
282 \end_layout
283
284 \end_inset
285
286 .
287 \end_layout
288
289 \begin_layout Section
290 ¿Qué hay en 
291 \begin_inset Flex Code
292 status collapsed
293
294 \begin_layout Plain Layout
295 LyXDir
296 \end_layout
297
298 \end_inset
299
300 ?
301 \end_layout
302
303 \begin_layout Standard
304 \begin_inset Flex Code
305 status collapsed
306
307 \begin_layout Plain Layout
308 LyXDir
309 \end_layout
310
311 \end_inset
312
313  y sus subdirectorios contienen archivos que pueden emplearse para personalizar
314  el comportamiento de LyX.
315  Puedes cambiar muchos de ellos desde dentro mismo de LyX mediante el diálogo
316  
317 \begin_inset Flex MenuItem
318 status collapsed
319
320 \begin_layout Plain Layout
321 Herramientas\SpecialChar \menuseparator
322 Preferencias
323 \end_layout
324
325 \end_inset
326
327 .
328  La mayor parte de las adaptaciones personales que querrás hacer en LyX
329  se puede hacer en este diálogo.
330  Sin embargo, muchos otros aspectos internos de LyX pueden cambiarse modificando
331  los archivos en 
332 \begin_inset Flex Code
333 status collapsed
334
335 \begin_layout Plain Layout
336 LyXDir
337 \end_layout
338
339 \end_inset
340
341 .
342  Estos archivos pertenecen a diversas categorías, descritas en las siguientes
343  subsecciones.
344 \end_layout
345
346 \begin_layout Subsection
347 Archivos generados automáticamente
348 \end_layout
349
350 \begin_layout Standard
351 Los archivos que se encuentran en 
352 \begin_inset Flex MenuItem
353 status collapsed
354
355 \begin_layout Plain Layout
356 UserDir
357 \end_layout
358
359 \end_inset
360
361  se generan al configurar LyX.
362  Contienen varios valores predeterminados que se obtienen por inspección.
363  En general, no es buena idea modificarlos, puesto que podrían ser sobrescritos
364  en cualquier momento.
365 \end_layout
366
367 \begin_layout Labeling
368 \labelwidthstring 00.00.0000
369 \begin_inset Flex Code
370 status collapsed
371
372 \begin_layout Plain Layout
373 lyxrc.defaults
374 \end_layout
375
376 \end_inset
377
378  contiene valores predeterminados para varioscomandos.
379 \end_layout
380
381 \begin_layout Labeling
382 \labelwidthstring 00.00.0000
383 \begin_inset Flex Code
384 status collapsed
385
386 \begin_layout Plain Layout
387 packages.lst
388 \end_layout
389
390 \end_inset
391
392  contiene la lista de paquetes que han sido reconocidos por LyX.
393  No es utilizada por el propio LyX, pero la información extraida, y otras
394  cosas están disponibles en 
395 \begin_inset Flex MenuItem
396 status collapsed
397
398 \begin_layout Plain Layout
399 Ayuda\SpecialChar \menuseparator
400 Configuración de LaTeX
401 \end_layout
402
403 \end_inset
404
405 .
406 \end_layout
407
408 \begin_layout Labeling
409 \labelwidthstring 00.00.0000
410 \begin_inset Flex Code
411 status collapsed
412
413 \begin_layout Plain Layout
414 textclass.lst
415 \end_layout
416
417 \end_inset
418
419  la lista de clases de textos encontradas en los directorios 
420 \begin_inset Flex Code
421 status collapsed
422
423 \begin_layout Plain Layout
424 layout/
425 \end_layout
426
427 \end_inset
428
429 , junto con las clases de documentos LaTeX y su descripción.
430 \end_layout
431
432 \begin_layout Labeling
433 \labelwidthstring 00.00.0000
434 \begin_inset Flex Code
435 status collapsed
436
437 \begin_layout Plain Layout
438 lyxmodules.lst
439 \end_layout
440
441 \end_inset
442
443  la lista de módulos de formato encontradas en los directorios 
444 \begin_inset Flex Code
445 status collapsed
446
447 \begin_layout Plain Layout
448 layout/
449 \end_layout
450
451 \end_inset
452
453 .
454 \end_layout
455
456 \begin_layout Labeling
457 \labelwidthstring 00.00.0000
458 \begin_inset Flex Code
459 status collapsed
460
461 \begin_layout Plain Layout
462 *files.lst
463 \end_layout
464
465 \end_inset
466
467  lista de varios tipos de archivos relacionados con LaTeX encontrados en
468  el sistema.
469 \end_layout
470
471 \begin_layout Labeling
472 \labelwidthstring 00.00.0000
473 \begin_inset Flex Code
474 status collapsed
475
476 \begin_layout Plain Layout
477 doc/LaTeXConfig.lyx
478 \end_layout
479
480 \end_inset
481
482  es generado automáticamente durante la configuración a partir del archivo
483  
484 \begin_inset Flex Code
485 status collapsed
486
487 \begin_layout Plain Layout
488 LaTeXConfig.lyx.in
489 \end_layout
490
491 \end_inset
492
493 .
494  Contiene información sobre la configuración de LaTeX.
495 \end_layout
496
497 \begin_layout Subsection
498 Directorios
499 \end_layout
500
501 \begin_layout Standard
502 Estos directorios están duplicados en 
503 \begin_inset Flex Code
504 status collapsed
505
506 \begin_layout Plain Layout
507 LyXDir
508 \end_layout
509
510 \end_inset
511
512  y 
513 \begin_inset Flex Code
514 status collapsed
515
516 \begin_layout Plain Layout
517 UserDir
518 \end_layout
519
520 \end_inset
521
522 .
523  Si determinado archivo existe en ambos sitios, se usará el de 
524 \begin_inset Flex Code
525 status collapsed
526
527 \begin_layout Plain Layout
528 UserDir
529 \end_layout
530
531 \end_inset
532
533 .
534 \end_layout
535
536 \begin_layout Labeling
537 \labelwidthstring 00.00.0000
538 \begin_inset Flex Code
539 status collapsed
540
541 \begin_layout Plain Layout
542 bind/
543 \end_layout
544
545 \end_inset
546
547  este directorio contiene archivos con la extensión 
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  que definen las combinaciones de teclas usadas en LyX.
558  Si ahí existe una versión nacional de un archivo bind llamado 
559 \begin_inset Flex Code
560 status collapsed
561
562 \begin_layout Plain Layout
563 $LANG_xxx.bind
564 \end_layout
565
566 \end_inset
567
568 , ésta se usará en primer lugar.
569 \end_layout
570
571 \begin_layout Labeling
572 \labelwidthstring 00.00.0000
573 \begin_inset Flex Code
574 status collapsed
575
576 \begin_layout Plain Layout
577 clipart/
578 \end_layout
579
580 \end_inset
581
582  contiene archivos gráficos que pueden ser incluidos en documentos.
583  
584 \end_layout
585
586 \begin_layout Labeling
587 \labelwidthstring 00.00.0000
588 \begin_inset Flex Code
589 status collapsed
590
591 \begin_layout Plain Layout
592 doc/
593 \end_layout
594
595 \end_inset
596
597  contiene archivos de documentación de LyX (incluido éste que estás leyendo).
598  El archivo 
599 \begin_inset Flex Code
600 status collapsed
601
602 \begin_layout Plain Layout
603 LaTeXConfig.lyx
604 \end_layout
605
606 \end_inset
607
608  merece atención especial, como se mencionó antes.
609  Si existe una versión nacional del documento de ayuda en el subdirectorio
610  
611 \begin_inset Flex Code
612 status collapsed
613
614 \begin_layout Plain Layout
615 doc/xx
616 \end_layout
617
618 \end_inset
619
620 , éste se usará en primer lugar.
621  Véase 
622 \begin_inset CommandInset ref
623 LatexCommand ref
624 reference "cap:Internacionalización-de-LyX"
625
626 \end_inset
627
628  para detalles.
629 \end_layout
630
631 \begin_layout Labeling
632 \labelwidthstring 00.00.0000
633 \begin_inset Flex Code
634 status collapsed
635
636 \begin_layout Plain Layout
637 examples/
638 \end_layout
639
640 \end_inset
641
642  contiene archivos de ejemplo que describen el uso de algunas características.
643  Se puede acceder a ellos con el botón 
644 \begin_inset Flex MenuItem
645 status collapsed
646
647 \begin_layout Plain Layout
648 Ejemplos
649 \end_layout
650
651 \end_inset
652
653  en el buscador de archivos.
654 \end_layout
655
656 \begin_layout Labeling
657 \labelwidthstring 00.00.0000
658 \begin_inset Flex Code
659 status collapsed
660
661 \begin_layout Plain Layout
662 images/
663 \end_layout
664
665 \end_inset
666
667  contiene archivos de imagen que se usan en el diálogo 
668 \begin_inset Flex MenuItem
669 status collapsed
670
671 \begin_layout Plain Layout
672 Documento\SpecialChar \menuseparator
673 Configuración
674 \end_layout
675
676 \end_inset
677
678 .
679  Contiene además los iconos de las barras de herramientas y las enseñas
680  de LyX mostradas en su inicio.
681 \end_layout
682
683 \begin_layout Labeling
684 \labelwidthstring 00.00.0000
685 \begin_inset Flex Code
686 status collapsed
687
688 \begin_layout Plain Layout
689 kbd/
690 \end_layout
691
692 \end_inset
693
694  contiene archivos de mapas de teclado.
695  Véase 
696 \begin_inset CommandInset ref
697 LatexCommand ref
698 reference "sec:keymap"
699
700 \end_inset
701
702  para detalles.
703 \end_layout
704
705 \begin_layout Labeling
706 \labelwidthstring 00.00.0000
707 \begin_inset Flex Code
708 status collapsed
709
710 \begin_layout Plain Layout
711 layouts/
712 \end_layout
713
714 \end_inset
715
716  contiene las clases de textos y los archivos de los módulos descritos en
717  
718 \begin_inset CommandInset ref
719 LatexCommand ref
720 reference "cap:Instalación-de-nuevas"
721
722 \end_inset
723
724 .
725 \end_layout
726
727 \begin_layout Labeling
728 \labelwidthstring 00.00.0000
729 \begin_inset Flex Code
730 status collapsed
731
732 \begin_layout Plain Layout
733 lyx2lyx
734 \end_layout
735
736 \end_inset
737
738  contiene los guiones de Python 
739 \begin_inset Flex Code
740 status collapsed
741
742 \begin_layout Plain Layout
743 lyx2lyx
744 \end_layout
745
746 \end_inset
747
748  para convertir entre versiones de LyX.
749  Pueden ejecutarse en línea de comandos si, digamos, quieres convertir ficheros
750  por lotes.
751 \end_layout
752
753 \begin_layout Labeling
754 \labelwidthstring 00.00.0000
755 \begin_inset Flex Code
756 status collapsed
757
758 \begin_layout Plain Layout
759 scripts/
760 \end_layout
761
762 \end_inset
763
764  contiene algunos archivos que demuestran las capacidades de la característica
765  
766 \begin_inset Flex MenuItem
767 status collapsed
768
769 \begin_layout Plain Layout
770 Plantilla externa
771 \end_layout
772
773 \end_inset
774
775 .
776  También contiene algunos guiones usados por el propio LyX.
777 \end_layout
778
779 \begin_layout Labeling
780 \labelwidthstring 00.00.0000
781 \begin_inset Flex Code
782 status collapsed
783
784 \begin_layout Plain Layout
785 templates/
786 \end_layout
787
788 \end_inset
789
790  contiene los archivos de plantillas estándar de LyX descritas en 
791 \begin_inset CommandInset ref
792 LatexCommand ref
793 reference "sub:Creación-de-plantillas"
794
795 \end_inset
796
797 .
798 \end_layout
799
800 \begin_layout Labeling
801 \labelwidthstring 00.00.0000
802 \begin_inset Flex Code
803 status collapsed
804
805 \begin_layout Plain Layout
806 ui/
807 \end_layout
808
809 \end_inset
810
811  contiene archivos con la extensión 
812 \begin_inset Flex Code
813 status collapsed
814
815 \begin_layout Plain Layout
816 .ui
817 \end_layout
818
819 \end_inset
820
821  que definen la interfaz de usuario de LyX.
822  Esto es, archivos que definen qué ítems aparecen en qué menús y barras
823  de herramientas.
824 \end_layout
825
826 \begin_layout Subsection
827 Archivos que no necesitan modificaciones
828 \end_layout
829
830 \begin_layout Standard
831 Estos archivos son utilizados internamente por LyX y generalmente no deben
832  ser modificados sino por los desarrolladores.
833 \end_layout
834
835 \begin_layout Labeling
836 \labelwidthstring 00.00.0000
837 \begin_inset Flex Code
838 status collapsed
839
840 \begin_layout Plain Layout
841 CREDITS
842 \end_layout
843
844 \end_inset
845
846  contiene la lista de desarrolladores de LyX.
847  Se muestra con el menú 
848 \begin_inset Flex MenuItem
849 status collapsed
850
851 \begin_layout Plain Layout
852 Ayuda\SpecialChar \menuseparator
853 Acerca de LyX
854 \end_layout
855
856 \end_inset
857
858 .
859 \end_layout
860
861 \begin_layout Labeling
862 \labelwidthstring 00.00.0000
863 \begin_inset Flex Code
864 status collapsed
865
866 \begin_layout Plain Layout
867 chkconfig.ltx
868 \end_layout
869
870 \end_inset
871
872  es un guión de LaTeX usado durante el proceso de configuración.
873  No lo ejecutes directamente.
874 \end_layout
875
876 \begin_layout Labeling
877 \labelwidthstring 00.00.0000
878 \begin_inset Flex Code
879 status collapsed
880
881 \begin_layout Plain Layout
882 configure.py
883 \end_layout
884
885 \end_inset
886
887  es el guión utilizado para la reconfiguración de LyX.
888  Genera los archivos de configuración en el directorio desde el que se ha
889  ejecutado.
890 \end_layout
891
892 \begin_layout Subsection
893 Otros archivos en un par de líneas
894 \end_layout
895
896 \begin_layout Labeling
897 \labelwidthstring 00.00.0000
898 \begin_inset Flex Code
899 status collapsed
900
901 \begin_layout Plain Layout
902 encodings
903 \end_layout
904
905 \end_inset
906
907  contiene tablas que describen cómo los distintos códigos de caracteres
908  se transcriben a Unicode.
909 \end_layout
910
911 \begin_layout Labeling
912 \labelwidthstring 00.00.0000
913 \begin_inset Flex Code
914 status collapsed
915
916 \begin_layout Plain Layout
917 external_templates
918 \end_layout
919
920 \end_inset
921
922  contiene las plantillas disponibles para la característica 
923 \begin_inset Flex MenuItem
924 status collapsed
925
926 \begin_layout Plain Layout
927 Material externo
928 \end_layout
929
930 \end_inset
931
932 , véase 
933 \begin_inset CommandInset ref
934 LatexCommand ref
935 reference "chap:Inserción-de-material"
936
937 \end_inset
938
939 .
940 \end_layout
941
942 \begin_layout Labeling
943 \labelwidthstring 00.00.0000
944 \begin_inset Flex Code
945 status collapsed
946
947 \begin_layout Plain Layout
948 languages
949 \end_layout
950
951 \end_inset
952
953  contiene una lista de los idiomas actualmente soportados por LyX.
954 \end_layout
955
956 \begin_layout Labeling
957 \labelwidthstring 00.00.0000
958 \begin_inset Flex Code
959 status collapsed
960
961 \begin_layout Plain Layout
962 latexfonts
963 \end_layout
964
965 \end_inset
966
967
968 \lang english
969  contains information about the supported fonts.
970 \end_layout
971
972 \begin_layout Labeling
973 \labelwidthstring 00.00.0000
974 \begin_inset Flex Code
975 status collapsed
976
977 \begin_layout Plain Layout
978 layouttranslations
979 \end_layout
980
981 \end_inset
982
983  
984 \lang english
985 this file contains translations for internationalized paragraph styles
986 \lang spanish
987  (véase 
988 \begin_inset CommandInset ref
989 LatexCommand ref
990 reference "sub:I18n"
991
992 \end_inset
993
994 ).
995 \end_layout
996
997 \begin_layout Labeling
998 \labelwidthstring 00.00.0000
999 \begin_inset Flex Code
1000 status collapsed
1001
1002 \begin_layout Plain Layout
1003 unicodesymbols
1004 \end_layout
1005
1006 \end_inset
1007
1008
1009 \lang english
1010  this file contains information about unicode-encoded glyphs and the way
1011  they are supported by LyX via LaTeX.
1012 \end_layout
1013
1014 \begin_layout Section
1015 Directorio de configuración personal
1016 \end_layout
1017
1018 \begin_layout Standard
1019 Aunque uses LyX como usuario sin privilegios, puedes adaptar su configuración
1020  a tus necesidades.
1021  El directorio 
1022 \begin_inset Flex Code
1023 status collapsed
1024
1025 \begin_layout Plain Layout
1026 UserDir
1027 \end_layout
1028
1029 \end_inset
1030
1031  contiene todos los archivos de configuración personal.
1032  Es el directorio especificado como 
1033 \begin_inset Quotes fld
1034 \end_inset
1035
1036 Directorio del usuario
1037 \begin_inset Quotes frd
1038 \end_inset
1039
1040  en 
1041 \begin_inset Flex MenuItem
1042 status collapsed
1043
1044 \begin_layout Plain Layout
1045 Ayuda\SpecialChar \menuseparator
1046 Acerca de LyX
1047 \end_layout
1048
1049 \end_inset
1050
1051 .
1052  Este directorio se usa como espejo de 
1053 \begin_inset Flex Code
1054 status collapsed
1055
1056 \begin_layout Plain Layout
1057 LyXDir
1058 \end_layout
1059
1060 \end_inset
1061
1062 , que quiere decir que cada archivo en 
1063 \begin_inset Flex Code
1064 status collapsed
1065
1066 \begin_layout Plain Layout
1067 UserDir
1068 \end_layout
1069
1070 \end_inset
1071
1072  es un equivalente del correspondiente archivo en 
1073 \begin_inset Flex Code
1074 status collapsed
1075
1076 \begin_layout Plain Layout
1077 LyXDir
1078 \end_layout
1079
1080 \end_inset
1081
1082 .
1083  Cualquiera de los archivos de configuración descritos en las secciones
1084  anteriores puede estar en el directorio global del sistema, en cuyo caso
1085  afectará a todos los usuarios, y en tu directorio local para tu propio
1086  uso.
1087 \end_layout
1088
1089 \begin_layout Standard
1090 Para clarificar las cosas vamos a poner unos ejemplos:
1091 \end_layout
1092
1093 \begin_layout Itemize
1094 Las preferencias establecidas en el diálogo 
1095 \begin_inset Flex MenuItem
1096 status collapsed
1097
1098 \begin_layout Plain Layout
1099 Herramientas\SpecialChar \menuseparator
1100 Preferencias
1101 \end_layout
1102
1103 \end_inset
1104
1105  se guardan en un archivo 
1106 \begin_inset Flex Code
1107 status collapsed
1108
1109 \begin_layout Plain Layout
1110 preferences
1111 \end_layout
1112
1113 \end_inset
1114
1115  en 
1116 \begin_inset Flex Code
1117 status collapsed
1118
1119 \begin_layout Plain Layout
1120 UserDir
1121 \end_layout
1122
1123 \end_inset
1124
1125 .
1126 \end_layout
1127
1128 \begin_layout Itemize
1129 Si reconfiguras mediante 
1130 \begin_inset Flex MenuItem
1131 status collapsed
1132
1133 \begin_layout Plain Layout
1134 Herramientas\SpecialChar \menuseparator
1135 Reconfigurar
1136 \end_layout
1137
1138 \end_inset
1139
1140 , LyX ejecuta el guión
1141 \begin_inset Newline linebreak
1142 \end_inset
1143
1144  
1145 \begin_inset Flex Code
1146 status collapsed
1147
1148 \begin_layout Plain Layout
1149 configure.py
1150 \end_layout
1151
1152 \end_inset
1153
1154 , y los archivos resultantes se escriben en tu directorio de usuario.
1155  Esto significa que cualquier archivo adicional de clase de texto que pudieras
1156  haber añadido en 
1157 \begin_inset Flex Code
1158 status collapsed
1159
1160 \begin_layout Plain Layout
1161 UserDir/layouts
1162 \end_layout
1163
1164 \end_inset
1165
1166  se sumará a la lista de clases en el diálogo 
1167 \begin_inset Flex MenuItem
1168 status collapsed
1169
1170 \begin_layout Plain Layout
1171 Documento\SpecialChar \menuseparator
1172 Configuración
1173 \end_layout
1174
1175 \end_inset
1176
1177 .
1178 \end_layout
1179
1180 \begin_layout Itemize
1181 Si consigues alguna documentación actualizada del sitio de LyX y no puedes
1182  instalarla porque no tienes permisos para administrar tu sistema, solo
1183  has de copiar los archivos en 
1184 \begin_inset Flex Code
1185 status collapsed
1186
1187 \begin_layout Plain Layout
1188 UserDir/doc/XX
1189 \end_layout
1190
1191 \end_inset
1192
1193  ¡y las entradas del menú 
1194 \begin_inset Flex MenuItem
1195 status collapsed
1196
1197 \begin_layout Plain Layout
1198 Ayuda
1199 \end_layout
1200
1201 \end_inset
1202
1203  los abrirán!
1204 \end_layout
1205
1206 \begin_layout Section
1207 Ejecutar LyX con múltiples configuraciones
1208 \end_layout
1209
1210 \begin_layout Standard
1211 La libertad de configuración del directorio local puede no ser suficiente
1212  si quieres tener a tu disposición más de una configuración.
1213  Por ejemplo, si quisieras usar diferentes combinaciones de teclas o configuraci
1214 ones de impresora en distintos momentos.
1215  Esto lo puedes conseguir teniendo varios de estos directorios.
1216  Después especificas qué directorio usar al arrancar.
1217 \end_layout
1218
1219 \begin_layout Standard
1220 Ejecutando LyX con la opción de línea de comandos 
1221 \begin_inset Flex Code
1222 status collapsed
1223
1224 \begin_layout Plain Layout
1225 -userdir
1226 \end_layout
1227
1228 \end_inset
1229
1230  
1231 \emph on
1232 <algún directorio>
1233 \emph default
1234  hace que el programa lea la configuración de ese directorio y no del predetermi
1235 nado.
1236  (Puedes determinar el directorio predeterminado ejecutando LyX sin la opción
1237  
1238 \begin_inset Flex Code
1239 status collapsed
1240
1241 \begin_layout Plain Layout
1242 -userdir
1243 \end_layout
1244
1245 \end_inset
1246
1247 ).
1248  Si el directorio especificado no existe, LyX propone su creación, tal como
1249  hace con el directorio predeterminado la primera vez que se ejecuta el
1250  programa.
1251  Puedes modificar las opciones de configuración en ese directorio personal
1252  adicional exactamente igual que para el directorio predeterminado.
1253  Estos directorios son completamente independientes (pero sigue leyendo).
1254  Ten presente que establecer algún valor para la variable de entorno 
1255 \begin_inset Flex Code
1256 status collapsed
1257
1258 \begin_layout Plain Layout
1259 LYX_USERDIR_20x
1260 \end_layout
1261
1262 \end_inset
1263
1264  tiene exactamente el mismo efecto.
1265 \end_layout
1266
1267 \begin_layout Standard
1268 Tener varias configuraciones también requiere más mantenimiento: si quieres
1269  añadir un nuevo formato a 
1270 \begin_inset Flex Code
1271 status collapsed
1272
1273 \begin_layout Plain Layout
1274 NewUserDir/layouts
1275 \end_layout
1276
1277 \end_inset
1278
1279  que esté disponible en todas tus configuraciones, debes añadirlo a cada
1280  directorio por separado.
1281  Puedes evitarlo con el siguiente truco: después de que LyX crea un directorio
1282  adicional, la mayoría de los subdirectorios (véase arriba) están vacíos.
1283  Si quieres que la nueva configuración sea una réplica de una existente,
1284  reemplaza el subdirectorio vacío con un enlace simbólico que apunte al
1285  subdirectorio deseado.
1286  Ten precaución, no obstante, con el subdirectorio 
1287 \begin_inset Flex Code
1288 status collapsed
1289
1290 \begin_layout Plain Layout
1291 doc/
1292 \end_layout
1293
1294 \end_inset
1295
1296 , puesto que contiene un archivo escrito por el guión de configuración (también
1297  accesible mediante 
1298 \begin_inset Flex MenuItem
1299 status collapsed
1300
1301 \begin_layout Plain Layout
1302 Herramientas\SpecialChar \menuseparator
1303 Reconfigurar
1304 \end_layout
1305
1306 \end_inset
1307
1308 ) que es específico de la configuración.
1309 \end_layout
1310
1311 \begin_layout Chapter
1312 El diálogo Preferencias
1313 \end_layout
1314
1315 \begin_layout Standard
1316 Todas las opciones del diálogo de preferencias se describen en el apéndice
1317  
1318 \emph on
1319 El diálogo
1320 \emph default
1321  
1322 \emph on
1323 Preferencias
1324 \emph default
1325  de la 
1326 \emph on
1327 Guía del usuario
1328 \emph default
1329 .
1330  Ahí encontrarás más detalles sobre algunas opciones.
1331 \end_layout
1332
1333 \begin_layout Section
1334 Formatos
1335 \begin_inset CommandInset label
1336 LatexCommand label
1337 name "sec:Formatos"
1338
1339 \end_inset
1340
1341
1342 \end_layout
1343
1344 \begin_layout Standard
1345 El primer paso es definir tus propios formatos de archivo si no lo están
1346  ya.
1347  Para hacerlo abre el diálogo 
1348 \begin_inset Flex MenuItem
1349 status collapsed
1350
1351 \begin_layout Plain Layout
1352 Herramientas\SpecialChar \menuseparator
1353 Preferencias
1354 \end_layout
1355
1356 \end_inset
1357
1358 .
1359  En 
1360 \begin_inset Flex MenuItem
1361 status collapsed
1362
1363 \begin_layout Plain Layout
1364 Gestión de archivos\SpecialChar \menuseparator
1365 Formatos de archivo
1366 \end_layout
1367
1368 \end_inset
1369
1370  pulsa el botón 
1371 \begin_inset Flex MenuItem
1372 status collapsed
1373
1374 \begin_layout Plain Layout
1375 Nuevo\SpecialChar \ldots{}
1376
1377 \end_layout
1378
1379 \end_inset
1380
1381  para definir el nuevo formato.
1382  El campo 
1383 \begin_inset Flex MenuItem
1384 status collapsed
1385
1386 \begin_layout Plain Layout
1387 Formato
1388 \end_layout
1389
1390 \end_inset
1391
1392  es para el nombre que identificará el formato en la GUI (interfaz gráfica
1393  de usuario).
1394  El 
1395 \begin_inset Flex MenuItem
1396 status collapsed
1397
1398 \begin_layout Plain Layout
1399 Nombre corto
1400 \end_layout
1401
1402 \end_inset
1403
1404  se usa para identificar el formato internamente.
1405  Además deberás introducir una extensión de archivo.
1406  Todos estos son imprescindibles.
1407  El campo opcional 
1408 \begin_inset Flex MenuItem
1409 status collapsed
1410
1411 \begin_layout Plain Layout
1412 Atajo de teclado
1413 \end_layout
1414
1415 \end_inset
1416
1417  sirve para asociar una combinación de teclas en los menús.
1418  (Por ejemplo, teclear 
1419 \begin_inset Flex MenuItem
1420 status collapsed
1421
1422 \begin_layout Plain Layout
1423 Alt-V D
1424 \end_layout
1425
1426 \end_inset
1427
1428  ejecuta 
1429 \begin_inset Flex MenuItem
1430 status collapsed
1431
1432 \begin_layout Plain Layout
1433 Ver\SpecialChar \menuseparator
1434 DVI
1435 \end_layout
1436
1437 \end_inset
1438
1439 ).
1440  
1441 \begin_inset Flex MenuItem
1442 status collapsed
1443
1444 \begin_layout Plain Layout
1445 Visor
1446 \end_layout
1447
1448 \end_inset
1449
1450  
1451 \end_layout
1452
1453 \begin_layout Standard
1454 Un Formato puede tener un 
1455 \begin_inset Flex MenuItem
1456 status collapsed
1457
1458 \begin_layout Plain Layout
1459 Visor
1460 \end_layout
1461
1462 \end_inset
1463
1464  y un 
1465 \begin_inset Flex MenuItem
1466 status collapsed
1467
1468 \begin_layout Plain Layout
1469 Editor
1470 \end_layout
1471
1472 \end_inset
1473
1474  asociados.
1475  Por ejemplo, podrías usar 
1476 \begin_inset Flex MenuItem
1477 status collapsed
1478
1479 \begin_layout Plain Layout
1480 Ghostview
1481 \end_layout
1482
1483 \end_inset
1484
1485  para ver archivos PostScript.
1486  Puedes introducir el comando para iniciar el programa en el campo correspondien
1487 te.
1488  Al definir este comando puedes usar las cuatro variables listadas en la
1489  siguiente sección.
1490  El visor se lanza cuando ves una imagen en LyX o usas el menú 
1491 \begin_inset Flex MenuItem
1492 status collapsed
1493
1494 \begin_layout Plain Layout
1495 Ver
1496 \end_layout
1497
1498 \end_inset
1499
1500 .
1501  El editor se lanza cuando pulsas el botón 
1502 \begin_inset Flex MenuItem
1503 status collapsed
1504
1505 \begin_layout Plain Layout
1506 Editar externamente
1507 \end_layout
1508
1509 \end_inset
1510
1511  que se muestra al hacer clic derecho en un gráfico o en un material externo,
1512  por ejemplo.
1513 \end_layout
1514
1515 \begin_layout Standard
1516
1517 \lang english
1518 The 
1519 \lang spanish
1520
1521 \begin_inset Flex MenuItem
1522 status collapsed
1523
1524 \begin_layout Plain Layout
1525 MIME
1526 \end_layout
1527
1528 \end_inset
1529
1530
1531 \lang english
1532  type of a format is optional, but if it is specified, it must be unique
1533  across all formats.
1534  It is used to detect files of this format from the file contents.
1535  For some important file formats there is no MIME type officially registered
1536  with the 
1537 \lang spanish
1538
1539 \begin_inset CommandInset href
1540 LatexCommand href
1541 name "IANA"
1542 target "http://www.iana.org/assignments/media-types/"
1543
1544 \end_inset
1545
1546 .
1547  
1548 \lang english
1549 Therefore LyX uses the extended list of MIME types as specified by 
1550 \lang spanish
1551
1552 \begin_inset CommandInset href
1553 LatexCommand href
1554 name "freedesktop.org"
1555 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1556
1557 \end_inset
1558
1559 .
1560 \end_layout
1561
1562 \begin_layout Standard
1563 La opción 
1564 \begin_inset Flex MenuItem
1565 status collapsed
1566
1567 \begin_layout Plain Layout
1568 Formato de documento
1569 \end_layout
1570
1571 \end_inset
1572
1573  indica a LyX que ese formato es adecuado para exportar.
1574  Si esto está marcado y existe una ruta de conversión adecuada (véase 
1575 \begin_inset CommandInset ref
1576 LatexCommand ref
1577 reference "sec:Convertidores"
1578
1579 \end_inset
1580
1581 ), el formato aparecerá en el menú 
1582 \begin_inset Flex MenuItem
1583 status collapsed
1584
1585 \begin_layout Plain Layout
1586 Archivo\SpecialChar \menuseparator
1587 Exportar
1588 \end_layout
1589
1590 \end_inset
1591
1592 .
1593  También aparecerá en el menú 
1594 \begin_inset Flex MenuItem
1595 status collapsed
1596
1597 \begin_layout Plain Layout
1598 Ver
1599 \end_layout
1600
1601 \end_inset
1602
1603  si se ha especificado un visor para ese formato.
1604  Los formatos puros de imagen, como 
1605 \begin_inset Flex Code
1606 status collapsed
1607
1608 \begin_layout Plain Layout
1609 png
1610 \end_layout
1611
1612 \end_inset
1613
1614 , no deberían usar esta opción.
1615  Los formatos que pueden corresponder tanto a gráficos vectoriales como
1616  a documentos, como 
1617 \begin_inset Flex Code
1618 status collapsed
1619
1620 \begin_layout Plain Layout
1621 pdf
1622 \end_layout
1623
1624 \end_inset
1625
1626 , sí deberían usarla.
1627 \end_layout
1628
1629 \begin_layout Standard
1630 La opción 
1631 \begin_inset Flex MenuItem
1632 status collapsed
1633
1634 \begin_layout Plain Layout
1635 Formato de gráfico vectorial
1636 \end_layout
1637
1638 \end_inset
1639
1640  indica a LyX que el formato puede contener gráficos vectoriales.
1641  Esta información se emplea para determinar el formato objetivo de los gráficos
1642  incluidos para la exportación 
1643 \begin_inset Flex MenuItem
1644 status collapsed
1645
1646 \begin_layout Plain Layout
1647 pdflatex
1648 \end_layout
1649
1650 \end_inset
1651
1652 .
1653  Los gráficos incluidos pueden requerir conversión a 
1654 \begin_inset Flex MenuItem
1655 status collapsed
1656
1657 \begin_layout Plain Layout
1658 pdf
1659 \end_layout
1660
1661 \end_inset
1662
1663
1664 \begin_inset Flex MenuItem
1665 status collapsed
1666
1667 \begin_layout Plain Layout
1668 png
1669 \end_layout
1670
1671 \end_inset
1672
1673 , o 
1674 \begin_inset Flex MenuItem
1675 status collapsed
1676
1677 \begin_layout Plain Layout
1678 jpg
1679 \end_layout
1680
1681 \end_inset
1682
1683 , puesto que 
1684 \begin_inset Flex MenuItem
1685 status collapsed
1686
1687 \begin_layout Plain Layout
1688 pdflatex
1689 \end_layout
1690
1691 \end_inset
1692
1693  no puede manejar otros formatos de imagen.
1694  Si un archivo incluido no está ya en formato 
1695 \begin_inset Flex MenuItem
1696 status collapsed
1697
1698 \begin_layout Plain Layout
1699 pdf
1700 \end_layout
1701
1702 \end_inset
1703
1704
1705 \begin_inset Flex MenuItem
1706 status collapsed
1707
1708 \begin_layout Plain Layout
1709 png
1710 \end_layout
1711
1712 \end_inset
1713
1714 , o 
1715 \begin_inset Flex MenuItem
1716 status collapsed
1717
1718 \begin_layout Plain Layout
1719 jpg
1720 \end_layout
1721
1722 \end_inset
1723
1724 , se convierte a 
1725 \begin_inset Flex MenuItem
1726 status collapsed
1727
1728 \begin_layout Plain Layout
1729 pdf
1730 \end_layout
1731
1732 \end_inset
1733
1734  si la opción de formato vectorial está marcada, y si no a 
1735 \begin_inset Flex MenuItem
1736 status collapsed
1737
1738 \begin_layout Plain Layout
1739 png
1740 \end_layout
1741
1742 \end_inset
1743
1744 .
1745  
1746 \end_layout
1747
1748 \begin_layout Section
1749 Copiadores
1750 \end_layout
1751
1752 \begin_layout Standard
1753 Puesto que todas las conversiones de un formato a otro tienen lugar en el
1754  archivo temporal de LyX, a veces es necesario modificar un archivo antes
1755  de copiarlo en el directorio temporal para que la conversión se pueda realizar.
1756 \begin_inset Foot
1757 status collapsed
1758
1759 \begin_layout Plain Layout
1760 Por ejemplo, el archivo puede hacer referencia a otros archivos —imágenes,
1761  por ejemplo— mediante nombres de archivo relativos, y estos pueden resultar
1762  inválidos cuando el archivo se copia en el directorio temporal.
1763 \end_layout
1764
1765 \end_inset
1766
1767  Esto lo hace un Copiador: copia un archivo a (o desde) el directorio temporal
1768  y puede modificarlo en el proceso.
1769 \end_layout
1770
1771 \begin_layout Standard
1772 Las definiciones de los copiadores pueden usar cuatro variables:
1773 \end_layout
1774
1775 \begin_layout Labeling
1776 \labelwidthstring 00.00.0000
1777 \begin_inset Flex Code
1778 status collapsed
1779
1780 \begin_layout Plain Layout
1781 $$s
1782 \end_layout
1783
1784 \end_inset
1785
1786  El directorio de sistema de LyX (p.
1787 \begin_inset space \thinspace{}
1788 \end_inset
1789
1790 e.
1791 \begin_inset space \space{}
1792 \end_inset
1793
1794
1795 \begin_inset Flex MenuItem
1796 status collapsed
1797
1798 \begin_layout Plain Layout
1799 /usr/share/lyx
1800 \end_layout
1801
1802 \end_inset
1803
1804 )
1805 \end_layout
1806
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Flex Code
1810 status collapsed
1811
1812 \begin_layout Plain Layout
1813 $$i
1814 \end_layout
1815
1816 \end_inset
1817
1818  El archivo de entrada
1819 \end_layout
1820
1821 \begin_layout Labeling
1822 \labelwidthstring 00.00.0000
1823 \begin_inset Flex Code
1824 status collapsed
1825
1826 \begin_layout Plain Layout
1827 $$o
1828 \end_layout
1829
1830 \end_inset
1831
1832  El archivo de salida
1833 \end_layout
1834
1835 \begin_layout Labeling
1836 \labelwidthstring 00.00.0000
1837 \begin_inset Flex Code
1838 status collapsed
1839
1840 \begin_layout Plain Layout
1841 $$b
1842 \end_layout
1843
1844 \end_inset
1845
1846  
1847 \lang english
1848 The base name (without filename extension) in the LyX temporary directory
1849 \end_layout
1850
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Flex Code
1854 status collapsed
1855
1856 \begin_layout Plain Layout
1857 $$p
1858 \end_layout
1859
1860 \end_inset
1861
1862  
1863 \lang english
1864 The full directory path of the LyX temporary directory
1865 \end_layout
1866
1867 \begin_layout Labeling
1868 \labelwidthstring 00.00.0000
1869 \begin_inset Flex Code
1870 status collapsed
1871
1872 \begin_layout Plain Layout
1873 $$r
1874 \end_layout
1875
1876 \end_inset
1877
1878  
1879 \lang english
1880 The full pathname to the original LyX file being processed
1881 \end_layout
1882
1883 \begin_layout Labeling
1884 \labelwidthstring 00.00.0000
1885 \begin_inset Flex Code
1886 status collapsed
1887
1888 \begin_layout Plain Layout
1889 $$f
1890 \end_layout
1891
1892 \end_inset
1893
1894  
1895 \lang english
1896 The filename (without any directory path) of the LyX file.
1897 \end_layout
1898
1899 \begin_layout Labeling
1900 \labelwidthstring 00.00.0000
1901 \begin_inset Flex Code
1902 status collapsed
1903
1904 \begin_layout Plain Layout
1905 $$l
1906 \end_layout
1907
1908 \end_inset
1909
1910  El `nombre LaTeX'
1911 \end_layout
1912
1913 \begin_layout Standard
1914 El último debería ser el nombre de archivo tal como debería ponerse en un
1915  comando LaTeX 
1916 \series bold
1917
1918 \backslash
1919 include
1920 \series default
1921 .
1922  Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
1923 \end_layout
1924
1925 \begin_layout Standard
1926 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos
1927  de salida.
1928  Por ejemplo, supongamos que quieres copiar archivos 
1929 \begin_inset Flex MenuItem
1930 status collapsed
1931
1932 \begin_layout Plain Layout
1933 pdf
1934 \end_layout
1935
1936 \end_inset
1937
1938  generados a un directorio especial, 
1939 \begin_inset Flex Code
1940 status collapsed
1941
1942 \begin_layout Plain Layout
1943 /home/you/pdf/
1944 \end_layout
1945
1946 \end_inset
1947
1948 .
1949  En ese caso deberías escribir un guión para intérprete de comandos tal
1950  como:
1951 \end_layout
1952
1953 \begin_layout Standard
1954 \begin_inset listings
1955 inline false
1956 status open
1957
1958 \begin_layout Plain Layout
1959
1960 #!/bin/bash
1961 \end_layout
1962
1963 \begin_layout Plain Layout
1964
1965 FROMFILE=$1
1966 \end_layout
1967
1968 \begin_layout Plain Layout
1969
1970 TOFILE=`basename $2`
1971 \end_layout
1972
1973 \begin_layout Plain Layout
1974
1975 cp $FROMFILE /home/you/pdf/$TOFILE
1976 \end_layout
1977
1978 \end_inset
1979
1980 Guárdalo en tu directorio local, —
1981 \begin_inset Flex Code
1982 status collapsed
1983
1984 \begin_layout Plain Layout
1985 /home/you/.lyx/scripts/pdfcopier.sh
1986 \end_layout
1987
1988 \end_inset
1989
1990 , supongamos— y hazlo ejecutable si ello es necesario en tu sistema.
1991  Después, en el diálogo 
1992 \begin_inset Flex MenuItem
1993 status collapsed
1994
1995 \begin_layout Plain Layout
1996 Herramientas\SpecialChar \menuseparator
1997 Preferencias
1998 \end_layout
1999
2000 \end_inset
2001
2002 , en 
2003 \begin_inset Flex MenuItem
2004 status collapsed
2005
2006 \begin_layout Plain Layout
2007 Gestión de archivos\SpecialChar \menuseparator
2008 Formatos de archivo
2009 \end_layout
2010
2011 \end_inset
2012
2013 , selecciona el formato 
2014 \begin_inset Flex MenuItem
2015 status collapsed
2016
2017 \begin_layout Plain Layout
2018 PDF(pdflatex)
2019 \end_layout
2020
2021 \end_inset
2022
2023  —u otro de los formatos pdf— e introduce 
2024 \begin_inset Flex Code
2025 status collapsed
2026
2027 \begin_layout Plain Layout
2028 pdfcopier.sh $$i $$o
2029 \end_layout
2030
2031 \end_inset
2032
2033  en el campo 
2034 \begin_inset Flex MenuItem
2035 status collapsed
2036
2037 \begin_layout Plain Layout
2038 Copiador
2039 \end_layout
2040
2041 \end_inset
2042
2043 .
2044 \end_layout
2045
2046 \begin_layout Standard
2047 LyX usa los copiadores en varias de sus propias conversiones.
2048  Por ejemplo, si se encuentran los programas apropiados, LyX instalará copiadore
2049 s para los formatos 
2050 \begin_inset Flex MenuItem
2051 status collapsed
2052
2053 \begin_layout Plain Layout
2054 HTML
2055 \end_layout
2056
2057 \end_inset
2058
2059  y 
2060 \begin_inset Flex MenuItem
2061 status collapsed
2062
2063 \begin_layout Plain Layout
2064 HTML
2065 \begin_inset space ~
2066 \end_inset
2067
2068 (MS Word)
2069 \end_layout
2070
2071 \end_inset
2072
2073 .
2074  Cuando se exporta a estos formatos, el copiador se encarga de que se copien
2075  no solo el archivo HTML principal, sino también los diversos archivos asociados
2076  (estilos, imágenes, etc).
2077  Todos estos archivos se escriben en un subdirectorio del directorio en
2078  el que se encuentre el archivo original de LyX.
2079 \begin_inset Foot
2080 status open
2081
2082 \begin_layout Plain Layout
2083 Este copiador puede adaptarse.
2084  El argumento opcional 
2085 \begin_inset Quotes fld
2086 \end_inset
2087
2088 -e
2089 \begin_inset Quotes frd
2090 \end_inset
2091
2092  acepta una lista, separada por comas, con las extensiones que deben copiarse;
2093  si se omite se copiarán todos los archivos.
2094  El argumeto 
2095 \begin_inset Quotes fld
2096 \end_inset
2097
2098 -t
2099 \begin_inset Quotes frd
2100 \end_inset
2101
2102  determina la extensión añadida al directorio generado.
2103  Por omisión es 
2104 \begin_inset Quotes fld
2105 \end_inset
2106
2107
2108 \begin_inset Flex MenuItem
2109 status collapsed
2110
2111 \begin_layout Plain Layout
2112 LyXconv
2113 \end_layout
2114
2115 \end_inset
2116
2117
2118 \begin_inset Quotes frd
2119 \end_inset
2120
2121 , así, el HTML generado a partir de 
2122 \begin_inset Flex MenuItem
2123 status collapsed
2124
2125 \begin_layout Plain Layout
2126 /ruta/a/archivo.lyx
2127 \end_layout
2128
2129 \end_inset
2130
2131  tendrá la forma 
2132 \begin_inset Flex MenuItem
2133 status collapsed
2134
2135 \begin_layout Plain Layout
2136 /ruta/a/archivo.html.LyXconv
2137 \end_layout
2138
2139 \end_inset
2140
2141 .
2142 \end_layout
2143
2144 \end_inset
2145
2146
2147 \end_layout
2148
2149 \begin_layout Section
2150 Convertidores
2151 \begin_inset CommandInset label
2152 LatexCommand label
2153 name "sec:Convertidores"
2154
2155 \end_inset
2156
2157
2158 \end_layout
2159
2160 \begin_layout Standard
2161 Puedes definir tus propios convertidores para convertir archivos entre distintos
2162  formatos.
2163  Se hace en el diálogo 
2164 \begin_inset Flex MenuItem
2165 status collapsed
2166
2167 \begin_layout Plain Layout
2168 Herramientas\SpecialChar \menuseparator
2169 Preferencias\SpecialChar \menuseparator
2170 Gestión de archivos\SpecialChar \menuseparator
2171 Convertidores
2172 \end_layout
2173
2174 \end_inset
2175
2176 .
2177 \end_layout
2178
2179 \begin_layout Standard
2180 Para definir un nuevo convertidor de un formato a otro, selecciónalos en
2181  las listas desplegables 
2182 \begin_inset Flex MenuItem
2183 status collapsed
2184
2185 \begin_layout Plain Layout
2186 Del
2187 \begin_inset space ~
2188 \end_inset
2189
2190 formato
2191 \end_layout
2192
2193 \end_inset
2194
2195  y 
2196 \begin_inset Flex MenuItem
2197 status collapsed
2198
2199 \begin_layout Plain Layout
2200 Al
2201 \begin_inset space ~
2202 \end_inset
2203
2204 formato
2205 \end_layout
2206
2207 \end_inset
2208
2209 , introduce el comando necesario para la conversión y después pulsa el botón
2210  
2211 \begin_inset Flex MenuItem
2212 status collapsed
2213
2214 \begin_layout Plain Layout
2215 Añadir
2216 \end_layout
2217
2218 \end_inset
2219
2220 .
2221  En la definición de convertidores se pueden usar distintas variables:
2222 \end_layout
2223
2224 \begin_layout Labeling
2225 \labelwidthstring 00.00.0000
2226 \begin_inset Flex Code
2227 status collapsed
2228
2229 \begin_layout Plain Layout
2230 $$s
2231 \end_layout
2232
2233 \end_inset
2234
2235  El directorio de sistema de LyX
2236 \end_layout
2237
2238 \begin_layout Labeling
2239 \labelwidthstring 00.00.0000
2240 \begin_inset Flex Code
2241 status collapsed
2242
2243 \begin_layout Plain Layout
2244 $$i
2245 \end_layout
2246
2247 \end_inset
2248
2249  El archivo de entrada
2250 \end_layout
2251
2252 \begin_layout Labeling
2253 \labelwidthstring 00.00.0000
2254 \begin_inset Flex Code
2255 status collapsed
2256
2257 \begin_layout Plain Layout
2258 $$o
2259 \end_layout
2260
2261 \end_inset
2262
2263  El archivo de salida
2264 \end_layout
2265
2266 \begin_layout Labeling
2267 \labelwidthstring 00.00.0000
2268 \begin_inset Flex Code
2269 status collapsed
2270
2271 \begin_layout Plain Layout
2272 $$b
2273 \end_layout
2274
2275 \end_inset
2276
2277  El nombre del archivo base del archivo de entrada (sin la extensión)
2278 \end_layout
2279
2280 \begin_layout Labeling
2281 \labelwidthstring 00.00.0000
2282 \begin_inset Flex Code
2283 status collapsed
2284
2285 \begin_layout Plain Layout
2286 $$p
2287 \end_layout
2288
2289 \end_inset
2290
2291  La ruta al archivo de entrada
2292 \end_layout
2293
2294 \begin_layout Labeling
2295 \labelwidthstring 00.00.0000
2296 \begin_inset Flex Code
2297 status collapsed
2298
2299 \begin_layout Plain Layout
2300 $$r
2301 \end_layout
2302
2303 \end_inset
2304
2305  La ruta al archivo de entrada original (esto es diferente de $$p cuando
2306  se invoca una cadena de convertidores).
2307 \end_layout
2308
2309 \begin_layout Labeling
2310 \labelwidthstring 00.00.0000
2311 \begin_inset Flex Code
2312 status collapsed
2313
2314 \begin_layout Plain Layout
2315 $$e
2316 \end_layout
2317
2318 \end_inset
2319
2320  El nombre iconv para la codificación del documento.
2321 \end_layout
2322
2323 \begin_layout Standard
2324 En el campo 
2325 \begin_inset Flex MenuItem
2326 status collapsed
2327
2328 \begin_layout Plain Layout
2329 Indicador adicional
2330 \end_layout
2331
2332 \end_inset
2333
2334  puedes introducir los siguientes, separados por comas:
2335 \end_layout
2336
2337 \begin_layout Labeling
2338 \labelwidthstring 00.00.0000
2339 \begin_inset Flex Code
2340 status collapsed
2341
2342 \begin_layout Plain Layout
2343 latex
2344 \end_layout
2345
2346 \end_inset
2347
2348  Este convertidor ejecuta alguna forma de LaTeX.
2349  Hará estar disponibles los registros de errores LaTeX de LyX
2350 \end_layout
2351
2352 \begin_layout Labeling
2353 \labelwidthstring 00.00.0000
2354 \begin_inset Flex Code
2355 status collapsed
2356
2357 \begin_layout Plain Layout
2358 needaux
2359 \end_layout
2360
2361 \end_inset
2362
2363  Necesita el archivo LaTeX 
2364 \begin_inset Flex MenuItem
2365 status collapsed
2366
2367 \begin_layout Plain Layout
2368 .aux
2369 \end_layout
2370
2371 \end_inset
2372
2373  para la conversión
2374 \end_layout
2375
2376 \begin_layout Labeling
2377 \labelwidthstring 00.00.0000
2378 \begin_inset Flex Code
2379 status collapsed
2380
2381 \begin_layout Plain Layout
2382 nice
2383 \end_layout
2384
2385 \end_inset
2386
2387  
2388 \lang english
2389 Needs a 
2390 \begin_inset Quotes fld
2391 \end_inset
2392
2393 nice
2394 \begin_inset Quotes frd
2395 \end_inset
2396
2397  file from the backend, which in practice means a LaTeX file like the one
2398  we would export, without 
2399 \begin_inset Flex Code
2400 status collapsed
2401
2402 \begin_layout Plain Layout
2403
2404 \lang english
2405 input@path
2406 \end_layout
2407
2408 \end_inset
2409
2410 .
2411 \end_layout
2412
2413 \begin_layout Labeling
2414 \labelwidthstring 00.00.0000
2415 \begin_inset Flex Code
2416 status collapsed
2417
2418 \begin_layout Plain Layout
2419 xml
2420 \end_layout
2421
2422 \end_inset
2423
2424  La salida es XML
2425 \end_layout
2426
2427 \begin_layout Standard
2428 Las tres siguientes no son realmente opciones porque aceptan un argumento
2429  en la forma 
2430 \begin_inset Flex MenuItem
2431 status collapsed
2432
2433 \begin_layout Plain Layout
2434 key
2435 \begin_inset space ~
2436 \end_inset
2437
2438 =
2439 \begin_inset space ~
2440 \end_inset
2441
2442 value
2443 \end_layout
2444
2445 \end_inset
2446
2447 :
2448 \end_layout
2449
2450 \begin_layout Labeling
2451 \labelwidthstring 00.00.0000
2452 \begin_inset Flex Code
2453 status collapsed
2454
2455 \begin_layout Plain Layout
2456 parselog
2457 \end_layout
2458
2459 \end_inset
2460
2461  Si se pone, el error estándar del convertidor se redirecciona a un archivo
2462  
2463 \begin_inset Flex Code
2464 status collapsed
2465
2466 \begin_layout Plain Layout
2467 infile.out
2468 \end_layout
2469
2470 \end_inset
2471
2472 , y el guión dado como argumento se ejecutará como: 
2473 \begin_inset Flex Code
2474 status collapsed
2475
2476 \begin_layout Plain Layout
2477 script <infile.out >infile.log
2478 \end_layout
2479
2480 \end_inset
2481
2482 .
2483  El argumento puede contener 
2484 \begin_inset Flex Code
2485 status collapsed
2486
2487 \begin_layout Plain Layout
2488 $$s
2489 \end_layout
2490
2491 \end_inset
2492
2493 .
2494 \end_layout
2495
2496 \begin_layout Labeling
2497 \labelwidthstring 00.00.0000
2498 \begin_inset Flex Code
2499 status collapsed
2500
2501 \begin_layout Plain Layout
2502 resultdir
2503 \end_layout
2504
2505 \end_inset
2506
2507  El nombre del directorio en el que el convertidor descargará los archivos
2508  generados.
2509  LyX no creará ese directorio y no copia nada en él, aunque copiará este
2510  directorio al destino.
2511  El argumento puede contener 
2512 \begin_inset Flex Code
2513 status collapsed
2514
2515 \begin_layout Plain Layout
2516 $$b
2517 \end_layout
2518
2519 \end_inset
2520
2521 , que será reemplazado por el nombre base de los archivos de entrada y de
2522  salida, respectivamente, cuando se copia el directorio.
2523 \begin_inset Newline newline
2524 \end_inset
2525
2526 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2527  El último será ignorado si se da el primero.
2528 \end_layout
2529
2530 \begin_layout Labeling
2531 \labelwidthstring 00.00.0000
2532 \begin_inset Flex Code
2533 status collapsed
2534
2535 \begin_layout Plain Layout
2536 resultfile
2537 \end_layout
2538
2539 \end_inset
2540
2541  Determina el nombre del archivo de salida y puede contener 
2542 \begin_inset Flex Code
2543 status collapsed
2544
2545 \begin_layout Plain Layout
2546 $$b
2547 \end_layout
2548
2549 \end_inset
2550
2551 .
2552  Solo es sensible con 
2553 \begin_inset Flex Code
2554 status collapsed
2555
2556 \begin_layout Plain Layout
2557 resultdir
2558 \end_layout
2559
2560 \end_inset
2561
2562  y además es opcional; si no se da, por omisión es `index'.
2563 \end_layout
2564
2565 \begin_layout Standard
2566 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidore
2567 s que son instalados por LyX.
2568 \end_layout
2569
2570 \begin_layout Standard
2571 No tienes que definir convertidores entre todos los formatos que quieras
2572  convertir.
2573  Por ejemplo, observarás que no hay convertidor `LyX a PostScript', sin
2574  embargo LyX exporta a PostScript.
2575  Lo hace creando primero un archivo LaTeX (no es necesario un convertidor
2576  para esto), que luego es convertido a DVI mediante el convertidor `LaTeX
2577  a DVI', y por último convierte el archivo DVI resultante a PostScript.
2578  LyX encuentra automáticamente estas 'cadenas' de convertidores y siempre
2579  escogerá la cadena más corta posible.
2580  Sin embargo, aún puedes definir múltiples métodos de conversión entre formatos.
2581  Por ejemplo, la configuración estándar de LyX provee cinco caminos para
2582  convertir LaTeX a PDF:
2583 \end_layout
2584
2585 \begin_layout Enumerate
2586 directamente, usando 
2587 \begin_inset Flex MenuItem
2588 status collapsed
2589
2590 \begin_layout Plain Layout
2591 pdflatex
2592 \end_layout
2593
2594 \end_inset
2595
2596
2597 \end_layout
2598
2599 \begin_layout Enumerate
2600 mediante (DVI y) PostScript, usando 
2601 \begin_inset Flex MenuItem
2602 status collapsed
2603
2604 \begin_layout Plain Layout
2605 ps2pdf
2606 \end_layout
2607
2608 \end_inset
2609
2610
2611 \end_layout
2612
2613 \begin_layout Enumerate
2614 mediante DVI, usando 
2615 \begin_inset Flex MenuItem
2616 status collapsed
2617
2618 \begin_layout Plain Layout
2619 dvipdfm
2620 \end_layout
2621
2622 \end_inset
2623
2624
2625 \end_layout
2626
2627 \begin_layout Enumerate
2628 directamente, usando
2629 \lang english
2630  
2631 \lang spanish
2632
2633 \begin_inset Flex MenuItem
2634 status collapsed
2635
2636 \begin_layout Plain Layout
2637 XeTeX
2638 \end_layout
2639
2640 \end_inset
2641
2642
2643 \end_layout
2644
2645 \begin_layout Enumerate
2646 directamente, usando 
2647 \begin_inset Flex MenuItem
2648 status collapsed
2649
2650 \begin_layout Plain Layout
2651 LuaTeX
2652 \end_layout
2653
2654 \end_inset
2655
2656
2657 \end_layout
2658
2659 \begin_layout Standard
2660 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos
2661  de archivo' objetivo, como se describe en la sección
2662 \begin_inset space ~
2663 \end_inset
2664
2665
2666 \begin_inset CommandInset ref
2667 LatexCommand ref
2668 reference "sec:Formatos"
2669
2670 \end_inset
2671
2672 .
2673  Por ejemplo, en la configuración estándar, se definen los formatos llamados
2674  
2675 \begin_inset Flex MenuItem
2676 status collapsed
2677
2678 \begin_layout Plain Layout
2679 pdf
2680 \end_layout
2681
2682 \end_inset
2683
2684  (
2685 \lang english
2686 for
2687 \lang spanish
2688  
2689 \begin_inset Flex MenuItem
2690 status collapsed
2691
2692 \begin_layout Plain Layout
2693 ps2pdf
2694 \end_layout
2695
2696 \end_inset
2697
2698 ), 
2699 \begin_inset Flex MenuItem
2700 status collapsed
2701
2702 \begin_layout Plain Layout
2703 pdf2
2704 \end_layout
2705
2706 \end_inset
2707
2708  (
2709 \lang english
2710 for
2711 \lang spanish
2712  
2713 \begin_inset Flex MenuItem
2714 status collapsed
2715
2716 \begin_layout Plain Layout
2717 pdflatex
2718 \end_layout
2719
2720 \end_inset
2721
2722 ), 
2723 \begin_inset Flex MenuItem
2724 status collapsed
2725
2726 \begin_layout Plain Layout
2727 pdf3
2728 \end_layout
2729
2730 \end_inset
2731
2732  
2733 \lang english
2734 (for
2735 \lang spanish
2736  
2737 \begin_inset Flex MenuItem
2738 status collapsed
2739
2740 \begin_layout Plain Layout
2741 dvipdfm
2742 \end_layout
2743
2744 \end_inset
2745
2746 ), 
2747 \begin_inset Flex MenuItem
2748 status collapsed
2749
2750 \begin_layout Plain Layout
2751 pdf4
2752 \end_layout
2753
2754 \end_inset
2755
2756  (
2757 \lang english
2758 for
2759 \lang spanish
2760  
2761 \begin_inset Flex MenuItem
2762 status collapsed
2763
2764 \begin_layout Plain Layout
2765 XeTeX
2766 \end_layout
2767
2768 \end_inset
2769
2770 ), y 
2771 \begin_inset Flex MenuItem
2772 status collapsed
2773
2774 \begin_layout Plain Layout
2775 pdf5
2776 \end_layout
2777
2778 \end_inset
2779
2780  (
2781 \lang english
2782 for
2783 \lang spanish
2784  
2785 \begin_inset Flex MenuItem
2786 status collapsed
2787
2788 \begin_layout Plain Layout
2789 LuaTeX
2790 \end_layout
2791
2792 \end_inset
2793
2794 ), todos ellos compartiendo la extensión 
2795 \begin_inset Flex MenuItem
2796 status collapsed
2797
2798 \begin_layout Plain Layout
2799 .pdf
2800 \end_layout
2801
2802 \end_inset
2803
2804 , y que corresponden a los métodos de conversión antes mencionados.
2805 \end_layout
2806
2807 \begin_layout Chapter
2808 Internacionalización de LyX
2809 \begin_inset CommandInset label
2810 LatexCommand label
2811 name "cap:Internacionalización-de-LyX"
2812
2813 \end_inset
2814
2815
2816 \end_layout
2817
2818 \begin_layout Standard
2819 LyX soporta el uso de una interfaz traducida.
2820  La última vez que lo comprobamos, LyX suministraba textos en treinta idiomas.
2821  El idioma elegido se denomina 
2822 \emph on
2823 locale
2824 \emph default
2825 .
2826  (Para lecciones adicionales sobre configuración de idiomas, véase también
2827  la documentación de 
2828 \begin_inset Quotes fld
2829 \end_inset
2830
2831 locale
2832 \begin_inset Quotes frd
2833 \end_inset
2834
2835  del sistema operativo.
2836  En Linux, la página de manual de 
2837 \begin_inset Flex Code
2838 status collapsed
2839
2840 \begin_layout Plain Layout
2841 locale(5)
2842 \end_layout
2843
2844 \end_inset
2845
2846  es un buen punto de partida).
2847  
2848 \end_layout
2849
2850 \begin_layout Standard
2851 Hay que advertir que estas traducciones funcionarán pero tienen algunos
2852  fallos.
2853  En particular, todos los diálogos se han diseñado con el inglés en mente,
2854  lo que significa que algún texto traducido podría ser demasiado largo para
2855  ajustarse al espacio asignado.
2856  Esto solo es un problema de presentación en pantalla y no causará ningún
2857  perjuicio.
2858  Además, encontrarás que algunas traducciones no definen atajos de teclado
2859  para todo.
2860  A veces, simplemente no hay letras libres suficientes para ello.
2861  Otras veces, el traductor todavía no lo ha completado.
2862  Nuestro equipo de traducción, al que podrías unirte si quieres,
2863 \begin_inset Foot
2864 status open
2865
2866 \begin_layout Plain Layout
2867 Si usas con fluidez un idioma distinto del inglés, ¡unirse a estos equipos
2868  es una estupenda forma de corresponder a la comunidad LyX!
2869 \end_layout
2870
2871 \end_inset
2872
2873  intentará, por supuesto, corregir estas deficiencias en futuras versiones
2874  de LyX.
2875 \end_layout
2876
2877 \begin_layout Section
2878 Traducción de LyX
2879 \end_layout
2880
2881 \begin_layout Subsection
2882 Traducción de la interfaz gráfica de usuario (mensajes de texto)
2883 \end_layout
2884
2885 \begin_layout Standard
2886 LyX utiliza la biblioteca GNU 
2887 \begin_inset Flex Code
2888 status collapsed
2889
2890 \begin_layout Plain Layout
2891 gettext
2892 \end_layout
2893
2894 \end_inset
2895
2896  para manejar la internacionalización de la interfaz.
2897  Para que LyX hable tu idioma preferido en todos los menús y diálogos es
2898  necesario un archivo 
2899 \begin_inset Flex Code
2900 status collapsed
2901
2902 \begin_layout Plain Layout
2903 po
2904 \end_layout
2905
2906 \end_inset
2907
2908  para ese idioma.
2909  Si está disponible, tendrás que generar a partir de él un archivo 
2910 \begin_inset Flex Code
2911 status collapsed
2912
2913 \begin_layout Plain Layout
2914 mo
2915 \end_layout
2916
2917 \end_inset
2918
2919  e instalarlo.
2920  El procedimiento para hacer todo esto se explica en la documentación de
2921  GNU 
2922 \begin_inset Flex Code
2923 status collapsed
2924
2925 \begin_layout Plain Layout
2926 gettext
2927 \end_layout
2928
2929 \end_inset
2930
2931 .
2932  Puedes hacer esto solo para ti, pero también podrías compartir el resultado
2933  de tu trabajo con el resto de la comunidad LyX.
2934  Envía un mensaje a la lista de desarrolladores de LyX para más información
2935  sobre cómo proceder.
2936 \end_layout
2937
2938 \begin_layout Standard
2939 En resumen, esto es lo que deberías hacer (xx indica el código del idioma):
2940 \end_layout
2941
2942 \begin_layout Itemize
2943 Inspecciona el código fuente de LyX.
2944  (Véase 
2945 \begin_inset CommandInset href
2946 LatexCommand href
2947 name "información en la web"
2948 target "http://www.lyx.org/devel/cvs.php"
2949
2950 \end_inset
2951
2952 .)
2953 \end_layout
2954
2955 \begin_layout Itemize
2956 Copia el archivo 
2957 \begin_inset Flex Code
2958 status collapsed
2959
2960 \begin_layout Plain Layout
2961 lyx.pot
2962 \end_layout
2963
2964 \end_inset
2965
2966  a la carpeta de los archivos 
2967 \begin_inset Flex Code
2968 status collapsed
2969
2970 \begin_layout Plain Layout
2971 **.po
2972 \end_layout
2973
2974 \end_inset
2975
2976 .
2977  Después lo renombras como 
2978 \begin_inset Flex Code
2979 status collapsed
2980
2981 \begin_layout Plain Layout
2982 xx.po
2983 \end_layout
2984
2985 \end_inset
2986
2987 .
2988  (Si 
2989 \begin_inset Flex Code
2990 status collapsed
2991
2992 \begin_layout Plain Layout
2993 lyx.pot
2994 \end_layout
2995
2996 \end_inset
2997
2998  no está por ningún sitio, puede rehacerse con el comando de consola 
2999 \begin_inset Flex Code
3000 status collapsed
3001
3002 \begin_layout Plain Layout
3003 make lyx.pot
3004 \end_layout
3005
3006 \end_inset
3007
3008  en ese directorio, o puedes usar como muestra un archivo 
3009 \begin_inset Flex Code
3010 status collapsed
3011
3012 \begin_layout Plain Layout
3013 po
3014 \end_layout
3015
3016 \end_inset
3017
3018  de algún otro idioma).
3019 \end_layout
3020
3021 \begin_layout Itemize
3022 Edita 
3023 \begin_inset Flex Code
3024 status collapsed
3025
3026 \begin_layout Plain Layout
3027 xx.po
3028 \end_layout
3029
3030 \end_inset
3031
3032 .
3033 \begin_inset Foot
3034 status collapsed
3035
3036 \begin_layout Plain Layout
3037 Es un archivo de texto, se puede editar en cualquier editor de texto.
3038  Pero hay programas especializados para editar estos archivos, como 
3039 \family typewriter
3040 Poedit
3041 \family default
3042  (para todas las plataformas) o 
3043 \family typewriter
3044 KBabel
3045 \family default
3046  (para KDE).
3047  Además, 
3048 \family typewriter
3049 Emacs
3050 \family default
3051  tiene un `modo' para editar archivos 
3052 \begin_inset Flex Code
3053 status collapsed
3054
3055 \begin_layout Plain Layout
3056 po
3057 \end_layout
3058
3059 \end_inset
3060
3061 .
3062 \end_layout
3063
3064 \end_inset
3065
3066  Para algunos nombres de menú y otros artilugios hay además atajos de teclado
3067  que deberían traducirse.
3068  Dichas teclas se marcan con una `|' delante, y deberían traducirse de acuerdo
3069  con las palabras y frases del idioma.
3070  Además tendrías que rellenar la información al principio del nuevo archivo
3071  
3072 \begin_inset Flex Code
3073 status collapsed
3074
3075 \begin_layout Plain Layout
3076 po
3077 \end_layout
3078
3079 \end_inset
3080
3081 , correo electrónico, etc., para que la gente sepa dónde enviarte sugerencias
3082  o divertidas diatribas.
3083 \end_layout
3084
3085 \begin_layout Standard
3086 Si estás haciendo esto solo para ti, entonces:
3087 \end_layout
3088
3089 \begin_layout Itemize
3090 Genera 
3091 \begin_inset Flex Code
3092 status collapsed
3093
3094 \begin_layout Plain Layout
3095 xx.mo
3096 \end_layout
3097
3098 \end_inset
3099
3100 .
3101  Se puede hacer con 
3102 \begin_inset Flex Code
3103 status collapsed
3104
3105 \begin_layout Plain Layout
3106 msgfmt -o xx.mo < xx.po
3107 \end_layout
3108
3109 \end_inset
3110
3111 .
3112 \end_layout
3113
3114 \begin_layout Itemize
3115 Copia el archivo 
3116 \begin_inset Flex Code
3117 status collapsed
3118
3119 \begin_layout Plain Layout
3120 mo
3121 \end_layout
3122
3123 \end_inset
3124
3125  a tu directorio local, en la carpeta apropiada para los mensajes de las
3126  aplicaciones en el idioma xx, con el nombre 
3127 \begin_inset Flex Code
3128 status collapsed
3129
3130 \begin_layout Plain Layout
3131 lyx.mo
3132 \end_layout
3133
3134 \end_inset
3135
3136  (p.
3137 \begin_inset space \thinspace{}
3138 \end_inset
3139
3140 e.
3141 \begin_inset space \space{}
3142 \end_inset
3143
3144
3145 \begin_inset Flex Code
3146 status collapsed
3147
3148 \begin_layout Plain Layout
3149 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3150 \end_layout
3151
3152 \end_inset
3153
3154
3155 \series bold
3156 .
3157 \end_layout
3158
3159 \begin_layout Standard
3160 Sin embargo, ya se ha dicho, lo mejor sería poder añadir el nuevo archivo
3161  
3162 \begin_inset Flex Code
3163 status collapsed
3164
3165 \begin_layout Plain Layout
3166 po
3167 \end_layout
3168
3169 \end_inset
3170
3171  a la distribución de LyX, para que otros puedan usarlo.
3172  Esto requiere hacer cambios en LyX, así que envía un correo a la lista
3173  de desarrolladores si estás interesado en hacerlo.
3174 \end_layout
3175
3176 \begin_layout Subsubsection
3177 Mensajes ambiguos
3178 \end_layout
3179
3180 \begin_layout Standard
3181 A veces resulta que un mensaje en inglés tiene diversas traducciones en
3182  un idioma dado.
3183  Un ejemplo es la palabra 
3184 \begin_inset Flex Code
3185 status collapsed
3186
3187 \begin_layout Plain Layout
3188 To
3189 \end_layout
3190
3191 \end_inset
3192
3193 , que en alemán se puede traducir por Nach o Bis, según el sentido exacto
3194  que tenga 
3195 \begin_inset Quotes fld
3196 \end_inset
3197
3198 to
3199 \begin_inset Quotes frd
3200 \end_inset
3201
3202  en inglés.
3203  GNU 
3204 \begin_inset Flex Code
3205 status collapsed
3206
3207 \begin_layout Plain Layout
3208 gettext
3209 \end_layout
3210
3211 \end_inset
3212
3213  no maneja tales traducciones ambiguas.
3214  Por lo tanto, debes añadir alguna información contextual al mensaje: en
3215  vez de 
3216 \begin_inset Flex Code
3217 status collapsed
3218
3219 \begin_layout Plain Layout
3220 To
3221 \end_layout
3222
3223 \end_inset
3224
3225  se pone 
3226 \begin_inset Flex Code
3227 status collapsed
3228
3229 \begin_layout Plain Layout
3230 To[[as in 'From format x to format y']]
3231 \end_layout
3232
3233 \end_inset
3234
3235  y 
3236 \begin_inset Flex Code
3237 status collapsed
3238
3239 \begin_layout Plain Layout
3240 To[[as in 'From page x to page y']]
3241 \end_layout
3242
3243 \end_inset
3244
3245 .
3246  Ahora las dos apariciones de 
3247 \begin_inset Flex Code
3248 status collapsed
3249
3250 \begin_layout Plain Layout
3251 To
3252 \end_layout
3253
3254 \end_inset
3255
3256  son diferentes para 
3257 \begin_inset Flex Code
3258 status collapsed
3259
3260 \begin_layout Plain Layout
3261 gettext
3262 \end_layout
3263
3264 \end_inset
3265
3266  y pueden traducirse correctamente por Nach y Bis, respectivamente.
3267 \end_layout
3268
3269 \begin_layout Standard
3270 Por supuesto que la información contextual debe eliminarse del mensaje original
3271  si no se usa en la traducción.
3272  Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase
3273  el ejemplo).
3274  El mecanismo de traducción de LyX asegura que todo lo que va entre corchetes
3275  al final de los mensajes se quita antes de mostrarlos.
3276 \end_layout
3277
3278 \begin_layout Subsection
3279 Traducción de la documentación
3280 \end_layout
3281
3282 \begin_layout Standard
3283 La documentación en línea (menú 
3284 \family sans
3285
3286 \begin_inset Flex MenuItem
3287 status collapsed
3288
3289 \begin_layout Plain Layout
3290
3291 \family sans
3292 Ay
3293 \bar under
3294 u
3295 \bar default
3296 da
3297 \end_layout
3298
3299 \end_inset
3300
3301
3302 \family default
3303 ) puede (¡debería!) traducirse.
3304  Si hay versiones traducidas de la documentación disponible
3305 \begin_inset Foot
3306 status collapsed
3307
3308 \begin_layout Plain Layout
3309 Hasta marzo de 2008, al menos algunos de los documentos han sido traducidos
3310  a catorce idiomas, y el Tutorial está disponible en algunos más.
3311 \end_layout
3312
3313 \end_inset
3314
3315  y 
3316 \begin_inset Flex Code
3317 status collapsed
3318
3319 \begin_layout Plain Layout
3320 locale
3321 \end_layout
3322
3323 \end_inset
3324
3325  está adecuadamente configurado, LyX las cargará 
3326 \begin_inset Quotes fld
3327 \end_inset
3328
3329 automágicamente
3330 \begin_inset Quotes frd
3331 \end_inset
3332
3333 .
3334  LyX busca las traducciones en 
3335 \family typewriter
3336
3337 \begin_inset Flex Code
3338 status collapsed
3339
3340 \begin_layout Plain Layout
3341
3342 \family typewriter
3343 LyXDir/doc/
3344 \family default
3345 xx
3346 \family typewriter
3347 /DocName.lyx
3348 \end_layout
3349
3350 \end_inset
3351
3352
3353 \family default
3354 , donde 
3355 \family typewriter
3356 xx 
3357 \family default
3358 es el código para el idioma en uso actualmente.
3359  Si no hay versión traducida se presentará por omisión la versión inglesa
3360  del documento.
3361  Ten en cuenta que las versiones traducidas deben tener los mismos nombres
3362  de archivo (el 
3363 \family typewriter
3364 DocName
3365 \family default
3366  de antes) que el original.
3367  Si te animas a traducir documentación (¡de paso, una excelente manera de
3368  leerla atentamente!), hay algunas cosas que deberías tener en cuenta:
3369 \end_layout
3370
3371 \begin_layout Itemize
3372 Consulta la web de traducción de la documentación en 
3373 \begin_inset CommandInset href
3374 LatexCommand href
3375 name "http://www.lyx.org/Translation"
3376 target "http://www.lyx.org/Translation"
3377
3378 \end_inset
3379
3380 .
3381  Así podrás comprobar el estado actual de traducción de documentos a tu
3382  idioma.
3383  También si hay alguien que esté coordinando la traducción a tu idioma.
3384  Si no hay nadie comunícanos, por favor, si estás interesado en ello.
3385 \end_layout
3386
3387 \begin_layout Standard
3388 Una vez que te has decidido a empezar, he aquí algunos consejos que te pueden
3389  ahorrar inconvenientes:
3390 \end_layout
3391
3392 \begin_layout Itemize
3393 ¡Únete al equipo de documentación! En 
3394 \family sans
3395
3396 \begin_inset Flex MenuItem
3397 status collapsed
3398
3399 \begin_layout Plain Layout
3400 Ayuda\SpecialChar \menuseparator
3401 Intro
3402 \family sans
3403 ducción
3404 \end_layout
3405
3406 \end_inset
3407
3408
3409 \family default
3410 , que por cierto, es el primer documento que se debería traducir, hay informació
3411 n sobre cómo hacerlo.
3412 \end_layout
3413
3414 \begin_layout Itemize
3415 Infórmate sobre las normas tipográficas de tu idioma.
3416  La tipografía es un antiguo arte que ha desarrollado durante siglos una
3417  gran variedad de convenciones en diversas partes del mundo.
3418  Estudia también la terminología profesional de los tipógrafos en tu país.
3419  Inventar tu propia terminología sólo provocará confusión.
3420  
3421 \emph on
3422 (¡Cuidado! La tipografía es adictiva!)
3423 \end_layout
3424
3425 \begin_layout Itemize
3426 Haz una copia del documento para trabajar sobre ella.
3427  Puedes guardarla como archivo personal de traducción en tu directorio 
3428 \family typewriter
3429 ~/.lyx/doc/xx/
3430 \family default
3431 .
3432 \end_layout
3433
3434 \begin_layout Itemize
3435 De vez en cuando el documento original (del equipo LyX) será actualizado.
3436  Usa el visor de fuentes en 
3437 \begin_inset CommandInset href
3438 LatexCommand href
3439 name "http://www.lyx.org/trac/timeline"
3440 target "http://www.lyx.org/trac/timeline"
3441
3442 \end_inset
3443
3444  para ver los cambios realizados.
3445  De esta manera puedes ver fácilmente qué partes del documento traducido
3446  necesitan actualizarse.
3447 \end_layout
3448
3449 \begin_layout Standard
3450 Si encuentras un error en el documento original, ¡corríjelo y notifica los
3451  cambios al equipo de documentación! (¿No te has olvidado de contactar con
3452  el equipo de documentación, verdad?)
3453 \end_layout
3454
3455 \begin_layout Standard
3456 \begin_inset Branch OutDated
3457 status collapsed
3458
3459 \begin_layout Section
3460 International Keyboard Support
3461 \end_layout
3462
3463 \begin_layout Standard
3464
3465 \emph on
3466 [Editor's Note: The following section is by
3467 \emph default
3468  
3469 \shape smallcaps
3470 \emph on
3471 Ivan Schreter
3472 \shape default
3473 .
3474  It needs to be fixed to conform to the new Documentation Style sheet and
3475  to make use of the new v1.0 features.
3476  The whole thing also needs to be merged with the section following it.-jw
3477  It may also be badly out of date.-rh (2008)]
3478 \end_layout
3479
3480 \begin_layout Subsection
3481 Defining Own Keymaps: Keymap File Format
3482 \end_layout
3483
3484 \begin_layout Standard
3485 Let's look at a keyboard definition file a little closer.
3486  It is a plain text file defining
3487 \end_layout
3488
3489 \begin_layout Itemize
3490 key-to-key or key-to-string translations
3491 \end_layout
3492
3493 \begin_layout Itemize
3494 dead keys
3495 \end_layout
3496
3497 \begin_layout Itemize
3498 dead keys exceptions
3499 \end_layout
3500
3501 \begin_layout Standard
3502 To define key-to-key or key-to-string translation, use this command:
3503 \end_layout
3504
3505 \begin_layout Quotation
3506 \begin_inset Flex Code
3507 status collapsed
3508
3509 \begin_layout Plain Layout
3510
3511 \backslash
3512 kmap
3513 \end_layout
3514
3515 \end_inset
3516
3517  
3518 \begin_inset Flex Code
3519 status collapsed
3520
3521 \begin_layout Plain Layout
3522 key
3523 \end_layout
3524
3525 \end_inset
3526
3527  outstring 
3528 \end_layout
3529
3530 \begin_layout Standard
3531 where 
3532 \begin_inset Flex Code
3533 status collapsed
3534
3535 \begin_layout Plain Layout
3536 key
3537 \end_layout
3538
3539 \end_inset
3540
3541  is the key to be translated and 
3542 \begin_inset Flex Code
3543 status collapsed
3544
3545 \begin_layout Plain Layout
3546 outstring
3547 \end_layout
3548
3549 \end_inset
3550
3551  is the string to be inserted into the document.
3552  To define dead keys, use:
3553 \end_layout
3554
3555 \begin_layout Quotation
3556 \begin_inset Flex Code
3557 status collapsed
3558
3559 \begin_layout Plain Layout
3560
3561 \backslash
3562 kmod
3563 \end_layout
3564
3565 \end_inset
3566
3567  
3568 \begin_inset Flex Code
3569 status collapsed
3570
3571 \begin_layout Plain Layout
3572 key
3573 \end_layout
3574
3575 \end_inset
3576
3577  deadkey
3578 \end_layout
3579
3580 \begin_layout Standard
3581 where 
3582 \begin_inset Flex Code
3583 status collapsed
3584
3585 \begin_layout Plain Layout
3586 key
3587 \end_layout
3588
3589 \end_inset
3590
3591  is a keyboard key and 
3592 \begin_inset Flex Code
3593 status collapsed
3594
3595 \begin_layout Plain Layout
3596 deadkey
3597 \end_layout
3598
3599 \end_inset
3600
3601  is dead key name.
3602  The following dead keys are supported (shortcut name is in parentheses):
3603 \end_layout
3604
3605 \begin_layout Quotation
3606
3607 \emph on
3608 Name
3609 \begin_inset space \hfill{}
3610 \end_inset
3611
3612 Example
3613 \end_layout
3614
3615 \begin_layout Quotation
3616 acute (acu)
3617 \begin_inset space \hfill{}
3618 \end_inset
3619
3620 áéíóú
3621 \end_layout
3622
3623 \begin_layout Quotation
3624 grave (gra)
3625 \begin_inset space \hfill{}
3626 \end_inset
3627
3628 àèìòù
3629 \end_layout
3630
3631 \begin_layout Quotation
3632 macron (mac)
3633 \begin_inset space \hfill{}
3634 \end_inset
3635
3636  ō
3637 \end_layout
3638
3639 \begin_layout Quotation
3640 tilde (til)
3641 \begin_inset space \hfill{}
3642 \end_inset
3643
3644 ñÑ
3645 \end_layout
3646
3647 \begin_layout Quotation
3648 underbar (underb)
3649 \begin_inset space \hfill{}
3650 \end_inset
3651
3652
3653 \begin_inset ERT
3654 status open
3655
3656 \begin_layout Plain Layout
3657
3658
3659 \backslash
3660 b o
3661 \end_layout
3662
3663 \end_inset
3664
3665
3666 \end_layout
3667
3668 \begin_layout Quotation
3669 cedilla (ced)
3670 \begin_inset space \hfill{}
3671 \end_inset
3672
3673 çÇ
3674 \end_layout
3675
3676 \begin_layout Quotation
3677 underdot (underd)
3678 \begin_inset space \hfill{}
3679 \end_inset
3680
3681
3682 \begin_inset ERT
3683 status open
3684
3685 \begin_layout Plain Layout
3686
3687
3688 \backslash
3689 d o
3690 \end_layout
3691
3692 \end_inset
3693
3694
3695 \end_layout
3696
3697 \begin_layout Quotation
3698 circumflex (circu)
3699 \begin_inset space \hfill{}
3700 \end_inset
3701
3702 âêîôû
3703 \end_layout
3704
3705 \begin_layout Quotation
3706 circle (circl)
3707 \begin_inset space \hfill{}
3708 \end_inset
3709
3710 ÅůŮ
3711 \end_layout
3712
3713 \begin_layout Quotation
3714 tie (tie)
3715 \begin_inset space \hfill{}
3716 \end_inset
3717
3718
3719 \begin_inset ERT
3720 status open
3721
3722 \begin_layout Plain Layout
3723
3724
3725 \backslash
3726 t o
3727 \end_layout
3728
3729 \end_inset
3730
3731
3732 \end_layout
3733
3734 \begin_layout Quotation
3735 breve (bre)
3736 \begin_inset space \hfill{}
3737 \end_inset
3738
3739 ă
3740 \begin_inset ERT
3741 status open
3742
3743 \begin_layout Plain Layout
3744
3745
3746 \backslash
3747 u o
3748 \end_layout
3749
3750 \end_inset
3751
3752
3753 \end_layout
3754
3755 \begin_layout Quotation
3756 caron (car)
3757 \begin_inset space \hfill{}
3758 \end_inset
3759
3760 čšž
3761 \end_layout
3762
3763 \begin_layout Quotation
3764 hungarian umlaut (hug)
3765 \begin_inset space \hfill{}
3766 \end_inset
3767
3768 őű
3769 \end_layout
3770
3771 \begin_layout Quotation
3772 umlaut (uml)
3773 \begin_inset space \hfill{}
3774 \end_inset
3775
3776 äöü
3777 \end_layout
3778
3779 \begin_layout Quotation
3780 dot (dot)
3781 \begin_inset space \hfill{}
3782 \end_inset
3783
3784 ż
3785 \begin_inset ERT
3786 status open
3787
3788 \begin_layout Plain Layout
3789
3790
3791 \backslash
3792 .s
3793 \end_layout
3794
3795 \end_inset
3796
3797
3798 \end_layout
3799
3800 \begin_layout Standard
3801 Since in many international keyboards there are exceptions to what some
3802  dead keys should do, you can define them using
3803 \end_layout
3804
3805 \begin_layout Quotation
3806 \begin_inset Flex Code
3807 status collapsed
3808
3809 \begin_layout Plain Layout
3810
3811 \backslash
3812 kxmod
3813 \end_layout
3814
3815 \end_inset
3816
3817  deadkey key outstring
3818 \end_layout
3819
3820 \begin_layout Standard
3821 For example, on Slovak keyboard, if you enter caron-o, it generates circumflex-o
3822 , so you put in
3823 \end_layout
3824
3825 \begin_layout Quotation
3826 \begin_inset Flex Code
3827 status collapsed
3828
3829 \begin_layout Plain Layout
3830
3831 \backslash
3832 kxmod
3833 \end_layout
3834
3835 \end_inset
3836
3837  caron o "
3838 \backslash
3839 ^o"
3840 \end_layout
3841
3842 \begin_layout Standard
3843 to make it work correctly.
3844  Also, you have to define as exceptions dead keys over i and j, to remove
3845  the dot from them before inserting an accent mark.
3846  I will change this when the time comes, but so far I haven't had time.
3847 \end_layout
3848
3849 \begin_layout Standard
3850 Oh, and about characters: backslash is escaped, so to enter it, you'll need
3851  double backslash.
3852  Also, quotes and 
3853 \begin_inset Flex Code
3854 status collapsed
3855
3856 \begin_layout Plain Layout
3857 #
3858 \end_layout
3859
3860 \end_inset
3861
3862  have different meaning.
3863  
3864 \begin_inset Flex Code
3865 status collapsed
3866
3867 \begin_layout Plain Layout
3868 #
3869 \end_layout
3870
3871 \end_inset
3872
3873  marks comments, quotes start and end LaTeX-style commands.
3874  To enter quote, you'll need to use 
3875 \begin_inset Flex Code
3876 status collapsed
3877
3878 \begin_layout Plain Layout
3879
3880 \backslash
3881 "
3882 \end_layout
3883
3884 \end_inset
3885
3886 , to enter 
3887 \begin_inset Flex Code
3888 status collapsed
3889
3890 \begin_layout Plain Layout
3891 #
3892 \end_layout
3893
3894 \end_inset
3895
3896 , use 
3897 \begin_inset Flex Code
3898 status collapsed
3899
3900 \begin_layout Plain Layout
3901
3902 \backslash
3903 #
3904 \end_layout
3905
3906 \end_inset
3907
3908 .
3909 \end_layout
3910
3911 \begin_layout Standard
3912 If you make a keyboard description file that works for your language, please
3913  mail it to me, so I can include it in the next keymap distribution.
3914 \end_layout
3915
3916 \begin_layout Standard
3917 More keywords will be supported in keymap configuration file in future,
3918  like
3919 \end_layout
3920
3921 \begin_layout Itemize
3922 \begin_inset Flex Code
3923 status collapsed
3924
3925 \begin_layout Plain Layout
3926
3927 \backslash
3928 kinclude filename
3929 \end_layout
3930
3931 \end_inset
3932
3933
3934 \emph on
3935
3936 \begin_inset space \hfill{}
3937 \end_inset
3938
3939
3940 \begin_inset Flex Code
3941 status collapsed
3942
3943 \begin_layout Plain Layout
3944 include
3945 \end_layout
3946
3947 \end_inset
3948
3949  another file
3950 \end_layout
3951
3952 \begin_layout Itemize
3953 \begin_inset Flex Code
3954 status collapsed
3955
3956 \begin_layout Plain Layout
3957
3958 \backslash
3959 kprog program
3960 \end_layout
3961
3962 \end_inset
3963
3964
3965 \emph on
3966
3967 \begin_inset space \hfill{}
3968 \end_inset
3969
3970
3971 \begin_inset Flex Code
3972 status collapsed
3973
3974 \begin_layout Plain Layout
3975 define
3976 \end_layout
3977
3978 \end_inset
3979
3980  an external keymap translation program 
3981 \end_layout
3982
3983 \begin_layout Standard
3984 Also, it should look into 
3985 \begin_inset Flex Code
3986 status collapsed
3987
3988 \begin_layout Plain Layout
3989 lyxrc
3990 \end_layout
3991
3992 \end_inset
3993
3994  file for defaults, too (for example, a 
3995 \begin_inset Flex Code
3996 status collapsed
3997
3998 \begin_layout Plain Layout
3999
4000 \backslash
4001 kinclude
4002 \end_layout
4003
4004 \end_inset
4005
4006  option to include default keyboard).
4007 \end_layout
4008
4009 \end_inset
4010
4011
4012 \end_layout
4013
4014 \begin_layout Section
4015 \begin_inset CommandInset label
4016 LatexCommand label
4017 name "sec:keymap"
4018
4019 \end_inset
4020
4021 Cosas sobre teclados internacionales
4022 \end_layout
4023
4024 \begin_layout Standard
4025 \begin_inset Note Note
4026 status open
4027
4028 \begin_layout Plain Layout
4029 Al revisar este documento en marzo de 2008, no examiné este asunto porque
4030  no lo comprendía.
4031  Sería bueno que alguien pudiera hacerlo.
4032 \end_layout
4033
4034 \end_inset
4035
4036
4037 \end_layout
4038
4039 \begin_layout Standard
4040 Las dos secciones siguientes describen con detalle la sintaxis de los archivos
4041  
4042 \begin_inset Flex Code
4043 status collapsed
4044
4045 \begin_layout Plain Layout
4046
4047 \shape up
4048 .kmap
4049 \end_layout
4050
4051 \end_inset
4052
4053  y 
4054 \begin_inset Flex Code
4055 status collapsed
4056
4057 \begin_layout Plain Layout
4058
4059 \shape up
4060 .cdef
4061 \end_layout
4062
4063 \end_inset
4064
4065 .
4066  Deberían servir de ayuda para diseñar tus propios mapas de teclado si los
4067  suministrados no satisfacen tus necesidades.
4068 \end_layout
4069
4070 \begin_layout Subsection
4071 El archivo .kmap
4072 \end_layout
4073
4074 \begin_layout Standard
4075 Un archivo .
4076 \begin_inset Flex Code
4077 status collapsed
4078
4079 \begin_layout Plain Layout
4080 kmap
4081 \end_layout
4082
4083 \end_inset
4084
4085  asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4086  Como sugiere el nombre, sirve para trazar un mapa del teclado.
4087  En esta sección se describen las palabras clave 
4088 \begin_inset Flex Code
4089 status collapsed
4090
4091 \begin_layout Plain Layout
4092
4093 \shape up
4094 kmap
4095 \end_layout
4096
4097 \end_inset
4098
4099
4100 \begin_inset Flex Code
4101 status collapsed
4102
4103 \begin_layout Plain Layout
4104
4105 \shape up
4106 kmod
4107 \end_layout
4108
4109 \end_inset
4110
4111
4112 \begin_inset Flex Code
4113 status collapsed
4114
4115 \begin_layout Plain Layout
4116
4117 \shape up
4118 kxmod
4119 \end_layout
4120
4121 \end_inset
4122
4123  y 
4124 \begin_inset Flex Code
4125 status collapsed
4126
4127 \begin_layout Plain Layout
4128
4129 \shape up
4130 kcomb
4131 \end_layout
4132
4133 \end_inset
4134
4135  del archivo 
4136 \begin_inset Flex Code
4137 status collapsed
4138
4139 \begin_layout Plain Layout
4140 .kmap
4141 \end_layout
4142
4143 \end_inset
4144
4145 .
4146 \end_layout
4147
4148 \begin_layout Labeling
4149 \labelwidthstring 00.00.0000
4150 \begin_inset Flex Code
4151 status collapsed
4152
4153 \begin_layout Plain Layout
4154
4155 \shape up
4156 kmap
4157 \end_layout
4158
4159 \end_inset
4160
4161  Asocia un carácter a una cadena
4162 \end_layout
4163
4164 \begin_layout LyX-Code
4165
4166 \backslash
4167 kmap 
4168 \family roman
4169 \emph on
4170 char
4171 \family default
4172 \emph default
4173  
4174 \family roman
4175 \emph on
4176 string
4177 \end_layout
4178
4179 \begin_layout Standard
4180 Esto asocia 
4181 \emph on
4182 char
4183 \emph default
4184  a 
4185 \emph on
4186 string
4187 \emph default
4188 .
4189  Anotar que en 
4190 \emph on
4191 string
4192 \emph default
4193 , la doble comilla (") y la barra invertida (
4194 \backslash
4195 ) deben escaparse con una barra (
4196 \backslash
4197 ) previa.
4198 \end_layout
4199
4200 \begin_layout Standard
4201 Un ejemplo de una declaración de 
4202 \begin_inset Flex MenuItem
4203 status collapsed
4204
4205 \begin_layout Plain Layout
4206
4207 \shape up
4208 kmap
4209 \end_layout
4210
4211 \end_inset
4212
4213  para hacer que el símbolo 
4214 \begin_inset Flex MenuItem
4215 status collapsed
4216
4217 \begin_layout Plain Layout
4218
4219 \shape up
4220 /
4221 \end_layout
4222
4223 \end_inset
4224
4225  sea generado por la tecla 
4226 \begin_inset Flex MenuItem
4227 status collapsed
4228
4229 \begin_layout Plain Layout
4230
4231 \shape up
4232 &
4233 \end_layout
4234
4235 \end_inset
4236
4237  es:
4238 \end_layout
4239
4240 \begin_layout LyX-Code
4241
4242 \backslash
4243 kmap & /
4244 \end_layout
4245
4246 \begin_layout Labeling
4247 \labelwidthstring 00.00.0000
4248 \begin_inset Flex Code
4249 status collapsed
4250
4251 \begin_layout Plain Layout
4252
4253 \shape up
4254 kmod
4255 \end_layout
4256
4257 \end_inset
4258
4259  Especifica un carácter acentuado
4260 \end_layout
4261
4262 \begin_layout LyX-Code
4263
4264 \backslash
4265 kmod 
4266 \family roman
4267 \emph on
4268 char accent allowed
4269 \end_layout
4270
4271 \begin_layout Standard
4272 Esto hará que el carácter 
4273 \emph on
4274 char
4275 \emph default
4276  sea un acento
4277 \emph on
4278  accent
4279 \emph default
4280  sobre el(los) carácter(es) permitido(s) 
4281 \emph on
4282 allowed
4283 \emph default
4284 .
4285  Este es el mecanismo de tecla muerta
4286 \begin_inset Foot
4287 status collapsed
4288
4289 \begin_layout Plain Layout
4290 El término 
4291 \size normal
4292 \emph on
4293 \color none
4294 tecla 
4295 \size default
4296 \color inherit
4297 muerta 
4298 \emph default
4299 se refiere a una tecla que no genera ningún carácter por sí mismo, pero
4300  seguida de otra tecla genera el carácter acentuado deseado.
4301  Por ejemplo, un caráter con diéresis, ü, se genera de esta manera.
4302 \end_layout
4303
4304 \end_inset
4305
4306 .
4307  
4308 \end_layout
4309
4310 \begin_layout Standard
4311 Si pulsas 
4312 \emph on
4313 char
4314 \emph default
4315  y después una tecla que no está entre las permitidas (
4316 \emph on
4317 allowed
4318 \emph default
4319 ), en la salida obtendrás el carácter 
4320 \emph on
4321 char
4322 \emph default
4323  seguido por el otro carácter, el no permitido.
4324  Hay que tener en cuenta que 
4325 \begin_inset Flex MenuItem
4326 status collapsed
4327
4328 \begin_layout Plain Layout
4329
4330 \shape up
4331 Retroceso
4332 \end_layout
4333
4334 \end_inset
4335
4336  cancela una tecla muerta, de modo que si pulsas 
4337 \emph on
4338 char 
4339 \emph default
4340
4341 \begin_inset Flex MenuItem
4342 status collapsed
4343
4344 \begin_layout Plain Layout
4345
4346 \shape up
4347 Retroceso
4348 \end_layout
4349
4350 \end_inset
4351
4352 , el cursor no retrocede una posición sino que anula el efecto que 
4353 \emph on
4354 char
4355 \emph default
4356  hubiera tenido sobre la siguiente pulsación.
4357 \end_layout
4358
4359 \begin_layout Standard
4360 En el ejemplo siguiente, el carácter ' va a generar un acento agudo permitido
4361  sobre los caracteres a, e, i, o, u, A, E, I, O, U:
4362 \end_layout
4363
4364 \begin_layout LyX-Code
4365
4366 \backslash
4367 kmod ' acute aeiouAEIOU
4368 \end_layout
4369
4370 \begin_layout Labeling
4371 \labelwidthstring 00.00.0000
4372 \begin_inset Flex Code
4373 status collapsed
4374
4375 \begin_layout Plain Layout
4376 kxmod
4377 \end_layout
4378
4379 \end_inset
4380
4381  Especifica una excepción para el carácter acentuado
4382 \end_layout
4383
4384 \begin_layout LyX-Code
4385
4386 \backslash
4387 kxmod  
4388 \family roman
4389 \emph on
4390 accent char result
4391 \end_layout
4392
4393 \begin_layout Standard
4394 Define una excepción para el 
4395 \emph on
4396 accent
4397 \emph default
4398  sobre 
4399 \emph on
4400 char
4401 \emph default
4402 .
4403  El 
4404 \emph on
4405 accent
4406 \emph default
4407  debe haber sido asignado a una pulsación con una declaración previa de
4408  
4409 \begin_inset Flex Code
4410 status collapsed
4411
4412 \begin_layout Plain Layout
4413
4414 \shape up
4415
4416 \backslash
4417 kmo
4418 \shape default
4419 d
4420 \end_layout
4421
4422 \end_inset
4423
4424  y 
4425 \emph on
4426 char
4427 \emph default
4428  no debe estar en el conjunto 
4429 \emph on
4430 allowed
4431 \emph default
4432  de 
4433 \emph on
4434 accent
4435 \emph default
4436 .
4437  Si tecleas la secuencia 
4438 \emph on
4439 accent char
4440 \emph default
4441  da como resultado 
4442 \emph on
4443 result
4444 \emph default
4445 .
4446  Si dicha declaración no existe en el archivo 
4447 \begin_inset Flex Code
4448 status collapsed
4449
4450 \begin_layout Plain Layout
4451
4452 \shape up
4453 .kmap
4454 \end_layout
4455
4456 \end_inset
4457
4458  y tecleas 
4459 \emph on
4460 accent char
4461 \emph default
4462 , obtendrás 
4463 \emph on
4464 accent_key char
4465 \emph default
4466 , donde 
4467 \emph on
4468 accent_key
4469 \emph default
4470  es el primer argumento de la declaración 
4471 \begin_inset Flex Code
4472 status collapsed
4473
4474 \begin_layout Plain Layout
4475
4476 \shape up
4477
4478 \backslash
4479 kmod
4480 \end_layout
4481
4482 \end_inset
4483
4484 .
4485 \end_layout
4486
4487 \begin_layout Standard
4488 El comando siguiente generará äi cuando teclees agudo-i ('i):
4489 \end_layout
4490
4491 \begin_layout LyX-Code
4492
4493 \backslash
4494 kxmod acute i "
4495 \backslash
4496
4497 \backslash
4498 '{
4499 \backslash
4500
4501 \backslash
4502 i}"
4503 \end_layout
4504
4505 \begin_layout Labeling
4506 \labelwidthstring 00.00.0000
4507 \begin_inset Flex Code
4508 status collapsed
4509
4510 \begin_layout Plain Layout
4511 kcomb
4512 \end_layout
4513
4514 \end_inset
4515
4516  Combina dos caracteres acentos
4517 \end_layout
4518
4519 \begin_layout LyX-Code
4520
4521 \backslash
4522 kcomb 
4523 \family roman
4524 \emph on
4525 accent1 accent2 allowed
4526 \end_layout
4527
4528 \begin_layout Standard
4529 Esto es bastante esotérico.
4530  Permite combinar el efecto de 
4531 \emph on
4532 accent1
4533 \emph default
4534  y 
4535 \emph on
4536 accent2
4537 \emph default
4538  (¡en ese orden!) sobre los caracteres permitidos 
4539 \emph on
4540 allowed
4541 \emph default
4542 .
4543  Las teclas para 
4544 \emph on
4545 accent1
4546 \emph default
4547  y 
4548 \emph on
4549 accent2
4550 \emph default
4551  deben haber sido declaradas con un comando 
4552 \begin_inset Flex Code
4553 status collapsed
4554
4555 \begin_layout Plain Layout
4556
4557 \shape up
4558
4559 \backslash
4560 kmod
4561 \end_layout
4562
4563 \end_inset
4564
4565  
4566 \emph on
4567 previamente
4568 \emph default
4569  en el archivo.
4570  
4571 \end_layout
4572
4573 \begin_layout Standard
4574 Considera este ejemplo del archivo 
4575 \begin_inset Flex Code
4576 status collapsed
4577
4578 \begin_layout Plain Layout
4579
4580 \shape up
4581 greek.kmap
4582 \end_layout
4583
4584 \end_inset
4585
4586 :
4587 \end_layout
4588
4589 \begin_layout LyX-Code
4590
4591 \backslash
4592 kmod ; acute aeioyvhAEIOYVH 
4593 \backslash
4594 kmod : umlaut iyIY 
4595 \backslash
4596 kcomb acute umlaut iyIY
4597 \end_layout
4598
4599 \begin_layout Standard
4600 Esto permite pulsar 
4601 \begin_inset Flex MenuItem
4602 status collapsed
4603
4604 \begin_layout Plain Layout
4605
4606 \shape up
4607 ;:i
4608 \end_layout
4609
4610 \end_inset
4611
4612  y obtener el efecto de 
4613 \begin_inset Flex Code
4614 status collapsed
4615
4616 \begin_layout Plain Layout
4617
4618 \shape up
4619
4620 \backslash
4621 '{
4622 \backslash
4623 "{i}}
4624 \end_layout
4625
4626 \end_inset
4627
4628 .
4629  En este caso un retroceso cancela la última tecla muerta, así que si tecleas
4630  
4631 \begin_inset Flex MenuItem
4632 status collapsed
4633
4634 \begin_layout Plain Layout
4635
4636 \shape up
4637 ;: Retroceso i
4638 \end_layout
4639
4640 \end_inset
4641
4642  obtienes 
4643 \begin_inset Flex Code
4644 status collapsed
4645
4646 \begin_layout Plain Layout
4647
4648 \shape up
4649
4650 \backslash
4651 '{i}
4652 \end_layout
4653
4654 \end_inset
4655
4656 .
4657 \end_layout
4658
4659 \begin_layout Subsection
4660 El archivo .cdef
4661 \end_layout
4662
4663 \begin_layout Standard
4664 Después de realizados el mapa 
4665 \begin_inset Flex Code
4666 status collapsed
4667
4668 \begin_layout Plain Layout
4669
4670 \shape up
4671 .kmap
4672 \end_layout
4673
4674 \end_inset
4675
4676 , un archivo 
4677 \begin_inset Flex Code
4678 status collapsed
4679
4680 \begin_layout Plain Layout
4681
4682 \shape up
4683 .cde
4684 \shape default
4685 f
4686 \end_layout
4687
4688 \end_inset
4689
4690  traza el mapa de las cadenas que los símbolos generan para los caracteres
4691  en la tipografía actual.
4692  La distribución de LyX actualmente incluye al menos los archivos 
4693 \begin_inset Flex Code
4694 status collapsed
4695
4696 \begin_layout Plain Layout
4697
4698 \shape up
4699 iso8859-1.cdef
4700 \end_layout
4701
4702 \end_inset
4703
4704  and 
4705 \begin_inset Flex Code
4706 status collapsed
4707
4708 \begin_layout Plain Layout
4709
4710 \shape up
4711 iso8859-2.cdef
4712 \end_layout
4713
4714 \end_inset
4715
4716 .
4717 \end_layout
4718
4719 \begin_layout Standard
4720 En general el archivo 
4721 \begin_inset Flex Code
4722 status collapsed
4723
4724 \begin_layout Plain Layout
4725
4726 \shape up
4727 .cdef
4728 \end_layout
4729
4730 \end_inset
4731
4732  es una secuencia de declaraciones de la forma:
4733 \end_layout
4734
4735 \begin_layout LyX-Code
4736
4737 \family roman
4738 \emph on
4739 char_index_in_set
4740 \family default
4741 \emph default
4742  
4743 \family roman
4744 \emph on
4745  string
4746 \end_layout
4747
4748 \begin_layout Standard
4749 Por ejemplo, para asociar 
4750 \begin_inset Flex MenuItem
4751 status collapsed
4752
4753 \begin_layout Plain Layout
4754
4755 \shape up
4756
4757 \backslash
4758 '{e}
4759 \end_layout
4760
4761 \end_inset
4762
4763  al correspondiente carácter en el conjunto iso-8859-1 (233), se usa:
4764 \end_layout
4765
4766 \begin_layout LyX-Code
4767 233 "
4768 \backslash
4769
4770 \backslash
4771 '{e}"
4772 \end_layout
4773
4774 \begin_layout Standard
4775 con 
4776 \begin_inset Flex Code
4777 status collapsed
4778
4779 \begin_layout Plain Layout
4780
4781 \backslash
4782
4783 \end_layout
4784
4785 \end_inset
4786
4787  y 
4788 \begin_inset Flex Code
4789 status collapsed
4790
4791 \begin_layout Plain Layout
4792 "
4793 \end_layout
4794
4795 \end_inset
4796
4797  escapados en 
4798 \emph on
4799 string
4800 \emph default
4801 .
4802  Anotar que el mismo carácter puede aplicarse a más de una cadena.
4803  En el archivo 
4804 \begin_inset Flex Code
4805 status collapsed
4806
4807 \begin_layout Plain Layout
4808 i
4809 \shape up
4810 so-8859-7.cdef
4811 \end_layout
4812
4813 \end_inset
4814
4815  tienes
4816 \end_layout
4817
4818 \begin_layout LyX-Code
4819 192 "
4820 \backslash
4821
4822 \backslash
4823 '{
4824 \backslash
4825
4826 \backslash
4827
4828 \backslash
4829 "{i}}"
4830 \begin_inset Newline newline
4831 \end_inset
4832
4833 192 "
4834 \backslash
4835
4836 \backslash
4837
4838 \backslash
4839 "{
4840 \backslash
4841
4842 \backslash
4843 '{i}}"
4844 \end_layout
4845
4846 \begin_layout Standard
4847 Si LyX no puede encontrar una declaración para la cadena por una tecla o
4848  una secuencia con tecla muerta, intentará si aparece como un carácter acentuado
4849  y probará a dibujar un acento sobre el carácter en la pantalla.
4850 \end_layout
4851
4852 \begin_layout Subsection
4853 Teclas muertas
4854 \end_layout
4855
4856 \begin_layout Standard
4857 Hay una segunda manera de añadir soporte para caracteres internacionales
4858  mediante las denominadas teclas muertas.
4859  Una tecla muerta trabaja en combinación con una letra para generar un carácter
4860  acentuado.
4861  Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar
4862  cómo funciona.
4863 \end_layout
4864
4865 \begin_layout Standard
4866 Supongamos que necesitas el carácter circunflejo 
4867 \begin_inset Quotes fld
4868 \end_inset
4869
4870 ^
4871 \begin_inset Quotes frd
4872 \end_inset
4873
4874 .
4875  Podrías asociar la tecla 
4876 \begin_inset Flex MenuItem
4877 status collapsed
4878
4879 \begin_layout Plain Layout
4880 ^
4881 \end_layout
4882
4883 \end_inset
4884
4885  (antes 
4886 \begin_inset Flex MenuItem
4887 status collapsed
4888
4889 \begin_layout Plain Layout
4890 Mayúsculas-6
4891 \end_layout
4892
4893 \end_inset
4894
4895 ) al comando LyX 
4896 \begin_inset Flex Code
4897 status collapsed
4898
4899 \begin_layout Plain Layout
4900 accent-circumflex
4901 \end_layout
4902
4903 \end_inset
4904
4905  en tu archivo 
4906 \begin_inset Flex Code
4907 status collapsed
4908
4909 \begin_layout Plain Layout
4910 lyxrc
4911 \end_layout
4912
4913 \end_inset
4914
4915 .
4916  Ahora, cuando pulses la tecla 
4917 \begin_inset Flex MenuItem
4918 status collapsed
4919
4920 \begin_layout Plain Layout
4921 ^
4922 \end_layout
4923
4924 \end_inset
4925
4926  seguida de una letra, obtendrás esa letra con circunflejo sobre ella.
4927  Por ejemplo, la secuencia 
4928 \begin_inset Quotes fld
4929 \end_inset
4930
4931
4932 \begin_inset Flex MenuItem
4933 status collapsed
4934
4935 \begin_layout Plain Layout
4936 ^e
4937 \end_layout
4938
4939 \end_inset
4940
4941
4942 \begin_inset Quotes frd
4943 \end_inset
4944
4945  genera 
4946 \begin_inset Quotes fld
4947 \end_inset
4948
4949 ê
4950 \begin_inset Quotes frd
4951 \end_inset
4952
4953 .
4954  Si pruebas 
4955 \begin_inset Quotes fld
4956 \end_inset
4957
4958
4959 \begin_inset Flex Code
4960 status collapsed
4961
4962 \begin_layout Plain Layout
4963 ^t
4964 \end_layout
4965
4966 \end_inset
4967
4968
4969 \begin_inset Quotes frd
4970 \end_inset
4971
4972 , sin embargo, LyX no imprime nada puesto que 
4973 \begin_inset Flex MenuItem
4974 status collapsed
4975
4976 \begin_layout Plain Layout
4977 t
4978 \end_layout
4979
4980 \end_inset
4981
4982  nunca lleva un circunflejo.
4983  Pulsar 
4984 \begin_inset Flex MenuItem
4985 status collapsed
4986
4987 \begin_layout Plain Layout
4988 Espacio
4989 \end_layout
4990
4991 \end_inset
4992
4993  tras una tecla muerta imprime el acento solo.
4994  ¡Advierte este último punto! Si asocias una tecla a una tecla muerta necesitará
4995 s reasociar el carácter de esa tecla a otra tecla.
4996  Asociar la tecla 
4997 \begin_inset Flex MenuItem
4998 status collapsed
4999
5000 \begin_layout Plain Layout
5001 ,
5002 \end_layout
5003
5004 \end_inset
5005
5006  a una cedilla es una mala idea, puesto que solo obtendrás cedillas en lugar
5007  de comas.
5008 \end_layout
5009
5010 \begin_layout Standard
5011 Una forma habitual de asociar teclas muertas es usar 
5012 \begin_inset Flex MenuItem
5013 status collapsed
5014
5015 \begin_layout Plain Layout
5016 Meta-
5017 \end_layout
5018
5019 \end_inset
5020
5021
5022 \begin_inset Flex MenuItem
5023 status collapsed
5024
5025 \begin_layout Plain Layout
5026 Ctrl-
5027 \end_layout
5028
5029 \end_inset
5030
5031 , y 
5032 \begin_inset Flex MenuItem
5033 status collapsed
5034
5035 \begin_layout Plain Layout
5036 Mayúsculas-
5037 \end_layout
5038
5039 \end_inset
5040
5041  en combinación con un acento, como 
5042 \begin_inset Quotes fld
5043 \end_inset
5044
5045
5046 \begin_inset Flex MenuItem
5047 status collapsed
5048
5049 \begin_layout Plain Layout
5050 ~
5051 \end_layout
5052
5053 \end_inset
5054
5055
5056 \begin_inset Quotes frd
5057 \end_inset
5058
5059  o 
5060 \begin_inset Quotes fld
5061 \end_inset
5062
5063
5064 \begin_inset Flex MenuItem
5065 status collapsed
5066
5067 \begin_layout Plain Layout
5068 ,
5069 \end_layout
5070
5071 \end_inset
5072
5073
5074 \begin_inset Quotes frd
5075 \end_inset
5076
5077  o 
5078 \begin_inset Quotes fld
5079 \end_inset
5080
5081
5082 \begin_inset Flex MenuItem
5083 status collapsed
5084
5085 \begin_layout Plain Layout
5086 ^
5087 \end_layout
5088
5089 \end_inset
5090
5091
5092 \begin_inset Quotes frd
5093 \end_inset
5094
5095 .
5096  Otra forma incluye el uso de 
5097 \begin_inset Flex Code
5098 status collapsed
5099
5100 \begin_layout Plain Layout
5101 xmodmap
5102 \end_layout
5103
5104 \end_inset
5105
5106  y 
5107 \begin_inset Flex Code
5108 status collapsed
5109
5110 \begin_layout Plain Layout
5111 xkeycaps
5112 \end_layout
5113
5114 \end_inset
5115
5116  para configurar la tecla especial 
5117 \begin_inset Flex Code
5118 status collapsed
5119
5120 \begin_layout Plain Layout
5121 Mode_Switch
5122 \end_layout
5123
5124 \end_inset
5125
5126 .
5127  Esta tecla actúa de alguna forma como 
5128 \begin_inset Flex MenuItem
5129 status collapsed
5130
5131 \begin_layout Plain Layout
5132 Mayúsculas
5133 \end_layout
5134
5135 \end_inset
5136
5137  y permite teclas a caracteres acentuados.
5138  También puedes transformar teclas en muertas asociándolas a algo como 
5139 \begin_inset Flex Code
5140 status collapsed
5141
5142 \begin_layout Plain Layout
5143 usldead_cedilla
5144 \end_layout
5145
5146 \end_inset
5147
5148  y después asociando esta tecla simbólica al correspondiente comando LyX.
5149 \begin_inset Foot
5150 status open
5151
5152 \begin_layout Plain Layout
5153 Nota de 
5154 \noun on
5155 John Weiss
5156 \noun default
5157 : Esto es exactamente lo que hago en mis archivos 
5158 \begin_inset Flex Code
5159 status collapsed
5160
5161 \begin_layout Plain Layout
5162 ~/.lyx/lyxrc
5163 \end_layout
5164
5165 \end_inset
5166
5167  y 
5168 \begin_inset Flex Code
5169 status collapsed
5170
5171 \begin_layout Plain Layout
5172 ~/.xmodmap
5173 \end_layout
5174
5175 \end_inset
5176
5177 .
5178  Tengo mi tecla 
5179 \begin_inset Flex MenuItem
5180 status collapsed
5181
5182 \begin_layout Plain Layout
5183 Bloq
5184 \begin_inset space ~
5185 \end_inset
5186
5187 Despl
5188 \end_layout
5189
5190 \end_inset
5191
5192  configurada como 
5193 \begin_inset Flex Code
5194 status collapsed
5195
5196 \begin_layout Plain Layout
5197 Mode_Shift
5198 \end_layout
5199
5200 \end_inset
5201
5202  y unas cuantas de estas teclas simbólicas 
5203 \begin_inset Quotes fld
5204 \end_inset
5205
5206
5207 \begin_inset Flex Code
5208 status collapsed
5209
5210 \begin_layout Plain Layout
5211 usldead_*
5212 \end_layout
5213
5214 \end_inset
5215
5216
5217 \begin_inset Quotes frd
5218 \end_inset
5219
5220  asociadas a cosas como 
5221 \begin_inset Flex MenuItem
5222 status collapsed
5223
5224 \begin_layout Plain Layout
5225 Bloq
5226 \begin_inset space ~
5227 \end_inset
5228
5229 Despl-^
5230 \end_layout
5231
5232 \end_inset
5233
5234  y 
5235 \begin_inset Flex MenuItem
5236 status collapsed
5237
5238 \begin_layout Plain Layout
5239 Bloq
5240 \begin_inset space ~
5241 \end_inset
5242
5243 Despl-~
5244 \end_layout
5245
5246 \end_inset
5247
5248 .
5249  Así es como genero mis caracteres acentuados.
5250 \end_layout
5251
5252 \end_inset
5253
5254  Puedes hacer casi cualquier cosa con la tecla 
5255 \begin_inset Flex Code
5256 status collapsed
5257
5258 \begin_layout Plain Layout
5259 Mode_Switch
5260 \end_layout
5261
5262 \end_inset
5263
5264 : una de las teclas 
5265 \begin_inset Flex MenuItem
5266 status collapsed
5267
5268 \begin_layout Plain Layout
5269 Ctrl-
5270 \end_layout
5271
5272 \end_inset
5273
5274 , una tecla de función de reserva, etc.
5275  En cuanto a los comandos LyX que generan acentos, consulta la entrada para
5276  
5277 \begin_inset Flex Code
5278 status collapsed
5279
5280 \begin_layout Plain Layout
5281 accent-acute
5282 \end_layout
5283
5284 \end_inset
5285
5286  en 
5287 \emph on
5288 Reference Manual
5289 \emph default
5290 .
5291  Ahí encontrarás la lista completa.
5292 \end_layout
5293
5294 \begin_layout Subsection
5295 Guardar la configuración de idioma
5296 \end_layout
5297
5298 \begin_layout Standard
5299 Puedes editar tus preferencias para que el entorno de idioma adecuado sea
5300  automáticamente configurado al iniciar LyX, en el diálogo 
5301 \begin_inset Flex MenuItem
5302 status collapsed
5303
5304 \begin_layout Plain Layout
5305 Herramientas\SpecialChar \menuseparator
5306 Preferencias
5307 \end_layout
5308
5309 \end_inset
5310
5311 .
5312 \end_layout
5313
5314 \begin_layout Chapter
5315 Instalación de nuevas clases de documento, formatos y plantillas
5316 \begin_inset CommandInset label
5317 LatexCommand label
5318 name "cap:Instalación-de-nuevas"
5319
5320 \end_inset
5321
5322
5323 \begin_inset Argument 1
5324 status collapsed
5325
5326 \begin_layout Plain Layout
5327 Instalación de clases, formatos \SpecialChar \ldots{}
5328
5329 \end_layout
5330
5331 \end_inset
5332
5333
5334 \end_layout
5335
5336 \begin_layout Standard
5337 En este capítulo describimos los procedimientos para crear e instalar nuevos
5338  archivos de plantillas y formatos de LyX, así como repasar la instalación
5339  correcta de nuevas clases de documentos LaTeX.
5340 \end_layout
5341
5342 \begin_layout Standard
5343 En primer lugar, permite que digamos algo sobre la relación entre LyX y
5344  LaTeX.
5345  Lo que hay que entender es que, en cierto sentido, LyX no sabe nada de
5346  LaTeX.
5347  Desde el punto de vista de LyX, LaTeX solo es uno más de los varios 
5348 \begin_inset Quotes fld
5349 \end_inset
5350
5351 formatos de soporte
5352 \begin_inset Quotes frd
5353 \end_inset
5354
5355  en los que es capaz de generar salida.
5356  Otros son DocBook, texto sencillo y XHTML.
5357  LaTeX es, por supuesto, un formato particularmente importante, pero muy
5358  poca de la información que LyX tiene sobre LaTeX está realmente contenida
5359  en el propio programa.
5360 \begin_inset Foot
5361 status collapsed
5362
5363 \begin_layout Plain Layout
5364 Algunos comandos son lo bastante complejos como para ser incluidos en el
5365  código de LyX.
5366  Pero en general los desarrolladores consideran esto una mala cosa.
5367  
5368 \end_layout
5369
5370 \end_inset
5371
5372  Esa información, incluso para las clases estándar como 
5373 \family typewriter
5374 article.cls
5375 \family default
5376 , está almacenada en 'archivos de formato (
5377 \emph on
5378 layout
5379 \emph default
5380 )'.
5381  De igual manera LyX no sabe gran cosa sobre DocBook o XHTML.
5382  Esa información está en los archivos de formato.
5383 \end_layout
5384
5385 \begin_layout Standard
5386 El archivo de formato para una determinada clase de documento se puede considera
5387 r como un manual de instrucciones para traducir las estructuras de LyX ---párraf
5388 os y sus estilos, ciertos tipos de recuadros, etc.--- a las estructuras correspon
5389 dientes de LaTeX, DocBook o XHTML.
5390  Por ejemplo, casi todo lo que LyX sabe sobre 
5391 \begin_inset Flex Code
5392 status collapsed
5393
5394 \begin_layout Plain Layout
5395 article.cls
5396 \end_layout
5397
5398 \end_inset
5399
5400  está contenido en el archivo 
5401 \begin_inset Flex Code
5402 status collapsed
5403
5404 \begin_layout Plain Layout
5405 article.layout
5406 \end_layout
5407
5408 \end_inset
5409
5410  y en otros archivos incluidos en este.
5411  Por esta razón, quien intente escribir archivos de formato debería empezar
5412  por estudiar los archivos existentes.
5413  Un buen sitio para empezar es 
5414 \begin_inset Flex Code
5415 status collapsed
5416
5417 \begin_layout Plain Layout
5418 stdsections.inc
5419 \end_layout
5420
5421 \end_inset
5422
5423 , que está incluido en 
5424 \begin_inset Flex Code
5425 status collapsed
5426
5427 \begin_layout Plain Layout
5428 article.layout
5429 \end_layout
5430
5431 \end_inset
5432
5433
5434 \begin_inset Flex Code
5435 status collapsed
5436
5437 \begin_layout Plain Layout
5438 book.layout
5439 \end_layout
5440
5441 \end_inset
5442
5443  y muchos otros archivos de formato para clases de documento.
5444  En este archivo se definen las secciones y demás: 
5445 \begin_inset Flex Code
5446 status collapsed
5447
5448 \begin_layout Plain Layout
5449 stdsections.inc
5450 \end_layout
5451
5452 \end_inset
5453
5454  indica a LyX como traducir los párrafos con estilos como Sección, Subsección,
5455  etc., a los comandos y etiquetas correspondientes en LaTeX, DocBook y XHTML.
5456  El archivo 
5457 \begin_inset Flex Code
5458 status collapsed
5459
5460 \begin_layout Plain Layout
5461 article.layout
5462 \end_layout
5463
5464 \end_inset
5465
5466  solo incluye, básicamente, varios de estos archivos 
5467 \begin_inset Flex Code
5468 status collapsed
5469
5470 \begin_layout Plain Layout
5471 std*.inc
5472 \end_layout
5473
5474 \end_inset
5475
5476 .
5477 \end_layout
5478
5479 \begin_layout Standard
5480 Pero definir la correspondencia LyX-LaTeX no es lo único que hacen los archivos
5481  de formato.
5482  Su otra tarea es definir cómo aparecerán en pantalla las estructuras de
5483  LyX.
5484  El hecho de que los archivos de formato tengan estas dos tareas es a veces
5485  fuente de confusión, porque son totalmente independientes.
5486  Indicar a LyX cómo traducir cierto estilo de párrafo a LaTeX no le dice
5487  cómo mostrarlo en pantalla; a la inversa, indicar cómo mostrar en pantalla
5488  un estilo de párrafo no tiene nada que ver con su traducción a LaTeX (solo
5489  permite indicar a LaTeX cómo mostrarlo).
5490  Así pues, en general, cuando defines una nueva construcción en LyX, siempre
5491  tienes que hacer dos cosas: 1) indicar la traducción a LaTeX y, 2) indicar
5492  la presentación en pantalla.
5493 \end_layout
5494
5495 \begin_layout Standard
5496 Gran parte de lo dicho es cierto, también, en relación con otros formatos
5497  de salida, aunque XHTML es un poco diferente porque en este caso LyX 
5498 \emph on
5499 es capaz
5500 \emph default
5501 , en cierta medida, de usar la información de la presentación de un párrafo
5502  en pantalla para generar la presentación (en forma de CSS) del párrafo
5503  en un navegador.
5504  Incluso en este caso, no obstante, la distinción entre lo que hace LyX
5505  internamente y la forma en que las cosas se muestran externamente sigue
5506  en vigor, y ambas se pueden controlar separadamente.
5507  Véase 
5508 \begin_inset CommandInset ref
5509 LatexCommand ref
5510 reference "sec:Etiquetas-para-XHTML"
5511
5512 \end_inset
5513
5514  para más detalles.
5515 \end_layout
5516
5517 \begin_layout Section
5518 Instalación de nuevos archivos LaTeX
5519 \end_layout
5520
5521 \begin_layout Standard
5522 Algunas instalaciones quizá no incluyan un paquete LaTeX que te gustaría
5523  usar en LyX.
5524  Por ejemplo, podrías necesitar FoilTeX, un paquete para preparar transparencias
5525  o diapositivas para proyectores.
5526  Las modernas distribuciones de LaTeX como TeXLive (2008 o posterior) o
5527  MiKTeX proveen una interfaz de usuario para eso.
5528  Por ejemplo, en MiKTeX inicia su programa 
5529 \begin_inset Quotes fld
5530 \end_inset
5531
5532 Administrador de paquetes
5533 \begin_inset Quotes frd
5534 \end_inset
5535
5536  para obtener una lista de los disponibles.
5537  Para instalar uno, haz clic derecho sobre él o usa el botón de la herramienta
5538  de instalación.
5539 \end_layout
5540
5541 \begin_layout Standard
5542 Si tu distribución LaTeX no proporciona tal 
5543 \begin_inset Quotes fld
5544 \end_inset
5545
5546 administrador de paquetes
5547 \begin_inset Quotes frd
5548 \end_inset
5549
5550 , o si el paquete no está disponible en ella, sigue los siguientes pasos
5551  para instalarlo manualmente: 
5552 \end_layout
5553
5554 \begin_layout Enumerate
5555 Consigue el paquete de 
5556 \begin_inset CommandInset href
5557 LatexCommand href
5558 name "CTAN"
5559 target "http://www.ctan.org/"
5560
5561 \end_inset
5562
5563  o de otro sitio.
5564 \end_layout
5565
5566 \begin_layout Enumerate
5567 Si el paquete contiene un archivo con la extensión 
5568 \begin_inset Quotes fld
5569 \end_inset
5570
5571
5572 \begin_inset Flex Code
5573 status collapsed
5574
5575 \begin_layout Plain Layout
5576 .ins
5577 \end_layout
5578
5579 \end_inset
5580
5581
5582 \begin_inset Quotes frd
5583 \end_inset
5584
5585  (es el caso de FoilTeX) abre una consola, cambia a la carpeta del archivo
5586  y ejecuta el comando 
5587 \begin_inset Flex Code
5588 status collapsed
5589
5590 \begin_layout Plain Layout
5591 latex foiltex.ins
5592 \end_layout
5593
5594 \end_inset
5595
5596 .
5597  Así desempaquetamos y disponemos de todos los archivos para instalar.
5598  La mayoría de paquetes LaTeX no están empaquetados y podemos saltar este
5599  paso.
5600 \end_layout
5601
5602 \begin_layout Enumerate
5603 Tienes que decidir si el paquete estará disponible para todos los usuarios
5604  o no.
5605 \end_layout
5606
5607 \begin_deeper
5608 \begin_layout Enumerate
5609 En sistemas *nix (Linux, OSX, etc.), si el paquete va estar disponible para
5610  todos los usuarios del sistema, hay que instalarlo en el árbol 'local'
5611  de TeX, de lo contrario instálalo en tu directorio TeX de usuario.
5612  La ubicación de estos árboles, si no existen ya, depende del sistema.
5613  Para encontrarlos mira en el archivo 
5614 \begin_inset Flex Code
5615 status collapsed
5616
5617 \begin_layout Plain Layout
5618 texmf.cnf
5619 \end_layout
5620
5621 \end_inset
5622
5623 .
5624 \begin_inset Foot
5625 status collapsed
5626
5627 \begin_layout Plain Layout
5628 Usualmente es el directorio 
5629 \family sans
5630 $TEXMF/web2c
5631 \family default
5632 , aunque se puede ejecutar el comando 
5633 \begin_inset Flex Code
5634 status collapsed
5635
5636 \begin_layout Plain Layout
5637 kpsewhich texmf.cnf
5638 \end_layout
5639
5640 \end_inset
5641
5642  para localizarlo.
5643 \end_layout
5644
5645 \end_inset
5646
5647  La ubicación del árbol `local' de TeX está definida por la variable 
5648 \begin_inset Flex Code
5649 status collapsed
5650
5651 \begin_layout Plain Layout
5652 TEXMFLOCAL
5653 \end_layout
5654
5655 \end_inset
5656
5657 ; generalmente algo como 
5658 \family sans
5659 /usr/local/share/texmf/
5660 \family default
5661  .
5662  La ubicación del árbol `user' de TeX está definida por 
5663 \begin_inset Flex Code
5664 status collapsed
5665
5666 \begin_layout Plain Layout
5667 TEXMFHOME
5668 \end_layout
5669
5670 \end_inset
5671
5672  y generalmente es 
5673 \family sans
5674 $HOME/texmf/
5675 \family default
5676  .
5677  (Si estas variables no están predefinidas, debes hacerlo.) Probablemente
5678  necesites permiso de administrador para crear o modificar el árbol `local',
5679  pero no para el árbol `user'.
5680 \begin_inset Newline newline
5681 \end_inset
5682
5683 En general, es recomendable instalar en el árbol `user' porque no será modificad
5684 o o sobrescrito al actualizar el sistema.
5685  Además, se guardará copia de él cuando hagas copia de seguridad de tu directori
5686 o `home' (que debe ser lo habitual).
5687 \end_layout
5688
5689 \begin_layout Enumerate
5690 En Windows, para que el nuevo paquete esté disponible a todos los usuarios,
5691  cambia a la carpeta donde está instalado LaTeX y en la subcarpeta 
5692 \family sans
5693 ~
5694 \backslash
5695 tex
5696 \backslash
5697 latex
5698 \family default
5699 , (En MiKTeX, debería ser 
5700 \family sans
5701 ~:
5702 \backslash
5703 Programs
5704 \backslash
5705 MiKTeX
5706 \backslash
5707 tex
5708 \backslash
5709 latex
5710 \family default
5711  ) crea una nueva carpeta 
5712 \begin_inset Flex Code
5713 status collapsed
5714
5715 \begin_layout Plain Layout
5716 foiltex
5717 \end_layout
5718
5719 \end_inset
5720
5721  y copia en ella todos los archivos del paquete.
5722  Para hacer el paquete disponible solo a un usuario o si no dispones de
5723  permisos, haz lo mismo pero en el directorio de LaTeX, p.
5724 \begin_inset space \thinspace{}
5725 \end_inset
5726
5727 ej.,en MiKTeX
5728 \begin_inset space ~
5729 \end_inset
5730
5731 2.8 en WinXP
5732 \begin_inset Newline newline
5733 \end_inset
5734
5735
5736 \family sans
5737 ~:
5738 \backslash
5739 Documents and Settings
5740 \backslash
5741 <username>
5742 \backslash
5743 Application Data
5744 \backslash
5745
5746 \begin_inset Newline newline
5747 \end_inset
5748
5749
5750 \begin_inset Phantom HPhantom
5751 status open
5752
5753 \begin_layout Plain Layout
5754
5755 \family sans
5756 \lang english
5757 ~:
5758 \backslash
5759
5760 \end_layout
5761
5762 \end_inset
5763
5764 MiKTeX
5765 \backslash
5766 2.8
5767 \backslash
5768 tex
5769 \backslash
5770 latex
5771 \family default
5772
5773 \begin_inset Newline newline
5774 \end_inset
5775
5776 en Vista sería
5777 \begin_inset Newline newline
5778 \end_inset
5779
5780
5781 \family sans
5782 ~:
5783 \backslash
5784 Users
5785 \backslash
5786 <username>
5787 \backslash
5788 AppData
5789 \backslash
5790 Roaming
5791 \backslash
5792 2.8
5793 \backslash
5794 MiKTeX
5795 \backslash
5796 tex
5797 \backslash
5798 latex
5799 \family default
5800  .
5801 \end_layout
5802
5803 \end_deeper
5804 \begin_layout Enumerate
5805 Ahora hay que decir a LaTeX que hay archivos nuevos.
5806  Esto depende de la distribución de LaTeX:
5807 \end_layout
5808
5809 \begin_deeper
5810 \begin_layout Enumerate
5811 Para TeXLive ejecuta el comando 
5812 \begin_inset Flex Code
5813 status collapsed
5814
5815 \begin_layout Plain Layout
5816 texhash
5817 \end_layout
5818
5819 \end_inset
5820
5821  en una consola.
5822  Si el paquete se instaló para todos los usuarios harán falta permisos de
5823  administrador.
5824 \end_layout
5825
5826 \begin_layout Enumerate
5827 Para MiKTeX, si el paquete se instaló para todos los usuarios, inicia el
5828  programa 
5829 \begin_inset Quotes eld
5830 \end_inset
5831
5832 Settings
5833 \begin_inset space ~
5834 \end_inset
5835
5836 (Admin)
5837 \begin_inset Quotes erd
5838 \end_inset
5839
5840  y pulsa el botón 
5841 \begin_inset Quotes eld
5842 \end_inset
5843
5844 Refresh FNDB
5845 \begin_inset Quotes erd
5846 \end_inset
5847
5848 .
5849  Si no, inicia el programa 
5850 \begin_inset Quotes eld
5851 \end_inset
5852
5853 Settings
5854 \begin_inset Quotes erd
5855 \end_inset
5856
5857  y haz lo mismo.
5858 \end_layout
5859
5860 \end_deeper
5861 \begin_layout Enumerate
5862 Finalmente, hay que decir a LyX que hay nuevos paquetes disponibles.
5863  Usa el menú 
5864 \begin_inset Flex MenuItem
5865 status collapsed
5866
5867 \begin_layout Plain Layout
5868 Herramientas\SpecialChar \menuseparator
5869 Reconfigurar
5870 \end_layout
5871
5872 \end_inset
5873
5874  y reinicia LyX.
5875 \end_layout
5876
5877 \begin_layout Standard
5878 Ya está instalado el paquete.
5879  En nuestro ejemplo, la clase de documento 
5880 \begin_inset Flex Code
5881 status collapsed
5882
5883 \begin_layout Plain Layout
5884 Slides
5885 \begin_inset space ~
5886 \end_inset
5887
5888 (FoilTe
5889 \begin_inset ERT
5890 status collapsed
5891
5892 \begin_layout Plain Layout
5893
5894 {}
5895 \end_layout
5896
5897 \end_inset
5898
5899 x)
5900 \end_layout
5901
5902 \end_inset
5903
5904  estará ahora disponible en 
5905 \begin_inset Flex MenuItem
5906 status collapsed
5907
5908 \begin_layout Plain Layout
5909 Documento\SpecialChar \menuseparator
5910 Configuración\SpecialChar \menuseparator
5911 Clases
5912 \begin_inset space ~
5913 \end_inset
5914
5915 de
5916 \begin_inset space ~
5917 \end_inset
5918
5919 documento
5920 \end_layout
5921
5922 \end_inset
5923
5924 .
5925  
5926 \end_layout
5927
5928 \begin_layout Standard
5929 Si quieres usar una clase de documento LaTeX que no aparece listada en 
5930 \begin_inset Flex MenuItem
5931 status collapsed
5932
5933 \begin_layout Plain Layout
5934 Documento\SpecialChar \menuseparator
5935 Configuración\SpecialChar \menuseparator
5936 Clases
5937 \begin_inset space ~
5938 \end_inset
5939
5940 de
5941 \begin_inset space ~
5942 \end_inset
5943
5944 documento
5945 \end_layout
5946
5947 \end_inset
5948
5949 , debes crear un archivo de formato (`layout') para ella.
5950  Este es el tema de la sección siguiente.
5951 \end_layout
5952
5953 \begin_layout Section
5954 Tipos de archivos de formato
5955 \end_layout
5956
5957 \begin_layout Standard
5958 Esta sección describe los diversos tipos de arhivos de LyX que contienen
5959  información sobre el formato.
5960  Los archivos 
5961 \begin_inset Flex Code
5962 status collapsed
5963
5964 \begin_layout Plain Layout
5965 .layout
5966 \end_layout
5967
5968 \end_inset
5969
5970  describen estilos de párrafo y de carácter, y determinan cómo los debería
5971  presentar LyX y cómo deberían traducirse a LaTeX, DocBook, XHTML o cualquier
5972  otro formato de salida que se vaya a usar.
5973  
5974 \end_layout
5975
5976 \begin_layout Standard
5977 Intentaremos aquí dar una minuciosa descripción del proceso; sin embargo,
5978  hay tantos tipos diferentes de documentos soportados por clases de LaTeX
5979  que no podemos aspirar a tratar todas las distintas posibilidades o problemas
5980  que puedas encontrar.
5981  La lista de usuarios de LyX es frecuentada por gente con mucha experiencia
5982  en el diseño de formatos deseosa de compartir sus conocimientos.
5983 \end_layout
5984
5985 \begin_layout Standard
5986 Cuando te pongas a escribir un nuevo formato, es de gran ayuda echar un
5987  vistazo a los formatos de ejemplo suministrados con LyX.
5988  Si escribes un `layout' de LyX para una clase de documento LaTeX o un módulo
5989  que podría ser útil también a otros, no dudes en compartir tu labor enviándola
5990  a 
5991 \begin_inset CommandInset href
5992 LatexCommand href
5993 name "sección 'Layouts' en wiki LyX"
5994 target "http://wiki.lyx.org/Layouts/Layouts"
5995
5996 \end_inset
5997
5998  o incluso a la lista de desarrolladores de LyX para poderlo incluir en
5999  la distribución.
6000 \begin_inset Foot
6001 status collapsed
6002
6003 \begin_layout Plain Layout
6004 Hay que advertir que LyX se acoge a la licencia GPL, por tanto cualquier
6005  material aportado debe tener la misma licencia.
6006 \end_layout
6007
6008 \end_inset
6009
6010
6011 \end_layout
6012
6013 \begin_layout Subsection
6014 Módulos de formato
6015 \begin_inset CommandInset label
6016 LatexCommand label
6017 name "sub:Módulos-de-formato"
6018
6019 \end_inset
6020
6021
6022 \end_layout
6023
6024 \begin_layout Standard
6025 Hemos hablado hasta ahora de `archivos de formato'.
6026  Pero hay distintos tipos de archivos con información sobre formatos.
6027  Estrictamente, los archivos de formato tienen la extensión 
6028 \begin_inset Flex Code
6029 status collapsed
6030
6031 \begin_layout Plain Layout
6032 .layout
6033 \end_layout
6034
6035 \end_inset
6036
6037  y proporcionan a LyX información sobre las clases de documento.
6038  Sin embargo, a partir de LyX 1.6, esta información puede proporcionarse
6039  también en 
6040 \emph on
6041 módulos
6042 \emph default
6043 , que tienen la extensión 
6044 \begin_inset Flex Code
6045 status collapsed
6046
6047 \begin_layout Plain Layout
6048 .module
6049 \end_layout
6050
6051 \end_inset
6052
6053 .
6054  Los módulos son a los paquetes LaTeX lo que los formatos a las clases LaTeX,
6055  y algunos módulos —como el módulo Notas finales— dan soporte específico
6056  a un paquete determinado —en este caso 
6057 \begin_inset Flex Code
6058 status collapsed
6059
6060 \begin_layout Plain Layout
6061 endnotes
6062 \end_layout
6063
6064 \end_inset
6065
6066 —.
6067  En cierto sentido, los módulos de formato son similares a los `archivos
6068  incluidos'
6069 \begin_inset Foot
6070 status collapsed
6071
6072 \begin_layout Plain Layout
6073 Estos pueden tener cualquier extensión pero, por convenio, se usa la extensión
6074  
6075 \begin_inset Flex Code
6076 status collapsed
6077
6078 \begin_layout Plain Layout
6079 .inc
6080 \end_layout
6081
6082 \end_inset
6083
6084 .
6085 \end_layout
6086
6087 \end_inset
6088
6089  —como 
6090 \begin_inset Flex Code
6091 status collapsed
6092
6093 \begin_layout Plain Layout
6094 stdsections.inc
6095 \end_layout
6096
6097 \end_inset
6098
6099 —, ya que, como estos, los módulos no son específicos para una clase de
6100  documento dada, sino que se pueden usar con muchos formatos diferentes.
6101  La diferencia es que el uso de un archivo incluido con 
6102 \begin_inset Flex Code
6103 status collapsed
6104
6105 \begin_layout Plain Layout
6106 article.cls
6107 \end_layout
6108
6109 \end_inset
6110
6111  requiere editar dicho archivo, mientras que los módulos se seleccionan
6112  en el diálogo 
6113 \begin_inset Flex MenuItem
6114 status collapsed
6115
6116 \begin_layout Plain Layout
6117 Documento\SpecialChar \menuseparator
6118 Configuración
6119 \end_layout
6120
6121 \end_inset
6122
6123 .
6124  
6125 \end_layout
6126
6127 \begin_layout Standard
6128 La construcción de módulos es la forma más fácil de iniciarse en la edición
6129  del formato, puesto que puede ser tan sencillo como añadir un nuevo estilo
6130  de párrafo o un recuadro flexible.
6131  No obstante, los módulos pueden, en principio, contener cualquier cosa
6132  que pueda contener un archivo `layout'.
6133 \end_layout
6134
6135 \begin_layout Standard
6136 Después de crear un módulo nuevo y copiarlo en la carpeta 
6137 \begin_inset Flex Code
6138 status collapsed
6139
6140 \begin_layout Plain Layout
6141 layouts/
6142 \end_layout
6143
6144 \end_inset
6145
6146 , tendrás que reconfigurar LyX y reiniciar después para que el módulo aparezca
6147  en el menú.
6148  Sin embargo, los cambios que hagas al módulo se verán inmediatamente si
6149  abres 
6150 \begin_inset Flex MenuItem
6151 status collapsed
6152
6153 \begin_layout Plain Layout
6154 Documento\SpecialChar \menuseparator
6155 Configuración
6156 \end_layout
6157
6158 \end_inset
6159
6160 , seleccionas lo que sea y después pulsas 
6161 \begin_inset Quotes fld
6162 \end_inset
6163
6164 OK
6165 \begin_inset Quotes frd
6166 \end_inset
6167
6168 .
6169  
6170 \emph on
6171 Es muy recomendable guardar el trabajo antes de hacer eso.
6172
6173 \emph default
6174  De hecho, 
6175 \emph on
6176 es muy recomendable no intentar editar los módulos mientras se está trabajando
6177  simultáneamente en un documento
6178 \emph default
6179 .
6180  Aunque los desarrolladores, por supuesto, se esfuerzan en mantener la estabilid
6181 ad de LyX en estas situaciones, errores sintácticos y similares en el archivo
6182  del módulo podrían causar extraños comportamientos.
6183 \end_layout
6184
6185 \begin_layout Subsubsection
6186 Formato local
6187 \end_layout
6188
6189 \begin_layout Standard
6190 Los módulos son a LyX lo que los paquetes a LaTeX.
6191  Sin embargo, a veces puede suceder que necesites un recuadro específico
6192  o un estilo de carácter solo para un documento, y escribir un módulo que
6193  estará disponible también para otros documentos tiene poco sentido.
6194  En estos casos, lo que necesitas es el 
6195 \begin_inset Quotes fld
6196 \end_inset
6197
6198 Formato local
6199 \begin_inset Quotes frd
6200 \end_inset
6201
6202  de LyX.
6203 \end_layout
6204
6205 \begin_layout Standard
6206 Se encuentra en 
6207 \family sans
6208 Documento\SpecialChar \menuseparator
6209 Configuración\SpecialChar \menuseparator
6210 Formato local
6211 \family default
6212 .
6213  El gran cuadro de texto permite introducir todo lo que podría incluirse
6214  en un archivo de formato o en un módulo.
6215  De hecho, el formato local de un documento se puede considerar como un
6216  módulo que le pertenece solo a él.
6217  Por tanto, en particular, hay que introducir una etiqueta 
6218 \begin_inset Flex Code
6219 status collapsed
6220
6221 \begin_layout Plain Layout
6222 Format
6223 \end_layout
6224
6225 \end_inset
6226
6227 .
6228  Cualquier formato es aceptable, pero debería usarse normalmente el actual
6229  formato.
6230  (En LyX 2.1 el formato actual es 35).
6231  Debes tener en cuenta que el formato local no es soportado por versiones
6232  de LyX anteriores a 1.6, por tanto no deberías usarlo si quieres poder exportar
6233  el documento a LyX 1.5 o anteriores sin perder la información del formato
6234  local.
6235  Si quieres poder exportar a 1.6 ---el formato local es soportado pero no
6236  hay IU par él---, deberías usar formato 11 y, por supuesto, usar solo estructur
6237 as que estuvieran disponibles en LyX 1.6.
6238 \end_layout
6239
6240 \begin_layout Standard
6241 Una vez introducido algo en el panel 
6242 \begin_inset Flex Code
6243 status collapsed
6244
6245 \begin_layout Plain Layout
6246 Local Layout
6247 \end_layout
6248
6249 \end_inset
6250
6251 , LyX habilitará el botón 
6252 \begin_inset Quotes fld
6253 \end_inset
6254
6255 Validar
6256 \begin_inset Quotes frd
6257 \end_inset
6258
6259  de debajo.
6260  Pulsando ese botón LyX determinará si lo introducido es información válida
6261  para el formato elegido.
6262  LyX informará del resultado pero, desafortunadamente, no indicará qué errores
6263  pudiera haber habido.
6264  Sin embargo, si LyX se ha arrancado en una terminal se verán ahí los errores.
6265  El formato local no se podrá guardar hasta que se haya introducido algo
6266  válido.
6267 \end_layout
6268
6269 \begin_layout Standard
6270 Las advertencias al final de la sección anterior se aplican también aquí.
6271  Es mejor no enredar con formato local mientras se está trabajando, especialment
6272 e si no se ha guardado el documento.
6273  Dicho esto, usar formato local en un documento de prueba puede ser una
6274  forma muy conveniente de probar ideas de formato, o incluso de empezar
6275  a desarrollar un módulo.
6276 \end_layout
6277
6278 \begin_layout Subsection
6279 Formato para archivos 
6280 \begin_inset Flex MenuItem
6281 status collapsed
6282
6283 \begin_layout Plain Layout
6284 .sty
6285 \end_layout
6286
6287 \end_inset
6288
6289
6290 \end_layout
6291
6292 \begin_layout Standard
6293 Probablemente te vas a encontrar con dos situaciones a la hora de querer
6294  soportar una nueva clase de documento LaTeX, según se trate de archivos
6295  de estilo (
6296 \begin_inset Flex Code
6297 status collapsed
6298
6299 \begin_layout Plain Layout
6300 .sty
6301 \end_layout
6302
6303 \end_inset
6304
6305 ) o de archivos de clases LaTeX2e (
6306 \begin_inset Flex Code
6307 status collapsed
6308
6309 \begin_layout Plain Layout
6310 .cls
6311 \end_layout
6312
6313 \end_inset
6314
6315 ).
6316  Dar soporte a un nuevo estilo es bastante fácil.
6317  Dar soporte a una nueva clase es un poco más difícil.
6318  Trataremos el primer caso en esta sección y el otro en la siguiente.
6319  Lo mismo cabe decir, por supuesto, para el soporte de un nuevo DocBook
6320  DTD.
6321 \end_layout
6322
6323 \begin_layout Standard
6324 El caso más sencillo es aquel en el que la nueva clase de documento se suministr
6325 a como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6326  Para nuestro ejemplo supondremos que el archivo de estilo se llama 
6327 \begin_inset Flex MenuItem
6328 status collapsed
6329
6330 \begin_layout Plain Layout
6331 myclass.sty
6332 \end_layout
6333
6334 \end_inset
6335
6336  y que se usará conjuntamente con 
6337 \begin_inset Flex MenuItem
6338 status collapsed
6339
6340 \begin_layout Plain Layout
6341 report.cls
6342 \end_layout
6343
6344 \end_inset
6345
6346 , que es una clase estándar.
6347 \end_layout
6348
6349 \begin_layout Standard
6350 Empieza por copiar el archivo `layout' existente en tu directorio local:
6351 \begin_inset Foot
6352 status collapsed
6353
6354 \begin_layout Plain Layout
6355 Evidentemente, cuál es tu directorio local variará según la plataforma,
6356  y además LyX permite especificarlo al inicio usando la opción 
6357 \begin_inset Flex Code
6358 status collapsed
6359
6360 \begin_layout Plain Layout
6361 -userdir
6362 \end_layout
6363
6364 \end_inset
6365
6366 .
6367 \end_layout
6368
6369 \end_inset
6370
6371
6372 \end_layout
6373
6374 \begin_layout LyX-Code
6375 cp report.layout ~/.lyx/layouts/myclass.layout
6376 \end_layout
6377
6378 \begin_layout Standard
6379 Después edita 
6380 \begin_inset Flex Code
6381 status collapsed
6382
6383 \begin_layout Plain Layout
6384 myclass.layout
6385 \end_layout
6386
6387 \end_inset
6388
6389  y cambia la línea: 
6390 \end_layout
6391
6392 \begin_layout LyX-Code
6393
6394 \backslash
6395 DeclareLaTeXClass{report}
6396 \end_layout
6397
6398 \begin_layout Standard
6399 por la línea
6400 \end_layout
6401
6402 \begin_layout LyX-Code
6403
6404 \backslash
6405 DeclareLaTeXClass[report, myclass.sty]{report (myclass)}
6406 \end_layout
6407
6408 \begin_layout Standard
6409 Después añade:
6410 \end_layout
6411
6412 \begin_layout LyX-Code
6413 Preamble 
6414 \begin_inset Newline newline
6415 \end_inset
6416
6417     
6418 \backslash
6419 usepackage{myclass}
6420 \begin_inset Newline newline
6421 \end_inset
6422
6423 EndPreamble
6424 \end_layout
6425
6426 \begin_layout Standard
6427 cerca del principio del archivo.
6428 \end_layout
6429
6430 \begin_layout Standard
6431 Inicia LyX y selecciona 
6432 \begin_inset Flex MenuItem
6433 status collapsed
6434
6435 \begin_layout Plain Layout
6436 Herramientas\SpecialChar \menuseparator
6437 Reconfigurar
6438 \end_layout
6439
6440 \end_inset
6441
6442 .
6443  Después reinicia LyX y haz una prueba con un documento nuevo.
6444  En el diálogo 
6445 \begin_inset Flex MenuItem
6446 status collapsed
6447
6448 \begin_layout Plain Layout
6449 Documento\SpecialChar \menuseparator
6450 Configuración
6451 \end_layout
6452
6453 \end_inset
6454
6455  deberías ver 
6456 \begin_inset Quotes fld
6457 \end_inset
6458
6459
6460 \begin_inset Flex MenuItem
6461 status collapsed
6462
6463 \begin_layout Plain Layout
6464 report (myclass)
6465 \end_layout
6466
6467 \end_inset
6468
6469
6470 \begin_inset Quotes frd
6471 \end_inset
6472
6473  en la lista de clases de documento.
6474  Es probable que algunos de los comandos de secciones y demás en tu nueva
6475  clase funcionen de distinta manera a como lo hacen en la clase estándar
6476  —
6477 \begin_inset Flex Code
6478 status collapsed
6479
6480 \begin_layout Plain Layout
6481 report
6482 \end_layout
6483
6484 \end_inset
6485
6486  en este ejemplo—, de modo que si quieres, ahora puedes enredar un rato
6487  con los ajustes de las distintas secciones.
6488  La información del formato de las secciones se encuentra en 
6489 \begin_inset Flex Code
6490 status collapsed
6491
6492 \begin_layout Plain Layout
6493 stdsections.inc
6494 \end_layout
6495
6496 \end_inset
6497
6498 , pero no necesitas copiar ni cambiar este archivo.
6499  Simplemente añade tus cambios a tu archivo `layout' después de la línea
6500  
6501 \begin_inset Flex Code
6502 status collapsed
6503
6504 \begin_layout Plain Layout
6505 Input stdclass.inc
6506 \end_layout
6507
6508 \end_inset
6509
6510 , que incluye 
6511 \begin_inset Flex Code
6512 status collapsed
6513
6514 \begin_layout Plain Layout
6515 stdsections.inc
6516 \end_layout
6517
6518 \end_inset
6519
6520 .
6521  Por ejemplo, podrías añadir estas líneas:
6522 \end_layout
6523
6524 \begin_layout LyX-Code
6525 Style Chapter
6526 \end_layout
6527
6528 \begin_layout LyX-Code
6529     Font
6530 \end_layout
6531
6532 \begin_layout LyX-Code
6533         Family Sans
6534 \end_layout
6535
6536 \begin_layout LyX-Code
6537     EndFont
6538 \end_layout
6539
6540 \begin_layout LyX-Code
6541 End
6542 \end_layout
6543
6544 \begin_layout Standard
6545 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6546  Esto sobrescribirá (o, en este caso, añadirá) la declaración para el estilo
6547  Capítulo.
6548  
6549 \end_layout
6550
6551 \begin_layout Standard
6552 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes
6553  en la clase base.
6554  En este caso, los añadirás al archivo `layout'.
6555  Véase sección
6556 \begin_inset space ~
6557 \end_inset
6558
6559
6560 \begin_inset CommandInset ref
6561 LatexCommand ref
6562 reference "sec:Estructura-del-archivo-layout"
6563
6564 \end_inset
6565
6566  para información sobre cómo hacerlo.
6567 \end_layout
6568
6569 \begin_layout Standard
6570 Si 
6571 \begin_inset Flex MenuItem
6572 status collapsed
6573
6574 \begin_layout Plain Layout
6575 myclass.sty
6576 \end_layout
6577
6578 \end_inset
6579
6580  se puede usar con diferentes clases de documento, e incluso si no es así,
6581  lo más sencillo sería escribir un módulo que puedes cargar con la clase
6582  base.
6583  El módulo más simple posible podría ser:
6584 \end_layout
6585
6586 \begin_layout LyX-Code
6587 #
6588 \backslash
6589 DeclareLyXModule{My Package} 
6590 \end_layout
6591
6592 \begin_layout LyX-Code
6593 #DescriptionBegin 
6594 \end_layout
6595
6596 \begin_layout LyX-Code
6597 #Support for mypkg.sty.
6598 \end_layout
6599
6600 \begin_layout LyX-Code
6601 #DescriptionEnd 
6602 \begin_inset Newline newline
6603 \end_inset
6604
6605
6606 \end_layout
6607
6608 \begin_layout LyX-Code
6609 Format 35
6610 \begin_inset Newline newline
6611 \end_inset
6612
6613
6614 \end_layout
6615
6616 \begin_layout LyX-Code
6617 Preamble
6618 \begin_inset Newline newline
6619 \end_inset
6620
6621     
6622 \backslash
6623 usepackage{mypkg}
6624 \begin_inset Newline newline
6625 \end_inset
6626
6627 EndPreamble
6628 \end_layout
6629
6630 \begin_layout Standard
6631 Un módulo más complejo podría modificar el comportamiento de alguna estructura
6632  ya existente o definir algunas nuevas.
6633  De nuevo te remitimos a sección
6634 \begin_inset space ~
6635 \end_inset
6636
6637
6638 \begin_inset CommandInset ref
6639 LatexCommand ref
6640 reference "sec:Estructura-del-archivo-layout"
6641
6642 \end_inset
6643
6644  para los detalles.
6645 \end_layout
6646
6647 \begin_layout Subsection
6648 Formato para archivos 
6649 \begin_inset Flex MenuItem
6650 status collapsed
6651
6652 \begin_layout Plain Layout
6653 .cls
6654 \end_layout
6655
6656 \end_inset
6657
6658
6659 \end_layout
6660
6661 \begin_layout Standard
6662 En este caso hay dos opciones.
6663  Una, que el archivo de clase esté él mismo basado en una clase de documento
6664  existente.
6665  Por ejemplo, muchas clases de tesis están basadas en 
6666 \begin_inset Flex MenuItem
6667 status collapsed
6668
6669 \begin_layout Plain Layout
6670 book.cls
6671 \end_layout
6672
6673 \end_inset
6674
6675 .
6676  Para ver si el tuyo lo está, busca una línea parecida a
6677 \end_layout
6678
6679 \begin_layout LyX-Code
6680
6681 \backslash
6682 LoadClass{book}
6683 \end_layout
6684
6685 \begin_layout Standard
6686 en el archivo.
6687  Si está, entonces puedes proceder en gran parte como en la sección anterior,
6688  aunque la línea DeclareLaTeXClass será diferente.
6689  Si tu nueva clase es tesis y está basada en book, la línea debería poner:
6690 \begin_inset Foot
6691 status collapsed
6692
6693 \begin_layout Plain Layout
6694 Y será mucho más fácil si guardas el archivo como 
6695 \begin_inset Flex Code
6696 status collapsed
6697
6698 \begin_layout Plain Layout
6699 thesis.layout
6700 \end_layout
6701
6702 \end_inset
6703
6704 : LyX supone que la clase de documento tiene el mismo nombre que el archivo
6705  de formato.
6706  
6707 \end_layout
6708
6709 \end_inset
6710
6711
6712 \end_layout
6713
6714 \begin_layout LyX-Code
6715
6716 \backslash
6717 DeclareLaTeXClass[thesis,book]{thesis}
6718 \end_layout
6719
6720 \begin_layout Standard
6721 Si, por el contrario, la nueva clase no está basada en una ya existente,
6722  probablemente tendrás que ir pensando en tu propio formato.
6723  Recomendamos firmemente copiar un archivo de formato existente que use
6724  una clase de LaTeX parecida y modificarlo, si es posible.
6725  O al menos, usa un archivo existente como punto de partida para ver qué
6726  items son los que te deben preocupar.
6727  Los detalles se discuten a continuación.
6728 \end_layout
6729
6730 \begin_layout Subsection
6731 Creación de plantillas
6732 \begin_inset CommandInset label
6733 LatexCommand label
6734 name "sub:Creación-de-plantillas"
6735
6736 \end_inset
6737
6738
6739 \end_layout
6740
6741 \begin_layout Standard
6742 Una vez escrito un archivo de formato para una clase nueva de documento,
6743  podrías pensar en escribir además una 
6744 \emph on
6745 plantilla
6746 \emph default
6747  para ella.
6748  Una plantilla funciona como una especie de tutorial para tu formato, mostrando
6749  cómo podría usarse, aunque sea con contenido irrelevante.
6750  Naturalmente, puedes echar un vistazo a las plantillas incluidas en LyX
6751  para obtener ideas.
6752 \end_layout
6753
6754 \begin_layout Standard
6755 Las plantillas se crean exactamente igual que un documento normal: usando
6756  LyX.
6757  La única diferencia es que los documentos corrientes tienen todos los ajustes
6758  posibles, incluso el esquema de tipografías y el tamaño del papel.
6759  Generalmente, un usuario no desea que una plantilla sobrescriba sus ajustes
6760  preferidos para dichos parámetros.
6761  Por esta razón, el diseñador de una plantilla debería quitar comandos como
6762  
6763 \begin_inset Flex Code
6764 status collapsed
6765
6766 \begin_layout Plain Layout
6767
6768 \backslash
6769 font_roman
6770 \end_layout
6771
6772 \end_inset
6773
6774  o 
6775 \begin_inset Flex Code
6776 status collapsed
6777
6778 \begin_layout Plain Layout
6779
6780 \backslash
6781 papersize
6782 \end_layout
6783
6784 \end_inset
6785
6786  de los archivos de plantillas de LyX.
6787  Esto se puede hacer con cualquier editor de texto sencillo, por ejemplo
6788  
6789 \begin_inset Flex Code
6790 status collapsed
6791
6792 \begin_layout Plain Layout
6793 vi
6794 \end_layout
6795
6796 \end_inset
6797
6798  o 
6799 \begin_inset Flex Code
6800 status collapsed
6801
6802 \begin_layout Plain Layout
6803 notepad
6804 \end_layout
6805
6806 \end_inset
6807
6808 .
6809  
6810 \end_layout
6811
6812 \begin_layout Standard
6813 Los archivos editados de plantillas que has creado se ubican en 
6814 \begin_inset Flex Code
6815 status collapsed
6816
6817 \begin_layout Plain Layout
6818 UserDir/templates/
6819 \end_layout
6820
6821 \end_inset
6822
6823 , copia los que uses del directorio global de plantillas en 
6824 \begin_inset Flex Code
6825 status collapsed
6826
6827 \begin_layout Plain Layout
6828 LyXDir/templates/
6829 \end_layout
6830
6831 \end_inset
6832
6833  al mismo sitio y redefine la ruta a las plantillas en el diálogo 
6834 \begin_inset Flex MenuItem
6835 status collapsed
6836
6837 \begin_layout Plain Layout
6838 Herramientas\SpecialChar \menuseparator
6839 Preferencias\SpecialChar \menuseparator
6840 Rutas
6841 \end_layout
6842
6843 \end_inset
6844
6845 .
6846 \end_layout
6847
6848 \begin_layout Standard
6849 De paso advertiremos que hay una plantilla, 
6850 \begin_inset Flex Code
6851 status collapsed
6852
6853 \begin_layout Plain Layout
6854 defaults.lyx
6855 \end_layout
6856
6857 \end_inset
6858
6859 , que tiene un papel especial: esta plantilla se carga cada vez que abres
6860  un documento nuevo con 
6861 \begin_inset Flex MenuItem
6862 status collapsed
6863
6864 \begin_layout Plain Layout
6865 Archivo\SpecialChar \menuseparator
6866 Nuevo
6867 \end_layout
6868
6869 \end_inset
6870
6871 , con el fin de proporcionar ajustes predeterminados por omisión.
6872  Para (re)crear esta plantilla desde dentro de LyX, lo que debes hacer es
6873  abrir un documento, establecer los ajustes deseados y usar el botón 
6874 \begin_inset Flex MenuItem
6875 status collapsed
6876
6877 \begin_layout Plain Layout
6878 Guardar como predeterminados
6879 \end_layout
6880
6881 \end_inset
6882
6883 .
6884 \end_layout
6885
6886 \begin_layout Subsection
6887 Actualización de antiguos archivos de formato
6888 \end_layout
6889
6890 \begin_layout Standard
6891 El formato de los archivos de formato cambia con cada nueva versión de LyX,
6892  de modo que los antiguos archivos de formato deben ser convertidos.
6893  Si LyX lee un archivo de formato con formato antiguo lanzará la herramienta
6894  de conversión 
6895 \begin_inset Flex Code
6896 status collapsed
6897
6898 \begin_layout Plain Layout
6899 layout2layout.py
6900 \end_layout
6901
6902 \end_inset
6903
6904 , que lo convierte a un archivo temporal con el formato actual.
6905  El archivo original se deja sin tocar.
6906  Si lo usas a menudo y lo quieres convertir permanentemente para evitar
6907  que LyX tenga que hacerlo cada vez, ejecuta el convertidor a mano:
6908 \end_layout
6909
6910 \begin_layout Enumerate
6911
6912 \lang english
6913 rename the file 
6914 \begin_inset Flex Code
6915 status collapsed
6916
6917 \begin_layout Plain Layout
6918
6919 \lang english
6920 myclass.layout
6921 \end_layout
6922
6923 \end_inset
6924
6925  to 
6926 \begin_inset Flex Code
6927 status collapsed
6928
6929 \begin_layout Plain Layout
6930
6931 \lang english
6932 myclass.old
6933 \end_layout
6934
6935 \end_inset
6936
6937
6938 \end_layout
6939
6940 \begin_layout Enumerate
6941
6942 \lang english
6943 Call the command
6944 \lang spanish
6945
6946 \begin_inset Newline newline
6947 \end_inset
6948
6949
6950 \begin_inset Flex Code
6951 status collapsed
6952
6953 \begin_layout Plain Layout
6954 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
6955 \end_layout
6956
6957 \end_inset
6958
6959
6960 \begin_inset Newline newline
6961 \end_inset
6962
6963
6964 \lang english
6965 where 
6966 \begin_inset Flex Code
6967 status collapsed
6968
6969 \begin_layout Plain Layout
6970
6971 \lang english
6972 LyXDir
6973 \end_layout
6974
6975 \end_inset
6976
6977  is
6978 \lang spanish
6979  el nombre de tu directorio LyX en el sistema.
6980 \end_layout
6981
6982 \begin_layout Standard
6983 La conversión manual no puede manejar archivos incluidos, así que estos
6984  tendrán que convertirse separadamente.
6985 \end_layout
6986
6987 \begin_layout Section
6988 Estructura del archivo `layout'
6989 \begin_inset CommandInset label
6990 LatexCommand label
6991 name "sec:Estructura-del-archivo-layout"
6992
6993 \end_inset
6994
6995
6996 \end_layout
6997
6998 \begin_layout Standard
6999 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar
7000  tu propio archivo de formato; las siguientes secciones describen aquello
7001  a lo que te vas a enfrentar.
7002  Nuestro consejo es ir despacito, probando y guardando a menudo.
7003  En realidad no es para tanto, pero la multitud de opciones puede llegar
7004  a abrumarte si intentas hacer muchas cosas a la vez.
7005  
7006 \lang english
7007 It becomes easier if you use existing layouts of LyX as examples/reference
7008  or if you modify an existing layout to your needs.
7009 \end_layout
7010
7011 \begin_layout Standard
7012 Todos los rótulos o etiquetas en los archivos de formato son insensibles
7013  a las mayúsculas; esto significa que 
7014 \begin_inset Flex Code
7015 status collapsed
7016
7017 \begin_layout Plain Layout
7018 Style
7019 \end_layout
7020
7021 \end_inset
7022
7023
7024 \begin_inset Flex Code
7025 status collapsed
7026
7027 \begin_layout Plain Layout
7028 style
7029 \end_layout
7030
7031 \end_inset
7032
7033  y 
7034 \begin_inset Flex Code
7035 status collapsed
7036
7037 \begin_layout Plain Layout
7038 StYlE
7039 \end_layout
7040
7041 \end_inset
7042
7043  son el mismo comando.
7044  Los valores posibles se imprimen entre corchetes detrás del nombre de la
7045  característica.
7046  Si en una descripción de una clase de texto no se especifica una característica
7047 , el valor por omisión se escribe en estilo 
7048 \begin_inset Flex Code
7049 status collapsed
7050
7051 \begin_layout Plain Layout
7052
7053 \emph on
7054 énfasis
7055 \end_layout
7056
7057 \end_inset
7058
7059 .
7060  Si el argumento tiene un tipo de dato como 
7061 \begin_inset Quotes fld
7062 \end_inset
7063
7064 string
7065 \begin_inset Quotes frd
7066 \end_inset
7067
7068  o 
7069 \begin_inset Quotes fld
7070 \end_inset
7071
7072 float
7073 \begin_inset Quotes frd
7074 \end_inset
7075
7076 , el valor por omisión se muestra de esta manera: 
7077 \begin_inset Flex Code
7078 status collapsed
7079
7080 \begin_layout Plain Layout
7081 float=
7082 \emph on
7083 default
7084 \end_layout
7085
7086 \end_inset
7087
7088 .
7089 \end_layout
7090
7091 \begin_layout Subsection
7092 Declaración de la clase de documento 
7093 \lang english
7094 and classification
7095 \end_layout
7096
7097 \begin_layout Standard
7098 Las líneas de un archivo de formato que empiezan con 
7099 \begin_inset Flex Code
7100 status collapsed
7101
7102 \begin_layout Plain Layout
7103 #
7104 \end_layout
7105
7106 \end_inset
7107
7108  son comentarios.
7109  Hay una excepción a esta regla: todos los formatos deben comenzar con líneas
7110  como:
7111 \end_layout
7112
7113 \begin_layout LyX-Code
7114
7115 \size small
7116 #% Do not delete the line below; configure depends on this
7117 \begin_inset Foot
7118 status collapsed
7119
7120 \begin_layout Plain Layout
7121
7122 \emph on
7123 N.
7124 \begin_inset space \thinspace{}
7125 \end_inset
7126
7127 del T.
7128 \emph default
7129 : No borrar la línea siguiente; la configuración depende de ella
7130 \end_layout
7131
7132 \end_inset
7133
7134
7135 \end_layout
7136
7137 \begin_layout LyX-Code
7138
7139 \size small
7140 #  
7141 \backslash
7142 DeclareLaT
7143 \size default
7144
7145 \begin_inset ERT
7146 status collapsed
7147
7148 \begin_layout Plain Layout
7149
7150 {}
7151 \end_layout
7152
7153 \end_inset
7154
7155
7156 \size small
7157 eXClass{Article (Standard Class)}
7158 \end_layout
7159
7160 \begin_layout LyX-Code
7161
7162 \size small
7163 #  
7164 \backslash
7165 DeclareCategory{Articles}
7166 \end_layout
7167
7168 \begin_layout Standard
7169 La segunda y 
7170 \lang english
7171 third
7172 \lang spanish
7173  línea se usan en la (re)configuración de LyX.
7174  El archivo `layout' es leido por el guión de LaTeX 
7175 \begin_inset Flex Code
7176 status collapsed
7177
7178 \begin_layout Plain Layout
7179 chkconfig.ltx
7180 \end_layout
7181
7182 \end_inset
7183
7184  de un modo especial tal que 
7185 \begin_inset Flex Code
7186 status collapsed
7187
7188 \begin_layout Plain Layout
7189 #
7190 \end_layout
7191
7192 \end_inset
7193
7194  se ignora.
7195  La primera línea es solo un comentario y la segunda contiene la declaración
7196  
7197 \lang english
7198 mandatory
7199 \lang spanish
7200  de la clase de texto
7201 \lang english
7202  and the third line contains the optional classification of the class
7203 \lang spanish
7204 .
7205  Si estas líneas aparecen en un archivo llamado 
7206 \begin_inset Flex Code
7207 status collapsed
7208
7209 \begin_layout Plain Layout
7210 article.layout
7211 \end_layout
7212
7213 \end_inset
7214
7215 , entonces definen una clase de texto de nombre 
7216 \begin_inset Flex Code
7217 status collapsed
7218
7219 \begin_layout Plain Layout
7220 article
7221 \end_layout
7222
7223 \end_inset
7224
7225  (el nombre del archivo de formato) que usa la clase de documento LaTeX
7226  
7227 \begin_inset Flex Code
7228 status collapsed
7229
7230 \begin_layout Plain Layout
7231 article.cls
7232 \end_layout
7233
7234 \end_inset
7235
7236  (por omisión se usa el mismo nombre para ambos).
7237  La palabra 
7238 \begin_inset Quotes fld
7239 \end_inset
7240
7241 Article (Standard Class)
7242 \begin_inset Quotes frd
7243 \end_inset
7244
7245  se utiliza como descripción de la clase de texto y es la que aparece en
7246  el diálogo 
7247 \begin_inset Flex MenuItem
7248 status collapsed
7249
7250 \begin_layout Plain Layout
7251 Documento\SpecialChar \menuseparator
7252 Configuración
7253 \end_layout
7254
7255 \end_inset
7256
7257 .
7258  
7259 \lang english
7260 The category (
7261 \begin_inset Quotes eld
7262 \end_inset
7263
7264 Articles
7265 \begin_inset Quotes erd
7266 \end_inset
7267
7268  in the example) is also used in the 
7269 \begin_inset Flex MenuItem
7270 status collapsed
7271
7272 \begin_layout Plain Layout
7273
7274 \lang english
7275 Document\SpecialChar \menuseparator
7276 Settings
7277 \end_layout
7278
7279 \end_inset
7280
7281  dialog: the text classes are grouped by these categories (which are usually
7282  genres, so typical categories are 
7283 \begin_inset Quotes eld
7284 \end_inset
7285
7286 Articles
7287 \begin_inset Quotes erd
7288 \end_inset
7289
7290
7291 \begin_inset Quotes eld
7292 \end_inset
7293
7294 Books
7295 \begin_inset Quotes erd
7296 \end_inset
7297
7298
7299 \begin_inset Quotes eld
7300 \end_inset
7301
7302 Reports
7303 \begin_inset Quotes erd
7304 \end_inset
7305
7306
7307 \begin_inset Quotes eld
7308 \end_inset
7309
7310 Letters
7311 \begin_inset Quotes erd
7312 \end_inset
7313
7314
7315 \begin_inset Quotes eld
7316 \end_inset
7317
7318 Presentations
7319 \begin_inset Quotes erd
7320 \end_inset
7321
7322
7323 \begin_inset Quotes eld
7324 \end_inset
7325
7326 Curricula Vitae
7327 \begin_inset Quotes erd
7328 \end_inset
7329
7330  etc.).
7331  If no category has been declared, the class will be put in the 
7332 \begin_inset Quotes eld
7333 \end_inset
7334
7335 Uncategorized
7336 \begin_inset Quotes erd
7337 \end_inset
7338
7339  group.
7340 \end_layout
7341
7342 \begin_layout Standard
7343 Supongamos que has escrito tu propia clase de texto, que utiliza la clase
7344  de documento 
7345 \begin_inset Flex Code
7346 status collapsed
7347
7348 \begin_layout Plain Layout
7349 article.cls
7350 \end_layout
7351
7352 \end_inset
7353
7354 , pero en la que has cambiado el aspecto de los encabezados de sección.
7355  Si lo pones en un archivo 
7356 \begin_inset Flex Code
7357 status collapsed
7358
7359 \begin_layout Plain Layout
7360 myarticle.layout
7361 \end_layout
7362
7363 \end_inset
7364
7365 , la cabecera de este archivo debería ser:
7366 \end_layout
7367
7368 \begin_layout LyX-Code
7369
7370 \size small
7371 #% Do not delete the line below; configure depends on this
7372 \end_layout
7373
7374 \begin_layout LyX-Code
7375
7376 \size small
7377 #  
7378 \backslash
7379 DeclareLaT
7380 \size default
7381
7382 \begin_inset ERT
7383 status collapsed
7384
7385 \begin_layout Plain Layout
7386
7387 {}
7388 \end_layout
7389
7390 \end_inset
7391
7392
7393 \size small
7394 eXClass[article]{Article (con Mis Encabezados)}
7395 \end_layout
7396
7397 \begin_layout LyX-Code
7398
7399 \size small
7400 #  
7401 \backslash
7402 DeclareCategory{Articles}
7403 \end_layout
7404
7405 \begin_layout Standard
7406 Esto declara la clase de texto 
7407 \begin_inset Flex Code
7408 status collapsed
7409
7410 \begin_layout Plain Layout
7411 myarticle
7412 \end_layout
7413
7414 \end_inset
7415
7416 , asociada con la clase de documento LaTeX 
7417 \begin_inset Flex Code
7418 status collapsed
7419
7420 \begin_layout Plain Layout
7421 article.cls
7422 \end_layout
7423
7424 \end_inset
7425
7426 , y cuya descripción es 
7427 \begin_inset Quotes fld
7428 \end_inset
7429
7430 Article (con Mis Encabezados)
7431 \begin_inset Quotes frd
7432 \end_inset
7433
7434 .
7435  Si la clase de texto depende de varios paquetes, puedes declararla así:
7436 \end_layout
7437
7438 \begin_layout LyX-Code
7439
7440 \size small
7441 #% Do not delete the line below; configure depends on this
7442 \end_layout
7443
7444 \begin_layout LyX-Code
7445
7446 \size small
7447 #  
7448 \backslash
7449 DeclareLaT
7450 \size default
7451
7452 \begin_inset ERT
7453 status collapsed
7454
7455 \begin_layout Plain Layout
7456
7457 {}
7458 \end_layout
7459
7460 \end_inset
7461
7462
7463 \size small
7464 eXClass[article,foo.sty]{Article (con Mis Encabezados)}
7465 \end_layout
7466
7467 \begin_layout LyX-Code
7468
7469 \size small
7470 #  
7471 \backslash
7472 DeclareCategory{Articles}
7473 \end_layout
7474
7475 \begin_layout Standard
7476 Esto indica que la clase de texto utiliza el paquete foo.sty.
7477  Finalmente, también es posible declarar clases para código DocBook.
7478  Una declaración típica podría ser:
7479 \end_layout
7480
7481 \begin_layout LyX-Code
7482
7483 \size small
7484 #% Do not delete the line below; configure depends on this
7485 \end_layout
7486
7487 \begin_layout LyX-Code
7488
7489 \size small
7490
7491 \backslash
7492 DeclareDocBookClass[article]{SGML (DocBook Article)}
7493 \end_layout
7494
7495 \begin_layout LyX-Code
7496
7497 \size small
7498 #  
7499 \backslash
7500 DeclareCategory{Articles}
7501 \end_layout
7502
7503 \begin_layout Standard
7504 Anotar que estas declaraciones pueden llevar también un parámetro opcional
7505  que declare el nombre de la clase de documento (pero no una lista).
7506 \end_layout
7507
7508 \begin_layout Standard
7509 Así, para ser lo más explícito posible, la forma de la declaración del formato
7510  es:
7511 \end_layout
7512
7513 \begin_layout LyX-Code
7514
7515 \size small
7516 #  
7517 \backslash
7518 DeclareLaT
7519 \size default
7520
7521 \begin_inset ERT
7522 status collapsed
7523
7524 \begin_layout Plain Layout
7525
7526 {}
7527 \end_layout
7528
7529 \end_inset
7530
7531
7532 \size small
7533 eXClass[class,package.sty]{descripción del formato}
7534 \end_layout
7535
7536 \begin_layout LyX-Code
7537
7538 \size small
7539 #  
7540 \backslash
7541 DeclareCategory{
7542 \lang english
7543 category
7544 \lang spanish
7545 }
7546 \end_layout
7547
7548 \begin_layout Standard
7549 La clase solo debe especificarse si el nombre de archivo de la clase LaTeX
7550  y el nombre de archivo del formato son diferentes; si el nombre del archivo
7551  de clase no se especifica, LyX simplemente supondrá que es el mismo que
7552  el del archivo de formato.
7553 \end_layout
7554
7555 \begin_layout Standard
7556 Cuando la clase de texto se ha modificado según tus necesidades, lo que
7557  debes hacer es copiarla a 
7558 \begin_inset Flex Code
7559 status collapsed
7560
7561 \begin_layout Plain Layout
7562 LyXDir/layouts/
7563 \end_layout
7564
7565 \end_inset
7566
7567  o a 
7568 \begin_inset Flex Code
7569 status collapsed
7570
7571 \begin_layout Plain Layout
7572 UserDir/layouts
7573 \end_layout
7574
7575 \end_inset
7576
7577 , ejecutar 
7578 \begin_inset Flex MenuItem
7579 status collapsed
7580
7581 \begin_layout Plain Layout
7582 Herramientas\SpecialChar \menuseparator
7583 Reconfigurar
7584 \end_layout
7585
7586 \end_inset
7587
7588 , y reiniciar LyX.
7589  Ahora la nueva clase de texto debería estar disponible junto con las demás.
7590 \end_layout
7591
7592 \begin_layout Standard
7593 Una vez instalado el `layout', puedes editarlo y ver los cambios sin tener
7594  que reconfigurar ni reiniciar LyX.
7595  
7596 \begin_inset Foot
7597 status collapsed
7598
7599 \begin_layout Plain Layout
7600 En versiones de LyX anteriores a 1.6 no era así.
7601  Como resultado, la edición de archivos de formato podía llevar mucho tiempo,
7602  pues constantemente había que reconfigurar y reiniciar.
7603 \end_layout
7604
7605 \end_inset
7606
7607  Se puede forzar la recarga del formato en uso mediante la función LyX 
7608 \begin_inset Flex MenuItem
7609 status collapsed
7610
7611 \begin_layout Plain Layout
7612 layout-reload
7613 \end_layout
7614
7615 \end_inset
7616
7617 .
7618  No hay atajo predeterminado para esta función —aunque por supuesto, puedes
7619  asociarle tú mismo una secuencia de teclas—.
7620  Normalmente usarás esta función introduciéndola simplemente en el 
7621 \emph on
7622 mini-buffer
7623 \emph default
7624 .
7625  
7626 \end_layout
7627
7628 \begin_layout Standard
7629
7630 \emph on
7631 Aviso
7632 \emph default
7633 : Esto es mucho más que una 
7634 \begin_inset Quotes fld
7635 \end_inset
7636
7637 característica avanzada
7638 \begin_inset Quotes frd
7639 \end_inset
7640
7641 .
7642  Es 
7643 \emph on
7644 muy
7645 \emph default
7646  recomendable que no intentes editar tu formato mientras estés trabajando
7647  en un documento importante.
7648  Usa un documento de prueba.
7649  Los errores sintácticos y similares en tu archivo de formato podrían provocar
7650  comportamientos extraños.
7651  En particular, tales errores podrían provocar que LyX vea el formato actual
7652  como inválido e intente cambiar a algún otro.
7653 \begin_inset Foot
7654 status collapsed
7655
7656 \begin_layout Plain Layout
7657 En realidad, los errores en la sintaxis pueden causar incluso el cierre
7658  de LyX, porque ciertos tipos de error pueden hacer que LyX sea incapaz
7659  de leer 
7660 \emph on
7661 cualquier
7662 \emph default
7663  información de formato.
7664  Por favor ten cuidado.
7665 \end_layout
7666
7667 \end_inset
7668
7669  El equipo LyX procura que LyX se mantenga estable en estos casos, pero
7670  es mejor prevenir que curar.
7671 \begin_inset Foot
7672 status collapsed
7673
7674 \begin_layout Plain Layout
7675 De todos modos, haz copias de seguridad regularmente.
7676  Y sé bueno con mamá.
7677  
7678 \end_layout
7679
7680 \end_inset
7681
7682
7683 \end_layout
7684
7685 \begin_layout Subsection
7686 Declaración de un módulo
7687 \end_layout
7688
7689 \begin_layout Standard
7690 Un módulo debe empezar con una línea como la siguiente:
7691 \end_layout
7692
7693 \begin_layout LyX-Code
7694 #
7695 \backslash
7696 DeclareL
7697 \begin_inset ERT
7698 status collapsed
7699
7700 \begin_layout Plain Layout
7701
7702 {}
7703 \end_layout
7704
7705 \end_inset
7706
7707 yXModule[endnotes.sty]{Endnotes} 
7708 \end_layout
7709
7710 \begin_layout Standard
7711 El argumento imprescindible es, entre llaves, el nombre del módulo tal como
7712  deberá aparecer en 
7713 \begin_inset Flex MenuItem
7714 status collapsed
7715
7716 \begin_layout Plain Layout
7717 Documento\SpecialChar \menuseparator
7718 Configuración\SpecialChar \menuseparator
7719 Módulos
7720 \end_layout
7721
7722 \end_inset
7723
7724 .
7725  El argumento entre corchetes es opcional: declara cualesquiera paquetes
7726  LaTeX de los que depende el módulo.
7727  También es posible usar la forma 
7728 \begin_inset Flex MenuItem
7729 status collapsed
7730
7731 \begin_layout Plain Layout
7732 from->to
7733 \end_layout
7734
7735 \end_inset
7736
7737  como argumento opcional, que declara que el módulo solo puede usarse cuando
7738  existe una cadena de conversión entre los formatos `
7739 \begin_inset Flex Code
7740 status collapsed
7741
7742 \begin_layout Plain Layout
7743 from
7744 \end_layout
7745
7746 \end_inset
7747
7748 ' y `
7749 \begin_inset Flex Code
7750 status collapsed
7751
7752 \begin_layout Plain Layout
7753 to
7754 \end_layout
7755
7756 \end_inset
7757
7758 '.
7759 \end_layout
7760
7761 \begin_layout Standard
7762 La declaración del módulo debe proseguir con líneas como las siguientes:
7763 \begin_inset Foot
7764 status collapsed
7765
7766 \begin_layout Plain Layout
7767 Preferiblemente en inglés si el módulo se va a publicar en LyX.
7768  Esta descripción aparecerá en la lista de mensajes para ser traducidos
7769  en la siguiente actualización de la interfaz.
7770 \end_layout
7771
7772 \end_inset
7773
7774
7775 \end_layout
7776
7777 \begin_layout LyX-Code
7778 #DescriptionBegin 
7779 \end_layout
7780
7781 \begin_layout LyX-Code
7782 #Adds an endnote command, in addition to footnotes.
7783  
7784 \end_layout
7785
7786 \begin_layout LyX-Code
7787 #You will need to add  
7788 \backslash
7789 theendnotes in TeX code where you 
7790 \end_layout
7791
7792 \begin_layout LyX-Code
7793 #want the endnotes to appear.
7794  
7795 \end_layout
7796
7797 \begin_layout LyX-Code
7798 #DescriptionEnd 
7799 \end_layout
7800
7801 \begin_layout LyX-Code
7802 #Requires: somemodule | othermodule
7803 \end_layout
7804
7805 \begin_layout LyX-Code
7806 #Excludes: badmodule
7807 \end_layout
7808
7809 \begin_layout Standard
7810 La descripción se usa en 
7811 \begin_inset Flex MenuItem
7812 status collapsed
7813
7814 \begin_layout Plain Layout
7815 Documento\SpecialChar \menuseparator
7816 Configuración\SpecialChar \menuseparator
7817 Módulos
7818 \end_layout
7819
7820 \end_inset
7821
7822  para proporcionar al usuario información sobre las acciones del módulo.
7823  La línea 
7824 \begin_inset Flex Code
7825 status collapsed
7826
7827 \begin_layout Plain Layout
7828 Requires
7829 \end_layout
7830
7831 \end_inset
7832
7833  sirve para identificar otros módulos con los que se debe usar este; la
7834  línea 
7835 \begin_inset Flex Code
7836 status collapsed
7837
7838 \begin_layout Plain Layout
7839 Excludes
7840 \end_layout
7841
7842 \end_inset
7843
7844  identifica los módulos con los que este no se puede usar.
7845  Ambas son opcionales, y, como se ve, varios módulos deben separarse con
7846  el símbolo tubería: |.
7847  Anotar que los módulos requeridos se tratan de forma disyuntiva: debe usarse
7848  
7849 \emph on
7850 al menos uno
7851 \emph default
7852  de los módulos requeridos.
7853  Y no se puede usar 
7854 \emph on
7855 ningún
7856 \emph default
7857  módulo excluido.
7858  Aquí, los módulos se identifican por sus nombres de archivo sin la extensión
7859  
7860 \begin_inset Flex Code
7861 status collapsed
7862
7863 \begin_layout Plain Layout
7864 .module
7865 \end_layout
7866
7867 \end_inset
7868
7869 .
7870  Por tanto, 
7871 \begin_inset Flex Code
7872 status collapsed
7873
7874 \begin_layout Plain Layout
7875 somemodule
7876 \end_layout
7877
7878 \end_inset
7879
7880  es realmente 
7881 \begin_inset Flex Code
7882 status collapsed
7883
7884 \begin_layout Plain Layout
7885 somemodule.module
7886 \end_layout
7887
7888 \end_inset
7889
7890 .
7891 \end_layout
7892
7893 \begin_layout Subsection
7894 Número de formatoLa primera línea no comentada de cualquier archivo `layout',
7895  `inc' o `module' 
7896 \emph on
7897 debe
7898 \emph default
7899  contener el número de formato del archivo:
7900 \end_layout
7901
7902 \begin_layout Description
7903 \begin_inset Flex Code
7904 status collapsed
7905
7906 \begin_layout Plain Layout
7907 Format
7908 \end_layout
7909
7910 \end_inset
7911
7912  [
7913 \begin_inset Flex Code
7914 status collapsed
7915
7916 \begin_layout Plain Layout
7917 int
7918 \end_layout
7919
7920 \end_inset
7921
7922 ] El número de formato del archivo `layout'.
7923 \end_layout
7924
7925 \begin_layout Standard
7926 Esta etiqueta se introdujo en LyX
7927 \begin_inset space ~
7928 \end_inset
7929
7930 1.4.0.
7931  Los archivos de formato de LyX
7932 \begin_inset space ~
7933 \end_inset
7934
7935 1.3.x y anteriores no tienen un número explícito y se considera de 
7936 \begin_inset Flex Code
7937 status collapsed
7938
7939 \begin_layout Plain Layout
7940 Format
7941 \begin_inset space ~
7942 \end_inset
7943
7944 1
7945 \end_layout
7946
7947 \end_inset
7948
7949 .
7950  El número para la versión actual de LyX es formato 35.
7951  Cada versión de LyX es capaz de leer los formatos de versiones anteriores,
7952  de la misma forma que puede leer archivos producidos con versiones de LyX
7953  anteriores.
7954  Sin embargo, no está previsto convertir a formatos anteriores.
7955 \end_layout
7956
7957 \begin_layout Subsection
7958 Parámetros generales de clases de texto
7959 \begin_inset CommandInset label
7960 LatexCommand label
7961 name "sub:Parámetros-generales-clases"
7962
7963 \end_inset
7964
7965
7966 \end_layout
7967
7968 \begin_layout Standard
7969 Estos son los parámetros generales que describen completamente una clase
7970  de documento.
7971  (Esto 
7972 \emph on
7973 no
7974 \emph default
7975  significa que deban aparecer en archivos 
7976 \begin_inset Flex Code
7977 status collapsed
7978
7979 \begin_layout Plain Layout
7980 .layout
7981 \end_layout
7982
7983 \end_inset
7984
7985  en vez de en módulos.
7986  Un módulo puede contener cualquier etiqueta de formato).
7987 \end_layout
7988
7989 \begin_layout Description
7990 \begin_inset Flex Code
7991 status collapsed
7992
7993 \begin_layout Plain Layout
7994 AddToHTMLPreamble
7995 \end_layout
7996
7997 \end_inset
7998
7999  Añade información para el bloque 
8000 \begin_inset Flex Code
8001 status collapsed
8002
8003 \begin_layout Plain Layout
8004 <head>
8005 \end_layout
8006
8007 \end_inset
8008
8009  cuando el documento se exporte a XHTML.
8010  Típicamente, debería usarse para exportar información de estilo CSS, aunque
8011  se puede usar para cualquier cosa que pueda aparecer en 
8012 \begin_inset Flex Code
8013 status collapsed
8014
8015 \begin_layout Plain Layout
8016 <head>
8017 \end_layout
8018
8019 \end_inset
8020
8021 .
8022  Debe acabar con 
8023 \begin_inset Quotes eld
8024 \end_inset
8025
8026
8027 \begin_inset Flex Code
8028 status collapsed
8029
8030 \begin_layout Plain Layout
8031 EndPreamble
8032 \end_layout
8033
8034 \end_inset
8035
8036
8037 \begin_inset Quotes erd
8038 \end_inset
8039
8040 .
8041 \end_layout
8042
8043 \begin_layout Description
8044 \begin_inset Flex Code
8045 status collapsed
8046
8047 \begin_layout Plain Layout
8048 AddToPreamble
8049 \end_layout
8050
8051 \end_inset
8052
8053  Añade información al preámbulo del documento.
8054  Debe terminar con 
8055 \begin_inset Quotes fld
8056 \end_inset
8057
8058
8059 \begin_inset Flex Code
8060 status collapsed
8061
8062 \begin_layout Plain Layout
8063 EndPreamble
8064 \end_layout
8065
8066 \end_inset
8067
8068
8069 \begin_inset Quotes frd
8070 \end_inset
8071
8072 .
8073 \end_layout
8074
8075 \begin_layout Description
8076 \begin_inset Flex Code
8077 status collapsed
8078
8079 \begin_layout Plain Layout
8080 CiteFormat
8081 \end_layout
8082
8083 \end_inset
8084
8085  Define formatos a usar en la presentación de información bibliográfica.
8086  Véase la sección
8087 \begin_inset space ~
8088 \end_inset
8089
8090
8091 \begin_inset CommandInset ref
8092 LatexCommand ref
8093 reference "sub:Descripción-formato-cita"
8094
8095 \end_inset
8096
8097  para detalles.
8098  Debe terminar con 
8099 \begin_inset Quotes eld
8100 \end_inset
8101
8102
8103 \begin_inset Flex Code
8104 status collapsed
8105
8106 \begin_layout Plain Layout
8107 End
8108 \end_layout
8109
8110 \end_inset
8111
8112
8113 \begin_inset Quotes erd
8114 \end_inset
8115
8116 .
8117 \end_layout
8118
8119 \begin_layout Description
8120 \begin_inset Flex Code
8121 status collapsed
8122
8123 \begin_layout Plain Layout
8124 ClassOptions
8125 \end_layout
8126
8127 \end_inset
8128
8129  Describe varias opciones globales soportadas por la clase de documento.
8130  Véase la sección
8131 \begin_inset space ~
8132 \end_inset
8133
8134
8135 \begin_inset CommandInset ref
8136 LatexCommand ref
8137 reference "sub:ClassOptions"
8138
8139 \end_inset
8140
8141  para una descripción.
8142  Debe terminar con 
8143 \begin_inset Quotes fld
8144 \end_inset
8145
8146
8147 \begin_inset Flex Code
8148 status collapsed
8149
8150 \begin_layout Plain Layout
8151 End
8152 \end_layout
8153
8154 \end_inset
8155
8156
8157 \begin_inset Quotes frd
8158 \end_inset
8159
8160 .
8161 \end_layout
8162
8163 \begin_layout Description
8164 \begin_inset Flex Code
8165 status collapsed
8166
8167 \begin_layout Plain Layout
8168 Columns
8169 \end_layout
8170
8171 \end_inset
8172
8173  [
8174 \begin_inset Flex Code
8175 status collapsed
8176
8177 \begin_layout Plain Layout
8178
8179 \emph on
8180 1
8181 \end_layout
8182
8183 \end_inset
8184
8185 ,
8186 \begin_inset space \thinspace{}
8187 \end_inset
8188
8189
8190 \begin_inset Flex Code
8191 status collapsed
8192
8193 \begin_layout Plain Layout
8194 2
8195 \end_layout
8196
8197 \end_inset
8198
8199 ] Establece el número de columnas por omisión.
8200  Se puede cambiar en el diálogo 
8201 \begin_inset Flex MenuItem
8202 status collapsed
8203
8204 \begin_layout Plain Layout
8205 Documento\SpecialChar \menuseparator
8206 Configuración
8207 \end_layout
8208
8209 \end_inset
8210
8211 .
8212 \end_layout
8213
8214 \begin_layout Description
8215 \begin_inset Flex Code
8216 status collapsed
8217
8218 \begin_layout Plain Layout
8219 Counter
8220 \end_layout
8221
8222 \end_inset
8223
8224  Esta secuencia define un nuevo contador.
8225  Véase la sección
8226 \begin_inset space ~
8227 \end_inset
8228
8229
8230 \begin_inset CommandInset ref
8231 LatexCommand ref
8232 reference "sub:Contadores"
8233
8234 \end_inset
8235
8236  para detalles.
8237  Debe terminar con 
8238 \begin_inset Quotes fld
8239 \end_inset
8240
8241
8242 \begin_inset Flex Code
8243 status collapsed
8244
8245 \begin_layout Plain Layout
8246 End
8247 \end_layout
8248
8249 \end_inset
8250
8251
8252 \begin_inset Quotes frd
8253 \end_inset
8254
8255 .
8256 \end_layout
8257
8258 \begin_layout Description
8259 \begin_inset Flex Code
8260 status collapsed
8261
8262 \begin_layout Plain Layout
8263 DefaultFont
8264 \end_layout
8265
8266 \end_inset
8267
8268  Establece la tipografía por omisión para presentar el documento.
8269  Véase la sección
8270 \begin_inset space ~
8271 \end_inset
8272
8273
8274 \begin_inset CommandInset ref
8275 LatexCommand ref
8276 reference "sub:Tipografías"
8277
8278 \end_inset
8279
8280  para cómo declarar tipografías.
8281  Debe terminar con 
8282 \begin_inset Quotes fld
8283 \end_inset
8284
8285
8286 \begin_inset Flex Code
8287 status collapsed
8288
8289 \begin_layout Plain Layout
8290 EndFont
8291 \end_layout
8292
8293 \end_inset
8294
8295
8296 \begin_inset Quotes frd
8297 \end_inset
8298
8299 .
8300 \end_layout
8301
8302 \begin_layout Description
8303 \begin_inset Flex Code
8304 status collapsed
8305
8306 \begin_layout Plain Layout
8307 DefaultModule
8308 \end_layout
8309
8310 \end_inset
8311
8312  [
8313 \begin_inset Flex Code
8314 status collapsed
8315
8316 \begin_layout Plain Layout
8317 <módulo>
8318 \end_layout
8319
8320 \end_inset
8321
8322 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
8323  deberá declararse por su nombre de archivo sin la extensión 
8324 \begin_inset Flex Code
8325 status collapsed
8326
8327 \begin_layout Plain Layout
8328 .module
8329 \end_layout
8330
8331 \end_inset
8332
8333 .
8334  El usuario puede, aún así, quitar el módulo, pero estará activo al principio.
8335  (Esto se aplica solo cuando se crean archivos nuevos, o si esta clase se
8336  elige para un documento existente.)
8337 \end_layout
8338
8339 \begin_layout Description
8340 \begin_inset Flex Code
8341 status collapsed
8342
8343 \begin_layout Plain Layout
8344 DefaultStyle
8345 \end_layout
8346
8347 \end_inset
8348
8349  [
8350 \begin_inset Flex Code
8351 status collapsed
8352
8353 \begin_layout Plain Layout
8354 <estilo>
8355 \end_layout
8356
8357 \end_inset
8358
8359 ] Este es el estilo que será asignado a párrafos nuevos, generalmente 
8360 \begin_inset Flex MenuItem
8361 status collapsed
8362
8363 \begin_layout Plain Layout
8364 Standard
8365 \end_layout
8366
8367 \end_inset
8368
8369 .
8370  Si no se especifica, se escogerá por omisión el primer estilo definido,
8371  pero es muy recomendable usar esta instrucción.
8372 \end_layout
8373
8374 \begin_layout Description
8375 \begin_inset Flex Code
8376 status collapsed
8377
8378 \begin_layout Plain Layout
8379 ExcludesModule
8380 \end_layout
8381
8382 \end_inset
8383
8384  [
8385 \begin_inset Flex Code
8386 status collapsed
8387
8388 \begin_layout Plain Layout
8389 <módulo>
8390 \end_layout
8391
8392 \end_inset
8393
8394 ] Indica que el módulo en cuestión (que debería especificarse por el nombre
8395  de archivo sin la extensión 
8396 \begin_inset Flex Code
8397 status collapsed
8398
8399 \begin_layout Plain Layout
8400 .module
8401 \end_layout
8402
8403 \end_inset
8404
8405 ) no puede utilizarse con esta clase de documento.
8406  Esto podría usarse en un archivo de formato específico de una publicación
8407  para, digamos, impedir el empleo del módulo 
8408 \begin_inset Flex Code
8409 status collapsed
8410
8411 \begin_layout Plain Layout
8412 theorems-sec
8413 \end_layout
8414
8415 \end_inset
8416
8417 , que numera los teoremas y demás por secciones.
8418  Esta etiqueta 
8419 \emph on
8420 no
8421 \emph default
8422  puede utilizarse en un módulo.
8423  Los módulos tienen su propia forma de excluir otros módulos (véase
8424 \begin_inset space ~
8425 \end_inset
8426
8427
8428 \begin_inset CommandInset ref
8429 LatexCommand ref
8430 reference "sub:Módulos-de-formato"
8431
8432 \end_inset
8433
8434 ).
8435 \end_layout
8436
8437 \begin_layout Description
8438 \begin_inset Flex Code
8439 status collapsed
8440
8441 \begin_layout Plain Layout
8442 Float
8443 \end_layout
8444
8445 \end_inset
8446
8447  Define un nuevo flotante.
8448  Véase la sección
8449 \begin_inset space ~
8450 \end_inset
8451
8452
8453 \begin_inset CommandInset ref
8454 LatexCommand ref
8455 reference "sub:Flotantes"
8456
8457 \end_inset
8458
8459  para detalles.
8460  Debe terminar con 
8461 \begin_inset Quotes fld
8462 \end_inset
8463
8464
8465 \begin_inset Flex Code
8466 status collapsed
8467
8468 \begin_layout Plain Layout
8469 End
8470 \end_layout
8471
8472 \end_inset
8473
8474
8475 \begin_inset Quotes frd
8476 \end_inset
8477
8478 .
8479 \end_layout
8480
8481 \begin_layout Description
8482 \begin_inset Flex Code
8483 status collapsed
8484
8485 \begin_layout Plain Layout
8486 HTMLPreamble
8487 \end_layout
8488
8489 \end_inset
8490
8491  Da información para el bloque 
8492 \begin_inset Flex Code
8493 status collapsed
8494
8495 \begin_layout Plain Layout
8496 <head>
8497 \end_layout
8498
8499 \end_inset
8500
8501  cuando esta clase de documento se exporte a XHTML.
8502  Advertir que esto sobrescribirá completamente cualquier declaración anterior
8503  de 
8504 \begin_inset Flex Code
8505 status collapsed
8506
8507 \begin_layout Plain Layout
8508 HTMLPreamble
8509 \end_layout
8510
8511 \end_inset
8512
8513  o 
8514 \begin_inset Flex Code
8515 status collapsed
8516
8517 \begin_layout Plain Layout
8518 AddToHTMLPreamble
8519 \end_layout
8520
8521 \end_inset
8522
8523 .
8524  (Usa 
8525 \begin_inset Flex Code
8526 status collapsed
8527
8528 \begin_layout Plain Layout
8529 AddToHTMLPreamble
8530 \end_layout
8531
8532 \end_inset
8533
8534  si solo quieres añadir material al preámbulo).
8535  Debe acabar con 
8536 \begin_inset Quotes eld
8537 \end_inset
8538
8539
8540 \begin_inset Flex Code
8541 status collapsed
8542
8543 \begin_layout Plain Layout
8544 EndPreamble
8545 \end_layout
8546
8547 \end_inset
8548
8549
8550 \begin_inset Quotes erd
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 HTMLTOCSection
8562 \end_layout
8563
8564 \end_inset
8565
8566  [
8567 \begin_inset Flex Code
8568 status collapsed
8569
8570 \begin_layout Plain Layout
8571 <estilo>
8572 \end_layout
8573
8574 \end_inset
8575
8576
8577 \lang english
8578 The style to use for the
8579 \lang spanish
8580  índice general, bibliografía, etc., cuando el documento se exporte a HTML.
8581  Para article, normalmente será 
8582 \begin_inset Flex Code
8583 status collapsed
8584
8585 \begin_layout Plain Layout
8586 Section
8587 \end_layout
8588
8589 \end_inset
8590
8591 ; para book 
8592 \begin_inset Flex Code
8593 status collapsed
8594
8595 \begin_layout Plain Layout
8596 Chapter
8597 \end_layout
8598
8599 \end_inset
8600
8601 .
8602  Si no se especifica, LyX intentará deducir qué formato usar.
8603 \end_layout
8604
8605 \begin_layout Description
8606 \begin_inset Flex Code
8607 status collapsed
8608
8609 \begin_layout Plain Layout
8610 IfCounter
8611 \end_layout
8612
8613 \end_inset
8614
8615  [
8616 \begin_inset Flex Code
8617 status collapsed
8618
8619 \begin_layout Plain Layout
8620 <contador>
8621 \end_layout
8622
8623 \end_inset
8624
8625 ] Modifica las propiedades del contador dado.
8626  Si el contador no existe, esta sección se ignora.
8627  Debe acabar con 
8628 \begin_inset Quotes eld
8629 \end_inset
8630
8631
8632 \begin_inset Flex Code
8633 status collapsed
8634
8635 \begin_layout Plain Layout
8636 End
8637 \end_layout
8638
8639 \end_inset
8640
8641
8642 \begin_inset Quotes erd
8643 \end_inset
8644
8645 .
8646 \begin_inset Newline newline
8647 \end_inset
8648
8649 Véase la sección
8650 \begin_inset space ~
8651 \end_inset
8652
8653
8654 \begin_inset CommandInset ref
8655 LatexCommand ref
8656 reference "sub:Contadores"
8657
8658 \end_inset
8659
8660  para más detalles.
8661 \end_layout
8662
8663 \begin_layout Description
8664 \begin_inset Flex Code
8665 status collapsed
8666
8667 \begin_layout Plain Layout
8668 IfStyle
8669 \end_layout
8670
8671 \end_inset
8672
8673  [
8674 \begin_inset Flex Code
8675 status collapsed
8676
8677 \begin_layout Plain Layout
8678 <estilo>
8679 \end_layout
8680
8681 \end_inset
8682
8683 ] Modifica las propiedades del estilo de párrafo dado.
8684  Si el estilo no existe, esta sección se ignora.
8685  Debe acabar con 
8686 \begin_inset Quotes eld
8687 \end_inset
8688
8689
8690 \begin_inset Flex Code
8691 status collapsed
8692
8693 \begin_layout Plain Layout
8694 End
8695 \end_layout
8696
8697 \end_inset
8698
8699
8700 \begin_inset Quotes erd
8701 \end_inset
8702
8703 .
8704 \end_layout
8705
8706 \begin_layout Description
8707 \begin_inset Flex Code
8708 status collapsed
8709
8710 \begin_layout Plain Layout
8711 Input
8712 \end_layout
8713
8714 \end_inset
8715
8716  [
8717 \begin_inset Flex Code
8718 status collapsed
8719
8720 \begin_layout Plain Layout
8721 <nombre de fichero>
8722 \end_layout
8723
8724 \end_inset
8725
8726 ] Permite incluir otro archivo de definición de formato en el tuyo con el
8727  fin de evitar la duplicación de comandos.
8728  Ejemplos habituales son los archivos de formatos estándar, como 
8729 \begin_inset Flex Code
8730 status collapsed
8731
8732 \begin_layout Plain Layout
8733 stdclass.inc
8734 \end_layout
8735
8736 \end_inset
8737
8738 , que contiene la mayoría de los diseños básicos.
8739 \end_layout
8740
8741 \begin_layout Description
8742 \begin_inset Flex Code
8743 status collapsed
8744
8745 \begin_layout Plain Layout
8746 InsetLayout
8747 \end_layout
8748
8749 \end_inset
8750
8751  [
8752 \begin_inset Flex Code
8753 status collapsed
8754
8755 \begin_layout Plain Layout
8756 <type>
8757 \end_layout
8758
8759 \end_inset
8760
8761 ] Esta sección (re)define el formato de un recuadro.
8762  Puede aplicarse a uno existente o a uno nuevo, definido por el usuario,
8763  p.
8764 \begin_inset space \thinspace{}
8765 \end_inset
8766
8767 e., un nuevo estilo de texto.
8768  Véase la sección
8769 \begin_inset space ~
8770 \end_inset
8771
8772
8773 \begin_inset CommandInset ref
8774 LatexCommand ref
8775 reference "sub:estilo-del-texto"
8776
8777 \end_inset
8778
8779  para más información.
8780  Debe terminar con 
8781 \begin_inset Quotes fld
8782 \end_inset
8783
8784
8785 \begin_inset Flex Code
8786 status collapsed
8787
8788 \begin_layout Plain Layout
8789 End
8790 \end_layout
8791
8792 \end_inset
8793
8794
8795 \begin_inset Quotes frd
8796 \end_inset
8797
8798 .
8799 \end_layout
8800
8801 \begin_layout Description
8802 \begin_inset Flex Code
8803 status collapsed
8804
8805 \begin_layout Plain Layout
8806 LeftMargin
8807 \end_layout
8808
8809 \end_inset
8810
8811  [
8812 \begin_inset Flex Code
8813 status collapsed
8814
8815 \begin_layout Plain Layout
8816 string
8817 \end_layout
8818
8819 \end_inset
8820
8821 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
8822  por ejemplo 
8823 \begin_inset Quotes fld
8824 \end_inset
8825
8826
8827 \begin_inset Flex Code
8828 status collapsed
8829
8830 \begin_layout Plain Layout
8831 MMMMM
8832 \end_layout
8833
8834 \end_inset
8835
8836
8837 \begin_inset Quotes frd
8838 \end_inset
8839
8840 .
8841  (Esto no es una `longitud', como 
8842 \begin_inset Quotes fld
8843 \end_inset
8844
8845 2ex
8846 \begin_inset Quotes frd
8847 \end_inset
8848
8849 .
8850 \end_layout
8851
8852 \begin_layout Description
8853 \begin_inset Flex Code
8854 status collapsed
8855
8856 \begin_layout Plain Layout
8857 NoCounter
8858 \end_layout
8859
8860 \end_inset
8861
8862  [
8863 \begin_inset Flex Code
8864 status collapsed
8865
8866 \begin_layout Plain Layout
8867 <contador>
8868 \end_layout
8869
8870 \end_inset
8871
8872 ] Este comando elimina un contador existente, generalmente uno definido
8873  en un archivo incluido.
8874 \end_layout
8875
8876 \begin_layout Description
8877 \begin_inset Flex Code
8878 status collapsed
8879
8880 \begin_layout Plain Layout
8881 NoFloat
8882 \end_layout
8883
8884 \end_inset
8885
8886  [
8887 \begin_inset Flex Code
8888 status collapsed
8889
8890 \begin_layout Plain Layout
8891 <flotante>
8892 \end_layout
8893
8894 \end_inset
8895
8896 ] Este comando borra un flotante existente.
8897  Es particularmente útil si quieres suprimir un flotante que ha sido definido
8898  en un archivo de entrada.
8899 \end_layout
8900
8901 \begin_layout Description
8902 \begin_inset Flex Code
8903 status collapsed
8904
8905 \begin_layout Plain Layout
8906 NoStyle
8907 \end_layout
8908
8909 \end_inset
8910
8911  [
8912 \begin_inset Flex Code
8913 status collapsed
8914
8915 \begin_layout Plain Layout
8916 <estilo>
8917 \end_layout
8918
8919 \end_inset
8920
8921 ] Este comando borra un estilo existente.
8922 \end_layout
8923
8924 \begin_layout Description
8925 \begin_inset Flex Code
8926 status collapsed
8927
8928 \begin_layout Plain Layout
8929 OutputFormat
8930 \end_layout
8931
8932 \end_inset
8933
8934  [
8935 \begin_inset Flex Code
8936 status collapsed
8937
8938 \begin_layout Plain Layout
8939 <formato>
8940 \end_layout
8941
8942 \end_inset
8943
8944 ] El formato de archivo (tal como se define en las preferencias de LyX)
8945  producido por esta clase.
8946  Principalmente, es útil cuando 
8947 \begin_inset Flex Code
8948 status collapsed
8949
8950 \begin_layout Plain Layout
8951 OutputType
8952 \end_layout
8953
8954 \end_inset
8955
8956  es 
8957 \begin_inset Flex Code
8958 status collapsed
8959
8960 \begin_layout Plain Layout
8961 literate
8962 \end_layout
8963
8964 \end_inset
8965
8966  y se quiere definir un nuevo tipo de documento `literate'.
8967  Esta cadena se redefine a 
8968 \begin_inset Quotes fld
8969 \end_inset
8970
8971
8972 \begin_inset Flex Code
8973 status collapsed
8974
8975 \begin_layout Plain Layout
8976 docbook
8977 \end_layout
8978
8979 \end_inset
8980
8981
8982 \begin_inset Quotes frd
8983 \end_inset
8984
8985  o 
8986 \begin_inset Quotes fld
8987 \end_inset
8988
8989
8990 \begin_inset Flex Code
8991 status collapsed
8992
8993 \begin_layout Plain Layout
8994 latex
8995 \end_layout
8996
8997 \end_inset
8998
8999
9000 \begin_inset Quotes frd
9001 \end_inset
9002
9003  si se encuentra el correspondiente parámetro 
9004 \begin_inset Flex Code
9005 status collapsed
9006
9007 \begin_layout Plain Layout
9008 OutputType
9009 \end_layout
9010
9011 \end_inset
9012
9013 .
9014 \end_layout
9015
9016 \begin_layout Description
9017 \begin_inset Flex Code
9018 status collapsed
9019
9020 \begin_layout Plain Layout
9021 OutputType
9022 \end_layout
9023
9024 \end_inset
9025
9026  [
9027 \begin_inset Flex Code
9028 status collapsed
9029
9030 \begin_layout Plain Layout
9031
9032 \emph on
9033 lat
9034 \emph default
9035 ex
9036 \end_layout
9037
9038 \end_inset
9039
9040
9041 \begin_inset Flex Code
9042 status collapsed
9043
9044 \begin_layout Plain Layout
9045 docbook
9046 \end_layout
9047
9048 \end_inset
9049
9050
9051 \begin_inset Flex Code
9052 status collapsed
9053
9054 \begin_layout Plain Layout
9055 literate
9056 \end_layout
9057
9058 \end_inset
9059
9060 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9061 \end_layout
9062
9063 \begin_layout Description
9064 \begin_inset Flex Code
9065 status collapsed
9066
9067 \begin_layout Plain Layout
9068 PackageOptions
9069 \end_layout
9070
9071 \end_inset
9072
9073  [
9074 \begin_inset Flex Code
9075 status collapsed
9076
9077 \begin_layout Plain Layout
9078 string
9079 \end_layout
9080
9081 \end_inset
9082
9083  
9084 \begin_inset Flex Code
9085 status collapsed
9086
9087 \begin_layout Plain Layout
9088 string
9089 \end_layout
9090
9091 \end_inset
9092
9093
9094 \lang english
9095 Specifies options, given in the second string, for the package named by
9096  the first string.
9097  For example, 
9098 \lang spanish
9099
9100 \begin_inset Quotes fld
9101 \end_inset
9102
9103
9104 \begin_inset Flex Code
9105 status collapsed
9106
9107 \begin_layout Plain Layout
9108 PackageOptions natbib square
9109 \end_layout
9110
9111 \end_inset
9112
9113
9114 \begin_inset Quotes frd
9115 \end_inset
9116
9117  
9118 \lang english
9119 will cause 
9120 \begin_inset Flex Code
9121 status collapsed
9122
9123 \begin_layout Plain Layout
9124
9125 \lang english
9126 natbib
9127 \end_layout
9128
9129 \end_inset
9130
9131  to be loaded with the 
9132 \begin_inset Flex Code
9133 status collapsed
9134
9135 \begin_layout Plain Layout
9136
9137 \lang english
9138 square
9139 \end_layout
9140
9141 \end_inset
9142
9143  option.
9144  (For TeXperts, this causes LyX to output: 
9145 \lang spanish
9146
9147 \begin_inset Flex Code
9148 status collapsed
9149
9150 \begin_layout Plain Layout
9151
9152 \backslash
9153 PassOptionsToPackage{natbib}{square}
9154 \end_layout
9155
9156 \end_inset
9157
9158  
9159 \lang english
9160 prior to loading
9161 \lang spanish
9162  
9163 \begin_inset Flex Code
9164 status collapsed
9165
9166 \begin_layout Plain Layout
9167 natbib
9168 \end_layout
9169
9170 \end_inset
9171
9172 .)
9173 \end_layout
9174
9175 \begin_layout Description
9176 \begin_inset Flex Code
9177 status collapsed
9178
9179 \begin_layout Plain Layout
9180 PageStyle
9181 \end_layout
9182
9183 \end_inset
9184
9185  [
9186 \begin_inset Flex Code
9187 status collapsed
9188
9189 \begin_layout Plain Layout
9190
9191 \emph on
9192 plain
9193 \end_layout
9194
9195 \end_inset
9196
9197
9198 \begin_inset Flex Code
9199 status collapsed
9200
9201 \begin_layout Plain Layout
9202 empty
9203 \end_layout
9204
9205 \end_inset
9206
9207
9208 \begin_inset Flex Code
9209 status collapsed
9210
9211 \begin_layout Plain Layout
9212 headings
9213 \end_layout
9214
9215 \end_inset
9216
9217 ]
9218 \series medium
9219  
9220 \series default
9221 El estilo de página predeterminado de la clase.
9222  Puede cambiarse en el diálogo 
9223 \begin_inset Flex MenuItem
9224 status collapsed
9225
9226 \begin_layout Plain Layout
9227 Documento\SpecialChar \menuseparator
9228 Configuración
9229 \end_layout
9230
9231 \end_inset
9232
9233 .
9234 \end_layout
9235
9236 \begin_layout Description
9237 \begin_inset Flex Code
9238 status collapsed
9239
9240 \begin_layout Plain Layout
9241 Preamble
9242 \end_layout
9243
9244 \end_inset
9245
9246  Establece el preámbulo LaTeX para el documento.
9247  Anotar que esto anulará completamente cualesquiera declaraciones 
9248 \begin_inset Flex Code
9249 status collapsed
9250
9251 \begin_layout Plain Layout
9252 Premable
9253 \end_layout
9254
9255 \end_inset
9256
9257  o 
9258 \begin_inset Flex Code
9259 status collapsed
9260
9261 \begin_layout Plain Layout
9262 AddToPreamble
9263 \end_layout
9264
9265 \end_inset
9266
9267  anteriores.
9268  (Usa 
9269 \begin_inset Flex Code
9270 status collapsed
9271
9272 \begin_layout Plain Layout
9273 AddToPreamble
9274 \end_layout
9275
9276 \end_inset
9277
9278  si solo quieres añadir material al preámbulo).
9279  Debe terminar con 
9280 \begin_inset Quotes fld
9281 \end_inset
9282
9283
9284 \begin_inset Flex Code
9285 status collapsed
9286
9287 \begin_layout Plain Layout
9288 EndPreamble
9289 \end_layout
9290
9291 \end_inset
9292
9293
9294 \begin_inset Quotes frd
9295 \end_inset
9296
9297 .
9298 \end_layout
9299
9300 \begin_layout Description
9301 \begin_inset Flex Code
9302 status collapsed
9303
9304 \begin_layout Plain Layout
9305 Provides
9306 \end_layout
9307
9308 \end_inset
9309
9310  [
9311 \begin_inset Flex Code
9312 status collapsed
9313
9314 \begin_layout Plain Layout
9315 string
9316 \end_layout
9317
9318 \end_inset
9319
9320 ] [
9321 \begin_inset Flex Code
9322 status collapsed
9323
9324 \begin_layout Plain Layout
9325
9326 \emph on
9327 0
9328 \end_layout
9329
9330 \end_inset
9331
9332
9333 \begin_inset Flex Code
9334 status collapsed
9335
9336 \begin_layout Plain Layout
9337 1
9338 \end_layout
9339
9340 \end_inset
9341
9342 ] Si la clase ya proporciona, o no, la característica 
9343 \begin_inset Flex Code
9344 status collapsed
9345
9346 \begin_layout Plain Layout
9347 string
9348 \end_layout
9349
9350 \end_inset
9351
9352 .
9353  Una característica es en general el nombre de un paquete (
9354 \begin_inset Flex Code
9355 status collapsed
9356
9357 \begin_layout Plain Layout
9358 amsmath
9359 \end_layout
9360
9361 \end_inset
9362
9363
9364 \begin_inset Flex Code
9365 status collapsed
9366
9367 \begin_layout Plain Layout
9368 makeidx
9369 \end_layout
9370
9371 \end_inset
9372
9373 , \SpecialChar \ldots{}
9374 ) o una macro (
9375 \begin_inset Flex Code
9376 status collapsed
9377
9378 \begin_layout Plain Layout
9379 url
9380 \end_layout
9381
9382 \end_inset
9383
9384
9385 \begin_inset Flex Code
9386 status collapsed
9387
9388 \begin_layout Plain Layout
9389 boldsymbol
9390 \end_layout
9391
9392 \end_inset
9393
9394 ,\SpecialChar \ldots{}
9395 ).; Véase 
9396 \lang english
9397 chapter
9398 \begin_inset space ~
9399 \end_inset
9400
9401
9402 \begin_inset CommandInset ref
9403 LatexCommand ref
9404 reference "chap:List-of-functions"
9405
9406 \end_inset
9407
9408  for the list of features.
9409 \end_layout
9410
9411 \begin_layout Description
9412 \begin_inset Flex Code
9413 status collapsed
9414
9415 \begin_layout Plain Layout
9416 ProvidesModule
9417 \end_layout
9418
9419 \end_inset
9420
9421  [
9422 \begin_inset Flex Code
9423 status collapsed
9424
9425 \begin_layout Plain Layout
9426 string
9427 \end_layout
9428
9429 \end_inset
9430
9431 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
9432  que deberá especificarse con su nombre de archivo sin la extensión 
9433 \begin_inset Flex Code
9434 status collapsed
9435
9436 \begin_layout Plain Layout
9437 .module
9438 \end_layout
9439
9440 \end_inset
9441
9442 .
9443  Esto se usará típicamente si el formato incluye el módulo directamente,
9444  preferiblemente a usar la etiqueta 
9445 \begin_inset Flex Code
9446 status collapsed
9447
9448 \begin_layout Plain Layout
9449 DefaultModule
9450 \end_layout
9451
9452 \end_inset
9453
9454  para indicar que debería utilizarse.
9455  Podría ser empleado en un módulo que provea una implementación alternativa
9456  de la misma funcionalidad.
9457 \end_layout
9458
9459 \begin_layout Description
9460 \begin_inset Flex Code
9461 status collapsed
9462
9463 \begin_layout Plain Layout
9464 Requires
9465 \end_layout
9466
9467 \end_inset
9468
9469  [
9470 \begin_inset Flex Code
9471 status collapsed
9472
9473 \begin_layout Plain Layout
9474 string
9475 \end_layout
9476
9477 \end_inset
9478
9479 ] Si la clase requiere la característica
9480 \begin_inset Flex Code
9481 status collapsed
9482
9483 \begin_layout Plain Layout
9484  string
9485 \end_layout
9486
9487 \end_inset
9488
9489 .
9490  Múltiples características deben separarse con comas.
9491  Multiple features must be separated by commas.
9492  Anotar que solo se pueden demandar características soportadas.
9493  (Véase 
9494 \lang english
9495 chapter
9496 \begin_inset space ~
9497 \end_inset
9498
9499
9500 \begin_inset CommandInset ref
9501 LatexCommand ref
9502 reference "chap:List-of-functions"
9503
9504 \end_inset
9505
9506  for the list of features
9507 \lang spanish
9508 .)
9509 \end_layout
9510
9511 \begin_layout Description
9512 \begin_inset Flex Code
9513 status collapsed
9514
9515 \begin_layout Plain Layout
9516 RightMargin
9517 \end_layout
9518
9519 \end_inset
9520
9521  [
9522 \begin_inset Flex Code
9523 status collapsed
9524
9525 \begin_layout Plain Layout
9526 string
9527 \end_layout
9528
9529 \end_inset
9530
9531 ] Una cadena que indica la anchura del margen derecho en la pantalla, por
9532  ejemplo, 
9533 \begin_inset Quotes fld
9534 \end_inset
9535
9536
9537 \begin_inset Flex Code
9538 status collapsed
9539
9540 \begin_layout Plain Layout
9541 MMMMM
9542 \end_layout
9543
9544 \end_inset
9545
9546
9547 \begin_inset Quotes frd
9548 \end_inset
9549
9550 .
9551 \end_layout
9552
9553 \begin_layout Description
9554 \begin_inset Flex Code
9555 status collapsed
9556
9557 \begin_layout Plain Layout
9558 SecNumDepth
9559 \end_layout
9560
9561 \end_inset
9562
9563  [
9564 \begin_inset Flex Code
9565 status collapsed
9566
9567 \begin_layout Plain Layout
9568 int=3
9569 \end_layout
9570
9571 \end_inset
9572
9573 ] Establece qué divisiones se numeran.
9574  Corresponde al contador LaTeX 
9575 \begin_inset Flex Code
9576 status collapsed
9577
9578 \begin_layout Plain Layout
9579 secnumdepth
9580 \end_layout
9581
9582 \end_inset
9583
9584 .
9585 \end_layout
9586
9587 \begin_layout Description
9588 \begin_inset Flex Code
9589 status collapsed
9590
9591 \begin_layout Plain Layout
9592 Sides
9593 \end_layout
9594
9595 \end_inset
9596
9597  [
9598 \emph on
9599
9600 \begin_inset Flex Code
9601 status collapsed
9602
9603 \begin_layout Plain Layout
9604 1
9605 \end_layout
9606
9607 \end_inset
9608
9609
9610 \emph default
9611 ,
9612 \begin_inset space \thinspace{}
9613 \end_inset
9614
9615
9616 \begin_inset Flex Code
9617 status collapsed
9618
9619 \begin_layout Plain Layout
9620 2
9621 \end_layout
9622
9623 \end_inset
9624
9625 ] Si debe imprimirse en una o en ambas caras del papel.
9626  Se puede cambiar en el diálogo 
9627 \begin_inset Flex MenuItem
9628 status collapsed
9629
9630 \begin_layout Plain Layout
9631 Documento\SpecialChar \menuseparator
9632 Configuración
9633 \end_layout
9634
9635 \end_inset
9636
9637 .
9638 \end_layout
9639
9640 \begin_layout Description
9641 \begin_inset Flex Code
9642 status collapsed
9643
9644 \begin_layout Plain Layout
9645 Style
9646 \end_layout
9647
9648 \end_inset
9649
9650  [
9651 \begin_inset Flex Code
9652 status collapsed
9653
9654 \begin_layout Plain Layout
9655 <nombre>
9656 \end_layout
9657
9658 \end_inset
9659
9660 ] Esta secuencia define un nuevo estilo de párrafo.
9661  Si el estilo ya existe, en ese caso se redefinirán algunos de los parámetros.
9662  Véase la sección
9663 \begin_inset space ~
9664 \end_inset
9665
9666
9667 \begin_inset CommandInset ref
9668 LatexCommand ref
9669 reference "sub:Estilos-de-párrafo"
9670
9671 \end_inset
9672
9673  para detalles.
9674  Debe terminarcon 
9675 \begin_inset Quotes fld
9676 \end_inset
9677
9678
9679 \begin_inset Flex Code
9680 status collapsed
9681
9682 \begin_layout Plain Layout
9683 End
9684 \end_layout
9685
9686 \end_inset
9687
9688
9689 \begin_inset Quotes frd
9690 \end_inset
9691
9692 .
9693 \end_layout
9694
9695 \begin_layout Description
9696 \begin_inset Flex Code
9697 status collapsed
9698
9699 \begin_layout Plain Layout
9700 TitleLatexName
9701 \end_layout
9702
9703 \end_inset
9704
9705  [
9706 \begin_inset Flex Code
9707 status collapsed
9708
9709 \begin_layout Plain Layout
9710 string="maketitle"
9711 \end_layout
9712
9713 \end_inset
9714
9715 ] El nombre del comando de entorno a usar con 
9716 \begin_inset Flex Code
9717 status collapsed
9718
9719 \begin_layout Plain Layout
9720 TitleLatexType
9721 \end_layout
9722
9723 \end_inset
9724
9725 .
9726 \end_layout
9727
9728 \begin_layout Description
9729 \begin_inset Flex Code
9730 status collapsed
9731
9732 \begin_layout Plain Layout
9733 TitleLatexType
9734 \end_layout
9735
9736 \end_inset
9737
9738  [
9739 \begin_inset Flex Code
9740 status collapsed
9741
9742 \begin_layout Plain Layout
9743
9744 \emph on
9745 CommandAfter
9746 \end_layout
9747
9748 \end_inset
9749
9750
9751 \begin_inset Flex Code
9752 status collapsed
9753
9754 \begin_layout Plain Layout
9755 Environment
9756 \end_layout
9757
9758 \end_inset
9759
9760 ] Indica qué clase de diseño se emplea para definir el título de un documento.
9761  
9762 \begin_inset Flex Code
9763 status collapsed
9764
9765 \begin_layout Plain Layout
9766 CommandAfter
9767 \end_layout
9768
9769 \end_inset
9770
9771  significa que la macro con nombre 
9772 \begin_inset Flex Code
9773 status collapsed
9774
9775 \begin_layout Plain Layout
9776 TitleLatexName
9777 \end_layout
9778
9779 \end_inset
9780
9781  se insertará después del último formato que tiene 
9782 \begin_inset Quotes fld
9783 \end_inset
9784
9785
9786 \begin_inset Flex Code
9787 status collapsed
9788
9789 \begin_layout Plain Layout
9790 InTitle
9791 \begin_inset space ~
9792 \end_inset
9793
9794 1
9795 \end_layout
9796
9797 \end_inset
9798
9799
9800 \begin_inset Quotes frd
9801 \end_inset
9802
9803 .
9804  
9805 \begin_inset Flex Code
9806 status collapsed
9807
9808 \begin_layout Plain Layout
9809 Environment
9810 \end_layout
9811
9812 \end_inset
9813
9814  corresponde al caso en que todos los formatos que tienen 
9815 \begin_inset Quotes fld
9816 \end_inset
9817
9818
9819 \begin_inset Flex Code
9820 status collapsed
9821
9822 \begin_layout Plain Layout
9823 InTitle
9824 \begin_inset space ~
9825 \end_inset
9826
9827 1
9828 \end_layout
9829
9830 \end_inset
9831
9832
9833 \begin_inset Quotes frd
9834 \end_inset
9835
9836  debería ser incluido en el entorno 
9837 \begin_inset Flex Code
9838 status collapsed
9839
9840 \begin_layout Plain Layout
9841 TitleLatexName
9842 \end_layout
9843
9844 \end_inset
9845
9846 .
9847 \end_layout
9848
9849 \begin_layout Description
9850 \begin_inset Flex Code
9851 status collapsed
9852
9853 \begin_layout Plain Layout
9854 TocDepth
9855 \end_layout
9856
9857 \end_inset
9858
9859  [
9860 \begin_inset Flex Code
9861 status collapsed
9862
9863 \begin_layout Plain Layout
9864 int=3
9865 \end_layout
9866
9867 \end_inset
9868
9869 ] Establece qué divisiones se incluyen en el índice general.
9870  Corresponde al contador LaTeX 
9871 \begin_inset Flex Code
9872 status collapsed
9873
9874 \begin_layout Plain Layout
9875 tocdepth
9876 \end_layout
9877
9878 \end_inset
9879
9880 .
9881 \end_layout
9882
9883 \begin_layout Subsection
9884 Sección 
9885 \begin_inset Flex Code
9886 status collapsed
9887
9888 \begin_layout Plain Layout
9889 ClassOptions
9890 \end_layout
9891
9892 \end_inset
9893
9894
9895 \begin_inset CommandInset label
9896 LatexCommand label
9897 name "sub:ClassOptions"
9898
9899 \end_inset
9900
9901
9902 \end_layout
9903
9904 \begin_layout Standard
9905 La sección 
9906 \begin_inset Flex Code
9907 status collapsed
9908
9909 \begin_layout Plain Layout
9910 ClassOptions
9911 \end_layout
9912
9913 \end_inset
9914
9915  puede contener las siguientes entradas:
9916 \end_layout
9917
9918 \begin_layout Description
9919 \begin_inset Flex Code
9920 status collapsed
9921
9922 \begin_layout Plain Layout
9923 FontSize
9924 \end_layout
9925
9926 \end_inset
9927
9928  [
9929 \begin_inset Flex Code
9930 status collapsed
9931
9932 \begin_layout Plain Layout
9933 string="10|11|12"
9934 \end_layout
9935
9936 \end_inset
9937
9938 ] La lista de los tamaños de carácter disponibles para la tipografía principal
9939  del documento, separados por 
9940 \begin_inset Quotes fld
9941 \end_inset
9942
9943
9944 \begin_inset Flex Code
9945 status collapsed
9946
9947 \begin_layout Plain Layout
9948 |
9949 \end_layout
9950
9951 \end_inset
9952
9953
9954 \begin_inset Quotes frd
9955 \end_inset
9956
9957 .
9958 \end_layout
9959
9960 \begin_layout Description
9961 \begin_inset Flex Code
9962 status collapsed
9963
9964 \begin_layout Plain Layout
9965 Header
9966 \end_layout
9967
9968 \end_inset
9969
9970  Para establecer la línea DTD con las clases con salida basada en XML.
9971  P.
9972 \begin_inset space \thinspace{}
9973 \end_inset
9974
9975 e.: PUBLIC 
9976 \begin_inset Quotes fld
9977 \end_inset
9978
9979 -//OASIS//DTD DocBook V4.2//EN
9980 \begin_inset Quotes frd
9981 \end_inset
9982
9983 .
9984 \end_layout
9985
9986 \begin_layout Description
9987 \begin_inset Flex Code
9988 status collapsed
9989
9990 \begin_layout Plain Layout
9991 Other
9992 \end_layout
9993
9994 \end_inset
9995
9996  [
9997 \begin_inset Flex Code
9998 status collapsed
9999
10000 \begin_layout Plain Layout
10001 string=""
10002 \end_layout
10003
10004 \end_inset
10005
10006 ] Algunas opciones de clase de documento, separadas por coma, que se añadirán
10007  a la parte opcional del comando 
10008 \begin_inset Flex Code
10009 status collapsed
10010
10011 \begin_layout Plain Layout
10012
10013 \backslash
10014 documentclass
10015 \end_layout
10016
10017 \end_inset
10018
10019 .
10020 \end_layout
10021
10022 \begin_layout Description
10023 \begin_inset Flex Code
10024 status collapsed
10025
10026 \begin_layout Plain Layout
10027 PageStyle
10028 \end_layout
10029
10030 \end_inset
10031
10032  [
10033 \begin_inset Flex Code
10034 status collapsed
10035
10036 \begin_layout Plain Layout
10037 string="empty|plain|headings|fancy"
10038 \end_layout
10039
10040 \end_inset
10041
10042 ] Lista de los estilos de página disponibles, separados por 
10043 \begin_inset Quotes fld
10044 \end_inset
10045
10046
10047 \begin_inset Flex Code
10048 status collapsed
10049
10050 \begin_layout Plain Layout
10051 |
10052 \end_layout
10053
10054 \end_inset
10055
10056
10057 \begin_inset Quotes frd
10058 \end_inset
10059
10060 .
10061 \end_layout
10062
10063 \begin_layout Standard
10064 La sección 
10065 \begin_inset Flex Code
10066 status collapsed
10067
10068 \begin_layout Plain Layout
10069 ClassOptions
10070 \end_layout
10071
10072 \end_inset
10073
10074  debe terminar con 
10075 \begin_inset Quotes fld
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 frd
10090 \end_inset
10091
10092 .
10093 \end_layout
10094
10095 \begin_layout Subsection
10096 Estilos de párrafo
10097 \begin_inset CommandInset label
10098 LatexCommand label
10099 name "sub:Estilos-de-párrafo"
10100
10101 \end_inset
10102
10103
10104 \end_layout
10105
10106 \begin_layout Standard
10107 Una descripción de estilo de párrafo tiene una aspecto como éste:
10108 \begin_inset Foot
10109 status collapsed
10110
10111 \begin_layout Plain Layout
10112 Anotar que esto definirá un nuevo diseño o modificará uno existente.
10113 \end_layout
10114
10115 \end_inset
10116
10117
10118 \end_layout
10119
10120 \begin_layout LyX-Code
10121 Style 
10122 \family roman
10123 \emph on
10124 name
10125 \end_layout
10126
10127 \begin_layout LyX-Code
10128  ...
10129 \end_layout
10130
10131 \begin_layout LyX-Code
10132 End
10133 \end_layout
10134
10135 \begin_layout Standard
10136 donde se permiten los comandos siguientes:
10137 \end_layout
10138
10139 \begin_layout Description
10140 \begin_inset Flex Code
10141 status collapsed
10142
10143 \begin_layout Plain Layout
10144 Align
10145 \end_layout
10146
10147 \end_inset
10148
10149  [
10150 \begin_inset Flex Code
10151 status collapsed
10152
10153 \begin_layout Plain Layout
10154
10155 \emph on
10156 block
10157 \emph default
10158 , left, right, center
10159 \end_layout
10160
10161 \end_inset
10162
10163 ] Alineación del párrafo.
10164 \end_layout
10165
10166 \begin_layout Description
10167 \begin_inset Flex Code
10168 status collapsed
10169
10170 \begin_layout Plain Layout
10171 AlignPossible
10172 \end_layout
10173
10174 \end_inset
10175
10176  [
10177 \begin_inset Flex Code
10178 status collapsed
10179
10180 \begin_layout Plain Layout
10181
10182 \emph on
10183 block
10184 \emph default
10185 , left, right, center
10186 \end_layout
10187
10188 \end_inset
10189
10190 ] Una lista separada con comas de alineaciones permitidas.
10191  (Algunos estilos de LaTeX prohiben ciertos alineamientos, ya que no tendrían
10192  sentido.
10193  Por ejemplo una alineación a la derecha o al centro de una lista numerada
10194  no es posible).
10195 \end_layout
10196
10197 \begin_layout Description
10198 \begin_inset Flex Code
10199 status collapsed
10200
10201 \begin_layout Plain Layout
10202 Argument
10203 \end_layout
10204
10205 \end_inset
10206
10207  [
10208 \begin_inset Flex Code
10209 status collapsed
10210
10211 \begin_layout Plain Layout
10212 int
10213 \end_layout
10214
10215 \end_inset
10216
10217
10218 \lang english
10219 Defines argument number <int> of a command\SpecialChar \slash{}
10220 environment associated with the
10221  current style.
10222  This is useful for things like section headings, and only makes sense with
10223  LaTeX.
10224  Every (optional or required) argument of a command or environment -- except
10225  for the required argument that is associated with the content of the paragraph
10226  itself -- has a separate definition, where the number specifies the order
10227  of the arguments.
10228  The definition must end with 
10229 \begin_inset Flex Code
10230 status collapsed
10231
10232 \begin_layout Plain Layout
10233
10234 \lang english
10235 EndArgument
10236 \end_layout
10237
10238 \end_inset
10239
10240 .
10241  So a command with two optional arguments has:
10242 \end_layout
10243
10244 \begin_deeper
10245 \begin_layout Quote
10246
10247 \family typewriter
10248 Argument 1
10249 \end_layout
10250
10251 \begin_layout Quote
10252
10253 \family typewriter
10254 ...
10255 \end_layout
10256
10257 \begin_layout Quote
10258
10259 \family typewriter
10260 EndArgument
10261 \end_layout
10262
10263 \begin_layout Quote
10264
10265 \family typewriter
10266 Argument 2
10267 \end_layout
10268
10269 \begin_layout Quote
10270
10271 \family typewriter
10272 ...
10273 \end_layout
10274
10275 \begin_layout Quote
10276
10277 \family typewriter
10278 EndArgument
10279 \end_layout
10280
10281 \begin_layout Standard
10282
10283 \lang english
10284 Inside the 
10285 \begin_inset Flex Code
10286 status collapsed
10287
10288 \begin_layout Plain Layout
10289
10290 \lang english
10291 Argument
10292 \end_layout
10293
10294 \end_inset
10295
10296  definition, the following specifications are possible:
10297 \end_layout
10298
10299 \begin_layout Itemize
10300 \begin_inset Flex Code
10301 status collapsed
10302
10303 \begin_layout Plain Layout
10304 LabelString
10305 \end_layout
10306
10307 \end_inset
10308
10309  
10310 \begin_inset Flex Code
10311 status collapsed
10312
10313 \begin_layout Plain Layout
10314 [string]
10315 \end_layout
10316
10317 \end_inset
10318
10319  
10320 \lang english
10321 The string that will appear both in the menu (to insert this argument) and
10322  on the argument inset button (unless you also specify a separate 
10323 \begin_inset Flex Code
10324 status collapsed
10325
10326 \begin_layout Plain Layout
10327
10328 \lang english
10329 MenuString
10330 \end_layout
10331
10332 \end_inset
10333
10334 ).
10335  For the menu, you can define an accelerator by appending the respective
10336  character to the string, divided by 
10337 \begin_inset Quotes fld
10338 \end_inset
10339
10340 |
10341 \begin_inset Quotes frd
10342 \end_inset
10343
10344  (e.
10345 \begin_inset space \thinspace{}
10346 \end_inset
10347
10348 g.
10349 \begin_inset space \space{}
10350 \end_inset
10351
10352
10353 \begin_inset Quotes fld
10354 \end_inset
10355
10356
10357 \begin_inset Flex Code
10358 status collapsed
10359
10360 \begin_layout Plain Layout
10361
10362 \lang english
10363 Short Title|S
10364 \end_layout
10365
10366 \end_inset
10367
10368
10369 \begin_inset Quotes frd
10370 \end_inset
10371
10372 ).
10373 \end_layout
10374
10375 \begin_layout Itemize
10376 \begin_inset Flex Code
10377 status collapsed
10378
10379 \begin_layout Plain Layout
10380 MenuString
10381 \end_layout
10382
10383 \end_inset
10384
10385  
10386 \begin_inset Flex Code
10387 status collapsed
10388
10389 \begin_layout Plain Layout
10390 [string]
10391 \end_layout
10392
10393 \end_inset
10394
10395  
10396 \lang english
10397 A separate string for the menu.
10398  You can define an accelerator by appending the respective character to
10399  the string, divided by 
10400 \begin_inset Quotes fld
10401 \end_inset
10402
10403 |
10404 \begin_inset Quotes frd
10405 \end_inset
10406
10407  (e.
10408 \begin_inset space \thinspace{}
10409 \end_inset
10410
10411 g.
10412 \begin_inset space \space{}
10413 \end_inset
10414
10415
10416 \begin_inset Quotes fld
10417 \end_inset
10418
10419
10420 \begin_inset Flex Code
10421 status collapsed
10422
10423 \begin_layout Plain Layout
10424
10425 \lang english
10426 Short Title|S
10427 \end_layout
10428
10429 \end_inset
10430
10431
10432 \begin_inset Quotes frd
10433 \end_inset
10434
10435 ).
10436  This specification is optional.
10437  If it is not given the 
10438 \begin_inset Flex Code
10439 status collapsed
10440
10441 \begin_layout Plain Layout
10442
10443 \lang english
10444 LabelString
10445 \end_layout
10446
10447 \end_inset
10448
10449  will be used instead for the menu.
10450 \end_layout
10451
10452 \begin_layout Itemize
10453 \begin_inset Flex Code
10454 status collapsed
10455
10456 \begin_layout Plain Layout
10457 Tooltip
10458 \end_layout
10459
10460 \end_inset
10461
10462  
10463 \begin_inset Flex Code
10464 status collapsed
10465
10466 \begin_layout Plain Layout
10467 [string]
10468 \end_layout
10469
10470 \end_inset
10471
10472  
10473 \lang english
10474 A longer explanatory text that appears in the tooltip when hovering over
10475  the argument inset.
10476 \end_layout
10477
10478 \begin_layout Itemize
10479 \begin_inset Flex Code
10480 status collapsed
10481
10482 \begin_layout Plain Layout
10483 Mandatory
10484 \end_layout
10485
10486 \end_inset
10487
10488  [
10489 \begin_inset Flex Code
10490 status collapsed
10491
10492 \begin_layout Plain Layout
10493
10494 \emph on
10495 0
10496 \end_layout
10497
10498 \end_inset
10499
10500 ,
10501 \begin_inset space \thinspace{}
10502 \end_inset
10503
10504
10505 \begin_inset Flex Code
10506 status collapsed
10507
10508 \begin_layout Plain Layout
10509 1
10510 \end_layout
10511
10512 \end_inset
10513
10514
10515 \lang english
10516 Declare if this is a mandatory (1) or an optional (0) argument.
10517  Mandatory arguments will be output empty if not given, while optional arguments
10518  will not be output at all.
10519  By default, mandatory arguments are delimited by 
10520 \begin_inset Flex Code
10521 status collapsed
10522
10523 \begin_layout Plain Layout
10524
10525 \lang english
10526 {...}
10527 \end_layout
10528
10529 \end_inset
10530
10531 , while optional arguments are delimited by 
10532 \begin_inset Flex Code
10533 status collapsed
10534
10535 \begin_layout Plain Layout
10536
10537 \lang english
10538 [...]
10539 \end_layout
10540
10541 \end_inset
10542
10543
10544 \end_layout
10545
10546 \begin_layout Itemize
10547 \begin_inset Flex Code
10548 status collapsed
10549
10550 \begin_layout Plain Layout
10551 Requires
10552 \end_layout
10553
10554 \end_inset
10555
10556  
10557 \begin_inset Flex Code
10558 status collapsed
10559
10560 \begin_layout Plain Layout
10561 [int=0]
10562 \end_layout
10563
10564 \end_inset
10565
10566  
10567 \lang english
10568 defines another argument (by its number) which this argument requires to
10569  be output if it is itself output.
10570  E.
10571 \begin_inset space \thinspace{}
10572 \end_inset
10573
10574 g., in LaTeX commands, optional arguments often require previous optional
10575  arguments to be output (at least empty), as in 
10576 \begin_inset Flex Code
10577 status collapsed
10578
10579 \begin_layout Plain Layout
10580
10581 \lang english
10582
10583 \backslash
10584 command[][argument]{text}
10585 \end_layout
10586
10587 \end_inset
10588
10589 .
10590  This can be achieved by the statement 
10591 \begin_inset Flex Code
10592 status collapsed
10593
10594 \begin_layout Plain Layout
10595
10596 \lang english
10597 Requires 1
10598 \end_layout
10599
10600 \end_inset
10601
10602  within
10603 \lang spanish
10604  
10605 \begin_inset Flex Code
10606 status collapsed
10607
10608 \begin_layout Plain Layout
10609 Argument 2
10610 \end_layout
10611
10612 \end_inset
10613
10614 .
10615 \end_layout
10616
10617 \begin_layout Itemize
10618 \begin_inset Flex Code
10619 status collapsed
10620
10621 \begin_layout Plain Layout
10622 LeftDelim
10623 \end_layout
10624
10625 \end_inset
10626
10627  
10628 \begin_inset Flex Code
10629 status collapsed
10630
10631 \begin_layout Plain Layout
10632 [string]
10633 \end_layout
10634
10635 \end_inset
10636
10637  
10638 \lang english
10639 defines a custom left delimiter (instead of 
10640 \begin_inset Flex Code
10641 status collapsed
10642
10643 \begin_layout Plain Layout
10644
10645 \lang english
10646 {
10647 \end_layout
10648
10649 \end_inset
10650
10651  or 
10652 \begin_inset Flex Code
10653 status collapsed
10654
10655 \begin_layout Plain Layout
10656
10657 \lang english
10658 [
10659 \end_layout
10660
10661 \end_inset
10662
10663 ).
10664  A line break in the output can be indicated by
10665 \lang spanish
10666  
10667 \begin_inset Flex Code
10668 status collapsed
10669
10670 \begin_layout Plain Layout
10671 <br/>
10672 \end_layout
10673
10674 \end_inset
10675
10676 .
10677 \end_layout
10678
10679 \begin_layout Itemize
10680 \begin_inset Flex Code
10681 status collapsed
10682
10683 \begin_layout Plain Layout
10684 RightDelim
10685 \end_layout
10686
10687 \end_inset
10688
10689  
10690 \begin_inset Flex Code
10691 status collapsed
10692
10693 \begin_layout Plain Layout
10694 [string]
10695 \end_layout
10696
10697 \end_inset
10698
10699  
10700 \lang english
10701 defines a custom right delimiter (instead of 
10702 \begin_inset Flex Code
10703 status collapsed
10704
10705 \begin_layout Plain Layout
10706
10707 \lang english
10708 }
10709 \end_layout
10710
10711 \end_inset
10712
10713  or 
10714 \begin_inset Flex Code
10715 status collapsed
10716
10717 \begin_layout Plain Layout
10718
10719 \lang english
10720 ]
10721 \end_layout
10722
10723 \end_inset
10724
10725 ).
10726  A line break in the output can be indicated by
10727 \lang spanish
10728  
10729 \begin_inset Flex Code
10730 status collapsed
10731
10732 \begin_layout Plain Layout
10733 <br/>
10734 \end_layout
10735
10736 \end_inset
10737
10738 .
10739 \end_layout
10740
10741 \begin_layout Itemize
10742 \begin_inset Flex Code
10743 status collapsed
10744
10745 \begin_layout Plain Layout
10746 DefaultArg
10747 \end_layout
10748
10749 \end_inset
10750
10751  
10752 \begin_inset Flex Code
10753 status collapsed
10754
10755 \begin_layout Plain Layout
10756 [string]
10757 \end_layout
10758
10759 \end_inset
10760
10761  
10762 \lang english
10763 defines an argument that is inserted if and only if no user-specified arguments
10764  were given, i.
10765 \begin_inset space \thinspace{}
10766 \end_inset
10767
10768 e.
10769 \begin_inset space \space{}
10770 \end_inset
10771
10772 if no argument inset has been inserted (note that also an empty argument
10773  inset omits the DefaultArg).
10774  Multiple arguments need to be separated by comma.
10775 \end_layout
10776
10777 \begin_layout Itemize
10778 \begin_inset Flex Code
10779 status collapsed
10780
10781 \begin_layout Plain Layout
10782 PresetArg
10783 \end_layout
10784
10785 \end_inset
10786
10787  
10788 \begin_inset Flex Code
10789 status collapsed
10790
10791 \begin_layout Plain Layout
10792 [string]
10793 \end_layout
10794
10795 \end_inset
10796
10797  
10798 \lang english
10799 defines an argument that is inserted in any case (alone or in addition to
10800  user-specified arguments).
10801  Multiple arguments need to be separated by comma.
10802 \end_layout
10803
10804 \begin_layout Itemize
10805 \begin_inset Flex Code
10806 status collapsed
10807
10808 \begin_layout Plain Layout
10809 Font
10810 \end_layout
10811
10812 \end_inset
10813
10814  
10815 \lang english
10816 The font used for the argument content, see
10817 \lang spanish
10818  
10819 \begin_inset CommandInset ref
10820 LatexCommand ref
10821 reference "sub:Tipografías"
10822
10823 \end_inset
10824
10825 .
10826 \end_layout
10827
10828 \begin_layout Itemize
10829 \begin_inset Flex Code
10830 status collapsed
10831
10832 \begin_layout Plain Layout
10833 LabelFont
10834 \end_layout
10835
10836 \end_inset
10837
10838  
10839 \lang english
10840 The font used for the label; see
10841 \lang spanish
10842  
10843 \begin_inset CommandInset ref
10844 LatexCommand ref
10845 reference "sub:Tipografías"
10846
10847 \end_inset
10848
10849 .
10850 \end_layout
10851
10852 \begin_layout Itemize
10853 \begin_inset Flex Code
10854 status collapsed
10855
10856 \begin_layout Plain Layout
10857 Decoration
10858 \end_layout
10859
10860 \end_inset
10861
10862  [
10863 \begin_inset Flex Code
10864 status collapsed
10865
10866 \begin_layout Plain Layout
10867
10868 \emph on
10869 Classic
10870 \emph default
10871 , Minimalistic, Conglomerate
10872 \end_layout
10873
10874 \end_inset
10875
10876
10877 \lang english
10878 describes the rendering style used for the inset's frame and buttons.
10879 \end_layout
10880
10881 \begin_layout Itemize
10882 \begin_inset Flex Code
10883 status collapsed
10884
10885 \begin_layout Plain Layout
10886 AutoInsert
10887 \end_layout
10888
10889 \end_inset
10890
10891  
10892 \begin_inset Flex Code
10893 status collapsed
10894
10895 \begin_layout Plain Layout
10896 [int=0]
10897 \end_layout
10898
10899 \end_inset
10900
10901  
10902 \lang english
10903 If this is set to 
10904 \begin_inset Flex Code
10905 status collapsed
10906
10907 \begin_layout Plain Layout
10908
10909 \lang english
10910 1
10911 \end_layout
10912
10913 \end_inset
10914
10915 , this argument is automatically inserted when the respective style is selected.
10916  Currently, only one argument per style\SpecialChar \slash{}
10917 layout can be automatically inserted.
10918 \end_layout
10919
10920 \begin_layout Standard
10921
10922 \lang english
10923 By default, the text entered in the LyX workarea in the respective layout
10924  is the last (mandatory) argument of a command if the 
10925 \begin_inset Flex Code
10926 status collapsed
10927
10928 \begin_layout Plain Layout
10929
10930 \lang english
10931 LatexType
10932 \end_layout
10933
10934 \end_inset
10935
10936  is 
10937 \begin_inset Flex Code
10938 status collapsed
10939
10940 \begin_layout Plain Layout
10941
10942 \lang english
10943 Command
10944 \end_layout
10945
10946 \end_inset
10947
10948 .
10949  However, arguments with the prefix 
10950 \begin_inset Flex Code
10951 status collapsed
10952
10953 \begin_layout Plain Layout
10954
10955 \lang english
10956 post:
10957 \end_layout
10958
10959 \end_inset
10960
10961  are output after this workarea argument.
10962  Note that post-argument numbering restarts at 1, so the first argument
10963  following the workarea argument is 
10964 \begin_inset Flex Code
10965 status collapsed
10966
10967 \begin_layout Plain Layout
10968
10969 \lang english
10970 post:1
10971 \end_layout
10972
10973 \end_inset
10974
10975 .
10976  Post-arguments are ignored in any other 
10977 \begin_inset Flex Code
10978 status collapsed
10979
10980 \begin_layout Plain Layout
10981
10982 \lang english
10983 LatexType
10984 \end_layout
10985
10986 \end_inset
10987
10988  than 
10989 \begin_inset Flex Code
10990 status collapsed
10991
10992 \begin_layout Plain Layout
10993
10994 \lang english
10995 Command
10996 \end_layout
10997
10998 \end_inset
10999
11000 .
11001 \end_layout
11002
11003 \begin_layout Standard
11004
11005 \lang english
11006 Arguments for list 
11007 \begin_inset Flex Code
11008 status collapsed
11009
11010 \begin_layout Plain Layout
11011
11012 \lang english
11013
11014 \backslash
11015 item
11016 \end_layout
11017
11018 \end_inset
11019
11020 s (as in 
11021 \begin_inset Flex Code
11022 status collapsed
11023
11024 \begin_layout Plain Layout
11025
11026 \lang english
11027
11028 \backslash
11029 item[foo]
11030 \end_layout
11031
11032 \end_inset
11033
11034 ) have the prefix 
11035 \begin_inset Flex Code
11036 status collapsed
11037
11038 \begin_layout Plain Layout
11039
11040 \lang english
11041 item:
11042 \end_layout
11043
11044 \end_inset
11045
11046  followed by the number (e.
11047 \begin_inset space \thinspace{}
11048 \end_inset
11049
11050 g.
11051 \begin_inset space \space{}
11052 \end_inset
11053
11054
11055 \begin_inset Flex Code
11056 status collapsed
11057
11058 \begin_layout Plain Layout
11059
11060 \lang english
11061 Argument item:1
11062 \end_layout
11063
11064 \end_inset
11065
11066 )
11067 \end_layout
11068
11069 \end_deeper
11070 \begin_layout Description
11071 \begin_inset Flex Code
11072 status collapsed
11073
11074 \begin_layout Plain Layout
11075 BabelPreamble
11076 \end_layout
11077
11078 \end_inset
11079
11080  Esto sobrescribirá completamente cualquier anterior declaración
11081 \begin_inset Newline newline
11082 \end_inset
11083
11084
11085 \begin_inset Flex Code
11086 status collapsed
11087
11088 \begin_layout Plain Layout
11089 BabelPreamble
11090 \end_layout
11091
11092 \end_inset
11093
11094  para este estilo.
11095  Debe terminar con 
11096 \begin_inset Quotes eld
11097 \end_inset
11098
11099
11100 \begin_inset Flex Code
11101 status collapsed
11102
11103 \begin_layout Plain Layout
11104 EndBabelPreamble
11105 \end_layout
11106
11107 \end_inset
11108
11109
11110 \begin_inset Quotes erd
11111 \end_inset
11112
11113 .
11114  Véase la sección
11115 \begin_inset space ~
11116 \end_inset
11117
11118
11119 \begin_inset CommandInset ref
11120 LatexCommand ref
11121 reference "sub:I18n"
11122
11123 \end_inset
11124
11125  para detalles sobre su uso.
11126 \end_layout
11127
11128 \begin_layout Description
11129 \begin_inset Flex Code
11130 status collapsed
11131
11132 \begin_layout Plain Layout
11133 BottomSep
11134 \end_layout
11135
11136 \end_inset
11137
11138  [
11139 \begin_inset Flex Code
11140 status collapsed
11141
11142 \begin_layout Plain Layout
11143 float=0
11144 \end_layout
11145
11146 \end_inset
11147
11148 ]
11149 \begin_inset Foot
11150 status collapsed
11151
11152 \begin_layout Plain Layout
11153 Anotar que aquí un 'float' es un número real, como: 1.5.
11154 \end_layout
11155
11156 \end_inset
11157
11158  El espacio vertical con el que el último de una cadena de párrafos con
11159  este estilo se separa del siguiente párrafo.
11160  Si el párrafo siguiente tiene otro estilo, las separaciones no son simplemente
11161  añadidas sino que se pone la máxima.
11162 \end_layout
11163
11164 \begin_layout Description
11165 \begin_inset Flex Code
11166 status collapsed
11167
11168 \begin_layout Plain Layout
11169 Category
11170 \end_layout
11171
11172 \end_inset
11173
11174  
11175 \begin_inset Flex Code
11176 status collapsed
11177
11178 \begin_layout Plain Layout
11179 [string]
11180 \end_layout
11181
11182 \end_inset
11183
11184  La categoría para este estilo.
11185  Se usa para agrupar estilos relacionados en el recuadro de estilo en la
11186  barra de herramientas.
11187  Se puede poner cualquier cadena en 'string' pero mejor usar categorías
11188  existentes con tus propios estilos.
11189 \end_layout
11190
11191 \begin_layout Description
11192 \begin_inset Flex Code
11193 status collapsed
11194
11195 \begin_layout Plain Layout
11196 CommandDepth
11197 \end_layout
11198
11199 \end_inset
11200
11201  Profundidad del comando XML.
11202  Usado solo con formatos tipo XML.
11203 \end_layout
11204
11205 \begin_layout Description
11206 \begin_inset Flex Code
11207 status collapsed
11208
11209 \begin_layout Plain Layout
11210 CopyStyle
11211 \end_layout
11212
11213 \end_inset
11214
11215  
11216 \begin_inset Flex Code
11217 status collapsed
11218
11219 \begin_layout Plain Layout
11220 [string]
11221 \end_layout
11222
11223 \end_inset
11224
11225  Copia todas las características de un estilo existente en el actual.
11226  
11227 \end_layout
11228
11229 \begin_layout Description
11230 \begin_inset Flex Code
11231 status collapsed
11232
11233 \begin_layout Plain Layout
11234 DependsOn
11235 \end_layout
11236
11237 \end_inset
11238
11239  [
11240 \begin_inset Flex Code
11241 status collapsed
11242
11243 \begin_layout Plain Layout
11244 <nombre>
11245 \end_layout
11246
11247 \end_inset
11248
11249 ] El nombre de un estilo cuyo preámbulo debería salir 
11250 \emph on
11251 antes
11252 \emph default
11253  que éste.
11254  Esto permite asegurar un orden de los retazos de preámbulo si las definiciones
11255  de macros dependen de otra.
11256 \begin_inset Foot
11257 status collapsed
11258
11259 \begin_layout Plain Layout
11260 Anotar que, excepto esta funcionalidad, no hay forma de asegurar ningún
11261  orden de los preámbulos.
11262  El orden que se ve en una versión dada de LyX puede cambiar sin previo
11263  aviso en versiones posteriores.
11264 \end_layout
11265
11266 \end_inset
11267
11268
11269 \end_layout
11270
11271 \begin_layout Description
11272 \begin_inset Flex Code
11273 status collapsed
11274
11275 \begin_layout Plain Layout
11276 EndLabeltype
11277 \end_layout
11278
11279 \end_inset
11280
11281  [
11282 \begin_inset Flex Code
11283 status collapsed
11284
11285 \begin_layout Plain Layout
11286
11287 \emph on
11288 No_Label
11289 \emph default
11290 , Box, Filled_Box, Static
11291 \end_layout
11292
11293 \end_inset
11294
11295 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos
11296  si 
11297 \begin_inset Flex Code
11298 status collapsed
11299
11300 \begin_layout Plain Layout
11301 LatexType
11302 \end_layout
11303
11304 \end_inset
11305
11306  es 
11307 \begin_inset Flex Code
11308 status collapsed
11309
11310 \begin_layout Plain Layout
11311 Environment
11312 \end_layout
11313
11314 \end_inset
11315
11316
11317 \begin_inset Flex Code
11318 status collapsed
11319
11320 \begin_layout Plain Layout
11321 Item_Environment
11322 \end_layout
11323
11324 \end_inset
11325
11326  o 
11327 \begin_inset Flex Code
11328 status collapsed
11329
11330 \begin_layout Plain Layout
11331 List_Environment
11332 \end_layout
11333
11334 \end_inset
11335
11336 ).
11337  
11338 \begin_inset Flex Code
11339 status collapsed
11340
11341 \begin_layout Plain Layout
11342 No_Label
11343 \end_layout
11344
11345 \end_inset
11346
11347  quiere decir 
11348 \begin_inset Quotes fld
11349 \end_inset
11350
11351 nada
11352 \begin_inset Quotes frd
11353 \end_inset
11354
11355
11356 \begin_inset Flex Code
11357 status collapsed
11358
11359 \begin_layout Plain Layout
11360 Box
11361 \end_layout
11362
11363 \end_inset
11364
11365  (resp.
11366 \begin_inset Flex Code
11367 status collapsed
11368
11369 \begin_layout Plain Layout
11370 \begin_inset space ~
11371 \end_inset
11372
11373 Filled_Box
11374 \end_layout
11375
11376 \end_inset
11377
11378 ) es un cuadrado blanco (resp.
11379 \begin_inset space ~
11380 \end_inset
11381
11382 negro) adecuado para marcas finales de demostraciones, 
11383 \begin_inset Flex Code
11384 status collapsed
11385
11386 \begin_layout Plain Layout
11387 Static
11388 \end_layout
11389
11390 \end_inset
11391
11392  es una cadena de texto explícito.
11393 \end_layout
11394
11395 \begin_layout Description
11396 \begin_inset Flex Code
11397 status collapsed
11398
11399 \begin_layout Plain Layout
11400 EndLabelString
11401 \end_layout
11402
11403 \end_inset
11404
11405  [
11406 \begin_inset Flex Code
11407 status collapsed
11408
11409 \begin_layout Plain Layout
11410 string=""
11411 \end_layout
11412
11413 \end_inset
11414
11415 ] La cadena usada para una etiqueta con un 
11416 \begin_inset Flex Code
11417 status collapsed
11418
11419 \begin_layout Plain Layout
11420 Static
11421 \end_layout
11422
11423 \end_inset
11424
11425  
11426 \begin_inset Flex Code
11427 status collapsed
11428
11429 \begin_layout Plain Layout
11430 EndLabelType
11431 \end_layout
11432
11433 \end_inset
11434
11435 .
11436  
11437 \end_layout
11438
11439 \begin_layout Description
11440 \begin_inset Foot
11441 status collapsed
11442
11443 \begin_layout Plain Layout
11444
11445 \emph on
11446 Nota de Jean-Marc:
11447 \emph default
11448  No estoy seguro de que estas configuraciones (Fill_Bottom, Fill_Top) tengan
11449  mucho uso, y probablemente se quitarán en próximas versiones.
11450 \end_layout
11451
11452 \end_inset
11453
11454
11455 \begin_inset Note Note
11456 status collapsed
11457
11458 \begin_layout Plain Layout
11459 No encuentro 
11460 \begin_inset Quotes fld
11461 \end_inset
11462
11463 Espacio vertical encima
11464 \begin_inset Quotes frd
11465 \end_inset
11466
11467  ni 
11468 \begin_inset Quotes fld
11469 \end_inset
11470
11471 Espacio vertical abajo
11472 \begin_inset Quotes erd
11473 \end_inset
11474
11475  en Editar\SpecialChar \menuseparator
11476 Configuración de párrafo, esto parece obsoleto, como dice Jean-Marc
11477  (Nota de J.P.
11478  Chrétien, feb.
11479  2011)
11480 \end_layout
11481
11482 \end_inset
11483
11484
11485 \end_layout
11486
11487 \begin_layout Description
11488 \begin_inset Flex Code
11489 status collapsed
11490
11491 \begin_layout Plain Layout
11492 Font
11493 \end_layout
11494
11495 \end_inset
11496
11497  La tipografía usada para el cuerpo del texto 
11498 \emph on
11499 y
11500 \emph default
11501  para la etiqueta.
11502  Véase la sección
11503 \begin_inset space ~
11504 \end_inset
11505
11506
11507 \begin_inset CommandInset ref
11508 LatexCommand ref
11509 reference "sub:Tipografías"
11510
11511 \end_inset
11512
11513 .
11514  Anotar que al definir esta tipografía se define automáticamente la de la
11515  etiqueta, 
11516 \begin_inset Flex Code
11517 status collapsed
11518
11519 \begin_layout Plain Layout
11520 LabelFont
11521 \end_layout
11522
11523 \end_inset
11524
11525 .
11526  Así que debería definirse primero ésta si se quiere definir también 
11527 \begin_inset Flex Code
11528 status collapsed
11529
11530 \begin_layout Plain Layout
11531 LabelFont
11532 \end_layout
11533
11534 \end_inset
11535
11536 .
11537 \end_layout
11538
11539 \begin_layout Description
11540 \begin_inset Flex Code
11541 status collapsed
11542
11543 \begin_layout Plain Layout
11544 ForceLocal
11545 \end_layout
11546
11547 \end_inset
11548
11549  [
11550 \begin_inset Flex Code
11551 status collapsed
11552
11553 \begin_layout Plain Layout
11554 int=0
11555 \end_layout
11556
11557 \end_inset
11558
11559
11560 \lang english
11561 Used for backporting new styles to stable LyX versions.
11562  The first stable version that supports this tag is LyX 2.1.0.
11563  The argment is a number which may either be 0, -1 or any value greater
11564  than zero.
11565  If the 
11566 \begin_inset Flex Code
11567 status collapsed
11568
11569 \begin_layout Plain Layout
11570
11571 \lang english
11572 ForceLocal
11573 \end_layout
11574
11575 \end_inset
11576
11577  flag of a style is greater than zero, it will always be written to the
11578  document header.
11579  If a .lyx file is read, the style definitions from the document header are
11580  added to the document class.
11581  Therefore even older versions can handle the style.
11582  The argument of 
11583 \begin_inset Flex Code
11584 status collapsed
11585
11586 \begin_layout Plain Layout
11587
11588 \lang english
11589 ForceLocal
11590 \end_layout
11591
11592 \end_inset
11593
11594  is a version number: If such a style is read, and the version number is
11595  less than the version number of the already existing style in the document
11596  class, the new style is ignored.
11597  If the version number is higher, the new style replaces the existing style.
11598  A value of -1 means an infinite version number, i.
11599 \begin_inset space \thinspace{}
11600 \end_inset
11601
11602 e.
11603 \begin_inset space \space{}
11604 \end_inset
11605
11606 it is always used.
11607 \end_layout
11608
11609 \begin_layout Description
11610 \begin_inset Flex Code
11611 status collapsed
11612
11613 \begin_layout Plain Layout
11614 FreeSpacing
11615 \end_layout
11616
11617 \end_inset
11618
11619  [
11620 \emph on
11621
11622 \begin_inset Flex Code
11623 status collapsed
11624
11625 \begin_layout Plain Layout
11626 0
11627 \end_layout
11628
11629 \end_inset
11630
11631
11632 \emph default
11633 ,
11634 \begin_inset space \thinspace{}
11635 \end_inset
11636
11637
11638 \begin_inset Flex Code
11639 status collapsed
11640
11641 \begin_layout Plain Layout
11642 1
11643 \end_layout
11644
11645 \end_inset
11646
11647 ] Usualmente LyX no permite insertar más de un espacio entre palabras, puesto
11648  que un espacio se considera como la separación entre dos palabras, no un
11649  carácter o símbolo por sí mismo.
11650  Esto es una buena cosa pero a veces puede ser molesta, por ejemplo, para
11651  escribir código de programas o de LaTeX puro.
11652  Por esta razón se puede habilitar 
11653 \begin_inset Flex Code
11654 status collapsed
11655
11656 \begin_layout Plain Layout
11657 FreeSpacing
11658 \end_layout
11659
11660 \end_inset
11661
11662 .
11663  Anotar que LyX creará espacios protegidos para los espacios adicionales
11664  en modos que no sean LaTeX.
11665  
11666 \end_layout
11667
11668 \begin_layout Description
11669 \begin_inset Flex Code
11670 status collapsed
11671
11672 \begin_layout Plain Layout
11673 HTML*
11674 \end_layout
11675
11676 \end_inset
11677
11678  Para la salida XHTML.
11679  Véase 
11680 \begin_inset CommandInset ref
11681 LatexCommand ref
11682 reference "sub:Estilos-de-párrafo-XHTML"
11683
11684 \end_inset
11685
11686 .
11687 \end_layout
11688
11689 \begin_layout Description
11690 \begin_inset Flex Code
11691 status collapsed
11692
11693 \begin_layout Plain Layout
11694 InnerTag
11695 \end_layout
11696
11697 \end_inset
11698
11699  [[FIXME]] (Usado solo con formatos tipo XML.)
11700 \end_layout
11701
11702 \begin_layout Description
11703 \begin_inset Flex Code
11704 status collapsed
11705
11706 \begin_layout Plain Layout
11707 InPreamble
11708 \end_layout
11709
11710 \end_inset
11711
11712  [
11713 \emph on
11714
11715 \begin_inset Flex Code
11716 status collapsed
11717
11718 \begin_layout Plain Layout
11719
11720 \emph on
11721 0
11722 \end_layout
11723
11724 \end_inset
11725
11726
11727 \emph default
11728 ,
11729 \begin_inset space \thinspace{}
11730 \end_inset
11731
11732
11733 \begin_inset Flex Code
11734 status collapsed
11735
11736 \begin_layout Plain Layout
11737 1
11738 \end_layout
11739
11740 \end_inset
11741
11742 ] Si 
11743 \begin_inset Flex Code
11744 status collapsed
11745
11746 \begin_layout Plain Layout
11747 1
11748 \end_layout
11749
11750 \end_inset
11751
11752 , marca el estilo para ser incluido en el preámbulo del documento en lugar
11753  de en el cuerpo del documento.
11754  Útil para clases de documento que piden informaciones tales como título
11755  y autor en el preámbulo.
11756  Esto solo funciona para estilos para los que 
11757 \begin_inset Flex Code
11758 status collapsed
11759
11760 \begin_layout Plain Layout
11761 LatexType
11762 \end_layout
11763
11764 \end_inset
11765
11766  es 
11767 \begin_inset Flex Code
11768 status collapsed
11769
11770 \begin_layout Plain Layout
11771 Command
11772 \end_layout
11773
11774 \end_inset
11775
11776  o 
11777 \begin_inset Flex Code
11778 status collapsed
11779
11780 \begin_layout Plain Layout
11781 Paragraph
11782 \end_layout
11783
11784 \end_inset
11785
11786 .
11787 \end_layout
11788
11789 \begin_layout Description
11790 \begin_inset Flex Code
11791 status collapsed
11792
11793 \begin_layout Plain Layout
11794 InTitle
11795 \end_layout
11796
11797 \end_inset
11798
11799  [
11800 \emph on
11801
11802 \begin_inset Flex Code
11803 status collapsed
11804
11805 \begin_layout Plain Layout
11806
11807 \emph on
11808 0
11809 \end_layout
11810
11811 \end_inset
11812
11813
11814 \emph default
11815 ,
11816 \begin_inset space \thinspace{}
11817 \end_inset
11818
11819
11820 \begin_inset Flex Code
11821 status collapsed
11822
11823 \begin_layout Plain Layout
11824 1
11825 \end_layout
11826
11827 \end_inset
11828
11829 ] Si es 
11830 \begin_inset Flex Code
11831 status collapsed
11832
11833 \begin_layout Plain Layout
11834 1
11835 \end_layout
11836
11837 \end_inset
11838
11839 , marca el estilo como parte de un bloque de título (véanse también las
11840  entradas globales 
11841 \begin_inset Flex Code
11842 status collapsed
11843
11844 \begin_layout Plain Layout
11845 TitleLatexType
11846 \end_layout
11847
11848 \end_inset
11849
11850  y 
11851 \begin_inset Flex Code
11852 status collapsed
11853
11854 \begin_layout Plain Layout
11855 TitleLatexName
11856 \end_layout
11857
11858 \end_inset
11859
11860 ).
11861 \end_layout
11862
11863 \begin_layout Description
11864 \begin_inset Flex Code
11865 status collapsed
11866
11867 \begin_layout Plain Layout
11868 ItemCommand
11869 \end_layout
11870
11871 \end_inset
11872
11873  [
11874 \begin_inset Flex Code
11875 status collapsed
11876
11877 \begin_layout Plain Layout
11878 string="item"
11879 \end_layout
11880
11881 \end_inset
11882
11883
11884 \lang english
11885 The LaTeX command sequence declaring an item in a list.
11886  The command is to be defined without the preceding backslash (the default
11887  is
11888 \lang spanish
11889  
11890 \begin_inset Quotes eld
11891 \end_inset
11892
11893 item
11894 \begin_inset Quotes erd
11895 \end_inset
11896
11897
11898 \lang english
11899 resulting in 
11900 \lang spanish
11901
11902 \begin_inset Flex Code
11903 status collapsed
11904
11905 \begin_layout Plain Layout
11906
11907 \backslash
11908 item
11909 \end_layout
11910
11911 \end_inset
11912
11913  
11914 \lang english
11915 in the LaTeX output).
11916 \end_layout
11917
11918 \begin_layout Description
11919 \begin_inset Flex Code
11920 status collapsed
11921
11922 \begin_layout Plain Layout
11923 ItemSep
11924 \end_layout
11925
11926 \end_inset
11927
11928  [
11929 \begin_inset Flex Code
11930 status collapsed
11931
11932 \begin_layout Plain Layout
11933 float=0
11934 \end_layout
11935
11936 \end_inset
11937
11938 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
11939  Si se ponen otros formatos en un entorno, cada uno es separado con el comando
11940  de entorno 
11941 \begin_inset Flex Code
11942 status collapsed
11943
11944 \begin_layout Plain Layout
11945 ParSep
11946 \end_layout
11947
11948 \end_inset
11949
11950 .
11951  Pero el conjunto de los ítems del entorno son separados adicionalmente
11952  con este 
11953 \begin_inset Flex Code
11954 status collapsed
11955
11956 \begin_layout Plain Layout
11957 ItemSep
11958 \end_layout
11959
11960 \end_inset
11961
11962 .
11963  Anotar que esto es un
11964 \emph on
11965  multiplicador.
11966 \end_layout
11967
11968 \begin_layout Description
11969 \begin_inset Flex Code
11970 status collapsed
11971
11972 \begin_layout Plain Layout
11973 ItemTag
11974 \end_layout
11975
11976 \end_inset
11977
11978  [[FIXME]] (Usado solo con formatos tipo XML.)
11979 \end_layout
11980
11981 \begin_layout Description
11982 \begin_inset Flex Code
11983 status collapsed
11984
11985 \begin_layout Plain Layout
11986 KeepEmpty
11987 \end_layout
11988
11989 \end_inset
11990
11991  [
11992 \emph on
11993
11994 \begin_inset Flex Code
11995 status collapsed
11996
11997 \begin_layout Plain Layout
11998
11999 \emph on
12000 0
12001 \end_layout
12002
12003 \end_inset
12004
12005
12006 \emph default
12007 ,
12008 \begin_inset space \thinspace{}
12009 \end_inset
12010
12011
12012 \begin_inset Flex Code
12013 status collapsed
12014
12015 \begin_layout Plain Layout
12016 1
12017 \end_layout
12018
12019 \end_inset
12020
12021 ] Habitualmente, LyX no permite dejar un párrafo vacío, porque llevaría
12022  a una salida de LaTeX vacía.
12023  Sin embargo, hay algunos casos donde podría ser útil: en una plantilla
12024  de carta, los campos requeridos pueden proporcionarse vacíos, así el usuario
12025  no los olvida; en algunos casos especiales, se puede usar un estilo que
12026  no contiene texto real como una especie de salto.
12027 \end_layout
12028
12029 \begin_layout Description
12030 \begin_inset Flex Code
12031 status collapsed
12032
12033 \begin_layout Plain Layout
12034 LabelBottomsep
12035 \end_layout
12036
12037 \end_inset
12038
12039  [
12040 \begin_inset Flex Code
12041 status collapsed
12042
12043 \begin_layout Plain Layout
12044 float=0
12045 \end_layout
12046
12047 \end_inset
12048
12049 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
12050  Solo se usa para etiquetas que están sobre el cuerpo del texto (
12051 \begin_inset Flex Code
12052 status collapsed
12053
12054 \begin_layout Plain Layout
12055 Top_Environment
12056 \end_layout
12057
12058 \end_inset
12059
12060  y 
12061 \begin_inset Flex Code
12062 status collapsed
12063
12064 \begin_layout Plain Layout
12065 Centered_Top_Environment
12066 \end_layout
12067
12068 \end_inset
12069
12070 ).
12071 \end_layout
12072
12073 \begin_layout Description
12074 \begin_inset Flex Code
12075 status collapsed
12076
12077 \begin_layout Plain Layout
12078 LabelCounter
12079 \end_layout
12080
12081 \end_inset
12082
12083
12084 \lang english
12085  
12086 \lang spanish
12087 [
12088 \begin_inset Flex Code
12089 status collapsed
12090
12091 \begin_layout Plain Layout
12092 string=""
12093 \end_layout
12094
12095 \end_inset
12096
12097 ] El nombre del contador para numeración automática.
12098  
12099 \lang english
12100 In order to have the counter appear with your label, you will need to reference
12101  it in the 
12102 \begin_inset Flex Code
12103 status collapsed
12104
12105 \begin_layout Plain Layout
12106
12107 \family typewriter
12108 \lang english
12109 LabelString
12110 \end_layout
12111
12112 \end_inset
12113
12114 .
12115  This will work with 
12116 \begin_inset Flex Code
12117 status collapsed
12118
12119 \begin_layout Plain Layout
12120
12121 \lang english
12122 LabelType
12123 \end_layout
12124
12125 \end_inset
12126
12127 s, 
12128 \begin_inset Flex Code
12129 status collapsed
12130
12131 \begin_layout Plain Layout
12132
12133 \lang english
12134 Static
12135 \end_layout
12136
12137 \end_inset
12138
12139
12140 \begin_inset Flex Code
12141 status collapsed
12142
12143 \begin_layout Plain Layout
12144
12145 \lang english
12146 Above
12147 \end_layout
12148
12149 \end_inset
12150
12151  and 
12152 \begin_inset Flex Code
12153 status collapsed
12154
12155 \begin_layout Plain Layout
12156
12157 \lang english
12158 Centered
12159 \end_layout
12160
12161 \end_inset
12162
12163 , at least.
12164 \lang spanish
12165
12166 \begin_inset Newline newline
12167 \end_inset
12168
12169 Esto 
12170 \emph on
12171 puede
12172 \emph default
12173  ponerse también si 
12174 \begin_inset Flex Code
12175 status collapsed
12176
12177 \begin_layout Plain Layout
12178 LabelType
12179 \end_layout
12180
12181 \end_inset
12182
12183  es 
12184 \begin_inset Flex Code
12185 status collapsed
12186
12187 \begin_layout Plain Layout
12188 Enumerate
12189 \end_layout
12190
12191 \end_inset
12192
12193 , aunque este caso es un poco complicado.
12194  Supongamos que declaras 
12195 \begin_inset Quotes eld
12196 \end_inset
12197
12198
12199 \begin_inset Flex Code
12200 status collapsed
12201
12202 \begin_layout Plain Layout
12203 LabelCounter myenum
12204 \end_layout
12205
12206 \end_inset
12207
12208
12209 \begin_inset Quotes erd
12210 \end_inset
12211
12212 .
12213  Entonces, los contadores reales usados son 
12214 \begin_inset Flex Code
12215 status collapsed
12216
12217 \begin_layout Plain Layout
12218 myenumi
12219 \end_layout
12220
12221 \end_inset
12222
12223
12224 \begin_inset Flex Code
12225 status collapsed
12226
12227 \begin_layout Plain Layout
12228 myenumii
12229 \end_layout
12230
12231 \end_inset
12232
12233
12234 \begin_inset Flex Code
12235 status collapsed
12236
12237 \begin_layout Plain Layout
12238 myenumiii
12239 \end_layout
12240
12241 \end_inset
12242
12243 , y 
12244 \begin_inset Flex Code
12245 status collapsed
12246
12247 \begin_layout Plain Layout
12248 myenumiv
12249 \end_layout
12250
12251 \end_inset
12252
12253 , como en LaTeX.
12254  Estos contadores deben declararse todos por separado.
12255 \begin_inset Newline newline
12256 \end_inset
12257
12258 Véase la sección 
12259 \begin_inset CommandInset ref
12260 LatexCommand ref
12261 reference "sub:Contadores"
12262
12263 \end_inset
12264
12265  para detalles sobre contadores
12266 \begin_inset Flex Code
12267 status collapsed
12268
12269 \begin_layout Plain Layout
12270 LabelFont
12271 \end_layout
12272
12273 \end_inset
12274
12275  La tipografía usada para la etiqueta.
12276  Véase la sección
12277 \begin_inset space ~
12278 \end_inset
12279
12280
12281 \begin_inset CommandInset ref
12282 LatexCommand ref
12283 reference "sub:Tipografías"
12284
12285 \end_inset
12286
12287 .
12288 \end_layout
12289
12290 \begin_layout Description
12291 \begin_inset Flex Code
12292 status collapsed
12293
12294 \begin_layout Plain Layout
12295 LabelIndent
12296 \end_layout
12297
12298 \end_inset
12299
12300  [
12301 \begin_inset Flex Code
12302 status collapsed
12303
12304 \begin_layout Plain Layout
12305 string=""
12306 \end_layout
12307
12308 \end_inset
12309
12310 ] Texto que indica cuánto se debe sangrar una etiqueta.
12311 \end_layout
12312
12313 \begin_layout Description
12314 \begin_inset Flex Code
12315 status collapsed
12316
12317 \begin_layout Plain Layout
12318 LabelSep
12319 \end_layout
12320
12321 \end_inset
12322
12323  [
12324 \begin_inset Flex Code
12325 status collapsed
12326
12327 \begin_layout Plain Layout
12328 string=""
12329 \end_layout
12330
12331 \end_inset
12332
12333 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el
12334  cuerpo del texto.
12335  Solo se usa para etiquetas que no están sobre el cuerpo del texto.
12336 \end_layout
12337
12338 \begin_layout Description
12339 \begin_inset Flex Code
12340 status collapsed
12341
12342 \begin_layout Plain Layout
12343 LabelString
12344 \end_layout
12345
12346 \end_inset
12347
12348  [
12349 \begin_inset Flex Code
12350 status collapsed
12351
12352 \begin_layout Plain Layout
12353 string=""
12354 \end_layout
12355
12356 \end_inset
12357
12358 ] La cadena usada para una etiqueta del 
12359 \begin_inset Flex Code
12360 status collapsed
12361
12362 \begin_layout Plain Layout
12363 LabelType
12364 \end_layout
12365
12366 \end_inset
12367
12368  
12369 \begin_inset Flex Code
12370 status collapsed
12371
12372 \begin_layout Plain Layout
12373 Static
12374 \end_layout
12375
12376 \end_inset
12377
12378 .
12379  Si 
12380 \begin_inset Flex Code
12381 status collapsed
12382
12383 \begin_layout Plain Layout
12384 LabelCounter
12385 \end_layout
12386
12387 \end_inset
12388
12389  está establecido, esta cadena puede contener los comandos especiales de
12390  formato descritos en la sección
12391 \begin_inset space ~
12392 \end_inset
12393
12394
12395 \begin_inset CommandInset ref
12396 LatexCommand ref
12397 reference "sub:Contadores"
12398
12399 \end_inset
12400
12401 .
12402 \end_layout
12403
12404 \begin_layout Description
12405 \begin_inset Flex Code
12406 status collapsed
12407
12408 \begin_layout Plain Layout
12409 LabelStringAppendix
12410 \end_layout
12411
12412 \end_inset
12413
12414  [
12415 \begin_inset Flex Code
12416 status collapsed
12417
12418 \begin_layout Plain Layout
12419 string=""
12420 \end_layout
12421
12422 \end_inset
12423
12424 ] Esta se usa en el apéndice en vez de 
12425 \begin_inset Flex Code
12426 status collapsed
12427
12428 \begin_layout Plain Layout
12429 LabelString
12430 \end_layout
12431
12432 \end_inset
12433
12434 .
12435  Anotar que toda declaración de 
12436 \begin_inset Flex Code
12437 status collapsed
12438
12439 \begin_layout Plain Layout
12440 LabelString
12441 \end_layout
12442
12443 \end_inset
12444
12445  reconfigura también
12446 \begin_inset Newline newline
12447 \end_inset
12448
12449
12450 \begin_inset Flex Code
12451 status collapsed
12452
12453 \begin_layout Plain Layout
12454 LabelStringAppendix
12455 \end_layout
12456
12457 \end_inset
12458
12459 .
12460 \end_layout
12461
12462 \begin_layout Description
12463 \begin_inset Flex Code
12464 status collapsed
12465
12466 \begin_layout Plain Layout
12467 LabelTag
12468 \end_layout
12469
12470 \end_inset
12471
12472  [FIXME] (Usado solo con formatos tipo XML.)
12473 \end_layout
12474
12475 \begin_layout Description
12476 \begin_inset Flex Code
12477 status collapsed
12478
12479 \begin_layout Plain Layout
12480 LabelType
12481 \end_layout
12482
12483 \end_inset
12484
12485
12486 \lang ngerman
12487  
12488 \lang spanish
12489 [
12490 \begin_inset Flex Code
12491 status collapsed
12492
12493 \begin_layout Plain Layout
12494
12495 \emph on
12496 No_Label
12497 \emph default
12498 , Manual, Static, Above,
12499 \begin_inset Newline newline
12500 \end_inset
12501
12502 Centered, Sensitive, Enumerate,
12503 \begin_inset Newline newline
12504 \end_inset
12505
12506 Itemize, Bibliography
12507 \end_layout
12508
12509 \end_inset
12510
12511 ]
12512 \end_layout
12513
12514 \begin_deeper
12515 \begin_layout Description
12516 \begin_inset Flex Code
12517 status collapsed
12518
12519 \begin_layout Plain Layout
12520 Manual
12521 \end_layout
12522
12523 \end_inset
12524
12525  significa que la etiqueta es la primera palabra (hasta elprimer espacio
12526  real).
12527  Usa espacios protegidos si quieres más de una palabra como etiqueta.
12528  
12529 \end_layout
12530
12531 \begin_layout Description
12532 \begin_inset Flex Code
12533 status collapsed
12534
12535 \begin_layout Plain Layout
12536 Static
12537 \end_layout
12538
12539 \end_inset
12540
12541  significa que la etiqueta es simplemente cualquier 
12542 \begin_inset Flex Code
12543 status collapsed
12544
12545 \begin_layout Plain Layout
12546 LabelString
12547 \end_layout
12548
12549 \end_inset
12550
12551  declarado como tal.
12552  
12553 \lang english
12554 This will be displayed 
12555 \begin_inset Quotes fld
12556 \end_inset
12557
12558 inline
12559 \begin_inset Quotes frd
12560 \end_inset
12561
12562 , at the beginning of the paragraph.
12563  If the 
12564 \begin_inset Flex Code
12565 status collapsed
12566
12567 \begin_layout Plain Layout
12568
12569 \lang english
12570 LatexType
12571 \end_layout
12572
12573 \end_inset
12574
12575  is 
12576 \begin_inset Flex Code
12577 status collapsed
12578
12579 \begin_layout Plain Layout
12580
12581 \lang english
12582 Environment
12583 \end_layout
12584
12585 \end_inset
12586
12587 , then it will be displayed only in the first paragraph of any sequence
12588  of paragraphs with the same
12589 \lang spanish
12590  
12591 \begin_inset Flex Code
12592 status collapsed
12593
12594 \begin_layout Plain Layout
12595 Style
12596 \end_layout
12597
12598 \end_inset
12599
12600 .
12601 \end_layout
12602
12603 \begin_layout Description
12604 \begin_inset Flex Code
12605 status collapsed
12606
12607 \begin_layout Plain Layout
12608 Above
12609 \end_layout
12610
12611 \end_inset
12612
12613
12614 \begin_inset space ~
12615 \end_inset
12616
12617 y
12618 \begin_inset space ~
12619 \end_inset
12620
12621
12622 \begin_inset Flex Code
12623 status collapsed
12624
12625 \begin_layout Plain Layout
12626 Centered
12627 \end_layout
12628
12629 \end_inset
12630
12631  son casos especiales de 
12632 \begin_inset Flex Code
12633 status collapsed
12634
12635 \begin_layout Plain Layout
12636 Static
12637 \end_layout
12638
12639 \end_inset
12640
12641 .
12642  La etiqueta se imprimirá encima del párrafo, 
12643 \lang english
12644 either at the beginning of the line or centered
12645 \lang spanish
12646 .
12647 \end_layout
12648
12649 \begin_layout Description
12650 \begin_inset Flex Code
12651 status collapsed
12652
12653 \begin_layout Plain Layout
12654 Sensitive
12655 \end_layout
12656
12657 \end_inset
12658
12659  es un caso especial para las etiquetas de las leyendas de 
12660 \begin_inset Quotes fld
12661 \end_inset
12662
12663 Figura
12664 \begin_inset Quotes frd
12665 \end_inset
12666
12667  y 
12668 \begin_inset Quotes fld
12669 \end_inset
12670
12671 Tabla
12672 \begin_inset Quotes frd
12673 \end_inset
12674
12675 .
12676  
12677 \begin_inset Flex Code
12678 status collapsed
12679
12680 \begin_layout Plain Layout
12681 Sensitive
12682 \end_layout
12683
12684 \end_inset
12685
12686  quiere decir que la cadena (en código) de la etiqueta depende de la clase
12687  de flotante: Está codificado para ser `FloatType N', donde N es el valor
12688  del contador asociado al flotante.
12689  
12690 \lang english
12691 For the case that a caption is inserted outside of a float the 
12692 \begin_inset Flex Code
12693 status collapsed
12694
12695 \begin_layout Plain Layout
12696
12697 \lang english
12698 LabelString
12699 \end_layout
12700
12701 \end_inset
12702
12703  will appear as 
12704 \begin_inset Quotes fld
12705 \end_inset
12706
12707 Senseless!
12708 \lang spanish
12709
12710 \begin_inset Quotes frd
12711 \end_inset
12712
12713 .
12714 \end_layout
12715
12716 \begin_layout Description
12717 \begin_inset Flex Code
12718 status collapsed
12719
12720 \begin_layout Plain Layout
12721 Enumerate
12722 \end_layout
12723
12724 \end_inset
12725
12726  produce los tipos habituales de etiquetas de enumeración.
12727  Por ahora está codificado para usar números arábigos, minúsculas, números
12728  romanos en minúsculas y mayúsculas, respectivamente, para los cuatro niveles
12729  de profundidad posibles.
12730 \end_layout
12731
12732 \begin_layout Description
12733 \begin_inset Flex Code
12734 status collapsed
12735
12736 \begin_layout Plain Layout
12737 Itemize
12738 \end_layout
12739
12740 \end_inset
12741
12742  produce varias marcas para los distintos niveles.
12743  También está codificado.
12744 \end_layout
12745
12746 \begin_layout Description
12747 \begin_inset Flex Code
12748 status collapsed
12749
12750 \begin_layout Plain Layout
12751 Bibliography
12752 \end_layout
12753
12754 \end_inset
12755
12756  solo debería emplearse con 
12757 \begin_inset Flex Code
12758 status collapsed
12759
12760 \begin_layout Plain Layout
12761 LatexType BibEnvironment
12762 \end_layout
12763
12764 \end_inset
12765
12766 .
12767 \end_layout
12768
12769 \end_deeper
12770 \begin_layout Description
12771 \begin_inset Flex Code
12772 status collapsed
12773
12774 \begin_layout Plain Layout
12775 LangPreamble
12776 \end_layout
12777
12778 \end_inset
12779
12780  Esto sobrescribirá completamente cualquier declaración anterior de 
12781 \begin_inset Flex Code
12782 status collapsed
12783
12784 \begin_layout Plain Layout
12785 LangPreamble
12786 \end_layout
12787
12788 \end_inset
12789
12790  para este estilo.
12791  Debe acabar con 
12792 \begin_inset Quotes eld
12793 \end_inset
12794
12795
12796 \begin_inset Flex Code
12797 status collapsed
12798
12799 \begin_layout Plain Layout
12800 EndLangPreamble
12801 \end_layout
12802
12803 \end_inset
12804
12805
12806 \begin_inset Quotes erd
12807 \end_inset
12808
12809 .
12810  Véase la sección 
12811 \begin_inset CommandInset ref
12812 LatexCommand ref
12813 reference "sub:I18n"
12814
12815 \end_inset
12816
12817  para detallessobre su uso.
12818 \end_layout
12819
12820 \begin_layout Description
12821 \begin_inset Flex Code
12822 status collapsed
12823
12824 \begin_layout Plain Layout
12825 LatexName
12826 \end_layout
12827
12828 \end_inset
12829
12830  [
12831 \begin_inset Flex Code
12832 status collapsed
12833
12834 \begin_layout Plain Layout
12835 <nombre>
12836 \end_layout
12837
12838 \end_inset
12839
12840 ] El nombre correspondiente en LaTeX, ya sea de un comando o de un entorno.
12841 \end_layout
12842
12843 \begin_layout Description
12844 \begin_inset Flex Code
12845 status collapsed
12846
12847 \begin_layout Plain Layout
12848 LatexParam
12849 \end_layout
12850
12851 \end_inset
12852
12853  [
12854 \begin_inset Flex Code
12855 status collapsed
12856
12857 \begin_layout Plain Layout
12858 <parámetro>
12859 \end_layout
12860
12861 \end_inset
12862
12863 ] Un parámetro opcional para el correspondiente 
12864 \begin_inset Flex Code
12865 status collapsed
12866
12867 \begin_layout Plain Layout
12868 LatexName
12869 \end_layout
12870
12871 \end_inset
12872
12873 .
12874  Este parámetro no se puede cambiar desde dentro de LyX 
12875 \lang english
12876 (use 
12877 \begin_inset Flex Code
12878 status collapsed
12879
12880 \begin_layout Plain Layout
12881
12882 \lang english
12883 Argument
12884 \end_layout
12885
12886 \end_inset
12887
12888  for customizable parameters).
12889  This will be output as is after all LaTeX
12890 \lang spanish
12891  
12892 \begin_inset Flex Code
12893 status collapsed
12894
12895 \begin_layout Plain Layout
12896 Argument
12897 \end_layout
12898
12899 \end_inset
12900
12901 s.
12902 \end_layout
12903
12904 \begin_layout Description
12905 \begin_inset Flex Code
12906 status collapsed
12907
12908 \begin_layout Plain Layout
12909 LatexType
12910 \end_layout
12911
12912 \end_inset
12913
12914  [
12915 \begin_inset Flex Code
12916 status collapsed
12917
12918 \begin_layout Plain Layout
12919
12920 \emph on
12921 Paragraph
12922 \emph default
12923 , Command, Environment, Item_Environment,
12924 \begin_inset Newline newline
12925 \end_inset
12926
12927 List_Environment, Bib_Environment
12928 \end_layout
12929
12930 \end_inset
12931
12932 ] Cómo debería traducirse el estilo a LaTeX.
12933 \begin_inset Foot
12934 status open
12935
12936 \begin_layout Plain Layout
12937 \begin_inset Flex Code
12938 status collapsed
12939
12940 \begin_layout Plain Layout
12941 LatexType
12942 \end_layout
12943
12944 \end_inset
12945
12946  es un poco engañoso porque estas reglas se aplican también a clases SGML.
12947  Consulta los archivos de clases SGML 
12948 \lang english
12949 (filenames 
12950 \begin_inset Flex Code
12951 status collapsed
12952
12953 \begin_layout Plain Layout
12954
12955 \lang english
12956 db_*.inc
12957 \end_layout
12958
12959 \end_inset
12960
12961  )
12962 \lang spanish
12963  para ejemplos concretos.
12964 \end_layout
12965
12966 \end_inset
12967
12968
12969 \end_layout
12970
12971 \begin_deeper
12972 \begin_layout Description
12973 \begin_inset Flex Code
12974 status collapsed
12975
12976 \begin_layout Plain Layout
12977 Paragraph
12978 \end_layout
12979
12980 \end_inset
12981
12982  no significa nada especial.
12983 \end_layout
12984
12985 \begin_layout Description
12986 \begin_inset Flex Code
12987 status collapsed
12988
12989 \begin_layout Plain Layout
12990 Command
12991 \end_layout
12992
12993 \end_inset
12994
12995  significa 
12996 \begin_inset Flex Code
12997 status collapsed
12998
12999 \begin_layout Plain Layout
13000
13001 \backslash
13002
13003 \emph on
13004 LatexName
13005 \emph default
13006 {\SpecialChar \ldots{}
13007 }
13008 \end_layout
13009
13010 \end_inset
13011
13012 .
13013 \end_layout
13014
13015 \begin_layout Description
13016 \begin_inset Flex Code
13017 status collapsed
13018
13019 \begin_layout Plain Layout
13020 Environment
13021 \end_layout
13022
13023 \end_inset
13024
13025  significa 
13026 \begin_inset Flex Code
13027 status collapsed
13028
13029 \begin_layout Plain Layout
13030
13031 \backslash
13032 begin{
13033 \emph on
13034 LatexName
13035 \emph default
13036 }\SpecialChar \ldots{}
13037
13038 \backslash
13039 end{
13040 \emph on
13041 LatexName
13042 \emph default
13043 }
13044 \end_layout
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 Item_Environment
13057 \end_layout
13058
13059 \end_inset
13060
13061  eslo mismo que 
13062 \begin_inset Flex Code
13063 status collapsed
13064
13065 \begin_layout Plain Layout
13066 Environment
13067 \end_layout
13068
13069 \end_inset
13070
13071 , excepto que un 
13072 \begin_inset Flex Code
13073 status collapsed
13074
13075 \begin_layout Plain Layout
13076
13077 \backslash
13078 item
13079 \end_layout
13080
13081 \end_inset
13082
13083  se genera para cada párrafo de este entorno.
13084 \end_layout
13085
13086 \begin_layout Description
13087 \begin_inset Flex Code
13088 status collapsed
13089
13090 \begin_layout Plain Layout
13091 List_Environment
13092 \end_layout
13093
13094 \end_inset
13095
13096  es lo mismo que 
13097 \begin_inset Flex Code
13098 status collapsed
13099
13100 \begin_layout Plain Layout
13101 Item_Environment
13102 \end_layout
13103
13104 \end_inset
13105
13106 , excepto que
13107 \begin_inset Newline newline
13108 \end_inset
13109
13110
13111 \begin_inset Flex Code
13112 status collapsed
13113
13114 \begin_layout Plain Layout
13115 LabelWidthString
13116 \end_layout
13117
13118 \end_inset
13119
13120  se pasa como un argumento al entorno.
13121 \begin_inset Newline newline
13122 \end_inset
13123
13124
13125 \begin_inset Flex Code
13126 status collapsed
13127
13128 \begin_layout Plain Layout
13129 LabelWidthString
13130 \end_layout
13131
13132 \end_inset
13133
13134  puede definirse en el diálogo 
13135 \begin_inset Flex MenuItem
13136 status collapsed
13137
13138 \begin_layout Plain Layout
13139 Editar\SpecialChar \menuseparator
13140 Configuración
13141 \begin_inset space ~
13142 \end_inset
13143
13144 de
13145 \begin_inset space ~
13146 \end_inset
13147
13148 párrafos
13149 \end_layout
13150
13151 \end_inset
13152
13153 .
13154 \end_layout
13155
13156 \begin_layout Description
13157
13158 \lang english
13159 \begin_inset Flex Code
13160 status collapsed
13161
13162 \begin_layout Plain Layout
13163
13164 \lang english
13165 Bib_Environment
13166 \end_layout
13167
13168 \end_inset
13169
13170  is like 
13171 \begin_inset Flex Code
13172 status collapsed
13173
13174 \begin_layout Plain Layout
13175
13176 \lang english
13177 Environment
13178 \end_layout
13179
13180 \end_inset
13181
13182  but adds additionally the necessary mandatory argument (the longest label)
13183  to the begin statement of the bibliography environment:
13184 \begin_inset Newline newline
13185 \end_inset
13186
13187
13188 \begin_inset Flex Code
13189 status collapsed
13190
13191 \begin_layout Plain Layout
13192
13193 \lang english
13194
13195 \backslash
13196 begin{thebibliography}{99}
13197 \end_layout
13198
13199 \end_inset
13200
13201  It is therefore only useful for bibliography environments.
13202  The default longest label 
13203 \begin_inset Quotes eld
13204 \end_inset
13205
13206 99
13207 \begin_inset Quotes erd
13208 \end_inset
13209
13210  can be changed by the user in the paragraph settings of a bibliography
13211  item.
13212 \end_layout
13213
13214 \begin_layout Standard
13215 Poniendo juntas las últimas cosas, la salida LaTeX será una de estas: 
13216 \end_layout
13217
13218 \begin_layout LyX-Code
13219
13220 \backslash
13221 LatexName[LatexParam]{\SpecialChar \ldots{}
13222 }
13223 \end_layout
13224
13225 \begin_layout Standard
13226 o: 
13227 \end_layout
13228
13229 \begin_layout LyX-Code
13230
13231 \backslash
13232 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
13233  
13234 \backslash
13235 end{LatexName}.
13236 \end_layout
13237
13238 \begin_layout Standard
13239 dependiendo del tipo de LaTeX.
13240 \end_layout
13241
13242 \end_deeper
13243 \begin_layout Description
13244 \begin_inset Flex Code
13245 status collapsed
13246
13247 \begin_layout Plain Layout
13248 LeftDelim
13249 \end_layout
13250
13251 \end_inset
13252
13253  [
13254 \begin_inset Flex Code
13255 status collapsed
13256
13257 \begin_layout Plain Layout
13258 string
13259 \end_layout
13260
13261 \end_inset
13262
13263
13264 \lang english
13265 A string that is put at the beginning of the style content.
13266  A line break in the output can be indicated by
13267 \lang spanish
13268  
13269 \begin_inset Flex Code
13270 status collapsed
13271
13272 \begin_layout Plain Layout
13273 <br/>
13274 \end_layout
13275
13276 \end_inset
13277
13278 .
13279 \end_layout
13280
13281 \begin_layout Description
13282 \begin_inset Flex Code
13283 status collapsed
13284
13285 \begin_layout Plain Layout
13286 LeftMargin
13287 \end_layout
13288
13289 \end_inset
13290
13291  [
13292 \begin_inset Flex Code
13293 status collapsed
13294
13295 \begin_layout Plain Layout
13296 string=""
13297 \end_layout
13298
13299 \end_inset
13300
13301 ] Si pones estilos en entornos, los 
13302 \begin_inset Flex Code
13303 status collapsed
13304
13305 \begin_layout Plain Layout
13306 LeftMargin
13307 \end_layout
13308
13309 \end_inset
13310
13311  no son simplemente añadidos, sino aumentados en un factor 
13312 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13313 \end_inset
13314
13315 .
13316  Anotar que este parámetro se usa también cuando 
13317 \begin_inset Flex Code
13318 status collapsed
13319
13320 \begin_layout Plain Layout
13321 Margin
13322 \end_layout
13323
13324 \end_inset
13325
13326  se define como 
13327 \begin_inset Flex Code
13328 status collapsed
13329
13330 \begin_layout Plain Layout
13331 Manual
13332 \end_layout
13333
13334 \end_inset
13335
13336  o 
13337 \begin_inset Flex Code
13338 status collapsed
13339
13340 \begin_layout Plain Layout
13341 Dynamic
13342 \end_layout
13343
13344 \end_inset
13345
13346 .
13347  En ese caso se añade al margen manual o dinámico.
13348 \begin_inset Newline newline
13349 \end_inset
13350
13351 Por ejemplo 
13352 \begin_inset Quotes fld
13353 \end_inset
13354
13355
13356 \begin_inset Flex Code
13357 status collapsed
13358
13359 \begin_layout Plain Layout
13360 MM
13361 \end_layout
13362
13363 \end_inset
13364
13365
13366 \begin_inset Quotes frd
13367 \end_inset
13368
13369  significa que el párrafo se sangra con la anchura de 
13370 \begin_inset Quotes fld
13371 \end_inset
13372
13373
13374 \begin_inset Flex Code
13375 status collapsed
13376
13377 \begin_layout Plain Layout
13378 MM
13379 \end_layout
13380
13381 \end_inset
13382
13383
13384 \begin_inset Quotes frd
13385 \end_inset
13386
13387  en la tipografía normal.
13388  Se puede obtener una anchura negativa anteponiendo 
13389 \begin_inset Quotes fld
13390 \end_inset
13391
13392
13393 \begin_inset Flex Code
13394 status collapsed
13395
13396 \begin_layout Plain Layout
13397 -
13398 \end_layout
13399
13400 \end_inset
13401
13402
13403 \begin_inset Quotes frd
13404 \end_inset
13405
13406  a la cadena.
13407  Se eligió este método para que el aspecto sea el mismo con cada una de
13408  las tipografías de pantalla usadas.
13409 \end_layout
13410
13411 \begin_layout Description
13412 \begin_inset Flex Code
13413 status collapsed
13414
13415 \begin_layout Plain Layout
13416 Margin
13417 \end_layout
13418
13419 \end_inset
13420
13421  [
13422 \begin_inset Flex Code
13423 status collapsed
13424
13425 \begin_layout Plain Layout
13426
13427 \emph on
13428 Static
13429 \emph default
13430 , Manual, Dynamic, First_Dynamic, Right_Address_Box
13431 \end_layout
13432
13433 \end_inset
13434
13435
13436 \begin_inset Newline newline
13437 \end_inset
13438
13439 El tipo de margen que el estilo tiene en el lado izquierdo.
13440 \end_layout
13441
13442 \begin_deeper
13443 \begin_layout Description
13444 \begin_inset Flex Code
13445 status collapsed
13446
13447 \begin_layout Plain Layout
13448 Static
13449 \end_layout
13450
13451 \end_inset
13452
13453  significa un margen fijo.
13454 \end_layout
13455
13456 \begin_layout Description
13457 \begin_inset Flex Code
13458 status collapsed
13459
13460 \begin_layout Plain Layout
13461 Manual
13462 \end_layout
13463
13464 \end_inset
13465
13466  significa que el margen izquierdo depende de la cadena introducida en el
13467  diálogo 
13468 \begin_inset Flex MenuItem
13469 status collapsed
13470
13471 \begin_layout Plain Layout
13472 Editar\SpecialChar \menuseparator
13473 Configuración del párrafo\SpecialChar \ldots{}
13474
13475 \end_layout
13476
13477 \end_inset
13478
13479 .
13480  Esto se utiliza para componer bonitas listas sin tabuladores.
13481 \end_layout
13482
13483 \begin_layout Description
13484 \begin_inset Flex Code
13485 status collapsed
13486
13487 \begin_layout Plain Layout
13488 Dynamic
13489 \end_layout
13490
13491 \end_inset
13492
13493  significa que el margen depende del tamaño de la etiqueta.
13494  Esto se usa para las cabeceras automáticas de las listas numeradas.
13495  Es obvio que la cabecera 
13496 \begin_inset Quotes fld
13497 \end_inset
13498
13499 5.4.3.2.1 Cabecera muy larga
13500 \begin_inset Quotes frd
13501 \end_inset
13502
13503  debe tener un margen izquierdo más amplio (tan ancho como 
13504 \begin_inset Quotes fld
13505 \end_inset
13506
13507 5.4.3.2.1
13508 \begin_inset Quotes frd
13509 \end_inset
13510
13511  más el espacio) que 
13512 \begin_inset Quotes fld
13513 \end_inset
13514
13515 3.2 Cabecera muy larga
13516 \begin_inset Quotes frd
13517 \end_inset
13518
13519 , aunque los 
13520 \begin_inset Quotes fld
13521 \end_inset
13522
13523 procesadores de texto
13524 \begin_inset Quotes frd
13525 \end_inset
13526
13527  corrientes no sean capaces de hacer esto.
13528 \end_layout
13529
13530 \begin_layout Description
13531 \begin_inset Flex Code
13532 status collapsed
13533
13534 \begin_layout Plain Layout
13535 First_Dynamic
13536 \end_layout
13537
13538 \end_inset
13539
13540  es similar, pero solo la primera fila del párrafo es dinámica, mientras
13541  que las demás son estáticas; esto se emplea, por ejemplo, para descripciones.
13542 \end_layout
13543
13544 \begin_layout Description
13545 \begin_inset Flex Code
13546 status collapsed
13547
13548 \begin_layout Plain Layout
13549 Right_Address_Box
13550 \end_layout
13551
13552 \end_inset
13553
13554  significa que el margen se elige de manera que la fila más larga de este
13555  párrafo se adapte al margen derecho.
13556  Esto se emplea para componer una dirección en el lado derecho de la página.
13557  
13558 \end_layout
13559
13560 \end_deeper
13561 \begin_layout Description
13562 \begin_inset Flex Code
13563 status collapsed
13564
13565 \begin_layout Plain Layout
13566 NeedProtect
13567 \end_layout
13568
13569 \end_inset
13570
13571  [
13572 \begin_inset Flex Code
13573 status collapsed
13574
13575 \begin_layout Plain Layout
13576
13577 \emph on
13578 0
13579 \end_layout
13580
13581 \end_inset
13582
13583 ,
13584 \begin_inset space \thinspace{}
13585 \end_inset
13586
13587
13588 \begin_inset Flex Code
13589 status collapsed
13590
13591 \begin_layout Plain Layout
13592 1
13593 \end_layout
13594
13595 \end_inset
13596
13597 ] Si los comandos frágiles en este estilo deberían ser protegidos, 
13598 \begin_inset Flex Code
13599 status collapsed
13600
13601 \begin_layout Plain Layout
13602
13603 \backslash
13604 protect
13605 \end_layout
13606
13607 \end_inset
13608
13609 .
13610  (Nota: es 
13611 \emph on
13612 no 
13613 \emph default
13614 si este comando debería él mismo ser protegido.)
13615 \end_layout
13616
13617 \begin_layout Description
13618 \begin_inset Flex Code
13619 status collapsed
13620
13621 \begin_layout Plain Layout
13622 Newline
13623 \end_layout
13624
13625 \end_inset
13626
13627  [
13628 \begin_inset Flex Code
13629 status collapsed
13630
13631 \begin_layout Plain Layout
13632 0
13633 \end_layout
13634
13635 \end_inset
13636
13637 ,
13638 \begin_inset space \thinspace{}
13639 \end_inset
13640
13641
13642 \begin_inset Flex Code
13643 status collapsed
13644
13645 \begin_layout Plain Layout
13646
13647 \emph on
13648 1
13649 \end_layout
13650
13651 \end_inset
13652
13653 ] Si las líneas nuevas se transforman en líneas nuevas LaTeX (
13654 \begin_inset Flex Code
13655 status collapsed
13656
13657 \begin_layout Plain Layout
13658
13659 \backslash
13660
13661 \backslash
13662
13663 \end_layout
13664
13665 \end_inset
13666
13667 ) o no.
13668  La transformación puede desactivarse para permitir una edición más confortable
13669  de LaTeX en LyX.
13670 \end_layout
13671
13672 \begin_layout Description
13673 \begin_inset Flex Code
13674 status collapsed
13675
13676 \begin_layout Plain Layout
13677 NextNoIndent
13678 \end_layout
13679
13680 \end_inset
13681
13682  [
13683 \begin_inset Flex Code
13684 status collapsed
13685
13686 \begin_layout Plain Layout
13687
13688 \emph on
13689 0
13690 \end_layout
13691
13692 \end_inset
13693
13694 ,
13695 \begin_inset space \thinspace{}
13696 \end_inset
13697
13698
13699 \begin_inset Flex Code
13700 status collapsed
13701
13702 \begin_layout Plain Layout
13703 1
13704 \end_layout
13705
13706 \end_inset
13707
13708 ] Si se permite sangrar la primera fila del párrafo siguiente.
13709  
13710 \begin_inset Flex Code
13711 status collapsed
13712
13713 \begin_layout Plain Layout
13714 1
13715 \end_layout
13716
13717 \end_inset
13718
13719  significa que no se permite hacerlo; 
13720 \begin_inset Flex Code
13721 status collapsed
13722
13723 \begin_layout Plain Layout
13724 0
13725 \end_layout
13726
13727 \end_inset
13728
13729  significa que puede hacerse si se desea.
13730 \end_layout
13731
13732 \begin_layout Description
13733 \begin_inset Flex Code
13734 status collapsed
13735
13736 \begin_layout Plain Layout
13737 ObsoletedBy
13738 \end_layout
13739
13740 \end_inset
13741
13742  [
13743 \begin_inset Flex Code
13744 status collapsed
13745
13746 \begin_layout Plain Layout
13747 <nombre>
13748 \end_layout
13749
13750 \end_inset
13751
13752 ] Nombre de un estilo que ha reemplazado este estilo.
13753  Esto se emplea para renombrar un estilo, mientras que se mantiene compatibilida
13754 d hacia atrás.
13755 \end_layout
13756
13757 \begin_layout Description
13758 \begin_inset Flex Code
13759 status collapsed
13760
13761 \begin_layout Plain Layout
13762 ParbreakIsNewline
13763 \end_layout
13764
13765 \end_inset
13766
13767  [
13768 \begin_inset Flex Code
13769 status collapsed
13770
13771 \begin_layout Plain Layout
13772
13773 \emph on
13774 0
13775 \end_layout
13776
13777 \end_inset
13778
13779 ,
13780 \begin_inset space \thinspace{}
13781 \end_inset
13782
13783
13784 \begin_inset Flex Code
13785 status collapsed
13786
13787 \begin_layout Plain Layout
13788 1
13789 \end_layout
13790
13791 \end_inset
13792
13793 ] Indica que los párrafos no serán separados por una línea vacía en la salida
13794  LaTeX, solo por un salto de línea; junto con 
13795 \begin_inset Flex Code
13796 status collapsed
13797
13798 \begin_layout Plain Layout
13799 PassThru 1
13800 \end_layout
13801
13802 \end_inset
13803
13804 , esto permite emular un editor de texto simple (como un recuadro ERT).
13805 \end_layout
13806
13807 \begin_layout Description
13808 \begin_inset Flex Code
13809 status collapsed
13810
13811 \begin_layout Plain Layout
13812 ParIndent
13813 \end_layout
13814
13815 \end_inset
13816
13817  [
13818 \begin_inset Flex Code
13819 status collapsed
13820
13821 \begin_layout Plain Layout
13822 string=""
13823 \end_layout
13824
13825 \end_inset
13826
13827 ] El sangrado de la primera línea de un párrafo.
13828  
13829 \begin_inset Flex Code
13830 status collapsed
13831
13832 \begin_layout Plain Layout
13833 Parindent
13834 \end_layout
13835
13836 \end_inset
13837
13838  estará fijado para un determinado estilo.
13839  La excepción es el estilo 
13840 \begin_inset Flex Code
13841 status collapsed
13842
13843 \begin_layout Plain Layout
13844 Normal
13845 \end_layout
13846
13847 \end_inset
13848
13849 , puesto que la sangría de un párrafo de estilo 
13850 \begin_inset Flex Code
13851 status collapsed
13852
13853 \begin_layout Plain Layout
13854 Normal
13855 \end_layout
13856
13857 \end_inset
13858
13859  puede prohibirse con 
13860 \begin_inset Flex Code
13861 status collapsed
13862
13863 \begin_layout Plain Layout
13864 NextNoIndent
13865 \end_layout
13866
13867 \end_inset
13868
13869 .
13870  Además, los párrafos de estilo 
13871 \begin_inset Flex Code
13872 status collapsed
13873
13874 \begin_layout Plain Layout
13875 Normal
13876 \end_layout
13877
13878 \end_inset
13879
13880  dentro de entornos usan la sangría 
13881 \begin_inset Flex Code
13882 status collapsed
13883
13884 \begin_layout Plain Layout
13885 Parindent
13886 \end_layout
13887
13888 \end_inset
13889
13890  del entorno, no su propio valor.
13891  Por ejemplo, los párrafos 
13892 \begin_inset Flex Code
13893 status collapsed
13894
13895 \begin_layout Plain Layout
13896 Normal
13897 \end_layout
13898
13899 \end_inset
13900
13901  en una enumeración no se sangran.
13902 \end_layout
13903
13904 \begin_layout Description
13905 \begin_inset Flex Code
13906 status collapsed
13907
13908 \begin_layout Plain Layout
13909 ParSep
13910 \end_layout
13911
13912 \end_inset
13913
13914  [
13915 \begin_inset Flex Code
13916 status collapsed
13917
13918 \begin_layout Plain Layout
13919 float=0
13920 \end_layout
13921
13922 \end_inset
13923
13924 ] El espacio vertical entre dos párrafos de este estilo.
13925 \end_layout
13926
13927 \begin_layout Description
13928 \begin_inset Flex Code
13929 status collapsed
13930
13931 \begin_layout Plain Layout
13932 Parskip
13933 \end_layout
13934
13935 \end_inset
13936
13937  [
13938 \begin_inset Flex Code
13939 status collapsed
13940
13941 \begin_layout Plain Layout
13942 float=0
13943 \end_layout
13944
13945 \end_inset
13946
13947 ] LyX permite al usuario elegir entre 
13948 \begin_inset Quotes fld
13949 \end_inset
13950
13951 sangrado
13952 \begin_inset Quotes frd
13953 \end_inset
13954
13955  o 
13956 \begin_inset Quotes fld
13957 \end_inset
13958
13959 espacio vertical
13960 \begin_inset Quotes frd
13961 \end_inset
13962
13963  para
13964 \lang english
13965  separate paragraphs
13966 \lang spanish
13967 .
13968  Si se elige 
13969 \begin_inset Quotes fld
13970 \end_inset
13971
13972 sangrado
13973 \begin_inset Quotes frd
13974 \end_inset
13975
13976 , este valor es completamente ignorado.
13977  Si se elige 
13978 \begin_inset Quotes fld
13979 \end_inset
13980
13981 espacio vertical
13982 \begin_inset Quotes frd
13983 \end_inset
13984
13985 , el sangrado de un estilo tipo 
13986 \begin_inset Quotes fld
13987 \end_inset
13988
13989 Párrafo
13990 \begin_inset Quotes frd
13991 \end_inset
13992
13993  de LaTeX se ignora y todos los párrafos son separados con este argumento
13994  
13995 \begin_inset Quotes fld
13996 \end_inset
13997
13998 parskip
13999 \begin_inset Quotes frd
14000 \end_inset
14001
14002 .
14003  El espacio vertical se calcula con 
14004 \begin_inset Flex Code
14005 status collapsed
14006
14007 \begin_layout Plain Layout
14008 Parskip
14009 \begin_inset space ~
14010 \end_inset
14011
14012 * DefaultHeight
14013 \end_layout
14014
14015 \end_inset
14016
14017 , donde 
14018 \begin_inset Flex Code
14019 status collapsed
14020
14021 \begin_layout Plain Layout
14022 DefaultHeight
14023 \end_layout
14024
14025 \end_inset
14026
14027  es la altura de una fila con la tipografía normal.
14028  De esta forma, el aspecto queda igual con diferentes tipografías de pantalla.
14029 \end_layout
14030
14031 \begin_layout Description
14032 \begin_inset Flex Code
14033 status collapsed
14034
14035 \begin_layout Plain Layout
14036 PassThru
14037 \end_layout
14038
14039 \end_inset
14040
14041  [
14042 \emph on
14043
14044 \begin_inset Flex Code
14045 status collapsed
14046
14047 \begin_layout Plain Layout
14048
14049 \emph on
14050 0
14051 \end_layout
14052
14053 \end_inset
14054
14055
14056 \emph default
14057 ,
14058 \begin_inset space \thinspace{}
14059 \end_inset
14060
14061
14062 \begin_inset Flex Code
14063 status collapsed
14064
14065 \begin_layout Plain Layout
14066 1
14067 \end_layout
14068
14069 \end_inset
14070
14071 ] Si el contenido de este párrafo debería aparecer en la salida en forma
14072  cruda, es decir sin las traducciones especiales que LaTeX necesitaría.
14073 \end_layout
14074
14075 \begin_layout Description
14076 \begin_inset Flex Code
14077 status collapsed
14078
14079 \begin_layout Plain Layout
14080 Preamble
14081 \end_layout
14082
14083 \end_inset
14084
14085  Información a incluir en el preámbulo LaTeX cuando se usa este estilo.
14086  Utilizado para definir macros, paquetes a cargar, etc., requeridos por este
14087  estilo en particular.
14088  Debe terminar con 
14089 \begin_inset Quotes fld
14090 \end_inset
14091
14092
14093 \begin_inset Flex Code
14094 status collapsed
14095
14096 \begin_layout Plain Layout
14097 EndPreamble
14098 \end_layout
14099
14100 \end_inset
14101
14102
14103 \begin_inset Quotes frd
14104 \end_inset
14105
14106 .
14107 \end_layout
14108
14109 \begin_layout Description
14110 \begin_inset Flex Code
14111 status collapsed
14112
14113 \begin_layout Plain Layout
14114 RefPrefix
14115 \end_layout
14116
14117 \end_inset
14118
14119  [
14120 \begin_inset Flex Code
14121 status collapsed
14122
14123 \begin_layout Plain Layout
14124 string
14125 \end_layout
14126
14127 \end_inset
14128
14129 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos
14130  de este tipo.
14131  Esto permite el uso de referencias con formato.
14132 \end_layout
14133
14134 \begin_layout Description
14135 \begin_inset Flex Code
14136 status collapsed
14137
14138 \begin_layout Plain Layout
14139 Requires
14140 \end_layout
14141
14142 \end_inset
14143
14144
14145 \series medium
14146  [
14147 \begin_inset Flex Code
14148 status collapsed
14149
14150 \begin_layout Plain Layout
14151 string
14152 \end_layout
14153
14154 \end_inset
14155
14156 ]
14157 \series default
14158  Si el estilo requiere la característica 
14159 \begin_inset Flex Code
14160 status collapsed
14161
14162 \begin_layout Plain Layout
14163 string
14164 \end_layout
14165
14166 \end_inset
14167
14168 .
14169  Véase arriba (
14170 \lang english
14171 sec
14172 \lang spanish
14173 .
14174 \begin_inset space ~
14175 \end_inset
14176
14177
14178 \begin_inset CommandInset ref
14179 LatexCommand ref
14180 reference "sub:Parámetros-generales-clases"
14181
14182 \end_inset
14183
14184 ) la descripción de 
14185 \begin_inset Flex Code
14186 status collapsed
14187
14188 \begin_layout Plain Layout
14189 Provides
14190 \end_layout
14191
14192 \end_inset
14193
14194  para información sobre 'características'.
14195  
14196 \end_layout
14197
14198 \begin_layout Description
14199 \begin_inset Flex Code
14200 status collapsed
14201
14202 \begin_layout Plain Layout
14203 ResetArgs
14204 \end_layout
14205
14206 \end_inset
14207
14208  [
14209 \begin_inset Flex Code
14210 status collapsed
14211
14212 \begin_layout Plain Layout
14213
14214 \emph on
14215 0
14216 \end_layout
14217
14218 \end_inset
14219
14220 ,
14221 \begin_inset Flex Code
14222 status collapsed
14223
14224 \begin_layout Plain Layout
14225 1
14226 \end_layout
14227
14228 \end_inset
14229
14230
14231 \lang english
14232 Resets the LaTeX arguments of this style (as defined via the 
14233 \begin_inset Flex Code
14234 status collapsed
14235
14236 \begin_layout Plain Layout
14237
14238 \lang english
14239 Argument
14240 \end_layout
14241
14242 \end_inset
14243
14244  tag).
14245  This is useful if you have copied a style via 
14246 \begin_inset Flex Code
14247 status collapsed
14248
14249 \begin_layout Plain Layout
14250
14251 \lang english
14252 CopyStyle
14253 \end_layout
14254
14255 \end_inset
14256
14257 , but you do not want to inherit its (required and optional) arguments.
14258 \end_layout
14259
14260 \begin_layout Description
14261 \begin_inset Flex Code
14262 status collapsed
14263
14264 \begin_layout Plain Layout
14265 RightDelim
14266 \end_layout
14267
14268 \end_inset
14269
14270  [
14271 \begin_inset Flex Code
14272 status collapsed
14273
14274 \begin_layout Plain Layout
14275 string
14276 \end_layout
14277
14278 \end_inset
14279
14280
14281 \lang english
14282 A string that is put at the end of the layout content.
14283  A line break in the output can be indicated by
14284 \lang spanish
14285  
14286 \begin_inset Flex Code
14287 status collapsed
14288
14289 \begin_layout Plain Layout
14290 <br/>
14291 \end_layout
14292
14293 \end_inset
14294
14295 .
14296 \end_layout
14297
14298 \begin_layout Description
14299 \begin_inset Flex Code
14300 status collapsed
14301
14302 \begin_layout Plain Layout
14303 RightMargin
14304 \end_layout
14305
14306 \end_inset
14307
14308  [
14309 \begin_inset Flex Code
14310 status collapsed
14311
14312 \begin_layout Plain Layout
14313 string=""
14314 \end_layout
14315
14316 \end_inset
14317
14318 ] Similar a 
14319 \begin_inset Flex Code
14320 status collapsed
14321
14322 \begin_layout Plain Layout
14323 LeftMargin
14324 \end_layout
14325
14326 \end_inset
14327
14328 .
14329 \end_layout
14330
14331 \begin_layout Description
14332 \begin_inset Flex Code
14333 status collapsed
14334
14335 \begin_layout Plain Layout
14336 Spacing
14337 \end_layout
14338
14339 \end_inset
14340
14341  [
14342 \begin_inset Flex Code
14343 status collapsed
14344
14345 \begin_layout Plain Layout
14346
14347 \emph on
14348 single
14349 \end_layout
14350
14351 \end_inset
14352
14353
14354 \begin_inset Flex Code
14355 status collapsed
14356
14357 \begin_layout Plain Layout
14358 onehalf
14359 \end_layout
14360
14361 \end_inset
14362
14363
14364 \begin_inset Flex Code
14365 status collapsed
14366
14367 \begin_layout Plain Layout
14368 double
14369 \end_layout
14370
14371 \end_inset
14372
14373
14374 \begin_inset Flex Code
14375 status collapsed
14376
14377 \begin_layout Plain Layout
14378 other
14379 \begin_inset space ~
14380 \end_inset
14381
14382 <valor>
14383 \end_layout
14384
14385 \end_inset
14386
14387 ] Esto define cuál debería ser el espacio predefinido en el estilo.
14388  Los argumentos 
14389 \begin_inset Flex Code
14390 status collapsed
14391
14392 \begin_layout Plain Layout
14393 single
14394 \end_layout
14395
14396 \end_inset
14397
14398
14399 \begin_inset Flex Code
14400 status collapsed
14401
14402 \begin_layout Plain Layout
14403 onehalf
14404 \end_layout
14405
14406 \end_inset
14407
14408  y 
14409 \begin_inset Flex Code
14410 status collapsed
14411
14412 \begin_layout Plain Layout
14413 double
14414 \end_layout
14415
14416 \end_inset
14417
14418  corresponden respectivamente a un multiplicador de 1, 1.25 y 1.667.
14419  Si se especifica el argumento 
14420 \begin_inset Flex Code
14421 status collapsed
14422
14423 \begin_layout Plain Layout
14424 other
14425 \end_layout
14426
14427 \end_inset
14428
14429 , entonces se debería proporcionar además un argumento numérico que será
14430  el valor real del multiplicador.
14431  Anotar que, al contrario que otros parámetros, 
14432 \begin_inset Flex Code
14433 status collapsed
14434
14435 \begin_layout Plain Layout
14436 Spacing
14437 \end_layout
14438
14439 \end_inset
14440
14441  implica la generación de código LaTeX específico, usando el paquete LaTeX
14442  
14443 \begin_inset Flex Code
14444 status collapsed
14445
14446 \begin_layout Plain Layout
14447 setspace
14448 \end_layout
14449
14450 \end_inset
14451
14452 .
14453 \end_layout
14454
14455 \begin_layout Description
14456 \begin_inset Flex Code
14457 status collapsed
14458
14459 \begin_layout Plain Layout
14460 Spellcheck
14461 \end_layout
14462
14463 \end_inset
14464
14465  [
14466 \begin_inset Flex Code
14467 status collapsed
14468
14469 \begin_layout Plain Layout
14470 0
14471 \end_layout
14472
14473 \end_inset
14474
14475 ,
14476 \emph on
14477
14478 \begin_inset space \thinspace{}
14479 \end_inset
14480
14481
14482 \emph default
14483
14484 \begin_inset Flex Code
14485 status collapsed
14486
14487 \begin_layout Plain Layout
14488
14489 \emph on
14490 1
14491 \end_layout
14492
14493 \end_inset
14494
14495 ] Corrección ortográfica de párrafos de este estilo.
14496  Por omisión, sí.
14497 \end_layout
14498
14499 \begin_layout Description
14500 \begin_inset Flex Code
14501 status collapsed
14502
14503 \begin_layout Plain Layout
14504 TextFont
14505 \end_layout
14506
14507 \end_inset
14508
14509  La tipografía para el cuerpo del texto.
14510  Véase la sección 
14511 \begin_inset CommandInset ref
14512 LatexCommand ref
14513 reference "sub:Tipografías"
14514
14515 \end_inset
14516
14517 .
14518 \end_layout
14519
14520 \begin_layout Description
14521 \begin_inset Flex Code
14522 status collapsed
14523
14524 \begin_layout Plain Layout
14525 TocLevel
14526 \end_layout
14527
14528 \end_inset
14529
14530  [
14531 \begin_inset Flex Code
14532 status collapsed
14533
14534 \begin_layout Plain Layout
14535 int=3
14536 \end_layout
14537
14538 \end_inset
14539
14540 ] El nivel del estilo en el índice general.
14541  Esto se usa para la numeración automática de los encabezados de sección.
14542 \end_layout
14543
14544 \begin_layout Description
14545 \begin_inset Flex Code
14546 status collapsed
14547
14548 \begin_layout Plain Layout
14549 TopSep
14550 \end_layout
14551
14552 \end_inset
14553
14554  [
14555 \begin_inset Flex Code
14556 status collapsed
14557
14558 \begin_layout Plain Layout
14559 float=0
14560 \end_layout
14561
14562 \end_inset
14563
14564 ] El espacio vertical con el que el primero de una cadena de párrafos con
14565  este estilo se separa del párrafo anterior.
14566  Si el párrafo anterior tiene otro estilo, la separación no es simplemente
14567  añadida, sino que se pone la máxima.
14568 \end_layout
14569
14570 \begin_layout Subsection
14571 Internacionalización de estilos de párrafo
14572 \begin_inset CommandInset label
14573 LatexCommand label
14574 name "sub:I18n"
14575
14576 \end_inset
14577
14578
14579 \end_layout
14580
14581 \begin_layout Standard
14582 LyX ha soportado desde hace tiempo la internacionalización de la información
14583  de formato, pero, hasta la versión 2.0, esto se aplicaba solo a la interfaz
14584  de usuario y no a la salida, digamos, PDF.
14585  Así, por ej., autores franceses tenían que acudir a feos trucos para conseguir
14586  `Théorème 1' en vez de `Theorem 1'.
14587  Gracias a Georg Baum, este ya no es el caso.
14588 \end_layout
14589
14590 \begin_layout Standard
14591 Si un 
14592 \begin_inset Flex Code
14593 status collapsed
14594
14595 \begin_layout Plain Layout
14596 Style
14597 \end_layout
14598
14599 \end_inset
14600
14601  define texto que se mostrará en el documento exportado, puede usar 
14602 \begin_inset Flex Code
14603 status collapsed
14604
14605 \begin_layout Plain Layout
14606 LangPreamble
14607 \end_layout
14608
14609 \end_inset
14610
14611  y 
14612 \begin_inset Flex Code
14613 status collapsed
14614
14615 \begin_layout Plain Layout
14616 BabelPreamble
14617 \end_layout
14618
14619 \end_inset
14620
14621  para soportar correctamente documentos con idioma distinto del inglés e
14622  incluso documentos plurilingües.
14623  El siguiente extracto (del archivo 
14624 \begin_inset Flex Code
14625 status collapsed
14626
14627 \begin_layout Plain Layout
14628 theorems-ams.inc
14629 \end_layout
14630
14631 \end_inset
14632
14633 ) muestra cómo funciona:
14634 \end_layout
14635
14636 \begin_layout LyX-Code
14637 Preamble
14638 \end_layout
14639
14640 \begin_deeper
14641 \begin_layout LyX-Code
14642   
14643 \backslash
14644 theoremstyle{remark}
14645 \end_layout
14646
14647 \begin_layout LyX-Code
14648   
14649 \backslash
14650 newtheorem{claim}[thm]{
14651 \backslash
14652 protect
14653 \backslash
14654 claimname}
14655 \end_layout
14656
14657 \begin_layout LyX-Code
14658 EndPreamble
14659 \end_layout
14660
14661 \begin_layout LyX-Code
14662 LangPreamble
14663 \end_layout
14664
14665 \begin_layout LyX-Code
14666   
14667 \backslash
14668 providecommand{
14669 \backslash
14670 claimname}{_(Claim)}
14671 \end_layout
14672
14673 \begin_layout LyX-Code
14674 EndLangPreamble
14675 \end_layout
14676
14677 \begin_layout LyX-Code
14678 BabelPreamble
14679 \end_layout
14680
14681 \begin_layout LyX-Code
14682     
14683 \backslash
14684 addto
14685 \backslash
14686 captions$$lang{
14687 \backslash
14688 renewcommand{
14689 \backslash
14690 claimname}{_(Claim)}}
14691 \end_layout
14692
14693 \begin_layout LyX-Code
14694 EndBabelPreamble
14695 \end_layout
14696
14697 \end_deeper
14698 \begin_layout Standard
14699 En principio, cualquier LaTeX legal puede aparecer en las etiquetas 
14700 \begin_inset Flex Code
14701 status collapsed
14702
14703 \begin_layout Plain Layout
14704 LangPreamble
14705 \end_layout
14706
14707 \end_inset
14708
14709  y 
14710 \begin_inset Flex Code
14711 status collapsed
14712
14713 \begin_layout Plain Layout
14714 BabelPreamble
14715 \end_layout
14716
14717 \end_inset
14718
14719 , pero en la práctica el aspecto será generalmente como el mostrado aquí.
14720  La clave para una correcta traducción del texto impreso es la definición
14721  del comando LaTeX 
14722 \begin_inset Flex Code
14723 status collapsed
14724
14725 \begin_layout Plain Layout
14726
14727 \backslash
14728 claimname
14729 \end_layout
14730
14731 \end_inset
14732
14733  y su uso en 
14734 \begin_inset Flex Code
14735 status collapsed
14736
14737 \begin_layout Plain Layout
14738
14739 \backslash
14740 newtheorem
14741 \end_layout
14742
14743 \end_inset
14744
14745 .
14746  
14747 \end_layout
14748
14749 \begin_layout Standard
14750 La etiqueta 
14751 \begin_inset Flex Code
14752 status collapsed
14753
14754 \begin_layout Plain Layout
14755 LangPreamble
14756 \end_layout
14757
14758 \end_inset
14759
14760  proporciona internacionalización basada en el idioma global del documento.
14761  El contenido de la etiqueta se incluirá en el preámbulo, igual que con
14762  la etiqueta 
14763 \begin_inset Flex Code
14764 status collapsed
14765
14766 \begin_layout Plain Layout
14767 Preamble
14768 \end_layout
14769
14770 \end_inset
14771
14772 .
14773  Lo que la hace especial es el uso de la 
14774 \begin_inset Quotes eld
14775 \end_inset
14776
14777 función
14778 \begin_inset Quotes erd
14779 \end_inset
14780
14781  
14782 \begin_inset Flex Code
14783 status collapsed
14784
14785 \begin_layout Plain Layout
14786 _()
14787 \end_layout
14788
14789 \end_inset
14790
14791 , que será reemplazada, cuando LyX genere la salida LaTeX, por la traducción
14792  de su argumento al idioma del documento.
14793 \end_layout
14794
14795 \begin_layout Standard
14796 La etiqueta 
14797 \begin_inset Flex Code
14798 status collapsed
14799
14800 \begin_layout Plain Layout
14801 BabelPreamble
14802 \end_layout
14803
14804 \end_inset
14805
14806  es más compleja, puesto que está pensada para dar soporte a documentos
14807  plurilingües y ofrece una interfaz al paquete 
14808 \begin_inset Flex Code
14809 status collapsed
14810
14811 \begin_layout Plain Layout
14812 babel
14813 \end_layout
14814
14815 \end_inset
14816
14817 .
14818  Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca
14819  en el documento.
14820  En este caso, el argumento en 
14821 \begin_inset Flex Code
14822 status collapsed
14823
14824 \begin_layout Plain Layout
14825 _()
14826 \end_layout
14827
14828 \end_inset
14829
14830  se reemplazará por su traducción al idioma en cuestión; la expresión 
14831 \begin_inset Flex Code
14832 status collapsed
14833
14834 \begin_layout Plain Layout
14835 $$lang
14836 \end_layout
14837
14838 \end_inset
14839
14840  es reemplazada por el nombre del idioma (el usado por el paquete babel).
14841 \end_layout
14842
14843 \begin_layout Standard
14844 Un documento en alemán que también incluya una sección en francés tendría
14845  lo siguiente en el preámbulo:
14846 \end_layout
14847
14848 \begin_layout LyX-Code
14849
14850 \backslash
14851 addto
14852 \backslash
14853 captionsfrench{
14854 \backslash
14855 renewcommand{
14856 \backslash
14857 claimname}{Affirmation}}
14858 \begin_inset Newline newline
14859 \end_inset
14860
14861
14862 \backslash
14863 addto
14864 \backslash
14865 captionsngerman{
14866 \backslash
14867 renewcommand{
14868 \backslash
14869 claimname}{Behauptung}}
14870 \begin_inset Newline newline
14871 \end_inset
14872
14873
14874 \backslash
14875 providecommand{
14876 \backslash
14877 claimname}{Behauptung}
14878 \end_layout
14879
14880 \begin_layout Standard
14881 LaTeX y 
14882 \begin_inset Flex Code
14883 status collapsed
14884
14885 \begin_layout Plain Layout
14886 babel
14887 \end_layout
14888
14889 \end_inset
14890
14891  conspirarán para producir el texto correcto en la salida.
14892 \end_layout
14893
14894 \begin_layout Standard
14895 Un punto importante a tener en cuenta aquí es que las traducciones son proporcio
14896 nadas por el propio LyX, por medio del mismo mecanismo empleado para la
14897  internacionalización de la interfaz de usuario.
14898  Esto quiere decir, en definitiva, que 
14899 \begin_inset Flex Code
14900 status collapsed
14901
14902 \begin_layout Plain Layout
14903 LangPreamble
14904 \end_layout
14905
14906 \end_inset
14907
14908  y 
14909 \begin_inset Flex Code
14910 status collapsed
14911
14912 \begin_layout Plain Layout
14913 BabelPreamble
14914 \end_layout
14915
14916 \end_inset
14917
14918  realmente solo son útiles en archivos de formato que son proporcionados
14919  por LyX, puesto que el texto introducido en archivos de formato creados
14920  por el usuario no serán tenidos en cuenta por las rutinas de internacionalizaci
14921 ón de LyX.
14922  Sin embargo, cualquier formato creado con la intención de ser incluido
14923  en LyX debería usar estas etiquetas en los lugares apropiados.
14924 \end_layout
14925
14926 \begin_layout Subsection
14927 Flotantes
14928 \begin_inset CommandInset label
14929 LatexCommand label
14930 name "sub:Flotantes"
14931
14932 \end_inset
14933
14934
14935 \end_layout
14936
14937 \begin_layout Standard
14938 Es necesario definir los flotantes (
14939 \begin_inset Flex MenuItem
14940 status collapsed
14941
14942 \begin_layout Plain Layout
14943 figura
14944 \end_layout
14945
14946 \end_inset
14947
14948
14949 \begin_inset Flex MenuItem
14950 status collapsed
14951
14952 \begin_layout Plain Layout
14953 cuadro
14954 \end_layout
14955
14956 \end_inset
14957
14958 , \SpecialChar \ldots{}
14959 ) en la propia clase de texto.
14960  Los flotantes normales se incluyen en el archivo 
14961 \begin_inset Flex Code
14962 status collapsed
14963
14964 \begin_layout Plain Layout
14965 stdfloats.inc
14966 \end_layout
14967
14968 \end_inset
14969
14970 , así que no tendrás más que añadir
14971 \end_layout
14972
14973 \begin_layout LyX-Code
14974 Input stdfloats.inc
14975 \end_layout
14976
14977 \begin_layout Standard
14978 en tu archivo de formato.
14979  Si quieres implementar una clase de texto que proponga algún otro tipo
14980  de flotante (como la clase AGU empaquetada con LyX), la información siguiente
14981  te servirá de ayuda:
14982 \end_layout
14983
14984 \begin_layout Description
14985 \begin_inset Flex Code
14986 status collapsed
14987
14988 \begin_layout Plain Layout
14989 Extension
14990 \end_layout
14991
14992 \end_inset
14993
14994  [
14995 \begin_inset Flex Code
14996 status collapsed
14997
14998 \begin_layout Plain Layout
14999 string
15000 \end_layout
15001
15002 \end_inset
15003
15004 =
15005 \begin_inset Quotes erd
15006 \end_inset
15007
15008
15009 \begin_inset Quotes erd
15010 \end_inset
15011
15012 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15013  (u otra cosa).
15014  LaTeX escribe las leyendas en este archivo.
15015 \end_layout
15016
15017 \begin_layout Description
15018 \begin_inset Flex Code
15019 status collapsed
15020
15021 \begin_layout Plain Layout
15022 GuiName
15023 \end_layout
15024
15025 \end_inset
15026
15027  [
15028 \begin_inset Flex Code
15029 status collapsed
15030
15031 \begin_layout Plain Layout
15032 string
15033 \end_layout
15034
15035 \end_inset
15036
15037 =
15038 \begin_inset Quotes erd
15039 \end_inset
15040
15041
15042 \begin_inset Quotes erd
15043 \end_inset
15044
15045 ] La cadena que se usará en los menús y también para la leyenda.
15046  Esto se traduce al idioma actual si se usa.
15047 \end_layout
15048
15049 \begin_layout Description
15050 \begin_inset Flex Code
15051 status collapsed
15052
15053 \begin_layout Plain Layout
15054 HTML*
15055 \end_layout
15056
15057 \end_inset
15058
15059  Controlan la salida XHTML.
15060  Véase la sección
15061 \begin_inset space ~
15062 \end_inset
15063
15064
15065 \begin_inset CommandInset ref
15066 LatexCommand ref
15067 reference "sec:Etiquetas-para-XHTML"
15068
15069 \end_inset
15070
15071 .
15072 \end_layout
15073
15074 \begin_layout Description
15075 \begin_inset Flex Code
15076 status collapsed
15077
15078 \begin_layout Plain Layout
15079 IsPredefined
15080 \end_layout
15081
15082 \end_inset
15083
15084  [
15085 \emph on
15086
15087 \begin_inset Flex Code
15088 status collapsed
15089
15090 \begin_layout Plain Layout
15091 0
15092 \end_layout
15093
15094 \end_inset
15095
15096
15097 \emph default
15098 ,
15099 \begin_inset space \thinspace{}
15100 \end_inset
15101
15102
15103 \begin_inset Flex Code
15104 status collapsed
15105
15106 \begin_layout Plain Layout
15107 1
15108 \end_layout
15109
15110 \end_inset
15111
15112 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
15113 os cargar el paquete LaTeX 
15114 \begin_inset Flex Code
15115 status collapsed
15116
15117 \begin_layout Plain Layout
15118 float
15119 \end_layout
15120
15121 \end_inset
15122
15123  para definirlo sobre la marcha.
15124  Por omisión 
15125 \begin_inset Flex Code
15126 status collapsed
15127
15128 \begin_layout Plain Layout
15129 0
15130 \end_layout
15131
15132 \end_inset
15133
15134 , que significa: usar 
15135 \begin_inset Flex Code
15136 status collapsed
15137
15138 \begin_layout Plain Layout
15139 float
15140 \end_layout
15141
15142 \end_inset
15143
15144 .
15145  Deberá ponerse 
15146 \begin_inset Flex Code
15147 status collapsed
15148
15149 \begin_layout Plain Layout
15150 1
15151 \end_layout
15152
15153 \end_inset
15154
15155  si el flotante ya está definido por la clase de documento LaTeX.
15156 \end_layout
15157
15158 \begin_layout Description
15159 \begin_inset Flex Code
15160 status collapsed
15161
15162 \begin_layout Plain Layout
15163 ListCommand
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 =
15179 \begin_inset Quotes erd
15180 \end_inset
15181
15182
15183 \begin_inset Quotes erd
15184 \end_inset
15185
15186 ] El comando usado para generar una lista de flotantes de este tipo; debe
15187  omitirse el precedente `
15188 \backslash
15189 '.
15190  Esto 
15191 \emph on
15192 debe
15193 \emph default
15194  ponerse si 
15195 \begin_inset Flex Code
15196 status collapsed
15197
15198 \begin_layout Plain Layout
15199 UsesFloatPkg
15200 \end_layout
15201
15202 \end_inset
15203
15204  es `false', puesto que no hay una forma estándar de generar este comando.
15205  Se ignora si 
15206 \begin_inset Flex Code
15207 status collapsed
15208
15209 \begin_layout Plain Layout
15210 UsesFloatPkg
15211 \end_layout
15212
15213 \end_inset
15214
15215  es `true', porque en este caso sí hay una forma estándar de definir el
15216  comando.
15217 \end_layout
15218
15219 \begin_layout Description
15220 \begin_inset Flex Code
15221 status collapsed
15222
15223 \begin_layout Plain Layout
15224 ListName
15225 \end_layout
15226
15227 \end_inset
15228
15229  [
15230 \begin_inset Flex Code
15231 status collapsed
15232
15233 \begin_layout Plain Layout
15234 string
15235 \end_layout
15236
15237 \end_inset
15238
15239 =
15240 \begin_inset Quotes erd
15241 \end_inset
15242
15243
15244 \begin_inset Quotes erd
15245 \end_inset
15246
15247 ] Un título para una lista de flotantes de este tipo (índice de figuras,
15248  tablas o lo que sea).
15249  Se usa para el nombre del recuadro en LyX; se pasa a LaTeX para usarlo
15250  como título allí; y se usa como título en la salida.
15251  Será traducido al idioma del documento.
15252 \end_layout
15253
15254 \begin_layout Description
15255 \begin_inset Flex Code
15256 status collapsed
15257
15258 \begin_layout Plain Layout
15259 NumberWithin
15260 \end_layout
15261
15262 \end_inset
15263
15264  [
15265 \begin_inset Flex Code
15266 status collapsed
15267
15268 \begin_layout Plain Layout
15269 string
15270 \end_layout
15271
15272 \end_inset
15273
15274 =
15275 \begin_inset Quotes erd
15276 \end_inset
15277
15278
15279 \begin_inset Quotes erd
15280 \end_inset
15281
15282 ] Este argumento (opcional) determina si los flotantes de esta clase serán
15283  numerados dentro de alguna unidad de sección del documento.
15284  Por ejemplo, si 
15285 \begin_inset Flex Code
15286 status collapsed
15287
15288 \begin_layout Plain Layout
15289 NumberWithin
15290 \end_layout
15291
15292 \end_inset
15293
15294  es 
15295 \begin_inset Quotes fld
15296 \end_inset
15297
15298
15299 \begin_inset Flex Code
15300 status collapsed
15301
15302 \begin_layout Plain Layout
15303 chapter
15304 \end_layout
15305
15306 \end_inset
15307
15308
15309 \begin_inset Quotes frd
15310 \end_inset
15311
15312 , los flotantes serán numerados dentro de los capítulos.
15313 \end_layout
15314
15315 \begin_layout Description
15316 \begin_inset Flex Code
15317 status collapsed
15318
15319 \begin_layout Plain Layout
15320 Placement
15321 \end_layout
15322
15323 \end_inset
15324
15325  [
15326 \begin_inset Flex Code
15327 status collapsed
15328
15329 \begin_layout Plain Layout
15330 string
15331 \end_layout
15332
15333 \end_inset
15334
15335 =
15336 \begin_inset Quotes erd
15337 \end_inset
15338
15339
15340 \begin_inset Quotes erd
15341 \end_inset
15342
15343 ] La colocación por omisión para la clase dada de flotantes.
15344  El valor de 
15345 \begin_inset Flex Code
15346 status collapsed
15347
15348 \begin_layout Plain Layout
15349 string
15350 \end_layout
15351
15352 \end_inset
15353
15354  deberá ser un estándar LaTeX: 
15355 \begin_inset Flex Code
15356 status collapsed
15357
15358 \begin_layout Plain Layout
15359 t
15360 \end_layout
15361
15362 \end_inset
15363
15364
15365 \begin_inset Flex Code
15366 status collapsed
15367
15368 \begin_layout Plain Layout
15369 b
15370 \end_layout
15371
15372 \end_inset
15373
15374
15375 \begin_inset Flex Code
15376 status collapsed
15377
15378 \begin_layout Plain Layout
15379 p
15380 \end_layout
15381
15382 \end_inset
15383
15384  y 
15385 \begin_inset Flex Code
15386 status collapsed
15387
15388 \begin_layout Plain Layout
15389 h
15390 \end_layout
15391
15392 \end_inset
15393
15394 , por 
15395 \begin_inset Quotes fld
15396 \end_inset
15397
15398 top
15399 \begin_inset Quotes frd
15400 \end_inset
15401
15402  (arriba), 
15403 \begin_inset Quotes fld
15404 \end_inset
15405
15406 bottom
15407 \begin_inset Quotes frd
15408 \end_inset
15409
15410  (abajo), 
15411 \begin_inset Quotes fld
15412 \end_inset
15413
15414 page
15415 \begin_inset Quotes frd
15416 \end_inset
15417
15418  (página), y 
15419 \begin_inset Quotes fld
15420 \end_inset
15421
15422 here
15423 \begin_inset Quotes frd
15424 \end_inset
15425
15426  (aquí), respectivamente.
15427 \begin_inset Foot
15428 status collapsed
15429
15430 \begin_layout Plain Layout
15431 Anotar que el orden de estas letras en la cadena es irrelevante, como en
15432  LaTeX.
15433 \end_layout
15434
15435 \end_inset
15436
15437  Por encima de éstos hay un nuevo tipo, 
15438 \begin_inset Flex Code
15439 status collapsed
15440
15441 \begin_layout Plain Layout
15442 H
15443 \end_layout
15444
15445 \end_inset
15446
15447 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
15448  aquí, 
15449 \begin_inset Quotes fld
15450 \end_inset
15451
15452 here
15453 \begin_inset Quotes frd
15454 \end_inset
15455
15456 , y en ninguna otra parte.
15457  Anotar que, sin embargo, el colocador 
15458 \begin_inset Flex Code
15459 status collapsed
15460
15461 \begin_layout Plain Layout
15462 H
15463 \end_layout
15464
15465 \end_inset
15466
15467  es especial y, debido a detalles de implementación, no puede usarse en
15468  tipos de flotantes no empotrados.
15469  Si no comprendes lo que esto significa, usa solo 
15470 \begin_inset Quotes fld
15471 \end_inset
15472
15473
15474 \begin_inset Flex Code
15475 status collapsed
15476
15477 \begin_layout Plain Layout
15478 tbp
15479 \end_layout
15480
15481 \end_inset
15482
15483
15484 \begin_inset Quotes frd
15485 \end_inset
15486
15487 .
15488 \end_layout
15489
15490 \begin_layout Description
15491 \begin_inset Flex Code
15492 status collapsed
15493
15494 \begin_layout Plain Layout
15495 RefPrefix
15496 \end_layout
15497
15498 \end_inset
15499
15500  [
15501 \begin_inset Flex Code
15502 status collapsed
15503
15504 \begin_layout Plain Layout
15505 string
15506 \end_layout
15507
15508 \end_inset
15509
15510 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
15511  tipo.
15512  Esto permite el uso de referencias con formato.
15513  Puedes quitar cualquier 
15514 \begin_inset Flex Code
15515 status collapsed
15516
15517 \begin_layout Plain Layout
15518 RefPrefix
15519 \end_layout
15520
15521 \end_inset
15522
15523  puesto por un estilo copiado usando el valor especial 
15524 \begin_inset Quotes eld
15525 \end_inset
15526
15527 OFF
15528 \begin_inset Quotes erd
15529 \end_inset
15530
15531 , todas mayúsculas.
15532 \end_layout
15533
15534 \begin_layout Description
15535 \begin_inset Flex Code
15536 status collapsed
15537
15538 \begin_layout Plain Layout
15539 Style
15540 \end_layout
15541
15542 \end_inset
15543
15544  [
15545 \begin_inset Flex Code
15546 status collapsed
15547
15548 \begin_layout Plain Layout
15549 string
15550 \end_layout
15551
15552 \end_inset
15553
15554 =
15555 \begin_inset Quotes erd
15556 \end_inset
15557
15558
15559 \begin_inset Quotes erd
15560 \end_inset
15561
15562 ] El estilo usado cuando se define el flotante con 
15563 \begin_inset Flex Code
15564 status collapsed
15565
15566 \begin_layout Plain Layout
15567
15568 \backslash
15569 newfloat
15570 \end_layout
15571
15572 \end_inset
15573
15574 .
15575 \end_layout
15576
15577 \begin_layout Description
15578 \begin_inset Flex Code
15579 status collapsed
15580
15581 \begin_layout Plain Layout
15582 Type
15583 \end_layout
15584
15585 \end_inset
15586
15587  [
15588 \begin_inset Flex Code
15589 status collapsed
15590
15591 \begin_layout Plain Layout
15592 string
15593 \end_layout
15594
15595 \end_inset
15596
15597 =
15598 \begin_inset Quotes erd
15599 \end_inset
15600
15601
15602 \begin_inset Quotes erd
15603 \end_inset
15604
15605 ] El 
15606 \begin_inset Quotes fld
15607 \end_inset
15608
15609 tipo
15610 \begin_inset Quotes frd
15611 \end_inset
15612
15613  de la nueva clase de flotante, como programa o algoritmo.
15614  Después del apropiado 
15615 \begin_inset Flex Code
15616 status collapsed
15617
15618 \begin_layout Plain Layout
15619
15620 \backslash
15621 newfloat
15622 \end_layout
15623
15624 \end_inset
15625
15626 , comandos tales como 
15627 \begin_inset Flex Code
15628 status collapsed
15629
15630 \begin_layout Plain Layout
15631
15632 \backslash
15633 begin{program}
15634 \end_layout
15635
15636 \end_inset
15637
15638  o 
15639 \begin_inset Flex Code
15640 status collapsed
15641
15642 \begin_layout Plain Layout
15643
15644 \backslash
15645 end{algorithm*}
15646 \end_layout
15647
15648 \end_inset
15649
15650  estarán disponibles.
15651 \end_layout
15652
15653 \begin_layout Description
15654 \begin_inset Flex Code
15655 status collapsed
15656
15657 \begin_layout Plain Layout
15658 UsesFloatPkg
15659 \end_layout
15660
15661 \end_inset
15662
15663  [
15664 \begin_inset Flex Code
15665 status collapsed
15666
15667 \begin_layout Plain Layout
15668 0
15669 \end_layout
15670
15671 \end_inset
15672
15673 ,
15674 \begin_inset space \thinspace{}
15675 \end_inset
15676
15677
15678 \begin_inset Flex Code
15679 status collapsed
15680
15681 \begin_layout Plain Layout
15682
15683 \emph on
15684 1
15685 \end_layout
15686
15687 \end_inset
15688
15689 ] Nos dice si este flotante se define usando el paquete LaTeX 
15690 \begin_inset Flex Code
15691 status collapsed
15692
15693 \begin_layout Plain Layout
15694 float
15695 \end_layout
15696
15697 \end_inset
15698
15699 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
15700  por el propio LyX.
15701 \end_layout
15702
15703 \begin_layout Standard
15704 Anotar que al definir un flotante con tipo 
15705 \begin_inset Flex Code
15706 status collapsed
15707
15708 \begin_layout Plain Layout
15709
15710 \emph on
15711 type
15712 \end_layout
15713
15714 \end_inset
15715
15716  automáticamente se define el correspondiente contador con nombre 
15717 \begin_inset Flex Code
15718 status collapsed
15719
15720 \begin_layout Plain Layout
15721
15722 \emph on
15723 type
15724 \end_layout
15725
15726 \end_inset
15727
15728 .
15729 \end_layout
15730
15731 \begin_layout Subsection
15732 Recuadros flexibles y formato del recuadro
15733 \begin_inset CommandInset label
15734 LatexCommand label
15735 name "sub:estilo-del-texto"
15736
15737 \end_inset
15738
15739
15740 \end_layout
15741
15742 \begin_layout Standard
15743 Los recuadros flexibles son de tres tipos: 
15744 \end_layout
15745
15746 \begin_layout Itemize
15747 estilo del texto (
15748 \begin_inset Flex Code
15749 status collapsed
15750
15751 \begin_layout Plain Layout
15752 CharStyle
15753 \end_layout
15754
15755 \end_inset
15756
15757 ): estos definen diseños semánticos correspondientes a comandos LaTeX como
15758  
15759 \begin_inset Flex Code
15760 status collapsed
15761
15762 \begin_layout Plain Layout
15763
15764 \backslash
15765 noun
15766 \end_layout
15767
15768 \end_inset
15769
15770  y 
15771 \begin_inset Flex Code
15772 status collapsed
15773
15774 \begin_layout Plain Layout
15775
15776 \backslash
15777 code
15778 \end_layout
15779
15780 \end_inset
15781
15782 .
15783 \end_layout
15784
15785 \begin_layout Itemize
15786 definido por el usuario (
15787 \begin_inset Flex Code
15788 status collapsed
15789
15790 \begin_layout Plain Layout
15791 Custom
15792 \end_layout
15793
15794 \end_inset
15795
15796 ): estos se pueden usar para definir recuadros plegables personalizados,
15797  del tipo de los de código TeX, notas al pie y similares.
15798  Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
15799  mismo nombre (
15800 \begin_inset Flex Code
15801 status collapsed
15802
15803 \begin_layout Plain Layout
15804 endnotes
15805 \end_layout
15806
15807 \end_inset
15808
15809 ).
15810 \end_layout
15811
15812 \begin_layout Itemize
15813 elementos XML (
15814 \begin_inset Flex Code
15815 status collapsed
15816
15817 \begin_layout Plain Layout
15818 Element
15819 \end_layout
15820
15821 \end_inset
15822
15823 ): para usar con las clases DocBook.
15824 \end_layout
15825
15826 \begin_layout Standard
15827 Los recuadros flexibles se definen usando la etiqueta 
15828 \begin_inset Flex Code
15829 status collapsed
15830
15831 \begin_layout Plain Layout
15832 InsetLayout
15833 \end_layout
15834
15835 \end_inset
15836
15837 , que se explicará en un momento.
15838 \end_layout
15839
15840 \begin_layout Standard
15841 La etiqueta 
15842 \begin_inset Flex Code
15843 status collapsed
15844
15845 \begin_layout Plain Layout
15846 InsetLayout
15847 \end_layout
15848
15849 \end_inset
15850
15851  también sirve para otra función: puede utilizarse para personalizar el
15852  diseño general de muchos tipos diferentes de recuadros.
15853  Actualmente, 
15854 \begin_inset Flex Code
15855 status collapsed
15856
15857 \begin_layout Plain Layout
15858 InsetLayout
15859 \end_layout
15860
15861 \end_inset
15862
15863  permite personalizar los parámetros de diseño de notas al pie, notas al
15864  margen, notas, recuadros de código TeX (ERT), ramas, listados de programa,
15865  índices, cuadros, tablas, algoritmos, URL, y 
15866 \lang english
15867 captions
15868 \lang spanish
15869 , así como para definir recuadros flexibles.
15870 \end_layout
15871
15872 \begin_layout Standard
15873 La definición de 
15874 \begin_inset Flex Code
15875 status collapsed
15876
15877 \begin_layout Plain Layout
15878 InsetLayout
15879 \end_layout
15880
15881 \end_inset
15882
15883  debe comenzar con una línea de la forma:
15884 \end_layout
15885
15886 \begin_layout LyX-Code
15887 InsetLayout <type>
15888 \end_layout
15889
15890 \begin_layout Standard
15891 Aquí, 
15892 \begin_inset Flex Code
15893 status collapsed
15894
15895 \begin_layout Plain Layout
15896 <type>
15897 \end_layout
15898
15899 \end_inset
15900
15901  indica el recuadro cuyo formato se va a definir, y hay quatros casos.
15902 \end_layout
15903
15904 \begin_layout Enumerate
15905 Se va a modificar el formato para un tipo de recuadro preexistente.
15906  En este caso,
15907 \begin_inset Flex Code
15908 status collapsed
15909
15910 \begin_layout Plain Layout
15911 <type>
15912 \end_layout
15913
15914 \end_inset
15915
15916  puede ser uno cualquiera de los siguientes: 
15917 \begin_inset Flex Code
15918 status collapsed
15919
15920 \begin_layout Plain Layout
15921 Algorithm
15922 \end_layout
15923
15924 \end_inset
15925
15926
15927 \begin_inset Flex Code
15928 status collapsed
15929
15930 \begin_layout Plain Layout
15931 Branch
15932 \end_layout
15933
15934 \end_inset
15935
15936
15937 \begin_inset Flex Code
15938 status collapsed
15939
15940 \begin_layout Plain Layout
15941 Box
15942 \end_layout
15943
15944 \end_inset
15945
15946
15947 \begin_inset Flex Code
15948 status collapsed
15949
15950 \begin_layout Plain Layout
15951 Box:shaded
15952 \end_layout
15953
15954 \end_inset
15955
15956
15957 \begin_inset Flex Code
15958 status collapsed
15959
15960 \begin_layout Plain Layout
15961 Caption:Standard
15962 \end_layout
15963
15964 \end_inset
15965
15966
15967 \begin_inset Flex Code
15968 status collapsed
15969
15970 \begin_layout Plain Layout
15971 ERT
15972 \end_layout
15973
15974 \end_inset
15975
15976
15977 \begin_inset Flex Code
15978 status collapsed
15979
15980 \begin_layout Plain Layout
15981 Figure
15982 \end_layout
15983
15984 \end_inset
15985
15986
15987 \begin_inset Flex Code
15988 status collapsed
15989
15990 \begin_layout Plain Layout
15991 Foot
15992 \end_layout
15993
15994 \end_inset
15995
15996
15997 \begin_inset Flex Code
15998 status collapsed
15999
16000 \begin_layout Plain Layout
16001 Index
16002 \end_layout
16003
16004 \end_inset
16005
16006
16007 \begin_inset Flex Code
16008 status collapsed
16009
16010 \begin_layout Plain Layout
16011 Info
16012 \end_layout
16013
16014 \end_inset
16015
16016
16017 \begin_inset Flex Code
16018 status collapsed
16019
16020 \begin_layout Plain Layout
16021 Info:menu
16022 \end_layout
16023
16024 \end_inset
16025
16026
16027 \begin_inset Flex Code
16028 status collapsed
16029
16030 \begin_layout Plain Layout
16031 Info:shortcut
16032 \end_layout
16033
16034 \end_inset
16035
16036
16037 \begin_inset Flex Code
16038 status collapsed
16039
16040 \begin_layout Plain Layout
16041 Info:shortcuts
16042 \end_layout
16043
16044 \end_inset
16045
16046
16047 \begin_inset Flex Code
16048 status collapsed
16049
16050 \begin_layout Plain Layout
16051 Listings
16052 \end_layout
16053
16054 \end_inset
16055
16056
16057 \begin_inset Flex Code
16058 status collapsed
16059
16060 \begin_layout Plain Layout
16061 Marginal
16062 \end_layout
16063
16064 \end_inset
16065
16066
16067 \begin_inset Flex Code
16068 status collapsed
16069
16070 \begin_layout Plain Layout
16071 Note:Comment
16072 \end_layout
16073
16074 \end_inset
16075
16076
16077 \begin_inset Flex Code
16078 status collapsed
16079
16080 \begin_layout Plain Layout
16081 Note:Note
16082 \end_layout
16083
16084 \end_inset
16085
16086
16087 \begin_inset Flex Code
16088 status collapsed
16089
16090 \begin_layout Plain Layout
16091 Note:GreyedOut
16092 \end_layout
16093
16094 \end_inset
16095
16096
16097 \begin_inset Flex Code
16098 status collapsed
16099
16100 \begin_layout Plain Layout
16101 Table
16102 \end_layout
16103
16104 \end_inset
16105
16106 , o 
16107 \begin_inset Flex Code
16108 status collapsed
16109
16110 \begin_layout Plain Layout
16111 URL
16112 \end_layout
16113
16114 \end_inset
16115
16116 .
16117  
16118 \end_layout
16119
16120 \begin_layout Enumerate
16121 Se va a definir el formato para un recuadro flexible.
16122  En este caso, 
16123 \begin_inset Flex Code
16124 status collapsed
16125
16126 \begin_layout Plain Layout
16127 <type>
16128 \end_layout
16129
16130 \end_inset
16131
16132  puede ser cualquier identificador válido no utilizado por un recuadro preexiste
16133 nte.
16134  El identificador puede incluir espacios, pero en este caso debe ponerse
16135  todo entre comillas.
16136  Puede además incluir un identificador de nombre del espacio, precedido
16137  de dos puntos, como 
16138 \begin_inset Quotes eld
16139 \end_inset
16140
16141
16142 \begin_inset Flex Code
16143 status collapsed
16144
16145 \begin_layout Plain Layout
16146 Flex:Code
16147 \end_layout
16148
16149 \end_inset
16150
16151
16152 \begin_inset Quotes erd
16153 \end_inset
16154
16155 .
16156  Anotar que la definición de un flexible debe incluir 
16157 \emph on
16158 además
16159 \emph default
16160  una entrada 
16161 \begin_inset Flex Code
16162 status collapsed
16163
16164 \begin_layout Plain Layout
16165 LyXType
16166 \end_layout
16167
16168 \end_inset
16169
16170 .
16171 \end_layout
16172
16173 \begin_layout Enumerate
16174
16175 \lang english
16176 The layout for user specific branch is being defined.
16177  In this case
16178 \lang spanish
16179
16180 \begin_inset Flex Code
16181 status collapsed
16182
16183 \begin_layout Plain Layout
16184 <type>
16185 \end_layout
16186
16187 \end_inset
16188
16189  
16190 \lang english
16191 must be of the form
16192 \lang spanish
16193  
16194 \begin_inset Quotes fld
16195 \end_inset
16196
16197
16198 \begin_inset Flex Code
16199 status collapsed
16200
16201 \begin_layout Plain Layout
16202 Branch:<nombre>
16203 \end_layout
16204
16205 \end_inset
16206
16207
16208 \begin_inset Quotes frd
16209 \end_inset
16210
16211
16212 \lang english
16213 where
16214 \lang spanish
16215  
16216 \begin_inset Flex Code
16217 status collapsed
16218
16219 \begin_layout Plain Layout
16220 nombre
16221 \end_layout
16222
16223 \end_inset
16224
16225  
16226 \lang english
16227 may be be any valid identifier of branch defined in user's document.
16228  The identifier may include spaces, but in that case the whole thing must
16229  be wrapped in quotes.
16230  The main purpose of this feature is to allow LaTeX wrapping around specific
16231  branches as user needs.
16232 \end_layout
16233
16234 \begin_layout Enumerate
16235
16236 \lang english
16237 The layout of a user (or class) specific caption is being defined.
16238  In this case
16239 \lang spanish
16240
16241 \begin_inset Flex Code
16242 status collapsed
16243
16244 \begin_layout Plain Layout
16245 <type>
16246 \end_layout
16247
16248 \end_inset
16249
16250  
16251 \lang english
16252 must be of the form
16253 \lang spanish
16254  
16255 \begin_inset Quotes fld
16256 \end_inset
16257
16258
16259 \begin_inset Flex Code
16260 status collapsed
16261
16262 \begin_layout Plain Layout
16263 Caption:<nombre>
16264 \end_layout
16265
16266 \end_inset
16267
16268
16269 \begin_inset Quotes frd
16270 \end_inset
16271
16272
16273 \lang english
16274 where
16275 \lang spanish
16276  
16277 \begin_inset Flex Code
16278 status collapsed
16279
16280 \begin_layout Plain Layout
16281 nombre
16282 \end_layout
16283
16284 \end_inset
16285
16286  
16287 \lang english
16288 specifies the name of the caption as it appears in the menu.
16289  Have a look at the standard caption
16290 \lang spanish
16291  (
16292 \begin_inset Flex Code
16293 status collapsed
16294
16295 \begin_layout Plain Layout
16296 Caption:Standard
16297 \end_layout
16298
16299 \end_inset
16300
16301 ), 
16302 \lang english
16303 the specific captions of the KOMA-Script classes (
16304 \begin_inset Flex Code
16305 status collapsed
16306
16307 \begin_layout Plain Layout
16308
16309 \lang english
16310 Caption:Above
16311 \end_layout
16312
16313 \end_inset
16314
16315
16316 \begin_inset Flex Code
16317 status collapsed
16318
16319 \begin_layout Plain Layout
16320
16321 \lang english
16322 Caption:Below
16323 \end_layout
16324
16325 \end_inset
16326
16327 ) or the module 
16328 \family sans
16329 Multilingual
16330 \begin_inset space ~
16331 \end_inset
16332
16333 Captions
16334 \family default
16335 \lang spanish
16336  (
16337 \begin_inset Flex Code
16338 status collapsed
16339
16340 \begin_layout Plain Layout
16341 Caption:Bicaption
16342 \end_layout
16343
16344 \end_inset
16345
16346
16347 \lang english
16348 for applications.
16349 \end_layout
16350
16351 \begin_layout Standard
16352 La definición de 
16353 \begin_inset Flex Code
16354 status collapsed
16355
16356 \begin_layout Plain Layout
16357 InsetLayout
16358 \end_layout
16359
16360 \end_inset
16361
16362  puede contener las siguientes entradas:
16363 \end_layout
16364
16365 \begin_layout Description
16366 \begin_inset Flex Code
16367 status collapsed
16368
16369 \begin_layout Plain Layout
16370 Argument
16371 \end_layout
16372
16373 \end_inset
16374
16375  [
16376 \begin_inset Flex Code
16377 status collapsed
16378
16379 \begin_layout Plain Layout
16380 int
16381 \end_layout
16382
16383 \end_inset
16384
16385
16386 \lang english
16387 Defines argument number of a command\SpecialChar \slash{}
16388 environment associated with the current
16389  layout.
16390  The definition must end with 
16391 \begin_inset Flex Code
16392 status collapsed
16393
16394 \begin_layout Plain Layout
16395
16396 \lang english
16397 EndArgument
16398 \end_layout
16399
16400 \end_inset
16401
16402 .
16403  See 
16404 \lang spanish
16405
16406 \begin_inset CommandInset ref
16407 LatexCommand ref
16408 reference "sub:Estilos-de-párrafo"
16409
16410 \end_inset
16411
16412
16413 \lang english
16414  for details.
16415 \end_layout
16416
16417 \begin_layout Description
16418 \begin_inset Flex Code
16419 status collapsed
16420
16421 \begin_layout Plain Layout
16422 BabelPreamble
16423 \end_layout
16424
16425 \end_inset
16426
16427  
16428 \lang english
16429 Preamble for changing language commands
16430 \lang spanish
16431 ; véase 
16432 \begin_inset CommandInset ref
16433 LatexCommand ref
16434 reference "sub:I18n"
16435
16436 \end_inset
16437
16438 .
16439 \end_layout
16440
16441 \begin_layout Description
16442 \begin_inset Flex Code
16443 status collapsed
16444
16445 \begin_layout Plain Layout
16446 BgColor
16447 \end_layout
16448
16449 \end_inset
16450
16451  [
16452 \begin_inset Flex Code
16453 status collapsed
16454
16455 \begin_layout Plain Layout
16456 <nombre>
16457 \end_layout
16458
16459 \end_inset
16460
16461 ] El color para el fondo del recuadro.
16462  Véase 
16463 \begin_inset CommandInset ref
16464 LatexCommand ref
16465 reference "chap:Names-of-colors"
16466
16467 \end_inset
16468
16469  
16470 \lang english
16471 for a list of the available color names.
16472 \end_layout
16473
16474 \begin_layout Description
16475 \begin_inset Flex Code
16476 status collapsed
16477
16478 \begin_layout Plain Layout
16479 ContentAsLabel
16480 \end_layout
16481
16482 \end_inset
16483
16484  [
16485 \begin_inset Flex Code
16486 status collapsed
16487
16488 \begin_layout Plain Layout
16489
16490 \emph on
16491 0
16492 \end_layout
16493
16494 \end_inset
16495
16496 ,
16497 \lang ngerman
16498
16499 \begin_inset space \thinspace{}
16500 \end_inset
16501
16502
16503 \lang spanish
16504
16505 \begin_inset Flex Code
16506 status collapsed
16507
16508 \begin_layout Plain Layout
16509 1
16510 \end_layout
16511
16512 \end_inset
16513
16514 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
16515  recuadro se cierra.
16516  Por omisión, falso.
16517 \end_layout
16518
16519 \begin_layout Description
16520 \begin_inset Flex Code
16521 status collapsed
16522
16523 \begin_layout Plain Layout
16524 CopyStyle
16525 \end_layout
16526
16527 \end_inset
16528
16529  [
16530 \begin_inset Flex Code
16531 status collapsed
16532
16533 \begin_layout Plain Layout
16534 <type>
16535 \end_layout
16536
16537 \end_inset
16538
16539
16540 \lang english
16541 As with paragraph styles
16542 \lang spanish
16543 , véase 
16544 \begin_inset CommandInset ref
16545 LatexCommand ref
16546 reference "sub:Estilos-de-párrafo"
16547
16548 \end_inset
16549
16550 .
16551  
16552 \lang english
16553 Note that you need to specify the complete type, e.
16554 \begin_inset space \thinspace{}
16555 \end_inset
16556
16557 g
16558 \lang spanish
16559 .
16560 \begin_inset space ~
16561 \end_inset
16562
16563
16564 \begin_inset Flex Code
16565 status collapsed
16566
16567 \begin_layout Plain Layout
16568 CopyStyle Flex:<nombre>
16569 \end_layout
16570
16571 \end_inset
16572
16573 .
16574 \end_layout
16575
16576 \begin_layout Description
16577 \begin_inset Flex Code
16578 status collapsed
16579
16580 \begin_layout Plain Layout
16581 CustomPars
16582 \end_layout
16583
16584 \end_inset
16585
16586  [
16587 \begin_inset Flex Code
16588 status collapsed
16589
16590 \begin_layout Plain Layout
16591
16592 \emph on
16593 0
16594 \end_layout
16595
16596 \end_inset
16597
16598 ,
16599 \lang ngerman
16600
16601 \begin_inset space \thinspace{}
16602 \end_inset
16603
16604
16605 \lang spanish
16606
16607 \begin_inset Flex Code
16608 status collapsed
16609
16610 \begin_layout Plain Layout
16611 1
16612 \end_layout
16613
16614 \end_inset
16615
16616 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
16617  para modificar el párrafo.
16618 \end_layout
16619
16620 \begin_layout Description
16621 \begin_inset Flex Code
16622 status collapsed
16623
16624 \begin_layout Plain Layout
16625 Decoration
16626 \end_layout
16627
16628 \end_inset
16629
16630  Puede ser 
16631 \begin_inset Flex Code
16632 status collapsed
16633
16634 \begin_layout Plain Layout
16635 Classic
16636 \end_layout
16637
16638 \end_inset
16639
16640
16641 \begin_inset Flex Code
16642 status collapsed
16643
16644 \begin_layout Plain Layout
16645 Minimalistic
16646 \end_layout
16647
16648 \end_inset
16649
16650 , o 
16651 \begin_inset Flex Code
16652 status collapsed
16653
16654 \begin_layout Plain Layout
16655 Conglomerate
16656 \end_layout
16657
16658 \end_inset
16659
16660 , que describe el estilo de presentación para el marco y los botones del
16661  recuadro.
16662  Las notas al pie usan generalmente 
16663 \begin_inset Flex Code
16664 status collapsed
16665
16666 \begin_layout Plain Layout
16667 Classic
16668 \end_layout
16669
16670 \end_inset
16671
16672 , los recuadros de código TeX 
16673 \begin_inset Flex Code
16674 status collapsed
16675
16676 \begin_layout Plain Layout
16677 Minimalistic
16678 \end_layout
16679
16680 \end_inset
16681
16682 , y los de estilos del texto 
16683 \begin_inset Flex Code
16684 status collapsed
16685
16686 \begin_layout Plain Layout
16687 Conglomerate
16688 \end_layout
16689
16690 \end_inset
16691
16692 .
16693 \end_layout
16694
16695 \begin_layout Description
16696 \begin_inset Flex Code
16697 status collapsed
16698
16699 \begin_layout Plain Layout
16700 Display
16701 \end_layout
16702
16703 \end_inset
16704
16705  [
16706 \begin_inset Flex Code
16707 status collapsed
16708
16709 \begin_layout Plain Layout
16710 0
16711 \end_layout
16712
16713 \end_inset
16714
16715 ,
16716 \lang ngerman
16717
16718 \begin_inset space \thinspace{}
16719 \end_inset
16720
16721
16722 \lang spanish
16723
16724 \begin_inset Flex Code
16725 status collapsed
16726
16727 \begin_layout Plain Layout
16728
16729 \emph on
16730 1
16731 \end_layout
16732
16733 \end_inset
16734
16735 ] Solo es útil si 
16736 \begin_inset Flex Code
16737 status collapsed
16738
16739 \begin_layout Plain Layout
16740 LatexType
16741 \end_layout
16742
16743 \end_inset
16744
16745  es 
16746 \begin_inset Flex Code
16747 status collapsed
16748
16749 \begin_layout Plain Layout
16750 Environment
16751 \end_layout
16752
16753 \end_inset
16754
16755 .
16756  Indica si el entorno se ubicará en su propio espacio en la salida o si
16757  aparecerá en línea con el texto circundante.
16758  Si se pone falso, se supone que el entorno LaTeX ignora los espacios en
16759  blanco (incluyendo un carácter de línea nueva) después de las etiquetas
16760  
16761 \begin_inset Flex Code
16762 status collapsed
16763
16764 \begin_layout Plain Layout
16765
16766 \backslash
16767 begin{
16768 \emph on
16769 LatexName
16770 \emph default
16771 }
16772 \end_layout
16773
16774 \end_inset
16775
16776  y 
16777 \begin_inset Flex Code
16778 status collapsed
16779
16780 \begin_layout Plain Layout
16781
16782 \backslash
16783 end{
16784 \emph on
16785 LatexName
16786 \emph default
16787 }
16788 \end_layout
16789
16790 \end_inset
16791
16792 .
16793  Por omisión, verdadero.
16794 \end_layout
16795
16796 \begin_layout Description
16797 \begin_inset Flex Code
16798 status collapsed
16799
16800 \begin_layout Plain Layout
16801 End
16802 \end_layout
16803
16804 \end_inset
16805
16806  Requerido al final de las declaraciones de formato del recuadro 
16807 \begin_inset Flex Code
16808 status collapsed
16809
16810 \begin_layout Plain Layout
16811 InsetLayout
16812 \end_layout
16813
16814 \end_inset
16815
16816 .
16817 \end_layout
16818
16819 \begin_layout Description
16820 \begin_inset Flex Code
16821 status collapsed
16822
16823 \begin_layout Plain Layout
16824 Font
16825 \end_layout
16826
16827 \end_inset
16828
16829  La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
16830  Véase la 
16831 \begin_inset CommandInset ref
16832 LatexCommand ref
16833 reference "sub:Tipografías"
16834
16835 \end_inset
16836
16837 .
16838  Anotar que al definir esta tipografía se define automáticamente el mismo
16839  valor para la etiqueta, 
16840 \begin_inset Flex Code
16841 status collapsed
16842
16843 \begin_layout Plain Layout
16844 LabelFont
16845 \end_layout
16846
16847 \end_inset
16848
16849 , así que define aquella primero y después define 
16850 \begin_inset Flex Code
16851 status collapsed
16852
16853 \begin_layout Plain Layout
16854 LabelFont
16855 \end_layout
16856
16857 \end_inset
16858
16859  si las quieres diferentes.
16860 \end_layout
16861
16862 \begin_layout Description
16863 \begin_inset Flex Code
16864 status collapsed
16865
16866 \begin_layout Plain Layout
16867 ForceLocalFontSwitch
16868 \end_layout
16869
16870 \end_inset
16871
16872  [
16873 \begin_inset Flex Code
16874 status collapsed
16875
16876 \begin_layout Plain Layout
16877
16878 \emph on
16879 0
16880 \end_layout
16881
16882 \end_inset
16883
16884 ,
16885 \begin_inset space \thinspace{}
16886 \end_inset
16887
16888
16889 \begin_inset Flex Code
16890 status collapsed
16891
16892 \begin_layout Plain Layout
16893 1
16894 \end_layout
16895
16896 \end_inset
16897
16898
16899 \lang english
16900 When using babel, always use a local font switch (
16901 \begin_inset Flex Code
16902 status collapsed
16903
16904 \begin_layout Plain Layout
16905
16906 \lang english
16907
16908 \backslash
16909 foreignlanguage
16910 \end_layout
16911
16912 \end_inset
16913
16914 ), never a global one (such as 
16915 \lang spanish
16916
16917 \begin_inset Flex Code
16918 status collapsed
16919
16920 \begin_layout Plain Layout
16921
16922 \backslash
16923 selectlanguage
16924 \end_layout
16925
16926 \end_inset
16927
16928 ).
16929 \end_layout
16930
16931 \begin_layout Description
16932 \begin_inset Flex Code
16933 status collapsed
16934
16935 \begin_layout Plain Layout
16936 ForceLTR
16937 \end_layout
16938
16939 \end_inset
16940
16941  [
16942 \begin_inset Flex Code
16943 status collapsed
16944
16945 \begin_layout Plain Layout
16946
16947 \emph on
16948 0
16949 \end_layout
16950
16951 \end_inset
16952
16953 ,
16954 \lang ngerman
16955
16956 \begin_inset space \thinspace{}
16957 \end_inset
16958
16959
16960 \lang spanish
16961
16962 \begin_inset Flex Code
16963 status collapsed
16964
16965 \begin_layout Plain Layout
16966 1
16967 \end_layout
16968
16969 \end_inset
16970
16971 ] Fuerza el idioma 
16972 \begin_inset Quotes fld
16973 \end_inset
16974
16975 latex
16976 \begin_inset Quotes frd
16977 \end_inset
16978
16979  que genera salida Izquierda-Derecha (latin), p.
16980 \begin_inset space \thinspace{}
16981 \end_inset
16982
16983 e.
16984 \begin_inset space \space{}
16985 \end_inset
16986
16987 en código TeX o URL.
16988  Un parche.
16989 \end_layout
16990
16991 \begin_layout Description
16992 \begin_inset Flex Code
16993 status collapsed
16994
16995 \begin_layout Plain Layout
16996 ForcePlain
16997 \end_layout
16998
16999 \end_inset
17000
17001  [
17002 \begin_inset Flex Code
17003 status collapsed
17004
17005 \begin_layout Plain Layout
17006
17007 \emph on
17008 0
17009 \end_layout
17010
17011 \end_inset
17012
17013 ,
17014 \lang ngerman
17015
17016 \begin_inset space \thinspace{}
17017 \end_inset
17018
17019
17020 \lang spanish
17021
17022 \begin_inset Flex Code
17023 status collapsed
17024
17025 \begin_layout Plain Layout
17026 1
17027 \end_layout
17028
17029 \end_inset
17030
17031 ] Indica si debería usarse 
17032 \begin_inset Flex Code
17033 status collapsed
17034
17035 \begin_layout Plain Layout
17036 PlainLayout
17037 \end_layout
17038
17039 \end_inset
17040
17041  o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
17042 \end_layout
17043
17044 \begin_layout Description
17045 \begin_inset Flex Code
17046 status collapsed
17047
17048 \begin_layout Plain Layout
17049 FreeSpacing
17050 \end_layout
17051
17052 \end_inset
17053
17054  [
17055 \emph on
17056
17057 \begin_inset Flex Code
17058 status collapsed
17059
17060 \begin_layout Plain Layout
17061 0
17062 \end_layout
17063
17064 \end_inset
17065
17066
17067 \emph default
17068 ,
17069 \lang ngerman
17070
17071 \begin_inset space \thinspace{}
17072 \end_inset
17073
17074
17075 \lang spanish
17076
17077 \begin_inset Flex Code
17078 status collapsed
17079
17080 \begin_layout Plain Layout
17081 1
17082 \end_layout
17083
17084 \end_inset
17085
17086
17087 \lang english
17088 As with paragraph style
17089 \lang spanish
17090 s, véase 
17091 \begin_inset CommandInset ref
17092 LatexCommand ref
17093 reference "sub:Estilos-de-párrafo"
17094
17095 \end_inset
17096
17097 .
17098 \end_layout
17099
17100 \begin_layout Description
17101 \begin_inset Flex Code
17102 status collapsed
17103
17104 \begin_layout Plain Layout
17105 HTML*
17106 \end_layout
17107
17108 \end_inset
17109
17110  Controlan la salida XHTML.
17111  Véase la 
17112 \begin_inset CommandInset ref
17113 LatexCommand ref
17114 reference "sec:Etiquetas-para-XHTML"
17115
17116 \end_inset
17117
17118 .
17119 \end_layout
17120
17121 \begin_layout Description
17122 \begin_inset Flex Code
17123 status collapsed
17124
17125 \begin_layout Plain Layout
17126 InToc
17127 \end_layout
17128
17129 \end_inset
17130
17131  [
17132 \begin_inset Flex Code
17133 status collapsed
17134
17135 \begin_layout Plain Layout
17136
17137 \emph on
17138 0
17139 \end_layout
17140
17141 \end_inset
17142
17143 ,
17144 \lang ngerman
17145
17146 \begin_inset space \thinspace{}
17147 \end_inset
17148
17149
17150 \lang spanish
17151
17152 \begin_inset Flex Code
17153 status collapsed
17154
17155 \begin_layout Plain Layout
17156 1
17157 \end_layout
17158
17159 \end_inset
17160
17161 ] Incluye o no el contenido de este inset en la cadena generada para el
17162  panel 'Navegador de contorno'.
17163  El no sería, por ejemplo, para que el contenido de una nota al pie en un
17164  encabezado de sección no aparezca en el índice que se despliega en el navegador
17165  de contorno, sin embargo, normalmente sí se incluiría el contenido de un
17166  estilo de carácter.
17167  Predeterminado es false: no incluir.
17168 \end_layout
17169
17170 \begin_layout Description
17171 \begin_inset Flex Code
17172 status collapsed
17173
17174 \begin_layout Plain Layout
17175 KeepEmpty
17176 \end_layout
17177
17178 \end_inset
17179
17180  [
17181 \emph on
17182
17183 \begin_inset Flex Code
17184 status collapsed
17185
17186 \begin_layout Plain Layout
17187
17188 \emph on
17189 0
17190 \end_layout
17191
17192 \end_inset
17193
17194
17195 \emph default
17196 ,
17197 \lang ngerman
17198
17199 \begin_inset space \thinspace{}
17200 \end_inset
17201
17202
17203 \lang spanish
17204
17205 \begin_inset Flex Code
17206 status collapsed
17207
17208 \begin_layout Plain Layout
17209 1
17210 \end_layout
17211
17212 \end_inset
17213
17214
17215 \lang english
17216 As with paragraph styles
17217 \lang spanish
17218 , véase 
17219 \begin_inset CommandInset ref
17220 LatexCommand ref
17221 reference "sub:Estilos-de-párrafo"
17222
17223 \end_inset
17224
17225 .
17226 \end_layout
17227
17228 \begin_layout Description
17229 \begin_inset Flex Code
17230 status collapsed
17231
17232 \begin_layout Plain Layout
17233 LabelFont
17234 \end_layout
17235
17236 \end_inset
17237
17238  La tipografía para la etiqueta.
17239  Véase la 
17240 \begin_inset CommandInset ref
17241 LatexCommand ref
17242 reference "sub:Tipografías"
17243
17244 \end_inset
17245
17246 .
17247  Anotar que esta definición nunca puede aparecer antes de 
17248 \begin_inset Flex Code
17249 status collapsed
17250
17251 \begin_layout Plain Layout
17252 Font
17253 \end_layout
17254
17255 \end_inset
17256
17257 , para que sea efectiva.
17258 \end_layout
17259
17260 \begin_layout Description
17261 \begin_inset Flex Code
17262 status collapsed
17263
17264 \begin_layout Plain Layout
17265 LabelString
17266 \end_layout
17267
17268 \end_inset
17269
17270  [
17271 \begin_inset Flex Code
17272 status collapsed
17273
17274 \begin_layout Plain Layout
17275 string
17276 \end_layout
17277
17278 \end_inset
17279
17280 =
17281 \begin_inset Quotes erd
17282 \end_inset
17283
17284
17285 \begin_inset Quotes erd
17286 \end_inset
17287
17288 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
17289  Algunos tipos de recuadro (
17290 \begin_inset Flex Code
17291 status collapsed
17292
17293 \begin_layout Plain Layout
17294 código TeX
17295 \end_layout
17296
17297 \end_inset
17298
17299  y 
17300 \begin_inset Flex Code
17301 status collapsed
17302
17303 \begin_layout Plain Layout
17304 Ramas
17305 \end_layout
17306
17307 \end_inset
17308
17309 ) modifican esta etiqueta sobre la marcha.
17310 \end_layout
17311
17312 \begin_layout Description
17313 \begin_inset Flex Code
17314 status collapsed
17315
17316 \begin_layout Plain Layout
17317 LangPreamble
17318 \end_layout
17319
17320 \end_inset
17321
17322  
17323 \lang english
17324 Language dependent preamble
17325 \lang spanish
17326 ; véase 
17327 \begin_inset CommandInset ref
17328 LatexCommand ref
17329 reference "sub:I18n"
17330
17331 \end_inset
17332
17333 .
17334 \end_layout
17335
17336 \begin_layout Description
17337 \begin_inset Flex Code
17338 status collapsed
17339
17340 \begin_layout Plain Layout
17341 LatexName
17342 \end_layout
17343
17344 \end_inset
17345
17346  [
17347 \begin_inset Flex Code
17348 status collapsed
17349
17350 \begin_layout Plain Layout
17351 <nombre>
17352 \end_layout
17353
17354 \end_inset
17355
17356 ] El nombre LaTeX correspondiente al asunto.
17357  Cualquier nombre de entorno o de comando.
17358 \end_layout
17359
17360 \begin_layout Description
17361 \begin_inset Flex Code
17362 status collapsed
17363
17364 \begin_layout Plain Layout
17365 LatexParam
17366 \end_layout
17367
17368 \end_inset
17369
17370  [
17371 \begin_inset Flex Code
17372 status collapsed
17373
17374 \begin_layout Plain Layout
17375 <parámetro>
17376 \end_layout
17377
17378 \end_inset
17379
17380 ] El parámetro opcional para el correspondiente 
17381 \begin_inset Flex Code
17382 status collapsed
17383
17384 \begin_layout Plain Layout
17385 LatexName
17386 \end_layout
17387
17388 \end_inset
17389
17390 , incluyendo posibles pares de corchetes, 
17391 \begin_inset Flex Code
17392 status collapsed
17393
17394 \begin_layout Plain Layout
17395 []
17396 \end_layout
17397
17398 \end_inset
17399
17400 .
17401  Este parámetro no se puede cambiar desde dentro de LyX 
17402 \lang english
17403 (use 
17404 \begin_inset Flex Code
17405 status collapsed
17406
17407 \begin_layout Plain Layout
17408
17409 \lang english
17410 Argument
17411 \end_layout
17412
17413 \end_inset
17414
17415  for customizable parameters).
17416  It will be output as is after all LaTeX
17417 \lang spanish
17418  
17419 \begin_inset Flex Code
17420 status collapsed
17421
17422 \begin_layout Plain Layout
17423 Argument
17424 \end_layout
17425
17426 \end_inset
17427
17428 s..
17429 \end_layout
17430
17431 \begin_layout Description
17432 \begin_inset Flex Code
17433 status collapsed
17434
17435 \begin_layout Plain Layout
17436 LatexType
17437 \end_layout
17438
17439 \end_inset
17440
17441  [
17442 \begin_inset Flex Code
17443 status collapsed
17444
17445 \begin_layout Plain Layout
17446 Command, Environment, None
17447 \end_layout
17448
17449 \end_inset
17450
17451
17452 \lang english
17453 How the style should be translated into LaTeX.
17454 \begin_inset Foot
17455 status open
17456
17457 \begin_layout Plain Layout
17458
17459 \lang english
17460 \begin_inset Flex Code
17461 status collapsed
17462
17463 \begin_layout Plain Layout
17464
17465 \lang english
17466 LatexType
17467 \end_layout
17468
17469 \end_inset
17470
17471  is perhaps a bit misleading, since these rules apply to SGML classes, too.
17472  Visit the SGML class files for specific examples.
17473 \end_layout
17474
17475 \end_inset
17476
17477
17478 \end_layout
17479
17480 \begin_deeper
17481 \begin_layout Description
17482 \begin_inset Flex Code
17483 status collapsed
17484
17485 \begin_layout Plain Layout
17486 None
17487 \end_layout
17488
17489 \end_inset
17490
17491  
17492 \lang english
17493 means nothing special
17494 \end_layout
17495
17496 \begin_layout Description
17497 \begin_inset Flex Code
17498 status collapsed
17499
17500 \begin_layout Plain Layout
17501 Command
17502 \end_layout
17503
17504 \end_inset
17505
17506  
17507 \lang english
17508 means 
17509 \begin_inset Flex Code
17510 status collapsed
17511
17512 \begin_layout Plain Layout
17513
17514 \lang english
17515
17516 \backslash
17517
17518 \emph on
17519 LatexName
17520 \emph default
17521 {\SpecialChar \ldots{}
17522 }
17523 \end_layout
17524
17525 \end_inset
17526
17527
17528 \end_layout
17529
17530 \begin_layout Description
17531 \begin_inset Flex Code
17532 status collapsed
17533
17534 \begin_layout Plain Layout
17535 Environment
17536 \end_layout
17537
17538 \end_inset
17539
17540  
17541 \lang english
17542 means 
17543 \begin_inset Flex Code
17544 status collapsed
17545
17546 \begin_layout Plain Layout
17547
17548 \lang english
17549
17550 \backslash
17551 begin{
17552 \emph on
17553 LatexName
17554 \emph default
17555 }\SpecialChar \ldots{}
17556
17557 \backslash
17558 end{
17559 \emph on
17560 LatexName
17561 \emph default
17562 }
17563 \end_layout
17564
17565 \end_inset
17566
17567
17568 \end_layout
17569
17570 \begin_layout Description
17571
17572 \end_layout
17573
17574 \begin_layout Standard
17575
17576 \lang english
17577 Putting the last few things together, the LaTeX output will be either: 
17578 \end_layout
17579
17580 \begin_layout LyX-Code
17581
17582 \backslash
17583 LatexName[LatexParam]{\SpecialChar \ldots{}
17584 }
17585 \end_layout
17586
17587 \begin_layout Standard
17588 or: 
17589 \end_layout
17590
17591 \begin_layout LyX-Code
17592
17593 \backslash
17594 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
17595  
17596 \backslash
17597 end{LatexName}
17598 \end_layout
17599
17600 \begin_layout Standard
17601
17602 \lang english
17603 depending upon the LaTeX type.
17604 \end_layout
17605
17606 \end_deeper
17607 \begin_layout Description
17608 \begin_inset Flex Code
17609 status collapsed
17610
17611 \begin_layout Plain Layout
17612 LeftDelim
17613 \end_layout
17614
17615 \end_inset
17616
17617  [
17618 \begin_inset Flex Code
17619 status collapsed
17620
17621 \begin_layout Plain Layout
17622 string
17623 \end_layout
17624
17625 \end_inset
17626
17627
17628 \lang english
17629 A string that is put at the beginning of the layout content.
17630  A line break in the output can be indicated by
17631 \lang spanish
17632  
17633 \begin_inset Flex Code
17634 status collapsed
17635
17636 \begin_layout Plain Layout
17637 <br/>
17638 \end_layout
17639
17640 \end_inset
17641
17642 .
17643 \end_layout
17644
17645 \begin_layout Description
17646 \begin_inset Flex Code
17647 status collapsed
17648
17649 \begin_layout Plain Layout
17650 LyxType
17651 \end_layout
17652
17653 \end_inset
17654
17655  Puede ser 
17656 \begin_inset Flex Code
17657 status collapsed
17658
17659 \begin_layout Plain Layout
17660 charstyle
17661 \end_layout
17662
17663 \end_inset
17664
17665
17666 \begin_inset Flex Code
17667 status collapsed
17668
17669 \begin_layout Plain Layout
17670 custom
17671 \end_layout
17672
17673 \end_inset
17674
17675
17676 \begin_inset Flex Code
17677 status collapsed
17678
17679 \begin_layout Plain Layout
17680 element
17681 \end_layout
17682
17683 \end_inset
17684
17685 , o 
17686 \begin_inset Flex Code
17687 status collapsed
17688
17689 \begin_layout Plain Layout
17690 end
17691 \end_layout
17692
17693 \end_inset
17694
17695  (indicando una definición ficticia que finaliza definiciones de estilos
17696  de texto, etc).
17697  Esta entrada es requerida y solo es significativa para recuadros flexibles.
17698  Entre otras cosas, determina en qué menús aparecerá este recuadro.
17699  Si 
17700 \begin_inset Flex Code
17701 status collapsed
17702
17703 \begin_layout Plain Layout
17704 LyXType
17705 \end_layout
17706
17707 \end_inset
17708
17709  es 
17710 \begin_inset Flex Code
17711 status collapsed
17712
17713 \begin_layout Plain Layout
17714 charstyle
17715 \end_layout
17716
17717 \end_inset
17718
17719  
17720 \begin_inset Flex Code
17721 status collapsed
17722
17723 \begin_layout Plain Layout
17724 MultiPar
17725 \end_layout
17726
17727 \end_inset
17728
17729  es falso.
17730  
17731 \begin_inset Flex Code
17732 status collapsed
17733
17734 \begin_layout Plain Layout
17735 MultiPar
17736 \end_layout
17737
17738 \end_inset
17739
17740  se puede poner como verdadero para recuadros de estilos 
17741 \begin_inset Flex Code
17742 status collapsed
17743
17744 \begin_layout Plain Layout
17745 charstyle
17746 \end_layout
17747
17748 \end_inset
17749
17750 , si poniéndolo 
17751 \emph on
17752 después
17753 \emph default
17754  de 
17755 \begin_inset Flex Code
17756 status collapsed
17757
17758 \begin_layout Plain Layout
17759 LyXType
17760 \end_layout
17761
17762 \end_inset
17763
17764 .
17765 \end_layout
17766
17767 \begin_layout Description
17768 \begin_inset Flex Code
17769 status collapsed
17770
17771 \begin_layout Plain Layout
17772 MultiPar
17773 \end_layout
17774
17775 \end_inset
17776
17777  [
17778 \begin_inset Flex Code
17779 status collapsed
17780
17781 \begin_layout Plain Layout
17782
17783 \emph on
17784 0
17785 \end_layout
17786
17787 \end_inset
17788
17789 ,
17790 \lang ngerman
17791
17792 \begin_inset space \thinspace{}
17793 \end_inset
17794
17795
17796 \lang spanish
17797
17798 \begin_inset Flex Code
17799 status collapsed
17800
17801 \begin_layout Plain Layout
17802 1
17803 \end_layout
17804
17805 \end_inset
17806
17807 ] Indica si se permiten múltiples párrafos en este recuadro.
17808  Además establecerá para CustomPars el mismo valor y para ForcePlain el
17809  valor opuesto.
17810  Estos pueden modificarse a otros valores si se usan 
17811 \emph on
17812 después
17813 \emph default
17814  de MultiPar.
17815 \end_layout
17816
17817 \begin_layout Description
17818 \begin_inset Flex Code
17819 status collapsed
17820
17821 \begin_layout Plain Layout
17822 NeedProtect
17823 \end_layout
17824
17825 \end_inset
17826
17827  [
17828 \begin_inset Flex Code
17829 status collapsed
17830
17831 \begin_layout Plain Layout
17832
17833 \emph on
17834 0
17835 \end_layout
17836
17837 \end_inset
17838
17839 ,
17840 \lang ngerman
17841
17842 \begin_inset space \thinspace{}
17843 \end_inset
17844
17845
17846 \lang spanish
17847
17848 \begin_inset Flex Code
17849 status collapsed
17850
17851 \begin_layout Plain Layout
17852 1
17853 \end_layout
17854
17855 \end_inset
17856
17857 ] Si los comandos frágiles deben o no ser 
17858 \begin_inset Flex Code
17859 status collapsed
17860
17861 \begin_layout Plain Layout
17862
17863 \backslash
17864 protect
17865 \end_layout
17866
17867 \end_inset
17868
17869 'ed en este recuadro.
17870  (Nota: es 
17871 \emph on
17872 no
17873 \emph default
17874  si el comando mismo debe ser protegido
17875 \emph on
17876 .)
17877 \end_layout
17878
17879 \begin_layout Description
17880 \begin_inset Flex Code
17881 status collapsed
17882
17883 \begin_layout Plain Layout
17884 NoInsetLayout
17885 \end_layout
17886
17887 \end_inset
17888
17889  
17890 \lang english
17891 [
17892 \begin_inset Flex Code
17893 status collapsed
17894
17895 \begin_layout Plain Layout
17896
17897 \lang english
17898 <layout>
17899 \end_layout
17900
17901 \end_inset
17902
17903 ] Deletes an existing 
17904 \begin_inset Flex Code
17905 status collapsed
17906
17907 \begin_layout Plain Layout
17908
17909 \lang english
17910 InsetLayout
17911 \end_layout
17912
17913 \end_inset
17914
17915 .
17916 \end_layout
17917
17918 \begin_layout Description
17919 \begin_inset Flex Code
17920 status collapsed
17921
17922 \begin_layout Plain Layout
17923 ParbreakIsNewline
17924 \end_layout
17925
17926 \end_inset
17927
17928  [
17929 \begin_inset Flex Code
17930 status collapsed
17931
17932 \begin_layout Plain Layout
17933
17934 \emph on
17935 0
17936 \end_layout
17937
17938 \end_inset
17939
17940 ,
17941 \lang ngerman
17942
17943 \begin_inset space \thinspace{}
17944 \end_inset
17945
17946
17947 \lang spanish
17948
17949 \begin_inset Flex Code
17950 status collapsed
17951
17952 \begin_layout Plain Layout
17953 1
17954 \end_layout
17955
17956 \end_inset
17957
17958 ] Igual que para estilos de párrafo, véase 
17959 \begin_inset CommandInset ref
17960 LatexCommand ref
17961 reference "sub:Estilos-de-párrafo"
17962
17963 \end_inset
17964
17965 .
17966  Por omisión es falso.
17967 \end_layout
17968
17969 \begin_layout Description
17970 \begin_inset Flex Code
17971 status collapsed
17972
17973 \begin_layout Plain Layout
17974 PassThru
17975 \end_layout
17976
17977 \end_inset
17978
17979  [
17980 \emph on
17981
17982 \begin_inset Flex Code
17983 status collapsed
17984
17985 \begin_layout Plain Layout
17986
17987 \emph on
17988 0
17989 \end_layout
17990
17991 \end_inset
17992
17993
17994 \emph default
17995 ,
17996 \lang ngerman
17997
17998 \begin_inset space \thinspace{}
17999 \end_inset
18000
18001
18002 \lang spanish
18003
18004 \begin_inset Flex Code
18005 status collapsed
18006
18007 \begin_layout Plain Layout
18008 1
18009 \end_layout
18010
18011 \end_inset
18012
18013 ] Igual que para estilos de párrafo, véase 
18014 \begin_inset CommandInset ref
18015 LatexCommand ref
18016 reference "sub:Estilos-de-párrafo"
18017
18018 \end_inset
18019
18020 .
18021 \end_layout
18022
18023 \begin_layout Description
18024 \begin_inset Flex Code
18025 status collapsed
18026
18027 \begin_layout Plain Layout
18028 Preamble
18029 \end_layout
18030
18031 \end_inset
18032
18033  Igual que para estilos de párrafo, véase 
18034 \begin_inset CommandInset ref
18035 LatexCommand ref
18036 reference "sub:Estilos-de-párrafo"
18037
18038 \end_inset
18039
18040 .
18041 \end_layout
18042
18043 \begin_layout Description
18044 \begin_inset Flex Code
18045 status collapsed
18046
18047 \begin_layout Plain Layout
18048 RefPrefix
18049 \end_layout
18050
18051 \end_inset
18052
18053  [
18054 \begin_inset Flex Code
18055 status collapsed
18056
18057 \begin_layout Plain Layout
18058 string
18059 \end_layout
18060
18061 \end_inset
18062
18063 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
18064  este tipo.
18065  Esto permite el uso de referencias con formato.
18066 \end_layout
18067
18068 \begin_layout Description
18069 \begin_inset Flex Code
18070 status collapsed
18071
18072 \begin_layout Plain Layout
18073 Requires 
18074 \end_layout
18075
18076 \end_inset
18077
18078  [
18079 \begin_inset Flex Code
18080 status collapsed
18081
18082 \begin_layout Plain Layout
18083 string
18084 \end_layout
18085
18086 \end_inset
18087
18088 ] Igual que para estilos de párrafo, véase 
18089 \begin_inset CommandInset ref
18090 LatexCommand ref
18091 reference "sub:Estilos-de-párrafo"
18092
18093 \end_inset
18094
18095 .
18096 \end_layout
18097
18098 \begin_layout Description
18099 \begin_inset Flex Code
18100 status collapsed
18101
18102 \begin_layout Plain Layout
18103 ResetArgs
18104 \end_layout
18105
18106 \end_inset
18107
18108  [
18109 \begin_inset Flex Code
18110 status collapsed
18111
18112 \begin_layout Plain Layout
18113
18114 \emph on
18115 0
18116 \end_layout
18117
18118 \end_inset
18119
18120 ,
18121 \begin_inset space \thinspace{}
18122 \end_inset
18123
18124
18125 \begin_inset Flex Code
18126 status collapsed
18127
18128 \begin_layout Plain Layout
18129 1
18130 \end_layout
18131
18132 \end_inset
18133
18134
18135 \lang english
18136 Resets the LaTeX arguments of this layout (as defined via the 
18137 \begin_inset Flex Code
18138 status collapsed
18139
18140 \begin_layout Plain Layout
18141
18142 \lang english
18143 Argument
18144 \end_layout
18145
18146 \end_inset
18147
18148  tag).
18149  This is useful if you have copied a style via 
18150 \begin_inset Flex Code
18151 status collapsed
18152
18153 \begin_layout Plain Layout
18154
18155 \lang english
18156 CopyStyle
18157 \end_layout
18158
18159 \end_inset
18160
18161 , but you do not want to inherit its (required and optional) arguments.
18162 \end_layout
18163
18164 \begin_layout Description
18165 \begin_inset Flex Code
18166 status collapsed
18167
18168 \begin_layout Plain Layout
18169 ResetsFont
18170 \end_layout
18171
18172 \end_inset
18173
18174  [
18175 \begin_inset Flex Code
18176 status collapsed
18177
18178 \begin_layout Plain Layout
18179 0
18180 \end_layout
18181
18182 \end_inset
18183
18184 ,
18185 \lang ngerman
18186
18187 \begin_inset space \thinspace{}
18188 \end_inset
18189
18190
18191 \lang spanish
18192
18193 \begin_inset Flex Code
18194 status collapsed
18195
18196 \begin_layout Plain Layout
18197
18198 \emph on
18199 1
18200 \end_layout
18201
18202 \end_inset
18203
18204 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
18205  Por omisión es su propia tipografía.
18206 \end_layout
18207
18208 \begin_layout Description
18209 \begin_inset Flex Code
18210 status collapsed
18211
18212 \begin_layout Plain Layout
18213 RightDelim
18214 \end_layout
18215
18216 \end_inset
18217
18218  [
18219 \begin_inset Flex Code
18220 status collapsed
18221
18222 \begin_layout Plain Layout
18223 string
18224 \end_layout
18225
18226 \end_inset
18227
18228
18229 \lang english
18230 A string that is put at the end of the layout content.
18231  A line break in the output can be indicated by
18232 \lang spanish
18233  
18234 \begin_inset Flex Code
18235 status collapsed
18236
18237 \begin_layout Plain Layout
18238 <br/>
18239 \end_layout
18240
18241 \end_inset
18242
18243 .
18244 \end_layout
18245
18246 \begin_layout Description
18247 \begin_inset Flex Code
18248 status collapsed
18249
18250 \begin_layout Plain Layout
18251 Spellcheck
18252 \end_layout
18253
18254 \end_inset
18255
18256  [
18257 \begin_inset Flex Code
18258 status collapsed
18259
18260 \begin_layout Plain Layout
18261 0
18262 \end_layout
18263
18264 \end_inset
18265
18266 ,
18267 \lang ngerman
18268
18269 \begin_inset space \thinspace{}
18270 \end_inset
18271
18272
18273 \lang spanish
18274
18275 \begin_inset Flex Code
18276 status collapsed
18277
18278 \begin_layout Plain Layout
18279
18280 \emph on
18281 1
18282 \end_layout
18283
18284 \end_inset
18285
18286 ] Revisar la ortografía del contenido del recuadro.
18287  Por omisión, sí.
18288 \end_layout
18289
18290 \begin_layout Subsection
18291 Contadores
18292 \begin_inset CommandInset label
18293 LatexCommand label
18294 name "sub:Contadores"
18295
18296 \end_inset
18297
18298
18299 \end_layout
18300
18301 \begin_layout Standard
18302 Es necesario definir los contadores (
18303 \begin_inset Flex MenuItem
18304 status collapsed
18305
18306 \begin_layout Plain Layout
18307 chapter
18308 \end_layout
18309
18310 \end_inset
18311
18312
18313 \begin_inset Flex MenuItem
18314 status collapsed
18315
18316 \begin_layout Plain Layout
18317 figure
18318 \end_layout
18319
18320 \end_inset
18321
18322 , \SpecialChar \ldots{}
18323 ) en la propia clase de texto.
18324  Los contadores estándar están definidos en el archivo 
18325 \begin_inset Flex Code
18326 status collapsed
18327
18328 \begin_layout Plain Layout
18329 stdcounters.inc
18330 \end_layout
18331
18332 \end_inset
18333
18334 , de modo que no tienes más que añadir
18335 \end_layout
18336
18337 \begin_layout LyX-Code
18338 Input stdcounters.inc
18339 \end_layout
18340
18341 \begin_layout Standard
18342 en el archivo de formato para que funcionen.
18343  Pero si quieres puedes definir contadores personalizados.
18344  La declaración de un contador debe comenzar con:
18345 \end_layout
18346
18347 \begin_layout LyX-Code
18348 Counter <nombre>
18349 \end_layout
18350
18351 \begin_layout Standard
18352 donde 
18353 \begin_inset Flex Code
18354 status collapsed
18355
18356 \begin_layout Plain Layout
18357 <nombre>
18358 \end_layout
18359
18360 \end_inset
18361
18362  es el nombre del contador.
18363  Hay que terminar con 
18364 \begin_inset Flex Code
18365 status collapsed
18366
18367 \begin_layout Plain Layout
18368 End
18369 \end_layout
18370
18371 \end_inset
18372
18373 .
18374 \end_layout
18375
18376 \begin_layout Standard
18377 Se pueden usar además los parámetros siguientes:
18378 \end_layout
18379
18380 \begin_layout Description
18381 \begin_inset Flex Code
18382 status collapsed
18383
18384 \begin_layout Plain Layout
18385 InitialValue
18386 \end_layout
18387
18388 \end_inset
18389
18390  [
18391 \begin_inset Flex Code
18392 status collapsed
18393
18394 \begin_layout Plain Layout
18395 int=1
18396 \end_layout
18397
18398 \end_inset
18399
18400
18401 \lang english
18402 Sets the initial value for the counter, to which it will be reset whenever
18403  that happens.
18404  Normally, one will want the default, 1.
18405 \end_layout
18406
18407 \begin_layout Description
18408 \begin_inset Flex Code
18409 status collapsed
18410
18411 \begin_layout Plain Layout
18412 LabelString
18413 \end_layout
18414
18415 \end_inset
18416
18417  [
18418 \begin_inset Flex Code
18419 status collapsed
18420
18421 \begin_layout Plain Layout
18422 string
18423 \end_layout
18424
18425 \end_inset
18426
18427 =""] Si se define esta cadena, indica cómo se muestra el contador.
18428  Al establecer este valor también se da el mismo valor a 
18429 \begin_inset Flex Code
18430 status collapsed
18431
18432 \begin_layout Plain Layout
18433 LabelStringAppendix
18434 \end_layout
18435
18436 \end_inset
18437
18438 .
18439  Para los valores de 'string' se pueden usar las estructuras siguientes:
18440 \end_layout
18441
18442 \begin_deeper
18443 \begin_layout Itemize
18444 \begin_inset Flex Code
18445 status collapsed
18446
18447 \begin_layout Plain Layout
18448
18449 \backslash
18450 thecounter
18451 \end_layout
18452
18453 \end_inset
18454
18455  será reemplazado por la expansión de 
18456 \begin_inset Flex Code
18457 status collapsed
18458
18459 \begin_layout Plain Layout
18460 LabelString
18461 \end_layout
18462
18463 \end_inset
18464
18465
18466 \begin_inset Newline linebreak
18467 \end_inset
18468
18469  (o 
18470 \begin_inset Flex Code
18471 status collapsed
18472
18473 \begin_layout Plain Layout
18474 LabelStringAppendix
18475 \end_layout
18476
18477 \end_inset
18478
18479 ) del contador 
18480 \begin_inset Flex Code
18481 status collapsed
18482
18483 \begin_layout Plain Layout
18484 counter
18485 \end_layout
18486
18487 \end_inset
18488
18489 .
18490  
18491 \end_layout
18492
18493 \begin_layout Itemize
18494 los valores del contador pueden expresarse usando macros tipo LaTeX como
18495  
18496 \begin_inset Flex Code
18497 status collapsed
18498
18499 \begin_layout Plain Layout
18500
18501 \backslash
18502
18503 \emph on
18504 numbertype
18505 \emph default
18506 {
18507 \emph on
18508 counter
18509 \emph default
18510 }
18511 \end_layout
18512
18513 \end_inset
18514
18515 , donde 
18516 \begin_inset Flex Code
18517 status collapsed
18518
18519 \begin_layout Plain Layout
18520
18521 \emph on
18522 numbertype
18523 \end_layout
18524
18525 \end_inset
18526
18527  puede ser: 
18528 \begin_inset Flex Code
18529 status collapsed
18530
18531 \begin_layout Plain Layout
18532 arabic
18533 \end_layout
18534
18535 \end_inset
18536
18537 : 1, 2, 3,\SpecialChar \ldots{}
18538
18539 \begin_inset Flex Code
18540 status collapsed
18541
18542 \begin_layout Plain Layout
18543 alph
18544 \end_layout
18545
18546 \end_inset
18547
18548  para minúsculas: a, b, c, \SpecialChar \ldots{}
18549
18550 \begin_inset Flex Code
18551 status collapsed
18552
18553 \begin_layout Plain Layout
18554 Alph
18555 \end_layout
18556
18557 \end_inset
18558
18559  para mayúsculas: A, B, C, \SpecialChar \ldots{}
18560
18561 \begin_inset Flex Code
18562 status collapsed
18563
18564 \begin_layout Plain Layout
18565 roman
18566 \end_layout
18567
18568 \end_inset
18569
18570  números romanos en minúscula: i, ii, iii, \SpecialChar \ldots{}
18571
18572 \begin_inset Foot
18573 status collapsed
18574
18575 \begin_layout Plain Layout
18576
18577 \size normal
18578 \emph on
18579 \color none
18580 N.
18581 \begin_inset space \thinspace{}
18582 \end_inset
18583
18584 del T.
18585 \emph default
18586 : El estilo 
18587 \family sans
18588
18589 \begin_inset Flex Code
18590 status collapsed
18591
18592 \begin_layout Plain Layout
18593
18594 \family sans
18595 \size normal
18596 \color none
18597 spanish
18598 \end_layout
18599
18600 \end_inset
18601
18602
18603 \family default
18604  de 
18605 \family sans
18606
18607 \begin_inset Flex Code
18608 status collapsed
18609
18610 \begin_layout Plain Layout
18611
18612 \family sans
18613 \size normal
18614 \color none
18615 babel
18616 \end_layout
18617
18618 \end_inset
18619
18620
18621 \family default
18622 \size default
18623 \color inherit
18624  los transforma automáticamente en versalitas
18625 \noun on
18626 , i, ii
18627 \noun default
18628 \SpecialChar \ldots{}
18629 , ya que los romanos en minúscula no se usan en español.
18630  
18631 \end_layout
18632
18633 \end_inset
18634
18635
18636 \begin_inset Flex Code
18637 status collapsed
18638
18639 \begin_layout Plain Layout
18640 Roman
18641 \end_layout
18642
18643 \end_inset
18644
18645  para romanos en mayúsculas: I, II, III.
18646 \end_layout
18647
18648 \end_deeper
18649 \begin_layout Standard
18650 Si no se define 
18651 \begin_inset Flex Code
18652 status collapsed
18653
18654 \begin_layout Plain Layout
18655 LabelString
18656 \end_layout
18657
18658 \end_inset
18659
18660 , se construye un valor por omisión así: si el contador tiene un contador
18661  maestro 
18662 \begin_inset Flex Code
18663 status collapsed
18664
18665 \begin_layout Plain Layout
18666 master
18667 \end_layout
18668
18669 \end_inset
18670
18671  (definido mediante 
18672 \begin_inset Flex Code
18673 status collapsed
18674
18675 \begin_layout Plain Layout
18676 Within
18677 \end_layout
18678
18679 \end_inset
18680
18681 ), se usa la cadena 
18682 \begin_inset Flex Code
18683 status collapsed
18684
18685 \begin_layout Plain Layout
18686
18687 \backslash
18688 themaster.
18689 \backslash
18690 arabic{counter}
18691 \end_layout
18692
18693 \end_inset
18694
18695 ; si no, se usa la cadena 
18696 \begin_inset Flex Code
18697 status collapsed
18698
18699 \begin_layout Plain Layout
18700
18701 \backslash
18702 arabic{counter}
18703 \end_layout
18704
18705 \end_inset
18706
18707 .
18708 \end_layout
18709
18710 \begin_layout Description
18711 \begin_inset Flex Code
18712 status collapsed
18713
18714 \begin_layout Plain Layout
18715 LabelStringAppendix
18716 \end_layout
18717
18718 \end_inset
18719
18720  [
18721 \begin_inset Flex Code
18722 status collapsed
18723
18724 \begin_layout Plain Layout
18725 string
18726 \end_layout
18727
18728 \end_inset
18729
18730 =""] Lo mismo que 
18731 \begin_inset Flex Code
18732 status collapsed
18733
18734 \begin_layout Plain Layout
18735 LabelString
18736 \end_layout
18737
18738 \end_inset
18739
18740 , pero para el apéndice.
18741 \end_layout
18742
18743 \begin_layout Description
18744 \begin_inset Flex Code
18745 status collapsed
18746
18747 \begin_layout Plain Layout
18748 PrettyFormat
18749 \end_layout
18750
18751 \end_inset
18752
18753  [
18754 \begin_inset Flex Code
18755 status collapsed
18756
18757 \begin_layout Plain Layout
18758 string
18759 \end_layout
18760
18761 \end_inset
18762
18763 =
18764 \begin_inset Quotes erd
18765 \end_inset
18766
18767
18768 \begin_inset Quotes erd
18769 \end_inset
18770
18771 ] Un formato para usar con las referencias a este contador.
18772  Por ejemplo, podríamos querer las referencias a los números de sección
18773  en la forma 
18774 \begin_inset Quotes fld
18775 \end_inset
18776
18777 Sección
18778 \begin_inset space ~
18779 \end_inset
18780
18781 2.4
18782 \begin_inset Quotes frd
18783 \end_inset
18784
18785 .
18786  La cadena debería contener 
18787 \begin_inset Quotes eld
18788 \end_inset
18789
18790 ##
18791 \begin_inset Quotes erd
18792 \end_inset
18793
18794 .
18795  Esto será reemplazado por el número correspondiente del contador.
18796  Así pues, para secciones sería: Section ##.
18797 \end_layout
18798
18799 \begin_layout Description
18800 \begin_inset Flex Code
18801 status collapsed
18802
18803 \begin_layout Plain Layout
18804 Within
18805 \end_layout
18806
18807 \end_inset
18808
18809  [
18810 \begin_inset Flex Code
18811 status collapsed
18812
18813 \begin_layout Plain Layout
18814 string
18815 \end_layout
18816
18817 \end_inset
18818
18819 =""] Si esto se establece para el nombre de otro contador, el presente contador
18820  se reiniciará cada vez que el otro aumente.
18821  Por ejemplo, 
18822 \begin_inset Flex Code
18823 status collapsed
18824
18825 \begin_layout Plain Layout
18826 subsection
18827 \end_layout
18828
18829 \end_inset
18830
18831  se numera dentro de 
18832 \begin_inset Flex Code
18833 status collapsed
18834
18835 \begin_layout Plain Layout
18836 section
18837 \end_layout
18838
18839 \end_inset
18840
18841 .
18842 \end_layout
18843
18844 \begin_layout Subsection
18845 Descripción de las tipografías
18846 \begin_inset CommandInset label
18847 LatexCommand label
18848 name "sub:Tipografías"
18849
18850 \end_inset
18851
18852
18853 \end_layout
18854
18855 \begin_layout Standard
18856 Una descripción de una tipografía se ve como:
18857 \end_layout
18858
18859 \begin_layout LyX-Code
18860 Font 
18861 \family roman
18862 \emph on
18863 o
18864 \family default
18865 \emph default
18866  LabelFont 
18867 \emph on
18868 o
18869 \emph default
18870  DefaultFont
18871 \end_layout
18872
18873 \begin_layout LyX-Code
18874  ...
18875 \end_layout
18876
18877 \begin_layout LyX-Code
18878 EndFont
18879 \end_layout
18880
18881 \begin_layout Standard
18882 Están disponibles los comandos siguientes:
18883 \end_layout
18884
18885 \begin_layout Description
18886 \begin_inset Flex Code
18887 status collapsed
18888
18889 \begin_layout Plain Layout
18890 Color
18891 \end_layout
18892
18893 \end_inset
18894
18895  [
18896 \begin_inset Flex Code
18897 status collapsed
18898
18899 \begin_layout Plain Layout
18900
18901 \emph on
18902 none
18903 \end_layout
18904
18905 \end_inset
18906
18907
18908 \begin_inset Flex Code
18909 status collapsed
18910
18911 \begin_layout Plain Layout
18912 black
18913 \end_layout
18914
18915 \end_inset
18916
18917
18918 \begin_inset Flex Code
18919 status collapsed
18920
18921 \begin_layout Plain Layout
18922 white
18923 \end_layout
18924
18925 \end_inset
18926
18927
18928 \begin_inset Flex Code
18929 status collapsed
18930
18931 \begin_layout Plain Layout
18932 red
18933 \end_layout
18934
18935 \end_inset
18936
18937
18938 \begin_inset Flex Code
18939 status collapsed
18940
18941 \begin_layout Plain Layout
18942 green
18943 \end_layout
18944
18945 \end_inset
18946
18947
18948 \begin_inset Flex Code
18949 status collapsed
18950
18951 \begin_layout Plain Layout
18952 blue
18953 \end_layout
18954
18955 \end_inset
18956
18957
18958 \begin_inset Flex Code
18959 status collapsed
18960
18961 \begin_layout Plain Layout
18962 cyan
18963 \end_layout
18964
18965 \end_inset
18966
18967
18968 \begin_inset Flex Code
18969 status collapsed
18970
18971 \begin_layout Plain Layout
18972 magenta
18973 \end_layout
18974
18975 \end_inset
18976
18977
18978 \begin_inset Flex Code
18979 status collapsed
18980
18981 \begin_layout Plain Layout
18982 yellow
18983 \end_layout
18984
18985 \end_inset
18986
18987 ]
18988 \end_layout
18989
18990 \begin_layout Description
18991 \begin_inset Flex Code
18992 status collapsed
18993
18994 \begin_layout Plain Layout
18995 Family
18996 \end_layout
18997
18998 \end_inset
18999
19000  [
19001 \emph on
19002
19003 \begin_inset Flex Code
19004 status collapsed
19005
19006 \begin_layout Plain Layout
19007
19008 \emph on
19009 Roman
19010 \end_layout
19011
19012 \end_inset
19013
19014
19015 \emph default
19016
19017 \begin_inset Flex Code
19018 status collapsed
19019
19020 \begin_layout Plain Layout
19021 Sans
19022 \end_layout
19023
19024 \end_inset
19025
19026
19027 \begin_inset Flex Code
19028 status collapsed
19029
19030 \begin_layout Plain Layout
19031 Typewriter
19032 \end_layout
19033
19034 \end_inset
19035
19036
19037 \end_layout
19038
19039 \begin_layout Description
19040 \begin_inset Flex Code
19041 status collapsed
19042
19043 \begin_layout Plain Layout
19044 Misc
19045 \end_layout
19046
19047 \end_inset
19048
19049  [
19050 \begin_inset Flex Code
19051 status collapsed
19052
19053 \begin_layout Plain Layout
19054 string
19055 \end_layout
19056
19057 \end_inset
19058
19059 ] Son argumentos válidos: 
19060 \begin_inset Flex Code
19061 status collapsed
19062
19063 \begin_layout Plain Layout
19064 emph
19065 \end_layout
19066
19067 \end_inset
19068
19069
19070 \begin_inset Flex Code
19071 status collapsed
19072
19073 \begin_layout Plain Layout
19074 noun
19075 \end_layout
19076
19077 \end_inset
19078
19079
19080 \begin_inset Flex Code
19081 status collapsed
19082
19083 \begin_layout Plain Layout
19084 strikeout
19085 \end_layout
19086
19087 \end_inset
19088
19089
19090 \begin_inset Flex Code
19091 status collapsed
19092
19093 \begin_layout Plain Layout
19094 underbar
19095 \end_layout
19096
19097 \end_inset
19098
19099
19100 \begin_inset Flex Code
19101 status collapsed
19102
19103 \begin_layout Plain Layout
19104 uuline
19105 \end_layout
19106
19107 \end_inset
19108
19109
19110 \begin_inset Flex Code
19111 status collapsed
19112
19113 \begin_layout Plain Layout
19114 uwave
19115 \end_layout
19116
19117 \end_inset
19118
19119
19120 \begin_inset Flex Code
19121 status collapsed
19122
19123 \begin_layout Plain Layout
19124 no_emph
19125 \end_layout
19126
19127 \end_inset
19128
19129
19130 \begin_inset Flex Code
19131 status collapsed
19132
19133 \begin_layout Plain Layout
19134 no_noun
19135 \end_layout
19136
19137 \end_inset
19138
19139
19140 \begin_inset Flex Code
19141 status collapsed
19142
19143 \begin_layout Plain Layout
19144 no_strikeout
19145 \end_layout
19146
19147 \end_inset
19148
19149
19150 \begin_inset Flex Code
19151 status collapsed
19152
19153 \begin_layout Plain Layout
19154 no_bar
19155 \end_layout
19156
19157 \end_inset
19158
19159
19160 \begin_inset Flex Code
19161 status collapsed
19162
19163 \begin_layout Plain Layout
19164 no_uuline
19165 \end_layout
19166
19167 \end_inset
19168
19169  y 
19170 \begin_inset Flex Code
19171 status collapsed
19172
19173 \begin_layout Plain Layout
19174 no_uwave
19175 \end_layout
19176
19177 \end_inset
19178
19179 .
19180  Cada uno de ellos activa o desactiva el atributo correspondiente.
19181  Por ejemplo, 
19182 \begin_inset Flex Code
19183 status collapsed
19184
19185 \begin_layout Plain Layout
19186 emph
19187 \end_layout
19188
19189 \end_inset
19190
19191  activa énfasis, y 
19192 \begin_inset Flex Code
19193 status collapsed
19194
19195 \begin_layout Plain Layout
19196 no_emph
19197 \end_layout
19198
19199 \end_inset
19200
19201  lo desactiva.
19202 \begin_inset Newline newline
19203 \end_inset
19204
19205 Si esto último parece superfluo, recordemos que la configuración de tipografías
19206  para el presente contexto se hereda generalmente del contexto circundante.
19207  Por eso 
19208 \begin_inset Flex Code
19209 status collapsed
19210
19211 \begin_layout Plain Layout
19212 no_emph
19213 \end_layout
19214
19215 \end_inset
19216
19217  desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
19218 \end_layout
19219
19220 \begin_layout Description
19221 \begin_inset Flex Code
19222 status collapsed
19223
19224 \begin_layout Plain Layout
19225 Series
19226 \end_layout
19227
19228 \end_inset
19229
19230  [
19231 \emph on
19232
19233 \begin_inset Flex Code
19234 status collapsed
19235
19236 \begin_layout Plain Layout
19237
19238 \emph on
19239 Medium
19240 \end_layout
19241
19242 \end_inset
19243
19244
19245 \emph default
19246
19247 \begin_inset Flex Code
19248 status collapsed
19249
19250 \begin_layout Plain Layout
19251 Bold
19252 \end_layout
19253
19254 \end_inset
19255
19256
19257 \end_layout
19258
19259 \begin_layout Description
19260 \begin_inset Flex Code
19261 status collapsed
19262
19263 \begin_layout Plain Layout
19264 Shape
19265 \end_layout
19266
19267 \end_inset
19268
19269  [
19270 \emph on
19271
19272 \begin_inset Flex Code
19273 status collapsed
19274
19275 \begin_layout Plain Layout
19276
19277 \emph on
19278 Up
19279 \end_layout
19280
19281 \end_inset
19282
19283
19284 \emph default
19285
19286 \begin_inset Flex Code
19287 status collapsed
19288
19289 \begin_layout Plain Layout
19290 Italic
19291 \end_layout
19292
19293 \end_inset
19294
19295
19296 \begin_inset Flex Code
19297 status collapsed
19298
19299 \begin_layout Plain Layout
19300 SmallCaps
19301 \end_layout
19302
19303 \end_inset
19304
19305
19306 \begin_inset Flex Code
19307 status collapsed
19308
19309 \begin_layout Plain Layout
19310 Slanted
19311 \end_layout
19312
19313 \end_inset
19314
19315
19316 \end_layout
19317
19318 \begin_layout Description
19319 \begin_inset Flex Code
19320 status collapsed
19321
19322 \begin_layout Plain Layout
19323 Size
19324 \end_layout
19325
19326 \end_inset
19327
19328  [
19329 \begin_inset Flex Code
19330 status collapsed
19331
19332 \begin_layout Plain Layout
19333 tiny
19334 \end_layout
19335
19336 \end_inset
19337
19338
19339 \begin_inset Flex Code
19340 status collapsed
19341
19342 \begin_layout Plain Layout
19343 small
19344 \end_layout
19345
19346 \end_inset
19347
19348
19349 \begin_inset Flex Code
19350 status collapsed
19351
19352 \begin_layout Plain Layout
19353
19354 \emph on
19355 normal
19356 \end_layout
19357
19358 \end_inset
19359
19360
19361 \begin_inset Flex Code
19362 status collapsed
19363
19364 \begin_layout Plain Layout
19365 large
19366 \end_layout
19367
19368 \end_inset
19369
19370
19371 \begin_inset Flex Code
19372 status collapsed
19373
19374 \begin_layout Plain Layout
19375 larger
19376 \end_layout
19377
19378 \end_inset
19379
19380
19381 \begin_inset Flex Code
19382 status collapsed
19383
19384 \begin_layout Plain Layout
19385 largest
19386 \end_layout
19387
19388 \end_inset
19389
19390
19391 \begin_inset Flex Code
19392 status collapsed
19393
19394 \begin_layout Plain Layout
19395 huge
19396 \end_layout
19397
19398 \end_inset
19399
19400
19401 \begin_inset Flex Code
19402 status collapsed
19403
19404 \begin_layout Plain Layout
19405 giant
19406 \end_layout
19407
19408 \end_inset
19409
19410 ]
19411 \end_layout
19412
19413 \begin_layout Subsection
19414 Descripción del formato de cita
19415 \begin_inset CommandInset label
19416 LatexCommand label
19417 name "sub:Descripción-formato-cita"
19418
19419 \end_inset
19420
19421
19422 \end_layout
19423
19424 \begin_layout Standard
19425 Los bloques 
19426 \begin_inset Flex Code
19427 status collapsed
19428
19429 \begin_layout Plain Layout
19430 CiteFormat
19431 \end_layout
19432
19433 \end_inset
19434
19435  se usan para describir la forma en que debe mostrarse la información bibliográf
19436 ica, tanto en LyX (en el diálogo de citas y en las ayudas emergentes, por
19437  ejemplo) como en la salida XHTML.
19438  El aspecto de unode estos bloques podría ser este:
19439 \end_layout
19440
19441 \begin_layout LyX-Code
19442 CiteFormat
19443 \end_layout
19444
19445 \begin_layout LyX-Code
19446  article ...
19447 \end_layout
19448
19449 \begin_layout LyX-Code
19450  book ...
19451 \end_layout
19452
19453 \begin_layout LyX-Code
19454 End
19455 \end_layout
19456
19457 \begin_layout Standard
19458 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
19459  con un artículo o libro, respectivamente, y tales definiciones se pueden
19460  dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
19461  BibTeX.
19462  LyX define un formato por omsión en el código fuente que se usará si no
19463  se da una definición específica.
19464  LyX predefine varios formatos en el archivo 
19465 \begin_inset Flex Code
19466 status collapsed
19467
19468 \begin_layout Plain Layout
19469 stdciteformats.inc
19470 \end_layout
19471
19472 \end_inset
19473
19474 , que se incluye en la mayoría de las clases de documento de LyX.
19475 \end_layout
19476
19477 \begin_layout Standard
19478 Las definiciones usan un lenguaje simple que permite reemplazar las claves
19479  BibTeX por sus valores.
19480  Las claves deben encerrarse entre símbolos 
19481 \begin_inset Flex Code
19482 status collapsed
19483
19484 \begin_layout Plain Layout
19485 %
19486 \end_layout
19487
19488 \end_inset
19489
19490 , p.
19491 \begin_inset space \thinspace{}
19492 \end_inset
19493
19494 ej.: 
19495 \begin_inset Flex Code
19496 status collapsed
19497
19498 \begin_layout Plain Layout
19499 %author%
19500 \end_layout
19501
19502 \end_inset
19503
19504 .
19505  Así, una simple definición sería:
19506 \end_layout
19507
19508 \begin_layout LyX-Code
19509 misc %author%, 
19510 \begin_inset Quotes eld
19511 \end_inset
19512
19513 %title
19514 \begin_inset Quotes erd
19515 \end_inset
19516
19517 .
19518 \end_layout
19519
19520 \begin_layout Standard
19521 Esto imprimiría el autor, una coma, a continuación el título entre comillas
19522  y un punto para finalizar.
19523 \end_layout
19524
19525 \begin_layout Standard
19526 A veces querrás, por supuesto, imprimir una clave solo si existe.
19527  Esto puede hacerse mediante una construcción condicional tal como: 
19528 \begin_inset Flex Code
19529 status collapsed
19530
19531 \begin_layout Plain Layout
19532 {%volume%[[vol.
19533 \begin_inset space ~
19534 \end_inset
19535
19536 %volume%]]}
19537 \end_layout
19538
19539 \end_inset
19540
19541 , que quiere decir: si la clave 
19542 \begin_inset Flex Code
19543 status collapsed
19544
19545 \begin_layout Plain Layout
19546 volume
19547 \end_layout
19548
19549 \end_inset
19550
19551  existe, imprime 
19552 \begin_inset Quotes eld
19553 \end_inset
19554
19555 vol.
19556 \begin_inset space ~
19557 \end_inset
19558
19559
19560 \begin_inset Quotes erd
19561 \end_inset
19562
19563  seguido de la clave.
19564  También es posible tener una cláusula de otro modo en el condicional, como:
19565 \begin_inset Newline newline
19566 \end_inset
19567
19568
19569 \begin_inset Flex Code
19570 status collapsed
19571
19572 \begin_layout Plain Layout
19573 {%author%[[%author%]][[%editor%, ed.]]}
19574 \end_layout
19575
19576 \end_inset
19577
19578
19579 \begin_inset Newline newline
19580 \end_inset
19581
19582 Aquí, la clave 
19583 \begin_inset Flex Code
19584 status collapsed
19585
19586 \begin_layout Plain Layout
19587 author
19588 \end_layout
19589
19590 \end_inset
19591
19592  se imprime si existe; por otra parte, se imprime la clave 
19593 \begin_inset Flex Code
19594 status collapsed
19595
19596 \begin_layout Plain Layout
19597 author
19598 \end_layout
19599
19600 \end_inset
19601
19602  seguida por 
19603 \begin_inset Quotes eld
19604 \end_inset
19605
19606 ,
19607 \begin_inset space ~
19608 \end_inset
19609
19610 ed.
19611 \begin_inset Quotes erd
19612 \end_inset
19613
19614 .
19615  Advierte que la clave se encierra entre signos 
19616 \begin_inset Flex Code
19617 status collapsed
19618
19619 \begin_layout Plain Layout
19620 %
19621 \end_layout
19622
19623 \end_inset
19624
19625 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
19626  y por otra parte se ponen entre cobles corchetes, 
19627 \begin_inset Quotes eld
19628 \end_inset
19629
19630
19631 \begin_inset Flex Code
19632 status collapsed
19633
19634 \begin_layout Plain Layout
19635 [[
19636 \end_layout
19637
19638 \end_inset
19639
19640
19641 \begin_inset Quotes eld
19642 \end_inset
19643
19644  y 
19645 \begin_inset Quotes eld
19646 \end_inset
19647
19648
19649 \begin_inset Flex Code
19650 status collapsed
19651
19652 \begin_layout Plain Layout
19653 ]]
19654 \end_layout
19655
19656 \end_inset
19657
19658
19659 \begin_inset Quotes erd
19660 \end_inset
19661
19662 .
19663  No debe haber espacios entre ninguno de ellos.
19664 \end_layout
19665
19666 \begin_layout Standard
19667 Hay otra pieza de sintaxis disponible en las definiciones, como esta: 
19668 \begin_inset Flex Code
19669 status collapsed
19670
19671 \begin_layout Plain Layout
19672 {!<i>!}
19673 \end_layout
19674
19675 \end_inset
19676
19677 .
19678  Define una pieza de información para ser usada cuando creamos 
19679 \begin_inset Quotes eld
19680 \end_inset
19681
19682 texto enriquecido
19683 \begin_inset Quotes erd
19684 \end_inset
19685
19686 .
19687  Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
19688  por tanto deben ponerse entre 
19689 \begin_inset Quotes eld
19690 \end_inset
19691
19692 {!
19693 \begin_inset Quotes erd
19694 \end_inset
19695
19696  y 
19697 \begin_inset Quotes eld
19698 \end_inset
19699
19700 !}
19701 \begin_inset Quotes erd
19702 \end_inset
19703
19704 .
19705 \end_layout
19706
19707 \begin_layout Standard
19708 Además, hay dos clases especiales de definiciones disponibles en un bloque
19709  
19710 \begin_inset Flex Code
19711 status collapsed
19712
19713 \begin_layout Plain Layout
19714 CiteFormat
19715 \end_layout
19716
19717 \end_inset
19718
19719 .
19720  Un ejemplo de la primera sería:
19721 \end_layout
19722
19723 \begin_layout LyX-Code
19724 !quotetitle 
19725 \begin_inset Quotes eld
19726 \end_inset
19727
19728 %title%
19729 \begin_inset Quotes erd
19730 \end_inset
19731
19732
19733 \end_layout
19734
19735 \begin_layout Standard
19736 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
19737  una clave: 
19738 \begin_inset Flex Code
19739 status collapsed
19740
19741 \begin_layout Plain Layout
19742 %!quotetitle%
19743 \end_layout
19744
19745 \end_inset
19746
19747 .
19748  LyX tratará 
19749 \begin_inset Flex Code
19750 status collapsed
19751
19752 \begin_layout Plain Layout
19753 %!quotetitle%
19754 \end_layout
19755
19756 \end_inset
19757
19758  exactamente como trataría su definición.
19759  Por tanto, permítenos un 
19760 \emph on
19761 aviso
19762 \emph default
19763  obvio.
19764  No hagas:
19765 \end_layout
19766
19767 \begin_layout LyX-Code
19768 !funfun %funfun%
19769 \end_layout
19770
19771 \begin_layout Standard
19772 ni nada parecido.
19773  LyX no caería en un bucle infinito, pero sí en uno muy largo.
19774 \end_layout
19775
19776 \begin_layout Standard
19777 El segundo tipo especial de definición sería como:
19778 \end_layout
19779
19780 \begin_layout LyX-Code
19781 _pptext pp.
19782 \end_layout
19783
19784 \begin_layout Standard
19785 Esto define un trozo de texto traducible, que permite traducir partes relevantes
19786  de la bibliografía.
19787  Puede incluirse en una definición tratándolo como una clave: 
19788 \begin_inset Flex Code
19789 status collapsed
19790
19791 \begin_layout Plain Layout
19792 %_pptext%
19793 \end_layout
19794
19795 \end_inset
19796
19797 .
19798  Varios de estos están predefinidos en 
19799 \begin_inset Flex Code
19800 status collapsed
19801
19802 \begin_layout Plain Layout
19803 stdciteformats.inc
19804 \end_layout
19805
19806 \end_inset
19807
19808 .
19809  Advertiremos que no son macros en el sentido definido.
19810  No se expandirán.
19811 \end_layout
19812
19813 \begin_layout Standard
19814 Aquí hay, pues, un ejemplo que usa todas estas características:
19815 \begin_inset VSpace defskip
19816 \end_inset
19817
19818
19819 \end_layout
19820
19821 \begin_layout Standard
19822 \noindent
19823
19824 \family typewriter
19825 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
19826 \end_layout
19827
19828 \begin_layout Standard
19829 \begin_inset VSpace defskip
19830 \end_inset
19831
19832 Así definimos una macro que imprime el autor seguido de coma, si la clave
19833  
19834 \begin_inset Flex Code
19835 status collapsed
19836
19837 \begin_layout Plain Layout
19838 author
19839 \end_layout
19840
19841 \end_inset
19842
19843  está definida, o imprime el nombre del editor seguido por el texto 
19844 \begin_inset Flex Code
19845 status collapsed
19846
19847 \begin_layout Plain Layout
19848 _edtext
19849 \end_layout
19850
19851 \end_inset
19852
19853  o su traducción (por omisión 
19854 \begin_inset Quotes eld
19855 \end_inset
19856
19857 ed.
19858 \begin_inset Quotes erd
19859 \end_inset
19860
19861 ), si la clave 
19862 \begin_inset Flex Code
19863 status collapsed
19864
19865 \begin_layout Plain Layout
19866 editor
19867 \end_layout
19868
19869 \end_inset
19870
19871  está definida.
19872  De hecho, esto está definido en 
19873 \begin_inset Flex Code
19874 status collapsed
19875
19876 \begin_layout Plain Layout
19877 stdciteformats.inc
19878 \end_layout
19879
19880 \end_inset
19881
19882 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
19883  si cargas antes ese archivo.
19884 \end_layout
19885
19886 \begin_layout Section
19887 Etiquetas para la salida XHTML
19888 \begin_inset CommandInset label
19889 LatexCommand label
19890 name "sec:Etiquetas-para-XHTML"
19891
19892 \end_inset
19893
19894
19895 \end_layout
19896
19897 \begin_layout Standard
19898 Como para LaTeX o DocBook, el formato de salida XHTML en LyX también se
19899  controla mediante la información contenida en archivos de formato.
19900  En general, LyX provee valores predefinidos sensatos y, como se mencionó
19901  anteriormente, incluso construirá reglas de estilo CSS a partir de las
19902  otras etiquetas de formato.
19903  Por ejemplo, LyX intentará usar la información proporcionada por la declaración
19904  
19905 \begin_inset Flex Code
19906 status collapsed
19907
19908 \begin_layout Plain Layout
19909 Font
19910 \end_layout
19911
19912 \end_inset
19913
19914  para el estilo Chapter para escribir CSS que formateará adecuadamente los
19915  encabezados de capítulo.
19916 \end_layout
19917
19918 \begin_layout Standard
19919 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
19920  salida XHTML para tus propios entornos, recuadros personalizados y cosas
19921  así.
19922  Pero en ciertos casos querrás hacer cambios, y para eso LyX proporciona
19923  un número de etiquetas de formato que se pueden usar para personalizar
19924  los XHTML y CSS generados.
19925 \end_layout
19926
19927 \begin_layout Standard
19928 Advertimos que hay dos etiquetas, 
19929 \begin_inset Flex Code
19930 status collapsed
19931
19932 \begin_layout Plain Layout
19933 HTMLPreamble
19934 \end_layout
19935
19936 \end_inset
19937
19938  y 
19939 \begin_inset Flex Code
19940 status collapsed
19941
19942 \begin_layout Plain Layout
19943 AddToHTMLPreamble
19944 \end_layout
19945
19946 \end_inset
19947
19948  que pueden aparecer fuera de las declaraciones de estilos y recuadros.
19949  Véase 
19950 \begin_inset CommandInset ref
19951 LatexCommand ref
19952 reference "sub:Parámetros-generales-clases"
19953
19954 \end_inset
19955
19956  para detalles sobre esto.
19957 \end_layout
19958
19959 \begin_layout Subsection
19960 Estilos de párrafo
19961 \begin_inset CommandInset label
19962 LatexCommand label
19963 name "sub:Estilos-de-párrafo-XHTML"
19964
19965 \end_inset
19966
19967
19968 \end_layout
19969
19970 \begin_layout Standard
19971 El tipo de XHTML que genera LyX para un párrafo depende de si se trata de
19972  un párrafo normal, de un comando o de un entorno, en los que esto se determina
19973  por el contenido de la correspondiente etiqueta 
19974 \begin_inset Flex Code
19975 status collapsed
19976
19977 \begin_layout Plain Layout
19978 LaTeXType
19979 \end_layout
19980
19981 \end_inset
19982
19983 .
19984  
19985 \end_layout
19986
19987 \begin_layout Standard
19988 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
19989 \end_layout
19990
19991 \begin_layout LyX-Code
19992 <tag attr=
19993 \begin_inset Quotes erd
19994 \end_inset
19995
19996 value
19997 \begin_inset Quotes erd
19998 \end_inset
19999
20000 >
20001 \end_layout
20002
20003 \begin_layout LyX-Code
20004 <labeltag attr=
20005 \begin_inset Quotes erd
20006 \end_inset
20007
20008 value
20009 \begin_inset Quotes erd
20010 \end_inset
20011
20012 >Label</labeltag>
20013 \end_layout
20014
20015 \begin_layout LyX-Code
20016 Contents of the paragraph.
20017 \end_layout
20018
20019 \begin_layout LyX-Code
20020 </tag>
20021 \end_layout
20022
20023 \begin_layout Standard
20024 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
20025 \end_layout
20026
20027 \begin_layout Standard
20028 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
20029 \end_layout
20030
20031 \begin_layout LyX-Code
20032 <tag attr=
20033 \begin_inset Quotes erd
20034 \end_inset
20035
20036 value
20037 \begin_inset Quotes erd
20038 \end_inset
20039
20040 >
20041 \end_layout
20042
20043 \begin_layout LyX-Code
20044 <itemtag attr=
20045 \begin_inset Quotes erd
20046 \end_inset
20047
20048 value
20049 \begin_inset Quotes erd
20050 \end_inset
20051
20052 ><labeltag attr=
20053 \begin_inset Quotes erd
20054 \end_inset
20055
20056 value
20057 \begin_inset Quotes erd
20058 \end_inset
20059
20060 >Environment Label</labeltag>First paragraph.</itemtag>
20061 \end_layout
20062
20063 \begin_layout LyX-Code
20064 <itemtag>Second paragraph.</itemtag>
20065 \end_layout
20066
20067 \begin_layout LyX-Code
20068 </tag>
20069 \end_layout
20070
20071 \begin_layout Standard
20072 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
20073  para un teorema.
20074  
20075 \end_layout
20076
20077 \begin_layout Standard
20078 Para una lista disponemos de una de estas formas:
20079 \end_layout
20080
20081 \begin_layout LyX-Code
20082 <tag attr=
20083 \begin_inset Quotes erd
20084 \end_inset
20085
20086 value
20087 \begin_inset Quotes erd
20088 \end_inset
20089
20090 >
20091 \end_layout
20092
20093 \begin_layout LyX-Code
20094 <itemtag attr=
20095 \begin_inset Quotes erd
20096 \end_inset
20097
20098 value
20099 \begin_inset Quotes erd
20100 \end_inset
20101
20102 ><labeltag attr=
20103 \begin_inset Quotes erd
20104 \end_inset
20105
20106 value
20107 \begin_inset Quotes erd
20108 \end_inset
20109
20110 >List Label</labeltag>First item.</itemtag>
20111 \end_layout
20112
20113 \begin_layout LyX-Code
20114 <itemtag attr=
20115 \begin_inset Quotes erd
20116 \end_inset
20117
20118 value
20119 \begin_inset Quotes erd
20120 \end_inset
20121
20122 ><labeltag attr=
20123 \begin_inset Quotes erd
20124 \end_inset
20125
20126 value
20127 \begin_inset Quotes erd
20128 \end_inset
20129
20130 >List Label</labeltag>Second item.</itemtag>
20131 \end_layout
20132
20133 \begin_layout LyX-Code
20134 </tag>
20135 \end_layout
20136
20137 \begin_layout LyX-Code
20138
20139 \end_layout
20140
20141 \begin_layout LyX-Code
20142 <tag attr=
20143 \begin_inset Quotes erd
20144 \end_inset
20145
20146 value
20147 \begin_inset Quotes erd
20148 \end_inset
20149
20150 >
20151 \end_layout
20152
20153 \begin_layout LyX-Code
20154 <labeltag attr=
20155 \begin_inset Quotes erd
20156 \end_inset
20157
20158 value
20159 \begin_inset Quotes erd
20160 \end_inset
20161
20162 >List Label</labeltag><itemtag attr=
20163 \begin_inset Quotes erd
20164 \end_inset
20165
20166 value
20167 \begin_inset Quotes erd
20168 \end_inset
20169
20170 >First item.</itemtag>
20171 \end_layout
20172
20173 \begin_layout LyX-Code
20174 <labeltag attr=
20175 \begin_inset Quotes erd
20176 \end_inset
20177
20178 value
20179 \begin_inset Quotes erd
20180 \end_inset
20181
20182 >List Label</labeltag><itemtag attr=
20183 \begin_inset Quotes erd
20184 \end_inset
20185
20186 value
20187 \begin_inset Quotes erd
20188 \end_inset
20189
20190 >Second item.</itemtag>
20191 \end_layout
20192
20193 \begin_layout LyX-Code
20194 </tag>
20195 \end_layout
20196
20197 \begin_layout Standard
20198 Observa los diferentes órdenes de 
20199 \begin_inset Flex Code
20200 status collapsed
20201
20202 \begin_layout Plain Layout
20203 labeltag
20204 \end_layout
20205
20206 \end_inset
20207
20208  e 
20209 \begin_inset Flex Code
20210 status collapsed
20211
20212 \begin_layout Plain Layout
20213 itemtag
20214 \end_layout
20215
20216 \end_inset
20217
20218 .
20219  El orden que obtenemos depende del ajuste de 
20220 \begin_inset Flex Code
20221 status collapsed
20222
20223 \begin_layout Plain Layout
20224 HTMLLabelFirst
20225 \end_layout
20226
20227 \end_inset
20228
20229 : Si 
20230 \begin_inset Flex Code
20231 status collapsed
20232
20233 \begin_layout Plain Layout
20234 HTMLLabelFirst
20235 \end_layout
20236
20237 \end_inset
20238
20239  es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
20240  del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
20241  ítem.
20242 \end_layout
20243
20244 \begin_layout Standard
20245 Las etiquetas específicas y la salida de los atributos para cada tipo de
20246  párrafo puede ser controlado por medio de las etiquetas de formato que
20247  vamos a describir.
20248  Como mencionamos antes, sin embargo, LyX usa predefinidos adecuados para
20249  muchos de estos valores, por lo que generalmente no necesitarás hacer nada
20250  para obtener una buena salida XHTML.
20251  Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
20252 \end_layout
20253
20254 \begin_layout Description
20255 \begin_inset Flex Code
20256 status collapsed
20257
20258 \begin_layout Plain Layout
20259 HTMLAttr
20260 \end_layout
20261
20262 \end_inset
20263
20264  [
20265 \begin_inset Flex Code
20266 status collapsed
20267
20268 \begin_layout Plain Layout
20269 string
20270 \end_layout
20271
20272 \end_inset
20273
20274 ] Especifica información de los atributos a entregar con la etiqueta principal.
20275  Por ejemplo, 
20276 \begin_inset Quotes eld
20277 \end_inset
20278
20279
20280 \begin_inset Flex Code
20281 status collapsed
20282
20283 \begin_layout Plain Layout
20284 class=`mydiv'
20285 \end_layout
20286
20287 \end_inset
20288
20289
20290 \begin_inset Quotes erd
20291 \end_inset
20292
20293 .
20294  Por omisión, LyX producirá 
20295 \begin_inset Quotes eld
20296 \end_inset
20297
20298
20299 \begin_inset Flex Code
20300 status collapsed
20301
20302 \begin_layout Plain Layout
20303 class=`layoutname'
20304 \end_layout
20305
20306 \end_inset
20307
20308
20309 \begin_inset Quotes erd
20310 \end_inset
20311
20312 , donde 
20313 \begin_inset Flex Code
20314 status collapsed
20315
20316 \begin_layout Plain Layout
20317 layoutname
20318 \end_layout
20319
20320 \end_inset
20321
20322  es el nombre del formato en LyX, en minúsculas, por ejemplo: chapter.
20323  Esto 
20324 \emph on
20325 no
20326 \emph default
20327  debería contener ninguna información de estilo.
20328  Usa 
20329 \begin_inset Flex Code
20330 status collapsed
20331
20332 \begin_layout Plain Layout
20333 HTMLStyle
20334 \end_layout
20335
20336 \end_inset
20337
20338  para ese propósito.
20339 \end_layout
20340
20341 \begin_layout Description
20342 \begin_inset Flex Code
20343 status collapsed
20344
20345 \begin_layout Plain Layout
20346 HTMLForceCSS
20347 \end_layout
20348
20349 \end_inset
20350
20351  [
20352 \begin_inset Flex Code
20353 status collapsed
20354
20355 \begin_layout Plain Layout
20356
20357 \emph on
20358 0
20359 \end_layout
20360
20361 \end_inset
20362
20363 ,
20364 \begin_inset space \thinspace{}
20365 \end_inset
20366
20367
20368 \begin_inset Flex Code
20369 status collapsed
20370
20371 \begin_layout Plain Layout
20372 1
20373 \end_layout
20374
20375 \end_inset
20376
20377 ] Si producir la información CSS predeterminada que LyX genera para este
20378  formato, incluso si se proporciona explícitamente información adicional
20379  mediante 
20380 \begin_inset Flex Code
20381 status collapsed
20382
20383 \begin_layout Plain Layout
20384 HTMLStyle
20385 \end_layout
20386
20387 \end_inset
20388
20389 .
20390  Poner 
20391 \begin_inset Flex Code
20392 status collapsed
20393
20394 \begin_layout Plain Layout
20395 1
20396 \end_layout
20397
20398 \end_inset
20399
20400  permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
20401  Por omisión es 
20402 \begin_inset Flex Code
20403 status collapsed
20404
20405 \begin_layout Plain Layout
20406 0
20407 \end_layout
20408
20409 \end_inset
20410
20411 .
20412 \end_layout
20413
20414 \begin_layout Description
20415 \begin_inset Flex Code
20416 status collapsed
20417
20418 \begin_layout Plain Layout
20419 HTMLItem
20420 \end_layout
20421
20422 \end_inset
20423
20424  [
20425 \begin_inset Flex Code
20426 status collapsed
20427
20428 \begin_layout Plain Layout
20429 string
20430 \end_layout
20431
20432 \end_inset
20433
20434 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando 
20435 \begin_inset Flex Code
20436 status collapsed
20437
20438 \begin_layout Plain Layout
20439 itemtag
20440 \end_layout
20441
20442 \end_inset
20443
20444  en los ejemplos de arriba.
20445  Por omisión, 
20446 \begin_inset Flex Code
20447 status collapsed
20448
20449 \begin_layout Plain Layout
20450 div
20451 \end_layout
20452
20453 \end_inset
20454
20455 .
20456 \end_layout
20457
20458 \begin_layout Description
20459 \begin_inset Flex Code
20460 status collapsed
20461
20462 \begin_layout Plain Layout
20463 HTMLItemAttr
20464 \end_layout
20465
20466 \end_inset
20467
20468  [
20469 \begin_inset Flex Code
20470 status collapsed
20471
20472 \begin_layout Plain Layout
20473 string
20474 \end_layout
20475
20476 \end_inset
20477
20478 ] Atributos para la etiqueta ítem.
20479  Por omisión 
20480 \begin_inset Quotes eld
20481 \end_inset
20482
20483
20484 \begin_inset Flex Code
20485 status collapsed
20486
20487 \begin_layout Plain Layout
20488 class=`layoutname_item'
20489 \end_layout
20490
20491 \end_inset
20492
20493
20494 \begin_inset Quotes erd
20495 \end_inset
20496
20497 .
20498  Esto 
20499 \emph on
20500 no
20501 \emph default
20502  debería contener ninguna información de estilo.
20503  Usa 
20504 \begin_inset Flex Code
20505 status collapsed
20506
20507 \begin_layout Plain Layout
20508 HTMLStyle
20509 \end_layout
20510
20511 \end_inset
20512
20513  para ese propósito.
20514 \end_layout
20515
20516 \begin_layout Description
20517 \begin_inset Flex Code
20518 status collapsed
20519
20520 \begin_layout Plain Layout
20521 HTMLLabel
20522 \end_layout
20523
20524 \end_inset
20525
20526  [
20527 \begin_inset Flex Code
20528 status collapsed
20529
20530 \begin_layout Plain Layout
20531 string
20532 \end_layout
20533
20534 \end_inset
20535
20536 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando 
20537 \begin_inset Flex Code
20538 status collapsed
20539
20540 \begin_layout Plain Layout
20541 labeltag
20542 \end_layout
20543
20544 \end_inset
20545
20546  en los ejemplos de arriba.
20547  Por omisión, 
20548 \begin_inset Flex Code
20549 status collapsed
20550
20551 \begin_layout Plain Layout
20552 span
20553 \end_layout
20554
20555 \end_inset
20556
20557 , a menos que 
20558 \begin_inset Flex Code
20559 status collapsed
20560
20561 \begin_layout Plain Layout
20562 LabelType
20563 \end_layout
20564
20565 \end_inset
20566
20567  sea 
20568 \begin_inset Flex Code
20569 status collapsed
20570
20571 \begin_layout Plain Layout
20572 Top_Environment
20573 \end_layout
20574
20575 \end_inset
20576
20577  o 
20578 \begin_inset Flex Code
20579 status collapsed
20580
20581 \begin_layout Plain Layout
20582 Centered_Top_Environment
20583 \end_layout
20584
20585 \end_inset
20586
20587 , en cuyos casos es 
20588 \begin_inset Flex Code
20589 status collapsed
20590
20591 \begin_layout Plain Layout
20592 div
20593 \end_layout
20594
20595 \end_inset
20596
20597  por omisión.
20598 \end_layout
20599
20600 \begin_layout Description
20601 \begin_inset Flex Code
20602 status collapsed
20603
20604 \begin_layout Plain Layout
20605 HTMLLabelAttr
20606 \end_layout
20607
20608 \end_inset
20609
20610  [
20611 \begin_inset Flex Code
20612 status collapsed
20613
20614 \begin_layout Plain Layout
20615 string
20616 \end_layout
20617
20618 \end_inset
20619
20620 ] Atributos para la etiqueta del rótulo.
20621  Por omisión es 
20622 \begin_inset Quotes eld
20623 \end_inset
20624
20625
20626 \begin_inset Flex Code
20627 status collapsed
20628
20629 \begin_layout Plain Layout
20630 class=`layoutname_label'
20631 \end_layout
20632
20633 \end_inset
20634
20635
20636 \begin_inset Quotes erd
20637 \end_inset
20638
20639 .
20640  Esto 
20641 \emph on
20642 no
20643 \emph default
20644  debería contener ninguna información de estilo.
20645  Usa 
20646 \begin_inset Flex Code
20647 status collapsed
20648
20649 \begin_layout Plain Layout
20650 HTMLStyle
20651 \end_layout
20652
20653 \end_inset
20654
20655  para ese propósito.
20656 \end_layout
20657
20658 \begin_layout Description
20659 \begin_inset Flex Code
20660 status collapsed
20661
20662 \begin_layout Plain Layout
20663 HTMLLabelFirst
20664 \end_layout
20665
20666 \end_inset
20667
20668  [
20669 \begin_inset Flex Code
20670 status collapsed
20671
20672 \begin_layout Plain Layout
20673
20674 \emph on
20675 0
20676 \end_layout
20677
20678 \end_inset
20679
20680 ,
20681 \begin_inset space \thinspace{}
20682 \end_inset
20683
20684
20685 \begin_inset Flex Code
20686 status collapsed
20687
20688 \begin_layout Plain Layout
20689 1
20690 \end_layout
20691
20692 \end_inset
20693
20694 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
20695  si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
20696  Se usa, por ejemplo, en el entorno descripción, donde queremos `
20697 \begin_inset Flex Code
20698 status collapsed
20699
20700 \begin_layout Plain Layout
20701 <dt>\SpecialChar \ldots{}
20702 </dt><dd>\SpecialChar \ldots{}
20703 </dd>
20704 \end_layout
20705
20706 \end_inset
20707
20708 .
20709  Por omisión, 
20710 \begin_inset Flex Code
20711 status collapsed
20712
20713 \begin_layout Plain Layout
20714 0
20715 \end_layout
20716
20717 \end_inset
20718
20719 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
20720 \end_layout
20721
20722 \begin_layout Description
20723 \begin_inset Flex Code
20724 status collapsed
20725
20726 \begin_layout Plain Layout
20727 HTMLPreamble
20728 \end_layout
20729
20730 \end_inset
20731
20732  Información para generar en la sección 
20733 \begin_inset Flex Code
20734 status collapsed
20735
20736 \begin_layout Plain Layout
20737 <head>
20738 \end_layout
20739
20740 \end_inset
20741
20742  cuando se usa este estilo.
20743  Esto podría, por ejemplo, utilizarse para incluir un bloque 
20744 \begin_inset Flex Code
20745 status collapsed
20746
20747 \begin_layout Plain Layout
20748 <script>
20749 \end_layout
20750
20751 \end_inset
20752
20753  definiendo un controlador 
20754 \begin_inset Flex Code
20755 status collapsed
20756
20757 \begin_layout Plain Layout
20758 onclick
20759 \end_layout
20760
20761 \end_inset
20762
20763 .
20764 \end_layout
20765
20766 \begin_layout Description
20767 \begin_inset Flex Code
20768 status collapsed
20769
20770 \begin_layout Plain Layout
20771 HTMLStyle
20772 \end_layout
20773
20774 \end_inset
20775
20776  Información de estilo CSS a incluir cuando se usa este estilo.
20777  Advertimos que esto será automáticamente envuelto en un bloque 
20778 \begin_inset Flex Code
20779 status collapsed
20780
20781 \begin_layout Plain Layout
20782 <style>
20783 \end_layout
20784
20785 \end_inset
20786
20787  generado por el formato, por tanto solo es necesario incluir el propio
20788  CSS.
20789  
20790 \lang english
20791 Must end with
20792 \lang spanish
20793  
20794 \begin_inset Flex Code
20795 status collapsed
20796
20797 \begin_layout Plain Layout
20798 EndHTMLStyle
20799 \end_layout
20800
20801 \end_inset
20802
20803 .
20804 \end_layout
20805
20806 \begin_layout Description
20807 \begin_inset Flex Code
20808 status collapsed
20809
20810 \begin_layout Plain Layout
20811 HTMLTag
20812 \end_layout
20813
20814 \end_inset
20815
20816  [
20817 \begin_inset Flex Code
20818 status collapsed
20819
20820 \begin_layout Plain Layout
20821 string
20822 \end_layout
20823
20824 \end_inset
20825
20826 ] Etiqueta para el rótulo principal, reemplazando 
20827 \begin_inset Flex Code
20828 status collapsed
20829
20830 \begin_layout Plain Layout
20831 tag
20832 \end_layout
20833
20834 \end_inset
20835
20836  en losejemplos de arriba.
20837  Por omisión es 
20838 \begin_inset Flex Code
20839 status collapsed
20840
20841 \begin_layout Plain Layout
20842 div
20843 \end_layout
20844
20845 \end_inset
20846
20847 .
20848 \end_layout
20849
20850 \begin_layout Description
20851 \begin_inset Flex Code
20852 status collapsed
20853
20854 \begin_layout Plain Layout
20855 HTMLTitle
20856 \end_layout
20857
20858 \end_inset
20859
20860  [
20861 \begin_inset Flex Code
20862 status collapsed
20863
20864 \begin_layout Plain Layout
20865
20866 \emph on
20867 0
20868 \end_layout
20869
20870 \end_inset
20871
20872 ,
20873 \begin_inset space \thinspace{}
20874 \end_inset
20875
20876
20877 \begin_inset Flex Code
20878 status collapsed
20879
20880 \begin_layout Plain Layout
20881 1
20882 \end_layout
20883
20884 \end_inset
20885
20886 ] Marca este estilo como el que se va a usar para generar la etiqueta 
20887 \begin_inset Flex Code
20888 status collapsed
20889
20890 \begin_layout Plain Layout
20891 <title>
20892 \end_layout
20893
20894 \end_inset
20895
20896  para el archivo XHTML.
20897  Por omisión, es falso.
20898  El archivo 
20899 \begin_inset Flex Code
20900 status collapsed
20901
20902 \begin_layout Plain Layout
20903 stdtitle.inc
20904 \end_layout
20905
20906 \end_inset
20907
20908  lo establece verdadero para el entorno 
20909 \begin_inset Flex Code
20910 status collapsed
20911
20912 \begin_layout Plain Layout
20913 title
20914 \end_layout
20915
20916 \end_inset
20917
20918 .
20919  
20920 \end_layout
20921
20922 \begin_layout Subsection
20923 Recuadros XHTML
20924 \end_layout
20925
20926 \begin_layout Standard
20927 La salida XHTML de los recuadros también se puede controlar por información
20928  en archivos 'layout'.
20929 \begin_inset Foot
20930 status collapsed
20931
20932 \begin_layout Plain Layout
20933 Por ahora, esto solo es cierto para recuadros de 
20934 \begin_inset Quotes eld
20935 \end_inset
20936
20937 texto
20938 \begin_inset Quotes erd
20939 \end_inset
20940
20941  (recuadros en los que puedes escribir) y no para recuadros de 
20942 \begin_inset Quotes eld
20943 \end_inset
20944
20945 commandos
20946 \begin_inset Quotes erd
20947 \end_inset
20948
20949  (recuadros asociados con cuadros de diálogo).
20950 \end_layout
20951
20952 \end_inset
20953
20954  También en este caso, LyX intenta proporcionar valores predefinidos adecuados,
20955  y construye reglas de estilo CSS, pero todo puede personalizarse.
20956 \end_layout
20957
20958 \begin_layout Standard
20959 Para los recuadros, LyX produce XHTML en la forma:
20960 \end_layout
20961
20962 \begin_layout LyX-Code
20963 <tag attr=
20964 \begin_inset Quotes erd
20965 \end_inset
20966
20967 value
20968 \begin_inset Quotes erd
20969 \end_inset
20970
20971 >
20972 \end_layout
20973
20974 \begin_layout LyX-Code
20975 <labeltag>Label</labeltag>
20976 \end_layout
20977
20978 \begin_layout LyX-Code
20979 <innertag attr=
20980 \begin_inset Quotes erd
20981 \end_inset
20982
20983 value
20984 \begin_inset Quotes erd
20985 \end_inset
20986
20987 >Contents of the inset.</innertag>
20988 \end_layout
20989
20990 \begin_layout LyX-Code
20991 </tag>
20992 \end_layout
20993
20994 \begin_layout Standard
20995 Si el recuadro permite párrafos múltiples ---o sea, si 
20996 \begin_inset Flex Code
20997 status collapsed
20998
20999 \begin_layout Plain Layout
21000 MultiPar
21001 \end_layout
21002
21003 \end_inset
21004
21005  es verdadero--- el contenido del recuadro se generará en forma de párrafos
21006  estructurados según los estilos usados para dichos párrafos (normal, cita,
21007  y similares).
21008  El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
21009  es siempre 
21010 \begin_inset Flex Code
21011 status collapsed
21012
21013 \begin_layout Plain Layout
21014 span
21015 \end_layout
21016
21017 \end_inset
21018
21019 .
21020  La etiqueta interior es opcional y, por omisión, no aparece.
21021 \end_layout
21022
21023 \begin_layout Standard
21024 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
21025  mediante las siguientes etiquetas de formato.
21026 \end_layout
21027
21028 \begin_layout Description
21029 \begin_inset Flex Code
21030 status collapsed
21031
21032 \begin_layout Plain Layout
21033 HTMLAttr
21034 \end_layout
21035
21036 \end_inset
21037
21038  [
21039 \begin_inset Flex Code
21040 status collapsed
21041
21042 \begin_layout Plain Layout
21043 string
21044 \end_layout
21045
21046 \end_inset
21047
21048 ] Especifica información de atributos a generar con la etiqueta principal.
21049  Por ejemplo, 
21050 \begin_inset Quotes eld
21051 \end_inset
21052
21053
21054 \begin_inset Flex Code
21055 status collapsed
21056
21057 \begin_layout Plain Layout
21058 class=`myinset' onclick=`\SpecialChar \ldots{}
21059 '
21060 \end_layout
21061
21062 \end_inset
21063
21064
21065 \begin_inset Quotes erd
21066 \end_inset
21067
21068 .
21069  Por omisión, LyX generará 
21070 \begin_inset Quotes eld
21071 \end_inset
21072
21073
21074 \begin_inset Flex Code
21075 status collapsed
21076
21077 \begin_layout Plain Layout
21078 class=`insetname'
21079 \end_layout
21080
21081 \end_inset
21082
21083
21084 \begin_inset Quotes erd
21085 \end_inset
21086
21087 , donde 
21088 \begin_inset Flex Code
21089 status collapsed
21090
21091 \begin_layout Plain Layout
21092 insetname
21093 \end_layout
21094
21095 \end_inset
21096
21097  es el nombre del recuadro en LyX, en minúsculas y con los caracteres no
21098  alfanuméricos convertidos en guiones bajos, por ejemplo: footnote.
21099 \end_layout
21100
21101 \begin_layout Description
21102 \begin_inset Flex Code
21103 status collapsed
21104
21105 \begin_layout Plain Layout
21106 HTMLForceCSS
21107 \end_layout
21108
21109 \end_inset
21110
21111  [
21112 \begin_inset Flex Code
21113 status collapsed
21114
21115 \begin_layout Plain Layout
21116
21117 \emph on
21118 0
21119 \end_layout
21120
21121 \end_inset
21122
21123 ,
21124 \begin_inset space \thinspace{}
21125 \end_inset
21126
21127
21128 \begin_inset Flex Code
21129 status collapsed
21130
21131 \begin_layout Plain Layout
21132 1
21133 \end_layout
21134
21135 \end_inset
21136
21137 ] Si producir la información CSS predeterminadad que LyX genera para este
21138  formato, incluso si se da explícitamente información adicional con 
21139 \begin_inset Flex Code
21140 status collapsed
21141
21142 \begin_layout Plain Layout
21143 HTMLStyle
21144 \end_layout
21145
21146 \end_inset
21147
21148 .
21149  Si esto es 
21150 \begin_inset Flex Code
21151 status collapsed
21152
21153 \begin_layout Plain Layout
21154 1
21155 \end_layout
21156
21157 \end_inset
21158
21159  parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
21160  Por omisión, 0.
21161 \end_layout
21162
21163 \begin_layout Description
21164 \begin_inset Flex Code
21165 status collapsed
21166
21167 \begin_layout Plain Layout
21168 HTMLInnerAttr
21169 \end_layout
21170
21171 \end_inset
21172
21173  [
21174 \begin_inset Flex Code
21175 status collapsed
21176
21177 \begin_layout Plain Layout
21178 string
21179 \end_layout
21180
21181 \end_inset
21182
21183 ] Atributos para la etiqueta interna.
21184  Por omisión, es 
21185 \begin_inset Quotes eld
21186 \end_inset
21187
21188
21189 \begin_inset Flex Code
21190 status collapsed
21191
21192 \begin_layout Plain Layout
21193 class=`insetname_inner'
21194 \end_layout
21195
21196 \end_inset
21197
21198
21199 \begin_inset Quotes erd
21200 \end_inset
21201
21202 .
21203 \end_layout
21204
21205 \begin_layout Description
21206 \begin_inset Flex Code
21207 status collapsed
21208
21209 \begin_layout Plain Layout
21210 HTMLInnerTag
21211 \end_layout
21212
21213 \end_inset
21214
21215  [
21216 \begin_inset Flex Code
21217 status collapsed
21218
21219 \begin_layout Plain Layout
21220 string
21221 \end_layout
21222
21223 \end_inset
21224
21225 ] La etiqueta interna, reemplazando 
21226 \begin_inset Flex Code
21227 status collapsed
21228
21229 \begin_layout Plain Layout
21230 innertag
21231 \end_layout
21232
21233 \end_inset
21234
21235  en los ejemplos de arriba.
21236  Por omisión, ninguna.
21237 \end_layout
21238
21239 \begin_layout Description
21240 \begin_inset Flex Code
21241 status collapsed
21242
21243 \begin_layout Plain Layout
21244 HTMLIsBlock
21245 \end_layout
21246
21247 \end_inset
21248
21249  [
21250 \begin_inset Flex Code
21251 status collapsed
21252
21253 \begin_layout Plain Layout
21254 0
21255 \end_layout
21256
21257 \end_inset
21258
21259 ,
21260 \begin_inset space \thinspace{}
21261 \end_inset
21262
21263
21264 \begin_inset Flex Code
21265 status collapsed
21266
21267 \begin_layout Plain Layout
21268
21269 \emph on
21270 1
21271 \end_layout
21272
21273 \end_inset
21274
21275 ] Si este recuadro representa un bloque de texto independiente (como una
21276  nota al pie) o bien representa material que está incluido en el texto circundan
21277 te (como una rama).
21278  Por omisión, 1.
21279 \end_layout
21280
21281 \begin_layout Description
21282 \begin_inset Flex Code
21283 status collapsed
21284
21285 \begin_layout Plain Layout
21286 HTMLLabel
21287 \end_layout
21288
21289 \end_inset
21290
21291  [
21292 \begin_inset Flex Code
21293 status collapsed
21294
21295 \begin_layout Plain Layout
21296 string
21297 \end_layout
21298
21299 \end_inset
21300
21301 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
21302  un contador.
21303  Por ejemplo, para notas al pie, podría ser: 
21304 \begin_inset Flex Code
21305 status collapsed
21306
21307 \begin_layout Plain Layout
21308
21309 \backslash
21310 arabic{footnote}
21311 \end_layout
21312
21313 \end_inset
21314
21315 .
21316  Esto es opcional y no hay valor predeterminado.
21317 \end_layout
21318
21319 \begin_layout Description
21320 \begin_inset Flex Code
21321 status collapsed
21322
21323 \begin_layout Plain Layout
21324 HTMLPreamble
21325 \end_layout
21326
21327 \end_inset
21328
21329  Información que saldrá en la sección 
21330 \begin_inset Flex Code
21331 status collapsed
21332
21333 \begin_layout Plain Layout
21334 <head>
21335 \end_layout
21336
21337 \end_inset
21338
21339  cuando se usa este estilo.
21340  Esto podría usarse, por ejemplo, para incluir un bloque 
21341 \begin_inset Flex Code
21342 status collapsed
21343
21344 \begin_layout Plain Layout
21345 <script>
21346 \end_layout
21347
21348 \end_inset
21349
21350  que defina un controlador 
21351 \begin_inset Flex Code
21352 status collapsed
21353
21354 \begin_layout Plain Layout
21355 onclick
21356 \end_layout
21357
21358 \end_inset
21359
21360 .
21361 \end_layout
21362
21363 \begin_layout Description
21364 \begin_inset Flex Code
21365 status collapsed
21366
21367 \begin_layout Plain Layout
21368 HTMLStyle
21369 \end_layout
21370
21371 \end_inset
21372
21373  Información de estilo CSS a incluir cuando se usa este estilo.
21374  Esto será automáticamente envuelto en un bloque 
21375 \begin_inset Flex Code
21376 status collapsed
21377
21378 \begin_layout Plain Layout
21379 <style>
21380 \end_layout
21381
21382 \end_inset
21383
21384  generado por el formato, por lo que solo hay que incluir el propio CSS.
21385 \end_layout
21386
21387 \begin_layout Description
21388 \begin_inset Flex Code
21389 status collapsed
21390
21391 \begin_layout Plain Layout
21392 HTMLTag
21393 \end_layout
21394
21395 \end_inset
21396
21397  [
21398 \begin_inset Flex Code
21399 status collapsed
21400
21401 \begin_layout Plain Layout
21402 string
21403 \end_layout
21404
21405 \end_inset
21406
21407 ] La etiqueta a usar para el rótulo principal, reemplazando 
21408 \begin_inset Flex Code
21409 status collapsed
21410
21411 \begin_layout Plain Layout
21412 tag
21413 \end_layout
21414
21415 \end_inset
21416
21417  en los ejemplos de arriba.
21418  El valor por omisión depende de 
21419 \begin_inset Flex Code
21420 status collapsed
21421
21422 \begin_layout Plain Layout
21423 MultiPar
21424 \end_layout
21425
21426 \end_inset
21427
21428 : Si 
21429 \begin_inset Flex Code
21430 status collapsed
21431
21432 \begin_layout Plain Layout
21433 MultiPar
21434 \end_layout
21435
21436 \end_inset
21437
21438  es verdadero, es 
21439 \begin_inset Flex Code
21440 status collapsed
21441
21442 \begin_layout Plain Layout
21443 div
21444 \end_layout
21445
21446 \end_inset
21447
21448 ; si es falso, el valor por omisión es 
21449 \begin_inset Flex Code
21450 status collapsed
21451
21452 \begin_layout Plain Layout
21453 span
21454 \end_layout
21455
21456 \end_inset
21457
21458 .
21459 \end_layout
21460
21461 \begin_layout Subsection
21462 Flotantes XHTML
21463 \end_layout
21464
21465 \begin_layout Standard
21466 La salida XHTML para flotantes también se puede controlar mediante información
21467  en archivos 'layout'.
21468  La salida tiene la forma:
21469 \end_layout
21470
21471 \begin_layout LyX-Code
21472 <tag attr=
21473 \begin_inset Quotes erd
21474 \end_inset
21475
21476 value
21477 \begin_inset Quotes erd
21478 \end_inset
21479
21480 >
21481 \end_layout
21482
21483 \begin_layout LyX-Code
21484 Contents of the float.
21485 \end_layout
21486
21487 \begin_layout LyX-Code
21488 </tag>
21489 \end_layout
21490
21491 \begin_layout Standard
21492 La leyenda, si la hay, es un recuadro separado y se generará como tal.
21493  Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
21494  
21495 \end_layout
21496
21497 \begin_layout Description
21498 \begin_inset Flex Code
21499 status collapsed
21500
21501 \begin_layout Plain Layout
21502 HTMLAttr
21503 \end_layout
21504
21505 \end_inset
21506
21507  [
21508 \begin_inset Flex Code
21509 status collapsed
21510
21511 \begin_layout Plain Layout
21512 string
21513 \end_layout
21514
21515 \end_inset
21516
21517 ] Especifica información de los atributos a generar con la etiqueta principal,
21518  Por ejemplo, 
21519 \begin_inset Quotes eld
21520 \end_inset
21521
21522
21523 \begin_inset Flex Code
21524 status collapsed
21525
21526 \begin_layout Plain Layout
21527 class=`myfloat' onclick=`\SpecialChar \ldots{}
21528 '
21529 \end_layout
21530
21531 \end_inset
21532
21533
21534 \begin_inset Quotes erd
21535 \end_inset
21536
21537 .
21538  Por omisión, LyX generará 
21539 \begin_inset Quotes eld
21540 \end_inset
21541
21542
21543 \begin_inset Flex Code
21544 status collapsed
21545
21546 \begin_layout Plain Layout
21547 class=`float float-floattype'
21548 \end_layout
21549
21550 \end_inset
21551
21552
21553 \begin_inset Quotes erd
21554 \end_inset
21555
21556 , donde 
21557 \begin_inset Flex Code
21558 status collapsed
21559
21560 \begin_layout Plain Layout
21561 floattype
21562 \end_layout
21563
21564 \end_inset
21565
21566  es el nombre en LyX para este tipo de flotante, como determina la declaración
21567  de flotante (véase 
21568 \begin_inset CommandInset ref
21569 LatexCommand ref
21570 reference "sub:Flotantes"
21571
21572 \end_inset
21573
21574 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
21575  por guiones bajos, por ejemplo: float-table.
21576 \end_layout
21577
21578 \begin_layout Description
21579 \begin_inset Flex Code
21580 status collapsed
21581
21582 \begin_layout Plain Layout
21583 HTMLStyle
21584 \end_layout
21585
21586 \end_inset
21587
21588  Información de estilo CSS a incluir cuando se usa este flotante.
21589  Esto será automáticamente envuelto en un bloque 
21590 \begin_inset Flex Code
21591 status collapsed
21592
21593 \begin_layout Plain Layout
21594 <style>
21595 \end_layout
21596
21597 \end_inset
21598
21599  generado por el formato, por lo que solo hay que incluir el propio CSS.
21600 \end_layout
21601
21602 \begin_layout Description
21603 \begin_inset Flex Code
21604 status collapsed
21605
21606 \begin_layout Plain Layout
21607 HTMLTag
21608 \end_layout
21609
21610 \end_inset
21611
21612  [
21613 \begin_inset Flex Code
21614 status collapsed
21615
21616 \begin_layout Plain Layout
21617 string
21618 \end_layout
21619
21620 \end_inset
21621
21622 ] La etiqueta a usar para este flotante, reemplazando "
21623 \begin_inset Flex Code
21624 status collapsed
21625
21626 \begin_layout Plain Layout
21627 tag
21628 \end_layout
21629
21630 \end_inset
21631
21632 " en el ejemplo de arriba.
21633  El valor por omisión es 
21634 \begin_inset Flex Code
21635 status collapsed
21636
21637 \begin_layout Plain Layout
21638 div
21639 \end_layout
21640
21641 \end_inset
21642
21643  y raramente habrá que cambiarlo.
21644 \end_layout
21645
21646 \begin_layout Subsection
21647 Formato de la Bibliografía
21648 \end_layout
21649
21650 \begin_layout Standard
21651 La bibliografía se puede formatear usando bloques 
21652 \begin_inset Flex Code
21653 status collapsed
21654
21655 \begin_layout Plain Layout
21656 CiteFormat
21657 \end_layout
21658
21659 \end_inset
21660
21661 .
21662  Véase la 
21663 \begin_inset CommandInset ref
21664 LatexCommand ref
21665 reference "sub:Descripción-formato-cita"
21666
21667 \end_inset
21668
21669  para los detalles.
21670 \end_layout
21671
21672 \begin_layout Subsection
21673 CSS generado por LyX
21674 \end_layout
21675
21676 \begin_layout Standard
21677 Hemos mencionado ya que LyX generará reglas de estilo CSS predeterminadas
21678  para recuadros y estilos de párrafo, basados en la información suministrada
21679  para otros formatos.
21680  En esta sección comentaremos qué información usa LyX y cómo la usa.
21681 \end_layout
21682
21683 \begin_layout Standard
21684 Actualmente, LyX auto-genera CSS solo para información sobre tipografías,
21685  haciendo uso de 
21686 \begin_inset Flex Code
21687 status collapsed
21688
21689 \begin_layout Plain Layout
21690 Family
21691 \end_layout
21692
21693 \end_inset
21694
21695
21696 \begin_inset Flex Code
21697 status collapsed
21698
21699 \begin_layout Plain Layout
21700 Series
21701 \end_layout
21702
21703 \end_inset
21704
21705
21706 \begin_inset Flex Code
21707 status collapsed
21708
21709 \begin_layout Plain Layout
21710 Shape
21711 \end_layout
21712
21713 \end_inset
21714
21715 , y 
21716 \begin_inset Flex Code
21717 status collapsed
21718
21719 \begin_layout Plain Layout
21720 Size
21721 \end_layout
21722
21723 \end_inset
21724
21725  especificados en la declaración 
21726 \begin_inset Flex Code
21727 status collapsed
21728
21729 \begin_layout Plain Layout
21730 Font
21731 \end_layout
21732
21733 \end_inset
21734
21735 .
21736  (Véase 
21737 \begin_inset CommandInset ref
21738 LatexCommand ref
21739 reference "sub:Tipografías"
21740
21741 \end_inset
21742
21743 .) La traducción es bastante sencilla y evidente.
21744  Por ejemplo, 
21745 \begin_inset Quotes eld
21746 \end_inset
21747
21748
21749 \begin_inset Flex Code
21750 status collapsed
21751
21752 \begin_layout Plain Layout
21753 Family Sans
21754 \end_layout
21755
21756 \end_inset
21757
21758
21759 \begin_inset Quotes erd
21760 \end_inset
21761
21762  se convierte en 
21763 \begin_inset Quotes eld
21764 \end_inset
21765
21766
21767 \begin_inset Flex Code
21768 status collapsed
21769
21770 \begin_layout Plain Layout
21771 font-family: sans-serif;
21772 \end_layout
21773
21774 \end_inset
21775
21776
21777 \begin_inset Quotes erd
21778 \end_inset
21779
21780 .
21781  La correspondencia entre tamaños LyX y tamaños CSS es un poco menos obvia,
21782  pero intuitiva en todo caso.
21783  Véase la función 
21784 \begin_inset Flex Code
21785 status collapsed
21786
21787 \begin_layout Plain Layout
21788 getSizeCSS()
21789 \end_layout
21790
21791 \end_inset
21792
21793  en 
21794 \begin_inset Flex URL
21795 status collapsed
21796
21797 \begin_layout Plain Layout
21798
21799 src/FontInfo.cpp
21800 \end_layout
21801
21802 \end_inset
21803
21804  para los detalles.
21805  
21806 \end_layout
21807
21808 \begin_layout Chapter
21809 Inserción de material externo
21810 \begin_inset CommandInset label
21811 LatexCommand label
21812 name "chap:Inserción-de-material"
21813
21814 \end_inset
21815
21816
21817 \end_layout
21818
21819 \begin_layout Standard
21820 \begin_inset Box Shadowbox
21821 position "t"
21822 hor_pos "c"
21823 has_inner_box 1
21824 inner_pos "t"
21825 use_parbox 0
21826 use_makebox 0
21827 width "100col%"
21828 special "none"
21829 height "1in"
21830 height_special "totalheight"
21831 status open
21832
21833 \begin_layout Plain Layout
21834 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
21835  tiempo.
21836  Esperamos que aún sea adecuada, pero no hay garantías.
21837 \end_layout
21838
21839 \end_inset
21840
21841
21842 \end_layout
21843
21844 \begin_layout Standard
21845 El uso de material de procedencia externa a LyX se trata con detalle en
21846  el manual 
21847 \emph on
21848 Objetos insertados
21849 \emph default
21850 .
21851  En el presente documento se trata sobre lo que debe suceder entre bambalinas
21852  para incluir nuevas clases de material.
21853 \end_layout
21854
21855 \begin_layout Section
21856 ¿Cómo funciona?
21857 \end_layout
21858
21859 \begin_layout Standard
21860 La característica material externo se basa en el concepto 
21861 \emph on
21862 plantilla
21863 \emph default
21864 .
21865  Una plantilla es una especificación de la forma en que LyX interactúa con
21866  ciertos tipos de material.
21867  De por sí, LyX incluye plantillas predefinidas para figuras Xfig, varios
21868  tipos de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
21869  Puedes comprobar la lista actual en el menú 
21870 \begin_inset Flex MenuItem
21871 status collapsed
21872
21873 \begin_layout Plain Layout
21874 Insertar\SpecialChar \menuseparator
21875 Archivo\SpecialChar \menuseparator
21876 Material externo
21877 \end_layout
21878
21879 \end_inset
21880
21881 .
21882  Además, es posible construir plantillas propias para soportar determinado
21883  tipo de material.
21884  Más tarde describiremos con más detalle lo que esto implica, y esperamos
21885  que nos envíes tus plantillas para que se puedan incluir en próximas versiones
21886  de LyX.
21887 \end_layout
21888
21889 \begin_layout Standard
21890 Otra idea básica de la característica material externo es distinguir entre
21891  el archivo original que sirve como base para el material final y el archivo
21892  generado que se incluye en el documento impreso o exportado.
21893  Por ejemplo, consideremos el caso de una figura hecha con 
21894 \begin_inset Flex Code
21895 status collapsed
21896
21897 \begin_layout Plain Layout
21898 Xfig
21899 \end_layout
21900
21901 \end_inset
21902
21903 .
21904  El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
21905  
21906 \begin_inset Flex Code
21907 status collapsed
21908
21909 \begin_layout Plain Layout
21910 .fig
21911 \end_layout
21912
21913 \end_inset
21914
21915 .
21916  Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
21917  
21918 \begin_inset Flex Code
21919 status collapsed
21920
21921 \begin_layout Plain Layout
21922 .fig
21923 \end_layout
21924
21925 \end_inset
21926
21927 .
21928  Para incluir la figura en un documento, se ejecuta 
21929 \begin_inset Flex Code
21930 status collapsed
21931
21932 \begin_layout Plain Layout
21933 transfig
21934 \end_layout
21935
21936 \end_inset
21937
21938  con el fin de crear un archivo PostScript que puede incluirse fácilmente
21939  en el archivo LaTeX.
21940  En este caso, el archivo 
21941 \begin_inset Flex Code
21942 status collapsed
21943
21944 \begin_layout Plain Layout
21945 .fig
21946 \end_layout
21947
21948 \end_inset
21949
21950  es el original, y el archivo PostScript es el archivo generado.
21951 \end_layout
21952
21953 \begin_layout Standard
21954 Esta distinción es importante para permitir la actualización del material
21955  durante el proceso de escritura del documento.
21956  Además, provee la flexibilidad necesaria para soportar múltiples formatos
21957  de exportación.
21958  Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
21959  idea incluir la figura como PostScript puro.
21960  En vez de esto, es preferible incluir solo una referencia a la figura o
21961  bien probar algún convertidor de gráficos a Ascii para que el resultado
21962  final se parezca al gráfico real.
21963  La gestión de material externo de LyX permite hacer esto porque se basa
21964  en parámetros apropiados para los diferentes formatos de exportación soportados.
21965 \end_layout
21966
21967 \begin_layout Standard
21968 Además de soportar la generación de diferentes productos de acuerdo con
21969  el formato de exportación, existe una profunda integración con las aplicaciones
21970  de edición y visualización.
21971  En el caso de figuras Xfig, es posible editar el archivo original en Xfig
21972  con un simple clic derecho sobre el recuadro y también previsualizar el
21973  PostScript generado con ghostview.
21974  Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
21975  para localizar y manipular los archivos originales o los generados.
21976  De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
21977  aplicaciones importantes para la composición de los documentos, y por tanto
21978  aumentar el rendimiento.
21979 \end_layout
21980
21981 \begin_layout Section
21982 El archivo de configuración de plantillas externas
21983 \end_layout
21984
21985 \begin_layout Standard
21986 Es relativamente fácil añadir en LyX definiciones personalizadas de plantillas
21987  externas.
21988  Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
21989  generará muy probablemente un agujero de seguridad fácil de explotar.
21990  Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
21991  en la 
21992 \begin_inset CommandInset ref
21993 LatexCommand ref
21994 reference "sec:Discusión-sobre-seguridad"
21995
21996 \end_inset
21997
21998
21999 \end_layout
22000
22001 \begin_layout Standard
22002 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
22003  que compongas.
22004 \end_layout
22005
22006 \begin_layout Standard
22007 Las plantillas externas se definen en el archivo 
22008 \begin_inset Flex Code
22009 status collapsed
22010
22011 \begin_layout Plain Layout
22012 LyXDir/lib/external_templates
22013 \end_layout
22014
22015 \end_inset
22016
22017 .
22018  Puedes colocar tus versiones propias en 
22019 \begin_inset Flex Code
22020 status collapsed
22021
22022 \begin_layout Plain Layout
22023 UserDir/external_templates
22024 \end_layout
22025
22026 \end_inset
22027
22028 .
22029 \end_layout
22030
22031 \begin_layout Standard
22032 Una plantilla típica tiene un aspecto como este:
22033 \end_layout
22034
22035 \begin_layout LyX-Code
22036 Template XFig
22037 \end_layout
22038
22039 \begin_layout LyX-Code
22040 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22041 \end_layout
22042
22043 \begin_layout LyX-Code
22044 HelpText
22045 \end_layout
22046
22047 \begin_layout LyX-Code
22048 An XFig figure.
22049 \end_layout
22050
22051 \begin_layout LyX-Code
22052 HelpTextEnd
22053 \end_layout
22054
22055 \begin_layout LyX-Code
22056 InputFormat fig
22057 \end_layout
22058
22059 \begin_layout LyX-Code
22060 FileFilter "*.fig"
22061 \end_layout
22062
22063 \begin_layout LyX-Code
22064 AutomaticProduction true
22065 \end_layout
22066
22067 \begin_layout LyX-Code
22068 Transform Rotate
22069 \end_layout
22070
22071 \begin_layout LyX-Code
22072 Transform Resize
22073 \end_layout
22074
22075 \begin_layout LyX-Code
22076 Format LaTeX
22077 \end_layout
22078
22079 \begin_layout LyX-Code
22080 TransformCommand Rotate RotationLatexCommand
22081 \end_layout
22082
22083 \begin_layout LyX-Code
22084 TransformCommand Resize ResizeLatexCommand
22085 \end_layout
22086
22087 \begin_layout LyX-Code
22088 Product "$$RotateFront$$ResizeFront
22089 \end_layout
22090
22091 \begin_layout LyX-Code
22092          
22093 \backslash
22094
22095 \backslash
22096 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22097 \end_layout
22098
22099 \begin_layout LyX-Code
22100          $$ResizeBack$$RotateBack"
22101 \end_layout
22102
22103 \begin_layout LyX-Code
22104 UpdateFormat pstex
22105 \end_layout
22106
22107 \begin_layout LyX-Code
22108 UpdateResult "$$AbsPath$$Basename.pstex_t"
22109 \end_layout
22110
22111 \begin_layout LyX-Code
22112 Requirement "graphicx"
22113 \end_layout
22114
22115 \begin_layout LyX-Code
22116 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22117 \end_layout
22118
22119 \begin_layout LyX-Code
22120 ReferencedFile latex "$$AbsPath$$Basename.eps"
22121 \end_layout
22122
22123 \begin_layout LyX-Code
22124 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22125 \end_layout
22126
22127 \begin_layout LyX-Code
22128 FormatEnd
22129 \end_layout
22130
22131 \begin_layout LyX-Code
22132 Format PDFLaTeX
22133 \end_layout
22134
22135 \begin_layout LyX-Code
22136 TransformCommand Rotate RotationLatexCommand
22137 \end_layout
22138
22139 \begin_layout LyX-Code
22140 TransformCommand Resize ResizeLatexCommand
22141 \end_layout
22142
22143 \begin_layout LyX-Code
22144 Product "$$RotateFront$$ResizeFront
22145 \end_layout
22146
22147 \begin_layout LyX-Code
22148          
22149 \backslash
22150
22151 \backslash
22152 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22153 \end_layout
22154
22155 \begin_layout LyX-Code
22156          $$ResizeBack$$RotateBack"
22157 \end_layout
22158
22159 \begin_layout LyX-Code
22160 UpdateFormat pdftex
22161 \end_layout
22162
22163 \begin_layout LyX-Code
22164 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22165 \end_layout
22166
22167 \begin_layout LyX-Code
22168 Requirement "graphicx"
22169 \end_layout
22170
22171 \begin_layout LyX-Code
22172 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22173 \end_layout
22174
22175 \begin_layout LyX-Code
22176 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22177 \end_layout
22178
22179 \begin_layout LyX-Code
22180 FormatEnd
22181 \end_layout
22182
22183 \begin_layout LyX-Code
22184 Format Ascii
22185 \end_layout
22186
22187 \begin_layout LyX-Code
22188 Product "$$Contents(
22189 \backslash
22190 "$$AbsPath$$Basename.asc
22191 \backslash
22192 ")"
22193 \end_layout
22194
22195 \begin_layout LyX-Code
22196 UpdateFormat asciixfig
22197 \end_layout
22198
22199 \begin_layout LyX-Code
22200 UpdateResult "$$AbsPath$$Basename.asc"
22201 \end_layout
22202
22203 \begin_layout LyX-Code
22204 FormatEnd
22205 \end_layout
22206
22207 \begin_layout LyX-Code
22208 Format DocBook
22209 \end_layout
22210
22211 \begin_layout LyX-Code
22212 Product "<graphic fileref=
22213 \backslash
22214 "$$AbsOrRelPathMaster$$Basename.eps
22215 \backslash
22216 ">
22217 \end_layout
22218
22219 \begin_layout LyX-Code
22220          </graphic>"
22221 \end_layout
22222
22223 \begin_layout LyX-Code
22224 UpdateFormat eps
22225 \end_layout
22226
22227 \begin_layout LyX-Code
22228 UpdateResult "$$AbsPath$$Basename.eps"
22229 \end_layout
22230
22231 \begin_layout LyX-Code
22232 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22233 \end_layout
22234
22235 \begin_layout LyX-Code
22236 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22237 \end_layout
22238
22239 \begin_layout LyX-Code
22240 FormatEnd
22241 \end_layout
22242
22243 \begin_layout LyX-Code
22244 Product "[XFig: $$FName]"
22245 \end_layout
22246
22247 \begin_layout LyX-Code
22248 FormatEnd
22249 \end_layout
22250
22251 \begin_layout LyX-Code
22252 TemplateEnd
22253 \end_layout
22254
22255 \begin_layout Standard
22256 Como puedes ver, la plantilla se incluye entre 
22257 \begin_inset Flex Code
22258 status collapsed
22259
22260 \begin_layout Plain Layout
22261 Template
22262 \end_layout
22263
22264 \end_inset
22265
22266  \SpecialChar \ldots{}
22267  
22268 \begin_inset Flex Code
22269 status collapsed
22270
22271 \begin_layout Plain Layout
22272 TemplateEnd
22273 \end_layout
22274
22275 \end_inset
22276
22277 .
22278  Contiene una cabecera que especifica algunas configuraciones generales
22279  y, por cada formato de archivo de documento primario soportado, una sección
22280  
22281 \begin_inset Flex Code
22282 status collapsed
22283
22284 \begin_layout Plain Layout
22285 Format
22286 \end_layout
22287
22288 \end_inset
22289
22290  \SpecialChar \ldots{}
22291  
22292 \begin_inset Flex Code
22293 status collapsed
22294
22295 \begin_layout Plain Layout
22296 FormatEnd
22297 \end_layout
22298
22299 \end_inset
22300
22301 .
22302 \end_layout
22303
22304 \begin_layout Subsection
22305 La cabecera de la plantilla
22306 \end_layout
22307
22308 \begin_layout Description
22309 \begin_inset Flex Code
22310 status collapsed
22311
22312 \begin_layout Plain Layout
22313 AutomaticProduction
22314 \begin_inset space ~
22315 \end_inset
22316
22317 true|false
22318 \end_layout
22319
22320 \end_inset
22321
22322  Si el archivo representado por la plantilla debe ser generado por LyX.
22323  Este comando debe aparecer exactamente una vez.
22324 \end_layout
22325
22326 \begin_layout Description
22327 \begin_inset Flex Code
22328 status collapsed
22329
22330 \begin_layout Plain Layout
22331 FileFilter
22332 \begin_inset space ~
22333 \end_inset
22334
22335 <pattern>
22336 \end_layout
22337
22338 \end_inset
22339
22340  Un patrón global que se usa en el diálogo del archivo para filtrar los
22341  archivos deseados.
22342  Si hay más de una posible extensión de archivo (p.
22343 \begin_inset space \thinspace{}
22344 \end_inset
22345
22346 e.,
22347 \begin_inset space ~
22348 \end_inset
22349
22350 tgif tiene 
22351 \begin_inset Flex Code
22352 status collapsed
22353
22354 \begin_layout Plain Layout
22355 .obj
22356 \end_layout
22357
22358 \end_inset
22359
22360  y 
22361 \begin_inset Flex Code
22362 status collapsed
22363
22364 \begin_layout Plain Layout
22365 .tgo
22366 \end_layout
22367
22368 \end_inset
22369
22370 ), se pone algo como 
22371 \begin_inset Flex Code
22372 status collapsed
22373
22374 \begin_layout Plain Layout
22375 "*.{obj,tgo}"
22376 \end_layout
22377
22378 \end_inset
22379
22380 .
22381  Este comando debe aparecer exactamente una vez.
22382 \end_layout
22383
22384 \begin_layout Description
22385 \begin_inset Flex Code
22386 status collapsed
22387
22388 \begin_layout Plain Layout
22389 GuiName
22390 \begin_inset space ~
22391 \end_inset
22392
22393 <guiname>
22394 \end_layout
22395
22396 \end_inset
22397
22398  El texto mostrado sobre el botón.
22399  Este comando debe aparecer exactamente una vez.
22400 \end_layout
22401
22402 \begin_layout Description
22403 \begin_inset Flex Code
22404 status collapsed
22405
22406 \begin_layout Plain Layout
22407 HelpText
22408 \begin_inset space ~
22409 \end_inset
22410
22411 <text>
22412 \begin_inset space ~
22413 \end_inset
22414
22415 HelpTextEnd
22416 \end_layout
22417
22418 \end_inset
22419
22420  El texto de ayuda que se muestra en diálogo.
22421  Da suficiente información sobre lo que puede proporcionar la plantilla.
22422  Este comando debe aparecer exactamente una vez.
22423 \end_layout
22424
22425 \begin_layout Description
22426 \begin_inset Flex Code
22427 status collapsed
22428
22429 \begin_layout Plain Layout
22430 InputFormat
22431 \begin_inset space ~
22432 \end_inset
22433
22434 <format>
22435 \end_layout
22436
22437 \end_inset
22438
22439  El formato de archivo del original.
22440  Debe ser el nombre de un formato conocido por LyX (véase la 
22441 \begin_inset CommandInset ref
22442 LatexCommand ref
22443 reference "sec:Formatos"
22444
22445 \end_inset
22446
22447 ).
22448  Se pone un 
22449 \begin_inset Quotes fld
22450 \end_inset
22451
22452
22453 \begin_inset Flex Code
22454 status collapsed
22455
22456 \begin_layout Plain Layout
22457 *
22458 \end_layout
22459
22460 \end_inset
22461
22462
22463 \begin_inset Quotes frd
22464 \end_inset
22465
22466  si la plantilla puede manejar archivos originales o más de un formato.
22467  En este caso, LyX intentará inspeccionar el archivo mismo para deducir
22468  su formato.
22469  Este comando debe aparecer exactamente una vez.
22470 \end_layout
22471
22472 \begin_layout Description
22473 \begin_inset Flex Code
22474 status collapsed
22475
22476 \begin_layout Plain Layout
22477 Template
22478 \begin_inset space ~
22479 \end_inset
22480
22481 <id>
22482 \end_layout
22483
22484 \end_inset
22485
22486  Un nombre único para la plantilla.
22487  No debe contener macros de sustitución (véase abajo).
22488 \end_layout
22489
22490 \begin_layout Description
22491 \begin_inset Flex Code
22492 status collapsed
22493
22494 \begin_layout Plain Layout
22495 Transform
22496 \begin_inset space ~
22497 \end_inset
22498
22499 Rotate|Resize|Clip|Extra
22500 \end_layout
22501
22502 \end_inset
22503
22504  Este comando especifica qué transformaciones son soportadas por esta plantilla.
22505  Puede aparecer ninguna o varias veces.
22506  Este comando facilita las correspondientes pestañas en el diálogo de material
22507  externo.
22508  Cada comando 
22509 \begin_inset Flex Code
22510 status collapsed
22511
22512 \begin_layout Plain Layout
22513 Transform
22514 \end_layout
22515
22516 \end_inset
22517
22518  debe tener el correspondiente 
22519 \begin_inset Flex Code
22520 status collapsed
22521
22522 \begin_layout Plain Layout
22523 TransformCommand
22524 \end_layout
22525
22526 \end_inset
22527
22528  o bien 
22529 \begin_inset Flex Code
22530 status collapsed
22531
22532 \begin_layout Plain Layout
22533 TransformOption
22534 \end_layout
22535
22536 \end_inset
22537
22538  en la sección 
22539 \begin_inset Flex Code
22540 status collapsed
22541
22542 \begin_layout Plain Layout
22543 Format
22544 \end_layout
22545
22546 \end_inset
22547
22548 .
22549  De lo contrario la transformación no será soportada por ese formato.
22550  
22551 \end_layout
22552
22553 \begin_layout Subsection
22554 La sección Format
22555 \end_layout
22556
22557 \begin_layout Description
22558 \begin_inset Flex Code
22559 status collapsed
22560
22561 \begin_layout Plain Layout
22562 Format
22563 \begin_inset space ~
22564 \end_inset
22565
22566 LaTeX|PDFLaTeX|PlainText|DocBook
22567 \end_layout
22568
22569 \end_inset
22570
22571  El formato de archivo del documento primario para el que es esta definición
22572  de formato.
22573  No toda plantilla tiene una representación sensible en los formatos de
22574  archivo de todos los documentos.
22575  No obstante, es preferible definir una sección 
22576 \begin_inset Flex Code
22577 status collapsed
22578
22579 \begin_layout Plain Layout
22580 Format
22581 \end_layout
22582
22583 \end_inset
22584
22585  para todos los formatos.
22586  Se usa un texto postizo si no hay representación disponible.
22587  Entonces, al menos, se puede ver una referencia al material externo en
22588  el documento exportado.
22589 \end_layout
22590
22591 \begin_layout Description
22592 \begin_inset Flex Code
22593 status collapsed
22594
22595 \begin_layout Plain Layout
22596 Option
22597 \begin_inset space ~
22598 \end_inset
22599
22600 <name>
22601 \begin_inset space ~
22602 \end_inset
22603
22604 <value>
22605 \end_layout
22606
22607 \end_inset
22608
22609  Este comando define una macro adicional, 
22610 \begin_inset Flex Code
22611 status collapsed
22612
22613 \begin_layout Plain Layout
22614 $$<name>
22615 \end_layout
22616
22617 \end_inset
22618
22619 , para sustitución en 
22620 \begin_inset Flex Code
22621 status collapsed
22622
22623 \begin_layout Plain Layout
22624 Product
22625 \end_layout
22626
22627 \end_inset
22628
22629 .
22630  
22631 \begin_inset Flex Code
22632 status collapsed
22633
22634 \begin_layout Plain Layout
22635 <value>
22636 \end_layout
22637
22638 \end_inset
22639
22640  puede contener en sí mismo macros de sustitución.
22641  La ventaja sobre el uso de 
22642 \begin_inset Flex Code
22643 status collapsed
22644
22645 \begin_layout Plain Layout
22646 <value>
22647 \end_layout
22648
22649 \end_inset
22650
22651  directamente en 
22652 \begin_inset Flex Code
22653 status collapsed
22654
22655 \begin_layout Plain Layout
22656 Product
22657 \end_layout
22658
22659 \end_inset
22660
22661  es que el valor sustituido de 
22662 \begin_inset Flex Code
22663 status collapsed
22664
22665 \begin_layout Plain Layout
22666 $$<name>
22667 \end_layout
22668
22669 \end_inset
22670
22671  está saneado así que es un argumento opcional válido en el formato del
22672  documento.
22673  Este comando puede aparecer ninguna o más veces.
22674 \end_layout
22675
22676 \begin_layout Description
22677 \begin_inset Flex Code
22678 status collapsed
22679
22680 \begin_layout Plain Layout
22681 Product
22682 \begin_inset space ~
22683 \end_inset
22684
22685 <text>
22686 \end_layout
22687
22688 \end_inset
22689
22690  El texto que se inserta en el documento exportado.
22691  Realmente este es el comando más importante y puede ser bastante complejo.
22692  Este comando debe aparecer exactamente una vez.
22693 \end_layout
22694
22695 \begin_layout Description
22696 \begin_inset Flex Code
22697 status collapsed
22698
22699 \begin_layout Plain Layout
22700 Preamble
22701 \begin_inset space ~
22702 \end_inset
22703
22704 <name>
22705 \end_layout
22706
22707 \end_inset
22708
22709  Este comando especifica un fragmento de preámbulo que se incluirá en el
22710  preámbulo LaTeX.
22711  Tiene que definirse usando 
22712 \begin_inset Flex Code
22713 status collapsed
22714
22715 \begin_layout Plain Layout
22716 PreambleDef
22717 \end_layout
22718
22719 \end_inset
22720
22721  \SpecialChar \ldots{}
22722  
22723 \begin_inset Flex Code
22724 status collapsed
22725
22726 \begin_layout Plain Layout
22727 PreambleDefEnd
22728 \end_layout
22729
22730 \end_inset
22731
22732 .
22733  Este comando puede aparecer ninguna o más veces.
22734 \end_layout
22735
22736 \begin_layout Description
22737 \begin_inset Flex Code
22738 status collapsed
22739
22740 \begin_layout Plain Layout
22741 ReferencedFile
22742 \begin_inset space ~
22743 \end_inset
22744
22745 <format>
22746 \begin_inset space ~
22747 \end_inset
22748
22749 <filename>
22750 \end_layout
22751
22752 \end_inset
22753
22754  Este comando indica los archivos que se crean por el proceso de conversión
22755  y que son necesarios para un formato de exportación particular.
22756  Si el nombre del archivo es relativo, se interpreta como relativo al documento
22757  maestro.
22758  Este comando puede darse ninguna o más veces.
22759 \end_layout
22760
22761 \begin_layout Description
22762 \begin_inset Flex Code
22763 status collapsed
22764
22765 \begin_layout Plain Layout
22766 Requirement
22767 \begin_inset space ~
22768 \end_inset
22769
22770 <package>
22771 \end_layout
22772
22773 \end_inset
22774
22775  El nombre de un paquete LaTeX requerido.
22776  El paquete se incuye mediante 
22777 \begin_inset Flex Code
22778 status collapsed
22779
22780 \begin_layout Plain Layout
22781
22782 \backslash
22783 usepackage{}
22784 \end_layout
22785
22786 \end_inset
22787
22788  en el preámbulo LaTeX.
22789  Este comando puede aparecer ninguna o más veces.
22790 \end_layout
22791
22792 \begin_layout Description
22793 \begin_inset Flex Code
22794 status collapsed
22795
22796 \begin_layout Plain Layout
22797 TransformCommand
22798 \begin_inset space ~
22799 \end_inset
22800
22801 Rotate
22802 \begin_inset space ~
22803 \end_inset
22804
22805 RotationLatexCommand
22806 \end_layout
22807
22808 \end_inset
22809
22810  Este comando especifica que el comando LaTeX incluido debería usarse para
22811  la rotación.
22812  Este comando puede aparecer una vez o ninguna.
22813 \end_layout
22814
22815 \begin_layout Description
22816 \begin_inset Flex Code
22817 status collapsed
22818
22819 \begin_layout Plain Layout
22820 TransformCommand
22821 \begin_inset space ~
22822 \end_inset
22823
22824 Resize
22825 \begin_inset space ~
22826 \end_inset
22827
22828 ResizeLatexCommand
22829 \end_layout
22830
22831 \end_inset
22832
22833  Este comando especifica que el comando LaTeX incluido debería usarse para
22834  cambiar el tamaño.
22835  Este comando puede aparecer una vez o ninguna.
22836 \end_layout
22837
22838 \begin_layout Description
22839 \begin_inset Flex Code
22840 status collapsed
22841
22842 \begin_layout Plain Layout
22843 TransformOption
22844 \begin_inset space ~
22845 \end_inset
22846
22847 Rotate
22848 \begin_inset space ~
22849 \end_inset
22850
22851 RotationLatexOption
22852 \end_layout
22853
22854 \end_inset
22855
22856  Este comando especifica que la rotación se hace mediante un argumento opcional.
22857  Este comando puede aparecer una vez o ninguna.
22858 \end_layout
22859
22860 \begin_layout Description
22861 \begin_inset Flex Code
22862 status collapsed
22863
22864 \begin_layout Plain Layout
22865 TransformOption
22866 \begin_inset space ~
22867 \end_inset
22868
22869 Resize
22870 \begin_inset space ~
22871 \end_inset
22872
22873 ResizeLatexOption
22874 \end_layout
22875
22876 \end_inset
22877
22878  Este comando especifica que el cambio de tamaño se hace mediante un argumento
22879  opcional.
22880  Este comando puede aparecer una vez o ninguna
22881 \end_layout
22882
22883 \begin_layout Description
22884 \begin_inset Flex Code
22885 status collapsed
22886
22887 \begin_layout Plain Layout
22888 TransformOption
22889 \begin_inset space ~
22890 \end_inset
22891
22892 Clip
22893 \begin_inset space ~
22894 \end_inset
22895
22896 ClipLatexOption
22897 \end_layout
22898
22899 \end_inset
22900
22901  Este comando especifica que el recorte se hace mediante un argumento opcional.
22902  Este comando puede aparecer una vez o ninguna.
22903 \end_layout
22904
22905 \begin_layout Description
22906 \begin_inset Flex Code
22907 status collapsed
22908
22909 \begin_layout Plain Layout
22910 TransformOption
22911 \begin_inset space ~
22912 \end_inset
22913
22914 Extra
22915 \begin_inset space ~
22916 \end_inset
22917
22918 ExtraLatexOption
22919 \end_layout
22920
22921 \end_inset
22922
22923  Este comando especifica que se usa un argumento extra opcional.
22924  Este comando puede aparecer una vez o ninguna.
22925  
22926 \end_layout
22927
22928 \begin_layout Description
22929 \begin_inset Flex Code
22930 status collapsed
22931
22932 \begin_layout Plain Layout
22933 UpdateFormat
22934 \begin_inset space ~
22935 \end_inset
22936
22937 <format>
22938 \end_layout
22939
22940 \end_inset
22941
22942  El formato de archivo del archivo convertido.
22943  Debe ser el nombre de un formato conocido por LyX (véase 
22944 \begin_inset Flex MenuItem
22945 status collapsed
22946
22947 \begin_layout Plain Layout
22948 Convertidores
22949 \end_layout
22950
22951 \end_inset
22952
22953  de 
22954 \begin_inset Flex MenuItem
22955 status collapsed
22956
22957 \begin_layout Plain Layout
22958 Gestión de archivos
22959 \end_layout
22960
22961 \end_inset
22962
22963  en el diálogo 
22964 \begin_inset Flex MenuItem
22965 status collapsed
22966
22967 \begin_layout Plain Layout
22968 Herramientas\SpecialChar \menuseparator
22969 Preferencias
22970 \end_layout
22971
22972 \end_inset
22973
22974 ).
22975  Este comando debe aparecer exactamente una vez.
22976  
22977 \lang english
22978 If the resulting file format is PDF, you need to specify the format 
22979 \begin_inset Flex Code
22980 status collapsed
22981
22982 \begin_layout Plain Layout
22983
22984 \lang english
22985 pdf6
22986 \end_layout
22987
22988 \end_inset
22989
22990 .
22991  This is the PDF format used for including graphics.
22992  The other defined PDF formats are for document export.
22993 \end_layout
22994
22995 \begin_layout Description
22996 \begin_inset Flex Code
22997 status collapsed
22998
22999 \begin_layout Plain Layout
23000 UpdateResult
23001 \begin_inset space ~
23002 \end_inset
23003
23004 <filename>
23005 \end_layout
23006
23007 \end_inset
23008
23009  El nombre de archivo del archivo convertido.
23010  El nombre de archivo debe ser absoluto.
23011  Este comando debe aparecer exactamente una vez.
23012 \end_layout
23013
23014 \begin_layout Subsection
23015 Definiciones de preámbulo
23016 \end_layout
23017
23018 \begin_layout Standard
23019 El archivo de configuración de plantillas externas puede contener definiciones
23020  de preámbulo adicionales encerradas entre 
23021 \begin_inset Flex Code
23022 status collapsed
23023
23024 \begin_layout Plain Layout
23025 PreambleDef
23026 \end_layout
23027
23028 \end_inset
23029
23030  \SpecialChar \ldots{}
23031  
23032 \begin_inset Flex Code
23033 status collapsed
23034
23035 \begin_layout Plain Layout
23036 PreambleDefEnd
23037 \end_layout
23038
23039 \end_inset
23040
23041 .
23042  Se pueden usar por las plantillas en la sección 
23043 \begin_inset Flex Code
23044 status collapsed
23045
23046 \begin_layout Plain Layout
23047 Format
23048 \end_layout
23049
23050 \end_inset
23051
23052 .
23053 \end_layout
23054
23055 \begin_layout Section
23056 El mecanismo de sustitución
23057 \end_layout
23058
23059 \begin_layout Standard
23060 Cuando la función de material externo recurre a un programa externo, se
23061  hace sobre la base de un comando definido en el archivo de configuración
23062  de la plantilla.
23063  Estos comandos pueden contener varias macros que se expanden antes de su
23064  ejecución.
23065  La ejecución tiene lugar siempre en el directorio del documento.
23066  
23067 \end_layout
23068
23069 \begin_layout Standard
23070 Además, cada vez que el material externo se va a mostrar, el nombre será
23071  generado por el mecanismo de sustitución, y la mayoría de los demás comandos
23072  en la definición de la plantilla soportan también sustitución.
23073  
23074 \end_layout
23075
23076 \begin_layout Standard
23077 Las macros disponibles son las siguientes:
23078 \end_layout
23079
23080 \begin_layout Description
23081 \begin_inset Flex Code
23082 status collapsed
23083
23084 \begin_layout Plain Layout
23085 $$AbsOrRelPathMaster
23086 \end_layout
23087
23088 \end_inset
23089
23090  La ruta del archivo, absoluta o relativa al documento LyX maestro.
23091 \end_layout
23092
23093 \begin_layout Description
23094 \begin_inset Flex Code
23095 status collapsed
23096
23097 \begin_layout Plain Layout
23098 $$AbsOrRelPathParent
23099 \end_layout
23100
23101 \end_inset
23102
23103  La ruta del archivo, absoluta o relativa al documento LyX.
23104 \end_layout
23105
23106 \begin_layout Description
23107 \begin_inset Flex Code
23108 status collapsed
23109
23110 \begin_layout Plain Layout
23111 $$AbsPath
23112 \end_layout
23113
23114 \end_inset
23115
23116  La ruta absoluta del archivo.
23117 \end_layout
23118
23119 \begin_layout Description
23120 \begin_inset Flex Code
23121 status collapsed
23122
23123 \begin_layout Plain Layout
23124 $$Basename
23125 \end_layout
23126
23127 \end_inset
23128
23129  El nombre de archivo sin ruta y sin la extensión.
23130 \end_layout
23131
23132 \begin_layout Description
23133 \begin_inset Flex Code
23134 status collapsed
23135
23136 \begin_layout Plain Layout
23137 $$Contents(
23138 \begin_inset Quotes eld
23139 \end_inset
23140
23141 filename.ext
23142 \begin_inset Quotes erd
23143 \end_inset
23144
23145 )
23146 \end_layout
23147
23148 \end_inset
23149
23150  Esta macro expandirá los contenidos del archivo con el nombre 
23151 \begin_inset Flex Code
23152 status collapsed
23153
23154 \begin_layout Plain Layout
23155 filename.ext
23156 \end_layout
23157
23158 \end_inset
23159
23160 .
23161 \end_layout
23162
23163 \begin_layout Description
23164 \begin_inset Flex Code
23165 status collapsed
23166
23167 \begin_layout Plain Layout
23168 $$Extension
23169 \end_layout
23170
23171 \end_inset
23172
23173  La extensión de archivo (incluyendo el punto).
23174 \end_layout
23175
23176 \begin_layout Description
23177 \begin_inset Flex Code
23178 status collapsed
23179
23180 \begin_layout Plain Layout
23181 $$FName
23182 \end_layout
23183
23184 \end_inset
23185
23186  El nombre de archivo del archivo especificado en el diálogo de material
23187  externo.
23188  Esto es bien un nombre absoluto, bien relativo al documento LyX.
23189 \end_layout
23190
23191 \begin_layout Description
23192 \begin_inset Flex Code
23193 status collapsed
23194
23195 \begin_layout Plain Layout
23196 $$FPath
23197 \end_layout
23198
23199 \end_inset
23200
23201  La parte de la ruta de 
23202 \begin_inset Flex Code
23203 status collapsed
23204
23205 \begin_layout Plain Layout
23206 $$FName
23207 \end_layout
23208
23209 \end_inset
23210
23211  (nombre absoluto o relativo al documento LyX).
23212 \end_layout
23213
23214 \begin_layout Description
23215 \begin_inset Flex Code
23216 status collapsed
23217
23218 \begin_layout Plain Layout
23219 $$RelPathMaster
23220 \end_layout
23221
23222 \end_inset
23223
23224  La ruta del archivo, relativa al documento maestro LyX.
23225 \end_layout
23226
23227 \begin_layout Description
23228 \begin_inset Flex Code
23229 status collapsed
23230
23231 \begin_layout Plain Layout
23232 $$RelPathParent
23233 \end_layout
23234
23235 \end_inset
23236
23237  La ruta del archivo, relativa al documento LyX.
23238 \end_layout
23239
23240 \begin_layout Description
23241 \begin_inset Flex Code
23242 status collapsed
23243
23244 \begin_layout Plain Layout
23245 $$Sysdir
23246 \end_layout
23247
23248 \end_inset
23249
23250  Esta macro expandirá a la ruta absoluta del directorio de sistema.
23251  Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
23252  se empaquetan con LyX.
23253 \end_layout
23254
23255 \begin_layout Description
23256 \begin_inset Flex Code
23257 status collapsed
23258
23259 \begin_layout Plain Layout
23260 $$Tempname
23261 \end_layout
23262
23263 \end_inset
23264
23265  Un nombre y ruta completa a un directorio temporal que será borrado automáticam
23266 ente siempre que el documento se cierra, o se suprime la inserción de material
23267  externo.
23268 \end_layout
23269
23270 \begin_layout Standard
23271 Todas las macros de ruta contienen un separador de rastreo del directorio,
23272  así se puede construir, p.
23273 \begin_inset space \thinspace{}
23274 \end_inset
23275
23276 e., el nombre de archivo absoluto con 
23277 \begin_inset Flex Code
23278 status collapsed
23279
23280 \begin_layout Plain Layout
23281 $$AbsPath$$Basename$$Extension
23282 \end_layout
23283
23284 \end_inset
23285
23286 .
23287 \end_layout
23288
23289 \begin_layout Standard
23290 Las macros anteriores son sustituidas en todos los comandos a menos que
23291  se indique lo contrario.
23292  El comando 
23293 \begin_inset Flex Code
23294 status collapsed
23295
23296 \begin_layout Plain Layout
23297 Product
23298 \end_layout
23299
23300 \end_inset
23301
23302  soporta adicionalmente las siguientes sustituciones si se habilitan por
23303  los comandos 
23304 \begin_inset Flex Code
23305 status collapsed
23306
23307 \begin_layout Plain Layout
23308 Transform
23309 \end_layout
23310
23311 \end_inset
23312
23313  y 
23314 \begin_inset Flex Code
23315 status collapsed
23316
23317 \begin_layout Plain Layout
23318 TransformCommand
23319 \end_layout
23320
23321 \end_inset
23322
23323 :
23324 \end_layout
23325
23326 \begin_layout Description
23327 \begin_inset Flex Code
23328 status collapsed
23329
23330 \begin_layout Plain Layout
23331 $$ResizeFront
23332 \end_layout
23333
23334 \end_inset
23335
23336  La parte delantera del comando para cambiar el tamaño.
23337 \end_layout
23338
23339 \begin_layout Description
23340 \begin_inset Flex Code
23341 status collapsed
23342
23343 \begin_layout Plain Layout
23344 $$ResizeBack
23345 \end_layout
23346
23347 \end_inset
23348
23349  La parte trasera del comando para cambiar el tamaño.
23350 \end_layout
23351
23352 \begin_layout Description
23353 \begin_inset Flex Code
23354 status collapsed
23355
23356 \begin_layout Plain Layout
23357 $$RotateFront
23358 \end_layout
23359
23360 \end_inset
23361
23362  La parte delantera del comando para la rotación.
23363 \end_layout
23364
23365 \begin_layout Description
23366 \begin_inset Flex Code
23367 status collapsed
23368
23369 \begin_layout Plain Layout
23370 $$RotateBack
23371 \end_layout
23372
23373 \end_inset
23374
23375  La parte trasera del comando para la rotación.
23376 \end_layout
23377
23378 \begin_layout Standard
23379 La cadena de valor del comando 
23380 \begin_inset Flex Code
23381 status collapsed
23382
23383 \begin_layout Plain Layout
23384 Option
23385 \end_layout
23386
23387 \end_inset
23388
23389  soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
23390  por los comandos 
23391 \begin_inset Flex Code
23392 status collapsed
23393
23394 \begin_layout Plain Layout
23395 Transform
23396 \end_layout
23397
23398 \end_inset
23399
23400  y 
23401 \begin_inset Flex Code
23402 status collapsed
23403
23404 \begin_layout Plain Layout
23405 TransformOption
23406 \end_layout
23407
23408 \end_inset
23409
23410 :
23411 \end_layout
23412
23413 \begin_layout Description
23414 \begin_inset Flex Code
23415 status collapsed
23416
23417 \begin_layout Plain Layout
23418 $$Clip
23419 \end_layout
23420
23421 \end_inset
23422
23423  La opción recorte.
23424 \end_layout
23425
23426 \begin_layout Description
23427 \begin_inset Flex Code
23428 status collapsed
23429
23430 \begin_layout Plain Layout
23431 $$Extra
23432 \end_layout
23433
23434 \end_inset
23435
23436  La opción extra.
23437 \end_layout
23438
23439 \begin_layout Description
23440 \begin_inset Flex Code
23441 status collapsed
23442
23443 \begin_layout Plain Layout
23444 $$Resize
23445 \end_layout
23446
23447 \end_inset
23448
23449  La opción cambio de tamaño.
23450 \end_layout
23451
23452 \begin_layout Description
23453 \begin_inset Flex Code
23454 status collapsed
23455
23456 \begin_layout Plain Layout
23457 $$Rotate
23458 \end_layout
23459
23460 \end_inset
23461
23462  La opción rotación.
23463 \end_layout
23464
23465 \begin_layout Standard
23466 Te puedes preguntar por qué hay tantas macros de ruta.
23467  Por dos razones, principalmente:
23468 \end_layout
23469
23470 \begin_layout Enumerate
23471 Los nombres de archivo relativo y absoluto deberían permanecer relativo
23472  o absoluto, respectivamente.
23473  Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
23474  Los nombres relativos son útiles para documentos portables que deberían
23475  funcionar en máquinas diferentes, por ejemplo.
23476  Los nombres absolutos pueden ser requeridos por algunos programas.
23477 \end_layout
23478
23479 \begin_layout Enumerate
23480 LaTeX procesa los nombres de archivo relativos de manera diferente a LyX
23481  y otros programas en archivos anidados incluidos.
23482  Para LyX, un nombre de archivo relativo es siempre relativo al documento
23483  que contiene el nombre de archivo.
23484  Para LaTeX, es siempre relativo al documento maestro.
23485  Estas dos definiciones son idénticas si se tiene solo un documento, pero
23486  son distintas si se tiene un documento maestro que incluye documentos parciales.
23487  Esto quiere decir que los nombres de archivo relativos deben ser transformados
23488  cuando se presentan a LaTeX.
23489  Afortunadamente, LyX hace esto automáticamente si se eligen las macros
23490  correctas.
23491 \end_layout
23492
23493 \begin_layout Standard
23494 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
23495  plantillas nuevas? La regla no es difícil:
23496 \end_layout
23497
23498 \begin_layout Itemize
23499 Usar 
23500 \begin_inset Flex Code
23501 status collapsed
23502
23503 \begin_layout Plain Layout
23504 $$AbsPath
23505 \end_layout
23506
23507 \end_inset
23508
23509  si se requiere una ruta absoluta.
23510 \end_layout
23511
23512 \begin_layout Itemize
23513 Usar 
23514 \begin_inset Flex Code
23515 status collapsed
23516
23517 \begin_layout Plain Layout
23518 $$AbsOrRelPathMaster
23519 \end_layout
23520
23521 \end_inset
23522
23523  si la cadena sustituida es algún tipo de entrada LaTeX.
23524 \end_layout
23525
23526 \begin_layout Itemize
23527 Si no, usar 
23528 \begin_inset Flex Code
23529 status collapsed
23530
23531 \begin_layout Plain Layout
23532 $$AbsOrRelPathParent
23533 \end_layout
23534
23535 \end_inset
23536
23537  con el fin de preservar la elección del usuario.
23538 \end_layout
23539
23540 \begin_layout Standard
23541 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
23542 \begin_inset space \thinspace{}
23543 \end_inset
23544
23545 e., nombres relativos, pero normalmente funcionará bien.
23546  Un ejemplo de uno de estos casos es el comando 
23547 \begin_inset Flex Code
23548 status collapsed
23549
23550 \begin_layout Plain Layout
23551 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23552 \end_layout
23553
23554 \end_inset
23555
23556  en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
23557  el copiador para archivos 
23558 \begin_inset Flex Code
23559 status collapsed
23560
23561 \begin_layout Plain Layout
23562 .pstex_t
23563 \end_layout
23564
23565 \end_inset
23566
23567  necesita el nombre relativo para reescribir el contenido del archivo.
23568 \end_layout
23569
23570 \begin_layout Section
23571 Discusión sobre seguridad
23572 \begin_inset CommandInset label
23573 LatexCommand label
23574 name "sec:Discusión-sobre-seguridad"
23575
23576 \end_inset
23577
23578
23579 \end_layout
23580
23581 \begin_layout Standard
23582 La función material externo interactúa con muchos programas externos y lo
23583  hace de forma automática, así que hemos de tener en cuenta las implicaciones
23584  de seguridad que esto conlleva.
23585  En particular, puesto que tienes la opción de incluir tus propios archivos
23586  y/o cadenas de parámetros y estos se expanden en un comando, parece posible
23587  crear un documento malicioso que ejecute comandos arbitrarios cuando un
23588  usuario ve o imprime el documento.
23589  Esto es algo que definitivamente queremos evitar.
23590  
23591 \end_layout
23592
23593 \begin_layout Standard
23594 Sin embargo, dado que los comandos de material externo se especifican solo
23595  en el archivo de configuración de la plantilla, no hay problemas de seguridad
23596  si LyX está adecuadamente configurado solo con plantillas seguras.
23597  Esto es así porque los programas externos se invocan con la llamada al
23598  sistema 
23599 \begin_inset Flex Code
23600 status collapsed
23601
23602 \begin_layout Plain Layout
23603 execvp
23604 \end_layout
23605
23606 \end_inset
23607
23608  más bien que con la llamada 
23609 \begin_inset Flex Code
23610 status collapsed
23611
23612 \begin_layout Plain Layout
23613 system
23614 \end_layout
23615
23616 \end_inset
23617
23618 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
23619  del nombre de archivo o de parámetros mediante el shell.
23620 \end_layout
23621
23622 \begin_layout Standard
23623 Esto implica además que hay restricciones en las cadenas de comandos que
23624  puedes usar en las plantillas de material externo.
23625  En particular, las tuberías y la redirección no están fácilmente disponibles.
23626  Esto debe ser así para que LyX permanezca seguro.
23627  Si quieres usar algunas características de shell, deberías escribir un
23628  guión seguro para hacerlo de manera controlada, y después invocar el guión
23629  desde la cadena de comandos.
23630 \end_layout
23631
23632 \begin_layout Standard
23633 Es posible diseñar una plantilla que interactúe directamente con el shell,
23634  pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
23635  arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
23636  recomendamos usar solo guiones seguros que trabajen con la llamada 
23637 \begin_inset Flex Code
23638 status collapsed
23639
23640 \begin_layout Plain Layout
23641 execvp
23642 \end_layout
23643
23644 \end_inset
23645
23646  al sistema en forma controlada.
23647  Por supuesto, para usar en un entorno controlado, puede ser tentador caer
23648  en el uso de guiones de shell ordinarios.
23649  Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
23650  fácilmente explotable en tu sistema.
23651  Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
23652  en la distribución estándar de LyX, aunque alentamos a la gente a que,
23653  a la usanza del software libre, envíe nuevas plantillas.
23654  No obstante, LyX nunca tendrá plantillas inseguras tal y como se distribuye
23655  por los canales oficiales.
23656 \end_layout
23657
23658 \begin_layout Standard
23659 Incluir material externo suministra mucha potencia y has de ser cuidadoso
23660  en no introducir riesgos de seguridad a costa de esta potencia.
23661  Un sutil error en una simple línea en un guión aparentemente inocente puede
23662  abrir la puerta a graves problemas de seguridad.
23663  Así, si no comprendes totalmente estos asuntos, recomendamos consultar
23664  a un profesional entendido en seguridad o al equipo de desarrollo de LyX
23665  si tienes dudas acerca de si una plantilla dada es o no segura.
23666  Y hazlo antes de usarla en un entorno no controlado.
23667 \end_layout
23668
23669 \begin_layout Chapter
23670 \start_of_appendix
23671
23672 \lang english
23673 List of functions to be used in layouts
23674 \lang spanish
23675
23676 \begin_inset CommandInset label
23677 LatexCommand label
23678 name "chap:List-of-functions"
23679
23680 \end_inset
23681
23682
23683 \end_layout
23684
23685 \begin_layout Standard
23686 \align center
23687 \begin_inset Tabular
23688 <lyxtabular version="3" rows="11" columns="8">
23689 <features rotate="0" tabularvalignment="middle">
23690 <column alignment="left" valignment="top">
23691 <column alignment="left" valignment="top">
23692 <column alignment="left" valignment="top">
23693 <column alignment="left" valignment="top">
23694 <column alignment="left" valignment="top">
23695 <column alignment="left" valignment="top">
23696 <column alignment="left" valignment="top">
23697 <column alignment="left" valignment="top">
23698 <row>
23699 <cell alignment="left" valignment="top" usebox="none">
23700 \begin_inset Text
23701
23702 \begin_layout Plain Layout
23703 accents
23704 \end_layout
23705
23706 \end_inset
23707 </cell>
23708 <cell alignment="left" valignment="top" usebox="none">
23709 \begin_inset Text
23710
23711 \begin_layout Plain Layout
23712 booktabs
23713 \end_layout
23714
23715 \end_inset
23716 </cell>
23717 <cell alignment="left" valignment="top" usebox="none">
23718 \begin_inset Text
23719
23720 \begin_layout Plain Layout
23721 feyn
23722 \end_layout
23723
23724 \end_inset
23725 </cell>
23726 <cell alignment="left" valignment="top" usebox="none">
23727 \begin_inset Text
23728
23729 \begin_layout Plain Layout
23730 listings
23731 \end_layout
23732
23733 \end_inset
23734 </cell>
23735 <cell alignment="center" valignment="top" usebox="none">
23736 \begin_inset Text
23737
23738 \begin_layout Plain Layout
23739 natbib
23740 \end_layout
23741
23742 \end_inset
23743 </cell>
23744 <cell alignment="center" valignment="top" usebox="none">
23745 \begin_inset Text
23746
23747 \begin_layout Plain Layout
23748 rotfloat
23749 \end_layout
23750
23751 \end_inset
23752 </cell>
23753 <cell alignment="center" valignment="top" usebox="none">
23754 \begin_inset Text
23755
23756 \begin_layout Plain Layout
23757 tfrupee
23758 \end_layout
23759
23760 \end_inset
23761 </cell>
23762 <cell alignment="center" valignment="top" usebox="none">
23763 \begin_inset Text
23764
23765 \begin_layout Plain Layout
23766 wasysym
23767 \end_layout
23768
23769 \end_inset
23770 </cell>
23771 </row>
23772 <row>
23773 <cell alignment="left" valignment="top" usebox="none">
23774 \begin_inset Text
23775
23776 \begin_layout Plain Layout
23777 amsbsy
23778 \end_layout
23779
23780 \end_inset
23781 </cell>
23782 <cell alignment="left" valignment="top" usebox="none">
23783 \begin_inset Text
23784
23785 \begin_layout Plain Layout
23786 calc
23787 \end_layout
23788
23789 \end_inset
23790 </cell>
23791 <cell alignment="left" valignment="top" usebox="none">
23792 \begin_inset Text
23793
23794 \begin_layout Plain Layout
23795 fixltx2e
23796 \end_layout
23797
23798 \end_inset
23799 </cell>
23800 <cell alignment="left" valignment="top" usebox="none">
23801 \begin_inset Text
23802
23803 \begin_layout Plain Layout
23804 longtable
23805 \end_layout
23806
23807 \end_inset
23808 </cell>
23809 <cell alignment="center" valignment="top" usebox="none">
23810 \begin_inset Text
23811
23812 \begin_layout Plain Layout
23813 nomencl
23814 \end_layout
23815
23816 \end_inset
23817 </cell>
23818 <cell alignment="center" valignment="top" usebox="none">
23819 \begin_inset Text
23820
23821 \begin_layout Plain Layout
23822 rsphrase
23823 \end_layout
23824
23825 \end_inset
23826 </cell>
23827 <cell alignment="center" valignment="top" usebox="none">
23828 \begin_inset Text
23829
23830 \begin_layout Plain Layout
23831 tipa
23832 \end_layout
23833
23834 \end_inset
23835 </cell>
23836 <cell alignment="center" valignment="top" usebox="none">
23837 \begin_inset Text
23838
23839 \begin_layout Plain Layout
23840 wrapfig
23841 \end_layout
23842
23843 \end_inset
23844 </cell>
23845 </row>
23846 <row>
23847 <cell alignment="left" valignment="top" usebox="none">
23848 \begin_inset Text
23849
23850 \begin_layout Plain Layout
23851 amscd
23852 \end_layout
23853
23854 \end_inset
23855 </cell>
23856 <cell alignment="left" valignment="top" usebox="none">
23857 \begin_inset Text
23858
23859 \begin_layout Plain Layout
23860 CJK
23861 \end_layout
23862
23863 \end_inset
23864 </cell>
23865 <cell alignment="left" valignment="top" usebox="none">
23866 \begin_inset Text
23867
23868 \begin_layout Plain Layout
23869 float
23870 \end_layout
23871
23872 \end_inset
23873 </cell>
23874 <cell alignment="left" valignment="top" usebox="none">
23875 \begin_inset Text
23876
23877 \begin_layout Plain Layout
23878 lyxskak
23879 \end_layout
23880
23881 \end_inset
23882 </cell>
23883 <cell alignment="center" valignment="top" usebox="none">
23884 \begin_inset Text
23885
23886 \begin_layout Plain Layout
23887 pdfcolmk
23888 \end_layout
23889
23890 \end_inset
23891 </cell>
23892 <cell alignment="center" valignment="top" usebox="none">
23893 \begin_inset Text
23894
23895 \begin_layout Plain Layout
23896 setspace
23897 \end_layout
23898
23899 \end_inset
23900 </cell>
23901 <cell alignment="center" valignment="top" usebox="none">
23902 \begin_inset Text
23903
23904 \begin_layout Plain Layout
23905 tipx
23906 \end_layout
23907
23908 \end_inset
23909 </cell>
23910 <cell alignment="center" valignment="top" usebox="none">
23911 \begin_inset Text
23912
23913 \begin_layout Plain Layout
23914 xargs
23915 \end_layout
23916
23917 \end_inset
23918 </cell>
23919 </row>
23920 <row>
23921 <cell alignment="left" valignment="top" usebox="none">
23922 \begin_inset Text
23923
23924 \begin_layout Plain Layout
23925 amsmath
23926 \end_layout
23927
23928 \end_inset
23929 </cell>
23930 <cell alignment="left" valignment="top" usebox="none">
23931 \begin_inset Text
23932
23933 \begin_layout Plain Layout
23934 color
23935 \end_layout
23936
23937 \end_inset
23938 </cell>
23939 <cell alignment="left" valignment="top" usebox="none">
23940 \begin_inset Text
23941
23942 \begin_layout Plain Layout
23943 framed
23944 \end_layout
23945
23946 \end_inset
23947 </cell>
23948 <cell alignment="left" valignment="top" usebox="none">
23949 \begin_inset Text
23950
23951 \begin_layout Plain Layout
23952 makeidx
23953 \end_layout
23954
23955 \end_inset
23956 </cell>
23957 <cell alignment="center" valignment="top" usebox="none">
23958 \begin_inset Text
23959
23960 \begin_layout Plain Layout
23961 pdfpages
23962 \end_layout
23963
23964 \end_inset
23965 </cell>
23966 <cell alignment="center" valignment="top" usebox="none">
23967 \begin_inset Text
23968
23969 \begin_layout Plain Layout
23970 shapepar
23971 \end_layout
23972
23973 \end_inset
23974 </cell>
23975 <cell alignment="center" valignment="top" usebox="none">
23976 \begin_inset Text
23977
23978 \begin_layout Plain Layout
23979 tone
23980 \end_layout
23981
23982 \end_inset
23983 </cell>
23984 <cell alignment="center" valignment="top" usebox="none">
23985 \begin_inset Text
23986
23987 \begin_layout Plain Layout
23988 xcolor
23989 \end_layout
23990
23991 \end_inset
23992 </cell>
23993 </row>
23994 <row>
23995 <cell alignment="left" valignment="top" usebox="none">
23996 \begin_inset Text
23997
23998 \begin_layout Plain Layout
23999 amssymb
24000 \end_layout
24001
24002 \end_inset
24003 </cell>
24004 <cell alignment="left" valignment="top" usebox="none">
24005 \begin_inset Text
24006
24007 \begin_layout Plain Layout
24008 covington
24009 \end_layout
24010
24011 \end_inset
24012 </cell>
24013 <cell alignment="left" valignment="top" usebox="none">
24014 \begin_inset Text
24015
24016 \begin_layout Plain Layout
24017 graphicx
24018 \end_layout
24019
24020 \end_inset
24021 </cell>
24022 <cell alignment="left" valignment="top" usebox="none">
24023 \begin_inset Text
24024
24025 \begin_layout Plain Layout
24026 marvosym
24027 \end_layout
24028
24029 \end_inset
24030 </cell>
24031 <cell alignment="center" valignment="top" usebox="none">
24032 \begin_inset Text
24033
24034 \begin_layout Plain Layout
24035 pifont
24036 \end_layout
24037
24038 \end_inset
24039 </cell>
24040 <cell alignment="center" valignment="top" usebox="none">
24041 \begin_inset Text
24042
24043 \begin_layout Plain Layout
24044 slashed
24045 \end_layout
24046
24047 \end_inset
24048 </cell>
24049 <cell alignment="center" valignment="top" usebox="none">
24050 \begin_inset Text
24051
24052 \begin_layout Plain Layout
24053 txfonts
24054 \end_layout
24055
24056 \end_inset
24057 </cell>
24058 <cell alignment="center" valignment="top" usebox="none">
24059 \begin_inset Text
24060
24061 \begin_layout Plain Layout
24062 xy
24063 \end_layout
24064
24065 \end_inset
24066 </cell>
24067 </row>
24068 <row>
24069 <cell alignment="left" valignment="top" usebox="none">
24070 \begin_inset Text
24071
24072 \begin_layout Plain Layout
24073 amstext
24074 \end_layout
24075
24076 \end_inset
24077 </cell>
24078 <cell alignment="left" valignment="top" usebox="none">
24079 \begin_inset Text
24080
24081 \begin_layout Plain Layout
24082 csquotes
24083 \end_layout
24084
24085 \end_inset
24086 </cell>
24087 <cell alignment="left" valignment="top" usebox="none">
24088 \begin_inset Text
24089
24090 \begin_layout Plain Layout
24091 hhline
24092 \end_layout
24093
24094 \end_inset
24095 </cell>
24096 <cell alignment="left" valignment="top" usebox="none">
24097 \begin_inset Text
24098
24099 \begin_layout Plain Layout
24100 mathdesign
24101 \end_layout
24102
24103 \end_inset
24104 </cell>
24105 <cell alignment="center" valignment="top" usebox="none">
24106 \begin_inset Text
24107
24108 \begin_layout Plain Layout
24109 pmboxdraw
24110 \end_layout
24111
24112 \end_inset
24113 </cell>
24114 <cell alignment="center" valignment="top" usebox="none">
24115 \begin_inset Text
24116
24117 \begin_layout Plain Layout
24118 soul
24119 \end_layout
24120
24121 \end_inset
24122 </cell>
24123 <cell alignment="center" valignment="top" usebox="none">
24124 \begin_inset Text
24125
24126 \begin_layout Plain Layout
24127 ulem
24128 \end_layout
24129
24130 \end_inset
24131 </cell>
24132 <cell alignment="center" valignment="top" usebox="none">
24133 \begin_inset Text
24134
24135 \begin_layout Plain Layout
24136 yhmath
24137 \end_layout
24138
24139 \end_inset
24140 </cell>
24141 </row>
24142 <row>
24143 <cell alignment="left" valignment="top" usebox="none">
24144 \begin_inset Text
24145
24146 \begin_layout Plain Layout
24147 amsthm
24148 \end_layout
24149
24150 \end_inset
24151 </cell>
24152 <cell alignment="left" valignment="top" usebox="none">
24153 \begin_inset Text
24154
24155 \begin_layout Plain Layout
24156 dvipost
24157 \end_layout
24158
24159 \end_inset
24160 </cell>
24161 <cell alignment="left" valignment="top" usebox="none">
24162 \begin_inset Text
24163
24164 \begin_layout Plain Layout
24165 hyperref
24166 \end_layout
24167
24168 \end_inset
24169 </cell>
24170 <cell alignment="left" valignment="top" usebox="none">
24171 \begin_inset Text
24172
24173 \begin_layout Plain Layout
24174 mathdots
24175 \end_layout
24176
24177 \end_inset
24178 </cell>
24179 <cell alignment="center" valignment="top" usebox="none">
24180 \begin_inset Text
24181
24182 \begin_layout Plain Layout
24183 polyglossia
24184 \end_layout
24185
24186 \end_inset
24187 </cell>
24188 <cell alignment="center" valignment="top" usebox="none">
24189 \begin_inset Text
24190
24191 \begin_layout Plain Layout
24192 splitidx
24193 \end_layout
24194
24195 \end_inset
24196 </cell>
24197 <cell alignment="center" valignment="top" usebox="none">
24198 \begin_inset Text
24199
24200 \begin_layout Plain Layout
24201 undertilde
24202 \end_layout
24203
24204 \end_inset
24205 </cell>
24206 <cell alignment="center" valignment="top" usebox="none">
24207 \begin_inset Text
24208
24209 \begin_layout Plain Layout
24210
24211 \end_layout
24212
24213 \end_inset
24214 </cell>
24215 </row>
24216 <row>
24217 <cell alignment="left" valignment="top" usebox="none">
24218 \begin_inset Text
24219
24220 \begin_layout Plain Layout
24221 array
24222 \end_layout
24223
24224 \end_inset
24225 </cell>
24226 <cell alignment="left" valignment="top" usebox="none">
24227 \begin_inset Text
24228
24229 \begin_layout Plain Layout
24230 endnotes
24231 \end_layout
24232
24233 \end_inset
24234 </cell>
24235 <cell alignment="left" valignment="top" usebox="none">
24236 \begin_inset Text
24237
24238 \begin_layout Plain Layout
24239 ifsym
24240 \end_layout
24241
24242 \end_inset
24243 </cell>
24244 <cell alignment="left" valignment="top" usebox="none">
24245 \begin_inset Text
24246
24247 \begin_layout Plain Layout
24248 mathrsfs
24249 \end_layout
24250
24251 \end_inset
24252 </cell>
24253 <cell alignment="center" valignment="top" usebox="none">
24254 \begin_inset Text
24255
24256 \begin_layout Plain Layout
24257 prettyref
24258 \end_layout
24259
24260 \end_inset
24261 </cell>
24262 <cell alignment="center" valignment="top" usebox="none">
24263 \begin_inset Text
24264
24265 \begin_layout Plain Layout
24266 subfig
24267 \end_layout
24268
24269 \end_inset
24270 </cell>
24271 <cell alignment="center" valignment="top" usebox="none">
24272 \begin_inset Text
24273
24274 \begin_layout Plain Layout
24275 units
24276 \end_layout
24277
24278 \end_inset
24279 </cell>
24280 <cell alignment="center" valignment="top" usebox="none">
24281 \begin_inset Text
24282
24283 \begin_layout Plain Layout
24284
24285 \end_layout
24286
24287 \end_inset
24288 </cell>
24289 </row>
24290 <row>
24291 <cell alignment="left" valignment="top" usebox="none">
24292 \begin_inset Text
24293
24294 \begin_layout Plain Layout
24295 ascii
24296 \end_layout
24297
24298 \end_inset
24299 </cell>
24300 <cell alignment="left" valignment="top" usebox="none">
24301 \begin_inset Text
24302
24303 \begin_layout Plain Layout
24304 enumitem
24305 \end_layout
24306
24307 \end_inset
24308 </cell>
24309 <cell alignment="left" valignment="top" usebox="none">
24310 \begin_inset Text
24311
24312 \begin_layout Plain Layout
24313 ifthen
24314 \end_layout
24315
24316 \end_inset
24317 </cell>
24318 <cell alignment="left" valignment="top" usebox="none">
24319 \begin_inset Text
24320
24321 \begin_layout Plain Layout
24322 mhchem
24323 \end_layout
24324
24325 \end_inset
24326 </cell>
24327 <cell alignment="center" valignment="top" usebox="none">
24328 \begin_inset Text
24329
24330 \begin_layout Plain Layout
24331 pxfonts
24332 \end_layout
24333
24334 \end_inset
24335 </cell>
24336 <cell alignment="center" valignment="top" usebox="none">
24337 \begin_inset Text
24338
24339 \begin_layout Plain Layout
24340 subscript
24341 \end_layout
24342
24343 \end_inset
24344 </cell>
24345 <cell alignment="center" valignment="top" usebox="none">
24346 \begin_inset Text
24347
24348 \begin_layout Plain Layout
24349 url
24350 \end_layout
24351
24352 \end_inset
24353 </cell>
24354 <cell alignment="center" valignment="top" usebox="none">
24355 \begin_inset Text
24356
24357 \begin_layout Plain Layout
24358
24359 \end_layout
24360
24361 \end_inset
24362 </cell>
24363 </row>
24364 <row>
24365 <cell alignment="left" valignment="top" usebox="none">
24366 \begin_inset Text
24367
24368 \begin_layout Plain Layout
24369 bbding
24370 \end_layout
24371
24372 \end_inset
24373 </cell>
24374 <cell alignment="left" valignment="top" usebox="none">
24375 \begin_inset Text
24376
24377 \begin_layout Plain Layout
24378 esint
24379 \end_layout
24380
24381 \end_inset
24382 </cell>
24383 <cell alignment="left" valignment="top" usebox="none">
24384 \begin_inset Text
24385
24386 \begin_layout Plain Layout
24387 jurabib
24388 \end_layout
24389
24390 \end_inset
24391 </cell>
24392 <cell alignment="left" valignment="top" usebox="none">
24393 \begin_inset Text
24394
24395 \begin_layout Plain Layout
24396 multicol
24397 \end_layout
24398
24399 \end_inset
24400 </cell>
24401 <cell alignment="center" valignment="top" usebox="none">
24402 \begin_inset Text
24403
24404 \begin_layout Plain Layout
24405 refstyle
24406 \end_layout
24407
24408 \end_inset
24409 </cell>
24410 <cell alignment="center" valignment="top" usebox="none">
24411 \begin_inset Text
24412
24413 \begin_layout Plain Layout
24414 textcomp
24415 \end_layout
24416
24417 \end_inset
24418 </cell>
24419 <cell alignment="center" valignment="top" usebox="none">
24420 \begin_inset Text
24421
24422 \begin_layout Plain Layout
24423 varioref
24424 \end_layout
24425
24426 \end_inset
24427 </cell>
24428 <cell alignment="center" valignment="top" usebox="none">
24429 \begin_inset Text
24430
24431 \begin_layout Plain Layout
24432
24433 \end_layout
24434
24435 \end_inset
24436 </cell>
24437 </row>
24438 <row>
24439 <cell alignment="center" valignment="top" usebox="none">
24440 \begin_inset Text
24441
24442 \begin_layout Plain Layout
24443 bm
24444 \end_layout
24445
24446 \end_inset
24447 </cell>
24448 <cell alignment="center" valignment="top" usebox="none">
24449 \begin_inset Text
24450
24451 \begin_layout Plain Layout
24452 fancybox
24453 \end_layout
24454
24455 \end_inset
24456 </cell>
24457 <cell alignment="center" valignment="top" usebox="none">
24458 \begin_inset Text
24459
24460 \begin_layout Plain Layout
24461 latexsym
24462 \end_layout
24463
24464 \end_inset
24465 </cell>
24466 <cell alignment="center" valignment="top" usebox="none">
24467 \begin_inset Text
24468
24469 \begin_layout Plain Layout
24470 multirow
24471 \end_layout
24472
24473 \end_inset
24474 </cell>
24475 <cell alignment="center" valignment="top" usebox="none">
24476 \begin_inset Text
24477
24478 \begin_layout Plain Layout
24479 rotating
24480 \end_layout
24481
24482 \end_inset
24483 </cell>
24484 <cell alignment="center" valignment="top" usebox="none">
24485 \begin_inset Text
24486
24487 \begin_layout Plain Layout
24488 textgreek
24489 \end_layout
24490
24491 \end_inset
24492 </cell>
24493 <cell alignment="center" valignment="top" usebox="none">
24494 \begin_inset Text
24495
24496 \begin_layout Plain Layout
24497 verbatim
24498 \end_layout
24499
24500 \end_inset
24501 </cell>
24502 <cell alignment="center" valignment="top" usebox="none">
24503 \begin_inset Text
24504
24505 \begin_layout Plain Layout
24506
24507 \end_layout
24508
24509 \end_inset
24510 </cell>
24511 </row>
24512 </lyxtabular>
24513
24514 \end_inset
24515
24516
24517 \end_layout
24518
24519 \begin_layout Chapter
24520
24521 \lang english
24522 Names of available colors to be used in layouts
24523 \lang spanish
24524
24525 \begin_inset CommandInset label
24526 LatexCommand label
24527 name "chap:Names-of-colors"
24528
24529 \end_inset
24530
24531
24532 \end_layout
24533
24534 \begin_layout Standard
24535
24536 \lang english
24537 The colors listed here are the standard colors and the those that you can
24538  adjust in the LyX preferences.
24539 \end_layout
24540
24541 \begin_layout Description
24542
24543 \lang english
24544 none
24545 \family roman
24546 \series medium
24547 \shape up
24548 \size normal
24549 \emph off
24550 \bar no
24551 \strikeout off
24552 \uuline off
24553 \uwave off
24554 \noun off
24555 \color none
24556  No particular color -- clear or default
24557 \end_layout
24558
24559 \begin_layout Description
24560
24561 \lang english
24562 black
24563 \end_layout
24564
24565 \begin_layout Description
24566
24567 \lang english
24568 white
24569 \end_layout
24570
24571 \begin_layout Description
24572
24573 \lang english
24574 red
24575 \end_layout
24576
24577 \begin_layout Description
24578
24579 \lang english
24580 green
24581 \end_layout
24582
24583 \begin_layout Description
24584
24585 \lang english
24586 blue
24587 \end_layout
24588
24589 \begin_layout Description
24590
24591 \lang english
24592 cyan
24593 \end_layout
24594
24595 \begin_layout Description
24596
24597 \lang english
24598 magenta
24599 \end_layout
24600
24601 \begin_layout Description
24602
24603 \lang english
24604 yellow
24605 \end_layout
24606
24607 \begin_layout Description
24608
24609 \lang english
24610 cursor Cursor color
24611 \end_layout
24612
24613 \begin_layout Description
24614
24615 \lang english
24616 background Background color
24617 \end_layout
24618
24619 \begin_layout Description
24620
24621 \lang english
24622 foreground Foreground color
24623 \end_layout
24624
24625 \begin_layout Description
24626
24627 \lang english
24628 selection Background color of selected text
24629 \end_layout
24630
24631 \begin_layout Description
24632
24633 \lang english
24634 selectiontext Foreground color of selected text
24635 \end_layout
24636
24637 \begin_layout Description
24638
24639 \lang english
24640 latex Text color in LaTeX mode 
24641 \end_layout
24642
24643 \begin_layout Description
24644
24645 \lang english
24646 preview The color used for previews
24647 \end_layout
24648
24649 \begin_layout Description
24650
24651 \lang english
24652 inlinecompletion Inline completion color 
24653 \end_layout
24654
24655 \begin_layout Description
24656
24657 \lang english
24658 nonunique_inlinecompletion Inline completion color for the non-unique part
24659 \end_layout
24660
24661 \begin_layout Description
24662
24663 \lang english
24664 notelabel Label color for notes
24665 \end_layout
24666
24667 \begin_layout Description
24668
24669 \lang english
24670 notebg Background color of notes
24671 \end_layout
24672
24673 \begin_layout Description
24674
24675 \lang english
24676 commentlabel Label color for comments
24677 \end_layout
24678
24679 \begin_layout Description
24680
24681 \lang english
24682 commentbg Background color of comments
24683 \end_layout
24684
24685 \begin_layout Description
24686
24687 \lang english
24688 greyedoutlabel Label color for greyedout insets
24689 \end_layout
24690
24691 \begin_layout Description
24692
24693 \lang english
24694 greyedouttext Color for greyedout inset text
24695 \end_layout
24696
24697 \begin_layout Description
24698
24699 \lang english
24700 greyedoutbg Background color of greyedout inset
24701 \end_layout
24702
24703 \begin_layout Description
24704
24705 \lang english
24706 shadedbg Background color of shaded box
24707 \end_layout
24708
24709 \begin_layout Description
24710
24711 \lang english
24712 listingsbg Background color of listings inset
24713 \end_layout
24714
24715 \begin_layout Description
24716
24717 \lang english
24718 branchlabel Label color for branches
24719 \end_layout
24720
24721 \begin_layout Description
24722
24723 \lang english
24724 footlabel Label color for footnotes
24725 \end_layout
24726
24727 \begin_layout Description
24728
24729 \lang english
24730 indexlabel Label color for index insets 
24731 \end_layout
24732
24733 \begin_layout Description
24734
24735 \lang english
24736 marginlabel Label color for margin notes 
24737 \end_layout
24738
24739 \begin_layout Description
24740
24741 \lang english
24742 phantomtext Text color for phantom insets 
24743 \end_layout
24744
24745 \begin_layout Description
24746
24747 \lang english
24748 urllabel Label color for URL insets
24749 \end_layout
24750
24751 \begin_layout Description
24752
24753 \lang english
24754 urltext Color for URL inset text
24755 \end_layout
24756
24757 \begin_layout Description
24758
24759 \lang english
24760 depthbar Color for the depth bars in the margin
24761 \end_layout
24762
24763 \begin_layout Description
24764
24765 \lang english
24766 language Color for marking foreign language words
24767 \end_layout
24768
24769 \begin_layout Description
24770
24771 \lang english
24772 command Text color for command insets
24773 \end_layout
24774
24775 \begin_layout Description
24776
24777 \lang english
24778 commandbg Background color for command insets 
24779 \end_layout
24780
24781 \begin_layout Description
24782
24783 \lang english
24784 commandframe Frame color for command insets
24785 \end_layout
24786
24787 \begin_layout Description
24788
24789 \lang english
24790 special Special chars text color
24791 \end_layout
24792
24793 \begin_layout Description
24794
24795 \lang english
24796 graphicsbg Graphics inset background color 
24797 \end_layout
24798
24799 \begin_layout Description
24800
24801 \lang english
24802 math Math inset text color 
24803 \end_layout
24804
24805 \begin_layout Description
24806
24807 \lang english
24808 mathbg Math inset background color
24809 \end_layout
24810
24811 \begin_layout Description
24812
24813 \lang english
24814 mathmacrobg Macro math inset background color
24815 \end_layout
24816
24817 \begin_layout Description
24818
24819 \lang english
24820 mathmacrohoverbg Macro math inset background color hovered
24821 \end_layout
24822
24823 \begin_layout Description
24824
24825 \lang english
24826 mathmacrolabel Macro math label color
24827 \end_layout
24828
24829 \begin_layout Description
24830
24831 \lang english
24832 mathmacroframe Macro math frame color
24833 \end_layout
24834
24835 \begin_layout Description
24836
24837 \lang english
24838 mathmacroblend Macro math blended color
24839 \end_layout
24840
24841 \begin_layout Description
24842
24843 \lang english
24844 mathmacrooldarg Macro template color for old parameters 
24845 \end_layout
24846
24847 \begin_layout Description
24848
24849 \lang english
24850 mathmacronewarg Macro template color for new parameters
24851 \end_layout
24852
24853 \begin_layout Description
24854
24855 \lang english
24856 mathframe Math inset frame color under focus 
24857 \end_layout
24858
24859 \begin_layout Description
24860
24861 \lang english
24862 mathcorners Math inset frame color not under focus
24863 \end_layout
24864
24865 \begin_layout Description
24866
24867 \lang english
24868 mathline Math line color
24869 \end_layout
24870
24871 \begin_layout Description
24872
24873 \lang english
24874 collapsable Collapsable insets text 
24875 \end_layout
24876
24877 \begin_layout Description
24878
24879 \lang english
24880 collapsableframe Collapsable insets frame
24881 \end_layout
24882
24883 \begin_layout Description
24884
24885 \lang english
24886 insetbg Inset marker background color
24887 \end_layout
24888
24889 \begin_layout Description
24890
24891 \lang english
24892 insetframe Inset marker frame color
24893 \end_layout
24894
24895 \begin_layout Description
24896
24897 \lang english
24898 error Error box text color
24899 \end_layout
24900
24901 \begin_layout Description
24902
24903 \lang english
24904 eolmarker End of line marker color
24905 \end_layout
24906
24907 \begin_layout Description
24908
24909 \lang english
24910 added_space Added space colour
24911 \end_layout
24912
24913 \begin_layout Description
24914
24915 \lang english
24916 appendix Appendix marker color
24917 \end_layout
24918
24919 \begin_layout Description
24920
24921 \lang english
24922 changebar Changebar color
24923 \end_layout
24924
24925 \begin_layout Description
24926
24927 \lang english
24928 deletedtext Deleted text color
24929 \end_layout
24930
24931 \begin_layout Description
24932
24933 \lang english
24934 addedtext Added text color
24935 \end_layout
24936
24937 \begin_layout Description
24938
24939 \lang english
24940 changedtextauthor1 Changed text color author 1
24941 \end_layout
24942
24943 \begin_layout Description
24944
24945 \lang english
24946 changedtextauthor2 Changed text color author 2
24947 \end_layout
24948
24949 \begin_layout Description
24950
24951 \lang english
24952 changedtextauthor3 Changed text color author 3
24953 \end_layout
24954
24955 \begin_layout Description
24956
24957 \lang english
24958 changedtextauthor4 Changed text color author 4
24959 \end_layout
24960
24961 \begin_layout Description
24962
24963 \lang english
24964 changedtextauthor5 Changed text color author 5
24965 \end_layout
24966
24967 \begin_layout Description
24968
24969 \lang english
24970 deletedtextmodifier Deleted text modifying color
24971 \end_layout
24972
24973 \begin_layout Description
24974
24975 \lang english
24976 tabularline Table line color
24977 \end_layout
24978
24979 \begin_layout Description
24980
24981 \lang english
24982 tabularonoffline Table line color 
24983 \end_layout
24984
24985 \begin_layout Description
24986
24987 \lang english
24988 bottomarea Bottom area color
24989 \end_layout
24990
24991 \begin_layout Description
24992
24993 \lang english
24994 newpage New page color 
24995 \end_layout
24996
24997 \begin_layout Description
24998
24999 \lang english
25000 pagebreak Page break color
25001 \end_layout
25002
25003 \begin_layout Description
25004
25005 \lang english
25006 buttonframe Color used for button frame
25007 \end_layout
25008
25009 \begin_layout Description
25010
25011 \lang english
25012 buttonbg Color used for bottom background
25013 \end_layout
25014
25015 \begin_layout Description
25016
25017 \lang english
25018 buttonhoverbg Color used for buttom under focus 
25019 \end_layout
25020
25021 \begin_layout Description
25022
25023 \lang english
25024 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
25025  
25026 \end_layout
25027
25028 \begin_layout Description
25029
25030 \lang english
25031 previewframe Preview frame color
25032 \end_layout
25033
25034 \begin_layout Description
25035
25036 \lang english
25037 inherit Color is inherited 
25038 \end_layout
25039
25040 \begin_layout Description
25041
25042 \lang english
25043 regexpframe Color for regexp frame
25044 \end_layout
25045
25046 \begin_layout Description
25047
25048 \lang english
25049 ignore For ignoring updates of a color
25050 \end_layout
25051
25052 \end_body
25053 \end_document