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