]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Customization.lyx
Update LFUNs.lyx
[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 48).
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 LyX 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 the style is read, and the version number is less
11595  than the version number of the already existing style in the document class,
11596  the new style is ignored.
11597  If the version number is greater, 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 the style 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 
14897 \lang english
14898 the file
14899 \lang spanish
14900  
14901 \begin_inset Flex Code
14902 status collapsed
14903
14904 \begin_layout Plain Layout
14905 layouttranslations
14906 \end_layout
14907
14908 \end_inset
14909
14910 .
14911  Esto quiere decir, en definitiva, que 
14912 \begin_inset Flex Code
14913 status collapsed
14914
14915 \begin_layout Plain Layout
14916 LangPreamble
14917 \end_layout
14918
14919 \end_inset
14920
14921  y 
14922 \begin_inset Flex Code
14923 status collapsed
14924
14925 \begin_layout Plain Layout
14926 BabelPreamble
14927 \end_layout
14928
14929 \end_inset
14930
14931  realmente solo son útiles en archivos de formato que son proporcionados
14932  por LyX, puesto que el texto introducido en archivos de formato creados
14933  por el usuario no serán tenidos en cuenta por las rutinas de internacionalizaci
14934 ón de LyX 
14935 \lang english
14936 unless the 
14937 \begin_inset Flex Code
14938 status collapsed
14939
14940 \begin_layout Plain Layout
14941
14942 \lang english
14943 layouttranslations
14944 \end_layout
14945
14946 \end_inset
14947
14948  file is modified accordingly
14949 \lang spanish
14950 .
14951  Sin embargo, cualquier formato creado con la intención de ser incluido
14952  en LyX debería usar estas etiquetas en los lugares apropiados.
14953  
14954 \lang english
14955 Please note that the paragraph style translations provided by LyX will never
14956  change with a minor update (e.
14957 \begin_inset space \thinspace{}
14958 \end_inset
14959
14960 g.
14961 \begin_inset space \space{}
14962 \end_inset
14963
14964 from version 2.1.x to 2.1.y).
14965  It is however quite likely that a major update (e.
14966 \begin_inset space \thinspace{}
14967 \end_inset
14968
14969 g.
14970 \begin_inset space \space{}
14971 \end_inset
14972
14973 from 2.0.x to 2.1.y) will introduce new translations or corrections.
14974 \end_layout
14975
14976 \begin_layout Subsection
14977 Flotantes
14978 \begin_inset CommandInset label
14979 LatexCommand label
14980 name "sub:Flotantes"
14981
14982 \end_inset
14983
14984
14985 \end_layout
14986
14987 \begin_layout Standard
14988 Es necesario definir los flotantes (
14989 \begin_inset Flex MenuItem
14990 status collapsed
14991
14992 \begin_layout Plain Layout
14993 figura
14994 \end_layout
14995
14996 \end_inset
14997
14998
14999 \begin_inset Flex MenuItem
15000 status collapsed
15001
15002 \begin_layout Plain Layout
15003 cuadro
15004 \end_layout
15005
15006 \end_inset
15007
15008 , \SpecialChar \ldots{}
15009 ) en la propia clase de texto.
15010  Los flotantes normales se incluyen en el archivo 
15011 \begin_inset Flex Code
15012 status collapsed
15013
15014 \begin_layout Plain Layout
15015 stdfloats.inc
15016 \end_layout
15017
15018 \end_inset
15019
15020 , así que no tendrás más que añadir
15021 \end_layout
15022
15023 \begin_layout LyX-Code
15024 Input stdfloats.inc
15025 \end_layout
15026
15027 \begin_layout Standard
15028 en tu archivo de formato.
15029  Si quieres implementar una clase de texto que proponga algún otro tipo
15030  de flotante (como la clase AGU empaquetada con LyX), la información siguiente
15031  te servirá de ayuda:
15032 \end_layout
15033
15034 \begin_layout Description
15035 \begin_inset Flex Code
15036 status collapsed
15037
15038 \begin_layout Plain Layout
15039 Extension
15040 \end_layout
15041
15042 \end_inset
15043
15044  [
15045 \begin_inset Flex Code
15046 status collapsed
15047
15048 \begin_layout Plain Layout
15049 string
15050 \end_layout
15051
15052 \end_inset
15053
15054 =
15055 \begin_inset Quotes erd
15056 \end_inset
15057
15058
15059 \begin_inset Quotes erd
15060 \end_inset
15061
15062 ] La extensión del nombre de un archivo auxiliar para la lista de figuras
15063  (u otra cosa).
15064  LaTeX escribe las leyendas en este archivo.
15065 \end_layout
15066
15067 \begin_layout Description
15068 \begin_inset Flex Code
15069 status collapsed
15070
15071 \begin_layout Plain Layout
15072 GuiName
15073 \end_layout
15074
15075 \end_inset
15076
15077  [
15078 \begin_inset Flex Code
15079 status collapsed
15080
15081 \begin_layout Plain Layout
15082 string
15083 \end_layout
15084
15085 \end_inset
15086
15087 =
15088 \begin_inset Quotes erd
15089 \end_inset
15090
15091
15092 \begin_inset Quotes erd
15093 \end_inset
15094
15095 ] La cadena que se usará en los menús y también para la leyenda.
15096  Esto se traduce al idioma actual si se usa.
15097 \end_layout
15098
15099 \begin_layout Description
15100 \begin_inset Flex Code
15101 status collapsed
15102
15103 \begin_layout Plain Layout
15104 HTML*
15105 \end_layout
15106
15107 \end_inset
15108
15109  Controlan la salida XHTML.
15110  Véase la sección
15111 \begin_inset space ~
15112 \end_inset
15113
15114
15115 \begin_inset CommandInset ref
15116 LatexCommand ref
15117 reference "sec:Etiquetas-para-XHTML"
15118
15119 \end_inset
15120
15121 .
15122 \end_layout
15123
15124 \begin_layout Description
15125 \begin_inset Flex Code
15126 status collapsed
15127
15128 \begin_layout Plain Layout
15129 IsPredefined
15130 \end_layout
15131
15132 \end_inset
15133
15134  [
15135 \emph on
15136
15137 \begin_inset Flex Code
15138 status collapsed
15139
15140 \begin_layout Plain Layout
15141 0
15142 \end_layout
15143
15144 \end_inset
15145
15146
15147 \emph default
15148 ,
15149 \begin_inset space \thinspace{}
15150 \end_inset
15151
15152
15153 \begin_inset Flex Code
15154 status collapsed
15155
15156 \begin_layout Plain Layout
15157 1
15158 \end_layout
15159
15160 \end_inset
15161
15162 ] Indica si el flotante está ya definido en la clase de documento o si necesitam
15163 os cargar el paquete LaTeX 
15164 \begin_inset Flex Code
15165 status collapsed
15166
15167 \begin_layout Plain Layout
15168 float
15169 \end_layout
15170
15171 \end_inset
15172
15173  para definirlo sobre la marcha.
15174  Por omisión 
15175 \begin_inset Flex Code
15176 status collapsed
15177
15178 \begin_layout Plain Layout
15179 0
15180 \end_layout
15181
15182 \end_inset
15183
15184 , que significa: usar 
15185 \begin_inset Flex Code
15186 status collapsed
15187
15188 \begin_layout Plain Layout
15189 float
15190 \end_layout
15191
15192 \end_inset
15193
15194 .
15195  Deberá ponerse 
15196 \begin_inset Flex Code
15197 status collapsed
15198
15199 \begin_layout Plain Layout
15200 1
15201 \end_layout
15202
15203 \end_inset
15204
15205  si el flotante ya está definido por la clase de documento LaTeX.
15206 \end_layout
15207
15208 \begin_layout Description
15209 \begin_inset Flex Code
15210 status collapsed
15211
15212 \begin_layout Plain Layout
15213 ListCommand
15214 \end_layout
15215
15216 \end_inset
15217
15218  [
15219 \begin_inset Flex Code
15220 status collapsed
15221
15222 \begin_layout Plain Layout
15223 string
15224 \end_layout
15225
15226 \end_inset
15227
15228 =
15229 \begin_inset Quotes erd
15230 \end_inset
15231
15232
15233 \begin_inset Quotes erd
15234 \end_inset
15235
15236 ] El comando usado para generar una lista de flotantes de este tipo; debe
15237  omitirse el precedente `
15238 \backslash
15239 '.
15240  Esto 
15241 \emph on
15242 debe
15243 \emph default
15244  ponerse si 
15245 \begin_inset Flex Code
15246 status collapsed
15247
15248 \begin_layout Plain Layout
15249 UsesFloatPkg
15250 \end_layout
15251
15252 \end_inset
15253
15254  es `false', puesto que no hay una forma estándar de generar este comando.
15255  Se ignora si 
15256 \begin_inset Flex Code
15257 status collapsed
15258
15259 \begin_layout Plain Layout
15260 UsesFloatPkg
15261 \end_layout
15262
15263 \end_inset
15264
15265  es `true', porque en este caso sí hay una forma estándar de definir el
15266  comando.
15267 \end_layout
15268
15269 \begin_layout Description
15270 \begin_inset Flex Code
15271 status collapsed
15272
15273 \begin_layout Plain Layout
15274 ListName
15275 \end_layout
15276
15277 \end_inset
15278
15279  [
15280 \begin_inset Flex Code
15281 status collapsed
15282
15283 \begin_layout Plain Layout
15284 string
15285 \end_layout
15286
15287 \end_inset
15288
15289 =
15290 \begin_inset Quotes erd
15291 \end_inset
15292
15293
15294 \begin_inset Quotes erd
15295 \end_inset
15296
15297 ] Un título para una lista de flotantes de este tipo (índice de figuras,
15298  tablas o lo que sea).
15299  Se usa para el nombre del recuadro en LyX; se pasa a LaTeX para usarlo
15300  como título allí; y se usa como título en la salida.
15301  Será traducido al idioma del documento.
15302 \end_layout
15303
15304 \begin_layout Description
15305 \begin_inset Flex Code
15306 status collapsed
15307
15308 \begin_layout Plain Layout
15309 NumberWithin
15310 \end_layout
15311
15312 \end_inset
15313
15314  [
15315 \begin_inset Flex Code
15316 status collapsed
15317
15318 \begin_layout Plain Layout
15319 string
15320 \end_layout
15321
15322 \end_inset
15323
15324 =
15325 \begin_inset Quotes erd
15326 \end_inset
15327
15328
15329 \begin_inset Quotes erd
15330 \end_inset
15331
15332 ] Este argumento (opcional) determina si los flotantes de esta clase serán
15333  numerados dentro de alguna unidad de sección del documento.
15334  Por ejemplo, si 
15335 \begin_inset Flex Code
15336 status collapsed
15337
15338 \begin_layout Plain Layout
15339 NumberWithin
15340 \end_layout
15341
15342 \end_inset
15343
15344  es 
15345 \begin_inset Quotes fld
15346 \end_inset
15347
15348
15349 \begin_inset Flex Code
15350 status collapsed
15351
15352 \begin_layout Plain Layout
15353 chapter
15354 \end_layout
15355
15356 \end_inset
15357
15358
15359 \begin_inset Quotes frd
15360 \end_inset
15361
15362 , los flotantes serán numerados dentro de los capítulos.
15363 \end_layout
15364
15365 \begin_layout Description
15366 \begin_inset Flex Code
15367 status collapsed
15368
15369 \begin_layout Plain Layout
15370 Placement
15371 \end_layout
15372
15373 \end_inset
15374
15375  [
15376 \begin_inset Flex Code
15377 status collapsed
15378
15379 \begin_layout Plain Layout
15380 string
15381 \end_layout
15382
15383 \end_inset
15384
15385 =
15386 \begin_inset Quotes erd
15387 \end_inset
15388
15389
15390 \begin_inset Quotes erd
15391 \end_inset
15392
15393 ] La colocación por omisión para la clase dada de flotantes.
15394  El valor de 
15395 \begin_inset Flex Code
15396 status collapsed
15397
15398 \begin_layout Plain Layout
15399 string
15400 \end_layout
15401
15402 \end_inset
15403
15404  deberá ser un estándar LaTeX: 
15405 \begin_inset Flex Code
15406 status collapsed
15407
15408 \begin_layout Plain Layout
15409 t
15410 \end_layout
15411
15412 \end_inset
15413
15414
15415 \begin_inset Flex Code
15416 status collapsed
15417
15418 \begin_layout Plain Layout
15419 b
15420 \end_layout
15421
15422 \end_inset
15423
15424
15425 \begin_inset Flex Code
15426 status collapsed
15427
15428 \begin_layout Plain Layout
15429 p
15430 \end_layout
15431
15432 \end_inset
15433
15434  y 
15435 \begin_inset Flex Code
15436 status collapsed
15437
15438 \begin_layout Plain Layout
15439 h
15440 \end_layout
15441
15442 \end_inset
15443
15444 , por 
15445 \begin_inset Quotes fld
15446 \end_inset
15447
15448 top
15449 \begin_inset Quotes frd
15450 \end_inset
15451
15452  (arriba), 
15453 \begin_inset Quotes fld
15454 \end_inset
15455
15456 bottom
15457 \begin_inset Quotes frd
15458 \end_inset
15459
15460  (abajo), 
15461 \begin_inset Quotes fld
15462 \end_inset
15463
15464 page
15465 \begin_inset Quotes frd
15466 \end_inset
15467
15468  (página), y 
15469 \begin_inset Quotes fld
15470 \end_inset
15471
15472 here
15473 \begin_inset Quotes frd
15474 \end_inset
15475
15476  (aquí), respectivamente.
15477 \begin_inset Foot
15478 status collapsed
15479
15480 \begin_layout Plain Layout
15481 Anotar que el orden de estas letras en la cadena es irrelevante, como en
15482  LaTeX.
15483 \end_layout
15484
15485 \end_inset
15486
15487  Por encima de éstos hay un nuevo tipo, 
15488 \begin_inset Flex Code
15489 status collapsed
15490
15491 \begin_layout Plain Layout
15492 H
15493 \end_layout
15494
15495 \end_inset
15496
15497 , que no corresponde realmente a un flotante, ya que se refiere a: ponerlo
15498  aquí, 
15499 \begin_inset Quotes fld
15500 \end_inset
15501
15502 here
15503 \begin_inset Quotes frd
15504 \end_inset
15505
15506 , y en ninguna otra parte.
15507  Anotar que, sin embargo, el colocador 
15508 \begin_inset Flex Code
15509 status collapsed
15510
15511 \begin_layout Plain Layout
15512 H
15513 \end_layout
15514
15515 \end_inset
15516
15517  es especial y, debido a detalles de implementación, no puede usarse en
15518  tipos de flotantes no empotrados.
15519  Si no comprendes lo que esto significa, usa solo 
15520 \begin_inset Quotes fld
15521 \end_inset
15522
15523
15524 \begin_inset Flex Code
15525 status collapsed
15526
15527 \begin_layout Plain Layout
15528 tbp
15529 \end_layout
15530
15531 \end_inset
15532
15533
15534 \begin_inset Quotes frd
15535 \end_inset
15536
15537 .
15538 \end_layout
15539
15540 \begin_layout Description
15541 \begin_inset Flex Code
15542 status collapsed
15543
15544 \begin_layout Plain Layout
15545 RefPrefix
15546 \end_layout
15547
15548 \end_inset
15549
15550  [
15551 \begin_inset Flex Code
15552 status collapsed
15553
15554 \begin_layout Plain Layout
15555 string
15556 \end_layout
15557
15558 \end_inset
15559
15560 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este
15561  tipo.
15562  Esto permite el uso de referencias con formato.
15563  Puedes quitar cualquier 
15564 \begin_inset Flex Code
15565 status collapsed
15566
15567 \begin_layout Plain Layout
15568 RefPrefix
15569 \end_layout
15570
15571 \end_inset
15572
15573  puesto por un estilo copiado usando el valor especial 
15574 \begin_inset Quotes eld
15575 \end_inset
15576
15577 OFF
15578 \begin_inset Quotes erd
15579 \end_inset
15580
15581 , todas mayúsculas.
15582 \end_layout
15583
15584 \begin_layout Description
15585 \begin_inset Flex Code
15586 status collapsed
15587
15588 \begin_layout Plain Layout
15589 Style
15590 \end_layout
15591
15592 \end_inset
15593
15594  [
15595 \begin_inset Flex Code
15596 status collapsed
15597
15598 \begin_layout Plain Layout
15599 string
15600 \end_layout
15601
15602 \end_inset
15603
15604 =
15605 \begin_inset Quotes erd
15606 \end_inset
15607
15608
15609 \begin_inset Quotes erd
15610 \end_inset
15611
15612 ] El estilo usado cuando se define el flotante con 
15613 \begin_inset Flex Code
15614 status collapsed
15615
15616 \begin_layout Plain Layout
15617
15618 \backslash
15619 newfloat
15620 \end_layout
15621
15622 \end_inset
15623
15624 .
15625 \end_layout
15626
15627 \begin_layout Description
15628 \begin_inset Flex Code
15629 status collapsed
15630
15631 \begin_layout Plain Layout
15632 Type
15633 \end_layout
15634
15635 \end_inset
15636
15637  [
15638 \begin_inset Flex Code
15639 status collapsed
15640
15641 \begin_layout Plain Layout
15642 string
15643 \end_layout
15644
15645 \end_inset
15646
15647 =
15648 \begin_inset Quotes erd
15649 \end_inset
15650
15651
15652 \begin_inset Quotes erd
15653 \end_inset
15654
15655 ] El 
15656 \begin_inset Quotes fld
15657 \end_inset
15658
15659 tipo
15660 \begin_inset Quotes frd
15661 \end_inset
15662
15663  de la nueva clase de flotante, como programa o algoritmo.
15664  Después del apropiado 
15665 \begin_inset Flex Code
15666 status collapsed
15667
15668 \begin_layout Plain Layout
15669
15670 \backslash
15671 newfloat
15672 \end_layout
15673
15674 \end_inset
15675
15676 , comandos tales como 
15677 \begin_inset Flex Code
15678 status collapsed
15679
15680 \begin_layout Plain Layout
15681
15682 \backslash
15683 begin{program}
15684 \end_layout
15685
15686 \end_inset
15687
15688  o 
15689 \begin_inset Flex Code
15690 status collapsed
15691
15692 \begin_layout Plain Layout
15693
15694 \backslash
15695 end{algorithm*}
15696 \end_layout
15697
15698 \end_inset
15699
15700  estarán disponibles.
15701 \end_layout
15702
15703 \begin_layout Description
15704 \begin_inset Flex Code
15705 status collapsed
15706
15707 \begin_layout Plain Layout
15708 UsesFloatPkg
15709 \end_layout
15710
15711 \end_inset
15712
15713  [
15714 \begin_inset Flex Code
15715 status collapsed
15716
15717 \begin_layout Plain Layout
15718 0
15719 \end_layout
15720
15721 \end_inset
15722
15723 ,
15724 \begin_inset space \thinspace{}
15725 \end_inset
15726
15727
15728 \begin_inset Flex Code
15729 status collapsed
15730
15731 \begin_layout Plain Layout
15732
15733 \emph on
15734 1
15735 \end_layout
15736
15737 \end_inset
15738
15739 ] Nos dice si este flotante se define usando el paquete LaTeX 
15740 \begin_inset Flex Code
15741 status collapsed
15742
15743 \begin_layout Plain Layout
15744 float
15745 \end_layout
15746
15747 \end_inset
15748
15749 , bien por el archivo de clase o por un paquete, o bien sobre la marcha
15750  por el propio LyX.
15751 \end_layout
15752
15753 \begin_layout Standard
15754 Anotar que al definir un flotante con tipo 
15755 \begin_inset Flex Code
15756 status collapsed
15757
15758 \begin_layout Plain Layout
15759
15760 \emph on
15761 type
15762 \end_layout
15763
15764 \end_inset
15765
15766  automáticamente se define el correspondiente contador con nombre 
15767 \begin_inset Flex Code
15768 status collapsed
15769
15770 \begin_layout Plain Layout
15771
15772 \emph on
15773 type
15774 \end_layout
15775
15776 \end_inset
15777
15778 .
15779 \end_layout
15780
15781 \begin_layout Subsection
15782 Recuadros flexibles y formato del recuadro
15783 \begin_inset CommandInset label
15784 LatexCommand label
15785 name "sub:estilo-del-texto"
15786
15787 \end_inset
15788
15789
15790 \end_layout
15791
15792 \begin_layout Standard
15793 Los recuadros flexibles son de tres tipos: 
15794 \end_layout
15795
15796 \begin_layout Itemize
15797 estilo del texto (
15798 \begin_inset Flex Code
15799 status collapsed
15800
15801 \begin_layout Plain Layout
15802 CharStyle
15803 \end_layout
15804
15805 \end_inset
15806
15807 ): estos definen diseños semánticos correspondientes a comandos LaTeX como
15808  
15809 \begin_inset Flex Code
15810 status collapsed
15811
15812 \begin_layout Plain Layout
15813
15814 \backslash
15815 noun
15816 \end_layout
15817
15818 \end_inset
15819
15820  y 
15821 \begin_inset Flex Code
15822 status collapsed
15823
15824 \begin_layout Plain Layout
15825
15826 \backslash
15827 code
15828 \end_layout
15829
15830 \end_inset
15831
15832 .
15833 \end_layout
15834
15835 \begin_layout Itemize
15836 definido por el usuario (
15837 \begin_inset Flex Code
15838 status collapsed
15839
15840 \begin_layout Plain Layout
15841 Custom
15842 \end_layout
15843
15844 \end_inset
15845
15846 ): estos se pueden usar para definir recuadros plegables personalizados,
15847  del tipo de los de código TeX, notas al pie y similares.
15848  Un ejemplo obvio es un recuadro de nota final, definido en el módulo del
15849  mismo nombre (
15850 \begin_inset Flex Code
15851 status collapsed
15852
15853 \begin_layout Plain Layout
15854 endnotes
15855 \end_layout
15856
15857 \end_inset
15858
15859 ).
15860 \end_layout
15861
15862 \begin_layout Itemize
15863 elementos XML (
15864 \begin_inset Flex Code
15865 status collapsed
15866
15867 \begin_layout Plain Layout
15868 Element
15869 \end_layout
15870
15871 \end_inset
15872
15873 ): para usar con las clases DocBook.
15874 \end_layout
15875
15876 \begin_layout Standard
15877 Los recuadros flexibles se definen usando la etiqueta 
15878 \begin_inset Flex Code
15879 status collapsed
15880
15881 \begin_layout Plain Layout
15882 InsetLayout
15883 \end_layout
15884
15885 \end_inset
15886
15887 , que se explicará en un momento.
15888 \end_layout
15889
15890 \begin_layout Standard
15891 La etiqueta 
15892 \begin_inset Flex Code
15893 status collapsed
15894
15895 \begin_layout Plain Layout
15896 InsetLayout
15897 \end_layout
15898
15899 \end_inset
15900
15901  también sirve para otra función: puede utilizarse para personalizar el
15902  diseño general de muchos tipos diferentes de recuadros.
15903  Actualmente, 
15904 \begin_inset Flex Code
15905 status collapsed
15906
15907 \begin_layout Plain Layout
15908 InsetLayout
15909 \end_layout
15910
15911 \end_inset
15912
15913  permite personalizar los parámetros de diseño de notas al pie, notas al
15914  margen, notas, recuadros de código TeX (ERT), ramas, listados de programa,
15915  índices, cuadros, tablas, algoritmos, URL, y 
15916 \lang english
15917 captions
15918 \lang spanish
15919 , así como para definir recuadros flexibles.
15920 \end_layout
15921
15922 \begin_layout Standard
15923 La definición de 
15924 \begin_inset Flex Code
15925 status collapsed
15926
15927 \begin_layout Plain Layout
15928 InsetLayout
15929 \end_layout
15930
15931 \end_inset
15932
15933  debe comenzar con una línea de la forma:
15934 \end_layout
15935
15936 \begin_layout LyX-Code
15937 InsetLayout <type>
15938 \end_layout
15939
15940 \begin_layout Standard
15941 Aquí, 
15942 \begin_inset Flex Code
15943 status collapsed
15944
15945 \begin_layout Plain Layout
15946 <type>
15947 \end_layout
15948
15949 \end_inset
15950
15951  indica el recuadro cuyo formato se va a definir, y hay quatros casos.
15952 \end_layout
15953
15954 \begin_layout Enumerate
15955 Se va a modificar el formato para un tipo de recuadro preexistente.
15956  En este caso,
15957 \begin_inset Flex Code
15958 status collapsed
15959
15960 \begin_layout Plain Layout
15961 <type>
15962 \end_layout
15963
15964 \end_inset
15965
15966  puede ser uno cualquiera de los siguientes: 
15967 \begin_inset Flex Code
15968 status collapsed
15969
15970 \begin_layout Plain Layout
15971 Algorithm
15972 \end_layout
15973
15974 \end_inset
15975
15976
15977 \begin_inset Flex Code
15978 status collapsed
15979
15980 \begin_layout Plain Layout
15981 Branch
15982 \end_layout
15983
15984 \end_inset
15985
15986
15987 \begin_inset Flex Code
15988 status collapsed
15989
15990 \begin_layout Plain Layout
15991 Box
15992 \end_layout
15993
15994 \end_inset
15995
15996
15997 \begin_inset Flex Code
15998 status collapsed
15999
16000 \begin_layout Plain Layout
16001 Box:shaded
16002 \end_layout
16003
16004 \end_inset
16005
16006
16007 \begin_inset Flex Code
16008 status collapsed
16009
16010 \begin_layout Plain Layout
16011 Caption:Standard
16012 \end_layout
16013
16014 \end_inset
16015
16016
16017 \begin_inset Flex Code
16018 status collapsed
16019
16020 \begin_layout Plain Layout
16021 ERT
16022 \end_layout
16023
16024 \end_inset
16025
16026
16027 \begin_inset Flex Code
16028 status collapsed
16029
16030 \begin_layout Plain Layout
16031 Figure
16032 \end_layout
16033
16034 \end_inset
16035
16036
16037 \begin_inset Flex Code
16038 status collapsed
16039
16040 \begin_layout Plain Layout
16041 Foot
16042 \end_layout
16043
16044 \end_inset
16045
16046
16047 \begin_inset Flex Code
16048 status collapsed
16049
16050 \begin_layout Plain Layout
16051 Index
16052 \end_layout
16053
16054 \end_inset
16055
16056
16057 \begin_inset Flex Code
16058 status collapsed
16059
16060 \begin_layout Plain Layout
16061 Info
16062 \end_layout
16063
16064 \end_inset
16065
16066
16067 \begin_inset Flex Code
16068 status collapsed
16069
16070 \begin_layout Plain Layout
16071 Info:menu
16072 \end_layout
16073
16074 \end_inset
16075
16076
16077 \begin_inset Flex Code
16078 status collapsed
16079
16080 \begin_layout Plain Layout
16081 Info:shortcut
16082 \end_layout
16083
16084 \end_inset
16085
16086
16087 \begin_inset Flex Code
16088 status collapsed
16089
16090 \begin_layout Plain Layout
16091 Info:shortcuts
16092 \end_layout
16093
16094 \end_inset
16095
16096
16097 \begin_inset Flex Code
16098 status collapsed
16099
16100 \begin_layout Plain Layout
16101 Listings
16102 \end_layout
16103
16104 \end_inset
16105
16106
16107 \begin_inset Flex Code
16108 status collapsed
16109
16110 \begin_layout Plain Layout
16111 Marginal
16112 \end_layout
16113
16114 \end_inset
16115
16116
16117 \begin_inset Flex Code
16118 status collapsed
16119
16120 \begin_layout Plain Layout
16121 Note:Comment
16122 \end_layout
16123
16124 \end_inset
16125
16126
16127 \begin_inset Flex Code
16128 status collapsed
16129
16130 \begin_layout Plain Layout
16131 Note:Note
16132 \end_layout
16133
16134 \end_inset
16135
16136
16137 \begin_inset Flex Code
16138 status collapsed
16139
16140 \begin_layout Plain Layout
16141 Note:GreyedOut
16142 \end_layout
16143
16144 \end_inset
16145
16146
16147 \begin_inset Flex Code
16148 status collapsed
16149
16150 \begin_layout Plain Layout
16151 Table
16152 \end_layout
16153
16154 \end_inset
16155
16156 , o 
16157 \begin_inset Flex Code
16158 status collapsed
16159
16160 \begin_layout Plain Layout
16161 URL
16162 \end_layout
16163
16164 \end_inset
16165
16166 .
16167  
16168 \end_layout
16169
16170 \begin_layout Enumerate
16171 Se va a definir el formato para un recuadro flexible.
16172  En este caso, 
16173 \begin_inset Flex Code
16174 status collapsed
16175
16176 \begin_layout Plain Layout
16177 <type>
16178 \end_layout
16179
16180 \end_inset
16181
16182  puede ser cualquier identificador válido no utilizado por un recuadro preexiste
16183 nte.
16184  El identificador puede incluir espacios, pero en este caso debe ponerse
16185  todo entre comillas.
16186  Puede además incluir un identificador de nombre del espacio, precedido
16187  de dos puntos, como 
16188 \begin_inset Quotes eld
16189 \end_inset
16190
16191
16192 \begin_inset Flex Code
16193 status collapsed
16194
16195 \begin_layout Plain Layout
16196 Flex:Code
16197 \end_layout
16198
16199 \end_inset
16200
16201
16202 \begin_inset Quotes erd
16203 \end_inset
16204
16205 .
16206  Anotar que la definición de un flexible debe incluir 
16207 \emph on
16208 además
16209 \emph default
16210  una entrada 
16211 \begin_inset Flex Code
16212 status collapsed
16213
16214 \begin_layout Plain Layout
16215 LyXType
16216 \end_layout
16217
16218 \end_inset
16219
16220 .
16221 \end_layout
16222
16223 \begin_layout Enumerate
16224
16225 \lang english
16226 The layout for user specific branch is being defined.
16227  In this case
16228 \lang spanish
16229
16230 \begin_inset Flex Code
16231 status collapsed
16232
16233 \begin_layout Plain Layout
16234 <type>
16235 \end_layout
16236
16237 \end_inset
16238
16239  
16240 \lang english
16241 must be of the form
16242 \lang spanish
16243  
16244 \begin_inset Quotes fld
16245 \end_inset
16246
16247
16248 \begin_inset Flex Code
16249 status collapsed
16250
16251 \begin_layout Plain Layout
16252 Branch:<nombre>
16253 \end_layout
16254
16255 \end_inset
16256
16257
16258 \begin_inset Quotes frd
16259 \end_inset
16260
16261
16262 \lang english
16263 where
16264 \lang spanish
16265  
16266 \begin_inset Flex Code
16267 status collapsed
16268
16269 \begin_layout Plain Layout
16270 nombre
16271 \end_layout
16272
16273 \end_inset
16274
16275  
16276 \lang english
16277 may be be any valid identifier of branch defined in user's document.
16278  The identifier may include spaces, but in that case the whole thing must
16279  be wrapped in quotes.
16280  The main purpose of this feature is to allow LaTeX wrapping around specific
16281  branches as user needs.
16282 \end_layout
16283
16284 \begin_layout Enumerate
16285
16286 \lang english
16287 The layout of a user (or class) specific caption is being defined.
16288  In this case
16289 \lang spanish
16290
16291 \begin_inset Flex Code
16292 status collapsed
16293
16294 \begin_layout Plain Layout
16295 <type>
16296 \end_layout
16297
16298 \end_inset
16299
16300  
16301 \lang english
16302 must be of the form
16303 \lang spanish
16304  
16305 \begin_inset Quotes fld
16306 \end_inset
16307
16308
16309 \begin_inset Flex Code
16310 status collapsed
16311
16312 \begin_layout Plain Layout
16313 Caption:<nombre>
16314 \end_layout
16315
16316 \end_inset
16317
16318
16319 \begin_inset Quotes frd
16320 \end_inset
16321
16322
16323 \lang english
16324 where
16325 \lang spanish
16326  
16327 \begin_inset Flex Code
16328 status collapsed
16329
16330 \begin_layout Plain Layout
16331 nombre
16332 \end_layout
16333
16334 \end_inset
16335
16336  
16337 \lang english
16338 specifies the name of the caption as it appears in the menu.
16339  Have a look at the standard caption
16340 \lang spanish
16341  (
16342 \begin_inset Flex Code
16343 status collapsed
16344
16345 \begin_layout Plain Layout
16346 Caption:Standard
16347 \end_layout
16348
16349 \end_inset
16350
16351 ), 
16352 \lang english
16353 the specific captions of the KOMA-Script classes (
16354 \begin_inset Flex Code
16355 status collapsed
16356
16357 \begin_layout Plain Layout
16358
16359 \lang english
16360 Caption:Above
16361 \end_layout
16362
16363 \end_inset
16364
16365
16366 \begin_inset Flex Code
16367 status collapsed
16368
16369 \begin_layout Plain Layout
16370
16371 \lang english
16372 Caption:Below
16373 \end_layout
16374
16375 \end_inset
16376
16377 ) or the module 
16378 \family sans
16379 Multilingual
16380 \begin_inset space ~
16381 \end_inset
16382
16383 Captions
16384 \family default
16385 \lang spanish
16386  (
16387 \begin_inset Flex Code
16388 status collapsed
16389
16390 \begin_layout Plain Layout
16391 Caption:Bicaption
16392 \end_layout
16393
16394 \end_inset
16395
16396
16397 \lang english
16398 for applications.
16399 \end_layout
16400
16401 \begin_layout Standard
16402 La definición de 
16403 \begin_inset Flex Code
16404 status collapsed
16405
16406 \begin_layout Plain Layout
16407 InsetLayout
16408 \end_layout
16409
16410 \end_inset
16411
16412  puede contener las siguientes entradas:
16413 \end_layout
16414
16415 \begin_layout Description
16416 \begin_inset Flex Code
16417 status collapsed
16418
16419 \begin_layout Plain Layout
16420 Argument
16421 \end_layout
16422
16423 \end_inset
16424
16425  [
16426 \begin_inset Flex Code
16427 status collapsed
16428
16429 \begin_layout Plain Layout
16430 int
16431 \end_layout
16432
16433 \end_inset
16434
16435
16436 \lang english
16437 Defines argument number of a command\SpecialChar \slash{}
16438 environment associated with the current
16439  layout.
16440  The definition must end with 
16441 \begin_inset Flex Code
16442 status collapsed
16443
16444 \begin_layout Plain Layout
16445
16446 \lang english
16447 EndArgument
16448 \end_layout
16449
16450 \end_inset
16451
16452 .
16453  See 
16454 \lang spanish
16455
16456 \begin_inset CommandInset ref
16457 LatexCommand ref
16458 reference "sub:Estilos-de-párrafo"
16459
16460 \end_inset
16461
16462
16463 \lang english
16464  for details.
16465 \end_layout
16466
16467 \begin_layout Description
16468 \begin_inset Flex Code
16469 status collapsed
16470
16471 \begin_layout Plain Layout
16472 BabelPreamble
16473 \end_layout
16474
16475 \end_inset
16476
16477  
16478 \lang english
16479 Preamble for changing language commands
16480 \lang spanish
16481 ; véase 
16482 \begin_inset CommandInset ref
16483 LatexCommand ref
16484 reference "sub:I18n"
16485
16486 \end_inset
16487
16488 .
16489 \end_layout
16490
16491 \begin_layout Description
16492 \begin_inset Flex Code
16493 status collapsed
16494
16495 \begin_layout Plain Layout
16496 BgColor
16497 \end_layout
16498
16499 \end_inset
16500
16501  [
16502 \begin_inset Flex Code
16503 status collapsed
16504
16505 \begin_layout Plain Layout
16506 <nombre>
16507 \end_layout
16508
16509 \end_inset
16510
16511 ] El color para el fondo del recuadro.
16512  Véase 
16513 \begin_inset CommandInset ref
16514 LatexCommand ref
16515 reference "chap:Names-of-colors"
16516
16517 \end_inset
16518
16519  
16520 \lang english
16521 for a list of the available color names.
16522 \end_layout
16523
16524 \begin_layout Description
16525 \begin_inset Flex Code
16526 status collapsed
16527
16528 \begin_layout Plain Layout
16529 ContentAsLabel
16530 \end_layout
16531
16532 \end_inset
16533
16534  [
16535 \begin_inset Flex Code
16536 status collapsed
16537
16538 \begin_layout Plain Layout
16539
16540 \emph on
16541 0
16542 \end_layout
16543
16544 \end_inset
16545
16546 ,
16547 \lang ngerman
16548
16549 \begin_inset space \thinspace{}
16550 \end_inset
16551
16552
16553 \lang spanish
16554
16555 \begin_inset Flex Code
16556 status collapsed
16557
16558 \begin_layout Plain Layout
16559 1
16560 \end_layout
16561
16562 \end_inset
16563
16564 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el
16565  recuadro se cierra.
16566  Por omisión, falso.
16567 \end_layout
16568
16569 \begin_layout Description
16570 \begin_inset Flex Code
16571 status collapsed
16572
16573 \begin_layout Plain Layout
16574 CopyStyle
16575 \end_layout
16576
16577 \end_inset
16578
16579  [
16580 \begin_inset Flex Code
16581 status collapsed
16582
16583 \begin_layout Plain Layout
16584 <type>
16585 \end_layout
16586
16587 \end_inset
16588
16589
16590 \lang english
16591 As with paragraph styles
16592 \lang spanish
16593 , véase 
16594 \begin_inset CommandInset ref
16595 LatexCommand ref
16596 reference "sub:Estilos-de-párrafo"
16597
16598 \end_inset
16599
16600 .
16601  
16602 \lang english
16603 Note that you need to specify the complete type, e.
16604 \begin_inset space \thinspace{}
16605 \end_inset
16606
16607 g
16608 \lang spanish
16609 .
16610 \begin_inset space ~
16611 \end_inset
16612
16613
16614 \begin_inset Flex Code
16615 status collapsed
16616
16617 \begin_layout Plain Layout
16618 CopyStyle Flex:<nombre>
16619 \end_layout
16620
16621 \end_inset
16622
16623 .
16624 \end_layout
16625
16626 \begin_layout Description
16627 \begin_inset Flex Code
16628 status collapsed
16629
16630 \begin_layout Plain Layout
16631 CustomPars
16632 \end_layout
16633
16634 \end_inset
16635
16636  [
16637 \begin_inset Flex Code
16638 status collapsed
16639
16640 \begin_layout Plain Layout
16641
16642 \emph on
16643 0
16644 \end_layout
16645
16646 \end_inset
16647
16648 ,
16649 \lang ngerman
16650
16651 \begin_inset space \thinspace{}
16652 \end_inset
16653
16654
16655 \lang spanish
16656
16657 \begin_inset Flex Code
16658 status collapsed
16659
16660 \begin_layout Plain Layout
16661 1
16662 \end_layout
16663
16664 \end_inset
16665
16666 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo
16667  para modificar el párrafo.
16668 \end_layout
16669
16670 \begin_layout Description
16671 \begin_inset Flex Code
16672 status collapsed
16673
16674 \begin_layout Plain Layout
16675 Decoration
16676 \end_layout
16677
16678 \end_inset
16679
16680  Puede ser 
16681 \begin_inset Flex Code
16682 status collapsed
16683
16684 \begin_layout Plain Layout
16685 Classic
16686 \end_layout
16687
16688 \end_inset
16689
16690
16691 \begin_inset Flex Code
16692 status collapsed
16693
16694 \begin_layout Plain Layout
16695 Minimalistic
16696 \end_layout
16697
16698 \end_inset
16699
16700 , o 
16701 \begin_inset Flex Code
16702 status collapsed
16703
16704 \begin_layout Plain Layout
16705 Conglomerate
16706 \end_layout
16707
16708 \end_inset
16709
16710 , que describe el estilo de presentación para el marco y los botones del
16711  recuadro.
16712  Las notas al pie usan generalmente 
16713 \begin_inset Flex Code
16714 status collapsed
16715
16716 \begin_layout Plain Layout
16717 Classic
16718 \end_layout
16719
16720 \end_inset
16721
16722 , los recuadros de código TeX 
16723 \begin_inset Flex Code
16724 status collapsed
16725
16726 \begin_layout Plain Layout
16727 Minimalistic
16728 \end_layout
16729
16730 \end_inset
16731
16732 , y los de estilos del texto 
16733 \begin_inset Flex Code
16734 status collapsed
16735
16736 \begin_layout Plain Layout
16737 Conglomerate
16738 \end_layout
16739
16740 \end_inset
16741
16742 .
16743 \end_layout
16744
16745 \begin_layout Description
16746 \begin_inset Flex Code
16747 status collapsed
16748
16749 \begin_layout Plain Layout
16750 Display
16751 \end_layout
16752
16753 \end_inset
16754
16755  [
16756 \begin_inset Flex Code
16757 status collapsed
16758
16759 \begin_layout Plain Layout
16760 0
16761 \end_layout
16762
16763 \end_inset
16764
16765 ,
16766 \lang ngerman
16767
16768 \begin_inset space \thinspace{}
16769 \end_inset
16770
16771
16772 \lang spanish
16773
16774 \begin_inset Flex Code
16775 status collapsed
16776
16777 \begin_layout Plain Layout
16778
16779 \emph on
16780 1
16781 \end_layout
16782
16783 \end_inset
16784
16785 ] Solo es útil si 
16786 \begin_inset Flex Code
16787 status collapsed
16788
16789 \begin_layout Plain Layout
16790 LatexType
16791 \end_layout
16792
16793 \end_inset
16794
16795  es 
16796 \begin_inset Flex Code
16797 status collapsed
16798
16799 \begin_layout Plain Layout
16800 Environment
16801 \end_layout
16802
16803 \end_inset
16804
16805 .
16806  Indica si el entorno se ubicará en su propio espacio en la salida o si
16807  aparecerá en línea con el texto circundante.
16808  Si se pone falso, se supone que el entorno LaTeX ignora los espacios en
16809  blanco (incluyendo un carácter de línea nueva) después de las etiquetas
16810  
16811 \begin_inset Flex Code
16812 status collapsed
16813
16814 \begin_layout Plain Layout
16815
16816 \backslash
16817 begin{
16818 \emph on
16819 LatexName
16820 \emph default
16821 }
16822 \end_layout
16823
16824 \end_inset
16825
16826  y 
16827 \begin_inset Flex Code
16828 status collapsed
16829
16830 \begin_layout Plain Layout
16831
16832 \backslash
16833 end{
16834 \emph on
16835 LatexName
16836 \emph default
16837 }
16838 \end_layout
16839
16840 \end_inset
16841
16842 .
16843  Por omisión, verdadero.
16844 \end_layout
16845
16846 \begin_layout Description
16847 \begin_inset Flex Code
16848 status collapsed
16849
16850 \begin_layout Plain Layout
16851 End
16852 \end_layout
16853
16854 \end_inset
16855
16856  Requerido al final de las declaraciones de formato del recuadro 
16857 \begin_inset Flex Code
16858 status collapsed
16859
16860 \begin_layout Plain Layout
16861 InsetLayout
16862 \end_layout
16863
16864 \end_inset
16865
16866 .
16867 \end_layout
16868
16869 \begin_layout Description
16870 \begin_inset Flex Code
16871 status collapsed
16872
16873 \begin_layout Plain Layout
16874 Font
16875 \end_layout
16876
16877 \end_inset
16878
16879  La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
16880  Véase la 
16881 \begin_inset CommandInset ref
16882 LatexCommand ref
16883 reference "sub:Tipografías"
16884
16885 \end_inset
16886
16887 .
16888  Anotar que al definir esta tipografía se define automáticamente el mismo
16889  valor para la etiqueta, 
16890 \begin_inset Flex Code
16891 status collapsed
16892
16893 \begin_layout Plain Layout
16894 LabelFont
16895 \end_layout
16896
16897 \end_inset
16898
16899 , así que define aquella primero y después define 
16900 \begin_inset Flex Code
16901 status collapsed
16902
16903 \begin_layout Plain Layout
16904 LabelFont
16905 \end_layout
16906
16907 \end_inset
16908
16909  si las quieres diferentes.
16910 \end_layout
16911
16912 \begin_layout Description
16913 \begin_inset Flex Code
16914 status collapsed
16915
16916 \begin_layout Plain Layout
16917 ForceLocalFontSwitch
16918 \end_layout
16919
16920 \end_inset
16921
16922  [
16923 \begin_inset Flex Code
16924 status collapsed
16925
16926 \begin_layout Plain Layout
16927
16928 \emph on
16929 0
16930 \end_layout
16931
16932 \end_inset
16933
16934 ,
16935 \begin_inset space \thinspace{}
16936 \end_inset
16937
16938
16939 \begin_inset Flex Code
16940 status collapsed
16941
16942 \begin_layout Plain Layout
16943 1
16944 \end_layout
16945
16946 \end_inset
16947
16948
16949 \lang english
16950 When using babel, always use a local font switch (
16951 \begin_inset Flex Code
16952 status collapsed
16953
16954 \begin_layout Plain Layout
16955
16956 \lang english
16957
16958 \backslash
16959 foreignlanguage
16960 \end_layout
16961
16962 \end_inset
16963
16964 ), never a global one (such as 
16965 \lang spanish
16966
16967 \begin_inset Flex Code
16968 status collapsed
16969
16970 \begin_layout Plain Layout
16971
16972 \backslash
16973 selectlanguage
16974 \end_layout
16975
16976 \end_inset
16977
16978 ).
16979 \end_layout
16980
16981 \begin_layout Description
16982 \begin_inset Flex Code
16983 status collapsed
16984
16985 \begin_layout Plain Layout
16986 ForceLTR
16987 \end_layout
16988
16989 \end_inset
16990
16991  [
16992 \begin_inset Flex Code
16993 status collapsed
16994
16995 \begin_layout Plain Layout
16996
16997 \emph on
16998 0
16999 \end_layout
17000
17001 \end_inset
17002
17003 ,
17004 \lang ngerman
17005
17006 \begin_inset space \thinspace{}
17007 \end_inset
17008
17009
17010 \lang spanish
17011
17012 \begin_inset Flex Code
17013 status collapsed
17014
17015 \begin_layout Plain Layout
17016 1
17017 \end_layout
17018
17019 \end_inset
17020
17021 ] Fuerza el idioma 
17022 \begin_inset Quotes fld
17023 \end_inset
17024
17025 latex
17026 \begin_inset Quotes frd
17027 \end_inset
17028
17029  que genera salida Izquierda-Derecha (latin), p.
17030 \begin_inset space \thinspace{}
17031 \end_inset
17032
17033 e.
17034 \begin_inset space \space{}
17035 \end_inset
17036
17037 en código TeX o URL.
17038  Un parche.
17039 \end_layout
17040
17041 \begin_layout Description
17042 \begin_inset Flex Code
17043 status collapsed
17044
17045 \begin_layout Plain Layout
17046 ForcePlain
17047 \end_layout
17048
17049 \end_inset
17050
17051  [
17052 \begin_inset Flex Code
17053 status collapsed
17054
17055 \begin_layout Plain Layout
17056
17057 \emph on
17058 0
17059 \end_layout
17060
17061 \end_inset
17062
17063 ,
17064 \lang ngerman
17065
17066 \begin_inset space \thinspace{}
17067 \end_inset
17068
17069
17070 \lang spanish
17071
17072 \begin_inset Flex Code
17073 status collapsed
17074
17075 \begin_layout Plain Layout
17076 1
17077 \end_layout
17078
17079 \end_inset
17080
17081 ] Indica si debería usarse 
17082 \begin_inset Flex Code
17083 status collapsed
17084
17085 \begin_layout Plain Layout
17086 PlainLayout
17087 \end_layout
17088
17089 \end_inset
17090
17091  o, por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
17092 \end_layout
17093
17094 \begin_layout Description
17095 \begin_inset Flex Code
17096 status collapsed
17097
17098 \begin_layout Plain Layout
17099 FreeSpacing
17100 \end_layout
17101
17102 \end_inset
17103
17104  [
17105 \emph on
17106
17107 \begin_inset Flex Code
17108 status collapsed
17109
17110 \begin_layout Plain Layout
17111 0
17112 \end_layout
17113
17114 \end_inset
17115
17116
17117 \emph default
17118 ,
17119 \lang ngerman
17120
17121 \begin_inset space \thinspace{}
17122 \end_inset
17123
17124
17125 \lang spanish
17126
17127 \begin_inset Flex Code
17128 status collapsed
17129
17130 \begin_layout Plain Layout
17131 1
17132 \end_layout
17133
17134 \end_inset
17135
17136
17137 \lang english
17138 As with paragraph style
17139 \lang spanish
17140 s, véase 
17141 \begin_inset CommandInset ref
17142 LatexCommand ref
17143 reference "sub:Estilos-de-párrafo"
17144
17145 \end_inset
17146
17147 .
17148 \end_layout
17149
17150 \begin_layout Description
17151 \begin_inset Flex Code
17152 status collapsed
17153
17154 \begin_layout Plain Layout
17155 HTML*
17156 \end_layout
17157
17158 \end_inset
17159
17160  Controlan la salida XHTML.
17161  Véase la 
17162 \begin_inset CommandInset ref
17163 LatexCommand ref
17164 reference "sec:Etiquetas-para-XHTML"
17165
17166 \end_inset
17167
17168 .
17169 \end_layout
17170
17171 \begin_layout Description
17172 \begin_inset Flex Code
17173 status collapsed
17174
17175 \begin_layout Plain Layout
17176 InToc
17177 \end_layout
17178
17179 \end_inset
17180
17181  [
17182 \begin_inset Flex Code
17183 status collapsed
17184
17185 \begin_layout Plain Layout
17186
17187 \emph on
17188 0
17189 \end_layout
17190
17191 \end_inset
17192
17193 ,
17194 \lang ngerman
17195
17196 \begin_inset space \thinspace{}
17197 \end_inset
17198
17199
17200 \lang spanish
17201
17202 \begin_inset Flex Code
17203 status collapsed
17204
17205 \begin_layout Plain Layout
17206 1
17207 \end_layout
17208
17209 \end_inset
17210
17211 ] Incluye o no el contenido de este inset en la cadena generada para el
17212  panel 'Navegador de contorno'.
17213  El no sería, por ejemplo, para que el contenido de una nota al pie en un
17214  encabezado de sección no aparezca en el índice que se despliega en el navegador
17215  de contorno, sin embargo, normalmente sí se incluiría el contenido de un
17216  estilo de carácter.
17217  Predeterminado es false: no incluir.
17218 \end_layout
17219
17220 \begin_layout Description
17221 \begin_inset Flex Code
17222 status collapsed
17223
17224 \begin_layout Plain Layout
17225 KeepEmpty
17226 \end_layout
17227
17228 \end_inset
17229
17230  [
17231 \emph on
17232
17233 \begin_inset Flex Code
17234 status collapsed
17235
17236 \begin_layout Plain Layout
17237
17238 \emph on
17239 0
17240 \end_layout
17241
17242 \end_inset
17243
17244
17245 \emph default
17246 ,
17247 \lang ngerman
17248
17249 \begin_inset space \thinspace{}
17250 \end_inset
17251
17252
17253 \lang spanish
17254
17255 \begin_inset Flex Code
17256 status collapsed
17257
17258 \begin_layout Plain Layout
17259 1
17260 \end_layout
17261
17262 \end_inset
17263
17264
17265 \lang english
17266 As with paragraph styles
17267 \lang spanish
17268 , véase 
17269 \begin_inset CommandInset ref
17270 LatexCommand ref
17271 reference "sub:Estilos-de-párrafo"
17272
17273 \end_inset
17274
17275 .
17276 \end_layout
17277
17278 \begin_layout Description
17279 \begin_inset Flex Code
17280 status collapsed
17281
17282 \begin_layout Plain Layout
17283 LabelFont
17284 \end_layout
17285
17286 \end_inset
17287
17288  La tipografía para la etiqueta.
17289  Véase la 
17290 \begin_inset CommandInset ref
17291 LatexCommand ref
17292 reference "sub:Tipografías"
17293
17294 \end_inset
17295
17296 .
17297  Anotar que esta definición nunca puede aparecer antes de 
17298 \begin_inset Flex Code
17299 status collapsed
17300
17301 \begin_layout Plain Layout
17302 Font
17303 \end_layout
17304
17305 \end_inset
17306
17307 , para que sea efectiva.
17308 \end_layout
17309
17310 \begin_layout Description
17311 \begin_inset Flex Code
17312 status collapsed
17313
17314 \begin_layout Plain Layout
17315 LabelString
17316 \end_layout
17317
17318 \end_inset
17319
17320  [
17321 \begin_inset Flex Code
17322 status collapsed
17323
17324 \begin_layout Plain Layout
17325 string
17326 \end_layout
17327
17328 \end_inset
17329
17330 =
17331 \begin_inset Quotes erd
17332 \end_inset
17333
17334
17335 \begin_inset Quotes erd
17336 \end_inset
17337
17338 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
17339  Algunos tipos de recuadro (
17340 \begin_inset Flex Code
17341 status collapsed
17342
17343 \begin_layout Plain Layout
17344 código TeX
17345 \end_layout
17346
17347 \end_inset
17348
17349  y 
17350 \begin_inset Flex Code
17351 status collapsed
17352
17353 \begin_layout Plain Layout
17354 Ramas
17355 \end_layout
17356
17357 \end_inset
17358
17359 ) modifican esta etiqueta sobre la marcha.
17360 \end_layout
17361
17362 \begin_layout Description
17363 \begin_inset Flex Code
17364 status collapsed
17365
17366 \begin_layout Plain Layout
17367 LangPreamble
17368 \end_layout
17369
17370 \end_inset
17371
17372  
17373 \lang english
17374 Language dependent preamble
17375 \lang spanish
17376 ; véase 
17377 \begin_inset CommandInset ref
17378 LatexCommand ref
17379 reference "sub:I18n"
17380
17381 \end_inset
17382
17383 .
17384 \end_layout
17385
17386 \begin_layout Description
17387 \begin_inset Flex Code
17388 status collapsed
17389
17390 \begin_layout Plain Layout
17391 LatexName
17392 \end_layout
17393
17394 \end_inset
17395
17396  [
17397 \begin_inset Flex Code
17398 status collapsed
17399
17400 \begin_layout Plain Layout
17401 <nombre>
17402 \end_layout
17403
17404 \end_inset
17405
17406 ] El nombre LaTeX correspondiente al asunto.
17407  Cualquier nombre de entorno o de comando.
17408 \end_layout
17409
17410 \begin_layout Description
17411 \begin_inset Flex Code
17412 status collapsed
17413
17414 \begin_layout Plain Layout
17415 LatexParam
17416 \end_layout
17417
17418 \end_inset
17419
17420  [
17421 \begin_inset Flex Code
17422 status collapsed
17423
17424 \begin_layout Plain Layout
17425 <parámetro>
17426 \end_layout
17427
17428 \end_inset
17429
17430 ] El parámetro opcional para el correspondiente 
17431 \begin_inset Flex Code
17432 status collapsed
17433
17434 \begin_layout Plain Layout
17435 LatexName
17436 \end_layout
17437
17438 \end_inset
17439
17440 , incluyendo posibles pares de corchetes, 
17441 \begin_inset Flex Code
17442 status collapsed
17443
17444 \begin_layout Plain Layout
17445 []
17446 \end_layout
17447
17448 \end_inset
17449
17450 .
17451  Este parámetro no se puede cambiar desde dentro de LyX 
17452 \lang english
17453 (use 
17454 \begin_inset Flex Code
17455 status collapsed
17456
17457 \begin_layout Plain Layout
17458
17459 \lang english
17460 Argument
17461 \end_layout
17462
17463 \end_inset
17464
17465  for customizable parameters).
17466  It will be output as is after all LaTeX
17467 \lang spanish
17468  
17469 \begin_inset Flex Code
17470 status collapsed
17471
17472 \begin_layout Plain Layout
17473 Argument
17474 \end_layout
17475
17476 \end_inset
17477
17478 s..
17479 \end_layout
17480
17481 \begin_layout Description
17482 \begin_inset Flex Code
17483 status collapsed
17484
17485 \begin_layout Plain Layout
17486 LatexType
17487 \end_layout
17488
17489 \end_inset
17490
17491  [
17492 \begin_inset Flex Code
17493 status collapsed
17494
17495 \begin_layout Plain Layout
17496 Command, Environment, None
17497 \end_layout
17498
17499 \end_inset
17500
17501
17502 \lang english
17503 How the style should be translated into LaTeX.
17504 \begin_inset Foot
17505 status open
17506
17507 \begin_layout Plain Layout
17508
17509 \lang english
17510 \begin_inset Flex Code
17511 status collapsed
17512
17513 \begin_layout Plain Layout
17514
17515 \lang english
17516 LatexType
17517 \end_layout
17518
17519 \end_inset
17520
17521  is perhaps a bit misleading, since these rules apply to SGML classes, too.
17522  Visit the SGML class files for specific examples.
17523 \end_layout
17524
17525 \end_inset
17526
17527
17528 \end_layout
17529
17530 \begin_deeper
17531 \begin_layout Description
17532 \begin_inset Flex Code
17533 status collapsed
17534
17535 \begin_layout Plain Layout
17536 None
17537 \end_layout
17538
17539 \end_inset
17540
17541  
17542 \lang english
17543 means nothing special
17544 \end_layout
17545
17546 \begin_layout Description
17547 \begin_inset Flex Code
17548 status collapsed
17549
17550 \begin_layout Plain Layout
17551 Command
17552 \end_layout
17553
17554 \end_inset
17555
17556  
17557 \lang english
17558 means 
17559 \begin_inset Flex Code
17560 status collapsed
17561
17562 \begin_layout Plain Layout
17563
17564 \lang english
17565
17566 \backslash
17567
17568 \emph on
17569 LatexName
17570 \emph default
17571 {\SpecialChar \ldots{}
17572 }
17573 \end_layout
17574
17575 \end_inset
17576
17577
17578 \end_layout
17579
17580 \begin_layout Description
17581 \begin_inset Flex Code
17582 status collapsed
17583
17584 \begin_layout Plain Layout
17585 Environment
17586 \end_layout
17587
17588 \end_inset
17589
17590  
17591 \lang english
17592 means 
17593 \begin_inset Flex Code
17594 status collapsed
17595
17596 \begin_layout Plain Layout
17597
17598 \lang english
17599
17600 \backslash
17601 begin{
17602 \emph on
17603 LatexName
17604 \emph default
17605 }\SpecialChar \ldots{}
17606
17607 \backslash
17608 end{
17609 \emph on
17610 LatexName
17611 \emph default
17612 }
17613 \end_layout
17614
17615 \end_inset
17616
17617
17618 \end_layout
17619
17620 \begin_layout Description
17621
17622 \end_layout
17623
17624 \begin_layout Standard
17625
17626 \lang english
17627 Putting the last few things together, the LaTeX output will be either: 
17628 \end_layout
17629
17630 \begin_layout LyX-Code
17631
17632 \backslash
17633 LatexName[LatexParam]{\SpecialChar \ldots{}
17634 }
17635 \end_layout
17636
17637 \begin_layout Standard
17638 or: 
17639 \end_layout
17640
17641 \begin_layout LyX-Code
17642
17643 \backslash
17644 begin{LatexName}[LatexParam] \SpecialChar \ldots{}
17645  
17646 \backslash
17647 end{LatexName}
17648 \end_layout
17649
17650 \begin_layout Standard
17651
17652 \lang english
17653 depending upon the LaTeX type.
17654 \end_layout
17655
17656 \end_deeper
17657 \begin_layout Description
17658 \begin_inset Flex Code
17659 status collapsed
17660
17661 \begin_layout Plain Layout
17662 LeftDelim
17663 \end_layout
17664
17665 \end_inset
17666
17667  [
17668 \begin_inset Flex Code
17669 status collapsed
17670
17671 \begin_layout Plain Layout
17672 string
17673 \end_layout
17674
17675 \end_inset
17676
17677
17678 \lang english
17679 A string that is put at the beginning of the layout content.
17680  A line break in the output can be indicated by
17681 \lang spanish
17682  
17683 \begin_inset Flex Code
17684 status collapsed
17685
17686 \begin_layout Plain Layout
17687 <br/>
17688 \end_layout
17689
17690 \end_inset
17691
17692 .
17693 \end_layout
17694
17695 \begin_layout Description
17696 \begin_inset Flex Code
17697 status collapsed
17698
17699 \begin_layout Plain Layout
17700 LyxType
17701 \end_layout
17702
17703 \end_inset
17704
17705  Puede ser 
17706 \begin_inset Flex Code
17707 status collapsed
17708
17709 \begin_layout Plain Layout
17710 charstyle
17711 \end_layout
17712
17713 \end_inset
17714
17715
17716 \begin_inset Flex Code
17717 status collapsed
17718
17719 \begin_layout Plain Layout
17720 custom
17721 \end_layout
17722
17723 \end_inset
17724
17725
17726 \begin_inset Flex Code
17727 status collapsed
17728
17729 \begin_layout Plain Layout
17730 element
17731 \end_layout
17732
17733 \end_inset
17734
17735 , o 
17736 \begin_inset Flex Code
17737 status collapsed
17738
17739 \begin_layout Plain Layout
17740 end
17741 \end_layout
17742
17743 \end_inset
17744
17745  (indicando una definición ficticia que finaliza definiciones de estilos
17746  de texto, etc).
17747  Esta entrada es requerida y solo es significativa para recuadros flexibles.
17748  Entre otras cosas, determina en qué menús aparecerá este recuadro.
17749  Si 
17750 \begin_inset Flex Code
17751 status collapsed
17752
17753 \begin_layout Plain Layout
17754 LyXType
17755 \end_layout
17756
17757 \end_inset
17758
17759  es 
17760 \begin_inset Flex Code
17761 status collapsed
17762
17763 \begin_layout Plain Layout
17764 charstyle
17765 \end_layout
17766
17767 \end_inset
17768
17769  
17770 \begin_inset Flex Code
17771 status collapsed
17772
17773 \begin_layout Plain Layout
17774 MultiPar
17775 \end_layout
17776
17777 \end_inset
17778
17779  es falso.
17780  
17781 \begin_inset Flex Code
17782 status collapsed
17783
17784 \begin_layout Plain Layout
17785 MultiPar
17786 \end_layout
17787
17788 \end_inset
17789
17790  se puede poner como verdadero para recuadros de estilos 
17791 \begin_inset Flex Code
17792 status collapsed
17793
17794 \begin_layout Plain Layout
17795 charstyle
17796 \end_layout
17797
17798 \end_inset
17799
17800 , si poniéndolo 
17801 \emph on
17802 después
17803 \emph default
17804  de 
17805 \begin_inset Flex Code
17806 status collapsed
17807
17808 \begin_layout Plain Layout
17809 LyXType
17810 \end_layout
17811
17812 \end_inset
17813
17814 .
17815 \end_layout
17816
17817 \begin_layout Description
17818 \begin_inset Flex Code
17819 status collapsed
17820
17821 \begin_layout Plain Layout
17822 MultiPar
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 ] Indica si se permiten múltiples párrafos en este recuadro.
17858  Además establecerá para CustomPars el mismo valor y para ForcePlain el
17859  valor opuesto.
17860  Estos pueden modificarse a otros valores si se usan 
17861 \emph on
17862 después
17863 \emph default
17864  de MultiPar.
17865 \end_layout
17866
17867 \begin_layout Description
17868 \begin_inset Flex Code
17869 status collapsed
17870
17871 \begin_layout Plain Layout
17872 NeedProtect
17873 \end_layout
17874
17875 \end_inset
17876
17877  [
17878 \begin_inset Flex Code
17879 status collapsed
17880
17881 \begin_layout Plain Layout
17882
17883 \emph on
17884 0
17885 \end_layout
17886
17887 \end_inset
17888
17889 ,
17890 \lang ngerman
17891
17892 \begin_inset space \thinspace{}
17893 \end_inset
17894
17895
17896 \lang spanish
17897
17898 \begin_inset Flex Code
17899 status collapsed
17900
17901 \begin_layout Plain Layout
17902 1
17903 \end_layout
17904
17905 \end_inset
17906
17907 ] Si los comandos frágiles deben o no ser 
17908 \begin_inset Flex Code
17909 status collapsed
17910
17911 \begin_layout Plain Layout
17912
17913 \backslash
17914 protect
17915 \end_layout
17916
17917 \end_inset
17918
17919 'ed en este recuadro.
17920  (Nota: es 
17921 \emph on
17922 no
17923 \emph default
17924  si el comando mismo debe ser protegido
17925 \emph on
17926 .)
17927 \end_layout
17928
17929 \begin_layout Description
17930 \begin_inset Flex Code
17931 status collapsed
17932
17933 \begin_layout Plain Layout
17934 NoInsetLayout
17935 \end_layout
17936
17937 \end_inset
17938
17939  
17940 \lang english
17941 [
17942 \begin_inset Flex Code
17943 status collapsed
17944
17945 \begin_layout Plain Layout
17946
17947 \lang english
17948 <layout>
17949 \end_layout
17950
17951 \end_inset
17952
17953 ] Deletes an existing 
17954 \begin_inset Flex Code
17955 status collapsed
17956
17957 \begin_layout Plain Layout
17958
17959 \lang english
17960 InsetLayout
17961 \end_layout
17962
17963 \end_inset
17964
17965 .
17966 \end_layout
17967
17968 \begin_layout Description
17969 \begin_inset Flex Code
17970 status collapsed
17971
17972 \begin_layout Plain Layout
17973 ParbreakIsNewline
17974 \end_layout
17975
17976 \end_inset
17977
17978  [
17979 \begin_inset Flex Code
17980 status collapsed
17981
17982 \begin_layout Plain Layout
17983
17984 \emph on
17985 0
17986 \end_layout
17987
17988 \end_inset
17989
17990 ,
17991 \lang ngerman
17992
17993 \begin_inset space \thinspace{}
17994 \end_inset
17995
17996
17997 \lang spanish
17998
17999 \begin_inset Flex Code
18000 status collapsed
18001
18002 \begin_layout Plain Layout
18003 1
18004 \end_layout
18005
18006 \end_inset
18007
18008 ] Igual que para estilos de párrafo, véase 
18009 \begin_inset CommandInset ref
18010 LatexCommand ref
18011 reference "sub:Estilos-de-párrafo"
18012
18013 \end_inset
18014
18015 .
18016  Por omisión es falso.
18017 \end_layout
18018
18019 \begin_layout Description
18020 \begin_inset Flex Code
18021 status collapsed
18022
18023 \begin_layout Plain Layout
18024 PassThru
18025 \end_layout
18026
18027 \end_inset
18028
18029  [
18030 \emph on
18031
18032 \begin_inset Flex Code
18033 status collapsed
18034
18035 \begin_layout Plain Layout
18036
18037 \emph on
18038 0
18039 \end_layout
18040
18041 \end_inset
18042
18043
18044 \emph default
18045 ,
18046 \lang ngerman
18047
18048 \begin_inset space \thinspace{}
18049 \end_inset
18050
18051
18052 \lang spanish
18053
18054 \begin_inset Flex Code
18055 status collapsed
18056
18057 \begin_layout Plain Layout
18058 1
18059 \end_layout
18060
18061 \end_inset
18062
18063 ] Igual que para estilos de párrafo, véase 
18064 \begin_inset CommandInset ref
18065 LatexCommand ref
18066 reference "sub:Estilos-de-párrafo"
18067
18068 \end_inset
18069
18070 .
18071 \end_layout
18072
18073 \begin_layout Description
18074 \begin_inset Flex Code
18075 status collapsed
18076
18077 \begin_layout Plain Layout
18078 Preamble
18079 \end_layout
18080
18081 \end_inset
18082
18083  Igual que para estilos de párrafo, véase 
18084 \begin_inset CommandInset ref
18085 LatexCommand ref
18086 reference "sub:Estilos-de-párrafo"
18087
18088 \end_inset
18089
18090 .
18091 \end_layout
18092
18093 \begin_layout Description
18094 \begin_inset Flex Code
18095 status collapsed
18096
18097 \begin_layout Plain Layout
18098 RefPrefix
18099 \end_layout
18100
18101 \end_inset
18102
18103  [
18104 \begin_inset Flex Code
18105 status collapsed
18106
18107 \begin_layout Plain Layout
18108 string
18109 \end_layout
18110
18111 \end_inset
18112
18113 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de
18114  este tipo.
18115  Esto permite el uso de referencias con formato.
18116 \end_layout
18117
18118 \begin_layout Description
18119 \begin_inset Flex Code
18120 status collapsed
18121
18122 \begin_layout Plain Layout
18123 Requires 
18124 \end_layout
18125
18126 \end_inset
18127
18128  [
18129 \begin_inset Flex Code
18130 status collapsed
18131
18132 \begin_layout Plain Layout
18133 string
18134 \end_layout
18135
18136 \end_inset
18137
18138 ] Igual que para estilos de párrafo, véase 
18139 \begin_inset CommandInset ref
18140 LatexCommand ref
18141 reference "sub:Estilos-de-párrafo"
18142
18143 \end_inset
18144
18145 .
18146 \end_layout
18147
18148 \begin_layout Description
18149 \begin_inset Flex Code
18150 status collapsed
18151
18152 \begin_layout Plain Layout
18153 ResetArgs
18154 \end_layout
18155
18156 \end_inset
18157
18158  [
18159 \begin_inset Flex Code
18160 status collapsed
18161
18162 \begin_layout Plain Layout
18163
18164 \emph on
18165 0
18166 \end_layout
18167
18168 \end_inset
18169
18170 ,
18171 \begin_inset space \thinspace{}
18172 \end_inset
18173
18174
18175 \begin_inset Flex Code
18176 status collapsed
18177
18178 \begin_layout Plain Layout
18179 1
18180 \end_layout
18181
18182 \end_inset
18183
18184
18185 \lang english
18186 Resets the LaTeX arguments of this layout (as defined via the 
18187 \begin_inset Flex Code
18188 status collapsed
18189
18190 \begin_layout Plain Layout
18191
18192 \lang english
18193 Argument
18194 \end_layout
18195
18196 \end_inset
18197
18198  tag).
18199  This is useful if you have copied a style via 
18200 \begin_inset Flex Code
18201 status collapsed
18202
18203 \begin_layout Plain Layout
18204
18205 \lang english
18206 CopyStyle
18207 \end_layout
18208
18209 \end_inset
18210
18211 , but you do not want to inherit its (required and optional) arguments.
18212 \end_layout
18213
18214 \begin_layout Description
18215 \begin_inset Flex Code
18216 status collapsed
18217
18218 \begin_layout Plain Layout
18219 ResetsFont
18220 \end_layout
18221
18222 \end_inset
18223
18224  [
18225 \begin_inset Flex Code
18226 status collapsed
18227
18228 \begin_layout Plain Layout
18229 0
18230 \end_layout
18231
18232 \end_inset
18233
18234 ,
18235 \lang ngerman
18236
18237 \begin_inset space \thinspace{}
18238 \end_inset
18239
18240
18241 \lang spanish
18242
18243 \begin_inset Flex Code
18244 status collapsed
18245
18246 \begin_layout Plain Layout
18247
18248 \emph on
18249 1
18250 \end_layout
18251
18252 \end_inset
18253
18254 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
18255  Por omisión es su propia tipografía.
18256 \end_layout
18257
18258 \begin_layout Description
18259 \begin_inset Flex Code
18260 status collapsed
18261
18262 \begin_layout Plain Layout
18263 RightDelim
18264 \end_layout
18265
18266 \end_inset
18267
18268  [
18269 \begin_inset Flex Code
18270 status collapsed
18271
18272 \begin_layout Plain Layout
18273 string
18274 \end_layout
18275
18276 \end_inset
18277
18278
18279 \lang english
18280 A string that is put at the end of the layout content.
18281  A line break in the output can be indicated by
18282 \lang spanish
18283  
18284 \begin_inset Flex Code
18285 status collapsed
18286
18287 \begin_layout Plain Layout
18288 <br/>
18289 \end_layout
18290
18291 \end_inset
18292
18293 .
18294 \end_layout
18295
18296 \begin_layout Description
18297 \begin_inset Flex Code
18298 status collapsed
18299
18300 \begin_layout Plain Layout
18301 Spellcheck
18302 \end_layout
18303
18304 \end_inset
18305
18306  [
18307 \begin_inset Flex Code
18308 status collapsed
18309
18310 \begin_layout Plain Layout
18311 0
18312 \end_layout
18313
18314 \end_inset
18315
18316 ,
18317 \lang ngerman
18318
18319 \begin_inset space \thinspace{}
18320 \end_inset
18321
18322
18323 \lang spanish
18324
18325 \begin_inset Flex Code
18326 status collapsed
18327
18328 \begin_layout Plain Layout
18329
18330 \emph on
18331 1
18332 \end_layout
18333
18334 \end_inset
18335
18336 ] Revisar la ortografía del contenido del recuadro.
18337  Por omisión, sí.
18338 \end_layout
18339
18340 \begin_layout Subsection
18341 Contadores
18342 \begin_inset CommandInset label
18343 LatexCommand label
18344 name "sub:Contadores"
18345
18346 \end_inset
18347
18348
18349 \end_layout
18350
18351 \begin_layout Standard
18352 Es necesario definir los contadores (
18353 \begin_inset Flex MenuItem
18354 status collapsed
18355
18356 \begin_layout Plain Layout
18357 chapter
18358 \end_layout
18359
18360 \end_inset
18361
18362
18363 \begin_inset Flex MenuItem
18364 status collapsed
18365
18366 \begin_layout Plain Layout
18367 figure
18368 \end_layout
18369
18370 \end_inset
18371
18372 , \SpecialChar \ldots{}
18373 ) en la propia clase de texto.
18374  Los contadores estándar están definidos en el archivo 
18375 \begin_inset Flex Code
18376 status collapsed
18377
18378 \begin_layout Plain Layout
18379 stdcounters.inc
18380 \end_layout
18381
18382 \end_inset
18383
18384 , de modo que no tienes más que añadir
18385 \end_layout
18386
18387 \begin_layout LyX-Code
18388 Input stdcounters.inc
18389 \end_layout
18390
18391 \begin_layout Standard
18392 en el archivo de formato para que funcionen.
18393  Pero si quieres puedes definir contadores personalizados.
18394  La declaración de un contador debe comenzar con:
18395 \end_layout
18396
18397 \begin_layout LyX-Code
18398 Counter <nombre>
18399 \end_layout
18400
18401 \begin_layout Standard
18402 donde 
18403 \begin_inset Flex Code
18404 status collapsed
18405
18406 \begin_layout Plain Layout
18407 <nombre>
18408 \end_layout
18409
18410 \end_inset
18411
18412  es el nombre del contador.
18413  Hay que terminar con 
18414 \begin_inset Flex Code
18415 status collapsed
18416
18417 \begin_layout Plain Layout
18418 End
18419 \end_layout
18420
18421 \end_inset
18422
18423 .
18424 \end_layout
18425
18426 \begin_layout Standard
18427 Se pueden usar además los parámetros siguientes:
18428 \end_layout
18429
18430 \begin_layout Description
18431 \begin_inset Flex Code
18432 status collapsed
18433
18434 \begin_layout Plain Layout
18435 InitialValue
18436 \end_layout
18437
18438 \end_inset
18439
18440  [
18441 \begin_inset Flex Code
18442 status collapsed
18443
18444 \begin_layout Plain Layout
18445 int=1
18446 \end_layout
18447
18448 \end_inset
18449
18450
18451 \lang english
18452 Sets the initial value for the counter, to which it will be reset whenever
18453  that happens.
18454  Normally, one will want the default, 1.
18455 \end_layout
18456
18457 \begin_layout Description
18458 \begin_inset Flex Code
18459 status collapsed
18460
18461 \begin_layout Plain Layout
18462 LabelString
18463 \end_layout
18464
18465 \end_inset
18466
18467  [
18468 \begin_inset Flex Code
18469 status collapsed
18470
18471 \begin_layout Plain Layout
18472 string
18473 \end_layout
18474
18475 \end_inset
18476
18477 =""] Si se define esta cadena, indica cómo se muestra el contador.
18478  Al establecer este valor también se da el mismo valor a 
18479 \begin_inset Flex Code
18480 status collapsed
18481
18482 \begin_layout Plain Layout
18483 LabelStringAppendix
18484 \end_layout
18485
18486 \end_inset
18487
18488 .
18489  Para los valores de 'string' se pueden usar las estructuras siguientes:
18490 \end_layout
18491
18492 \begin_deeper
18493 \begin_layout Itemize
18494 \begin_inset Flex Code
18495 status collapsed
18496
18497 \begin_layout Plain Layout
18498
18499 \backslash
18500 thecounter
18501 \end_layout
18502
18503 \end_inset
18504
18505  será reemplazado por la expansión de 
18506 \begin_inset Flex Code
18507 status collapsed
18508
18509 \begin_layout Plain Layout
18510 LabelString
18511 \end_layout
18512
18513 \end_inset
18514
18515
18516 \begin_inset Newline linebreak
18517 \end_inset
18518
18519  (o 
18520 \begin_inset Flex Code
18521 status collapsed
18522
18523 \begin_layout Plain Layout
18524 LabelStringAppendix
18525 \end_layout
18526
18527 \end_inset
18528
18529 ) del contador 
18530 \begin_inset Flex Code
18531 status collapsed
18532
18533 \begin_layout Plain Layout
18534 counter
18535 \end_layout
18536
18537 \end_inset
18538
18539 .
18540  
18541 \end_layout
18542
18543 \begin_layout Itemize
18544 los valores del contador pueden expresarse usando macros tipo LaTeX como
18545  
18546 \begin_inset Flex Code
18547 status collapsed
18548
18549 \begin_layout Plain Layout
18550
18551 \backslash
18552
18553 \emph on
18554 numbertype
18555 \emph default
18556 {
18557 \emph on
18558 counter
18559 \emph default
18560 }
18561 \end_layout
18562
18563 \end_inset
18564
18565 , donde 
18566 \begin_inset Flex Code
18567 status collapsed
18568
18569 \begin_layout Plain Layout
18570
18571 \emph on
18572 numbertype
18573 \end_layout
18574
18575 \end_inset
18576
18577  puede ser: 
18578 \begin_inset Flex Code
18579 status collapsed
18580
18581 \begin_layout Plain Layout
18582 arabic
18583 \end_layout
18584
18585 \end_inset
18586
18587 : 1, 2, 3,\SpecialChar \ldots{}
18588
18589 \begin_inset Flex Code
18590 status collapsed
18591
18592 \begin_layout Plain Layout
18593 alph
18594 \end_layout
18595
18596 \end_inset
18597
18598  para minúsculas: a, b, c, \SpecialChar \ldots{}
18599
18600 \begin_inset Flex Code
18601 status collapsed
18602
18603 \begin_layout Plain Layout
18604 Alph
18605 \end_layout
18606
18607 \end_inset
18608
18609  para mayúsculas: A, B, C, \SpecialChar \ldots{}
18610
18611 \begin_inset Flex Code
18612 status collapsed
18613
18614 \begin_layout Plain Layout
18615 roman
18616 \end_layout
18617
18618 \end_inset
18619
18620  números romanos en minúscula: i, ii, iii, \SpecialChar \ldots{}
18621
18622 \begin_inset Foot
18623 status collapsed
18624
18625 \begin_layout Plain Layout
18626
18627 \size normal
18628 \emph on
18629 \color none
18630 N.
18631 \begin_inset space \thinspace{}
18632 \end_inset
18633
18634 del T.
18635 \emph default
18636 : El estilo 
18637 \family sans
18638
18639 \begin_inset Flex Code
18640 status collapsed
18641
18642 \begin_layout Plain Layout
18643
18644 \family sans
18645 \size normal
18646 \color none
18647 spanish
18648 \end_layout
18649
18650 \end_inset
18651
18652
18653 \family default
18654  de 
18655 \family sans
18656
18657 \begin_inset Flex Code
18658 status collapsed
18659
18660 \begin_layout Plain Layout
18661
18662 \family sans
18663 \size normal
18664 \color none
18665 babel
18666 \end_layout
18667
18668 \end_inset
18669
18670
18671 \family default
18672 \size default
18673 \color inherit
18674  los transforma automáticamente en versalitas
18675 \noun on
18676 , i, ii
18677 \noun default
18678 \SpecialChar \ldots{}
18679 , ya que los romanos en minúscula no se usan en español.
18680  
18681 \end_layout
18682
18683 \end_inset
18684
18685
18686 \begin_inset Flex Code
18687 status collapsed
18688
18689 \begin_layout Plain Layout
18690 Roman
18691 \end_layout
18692
18693 \end_inset
18694
18695  para romanos en mayúsculas: I, II, III.
18696 \end_layout
18697
18698 \end_deeper
18699 \begin_layout Standard
18700 Si no se define 
18701 \begin_inset Flex Code
18702 status collapsed
18703
18704 \begin_layout Plain Layout
18705 LabelString
18706 \end_layout
18707
18708 \end_inset
18709
18710 , se construye un valor por omisión así: si el contador tiene un contador
18711  maestro 
18712 \begin_inset Flex Code
18713 status collapsed
18714
18715 \begin_layout Plain Layout
18716 master
18717 \end_layout
18718
18719 \end_inset
18720
18721  (definido mediante 
18722 \begin_inset Flex Code
18723 status collapsed
18724
18725 \begin_layout Plain Layout
18726 Within
18727 \end_layout
18728
18729 \end_inset
18730
18731 ), se usa la cadena 
18732 \begin_inset Flex Code
18733 status collapsed
18734
18735 \begin_layout Plain Layout
18736
18737 \backslash
18738 themaster.
18739 \backslash
18740 arabic{counter}
18741 \end_layout
18742
18743 \end_inset
18744
18745 ; si no, se usa la cadena 
18746 \begin_inset Flex Code
18747 status collapsed
18748
18749 \begin_layout Plain Layout
18750
18751 \backslash
18752 arabic{counter}
18753 \end_layout
18754
18755 \end_inset
18756
18757 .
18758 \end_layout
18759
18760 \begin_layout Description
18761 \begin_inset Flex Code
18762 status collapsed
18763
18764 \begin_layout Plain Layout
18765 LabelStringAppendix
18766 \end_layout
18767
18768 \end_inset
18769
18770  [
18771 \begin_inset Flex Code
18772 status collapsed
18773
18774 \begin_layout Plain Layout
18775 string
18776 \end_layout
18777
18778 \end_inset
18779
18780 =""] Lo mismo que 
18781 \begin_inset Flex Code
18782 status collapsed
18783
18784 \begin_layout Plain Layout
18785 LabelString
18786 \end_layout
18787
18788 \end_inset
18789
18790 , pero para el apéndice.
18791 \end_layout
18792
18793 \begin_layout Description
18794 \begin_inset Flex Code
18795 status collapsed
18796
18797 \begin_layout Plain Layout
18798 PrettyFormat
18799 \end_layout
18800
18801 \end_inset
18802
18803  [
18804 \begin_inset Flex Code
18805 status collapsed
18806
18807 \begin_layout Plain Layout
18808 string
18809 \end_layout
18810
18811 \end_inset
18812
18813 =
18814 \begin_inset Quotes erd
18815 \end_inset
18816
18817
18818 \begin_inset Quotes erd
18819 \end_inset
18820
18821 ] Un formato para usar con las referencias a este contador.
18822  Por ejemplo, podríamos querer las referencias a los números de sección
18823  en la forma 
18824 \begin_inset Quotes fld
18825 \end_inset
18826
18827 Sección
18828 \begin_inset space ~
18829 \end_inset
18830
18831 2.4
18832 \begin_inset Quotes frd
18833 \end_inset
18834
18835 .
18836  La cadena debería contener 
18837 \begin_inset Quotes eld
18838 \end_inset
18839
18840 ##
18841 \begin_inset Quotes erd
18842 \end_inset
18843
18844 .
18845  Esto será reemplazado por el número correspondiente del contador.
18846  Así pues, para secciones sería: Section ##.
18847 \end_layout
18848
18849 \begin_layout Description
18850 \begin_inset Flex Code
18851 status collapsed
18852
18853 \begin_layout Plain Layout
18854 Within
18855 \end_layout
18856
18857 \end_inset
18858
18859  [
18860 \begin_inset Flex Code
18861 status collapsed
18862
18863 \begin_layout Plain Layout
18864 string
18865 \end_layout
18866
18867 \end_inset
18868
18869 =""] Si esto se establece para el nombre de otro contador, el presente contador
18870  se reiniciará cada vez que el otro aumente.
18871  Por ejemplo, 
18872 \begin_inset Flex Code
18873 status collapsed
18874
18875 \begin_layout Plain Layout
18876 subsection
18877 \end_layout
18878
18879 \end_inset
18880
18881  se numera dentro de 
18882 \begin_inset Flex Code
18883 status collapsed
18884
18885 \begin_layout Plain Layout
18886 section
18887 \end_layout
18888
18889 \end_inset
18890
18891 .
18892 \end_layout
18893
18894 \begin_layout Subsection
18895 Descripción de las tipografías
18896 \begin_inset CommandInset label
18897 LatexCommand label
18898 name "sub:Tipografías"
18899
18900 \end_inset
18901
18902
18903 \end_layout
18904
18905 \begin_layout Standard
18906 Una descripción de una tipografía se ve como:
18907 \end_layout
18908
18909 \begin_layout LyX-Code
18910 Font 
18911 \family roman
18912 \emph on
18913 o
18914 \family default
18915 \emph default
18916  LabelFont 
18917 \emph on
18918 o
18919 \emph default
18920  DefaultFont
18921 \end_layout
18922
18923 \begin_layout LyX-Code
18924  ...
18925 \end_layout
18926
18927 \begin_layout LyX-Code
18928 EndFont
18929 \end_layout
18930
18931 \begin_layout Standard
18932 Están disponibles los comandos siguientes:
18933 \end_layout
18934
18935 \begin_layout Description
18936 \begin_inset Flex Code
18937 status collapsed
18938
18939 \begin_layout Plain Layout
18940 Color
18941 \end_layout
18942
18943 \end_inset
18944
18945  [
18946 \begin_inset Flex Code
18947 status collapsed
18948
18949 \begin_layout Plain Layout
18950
18951 \emph on
18952 none
18953 \end_layout
18954
18955 \end_inset
18956
18957
18958 \begin_inset Flex Code
18959 status collapsed
18960
18961 \begin_layout Plain Layout
18962 black
18963 \end_layout
18964
18965 \end_inset
18966
18967
18968 \begin_inset Flex Code
18969 status collapsed
18970
18971 \begin_layout Plain Layout
18972 white
18973 \end_layout
18974
18975 \end_inset
18976
18977
18978 \begin_inset Flex Code
18979 status collapsed
18980
18981 \begin_layout Plain Layout
18982 red
18983 \end_layout
18984
18985 \end_inset
18986
18987
18988 \begin_inset Flex Code
18989 status collapsed
18990
18991 \begin_layout Plain Layout
18992 green
18993 \end_layout
18994
18995 \end_inset
18996
18997
18998 \begin_inset Flex Code
18999 status collapsed
19000
19001 \begin_layout Plain Layout
19002 blue
19003 \end_layout
19004
19005 \end_inset
19006
19007
19008 \begin_inset Flex Code
19009 status collapsed
19010
19011 \begin_layout Plain Layout
19012 cyan
19013 \end_layout
19014
19015 \end_inset
19016
19017
19018 \begin_inset Flex Code
19019 status collapsed
19020
19021 \begin_layout Plain Layout
19022 magenta
19023 \end_layout
19024
19025 \end_inset
19026
19027
19028 \begin_inset Flex Code
19029 status collapsed
19030
19031 \begin_layout Plain Layout
19032 yellow
19033 \end_layout
19034
19035 \end_inset
19036
19037 ]
19038 \end_layout
19039
19040 \begin_layout Description
19041 \begin_inset Flex Code
19042 status collapsed
19043
19044 \begin_layout Plain Layout
19045 Family
19046 \end_layout
19047
19048 \end_inset
19049
19050  [
19051 \emph on
19052
19053 \begin_inset Flex Code
19054 status collapsed
19055
19056 \begin_layout Plain Layout
19057
19058 \emph on
19059 Roman
19060 \end_layout
19061
19062 \end_inset
19063
19064
19065 \emph default
19066
19067 \begin_inset Flex Code
19068 status collapsed
19069
19070 \begin_layout Plain Layout
19071 Sans
19072 \end_layout
19073
19074 \end_inset
19075
19076
19077 \begin_inset Flex Code
19078 status collapsed
19079
19080 \begin_layout Plain Layout
19081 Typewriter
19082 \end_layout
19083
19084 \end_inset
19085
19086
19087 \end_layout
19088
19089 \begin_layout Description
19090 \begin_inset Flex Code
19091 status collapsed
19092
19093 \begin_layout Plain Layout
19094 Misc
19095 \end_layout
19096
19097 \end_inset
19098
19099  [
19100 \begin_inset Flex Code
19101 status collapsed
19102
19103 \begin_layout Plain Layout
19104 string
19105 \end_layout
19106
19107 \end_inset
19108
19109 ] Son argumentos válidos: 
19110 \begin_inset Flex Code
19111 status collapsed
19112
19113 \begin_layout Plain Layout
19114 emph
19115 \end_layout
19116
19117 \end_inset
19118
19119
19120 \begin_inset Flex Code
19121 status collapsed
19122
19123 \begin_layout Plain Layout
19124 noun
19125 \end_layout
19126
19127 \end_inset
19128
19129
19130 \begin_inset Flex Code
19131 status collapsed
19132
19133 \begin_layout Plain Layout
19134 strikeout
19135 \end_layout
19136
19137 \end_inset
19138
19139
19140 \begin_inset Flex Code
19141 status collapsed
19142
19143 \begin_layout Plain Layout
19144 underbar
19145 \end_layout
19146
19147 \end_inset
19148
19149
19150 \begin_inset Flex Code
19151 status collapsed
19152
19153 \begin_layout Plain Layout
19154 uuline
19155 \end_layout
19156
19157 \end_inset
19158
19159
19160 \begin_inset Flex Code
19161 status collapsed
19162
19163 \begin_layout Plain Layout
19164 uwave
19165 \end_layout
19166
19167 \end_inset
19168
19169
19170 \begin_inset Flex Code
19171 status collapsed
19172
19173 \begin_layout Plain Layout
19174 no_emph
19175 \end_layout
19176
19177 \end_inset
19178
19179
19180 \begin_inset Flex Code
19181 status collapsed
19182
19183 \begin_layout Plain Layout
19184 no_noun
19185 \end_layout
19186
19187 \end_inset
19188
19189
19190 \begin_inset Flex Code
19191 status collapsed
19192
19193 \begin_layout Plain Layout
19194 no_strikeout
19195 \end_layout
19196
19197 \end_inset
19198
19199
19200 \begin_inset Flex Code
19201 status collapsed
19202
19203 \begin_layout Plain Layout
19204 no_bar
19205 \end_layout
19206
19207 \end_inset
19208
19209
19210 \begin_inset Flex Code
19211 status collapsed
19212
19213 \begin_layout Plain Layout
19214 no_uuline
19215 \end_layout
19216
19217 \end_inset
19218
19219  y 
19220 \begin_inset Flex Code
19221 status collapsed
19222
19223 \begin_layout Plain Layout
19224 no_uwave
19225 \end_layout
19226
19227 \end_inset
19228
19229 .
19230  Cada uno de ellos activa o desactiva el atributo correspondiente.
19231  Por ejemplo, 
19232 \begin_inset Flex Code
19233 status collapsed
19234
19235 \begin_layout Plain Layout
19236 emph
19237 \end_layout
19238
19239 \end_inset
19240
19241  activa énfasis, y 
19242 \begin_inset Flex Code
19243 status collapsed
19244
19245 \begin_layout Plain Layout
19246 no_emph
19247 \end_layout
19248
19249 \end_inset
19250
19251  lo desactiva.
19252 \begin_inset Newline newline
19253 \end_inset
19254
19255 Si esto último parece superfluo, recordemos que la configuración de tipografías
19256  para el presente contexto se hereda generalmente del contexto circundante.
19257  Por eso 
19258 \begin_inset Flex Code
19259 status collapsed
19260
19261 \begin_layout Plain Layout
19262 no_emph
19263 \end_layout
19264
19265 \end_inset
19266
19267  desactivaría el énfasis que estaba vigente, digamos, en un entorno teorema.
19268 \end_layout
19269
19270 \begin_layout Description
19271 \begin_inset Flex Code
19272 status collapsed
19273
19274 \begin_layout Plain Layout
19275 Series
19276 \end_layout
19277
19278 \end_inset
19279
19280  [
19281 \emph on
19282
19283 \begin_inset Flex Code
19284 status collapsed
19285
19286 \begin_layout Plain Layout
19287
19288 \emph on
19289 Medium
19290 \end_layout
19291
19292 \end_inset
19293
19294
19295 \emph default
19296
19297 \begin_inset Flex Code
19298 status collapsed
19299
19300 \begin_layout Plain Layout
19301 Bold
19302 \end_layout
19303
19304 \end_inset
19305
19306
19307 \end_layout
19308
19309 \begin_layout Description
19310 \begin_inset Flex Code
19311 status collapsed
19312
19313 \begin_layout Plain Layout
19314 Shape
19315 \end_layout
19316
19317 \end_inset
19318
19319  [
19320 \emph on
19321
19322 \begin_inset Flex Code
19323 status collapsed
19324
19325 \begin_layout Plain Layout
19326
19327 \emph on
19328 Up
19329 \end_layout
19330
19331 \end_inset
19332
19333
19334 \emph default
19335
19336 \begin_inset Flex Code
19337 status collapsed
19338
19339 \begin_layout Plain Layout
19340 Italic
19341 \end_layout
19342
19343 \end_inset
19344
19345
19346 \begin_inset Flex Code
19347 status collapsed
19348
19349 \begin_layout Plain Layout
19350 SmallCaps
19351 \end_layout
19352
19353 \end_inset
19354
19355
19356 \begin_inset Flex Code
19357 status collapsed
19358
19359 \begin_layout Plain Layout
19360 Slanted
19361 \end_layout
19362
19363 \end_inset
19364
19365
19366 \end_layout
19367
19368 \begin_layout Description
19369 \begin_inset Flex Code
19370 status collapsed
19371
19372 \begin_layout Plain Layout
19373 Size
19374 \end_layout
19375
19376 \end_inset
19377
19378  [
19379 \begin_inset Flex Code
19380 status collapsed
19381
19382 \begin_layout Plain Layout
19383 tiny
19384 \end_layout
19385
19386 \end_inset
19387
19388
19389 \begin_inset Flex Code
19390 status collapsed
19391
19392 \begin_layout Plain Layout
19393 small
19394 \end_layout
19395
19396 \end_inset
19397
19398
19399 \begin_inset Flex Code
19400 status collapsed
19401
19402 \begin_layout Plain Layout
19403
19404 \emph on
19405 normal
19406 \end_layout
19407
19408 \end_inset
19409
19410
19411 \begin_inset Flex Code
19412 status collapsed
19413
19414 \begin_layout Plain Layout
19415 large
19416 \end_layout
19417
19418 \end_inset
19419
19420
19421 \begin_inset Flex Code
19422 status collapsed
19423
19424 \begin_layout Plain Layout
19425 larger
19426 \end_layout
19427
19428 \end_inset
19429
19430
19431 \begin_inset Flex Code
19432 status collapsed
19433
19434 \begin_layout Plain Layout
19435 largest
19436 \end_layout
19437
19438 \end_inset
19439
19440
19441 \begin_inset Flex Code
19442 status collapsed
19443
19444 \begin_layout Plain Layout
19445 huge
19446 \end_layout
19447
19448 \end_inset
19449
19450
19451 \begin_inset Flex Code
19452 status collapsed
19453
19454 \begin_layout Plain Layout
19455 giant
19456 \end_layout
19457
19458 \end_inset
19459
19460 ]
19461 \end_layout
19462
19463 \begin_layout Subsection
19464 Descripción del formato de cita
19465 \begin_inset CommandInset label
19466 LatexCommand label
19467 name "sub:Descripción-formato-cita"
19468
19469 \end_inset
19470
19471
19472 \end_layout
19473
19474 \begin_layout Standard
19475 Los bloques 
19476 \begin_inset Flex Code
19477 status collapsed
19478
19479 \begin_layout Plain Layout
19480 CiteFormat
19481 \end_layout
19482
19483 \end_inset
19484
19485  se usan para describir la forma en que debe mostrarse la información bibliográf
19486 ica, tanto en LyX (en el diálogo de citas y en las ayudas emergentes, por
19487  ejemplo) como en la salida XHTML.
19488  El aspecto de unode estos bloques podría ser este:
19489 \end_layout
19490
19491 \begin_layout LyX-Code
19492 CiteFormat
19493 \end_layout
19494
19495 \begin_layout LyX-Code
19496  article ...
19497 \end_layout
19498
19499 \begin_layout LyX-Code
19500  book ...
19501 \end_layout
19502
19503 \begin_layout LyX-Code
19504 End
19505 \end_layout
19506
19507 \begin_layout Standard
19508 Las líneas definen cómo se va a mostrar la información bibliográfica asociada
19509  con un artículo o libro, respectivamente, y tales definiciones se pueden
19510  dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo
19511  BibTeX.
19512  LyX define un formato por omsión en el código fuente que se usará si no
19513  se da una definición específica.
19514  LyX predefine varios formatos en el archivo 
19515 \begin_inset Flex Code
19516 status collapsed
19517
19518 \begin_layout Plain Layout
19519 stdciteformats.inc
19520 \end_layout
19521
19522 \end_inset
19523
19524 , que se incluye en la mayoría de las clases de documento de LyX.
19525 \end_layout
19526
19527 \begin_layout Standard
19528 Las definiciones usan un lenguaje simple que permite reemplazar las claves
19529  BibTeX por sus valores.
19530  Las claves deben encerrarse entre símbolos 
19531 \begin_inset Flex Code
19532 status collapsed
19533
19534 \begin_layout Plain Layout
19535 %
19536 \end_layout
19537
19538 \end_inset
19539
19540 , p.
19541 \begin_inset space \thinspace{}
19542 \end_inset
19543
19544 ej.: 
19545 \begin_inset Flex Code
19546 status collapsed
19547
19548 \begin_layout Plain Layout
19549 %author%
19550 \end_layout
19551
19552 \end_inset
19553
19554 .
19555  Así, una simple definición sería:
19556 \end_layout
19557
19558 \begin_layout LyX-Code
19559 misc %author%, 
19560 \begin_inset Quotes eld
19561 \end_inset
19562
19563 %title
19564 \begin_inset Quotes erd
19565 \end_inset
19566
19567 .
19568 \end_layout
19569
19570 \begin_layout Standard
19571 Esto imprimiría el autor, una coma, a continuación el título entre comillas
19572  y un punto para finalizar.
19573 \end_layout
19574
19575 \begin_layout Standard
19576 A veces querrás, por supuesto, imprimir una clave solo si existe.
19577  Esto puede hacerse mediante una construcción condicional tal como: 
19578 \begin_inset Flex Code
19579 status collapsed
19580
19581 \begin_layout Plain Layout
19582 {%volume%[[vol.
19583 \begin_inset space ~
19584 \end_inset
19585
19586 %volume%]]}
19587 \end_layout
19588
19589 \end_inset
19590
19591 , que quiere decir: si la clave 
19592 \begin_inset Flex Code
19593 status collapsed
19594
19595 \begin_layout Plain Layout
19596 volume
19597 \end_layout
19598
19599 \end_inset
19600
19601  existe, imprime 
19602 \begin_inset Quotes eld
19603 \end_inset
19604
19605 vol.
19606 \begin_inset space ~
19607 \end_inset
19608
19609
19610 \begin_inset Quotes erd
19611 \end_inset
19612
19613  seguido de la clave.
19614  También es posible tener una cláusula de otro modo en el condicional, como:
19615 \begin_inset Newline newline
19616 \end_inset
19617
19618
19619 \begin_inset Flex Code
19620 status collapsed
19621
19622 \begin_layout Plain Layout
19623 {%author%[[%author%]][[%editor%, ed.]]}
19624 \end_layout
19625
19626 \end_inset
19627
19628
19629 \begin_inset Newline newline
19630 \end_inset
19631
19632 Aquí, la clave 
19633 \begin_inset Flex Code
19634 status collapsed
19635
19636 \begin_layout Plain Layout
19637 author
19638 \end_layout
19639
19640 \end_inset
19641
19642  se imprime si existe; por otra parte, se imprime la clave 
19643 \begin_inset Flex Code
19644 status collapsed
19645
19646 \begin_layout Plain Layout
19647 author
19648 \end_layout
19649
19650 \end_inset
19651
19652  seguida por 
19653 \begin_inset Quotes eld
19654 \end_inset
19655
19656 ,
19657 \begin_inset space ~
19658 \end_inset
19659
19660 ed.
19661 \begin_inset Quotes erd
19662 \end_inset
19663
19664 .
19665  Advierte que la clave se encierra entre signos 
19666 \begin_inset Flex Code
19667 status collapsed
19668
19669 \begin_layout Plain Layout
19670 %
19671 \end_layout
19672
19673 \end_inset
19674
19675 ; el condicional entero se encierra entre llaves; y las cláusulas condicional
19676  y por otra parte se ponen entre cobles corchetes, 
19677 \begin_inset Quotes eld
19678 \end_inset
19679
19680
19681 \begin_inset Flex Code
19682 status collapsed
19683
19684 \begin_layout Plain Layout
19685 [[
19686 \end_layout
19687
19688 \end_inset
19689
19690
19691 \begin_inset Quotes eld
19692 \end_inset
19693
19694  y 
19695 \begin_inset Quotes eld
19696 \end_inset
19697
19698
19699 \begin_inset Flex Code
19700 status collapsed
19701
19702 \begin_layout Plain Layout
19703 ]]
19704 \end_layout
19705
19706 \end_inset
19707
19708
19709 \begin_inset Quotes erd
19710 \end_inset
19711
19712 .
19713  No debe haber espacios entre ninguno de ellos.
19714 \end_layout
19715
19716 \begin_layout Standard
19717 Hay otra pieza de sintaxis disponible en las definiciones, como esta: 
19718 \begin_inset Flex Code
19719 status collapsed
19720
19721 \begin_layout Plain Layout
19722 {!<i>!}
19723 \end_layout
19724
19725 \end_inset
19726
19727 .
19728  Define una pieza de información para ser usada cuando creamos 
19729 \begin_inset Quotes eld
19730 \end_inset
19731
19732 texto enriquecido
19733 \begin_inset Quotes erd
19734 \end_inset
19735
19736 .
19737  Obviamente, no queremos etiquetas HTML cuando escribimos texto sencillo,
19738  por tanto deben ponerse entre 
19739 \begin_inset Quotes eld
19740 \end_inset
19741
19742 {!
19743 \begin_inset Quotes erd
19744 \end_inset
19745
19746  y 
19747 \begin_inset Quotes eld
19748 \end_inset
19749
19750 !}
19751 \begin_inset Quotes erd
19752 \end_inset
19753
19754 .
19755 \end_layout
19756
19757 \begin_layout Standard
19758 Además, hay dos clases especiales de definiciones disponibles en un bloque
19759  
19760 \begin_inset Flex Code
19761 status collapsed
19762
19763 \begin_layout Plain Layout
19764 CiteFormat
19765 \end_layout
19766
19767 \end_inset
19768
19769 .
19770  Un ejemplo de la primera sería:
19771 \end_layout
19772
19773 \begin_layout LyX-Code
19774 !quotetitle 
19775 \begin_inset Quotes eld
19776 \end_inset
19777
19778 %title%
19779 \begin_inset Quotes erd
19780 \end_inset
19781
19782
19783 \end_layout
19784
19785 \begin_layout Standard
19786 Esto es una abreviación, o macro, y se puede usar tratándola como si fuera
19787  una clave: 
19788 \begin_inset Flex Code
19789 status collapsed
19790
19791 \begin_layout Plain Layout
19792 %!quotetitle%
19793 \end_layout
19794
19795 \end_inset
19796
19797 .
19798  LyX tratará 
19799 \begin_inset Flex Code
19800 status collapsed
19801
19802 \begin_layout Plain Layout
19803 %!quotetitle%
19804 \end_layout
19805
19806 \end_inset
19807
19808  exactamente como trataría su definición.
19809  Por tanto, permítenos un 
19810 \emph on
19811 aviso
19812 \emph default
19813  obvio.
19814  No hagas:
19815 \end_layout
19816
19817 \begin_layout LyX-Code
19818 !funfun %funfun%
19819 \end_layout
19820
19821 \begin_layout Standard
19822 ni nada parecido.
19823  LyX no caería en un bucle infinito, pero sí en uno muy largo.
19824 \end_layout
19825
19826 \begin_layout Standard
19827 El segundo tipo especial de definición sería como:
19828 \end_layout
19829
19830 \begin_layout LyX-Code
19831 _pptext pp.
19832 \end_layout
19833
19834 \begin_layout Standard
19835 Esto define un trozo de texto traducible, que permite traducir partes relevantes
19836  de la bibliografía.
19837  Puede incluirse en una definición tratándolo como una clave: 
19838 \begin_inset Flex Code
19839 status collapsed
19840
19841 \begin_layout Plain Layout
19842 %_pptext%
19843 \end_layout
19844
19845 \end_inset
19846
19847 .
19848  Varios de estos están predefinidos en 
19849 \begin_inset Flex Code
19850 status collapsed
19851
19852 \begin_layout Plain Layout
19853 stdciteformats.inc
19854 \end_layout
19855
19856 \end_inset
19857
19858 .
19859  Advertiremos que no son macros en el sentido definido.
19860  No se expandirán.
19861 \end_layout
19862
19863 \begin_layout Standard
19864 Aquí hay, pues, un ejemplo que usa todas estas características:
19865 \begin_inset VSpace defskip
19866 \end_inset
19867
19868
19869 \end_layout
19870
19871 \begin_layout Standard
19872 \noindent
19873
19874 \family typewriter
19875 !authoredit {%author%[[%author%, ]][[{%editor%[[%editor%, %_edtext%, ]]}]]}
19876 \end_layout
19877
19878 \begin_layout Standard
19879 \begin_inset VSpace defskip
19880 \end_inset
19881
19882 Así definimos una macro que imprime el autor seguido de coma, si la clave
19883  
19884 \begin_inset Flex Code
19885 status collapsed
19886
19887 \begin_layout Plain Layout
19888 author
19889 \end_layout
19890
19891 \end_inset
19892
19893  está definida, o imprime el nombre del editor seguido por el texto 
19894 \begin_inset Flex Code
19895 status collapsed
19896
19897 \begin_layout Plain Layout
19898 _edtext
19899 \end_layout
19900
19901 \end_inset
19902
19903  o su traducción (por omisión 
19904 \begin_inset Quotes eld
19905 \end_inset
19906
19907 ed.
19908 \begin_inset Quotes erd
19909 \end_inset
19910
19911 ), si la clave 
19912 \begin_inset Flex Code
19913 status collapsed
19914
19915 \begin_layout Plain Layout
19916 editor
19917 \end_layout
19918
19919 \end_inset
19920
19921  está definida.
19922  De hecho, esto está definido en 
19923 \begin_inset Flex Code
19924 status collapsed
19925
19926 \begin_layout Plain Layout
19927 stdciteformats.inc
19928 \end_layout
19929
19930 \end_inset
19931
19932 , por tanto puedes usarlo en tus propias definiciones o redefiniciones,
19933  si cargas antes ese archivo.
19934 \end_layout
19935
19936 \begin_layout Section
19937 Etiquetas para la salida XHTML
19938 \begin_inset CommandInset label
19939 LatexCommand label
19940 name "sec:Etiquetas-para-XHTML"
19941
19942 \end_inset
19943
19944
19945 \end_layout
19946
19947 \begin_layout Standard
19948 Como para LaTeX o DocBook, el formato de salida XHTML en LyX también se
19949  controla mediante la información contenida en archivos de formato.
19950  En general, LyX provee valores predefinidos sensatos y, como se mencionó
19951  anteriormente, incluso construirá reglas de estilo CSS a partir de las
19952  otras etiquetas de formato.
19953  Por ejemplo, LyX intentará usar la información proporcionada por la declaración
19954  
19955 \begin_inset Flex Code
19956 status collapsed
19957
19958 \begin_layout Plain Layout
19959 Font
19960 \end_layout
19961
19962 \end_inset
19963
19964  para el estilo Chapter para escribir CSS que formateará adecuadamente los
19965  encabezados de capítulo.
19966 \end_layout
19967
19968 \begin_layout Standard
19969 En muchos casos, por tanto, no tendrás que hacer nada para obtener una aceptable
19970  salida XHTML para tus propios entornos, recuadros personalizados y cosas
19971  así.
19972  Pero en ciertos casos querrás hacer cambios, y para eso LyX proporciona
19973  un número de etiquetas de formato que se pueden usar para personalizar
19974  los XHTML y CSS generados.
19975 \end_layout
19976
19977 \begin_layout Standard
19978 Advertimos que hay dos etiquetas, 
19979 \begin_inset Flex Code
19980 status collapsed
19981
19982 \begin_layout Plain Layout
19983 HTMLPreamble
19984 \end_layout
19985
19986 \end_inset
19987
19988  y 
19989 \begin_inset Flex Code
19990 status collapsed
19991
19992 \begin_layout Plain Layout
19993 AddToHTMLPreamble
19994 \end_layout
19995
19996 \end_inset
19997
19998  que pueden aparecer fuera de las declaraciones de estilos y recuadros.
19999  Véase 
20000 \begin_inset CommandInset ref
20001 LatexCommand ref
20002 reference "sub:Parámetros-generales-clases"
20003
20004 \end_inset
20005
20006  para detalles sobre esto.
20007 \end_layout
20008
20009 \begin_layout Subsection
20010 Estilos de párrafo
20011 \begin_inset CommandInset label
20012 LatexCommand label
20013 name "sub:Estilos-de-párrafo-XHTML"
20014
20015 \end_inset
20016
20017
20018 \end_layout
20019
20020 \begin_layout Standard
20021 El tipo de XHTML que genera LyX para un párrafo depende de si se trata de
20022  un párrafo normal, de un comando o de un entorno, en los que esto se determina
20023  por el contenido de la correspondiente etiqueta 
20024 \begin_inset Flex Code
20025 status collapsed
20026
20027 \begin_layout Plain Layout
20028 LaTeXType
20029 \end_layout
20030
20031 \end_inset
20032
20033 .
20034  
20035 \end_layout
20036
20037 \begin_layout Standard
20038 Para un comando o párrafo, la salida XHTML tiene la forma siguiente:
20039 \end_layout
20040
20041 \begin_layout LyX-Code
20042 <tag attr=
20043 \begin_inset Quotes erd
20044 \end_inset
20045
20046 value
20047 \begin_inset Quotes erd
20048 \end_inset
20049
20050 >
20051 \end_layout
20052
20053 \begin_layout LyX-Code
20054 <labeltag attr=
20055 \begin_inset Quotes erd
20056 \end_inset
20057
20058 value
20059 \begin_inset Quotes erd
20060 \end_inset
20061
20062 >Label</labeltag>
20063 \end_layout
20064
20065 \begin_layout LyX-Code
20066 Contents of the paragraph.
20067 \end_layout
20068
20069 \begin_layout LyX-Code
20070 </tag>
20071 \end_layout
20072
20073 \begin_layout Standard
20074 Por supuesto, `label tags´ se omiten si el párrafo no tiene rótulo.
20075 \end_layout
20076
20077 \begin_layout Standard
20078 Para un entorno que no sea algún tipo de lista, XHTML toma la forma:
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 >Environment Label</labeltag>First paragraph.</itemtag>
20111 \end_layout
20112
20113 \begin_layout LyX-Code
20114 <itemtag>Second paragraph.</itemtag>
20115 \end_layout
20116
20117 \begin_layout LyX-Code
20118 </tag>
20119 \end_layout
20120
20121 \begin_layout Standard
20122 El rótulo se genera solo para el primer párrafo, como debería ser, por ejemplo,
20123  para un teorema.
20124  
20125 \end_layout
20126
20127 \begin_layout Standard
20128 Para una lista disponemos de una de estas formas:
20129 \end_layout
20130
20131 \begin_layout LyX-Code
20132 <tag attr=
20133 \begin_inset Quotes erd
20134 \end_inset
20135
20136 value
20137 \begin_inset Quotes erd
20138 \end_inset
20139
20140 >
20141 \end_layout
20142
20143 \begin_layout LyX-Code
20144 <itemtag attr=
20145 \begin_inset Quotes erd
20146 \end_inset
20147
20148 value
20149 \begin_inset Quotes erd
20150 \end_inset
20151
20152 ><labeltag attr=
20153 \begin_inset Quotes erd
20154 \end_inset
20155
20156 value
20157 \begin_inset Quotes erd
20158 \end_inset
20159
20160 >List Label</labeltag>First item.</itemtag>
20161 \end_layout
20162
20163 \begin_layout LyX-Code
20164 <itemtag attr=
20165 \begin_inset Quotes erd
20166 \end_inset
20167
20168 value
20169 \begin_inset Quotes erd
20170 \end_inset
20171
20172 ><labeltag attr=
20173 \begin_inset Quotes erd
20174 \end_inset
20175
20176 value
20177 \begin_inset Quotes erd
20178 \end_inset
20179
20180 >List Label</labeltag>Second item.</itemtag>
20181 \end_layout
20182
20183 \begin_layout LyX-Code
20184 </tag>
20185 \end_layout
20186
20187 \begin_layout LyX-Code
20188
20189 \end_layout
20190
20191 \begin_layout LyX-Code
20192 <tag attr=
20193 \begin_inset Quotes erd
20194 \end_inset
20195
20196 value
20197 \begin_inset Quotes erd
20198 \end_inset
20199
20200 >
20201 \end_layout
20202
20203 \begin_layout LyX-Code
20204 <labeltag attr=
20205 \begin_inset Quotes erd
20206 \end_inset
20207
20208 value
20209 \begin_inset Quotes erd
20210 \end_inset
20211
20212 >List Label</labeltag><itemtag attr=
20213 \begin_inset Quotes erd
20214 \end_inset
20215
20216 value
20217 \begin_inset Quotes erd
20218 \end_inset
20219
20220 >First item.</itemtag>
20221 \end_layout
20222
20223 \begin_layout LyX-Code
20224 <labeltag attr=
20225 \begin_inset Quotes erd
20226 \end_inset
20227
20228 value
20229 \begin_inset Quotes erd
20230 \end_inset
20231
20232 >List Label</labeltag><itemtag attr=
20233 \begin_inset Quotes erd
20234 \end_inset
20235
20236 value
20237 \begin_inset Quotes erd
20238 \end_inset
20239
20240 >Second item.</itemtag>
20241 \end_layout
20242
20243 \begin_layout LyX-Code
20244 </tag>
20245 \end_layout
20246
20247 \begin_layout Standard
20248 Observa los diferentes órdenes de 
20249 \begin_inset Flex Code
20250 status collapsed
20251
20252 \begin_layout Plain Layout
20253 labeltag
20254 \end_layout
20255
20256 \end_inset
20257
20258  e 
20259 \begin_inset Flex Code
20260 status collapsed
20261
20262 \begin_layout Plain Layout
20263 itemtag
20264 \end_layout
20265
20266 \end_inset
20267
20268 .
20269  El orden que obtenemos depende del ajuste de 
20270 \begin_inset Flex Code
20271 status collapsed
20272
20273 \begin_layout Plain Layout
20274 HTMLLabelFirst
20275 \end_layout
20276
20277 \end_inset
20278
20279 : Si 
20280 \begin_inset Flex Code
20281 status collapsed
20282
20283 \begin_layout Plain Layout
20284 HTMLLabelFirst
20285 \end_layout
20286
20287 \end_inset
20288
20289  es falso (por omisión), se obtiene el primero de ellos, con el rótulo dentro
20290  del ítem; si verdadero, se obtiene el segundo, con el rótulo fuera del
20291  ítem.
20292 \end_layout
20293
20294 \begin_layout Standard
20295 Las etiquetas específicas y la salida de los atributos para cada tipo de
20296  párrafo puede ser controlado por medio de las etiquetas de formato que
20297  vamos a describir.
20298  Como mencionamos antes, sin embargo, LyX usa predefinidos adecuados para
20299  muchos de estos valores, por lo que generalmente no necesitarás hacer nada
20300  para obtener una buena salida XHTML.
20301  Partiendo de las etiquetas ya disponibles puedes afinar lascosas a tu gusto.
20302 \end_layout
20303
20304 \begin_layout Description
20305 \begin_inset Flex Code
20306 status collapsed
20307
20308 \begin_layout Plain Layout
20309 HTMLAttr
20310 \end_layout
20311
20312 \end_inset
20313
20314  [
20315 \begin_inset Flex Code
20316 status collapsed
20317
20318 \begin_layout Plain Layout
20319 string
20320 \end_layout
20321
20322 \end_inset
20323
20324 ] Especifica información de los atributos a entregar con la etiqueta principal.
20325  Por ejemplo, 
20326 \begin_inset Quotes eld
20327 \end_inset
20328
20329
20330 \begin_inset Flex Code
20331 status collapsed
20332
20333 \begin_layout Plain Layout
20334 class=`mydiv'
20335 \end_layout
20336
20337 \end_inset
20338
20339
20340 \begin_inset Quotes erd
20341 \end_inset
20342
20343 .
20344  Por omisión, LyX producirá 
20345 \begin_inset Quotes eld
20346 \end_inset
20347
20348
20349 \begin_inset Flex Code
20350 status collapsed
20351
20352 \begin_layout Plain Layout
20353 class=`layoutname'
20354 \end_layout
20355
20356 \end_inset
20357
20358
20359 \begin_inset Quotes erd
20360 \end_inset
20361
20362 , donde 
20363 \begin_inset Flex Code
20364 status collapsed
20365
20366 \begin_layout Plain Layout
20367 layoutname
20368 \end_layout
20369
20370 \end_inset
20371
20372  es el nombre del formato en LyX, en minúsculas, por ejemplo: chapter.
20373  Esto 
20374 \emph on
20375 no
20376 \emph default
20377  debería contener ninguna información de estilo.
20378  Usa 
20379 \begin_inset Flex Code
20380 status collapsed
20381
20382 \begin_layout Plain Layout
20383 HTMLStyle
20384 \end_layout
20385
20386 \end_inset
20387
20388  para ese propósito.
20389 \end_layout
20390
20391 \begin_layout Description
20392 \begin_inset Flex Code
20393 status collapsed
20394
20395 \begin_layout Plain Layout
20396 HTMLForceCSS
20397 \end_layout
20398
20399 \end_inset
20400
20401  [
20402 \begin_inset Flex Code
20403 status collapsed
20404
20405 \begin_layout Plain Layout
20406
20407 \emph on
20408 0
20409 \end_layout
20410
20411 \end_inset
20412
20413 ,
20414 \begin_inset space \thinspace{}
20415 \end_inset
20416
20417
20418 \begin_inset Flex Code
20419 status collapsed
20420
20421 \begin_layout Plain Layout
20422 1
20423 \end_layout
20424
20425 \end_inset
20426
20427 ] Si producir la información CSS predeterminada que LyX genera para este
20428  formato, incluso si se proporciona explícitamente información adicional
20429  mediante 
20430 \begin_inset Flex Code
20431 status collapsed
20432
20433 \begin_layout Plain Layout
20434 HTMLStyle
20435 \end_layout
20436
20437 \end_inset
20438
20439 .
20440  Poner 
20441 \begin_inset Flex Code
20442 status collapsed
20443
20444 \begin_layout Plain Layout
20445 1
20446 \end_layout
20447
20448 \end_inset
20449
20450  permite alterar o aumentar el CSS generado, no sobrescribirlo totalmente.
20451  Por omisión es 
20452 \begin_inset Flex Code
20453 status collapsed
20454
20455 \begin_layout Plain Layout
20456 0
20457 \end_layout
20458
20459 \end_inset
20460
20461 .
20462 \end_layout
20463
20464 \begin_layout Description
20465 \begin_inset Flex Code
20466 status collapsed
20467
20468 \begin_layout Plain Layout
20469 HTMLItem
20470 \end_layout
20471
20472 \end_inset
20473
20474  [
20475 \begin_inset Flex Code
20476 status collapsed
20477
20478 \begin_layout Plain Layout
20479 string
20480 \end_layout
20481
20482 \end_inset
20483
20484 ] Etiqueta a usar para párrafos individuales de entornos, reemplazando 
20485 \begin_inset Flex Code
20486 status collapsed
20487
20488 \begin_layout Plain Layout
20489 itemtag
20490 \end_layout
20491
20492 \end_inset
20493
20494  en los ejemplos de arriba.
20495  Por omisión, 
20496 \begin_inset Flex Code
20497 status collapsed
20498
20499 \begin_layout Plain Layout
20500 div
20501 \end_layout
20502
20503 \end_inset
20504
20505 .
20506 \end_layout
20507
20508 \begin_layout Description
20509 \begin_inset Flex Code
20510 status collapsed
20511
20512 \begin_layout Plain Layout
20513 HTMLItemAttr
20514 \end_layout
20515
20516 \end_inset
20517
20518  [
20519 \begin_inset Flex Code
20520 status collapsed
20521
20522 \begin_layout Plain Layout
20523 string
20524 \end_layout
20525
20526 \end_inset
20527
20528 ] Atributos para la etiqueta ítem.
20529  Por omisión 
20530 \begin_inset Quotes eld
20531 \end_inset
20532
20533
20534 \begin_inset Flex Code
20535 status collapsed
20536
20537 \begin_layout Plain Layout
20538 class=`layoutname_item'
20539 \end_layout
20540
20541 \end_inset
20542
20543
20544 \begin_inset Quotes erd
20545 \end_inset
20546
20547 .
20548  Esto 
20549 \emph on
20550 no
20551 \emph default
20552  debería contener ninguna información de estilo.
20553  Usa 
20554 \begin_inset Flex Code
20555 status collapsed
20556
20557 \begin_layout Plain Layout
20558 HTMLStyle
20559 \end_layout
20560
20561 \end_inset
20562
20563  para ese propósito.
20564 \end_layout
20565
20566 \begin_layout Description
20567 \begin_inset Flex Code
20568 status collapsed
20569
20570 \begin_layout Plain Layout
20571 HTMLLabel
20572 \end_layout
20573
20574 \end_inset
20575
20576  [
20577 \begin_inset Flex Code
20578 status collapsed
20579
20580 \begin_layout Plain Layout
20581 string
20582 \end_layout
20583
20584 \end_inset
20585
20586 ] Etiqueta a usar para rótulos de párrafos e ítems, reemplazando 
20587 \begin_inset Flex Code
20588 status collapsed
20589
20590 \begin_layout Plain Layout
20591 labeltag
20592 \end_layout
20593
20594 \end_inset
20595
20596  en los ejemplos de arriba.
20597  Por omisión, 
20598 \begin_inset Flex Code
20599 status collapsed
20600
20601 \begin_layout Plain Layout
20602 span
20603 \end_layout
20604
20605 \end_inset
20606
20607 , a menos que 
20608 \begin_inset Flex Code
20609 status collapsed
20610
20611 \begin_layout Plain Layout
20612 LabelType
20613 \end_layout
20614
20615 \end_inset
20616
20617  sea 
20618 \begin_inset Flex Code
20619 status collapsed
20620
20621 \begin_layout Plain Layout
20622 Top_Environment
20623 \end_layout
20624
20625 \end_inset
20626
20627  o 
20628 \begin_inset Flex Code
20629 status collapsed
20630
20631 \begin_layout Plain Layout
20632 Centered_Top_Environment
20633 \end_layout
20634
20635 \end_inset
20636
20637 , en cuyos casos es 
20638 \begin_inset Flex Code
20639 status collapsed
20640
20641 \begin_layout Plain Layout
20642 div
20643 \end_layout
20644
20645 \end_inset
20646
20647  por omisión.
20648 \end_layout
20649
20650 \begin_layout Description
20651 \begin_inset Flex Code
20652 status collapsed
20653
20654 \begin_layout Plain Layout
20655 HTMLLabelAttr
20656 \end_layout
20657
20658 \end_inset
20659
20660  [
20661 \begin_inset Flex Code
20662 status collapsed
20663
20664 \begin_layout Plain Layout
20665 string
20666 \end_layout
20667
20668 \end_inset
20669
20670 ] Atributos para la etiqueta del rótulo.
20671  Por omisión es 
20672 \begin_inset Quotes eld
20673 \end_inset
20674
20675
20676 \begin_inset Flex Code
20677 status collapsed
20678
20679 \begin_layout Plain Layout
20680 class=`layoutname_label'
20681 \end_layout
20682
20683 \end_inset
20684
20685
20686 \begin_inset Quotes erd
20687 \end_inset
20688
20689 .
20690  Esto 
20691 \emph on
20692 no
20693 \emph default
20694  debería contener ninguna información de estilo.
20695  Usa 
20696 \begin_inset Flex Code
20697 status collapsed
20698
20699 \begin_layout Plain Layout
20700 HTMLStyle
20701 \end_layout
20702
20703 \end_inset
20704
20705  para ese propósito.
20706 \end_layout
20707
20708 \begin_layout Description
20709 \begin_inset Flex Code
20710 status collapsed
20711
20712 \begin_layout Plain Layout
20713 HTMLLabelFirst
20714 \end_layout
20715
20716 \end_inset
20717
20718  [
20719 \begin_inset Flex Code
20720 status collapsed
20721
20722 \begin_layout Plain Layout
20723
20724 \emph on
20725 0
20726 \end_layout
20727
20728 \end_inset
20729
20730 ,
20731 \begin_inset space \thinspace{}
20732 \end_inset
20733
20734
20735 \begin_inset Flex Code
20736 status collapsed
20737
20738 \begin_layout Plain Layout
20739 1
20740 \end_layout
20741
20742 \end_inset
20743
20744 ] Solo es significativo para entornos tipo lista, esta etiqueta controla
20745  si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
20746  Se usa, por ejemplo, en el entorno descripción, donde queremos `
20747 \begin_inset Flex Code
20748 status collapsed
20749
20750 \begin_layout Plain Layout
20751 <dt>\SpecialChar \ldots{}
20752 </dt><dd>\SpecialChar \ldots{}
20753 </dd>
20754 \end_layout
20755
20756 \end_inset
20757
20758 .
20759  Por omisión, 
20760 \begin_inset Flex Code
20761 status collapsed
20762
20763 \begin_layout Plain Layout
20764 0
20765 \end_layout
20766
20767 \end_inset
20768
20769 : la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
20770 \end_layout
20771
20772 \begin_layout Description
20773 \begin_inset Flex Code
20774 status collapsed
20775
20776 \begin_layout Plain Layout
20777 HTMLPreamble
20778 \end_layout
20779
20780 \end_inset
20781
20782  Información para generar en la sección 
20783 \begin_inset Flex Code
20784 status collapsed
20785
20786 \begin_layout Plain Layout
20787 <head>
20788 \end_layout
20789
20790 \end_inset
20791
20792  cuando se usa este estilo.
20793  Esto podría, por ejemplo, utilizarse para incluir un bloque 
20794 \begin_inset Flex Code
20795 status collapsed
20796
20797 \begin_layout Plain Layout
20798 <script>
20799 \end_layout
20800
20801 \end_inset
20802
20803  definiendo un controlador 
20804 \begin_inset Flex Code
20805 status collapsed
20806
20807 \begin_layout Plain Layout
20808 onclick
20809 \end_layout
20810
20811 \end_inset
20812
20813 .
20814 \end_layout
20815
20816 \begin_layout Description
20817 \begin_inset Flex Code
20818 status collapsed
20819
20820 \begin_layout Plain Layout
20821 HTMLStyle
20822 \end_layout
20823
20824 \end_inset
20825
20826  Información de estilo CSS a incluir cuando se usa este estilo.
20827  Advertimos que esto será automáticamente envuelto en un bloque 
20828 \begin_inset Flex Code
20829 status collapsed
20830
20831 \begin_layout Plain Layout
20832 <style>
20833 \end_layout
20834
20835 \end_inset
20836
20837  generado por el formato, por tanto solo es necesario incluir el propio
20838  CSS.
20839  
20840 \lang english
20841 Must end with
20842 \lang spanish
20843  
20844 \begin_inset Flex Code
20845 status collapsed
20846
20847 \begin_layout Plain Layout
20848 EndHTMLStyle
20849 \end_layout
20850
20851 \end_inset
20852
20853 .
20854 \end_layout
20855
20856 \begin_layout Description
20857 \begin_inset Flex Code
20858 status collapsed
20859
20860 \begin_layout Plain Layout
20861 HTMLTag
20862 \end_layout
20863
20864 \end_inset
20865
20866  [
20867 \begin_inset Flex Code
20868 status collapsed
20869
20870 \begin_layout Plain Layout
20871 string
20872 \end_layout
20873
20874 \end_inset
20875
20876 ] Etiqueta para el rótulo principal, reemplazando 
20877 \begin_inset Flex Code
20878 status collapsed
20879
20880 \begin_layout Plain Layout
20881 tag
20882 \end_layout
20883
20884 \end_inset
20885
20886  en losejemplos de arriba.
20887  Por omisión es 
20888 \begin_inset Flex Code
20889 status collapsed
20890
20891 \begin_layout Plain Layout
20892 div
20893 \end_layout
20894
20895 \end_inset
20896
20897 .
20898 \end_layout
20899
20900 \begin_layout Description
20901 \begin_inset Flex Code
20902 status collapsed
20903
20904 \begin_layout Plain Layout
20905 HTMLTitle
20906 \end_layout
20907
20908 \end_inset
20909
20910  [
20911 \begin_inset Flex Code
20912 status collapsed
20913
20914 \begin_layout Plain Layout
20915
20916 \emph on
20917 0
20918 \end_layout
20919
20920 \end_inset
20921
20922 ,
20923 \begin_inset space \thinspace{}
20924 \end_inset
20925
20926
20927 \begin_inset Flex Code
20928 status collapsed
20929
20930 \begin_layout Plain Layout
20931 1
20932 \end_layout
20933
20934 \end_inset
20935
20936 ] Marca este estilo como el que se va a usar para generar la etiqueta 
20937 \begin_inset Flex Code
20938 status collapsed
20939
20940 \begin_layout Plain Layout
20941 <title>
20942 \end_layout
20943
20944 \end_inset
20945
20946  para el archivo XHTML.
20947  Por omisión, es falso.
20948  El archivo 
20949 \begin_inset Flex Code
20950 status collapsed
20951
20952 \begin_layout Plain Layout
20953 stdtitle.inc
20954 \end_layout
20955
20956 \end_inset
20957
20958  lo establece verdadero para el entorno 
20959 \begin_inset Flex Code
20960 status collapsed
20961
20962 \begin_layout Plain Layout
20963 title
20964 \end_layout
20965
20966 \end_inset
20967
20968 .
20969  
20970 \end_layout
20971
20972 \begin_layout Subsection
20973 Recuadros XHTML
20974 \end_layout
20975
20976 \begin_layout Standard
20977 La salida XHTML de los recuadros también se puede controlar por información
20978  en archivos 'layout'.
20979 \begin_inset Foot
20980 status collapsed
20981
20982 \begin_layout Plain Layout
20983 Por ahora, esto solo es cierto para recuadros de 
20984 \begin_inset Quotes eld
20985 \end_inset
20986
20987 texto
20988 \begin_inset Quotes erd
20989 \end_inset
20990
20991  (recuadros en los que puedes escribir) y no para recuadros de 
20992 \begin_inset Quotes eld
20993 \end_inset
20994
20995 commandos
20996 \begin_inset Quotes erd
20997 \end_inset
20998
20999  (recuadros asociados con cuadros de diálogo).
21000 \end_layout
21001
21002 \end_inset
21003
21004  También en este caso, LyX intenta proporcionar valores predefinidos adecuados,
21005  y construye reglas de estilo CSS, pero todo puede personalizarse.
21006 \end_layout
21007
21008 \begin_layout Standard
21009 Para los recuadros, LyX produce XHTML en la forma:
21010 \end_layout
21011
21012 \begin_layout LyX-Code
21013 <tag attr=
21014 \begin_inset Quotes erd
21015 \end_inset
21016
21017 value
21018 \begin_inset Quotes erd
21019 \end_inset
21020
21021 >
21022 \end_layout
21023
21024 \begin_layout LyX-Code
21025 <labeltag>Label</labeltag>
21026 \end_layout
21027
21028 \begin_layout LyX-Code
21029 <innertag attr=
21030 \begin_inset Quotes erd
21031 \end_inset
21032
21033 value
21034 \begin_inset Quotes erd
21035 \end_inset
21036
21037 >Contents of the inset.</innertag>
21038 \end_layout
21039
21040 \begin_layout LyX-Code
21041 </tag>
21042 \end_layout
21043
21044 \begin_layout Standard
21045 Si el recuadro permite párrafos múltiples ---o sea, si 
21046 \begin_inset Flex Code
21047 status collapsed
21048
21049 \begin_layout Plain Layout
21050 MultiPar
21051 \end_layout
21052
21053 \end_inset
21054
21055  es verdadero--- el contenido del recuadro se generará en forma de párrafos
21056  estructurados según los estilos usados para dichos párrafos (normal, cita,
21057  y similares).
21058  El rótulo de la etiqueta se omite si el párrafo no lo tiene y, por el momento,
21059  es siempre 
21060 \begin_inset Flex Code
21061 status collapsed
21062
21063 \begin_layout Plain Layout
21064 span
21065 \end_layout
21066
21067 \end_inset
21068
21069 .
21070  La etiqueta interior es opcional y, por omisión, no aparece.
21071 \end_layout
21072
21073 \begin_layout Standard
21074 Las etiquetas y atributos específicos para cada recuadro se pueden controlar
21075  mediante las siguientes etiquetas de formato.
21076 \end_layout
21077
21078 \begin_layout Description
21079 \begin_inset Flex Code
21080 status collapsed
21081
21082 \begin_layout Plain Layout
21083 HTMLAttr
21084 \end_layout
21085
21086 \end_inset
21087
21088  [
21089 \begin_inset Flex Code
21090 status collapsed
21091
21092 \begin_layout Plain Layout
21093 string
21094 \end_layout
21095
21096 \end_inset
21097
21098 ] Especifica información de atributos a generar con la etiqueta principal.
21099  Por ejemplo, 
21100 \begin_inset Quotes eld
21101 \end_inset
21102
21103
21104 \begin_inset Flex Code
21105 status collapsed
21106
21107 \begin_layout Plain Layout
21108 class=`myinset' onclick=`\SpecialChar \ldots{}
21109 '
21110 \end_layout
21111
21112 \end_inset
21113
21114
21115 \begin_inset Quotes erd
21116 \end_inset
21117
21118 .
21119  Por omisión, LyX generará 
21120 \begin_inset Quotes eld
21121 \end_inset
21122
21123
21124 \begin_inset Flex Code
21125 status collapsed
21126
21127 \begin_layout Plain Layout
21128 class=`insetname'
21129 \end_layout
21130
21131 \end_inset
21132
21133
21134 \begin_inset Quotes erd
21135 \end_inset
21136
21137 , donde 
21138 \begin_inset Flex Code
21139 status collapsed
21140
21141 \begin_layout Plain Layout
21142 insetname
21143 \end_layout
21144
21145 \end_inset
21146
21147  es el nombre del recuadro en LyX, en minúsculas y con los caracteres no
21148  alfanuméricos convertidos en guiones bajos, por ejemplo: footnote.
21149 \end_layout
21150
21151 \begin_layout Description
21152 \begin_inset Flex Code
21153 status collapsed
21154
21155 \begin_layout Plain Layout
21156 HTMLForceCSS
21157 \end_layout
21158
21159 \end_inset
21160
21161  [
21162 \begin_inset Flex Code
21163 status collapsed
21164
21165 \begin_layout Plain Layout
21166
21167 \emph on
21168 0
21169 \end_layout
21170
21171 \end_inset
21172
21173 ,
21174 \begin_inset space \thinspace{}
21175 \end_inset
21176
21177
21178 \begin_inset Flex Code
21179 status collapsed
21180
21181 \begin_layout Plain Layout
21182 1
21183 \end_layout
21184
21185 \end_inset
21186
21187 ] Si producir la información CSS predeterminadad que LyX genera para este
21188  formato, incluso si se da explícitamente información adicional con 
21189 \begin_inset Flex Code
21190 status collapsed
21191
21192 \begin_layout Plain Layout
21193 HTMLStyle
21194 \end_layout
21195
21196 \end_inset
21197
21198 .
21199  Si esto es 
21200 \begin_inset Flex Code
21201 status collapsed
21202
21203 \begin_layout Plain Layout
21204 1
21205 \end_layout
21206
21207 \end_inset
21208
21209  parmite alterar o aumentar el CSS generado, en vez de sobrescribirlo.
21210  Por omisión, 0.
21211 \end_layout
21212
21213 \begin_layout Description
21214 \begin_inset Flex Code
21215 status collapsed
21216
21217 \begin_layout Plain Layout
21218 HTMLInnerAttr
21219 \end_layout
21220
21221 \end_inset
21222
21223  [
21224 \begin_inset Flex Code
21225 status collapsed
21226
21227 \begin_layout Plain Layout
21228 string
21229 \end_layout
21230
21231 \end_inset
21232
21233 ] Atributos para la etiqueta interna.
21234  Por omisión, es 
21235 \begin_inset Quotes eld
21236 \end_inset
21237
21238
21239 \begin_inset Flex Code
21240 status collapsed
21241
21242 \begin_layout Plain Layout
21243 class=`insetname_inner'
21244 \end_layout
21245
21246 \end_inset
21247
21248
21249 \begin_inset Quotes erd
21250 \end_inset
21251
21252 .
21253 \end_layout
21254
21255 \begin_layout Description
21256 \begin_inset Flex Code
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 HTMLInnerTag
21261 \end_layout
21262
21263 \end_inset
21264
21265  [
21266 \begin_inset Flex Code
21267 status collapsed
21268
21269 \begin_layout Plain Layout
21270 string
21271 \end_layout
21272
21273 \end_inset
21274
21275 ] La etiqueta interna, reemplazando 
21276 \begin_inset Flex Code
21277 status collapsed
21278
21279 \begin_layout Plain Layout
21280 innertag
21281 \end_layout
21282
21283 \end_inset
21284
21285  en los ejemplos de arriba.
21286  Por omisión, ninguna.
21287 \end_layout
21288
21289 \begin_layout Description
21290 \begin_inset Flex Code
21291 status collapsed
21292
21293 \begin_layout Plain Layout
21294 HTMLIsBlock
21295 \end_layout
21296
21297 \end_inset
21298
21299  [
21300 \begin_inset Flex Code
21301 status collapsed
21302
21303 \begin_layout Plain Layout
21304 0
21305 \end_layout
21306
21307 \end_inset
21308
21309 ,
21310 \begin_inset space \thinspace{}
21311 \end_inset
21312
21313
21314 \begin_inset Flex Code
21315 status collapsed
21316
21317 \begin_layout Plain Layout
21318
21319 \emph on
21320 1
21321 \end_layout
21322
21323 \end_inset
21324
21325 ] Si este recuadro representa un bloque de texto independiente (como una
21326  nota al pie) o bien representa material que está incluido en el texto circundan
21327 te (como una rama).
21328  Por omisión, 1.
21329 \end_layout
21330
21331 \begin_layout Description
21332 \begin_inset Flex Code
21333 status collapsed
21334
21335 \begin_layout Plain Layout
21336 HTMLLabel
21337 \end_layout
21338
21339 \end_inset
21340
21341  [
21342 \begin_inset Flex Code
21343 status collapsed
21344
21345 \begin_layout Plain Layout
21346 string
21347 \end_layout
21348
21349 \end_inset
21350
21351 ] Un rótulo para este recuadro, posiblemente incluyendo una referencia a
21352  un contador.
21353  Por ejemplo, para notas al pie, podría ser: 
21354 \begin_inset Flex Code
21355 status collapsed
21356
21357 \begin_layout Plain Layout
21358
21359 \backslash
21360 arabic{footnote}
21361 \end_layout
21362
21363 \end_inset
21364
21365 .
21366  Esto es opcional y no hay valor predeterminado.
21367 \end_layout
21368
21369 \begin_layout Description
21370 \begin_inset Flex Code
21371 status collapsed
21372
21373 \begin_layout Plain Layout
21374 HTMLPreamble
21375 \end_layout
21376
21377 \end_inset
21378
21379  Información que saldrá en la sección 
21380 \begin_inset Flex Code
21381 status collapsed
21382
21383 \begin_layout Plain Layout
21384 <head>
21385 \end_layout
21386
21387 \end_inset
21388
21389  cuando se usa este estilo.
21390  Esto podría usarse, por ejemplo, para incluir un bloque 
21391 \begin_inset Flex Code
21392 status collapsed
21393
21394 \begin_layout Plain Layout
21395 <script>
21396 \end_layout
21397
21398 \end_inset
21399
21400  que defina un controlador 
21401 \begin_inset Flex Code
21402 status collapsed
21403
21404 \begin_layout Plain Layout
21405 onclick
21406 \end_layout
21407
21408 \end_inset
21409
21410 .
21411 \end_layout
21412
21413 \begin_layout Description
21414 \begin_inset Flex Code
21415 status collapsed
21416
21417 \begin_layout Plain Layout
21418 HTMLStyle
21419 \end_layout
21420
21421 \end_inset
21422
21423  Información de estilo CSS a incluir cuando se usa este estilo.
21424  Esto será automáticamente envuelto en un bloque 
21425 \begin_inset Flex Code
21426 status collapsed
21427
21428 \begin_layout Plain Layout
21429 <style>
21430 \end_layout
21431
21432 \end_inset
21433
21434  generado por el formato, por lo que solo hay que incluir el propio CSS.
21435 \end_layout
21436
21437 \begin_layout Description
21438 \begin_inset Flex Code
21439 status collapsed
21440
21441 \begin_layout Plain Layout
21442 HTMLTag
21443 \end_layout
21444
21445 \end_inset
21446
21447  [
21448 \begin_inset Flex Code
21449 status collapsed
21450
21451 \begin_layout Plain Layout
21452 string
21453 \end_layout
21454
21455 \end_inset
21456
21457 ] La etiqueta a usar para el rótulo principal, reemplazando 
21458 \begin_inset Flex Code
21459 status collapsed
21460
21461 \begin_layout Plain Layout
21462 tag
21463 \end_layout
21464
21465 \end_inset
21466
21467  en los ejemplos de arriba.
21468  El valor por omisión depende de 
21469 \begin_inset Flex Code
21470 status collapsed
21471
21472 \begin_layout Plain Layout
21473 MultiPar
21474 \end_layout
21475
21476 \end_inset
21477
21478 : Si 
21479 \begin_inset Flex Code
21480 status collapsed
21481
21482 \begin_layout Plain Layout
21483 MultiPar
21484 \end_layout
21485
21486 \end_inset
21487
21488  es verdadero, es 
21489 \begin_inset Flex Code
21490 status collapsed
21491
21492 \begin_layout Plain Layout
21493 div
21494 \end_layout
21495
21496 \end_inset
21497
21498 ; si es falso, el valor por omisión es 
21499 \begin_inset Flex Code
21500 status collapsed
21501
21502 \begin_layout Plain Layout
21503 span
21504 \end_layout
21505
21506 \end_inset
21507
21508 .
21509 \end_layout
21510
21511 \begin_layout Subsection
21512 Flotantes XHTML
21513 \end_layout
21514
21515 \begin_layout Standard
21516 La salida XHTML para flotantes también se puede controlar mediante información
21517  en archivos 'layout'.
21518  La salida tiene la forma:
21519 \end_layout
21520
21521 \begin_layout LyX-Code
21522 <tag attr=
21523 \begin_inset Quotes erd
21524 \end_inset
21525
21526 value
21527 \begin_inset Quotes erd
21528 \end_inset
21529
21530 >
21531 \end_layout
21532
21533 \begin_layout LyX-Code
21534 Contents of the float.
21535 \end_layout
21536
21537 \begin_layout LyX-Code
21538 </tag>
21539 \end_layout
21540
21541 \begin_layout Standard
21542 La leyenda, si la hay, es un recuadro separado y se generará como tal.
21543  Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
21544  
21545 \end_layout
21546
21547 \begin_layout Description
21548 \begin_inset Flex Code
21549 status collapsed
21550
21551 \begin_layout Plain Layout
21552 HTMLAttr
21553 \end_layout
21554
21555 \end_inset
21556
21557  [
21558 \begin_inset Flex Code
21559 status collapsed
21560
21561 \begin_layout Plain Layout
21562 string
21563 \end_layout
21564
21565 \end_inset
21566
21567 ] Especifica información de los atributos a generar con la etiqueta principal,
21568  Por ejemplo, 
21569 \begin_inset Quotes eld
21570 \end_inset
21571
21572
21573 \begin_inset Flex Code
21574 status collapsed
21575
21576 \begin_layout Plain Layout
21577 class=`myfloat' onclick=`\SpecialChar \ldots{}
21578 '
21579 \end_layout
21580
21581 \end_inset
21582
21583
21584 \begin_inset Quotes erd
21585 \end_inset
21586
21587 .
21588  Por omisión, LyX generará 
21589 \begin_inset Quotes eld
21590 \end_inset
21591
21592
21593 \begin_inset Flex Code
21594 status collapsed
21595
21596 \begin_layout Plain Layout
21597 class=`float float-floattype'
21598 \end_layout
21599
21600 \end_inset
21601
21602
21603 \begin_inset Quotes erd
21604 \end_inset
21605
21606 , donde 
21607 \begin_inset Flex Code
21608 status collapsed
21609
21610 \begin_layout Plain Layout
21611 floattype
21612 \end_layout
21613
21614 \end_inset
21615
21616  es el nombre en LyX para este tipo de flotante, como determina la declaración
21617  de flotante (véase 
21618 \begin_inset CommandInset ref
21619 LatexCommand ref
21620 reference "sub:Flotantes"
21621
21622 \end_inset
21623
21624 ), aunque en minúsculas y con los caracteres no alfanuméricos sustituidos
21625  por guiones bajos, por ejemplo: float-table.
21626 \end_layout
21627
21628 \begin_layout Description
21629 \begin_inset Flex Code
21630 status collapsed
21631
21632 \begin_layout Plain Layout
21633 HTMLStyle
21634 \end_layout
21635
21636 \end_inset
21637
21638  Información de estilo CSS a incluir cuando se usa este flotante.
21639  Esto será automáticamente envuelto en un bloque 
21640 \begin_inset Flex Code
21641 status collapsed
21642
21643 \begin_layout Plain Layout
21644 <style>
21645 \end_layout
21646
21647 \end_inset
21648
21649  generado por el formato, por lo que solo hay que incluir el propio CSS.
21650 \end_layout
21651
21652 \begin_layout Description
21653 \begin_inset Flex Code
21654 status collapsed
21655
21656 \begin_layout Plain Layout
21657 HTMLTag
21658 \end_layout
21659
21660 \end_inset
21661
21662  [
21663 \begin_inset Flex Code
21664 status collapsed
21665
21666 \begin_layout Plain Layout
21667 string
21668 \end_layout
21669
21670 \end_inset
21671
21672 ] La etiqueta a usar para este flotante, reemplazando "
21673 \begin_inset Flex Code
21674 status collapsed
21675
21676 \begin_layout Plain Layout
21677 tag
21678 \end_layout
21679
21680 \end_inset
21681
21682 " en el ejemplo de arriba.
21683  El valor por omisión es 
21684 \begin_inset Flex Code
21685 status collapsed
21686
21687 \begin_layout Plain Layout
21688 div
21689 \end_layout
21690
21691 \end_inset
21692
21693  y raramente habrá que cambiarlo.
21694 \end_layout
21695
21696 \begin_layout Subsection
21697 Formato de la Bibliografía
21698 \end_layout
21699
21700 \begin_layout Standard
21701 La bibliografía se puede formatear usando bloques 
21702 \begin_inset Flex Code
21703 status collapsed
21704
21705 \begin_layout Plain Layout
21706 CiteFormat
21707 \end_layout
21708
21709 \end_inset
21710
21711 .
21712  Véase la 
21713 \begin_inset CommandInset ref
21714 LatexCommand ref
21715 reference "sub:Descripción-formato-cita"
21716
21717 \end_inset
21718
21719  para los detalles.
21720 \end_layout
21721
21722 \begin_layout Subsection
21723 CSS generado por LyX
21724 \end_layout
21725
21726 \begin_layout Standard
21727 Hemos mencionado ya que LyX generará reglas de estilo CSS predeterminadas
21728  para recuadros y estilos de párrafo, basados en la información suministrada
21729  para otros formatos.
21730  En esta sección comentaremos qué información usa LyX y cómo la usa.
21731 \end_layout
21732
21733 \begin_layout Standard
21734 Actualmente, LyX auto-genera CSS solo para información sobre tipografías,
21735  haciendo uso de 
21736 \begin_inset Flex Code
21737 status collapsed
21738
21739 \begin_layout Plain Layout
21740 Family
21741 \end_layout
21742
21743 \end_inset
21744
21745
21746 \begin_inset Flex Code
21747 status collapsed
21748
21749 \begin_layout Plain Layout
21750 Series
21751 \end_layout
21752
21753 \end_inset
21754
21755
21756 \begin_inset Flex Code
21757 status collapsed
21758
21759 \begin_layout Plain Layout
21760 Shape
21761 \end_layout
21762
21763 \end_inset
21764
21765 , y 
21766 \begin_inset Flex Code
21767 status collapsed
21768
21769 \begin_layout Plain Layout
21770 Size
21771 \end_layout
21772
21773 \end_inset
21774
21775  especificados en la declaración 
21776 \begin_inset Flex Code
21777 status collapsed
21778
21779 \begin_layout Plain Layout
21780 Font
21781 \end_layout
21782
21783 \end_inset
21784
21785 .
21786  (Véase 
21787 \begin_inset CommandInset ref
21788 LatexCommand ref
21789 reference "sub:Tipografías"
21790
21791 \end_inset
21792
21793 .) La traducción es bastante sencilla y evidente.
21794  Por ejemplo, 
21795 \begin_inset Quotes eld
21796 \end_inset
21797
21798
21799 \begin_inset Flex Code
21800 status collapsed
21801
21802 \begin_layout Plain Layout
21803 Family Sans
21804 \end_layout
21805
21806 \end_inset
21807
21808
21809 \begin_inset Quotes erd
21810 \end_inset
21811
21812  se convierte en 
21813 \begin_inset Quotes eld
21814 \end_inset
21815
21816
21817 \begin_inset Flex Code
21818 status collapsed
21819
21820 \begin_layout Plain Layout
21821 font-family: sans-serif;
21822 \end_layout
21823
21824 \end_inset
21825
21826
21827 \begin_inset Quotes erd
21828 \end_inset
21829
21830 .
21831  La correspondencia entre tamaños LyX y tamaños CSS es un poco menos obvia,
21832  pero intuitiva en todo caso.
21833  Véase la función 
21834 \begin_inset Flex Code
21835 status collapsed
21836
21837 \begin_layout Plain Layout
21838 getSizeCSS()
21839 \end_layout
21840
21841 \end_inset
21842
21843  en 
21844 \begin_inset Flex URL
21845 status collapsed
21846
21847 \begin_layout Plain Layout
21848
21849 src/FontInfo.cpp
21850 \end_layout
21851
21852 \end_inset
21853
21854  para los detalles.
21855  
21856 \end_layout
21857
21858 \begin_layout Chapter
21859 Inserción de material externo
21860 \begin_inset CommandInset label
21861 LatexCommand label
21862 name "chap:Inserción-de-material"
21863
21864 \end_inset
21865
21866
21867 \end_layout
21868
21869 \begin_layout Standard
21870 \begin_inset Box Shadowbox
21871 position "t"
21872 hor_pos "c"
21873 has_inner_box 1
21874 inner_pos "t"
21875 use_parbox 0
21876 use_makebox 0
21877 width "100col%"
21878 special "none"
21879 height "1in"
21880 height_special "totalheight"
21881 status open
21882
21883 \begin_layout Plain Layout
21884 AVISO: Esta parte de la documentación no ha sido actualizada desde hace
21885  tiempo.
21886  Esperamos que aún sea adecuada, pero no hay garantías.
21887 \end_layout
21888
21889 \end_inset
21890
21891
21892 \end_layout
21893
21894 \begin_layout Standard
21895 El uso de material de procedencia externa a LyX se trata con detalle en
21896  el manual 
21897 \emph on
21898 Objetos insertados
21899 \emph default
21900 .
21901  En el presente documento se trata sobre lo que debe suceder entre bambalinas
21902  para incluir nuevas clases de material.
21903 \end_layout
21904
21905 \begin_layout Section
21906 ¿Cómo funciona?
21907 \end_layout
21908
21909 \begin_layout Standard
21910 La característica material externo se basa en el concepto 
21911 \emph on
21912 plantilla
21913 \emph default
21914 .
21915  Una plantilla es una especificación de la forma en que LyX interactúa con
21916  ciertos tipos de material.
21917  De por sí, LyX incluye plantillas predefinidas para figuras Xfig, varios
21918  tipos de imágenes raster, diagramas de ajedrez y notación musical LilyPond.
21919  Puedes comprobar la lista actual en el menú 
21920 \begin_inset Flex MenuItem
21921 status collapsed
21922
21923 \begin_layout Plain Layout
21924 Insertar\SpecialChar \menuseparator
21925 Archivo\SpecialChar \menuseparator
21926 Material externo
21927 \end_layout
21928
21929 \end_inset
21930
21931 .
21932  Además, es posible construir plantillas propias para soportar determinado
21933  tipo de material.
21934  Más tarde describiremos con más detalle lo que esto implica, y esperamos
21935  que nos envíes tus plantillas para que se puedan incluir en próximas versiones
21936  de LyX.
21937 \end_layout
21938
21939 \begin_layout Standard
21940 Otra idea básica de la característica material externo es distinguir entre
21941  el archivo original que sirve como base para el material final y el archivo
21942  generado que se incluye en el documento impreso o exportado.
21943  Por ejemplo, consideremos el caso de una figura hecha con 
21944 \begin_inset Flex Code
21945 status collapsed
21946
21947 \begin_layout Plain Layout
21948 Xfig
21949 \end_layout
21950
21951 \end_inset
21952
21953 .
21954  El programa Xfig en sí mismo trabaja sobre un archivo original con extensión
21955  
21956 \begin_inset Flex Code
21957 status collapsed
21958
21959 \begin_layout Plain Layout
21960 .fig
21961 \end_layout
21962
21963 \end_inset
21964
21965 .
21966  Dentro de Xfig, se crea o modifica una figura y se guarda como un archivo
21967  
21968 \begin_inset Flex Code
21969 status collapsed
21970
21971 \begin_layout Plain Layout
21972 .fig
21973 \end_layout
21974
21975 \end_inset
21976
21977 .
21978  Para incluir la figura en un documento, se ejecuta 
21979 \begin_inset Flex Code
21980 status collapsed
21981
21982 \begin_layout Plain Layout
21983 transfig
21984 \end_layout
21985
21986 \end_inset
21987
21988  con el fin de crear un archivo PostScript que puede incluirse fácilmente
21989  en el archivo LaTeX.
21990  En este caso, el archivo 
21991 \begin_inset Flex Code
21992 status collapsed
21993
21994 \begin_layout Plain Layout
21995 .fig
21996 \end_layout
21997
21998 \end_inset
21999
22000  es el original, y el archivo PostScript es el archivo generado.
22001 \end_layout
22002
22003 \begin_layout Standard
22004 Esta distinción es importante para permitir la actualización del material
22005  durante el proceso de escritura del documento.
22006  Además, provee la flexibilidad necesaria para soportar múltiples formatos
22007  de exportación.
22008  Por ejemplo, en el caso de un archivo de texto sencillo, no es una brillante
22009  idea incluir la figura como PostScript puro.
22010  En vez de esto, es preferible incluir solo una referencia a la figura o
22011  bien probar algún convertidor de gráficos a Ascii para que el resultado
22012  final se parezca al gráfico real.
22013  La gestión de material externo de LyX permite hacer esto porque se basa
22014  en parámetros apropiados para los diferentes formatos de exportación soportados.
22015 \end_layout
22016
22017 \begin_layout Standard
22018 Además de soportar la generación de diferentes productos de acuerdo con
22019  el formato de exportación, existe una profunda integración con las aplicaciones
22020  de edición y visualización.
22021  En el caso de figuras Xfig, es posible editar el archivo original en Xfig
22022  con un simple clic derecho sobre el recuadro y también previsualizar el
22023  PostScript generado con ghostview.
22024  Se acabaron los enredos con la línea de comandos y/o el navegador de archivos
22025  para localizar y manipular los archivos originales o los generados.
22026  De esta manera, se pueden por fin aprovechar las ventajas de muy diversas
22027  aplicaciones importantes para la composición de los documentos, y por tanto
22028  aumentar el rendimiento.
22029 \end_layout
22030
22031 \begin_layout Section
22032 El archivo de configuración de plantillas externas
22033 \end_layout
22034
22035 \begin_layout Standard
22036 Es relativamente fácil añadir en LyX definiciones personalizadas de plantillas
22037  externas.
22038  Sin embargo, hay que ser consciente de que hacer esto de manera descuidada
22039  generará muy probablemente un agujero de seguridad fácil de explotar.
22040  Así pues, antes de hacer esto, lee por favor la discusión sobre seguridad
22041  en la 
22042 \begin_inset CommandInset ref
22043 LatexCommand ref
22044 reference "sec:Discusión-sobre-seguridad"
22045
22046 \end_inset
22047
22048
22049 \end_layout
22050
22051 \begin_layout Standard
22052 Una vez dicho esto, te animamos a que envíes cualquiera plantilla interesante
22053  que compongas.
22054 \end_layout
22055
22056 \begin_layout Standard
22057 Las plantillas externas se definen en el archivo 
22058 \begin_inset Flex Code
22059 status collapsed
22060
22061 \begin_layout Plain Layout
22062 LyXDir/lib/external_templates
22063 \end_layout
22064
22065 \end_inset
22066
22067 .
22068  Puedes colocar tus versiones propias en 
22069 \begin_inset Flex Code
22070 status collapsed
22071
22072 \begin_layout Plain Layout
22073 UserDir/external_templates
22074 \end_layout
22075
22076 \end_inset
22077
22078 .
22079 \end_layout
22080
22081 \begin_layout Standard
22082 Una plantilla típica tiene un aspecto como este:
22083 \end_layout
22084
22085 \begin_layout LyX-Code
22086 Template XFig
22087 \end_layout
22088
22089 \begin_layout LyX-Code
22090 GuiName "XFig: $$AbsOrRelPathParent$$Basename"
22091 \end_layout
22092
22093 \begin_layout LyX-Code
22094 HelpText
22095 \end_layout
22096
22097 \begin_layout LyX-Code
22098 An XFig figure.
22099 \end_layout
22100
22101 \begin_layout LyX-Code
22102 HelpTextEnd
22103 \end_layout
22104
22105 \begin_layout LyX-Code
22106 InputFormat fig
22107 \end_layout
22108
22109 \begin_layout LyX-Code
22110 FileFilter "*.fig"
22111 \end_layout
22112
22113 \begin_layout LyX-Code
22114 AutomaticProduction true
22115 \end_layout
22116
22117 \begin_layout LyX-Code
22118 Transform Rotate
22119 \end_layout
22120
22121 \begin_layout LyX-Code
22122 Transform Resize
22123 \end_layout
22124
22125 \begin_layout LyX-Code
22126 Format LaTeX
22127 \end_layout
22128
22129 \begin_layout LyX-Code
22130 TransformCommand Rotate RotationLatexCommand
22131 \end_layout
22132
22133 \begin_layout LyX-Code
22134 TransformCommand Resize ResizeLatexCommand
22135 \end_layout
22136
22137 \begin_layout LyX-Code
22138 Product "$$RotateFront$$ResizeFront
22139 \end_layout
22140
22141 \begin_layout LyX-Code
22142          
22143 \backslash
22144
22145 \backslash
22146 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
22147 \end_layout
22148
22149 \begin_layout LyX-Code
22150          $$ResizeBack$$RotateBack"
22151 \end_layout
22152
22153 \begin_layout LyX-Code
22154 UpdateFormat pstex
22155 \end_layout
22156
22157 \begin_layout LyX-Code
22158 UpdateResult "$$AbsPath$$Basename.pstex_t"
22159 \end_layout
22160
22161 \begin_layout LyX-Code
22162 Requirement "graphicx"
22163 \end_layout
22164
22165 \begin_layout LyX-Code
22166 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
22167 \end_layout
22168
22169 \begin_layout LyX-Code
22170 ReferencedFile latex "$$AbsPath$$Basename.eps"
22171 \end_layout
22172
22173 \begin_layout LyX-Code
22174 ReferencedFile dvi "$$AbsPath$$Basename.eps"
22175 \end_layout
22176
22177 \begin_layout LyX-Code
22178 FormatEnd
22179 \end_layout
22180
22181 \begin_layout LyX-Code
22182 Format PDFLaTeX
22183 \end_layout
22184
22185 \begin_layout LyX-Code
22186 TransformCommand Rotate RotationLatexCommand
22187 \end_layout
22188
22189 \begin_layout LyX-Code
22190 TransformCommand Resize ResizeLatexCommand
22191 \end_layout
22192
22193 \begin_layout LyX-Code
22194 Product "$$RotateFront$$ResizeFront
22195 \end_layout
22196
22197 \begin_layout LyX-Code
22198          
22199 \backslash
22200
22201 \backslash
22202 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
22203 \end_layout
22204
22205 \begin_layout LyX-Code
22206          $$ResizeBack$$RotateBack"
22207 \end_layout
22208
22209 \begin_layout LyX-Code
22210 UpdateFormat pdftex
22211 \end_layout
22212
22213 \begin_layout LyX-Code
22214 UpdateResult "$$AbsPath$$Basename.pdftex_t"
22215 \end_layout
22216
22217 \begin_layout LyX-Code
22218 Requirement "graphicx"
22219 \end_layout
22220
22221 \begin_layout LyX-Code
22222 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
22223 \end_layout
22224
22225 \begin_layout LyX-Code
22226 ReferencedFile latex "$$AbsPath$$Basename.pdf"
22227 \end_layout
22228
22229 \begin_layout LyX-Code
22230 FormatEnd
22231 \end_layout
22232
22233 \begin_layout LyX-Code
22234 Format Ascii
22235 \end_layout
22236
22237 \begin_layout LyX-Code
22238 Product "$$Contents(
22239 \backslash
22240 "$$AbsPath$$Basename.asc
22241 \backslash
22242 ")"
22243 \end_layout
22244
22245 \begin_layout LyX-Code
22246 UpdateFormat asciixfig
22247 \end_layout
22248
22249 \begin_layout LyX-Code
22250 UpdateResult "$$AbsPath$$Basename.asc"
22251 \end_layout
22252
22253 \begin_layout LyX-Code
22254 FormatEnd
22255 \end_layout
22256
22257 \begin_layout LyX-Code
22258 Format DocBook
22259 \end_layout
22260
22261 \begin_layout LyX-Code
22262 Product "<graphic fileref=
22263 \backslash
22264 "$$AbsOrRelPathMaster$$Basename.eps
22265 \backslash
22266 ">
22267 \end_layout
22268
22269 \begin_layout LyX-Code
22270          </graphic>"
22271 \end_layout
22272
22273 \begin_layout LyX-Code
22274 UpdateFormat eps
22275 \end_layout
22276
22277 \begin_layout LyX-Code
22278 UpdateResult "$$AbsPath$$Basename.eps"
22279 \end_layout
22280
22281 \begin_layout LyX-Code
22282 ReferencedFile docbook "$$AbsPath$$Basename.eps"
22283 \end_layout
22284
22285 \begin_layout LyX-Code
22286 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
22287 \end_layout
22288
22289 \begin_layout LyX-Code
22290 FormatEnd
22291 \end_layout
22292
22293 \begin_layout LyX-Code
22294 Product "[XFig: $$FName]"
22295 \end_layout
22296
22297 \begin_layout LyX-Code
22298 FormatEnd
22299 \end_layout
22300
22301 \begin_layout LyX-Code
22302 TemplateEnd
22303 \end_layout
22304
22305 \begin_layout Standard
22306 Como puedes ver, la plantilla se incluye entre 
22307 \begin_inset Flex Code
22308 status collapsed
22309
22310 \begin_layout Plain Layout
22311 Template
22312 \end_layout
22313
22314 \end_inset
22315
22316  \SpecialChar \ldots{}
22317  
22318 \begin_inset Flex Code
22319 status collapsed
22320
22321 \begin_layout Plain Layout
22322 TemplateEnd
22323 \end_layout
22324
22325 \end_inset
22326
22327 .
22328  Contiene una cabecera que especifica algunas configuraciones generales
22329  y, por cada formato de archivo de documento primario soportado, una sección
22330  
22331 \begin_inset Flex Code
22332 status collapsed
22333
22334 \begin_layout Plain Layout
22335 Format
22336 \end_layout
22337
22338 \end_inset
22339
22340  \SpecialChar \ldots{}
22341  
22342 \begin_inset Flex Code
22343 status collapsed
22344
22345 \begin_layout Plain Layout
22346 FormatEnd
22347 \end_layout
22348
22349 \end_inset
22350
22351 .
22352 \end_layout
22353
22354 \begin_layout Subsection
22355 La cabecera de la plantilla
22356 \end_layout
22357
22358 \begin_layout Description
22359 \begin_inset Flex Code
22360 status collapsed
22361
22362 \begin_layout Plain Layout
22363 AutomaticProduction
22364 \begin_inset space ~
22365 \end_inset
22366
22367 true|false
22368 \end_layout
22369
22370 \end_inset
22371
22372  Si el archivo representado por la plantilla debe ser generado por LyX.
22373  Este comando debe aparecer exactamente una vez.
22374 \end_layout
22375
22376 \begin_layout Description
22377 \begin_inset Flex Code
22378 status collapsed
22379
22380 \begin_layout Plain Layout
22381 FileFilter
22382 \begin_inset space ~
22383 \end_inset
22384
22385 <pattern>
22386 \end_layout
22387
22388 \end_inset
22389
22390  Un patrón global que se usa en el diálogo del archivo para filtrar los
22391  archivos deseados.
22392  Si hay más de una posible extensión de archivo (p.
22393 \begin_inset space \thinspace{}
22394 \end_inset
22395
22396 e.,
22397 \begin_inset space ~
22398 \end_inset
22399
22400 tgif tiene 
22401 \begin_inset Flex Code
22402 status collapsed
22403
22404 \begin_layout Plain Layout
22405 .obj
22406 \end_layout
22407
22408 \end_inset
22409
22410  y 
22411 \begin_inset Flex Code
22412 status collapsed
22413
22414 \begin_layout Plain Layout
22415 .tgo
22416 \end_layout
22417
22418 \end_inset
22419
22420 ), se pone algo como 
22421 \begin_inset Flex Code
22422 status collapsed
22423
22424 \begin_layout Plain Layout
22425 "*.{obj,tgo}"
22426 \end_layout
22427
22428 \end_inset
22429
22430 .
22431  Este comando debe aparecer exactamente una vez.
22432 \end_layout
22433
22434 \begin_layout Description
22435 \begin_inset Flex Code
22436 status collapsed
22437
22438 \begin_layout Plain Layout
22439 GuiName
22440 \begin_inset space ~
22441 \end_inset
22442
22443 <guiname>
22444 \end_layout
22445
22446 \end_inset
22447
22448  El texto mostrado sobre el botón.
22449  Este comando debe aparecer exactamente una vez.
22450 \end_layout
22451
22452 \begin_layout Description
22453 \begin_inset Flex Code
22454 status collapsed
22455
22456 \begin_layout Plain Layout
22457 HelpText
22458 \begin_inset space ~
22459 \end_inset
22460
22461 <text>
22462 \begin_inset space ~
22463 \end_inset
22464
22465 HelpTextEnd
22466 \end_layout
22467
22468 \end_inset
22469
22470  El texto de ayuda que se muestra en diálogo.
22471  Da suficiente información sobre lo que puede proporcionar la plantilla.
22472  Este comando debe aparecer exactamente una vez.
22473 \end_layout
22474
22475 \begin_layout Description
22476 \begin_inset Flex Code
22477 status collapsed
22478
22479 \begin_layout Plain Layout
22480 InputFormat
22481 \begin_inset space ~
22482 \end_inset
22483
22484 <format>
22485 \end_layout
22486
22487 \end_inset
22488
22489  El formato de archivo del original.
22490  Debe ser el nombre de un formato conocido por LyX (véase la 
22491 \begin_inset CommandInset ref
22492 LatexCommand ref
22493 reference "sec:Formatos"
22494
22495 \end_inset
22496
22497 ).
22498  Se pone un 
22499 \begin_inset Quotes fld
22500 \end_inset
22501
22502
22503 \begin_inset Flex Code
22504 status collapsed
22505
22506 \begin_layout Plain Layout
22507 *
22508 \end_layout
22509
22510 \end_inset
22511
22512
22513 \begin_inset Quotes frd
22514 \end_inset
22515
22516  si la plantilla puede manejar archivos originales o más de un formato.
22517  En este caso, LyX intentará inspeccionar el archivo mismo para deducir
22518  su formato.
22519  Este comando debe aparecer exactamente una vez.
22520 \end_layout
22521
22522 \begin_layout Description
22523 \begin_inset Flex Code
22524 status collapsed
22525
22526 \begin_layout Plain Layout
22527 Template
22528 \begin_inset space ~
22529 \end_inset
22530
22531 <id>
22532 \end_layout
22533
22534 \end_inset
22535
22536  Un nombre único para la plantilla.
22537  No debe contener macros de sustitución (véase abajo).
22538 \end_layout
22539
22540 \begin_layout Description
22541 \begin_inset Flex Code
22542 status collapsed
22543
22544 \begin_layout Plain Layout
22545 Transform
22546 \begin_inset space ~
22547 \end_inset
22548
22549 Rotate|Resize|Clip|Extra
22550 \end_layout
22551
22552 \end_inset
22553
22554  Este comando especifica qué transformaciones son soportadas por esta plantilla.
22555  Puede aparecer ninguna o varias veces.
22556  Este comando facilita las correspondientes pestañas en el diálogo de material
22557  externo.
22558  Cada comando 
22559 \begin_inset Flex Code
22560 status collapsed
22561
22562 \begin_layout Plain Layout
22563 Transform
22564 \end_layout
22565
22566 \end_inset
22567
22568  debe tener el correspondiente 
22569 \begin_inset Flex Code
22570 status collapsed
22571
22572 \begin_layout Plain Layout
22573 TransformCommand
22574 \end_layout
22575
22576 \end_inset
22577
22578  o bien 
22579 \begin_inset Flex Code
22580 status collapsed
22581
22582 \begin_layout Plain Layout
22583 TransformOption
22584 \end_layout
22585
22586 \end_inset
22587
22588  en la sección 
22589 \begin_inset Flex Code
22590 status collapsed
22591
22592 \begin_layout Plain Layout
22593 Format
22594 \end_layout
22595
22596 \end_inset
22597
22598 .
22599  De lo contrario la transformación no será soportada por ese formato.
22600  
22601 \end_layout
22602
22603 \begin_layout Subsection
22604 La sección Format
22605 \end_layout
22606
22607 \begin_layout Description
22608 \begin_inset Flex Code
22609 status collapsed
22610
22611 \begin_layout Plain Layout
22612 Format
22613 \begin_inset space ~
22614 \end_inset
22615
22616 LaTeX|PDFLaTeX|PlainText|DocBook
22617 \end_layout
22618
22619 \end_inset
22620
22621  El formato de archivo del documento primario para el que es esta definición
22622  de formato.
22623  No toda plantilla tiene una representación sensible en los formatos de
22624  archivo de todos los documentos.
22625  No obstante, es preferible definir una sección 
22626 \begin_inset Flex Code
22627 status collapsed
22628
22629 \begin_layout Plain Layout
22630 Format
22631 \end_layout
22632
22633 \end_inset
22634
22635  para todos los formatos.
22636  Se usa un texto postizo si no hay representación disponible.
22637  Entonces, al menos, se puede ver una referencia al material externo en
22638  el documento exportado.
22639 \end_layout
22640
22641 \begin_layout Description
22642 \begin_inset Flex Code
22643 status collapsed
22644
22645 \begin_layout Plain Layout
22646 Option
22647 \begin_inset space ~
22648 \end_inset
22649
22650 <name>
22651 \begin_inset space ~
22652 \end_inset
22653
22654 <value>
22655 \end_layout
22656
22657 \end_inset
22658
22659  Este comando define una macro adicional, 
22660 \begin_inset Flex Code
22661 status collapsed
22662
22663 \begin_layout Plain Layout
22664 $$<name>
22665 \end_layout
22666
22667 \end_inset
22668
22669 , para sustitución en 
22670 \begin_inset Flex Code
22671 status collapsed
22672
22673 \begin_layout Plain Layout
22674 Product
22675 \end_layout
22676
22677 \end_inset
22678
22679 .
22680  
22681 \begin_inset Flex Code
22682 status collapsed
22683
22684 \begin_layout Plain Layout
22685 <value>
22686 \end_layout
22687
22688 \end_inset
22689
22690  puede contener en sí mismo macros de sustitución.
22691  La ventaja sobre el uso de 
22692 \begin_inset Flex Code
22693 status collapsed
22694
22695 \begin_layout Plain Layout
22696 <value>
22697 \end_layout
22698
22699 \end_inset
22700
22701  directamente en 
22702 \begin_inset Flex Code
22703 status collapsed
22704
22705 \begin_layout Plain Layout
22706 Product
22707 \end_layout
22708
22709 \end_inset
22710
22711  es que el valor sustituido de 
22712 \begin_inset Flex Code
22713 status collapsed
22714
22715 \begin_layout Plain Layout
22716 $$<name>
22717 \end_layout
22718
22719 \end_inset
22720
22721  está saneado así que es un argumento opcional válido en el formato del
22722  documento.
22723  Este comando puede aparecer ninguna o más veces.
22724 \end_layout
22725
22726 \begin_layout Description
22727 \begin_inset Flex Code
22728 status collapsed
22729
22730 \begin_layout Plain Layout
22731 Product
22732 \begin_inset space ~
22733 \end_inset
22734
22735 <text>
22736 \end_layout
22737
22738 \end_inset
22739
22740  El texto que se inserta en el documento exportado.
22741  Realmente este es el comando más importante y puede ser bastante complejo.
22742  Este comando debe aparecer exactamente una vez.
22743 \end_layout
22744
22745 \begin_layout Description
22746 \begin_inset Flex Code
22747 status collapsed
22748
22749 \begin_layout Plain Layout
22750 Preamble
22751 \begin_inset space ~
22752 \end_inset
22753
22754 <name>
22755 \end_layout
22756
22757 \end_inset
22758
22759  Este comando especifica un fragmento de preámbulo que se incluirá en el
22760  preámbulo LaTeX.
22761  Tiene que definirse usando 
22762 \begin_inset Flex Code
22763 status collapsed
22764
22765 \begin_layout Plain Layout
22766 PreambleDef
22767 \end_layout
22768
22769 \end_inset
22770
22771  \SpecialChar \ldots{}
22772  
22773 \begin_inset Flex Code
22774 status collapsed
22775
22776 \begin_layout Plain Layout
22777 PreambleDefEnd
22778 \end_layout
22779
22780 \end_inset
22781
22782 .
22783  Este comando puede aparecer ninguna o más veces.
22784 \end_layout
22785
22786 \begin_layout Description
22787 \begin_inset Flex Code
22788 status collapsed
22789
22790 \begin_layout Plain Layout
22791 ReferencedFile
22792 \begin_inset space ~
22793 \end_inset
22794
22795 <format>
22796 \begin_inset space ~
22797 \end_inset
22798
22799 <filename>
22800 \end_layout
22801
22802 \end_inset
22803
22804  Este comando indica los archivos que se crean por el proceso de conversión
22805  y que son necesarios para un formato de exportación particular.
22806  Si el nombre del archivo es relativo, se interpreta como relativo al documento
22807  maestro.
22808  Este comando puede darse ninguna o más veces.
22809 \end_layout
22810
22811 \begin_layout Description
22812 \begin_inset Flex Code
22813 status collapsed
22814
22815 \begin_layout Plain Layout
22816 Requirement
22817 \begin_inset space ~
22818 \end_inset
22819
22820 <package>
22821 \end_layout
22822
22823 \end_inset
22824
22825  El nombre de un paquete LaTeX requerido.
22826  El paquete se incuye mediante 
22827 \begin_inset Flex Code
22828 status collapsed
22829
22830 \begin_layout Plain Layout
22831
22832 \backslash
22833 usepackage{}
22834 \end_layout
22835
22836 \end_inset
22837
22838  en el preámbulo LaTeX.
22839  Este comando puede aparecer ninguna o más veces.
22840 \end_layout
22841
22842 \begin_layout Description
22843 \begin_inset Flex Code
22844 status collapsed
22845
22846 \begin_layout Plain Layout
22847 TransformCommand
22848 \begin_inset space ~
22849 \end_inset
22850
22851 Rotate
22852 \begin_inset space ~
22853 \end_inset
22854
22855 RotationLatexCommand
22856 \end_layout
22857
22858 \end_inset
22859
22860  Este comando especifica que el comando LaTeX incluido debería usarse para
22861  la rotación.
22862  Este comando puede aparecer una vez o ninguna.
22863 \end_layout
22864
22865 \begin_layout Description
22866 \begin_inset Flex Code
22867 status collapsed
22868
22869 \begin_layout Plain Layout
22870 TransformCommand
22871 \begin_inset space ~
22872 \end_inset
22873
22874 Resize
22875 \begin_inset space ~
22876 \end_inset
22877
22878 ResizeLatexCommand
22879 \end_layout
22880
22881 \end_inset
22882
22883  Este comando especifica que el comando LaTeX incluido debería usarse para
22884  cambiar el tamaño.
22885  Este comando puede aparecer una vez o ninguna.
22886 \end_layout
22887
22888 \begin_layout Description
22889 \begin_inset Flex Code
22890 status collapsed
22891
22892 \begin_layout Plain Layout
22893 TransformOption
22894 \begin_inset space ~
22895 \end_inset
22896
22897 Rotate
22898 \begin_inset space ~
22899 \end_inset
22900
22901 RotationLatexOption
22902 \end_layout
22903
22904 \end_inset
22905
22906  Este comando especifica que la rotación se hace mediante un argumento opcional.
22907  Este comando puede aparecer una vez o ninguna.
22908 \end_layout
22909
22910 \begin_layout Description
22911 \begin_inset Flex Code
22912 status collapsed
22913
22914 \begin_layout Plain Layout
22915 TransformOption
22916 \begin_inset space ~
22917 \end_inset
22918
22919 Resize
22920 \begin_inset space ~
22921 \end_inset
22922
22923 ResizeLatexOption
22924 \end_layout
22925
22926 \end_inset
22927
22928  Este comando especifica que el cambio de tamaño se hace mediante un argumento
22929  opcional.
22930  Este comando puede aparecer una vez o ninguna
22931 \end_layout
22932
22933 \begin_layout Description
22934 \begin_inset Flex Code
22935 status collapsed
22936
22937 \begin_layout Plain Layout
22938 TransformOption
22939 \begin_inset space ~
22940 \end_inset
22941
22942 Clip
22943 \begin_inset space ~
22944 \end_inset
22945
22946 ClipLatexOption
22947 \end_layout
22948
22949 \end_inset
22950
22951  Este comando especifica que el recorte se hace mediante un argumento opcional.
22952  Este comando puede aparecer una vez o ninguna.
22953 \end_layout
22954
22955 \begin_layout Description
22956 \begin_inset Flex Code
22957 status collapsed
22958
22959 \begin_layout Plain Layout
22960 TransformOption
22961 \begin_inset space ~
22962 \end_inset
22963
22964 Extra
22965 \begin_inset space ~
22966 \end_inset
22967
22968 ExtraLatexOption
22969 \end_layout
22970
22971 \end_inset
22972
22973  Este comando especifica que se usa un argumento extra opcional.
22974  Este comando puede aparecer una vez o ninguna.
22975  
22976 \end_layout
22977
22978 \begin_layout Description
22979 \begin_inset Flex Code
22980 status collapsed
22981
22982 \begin_layout Plain Layout
22983 UpdateFormat
22984 \begin_inset space ~
22985 \end_inset
22986
22987 <format>
22988 \end_layout
22989
22990 \end_inset
22991
22992  El formato de archivo del archivo convertido.
22993  Debe ser el nombre de un formato conocido por LyX (véase 
22994 \begin_inset Flex MenuItem
22995 status collapsed
22996
22997 \begin_layout Plain Layout
22998 Convertidores
22999 \end_layout
23000
23001 \end_inset
23002
23003  de 
23004 \begin_inset Flex MenuItem
23005 status collapsed
23006
23007 \begin_layout Plain Layout
23008 Gestión de archivos
23009 \end_layout
23010
23011 \end_inset
23012
23013  en el diálogo 
23014 \begin_inset Flex MenuItem
23015 status collapsed
23016
23017 \begin_layout Plain Layout
23018 Herramientas\SpecialChar \menuseparator
23019 Preferencias
23020 \end_layout
23021
23022 \end_inset
23023
23024 ).
23025  Este comando debe aparecer exactamente una vez.
23026  
23027 \lang english
23028 If the resulting file format is PDF, you need to specify the format 
23029 \begin_inset Flex Code
23030 status collapsed
23031
23032 \begin_layout Plain Layout
23033
23034 \lang english
23035 pdf6
23036 \end_layout
23037
23038 \end_inset
23039
23040 .
23041  This is the PDF format used for including graphics.
23042  The other defined PDF formats are for document export.
23043 \end_layout
23044
23045 \begin_layout Description
23046 \begin_inset Flex Code
23047 status collapsed
23048
23049 \begin_layout Plain Layout
23050 UpdateResult
23051 \begin_inset space ~
23052 \end_inset
23053
23054 <filename>
23055 \end_layout
23056
23057 \end_inset
23058
23059  El nombre de archivo del archivo convertido.
23060  El nombre de archivo debe ser absoluto.
23061  Este comando debe aparecer exactamente una vez.
23062 \end_layout
23063
23064 \begin_layout Subsection
23065 Definiciones de preámbulo
23066 \end_layout
23067
23068 \begin_layout Standard
23069 El archivo de configuración de plantillas externas puede contener definiciones
23070  de preámbulo adicionales encerradas entre 
23071 \begin_inset Flex Code
23072 status collapsed
23073
23074 \begin_layout Plain Layout
23075 PreambleDef
23076 \end_layout
23077
23078 \end_inset
23079
23080  \SpecialChar \ldots{}
23081  
23082 \begin_inset Flex Code
23083 status collapsed
23084
23085 \begin_layout Plain Layout
23086 PreambleDefEnd
23087 \end_layout
23088
23089 \end_inset
23090
23091 .
23092  Se pueden usar por las plantillas en la sección 
23093 \begin_inset Flex Code
23094 status collapsed
23095
23096 \begin_layout Plain Layout
23097 Format
23098 \end_layout
23099
23100 \end_inset
23101
23102 .
23103 \end_layout
23104
23105 \begin_layout Section
23106 El mecanismo de sustitución
23107 \end_layout
23108
23109 \begin_layout Standard
23110 Cuando la función de material externo recurre a un programa externo, se
23111  hace sobre la base de un comando definido en el archivo de configuración
23112  de la plantilla.
23113  Estos comandos pueden contener varias macros que se expanden antes de su
23114  ejecución.
23115  La ejecución tiene lugar siempre en el directorio del documento.
23116  
23117 \end_layout
23118
23119 \begin_layout Standard
23120 Además, cada vez que el material externo se va a mostrar, el nombre será
23121  generado por el mecanismo de sustitución, y la mayoría de los demás comandos
23122  en la definición de la plantilla soportan también sustitución.
23123  
23124 \end_layout
23125
23126 \begin_layout Standard
23127 Las macros disponibles son las siguientes:
23128 \end_layout
23129
23130 \begin_layout Description
23131 \begin_inset Flex Code
23132 status collapsed
23133
23134 \begin_layout Plain Layout
23135 $$AbsOrRelPathMaster
23136 \end_layout
23137
23138 \end_inset
23139
23140  La ruta del archivo, absoluta o relativa al documento LyX maestro.
23141 \end_layout
23142
23143 \begin_layout Description
23144 \begin_inset Flex Code
23145 status collapsed
23146
23147 \begin_layout Plain Layout
23148 $$AbsOrRelPathParent
23149 \end_layout
23150
23151 \end_inset
23152
23153  La ruta del archivo, absoluta o relativa al documento LyX.
23154 \end_layout
23155
23156 \begin_layout Description
23157 \begin_inset Flex Code
23158 status collapsed
23159
23160 \begin_layout Plain Layout
23161 $$AbsPath
23162 \end_layout
23163
23164 \end_inset
23165
23166  La ruta absoluta del archivo.
23167 \end_layout
23168
23169 \begin_layout Description
23170 \begin_inset Flex Code
23171 status collapsed
23172
23173 \begin_layout Plain Layout
23174 $$Basename
23175 \end_layout
23176
23177 \end_inset
23178
23179  El nombre de archivo sin ruta y sin la extensión.
23180 \end_layout
23181
23182 \begin_layout Description
23183 \begin_inset Flex Code
23184 status collapsed
23185
23186 \begin_layout Plain Layout
23187 $$Contents(
23188 \begin_inset Quotes eld
23189 \end_inset
23190
23191 filename.ext
23192 \begin_inset Quotes erd
23193 \end_inset
23194
23195 )
23196 \end_layout
23197
23198 \end_inset
23199
23200  Esta macro expandirá los contenidos del archivo con el nombre 
23201 \begin_inset Flex Code
23202 status collapsed
23203
23204 \begin_layout Plain Layout
23205 filename.ext
23206 \end_layout
23207
23208 \end_inset
23209
23210 .
23211 \end_layout
23212
23213 \begin_layout Description
23214 \begin_inset Flex Code
23215 status collapsed
23216
23217 \begin_layout Plain Layout
23218 $$Extension
23219 \end_layout
23220
23221 \end_inset
23222
23223  La extensión de archivo (incluyendo el punto).
23224 \end_layout
23225
23226 \begin_layout Description
23227 \begin_inset Flex Code
23228 status collapsed
23229
23230 \begin_layout Plain Layout
23231 $$FName
23232 \end_layout
23233
23234 \end_inset
23235
23236  El nombre de archivo del archivo especificado en el diálogo de material
23237  externo.
23238  Esto es bien un nombre absoluto, bien relativo al documento LyX.
23239 \end_layout
23240
23241 \begin_layout Description
23242 \begin_inset Flex Code
23243 status collapsed
23244
23245 \begin_layout Plain Layout
23246 $$FPath
23247 \end_layout
23248
23249 \end_inset
23250
23251  La parte de la ruta de 
23252 \begin_inset Flex Code
23253 status collapsed
23254
23255 \begin_layout Plain Layout
23256 $$FName
23257 \end_layout
23258
23259 \end_inset
23260
23261  (nombre absoluto o relativo al documento LyX).
23262 \end_layout
23263
23264 \begin_layout Description
23265 \begin_inset Flex Code
23266 status collapsed
23267
23268 \begin_layout Plain Layout
23269 $$RelPathMaster
23270 \end_layout
23271
23272 \end_inset
23273
23274  La ruta del archivo, relativa al documento maestro LyX.
23275 \end_layout
23276
23277 \begin_layout Description
23278 \begin_inset Flex Code
23279 status collapsed
23280
23281 \begin_layout Plain Layout
23282 $$RelPathParent
23283 \end_layout
23284
23285 \end_inset
23286
23287  La ruta del archivo, relativa al documento LyX.
23288 \end_layout
23289
23290 \begin_layout Description
23291 \begin_inset Flex Code
23292 status collapsed
23293
23294 \begin_layout Plain Layout
23295 $$Sysdir
23296 \end_layout
23297
23298 \end_inset
23299
23300  Esta macro expandirá a la ruta absoluta del directorio de sistema.
23301  Esto se usa habitualmente para apuntar a los varios guiones de ayuda que
23302  se empaquetan con LyX.
23303 \end_layout
23304
23305 \begin_layout Description
23306 \begin_inset Flex Code
23307 status collapsed
23308
23309 \begin_layout Plain Layout
23310 $$Tempname
23311 \end_layout
23312
23313 \end_inset
23314
23315  Un nombre y ruta completa a un directorio temporal que será borrado automáticam
23316 ente siempre que el documento se cierra, o se suprime la inserción de material
23317  externo.
23318 \end_layout
23319
23320 \begin_layout Standard
23321 Todas las macros de ruta contienen un separador de rastreo del directorio,
23322  así se puede construir, p.
23323 \begin_inset space \thinspace{}
23324 \end_inset
23325
23326 e., el nombre de archivo absoluto con 
23327 \begin_inset Flex Code
23328 status collapsed
23329
23330 \begin_layout Plain Layout
23331 $$AbsPath$$Basename$$Extension
23332 \end_layout
23333
23334 \end_inset
23335
23336 .
23337 \end_layout
23338
23339 \begin_layout Standard
23340 Las macros anteriores son sustituidas en todos los comandos a menos que
23341  se indique lo contrario.
23342  El comando 
23343 \begin_inset Flex Code
23344 status collapsed
23345
23346 \begin_layout Plain Layout
23347 Product
23348 \end_layout
23349
23350 \end_inset
23351
23352  soporta adicionalmente las siguientes sustituciones si se habilitan por
23353  los comandos 
23354 \begin_inset Flex Code
23355 status collapsed
23356
23357 \begin_layout Plain Layout
23358 Transform
23359 \end_layout
23360
23361 \end_inset
23362
23363  y 
23364 \begin_inset Flex Code
23365 status collapsed
23366
23367 \begin_layout Plain Layout
23368 TransformCommand
23369 \end_layout
23370
23371 \end_inset
23372
23373 :
23374 \end_layout
23375
23376 \begin_layout Description
23377 \begin_inset Flex Code
23378 status collapsed
23379
23380 \begin_layout Plain Layout
23381 $$ResizeFront
23382 \end_layout
23383
23384 \end_inset
23385
23386  La parte delantera del comando para cambiar el tamaño.
23387 \end_layout
23388
23389 \begin_layout Description
23390 \begin_inset Flex Code
23391 status collapsed
23392
23393 \begin_layout Plain Layout
23394 $$ResizeBack
23395 \end_layout
23396
23397 \end_inset
23398
23399  La parte trasera del comando para cambiar el tamaño.
23400 \end_layout
23401
23402 \begin_layout Description
23403 \begin_inset Flex Code
23404 status collapsed
23405
23406 \begin_layout Plain Layout
23407 $$RotateFront
23408 \end_layout
23409
23410 \end_inset
23411
23412  La parte delantera del comando para la rotación.
23413 \end_layout
23414
23415 \begin_layout Description
23416 \begin_inset Flex Code
23417 status collapsed
23418
23419 \begin_layout Plain Layout
23420 $$RotateBack
23421 \end_layout
23422
23423 \end_inset
23424
23425  La parte trasera del comando para la rotación.
23426 \end_layout
23427
23428 \begin_layout Standard
23429 La cadena de valor del comando 
23430 \begin_inset Flex Code
23431 status collapsed
23432
23433 \begin_layout Plain Layout
23434 Option
23435 \end_layout
23436
23437 \end_inset
23438
23439  soporta adicionalmente las siguientes sustituciones si éstas se han habilitado
23440  por los comandos 
23441 \begin_inset Flex Code
23442 status collapsed
23443
23444 \begin_layout Plain Layout
23445 Transform
23446 \end_layout
23447
23448 \end_inset
23449
23450  y 
23451 \begin_inset Flex Code
23452 status collapsed
23453
23454 \begin_layout Plain Layout
23455 TransformOption
23456 \end_layout
23457
23458 \end_inset
23459
23460 :
23461 \end_layout
23462
23463 \begin_layout Description
23464 \begin_inset Flex Code
23465 status collapsed
23466
23467 \begin_layout Plain Layout
23468 $$Clip
23469 \end_layout
23470
23471 \end_inset
23472
23473  La opción recorte.
23474 \end_layout
23475
23476 \begin_layout Description
23477 \begin_inset Flex Code
23478 status collapsed
23479
23480 \begin_layout Plain Layout
23481 $$Extra
23482 \end_layout
23483
23484 \end_inset
23485
23486  La opción extra.
23487 \end_layout
23488
23489 \begin_layout Description
23490 \begin_inset Flex Code
23491 status collapsed
23492
23493 \begin_layout Plain Layout
23494 $$Resize
23495 \end_layout
23496
23497 \end_inset
23498
23499  La opción cambio de tamaño.
23500 \end_layout
23501
23502 \begin_layout Description
23503 \begin_inset Flex Code
23504 status collapsed
23505
23506 \begin_layout Plain Layout
23507 $$Rotate
23508 \end_layout
23509
23510 \end_inset
23511
23512  La opción rotación.
23513 \end_layout
23514
23515 \begin_layout Standard
23516 Te puedes preguntar por qué hay tantas macros de ruta.
23517  Por dos razones, principalmente:
23518 \end_layout
23519
23520 \begin_layout Enumerate
23521 Los nombres de archivo relativo y absoluto deberían permanecer relativo
23522  o absoluto, respectivamente.
23523  Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
23524  Los nombres relativos son útiles para documentos portables que deberían
23525  funcionar en máquinas diferentes, por ejemplo.
23526  Los nombres absolutos pueden ser requeridos por algunos programas.
23527 \end_layout
23528
23529 \begin_layout Enumerate
23530 LaTeX procesa los nombres de archivo relativos de manera diferente a LyX
23531  y otros programas en archivos anidados incluidos.
23532  Para LyX, un nombre de archivo relativo es siempre relativo al documento
23533  que contiene el nombre de archivo.
23534  Para LaTeX, es siempre relativo al documento maestro.
23535  Estas dos definiciones son idénticas si se tiene solo un documento, pero
23536  son distintas si se tiene un documento maestro que incluye documentos parciales.
23537  Esto quiere decir que los nombres de archivo relativos deben ser transformados
23538  cuando se presentan a LaTeX.
23539  Afortunadamente, LyX hace esto automáticamente si se eligen las macros
23540  correctas.
23541 \end_layout
23542
23543 \begin_layout Standard
23544 Así pues, ¿qué macros de ruta deberían emplearse en las definiciones de
23545  plantillas nuevas? La regla no es difícil:
23546 \end_layout
23547
23548 \begin_layout Itemize
23549 Usar 
23550 \begin_inset Flex Code
23551 status collapsed
23552
23553 \begin_layout Plain Layout
23554 $$AbsPath
23555 \end_layout
23556
23557 \end_inset
23558
23559  si se requiere una ruta absoluta.
23560 \end_layout
23561
23562 \begin_layout Itemize
23563 Usar 
23564 \begin_inset Flex Code
23565 status collapsed
23566
23567 \begin_layout Plain Layout
23568 $$AbsOrRelPathMaster
23569 \end_layout
23570
23571 \end_inset
23572
23573  si la cadena sustituida es algún tipo de entrada LaTeX.
23574 \end_layout
23575
23576 \begin_layout Itemize
23577 Si no, usar 
23578 \begin_inset Flex Code
23579 status collapsed
23580
23581 \begin_layout Plain Layout
23582 $$AbsOrRelPathParent
23583 \end_layout
23584
23585 \end_inset
23586
23587  con el fin de preservar la elección del usuario.
23588 \end_layout
23589
23590 \begin_layout Standard
23591 Hay casos especiales en los que esta regla no funciona y se necesitan, p.
23592 \begin_inset space \thinspace{}
23593 \end_inset
23594
23595 e., nombres relativos, pero normalmente funcionará bien.
23596  Un ejemplo de uno de estos casos es el comando 
23597 \begin_inset Flex Code
23598 status collapsed
23599
23600 \begin_layout Plain Layout
23601 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
23602 \end_layout
23603
23604 \end_inset
23605
23606  en la plantilla XFig de arriba: no podemos usar el nombre absoluto porque
23607  el copiador para archivos 
23608 \begin_inset Flex Code
23609 status collapsed
23610
23611 \begin_layout Plain Layout
23612 .pstex_t
23613 \end_layout
23614
23615 \end_inset
23616
23617  necesita el nombre relativo para reescribir el contenido del archivo.
23618 \end_layout
23619
23620 \begin_layout Section
23621 Discusión sobre seguridad
23622 \begin_inset CommandInset label
23623 LatexCommand label
23624 name "sec:Discusión-sobre-seguridad"
23625
23626 \end_inset
23627
23628
23629 \end_layout
23630
23631 \begin_layout Standard
23632 La función material externo interactúa con muchos programas externos y lo
23633  hace de forma automática, así que hemos de tener en cuenta las implicaciones
23634  de seguridad que esto conlleva.
23635  En particular, puesto que tienes la opción de incluir tus propios archivos
23636  y/o cadenas de parámetros y estos se expanden en un comando, parece posible
23637  crear un documento malicioso que ejecute comandos arbitrarios cuando un
23638  usuario ve o imprime el documento.
23639  Esto es algo que definitivamente queremos evitar.
23640  
23641 \end_layout
23642
23643 \begin_layout Standard
23644 Sin embargo, dado que los comandos de material externo se especifican solo
23645  en el archivo de configuración de la plantilla, no hay problemas de seguridad
23646  si LyX está adecuadamente configurado solo con plantillas seguras.
23647  Esto es así porque los programas externos se invocan con la llamada al
23648  sistema 
23649 \begin_inset Flex Code
23650 status collapsed
23651
23652 \begin_layout Plain Layout
23653 execvp
23654 \end_layout
23655
23656 \end_inset
23657
23658  más bien que con la llamada 
23659 \begin_inset Flex Code
23660 status collapsed
23661
23662 \begin_layout Plain Layout
23663 system
23664 \end_layout
23665
23666 \end_inset
23667
23668 , de modo que no es posible ejecutar comandos arbitrarios desde la sección
23669  del nombre de archivo o de parámetros mediante el shell.
23670 \end_layout
23671
23672 \begin_layout Standard
23673 Esto implica además que hay restricciones en las cadenas de comandos que
23674  puedes usar en las plantillas de material externo.
23675  En particular, las tuberías y la redirección no están fácilmente disponibles.
23676  Esto debe ser así para que LyX permanezca seguro.
23677  Si quieres usar algunas características de shell, deberías escribir un
23678  guión seguro para hacerlo de manera controlada, y después invocar el guión
23679  desde la cadena de comandos.
23680 \end_layout
23681
23682 \begin_layout Standard
23683 Es posible diseñar una plantilla que interactúe directamente con el shell,
23684  pero puesto que esto permitiría a un usuario malicioso ejecutar comandos
23685  arbitrarios escribiendo nombres de archivo y/o parámetros astutos, generalmente
23686  recomendamos usar solo guiones seguros que trabajen con la llamada 
23687 \begin_inset Flex Code
23688 status collapsed
23689
23690 \begin_layout Plain Layout
23691 execvp
23692 \end_layout
23693
23694 \end_inset
23695
23696  al sistema en forma controlada.
23697  Por supuesto, para usar en un entorno controlado, puede ser tentador caer
23698  en el uso de guiones de shell ordinarios.
23699  Si lo haces así, sé consciente de que vas a suministrar un agujero se seguridad
23700  fácilmente explotable en tu sistema.
23701  Evidentemente, es de razón que tales plantillas inseguras nunca serán incluidas
23702  en la distribución estándar de LyX, aunque alentamos a la gente a que,
23703  a la usanza del software libre, envíe nuevas plantillas.
23704  No obstante, LyX nunca tendrá plantillas inseguras tal y como se distribuye
23705  por los canales oficiales.
23706 \end_layout
23707
23708 \begin_layout Standard
23709 Incluir material externo suministra mucha potencia y has de ser cuidadoso
23710  en no introducir riesgos de seguridad a costa de esta potencia.
23711  Un sutil error en una simple línea en un guión aparentemente inocente puede
23712  abrir la puerta a graves problemas de seguridad.
23713  Así, si no comprendes totalmente estos asuntos, recomendamos consultar
23714  a un profesional entendido en seguridad o al equipo de desarrollo de LyX
23715  si tienes dudas acerca de si una plantilla dada es o no segura.
23716  Y hazlo antes de usarla en un entorno no controlado.
23717 \end_layout
23718
23719 \begin_layout Chapter
23720 \start_of_appendix
23721
23722 \lang english
23723 List of functions to be used in layouts
23724 \lang spanish
23725
23726 \begin_inset CommandInset label
23727 LatexCommand label
23728 name "chap:List-of-functions"
23729
23730 \end_inset
23731
23732
23733 \end_layout
23734
23735 \begin_layout Standard
23736 \align center
23737 \begin_inset Tabular
23738 <lyxtabular version="3" rows="11" columns="8">
23739 <features rotate="0" tabularvalignment="middle">
23740 <column alignment="left" valignment="top">
23741 <column alignment="left" valignment="top">
23742 <column alignment="left" valignment="top">
23743 <column alignment="left" valignment="top">
23744 <column alignment="left" valignment="top">
23745 <column alignment="left" valignment="top">
23746 <column alignment="left" valignment="top">
23747 <column alignment="left" valignment="top">
23748 <row>
23749 <cell alignment="left" valignment="top" usebox="none">
23750 \begin_inset Text
23751
23752 \begin_layout Plain Layout
23753 accents
23754 \end_layout
23755
23756 \end_inset
23757 </cell>
23758 <cell alignment="left" valignment="top" usebox="none">
23759 \begin_inset Text
23760
23761 \begin_layout Plain Layout
23762 booktabs
23763 \end_layout
23764
23765 \end_inset
23766 </cell>
23767 <cell alignment="left" valignment="top" usebox="none">
23768 \begin_inset Text
23769
23770 \begin_layout Plain Layout
23771 feyn
23772 \end_layout
23773
23774 \end_inset
23775 </cell>
23776 <cell alignment="left" valignment="top" usebox="none">
23777 \begin_inset Text
23778
23779 \begin_layout Plain Layout
23780 listings
23781 \end_layout
23782
23783 \end_inset
23784 </cell>
23785 <cell alignment="center" valignment="top" usebox="none">
23786 \begin_inset Text
23787
23788 \begin_layout Plain Layout
23789 natbib
23790 \end_layout
23791
23792 \end_inset
23793 </cell>
23794 <cell alignment="center" valignment="top" usebox="none">
23795 \begin_inset Text
23796
23797 \begin_layout Plain Layout
23798 rotfloat
23799 \end_layout
23800
23801 \end_inset
23802 </cell>
23803 <cell alignment="center" valignment="top" usebox="none">
23804 \begin_inset Text
23805
23806 \begin_layout Plain Layout
23807 tfrupee
23808 \end_layout
23809
23810 \end_inset
23811 </cell>
23812 <cell alignment="center" valignment="top" usebox="none">
23813 \begin_inset Text
23814
23815 \begin_layout Plain Layout
23816 wasysym
23817 \end_layout
23818
23819 \end_inset
23820 </cell>
23821 </row>
23822 <row>
23823 <cell alignment="left" valignment="top" usebox="none">
23824 \begin_inset Text
23825
23826 \begin_layout Plain Layout
23827 amsbsy
23828 \end_layout
23829
23830 \end_inset
23831 </cell>
23832 <cell alignment="left" valignment="top" usebox="none">
23833 \begin_inset Text
23834
23835 \begin_layout Plain Layout
23836 calc
23837 \end_layout
23838
23839 \end_inset
23840 </cell>
23841 <cell alignment="left" valignment="top" usebox="none">
23842 \begin_inset Text
23843
23844 \begin_layout Plain Layout
23845 fixltx2e
23846 \end_layout
23847
23848 \end_inset
23849 </cell>
23850 <cell alignment="left" valignment="top" usebox="none">
23851 \begin_inset Text
23852
23853 \begin_layout Plain Layout
23854 longtable
23855 \end_layout
23856
23857 \end_inset
23858 </cell>
23859 <cell alignment="center" valignment="top" usebox="none">
23860 \begin_inset Text
23861
23862 \begin_layout Plain Layout
23863 nomencl
23864 \end_layout
23865
23866 \end_inset
23867 </cell>
23868 <cell alignment="center" valignment="top" usebox="none">
23869 \begin_inset Text
23870
23871 \begin_layout Plain Layout
23872 rsphrase
23873 \end_layout
23874
23875 \end_inset
23876 </cell>
23877 <cell alignment="center" valignment="top" usebox="none">
23878 \begin_inset Text
23879
23880 \begin_layout Plain Layout
23881 tipa
23882 \end_layout
23883
23884 \end_inset
23885 </cell>
23886 <cell alignment="center" valignment="top" usebox="none">
23887 \begin_inset Text
23888
23889 \begin_layout Plain Layout
23890 wrapfig
23891 \end_layout
23892
23893 \end_inset
23894 </cell>
23895 </row>
23896 <row>
23897 <cell alignment="left" valignment="top" usebox="none">
23898 \begin_inset Text
23899
23900 \begin_layout Plain Layout
23901 amscd
23902 \end_layout
23903
23904 \end_inset
23905 </cell>
23906 <cell alignment="left" valignment="top" usebox="none">
23907 \begin_inset Text
23908
23909 \begin_layout Plain Layout
23910 CJK
23911 \end_layout
23912
23913 \end_inset
23914 </cell>
23915 <cell alignment="left" valignment="top" usebox="none">
23916 \begin_inset Text
23917
23918 \begin_layout Plain Layout
23919 float
23920 \end_layout
23921
23922 \end_inset
23923 </cell>
23924 <cell alignment="left" valignment="top" usebox="none">
23925 \begin_inset Text
23926
23927 \begin_layout Plain Layout
23928 lyxskak
23929 \end_layout
23930
23931 \end_inset
23932 </cell>
23933 <cell alignment="center" valignment="top" usebox="none">
23934 \begin_inset Text
23935
23936 \begin_layout Plain Layout
23937 pdfcolmk
23938 \end_layout
23939
23940 \end_inset
23941 </cell>
23942 <cell alignment="center" valignment="top" usebox="none">
23943 \begin_inset Text
23944
23945 \begin_layout Plain Layout
23946 setspace
23947 \end_layout
23948
23949 \end_inset
23950 </cell>
23951 <cell alignment="center" valignment="top" usebox="none">
23952 \begin_inset Text
23953
23954 \begin_layout Plain Layout
23955 tipx
23956 \end_layout
23957
23958 \end_inset
23959 </cell>
23960 <cell alignment="center" valignment="top" usebox="none">
23961 \begin_inset Text
23962
23963 \begin_layout Plain Layout
23964 xargs
23965 \end_layout
23966
23967 \end_inset
23968 </cell>
23969 </row>
23970 <row>
23971 <cell alignment="left" valignment="top" usebox="none">
23972 \begin_inset Text
23973
23974 \begin_layout Plain Layout
23975 amsmath
23976 \end_layout
23977
23978 \end_inset
23979 </cell>
23980 <cell alignment="left" valignment="top" usebox="none">
23981 \begin_inset Text
23982
23983 \begin_layout Plain Layout
23984 color
23985 \end_layout
23986
23987 \end_inset
23988 </cell>
23989 <cell alignment="left" valignment="top" usebox="none">
23990 \begin_inset Text
23991
23992 \begin_layout Plain Layout
23993 framed
23994 \end_layout
23995
23996 \end_inset
23997 </cell>
23998 <cell alignment="left" valignment="top" usebox="none">
23999 \begin_inset Text
24000
24001 \begin_layout Plain Layout
24002 makeidx
24003 \end_layout
24004
24005 \end_inset
24006 </cell>
24007 <cell alignment="center" valignment="top" usebox="none">
24008 \begin_inset Text
24009
24010 \begin_layout Plain Layout
24011 pdfpages
24012 \end_layout
24013
24014 \end_inset
24015 </cell>
24016 <cell alignment="center" valignment="top" usebox="none">
24017 \begin_inset Text
24018
24019 \begin_layout Plain Layout
24020 shapepar
24021 \end_layout
24022
24023 \end_inset
24024 </cell>
24025 <cell alignment="center" valignment="top" usebox="none">
24026 \begin_inset Text
24027
24028 \begin_layout Plain Layout
24029 tone
24030 \end_layout
24031
24032 \end_inset
24033 </cell>
24034 <cell alignment="center" valignment="top" usebox="none">
24035 \begin_inset Text
24036
24037 \begin_layout Plain Layout
24038 xcolor
24039 \end_layout
24040
24041 \end_inset
24042 </cell>
24043 </row>
24044 <row>
24045 <cell alignment="left" valignment="top" usebox="none">
24046 \begin_inset Text
24047
24048 \begin_layout Plain Layout
24049 amssymb
24050 \end_layout
24051
24052 \end_inset
24053 </cell>
24054 <cell alignment="left" valignment="top" usebox="none">
24055 \begin_inset Text
24056
24057 \begin_layout Plain Layout
24058 covington
24059 \end_layout
24060
24061 \end_inset
24062 </cell>
24063 <cell alignment="left" valignment="top" usebox="none">
24064 \begin_inset Text
24065
24066 \begin_layout Plain Layout
24067 graphicx
24068 \end_layout
24069
24070 \end_inset
24071 </cell>
24072 <cell alignment="left" valignment="top" usebox="none">
24073 \begin_inset Text
24074
24075 \begin_layout Plain Layout
24076 marvosym
24077 \end_layout
24078
24079 \end_inset
24080 </cell>
24081 <cell alignment="center" valignment="top" usebox="none">
24082 \begin_inset Text
24083
24084 \begin_layout Plain Layout
24085 pifont
24086 \end_layout
24087
24088 \end_inset
24089 </cell>
24090 <cell alignment="center" valignment="top" usebox="none">
24091 \begin_inset Text
24092
24093 \begin_layout Plain Layout
24094 slashed
24095 \end_layout
24096
24097 \end_inset
24098 </cell>
24099 <cell alignment="center" valignment="top" usebox="none">
24100 \begin_inset Text
24101
24102 \begin_layout Plain Layout
24103 txfonts
24104 \end_layout
24105
24106 \end_inset
24107 </cell>
24108 <cell alignment="center" valignment="top" usebox="none">
24109 \begin_inset Text
24110
24111 \begin_layout Plain Layout
24112 xy
24113 \end_layout
24114
24115 \end_inset
24116 </cell>
24117 </row>
24118 <row>
24119 <cell alignment="left" valignment="top" usebox="none">
24120 \begin_inset Text
24121
24122 \begin_layout Plain Layout
24123 amstext
24124 \end_layout
24125
24126 \end_inset
24127 </cell>
24128 <cell alignment="left" valignment="top" usebox="none">
24129 \begin_inset Text
24130
24131 \begin_layout Plain Layout
24132 csquotes
24133 \end_layout
24134
24135 \end_inset
24136 </cell>
24137 <cell alignment="left" valignment="top" usebox="none">
24138 \begin_inset Text
24139
24140 \begin_layout Plain Layout
24141 hhline
24142 \end_layout
24143
24144 \end_inset
24145 </cell>
24146 <cell alignment="left" valignment="top" usebox="none">
24147 \begin_inset Text
24148
24149 \begin_layout Plain Layout
24150 mathdesign
24151 \end_layout
24152
24153 \end_inset
24154 </cell>
24155 <cell alignment="center" valignment="top" usebox="none">
24156 \begin_inset Text
24157
24158 \begin_layout Plain Layout
24159 pmboxdraw
24160 \end_layout
24161
24162 \end_inset
24163 </cell>
24164 <cell alignment="center" valignment="top" usebox="none">
24165 \begin_inset Text
24166
24167 \begin_layout Plain Layout
24168 soul
24169 \end_layout
24170
24171 \end_inset
24172 </cell>
24173 <cell alignment="center" valignment="top" usebox="none">
24174 \begin_inset Text
24175
24176 \begin_layout Plain Layout
24177 ulem
24178 \end_layout
24179
24180 \end_inset
24181 </cell>
24182 <cell alignment="center" valignment="top" usebox="none">
24183 \begin_inset Text
24184
24185 \begin_layout Plain Layout
24186 yhmath
24187 \end_layout
24188
24189 \end_inset
24190 </cell>
24191 </row>
24192 <row>
24193 <cell alignment="left" valignment="top" usebox="none">
24194 \begin_inset Text
24195
24196 \begin_layout Plain Layout
24197 amsthm
24198 \end_layout
24199
24200 \end_inset
24201 </cell>
24202 <cell alignment="left" valignment="top" usebox="none">
24203 \begin_inset Text
24204
24205 \begin_layout Plain Layout
24206 dvipost
24207 \end_layout
24208
24209 \end_inset
24210 </cell>
24211 <cell alignment="left" valignment="top" usebox="none">
24212 \begin_inset Text
24213
24214 \begin_layout Plain Layout
24215 hyperref
24216 \end_layout
24217
24218 \end_inset
24219 </cell>
24220 <cell alignment="left" valignment="top" usebox="none">
24221 \begin_inset Text
24222
24223 \begin_layout Plain Layout
24224 mathdots
24225 \end_layout
24226
24227 \end_inset
24228 </cell>
24229 <cell alignment="center" valignment="top" usebox="none">
24230 \begin_inset Text
24231
24232 \begin_layout Plain Layout
24233 polyglossia
24234 \end_layout
24235
24236 \end_inset
24237 </cell>
24238 <cell alignment="center" valignment="top" usebox="none">
24239 \begin_inset Text
24240
24241 \begin_layout Plain Layout
24242 splitidx
24243 \end_layout
24244
24245 \end_inset
24246 </cell>
24247 <cell alignment="center" valignment="top" usebox="none">
24248 \begin_inset Text
24249
24250 \begin_layout Plain Layout
24251 undertilde
24252 \end_layout
24253
24254 \end_inset
24255 </cell>
24256 <cell alignment="center" valignment="top" usebox="none">
24257 \begin_inset Text
24258
24259 \begin_layout Plain Layout
24260
24261 \end_layout
24262
24263 \end_inset
24264 </cell>
24265 </row>
24266 <row>
24267 <cell alignment="left" valignment="top" usebox="none">
24268 \begin_inset Text
24269
24270 \begin_layout Plain Layout
24271 array
24272 \end_layout
24273
24274 \end_inset
24275 </cell>
24276 <cell alignment="left" valignment="top" usebox="none">
24277 \begin_inset Text
24278
24279 \begin_layout Plain Layout
24280 endnotes
24281 \end_layout
24282
24283 \end_inset
24284 </cell>
24285 <cell alignment="left" valignment="top" usebox="none">
24286 \begin_inset Text
24287
24288 \begin_layout Plain Layout
24289 ifsym
24290 \end_layout
24291
24292 \end_inset
24293 </cell>
24294 <cell alignment="left" valignment="top" usebox="none">
24295 \begin_inset Text
24296
24297 \begin_layout Plain Layout
24298 mathrsfs
24299 \end_layout
24300
24301 \end_inset
24302 </cell>
24303 <cell alignment="center" valignment="top" usebox="none">
24304 \begin_inset Text
24305
24306 \begin_layout Plain Layout
24307 prettyref
24308 \end_layout
24309
24310 \end_inset
24311 </cell>
24312 <cell alignment="center" valignment="top" usebox="none">
24313 \begin_inset Text
24314
24315 \begin_layout Plain Layout
24316 subfig
24317 \end_layout
24318
24319 \end_inset
24320 </cell>
24321 <cell alignment="center" valignment="top" usebox="none">
24322 \begin_inset Text
24323
24324 \begin_layout Plain Layout
24325 units
24326 \end_layout
24327
24328 \end_inset
24329 </cell>
24330 <cell alignment="center" valignment="top" usebox="none">
24331 \begin_inset Text
24332
24333 \begin_layout Plain Layout
24334
24335 \end_layout
24336
24337 \end_inset
24338 </cell>
24339 </row>
24340 <row>
24341 <cell alignment="left" valignment="top" usebox="none">
24342 \begin_inset Text
24343
24344 \begin_layout Plain Layout
24345 ascii
24346 \end_layout
24347
24348 \end_inset
24349 </cell>
24350 <cell alignment="left" valignment="top" usebox="none">
24351 \begin_inset Text
24352
24353 \begin_layout Plain Layout
24354 enumitem
24355 \end_layout
24356
24357 \end_inset
24358 </cell>
24359 <cell alignment="left" valignment="top" usebox="none">
24360 \begin_inset Text
24361
24362 \begin_layout Plain Layout
24363 ifthen
24364 \end_layout
24365
24366 \end_inset
24367 </cell>
24368 <cell alignment="left" valignment="top" usebox="none">
24369 \begin_inset Text
24370
24371 \begin_layout Plain Layout
24372 mhchem
24373 \end_layout
24374
24375 \end_inset
24376 </cell>
24377 <cell alignment="center" valignment="top" usebox="none">
24378 \begin_inset Text
24379
24380 \begin_layout Plain Layout
24381 pxfonts
24382 \end_layout
24383
24384 \end_inset
24385 </cell>
24386 <cell alignment="center" valignment="top" usebox="none">
24387 \begin_inset Text
24388
24389 \begin_layout Plain Layout
24390 subscript
24391 \end_layout
24392
24393 \end_inset
24394 </cell>
24395 <cell alignment="center" valignment="top" usebox="none">
24396 \begin_inset Text
24397
24398 \begin_layout Plain Layout
24399 url
24400 \end_layout
24401
24402 \end_inset
24403 </cell>
24404 <cell alignment="center" valignment="top" usebox="none">
24405 \begin_inset Text
24406
24407 \begin_layout Plain Layout
24408
24409 \end_layout
24410
24411 \end_inset
24412 </cell>
24413 </row>
24414 <row>
24415 <cell alignment="left" valignment="top" usebox="none">
24416 \begin_inset Text
24417
24418 \begin_layout Plain Layout
24419 bbding
24420 \end_layout
24421
24422 \end_inset
24423 </cell>
24424 <cell alignment="left" valignment="top" usebox="none">
24425 \begin_inset Text
24426
24427 \begin_layout Plain Layout
24428 esint
24429 \end_layout
24430
24431 \end_inset
24432 </cell>
24433 <cell alignment="left" valignment="top" usebox="none">
24434 \begin_inset Text
24435
24436 \begin_layout Plain Layout
24437 jurabib
24438 \end_layout
24439
24440 \end_inset
24441 </cell>
24442 <cell alignment="left" valignment="top" usebox="none">
24443 \begin_inset Text
24444
24445 \begin_layout Plain Layout
24446 multicol
24447 \end_layout
24448
24449 \end_inset
24450 </cell>
24451 <cell alignment="center" valignment="top" usebox="none">
24452 \begin_inset Text
24453
24454 \begin_layout Plain Layout
24455 refstyle
24456 \end_layout
24457
24458 \end_inset
24459 </cell>
24460 <cell alignment="center" valignment="top" usebox="none">
24461 \begin_inset Text
24462
24463 \begin_layout Plain Layout
24464 textcomp
24465 \end_layout
24466
24467 \end_inset
24468 </cell>
24469 <cell alignment="center" valignment="top" usebox="none">
24470 \begin_inset Text
24471
24472 \begin_layout Plain Layout
24473 varioref
24474 \end_layout
24475
24476 \end_inset
24477 </cell>
24478 <cell alignment="center" valignment="top" usebox="none">
24479 \begin_inset Text
24480
24481 \begin_layout Plain Layout
24482
24483 \end_layout
24484
24485 \end_inset
24486 </cell>
24487 </row>
24488 <row>
24489 <cell alignment="center" valignment="top" usebox="none">
24490 \begin_inset Text
24491
24492 \begin_layout Plain Layout
24493 bm
24494 \end_layout
24495
24496 \end_inset
24497 </cell>
24498 <cell alignment="center" valignment="top" usebox="none">
24499 \begin_inset Text
24500
24501 \begin_layout Plain Layout
24502 fancybox
24503 \end_layout
24504
24505 \end_inset
24506 </cell>
24507 <cell alignment="center" valignment="top" usebox="none">
24508 \begin_inset Text
24509
24510 \begin_layout Plain Layout
24511 latexsym
24512 \end_layout
24513
24514 \end_inset
24515 </cell>
24516 <cell alignment="center" valignment="top" usebox="none">
24517 \begin_inset Text
24518
24519 \begin_layout Plain Layout
24520 multirow
24521 \end_layout
24522
24523 \end_inset
24524 </cell>
24525 <cell alignment="center" valignment="top" usebox="none">
24526 \begin_inset Text
24527
24528 \begin_layout Plain Layout
24529 rotating
24530 \end_layout
24531
24532 \end_inset
24533 </cell>
24534 <cell alignment="center" valignment="top" usebox="none">
24535 \begin_inset Text
24536
24537 \begin_layout Plain Layout
24538 textgreek
24539 \end_layout
24540
24541 \end_inset
24542 </cell>
24543 <cell alignment="center" valignment="top" usebox="none">
24544 \begin_inset Text
24545
24546 \begin_layout Plain Layout
24547 verbatim
24548 \end_layout
24549
24550 \end_inset
24551 </cell>
24552 <cell alignment="center" valignment="top" usebox="none">
24553 \begin_inset Text
24554
24555 \begin_layout Plain Layout
24556
24557 \end_layout
24558
24559 \end_inset
24560 </cell>
24561 </row>
24562 </lyxtabular>
24563
24564 \end_inset
24565
24566
24567 \end_layout
24568
24569 \begin_layout Chapter
24570
24571 \lang english
24572 Names of available colors to be used in layouts
24573 \lang spanish
24574
24575 \begin_inset CommandInset label
24576 LatexCommand label
24577 name "chap:Names-of-colors"
24578
24579 \end_inset
24580
24581
24582 \end_layout
24583
24584 \begin_layout Standard
24585
24586 \lang english
24587 The colors listed here are the standard colors and the those that you can
24588  adjust in the LyX preferences.
24589 \end_layout
24590
24591 \begin_layout Description
24592
24593 \lang english
24594 none
24595 \family roman
24596 \series medium
24597 \shape up
24598 \size normal
24599 \emph off
24600 \bar no
24601 \strikeout off
24602 \uuline off
24603 \uwave off
24604 \noun off
24605 \color none
24606  No particular color -- clear or default
24607 \end_layout
24608
24609 \begin_layout Description
24610
24611 \lang english
24612 black
24613 \end_layout
24614
24615 \begin_layout Description
24616
24617 \lang english
24618 white
24619 \end_layout
24620
24621 \begin_layout Description
24622
24623 \lang english
24624 red
24625 \end_layout
24626
24627 \begin_layout Description
24628
24629 \lang english
24630 green
24631 \end_layout
24632
24633 \begin_layout Description
24634
24635 \lang english
24636 blue
24637 \end_layout
24638
24639 \begin_layout Description
24640
24641 \lang english
24642 cyan
24643 \end_layout
24644
24645 \begin_layout Description
24646
24647 \lang english
24648 magenta
24649 \end_layout
24650
24651 \begin_layout Description
24652
24653 \lang english
24654 yellow
24655 \end_layout
24656
24657 \begin_layout Description
24658
24659 \lang english
24660 added_space Added space marker color
24661 \end_layout
24662
24663 \begin_layout Description
24664
24665 \lang english
24666 addedtext Added text color
24667 \end_layout
24668
24669 \begin_layout Description
24670
24671 \lang english
24672 appendix Appendix marker color
24673 \end_layout
24674
24675 \begin_layout Description
24676
24677 \lang english
24678 background Background color
24679 \end_layout
24680
24681 \begin_layout Description
24682
24683 \lang english
24684 bottomarea Bottom area color
24685 \end_layout
24686
24687 \begin_layout Description
24688
24689 \lang english
24690 branchlabel Label color for branches
24691 \end_layout
24692
24693 \begin_layout Description
24694
24695 \lang english
24696 buttonbg Color used for bottom background
24697 \end_layout
24698
24699 \begin_layout Description
24700
24701 \lang english
24702 buttonhoverbg Color used for button background under focus
24703 \end_layout
24704
24705 \begin_layout Description
24706
24707 \lang english
24708 buttonframe Color for inset button frames
24709 \end_layout
24710
24711 \begin_layout Description
24712
24713 \lang english
24714 changebar Changebar color
24715 \end_layout
24716
24717 \begin_layout Description
24718
24719 \lang english
24720 changedtextauthor1 Changed text color author 1
24721 \end_layout
24722
24723 \begin_layout Description
24724
24725 \lang english
24726 changedtextauthor2 Changed text color author 2
24727 \end_layout
24728
24729 \begin_layout Description
24730
24731 \lang english
24732 changedtextauthor3 Changed text color author 3
24733 \end_layout
24734
24735 \begin_layout Description
24736
24737 \lang english
24738 changedtextauthor4 Changed text color author 4
24739 \end_layout
24740
24741 \begin_layout Description
24742
24743 \lang english
24744 changedtextauthor5 Changed text color author 5
24745 \end_layout
24746
24747 \begin_layout Description
24748
24749 \lang english
24750 collapsable_inset_frame Collapsable insets framecolor
24751 \end_layout
24752
24753 \begin_layout Description
24754
24755 \lang english
24756 collapsable_inset_text Collapsable insets text color
24757 \end_layout
24758
24759 \begin_layout Description
24760
24761 \lang english
24762 command Text color for command insets
24763 \end_layout
24764
24765 \begin_layout Description
24766
24767 \lang english
24768 commandbg Background color for command insets
24769 \end_layout
24770
24771 \begin_layout Description
24772
24773 \lang english
24774 commandframe Frame color for command insets
24775 \end_layout
24776
24777 \begin_layout Description
24778
24779 \lang english
24780 comment color for comments
24781 \end_layout
24782
24783 \begin_layout Description
24784
24785 \lang english
24786 commentbg Background color of comments
24787 \end_layout
24788
24789 \begin_layout Description
24790
24791 \lang english
24792 cursor Cursor color
24793 \end_layout
24794
24795 \begin_layout Description
24796
24797 \lang english
24798 deletedtext Deleted text color
24799 \end_layout
24800
24801 \begin_layout Description
24802
24803 \lang english
24804 deletedtextmodifier Deleted text modifying color
24805 \end_layout
24806
24807 \begin_layout Description
24808
24809 \lang english
24810 depthbar Color for the depth bars in the margin
24811 \end_layout
24812
24813 \begin_layout Description
24814
24815 \lang english
24816 eolmarker End of line marker color
24817 \end_layout
24818
24819 \begin_layout Description
24820
24821 \lang english
24822 error Color of the LaTeX error box
24823 \end_layout
24824
24825 \begin_layout Description
24826
24827 \lang english
24828 footlabel Label color for footnotes
24829 \end_layout
24830
24831 \begin_layout Description
24832
24833 \lang english
24834 graphicsbg Graphics inset background color
24835 \end_layout
24836
24837 \begin_layout Description
24838
24839 \lang english
24840 greyedout Label color for greyedout insets
24841 \end_layout
24842
24843 \begin_layout Description
24844
24845 \lang english
24846 greyedoutbg Background color of greyedout inset
24847 \end_layout
24848
24849 \begin_layout Description
24850
24851 \lang english
24852 greyedouttext Color for greyedout inset text
24853 \end_layout
24854
24855 \begin_layout Description
24856
24857 \lang english
24858 indexlabel Label color for index insets
24859 \end_layout
24860
24861 \begin_layout Description
24862
24863 \lang english
24864 ignore The color is ignored
24865 \end_layout
24866
24867 \begin_layout Description
24868
24869 \lang english
24870 inherit The color is inherited
24871 \end_layout
24872
24873 \begin_layout Description
24874
24875 \lang english
24876 inlinecompletion Inline completion color
24877 \end_layout
24878
24879 \begin_layout Description
24880
24881 \lang english
24882 insetbg Inset marker background color
24883 \end_layout
24884
24885 \begin_layout Description
24886
24887 \lang english
24888 insetframe Inset marker frame color
24889 \end_layout
24890
24891 \begin_layout Description
24892
24893 \lang english
24894 language Color for marking foreign language words
24895 \end_layout
24896
24897 \begin_layout Description
24898
24899 \lang english
24900 latex Text color in LaTeX mode
24901 \end_layout
24902
24903 \begin_layout Description
24904
24905 \lang english
24906 listingsbg Background color of listings inset
24907 \end_layout
24908
24909 \begin_layout Description
24910
24911 \lang english
24912 marginlabel Label color for margin notes
24913 \end_layout
24914
24915 \begin_layout Description
24916
24917 \lang english
24918 math Math inset text color
24919 \end_layout
24920
24921 \begin_layout Description
24922
24923 \lang english
24924 mathbg Math inset background color
24925 \end_layout
24926
24927 \begin_layout Description
24928
24929 \lang english
24930 mathcorners Math inset frame color not under focus
24931 \end_layout
24932
24933 \begin_layout Description
24934
24935 \lang english
24936 mathframe Math inset frame color under focus
24937 \end_layout
24938
24939 \begin_layout Description
24940
24941 \lang english
24942 mathline Math line color
24943 \end_layout
24944
24945 \begin_layout Description
24946
24947 \lang english
24948 mathmacrobg Macro math inset background color
24949 \end_layout
24950
24951 \begin_layout Description
24952
24953 \lang english
24954 mathmacroblend Macro math blended color
24955 \end_layout
24956
24957 \begin_layout Description
24958
24959 \lang english
24960 mathmacroframe Macro math frame color
24961 \end_layout
24962
24963 \begin_layout Description
24964
24965 \lang english
24966 mathmacrohoverbg Macro math inset background color hovered
24967 \end_layout
24968
24969 \begin_layout Description
24970
24971 \lang english
24972 mathmacrolabel Macro math label color
24973 \end_layout
24974
24975 \begin_layout Description
24976
24977 \lang english
24978 mathmacronewarg Macro template color for new parameters
24979 \end_layout
24980
24981 \begin_layout Description
24982
24983 \lang english
24984 mathmacrooldarg Macro template color for old parameters
24985 \end_layout
24986
24987 \begin_layout Description
24988
24989 \lang english
24990 newpage New page color
24991 \end_layout
24992
24993 \begin_layout Description
24994
24995 \lang english
24996 nonunique_inlinecompletion Inline completion color for the non-unique part
24997 \end_layout
24998
24999 \begin_layout Description
25000
25001 \lang english
25002 notebg Background color of notes
25003 \end_layout
25004
25005 \begin_layout Description
25006
25007 \lang english
25008 notelabel Label color for notes
25009 \end_layout
25010
25011 \begin_layout Description
25012
25013 \lang english
25014 pagebreak Page break/line break color
25015 \end_layout
25016
25017 \begin_layout Description
25018
25019 \lang english
25020 paragraphmarker Color used for the pilcrow sign to mark the end of a paragraph
25021 \end_layout
25022
25023 \begin_layout Description
25024
25025 \lang english
25026 phantomtext Text color for phantom insets
25027 \end_layout
25028
25029 \begin_layout Description
25030
25031 \lang english
25032 preview The color used for previews
25033 \end_layout
25034
25035 \begin_layout Description
25036
25037 \lang english
25038 previewframe Preview frame color
25039 \end_layout
25040
25041 \begin_layout Description
25042
25043 \lang english
25044 regexpframe Color for regexp frame
25045 \end_layout
25046
25047 \begin_layout Description
25048
25049 \lang english
25050 selection Background color of selected text
25051 \end_layout
25052
25053 \begin_layout Description
25054
25055 \lang english
25056 selectiontext Foreground color of selected text
25057 \end_layout
25058
25059 \begin_layout Description
25060
25061 \lang english
25062 shadedbg Background color of shaded box
25063 \end_layout
25064
25065 \begin_layout Description
25066
25067 \lang english
25068 special Special chars text color
25069 \end_layout
25070
25071 \begin_layout Description
25072
25073 \lang english
25074 tabularline Table line color
25075 \end_layout
25076
25077 \begin_layout Description
25078
25079 \lang english
25080 tabularonoffline Table line color
25081 \end_layout
25082
25083 \begin_layout Description
25084
25085 \lang english
25086 urllabel Label color for URL insets
25087 \end_layout
25088
25089 \begin_layout Description
25090
25091 \lang english
25092 urltext Color for URL inset text
25093 \end_layout
25094
25095 \end_body
25096 \end_document