]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Customization.lyx
* UG - move fullscreen section, see #12124.
[lyx.git] / lib / doc / es / Customization.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 614
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/es/
7 \textclass scrbook
8 \begin_preamble
9 % DO NOT ALTER THIS PREAMBLE!!!
10 %
11 % This preamble is designed to ensure that the manual prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected.  If you
14 % have problems LaTeXing this file, please contact 
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
17
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
22   \frontmatter
23   \pdfbookmark[1]{\contentsname}{}
24   \myTOC
25   \mainmatter }
26
27 \@ifpackageloaded{babel}{
28  % increase link area for cross-references and autoname them,
29  \AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1}}}}
30  \addto\extrasspanish{%
31   \renewcommand*{\equationautorefname}[1]{}%
32   \renewcommand{\sectionautorefname}{sec.\negthinspace}%
33   \renewcommand{\subsectionautorefname}{sec.\negthinspace}%
34   \renewcommand{\subsubsectionautorefname}{sec.\negthinspace}%
35  }
36 }{}
37 \end_preamble
38 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
39 \use_default_options false
40 \begin_modules
41 logicalmkup
42 \end_modules
43 \maintain_unincluded_children no
44 \language spanish
45 \language_package default
46 \inputencoding utf8
47 \fontencoding auto
48 \font_roman "lmodern" "default"
49 \font_sans "lmss" "default"
50 \font_typewriter "lmtt" "default"
51 \font_math "auto" "auto"
52 \font_default_family default
53 \use_non_tex_fonts false
54 \font_sc false
55 \font_roman_osf false
56 \font_sans_osf false
57 \font_typewriter_osf false
58 \font_sf_scale 100 100
59 \font_tt_scale 100 100
60 \use_microtype false
61 \use_dash_ligatures false
62 \graphics default
63 \default_output_format pdf2
64 \output_sync 0
65 \bibtex_command default
66 \index_command default
67 \paperfontsize 12
68 \spacing single
69 \use_hyperref true
70 \pdf_title "Manual Personalización de LyX"
71 \pdf_author "Equipo LyX"
72 \pdf_subject "LyX-documentation Customization"
73 \pdf_keywords "LyX, documentation, customization"
74 \pdf_bookmarks true
75 \pdf_bookmarksnumbered true
76 \pdf_bookmarksopen true
77 \pdf_bookmarksopenlevel 1
78 \pdf_breaklinks false
79 \pdf_pdfborder false
80 \pdf_colorlinks true
81 \pdf_backref false
82 \pdf_pdfusetitle false
83 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
84 \papersize default
85 \use_geometry false
86 \use_package amsmath 1
87 \use_package amssymb 1
88 \use_package cancel 1
89 \use_package esint 1
90 \use_package mathdots 1
91 \use_package mathtools 1
92 \use_package mhchem 1
93 \use_package stackrel 1
94 \use_package stmaryrd 1
95 \use_package undertilde 1
96 \cite_engine basic
97 \cite_engine_type default
98 \biblio_style plain
99 \use_bibtopic false
100 \use_indices false
101 \paperorientation portrait
102 \suppress_date false
103 \justification true
104 \use_refstyle 0
105 \use_minted 0
106 \use_lineno 0
107 \notefontcolor #0000ff
108 \branch OutDated
109 \selected 0
110 \filename_suffix 0
111 \color #f5fae7 #0a0518
112 \end_branch
113 \index Índice
114 \shortcut idx
115 \color #008000
116 \end_index
117 \secnumdepth 3
118 \tocdepth 3
119 \paragraph_separation indent
120 \paragraph_indentation default
121 \is_math_indent 1
122 \math_indentation default
123 \math_numbering_side default
124 \quotes_style swiss
125 \dynamic_quotes 0
126 \papercolumns 1
127 \papersides 2
128 \paperpagestyle headings
129 \tablestyle default
130 \tracking_changes false
131 \output_changes false
132 \change_bars false
133 \postpone_fragile_content false
134 \html_math_output 0
135 \html_css_as_file 0
136 \html_be_strict true
137 \docbook_table_output 0
138 \docbook_mathml_prefix 1
139 \end_header
140
141 \begin_body
142
143 \begin_layout Title
144 Personalizar \SpecialChar LyX
145 :
146  Características para el usuario avanzado
147 \end_layout
148
149 \begin_layout Author
150 por el equipo \SpecialChar LyX
151
152 \begin_inset Foot
153 status collapsed
154
155 \begin_layout Plain Layout
156 \noindent
157 Si tienes correcciones o comentarios,
158  envíalos,
159  por favor,
160  a la lista de correo de Documentación de \SpecialChar LyX
161 ,
162  
163 \begin_inset CommandInset href
164 LatexCommand href
165 target "lyx-docs@lists.lyx.org"
166 type "mailto:"
167 literal "false"
168
169 \end_inset
170
171 .
172  Incluye 
173 \begin_inset Quotes cld
174 \end_inset
175
176 [Customization]
177 \begin_inset Quotes crd
178 \end_inset
179
180  en la cabecera de asunto,
181  y envía una cc al actual mantenedor de este documento,
182  Richard Kimberly Heck <rikiheck@lyx.org>.
183 \end_layout
184
185 \end_inset
186
187  
188 \begin_inset Newline newline
189 \end_inset
190
191
192 \begin_inset Newline newline
193 \end_inset
194
195 Versión 2.3.x
196 \end_layout
197
198 \begin_layout Standard
199 \begin_inset CommandInset toc
200 LatexCommand tableofcontents
201
202 \end_inset
203
204
205 \end_layout
206
207 \begin_layout Chapter
208 Introducción
209 \end_layout
210
211 \begin_layout Standard
212 Este manual trata de las características de \SpecialChar LyX
213  que pueden ser modificadas por el usuario.
214  En él abordamos temas como atajos de teclado,
215  opciones de vista previa en pantalla,
216  opciones de impresora,
217  envío de comandos mediante \SpecialChar LyX
218  Server,
219  internacionalización,
220  instalación de nuevas clases de \SpecialChar LaTeX
221  y de formatos de \SpecialChar LyX
222 ,
223  etc.
224  Seguro que no podemos aspirar a tratar todo lo que se puede cambiar,
225  —
226 nuestross desarrolladores añaden características nuevas más deprisa de lo que las podemos documentar—
227  pero explicaremos las modificaciones más comunes y y esperamos orientarte en la dirección correcta para algunas más desconocidas.
228 \end_layout
229
230 \begin_layout Standard
231 \begin_inset Branch OutDated
232 inverted 0
233 status collapsed
234
235 \begin_layout Standard
236 La rama OutDated contiene información de versiones anteriores de este documento que ahora parece estar obsoleta.
237  Por omisión,
238  esta información no aparece en la salida \SpecialChar LaTeX
239 .
240 \end_layout
241
242 \end_inset
243
244
245 \end_layout
246
247 \begin_layout Chapter
248 Archivos de configuración de \SpecialChar LyX
249
250 \end_layout
251
252 \begin_layout Standard
253 Este capítulo tiene por objetivo ayudarte a encontrar tu camino a través de los archivos de configuración de \SpecialChar LyX
254 .
255  Antes de seguir leyendo deberías encontrar donde están los directorios de bibliotecas y de usuario,
256  consultando 
257 \begin_inset Flex Noun
258 status collapsed
259
260 \begin_layout Plain Layout
261 Ayuda\SpecialChar menuseparator
262 Acerca de \SpecialChar LyX
263
264 \end_layout
265
266 \end_inset
267
268 .
269  El directorio de bibliotecas es el sitio en el que \SpecialChar LyX
270  tiene sus archivos de configuración de sistema;
271  el directorio de usuario es donde puedes colocar tus versiones modificadas.
272  En este documento,
273  al primero lo denominaremos 
274 \begin_inset Flex Code
275 status collapsed
276
277 \begin_layout Plain Layout
278 \SpecialChar LyX
279 Dir
280 \end_layout
281
282 \end_inset
283
284  y al segundo 
285 \begin_inset Flex Noun
286 status collapsed
287
288 \begin_layout Plain Layout
289 UserDir
290 \end_layout
291
292 \end_inset
293
294 .
295 \end_layout
296
297 \begin_layout Section
298 ¿Qué hay en 
299 \begin_inset Flex Code
300 status collapsed
301
302 \begin_layout Plain Layout
303 \SpecialChar LyX
304 Dir
305 \end_layout
306
307 \end_inset
308
309 ?
310 \end_layout
311
312 \begin_layout Standard
313 \begin_inset Flex Code
314 status collapsed
315
316 \begin_layout Plain Layout
317 \SpecialChar LyX
318 Dir
319 \end_layout
320
321 \end_inset
322
323  y sus subdirectorios contienen archivos que pueden emplearse para personalizar el comportamiento de \SpecialChar LyX
324 .
325  Puedes cambiar muchos de ellos desde dentro mismo de \SpecialChar LyX
326  mediante el diálogo 
327 \begin_inset Flex Noun
328 status collapsed
329
330 \begin_layout Plain Layout
331 Herramientas\SpecialChar menuseparator
332 Preferencias
333 \end_layout
334
335 \end_inset
336
337 .
338  La mayor parte de las adaptaciones personales que querrás hacer en \SpecialChar LyX
339  se puede hacer en este diálogo.
340  Sin embargo,
341  muchos otros aspectos internos de \SpecialChar LyX
342  pueden cambiarse modificando los archivos en 
343 \begin_inset Flex Code
344 status collapsed
345
346 \begin_layout Plain Layout
347 \SpecialChar LyX
348 Dir
349 \end_layout
350
351 \end_inset
352
353 .
354  Estos archivos pertenecen a diversas categorías,
355  descritas en las siguientes subsecciones.
356 \end_layout
357
358 \begin_layout Subsection
359 Archivos generados automáticamente
360 \end_layout
361
362 \begin_layout Standard
363 Los archivos que se encuentran en 
364 \begin_inset Flex Noun
365 status collapsed
366
367 \begin_layout Plain Layout
368 UserDir
369 \end_layout
370
371 \end_inset
372
373  se generan al configurar \SpecialChar LyX
374 .
375  Contienen varios valores predeterminados que se obtienen por inspección.
376  En general,
377  no es buena idea modificarlos,
378  puesto que podrían ser sobrescritos en cualquier momento.
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 lyxrc.defaults
388 \end_layout
389
390 \end_inset
391
392  contiene valores predeterminados para varioscomandos.
393 \end_layout
394
395 \begin_layout Labeling
396 \labelwidthstring 00.00.0000
397 \begin_inset Flex Code
398 status collapsed
399
400 \begin_layout Plain Layout
401 packages.lst
402 \end_layout
403
404 \end_inset
405
406  contiene la lista de paquetes que han sido reconocidos por \SpecialChar LyX
407 .
408  No es utilizada por el propio \SpecialChar LyX
409 ,
410  pero la información extraida,
411  y otras cosas están disponibles en 
412 \begin_inset Flex Noun
413 status collapsed
414
415 \begin_layout Plain Layout
416 Ayuda\SpecialChar menuseparator
417 Configuración de \SpecialChar LaTeX
418
419 \end_layout
420
421 \end_inset
422
423 .
424 \end_layout
425
426 \begin_layout Labeling
427 \labelwidthstring 00.00.0000
428 \begin_inset Flex Code
429 status collapsed
430
431 \begin_layout Plain Layout
432 textclass.lst
433 \end_layout
434
435 \end_inset
436
437  la lista de clases de textos encontradas en los directorios 
438 \begin_inset Flex Code
439 status collapsed
440
441 \begin_layout Plain Layout
442 layout/
443 \end_layout
444
445 \end_inset
446
447 ,
448  junto con las clases de documentos \SpecialChar LaTeX
449  y su descripción.
450 \end_layout
451
452 \begin_layout Labeling
453 \labelwidthstring 00.00.0000
454 \begin_inset Flex Code
455 status collapsed
456
457 \begin_layout Plain Layout
458 lyxmodules.lst
459 \end_layout
460
461 \end_inset
462
463  la lista de módulos de formato encontradas en los directorios 
464 \begin_inset Flex Code
465 status collapsed
466
467 \begin_layout Plain Layout
468 layout/
469 \end_layout
470
471 \end_inset
472
473 .
474 \end_layout
475
476 \begin_layout Labeling
477 \labelwidthstring 00.00.0000
478 \begin_inset Flex Code
479 status collapsed
480
481 \begin_layout Plain Layout
482 *files.lst
483 \end_layout
484
485 \end_inset
486
487  lista de varios tipos de archivos relacionados con \SpecialChar LaTeX
488  encontrados en el sistema.
489 \end_layout
490
491 \begin_layout Labeling
492 \labelwidthstring 00.00.0000
493 \begin_inset Flex Code
494 status collapsed
495
496 \begin_layout Plain Layout
497 doc/\SpecialChar LaTeX
498 Config.lyx
499 \end_layout
500
501 \end_inset
502
503  es generado automáticamente durante la configuración a partir del archivo 
504 \begin_inset Flex Code
505 status collapsed
506
507 \begin_layout Plain Layout
508 \SpecialChar LaTeX
509 Config.lyx.in
510 \end_layout
511
512 \end_inset
513
514 .
515  Contiene información sobre la configuración de \SpecialChar LaTeX
516 .
517 \end_layout
518
519 \begin_layout Subsection
520 Directorios
521 \end_layout
522
523 \begin_layout Standard
524 Estos directorios están duplicados en 
525 \begin_inset Flex Code
526 status collapsed
527
528 \begin_layout Plain Layout
529 \SpecialChar LyX
530 Dir
531 \end_layout
532
533 \end_inset
534
535  y 
536 \begin_inset Flex Code
537 status collapsed
538
539 \begin_layout Plain Layout
540 UserDir
541 \end_layout
542
543 \end_inset
544
545 .
546  Si determinado archivo existe en ambos sitios,
547  se usará el de 
548 \begin_inset Flex Code
549 status collapsed
550
551 \begin_layout Plain Layout
552 UserDir
553 \end_layout
554
555 \end_inset
556
557 .
558 \end_layout
559
560 \begin_layout Labeling
561 \labelwidthstring 00.00.0000
562 \begin_inset Flex Code
563 status collapsed
564
565 \begin_layout Plain Layout
566 bind/
567 \end_layout
568
569 \end_inset
570
571  este directorio contiene archivos con la extensión 
572 \begin_inset Flex Code
573 status collapsed
574
575 \begin_layout Plain Layout
576 .bind
577 \end_layout
578
579 \end_inset
580
581  que definen las combinaciones de teclas usadas en \SpecialChar LyX
582 .
583  Si ahí existe una versión nacional de un archivo bind llamado 
584 \begin_inset Flex Code
585 status collapsed
586
587 \begin_layout Plain Layout
588 $LANG_xxx.bind
589 \end_layout
590
591 \end_inset
592
593 ,
594  ésta se usará en primer lugar.
595 \end_layout
596
597 \begin_layout Labeling
598 \labelwidthstring 00.00.0000
599
600 \lang english
601 \begin_inset Flex Code
602 status collapsed
603
604 \begin_layout Plain Layout
605
606 \lang english
607 citeengines/
608 \end_layout
609
610 \end_inset
611
612  contains files with the extension 
613 \begin_inset Flex Code
614 status collapsed
615
616 \begin_layout Plain Layout
617
618 \lang english
619 .citeengine
620 \end_layout
621
622 \end_inset
623
624  which define the diverse citation possibilities (natbib,
625  biblatex etc.).
626  See 
627 \begin_inset CommandInset ref
628 LatexCommand ref
629 reference "subsec:Cite-Engine-Files"
630 plural "false"
631 caps "false"
632 noprefix "false"
633 nolink "false"
634
635 \end_inset
636
637  for details.
638 \end_layout
639
640 \begin_layout Labeling
641 \labelwidthstring 00.00.0000
642 \begin_inset Flex Code
643 status collapsed
644
645 \begin_layout Plain Layout
646 clipart/
647 \end_layout
648
649 \end_inset
650
651  contiene archivos gráficos que pueden ser incluidos en documentos.
652  
653 \end_layout
654
655 \begin_layout Labeling
656 \labelwidthstring 00.00.0000
657 \begin_inset Flex Code
658 status collapsed
659
660 \begin_layout Plain Layout
661 doc/
662 \end_layout
663
664 \end_inset
665
666  contiene archivos de documentación de \SpecialChar LyX
667  (incluido éste que estás leyendo).
668  El archivo 
669 \begin_inset Flex Code
670 status collapsed
671
672 \begin_layout Plain Layout
673 \SpecialChar LaTeX
674 Config.lyx
675 \end_layout
676
677 \end_inset
678
679  merece atención especial,
680  como se mencionó antes.
681  Si existe una versión nacional del documento de ayuda en el subdirectorio 
682 \begin_inset Flex Code
683 status collapsed
684
685 \begin_layout Plain Layout
686 doc/xx
687 \end_layout
688
689 \end_inset
690
691 ,
692  éste se usará en primer lugar.
693  Véase 
694 \begin_inset CommandInset ref
695 LatexCommand ref
696 reference "cap:Internacionalización-de-LyX"
697 nolink "false"
698
699 \end_inset
700
701  para detalles.
702 \end_layout
703
704 \begin_layout Labeling
705 \labelwidthstring 00.00.0000
706 \begin_inset Flex Code
707 status collapsed
708
709 \begin_layout Plain Layout
710 examples/
711 \end_layout
712
713 \end_inset
714
715  contiene archivos de ejemplo que describen el uso de algunas características.
716  Se puede acceder a ellos con el botón 
717 \begin_inset Flex Noun
718 status collapsed
719
720 \begin_layout Plain Layout
721 Ejemplos
722 \end_layout
723
724 \end_inset
725
726  en el buscador de archivos.
727 \end_layout
728
729 \begin_layout Labeling
730 \labelwidthstring 00.00.0000
731 \begin_inset Flex Code
732 status collapsed
733
734 \begin_layout Plain Layout
735 images/
736 \end_layout
737
738 \end_inset
739
740  contiene archivos de imagen que se usan en el diálogo 
741 \begin_inset Flex Noun
742 status collapsed
743
744 \begin_layout Plain Layout
745 Documento\SpecialChar menuseparator
746 Configuración
747 \end_layout
748
749 \end_inset
750
751 .
752  Contiene además los iconos de las barras de herramientas y las enseñas de \SpecialChar LyX
753  mostradas en su inicio.
754 \end_layout
755
756 \begin_layout Labeling
757 \labelwidthstring 00.00.0000
758 \begin_inset Flex Code
759 status collapsed
760
761 \begin_layout Plain Layout
762 kbd/
763 \end_layout
764
765 \end_inset
766
767  contiene archivos de mapas de teclado.
768  Véase 
769 \begin_inset CommandInset ref
770 LatexCommand ref
771 reference "sec:keymap"
772 nolink "false"
773
774 \end_inset
775
776  para detalles.
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 layouts/
786 \end_layout
787
788 \end_inset
789
790  contiene las clases de textos y los archivos de los módulos descritos en 
791 \begin_inset CommandInset ref
792 LatexCommand ref
793 reference "cap:Instalación-de-nuevas"
794 nolink "false"
795
796 \end_inset
797
798 .
799 \end_layout
800
801 \begin_layout Labeling
802 \labelwidthstring 00.00.0000
803 \begin_inset Flex Code
804 status collapsed
805
806 \begin_layout Plain Layout
807 lyx2lyx
808 \end_layout
809
810 \end_inset
811
812  contiene los guiones de Python 
813 \begin_inset Flex Code
814 status collapsed
815
816 \begin_layout Plain Layout
817 lyx2lyx
818 \end_layout
819
820 \end_inset
821
822  para convertir entre versiones de \SpecialChar LyX
823 .
824  Pueden ejecutarse en línea de comandos si,
825  digamos,
826  quieres convertir ficheros por lotes.
827 \end_layout
828
829 \begin_layout Labeling
830 \labelwidthstring 00.00.0000
831 \begin_inset Flex Code
832 status collapsed
833
834 \begin_layout Plain Layout
835 scripts/
836 \end_layout
837
838 \end_inset
839
840  contiene algunos archivos que demuestran las capacidades de la característica 
841 \begin_inset Flex Noun
842 status collapsed
843
844 \begin_layout Plain Layout
845 Plantilla externa
846 \end_layout
847
848 \end_inset
849
850 .
851  También contiene algunos guiones usados por el propio \SpecialChar LyX
852 .
853 \end_layout
854
855 \begin_layout Labeling
856 \labelwidthstring 00.00.0000
857 \begin_inset Flex Code
858 status collapsed
859
860 \begin_layout Plain Layout
861 templates/
862 \end_layout
863
864 \end_inset
865
866  contiene los archivos de plantillas estándar de \SpecialChar LyX
867  descritas en 
868 \begin_inset CommandInset ref
869 LatexCommand ref
870 reference "subsec:Creación-de-plantillas"
871 nolink "false"
872
873 \end_inset
874
875 .
876 \end_layout
877
878 \begin_layout Labeling
879 \labelwidthstring 00.00.0000
880 \begin_inset Flex Code
881 status collapsed
882
883 \begin_layout Plain Layout
884 ui/
885 \end_layout
886
887 \end_inset
888
889  contiene archivos con la extensión 
890 \begin_inset Flex Code
891 status collapsed
892
893 \begin_layout Plain Layout
894 .ui
895 \end_layout
896
897 \end_inset
898
899  que definen la interfaz de usuario de \SpecialChar LyX
900 .
901  Esto es,
902  archivos que definen qué ítems aparecen en qué menús y barras de herramientas
903 \lang english
904 .
905 \end_layout
906
907 \begin_layout Labeling
908 \labelwidthstring 00.00.0000
909
910 \lang english
911 \begin_inset Flex Code
912 status collapsed
913
914 \begin_layout Plain Layout
915
916 \lang english
917 xtemplates/
918 \end_layout
919
920 \end_inset
921
922  contains files with the extension 
923 \begin_inset Flex Code
924 status collapsed
925
926 \begin_layout Plain Layout
927
928 \lang english
929 .xtemplate
930 \end_layout
931
932 \end_inset
933
934  which define the templates for the insertion of external material to a \SpecialChar LyX
935  document;
936  see 
937 \lang spanish
938
939 \begin_inset CommandInset ref
940 LatexCommand ref
941 reference "cap:Inserción-de-material"
942 plural "false"
943 caps "false"
944 noprefix "false"
945 nolink "false"
946
947 \end_inset
948
949
950 \lang english
951 .
952 \end_layout
953
954 \begin_layout Subsection
955 Archivos que no necesitan modificaciones
956 \end_layout
957
958 \begin_layout Standard
959 Estos archivos son utilizados internamente por \SpecialChar LyX
960  y generalmente no deben ser modificados sino por los desarrolladores.
961 \end_layout
962
963 \begin_layout Labeling
964 \labelwidthstring 00.00.0000
965 \begin_inset Flex Code
966 status collapsed
967
968 \begin_layout Plain Layout
969 CREDITS
970 \end_layout
971
972 \end_inset
973
974  contiene la lista de desarrolladores de \SpecialChar LyX
975 .
976  Se muestra con el menú 
977 \begin_inset Flex Noun
978 status collapsed
979
980 \begin_layout Plain Layout
981 Ayuda\SpecialChar menuseparator
982 Acerca de \SpecialChar LyX
983
984 \end_layout
985
986 \end_inset
987
988 .
989 \end_layout
990
991 \begin_layout Labeling
992 \labelwidthstring 00.00.0000
993 \begin_inset Flex Code
994 status collapsed
995
996 \begin_layout Plain Layout
997 chkconfig.ltx
998 \end_layout
999
1000 \end_inset
1001
1002  es un guión de \SpecialChar LaTeX
1003  usado durante el proceso de configuración.
1004  No lo ejecutes directamente.
1005 \end_layout
1006
1007 \begin_layout Labeling
1008 \labelwidthstring 00.00.0000
1009 \begin_inset Flex Code
1010 status collapsed
1011
1012 \begin_layout Plain Layout
1013 configure.py
1014 \end_layout
1015
1016 \end_inset
1017
1018  es el guión utilizado para la reconfiguración de \SpecialChar LyX
1019 .
1020  Genera los archivos de configuración en el directorio desde el que se ha ejecutado.
1021 \end_layout
1022
1023 \begin_layout Subsection
1024 Otros archivos en un par de líneas
1025 \end_layout
1026
1027 \begin_layout Labeling
1028 \labelwidthstring 00.00.0000
1029 \begin_inset Flex Code
1030 status collapsed
1031
1032 \begin_layout Plain Layout
1033 encodings
1034 \end_layout
1035
1036 \end_inset
1037
1038  contiene tablas que describen cómo los distintos códigos de caracteres se transcriben a Unicode.
1039 \end_layout
1040
1041 \begin_layout Labeling
1042 \labelwidthstring 00.00.0000
1043 \begin_inset Flex Code
1044 status collapsed
1045
1046 \begin_layout Plain Layout
1047 languages
1048 \end_layout
1049
1050 \end_inset
1051
1052  contiene una lista de los idiomas actualmente soportados por \SpecialChar LyX
1053 .
1054 \end_layout
1055
1056 \begin_layout Labeling
1057 \labelwidthstring 00.00.0000
1058 \begin_inset Flex Code
1059 status collapsed
1060
1061 \begin_layout Plain Layout
1062 latexfonts
1063 \end_layout
1064
1065 \end_inset
1066
1067 contiene información sobre tipografías soportadas.
1068 \end_layout
1069
1070 \begin_layout Labeling
1071 \labelwidthstring 00.00.0000
1072 \begin_inset Flex Code
1073 status collapsed
1074
1075 \begin_layout Plain Layout
1076 layouttranslations
1077 \end_layout
1078
1079 \end_inset
1080
1081  contiene traducciones para entornos de párrafo (véase 
1082 \begin_inset CommandInset ref
1083 LatexCommand ref
1084 reference "subsec:I18n"
1085 nolink "false"
1086
1087 \end_inset
1088
1089 ).
1090 \end_layout
1091
1092 \begin_layout Labeling
1093 \labelwidthstring 00.00.0000
1094 \begin_inset Flex Code
1095 status collapsed
1096
1097 \begin_layout Plain Layout
1098 unicodesymbols
1099 \end_layout
1100
1101 \end_inset
1102
1103  contiene información sobre glifos unicode y su soporte por \SpecialChar LyX
1104  vía \SpecialChar LaTeX
1105 .
1106 \end_layout
1107
1108 \begin_layout Section
1109 Directorio de configuración personal
1110 \end_layout
1111
1112 \begin_layout Standard
1113 Aunque uses \SpecialChar LyX
1114  como usuario sin privilegios,
1115  puedes adaptar su configuración a tus necesidades.
1116  El directorio 
1117 \begin_inset Flex Code
1118 status collapsed
1119
1120 \begin_layout Plain Layout
1121 UserDir
1122 \end_layout
1123
1124 \end_inset
1125
1126  contiene todos los archivos de configuración personal.
1127  Es el directorio especificado como 
1128 \begin_inset Quotes cld
1129 \end_inset
1130
1131 Directorio del usuario
1132 \begin_inset Quotes crd
1133 \end_inset
1134
1135  en 
1136 \begin_inset Flex Noun
1137 status collapsed
1138
1139 \begin_layout Plain Layout
1140 Ayuda\SpecialChar menuseparator
1141 Acerca de \SpecialChar LyX
1142
1143 \end_layout
1144
1145 \end_inset
1146
1147 .
1148  Este directorio se usa como espejo de 
1149 \begin_inset Flex Code
1150 status collapsed
1151
1152 \begin_layout Plain Layout
1153 \SpecialChar LyX
1154 Dir
1155 \end_layout
1156
1157 \end_inset
1158
1159 ,
1160  que quiere decir que cada archivo en 
1161 \begin_inset Flex Code
1162 status collapsed
1163
1164 \begin_layout Plain Layout
1165 UserDir
1166 \end_layout
1167
1168 \end_inset
1169
1170  es un equivalente del correspondiente archivo en 
1171 \begin_inset Flex Code
1172 status collapsed
1173
1174 \begin_layout Plain Layout
1175 \SpecialChar LyX
1176 Dir
1177 \end_layout
1178
1179 \end_inset
1180
1181 .
1182  Cualquiera de los archivos de configuración descritos en las secciones anteriores puede estar en el directorio global del sistema,
1183  en cuyo caso afectará a todos los usuarios,
1184  y en tu directorio local para tu propio uso.
1185 \end_layout
1186
1187 \begin_layout Standard
1188 Para clarificar las cosas vamos a poner unos ejemplos:
1189 \end_layout
1190
1191 \begin_layout Itemize
1192 Las preferencias establecidas en el diálogo 
1193 \begin_inset Flex Noun
1194 status collapsed
1195
1196 \begin_layout Plain Layout
1197 Herramientas\SpecialChar menuseparator
1198 Preferencias
1199 \end_layout
1200
1201 \end_inset
1202
1203  se guardan en un archivo 
1204 \begin_inset Flex Code
1205 status collapsed
1206
1207 \begin_layout Plain Layout
1208 preferences
1209 \end_layout
1210
1211 \end_inset
1212
1213  en 
1214 \begin_inset Flex Code
1215 status collapsed
1216
1217 \begin_layout Plain Layout
1218 UserDir
1219 \end_layout
1220
1221 \end_inset
1222
1223 .
1224 \end_layout
1225
1226 \begin_layout Itemize
1227 Si reconfiguras mediante 
1228 \begin_inset Flex Noun
1229 status collapsed
1230
1231 \begin_layout Plain Layout
1232 Herramientas\SpecialChar menuseparator
1233 Reconfigurar
1234 \end_layout
1235
1236 \end_inset
1237
1238 ,
1239  \SpecialChar LyX
1240  ejecuta el guión
1241 \begin_inset Newline linebreak
1242 \end_inset
1243
1244  
1245 \begin_inset Flex Code
1246 status collapsed
1247
1248 \begin_layout Plain Layout
1249 configure.py
1250 \end_layout
1251
1252 \end_inset
1253
1254 ,
1255  y los archivos resultantes se escriben en tu directorio de usuario.
1256  Esto significa que cualquier archivo adicional de clase de texto que pudieras haber añadido en 
1257 \begin_inset Flex Code
1258 status collapsed
1259
1260 \begin_layout Plain Layout
1261 UserDir/layouts
1262 \end_layout
1263
1264 \end_inset
1265
1266  se sumará a la lista de clases en el diálogo 
1267 \begin_inset Flex Noun
1268 status collapsed
1269
1270 \begin_layout Plain Layout
1271 Documento\SpecialChar menuseparator
1272 Configuración
1273 \end_layout
1274
1275 \end_inset
1276
1277 .
1278 \end_layout
1279
1280 \begin_layout Itemize
1281 Si consigues alguna documentación actualizada del sitio de \SpecialChar LyX
1282  y no puedes instalarla porque no tienes permisos para administrar tu sistema,
1283  solo has de copiar los archivos en 
1284 \begin_inset Flex Code
1285 status collapsed
1286
1287 \begin_layout Plain Layout
1288 UserDir/doc/XX
1289 \end_layout
1290
1291 \end_inset
1292
1293  ¡y las entradas del menú 
1294 \begin_inset Flex Noun
1295 status collapsed
1296
1297 \begin_layout Plain Layout
1298 Ayuda
1299 \end_layout
1300
1301 \end_inset
1302
1303  los abrirán!
1304 \end_layout
1305
1306 \begin_layout Section
1307 Ejecutar \SpecialChar LyX
1308  con múltiples configuraciones
1309 \end_layout
1310
1311 \begin_layout Standard
1312 La libertad de configuración del directorio local puede no ser suficiente si quieres tener a tu disposición más de una configuración.
1313  Por ejemplo,
1314  si quisieras usar diferentes combinaciones de teclas o configuraciones de impresora en distintos momentos.
1315  Esto lo puedes conseguir teniendo varios de estos directorios.
1316  Después especificas qué directorio usar al arrancar.
1317 \end_layout
1318
1319 \begin_layout Standard
1320 Ejecutando \SpecialChar LyX
1321  con la opción de línea de comandos 
1322 \begin_inset Flex Code
1323 status collapsed
1324
1325 \begin_layout Plain Layout
1326 -userdir
1327 \end_layout
1328
1329 \end_inset
1330
1331  
1332 \emph on
1333 <algún directorio>
1334 \emph default
1335  hace que el programa lea la configuración de ese directorio y no del predeterminado.
1336  (Puedes determinar el directorio predeterminado ejecutando \SpecialChar LyX
1337  sin la opción 
1338 \begin_inset Flex Code
1339 status collapsed
1340
1341 \begin_layout Plain Layout
1342 -userdir
1343 \end_layout
1344
1345 \end_inset
1346
1347 ).
1348  Si el directorio especificado no existe,
1349  \SpecialChar LyX
1350  propone su creación,
1351  tal como hace con el directorio predeterminado la primera vez que se ejecuta el programa.
1352  Puedes modificar las opciones de configuración en ese directorio personal adicional exactamente igual que para el directorio predeterminado.
1353  Estos directorios son completamente independientes (pero sigue leyendo).
1354  Ten presente que establecer algún valor para la variable de entorno 
1355 \begin_inset Flex Code
1356 status collapsed
1357
1358 \begin_layout Plain Layout
1359 LYX_USERDIR_20x
1360 \end_layout
1361
1362 \end_inset
1363
1364  tiene exactamente el mismo efecto.
1365 \end_layout
1366
1367 \begin_layout Standard
1368 Tener varias configuraciones también requiere más mantenimiento:
1369  si quieres añadir un nuevo formato a 
1370 \begin_inset Flex Code
1371 status collapsed
1372
1373 \begin_layout Plain Layout
1374 NewUserDir/layouts
1375 \end_layout
1376
1377 \end_inset
1378
1379  que esté disponible en todas tus configuraciones,
1380  debes añadirlo a cada directorio por separado.
1381  Puedes evitarlo con el siguiente truco:
1382  después de que \SpecialChar LyX
1383  crea un directorio adicional,
1384  la mayoría de los subdirectorios (véase arriba) están vacíos.
1385  Si quieres que la nueva configuración sea una réplica de una existente,
1386  reemplaza el subdirectorio vacío con un enlace simbólico que apunte al subdirectorio deseado.
1387  Ten precaución,
1388  no obstante,
1389  con el subdirectorio 
1390 \begin_inset Flex Code
1391 status collapsed
1392
1393 \begin_layout Plain Layout
1394 doc/
1395 \end_layout
1396
1397 \end_inset
1398
1399 ,
1400  puesto que contiene un archivo escrito por el guión de configuración (también accesible mediante 
1401 \begin_inset Flex Noun
1402 status collapsed
1403
1404 \begin_layout Plain Layout
1405 Herramientas\SpecialChar menuseparator
1406 Reconfigurar
1407 \end_layout
1408
1409 \end_inset
1410
1411 ) que es específico de la configuración.
1412 \end_layout
1413
1414 \begin_layout Chapter
1415 El diálogo Preferencias
1416 \end_layout
1417
1418 \begin_layout Standard
1419 Todas las opciones del diálogo de preferencias se describen en el apéndice 
1420 \emph on
1421 El diálogo
1422 \emph default
1423  
1424 \emph on
1425 Preferencias
1426 \emph default
1427  de la 
1428 \emph on
1429 Guía del usuario
1430 \emph default
1431 .
1432  Ahí encontrarás más detalles sobre algunas opciones.
1433 \end_layout
1434
1435 \begin_layout Section
1436 Formatos
1437 \begin_inset CommandInset label
1438 LatexCommand label
1439 name "sec:Formatos"
1440
1441 \end_inset
1442
1443
1444 \end_layout
1445
1446 \begin_layout Standard
1447 El primer paso es definir tus propios formatos de archivo si no lo están ya.
1448  Para hacerlo abre el diálogo 
1449 \begin_inset Flex Noun
1450 status collapsed
1451
1452 \begin_layout Plain Layout
1453 Herramientas\SpecialChar menuseparator
1454 Preferencias
1455 \end_layout
1456
1457 \end_inset
1458
1459 .
1460  En 
1461 \begin_inset Flex Noun
1462 status collapsed
1463
1464 \begin_layout Plain Layout
1465 Gestión de archivos\SpecialChar menuseparator
1466 Formatos de archivo
1467 \end_layout
1468
1469 \end_inset
1470
1471  pulsa el botón 
1472 \begin_inset Flex Noun
1473 status collapsed
1474
1475 \begin_layout Plain Layout
1476 Nuevo\SpecialChar ldots
1477
1478 \end_layout
1479
1480 \end_inset
1481
1482  para definir el nuevo formato.
1483  El campo 
1484 \begin_inset Flex Noun
1485 status collapsed
1486
1487 \begin_layout Plain Layout
1488 Formato
1489 \end_layout
1490
1491 \end_inset
1492
1493  es para el nombre que identificará el formato en la GUI (interfaz gráfica de usuario).
1494  El 
1495 \begin_inset Flex Noun
1496 status collapsed
1497
1498 \begin_layout Plain Layout
1499 Nombre corto
1500 \end_layout
1501
1502 \end_inset
1503
1504  se usa para identificar el formato internamente.
1505  Además deberás introducir una extensión de archivo.
1506  Todos estos son imprescindibles.
1507  El campo opcional 
1508 \begin_inset Flex Noun
1509 status collapsed
1510
1511 \begin_layout Plain Layout
1512 Atajo de teclado
1513 \end_layout
1514
1515 \end_inset
1516
1517  sirve para asociar una combinación de teclas en los menús.
1518  (Por ejemplo,
1519  teclear 
1520 \begin_inset Flex Noun
1521 status collapsed
1522
1523 \begin_layout Plain Layout
1524 Ctrl+D
1525 \end_layout
1526
1527 \end_inset
1528
1529  ejecuta 
1530 \begin_inset Flex Noun
1531 status collapsed
1532
1533 \begin_layout Plain Layout
1534
1535 \family sans
1536 Documento\SpecialChar menuseparator
1537 Ver
1538 \family default
1539 \SpecialChar menuseparator
1540 DVI
1541 \end_layout
1542
1543 \end_inset
1544
1545 ).
1546  
1547 \begin_inset Flex Noun
1548 status collapsed
1549
1550 \begin_layout Plain Layout
1551 Visor
1552 \end_layout
1553
1554 \end_inset
1555
1556  
1557 \end_layout
1558
1559 \begin_layout Standard
1560 Un Formato puede tener un 
1561 \begin_inset Flex Noun
1562 status collapsed
1563
1564 \begin_layout Plain Layout
1565 Visor
1566 \end_layout
1567
1568 \end_inset
1569
1570  y un 
1571 \begin_inset Flex Noun
1572 status collapsed
1573
1574 \begin_layout Plain Layout
1575 Editor
1576 \end_layout
1577
1578 \end_inset
1579
1580  asociados.
1581  Por ejemplo,
1582  podrías usar 
1583 \begin_inset Flex Noun
1584 status collapsed
1585
1586 \begin_layout Plain Layout
1587 Ghostview
1588 \end_layout
1589
1590 \end_inset
1591
1592  para ver archivos PostScript.
1593  Puedes introducir el comando para iniciar el programa en el campo correspondiente.
1594  Al definir este comando puedes usar las cuatro variables listadas en la siguiente sección.
1595  El visor se lanza cuando ves una imagen en \SpecialChar LyX
1596  o usas el menú 
1597 \begin_inset Flex Noun
1598 status collapsed
1599
1600 \begin_layout Plain Layout
1601
1602 \family sans
1603 Documento\SpecialChar menuseparator
1604 Ver
1605 \end_layout
1606
1607 \end_inset
1608
1609 .
1610  El editor se lanza cuando pulsas el botón 
1611 \begin_inset Flex Noun
1612 status collapsed
1613
1614 \begin_layout Plain Layout
1615 Editar externamente
1616 \end_layout
1617
1618 \end_inset
1619
1620  que se muestra al hacer clic derecho en un gráfico o en un material externo,
1621  por ejemplo.
1622 \end_layout
1623
1624 \begin_layout Standard
1625 El tipo 
1626 \begin_inset Flex Noun
1627 status collapsed
1628
1629 \begin_layout Plain Layout
1630 MIME
1631 \end_layout
1632
1633 \end_inset
1634
1635  de un formato es opcional,
1636  pero si se especifica,
1637  debe ser único para todos los formatos.
1638  Se usa para detectar archivos de ese formato de los contenidos de archivo.
1639  Para algunos formatos de archivo importantes no hay tipo MIME oficialmente registrado con 
1640 \begin_inset CommandInset href
1641 LatexCommand href
1642 name "IANA"
1643 target "http://www.iana.org/assignments/media-types/"
1644 literal "false"
1645
1646 \end_inset
1647
1648 .
1649  Por tanto \SpecialChar LyX
1650  usa la lista extensa de tipos MIME especificada por 
1651 \begin_inset CommandInset href
1652 LatexCommand href
1653 name "freedesktop.org"
1654 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1655 literal "false"
1656
1657 \end_inset
1658
1659 .
1660 \end_layout
1661
1662 \begin_layout Standard
1663 La opción 
1664 \begin_inset Flex Noun
1665 status collapsed
1666
1667 \begin_layout Plain Layout
1668 Formato de documento
1669 \end_layout
1670
1671 \end_inset
1672
1673  indica a \SpecialChar LyX
1674  que ese formato es adecuado para exportar.
1675  Si esto está marcado y existe una ruta de conversión adecuada (véase 
1676 \begin_inset CommandInset ref
1677 LatexCommand ref
1678 reference "sec:Convertidores"
1679 nolink "false"
1680
1681 \end_inset
1682
1683 ),
1684  el formato aparecerá en el menú 
1685 \begin_inset Flex Noun
1686 status collapsed
1687
1688 \begin_layout Plain Layout
1689 Archivo\SpecialChar menuseparator
1690 Exportar
1691 \end_layout
1692
1693 \end_inset
1694
1695 .
1696  También aparecerá en el menú 
1697 \begin_inset Flex Noun
1698 status collapsed
1699
1700 \begin_layout Plain Layout
1701
1702 \family sans
1703 Documento\SpecialChar menuseparator
1704 Ver
1705 \end_layout
1706
1707 \end_inset
1708
1709  si se ha especificado un visor para ese formato.
1710  Los formatos puros de imagen,
1711  como 
1712 \begin_inset Flex Code
1713 status collapsed
1714
1715 \begin_layout Plain Layout
1716 png
1717 \end_layout
1718
1719 \end_inset
1720
1721 ,
1722  no deberían usar esta opción.
1723  Los formatos que pueden corresponder tanto a gráficos vectoriales como a documentos,
1724  como 
1725 \begin_inset Flex Code
1726 status collapsed
1727
1728 \begin_layout Plain Layout
1729 pdf
1730 \end_layout
1731
1732 \end_inset
1733
1734 ,
1735  sí deberían usarla.
1736 \end_layout
1737
1738 \begin_layout Standard
1739 La opción 
1740 \begin_inset Flex Noun
1741 status collapsed
1742
1743 \begin_layout Plain Layout
1744 Formato de gráfico vectorial
1745 \end_layout
1746
1747 \end_inset
1748
1749  indica a \SpecialChar LyX
1750  que el formato puede contener gráficos vectoriales.
1751  Esta información se emplea para determinar el formato objetivo de los gráficos incluidos para la exportación 
1752 \begin_inset Flex Noun
1753 status collapsed
1754
1755 \begin_layout Plain Layout
1756 pdflatex
1757 \end_layout
1758
1759 \end_inset
1760
1761 .
1762  Los gráficos incluidos pueden requerir conversión a 
1763 \begin_inset Flex Noun
1764 status collapsed
1765
1766 \begin_layout Plain Layout
1767 pdf
1768 \end_layout
1769
1770 \end_inset
1771
1772 ,
1773  
1774 \begin_inset Flex Noun
1775 status collapsed
1776
1777 \begin_layout Plain Layout
1778 png
1779 \end_layout
1780
1781 \end_inset
1782
1783 ,
1784  o 
1785 \begin_inset Flex Noun
1786 status collapsed
1787
1788 \begin_layout Plain Layout
1789 jpg
1790 \end_layout
1791
1792 \end_inset
1793
1794 ,
1795  puesto que 
1796 \begin_inset Flex Noun
1797 status collapsed
1798
1799 \begin_layout Plain Layout
1800 pdflatex
1801 \end_layout
1802
1803 \end_inset
1804
1805  no puede manejar otros formatos de imagen.
1806  Si un archivo incluido no está ya en formato 
1807 \begin_inset Flex Noun
1808 status collapsed
1809
1810 \begin_layout Plain Layout
1811 pdf
1812 \end_layout
1813
1814 \end_inset
1815
1816 ,
1817  
1818 \begin_inset Flex Noun
1819 status collapsed
1820
1821 \begin_layout Plain Layout
1822 png
1823 \end_layout
1824
1825 \end_inset
1826
1827 ,
1828  o 
1829 \begin_inset Flex Noun
1830 status collapsed
1831
1832 \begin_layout Plain Layout
1833 jpg
1834 \end_layout
1835
1836 \end_inset
1837
1838 ,
1839  se convierte a 
1840 \begin_inset Flex Noun
1841 status collapsed
1842
1843 \begin_layout Plain Layout
1844 pdf
1845 \end_layout
1846
1847 \end_inset
1848
1849  si la opción de formato vectorial está marcada,
1850  y si no a 
1851 \begin_inset Flex Noun
1852 status collapsed
1853
1854 \begin_layout Plain Layout
1855 png
1856 \end_layout
1857
1858 \end_inset
1859
1860 .
1861  
1862 \end_layout
1863
1864 \begin_layout Section
1865 Copiadores
1866 \end_layout
1867
1868 \begin_layout Standard
1869 Puesto que todas las conversiones de un formato a otro tienen lugar en el archivo temporal de \SpecialChar LyX
1870 ,
1871  a veces es necesario modificar un archivo antes de copiarlo en el directorio temporal para que la conversión se pueda realizar.
1872 \begin_inset Foot
1873 status collapsed
1874
1875 \begin_layout Plain Layout
1876 Por ejemplo,
1877  el archivo puede hacer referencia a otros archivos —
1878 imágenes,
1879  por ejemplo—
1880  mediante nombres de archivo relativos,
1881  y estos pueden resultar inválidos cuando el archivo se copia en el directorio temporal.
1882 \end_layout
1883
1884 \end_inset
1885
1886  Esto lo hace un Copiador:
1887  copia un archivo a (o desde) el directorio temporal y puede modificarlo en el proceso.
1888 \end_layout
1889
1890 \begin_layout Standard
1891 Las definiciones de los copiadores pueden usar ocho variables:
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 $$s
1901 \end_layout
1902
1903 \end_inset
1904
1905  El directorio de sistema de \SpecialChar LyX
1906  (p.
1907 \begin_inset space \thinspace{}
1908 \end_inset
1909
1910 e.
1911 \begin_inset space \space{}
1912 \end_inset
1913
1914
1915 \begin_inset Flex Noun
1916 status collapsed
1917
1918 \begin_layout Plain Layout
1919 /usr/share/lyx
1920 \end_layout
1921
1922 \end_inset
1923
1924 )
1925 \end_layout
1926
1927 \begin_layout Labeling
1928 \labelwidthstring 00.00.0000
1929 \begin_inset Flex Code
1930 status collapsed
1931
1932 \begin_layout Plain Layout
1933 $$i
1934 \end_layout
1935
1936 \end_inset
1937
1938  El archivo de entrada
1939 \end_layout
1940
1941 \begin_layout Labeling
1942 \labelwidthstring 00.00.0000
1943 \begin_inset Flex Code
1944 status collapsed
1945
1946 \begin_layout Plain Layout
1947 $$o
1948 \end_layout
1949
1950 \end_inset
1951
1952  El archivo de salida
1953 \end_layout
1954
1955 \begin_layout Labeling
1956 \labelwidthstring 00.00.0000
1957 \begin_inset Flex Code
1958 status collapsed
1959
1960 \begin_layout Plain Layout
1961 $$b
1962 \end_layout
1963
1964 \end_inset
1965
1966  Nombre base (sin extensión) en el directorio temporal de \SpecialChar LyX
1967
1968 \end_layout
1969
1970 \begin_layout Labeling
1971 \labelwidthstring 00.00.0000
1972 \begin_inset Flex Code
1973 status collapsed
1974
1975 \begin_layout Plain Layout
1976 $$p
1977 \end_layout
1978
1979 \end_inset
1980
1981  Ruta completa al directorio temporal de \SpecialChar LyX
1982
1983 \end_layout
1984
1985 \begin_layout Labeling
1986 \labelwidthstring 00.00.0000
1987 \begin_inset Flex Code
1988 status collapsed
1989
1990 \begin_layout Plain Layout
1991 $$r
1992 \end_layout
1993
1994 \end_inset
1995
1996  Ruta completa al archivo original \SpecialChar LyX
1997  que se procesa
1998 \end_layout
1999
2000 \begin_layout Labeling
2001 \labelwidthstring 00.00.0000
2002 \begin_inset Flex Code
2003 status collapsed
2004
2005 \begin_layout Plain Layout
2006 $$f
2007 \end_layout
2008
2009 \end_inset
2010
2011  Nombre del archivo \SpecialChar LyX
2012  (sin ruta de directorio)
2013 \end_layout
2014
2015 \begin_layout Labeling
2016 \labelwidthstring 00.00.0000
2017 \begin_inset Flex Code
2018 status collapsed
2019
2020 \begin_layout Plain Layout
2021 $$l
2022 \end_layout
2023
2024 \end_inset
2025
2026  El `nombre \SpecialChar LaTeX
2027 '
2028 \end_layout
2029
2030 \begin_layout Standard
2031 El último debería ser el nombre de archivo tal como debería ponerse en un comando \SpecialChar LaTeX
2032  
2033 \series bold
2034
2035 \backslash
2036 include
2037 \series default
2038 .
2039  Solo es pertinente cuando se exportan archivos adecuados para esa inclusión.
2040 \end_layout
2041
2042 \begin_layout Standard
2043 Los copiadores pueden emplearse para hacer casi cualquier cosa con archivos de salida.
2044  Por ejemplo,
2045  supongamos que quieres copiar archivos 
2046 \begin_inset Flex Noun
2047 status collapsed
2048
2049 \begin_layout Plain Layout
2050 pdf
2051 \end_layout
2052
2053 \end_inset
2054
2055  generados a un directorio especial,
2056  
2057 \begin_inset Flex Code
2058 status collapsed
2059
2060 \begin_layout Plain Layout
2061 /home/you/pdf/
2062 \end_layout
2063
2064 \end_inset
2065
2066 .
2067  En ese caso deberías escribir un guión para intérprete de comandos tal como:
2068 \end_layout
2069
2070 \begin_layout Standard
2071 \begin_inset listings
2072 inline false
2073 status open
2074
2075 \begin_layout Plain Layout
2076
2077 #!/bin/bash
2078 \end_layout
2079
2080 \begin_layout Plain Layout
2081
2082 FROMFILE=$1
2083 \end_layout
2084
2085 \begin_layout Plain Layout
2086
2087 TOFILE=`basename $2`
2088 \end_layout
2089
2090 \begin_layout Plain Layout
2091
2092 cp $FROMFILE /home/you/pdf/$TOFILE
2093 \end_layout
2094
2095 \end_inset
2096
2097 Guárdalo en tu directorio local,
2098  —
2099
2100 \begin_inset Flex Code
2101 status collapsed
2102
2103 \begin_layout Plain Layout
2104 /home/you/.lyx/scripts/pdfcopier.sh
2105 \end_layout
2106
2107 \end_inset
2108
2109 ,
2110  supongamos—
2111  y hazlo ejecutable si ello es necesario en tu sistema.
2112  Después,
2113  en el diálogo 
2114 \begin_inset Flex Noun
2115 status collapsed
2116
2117 \begin_layout Plain Layout
2118 Herramientas\SpecialChar menuseparator
2119 Preferencias
2120 \end_layout
2121
2122 \end_inset
2123
2124 ,
2125  en 
2126 \begin_inset Flex Noun
2127 status collapsed
2128
2129 \begin_layout Plain Layout
2130 Gestión de archivos\SpecialChar menuseparator
2131 Formatos de archivo
2132 \end_layout
2133
2134 \end_inset
2135
2136 ,
2137  selecciona el formato 
2138 \begin_inset Flex Noun
2139 status collapsed
2140
2141 \begin_layout Plain Layout
2142 PDF(pdflatex)
2143 \end_layout
2144
2145 \end_inset
2146
2147  —
2148 u otro de los formatos pdf—
2149  e introduce 
2150 \begin_inset Flex Code
2151 status collapsed
2152
2153 \begin_layout Plain Layout
2154 pdfcopier.sh $$i $$o
2155 \end_layout
2156
2157 \end_inset
2158
2159  en el campo 
2160 \begin_inset Flex Noun
2161 status collapsed
2162
2163 \begin_layout Plain Layout
2164 Copiador
2165 \end_layout
2166
2167 \end_inset
2168
2169 .
2170 \end_layout
2171
2172 \begin_layout Standard
2173 \SpecialChar LyX
2174  usa los copiadores en varias de sus propias conversiones.
2175  Por ejemplo,
2176  si se encuentran los programas apropiados,
2177  \SpecialChar LyX
2178  instalará copiadores para los formatos 
2179 \begin_inset Flex Noun
2180 status collapsed
2181
2182 \begin_layout Plain Layout
2183 HTML
2184 \end_layout
2185
2186 \end_inset
2187
2188  y 
2189 \begin_inset Flex Noun
2190 status collapsed
2191
2192 \begin_layout Plain Layout
2193 HTML
2194 \begin_inset space ~
2195 \end_inset
2196
2197 (MS Word)
2198 \end_layout
2199
2200 \end_inset
2201
2202 .
2203  Cuando se exporta a estos formatos,
2204  el copiador se encarga de que se copien no solo el archivo HTML principal,
2205  sino también los diversos archivos asociados (estilos,
2206  imágenes,
2207  etc).
2208  Todos estos archivos se escriben en un subdirectorio del directorio en el que se encuentre el archivo original de \SpecialChar LyX
2209 .
2210 \begin_inset Foot
2211 status collapsed
2212
2213 \begin_layout Plain Layout
2214 Este copiador puede adaptarse.
2215  El argumento opcional 
2216 \begin_inset Quotes cld
2217 \end_inset
2218
2219 -e
2220 \begin_inset Quotes crd
2221 \end_inset
2222
2223  acepta una lista,
2224  separada por comas,
2225  con las extensiones que deben copiarse;
2226  si se omite se copiarán todos los archivos.
2227  El argumeto 
2228 \begin_inset Quotes cld
2229 \end_inset
2230
2231 -t
2232 \begin_inset Quotes crd
2233 \end_inset
2234
2235  determina la extensión añadida al directorio generado.
2236  Por omisión es 
2237 \begin_inset Quotes cld
2238 \end_inset
2239
2240
2241 \begin_inset Flex Noun
2242 status collapsed
2243
2244 \begin_layout Plain Layout
2245 \SpecialChar LyX
2246 conv
2247 \end_layout
2248
2249 \end_inset
2250
2251
2252 \begin_inset Quotes crd
2253 \end_inset
2254
2255 ,
2256  así,
2257  el HTML generado a partir de 
2258 \begin_inset Flex Noun
2259 status collapsed
2260
2261 \begin_layout Plain Layout
2262 /ruta/a/archivo.lyx
2263 \end_layout
2264
2265 \end_inset
2266
2267  tendrá la forma 
2268 \begin_inset Flex Noun
2269 status collapsed
2270
2271 \begin_layout Plain Layout
2272 /ruta/a/archivo.html.\SpecialChar LyX
2273 conv
2274 \end_layout
2275
2276 \end_inset
2277
2278 .
2279 \end_layout
2280
2281 \end_inset
2282
2283
2284 \end_layout
2285
2286 \begin_layout Section
2287 Convertidores
2288 \begin_inset CommandInset label
2289 LatexCommand label
2290 name "sec:Convertidores"
2291
2292 \end_inset
2293
2294
2295 \end_layout
2296
2297 \begin_layout Standard
2298 Puedes definir tus propios convertidores para convertir archivos entre distintos formatos.
2299  Se hace en el diálogo 
2300 \begin_inset Flex Noun
2301 status collapsed
2302
2303 \begin_layout Plain Layout
2304 Herramientas\SpecialChar menuseparator
2305 Preferencias\SpecialChar menuseparator
2306 Gestión de archivos\SpecialChar menuseparator
2307 Convertidores
2308 \end_layout
2309
2310 \end_inset
2311
2312 .
2313 \end_layout
2314
2315 \begin_layout Standard
2316 Para definir un nuevo convertidor de un formato a otro,
2317  selecciónalos en las listas desplegables 
2318 \begin_inset Flex Noun
2319 status collapsed
2320
2321 \begin_layout Plain Layout
2322 Del
2323 \begin_inset space ~
2324 \end_inset
2325
2326 formato
2327 \end_layout
2328
2329 \end_inset
2330
2331  y 
2332 \begin_inset Flex Noun
2333 status collapsed
2334
2335 \begin_layout Plain Layout
2336 Al
2337 \begin_inset space ~
2338 \end_inset
2339
2340 formato
2341 \end_layout
2342
2343 \end_inset
2344
2345 ,
2346  introduce el comando necesario para la conversión y después pulsa el botón 
2347 \begin_inset Flex Noun
2348 status collapsed
2349
2350 \begin_layout Plain Layout
2351 Añadir
2352 \end_layout
2353
2354 \end_inset
2355
2356 .
2357  En la definición de convertidores se pueden usar distintas variables:
2358 \end_layout
2359
2360 \begin_layout Labeling
2361 \labelwidthstring 00.00.0000
2362 \begin_inset Flex Code
2363 status collapsed
2364
2365 \begin_layout Plain Layout
2366 $$s
2367 \end_layout
2368
2369 \end_inset
2370
2371  El directorio de sistema de \SpecialChar LyX
2372
2373 \end_layout
2374
2375 \begin_layout Labeling
2376 \labelwidthstring 00.00.0000
2377 \begin_inset Flex Code
2378 status collapsed
2379
2380 \begin_layout Plain Layout
2381 $$i
2382 \end_layout
2383
2384 \end_inset
2385
2386  El archivo de entrada
2387 \end_layout
2388
2389 \begin_layout Labeling
2390 \labelwidthstring 00.00.0000
2391 \begin_inset Flex Code
2392 status collapsed
2393
2394 \begin_layout Plain Layout
2395 $$o
2396 \end_layout
2397
2398 \end_inset
2399
2400  El archivo de salida
2401 \end_layout
2402
2403 \begin_layout Labeling
2404 \labelwidthstring 00.00.0000
2405 \begin_inset Flex Code
2406 status collapsed
2407
2408 \begin_layout Plain Layout
2409 $$b
2410 \end_layout
2411
2412 \end_inset
2413
2414  El nombre del archivo base del archivo de entrada (sin la extensión)
2415 \end_layout
2416
2417 \begin_layout Labeling
2418 \labelwidthstring 00.00.0000
2419 \begin_inset Flex Code
2420 status collapsed
2421
2422 \begin_layout Plain Layout
2423 $$p
2424 \end_layout
2425
2426 \end_inset
2427
2428  La ruta al archivo de entrada
2429 \end_layout
2430
2431 \begin_layout Labeling
2432 \labelwidthstring 00.00.0000
2433 \begin_inset Flex Code
2434 status collapsed
2435
2436 \begin_layout Plain Layout
2437 $$r
2438 \end_layout
2439
2440 \end_inset
2441
2442  La ruta al archivo de entrada original (esto es diferente de $$p cuando se invoca una cadena de convertidores).
2443 \end_layout
2444
2445 \begin_layout Labeling
2446 \labelwidthstring 00.00.0000
2447 \begin_inset Flex Code
2448 status collapsed
2449
2450 \begin_layout Plain Layout
2451 $$e
2452 \end_layout
2453
2454 \end_inset
2455
2456  El nombre iconv para la codificación del documento.
2457 \end_layout
2458
2459 \begin_layout Standard
2460 En el campo 
2461 \begin_inset Flex Noun
2462 status collapsed
2463
2464 \begin_layout Plain Layout
2465 Indicador adicional
2466 \end_layout
2467
2468 \end_inset
2469
2470  puedes introducir los siguientes,
2471  separados por comas:
2472 \end_layout
2473
2474 \begin_layout Labeling
2475 \labelwidthstring 00.00.0000
2476 \begin_inset Flex Code
2477 status collapsed
2478
2479 \begin_layout Plain Layout
2480 latex
2481 \end_layout
2482
2483 \end_inset
2484
2485  Este convertidor ejecuta alguna forma de \SpecialChar LaTeX
2486 .
2487  Hará estar disponibles los registros de errores \SpecialChar LaTeX
2488  de \SpecialChar LyX
2489
2490 \end_layout
2491
2492 \begin_layout Labeling
2493 \labelwidthstring 00.00.0000
2494 \begin_inset Flex Code
2495 status collapsed
2496
2497 \begin_layout Plain Layout
2498 needaux
2499 \end_layout
2500
2501 \end_inset
2502
2503  Necesita el archivo \SpecialChar LaTeX
2504  
2505 \begin_inset Flex Noun
2506 status collapsed
2507
2508 \begin_layout Plain Layout
2509 .aux
2510 \end_layout
2511
2512 \end_inset
2513
2514  para la conversión
2515 \end_layout
2516
2517 \begin_layout Labeling
2518 \labelwidthstring 00.00.0000
2519 \begin_inset Flex Code
2520 status collapsed
2521
2522 \begin_layout Plain Layout
2523 nice
2524 \end_layout
2525
2526 \end_inset
2527
2528  Necesita un 
2529 \begin_inset Quotes cld
2530 \end_inset
2531
2532 bonito
2533 \begin_inset Quotes crd
2534 \end_inset
2535
2536  archivo del trastero,
2537  que en la práctica quiere decir un archivo \SpecialChar LaTeX
2538  como el que queremos exportar,
2539  sin 
2540 \begin_inset Flex Code
2541 status collapsed
2542
2543 \begin_layout Plain Layout
2544 input@path
2545 \end_layout
2546
2547 \end_inset
2548
2549 .
2550 \end_layout
2551
2552 \begin_layout Labeling
2553 \labelwidthstring 00.00.0000
2554 \begin_inset Flex Code
2555 status collapsed
2556
2557 \begin_layout Plain Layout
2558 xml
2559 \end_layout
2560
2561 \end_inset
2562
2563  La salida es XML
2564 \end_layout
2565
2566 \begin_layout Standard
2567 Las tres siguientes no son realmente indicadores porque aceptan un argumento en la forma 
2568 \begin_inset Flex Noun
2569 status collapsed
2570
2571 \begin_layout Plain Layout
2572 key
2573 \begin_inset space ~
2574 \end_inset
2575
2576 =
2577 \begin_inset space ~
2578 \end_inset
2579
2580 value
2581 \end_layout
2582
2583 \end_inset
2584
2585 :
2586 \end_layout
2587
2588 \begin_layout Labeling
2589 \labelwidthstring 00.00.0000
2590 \begin_inset Flex Code
2591 status collapsed
2592
2593 \begin_layout Plain Layout
2594 parselog
2595 \end_layout
2596
2597 \end_inset
2598
2599  Si se pone,
2600  el error estándar del convertidor se redirecciona a un archivo 
2601 \begin_inset Flex Code
2602 status collapsed
2603
2604 \begin_layout Plain Layout
2605 infile.out
2606 \end_layout
2607
2608 \end_inset
2609
2610 ,
2611  y el guión dado como argumento se ejecutará como:
2612  
2613 \begin_inset Flex Code
2614 status collapsed
2615
2616 \begin_layout Plain Layout
2617 script <infile.out >infile.log
2618 \end_layout
2619
2620 \end_inset
2621
2622 .
2623  El argumento puede contener 
2624 \begin_inset Flex Code
2625 status collapsed
2626
2627 \begin_layout Plain Layout
2628 $$s
2629 \end_layout
2630
2631 \end_inset
2632
2633 .
2634 \end_layout
2635
2636 \begin_layout Labeling
2637 \labelwidthstring 00.00.0000
2638 \begin_inset Flex Code
2639 status collapsed
2640
2641 \begin_layout Plain Layout
2642 resultdir
2643 \end_layout
2644
2645 \end_inset
2646
2647  El nombre del directorio en el que el convertidor descargará los archivos generados.
2648  \SpecialChar LyX
2649  no creará ese directorio y no copia nada en él,
2650  aunque copiará este directorio al destino.
2651  El argumento puede contener 
2652 \begin_inset Flex Code
2653 status collapsed
2654
2655 \begin_layout Plain Layout
2656 $$b
2657 \end_layout
2658
2659 \end_inset
2660
2661 ,
2662  que será reemplazado por el nombre base de los archivos de entrada y de salida,
2663  respectivamente,
2664  cuando se copia el directorio.
2665 \begin_inset Newline newline
2666 \end_inset
2667
2668 Ten en cuenta que resultdir y usetempdir no tienen sentido juntos.
2669  El último será ignorado si se da el primero.
2670 \end_layout
2671
2672 \begin_layout Labeling
2673 \labelwidthstring 00.00.0000
2674 \begin_inset Flex Code
2675 status collapsed
2676
2677 \begin_layout Plain Layout
2678 resultfile
2679 \end_layout
2680
2681 \end_inset
2682
2683  Determina el nombre del archivo de salida y puede contener 
2684 \begin_inset Flex Code
2685 status collapsed
2686
2687 \begin_layout Plain Layout
2688 $$b
2689 \end_layout
2690
2691 \end_inset
2692
2693 .
2694  Solo es sensible con 
2695 \begin_inset Flex Code
2696 status collapsed
2697
2698 \begin_layout Plain Layout
2699 resultdir
2700 \end_layout
2701
2702 \end_inset
2703
2704  y además es opcional;
2705  si no se da,
2706  por omisión es `index'.
2707 \end_layout
2708
2709 \begin_layout Standard
2710 Ninguno de estos tres últimos se usan actualmente en ninguno de los convertidores que son instalados por \SpecialChar LyX
2711 .
2712 \end_layout
2713
2714 \begin_layout Standard
2715 No tienes que definir convertidores entre todos los formatos que quieras convertir.
2716  Por ejemplo,
2717  observarás que no hay convertidor `\SpecialChar LyX
2718  a PostScript',
2719  sin embargo \SpecialChar LyX
2720  exporta a PostScript.
2721  Lo hace creando primero un archivo \SpecialChar LaTeX
2722  (no es necesario un convertidor para esto),
2723  que luego es convertido a DVI mediante el convertidor `\SpecialChar LaTeX
2724  a DVI',
2725  y por último convierte el archivo DVI resultante a PostScript.
2726  \SpecialChar LyX
2727  encuentra automáticamente estas 'cadenas' de convertidores y siempre escogerá la cadena más corta posible.
2728  Sin embargo,
2729  aún puedes definir múltiples métodos de conversión entre formatos.
2730  Por ejemplo,
2731  la configuración estándar de \SpecialChar LyX
2732  provee cinco caminos para convertir \SpecialChar LaTeX
2733  a PDF:
2734 \end_layout
2735
2736 \begin_layout Enumerate
2737 directamente,
2738  usando 
2739 \begin_inset Flex Noun
2740 status collapsed
2741
2742 \begin_layout Plain Layout
2743 pdflatex
2744 \end_layout
2745
2746 \end_inset
2747
2748
2749 \end_layout
2750
2751 \begin_layout Enumerate
2752 mediante (DVI y) PostScript,
2753  usando 
2754 \begin_inset Flex Noun
2755 status collapsed
2756
2757 \begin_layout Plain Layout
2758 ps2pdf
2759 \end_layout
2760
2761 \end_inset
2762
2763
2764 \end_layout
2765
2766 \begin_layout Enumerate
2767 mediante DVI,
2768  usando 
2769 \begin_inset Flex Noun
2770 status collapsed
2771
2772 \begin_layout Plain Layout
2773 dvipdfm
2774 \end_layout
2775
2776 \end_inset
2777
2778
2779 \end_layout
2780
2781 \begin_layout Enumerate
2782 directamente,
2783  usando 
2784 \begin_inset Flex Noun
2785 status collapsed
2786
2787 \begin_layout Plain Layout
2788 Xe\SpecialChar TeX
2789
2790 \end_layout
2791
2792 \end_inset
2793
2794
2795 \end_layout
2796
2797 \begin_layout Enumerate
2798 directamente,
2799  usando 
2800 \begin_inset Flex Noun
2801 status collapsed
2802
2803 \begin_layout Plain Layout
2804 Lua\SpecialChar TeX
2805
2806 \end_layout
2807
2808 \end_inset
2809
2810
2811 \end_layout
2812
2813 \begin_layout Standard
2814 Para construir estas cadenas alternativas tienes que definir múltiples 'formatos de archivo' objetivo,
2815  como se describe en la sección
2816 \begin_inset space ~
2817 \end_inset
2818
2819
2820 \begin_inset CommandInset ref
2821 LatexCommand ref
2822 reference "sec:Formatos"
2823 nolink "false"
2824
2825 \end_inset
2826
2827 .
2828  Por ejemplo,
2829  en la configuración estándar,
2830  se definen los formatos llamados 
2831 \begin_inset Flex Noun
2832 status collapsed
2833
2834 \begin_layout Plain Layout
2835 pdf
2836 \end_layout
2837
2838 \end_inset
2839
2840  (para 
2841 \begin_inset Flex Noun
2842 status collapsed
2843
2844 \begin_layout Plain Layout
2845 ps2pdf
2846 \end_layout
2847
2848 \end_inset
2849
2850 ),
2851  
2852 \begin_inset Flex Noun
2853 status collapsed
2854
2855 \begin_layout Plain Layout
2856 pdf2
2857 \end_layout
2858
2859 \end_inset
2860
2861  (para 
2862 \begin_inset Flex Noun
2863 status collapsed
2864
2865 \begin_layout Plain Layout
2866 pdflatex
2867 \end_layout
2868
2869 \end_inset
2870
2871 ),
2872  
2873 \begin_inset Flex Noun
2874 status collapsed
2875
2876 \begin_layout Plain Layout
2877 pdf3
2878 \end_layout
2879
2880 \end_inset
2881
2882  (para 
2883 \begin_inset Flex Noun
2884 status collapsed
2885
2886 \begin_layout Plain Layout
2887 dvipdfm
2888 \end_layout
2889
2890 \end_inset
2891
2892 ),
2893  
2894 \begin_inset Flex Noun
2895 status collapsed
2896
2897 \begin_layout Plain Layout
2898 pdf4
2899 \end_layout
2900
2901 \end_inset
2902
2903  (para 
2904 \begin_inset Flex Noun
2905 status collapsed
2906
2907 \begin_layout Plain Layout
2908 Xe\SpecialChar TeX
2909
2910 \end_layout
2911
2912 \end_inset
2913
2914 ),
2915  y 
2916 \begin_inset Flex Noun
2917 status collapsed
2918
2919 \begin_layout Plain Layout
2920 pdf5
2921 \end_layout
2922
2923 \end_inset
2924
2925  (para 
2926 \begin_inset Flex Noun
2927 status collapsed
2928
2929 \begin_layout Plain Layout
2930 Lua\SpecialChar TeX
2931
2932 \end_layout
2933
2934 \end_inset
2935
2936 ),
2937  todos ellos compartiendo la extensión 
2938 \begin_inset Flex Noun
2939 status collapsed
2940
2941 \begin_layout Plain Layout
2942 .pdf
2943 \end_layout
2944
2945 \end_inset
2946
2947 ,
2948  y que corresponden a los métodos de conversión antes mencionados.
2949 \end_layout
2950
2951 \begin_layout Chapter
2952 Internacionalización de \SpecialChar LyX
2953
2954 \begin_inset CommandInset label
2955 LatexCommand label
2956 name "cap:Internacionalización-de-LyX"
2957
2958 \end_inset
2959
2960
2961 \end_layout
2962
2963 \begin_layout Standard
2964 \SpecialChar LyX
2965  soporta el uso de una interfaz traducida.
2966  La última vez que lo comprobamos,
2967  \SpecialChar LyX
2968  suministraba textos en treinta idiomas.
2969  El idioma elegido se denomina 
2970 \emph on
2971 locale
2972 \emph default
2973 .
2974  (Para lecciones adicionales sobre configuración de idiomas,
2975  véase también la documentación de 
2976 \begin_inset Quotes cld
2977 \end_inset
2978
2979 locale
2980 \begin_inset Quotes crd
2981 \end_inset
2982
2983  del sistema operativo.
2984  En Linux,
2985  la página de manual de 
2986 \begin_inset Flex Code
2987 status collapsed
2988
2989 \begin_layout Plain Layout
2990 locale(5)
2991 \end_layout
2992
2993 \end_inset
2994
2995  es un buen punto de partida).
2996  
2997 \end_layout
2998
2999 \begin_layout Standard
3000 Hay que advertir que estas traducciones funcionarán pero tienen algunos fallos.
3001  En particular,
3002  todos los diálogos se han diseñado con el inglés en mente,
3003  lo que significa que algún texto traducido podría ser demasiado largo para ajustarse al espacio asignado.
3004  Esto solo es un problema de presentación en pantalla y no causará ningún perjuicio.
3005  Además,
3006  encontrarás que algunas traducciones no definen atajos de teclado para todo.
3007  A veces,
3008  simplemente no hay letras libres suficientes para ello.
3009  Otras veces,
3010  el traductor todavía no lo ha completado.
3011  Nuestro equipo de traducción,
3012  al que podrías unirte si quieres,
3013 \begin_inset Foot
3014 status collapsed
3015
3016 \begin_layout Plain Layout
3017 Si usas con fluidez un idioma distinto del inglés,
3018  ¡unirse a estos equipos es una estupenda forma de corresponder a la comunidad \SpecialChar LyX
3019 !
3020 \end_layout
3021
3022 \end_inset
3023
3024  intentará,
3025  por supuesto,
3026  corregir estas deficiencias en futuras versiones de \SpecialChar LyX
3027 .
3028 \end_layout
3029
3030 \begin_layout Section
3031 Traducción de \SpecialChar LyX
3032
3033 \end_layout
3034
3035 \begin_layout Subsection
3036 Traducción de la interfaz gráfica de usuario (mensajes de texto)
3037 \end_layout
3038
3039 \begin_layout Standard
3040 \SpecialChar LyX
3041  utiliza la biblioteca GNU 
3042 \begin_inset Flex Code
3043 status collapsed
3044
3045 \begin_layout Plain Layout
3046 gettext
3047 \end_layout
3048
3049 \end_inset
3050
3051  para manejar la internacionalización de la interfaz.
3052  Para que \SpecialChar LyX
3053  hable tu idioma preferido en todos los menús y diálogos es necesario un archivo 
3054 \begin_inset Flex Code
3055 status collapsed
3056
3057 \begin_layout Plain Layout
3058 po
3059 \end_layout
3060
3061 \end_inset
3062
3063  para ese idioma.
3064  Si está disponible,
3065  tendrás que generar a partir de él un archivo 
3066 \begin_inset Flex Code
3067 status collapsed
3068
3069 \begin_layout Plain Layout
3070 mo
3071 \end_layout
3072
3073 \end_inset
3074
3075  e instalarlo.
3076  El procedimiento para hacer todo esto se explica en la documentación de GNU 
3077 \begin_inset Flex Code
3078 status collapsed
3079
3080 \begin_layout Plain Layout
3081 gettext
3082 \end_layout
3083
3084 \end_inset
3085
3086 .
3087  Puedes hacer esto solo para ti,
3088  pero también podrías compartir el resultado de tu trabajo con el resto de la comunidad \SpecialChar LyX
3089 .
3090  Envía un mensaje a la lista de desarrolladores de \SpecialChar LyX
3091  para más información sobre cómo proceder.
3092 \end_layout
3093
3094 \begin_layout Standard
3095 En resumen,
3096  esto es lo que deberías hacer (xx indica el código del idioma):
3097 \end_layout
3098
3099 \begin_layout Itemize
3100 Inspecciona el código fuente de \SpecialChar LyX
3101 .
3102  (Véase 
3103 \begin_inset CommandInset href
3104 LatexCommand href
3105 name "información en la web"
3106 target "https://www.lyx.org/HowToUseGIT"
3107 literal "false"
3108
3109 \end_inset
3110
3111 .)
3112 \end_layout
3113
3114 \begin_layout Itemize
3115 Copia el archivo 
3116 \begin_inset Flex Code
3117 status collapsed
3118
3119 \begin_layout Plain Layout
3120 lyx.pot
3121 \end_layout
3122
3123 \end_inset
3124
3125  a la carpeta de los archivos 
3126 \begin_inset Flex Code
3127 status collapsed
3128
3129 \begin_layout Plain Layout
3130 **.po
3131 \end_layout
3132
3133 \end_inset
3134
3135 .
3136  Después lo renombras como 
3137 \begin_inset Flex Code
3138 status collapsed
3139
3140 \begin_layout Plain Layout
3141 xx.po
3142 \end_layout
3143
3144 \end_inset
3145
3146 .
3147  (Si 
3148 \begin_inset Flex Code
3149 status collapsed
3150
3151 \begin_layout Plain Layout
3152 lyx.pot
3153 \end_layout
3154
3155 \end_inset
3156
3157  no está por ningún sitio,
3158  puede rehacerse con el comando de consola 
3159 \begin_inset Flex Code
3160 status collapsed
3161
3162 \begin_layout Plain Layout
3163 make lyx.pot
3164 \end_layout
3165
3166 \end_inset
3167
3168  en ese directorio,
3169  o puedes usar como muestra un archivo 
3170 \begin_inset Flex Code
3171 status collapsed
3172
3173 \begin_layout Plain Layout
3174 po
3175 \end_layout
3176
3177 \end_inset
3178
3179  de algún otro idioma).
3180 \end_layout
3181
3182 \begin_layout Itemize
3183 Edita 
3184 \begin_inset Flex Code
3185 status collapsed
3186
3187 \begin_layout Plain Layout
3188 xx.po
3189 \end_layout
3190
3191 \end_inset
3192
3193 .
3194 \begin_inset Foot
3195 status collapsed
3196
3197 \begin_layout Plain Layout
3198 Es un archivo de texto,
3199  se puede editar en cualquier editor de texto.
3200  Pero hay programas especializados para editar estos archivos,
3201  como 
3202 \family typewriter
3203 Poedit
3204 \family default
3205  (para todas las plataformas) o 
3206 \family typewriter
3207 KBabel
3208 \family default
3209  (para KDE).
3210  Además,
3211  
3212 \family typewriter
3213 Emacs
3214 \family default
3215  tiene un `modo' para editar archivos 
3216 \begin_inset Flex Code
3217 status collapsed
3218
3219 \begin_layout Plain Layout
3220 po
3221 \end_layout
3222
3223 \end_inset
3224
3225 ,
3226  veáse 
3227 \begin_inset Flex URL
3228 status open
3229
3230 \begin_layout Plain Layout
3231
3232 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3233 \end_layout
3234
3235 \end_inset
3236
3237 .
3238 \end_layout
3239
3240 \end_inset
3241
3242  Para algunos nombres de menú y otros artilugios hay además atajos de teclado que deberían traducirse.
3243  Dichas teclas se marcan con una `|' delante,
3244  y deberían traducirse de acuerdo con las palabras y frases del idioma.
3245  Además tendrías que rellenar la información al principio del nuevo archivo 
3246 \begin_inset Flex Code
3247 status collapsed
3248
3249 \begin_layout Plain Layout
3250 po
3251 \end_layout
3252
3253 \end_inset
3254
3255 ,
3256  correo electrónico,
3257  etc.,
3258  para que la gente sepa dónde enviarte sugerencias o divertidas diatribas.
3259 \end_layout
3260
3261 \begin_layout Standard
3262 Si estás haciendo esto solo para ti,
3263  entonces:
3264 \end_layout
3265
3266 \begin_layout Itemize
3267 Genera 
3268 \begin_inset Flex Code
3269 status collapsed
3270
3271 \begin_layout Plain Layout
3272 xx.mo
3273 \end_layout
3274
3275 \end_inset
3276
3277 .
3278  Se puede hacer con 
3279 \begin_inset Flex Code
3280 status collapsed
3281
3282 \begin_layout Plain Layout
3283 msgfmt -o xx.mo < xx.po
3284 \end_layout
3285
3286 \end_inset
3287
3288 .
3289 \end_layout
3290
3291 \begin_layout Itemize
3292 Copia el archivo 
3293 \begin_inset Flex Code
3294 status collapsed
3295
3296 \begin_layout Plain Layout
3297 mo
3298 \end_layout
3299
3300 \end_inset
3301
3302  a tu directorio local,
3303  en la carpeta apropiada para los mensajes de las aplicaciones en el idioma xx,
3304  con el nombre 
3305 \begin_inset Flex Code
3306 status collapsed
3307
3308 \begin_layout Plain Layout
3309 lyx.mo
3310 \end_layout
3311
3312 \end_inset
3313
3314  (p.
3315 \begin_inset space \thinspace{}
3316 \end_inset
3317
3318 e.
3319 \begin_inset space \space{}
3320 \end_inset
3321
3322
3323 \begin_inset Flex Code
3324 status collapsed
3325
3326 \begin_layout Plain Layout
3327 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3328 \end_layout
3329
3330 \end_inset
3331
3332
3333 \series bold
3334 .
3335 \end_layout
3336
3337 \begin_layout Standard
3338 Sin embargo,
3339  ya se ha dicho,
3340  lo mejor sería poder añadir el nuevo archivo 
3341 \begin_inset Flex Code
3342 status collapsed
3343
3344 \begin_layout Plain Layout
3345 po
3346 \end_layout
3347
3348 \end_inset
3349
3350  a la distribución de \SpecialChar LyX
3351 ,
3352  para que otros puedan usarlo.
3353  Esto requiere hacer cambios en \SpecialChar LyX
3354 ,
3355  así que envía un correo a la lista de desarrolladores si estás interesado en hacerlo.
3356 \end_layout
3357
3358 \begin_layout Subsubsection
3359 Mensajes ambiguos
3360 \end_layout
3361
3362 \begin_layout Standard
3363 A veces resulta que un mensaje en inglés tiene diversas traducciones en un idioma dado.
3364  Un ejemplo es la palabra 
3365 \begin_inset Flex Code
3366 status collapsed
3367
3368 \begin_layout Plain Layout
3369 To
3370 \end_layout
3371
3372 \end_inset
3373
3374 ,
3375  que en alemán se puede traducir por Nach o Bis,
3376  según el sentido exacto que tenga 
3377 \begin_inset Quotes cld
3378 \end_inset
3379
3380 to
3381 \begin_inset Quotes crd
3382 \end_inset
3383
3384  en inglés.
3385  GNU 
3386 \begin_inset Flex Code
3387 status collapsed
3388
3389 \begin_layout Plain Layout
3390 gettext
3391 \end_layout
3392
3393 \end_inset
3394
3395  no maneja tales traducciones ambiguas.
3396  Por lo tanto,
3397  debes añadir alguna información contextual al mensaje:
3398  en vez de 
3399 \begin_inset Flex Code
3400 status collapsed
3401
3402 \begin_layout Plain Layout
3403 To
3404 \end_layout
3405
3406 \end_inset
3407
3408  se pone 
3409 \begin_inset Flex Code
3410 status collapsed
3411
3412 \begin_layout Plain Layout
3413 To[[as in 'From format x to format y']]
3414 \end_layout
3415
3416 \end_inset
3417
3418  y 
3419 \begin_inset Flex Code
3420 status collapsed
3421
3422 \begin_layout Plain Layout
3423 To[[as in 'From page x to page y']]
3424 \end_layout
3425
3426 \end_inset
3427
3428 .
3429  Ahora las dos apariciones de 
3430 \begin_inset Flex Code
3431 status collapsed
3432
3433 \begin_layout Plain Layout
3434 To
3435 \end_layout
3436
3437 \end_inset
3438
3439  son diferentes para 
3440 \begin_inset Flex Code
3441 status collapsed
3442
3443 \begin_layout Plain Layout
3444 gettext
3445 \end_layout
3446
3447 \end_inset
3448
3449  y pueden traducirse correctamente por Nach y Bis,
3450  respectivamente.
3451 \end_layout
3452
3453 \begin_layout Standard
3454 Por supuesto que la información contextual debe eliminarse del mensaje original si no se usa en la traducción.
3455  Por eso hay que ponerla entre dobles corchetes al final del mensaje (véase el ejemplo).
3456  El mecanismo de traducción de \SpecialChar LyX
3457  asegura que todo lo que va entre corchetes al final de los mensajes se quita antes de mostrarlos.
3458 \end_layout
3459
3460 \begin_layout Subsection
3461 Traducción de la documentación
3462 \end_layout
3463
3464 \begin_layout Standard
3465 La documentación en línea (menú 
3466 \family sans
3467
3468 \begin_inset Flex Noun
3469 status collapsed
3470
3471 \begin_layout Plain Layout
3472
3473 \family sans
3474 A
3475 \family default
3476 yu
3477 \family sans
3478 da
3479 \end_layout
3480
3481 \end_inset
3482
3483
3484 \family default
3485 ) puede (¡debería!) traducirse.
3486  Si hay versiones traducidas de la documentación disponible
3487 \begin_inset Foot
3488 status collapsed
3489
3490 \begin_layout Plain Layout
3491 Hasta marzo de 2008,
3492  al menos algunos de los documentos han sido traducidos a catorce idiomas,
3493  y el Tutorial está disponible en algunos más.
3494 \end_layout
3495
3496 \end_inset
3497
3498  y 
3499 \begin_inset Flex Code
3500 status collapsed
3501
3502 \begin_layout Plain Layout
3503 locale
3504 \end_layout
3505
3506 \end_inset
3507
3508  está adecuadamente configurado,
3509  \SpecialChar LyX
3510  las cargará 
3511 \begin_inset Quotes cld
3512 \end_inset
3513
3514 automágicamente
3515 \begin_inset Quotes crd
3516 \end_inset
3517
3518 .
3519  \SpecialChar LyX
3520  busca las traducciones en 
3521 \family typewriter
3522
3523 \begin_inset Flex Code
3524 status collapsed
3525
3526 \begin_layout Plain Layout
3527
3528 \family typewriter
3529 \SpecialChar LyX
3530 Dir/doc/
3531 \family default
3532 xx
3533 \family typewriter
3534 /DocName.lyx
3535 \end_layout
3536
3537 \end_inset
3538
3539
3540 \family default
3541 ,
3542  donde 
3543 \family typewriter
3544 xx 
3545 \family default
3546 es el código para el idioma en uso actualmente.
3547  Si no hay versión traducida se presentará por omisión la versión inglesa del documento.
3548  Ten en cuenta que las versiones traducidas deben tener los mismos nombres de archivo (el 
3549 \family typewriter
3550 DocName
3551 \family default
3552  de antes) que el original.
3553  Si te animas a traducir documentación (¡de paso,
3554  una excelente manera de leerla atentamente!),
3555  hay algunas cosas que deberías tener en cuenta:
3556 \end_layout
3557
3558 \begin_layout Itemize
3559 Consulta la web de traducción de la documentación en 
3560 \begin_inset CommandInset href
3561 LatexCommand href
3562 name "https://www.lyx.org/Translation"
3563 target "https://www.lyx.org/Translation"
3564 literal "false"
3565
3566 \end_inset
3567
3568 .
3569  Así podrás comprobar el estado actual de traducción de documentos a tu idioma.
3570  También si hay alguien que esté coordinando la traducción a tu idioma.
3571  Si no hay nadie comunícanos,
3572  por favor,
3573  si estás interesado en ello.
3574 \end_layout
3575
3576 \begin_layout Standard
3577 Una vez que te has decidido a empezar,
3578  he aquí algunos consejos que te pueden ahorrar inconvenientes:
3579 \end_layout
3580
3581 \begin_layout Itemize
3582 ¡Únete al equipo de documentación!
3583  En 
3584 \family sans
3585
3586 \begin_inset Flex Noun
3587 status collapsed
3588
3589 \begin_layout Plain Layout
3590 Ayuda\SpecialChar menuseparator
3591 Intro
3592 \family sans
3593 ducción
3594 \end_layout
3595
3596 \end_inset
3597
3598
3599 \family default
3600 ,
3601  que por cierto,
3602  es el primer documento que se debería traducir,
3603  hay información sobre cómo hacerlo.
3604 \end_layout
3605
3606 \begin_layout Itemize
3607 Infórmate sobre las normas tipográficas de tu idioma.
3608  La tipografía es un antiguo arte que ha desarrollado durante siglos una gran variedad de convenciones en diversas partes del mundo.
3609  Estudia también la terminología profesional de los tipógrafos en tu país.
3610  Inventar tu propia terminología sólo provocará confusión.
3611  
3612 \emph on
3613 (¡Cuidado!
3614  La tipografía es adictiva!)
3615 \end_layout
3616
3617 \begin_layout Itemize
3618 Haz una copia del documento para trabajar sobre ella.
3619  Puedes guardarla como archivo personal de traducción en tu directorio 
3620 \family typewriter
3621 ~/.lyx/doc/xx/
3622 \family default
3623 .
3624 \end_layout
3625
3626 \begin_layout Itemize
3627 De vez en cuando el documento original (del equipo \SpecialChar LyX
3628 ) será actualizado.
3629  Usa el visor de fuentes en 
3630 \begin_inset CommandInset href
3631 LatexCommand href
3632 name "https://www.lyx.org/trac/timeline"
3633 target "https://www.lyx.org/trac/timeline"
3634 literal "false"
3635
3636 \end_inset
3637
3638  para ver los cambios realizados.
3639  De esta manera puedes ver fácilmente qué partes del documento traducido necesitan actualizarse.
3640 \end_layout
3641
3642 \begin_layout Standard
3643 Si encuentras un error en el documento original,
3644  ¡corríjelo y notifica los cambios al equipo de documentación!
3645  (¿No te has olvidado de contactar con el equipo de documentación,
3646  verdad?)
3647 \end_layout
3648
3649 \begin_layout Standard
3650 \begin_inset Branch OutDated
3651 inverted 0
3652 status collapsed
3653
3654 \begin_layout Section
3655 International Keyboard Support
3656 \end_layout
3657
3658 \begin_layout Standard
3659
3660 \emph on
3661 [Editor's Note:
3662  The following section is by
3663 \emph default
3664  
3665 \shape smallcaps
3666 \emph on
3667 Ivan Schreter
3668 \shape default
3669 .
3670  It needs to be fixed to conform to the new Documentation Style sheet and to make use of the new v1.0 features.
3671  The whole thing also needs to be merged with the section following it.-jw It may also be badly out of date.-rh (2008)]
3672 \end_layout
3673
3674 \begin_layout Subsection
3675 Defining Own Keymaps:
3676  Keymap File Format
3677 \end_layout
3678
3679 \begin_layout Standard
3680 Let's look at a keyboard definition file a little closer.
3681  It is a plain text file defining
3682 \end_layout
3683
3684 \begin_layout Itemize
3685 key-to-key or key-to-string translations
3686 \end_layout
3687
3688 \begin_layout Itemize
3689 dead keys
3690 \end_layout
3691
3692 \begin_layout Itemize
3693 dead keys exceptions
3694 \end_layout
3695
3696 \begin_layout Standard
3697 To define key-to-key or key-to-string translation,
3698  use this command:
3699 \end_layout
3700
3701 \begin_layout Quotation
3702 \begin_inset Flex Code
3703 status collapsed
3704
3705 \begin_layout Plain Layout
3706
3707 \backslash
3708 kmap
3709 \end_layout
3710
3711 \end_inset
3712
3713  
3714 \begin_inset Flex Code
3715 status collapsed
3716
3717 \begin_layout Plain Layout
3718 key
3719 \end_layout
3720
3721 \end_inset
3722
3723  outstring 
3724 \end_layout
3725
3726 \begin_layout Standard
3727 where 
3728 \begin_inset Flex Code
3729 status collapsed
3730
3731 \begin_layout Plain Layout
3732 key
3733 \end_layout
3734
3735 \end_inset
3736
3737  is the key to be translated and 
3738 \begin_inset Flex Code
3739 status collapsed
3740
3741 \begin_layout Plain Layout
3742 outstring
3743 \end_layout
3744
3745 \end_inset
3746
3747  is the string to be inserted into the document.
3748  To define dead keys,
3749  use:
3750 \end_layout
3751
3752 \begin_layout Quotation
3753 \begin_inset Flex Code
3754 status collapsed
3755
3756 \begin_layout Plain Layout
3757
3758 \backslash
3759 kmod
3760 \end_layout
3761
3762 \end_inset
3763
3764  
3765 \begin_inset Flex Code
3766 status collapsed
3767
3768 \begin_layout Plain Layout
3769 key
3770 \end_layout
3771
3772 \end_inset
3773
3774  deadkey
3775 \end_layout
3776
3777 \begin_layout Standard
3778 where 
3779 \begin_inset Flex Code
3780 status collapsed
3781
3782 \begin_layout Plain Layout
3783 key
3784 \end_layout
3785
3786 \end_inset
3787
3788  is a keyboard key and 
3789 \begin_inset Flex Code
3790 status collapsed
3791
3792 \begin_layout Plain Layout
3793 deadkey
3794 \end_layout
3795
3796 \end_inset
3797
3798  is dead key name.
3799  The following dead keys are supported (shortcut name is in parentheses):
3800 \end_layout
3801
3802 \begin_layout Quotation
3803
3804 \emph on
3805 Name
3806 \begin_inset space \hfill{}
3807 \end_inset
3808
3809 Example
3810 \end_layout
3811
3812 \begin_layout Quotation
3813 acute (acu)
3814 \begin_inset space \hfill{}
3815 \end_inset
3816
3817 áéíóú
3818 \end_layout
3819
3820 \begin_layout Quotation
3821 grave (gra)
3822 \begin_inset space \hfill{}
3823 \end_inset
3824
3825 àèìòù
3826 \end_layout
3827
3828 \begin_layout Quotation
3829 macron (mac)
3830 \begin_inset space \hfill{}
3831 \end_inset
3832
3833  ō
3834 \end_layout
3835
3836 \begin_layout Quotation
3837 tilde (til)
3838 \begin_inset space \hfill{}
3839 \end_inset
3840
3841 ñÑ
3842 \end_layout
3843
3844 \begin_layout Quotation
3845 underbar (underb)
3846 \begin_inset space \hfill{}
3847 \end_inset
3848
3849
3850 \begin_inset ERT
3851 status open
3852
3853 \begin_layout Plain Layout
3854
3855
3856 \backslash
3857 b o
3858 \end_layout
3859
3860 \end_inset
3861
3862
3863 \end_layout
3864
3865 \begin_layout Quotation
3866 cedilla (ced)
3867 \begin_inset space \hfill{}
3868 \end_inset
3869
3870 çÇ
3871 \end_layout
3872
3873 \begin_layout Quotation
3874 underdot (underd)
3875 \begin_inset space \hfill{}
3876 \end_inset
3877
3878
3879 \begin_inset ERT
3880 status open
3881
3882 \begin_layout Plain Layout
3883
3884
3885 \backslash
3886 d o
3887 \end_layout
3888
3889 \end_inset
3890
3891
3892 \end_layout
3893
3894 \begin_layout Quotation
3895 circumflex (circu)
3896 \begin_inset space \hfill{}
3897 \end_inset
3898
3899 âêîôû
3900 \end_layout
3901
3902 \begin_layout Quotation
3903 circle (circl)
3904 \begin_inset space \hfill{}
3905 \end_inset
3906
3907 ÅůŮ
3908 \end_layout
3909
3910 \begin_layout Quotation
3911 tie (tie)
3912 \begin_inset space \hfill{}
3913 \end_inset
3914
3915
3916 \begin_inset ERT
3917 status open
3918
3919 \begin_layout Plain Layout
3920
3921
3922 \backslash
3923 t o
3924 \end_layout
3925
3926 \end_inset
3927
3928
3929 \end_layout
3930
3931 \begin_layout Quotation
3932 breve (bre)
3933 \begin_inset space \hfill{}
3934 \end_inset
3935
3936 ă
3937 \begin_inset ERT
3938 status open
3939
3940 \begin_layout Plain Layout
3941
3942
3943 \backslash
3944 u o
3945 \end_layout
3946
3947 \end_inset
3948
3949
3950 \end_layout
3951
3952 \begin_layout Quotation
3953 caron (car)
3954 \begin_inset space \hfill{}
3955 \end_inset
3956
3957 čšž
3958 \end_layout
3959
3960 \begin_layout Quotation
3961 hungarian umlaut (hug)
3962 \begin_inset space \hfill{}
3963 \end_inset
3964
3965 őű
3966 \end_layout
3967
3968 \begin_layout Quotation
3969 umlaut (uml)
3970 \begin_inset space \hfill{}
3971 \end_inset
3972
3973 äöü
3974 \end_layout
3975
3976 \begin_layout Quotation
3977 dot (dot)
3978 \begin_inset space \hfill{}
3979 \end_inset
3980
3981 ż
3982 \begin_inset ERT
3983 status open
3984
3985 \begin_layout Plain Layout
3986
3987
3988 \backslash
3989 .s
3990 \end_layout
3991
3992 \end_inset
3993
3994
3995 \end_layout
3996
3997 \begin_layout Standard
3998 Since in many international keyboards there are exceptions to what some dead keys should do,
3999  you can define them using
4000 \end_layout
4001
4002 \begin_layout Quotation
4003 \begin_inset Flex Code
4004 status collapsed
4005
4006 \begin_layout Plain Layout
4007
4008 \backslash
4009 kxmod
4010 \end_layout
4011
4012 \end_inset
4013
4014  deadkey key outstring
4015 \end_layout
4016
4017 \begin_layout Standard
4018 For example,
4019  on Slovak keyboard,
4020  if you enter caron-o,
4021  it generates circumflex-o,
4022  so you put in
4023 \end_layout
4024
4025 \begin_layout Quotation
4026 \begin_inset Flex Code
4027 status collapsed
4028
4029 \begin_layout Plain Layout
4030
4031 \backslash
4032 kxmod
4033 \end_layout
4034
4035 \end_inset
4036
4037  caron o "
4038 \backslash
4039 ^o"
4040 \end_layout
4041
4042 \begin_layout Standard
4043 to make it work correctly.
4044  Also,
4045  you have to define as exceptions dead keys over i and j,
4046  to remove the dot from them before inserting an accent mark.
4047  I will change this when the time comes,
4048  but so far I haven't had time.
4049 \end_layout
4050
4051 \begin_layout Standard
4052 Oh,
4053  and about characters:
4054  backslash is escaped,
4055  so to enter it,
4056  you'll need double backslash.
4057  Also,
4058  quotes and 
4059 \begin_inset Flex Code
4060 status collapsed
4061
4062 \begin_layout Plain Layout
4063 #
4064 \end_layout
4065
4066 \end_inset
4067
4068  have different meaning.
4069  
4070 \begin_inset Flex Code
4071 status collapsed
4072
4073 \begin_layout Plain Layout
4074 #
4075 \end_layout
4076
4077 \end_inset
4078
4079  marks comments,
4080  quotes start and end \SpecialChar LaTeX
4081 -style commands.
4082  To enter quote,
4083  you'll need to use 
4084 \begin_inset Flex Code
4085 status collapsed
4086
4087 \begin_layout Plain Layout
4088
4089 \backslash
4090 "
4091 \end_layout
4092
4093 \end_inset
4094
4095 ,
4096  to enter 
4097 \begin_inset Flex Code
4098 status collapsed
4099
4100 \begin_layout Plain Layout
4101 #
4102 \end_layout
4103
4104 \end_inset
4105
4106 ,
4107  use 
4108 \begin_inset Flex Code
4109 status collapsed
4110
4111 \begin_layout Plain Layout
4112
4113 \backslash
4114 #
4115 \end_layout
4116
4117 \end_inset
4118
4119 .
4120 \end_layout
4121
4122 \begin_layout Standard
4123 If you make a keyboard description file that works for your language,
4124  please mail it to me,
4125  so I can include it in the next keymap distribution.
4126 \end_layout
4127
4128 \begin_layout Standard
4129 More keywords will be supported in keymap configuration file in future,
4130  like
4131 \end_layout
4132
4133 \begin_layout Itemize
4134 \begin_inset Flex Code
4135 status collapsed
4136
4137 \begin_layout Plain Layout
4138
4139 \backslash
4140 kinclude filename
4141 \end_layout
4142
4143 \end_inset
4144
4145
4146 \emph on
4147
4148 \begin_inset space \hfill{}
4149 \end_inset
4150
4151
4152 \begin_inset Flex Code
4153 status collapsed
4154
4155 \begin_layout Plain Layout
4156 include
4157 \end_layout
4158
4159 \end_inset
4160
4161  another file
4162 \end_layout
4163
4164 \begin_layout Itemize
4165 \begin_inset Flex Code
4166 status collapsed
4167
4168 \begin_layout Plain Layout
4169
4170 \backslash
4171 kprog program
4172 \end_layout
4173
4174 \end_inset
4175
4176
4177 \emph on
4178
4179 \begin_inset space \hfill{}
4180 \end_inset
4181
4182
4183 \begin_inset Flex Code
4184 status collapsed
4185
4186 \begin_layout Plain Layout
4187 define
4188 \end_layout
4189
4190 \end_inset
4191
4192  an external keymap translation program 
4193 \end_layout
4194
4195 \begin_layout Standard
4196 Also,
4197  it should look into 
4198 \begin_inset Flex Code
4199 status collapsed
4200
4201 \begin_layout Plain Layout
4202 lyxrc
4203 \end_layout
4204
4205 \end_inset
4206
4207  file for defaults,
4208  too (for example,
4209  a 
4210 \begin_inset Flex Code
4211 status collapsed
4212
4213 \begin_layout Plain Layout
4214
4215 \backslash
4216 kinclude
4217 \end_layout
4218
4219 \end_inset
4220
4221  option to include default keyboard).
4222 \end_layout
4223
4224 \end_inset
4225
4226
4227 \end_layout
4228
4229 \begin_layout Section
4230 \begin_inset CommandInset label
4231 LatexCommand label
4232 name "sec:keymap"
4233
4234 \end_inset
4235
4236 Cosas sobre teclados internacionales
4237 \end_layout
4238
4239 \begin_layout Standard
4240 \begin_inset Note Note
4241 status open
4242
4243 \begin_layout Plain Layout
4244 Al revisar este documento en marzo de 2008,
4245  no examiné este asunto porque no lo comprendía.
4246  Sería bueno que alguien pudiera hacerlo.
4247  (RH)
4248 \end_layout
4249
4250 \end_inset
4251
4252
4253 \end_layout
4254
4255 \begin_layout Standard
4256 Las dos secciones siguientes describen con detalle la sintaxis de los archivos 
4257 \begin_inset Flex Code
4258 status collapsed
4259
4260 \begin_layout Plain Layout
4261
4262 \shape up
4263 .kmap
4264 \end_layout
4265
4266 \end_inset
4267
4268  y 
4269 \begin_inset Flex Code
4270 status collapsed
4271
4272 \begin_layout Plain Layout
4273
4274 \shape up
4275 .cdef
4276 \end_layout
4277
4278 \end_inset
4279
4280 .
4281  Deberían servir de ayuda para diseñar tus propios mapas de teclado si los suministrados no satisfacen tus necesidades.
4282 \end_layout
4283
4284 \begin_layout Subsection
4285 El archivo .kmap
4286 \end_layout
4287
4288 \begin_layout Standard
4289 Un archivo .
4290 \begin_inset Flex Code
4291 status collapsed
4292
4293 \begin_layout Plain Layout
4294 kmap
4295 \end_layout
4296
4297 \end_inset
4298
4299  asocia pulsaciones de teclas con caracteres o secuencias de ellos.
4300  Como sugiere el nombre,
4301  sirve para trazar un mapa del teclado.
4302  En esta sección se describen las palabras clave 
4303 \begin_inset Flex Code
4304 status collapsed
4305
4306 \begin_layout Plain Layout
4307
4308 \shape up
4309 kmap
4310 \end_layout
4311
4312 \end_inset
4313
4314 ,
4315  
4316 \begin_inset Flex Code
4317 status collapsed
4318
4319 \begin_layout Plain Layout
4320
4321 \shape up
4322 kmod
4323 \end_layout
4324
4325 \end_inset
4326
4327 ,
4328  
4329 \begin_inset Flex Code
4330 status collapsed
4331
4332 \begin_layout Plain Layout
4333
4334 \shape up
4335 kxmod
4336 \end_layout
4337
4338 \end_inset
4339
4340  y 
4341 \begin_inset Flex Code
4342 status collapsed
4343
4344 \begin_layout Plain Layout
4345
4346 \shape up
4347 kcomb
4348 \end_layout
4349
4350 \end_inset
4351
4352  del archivo 
4353 \begin_inset Flex Code
4354 status collapsed
4355
4356 \begin_layout Plain Layout
4357 .kmap
4358 \end_layout
4359
4360 \end_inset
4361
4362 .
4363 \end_layout
4364
4365 \begin_layout Labeling
4366 \labelwidthstring 00.00.0000
4367 \begin_inset Flex Code
4368 status collapsed
4369
4370 \begin_layout Plain Layout
4371
4372 \shape up
4373 kmap
4374 \end_layout
4375
4376 \end_inset
4377
4378  Asocia un carácter a una cadena
4379 \end_layout
4380
4381 \begin_layout LyX-Code
4382
4383 \backslash
4384 kmap 
4385 \family roman
4386 \emph on
4387 char
4388 \family default
4389 \emph default
4390  
4391 \family roman
4392 \emph on
4393 string
4394 \end_layout
4395
4396 \begin_layout Standard
4397 Esto asocia 
4398 \emph on
4399 char
4400 \emph default
4401  a 
4402 \emph on
4403 string
4404 \emph default
4405 .
4406  Anotar que en 
4407 \emph on
4408 string
4409 \emph default
4410 ,
4411  la doble comilla (") y la barra invertida (
4412 \backslash
4413 ) deben escaparse con una barra (
4414 \backslash
4415 ) previa.
4416 \end_layout
4417
4418 \begin_layout Standard
4419 Un ejemplo de una declaración de 
4420 \begin_inset Flex Noun
4421 status collapsed
4422
4423 \begin_layout Plain Layout
4424
4425 \shape up
4426 kmap
4427 \end_layout
4428
4429 \end_inset
4430
4431  para hacer que el símbolo 
4432 \begin_inset Flex Noun
4433 status collapsed
4434
4435 \begin_layout Plain Layout
4436
4437 \shape up
4438 /
4439 \end_layout
4440
4441 \end_inset
4442
4443  sea generado por la tecla 
4444 \begin_inset Flex Noun
4445 status collapsed
4446
4447 \begin_layout Plain Layout
4448
4449 \shape up
4450 &
4451 \end_layout
4452
4453 \end_inset
4454
4455  es:
4456 \end_layout
4457
4458 \begin_layout LyX-Code
4459
4460 \backslash
4461 kmap & /
4462 \end_layout
4463
4464 \begin_layout Labeling
4465 \labelwidthstring 00.00.0000
4466 \begin_inset Flex Code
4467 status collapsed
4468
4469 \begin_layout Plain Layout
4470
4471 \shape up
4472 kmod
4473 \end_layout
4474
4475 \end_inset
4476
4477  Especifica un carácter acentuado
4478 \end_layout
4479
4480 \begin_layout LyX-Code
4481
4482 \backslash
4483 kmod 
4484 \family roman
4485 \emph on
4486 char accent allowed
4487 \end_layout
4488
4489 \begin_layout Standard
4490 Esto hará que el carácter 
4491 \emph on
4492 char
4493 \emph default
4494  sea un acento
4495 \emph on
4496  accent
4497 \emph default
4498  sobre el(los) carácter(es) permitido(s) 
4499 \emph on
4500 allowed
4501 \emph default
4502 .
4503  Este es el mecanismo de tecla muerta
4504 \begin_inset Foot
4505 status collapsed
4506
4507 \begin_layout Plain Layout
4508 El término 
4509 \size normal
4510 \emph on
4511 \color none
4512 tecla 
4513 \size default
4514 \color inherit
4515 muerta 
4516 \emph default
4517 se refiere a una tecla que no genera ningún carácter por sí mismo,
4518  pero seguida de otra tecla genera el carácter acentuado deseado.
4519  Por ejemplo,
4520  un caráter con diéresis,
4521  ü,
4522  se genera de esta manera.
4523 \end_layout
4524
4525 \end_inset
4526
4527 .
4528  
4529 \end_layout
4530
4531 \begin_layout Standard
4532 Si pulsas 
4533 \emph on
4534 char
4535 \emph default
4536  y después una tecla que no está entre las permitidas (
4537 \emph on
4538 allowed
4539 \emph default
4540 ),
4541  en la salida obtendrás el carácter 
4542 \emph on
4543 char
4544 \emph default
4545  seguido por el otro carácter,
4546  el no permitido.
4547  Hay que tener en cuenta que 
4548 \begin_inset Flex Noun
4549 status collapsed
4550
4551 \begin_layout Plain Layout
4552
4553 \shape up
4554 Retroceso
4555 \end_layout
4556
4557 \end_inset
4558
4559  cancela una tecla muerta,
4560  de modo que si pulsas 
4561 \emph on
4562 char 
4563 \emph default
4564
4565 \begin_inset Flex Noun
4566 status collapsed
4567
4568 \begin_layout Plain Layout
4569
4570 \shape up
4571 Retroceso
4572 \end_layout
4573
4574 \end_inset
4575
4576 ,
4577  el cursor no retrocede una posición sino que anula el efecto que 
4578 \emph on
4579 char
4580 \emph default
4581  hubiera tenido sobre la siguiente pulsación.
4582 \end_layout
4583
4584 \begin_layout Standard
4585 En el ejemplo siguiente,
4586  el carácter ' va a generar un acento agudo permitido sobre los caracteres a,
4587  e,
4588  i,
4589  o,
4590  u,
4591  A,
4592  E,
4593  I,
4594  O,
4595  U:
4596 \end_layout
4597
4598 \begin_layout LyX-Code
4599
4600 \backslash
4601 kmod ' acute aeiouAEIOU
4602 \end_layout
4603
4604 \begin_layout Labeling
4605 \labelwidthstring 00.00.0000
4606 \begin_inset Flex Code
4607 status collapsed
4608
4609 \begin_layout Plain Layout
4610 kxmod
4611 \end_layout
4612
4613 \end_inset
4614
4615  Especifica una excepción para el carácter acentuado
4616 \end_layout
4617
4618 \begin_layout LyX-Code
4619
4620 \backslash
4621 kxmod  
4622 \family roman
4623 \emph on
4624 accent char result
4625 \end_layout
4626
4627 \begin_layout Standard
4628 Define una excepción para el 
4629 \emph on
4630 accent
4631 \emph default
4632  sobre 
4633 \emph on
4634 char
4635 \emph default
4636 .
4637  El 
4638 \emph on
4639 accent
4640 \emph default
4641  debe haber sido asignado a una pulsación con una declaración previa de 
4642 \begin_inset Flex Code
4643 status collapsed
4644
4645 \begin_layout Plain Layout
4646
4647 \shape up
4648
4649 \backslash
4650 kmo
4651 \shape default
4652 d
4653 \end_layout
4654
4655 \end_inset
4656
4657  y 
4658 \emph on
4659 char
4660 \emph default
4661  no debe estar en el conjunto 
4662 \emph on
4663 allowed
4664 \emph default
4665  de 
4666 \emph on
4667 accent
4668 \emph default
4669 .
4670  Si tecleas la secuencia 
4671 \emph on
4672 accent char
4673 \emph default
4674  da como resultado 
4675 \emph on
4676 result
4677 \emph default
4678 .
4679  Si dicha declaración no existe en el archivo 
4680 \begin_inset Flex Code
4681 status collapsed
4682
4683 \begin_layout Plain Layout
4684
4685 \shape up
4686 .kmap
4687 \end_layout
4688
4689 \end_inset
4690
4691  y tecleas 
4692 \emph on
4693 accent char
4694 \emph default
4695 ,
4696  obtendrás 
4697 \emph on
4698 accent_key char
4699 \emph default
4700 ,
4701  donde 
4702 \emph on
4703 accent_key
4704 \emph default
4705  es el primer argumento de la declaración 
4706 \begin_inset Flex Code
4707 status collapsed
4708
4709 \begin_layout Plain Layout
4710
4711 \shape up
4712
4713 \backslash
4714 kmod
4715 \end_layout
4716
4717 \end_inset
4718
4719 .
4720 \end_layout
4721
4722 \begin_layout Standard
4723 El comando siguiente generará äi cuando teclees agudo-i ('i):
4724 \end_layout
4725
4726 \begin_layout LyX-Code
4727
4728 \backslash
4729 kxmod acute i "
4730 \backslash
4731
4732 \backslash
4733 '{
4734 \backslash
4735
4736 \backslash
4737 i}"
4738 \end_layout
4739
4740 \begin_layout Labeling
4741 \labelwidthstring 00.00.0000
4742 \begin_inset Flex Code
4743 status collapsed
4744
4745 \begin_layout Plain Layout
4746 kcomb
4747 \end_layout
4748
4749 \end_inset
4750
4751  Combina dos caracteres acentos
4752 \end_layout
4753
4754 \begin_layout LyX-Code
4755
4756 \backslash
4757 kcomb 
4758 \family roman
4759 \emph on
4760 accent1 accent2 allowed
4761 \end_layout
4762
4763 \begin_layout Standard
4764 Esto es bastante esotérico.
4765  Permite combinar el efecto de 
4766 \emph on
4767 accent1
4768 \emph default
4769  y 
4770 \emph on
4771 accent2
4772 \emph default
4773  (¡en ese orden!) sobre los caracteres permitidos 
4774 \emph on
4775 allowed
4776 \emph default
4777 .
4778  Las teclas para 
4779 \emph on
4780 accent1
4781 \emph default
4782  y 
4783 \emph on
4784 accent2
4785 \emph default
4786  deben haber sido declaradas con un comando 
4787 \begin_inset Flex Code
4788 status collapsed
4789
4790 \begin_layout Plain Layout
4791
4792 \shape up
4793
4794 \backslash
4795 kmod
4796 \end_layout
4797
4798 \end_inset
4799
4800  
4801 \emph on
4802 previamente
4803 \emph default
4804  en el archivo.
4805  
4806 \end_layout
4807
4808 \begin_layout Standard
4809 Considera este ejemplo del archivo 
4810 \begin_inset Flex Code
4811 status collapsed
4812
4813 \begin_layout Plain Layout
4814
4815 \shape up
4816 greek.kmap
4817 \end_layout
4818
4819 \end_inset
4820
4821 :
4822 \end_layout
4823
4824 \begin_layout LyX-Code
4825
4826 \backslash
4827 kmod ;
4828  acute aeioyvhAEIOYVH 
4829 \backslash
4830 kmod :
4831  umlaut iyIY 
4832 \backslash
4833 kcomb acute umlaut iyIY
4834 \end_layout
4835
4836 \begin_layout Standard
4837 Esto permite pulsar 
4838 \begin_inset Flex Noun
4839 status collapsed
4840
4841 \begin_layout Plain Layout
4842
4843 \shape up
4844 ;:i
4845 \end_layout
4846
4847 \end_inset
4848
4849  y obtener el efecto de 
4850 \begin_inset Flex Code
4851 status collapsed
4852
4853 \begin_layout Plain Layout
4854
4855 \shape up
4856
4857 \backslash
4858 '{
4859 \backslash
4860 "{i}}
4861 \end_layout
4862
4863 \end_inset
4864
4865 .
4866  En este caso un retroceso cancela la última tecla muerta,
4867  así que si tecleas 
4868 \begin_inset Flex Noun
4869 status collapsed
4870
4871 \begin_layout Plain Layout
4872
4873 \shape up
4874 ;:
4875  Retroceso i
4876 \end_layout
4877
4878 \end_inset
4879
4880  obtienes 
4881 \begin_inset Flex Code
4882 status collapsed
4883
4884 \begin_layout Plain Layout
4885
4886 \shape up
4887
4888 \backslash
4889 '{i}
4890 \end_layout
4891
4892 \end_inset
4893
4894 .
4895 \end_layout
4896
4897 \begin_layout Subsection
4898 El archivo .cdef
4899 \end_layout
4900
4901 \begin_layout Standard
4902 Después de realizados el mapa 
4903 \begin_inset Flex Code
4904 status collapsed
4905
4906 \begin_layout Plain Layout
4907
4908 \shape up
4909 .kmap
4910 \end_layout
4911
4912 \end_inset
4913
4914 ,
4915  un archivo 
4916 \begin_inset Flex Code
4917 status collapsed
4918
4919 \begin_layout Plain Layout
4920
4921 \shape up
4922 .cde
4923 \shape default
4924 f
4925 \end_layout
4926
4927 \end_inset
4928
4929  traza el mapa de las cadenas que los símbolos generan para los caracteres en la tipografía actual.
4930  La distribución de \SpecialChar LyX
4931  actualmente incluye al menos los archivos 
4932 \begin_inset Flex Code
4933 status collapsed
4934
4935 \begin_layout Plain Layout
4936
4937 \shape up
4938 iso8859-1.cdef
4939 \end_layout
4940
4941 \end_inset
4942
4943  and 
4944 \begin_inset Flex Code
4945 status collapsed
4946
4947 \begin_layout Plain Layout
4948
4949 \shape up
4950 iso8859-2.cdef
4951 \end_layout
4952
4953 \end_inset
4954
4955 .
4956 \end_layout
4957
4958 \begin_layout Standard
4959 En general el archivo 
4960 \begin_inset Flex Code
4961 status collapsed
4962
4963 \begin_layout Plain Layout
4964
4965 \shape up
4966 .cdef
4967 \end_layout
4968
4969 \end_inset
4970
4971  es una secuencia de declaraciones de la forma:
4972 \end_layout
4973
4974 \begin_layout LyX-Code
4975
4976 \family roman
4977 \emph on
4978 char_index_in_set
4979 \family default
4980 \emph default
4981  
4982 \family roman
4983 \emph on
4984  string
4985 \end_layout
4986
4987 \begin_layout Standard
4988 Por ejemplo,
4989  para asociar 
4990 \begin_inset Flex Noun
4991 status collapsed
4992
4993 \begin_layout Plain Layout
4994
4995 \shape up
4996
4997 \backslash
4998 '{e}
4999 \end_layout
5000
5001 \end_inset
5002
5003  al correspondiente carácter en el conjunto iso-8859-1 (233),
5004  se usa:
5005 \end_layout
5006
5007 \begin_layout LyX-Code
5008 233 "
5009 \backslash
5010
5011 \backslash
5012 '{e}"
5013 \end_layout
5014
5015 \begin_layout Standard
5016 con 
5017 \begin_inset Flex Code
5018 status collapsed
5019
5020 \begin_layout Plain Layout
5021
5022 \backslash
5023
5024 \end_layout
5025
5026 \end_inset
5027
5028  y 
5029 \begin_inset Flex Code
5030 status collapsed
5031
5032 \begin_layout Plain Layout
5033 "
5034 \end_layout
5035
5036 \end_inset
5037
5038  escapados en 
5039 \emph on
5040 string
5041 \emph default
5042 .
5043  Anotar que el mismo carácter puede aplicarse a más de una cadena.
5044  En el archivo 
5045 \begin_inset Flex Code
5046 status collapsed
5047
5048 \begin_layout Plain Layout
5049 i
5050 \shape up
5051 so-8859-7.cdef
5052 \end_layout
5053
5054 \end_inset
5055
5056  tienes
5057 \end_layout
5058
5059 \begin_layout LyX-Code
5060 192 "
5061 \backslash
5062
5063 \backslash
5064 '{
5065 \backslash
5066
5067 \backslash
5068
5069 \backslash
5070 "{i}}"
5071 \begin_inset Newline newline
5072 \end_inset
5073
5074 192 "
5075 \backslash
5076
5077 \backslash
5078
5079 \backslash
5080 "{
5081 \backslash
5082
5083 \backslash
5084 '{i}}"
5085 \end_layout
5086
5087 \begin_layout Standard
5088 Si \SpecialChar LyX
5089  no puede encontrar una declaración para la cadena por una tecla o una secuencia con tecla muerta,
5090  intentará si aparece como un carácter acentuado y probará a dibujar un acento sobre el carácter en la pantalla.
5091 \end_layout
5092
5093 \begin_layout Subsection
5094 Teclas muertas
5095 \end_layout
5096
5097 \begin_layout Standard
5098 Hay una segunda manera de añadir soporte para caracteres internacionales mediante las denominadas teclas muertas.
5099  Una tecla muerta trabaja en combinación con una letra para generar un carácter acentuado.
5100  Aquí explicaremos como crear una sencillísima tecla muerta para ilustrar cómo funciona.
5101 \end_layout
5102
5103 \begin_layout Standard
5104 Supongamos que necesitas el carácter circunflejo 
5105 \begin_inset Quotes cld
5106 \end_inset
5107
5108 ^
5109 \begin_inset Quotes crd
5110 \end_inset
5111
5112 .
5113  Podrías asociar la tecla 
5114 \begin_inset Flex Noun
5115 status collapsed
5116
5117 \begin_layout Plain Layout
5118 ^
5119 \end_layout
5120
5121 \end_inset
5122
5123  (antes 
5124 \begin_inset Flex Noun
5125 status collapsed
5126
5127 \begin_layout Plain Layout
5128 Mayúsculas-6
5129 \end_layout
5130
5131 \end_inset
5132
5133 ) al comando \SpecialChar LyX
5134  
5135 \begin_inset Flex Code
5136 status collapsed
5137
5138 \begin_layout Plain Layout
5139 accent-circumflex
5140 \end_layout
5141
5142 \end_inset
5143
5144  en tu archivo 
5145 \begin_inset Flex Code
5146 status collapsed
5147
5148 \begin_layout Plain Layout
5149 lyxrc
5150 \end_layout
5151
5152 \end_inset
5153
5154 .
5155  Ahora,
5156  cuando pulses la tecla 
5157 \begin_inset Flex Noun
5158 status collapsed
5159
5160 \begin_layout Plain Layout
5161 ^
5162 \end_layout
5163
5164 \end_inset
5165
5166  seguida de una letra,
5167  obtendrás esa letra con circunflejo sobre ella.
5168  Por ejemplo,
5169  la secuencia 
5170 \begin_inset Quotes cld
5171 \end_inset
5172
5173
5174 \begin_inset Flex Noun
5175 status collapsed
5176
5177 \begin_layout Plain Layout
5178 ^e
5179 \end_layout
5180
5181 \end_inset
5182
5183
5184 \begin_inset Quotes crd
5185 \end_inset
5186
5187  genera 
5188 \begin_inset Quotes cld
5189 \end_inset
5190
5191 ê
5192 \begin_inset Quotes crd
5193 \end_inset
5194
5195 .
5196  Si pruebas 
5197 \begin_inset Quotes cld
5198 \end_inset
5199
5200
5201 \begin_inset Flex Code
5202 status collapsed
5203
5204 \begin_layout Plain Layout
5205 ^t
5206 \end_layout
5207
5208 \end_inset
5209
5210
5211 \begin_inset Quotes crd
5212 \end_inset
5213
5214 ,
5215  sin embargo,
5216  \SpecialChar LyX
5217  no imprime nada puesto que 
5218 \begin_inset Flex Noun
5219 status collapsed
5220
5221 \begin_layout Plain Layout
5222 t
5223 \end_layout
5224
5225 \end_inset
5226
5227  nunca lleva un circunflejo.
5228  Pulsar 
5229 \begin_inset Flex Noun
5230 status collapsed
5231
5232 \begin_layout Plain Layout
5233 Espacio
5234 \end_layout
5235
5236 \end_inset
5237
5238  tras una tecla muerta imprime el acento solo.
5239  ¡Advierte este último punto!
5240  Si asocias una tecla a una tecla muerta necesitarás reasociar el carácter de esa tecla a otra tecla.
5241  Asociar la tecla 
5242 \begin_inset Flex Noun
5243 status collapsed
5244
5245 \begin_layout Plain Layout
5246 ,
5247 \end_layout
5248
5249 \end_inset
5250
5251  a una cedilla es una mala idea,
5252  puesto que solo obtendrás cedillas en lugar de comas.
5253 \end_layout
5254
5255 \begin_layout Standard
5256 Una forma habitual de asociar teclas muertas es usar 
5257 \begin_inset Flex Noun
5258 status collapsed
5259
5260 \begin_layout Plain Layout
5261 Meta-
5262 \end_layout
5263
5264 \end_inset
5265
5266 ,
5267  
5268 \begin_inset Flex Noun
5269 status collapsed
5270
5271 \begin_layout Plain Layout
5272 Ctrl-
5273 \end_layout
5274
5275 \end_inset
5276
5277 ,
5278  y 
5279 \begin_inset Flex Noun
5280 status collapsed
5281
5282 \begin_layout Plain Layout
5283 Mayúsculas-
5284 \end_layout
5285
5286 \end_inset
5287
5288  en combinación con un acento,
5289  como 
5290 \begin_inset Quotes cld
5291 \end_inset
5292
5293
5294 \begin_inset Flex Noun
5295 status collapsed
5296
5297 \begin_layout Plain Layout
5298 ~
5299 \end_layout
5300
5301 \end_inset
5302
5303
5304 \begin_inset Quotes crd
5305 \end_inset
5306
5307  o 
5308 \begin_inset Quotes cld
5309 \end_inset
5310
5311
5312 \begin_inset Flex Noun
5313 status collapsed
5314
5315 \begin_layout Plain Layout
5316 ,
5317 \end_layout
5318
5319 \end_inset
5320
5321
5322 \begin_inset Quotes crd
5323 \end_inset
5324
5325  o 
5326 \begin_inset Quotes cld
5327 \end_inset
5328
5329
5330 \begin_inset Flex Noun
5331 status collapsed
5332
5333 \begin_layout Plain Layout
5334 ^
5335 \end_layout
5336
5337 \end_inset
5338
5339
5340 \begin_inset Quotes crd
5341 \end_inset
5342
5343 .
5344  Otra forma incluye el uso de 
5345 \begin_inset Flex Code
5346 status collapsed
5347
5348 \begin_layout Plain Layout
5349 xmodmap
5350 \end_layout
5351
5352 \end_inset
5353
5354  y 
5355 \begin_inset Flex Code
5356 status collapsed
5357
5358 \begin_layout Plain Layout
5359 xkeycaps
5360 \end_layout
5361
5362 \end_inset
5363
5364  para configurar la tecla especial 
5365 \begin_inset Flex Code
5366 status collapsed
5367
5368 \begin_layout Plain Layout
5369 Mode_Switch
5370 \end_layout
5371
5372 \end_inset
5373
5374 .
5375  Esta tecla actúa de alguna forma como 
5376 \begin_inset Flex Noun
5377 status collapsed
5378
5379 \begin_layout Plain Layout
5380 Mayúsculas
5381 \end_layout
5382
5383 \end_inset
5384
5385  y permite teclas a caracteres acentuados.
5386  También puedes transformar teclas en muertas asociándolas a algo como 
5387 \begin_inset Flex Code
5388 status collapsed
5389
5390 \begin_layout Plain Layout
5391 usldead_cedilla
5392 \end_layout
5393
5394 \end_inset
5395
5396  y después asociando esta tecla simbólica al correspondiente comando \SpecialChar LyX
5397 .
5398 \begin_inset Foot
5399 status collapsed
5400
5401 \begin_layout Plain Layout
5402 Nota de 
5403 \noun on
5404 John Weiss
5405 \noun default
5406 :
5407  Esto es exactamente lo que hago en mis archivos 
5408 \begin_inset Flex Code
5409 status collapsed
5410
5411 \begin_layout Plain Layout
5412 ~/.lyx/lyxrc
5413 \end_layout
5414
5415 \end_inset
5416
5417  y 
5418 \begin_inset Flex Code
5419 status collapsed
5420
5421 \begin_layout Plain Layout
5422 ~/.xmodmap
5423 \end_layout
5424
5425 \end_inset
5426
5427 .
5428  Tengo mi tecla 
5429 \begin_inset Flex Noun
5430 status collapsed
5431
5432 \begin_layout Plain Layout
5433 Bloq
5434 \begin_inset space ~
5435 \end_inset
5436
5437 Despl
5438 \end_layout
5439
5440 \end_inset
5441
5442  configurada como 
5443 \begin_inset Flex Code
5444 status collapsed
5445
5446 \begin_layout Plain Layout
5447 Mode_Shift
5448 \end_layout
5449
5450 \end_inset
5451
5452  y unas cuantas de estas teclas simbólicas 
5453 \begin_inset Quotes cld
5454 \end_inset
5455
5456
5457 \begin_inset Flex Code
5458 status collapsed
5459
5460 \begin_layout Plain Layout
5461 usldead_*
5462 \end_layout
5463
5464 \end_inset
5465
5466
5467 \begin_inset Quotes crd
5468 \end_inset
5469
5470  asociadas a cosas como 
5471 \begin_inset Flex Noun
5472 status collapsed
5473
5474 \begin_layout Plain Layout
5475 Bloq
5476 \begin_inset space ~
5477 \end_inset
5478
5479 Despl-^
5480 \end_layout
5481
5482 \end_inset
5483
5484  y 
5485 \begin_inset Flex Noun
5486 status collapsed
5487
5488 \begin_layout Plain Layout
5489 Bloq
5490 \begin_inset space ~
5491 \end_inset
5492
5493 Despl-~
5494 \end_layout
5495
5496 \end_inset
5497
5498 .
5499  Así es como genero mis caracteres acentuados.
5500 \end_layout
5501
5502 \end_inset
5503
5504  Puedes hacer casi cualquier cosa con la tecla 
5505 \begin_inset Flex Code
5506 status collapsed
5507
5508 \begin_layout Plain Layout
5509 Mode_Switch
5510 \end_layout
5511
5512 \end_inset
5513
5514 :
5515  una de las teclas 
5516 \begin_inset Flex Noun
5517 status collapsed
5518
5519 \begin_layout Plain Layout
5520 Ctrl-
5521 \end_layout
5522
5523 \end_inset
5524
5525 ,
5526  una tecla de función de reserva,
5527  etc.
5528  En cuanto a los comandos \SpecialChar LyX
5529  que generan acentos,
5530  consulta la entrada para 
5531 \begin_inset Flex Code
5532 status collapsed
5533
5534 \begin_layout Plain Layout
5535 accent-acute
5536 \end_layout
5537
5538 \end_inset
5539
5540  en 
5541 \emph on
5542 Reference Manual
5543 \emph default
5544 .
5545  Ahí encontrarás la lista completa.
5546 \end_layout
5547
5548 \begin_layout Subsection
5549 Guardar la configuración de idioma
5550 \end_layout
5551
5552 \begin_layout Standard
5553 Puedes editar tus preferencias para que el entorno de idioma adecuado sea automáticamente configurado al iniciar \SpecialChar LyX
5554 ,
5555  en el diálogo 
5556 \begin_inset Flex Noun
5557 status collapsed
5558
5559 \begin_layout Plain Layout
5560 Herramientas\SpecialChar menuseparator
5561 Preferencias
5562 \end_layout
5563
5564 \end_inset
5565
5566 .
5567 \end_layout
5568
5569 \begin_layout Chapter
5570 Instalación de nuevas clases de documento,
5571  formatos y plantillas
5572 \begin_inset CommandInset label
5573 LatexCommand label
5574 name "cap:Instalación-de-nuevas"
5575
5576 \end_inset
5577
5578
5579 \begin_inset Argument 1
5580 status collapsed
5581
5582 \begin_layout Plain Layout
5583 Instalación de clases,
5584  formatos \SpecialChar ldots
5585
5586 \end_layout
5587
5588 \end_inset
5589
5590
5591 \end_layout
5592
5593 \begin_layout Standard
5594 En este capítulo describimos los procedimientos para crear e instalar nuevos archivos de plantillas y formatos de \SpecialChar LyX
5595 ,
5596  así como repasar la instalación correcta de nuevas clases de documentos \SpecialChar LaTeX
5597 .
5598 \end_layout
5599
5600 \begin_layout Standard
5601 En primer lugar,
5602  permite que digamos algo sobre la relación entre \SpecialChar LyX
5603  y \SpecialChar LaTeX
5604 .
5605  Lo que hay que entender es que,
5606  en cierto sentido,
5607  \SpecialChar LyX
5608  no sabe nada de \SpecialChar LaTeX
5609 .
5610  Desde el punto de vista de \SpecialChar LyX
5611 ,
5612  \SpecialChar LaTeX
5613  solo es uno más de los varios 
5614 \begin_inset Quotes cld
5615 \end_inset
5616
5617 formatos de soporte
5618 \begin_inset Quotes crd
5619 \end_inset
5620
5621  en los que es capaz de generar salida.
5622  Otros son DocBook,
5623  texto sencillo y XHTML.
5624  \SpecialChar LaTeX
5625  es,
5626  por supuesto,
5627  un formato particularmente importante,
5628  pero muy poca de la información que \SpecialChar LyX
5629  tiene sobre \SpecialChar LaTeX
5630  está realmente contenida en el propio programa.
5631 \begin_inset Foot
5632 status collapsed
5633
5634 \begin_layout Plain Layout
5635 Algunos comandos son lo bastante complejos como para ser incluidos en el código de \SpecialChar LyX
5636 .
5637  Pero en general los desarrolladores consideran esto una mala cosa.
5638  
5639 \end_layout
5640
5641 \end_inset
5642
5643  Esa información,
5644  incluso para las clases estándar como 
5645 \family typewriter
5646 article.cls
5647 \family default
5648 ,
5649  está almacenada en 'archivos de formato (
5650 \emph on
5651 layout
5652 \emph default
5653 )'.
5654  De igual manera \SpecialChar LyX
5655  no sabe gran cosa sobre DocBook o XHTML.
5656  Esa información está en los archivos de formato.
5657 \end_layout
5658
5659 \begin_layout Standard
5660 El archivo de formato para una determinada clase de documento se puede considerar como un manual de instrucciones para traducir las estructuras de \SpecialChar LyX
5661  —
5662 párrafos y sus estilos,
5663  ciertos tipos de recuadros,
5664  etc.—
5665  a las estructuras correspondientes de \SpecialChar LaTeX
5666 ,
5667  DocBook o XHTML.
5668  Por ejemplo,
5669  casi todo lo que \SpecialChar LyX
5670  sabe sobre 
5671 \begin_inset Flex Code
5672 status collapsed
5673
5674 \begin_layout Plain Layout
5675 article.cls
5676 \end_layout
5677
5678 \end_inset
5679
5680  está contenido en el archivo 
5681 \begin_inset Flex Code
5682 status collapsed
5683
5684 \begin_layout Plain Layout
5685 article.layout
5686 \end_layout
5687
5688 \end_inset
5689
5690  y en otros archivos incluidos en este.
5691  Por esta razón,
5692  quien intente escribir archivos de formato debería empezar por estudiar los archivos existentes.
5693  Un buen sitio para empezar es 
5694 \begin_inset Flex Code
5695 status collapsed
5696
5697 \begin_layout Plain Layout
5698 stdsections.inc
5699 \end_layout
5700
5701 \end_inset
5702
5703 ,
5704  que está incluido en 
5705 \begin_inset Flex Code
5706 status collapsed
5707
5708 \begin_layout Plain Layout
5709 article.layout
5710 \end_layout
5711
5712 \end_inset
5713
5714 ,
5715  
5716 \begin_inset Flex Code
5717 status collapsed
5718
5719 \begin_layout Plain Layout
5720 book.layout
5721 \end_layout
5722
5723 \end_inset
5724
5725  y muchos otros archivos de formato para clases de documento.
5726  En este archivo se definen las secciones y demás:
5727  
5728 \begin_inset Flex Code
5729 status collapsed
5730
5731 \begin_layout Plain Layout
5732 stdsections.inc
5733 \end_layout
5734
5735 \end_inset
5736
5737  indica a \SpecialChar LyX
5738  como traducir los párrafos con estilos como Sección,
5739  Subsección,
5740  etc.,
5741  a los comandos y etiquetas correspondientes en \SpecialChar LaTeX
5742 ,
5743  DocBook y XHTML.
5744  El archivo 
5745 \begin_inset Flex Code
5746 status collapsed
5747
5748 \begin_layout Plain Layout
5749 article.layout
5750 \end_layout
5751
5752 \end_inset
5753
5754  solo incluye,
5755  básicamente,
5756  varios de estos archivos 
5757 \begin_inset Flex Code
5758 status collapsed
5759
5760 \begin_layout Plain Layout
5761 std*.inc
5762 \end_layout
5763
5764 \end_inset
5765
5766 .
5767 \end_layout
5768
5769 \begin_layout Standard
5770 Pero definir la correspondencia \SpecialChar LyX
5771 -\SpecialChar LaTeX
5772  no es lo único que hacen los archivos de formato.
5773  Su otra tarea es definir cómo aparecerán en pantalla las estructuras de \SpecialChar LyX
5774 .
5775  El hecho de que los archivos de formato tengan estas dos tareas es a veces fuente de confusión,
5776  porque son totalmente independientes.
5777  Indicar a \SpecialChar LyX
5778  cómo traducir cierto estilo de párrafo a \SpecialChar LaTeX
5779  no le dice cómo mostrarlo en pantalla;
5780  a la inversa,
5781  indicar cómo mostrar en pantalla un estilo de párrafo no tiene nada que ver con su traducción a \SpecialChar LaTeX
5782  (solo permite indicar a \SpecialChar LaTeX
5783  cómo mostrarlo).
5784  Así pues,
5785  en general,
5786  cuando defines una nueva construcción en \SpecialChar LyX
5787 ,
5788  siempre tienes que hacer dos cosas:
5789  1) indicar la traducción a \SpecialChar LaTeX
5790  y,
5791  2) indicar la presentación en pantalla.
5792 \end_layout
5793
5794 \begin_layout Standard
5795 Gran parte de lo dicho es cierto,
5796  también,
5797  en relación con otros formatos de salida,
5798  aunque XHTML es un poco diferente porque en este caso \SpecialChar LyX
5799  
5800 \emph on
5801 es capaz
5802 \emph default
5803 ,
5804  en cierta medida,
5805  de usar la información de la presentación de un párrafo en pantalla para generar la presentación (en forma de CSS) del párrafo en un navegador.
5806  Incluso en este caso,
5807  no obstante,
5808  la distinción entre lo que hace \SpecialChar LyX
5809  internamente y la forma en que las cosas se muestran externamente sigue en vigor,
5810  y ambas se pueden controlar separadamente.
5811  Véase 
5812 \begin_inset CommandInset ref
5813 LatexCommand ref
5814 reference "sec:Etiquetas-para-XHTML"
5815 nolink "false"
5816
5817 \end_inset
5818
5819  para más detalles.
5820 \end_layout
5821
5822 \begin_layout Section
5823 Instalación de nuevos archivos \SpecialChar LaTeX
5824
5825 \end_layout
5826
5827 \begin_layout Standard
5828 Algunas instalaciones quizá no incluyan un paquete \SpecialChar LaTeX
5829  que te gustaría usar en \SpecialChar LyX
5830 .
5831  Por ejemplo,
5832  podrías necesitar Foil\SpecialChar TeX
5833 ,
5834  un paquete para preparar transparencias o diapositivas para proyectores.
5835  Las modernas distribuciones de \SpecialChar LaTeX
5836  como \SpecialChar TeX
5837 Live (2008 o posterior) o MiK\SpecialChar TeX
5838  proveen una interfaz de usuario para eso.
5839  Por ejemplo,
5840  en MiK\SpecialChar TeX
5841  inicia su programa 
5842 \begin_inset Quotes cld
5843 \end_inset
5844
5845 Administrador de paquetes
5846 \begin_inset Quotes crd
5847 \end_inset
5848
5849  para obtener una lista de los disponibles.
5850  Para instalar uno,
5851  haz clic derecho sobre él o usa el botón de la herramienta de instalación.
5852 \end_layout
5853
5854 \begin_layout Standard
5855 Si tu distribución \SpecialChar LaTeX
5856  no proporciona tal 
5857 \begin_inset Quotes cld
5858 \end_inset
5859
5860 administrador de paquetes
5861 \begin_inset Quotes crd
5862 \end_inset
5863
5864 ,
5865  o si el paquete no está disponible en ella,
5866  sigue los siguientes pasos para instalarlo manualmente:
5867  
5868 \end_layout
5869
5870 \begin_layout Enumerate
5871 Consigue el paquete de 
5872 \begin_inset CommandInset href
5873 LatexCommand href
5874 name "CTAN"
5875 target "http://www.ctan.org/"
5876 literal "false"
5877
5878 \end_inset
5879
5880  o de otro sitio.
5881 \end_layout
5882
5883 \begin_layout Enumerate
5884 Si el paquete contiene un archivo con la extensión 
5885 \begin_inset Quotes cld
5886 \end_inset
5887
5888
5889 \begin_inset Flex Code
5890 status collapsed
5891
5892 \begin_layout Plain Layout
5893 .ins
5894 \end_layout
5895
5896 \end_inset
5897
5898
5899 \begin_inset Quotes crd
5900 \end_inset
5901
5902  (es el caso de Foil\SpecialChar TeX
5903 ) abre una consola,
5904  cambia a la carpeta del archivo y ejecuta el comando 
5905 \begin_inset Flex Code
5906 status collapsed
5907
5908 \begin_layout Plain Layout
5909 latex foiltex.ins
5910 \end_layout
5911
5912 \end_inset
5913
5914 .
5915  Así desempaquetamos y disponemos de todos los archivos para instalar.
5916  La mayoría de paquetes \SpecialChar LaTeX
5917  no están empaquetados y podemos saltar este paso.
5918 \end_layout
5919
5920 \begin_layout Enumerate
5921 Tienes que decidir si el paquete estará disponible para todos los usuarios o no.
5922 \end_layout
5923
5924 \begin_deeper
5925 \begin_layout Enumerate
5926 En sistemas *nix (Linux,
5927  OSX,
5928  etc.),
5929  si el paquete va estar disponible para todos los usuarios del sistema,
5930  hay que instalarlo en el árbol 'local' de \SpecialChar TeX
5931 ,
5932  de lo contrario instálalo en tu directorio \SpecialChar TeX
5933  de usuario.
5934  La ubicación de estos árboles,
5935  si no existen ya,
5936  depende del sistema.
5937  Para encontrarlos mira en el archivo 
5938 \begin_inset Flex Code
5939 status collapsed
5940
5941 \begin_layout Plain Layout
5942 texmf.cnf
5943 \end_layout
5944
5945 \end_inset
5946
5947 .
5948 \begin_inset Foot
5949 status collapsed
5950
5951 \begin_layout Plain Layout
5952 Usualmente es el directorio 
5953 \family sans
5954 $TEXMF/web2c
5955 \family default
5956 ,
5957  aunque se puede ejecutar el comando 
5958 \begin_inset Flex Code
5959 status collapsed
5960
5961 \begin_layout Plain Layout
5962 kpsewhich texmf.cnf
5963 \end_layout
5964
5965 \end_inset
5966
5967  para localizarlo.
5968 \end_layout
5969
5970 \end_inset
5971
5972  La ubicación del árbol `local' de \SpecialChar TeX
5973  está definida por la variable 
5974 \begin_inset Flex Code
5975 status collapsed
5976
5977 \begin_layout Plain Layout
5978 TEXMFLOCAL
5979 \end_layout
5980
5981 \end_inset
5982
5983 ;
5984  generalmente algo como 
5985 \family sans
5986 /usr/local/share/texmf/
5987 \family default
5988  o /usr/local/texlive/XXXX donde XXXX es el año de la distribución \SpecialChar TeX
5989 Live instalada.
5990  La ubicación del árbol `user' de \SpecialChar TeX
5991  está definida por 
5992 \begin_inset Flex Code
5993 status collapsed
5994
5995 \begin_layout Plain Layout
5996 TEXMFHOME
5997 \end_layout
5998
5999 \end_inset
6000
6001  y generalmente es 
6002 \family sans
6003 $HOME/texmf/
6004 \family default
6005  o 
6006 \begin_inset Flex Code
6007 status collapsed
6008
6009 \begin_layout Plain Layout
6010
6011 \family sans
6012 $HOME/.texliveXXXX
6013 \end_layout
6014
6015 \end_inset
6016
6017 ..
6018  (Si estas variables no están predefinidas,
6019  debes hacerlo.) Probablemente necesites permiso de administrador para crear o modificar el árbol `local',
6020  pero no para el árbol `user'.
6021 \begin_inset Newline newline
6022 \end_inset
6023
6024 En general,
6025  es recomendable instalar en el árbol `user' porque no será modificado o sobrescrito al actualizar el sistema.
6026  Además,
6027  se guardará copia de él cuando hagas copia de seguridad de tu directorio `home' (que debe ser lo habitual).
6028 \end_layout
6029
6030 \begin_layout Enumerate
6031 En Windows,
6032  para que el nuevo paquete esté disponible a todos los usuarios,
6033  cambia a la carpeta donde está instalado \SpecialChar LaTeX
6034  y en la subcarpeta 
6035 \family sans
6036 ~
6037 \backslash
6038 tex
6039 \backslash
6040 latex
6041 \family default
6042 ,
6043  (En MiK\SpecialChar TeX
6044 ,
6045  debería ser 
6046 \family sans
6047 ~:
6048 \backslash
6049 Programs
6050 \backslash
6051 MiK\SpecialChar TeX
6052
6053 \backslash
6054 tex
6055 \backslash
6056 latex
6057 \family default
6058  ) crea una nueva carpeta 
6059 \begin_inset Flex Code
6060 status collapsed
6061
6062 \begin_layout Plain Layout
6063 foiltex
6064 \end_layout
6065
6066 \end_inset
6067
6068  y copia en ella todos los archivos del paquete.
6069  Para hacer el paquete disponible solo a un usuario o si no dispones de permisos,
6070  haz lo mismo pero en el directorio de \SpecialChar LaTeX
6071 ,
6072  p.
6073 \begin_inset space \thinspace{}
6074 \end_inset
6075
6076 ej.,
6077  en MiK\SpecialChar TeX
6078
6079 \begin_inset space ~
6080 \end_inset
6081
6082 2.8 en WinXP
6083 \begin_inset Newline newline
6084 \end_inset
6085
6086
6087 \family sans
6088 ~:
6089 \backslash
6090 Documents and Settings
6091 \backslash
6092 <username>
6093 \backslash
6094 Application Data
6095 \backslash
6096
6097 \begin_inset Newline newline
6098 \end_inset
6099
6100
6101 \begin_inset Phantom HPhantom
6102 status open
6103
6104 \begin_layout Plain Layout
6105 ~:
6106 \backslash
6107
6108 \end_layout
6109
6110 \end_inset
6111
6112 MiK\SpecialChar TeX
6113
6114 \backslash
6115 2.8
6116 \backslash
6117 tex
6118 \backslash
6119 latex
6120 \family default
6121
6122 \begin_inset Newline newline
6123 \end_inset
6124
6125 en Vista sería
6126 \begin_inset Newline newline
6127 \end_inset
6128
6129
6130 \family sans
6131 ~:
6132 \backslash
6133 Users
6134 \backslash
6135 <username>
6136 \backslash
6137 AppData
6138 \backslash
6139 Roaming
6140 \backslash
6141 2.8
6142 \backslash
6143 MiK\SpecialChar TeX
6144
6145 \backslash
6146 tex
6147 \backslash
6148 latex
6149 \family default
6150  .
6151 \end_layout
6152
6153 \end_deeper
6154 \begin_layout Enumerate
6155 Ahora hay que decir a \SpecialChar LaTeX
6156  que hay archivos nuevos.
6157  Esto depende de la distribución de \SpecialChar LaTeX
6158 :
6159 \end_layout
6160
6161 \begin_deeper
6162 \begin_layout Enumerate
6163 Para \SpecialChar TeX
6164 Live ejecuta el comando 
6165 \begin_inset Flex Code
6166 status collapsed
6167
6168 \begin_layout Plain Layout
6169 texhash
6170 \end_layout
6171
6172 \end_inset
6173
6174  en una consola.
6175  Si el paquete se instaló para todos los usuarios harán falta permisos de administrador.
6176 \end_layout
6177
6178 \begin_layout Enumerate
6179 Para MiK\SpecialChar TeX
6180 ,
6181  si el paquete se instaló para todos los usuarios,
6182  inicia el programa 
6183 \begin_inset Quotes eld
6184 \end_inset
6185
6186 Settings
6187 \begin_inset space ~
6188 \end_inset
6189
6190 (Admin)
6191 \begin_inset Quotes erd
6192 \end_inset
6193
6194  y pulsa el botón 
6195 \begin_inset Quotes eld
6196 \end_inset
6197
6198 Refresh FNDB
6199 \begin_inset Quotes erd
6200 \end_inset
6201
6202 .
6203  Si no,
6204  inicia el programa 
6205 \begin_inset Quotes eld
6206 \end_inset
6207
6208 Settings
6209 \begin_inset Quotes erd
6210 \end_inset
6211
6212  y haz lo mismo.
6213 \end_layout
6214
6215 \end_deeper
6216 \begin_layout Enumerate
6217 Finalmente,
6218  hay que decir a \SpecialChar LyX
6219  que hay nuevos paquetes disponibles.
6220  Usa el menú 
6221 \begin_inset Flex Noun
6222 status collapsed
6223
6224 \begin_layout Plain Layout
6225 Herramientas\SpecialChar menuseparator
6226 Reconfigurar
6227 \end_layout
6228
6229 \end_inset
6230
6231  y reinicia \SpecialChar LyX
6232 .
6233 \end_layout
6234
6235 \begin_layout Standard
6236 Ya está instalado el paquete.
6237  En nuestro ejemplo,
6238  la clase de documento 
6239 \begin_inset Flex Code
6240 status collapsed
6241
6242 \begin_layout Plain Layout
6243 Slides
6244 \begin_inset space ~
6245 \end_inset
6246
6247 (FoilTeX)
6248 \end_layout
6249
6250 \end_inset
6251
6252  estará ahora disponible en 
6253 \begin_inset Flex Noun
6254 status collapsed
6255
6256 \begin_layout Plain Layout
6257 Documento\SpecialChar menuseparator
6258 Configuración\SpecialChar menuseparator
6259 Clases
6260 \begin_inset space ~
6261 \end_inset
6262
6263 de
6264 \begin_inset space ~
6265 \end_inset
6266
6267 documento
6268 \end_layout
6269
6270 \end_inset
6271
6272 .
6273  
6274 \end_layout
6275
6276 \begin_layout Standard
6277 Si quieres usar una clase de documento \SpecialChar LaTeX
6278  que no aparece listada en 
6279 \begin_inset Flex Noun
6280 status collapsed
6281
6282 \begin_layout Plain Layout
6283 Documento\SpecialChar menuseparator
6284 Configuración\SpecialChar menuseparator
6285 Clases
6286 \begin_inset space ~
6287 \end_inset
6288
6289 de
6290 \begin_inset space ~
6291 \end_inset
6292
6293 documento
6294 \end_layout
6295
6296 \end_inset
6297
6298 ,
6299  debes crear un archivo de formato (`layout') para ella.
6300  Este es el tema de la sección siguiente.
6301 \end_layout
6302
6303 \begin_layout Section
6304 Tipos de archivos de formato
6305 \end_layout
6306
6307 \begin_layout Standard
6308 Esta sección describe los diversos tipos de arhivos de \SpecialChar LyX
6309  que contienen información sobre el formato.
6310  Los archivos 
6311 \begin_inset Flex Code
6312 status collapsed
6313
6314 \begin_layout Plain Layout
6315 .layout
6316 \end_layout
6317
6318 \end_inset
6319
6320  describen estilos de párrafo y de carácter,
6321  y determinan cómo los debería presentar \SpecialChar LyX
6322  y cómo deberían traducirse a \SpecialChar LaTeX
6323 ,
6324  DocBook,
6325  XHTML o cualquier otro formato de salida que se vaya a usar.
6326  
6327 \end_layout
6328
6329 \begin_layout Standard
6330 Intentaremos aquí dar una minuciosa descripción del proceso;
6331  sin embargo,
6332  hay tantos tipos diferentes de documentos soportados por clases de \SpecialChar LaTeX
6333  que no podemos aspirar a tratar todas las distintas posibilidades o problemas que puedas encontrar.
6334  La lista de usuarios de \SpecialChar LyX
6335  es frecuentada por gente con mucha experiencia en el diseño de formatos deseosa de compartir sus conocimientos.
6336 \end_layout
6337
6338 \begin_layout Standard
6339 Cuando te pongas a escribir un nuevo formato,
6340  es de gran ayuda echar un vistazo a los formatos de ejemplo suministrados con \SpecialChar LyX
6341 .
6342  Si escribes un `layout' de \SpecialChar LyX
6343  para una clase de documento \SpecialChar LaTeX
6344  o un módulo que podría ser útil también a otros,
6345  no dudes en compartir tu labor enviándola a 
6346 \begin_inset CommandInset href
6347 LatexCommand href
6348 name "sección 'Layouts' en wiki LyX"
6349 target "https://wiki.lyx.org/Layouts/Layouts"
6350 literal "false"
6351
6352 \end_inset
6353
6354  o incluso a la lista de desarrolladores de \SpecialChar LyX
6355  para poderlo incluir en la distribución.
6356 \begin_inset Foot
6357 status collapsed
6358
6359 \begin_layout Plain Layout
6360 Hay que advertir que \SpecialChar LyX
6361  se acoge a la licencia GPL,
6362  por tanto cualquier material aportado debe tener la misma licencia.
6363 \end_layout
6364
6365 \end_inset
6366
6367
6368 \end_layout
6369
6370 \begin_layout Subsection
6371 Módulos de formato
6372 \begin_inset CommandInset label
6373 LatexCommand label
6374 name "subsec:Módulos-de-formato"
6375
6376 \end_inset
6377
6378
6379 \end_layout
6380
6381 \begin_layout Standard
6382 Hemos hablado hasta ahora de `archivos de formato'.
6383  Pero hay distintos tipos de archivos con información sobre formatos.
6384  Estrictamente,
6385  los archivos de formato tienen la extensión 
6386 \begin_inset Flex Code
6387 status collapsed
6388
6389 \begin_layout Plain Layout
6390 .layout
6391 \end_layout
6392
6393 \end_inset
6394
6395  y proporcionan a \SpecialChar LyX
6396  información sobre las clases de documento.
6397  Sin embargo,
6398  a partir de \SpecialChar LyX
6399  1.6,
6400  esta información puede proporcionarse también en 
6401 \emph on
6402 módulos
6403 \emph default
6404 ,
6405  que tienen la extensión 
6406 \begin_inset Flex Code
6407 status collapsed
6408
6409 \begin_layout Plain Layout
6410 .module
6411 \end_layout
6412
6413 \end_inset
6414
6415 .
6416  Los módulos son a los paquetes \SpecialChar LaTeX
6417  lo que los formatos a las clases \SpecialChar LaTeX
6418 ,
6419  y algunos módulos —
6420 como el módulo Notas finales—
6421  dan soporte específico a un paquete determinado —
6422 en este caso 
6423 \begin_inset Flex Code
6424 status collapsed
6425
6426 \begin_layout Plain Layout
6427 endnotes
6428 \end_layout
6429
6430 \end_inset
6431
6432
6433 .
6434  En cierto sentido,
6435  los módulos de formato son similares a los `archivos incluidos'
6436 \begin_inset Foot
6437 status collapsed
6438
6439 \begin_layout Plain Layout
6440 Estos pueden tener cualquier extensión pero,
6441  por convenio,
6442  se usa la extensión 
6443 \begin_inset Flex Code
6444 status collapsed
6445
6446 \begin_layout Plain Layout
6447 .inc
6448 \end_layout
6449
6450 \end_inset
6451
6452 .
6453 \end_layout
6454
6455 \end_inset
6456
6457  —
6458 como 
6459 \begin_inset Flex Code
6460 status collapsed
6461
6462 \begin_layout Plain Layout
6463 stdsections.inc
6464 \end_layout
6465
6466 \end_inset
6467
6468
6469 ,
6470  ya que,
6471  como estos,
6472  los módulos no son específicos para una clase de documento dada,
6473  sino que se pueden usar con muchos formatos diferentes.
6474  La diferencia es que el uso de un archivo incluido con 
6475 \begin_inset Flex Code
6476 status collapsed
6477
6478 \begin_layout Plain Layout
6479 article.cls
6480 \end_layout
6481
6482 \end_inset
6483
6484  requiere editar dicho archivo,
6485  mientras que los módulos se seleccionan en el diálogo 
6486 \begin_inset Flex Noun
6487 status collapsed
6488
6489 \begin_layout Plain Layout
6490 Documento\SpecialChar menuseparator
6491 Configuración
6492 \end_layout
6493
6494 \end_inset
6495
6496 .
6497  
6498 \end_layout
6499
6500 \begin_layout Standard
6501 La construcción de módulos es la forma más fácil de iniciarse en la edición del formato,
6502  puesto que puede ser tan sencillo como añadir un nuevo estilo de párrafo o un recuadro flexible.
6503  No obstante,
6504  los módulos pueden,
6505  en principio,
6506  contener cualquier cosa que pueda contener un archivo `layout'.
6507 \end_layout
6508
6509 \begin_layout Standard
6510 Después de crear un módulo nuevo y copiarlo en la carpeta 
6511 \begin_inset Flex Code
6512 status collapsed
6513
6514 \begin_layout Plain Layout
6515 layouts/
6516 \end_layout
6517
6518 \end_inset
6519
6520 ,
6521  tendrás que reconfigurar \SpecialChar LyX
6522  y reiniciar después para que el módulo aparezca en el menú.
6523  Sin embargo,
6524  los cambios que hagas al módulo se verán inmediatamente si abres 
6525 \begin_inset Flex Noun
6526 status collapsed
6527
6528 \begin_layout Plain Layout
6529 Documento\SpecialChar menuseparator
6530 Configuración
6531 \end_layout
6532
6533 \end_inset
6534
6535 ,
6536  seleccionas lo que sea y después pulsas 
6537 \begin_inset Quotes cld
6538 \end_inset
6539
6540 OK
6541 \begin_inset Quotes crd
6542 \end_inset
6543
6544 .
6545  
6546 \emph on
6547 Es muy recomendable guardar el trabajo antes de hacer eso.
6548
6549 \emph default
6550  De hecho,
6551  
6552 \emph on
6553 es muy recomendable no intentar editar los módulos mientras se está trabajando simultáneamente en un documento
6554 \emph default
6555 .
6556  Aunque los desarrolladores,
6557  por supuesto,
6558  se esfuerzan en mantener la estabilidad de \SpecialChar LyX
6559  en estas situaciones,
6560  errores sintácticos y similares en el archivo del módulo podrían causar extraños comportamientos.
6561 \end_layout
6562
6563 \begin_layout Subsubsection
6564 Formato local
6565 \end_layout
6566
6567 \begin_layout Standard
6568 Los módulos son a \SpecialChar LyX
6569  lo que los paquetes a \SpecialChar LaTeX
6570 .
6571  Sin embargo,
6572  a veces puede suceder que necesites un recuadro específico o un estilo de carácter solo para un documento,
6573  y escribir un módulo que estará disponible también para otros documentos tiene poco sentido.
6574  En estos casos,
6575  lo que necesitas es el 
6576 \begin_inset Quotes cld
6577 \end_inset
6578
6579 Formato local
6580 \begin_inset Quotes crd
6581 \end_inset
6582
6583  de \SpecialChar LyX
6584 .
6585 \end_layout
6586
6587 \begin_layout Standard
6588 Se encuentra en 
6589 \family sans
6590 Documento\SpecialChar menuseparator
6591 Configuración\SpecialChar menuseparator
6592 Formato local
6593 \family default
6594 .
6595  El gran cuadro de texto permite introducir todo lo que podría incluirse en un archivo de formato o en un módulo.
6596  De hecho,
6597  el formato local de un documento se puede considerar como un módulo que le pertenece solo a él.
6598  Por tanto,
6599  en particular,
6600  hay que introducir una etiqueta 
6601 \begin_inset Flex Code
6602 status collapsed
6603
6604 \begin_layout Plain Layout
6605 Format
6606 \end_layout
6607
6608 \end_inset
6609
6610 .
6611  Cualquier formato es aceptable,
6612  pero debería usarse normalmente el actual formato.
6613  (En \SpecialChar LyX
6614  
6615 \begin_inset Info
6616 type  "lyxinfo"
6617 arg   "version"
6618 \end_inset
6619
6620  el formato actual es 
6621 \begin_inset Info
6622 type  "lyxinfo"
6623 arg   "layoutformat"
6624 \end_inset
6625
6626 ).
6627 \end_layout
6628
6629 \begin_layout Standard
6630 Una vez introducido algo en el panel 
6631 \begin_inset Flex Code
6632 status collapsed
6633
6634 \begin_layout Plain Layout
6635 Local Layout
6636 \end_layout
6637
6638 \end_inset
6639
6640 ,
6641  \SpecialChar LyX
6642  habilitará el botón 
6643 \begin_inset Quotes cld
6644 \end_inset
6645
6646 Validar
6647 \begin_inset Quotes crd
6648 \end_inset
6649
6650  de debajo.
6651  Pulsando ese botón \SpecialChar LyX
6652  determinará si lo introducido es información válida para el formato elegido.
6653  \SpecialChar LyX
6654  informará del resultado pero,
6655  desafortunadamente,
6656  no indicará qué errores pudiera haber habido.
6657  Sin embargo,
6658  si \SpecialChar LyX
6659  se ha arrancado en una terminal se verán ahí los errores.
6660  El formato local no se podrá guardar hasta que se haya introducido algo válido.
6661 \end_layout
6662
6663 \begin_layout Standard
6664 Las advertencias al final de la sección anterior se aplican también aquí.
6665  Es mejor no enredar con formato local mientras se está trabajando,
6666  especialmente si no se ha guardado el documento.
6667  Dicho esto,
6668  usar formato local en un documento de prueba puede ser una forma muy conveniente de probar ideas de formato,
6669  o incluso de empezar a desarrollar un módulo.
6670 \end_layout
6671
6672 \begin_layout Subsection
6673 Formato para archivos 
6674 \begin_inset Flex Noun
6675 status collapsed
6676
6677 \begin_layout Plain Layout
6678 .sty
6679 \end_layout
6680
6681 \end_inset
6682
6683
6684 \end_layout
6685
6686 \begin_layout Standard
6687 Probablemente te vas a encontrar con dos situaciones a la hora de querer soportar una nueva clase de documento \SpecialChar LaTeX
6688 ,
6689  según se trate de archivos de estilo (
6690 \begin_inset Flex Code
6691 status collapsed
6692
6693 \begin_layout Plain Layout
6694 .sty
6695 \end_layout
6696
6697 \end_inset
6698
6699 ) o de archivos de clases \SpecialChar LaTeX2e
6700  (
6701 \begin_inset Flex Code
6702 status collapsed
6703
6704 \begin_layout Plain Layout
6705 .cls
6706 \end_layout
6707
6708 \end_inset
6709
6710 ).
6711  Dar soporte a un nuevo estilo es bastante fácil.
6712  Dar soporte a una nueva clase es un poco más difícil.
6713  Trataremos el primer caso en esta sección y el otro en la siguiente.
6714  Lo mismo cabe decir,
6715  por supuesto,
6716  para el soporte de un nuevo DocBook DTD.
6717 \end_layout
6718
6719 \begin_layout Standard
6720 El caso más sencillo es aquel en el que la nueva clase de documento se suministra como archivo de estilo que se usará conjuntamente con una clase ya soportada.
6721  Para nuestro ejemplo supondremos que el archivo de estilo se llama 
6722 \begin_inset Flex Noun
6723 status collapsed
6724
6725 \begin_layout Plain Layout
6726 myclass.sty
6727 \end_layout
6728
6729 \end_inset
6730
6731  y que se usará conjuntamente con 
6732 \begin_inset Flex Noun
6733 status collapsed
6734
6735 \begin_layout Plain Layout
6736 report.cls
6737 \end_layout
6738
6739 \end_inset
6740
6741 ,
6742  que es una clase estándar.
6743 \end_layout
6744
6745 \begin_layout Standard
6746 Empieza por copiar el archivo `layout' existente en tu directorio local:
6747 \begin_inset Foot
6748 status collapsed
6749
6750 \begin_layout Plain Layout
6751 Evidentemente,
6752  cuál es tu directorio local variará según la plataforma,
6753  y además \SpecialChar LyX
6754  permite especificarlo al inicio usando la opción 
6755 \begin_inset Flex Code
6756 status collapsed
6757
6758 \begin_layout Plain Layout
6759 -userdir
6760 \end_layout
6761
6762 \end_inset
6763
6764 .
6765 \end_layout
6766
6767 \end_inset
6768
6769
6770 \end_layout
6771
6772 \begin_layout LyX-Code
6773 cp report.layout ~/.lyx/layouts/myclass.layout
6774 \end_layout
6775
6776 \begin_layout Standard
6777 Después edita 
6778 \begin_inset Flex Code
6779 status collapsed
6780
6781 \begin_layout Plain Layout
6782 myclass.layout
6783 \end_layout
6784
6785 \end_inset
6786
6787  y cambia la línea:
6788  
6789 \end_layout
6790
6791 \begin_layout LyX-Code
6792
6793 \backslash
6794 DeclareLaTeXClass{report}
6795 \end_layout
6796
6797 \begin_layout Standard
6798 por la línea
6799 \end_layout
6800
6801 \begin_layout LyX-Code
6802
6803 \backslash
6804 DeclareLaTeXClass[report,
6805  myclass.sty]{report (myclass)}
6806 \end_layout
6807
6808 \begin_layout Standard
6809 Después añade:
6810 \end_layout
6811
6812 \begin_layout LyX-Code
6813 Preamble 
6814 \begin_inset Newline newline
6815 \end_inset
6816
6817     
6818 \backslash
6819 usepackage{myclass}
6820 \begin_inset Newline newline
6821 \end_inset
6822
6823 EndPreamble
6824 \end_layout
6825
6826 \begin_layout Standard
6827 cerca del principio del archivo.
6828 \end_layout
6829
6830 \begin_layout Standard
6831 Inicia \SpecialChar LyX
6832  y selecciona 
6833 \begin_inset Flex Noun
6834 status collapsed
6835
6836 \begin_layout Plain Layout
6837 Herramientas\SpecialChar menuseparator
6838 Reconfigurar
6839 \end_layout
6840
6841 \end_inset
6842
6843 .
6844  Después reinicia \SpecialChar LyX
6845  y haz una prueba con un documento nuevo.
6846  En el diálogo 
6847 \begin_inset Flex Noun
6848 status collapsed
6849
6850 \begin_layout Plain Layout
6851 Documento\SpecialChar menuseparator
6852 Configuración
6853 \end_layout
6854
6855 \end_inset
6856
6857  deberías ver 
6858 \begin_inset Quotes cld
6859 \end_inset
6860
6861
6862 \begin_inset Flex Noun
6863 status collapsed
6864
6865 \begin_layout Plain Layout
6866 report (myclass)
6867 \end_layout
6868
6869 \end_inset
6870
6871
6872 \begin_inset Quotes crd
6873 \end_inset
6874
6875  en la lista de clases de documento.
6876  Es probable que algunos de los comandos de secciones y demás en tu nueva clase funcionen de distinta manera a como lo hacen en la clase estándar —
6877
6878 \begin_inset Flex Code
6879 status collapsed
6880
6881 \begin_layout Plain Layout
6882 report
6883 \end_layout
6884
6885 \end_inset
6886
6887  en este ejemplo—
6888 ,
6889  de modo que si quieres,
6890  ahora puedes enredar un rato con los ajustes de las distintas secciones.
6891  La información del formato de las secciones se encuentra en 
6892 \begin_inset Flex Code
6893 status collapsed
6894
6895 \begin_layout Plain Layout
6896 stdsections.inc
6897 \end_layout
6898
6899 \end_inset
6900
6901 ,
6902  pero no necesitas copiar ni cambiar este archivo.
6903  Simplemente añade tus cambios a tu archivo `layout' después de la línea 
6904 \begin_inset Flex Code
6905 status collapsed
6906
6907 \begin_layout Plain Layout
6908 Input stdclass.inc
6909 \end_layout
6910
6911 \end_inset
6912
6913 ,
6914  que incluye 
6915 \begin_inset Flex Code
6916 status collapsed
6917
6918 \begin_layout Plain Layout
6919 stdsections.inc
6920 \end_layout
6921
6922 \end_inset
6923
6924 .
6925  Por ejemplo,
6926  podrías añadir estas líneas:
6927 \end_layout
6928
6929 \begin_layout LyX-Code
6930 Style Chapter
6931 \end_layout
6932
6933 \begin_layout LyX-Code
6934     Font
6935 \end_layout
6936
6937 \begin_layout LyX-Code
6938         Family Sans
6939 \end_layout
6940
6941 \begin_layout LyX-Code
6942     EndFont
6943 \end_layout
6944
6945 \begin_layout LyX-Code
6946 End
6947 \end_layout
6948
6949 \begin_layout Standard
6950 para cambiar la tipografía de los encabezados de capítulo a sans-serif.
6951  Esto sobrescribirá (o,
6952  en este caso,
6953  añadirá) la declaración para el estilo Capítulo.
6954  
6955 \end_layout
6956
6957 \begin_layout Standard
6958 Tu nuevo paquete puede proporcionar además comandos o entornos no presentes en la clase base.
6959  En este caso,
6960  los añadirás al archivo `layout'.
6961  Véase sección
6962 \begin_inset space ~
6963 \end_inset
6964
6965
6966 \begin_inset CommandInset ref
6967 LatexCommand ref
6968 reference "sec:Estructura-del-archivo-layout"
6969 nolink "false"
6970
6971 \end_inset
6972
6973  para información sobre cómo hacerlo.
6974 \end_layout
6975
6976 \begin_layout Standard
6977 Si 
6978 \begin_inset Flex Noun
6979 status collapsed
6980
6981 \begin_layout Plain Layout
6982 myclass.sty
6983 \end_layout
6984
6985 \end_inset
6986
6987  se puede usar con diferentes clases de documento,
6988  e incluso si no es así,
6989  lo más sencillo sería escribir un módulo que puedes cargar con la clase base.
6990  El módulo más simple posible podría ser:
6991 \end_layout
6992
6993 \begin_layout LyX-Code
6994 #
6995 \backslash
6996 DeclareLyXModule{My Package} 
6997 \end_layout
6998
6999 \begin_layout LyX-Code
7000 #DescriptionBegin 
7001 \end_layout
7002
7003 \begin_layout LyX-Code
7004 #Support for mypkg.sty.
7005 \end_layout
7006
7007 \begin_layout LyX-Code
7008 #DescriptionEnd 
7009 \begin_inset Newline newline
7010 \end_inset
7011
7012
7013 \end_layout
7014
7015 \begin_layout LyX-Code
7016 Format 
7017 \begin_inset Info
7018 type  "lyxinfo"
7019 arg   "layoutformat"
7020 \end_inset
7021
7022
7023 \begin_inset Newline newline
7024 \end_inset
7025
7026
7027 \end_layout
7028
7029 \begin_layout LyX-Code
7030 Preamble
7031 \begin_inset Newline newline
7032 \end_inset
7033
7034     
7035 \backslash
7036 usepackage{mypkg}
7037 \begin_inset Newline newline
7038 \end_inset
7039
7040 EndPreamble
7041 \end_layout
7042
7043 \begin_layout Standard
7044 Un módulo más complejo podría modificar el comportamiento de alguna estructura ya existente o definir algunas nuevas.
7045  De nuevo te remitimos a sección
7046 \begin_inset space ~
7047 \end_inset
7048
7049
7050 \begin_inset CommandInset ref
7051 LatexCommand ref
7052 reference "sec:Estructura-del-archivo-layout"
7053 nolink "false"
7054
7055 \end_inset
7056
7057  para los detalles.
7058 \end_layout
7059
7060 \begin_layout Subsection
7061 Formato para archivos 
7062 \begin_inset Flex Noun
7063 status collapsed
7064
7065 \begin_layout Plain Layout
7066 .cls
7067 \end_layout
7068
7069 \end_inset
7070
7071
7072 \end_layout
7073
7074 \begin_layout Standard
7075 En este caso hay dos opciones.
7076  Una,
7077  que el archivo de clase esté él mismo basado en una clase de documento existente.
7078  Por ejemplo,
7079  muchas clases de tesis están basadas en 
7080 \begin_inset Flex Noun
7081 status collapsed
7082
7083 \begin_layout Plain Layout
7084 book.cls
7085 \end_layout
7086
7087 \end_inset
7088
7089 .
7090  Para ver si el tuyo lo está,
7091  busca una línea parecida a
7092 \end_layout
7093
7094 \begin_layout LyX-Code
7095
7096 \backslash
7097 LoadClass{book}
7098 \end_layout
7099
7100 \begin_layout Standard
7101 en el archivo.
7102  Si está,
7103  entonces puedes proceder en gran parte como en la sección anterior,
7104  aunque la línea Declare\SpecialChar LaTeX
7105 Class será diferente.
7106  Si tu nueva clase es tesis y está basada en book,
7107  la línea debería poner:
7108 \begin_inset Foot
7109 status collapsed
7110
7111 \begin_layout Plain Layout
7112 Y será mucho más fácil si guardas el archivo como 
7113 \begin_inset Flex Code
7114 status collapsed
7115
7116 \begin_layout Plain Layout
7117 thesis.layout
7118 \end_layout
7119
7120 \end_inset
7121
7122 :
7123  \SpecialChar LyX
7124  supone que la clase de documento tiene el mismo nombre que el archivo de formato.
7125  
7126 \end_layout
7127
7128 \end_inset
7129
7130
7131 \end_layout
7132
7133 \begin_layout LyX-Code
7134
7135 \backslash
7136 DeclareLaTeXClass[thesis,book]{thesis}
7137 \end_layout
7138
7139 \begin_layout Standard
7140 Si,
7141  por el contrario,
7142  la nueva clase no está basada en una ya existente,
7143  probablemente tendrás que ir pensando en tu propio formato.
7144  Recomendamos firmemente copiar un archivo de formato existente que use una clase de \SpecialChar LaTeX
7145  parecida y modificarlo,
7146  si es posible.
7147  O al menos,
7148  usa un archivo existente como punto de partida para ver qué items son los que te deben preocupar.
7149  Los detalles se discuten a continuación.
7150 \end_layout
7151
7152 \begin_layout Subsection
7153 Creación de plantillas
7154 \begin_inset CommandInset label
7155 LatexCommand label
7156 name "subsec:Creación-de-plantillas"
7157
7158 \end_inset
7159
7160
7161 \end_layout
7162
7163 \begin_layout Standard
7164 Una vez escrito un archivo de formato para una clase nueva de documento,
7165  podrías pensar en escribir además una 
7166 \emph on
7167 plantilla
7168 \emph default
7169  para ella.
7170  Una plantilla funciona como una especie de tutorial para tu formato,
7171  mostrando cómo podría usarse,
7172  aunque sea con contenido irrelevante.
7173  Naturalmente,
7174  puedes echar un vistazo a las plantillas incluidas en \SpecialChar LyX
7175  para obtener ideas.
7176 \end_layout
7177
7178 \begin_layout Standard
7179 Las plantillas se crean exactamente igual que un documento normal:
7180  usando \SpecialChar LyX
7181 .
7182  La única diferencia es que los documentos corrientes tienen todos los ajustes posibles,
7183  incluso el esquema de tipografías y el tamaño del papel.
7184  Generalmente,
7185  un usuario no desea que una plantilla sobrescriba sus ajustes preferidos para dichos parámetros.
7186  Por esta razón,
7187  el diseñador de una plantilla debería quitar comandos como 
7188 \begin_inset Flex Code
7189 status collapsed
7190
7191 \begin_layout Plain Layout
7192
7193 \backslash
7194 font_roman
7195 \end_layout
7196
7197 \end_inset
7198
7199  o 
7200 \begin_inset Flex Code
7201 status collapsed
7202
7203 \begin_layout Plain Layout
7204
7205 \backslash
7206 papersize
7207 \end_layout
7208
7209 \end_inset
7210
7211  de los archivos de plantillas de \SpecialChar LyX
7212 .
7213  Esto se puede hacer con cualquier editor de texto sencillo,
7214  por ejemplo 
7215 \begin_inset Flex Code
7216 status collapsed
7217
7218 \begin_layout Plain Layout
7219 vi
7220 \end_layout
7221
7222 \end_inset
7223
7224  o 
7225 \begin_inset Flex Code
7226 status collapsed
7227
7228 \begin_layout Plain Layout
7229 notepad
7230 \end_layout
7231
7232 \end_inset
7233
7234 .
7235  
7236 \end_layout
7237
7238 \begin_layout Standard
7239 Los archivos editados de plantillas que has creado se ubican en 
7240 \begin_inset Flex Code
7241 status collapsed
7242
7243 \begin_layout Plain Layout
7244 UserDir/templates/
7245 \end_layout
7246
7247 \end_inset
7248
7249 ,
7250  copia los que uses del directorio global de plantillas en 
7251 \begin_inset Flex Code
7252 status collapsed
7253
7254 \begin_layout Plain Layout
7255 \SpecialChar LyX
7256 Dir/templates/
7257 \end_layout
7258
7259 \end_inset
7260
7261  al mismo sitio y redefine la ruta a las plantillas en el diálogo 
7262 \begin_inset Flex Noun
7263 status collapsed
7264
7265 \begin_layout Plain Layout
7266 Herramientas\SpecialChar menuseparator
7267 Preferencias\SpecialChar menuseparator
7268 Rutas
7269 \end_layout
7270
7271 \end_inset
7272
7273 .
7274 \end_layout
7275
7276 \begin_layout Standard
7277 De paso advertiremos que hay una plantilla,
7278  
7279 \begin_inset Flex Code
7280 status collapsed
7281
7282 \begin_layout Plain Layout
7283 defaults.lyx
7284 \end_layout
7285
7286 \end_inset
7287
7288 ,
7289  que tiene un papel especial:
7290  esta plantilla se carga cada vez que abres un documento nuevo con 
7291 \begin_inset Flex Noun
7292 status collapsed
7293
7294 \begin_layout Plain Layout
7295 Archivo\SpecialChar menuseparator
7296 Nuevo
7297 \end_layout
7298
7299 \end_inset
7300
7301 ,
7302  con el fin de proporcionar ajustes predeterminados por omisión.
7303  Para (re)crear esta plantilla desde dentro de \SpecialChar LyX
7304 ,
7305  lo que debes hacer es abrir un documento,
7306  establecer los ajustes deseados y usar el botón 
7307 \begin_inset Flex Noun
7308 status collapsed
7309
7310 \begin_layout Plain Layout
7311 Guardar como predeterminados
7312 \end_layout
7313
7314 \end_inset
7315
7316 .
7317 \end_layout
7318
7319 \begin_layout Subsection
7320 Actualización de antiguos archivos de formato
7321 \end_layout
7322
7323 \begin_layout Standard
7324 El formato de los archivos de formato cambia con cada nueva versión de \SpecialChar LyX
7325 ,
7326  de modo que los antiguos archivos de formato deben ser convertidos.
7327  Si \SpecialChar LyX
7328  lee un archivo de formato con formato antiguo lanzará la herramienta de conversión 
7329 \begin_inset Flex Code
7330 status collapsed
7331
7332 \begin_layout Plain Layout
7333 layout2layout.py
7334 \end_layout
7335
7336 \end_inset
7337
7338 ,
7339  que lo convierte a un archivo temporal con el formato actual.
7340  El archivo original se deja sin tocar.
7341  Si lo usas a menudo y lo quieres convertir permanentemente para evitar que \SpecialChar LyX
7342  tenga que hacerlo cada vez,
7343  ejecuta el convertidor a mano:
7344 \end_layout
7345
7346 \begin_layout Enumerate
7347 renombra el archivo 
7348 \begin_inset Flex Code
7349 status collapsed
7350
7351 \begin_layout Plain Layout
7352 myclass.layout
7353 \end_layout
7354
7355 \end_inset
7356
7357  a 
7358 \begin_inset Flex Code
7359 status collapsed
7360
7361 \begin_layout Plain Layout
7362 myclass.old
7363 \end_layout
7364
7365 \end_inset
7366
7367
7368 \end_layout
7369
7370 \begin_layout Enumerate
7371 ejecuta el comando
7372 \begin_inset Newline newline
7373 \end_inset
7374
7375
7376 \begin_inset Flex Code
7377 status collapsed
7378
7379 \begin_layout Plain Layout
7380 python \SpecialChar LyX
7381 Dir/scripts/layout2layout.py myclass.old myclass.layout
7382 \end_layout
7383
7384 \end_inset
7385
7386
7387 \begin_inset Newline newline
7388 \end_inset
7389
7390 donde 
7391 \begin_inset Flex Code
7392 status collapsed
7393
7394 \begin_layout Plain Layout
7395 \SpecialChar LyX
7396 Dir
7397 \end_layout
7398
7399 \end_inset
7400
7401  es el nombre de tu directorio \SpecialChar LyX
7402  en el sistema.
7403 \end_layout
7404
7405 \begin_layout Standard
7406 La conversión manual no puede manejar archivos incluidos,
7407  así que estos tendrán que convertirse separadamente.
7408 \end_layout
7409
7410 \begin_layout Subsection
7411
7412 \lang english
7413 \begin_inset CommandInset label
7414 LatexCommand label
7415 name "subsec:Cite-Engine-Files"
7416
7417 \end_inset
7418
7419 Cite engine files
7420 \end_layout
7421
7422 \begin_layout Standard
7423
7424 \lang english
7425 A specific form of layout files are the so-called 
7426 \begin_inset Flex Code
7427 status collapsed
7428
7429 \begin_layout Plain Layout
7430
7431 \lang english
7432 *.citeengine
7433 \end_layout
7434
7435 \end_inset
7436
7437  files that are located in the 
7438 \begin_inset Flex Code
7439 status collapsed
7440
7441 \begin_layout Plain Layout
7442
7443 \lang english
7444 citeengines/
7445 \end_layout
7446
7447 \end_inset
7448
7449  sub-directory.
7450  Their purpose is to define the specifics of \SpecialChar LaTeX
7451  packages aimed at bibliography generation,
7452  such as 
7453 \family sans
7454 natbib
7455 \family default
7456 ,
7457
7458 \family sans
7459  jurabib
7460 \family default
7461  or 
7462 \family sans
7463 biblatex
7464 \family default
7465 ,
7466  but also the way how normal Bib\SpecialChar TeX
7467  citations (without additional packages) are handled in \SpecialChar LyX
7468  is defined in such a file.
7469  
7470 \end_layout
7471
7472 \begin_layout Standard
7473
7474 \lang english
7475 More specifically,
7476  it is defined which packages \SpecialChar LyX
7477  needs to load,
7478  which citation commands are available,
7479  how these are to be displayed in \SpecialChar LyX
7480  (in the workarea,
7481  the dialogs,
7482  the context menus) as well as in the XHTML and plain text output.
7483  Furthermore,
7484  the files specify available style variants (author-year,
7485  numerical,
7486  etc.) and their specifics.
7487  The cite engine files are also used to generate the options that are available in 
7488 \family sans
7489 Document\SpecialChar menuseparator
7490 Settings\SpecialChar menuseparator
7491 Bibliography\SpecialChar menuseparator
7492 Style engine
7493 \family default
7494 .
7495 \end_layout
7496
7497 \begin_layout Standard
7498
7499 \lang english
7500 Even though a cite engine file is essentially a normal layout file that could theoretically include any layout information,
7501  it usually primarily includes some specific parameters such as 
7502 \begin_inset Flex Code
7503 status collapsed
7504
7505 \begin_layout Plain Layout
7506
7507 \lang english
7508 MaxCiteNames
7509 \end_layout
7510
7511 \end_inset
7512
7513 ,
7514  
7515 \begin_inset Flex Code
7516 status collapsed
7517
7518 \begin_layout Plain Layout
7519
7520 \lang english
7521 CiteFramework
7522 \end_layout
7523
7524 \end_inset
7525
7526 ,
7527  
7528 \begin_inset Flex Code
7529 status collapsed
7530
7531 \begin_layout Plain Layout
7532
7533 \lang english
7534 CiteEngine
7535 \end_layout
7536
7537 \end_inset
7538
7539  and 
7540 \begin_inset Flex Code
7541 status collapsed
7542
7543 \begin_layout Plain Layout
7544
7545 \lang english
7546 CiteFormat
7547 \end_layout
7548
7549 \end_inset
7550
7551  blocks.
7552  The syntax of the latter two is described in
7553 \lang spanish
7554  
7555 \begin_inset CommandInset ref
7556 LatexCommand ref
7557 reference "subsec:Citation-engine-description"
7558 plural "false"
7559 caps "false"
7560 noprefix "false"
7561 nolink "false"
7562
7563 \end_inset
7564
7565  y 
7566 \begin_inset CommandInset ref
7567 LatexCommand ref
7568 reference "subsec:Descripción-formato-cita"
7569 nolink "false"
7570
7571 \end_inset
7572
7573 ,
7574  
7575 \lang english
7576 as well as in the files themselves.
7577 \end_layout
7578
7579 \begin_layout Section
7580 Estructura del archivo `layout'
7581 \begin_inset CommandInset label
7582 LatexCommand label
7583 name "sec:Estructura-del-archivo-layout"
7584
7585 \end_inset
7586
7587
7588 \end_layout
7589
7590 \begin_layout Standard
7591 Ha llegado por fin el momento de ponerte manos a la obra y crear o editar tu propio archivo de formato;
7592  las siguientes secciones describen aquello a lo que te vas a enfrentar.
7593  Nuestro consejo es ir despacito,
7594  probando y guardando a menudo.
7595  En realidad no es para tanto,
7596  pero la multitud de opciones puede llegar a abrumarte si intentas hacer muchas cosas a la vez.
7597  Resulta más sencillo usar formatos existentes de \SpecialChar LyX
7598  como ejemplo o referencia y modificarlos según tus necesidades.
7599 \end_layout
7600
7601 \begin_layout Standard
7602 Todos los rótulos o etiquetas en los archivos de formato son insensibles a las mayúsculas;
7603  esto significa que 
7604 \begin_inset Flex Code
7605 status collapsed
7606
7607 \begin_layout Plain Layout
7608 Style
7609 \end_layout
7610
7611 \end_inset
7612
7613 ,
7614  
7615 \begin_inset Flex Code
7616 status collapsed
7617
7618 \begin_layout Plain Layout
7619 style
7620 \end_layout
7621
7622 \end_inset
7623
7624  y 
7625 \begin_inset Flex Code
7626 status collapsed
7627
7628 \begin_layout Plain Layout
7629 StYlE
7630 \end_layout
7631
7632 \end_inset
7633
7634  son el mismo comando.
7635  Los valores posibles se imprimen entre corchetes detrás del nombre de la característica.
7636  Si en una descripción de una clase de texto no se especifica una característica,
7637  el valor por omisión se escribe en estilo 
7638 \begin_inset Flex Code
7639 status collapsed
7640
7641 \begin_layout Plain Layout
7642
7643 \emph on
7644 énfasis
7645 \end_layout
7646
7647 \end_inset
7648
7649 .
7650  Si el argumento tiene un tipo de dato como 
7651 \begin_inset Quotes cld
7652 \end_inset
7653
7654 string
7655 \begin_inset Quotes crd
7656 \end_inset
7657
7658  o 
7659 \begin_inset Quotes cld
7660 \end_inset
7661
7662 float
7663 \begin_inset Quotes crd
7664 \end_inset
7665
7666 ,
7667  el valor por omisión se muestra de esta manera:
7668  
7669 \begin_inset Flex Code
7670 status collapsed
7671
7672 \begin_layout Plain Layout
7673 float=
7674 \emph on
7675 default
7676 \end_layout
7677
7678 \end_inset
7679
7680 .
7681 \end_layout
7682
7683 \begin_layout Subsection
7684 Declaración de la clase de documento y clasificación
7685 \end_layout
7686
7687 \begin_layout Standard
7688 Las líneas de un archivo de formato que empiezan con 
7689 \begin_inset Flex Code
7690 status collapsed
7691
7692 \begin_layout Plain Layout
7693 #
7694 \end_layout
7695
7696 \end_inset
7697
7698  son comentarios.
7699  Hay una excepción a esta regla:
7700  todos los formatos deben comenzar con líneas como:
7701 \end_layout
7702
7703 \begin_layout LyX-Code
7704
7705 \size small
7706 #% Do not delete the line below;
7707  configure depends on this
7708 \begin_inset Foot
7709 status collapsed
7710
7711 \begin_layout Plain Layout
7712
7713 \emph on
7714 N.
7715 \begin_inset space \thinspace{}
7716 \end_inset
7717
7718 del T.
7719 \emph default
7720 :
7721  No borrar la línea siguiente;
7722  la configuración depende de ella
7723 \end_layout
7724
7725 \end_inset
7726
7727
7728 \end_layout
7729
7730 \begin_layout LyX-Code
7731
7732 \size small
7733 #  
7734 \backslash
7735 DeclareLaTeXClass{Article (Standard Class)}
7736 \end_layout
7737
7738 \begin_layout LyX-Code
7739
7740 \size small
7741 #  
7742 \backslash
7743 DeclareCategory{Articles}
7744 \end_layout
7745
7746 \begin_layout Standard
7747 La segunda y tercera líneas se usan en la (re)configuración de \SpecialChar LyX
7748 .
7749  El archivo `layout' es leido por el guión de \SpecialChar LaTeX
7750  
7751 \begin_inset Flex Code
7752 status collapsed
7753
7754 \begin_layout Plain Layout
7755 chkconfig.ltx
7756 \end_layout
7757
7758 \end_inset
7759
7760  de un modo especial tal que 
7761 \begin_inset Flex Code
7762 status collapsed
7763
7764 \begin_layout Plain Layout
7765 #
7766 \end_layout
7767
7768 \end_inset
7769
7770  se ignora.
7771  La primera línea es solo un comentario,
7772  la segunda contiene la declaración obligatoria de la clase de texto y la tercera línea contiene la clasificación opcional de la clase.
7773  Si estas líneas aparecen en un archivo llamado 
7774 \begin_inset Flex Code
7775 status collapsed
7776
7777 \begin_layout Plain Layout
7778 article.layout
7779 \end_layout
7780
7781 \end_inset
7782
7783 ,
7784  entonces definen una clase de texto de nombre 
7785 \begin_inset Flex Code
7786 status collapsed
7787
7788 \begin_layout Plain Layout
7789 article
7790 \end_layout
7791
7792 \end_inset
7793
7794  (el nombre del archivo de formato) que usa la clase de documento \SpecialChar LaTeX
7795  
7796 \begin_inset Flex Code
7797 status collapsed
7798
7799 \begin_layout Plain Layout
7800 article.cls
7801 \end_layout
7802
7803 \end_inset
7804
7805  (por omisión se usa el mismo nombre para ambos).
7806  La palabra 
7807 \begin_inset Quotes cld
7808 \end_inset
7809
7810 Article (Standard Class)
7811 \begin_inset Quotes crd
7812 \end_inset
7813
7814  se utiliza como descripción de la clase de texto y es la que aparece en el diálogo 
7815 \begin_inset Flex Noun
7816 status collapsed
7817
7818 \begin_layout Plain Layout
7819 Documento\SpecialChar menuseparator
7820 Configuración
7821 \end_layout
7822
7823 \end_inset
7824
7825 .
7826  La categoría (
7827 \begin_inset Quotes cld
7828 \end_inset
7829
7830 Articles
7831 \begin_inset Quotes crd
7832 \end_inset
7833
7834  en el ejemplo) también se usa en el diálogo 
7835 \begin_inset Flex Noun
7836 status collapsed
7837
7838 \begin_layout Plain Layout
7839 Documento\SpecialChar menuseparator
7840 Configuración
7841 \end_layout
7842
7843 \end_inset
7844
7845 :
7846  las clases de texto se agrupan por estas categorías (generalmente son géneros,
7847  así son categorías típicas 
7848 \begin_inset Quotes cld
7849 \end_inset
7850
7851 Articles
7852 \begin_inset Quotes crd
7853 \end_inset
7854
7855 ,
7856  
7857 \begin_inset Quotes cld
7858 \end_inset
7859
7860 Books
7861 \begin_inset Quotes crd
7862 \end_inset
7863
7864 ,
7865  
7866 \begin_inset Quotes cld
7867 \end_inset
7868
7869 Reports
7870 \begin_inset Quotes crd
7871 \end_inset
7872
7873 ,
7874  
7875 \begin_inset Quotes cld
7876 \end_inset
7877
7878 Letters
7879 \begin_inset Quotes crd
7880 \end_inset
7881
7882 ,
7883  
7884 \begin_inset Quotes cld
7885 \end_inset
7886
7887 Presentations
7888 \begin_inset Quotes crd
7889 \end_inset
7890
7891 ,
7892  
7893 \begin_inset Quotes cld
7894 \end_inset
7895
7896 Curricula Vitae
7897 \begin_inset Quotes crd
7898 \end_inset
7899
7900  etc.).
7901  Si no se ha declarado categoría la clase se pondrá en el grupo 
7902 \begin_inset Quotes cld
7903 \end_inset
7904
7905 Sin categoría
7906 \begin_inset Quotes crd
7907 \end_inset
7908
7909 .
7910 \end_layout
7911
7912 \begin_layout Standard
7913 Supongamos que has escrito tu propia clase de texto,
7914  que utiliza la clase de documento 
7915 \begin_inset Flex Code
7916 status collapsed
7917
7918 \begin_layout Plain Layout
7919 article.cls
7920 \end_layout
7921
7922 \end_inset
7923
7924 ,
7925  pero en la que has cambiado el aspecto de los encabezados de sección.
7926  Si lo pones en un archivo 
7927 \begin_inset Flex Code
7928 status collapsed
7929
7930 \begin_layout Plain Layout
7931 myarticle.layout
7932 \end_layout
7933
7934 \end_inset
7935
7936 ,
7937  la cabecera de este archivo debería ser:
7938 \end_layout
7939
7940 \begin_layout LyX-Code
7941
7942 \size small
7943 #% Do not delete the line below;
7944  configure depends on this
7945 \end_layout
7946
7947 \begin_layout LyX-Code
7948
7949 \size small
7950 #  
7951 \backslash
7952 DeclareLaTeXClass[article]{Article (con Mis Encabezados)}
7953 \end_layout
7954
7955 \begin_layout LyX-Code
7956
7957 \size small
7958 #  
7959 \backslash
7960 DeclareCategory{Articles}
7961 \end_layout
7962
7963 \begin_layout Standard
7964 Esto declara la clase de texto 
7965 \begin_inset Flex Code
7966 status collapsed
7967
7968 \begin_layout Plain Layout
7969 myarticle
7970 \end_layout
7971
7972 \end_inset
7973
7974 ,
7975  asociada con la clase de documento \SpecialChar LaTeX
7976  
7977 \begin_inset Flex Code
7978 status collapsed
7979
7980 \begin_layout Plain Layout
7981 article.cls
7982 \end_layout
7983
7984 \end_inset
7985
7986 ,
7987  y cuya descripción es 
7988 \begin_inset Quotes cld
7989 \end_inset
7990
7991 Article (con Mis Encabezados)
7992 \begin_inset Quotes crd
7993 \end_inset
7994
7995 .
7996  Si la clase de texto depende de varios paquetes,
7997  puedes declararla así:
7998 \end_layout
7999
8000 \begin_layout LyX-Code
8001
8002 \size small
8003 #% Do not delete the line below;
8004  configure depends on this
8005 \end_layout
8006
8007 \begin_layout LyX-Code
8008
8009 \size small
8010 #  
8011 \backslash
8012 DeclareLaTeXClass[article,foo.sty]{Article (con Mis Encabezados)}
8013 \end_layout
8014
8015 \begin_layout LyX-Code
8016
8017 \size small
8018 #  
8019 \backslash
8020 DeclareCategory{Articles}
8021 \end_layout
8022
8023 \begin_layout Standard
8024 Esto indica que la clase de texto utiliza el paquete foo.sty.
8025  Finalmente,
8026  también es posible declarar clases para código DocBook.
8027  Una declaración típica podría ser:
8028 \end_layout
8029
8030 \begin_layout LyX-Code
8031
8032 \size small
8033 #% Do not delete the line below;
8034  configure depends on this
8035 \end_layout
8036
8037 \begin_layout LyX-Code
8038
8039 \size small
8040
8041 \backslash
8042 DeclareDocBookClass[article]{SGML (DocBook Article)}
8043 \end_layout
8044
8045 \begin_layout LyX-Code
8046
8047 \size small
8048 #  
8049 \backslash
8050 DeclareCategory{Articles}
8051 \end_layout
8052
8053 \begin_layout Standard
8054 Anotar que estas declaraciones pueden llevar también un parámetro opcional que declare el nombre de la clase de documento (pero no una lista).
8055 \end_layout
8056
8057 \begin_layout Standard
8058 Así,
8059  para ser lo más explícito posible,
8060  la forma de la declaración del formato es:
8061 \end_layout
8062
8063 \begin_layout LyX-Code
8064
8065 \size small
8066 #  
8067 \backslash
8068 DeclareLaTeXClass[class,package.sty]{descripción del formato}
8069 \end_layout
8070
8071 \begin_layout LyX-Code
8072
8073 \size small
8074 #  
8075 \backslash
8076 DeclareCategory{category}
8077 \end_layout
8078
8079 \begin_layout Standard
8080 La clase solo debe especificarse si el nombre de archivo de la clase \SpecialChar LaTeX
8081  y el nombre de archivo del formato son diferentes;
8082  si el nombre del archivo de clase no se especifica,
8083  \SpecialChar LyX
8084  simplemente supondrá que es el mismo que el del archivo de formato.
8085 \end_layout
8086
8087 \begin_layout Standard
8088 Cuando la clase de texto se ha modificado según tus necesidades,
8089  lo que debes hacer es copiarla a 
8090 \begin_inset Flex Code
8091 status collapsed
8092
8093 \begin_layout Plain Layout
8094 \SpecialChar LyX
8095 Dir/layouts/
8096 \end_layout
8097
8098 \end_inset
8099
8100  o a 
8101 \begin_inset Flex Code
8102 status collapsed
8103
8104 \begin_layout Plain Layout
8105 UserDir/layouts
8106 \end_layout
8107
8108 \end_inset
8109
8110 ,
8111  ejecutar 
8112 \begin_inset Flex Noun
8113 status collapsed
8114
8115 \begin_layout Plain Layout
8116 Herramientas\SpecialChar menuseparator
8117 Reconfigurar
8118 \end_layout
8119
8120 \end_inset
8121
8122 ,
8123  y reiniciar \SpecialChar LyX
8124 .
8125  Ahora la nueva clase de texto debería estar disponible junto con las demás.
8126 \end_layout
8127
8128 \begin_layout Standard
8129 Una vez instalado el `layout',
8130  puedes editarlo y ver los cambios sin tener que reconfigurar ni reiniciar \SpecialChar LyX
8131 .
8132  
8133 \begin_inset Foot
8134 status collapsed
8135
8136 \begin_layout Plain Layout
8137 En versiones de \SpecialChar LyX
8138  anteriores a 1.6 no era así.
8139  Como resultado,
8140  la edición de archivos de formato podía llevar mucho tiempo,
8141  pues constantemente había que reconfigurar y reiniciar.
8142 \end_layout
8143
8144 \end_inset
8145
8146  Se puede forzar la recarga del formato en uso mediante la función \SpecialChar LyX
8147  
8148 \begin_inset Flex Noun
8149 status collapsed
8150
8151 \begin_layout Plain Layout
8152 layout-reload
8153 \end_layout
8154
8155 \end_inset
8156
8157 .
8158  No hay atajo predeterminado para esta función —
8159 aunque por supuesto,
8160  puedes asociarle tú mismo una secuencia de teclas—
8161 .
8162  Normalmente usarás esta función introduciéndola simplemente en el 
8163 \emph on
8164 mini-buffer
8165 \emph default
8166 .
8167  
8168 \end_layout
8169
8170 \begin_layout Standard
8171
8172 \emph on
8173 Aviso
8174 \emph default
8175 :
8176  Esto es mucho más que una 
8177 \begin_inset Quotes cld
8178 \end_inset
8179
8180 característica avanzada
8181 \begin_inset Quotes crd
8182 \end_inset
8183
8184 .
8185  Es 
8186 \emph on
8187 muy
8188 \emph default
8189  recomendable que no intentes editar tu formato mientras estés trabajando en un documento importante.
8190  Usa un documento de prueba.
8191  Los errores sintácticos y similares en tu archivo de formato podrían provocar comportamientos extraños.
8192  En particular,
8193  tales errores podrían provocar que \SpecialChar LyX
8194  vea el formato actual como inválido e intente cambiar a algún otro.
8195 \begin_inset Foot
8196 status collapsed
8197
8198 \begin_layout Plain Layout
8199 En realidad,
8200  los errores en la sintaxis pueden causar incluso el cierre de \SpecialChar LyX
8201 ,
8202  porque ciertos tipos de error pueden hacer que \SpecialChar LyX
8203  sea incapaz de leer 
8204 \emph on
8205 cualquier
8206 \emph default
8207  información de formato.
8208  Por favor ten cuidado.
8209 \end_layout
8210
8211 \end_inset
8212
8213  El equipo \SpecialChar LyX
8214  procura que \SpecialChar LyX
8215  se mantenga estable en estos casos,
8216  pero es mejor prevenir que curar.
8217 \begin_inset Foot
8218 status collapsed
8219
8220 \begin_layout Plain Layout
8221 De todos modos,
8222  haz copias de seguridad regularmente.
8223  Y sé bueno con mamá.
8224  
8225 \end_layout
8226
8227 \end_inset
8228
8229
8230 \end_layout
8231
8232 \begin_layout Subsection
8233 Declaración de un módulo
8234 \end_layout
8235
8236 \begin_layout Standard
8237 Un módulo debe empezar con una línea como la siguiente:
8238 \end_layout
8239
8240 \begin_layout LyX-Code
8241 #
8242 \backslash
8243 DeclareLyXModule[endnotes.sty]{Endnotes} 
8244 \end_layout
8245
8246 \begin_layout Standard
8247 El argumento imprescindible es,
8248  entre llaves,
8249  el nombre del módulo tal como deberá aparecer en 
8250 \begin_inset Flex Noun
8251 status collapsed
8252
8253 \begin_layout Plain Layout
8254 Documento\SpecialChar menuseparator
8255 Configuración\SpecialChar menuseparator
8256 Módulos
8257 \end_layout
8258
8259 \end_inset
8260
8261 .
8262  El argumento entre corchetes es opcional:
8263  declara cualesquiera paquetes \SpecialChar LaTeX
8264  de los que depende el módulo.
8265  También es posible usar la forma 
8266 \begin_inset Flex Noun
8267 status collapsed
8268
8269 \begin_layout Plain Layout
8270 from->to
8271 \end_layout
8272
8273 \end_inset
8274
8275  como argumento opcional,
8276  que declara que el módulo solo puede usarse cuando existe una cadena de conversión entre los formatos `
8277 \begin_inset Flex Code
8278 status collapsed
8279
8280 \begin_layout Plain Layout
8281 from
8282 \end_layout
8283
8284 \end_inset
8285
8286 ' y `
8287 \begin_inset Flex Code
8288 status collapsed
8289
8290 \begin_layout Plain Layout
8291 to
8292 \end_layout
8293
8294 \end_inset
8295
8296 '.
8297 \end_layout
8298
8299 \begin_layout Standard
8300 La declaración del módulo debe proseguir con líneas como las siguientes:
8301 \begin_inset Foot
8302 status collapsed
8303
8304 \begin_layout Plain Layout
8305 Preferiblemente en inglés si el módulo se va a publicar en \SpecialChar LyX
8306 .
8307  Esta descripción aparecerá en la lista de mensajes para ser traducidos en la siguiente actualización de la interfaz.
8308 \end_layout
8309
8310 \end_inset
8311
8312
8313 \end_layout
8314
8315 \begin_layout LyX-Code
8316 #DescriptionBegin 
8317 \end_layout
8318
8319 \begin_layout LyX-Code
8320 #Adds an endnote command,
8321  in addition to footnotes.
8322  
8323 \end_layout
8324
8325 \begin_layout LyX-Code
8326 #You will need to add  
8327 \backslash
8328 theendnotes in \SpecialChar TeX
8329  code where you 
8330 \end_layout
8331
8332 \begin_layout LyX-Code
8333 #want the endnotes to appear.
8334  
8335 \end_layout
8336
8337 \begin_layout LyX-Code
8338 #DescriptionEnd 
8339 \end_layout
8340
8341 \begin_layout LyX-Code
8342 #Requires:
8343  somemodule | othermodule
8344 \end_layout
8345
8346 \begin_layout LyX-Code
8347 #Excludes:
8348  badmodule
8349 \end_layout
8350
8351 \begin_layout Standard
8352 La descripción se usa en 
8353 \begin_inset Flex Noun
8354 status collapsed
8355
8356 \begin_layout Plain Layout
8357 Documento\SpecialChar menuseparator
8358 Configuración\SpecialChar menuseparator
8359 Módulos
8360 \end_layout
8361
8362 \end_inset
8363
8364  para proporcionar al usuario información sobre las acciones del módulo.
8365  La línea 
8366 \begin_inset Flex Code
8367 status collapsed
8368
8369 \begin_layout Plain Layout
8370 Requires
8371 \end_layout
8372
8373 \end_inset
8374
8375  sirve para identificar otros módulos con los que se debe usar este;
8376  la línea 
8377 \begin_inset Flex Code
8378 status collapsed
8379
8380 \begin_layout Plain Layout
8381 Excludes
8382 \end_layout
8383
8384 \end_inset
8385
8386  identifica los módulos con los que este no se puede usar.
8387  Ambas son opcionales,
8388  y,
8389  como se ve,
8390  varios módulos deben separarse con el símbolo tubería:
8391  |.
8392  Anotar que los módulos requeridos se tratan de forma disyuntiva:
8393  debe usarse 
8394 \emph on
8395 al menos uno
8396 \emph default
8397  de los módulos requeridos.
8398  Y no se puede usar 
8399 \emph on
8400 ningún
8401 \emph default
8402  módulo excluido.
8403  Aquí,
8404  los módulos se identifican por sus nombres de archivo sin la extensión 
8405 \begin_inset Flex Code
8406 status collapsed
8407
8408 \begin_layout Plain Layout
8409 .module
8410 \end_layout
8411
8412 \end_inset
8413
8414 .
8415  Por tanto,
8416  
8417 \begin_inset Flex Code
8418 status collapsed
8419
8420 \begin_layout Plain Layout
8421 somemodule
8422 \end_layout
8423
8424 \end_inset
8425
8426  es realmente 
8427 \begin_inset Flex Code
8428 status collapsed
8429
8430 \begin_layout Plain Layout
8431 somemodule.module
8432 \end_layout
8433
8434 \end_inset
8435
8436 .
8437 \end_layout
8438
8439 \begin_layout Subsection
8440
8441 \lang english
8442 The CiteEngine file declaration
8443 \end_layout
8444
8445 \begin_layout Standard
8446
8447 \lang english
8448 A cite engine file must begin with a line like the following:
8449 \end_layout
8450
8451 \begin_layout LyX-Code
8452
8453 \lang english
8454 #
8455 \backslash
8456 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8457 \end_layout
8458
8459 \begin_layout Standard
8460
8461 \lang english
8462 The mandatory argument,
8463  in curly brackets,
8464  is the name of the module,
8465  as it should appear in 
8466 \begin_inset Flex Noun
8467 status collapsed
8468
8469 \begin_layout Plain Layout
8470
8471 \lang english
8472 Document\SpecialChar menuseparator
8473 Settings\SpecialChar menuseparator
8474 Bibliography
8475 \end_layout
8476
8477 \end_inset
8478
8479 .
8480  The argument in square brackets is optional:
8481  It declares any \SpecialChar LaTeX
8482  packages on which the cite engine depends.
8483 \end_layout
8484
8485 \begin_layout Standard
8486
8487 \lang english
8488 The cite engine declaration should then be followed by lines like the following:
8489 \begin_inset Foot
8490 status collapsed
8491
8492 \begin_layout Plain Layout
8493
8494 \lang english
8495 Preferably in English if the module should be published with \SpecialChar LyX
8496 .
8497  This description will appear in the list of messages to be translated and will be thus translated with the next interface update.
8498 \end_layout
8499
8500 \end_inset
8501
8502
8503 \end_layout
8504
8505 \begin_layout LyX-Code
8506
8507 \lang english
8508 # DescriptionBegin
8509 \end_layout
8510
8511 \begin_layout LyX-Code
8512
8513 \lang english
8514 #   Biblatex supports many author-year and numerical styles.
8515 \end_layout
8516
8517 \begin_layout LyX-Code
8518
8519 \lang english
8520 #   It is mainly aimed at the Humanities.
8521  It is highly
8522 \end_layout
8523
8524 \begin_layout LyX-Code
8525
8526 \lang english
8527 #   customizable,
8528  fully localized and provides many features
8529 \end_layout
8530
8531 \begin_layout LyX-Code
8532
8533 \lang english
8534 #   that are not possible with BibTeX.
8535  The use of 'biber' as
8536 \end_layout
8537
8538 \begin_layout LyX-Code
8539
8540 \lang english
8541 #   bibliography processor is advised.
8542 \end_layout
8543
8544 \begin_layout LyX-Code
8545
8546 \lang english
8547 # DescriptionEnd
8548 \end_layout
8549
8550 \begin_layout Standard
8551
8552 \lang english
8553 The description is used in 
8554 \begin_inset Flex Noun
8555 status collapsed
8556
8557 \begin_layout Plain Layout
8558
8559 \lang english
8560 Document\SpecialChar menuseparator
8561 Settings\SpecialChar menuseparator
8562 Bibliography
8563 \end_layout
8564
8565 \end_inset
8566
8567  to provide the user with information about the cite engine.
8568 \end_layout
8569
8570 \begin_layout Subsection
8571 Número de formato
8572 \end_layout
8573
8574 \begin_layout Standard
8575 La primera línea no comentada de cualquier archivo `layout',
8576  `inc' o `module' 
8577 \emph on
8578 debe
8579 \emph default
8580  contener el número de formato del archivo:
8581 \end_layout
8582
8583 \begin_layout Description
8584 \begin_inset Flex Code
8585 status collapsed
8586
8587 \begin_layout Plain Layout
8588 Format
8589 \end_layout
8590
8591 \end_inset
8592
8593  [
8594 \begin_inset Flex Code
8595 status collapsed
8596
8597 \begin_layout Plain Layout
8598 int
8599 \end_layout
8600
8601 \end_inset
8602
8603 ] El número de formato del archivo de formato (`layout').
8604 \end_layout
8605
8606 \begin_layout Standard
8607 Esta etiqueta se introdujo en \SpecialChar LyX
8608
8609 \begin_inset space ~
8610 \end_inset
8611
8612 1.4.0.
8613  Los archivos anteriores no tienen un número explícito y se consideran como 
8614 \begin_inset Flex Code
8615 status collapsed
8616
8617 \begin_layout Plain Layout
8618 Format
8619 \begin_inset space ~
8620 \end_inset
8621
8622 1
8623 \end_layout
8624
8625 \end_inset
8626
8627 .
8628  El número para la versión actual de \SpecialChar LyX
8629  es formato 
8630 \begin_inset Info
8631 type  "lyxinfo"
8632 arg   "layoutformat"
8633 \end_inset
8634
8635 .
8636  Cada versión de \SpecialChar LyX
8637  es capaz de leer los formatos de versiones anteriores,
8638  de la misma forma que puede leer archivos producidos con versiones de \SpecialChar LyX
8639  anteriores.
8640  Sin embargo,
8641  no está previsto convertir a formatos anteriores.
8642 \end_layout
8643
8644 \begin_layout Subsection
8645 Parámetros generales de clases de texto
8646 \begin_inset CommandInset label
8647 LatexCommand label
8648 name "subsec:Parámetros-generales-clases"
8649
8650 \end_inset
8651
8652
8653 \end_layout
8654
8655 \begin_layout Standard
8656 Estos son los parámetros generales que describen completamente una clase de documento.
8657  (Esto 
8658 \emph on
8659 no
8660 \emph default
8661  significa que deban aparecer en archivos 
8662 \begin_inset Flex Code
8663 status collapsed
8664
8665 \begin_layout Plain Layout
8666 .layout
8667 \end_layout
8668
8669 \end_inset
8670
8671  en vez de en módulos.
8672  Un módulo puede contener cualquier etiqueta de formato).
8673 \end_layout
8674
8675 \begin_layout Description
8676 \begin_inset Flex Code
8677 status collapsed
8678
8679 \begin_layout Plain Layout
8680 AddToHTMLPreamble
8681 \end_layout
8682
8683 \end_inset
8684
8685  Añade información para el bloque 
8686 \begin_inset Flex Code
8687 status collapsed
8688
8689 \begin_layout Plain Layout
8690 <head>
8691 \end_layout
8692
8693 \end_inset
8694
8695  cuando el documento se exporte a XHTML.
8696  Típicamente,
8697  debería usarse para exportar información de estilo CSS,
8698  aunque se puede usar para cualquier cosa que pueda aparecer en 
8699 \begin_inset Flex Code
8700 status collapsed
8701
8702 \begin_layout Plain Layout
8703 <head>
8704 \end_layout
8705
8706 \end_inset
8707
8708 .
8709  Debe acabar con 
8710 \begin_inset Quotes eld
8711 \end_inset
8712
8713
8714 \begin_inset Flex Code
8715 status collapsed
8716
8717 \begin_layout Plain Layout
8718 EndPreamble
8719 \end_layout
8720
8721 \end_inset
8722
8723
8724 \begin_inset Quotes erd
8725 \end_inset
8726
8727 .
8728 \end_layout
8729
8730 \begin_layout Description
8731 \begin_inset Flex Code
8732 status collapsed
8733
8734 \begin_layout Plain Layout
8735 AddToPreamble
8736 \end_layout
8737
8738 \end_inset
8739
8740  Añade información al preámbulo del documento.
8741  Debe terminar con 
8742 \begin_inset Quotes cld
8743 \end_inset
8744
8745
8746 \begin_inset Flex Code
8747 status collapsed
8748
8749 \begin_layout Plain Layout
8750 EndPreamble
8751 \end_layout
8752
8753 \end_inset
8754
8755
8756 \begin_inset Quotes crd
8757 \end_inset
8758
8759 .
8760 \end_layout
8761
8762 \begin_layout Description
8763
8764 \lang english
8765 \begin_inset Flex Code
8766 status collapsed
8767
8768 \begin_layout Plain Layout
8769
8770 \lang english
8771 CiteEngine <engine>
8772 \end_layout
8773
8774 \end_inset
8775
8776  Defines the possibilities for displaying citation references.
8777  See 
8778 \begin_inset CommandInset ref
8779 LatexCommand ref
8780 reference "subsec:Citation-engine-description"
8781 plural "false"
8782 caps "false"
8783 noprefix "false"
8784 nolink "false"
8785
8786 \end_inset
8787
8788  for details.
8789  Must end with 
8790 \begin_inset Quotes eld
8791 \end_inset
8792
8793
8794 \begin_inset Flex Code
8795 status collapsed
8796
8797 \begin_layout Plain Layout
8798
8799 \lang english
8800 End
8801 \end_layout
8802
8803 \end_inset
8804
8805
8806 \begin_inset Quotes erd
8807 \end_inset
8808
8809 .
8810  Primarily used in cite engine files (see 
8811 \begin_inset CommandInset ref
8812 LatexCommand ref
8813 reference "subsec:Cite-Engine-Files"
8814 plural "false"
8815 caps "false"
8816 noprefix "false"
8817 nolink "false"
8818
8819 \end_inset
8820
8821 ).
8822 \end_layout
8823
8824 \begin_layout Description
8825 \begin_inset Flex Code
8826 status collapsed
8827
8828 \begin_layout Plain Layout
8829 CiteFormat
8830 \end_layout
8831
8832 \end_inset
8833
8834  Define formatos a usar en la presentación de información bibliográfica.
8835  Véase la sección
8836 \begin_inset space ~
8837 \end_inset
8838
8839
8840 \begin_inset CommandInset ref
8841 LatexCommand ref
8842 reference "subsec:Descripción-formato-cita"
8843 nolink "false"
8844
8845 \end_inset
8846
8847  para detalles.
8848  Debe terminar con 
8849 \begin_inset Quotes eld
8850 \end_inset
8851
8852
8853 \begin_inset Flex Code
8854 status collapsed
8855
8856 \begin_layout Plain Layout
8857 End
8858 \end_layout
8859
8860 \end_inset
8861
8862
8863 \begin_inset Quotes erd
8864 \end_inset
8865
8866 .
8867
8868 \lang english
8869  Primarily used in cite engine files (see 
8870 \begin_inset CommandInset ref
8871 LatexCommand ref
8872 reference "subsec:Cite-Engine-Files"
8873 plural "false"
8874 caps "false"
8875 noprefix "false"
8876 nolink "false"
8877
8878 \end_inset
8879
8880 ).
8881 \end_layout
8882
8883 \begin_layout Description
8884
8885 \lang english
8886 \begin_inset Flex Code
8887 status collapsed
8888
8889 \begin_layout Plain Layout
8890
8891 \lang english
8892 CiteFramework
8893 \end_layout
8894
8895 \end_inset
8896
8897  [
8898 \begin_inset Flex Code
8899 status collapsed
8900
8901 \begin_layout Plain Layout
8902
8903 \emph on
8904 \lang english
8905 bibtex
8906 \end_layout
8907
8908 \end_inset
8909
8910 ,
8911 \begin_inset Flex Code
8912 status collapsed
8913
8914 \begin_layout Plain Layout
8915
8916 \lang english
8917 biblatex
8918 \end_layout
8919
8920 \end_inset
8921
8922 ] Determines whether 
8923 \family sans
8924 Biblatex
8925 \family default
8926  or Bib\SpecialChar TeX
8927  is used to generate a Bibliography.
8928  Primarily used in cite engine files (see 
8929 \begin_inset CommandInset ref
8930 LatexCommand ref
8931 reference "subsec:Cite-Engine-Files"
8932 plural "false"
8933 caps "false"
8934 noprefix "false"
8935 nolink "false"
8936
8937 \end_inset
8938
8939 ).
8940 \end_layout
8941
8942 \begin_layout Description
8943 \begin_inset Flex Code
8944 status collapsed
8945
8946 \begin_layout Plain Layout
8947 ClassOptions
8948 \end_layout
8949
8950 \end_inset
8951
8952  Describe varias opciones globales soportadas por la clase de documento.
8953  Véase la sección
8954 \begin_inset space ~
8955 \end_inset
8956
8957
8958 \begin_inset CommandInset ref
8959 LatexCommand ref
8960 reference "subsec:ClassOptions"
8961 nolink "false"
8962
8963 \end_inset
8964
8965  para una descripción.
8966  Debe terminar con 
8967 \begin_inset Quotes cld
8968 \end_inset
8969
8970
8971 \begin_inset Flex Code
8972 status collapsed
8973
8974 \begin_layout Plain Layout
8975 End
8976 \end_layout
8977
8978 \end_inset
8979
8980
8981 \begin_inset Quotes crd
8982 \end_inset
8983
8984 .
8985 \end_layout
8986
8987 \begin_layout Description
8988 \begin_inset Flex Code
8989 status collapsed
8990
8991 \begin_layout Plain Layout
8992 Columns
8993 \end_layout
8994
8995 \end_inset
8996
8997  [
8998 \begin_inset Flex Code
8999 status collapsed
9000
9001 \begin_layout Plain Layout
9002
9003 \emph on
9004 1
9005 \end_layout
9006
9007 \end_inset
9008
9009 ,
9010 \begin_inset space \thinspace{}
9011 \end_inset
9012
9013
9014 \begin_inset Flex Code
9015 status collapsed
9016
9017 \begin_layout Plain Layout
9018 2
9019 \end_layout
9020
9021 \end_inset
9022
9023 ] Establece el número de columnas por omisión.
9024  Se puede cambiar en el diálogo 
9025 \begin_inset Flex Noun
9026 status collapsed
9027
9028 \begin_layout Plain Layout
9029 Documento\SpecialChar menuseparator
9030 Configuración
9031 \end_layout
9032
9033 \end_inset
9034
9035 .
9036 \end_layout
9037
9038 \begin_layout Description
9039 \begin_inset Flex Code
9040 status collapsed
9041
9042 \begin_layout Plain Layout
9043 Counter
9044 \end_layout
9045
9046 \end_inset
9047
9048  Esta secuencia define un nuevo contador.
9049  Véase la sección
9050 \begin_inset space ~
9051 \end_inset
9052
9053
9054 \begin_inset CommandInset ref
9055 LatexCommand ref
9056 reference "subsec:Contadores"
9057 nolink "false"
9058
9059 \end_inset
9060
9061  para detalles.
9062  Debe terminar con 
9063 \begin_inset Quotes cld
9064 \end_inset
9065
9066
9067 \begin_inset Flex Code
9068 status collapsed
9069
9070 \begin_layout Plain Layout
9071 End
9072 \end_layout
9073
9074 \end_inset
9075
9076
9077 \begin_inset Quotes crd
9078 \end_inset
9079
9080 .
9081 \end_layout
9082
9083 \begin_layout Description
9084 \begin_inset Flex Code
9085 status collapsed
9086
9087 \begin_layout Plain Layout
9088 DefaultFont
9089 \end_layout
9090
9091 \end_inset
9092
9093  Establece la tipografía por omisión para presentar el documento.
9094  Véase la sección
9095 \begin_inset space ~
9096 \end_inset
9097
9098
9099 \begin_inset CommandInset ref
9100 LatexCommand ref
9101 reference "subsec:Tipografía"
9102 nolink "false"
9103
9104 \end_inset
9105
9106  para cómo declarar tipografías.
9107  Debe terminar con 
9108 \begin_inset Quotes cld
9109 \end_inset
9110
9111
9112 \begin_inset Flex Code
9113 status collapsed
9114
9115 \begin_layout Plain Layout
9116 EndFont
9117 \end_layout
9118
9119 \end_inset
9120
9121
9122 \begin_inset Quotes crd
9123 \end_inset
9124
9125 .
9126 \end_layout
9127
9128 \begin_layout Description
9129 \begin_inset Flex Code
9130 status collapsed
9131
9132 \begin_layout Plain Layout
9133 DefaultModule
9134 \end_layout
9135
9136 \end_inset
9137
9138  [
9139 \begin_inset Flex Code
9140 status collapsed
9141
9142 \begin_layout Plain Layout
9143 <module>
9144 \end_layout
9145
9146 \end_inset
9147
9148 ] Especifica un módulo que se incluirá por omisión en esta clase de documento;
9149  deberá declararse por su nombre de archivo sin la extensión 
9150 \begin_inset Flex Code
9151 status collapsed
9152
9153 \begin_layout Plain Layout
9154 .module
9155 \end_layout
9156
9157 \end_inset
9158
9159 .
9160  El usuario puede,
9161  aún así,
9162  quitar el módulo,
9163  pero estará activo al principio.
9164  (Esto se aplica solo cuando se crean archivos nuevos,
9165  o si esta clase se elige para un documento existente.)
9166 \end_layout
9167
9168 \begin_layout Description
9169 \begin_inset Flex Code
9170 status collapsed
9171
9172 \begin_layout Plain Layout
9173 DefaultStyle
9174 \end_layout
9175
9176 \end_inset
9177
9178  [
9179 \begin_inset Flex Code
9180 status collapsed
9181
9182 \begin_layout Plain Layout
9183 <style>
9184 \end_layout
9185
9186 \end_inset
9187
9188 ] Este es el estilo que será asignado a párrafos nuevos,
9189  generalmente 
9190 \begin_inset Flex Noun
9191 status collapsed
9192
9193 \begin_layout Plain Layout
9194 Standard
9195 \end_layout
9196
9197 \end_inset
9198
9199 .
9200  Si no se especifica,
9201  se escogerá por omisión el primer estilo definido,
9202  pero es muy recomendable usar esta instrucción.
9203 \end_layout
9204
9205 \begin_layout Description
9206 \begin_inset Flex Code
9207 status collapsed
9208
9209 \begin_layout Plain Layout
9210 ExcludesModule
9211 \end_layout
9212
9213 \end_inset
9214
9215  [
9216 \begin_inset Flex Code
9217 status collapsed
9218
9219 \begin_layout Plain Layout
9220 <module>
9221 \end_layout
9222
9223 \end_inset
9224
9225 ] Indica que el módulo en cuestión (que debería especificarse por el nombre de archivo sin la extensión 
9226 \begin_inset Flex Code
9227 status collapsed
9228
9229 \begin_layout Plain Layout
9230 .module
9231 \end_layout
9232
9233 \end_inset
9234
9235 ) no puede utilizarse con esta clase de documento.
9236  Esto podría usarse en un archivo de formato específico de una publicación para,
9237  digamos,
9238  impedir el empleo del módulo 
9239 \begin_inset Flex Code
9240 status collapsed
9241
9242 \begin_layout Plain Layout
9243 theorems-sec
9244 \end_layout
9245
9246 \end_inset
9247
9248 ,
9249  que numera los teoremas y demás por secciones.
9250  Esta etiqueta 
9251 \emph on
9252 no
9253 \emph default
9254  puede utilizarse en un módulo.
9255  Los módulos tienen su propia forma de excluir otros módulos (véase
9256 \begin_inset space ~
9257 \end_inset
9258
9259
9260 \begin_inset CommandInset ref
9261 LatexCommand ref
9262 reference "subsec:Módulos-de-formato"
9263 nolink "false"
9264
9265 \end_inset
9266
9267 ).
9268 \end_layout
9269
9270 \begin_layout Description
9271 \begin_inset Flex Code
9272 status collapsed
9273
9274 \begin_layout Plain Layout
9275 Float
9276 \end_layout
9277
9278 \end_inset
9279
9280  Define un nuevo flotante.
9281  Véase la sección
9282 \begin_inset space ~
9283 \end_inset
9284
9285
9286 \begin_inset CommandInset ref
9287 LatexCommand ref
9288 reference "subsec:Flotantes"
9289 nolink "false"
9290
9291 \end_inset
9292
9293  para detalles.
9294  Debe terminar con 
9295 \begin_inset Quotes cld
9296 \end_inset
9297
9298
9299 \begin_inset Flex Code
9300 status collapsed
9301
9302 \begin_layout Plain Layout
9303 End
9304 \end_layout
9305
9306 \end_inset
9307
9308
9309 \begin_inset Quotes crd
9310 \end_inset
9311
9312 .
9313 \end_layout
9314
9315 \begin_layout Description
9316 \begin_inset Flex Code
9317 status collapsed
9318
9319 \begin_layout Plain Layout
9320 HTMLPreamble
9321 \end_layout
9322
9323 \end_inset
9324
9325  Da información para el bloque 
9326 \begin_inset Flex Code
9327 status collapsed
9328
9329 \begin_layout Plain Layout
9330 <head>
9331 \end_layout
9332
9333 \end_inset
9334
9335  cuando esta clase de documento se exporte a XHTML.
9336  Advertir que esto sobrescribirá completamente cualquier declaración anterior de 
9337 \begin_inset Flex Code
9338 status collapsed
9339
9340 \begin_layout Plain Layout
9341 HTMLPreamble
9342 \end_layout
9343
9344 \end_inset
9345
9346  o 
9347 \begin_inset Flex Code
9348 status collapsed
9349
9350 \begin_layout Plain Layout
9351 AddToHTMLPreamble
9352 \end_layout
9353
9354 \end_inset
9355
9356 .
9357  (Usa 
9358 \begin_inset Flex Code
9359 status collapsed
9360
9361 \begin_layout Plain Layout
9362 AddToHTMLPreamble
9363 \end_layout
9364
9365 \end_inset
9366
9367  si solo quieres añadir material al preámbulo).
9368  Debe acabar con 
9369 \begin_inset Quotes eld
9370 \end_inset
9371
9372
9373 \begin_inset Flex Code
9374 status collapsed
9375
9376 \begin_layout Plain Layout
9377 EndPreamble
9378 \end_layout
9379
9380 \end_inset
9381
9382
9383 \begin_inset Quotes erd
9384 \end_inset
9385
9386 .
9387 \end_layout
9388
9389 \begin_layout Description
9390 \begin_inset Flex Code
9391 status collapsed
9392
9393 \begin_layout Plain Layout
9394 HTMLTOCSection
9395 \end_layout
9396
9397 \end_inset
9398
9399  [
9400 \begin_inset Flex Code
9401 status collapsed
9402
9403 \begin_layout Plain Layout
9404 <style>
9405 \end_layout
9406
9407 \end_inset
9408
9409 ] El estilo a usar para el índice general,
9410  bibliografía,
9411  etc.,
9412  cuando el documento se exporte a HTML.
9413  Para article,
9414  normalmente será 
9415 \begin_inset Flex Code
9416 status collapsed
9417
9418 \begin_layout Plain Layout
9419 Section
9420 \end_layout
9421
9422 \end_inset
9423
9424 ;
9425  para book 
9426 \begin_inset Flex Code
9427 status collapsed
9428
9429 \begin_layout Plain Layout
9430 Chapter
9431 \end_layout
9432
9433 \end_inset
9434
9435 .
9436  Si no se especifica,
9437  \SpecialChar LyX
9438  intentará deducir qué formato usar.
9439 \end_layout
9440
9441 \begin_layout Description
9442 \begin_inset Flex Code
9443 status collapsed
9444
9445 \begin_layout Plain Layout
9446 IfCounter
9447 \end_layout
9448
9449 \end_inset
9450
9451  [
9452 \begin_inset Flex Code
9453 status collapsed
9454
9455 \begin_layout Plain Layout
9456 <counter>
9457 \end_layout
9458
9459 \end_inset
9460
9461 ] Modifica las propiedades del contador dado.
9462  Si el contador no existe,
9463  esta sección se ignora.
9464  Debe acabar con 
9465 \begin_inset Quotes eld
9466 \end_inset
9467
9468
9469 \begin_inset Flex Code
9470 status collapsed
9471
9472 \begin_layout Plain Layout
9473 End
9474 \end_layout
9475
9476 \end_inset
9477
9478
9479 \begin_inset Quotes erd
9480 \end_inset
9481
9482 .
9483 \begin_inset Newline newline
9484 \end_inset
9485
9486 Véase la sección
9487 \begin_inset space ~
9488 \end_inset
9489
9490
9491 \begin_inset CommandInset ref
9492 LatexCommand ref
9493 reference "subsec:Contadores"
9494 nolink "false"
9495
9496 \end_inset
9497
9498  para más detalles.
9499 \end_layout
9500
9501 \begin_layout Description
9502 \begin_inset Flex Code
9503 status collapsed
9504
9505 \begin_layout Plain Layout
9506 Input
9507 \end_layout
9508
9509 \end_inset
9510
9511  [
9512 \begin_inset Flex Code
9513 status collapsed
9514
9515 \begin_layout Plain Layout
9516 <filename>
9517 \end_layout
9518
9519 \end_inset
9520
9521 ] Permite incluir otro archivo de definición de formato en el tuyo con el fin de evitar la duplicación de comandos.
9522  Ejemplos habituales son los archivos de formatos estándar,
9523  como 
9524 \begin_inset Flex Code
9525 status collapsed
9526
9527 \begin_layout Plain Layout
9528 stdclass.inc
9529 \end_layout
9530
9531 \end_inset
9532
9533 ,
9534  que contiene la mayoría de los diseños básicos.
9535 \end_layout
9536
9537 \begin_layout Description
9538 \begin_inset Flex Code
9539 status collapsed
9540
9541 \begin_layout Plain Layout
9542 InsetLayout
9543 \end_layout
9544
9545 \end_inset
9546
9547  [
9548 \begin_inset Flex Code
9549 status collapsed
9550
9551 \begin_layout Plain Layout
9552 <type>
9553 \end_layout
9554
9555 \end_inset
9556
9557 ] Esta sección (re)define el formato de un recuadro.
9558  Puede aplicarse a uno existente o a uno nuevo,
9559  definido por el usuario,
9560  p.
9561 \begin_inset space \thinspace{}
9562 \end_inset
9563
9564 e.,
9565  un nuevo estilo de texto.
9566  Véase la sección
9567 \begin_inset space ~
9568 \end_inset
9569
9570
9571 \begin_inset CommandInset ref
9572 LatexCommand ref
9573 reference "subsec:estilo-del-texto"
9574 nolink "false"
9575
9576 \end_inset
9577
9578  para más información.
9579  Debe terminar con 
9580 \begin_inset Quotes cld
9581 \end_inset
9582
9583
9584 \begin_inset Flex Code
9585 status collapsed
9586
9587 \begin_layout Plain Layout
9588 End
9589 \end_layout
9590
9591 \end_inset
9592
9593
9594 \begin_inset Quotes crd
9595 \end_inset
9596
9597 .
9598 \end_layout
9599
9600 \begin_layout Description
9601 \begin_inset Flex Code
9602 status collapsed
9603
9604 \begin_layout Plain Layout
9605 LeftMargin
9606 \end_layout
9607
9608 \end_inset
9609
9610  [
9611 \begin_inset Flex Code
9612 status collapsed
9613
9614 \begin_layout Plain Layout
9615 string
9616 \end_layout
9617
9618 \end_inset
9619
9620 ] Una cadena que indica la anchura del margen izquierdo en la pantalla,
9621  por ejemplo 
9622 \begin_inset Quotes cld
9623 \end_inset
9624
9625
9626 \begin_inset Flex Code
9627 status collapsed
9628
9629 \begin_layout Plain Layout
9630 MMMMM
9631 \end_layout
9632
9633 \end_inset
9634
9635
9636 \begin_inset Quotes crd
9637 \end_inset
9638
9639 .
9640  (Esto no es una `longitud',
9641  como 
9642 \begin_inset Quotes cld
9643 \end_inset
9644
9645 2ex
9646 \begin_inset Quotes crd
9647 \end_inset
9648
9649 .
9650 \end_layout
9651
9652 \begin_layout Description
9653
9654 \lang english
9655 \begin_inset Flex Code
9656 status collapsed
9657
9658 \begin_layout Plain Layout
9659
9660 \lang english
9661 MaxCiteNames
9662 \end_layout
9663
9664 \end_inset
9665
9666  [
9667 \begin_inset Flex Code
9668 status collapsed
9669
9670 \begin_layout Plain Layout
9671
9672 \lang english
9673 integer
9674 \end_layout
9675
9676 \end_inset
9677
9678 ] An integer that determines the maximal number of names displayed in an author-year citation before the citation switches to 
9679 \begin_inset Quotes eld
9680 \end_inset
9681
9682 FirstAuthor et al.
9683 \begin_inset Quotes erd
9684 \end_inset
9685
9686 .
9687  Primarily used in cite engine files (see 
9688 \begin_inset CommandInset ref
9689 LatexCommand ref
9690 reference "subsec:Cite-Engine-Files"
9691 plural "false"
9692 caps "false"
9693 noprefix "false"
9694 nolink "false"
9695
9696 \end_inset
9697
9698 ).
9699 \end_layout
9700
9701 \begin_layout Description
9702 \begin_inset Flex Code
9703 status collapsed
9704
9705 \begin_layout Plain Layout
9706 ModifyStyle
9707 \end_layout
9708
9709 \end_inset
9710
9711  [
9712 \begin_inset Flex Code
9713 status collapsed
9714
9715 \begin_layout Plain Layout
9716 <style>
9717 \end_layout
9718
9719 \end_inset
9720
9721 ] Modifica las propiedades del estilo de párrafo dado.
9722  Si el estilo no existe,
9723  esta sección se ignora.
9724  Debe acabar con 
9725 \begin_inset Quotes eld
9726 \end_inset
9727
9728
9729 \begin_inset Flex Code
9730 status collapsed
9731
9732 \begin_layout Plain Layout
9733 End
9734 \end_layout
9735
9736 \end_inset
9737
9738
9739 \begin_inset Quotes erd
9740 \end_inset
9741
9742 .
9743 \end_layout
9744
9745 \begin_layout Description
9746 \begin_inset Flex Code
9747 status collapsed
9748
9749 \begin_layout Plain Layout
9750 NoCounter
9751 \end_layout
9752
9753 \end_inset
9754
9755  [
9756 \begin_inset Flex Code
9757 status collapsed
9758
9759 \begin_layout Plain Layout
9760 <counter>
9761 \end_layout
9762
9763 \end_inset
9764
9765 ] Este comando elimina un contador existente,
9766  generalmente uno definido en un archivo incluido.
9767 \end_layout
9768
9769 \begin_layout Description
9770 \begin_inset Flex Code
9771 status collapsed
9772
9773 \begin_layout Plain Layout
9774 NoFloat
9775 \end_layout
9776
9777 \end_inset
9778
9779  [
9780 \begin_inset Flex Code
9781 status collapsed
9782
9783 \begin_layout Plain Layout
9784 <float>
9785 \end_layout
9786
9787 \end_inset
9788
9789 ] Este comando borra un flotante existente.
9790  Es particularmente útil si quieres suprimir un flotante que ha sido definido en un archivo de entrada.
9791 \end_layout
9792
9793 \begin_layout Description
9794 \begin_inset Flex Code
9795 status collapsed
9796
9797 \begin_layout Plain Layout
9798 NoStyle
9799 \end_layout
9800
9801 \end_inset
9802
9803  [
9804 \begin_inset Flex Code
9805 status collapsed
9806
9807 \begin_layout Plain Layout
9808 <style>
9809 \end_layout
9810
9811 \end_inset
9812
9813 ] Este comando borra un estilo existente.
9814 \end_layout
9815
9816 \begin_layout Description
9817 \begin_inset Flex Code
9818 status collapsed
9819
9820 \begin_layout Plain Layout
9821 OutputFormat
9822 \end_layout
9823
9824 \end_inset
9825
9826  [
9827 \begin_inset Flex Code
9828 status collapsed
9829
9830 \begin_layout Plain Layout
9831 <format>
9832 \end_layout
9833
9834 \end_inset
9835
9836 ] El formato de archivo (tal como se define en las preferencias de \SpecialChar LyX
9837 ) producido por esta clase.
9838  Principalmente,
9839  es útil cuando 
9840 \begin_inset Flex Code
9841 status collapsed
9842
9843 \begin_layout Plain Layout
9844 OutputType
9845 \end_layout
9846
9847 \end_inset
9848
9849  es 
9850 \begin_inset Flex Code
9851 status collapsed
9852
9853 \begin_layout Plain Layout
9854 literate
9855 \end_layout
9856
9857 \end_inset
9858
9859  y se quiere definir un nuevo tipo de documento `literate'.
9860  Esta cadena se redefine a 
9861 \begin_inset Quotes cld
9862 \end_inset
9863
9864
9865 \begin_inset Flex Code
9866 status collapsed
9867
9868 \begin_layout Plain Layout
9869 docbook
9870 \end_layout
9871
9872 \end_inset
9873
9874
9875 \begin_inset Quotes crd
9876 \end_inset
9877
9878  o 
9879 \begin_inset Quotes cld
9880 \end_inset
9881
9882
9883 \begin_inset Flex Code
9884 status collapsed
9885
9886 \begin_layout Plain Layout
9887 latex
9888 \end_layout
9889
9890 \end_inset
9891
9892
9893 \begin_inset Quotes crd
9894 \end_inset
9895
9896  si se encuentra el correspondiente parámetro 
9897 \begin_inset Flex Code
9898 status collapsed
9899
9900 \begin_layout Plain Layout
9901 OutputType
9902 \end_layout
9903
9904 \end_inset
9905
9906 .
9907 \end_layout
9908
9909 \begin_layout Description
9910 \begin_inset Flex Code
9911 status collapsed
9912
9913 \begin_layout Plain Layout
9914 OutputType
9915 \end_layout
9916
9917 \end_inset
9918
9919  [
9920 \begin_inset Flex Code
9921 status collapsed
9922
9923 \begin_layout Plain Layout
9924
9925 \emph on
9926 lat
9927 \emph default
9928 ex
9929 \end_layout
9930
9931 \end_inset
9932
9933 ,
9934  
9935 \begin_inset Flex Code
9936 status collapsed
9937
9938 \begin_layout Plain Layout
9939 docbook
9940 \end_layout
9941
9942 \end_inset
9943
9944 ,
9945  
9946 \begin_inset Flex Code
9947 status collapsed
9948
9949 \begin_layout Plain Layout
9950 literate
9951 \end_layout
9952
9953 \end_inset
9954
9955 ] Indica qué clase de documentos de salida que usan esta clase se generarán.
9956 \end_layout
9957
9958 \begin_layout Description
9959 \begin_inset Flex Code
9960 status collapsed
9961
9962 \begin_layout Plain Layout
9963 PackageOptions
9964 \end_layout
9965
9966 \end_inset
9967
9968  [
9969 \begin_inset Flex Code
9970 status collapsed
9971
9972 \begin_layout Plain Layout
9973 string
9974 \end_layout
9975
9976 \end_inset
9977
9978  
9979 \begin_inset Flex Code
9980 status collapsed
9981
9982 \begin_layout Plain Layout
9983 string
9984 \end_layout
9985
9986 \end_inset
9987
9988 ] Especifica opciones,
9989  dadas en el segundo 
9990 \family typewriter
9991 string
9992 \family default
9993 ,
9994  para el paquete nombrado en el primer
9995 \family typewriter
9996  string
9997 \family default
9998 .
9999  Por ejemplo,
10000  
10001 \begin_inset Quotes cld
10002 \end_inset
10003
10004
10005 \begin_inset Flex Code
10006 status collapsed
10007
10008 \begin_layout Plain Layout
10009 PackageOptions natbib square
10010 \end_layout
10011
10012 \end_inset
10013
10014
10015 \begin_inset Quotes crd
10016 \end_inset
10017
10018  hará que 
10019 \begin_inset Flex Code
10020 status collapsed
10021
10022 \begin_layout Plain Layout
10023 natbib
10024 \end_layout
10025
10026 \end_inset
10027
10028  se cargue con la opción 
10029 \begin_inset Flex Code
10030 status collapsed
10031
10032 \begin_layout Plain Layout
10033 square
10034 \end_layout
10035
10036 \end_inset
10037
10038 .
10039  (Para \SpecialChar TeX
10040 pertos,
10041  esto hace que \SpecialChar LyX
10042  interprete:
10043  
10044 \begin_inset Flex Code
10045 status collapsed
10046
10047 \begin_layout Plain Layout
10048
10049 \backslash
10050 PassOptionsToPackage{natbib}{square}
10051 \end_layout
10052
10053 \end_inset
10054
10055  antes de cargar 
10056 \begin_inset Flex Code
10057 status collapsed
10058
10059 \begin_layout Plain Layout
10060 natbib
10061 \end_layout
10062
10063 \end_inset
10064
10065 ).
10066 \end_layout
10067
10068 \begin_layout Description
10069 \begin_inset Flex Code
10070 status collapsed
10071
10072 \begin_layout Plain Layout
10073 PageStyle
10074 \end_layout
10075
10076 \end_inset
10077
10078  [
10079 \begin_inset Flex Code
10080 status collapsed
10081
10082 \begin_layout Plain Layout
10083
10084 \emph on
10085 plain
10086 \end_layout
10087
10088 \end_inset
10089
10090 ,
10091  
10092 \begin_inset Flex Code
10093 status collapsed
10094
10095 \begin_layout Plain Layout
10096 empty
10097 \end_layout
10098
10099 \end_inset
10100
10101 ,
10102  
10103 \begin_inset Flex Code
10104 status collapsed
10105
10106 \begin_layout Plain Layout
10107 headings
10108 \end_layout
10109
10110 \end_inset
10111
10112 ]
10113 \series medium
10114  
10115 \series default
10116 El estilo de página predeterminado de la clase.
10117  Puede cambiarse en el diálogo 
10118 \begin_inset Flex Noun
10119 status collapsed
10120
10121 \begin_layout Plain Layout
10122 Documento\SpecialChar menuseparator
10123 Configuración
10124 \end_layout
10125
10126 \end_inset
10127
10128 .
10129 \end_layout
10130
10131 \begin_layout Description
10132 \begin_inset Flex Code
10133 status collapsed
10134
10135 \begin_layout Plain Layout
10136 Preamble
10137 \end_layout
10138
10139 \end_inset
10140
10141  Establece el preámbulo \SpecialChar LaTeX
10142  para el documento.
10143  Anotar que esto anulará completamente cualesquiera declaraciones 
10144 \begin_inset Flex Code
10145 status collapsed
10146
10147 \begin_layout Plain Layout
10148 Premable
10149 \end_layout
10150
10151 \end_inset
10152
10153  o 
10154 \begin_inset Flex Code
10155 status collapsed
10156
10157 \begin_layout Plain Layout
10158 AddToPreamble
10159 \end_layout
10160
10161 \end_inset
10162
10163  anteriores.
10164  (Usa 
10165 \begin_inset Flex Code
10166 status collapsed
10167
10168 \begin_layout Plain Layout
10169 AddToPreamble
10170 \end_layout
10171
10172 \end_inset
10173
10174  si solo quieres añadir material al preámbulo).
10175  Debe terminar con 
10176 \begin_inset Quotes cld
10177 \end_inset
10178
10179
10180 \begin_inset Flex Code
10181 status collapsed
10182
10183 \begin_layout Plain Layout
10184 EndPreamble
10185 \end_layout
10186
10187 \end_inset
10188
10189
10190 \begin_inset Quotes crd
10191 \end_inset
10192
10193 .
10194 \end_layout
10195
10196 \begin_layout Description
10197 \begin_inset Flex Code
10198 status collapsed
10199
10200 \begin_layout Plain Layout
10201 Provides
10202 \end_layout
10203
10204 \end_inset
10205
10206  [
10207 \begin_inset Flex Code
10208 status collapsed
10209
10210 \begin_layout Plain Layout
10211 string
10212 \end_layout
10213
10214 \end_inset
10215
10216 ] [
10217 \begin_inset Flex Code
10218 status collapsed
10219
10220 \begin_layout Plain Layout
10221
10222 \emph on
10223 0
10224 \end_layout
10225
10226 \end_inset
10227
10228 ,
10229  
10230 \begin_inset Flex Code
10231 status collapsed
10232
10233 \begin_layout Plain Layout
10234 1
10235 \end_layout
10236
10237 \end_inset
10238
10239 ] Si la clase ya proporciona,
10240  o no,
10241  la característica 
10242 \begin_inset Flex Code
10243 status collapsed
10244
10245 \begin_layout Plain Layout
10246 string
10247 \end_layout
10248
10249 \end_inset
10250
10251 .
10252  Una característica es en general el nombre de un paquete (
10253 \begin_inset Flex Code
10254 status collapsed
10255
10256 \begin_layout Plain Layout
10257 amsmath
10258 \end_layout
10259
10260 \end_inset
10261
10262 ,
10263  
10264 \begin_inset Flex Code
10265 status collapsed
10266
10267 \begin_layout Plain Layout
10268 makeidx
10269 \end_layout
10270
10271 \end_inset
10272
10273 ,
10274  \SpecialChar ldots
10275 ) o una macro (
10276 \begin_inset Flex Code
10277 status collapsed
10278
10279 \begin_layout Plain Layout
10280 url
10281 \end_layout
10282
10283 \end_inset
10284
10285 ,
10286  
10287 \begin_inset Flex Code
10288 status collapsed
10289
10290 \begin_layout Plain Layout
10291 boldsymbol
10292 \end_layout
10293
10294 \end_inset
10295
10296 ,\SpecialChar ldots
10297 ).
10298  Véase en el capítulo
10299 \begin_inset space ~
10300 \end_inset
10301
10302
10303 \begin_inset CommandInset ref
10304 LatexCommand ref
10305 reference "cap:Lista-de-funciones"
10306 nolink "false"
10307
10308 \end_inset
10309
10310  la lista de características.
10311 \end_layout
10312
10313 \begin_layout Description
10314 \begin_inset Flex Code
10315 status collapsed
10316
10317 \begin_layout Plain Layout
10318 ProvidesModule
10319 \end_layout
10320
10321 \end_inset
10322
10323  [
10324 \begin_inset Flex Code
10325 status collapsed
10326
10327 \begin_layout Plain Layout
10328 string
10329 \end_layout
10330
10331 \end_inset
10332
10333 ] Indica que este formato proporciona la funcionalidad del módulo mencionado,
10334  que deberá especificarse con su nombre de archivo sin la extensión 
10335 \begin_inset Flex Code
10336 status collapsed
10337
10338 \begin_layout Plain Layout
10339 .module
10340 \end_layout
10341
10342 \end_inset
10343
10344 .
10345  Esto se usará típicamente si el formato incluye el módulo directamente,
10346  preferiblemente a usar la etiqueta 
10347 \begin_inset Flex Code
10348 status collapsed
10349
10350 \begin_layout Plain Layout
10351 DefaultModule
10352 \end_layout
10353
10354 \end_inset
10355
10356  para indicar que debería utilizarse.
10357  Podría ser empleado en un módulo que provea una implementación alternativa de la misma funcionalidad.
10358 \end_layout
10359
10360 \begin_layout Description
10361 \begin_inset Flex Code
10362 status collapsed
10363
10364 \begin_layout Plain Layout
10365 ProvideStyle
10366 \end_layout
10367
10368 \end_inset
10369
10370  [
10371 \begin_inset Flex Code
10372 status collapsed
10373
10374 \begin_layout Plain Layout
10375 <style>
10376 \end_layout
10377
10378 \end_inset
10379
10380 ] Crea un nuevo estilo (entorno) de párrafo si no existe.
10381  Si el estilo existe se ignora esta sección.
10382  Debe acabar con 
10383 \begin_inset Quotes eld
10384 \end_inset
10385
10386
10387 \begin_inset Flex Code
10388 status collapsed
10389
10390 \begin_layout Plain Layout
10391 End
10392 \end_layout
10393
10394 \end_inset
10395
10396
10397 \begin_inset Quotes erd
10398 \end_inset
10399
10400 .
10401 \end_layout
10402
10403 \begin_layout Description
10404 \begin_inset Flex Code
10405 status collapsed
10406
10407 \begin_layout Plain Layout
10408 Requires
10409 \end_layout
10410
10411 \end_inset
10412
10413  [
10414 \begin_inset Flex Code
10415 status collapsed
10416
10417 \begin_layout Plain Layout
10418 string
10419 \end_layout
10420
10421 \end_inset
10422
10423 ] Si la clase requiere la característica
10424 \begin_inset Flex Code
10425 status collapsed
10426
10427 \begin_layout Plain Layout
10428  string
10429 \end_layout
10430
10431 \end_inset
10432
10433 .
10434  Múltiples características deben separarse con comas.
10435  Multiple features must be separated by commas.
10436  Anotar que solo se pueden demandar características soportadas.
10437  (Véase la lista en el capítulo
10438 \begin_inset space ~
10439 \end_inset
10440
10441
10442 \begin_inset CommandInset ref
10443 LatexCommand ref
10444 reference "cap:Lista-de-funciones"
10445 nolink "false"
10446
10447 \end_inset
10448
10449 ).
10450  Si necesitas un paquete con opciones específicas puedes usar además 
10451 \begin_inset Flex Code
10452 status collapsed
10453
10454 \begin_layout Plain Layout
10455 PackageOptions
10456 \end_layout
10457
10458 \end_inset
10459
10460 .
10461 \end_layout
10462
10463 \begin_layout Description
10464 \begin_inset Flex Code
10465 status collapsed
10466
10467 \begin_layout Plain Layout
10468 RightMargin
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 ] Una cadena que indica la anchura del margen derecho en la pantalla,
10484  por ejemplo,
10485  
10486 \begin_inset Quotes cld
10487 \end_inset
10488
10489
10490 \begin_inset Flex Code
10491 status collapsed
10492
10493 \begin_layout Plain Layout
10494 MMMMM
10495 \end_layout
10496
10497 \end_inset
10498
10499
10500 \begin_inset Quotes crd
10501 \end_inset
10502
10503 .
10504 \end_layout
10505
10506 \begin_layout Description
10507 \begin_inset Flex Code
10508 status collapsed
10509
10510 \begin_layout Plain Layout
10511 SecNumDepth
10512 \end_layout
10513
10514 \end_inset
10515
10516  [
10517 \begin_inset Flex Code
10518 status collapsed
10519
10520 \begin_layout Plain Layout
10521 int=3
10522 \end_layout
10523
10524 \end_inset
10525
10526 ] Establece qué divisiones se numeran.
10527  Corresponde al contador \SpecialChar LaTeX
10528  
10529 \begin_inset Flex Code
10530 status collapsed
10531
10532 \begin_layout Plain Layout
10533 secnumdepth
10534 \end_layout
10535
10536 \end_inset
10537
10538 .
10539 \end_layout
10540
10541 \begin_layout Description
10542 \begin_inset Flex Code
10543 status collapsed
10544
10545 \begin_layout Plain Layout
10546 Sides
10547 \end_layout
10548
10549 \end_inset
10550
10551  [
10552 \emph on
10553
10554 \begin_inset Flex Code
10555 status collapsed
10556
10557 \begin_layout Plain Layout
10558 1
10559 \end_layout
10560
10561 \end_inset
10562
10563
10564 \emph default
10565 ,
10566 \begin_inset space \thinspace{}
10567 \end_inset
10568
10569
10570 \begin_inset Flex Code
10571 status collapsed
10572
10573 \begin_layout Plain Layout
10574 2
10575 \end_layout
10576
10577 \end_inset
10578
10579 ] Si debe imprimirse en una o en ambas caras del papel.
10580  Se puede cambiar en el diálogo 
10581 \begin_inset Flex Noun
10582 status collapsed
10583
10584 \begin_layout Plain Layout
10585 Documento\SpecialChar menuseparator
10586 Configuración
10587 \end_layout
10588
10589 \end_inset
10590
10591 .
10592 \end_layout
10593
10594 \begin_layout Description
10595 \begin_inset Flex Code
10596 status collapsed
10597
10598 \begin_layout Plain Layout
10599 Style
10600 \end_layout
10601
10602 \end_inset
10603
10604  [
10605 \begin_inset Flex Code
10606 status collapsed
10607
10608 \begin_layout Plain Layout
10609 <name>
10610 \end_layout
10611
10612 \end_inset
10613
10614 ] Esta secuencia define un nuevo estilo de párrafo.
10615  Si el estilo ya existe,
10616  en ese caso se redefinirán algunos de los parámetros.
10617  Véase la sección
10618 \begin_inset space ~
10619 \end_inset
10620
10621
10622 \begin_inset CommandInset ref
10623 LatexCommand ref
10624 reference "subsec:Estilos-de-párrafo"
10625 nolink "false"
10626
10627 \end_inset
10628
10629  para detalles.
10630  Debe terminarcon 
10631 \begin_inset Quotes cld
10632 \end_inset
10633
10634
10635 \begin_inset Flex Code
10636 status collapsed
10637
10638 \begin_layout Plain Layout
10639 End
10640 \end_layout
10641
10642 \end_inset
10643
10644
10645 \begin_inset Quotes crd
10646 \end_inset
10647
10648 .
10649 \end_layout
10650
10651 \begin_layout Description
10652 \begin_inset Flex Code
10653 status collapsed
10654
10655 \begin_layout Plain Layout
10656 TitleLatexName
10657 \end_layout
10658
10659 \end_inset
10660
10661  [
10662 \begin_inset Flex Code
10663 status collapsed
10664
10665 \begin_layout Plain Layout
10666 string="maketitle"
10667 \end_layout
10668
10669 \end_inset
10670
10671 ] El nombre del comando de entorno a usar con 
10672 \begin_inset Flex Code
10673 status collapsed
10674
10675 \begin_layout Plain Layout
10676 TitleLatexType
10677 \end_layout
10678
10679 \end_inset
10680
10681 .
10682 \end_layout
10683
10684 \begin_layout Description
10685 \begin_inset Flex Code
10686 status collapsed
10687
10688 \begin_layout Plain Layout
10689 TitleLatexType
10690 \end_layout
10691
10692 \end_inset
10693
10694  [
10695 \begin_inset Flex Code
10696 status collapsed
10697
10698 \begin_layout Plain Layout
10699
10700 \emph on
10701 CommandAfter
10702 \end_layout
10703
10704 \end_inset
10705
10706 ,
10707  
10708 \begin_inset Flex Code
10709 status collapsed
10710
10711 \begin_layout Plain Layout
10712 Environment
10713 \end_layout
10714
10715 \end_inset
10716
10717 ] Indica qué clase de diseño se emplea para definir el título de un documento.
10718  
10719 \begin_inset Flex Code
10720 status collapsed
10721
10722 \begin_layout Plain Layout
10723 CommandAfter
10724 \end_layout
10725
10726 \end_inset
10727
10728  significa que la macro con nombre 
10729 \begin_inset Flex Code
10730 status collapsed
10731
10732 \begin_layout Plain Layout
10733 TitleLatexName
10734 \end_layout
10735
10736 \end_inset
10737
10738  se insertará después del último formato que tiene 
10739 \begin_inset Quotes cld
10740 \end_inset
10741
10742
10743 \begin_inset Flex Code
10744 status collapsed
10745
10746 \begin_layout Plain Layout
10747 InTitle
10748 \begin_inset space ~
10749 \end_inset
10750
10751 1
10752 \end_layout
10753
10754 \end_inset
10755
10756
10757 \begin_inset Quotes crd
10758 \end_inset
10759
10760 .
10761  
10762 \begin_inset Flex Code
10763 status collapsed
10764
10765 \begin_layout Plain Layout
10766 Environment
10767 \end_layout
10768
10769 \end_inset
10770
10771  corresponde al caso en que todos los formatos que tienen 
10772 \begin_inset Quotes cld
10773 \end_inset
10774
10775
10776 \begin_inset Flex Code
10777 status collapsed
10778
10779 \begin_layout Plain Layout
10780 InTitle
10781 \begin_inset space ~
10782 \end_inset
10783
10784 1
10785 \end_layout
10786
10787 \end_inset
10788
10789
10790 \begin_inset Quotes crd
10791 \end_inset
10792
10793  debería ser incluido en el entorno 
10794 \begin_inset Flex Code
10795 status collapsed
10796
10797 \begin_layout Plain Layout
10798 TitleLatexName
10799 \end_layout
10800
10801 \end_inset
10802
10803 .
10804 \end_layout
10805
10806 \begin_layout Description
10807 \begin_inset Flex Code
10808 status collapsed
10809
10810 \begin_layout Plain Layout
10811 TocDepth
10812 \end_layout
10813
10814 \end_inset
10815
10816  [
10817 \begin_inset Flex Code
10818 status collapsed
10819
10820 \begin_layout Plain Layout
10821 int=3
10822 \end_layout
10823
10824 \end_inset
10825
10826 ] Establece qué divisiones se incluyen en el índice general.
10827  Corresponde al contador \SpecialChar LaTeX
10828  
10829 \begin_inset Flex Code
10830 status collapsed
10831
10832 \begin_layout Plain Layout
10833 tocdepth
10834 \end_layout
10835
10836 \end_inset
10837
10838 .
10839 \end_layout
10840
10841 \begin_layout Subsection
10842 Sección 
10843 \begin_inset Flex Code
10844 status collapsed
10845
10846 \begin_layout Plain Layout
10847 ClassOptions
10848 \end_layout
10849
10850 \end_inset
10851
10852
10853 \begin_inset CommandInset label
10854 LatexCommand label
10855 name "subsec:ClassOptions"
10856
10857 \end_inset
10858
10859
10860 \end_layout
10861
10862 \begin_layout Standard
10863 La sección 
10864 \begin_inset Flex Code
10865 status collapsed
10866
10867 \begin_layout Plain Layout
10868 ClassOptions
10869 \end_layout
10870
10871 \end_inset
10872
10873  puede contener las siguientes entradas:
10874 \end_layout
10875
10876 \begin_layout Description
10877 \begin_inset Flex Code
10878 status collapsed
10879
10880 \begin_layout Plain Layout
10881 FontSize
10882 \end_layout
10883
10884 \end_inset
10885
10886  [
10887 \begin_inset Flex Code
10888 status collapsed
10889
10890 \begin_layout Plain Layout
10891 string="10|11|12"
10892 \end_layout
10893
10894 \end_inset
10895
10896 ] La lista de los tamaños de carácter disponibles para la tipografía principal del documento,
10897  separados por 
10898 \begin_inset Quotes cld
10899 \end_inset
10900
10901
10902 \begin_inset Flex Code
10903 status collapsed
10904
10905 \begin_layout Plain Layout
10906 |
10907 \end_layout
10908
10909 \end_inset
10910
10911
10912 \begin_inset Quotes crd
10913 \end_inset
10914
10915 .
10916 \end_layout
10917
10918 \begin_layout Description
10919 \begin_inset Flex Code
10920 status collapsed
10921
10922 \begin_layout Plain Layout
10923 Header
10924 \end_layout
10925
10926 \end_inset
10927
10928  Para establecer la línea DTD con las clases con salida basada en XML.
10929  P.
10930 \begin_inset space \thinspace{}
10931 \end_inset
10932
10933 e.:
10934  PUBLIC 
10935 \begin_inset Quotes cld
10936 \end_inset
10937
10938 -//OASIS//DTD DocBook V4.2//EN
10939 \begin_inset Quotes crd
10940 \end_inset
10941
10942 .
10943 \end_layout
10944
10945 \begin_layout Description
10946 \begin_inset Flex Code
10947 status collapsed
10948
10949 \begin_layout Plain Layout
10950 Other
10951 \end_layout
10952
10953 \end_inset
10954
10955  [
10956 \begin_inset Flex Code
10957 status collapsed
10958
10959 \begin_layout Plain Layout
10960 string=""
10961 \end_layout
10962
10963 \end_inset
10964
10965 ] Algunas opciones de clase de documento,
10966  separadas por coma,
10967  que se añadirán a la parte opcional del comando 
10968 \begin_inset Flex Code
10969 status collapsed
10970
10971 \begin_layout Plain Layout
10972
10973 \backslash
10974 documentclass
10975 \end_layout
10976
10977 \end_inset
10978
10979 .
10980 \end_layout
10981
10982 \begin_layout Description
10983 \begin_inset Flex Code
10984 status collapsed
10985
10986 \begin_layout Plain Layout
10987 PageStyle
10988 \end_layout
10989
10990 \end_inset
10991
10992  [
10993 \begin_inset Flex Code
10994 status collapsed
10995
10996 \begin_layout Plain Layout
10997 string="empty|plain|headings|fancy"
10998 \end_layout
10999
11000 \end_inset
11001
11002 ] Lista de los estilos de página disponibles,
11003  separados por 
11004 \begin_inset Quotes cld
11005 \end_inset
11006
11007
11008 \begin_inset Flex Code
11009 status collapsed
11010
11011 \begin_layout Plain Layout
11012 |
11013 \end_layout
11014
11015 \end_inset
11016
11017
11018 \begin_inset Quotes crd
11019 \end_inset
11020
11021 .
11022 \end_layout
11023
11024 \begin_layout Standard
11025 La sección 
11026 \begin_inset Flex Code
11027 status collapsed
11028
11029 \begin_layout Plain Layout
11030 ClassOptions
11031 \end_layout
11032
11033 \end_inset
11034
11035  debe terminar con 
11036 \begin_inset Quotes cld
11037 \end_inset
11038
11039
11040 \begin_inset Flex Code
11041 status collapsed
11042
11043 \begin_layout Plain Layout
11044 End
11045 \end_layout
11046
11047 \end_inset
11048
11049
11050 \begin_inset Quotes crd
11051 \end_inset
11052
11053 .
11054 \end_layout
11055
11056 \begin_layout Subsection
11057 Estilos de párrafo
11058 \begin_inset CommandInset label
11059 LatexCommand label
11060 name "subsec:Estilos-de-párrafo"
11061
11062 \end_inset
11063
11064
11065 \end_layout
11066
11067 \begin_layout Standard
11068 Una descripción de estilo de párrafo tiene una aspecto como éste:
11069 \begin_inset Foot
11070 status collapsed
11071
11072 \begin_layout Plain Layout
11073 Anotar que esto definirá un nuevo diseño o modificará uno existente.
11074 \end_layout
11075
11076 \end_inset
11077
11078
11079 \end_layout
11080
11081 \begin_layout LyX-Code
11082 Style 
11083 \family roman
11084 \emph on
11085 name
11086 \end_layout
11087
11088 \begin_layout LyX-Code
11089  ...
11090 \end_layout
11091
11092 \begin_layout LyX-Code
11093 End
11094 \end_layout
11095
11096 \begin_layout Standard
11097 donde se permiten los comandos siguientes:
11098 \end_layout
11099
11100 \begin_layout Description
11101
11102 \lang english
11103 \begin_inset Flex Code
11104 status collapsed
11105
11106 \begin_layout Plain Layout
11107
11108 \lang english
11109 AddToToc
11110 \end_layout
11111
11112 \end_inset
11113
11114  [
11115 \begin_inset Flex Code
11116 status collapsed
11117
11118 \begin_layout Plain Layout
11119
11120 \lang english
11121 string
11122 \end_layout
11123
11124 \end_inset
11125
11126 =""] This paragraph will appear in the table of contents of the given type.
11127  An empty string disables.
11128  See also the OutlinerName and the IsTocCaption commands.
11129  Default:
11130  disabled.
11131 \end_layout
11132
11133 \begin_layout Description
11134 \begin_inset Flex Code
11135 status collapsed
11136
11137 \begin_layout Plain Layout
11138 Align
11139 \end_layout
11140
11141 \end_inset
11142
11143  [
11144 \begin_inset Flex Code
11145 status collapsed
11146
11147 \begin_layout Plain Layout
11148
11149 \emph on
11150 block
11151 \emph default
11152 ,
11153  left,
11154  right,
11155  center
11156 \end_layout
11157
11158 \end_inset
11159
11160 ] Alineación del párrafo.
11161 \end_layout
11162
11163 \begin_layout Description
11164 \begin_inset Flex Code
11165 status collapsed
11166
11167 \begin_layout Plain Layout
11168 AlignPossible
11169 \end_layout
11170
11171 \end_inset
11172
11173  [
11174 \begin_inset Flex Code
11175 status collapsed
11176
11177 \begin_layout Plain Layout
11178
11179 \emph on
11180 block
11181 \emph default
11182 ,
11183  left,
11184  right,
11185  center
11186 \end_layout
11187
11188 \end_inset
11189
11190 ] Una lista separada con comas de alineaciones permitidas.
11191  (Algunos estilos de \SpecialChar LaTeX
11192  prohiben ciertos alineamientos,
11193  ya que no tendrían sentido.
11194  Por ejemplo una alineación a la derecha o al centro de una lista numerada no es posible).
11195 \end_layout
11196
11197 \begin_layout Description
11198 \begin_inset Flex Code
11199 status collapsed
11200
11201 \begin_layout Plain Layout
11202 Argument
11203 \end_layout
11204
11205 \end_inset
11206
11207  [
11208 \begin_inset Flex Code
11209 status collapsed
11210
11211 \begin_layout Plain Layout
11212 int
11213 \end_layout
11214
11215 \end_inset
11216
11217 ] Define el número de argumento de un comando o entorno asociado al estilo actual.
11218  Es útil para cosas como encabezados de sección y solo tiene sentido con \SpecialChar LaTeX
11219 .
11220  Cada argumento (opcional o requerido) de un comando o entorno —
11221 excepto para el argumento requerido que se asocia con el contenido del propio párrafo—
11222  tiene una definición separada,
11223  en la que el número especifica el orden de los argumentos.
11224  La definición debe finalizar con 
11225 \begin_inset Flex Code
11226 status collapsed
11227
11228 \begin_layout Plain Layout
11229 EndArgument
11230 \end_layout
11231
11232 \end_inset
11233
11234 .
11235  Así,
11236  un comando con dos argumentos opcionales tiene:
11237 \end_layout
11238
11239 \begin_deeper
11240 \begin_layout Quote
11241
11242 \family typewriter
11243 Argument 1
11244 \end_layout
11245
11246 \begin_layout Quote
11247
11248 \family typewriter
11249 ...
11250 \end_layout
11251
11252 \begin_layout Quote
11253
11254 \family typewriter
11255 EndArgument
11256 \end_layout
11257
11258 \begin_layout Quote
11259
11260 \family typewriter
11261 Argument 2
11262 \end_layout
11263
11264 \begin_layout Quote
11265
11266 \family typewriter
11267 ...
11268 \end_layout
11269
11270 \begin_layout Quote
11271
11272 \family typewriter
11273 EndArgument
11274 \end_layout
11275
11276 \begin_layout Standard
11277 En la definición de 
11278 \begin_inset Flex Code
11279 status collapsed
11280
11281 \begin_layout Plain Layout
11282 Argument
11283 \end_layout
11284
11285 \end_inset
11286
11287  son posibles las siguientes especificaciones:
11288 \end_layout
11289
11290 \begin_layout Itemize
11291 \begin_inset Flex Code
11292 status collapsed
11293
11294 \begin_layout Plain Layout
11295 LabelString
11296 \end_layout
11297
11298 \end_inset
11299
11300  
11301 \begin_inset Flex Code
11302 status collapsed
11303
11304 \begin_layout Plain Layout
11305 [string]
11306 \end_layout
11307
11308 \end_inset
11309
11310  Secuencia que aparecerá tanto en el menú (a insertar este argumento) como en el botón de inserción del argumento (a menos que especifiques también un 
11311 \begin_inset Flex Code
11312 status collapsed
11313
11314 \begin_layout Plain Layout
11315 MenuString
11316 \end_layout
11317
11318 \end_inset
11319
11320  separado).
11321  Para el menú puedes definir un acelerador agregando el carácter respectivo a la secuencia,
11322  separado con 
11323 \begin_inset Quotes cld
11324 \end_inset
11325
11326 |
11327 \begin_inset Quotes crd
11328 \end_inset
11329
11330  (p.
11331 \begin_inset space \thinspace{}
11332 \end_inset
11333
11334 e.
11335 \begin_inset space \space{}
11336 \end_inset
11337
11338
11339 \begin_inset Quotes cld
11340 \end_inset
11341
11342
11343 \begin_inset Flex Code
11344 status collapsed
11345
11346 \begin_layout Plain Layout
11347 Short Title|S
11348 \end_layout
11349
11350 \end_inset
11351
11352
11353 \begin_inset Quotes crd
11354 \end_inset
11355
11356 ).
11357 \end_layout
11358
11359 \begin_layout Itemize
11360 \begin_inset Flex Code
11361 status collapsed
11362
11363 \begin_layout Plain Layout
11364 MenuString
11365 \end_layout
11366
11367 \end_inset
11368
11369  
11370 \begin_inset Flex Code
11371 status collapsed
11372
11373 \begin_layout Plain Layout
11374 [string]
11375 \end_layout
11376
11377 \end_inset
11378
11379  Secuencia separada para el menú Puedes definir un acelerador agregando el carácter respectivo a la secuencia,
11380  separado con 
11381 \begin_inset Quotes cld
11382 \end_inset
11383
11384 |
11385 \begin_inset Quotes crd
11386 \end_inset
11387
11388  (p.
11389 \begin_inset space \thinspace{}
11390 \end_inset
11391
11392 e.
11393 \begin_inset space \space{}
11394 \end_inset
11395
11396
11397 \begin_inset Quotes cld
11398 \end_inset
11399
11400
11401 \begin_inset Flex Code
11402 status collapsed
11403
11404 \begin_layout Plain Layout
11405 Short Title|S
11406 \end_layout
11407
11408 \end_inset
11409
11410
11411 \begin_inset Quotes crd
11412 \end_inset
11413
11414 ).
11415  Esta especificación es opcional.
11416  Si no se da se usará 
11417 \begin_inset Flex Code
11418 status collapsed
11419
11420 \begin_layout Plain Layout
11421 LabelString
11422 \end_layout
11423
11424 \end_inset
11425
11426  para el menú.
11427 \end_layout
11428
11429 \begin_layout Itemize
11430 \begin_inset Flex Code
11431 status collapsed
11432
11433 \begin_layout Plain Layout
11434 Tooltip
11435 \end_layout
11436
11437 \end_inset
11438
11439  
11440 \begin_inset Flex Code
11441 status collapsed
11442
11443 \begin_layout Plain Layout
11444 [string]
11445 \end_layout
11446
11447 \end_inset
11448
11449  Texto explicativo que se muestra en un recuadro sugerencia al planear sobre el recuadro del argumento.
11450 \end_layout
11451
11452 \begin_layout Itemize
11453 \begin_inset Flex Code
11454 status collapsed
11455
11456 \begin_layout Plain Layout
11457 Mandatory
11458 \end_layout
11459
11460 \end_inset
11461
11462  [
11463 \begin_inset Flex Code
11464 status collapsed
11465
11466 \begin_layout Plain Layout
11467
11468 \emph on
11469 0
11470 \end_layout
11471
11472 \end_inset
11473
11474 ,
11475 \begin_inset space \thinspace{}
11476 \end_inset
11477
11478
11479 \begin_inset Flex Code
11480 status collapsed
11481
11482 \begin_layout Plain Layout
11483 1
11484 \end_layout
11485
11486 \end_inset
11487
11488 ] Declara si es argumento obligatorio (1) u opcional (0).
11489  Los argumentos obligatorios se emitirán vacíos si no se dan,
11490  mientras que los opcionales no serán emitidos.
11491  Por omisión,
11492  los argumentos obligatorios se delimitan con 
11493 \begin_inset Flex Code
11494 status collapsed
11495
11496 \begin_layout Plain Layout
11497 {...}
11498 \end_layout
11499
11500 \end_inset
11501
11502  y los opcionales con 
11503 \begin_inset Flex Code
11504 status collapsed
11505
11506 \begin_layout Plain Layout
11507 [...]
11508 \end_layout
11509
11510 \end_inset
11511
11512
11513 \end_layout
11514
11515 \begin_layout Itemize
11516 \begin_inset Flex Code
11517 status collapsed
11518
11519 \begin_layout Plain Layout
11520 Requires
11521 \end_layout
11522
11523 \end_inset
11524
11525  
11526 \begin_inset Flex Code
11527 status collapsed
11528
11529 \begin_layout Plain Layout
11530 [int=0]
11531 \end_layout
11532
11533 \end_inset
11534
11535  define otro argumento (por su número) que este argumento requiere para emitirse si él mismo es emitido.
11536  P.
11537 \begin_inset space \thinspace{}
11538 \end_inset
11539
11540 e.,
11541  en comandos \SpecialChar LaTeX
11542 ,
11543  los argumentos opcionales requieren a menudo argumentos opcionales previos para ser emitidos (al menos vacíos),
11544  como en
11545 \begin_inset Newline newline
11546 \end_inset
11547
11548
11549 \begin_inset Flex Code
11550 status collapsed
11551
11552 \begin_layout Plain Layout
11553
11554 \backslash
11555 command[][argument]{text}
11556 \end_layout
11557
11558 \end_inset
11559
11560 .
11561  Esto se puede conseguir con la declaración 
11562 \begin_inset Flex Code
11563 status collapsed
11564
11565 \begin_layout Plain Layout
11566 Requires 1
11567 \end_layout
11568
11569 \end_inset
11570
11571  dentro de 
11572 \begin_inset Flex Code
11573 status collapsed
11574
11575 \begin_layout Plain Layout
11576 Argument 2
11577 \end_layout
11578
11579 \end_inset
11580
11581 .
11582 \end_layout
11583
11584 \begin_layout Itemize
11585 \begin_inset Flex Code
11586 status collapsed
11587
11588 \begin_layout Plain Layout
11589 LeftDelim
11590 \end_layout
11591
11592 \end_inset
11593
11594  
11595 \begin_inset Flex Code
11596 status collapsed
11597
11598 \begin_layout Plain Layout
11599 [string]
11600 \end_layout
11601
11602 \end_inset
11603
11604  define un delimitador izquierdo personalizado (en vez de 
11605 \begin_inset Flex Code
11606 status collapsed
11607
11608 \begin_layout Plain Layout
11609 {
11610 \end_layout
11611
11612 \end_inset
11613
11614  o 
11615 \begin_inset Flex Code
11616 status collapsed
11617
11618 \begin_layout Plain Layout
11619 [
11620 \end_layout
11621
11622 \end_inset
11623
11624 ).
11625  Un salto de línea en la salida se puede indicar con 
11626 \begin_inset Flex Code
11627 status collapsed
11628
11629 \begin_layout Plain Layout
11630 <br/>
11631 \end_layout
11632
11633 \end_inset
11634
11635 .
11636 \end_layout
11637
11638 \begin_layout Itemize
11639 \begin_inset Flex Code
11640 status collapsed
11641
11642 \begin_layout Plain Layout
11643 RightDelim
11644 \end_layout
11645
11646 \end_inset
11647
11648  
11649 \begin_inset Flex Code
11650 status collapsed
11651
11652 \begin_layout Plain Layout
11653 [string]
11654 \end_layout
11655
11656 \end_inset
11657
11658  define un delimitador derecho personalizado (en vez de 
11659 \begin_inset Flex Code
11660 status collapsed
11661
11662 \begin_layout Plain Layout
11663 }
11664 \end_layout
11665
11666 \end_inset
11667
11668  o 
11669 \begin_inset Flex Code
11670 status collapsed
11671
11672 \begin_layout Plain Layout
11673 ]
11674 \end_layout
11675
11676 \end_inset
11677
11678 ).
11679  Un salto de línea en la salida se puede indicar con 
11680 \begin_inset Flex Code
11681 status collapsed
11682
11683 \begin_layout Plain Layout
11684 <br/>
11685 \end_layout
11686
11687 \end_inset
11688
11689 .
11690 \end_layout
11691
11692 \begin_layout Itemize
11693 \begin_inset Flex Code
11694 status collapsed
11695
11696 \begin_layout Plain Layout
11697 DefaultArg
11698 \end_layout
11699
11700 \end_inset
11701
11702  
11703 \begin_inset Flex Code
11704 status collapsed
11705
11706 \begin_layout Plain Layout
11707 [string]
11708 \end_layout
11709
11710 \end_inset
11711
11712  define un argumento que se inserta si y solo si no se han dado argumentos específicos del usuario,
11713  o sea,
11714  si no se ha insertado ningún recuadro de argumento (también un recuadro de argumento vacío omite DefaultArg).
11715  Múltiples argumentos deben separarse con comas.
11716 \end_layout
11717
11718 \begin_layout Itemize
11719 \begin_inset Flex Code
11720 status collapsed
11721
11722 \begin_layout Plain Layout
11723 PresetArg
11724 \end_layout
11725
11726 \end_inset
11727
11728  
11729 \begin_inset Flex Code
11730 status collapsed
11731
11732 \begin_layout Plain Layout
11733 [string]
11734 \end_layout
11735
11736 \end_inset
11737
11738  define un argumento que se inserta en cualquier caso (solo o añadido a argumentos especificados por el usuario).
11739  Múltiples argumentos deben separarse con comas.
11740 \end_layout
11741
11742 \begin_layout Itemize
11743 \begin_inset Flex Code
11744 status collapsed
11745
11746 \begin_layout Plain Layout
11747 Font
11748 \end_layout
11749
11750 \end_inset
11751
11752  Tipografía usada para el contenido del argumento,
11753  véase 
11754 \begin_inset CommandInset ref
11755 LatexCommand ref
11756 reference "subsec:Tipografía"
11757 nolink "false"
11758
11759 \end_inset
11760
11761 .
11762 \end_layout
11763
11764 \begin_layout Itemize
11765 \begin_inset Flex Code
11766 status collapsed
11767
11768 \begin_layout Plain Layout
11769 LabelFont
11770 \end_layout
11771
11772 \end_inset
11773
11774  Tipografía usada para la etiqueta,
11775  véase 
11776 \begin_inset CommandInset ref
11777 LatexCommand ref
11778 reference "subsec:Tipografía"
11779 nolink "false"
11780
11781 \end_inset
11782
11783 .
11784 \end_layout
11785
11786 \begin_layout Itemize
11787 \begin_inset Flex Code
11788 status collapsed
11789
11790 \begin_layout Plain Layout
11791 Decoration
11792 \end_layout
11793
11794 \end_inset
11795
11796  [
11797 \begin_inset Flex Code
11798 status collapsed
11799
11800 \begin_layout Plain Layout
11801
11802 \emph on
11803 Classic
11804 \emph default
11805 ,
11806  Minimalistic,
11807  Conglomerate
11808 \end_layout
11809
11810 \end_inset
11811
11812 ] describe el estilo de representación para los botones y el marco del recuadro de inserción.
11813 \end_layout
11814
11815 \begin_layout Itemize
11816 \begin_inset Flex Code
11817 status collapsed
11818
11819 \begin_layout Plain Layout
11820 AutoInsert
11821 \end_layout
11822
11823 \end_inset
11824
11825  
11826 \begin_inset Flex Code
11827 status collapsed
11828
11829 \begin_layout Plain Layout
11830 [int=0]
11831 \end_layout
11832
11833 \end_inset
11834
11835  Si se pone 
11836 \begin_inset Flex Code
11837 status collapsed
11838
11839 \begin_layout Plain Layout
11840 1
11841 \end_layout
11842
11843 \end_inset
11844
11845 ,
11846  este argumento se inserta automáticamente cuando se selecciona el estilo respectivo.
11847  Actualmente solo se puede insertar automaticamente un argumento por estilo\SpecialChar breakableslash
11848 formato.
11849 \end_layout
11850
11851 \begin_layout Itemize
11852 \begin_inset Flex Code
11853 status collapsed
11854
11855 \begin_layout Plain Layout
11856 InsertCotext
11857 \end_layout
11858
11859 \end_inset
11860
11861  
11862 \begin_inset Flex Code
11863 status collapsed
11864
11865 \begin_layout Plain Layout
11866 [int=0]
11867 \end_layout
11868
11869 \end_inset
11870
11871  Si se pone 
11872 \begin_inset Flex Code
11873 status collapsed
11874
11875 \begin_layout Plain Layout
11876 1
11877 \end_layout
11878
11879 \end_inset
11880
11881 ,
11882  este argumento se insertará con una copia del co-texto (texto seleccionado o párrafo completo) como contenido.
11883 \end_layout
11884
11885 \begin_layout Itemize
11886
11887 \lang english
11888 \begin_inset Flex Code
11889 status collapsed
11890
11891 \begin_layout Plain Layout
11892
11893 \lang english
11894 PassThru
11895 \end_layout
11896
11897 \end_inset
11898
11899  [
11900 \begin_inset Flex Code
11901 status collapsed
11902
11903 \begin_layout Plain Layout
11904
11905 \emph on
11906 \lang english
11907 inherited
11908 \emph default
11909 ,
11910  true,
11911  false
11912 \end_layout
11913
11914 \end_inset
11915
11916 ] Whether the contents of this argument should be output in raw form,
11917  meaning without special translations that \SpecialChar LaTeX
11918  would require.
11919  By default,
11920  the 
11921 \begin_inset Flex Code
11922 status collapsed
11923
11924 \begin_layout Plain Layout
11925
11926 \lang english
11927 PassThru
11928 \end_layout
11929
11930 \end_inset
11931
11932  status is inherited by the inset or paragraph layout the argument belongs to,
11933  true and false change the status for the given argument only.
11934 \end_layout
11935
11936 \begin_layout Itemize
11937 \begin_inset Flex Code
11938 status collapsed
11939
11940 \begin_layout Plain Layout
11941 PassThruChars
11942 \end_layout
11943
11944 \end_inset
11945
11946  [
11947 \begin_inset Flex Code
11948 status collapsed
11949
11950 \begin_layout Plain Layout
11951 string of characters
11952 \end_layout
11953
11954 \end_inset
11955
11956 ]
11957 \family typewriter
11958  
11959 \family default
11960 Define caracteres individuales que deberían emitirse en bruto,
11961  es decir,
11962  sin traducciones especiales que podría requerir \SpecialChar LaTeX
11963 .
11964  Al contrario que PassThru,
11965  esto debe ser explícitamente definido para argumentos.
11966  Esto es,
11967  los argumentos no heredan PassThruChars de su recuadro de inserción o formato padre.
11968 \end_layout
11969
11970 \begin_layout Itemize
11971
11972 \lang english
11973 \begin_inset Flex Code
11974 status collapsed
11975
11976 \begin_layout Plain Layout
11977
11978 \lang english
11979 IsTocCaption
11980 \end_layout
11981
11982 \end_inset
11983
11984  [
11985 \begin_inset Flex Code
11986 status collapsed
11987
11988 \begin_layout Plain Layout
11989
11990 \emph on
11991 \lang english
11992 0
11993 \end_layout
11994
11995 \end_inset
11996
11997 ,
11998 \begin_inset space \thinspace{}
11999 \end_inset
12000
12001
12002 \begin_inset Flex Code
12003 status collapsed
12004
12005 \begin_layout Plain Layout
12006
12007 \lang english
12008 1
12009 \end_layout
12010
12011 \end_inset
12012
12013 ] If this is set to 1,
12014  the argument will output its content in the corresponding item in the table of contents.
12015  See AddToToc.
12016 \end_layout
12017
12018 \begin_layout Standard
12019 Por omisión,
12020  el texto introducido en el área de trabajo de \SpecialChar LyX
12021  en el archivo respectivo de formato es el último argumento (obligatorio) de un comando si 
12022 \begin_inset Flex Code
12023 status collapsed
12024
12025 \begin_layout Plain Layout
12026 LatexType
12027 \end_layout
12028
12029 \end_inset
12030
12031  es 
12032 \begin_inset Flex Code
12033 status collapsed
12034
12035 \begin_layout Plain Layout
12036 Command
12037 \end_layout
12038
12039 \end_inset
12040
12041 .
12042  Sin embargo,
12043  los argumentos con el prefijo 
12044 \begin_inset Flex Code
12045 status collapsed
12046
12047 \begin_layout Plain Layout
12048 post:
12049 \end_layout
12050
12051 \end_inset
12052
12053  se emiten después de este argumento de área de trabajo.
12054  La numeración de este post-argumento reinicia a 1,
12055  así que el primer argumento siguiente al del área de trabajo es 
12056 \begin_inset Flex Code
12057 status collapsed
12058
12059 \begin_layout Plain Layout
12060 post:1
12061 \end_layout
12062
12063 \end_inset
12064
12065 .
12066  Los post-argumentos se ignoran en cualquier otro 
12067 \begin_inset Flex Code
12068 status collapsed
12069
12070 \begin_layout Plain Layout
12071 LatexType
12072 \end_layout
12073
12074 \end_inset
12075
12076  distinto de 
12077 \begin_inset Flex Code
12078 status collapsed
12079
12080 \begin_layout Plain Layout
12081 Command
12082 \end_layout
12083
12084 \end_inset
12085
12086 .
12087 \end_layout
12088
12089 \begin_layout Standard
12090 Los argumentos para 
12091 \begin_inset Flex Code
12092 status collapsed
12093
12094 \begin_layout Plain Layout
12095
12096 \backslash
12097 item
12098 \end_layout
12099
12100 \end_inset
12101
12102 s de lista (como en 
12103 \begin_inset Flex Code
12104 status collapsed
12105
12106 \begin_layout Plain Layout
12107
12108 \backslash
12109 item[foo]
12110 \end_layout
12111
12112 \end_inset
12113
12114 ) tienen el prefijo 
12115 \begin_inset Flex Code
12116 status collapsed
12117
12118 \begin_layout Plain Layout
12119 item:
12120 \end_layout
12121
12122 \end_inset
12123
12124  seguido por el número (p.
12125 \begin_inset space \thinspace{}
12126 \end_inset
12127
12128 e.
12129 \begin_inset space \space{}
12130 \end_inset
12131
12132
12133 \begin_inset Flex Code
12134 status collapsed
12135
12136 \begin_layout Plain Layout
12137 Argument item:1
12138 \end_layout
12139
12140 \end_inset
12141
12142 )
12143 \end_layout
12144
12145 \end_deeper
12146 \begin_layout Description
12147
12148 \lang english
12149 \begin_inset Flex Code
12150 status collapsed
12151
12152 \begin_layout Plain Layout
12153
12154 \lang english
12155 AutoNests
12156 \end_layout
12157
12158 \end_inset
12159
12160  Includes a comma-separated list of layouts that should be nested in and after the current layout.
12161  Only makes sense for nestable layouts (such as environments).
12162  Must be ended by 
12163 \begin_inset Quotes eld
12164 \end_inset
12165
12166
12167 \begin_inset Flex Code
12168 status collapsed
12169
12170 \begin_layout Plain Layout
12171
12172 \lang english
12173 EndAutoNests
12174 \end_layout
12175
12176 \end_inset
12177
12178
12179 \begin_inset Quotes erd
12180 \end_inset
12181
12182 .
12183  See also 
12184 \begin_inset Flex Code
12185 status collapsed
12186
12187 \begin_layout Plain Layout
12188
12189 \lang english
12190 IsAutoNestedBy
12191 \end_layout
12192
12193 \end_inset
12194
12195 .
12196 \end_layout
12197
12198 \begin_layout Description
12199 \begin_inset Flex Code
12200 status collapsed
12201
12202 \begin_layout Plain Layout
12203 BabelPreamble
12204 \end_layout
12205
12206 \end_inset
12207
12208  Esto sobrescribirá completamente cualquier anterior declaración
12209 \begin_inset Newline newline
12210 \end_inset
12211
12212
12213 \begin_inset Flex Code
12214 status collapsed
12215
12216 \begin_layout Plain Layout
12217 BabelPreamble
12218 \end_layout
12219
12220 \end_inset
12221
12222  para este estilo.
12223  Debe terminar con 
12224 \begin_inset Quotes eld
12225 \end_inset
12226
12227
12228 \begin_inset Flex Code
12229 status collapsed
12230
12231 \begin_layout Plain Layout
12232 EndBabelPreamble
12233 \end_layout
12234
12235 \end_inset
12236
12237
12238 \begin_inset Quotes erd
12239 \end_inset
12240
12241 .
12242  Véase la sección
12243 \begin_inset space ~
12244 \end_inset
12245
12246
12247 \begin_inset CommandInset ref
12248 LatexCommand ref
12249 reference "subsec:I18n"
12250 nolink "false"
12251
12252 \end_inset
12253
12254  para detalles sobre su uso.
12255 \end_layout
12256
12257 \begin_layout Description
12258 \begin_inset Flex Code
12259 status collapsed
12260
12261 \begin_layout Plain Layout
12262 BottomSep
12263 \end_layout
12264
12265 \end_inset
12266
12267  [
12268 \begin_inset Flex Code
12269 status collapsed
12270
12271 \begin_layout Plain Layout
12272 float=0
12273 \end_layout
12274
12275 \end_inset
12276
12277 ]
12278 \begin_inset Foot
12279 status collapsed
12280
12281 \begin_layout Plain Layout
12282 Anotar que aquí un 'float' es un número real,
12283  como:
12284  1.5.
12285 \end_layout
12286
12287 \end_inset
12288
12289  El espacio vertical con el que el último de una cadena de párrafos con este estilo se separa del siguiente párrafo.
12290  Si el párrafo siguiente tiene otro estilo,
12291  las separaciones no son simplemente añadidas sino que se pone la máxima.
12292 \end_layout
12293
12294 \begin_layout Description
12295 \begin_inset Flex Code
12296 status collapsed
12297
12298 \begin_layout Plain Layout
12299 Category
12300 \end_layout
12301
12302 \end_inset
12303
12304  
12305 \begin_inset Flex Code
12306 status collapsed
12307
12308 \begin_layout Plain Layout
12309 [string]
12310 \end_layout
12311
12312 \end_inset
12313
12314  La categoría para este estilo.
12315  Se usa para agrupar estilos relacionados en el recuadro de estilo en la barra de herramientas.
12316  Se puede poner cualquier cadena en 'string' pero mejor usar categorías existentes con tus propios estilos.
12317 \end_layout
12318
12319 \begin_layout Description
12320 \begin_inset Flex Code
12321 status collapsed
12322
12323 \begin_layout Plain Layout
12324 CommandDepth
12325 \end_layout
12326
12327 \end_inset
12328
12329  Profundidad del comando XML.
12330  Usado solo con formatos tipo XML.
12331 \end_layout
12332
12333 \begin_layout Description
12334 \begin_inset Flex Code
12335 status collapsed
12336
12337 \begin_layout Plain Layout
12338 CopyStyle
12339 \end_layout
12340
12341 \end_inset
12342
12343  
12344 \begin_inset Flex Code
12345 status collapsed
12346
12347 \begin_layout Plain Layout
12348 [string]
12349 \end_layout
12350
12351 \end_inset
12352
12353  Copia todas las características de un estilo existente en el actual.
12354  
12355 \end_layout
12356
12357 \begin_layout Description
12358 \begin_inset Flex Code
12359 status collapsed
12360
12361 \begin_layout Plain Layout
12362 DependsOn
12363 \end_layout
12364
12365 \end_inset
12366
12367  [
12368 \begin_inset Flex Code
12369 status collapsed
12370
12371 \begin_layout Plain Layout
12372 <name>
12373 \end_layout
12374
12375 \end_inset
12376
12377 ] El nombre de un estilo cuyo preámbulo debería salir 
12378 \emph on
12379 antes
12380 \emph default
12381  que éste.
12382  Esto permite asegurar un orden de los retazos de preámbulo si las definiciones de macros dependen de otra.
12383 \begin_inset Foot
12384 status collapsed
12385
12386 \begin_layout Plain Layout
12387 Anotar que,
12388  excepto esta funcionalidad,
12389  no hay forma de asegurar ningún orden de los preámbulos.
12390  El orden que se ve en una versión dada de \SpecialChar LyX
12391  puede cambiar sin previo aviso en versiones posteriores.
12392 \end_layout
12393
12394 \end_inset
12395
12396
12397 \end_layout
12398
12399 \begin_layout Description
12400 \begin_inset Flex Code
12401 status collapsed
12402
12403 \begin_layout Plain Layout
12404 EndLabelType
12405 \end_layout
12406
12407 \end_inset
12408
12409  [
12410 \begin_inset Flex Code
12411 status collapsed
12412
12413 \begin_layout Plain Layout
12414
12415 \emph on
12416 No_Label
12417 \emph default
12418 ,
12419  Box,
12420  Filled_Box,
12421  Static
12422 \end_layout
12423
12424 \end_inset
12425
12426 ] El tipo de etiqueta que se pone al final del párrafo (o secuencia de párrafos si 
12427 \begin_inset Flex Code
12428 status collapsed
12429
12430 \begin_layout Plain Layout
12431 LatexType
12432 \end_layout
12433
12434 \end_inset
12435
12436  es 
12437 \begin_inset Flex Code
12438 status collapsed
12439
12440 \begin_layout Plain Layout
12441 Environment
12442 \end_layout
12443
12444 \end_inset
12445
12446 ,
12447  
12448 \begin_inset Flex Code
12449 status collapsed
12450
12451 \begin_layout Plain Layout
12452 Item_Environment
12453 \end_layout
12454
12455 \end_inset
12456
12457  o 
12458 \begin_inset Flex Code
12459 status collapsed
12460
12461 \begin_layout Plain Layout
12462 List_Environment
12463 \end_layout
12464
12465 \end_inset
12466
12467 ).
12468  
12469 \begin_inset Flex Code
12470 status collapsed
12471
12472 \begin_layout Plain Layout
12473 No_Label
12474 \end_layout
12475
12476 \end_inset
12477
12478  quiere decir 
12479 \begin_inset Quotes cld
12480 \end_inset
12481
12482 nada
12483 \begin_inset Quotes crd
12484 \end_inset
12485
12486 ,
12487  
12488 \begin_inset Flex Code
12489 status collapsed
12490
12491 \begin_layout Plain Layout
12492 Box
12493 \end_layout
12494
12495 \end_inset
12496
12497  (resp.
12498 \begin_inset Flex Code
12499 status collapsed
12500
12501 \begin_layout Plain Layout
12502 \begin_inset space ~
12503 \end_inset
12504
12505 Filled_Box
12506 \end_layout
12507
12508 \end_inset
12509
12510 ) es un cuadrado blanco (resp.
12511 \begin_inset space ~
12512 \end_inset
12513
12514 negro) adecuado para marcas finales de demostraciones,
12515  
12516 \begin_inset Flex Code
12517 status collapsed
12518
12519 \begin_layout Plain Layout
12520 Static
12521 \end_layout
12522
12523 \end_inset
12524
12525  es una cadena de texto explícito.
12526 \end_layout
12527
12528 \begin_layout Description
12529 \begin_inset Flex Code
12530 status collapsed
12531
12532 \begin_layout Plain Layout
12533 EndLabelString
12534 \end_layout
12535
12536 \end_inset
12537
12538  [
12539 \begin_inset Flex Code
12540 status collapsed
12541
12542 \begin_layout Plain Layout
12543 string=""
12544 \end_layout
12545
12546 \end_inset
12547
12548 ] La secuencia usada para una etiqueta con un 
12549 \begin_inset Flex Code
12550 status collapsed
12551
12552 \begin_layout Plain Layout
12553 Static
12554 \end_layout
12555
12556 \end_inset
12557
12558  
12559 \begin_inset Flex Code
12560 status collapsed
12561
12562 \begin_layout Plain Layout
12563 EndLabelType
12564 \end_layout
12565
12566 \end_inset
12567
12568 .
12569  
12570 \end_layout
12571
12572 \begin_layout Description
12573 \begin_inset Foot
12574 status collapsed
12575
12576 \begin_layout Plain Layout
12577
12578 \emph on
12579 Nota de Jean-Marc:
12580
12581 \emph default
12582  No estoy seguro de que estas configuraciones (Fill_Bottom,
12583  Fill_Top) tengan mucho uso,
12584  y probablemente se quitarán en próximas versiones.
12585 \end_layout
12586
12587 \end_inset
12588
12589
12590 \begin_inset Note Note
12591 status collapsed
12592
12593 \begin_layout Plain Layout
12594 No encuentro 
12595 \begin_inset Quotes cld
12596 \end_inset
12597
12598 Espacio vertical encima
12599 \begin_inset Quotes crd
12600 \end_inset
12601
12602  ni 
12603 \begin_inset Quotes cld
12604 \end_inset
12605
12606 Espacio vertical abajo
12607 \begin_inset Quotes erd
12608 \end_inset
12609
12610  en Editar\SpecialChar menuseparator
12611 Configuración de párrafo,
12612  esto parece obsoleto,
12613  como dice Jean-Marc (Nota de J.P.
12614  Chrétien,
12615  feb.
12616  2011)
12617 \end_layout
12618
12619 \end_inset
12620
12621
12622 \end_layout
12623
12624 \begin_layout Description
12625 \begin_inset Flex Code
12626 status collapsed
12627
12628 \begin_layout Plain Layout
12629 Font
12630 \end_layout
12631
12632 \end_inset
12633
12634  La tipografía usada para el cuerpo del texto 
12635 \emph on
12636 y
12637 \emph default
12638  para la etiqueta.
12639  Véase la sección
12640 \begin_inset space ~
12641 \end_inset
12642
12643
12644 \begin_inset CommandInset ref
12645 LatexCommand ref
12646 reference "subsec:Tipografía"
12647 nolink "false"
12648
12649 \end_inset
12650
12651 .
12652  Anotar que al definir esta tipografía se define automáticamente la de la etiqueta,
12653  
12654 \begin_inset Flex Code
12655 status collapsed
12656
12657 \begin_layout Plain Layout
12658 LabelFont
12659 \end_layout
12660
12661 \end_inset
12662
12663 .
12664  Así que debería definirse primero ésta si se quiere definir también 
12665 \begin_inset Flex Code
12666 status collapsed
12667
12668 \begin_layout Plain Layout
12669 LabelFont
12670 \end_layout
12671
12672 \end_inset
12673
12674 .
12675 \end_layout
12676
12677 \begin_layout Description
12678 \begin_inset Flex Code
12679 status collapsed
12680
12681 \begin_layout Plain Layout
12682 ForceLocal
12683 \end_layout
12684
12685 \end_inset
12686
12687  [
12688 \begin_inset Flex Code
12689 status collapsed
12690
12691 \begin_layout Plain Layout
12692 int=0
12693 \end_layout
12694
12695 \end_inset
12696
12697 ] Se usa para compatibilizar estilos nuevos a versiones estables de \SpecialChar LyX
12698 .
12699  La primera versión estable que soporta esta etiqueta es \SpecialChar LyX
12700  2.1.0.
12701  El argumento es un número 0,
12702  -1 o cualquier valor mayor de cero.
12703  Si el indicador 
12704 \begin_inset Flex Code
12705 status collapsed
12706
12707 \begin_layout Plain Layout
12708 ForceLocal
12709 \end_layout
12710
12711 \end_inset
12712
12713  de un estilo es mayor que cero,
12714  se escribirá siempre en la cabecera del documento.
12715  Si un archivo .lyx es leido,
12716  las definiciones de estilo de la cabecera del documento se añaden a la clase de documento.
12717  Por eso,
12718  incluso versiones anteriores de \SpecialChar LyX
12719  pueden manejar el estilo.
12720  El argumento de 
12721 \begin_inset Flex Code
12722 status collapsed
12723
12724 \begin_layout Plain Layout
12725 ForceLocal
12726 \end_layout
12727
12728 \end_inset
12729
12730  es un número de versión:
12731  si el estilo es leido,
12732  y el número de versión es menor que el número de versión del estilo existente en la clase de documento,
12733  el nuevo se ignora.
12734  Si el número de versión es mayor,
12735  el estilo nuevo reemplaza al existente.
12736  -1 significa un número de versión infinito,
12737  o sea,
12738  el estilo se usa siempre.
12739 \end_layout
12740
12741 \begin_layout Description
12742 \begin_inset Flex Code
12743 status collapsed
12744
12745 \begin_layout Plain Layout
12746 FreeSpacing
12747 \end_layout
12748
12749 \end_inset
12750
12751  [
12752 \emph on
12753
12754 \begin_inset Flex Code
12755 status collapsed
12756
12757 \begin_layout Plain Layout
12758 0
12759 \end_layout
12760
12761 \end_inset
12762
12763
12764 \emph default
12765 ,
12766 \begin_inset space \thinspace{}
12767 \end_inset
12768
12769
12770 \begin_inset Flex Code
12771 status collapsed
12772
12773 \begin_layout Plain Layout
12774 1
12775 \end_layout
12776
12777 \end_inset
12778
12779 ] Usualmente \SpecialChar LyX
12780  no permite insertar más de un espacio entre palabras,
12781  puesto que un espacio se considera como la separación entre dos palabras,
12782  no un carácter o símbolo por sí mismo.
12783  Esto es una buena cosa pero a veces puede ser molesta,
12784  por ejemplo,
12785  para escribir código de programas o de \SpecialChar LaTeX
12786  puro.
12787  Por esta razón se puede habilitar 
12788 \begin_inset Flex Code
12789 status collapsed
12790
12791 \begin_layout Plain Layout
12792 FreeSpacing
12793 \end_layout
12794
12795 \end_inset
12796
12797 .
12798  Anotar que \SpecialChar LyX
12799  creará espacios protegidos para los espacios adicionales en modos que no sean \SpecialChar LaTeX
12800 .
12801  
12802 \end_layout
12803
12804 \begin_layout Description
12805 \begin_inset Flex Code
12806 status collapsed
12807
12808 \begin_layout Plain Layout
12809 HTML*
12810 \end_layout
12811
12812 \end_inset
12813
12814  Para la salida XHTML.
12815  Véase 
12816 \begin_inset CommandInset ref
12817 LatexCommand ref
12818 reference "subsec:Estilos-de-párrafo-XHTML"
12819 nolink "false"
12820
12821 \end_inset
12822
12823 .
12824 \end_layout
12825
12826 \begin_layout Description
12827 \begin_inset Flex Code
12828 status collapsed
12829
12830 \begin_layout Plain Layout
12831 InnerTag
12832 \end_layout
12833
12834 \end_inset
12835
12836  [[FIXME]] (Usado solo con formatos tipo XML.)
12837 \end_layout
12838
12839 \begin_layout Description
12840 \begin_inset Flex Code
12841 status collapsed
12842
12843 \begin_layout Plain Layout
12844 InPreamble
12845 \end_layout
12846
12847 \end_inset
12848
12849  [
12850 \emph on
12851
12852 \begin_inset Flex Code
12853 status collapsed
12854
12855 \begin_layout Plain Layout
12856
12857 \emph on
12858 0
12859 \end_layout
12860
12861 \end_inset
12862
12863
12864 \emph default
12865 ,
12866 \begin_inset space \thinspace{}
12867 \end_inset
12868
12869
12870 \begin_inset Flex Code
12871 status collapsed
12872
12873 \begin_layout Plain Layout
12874 1
12875 \end_layout
12876
12877 \end_inset
12878
12879 ] Si 
12880 \begin_inset Flex Code
12881 status collapsed
12882
12883 \begin_layout Plain Layout
12884 1
12885 \end_layout
12886
12887 \end_inset
12888
12889 ,
12890  marca el estilo para ser incluido en el preámbulo del documento en lugar de en el cuerpo del documento.
12891  Útil para clases de documento que piden informaciones tales como título y autor en el preámbulo.
12892  Esto solo funciona para estilos para los que 
12893 \begin_inset Flex Code
12894 status collapsed
12895
12896 \begin_layout Plain Layout
12897 LatexType
12898 \end_layout
12899
12900 \end_inset
12901
12902  es 
12903 \begin_inset Flex Code
12904 status collapsed
12905
12906 \begin_layout Plain Layout
12907 Command
12908 \end_layout
12909
12910 \end_inset
12911
12912  o 
12913 \begin_inset Flex Code
12914 status collapsed
12915
12916 \begin_layout Plain Layout
12917 Paragraph
12918 \end_layout
12919
12920 \end_inset
12921
12922 .
12923 \end_layout
12924
12925 \begin_layout Description
12926 \begin_inset Flex Code
12927 status collapsed
12928
12929 \begin_layout Plain Layout
12930 InTitle
12931 \end_layout
12932
12933 \end_inset
12934
12935  [
12936 \emph on
12937
12938 \begin_inset Flex Code
12939 status collapsed
12940
12941 \begin_layout Plain Layout
12942
12943 \emph on
12944 0
12945 \end_layout
12946
12947 \end_inset
12948
12949
12950 \emph default
12951 ,
12952 \begin_inset space \thinspace{}
12953 \end_inset
12954
12955
12956 \begin_inset Flex Code
12957 status collapsed
12958
12959 \begin_layout Plain Layout
12960 1
12961 \end_layout
12962
12963 \end_inset
12964
12965 ] Si es 
12966 \begin_inset Flex Code
12967 status collapsed
12968
12969 \begin_layout Plain Layout
12970 1
12971 \end_layout
12972
12973 \end_inset
12974
12975 ,
12976  marca el estilo como parte de un bloque de título (véanse también las entradas globales 
12977 \begin_inset Flex Code
12978 status collapsed
12979
12980 \begin_layout Plain Layout
12981 TitleLatexType
12982 \end_layout
12983
12984 \end_inset
12985
12986  y 
12987 \begin_inset Flex Code
12988 status collapsed
12989
12990 \begin_layout Plain Layout
12991 TitleLatexName
12992 \end_layout
12993
12994 \end_inset
12995
12996 ).
12997 \end_layout
12998
12999 \begin_layout Description
13000
13001 \lang english
13002 \begin_inset Flex Code
13003 status collapsed
13004
13005 \begin_layout Plain Layout
13006
13007 \lang english
13008 IsAutoNestedBy
13009 \end_layout
13010
13011 \end_inset
13012
13013  Includes a comma-separated list of layouts after which this one should be nested.
13014  Only makes sense with regard to nestable layouts (such as environments).
13015  Must be ended by 
13016 \begin_inset Quotes eld
13017 \end_inset
13018
13019
13020 \begin_inset Flex Code
13021 status collapsed
13022
13023 \begin_layout Plain Layout
13024
13025 \lang english
13026 EndIsAutoNestedBy
13027 \end_layout
13028
13029 \end_inset
13030
13031
13032 \begin_inset Quotes erd
13033 \end_inset
13034
13035 .
13036  See also 
13037 \begin_inset Flex Code
13038 status collapsed
13039
13040 \begin_layout Plain Layout
13041
13042 \lang english
13043 AutoNests
13044 \end_layout
13045
13046 \end_inset
13047
13048 .
13049 \end_layout
13050
13051 \begin_layout Description
13052
13053 \lang english
13054 \begin_inset Flex Code
13055 status collapsed
13056
13057 \begin_layout Plain Layout
13058
13059 \lang english
13060 IsTocCaption
13061 \end_layout
13062
13063 \end_inset
13064
13065  [
13066 \begin_inset Flex Code
13067 status collapsed
13068
13069 \begin_layout Plain Layout
13070
13071 \emph on
13072 \lang english
13073 0
13074 \end_layout
13075
13076 \end_inset
13077
13078 ,
13079 \begin_inset space \thinspace{}
13080 \end_inset
13081
13082
13083 \begin_inset Flex Code
13084 status collapsed
13085
13086 \begin_layout Plain Layout
13087
13088 \lang english
13089 1
13090 \end_layout
13091
13092 \end_inset
13093
13094 ] If this is set to 1 and AddToToc is enabled,
13095  the paragraph adds a summary of its contents in its item in the table of contents.
13096  Otherwise,
13097  only the label,
13098  if it exists,
13099  appears.
13100 \end_layout
13101
13102 \begin_layout Description
13103 \begin_inset Flex Code
13104 status collapsed
13105
13106 \begin_layout Plain Layout
13107 ItemCommand
13108 \end_layout
13109
13110 \end_inset
13111
13112  [
13113 \begin_inset Flex Code
13114 status collapsed
13115
13116 \begin_layout Plain Layout
13117 string="item"
13118 \end_layout
13119
13120 \end_inset
13121
13122 ] La secuencia de comando \SpecialChar LaTeX
13123  que declara un ítem en una lista.
13124  El comando es para ser definido sin la barra invertida (por omisión es 
13125 \begin_inset Quotes eld
13126 \end_inset
13127
13128 item
13129 \begin_inset Quotes erd
13130 \end_inset
13131
13132 ,
13133  que resulta en 
13134 \begin_inset Flex Code
13135 status collapsed
13136
13137 \begin_layout Plain Layout
13138
13139 \backslash
13140 item
13141 \end_layout
13142
13143 \end_inset
13144
13145  en la salida \SpecialChar LaTeX
13146 ).
13147 \end_layout
13148
13149 \begin_layout Description
13150 \begin_inset Flex Code
13151 status collapsed
13152
13153 \begin_layout Plain Layout
13154 ItemSep
13155 \end_layout
13156
13157 \end_inset
13158
13159  [
13160 \begin_inset Flex Code
13161 status collapsed
13162
13163 \begin_layout Plain Layout
13164 float=0
13165 \end_layout
13166
13167 \end_inset
13168
13169 ] Esto proporciona espacio extra entre párrafos que tienen el mismo formato.
13170  Si se ponen otros formatos en un entorno,
13171  cada uno es separado con el comando de entorno 
13172 \begin_inset Flex Code
13173 status collapsed
13174
13175 \begin_layout Plain Layout
13176 ParSep
13177 \end_layout
13178
13179 \end_inset
13180
13181 .
13182  Pero el conjunto de los ítems del entorno son separados adicionalmente con este 
13183 \begin_inset Flex Code
13184 status collapsed
13185
13186 \begin_layout Plain Layout
13187 ItemSep
13188 \end_layout
13189
13190 \end_inset
13191
13192 .
13193  Anotar que esto es un
13194 \emph on
13195  multiplicador.
13196 \end_layout
13197
13198 \begin_layout Description
13199 \begin_inset Flex Code
13200 status collapsed
13201
13202 \begin_layout Plain Layout
13203 ItemTag
13204 \end_layout
13205
13206 \end_inset
13207
13208  [[FIXME]] (Usado solo con formatos tipo XML.)
13209 \end_layout
13210
13211 \begin_layout Description
13212 \begin_inset Flex Code
13213 status collapsed
13214
13215 \begin_layout Plain Layout
13216 KeepEmpty
13217 \end_layout
13218
13219 \end_inset
13220
13221  [
13222 \emph on
13223
13224 \begin_inset Flex Code
13225 status collapsed
13226
13227 \begin_layout Plain Layout
13228
13229 \emph on
13230 0
13231 \end_layout
13232
13233 \end_inset
13234
13235
13236 \emph default
13237 ,
13238 \begin_inset space \thinspace{}
13239 \end_inset
13240
13241
13242 \begin_inset Flex Code
13243 status collapsed
13244
13245 \begin_layout Plain Layout
13246 1
13247 \end_layout
13248
13249 \end_inset
13250
13251 ] Habitualmente,
13252  \SpecialChar LyX
13253  no permite dejar un párrafo vacío,
13254  porque llevaría a una salida de \SpecialChar LaTeX
13255  vacía.
13256  Sin embargo,
13257  hay algunos casos donde podría ser útil:
13258  en una plantilla de carta,
13259  los campos requeridos pueden proporcionarse vacíos,
13260  así el usuario no los olvida;
13261  en algunos casos especiales,
13262  se puede usar un estilo que no contiene texto real como una especie de salto.
13263 \end_layout
13264
13265 \begin_layout Description
13266 \begin_inset Flex Code
13267 status collapsed
13268
13269 \begin_layout Plain Layout
13270 LabelBottomsep
13271 \end_layout
13272
13273 \end_inset
13274
13275  [
13276 \begin_inset Flex Code
13277 status collapsed
13278
13279 \begin_layout Plain Layout
13280 float=0
13281 \end_layout
13282
13283 \end_inset
13284
13285 ] El espacio vertical entre la etiqueta y el cuerpo del texto.
13286  Solo se usa para etiquetas que están sobre el cuerpo del texto (
13287 \begin_inset Flex Code
13288 status collapsed
13289
13290 \begin_layout Plain Layout
13291 Top_Environment
13292 \end_layout
13293
13294 \end_inset
13295
13296  y 
13297 \begin_inset Flex Code
13298 status collapsed
13299
13300 \begin_layout Plain Layout
13301 Centered_Top_Environment
13302 \end_layout
13303
13304 \end_inset
13305
13306 ).
13307 \end_layout
13308
13309 \begin_layout Description
13310 \begin_inset Flex Code
13311 status collapsed
13312
13313 \begin_layout Plain Layout
13314 LabelCounter
13315 \end_layout
13316
13317 \end_inset
13318
13319  [
13320 \begin_inset Flex Code
13321 status collapsed
13322
13323 \begin_layout Plain Layout
13324 string=""
13325 \end_layout
13326
13327 \end_inset
13328
13329 ] El nombre del contador para numeración automática.
13330  Con el fin de que el contador aparezca con su etiqueta,
13331  deberás referenciarla en 
13332 \begin_inset Flex Code
13333 status collapsed
13334
13335 \begin_layout Plain Layout
13336 LabelString
13337 \end_layout
13338
13339 \end_inset
13340
13341 .
13342  Esto funcionará con 
13343 \begin_inset Flex Code
13344 status collapsed
13345
13346 \begin_layout Plain Layout
13347 LabelType
13348 \end_layout
13349
13350 \end_inset
13351
13352 s,
13353  
13354 \begin_inset Flex Code
13355 status collapsed
13356
13357 \begin_layout Plain Layout
13358 Static
13359 \end_layout
13360
13361 \end_inset
13362
13363 ,
13364  
13365 \begin_inset Flex Code
13366 status collapsed
13367
13368 \begin_layout Plain Layout
13369 Above
13370 \end_layout
13371
13372 \end_inset
13373
13374  y 
13375 \begin_inset Flex Code
13376 status collapsed
13377
13378 \begin_layout Plain Layout
13379 Centered
13380 \end_layout
13381
13382 \end_inset
13383
13384 ,
13385  al menos.
13386 \begin_inset Newline newline
13387 \end_inset
13388
13389 Esto 
13390 \emph on
13391 puede
13392 \emph default
13393  ponerse también si 
13394 \begin_inset Flex Code
13395 status collapsed
13396
13397 \begin_layout Plain Layout
13398 LabelType
13399 \end_layout
13400
13401 \end_inset
13402
13403  es 
13404 \begin_inset Flex Code
13405 status collapsed
13406
13407 \begin_layout Plain Layout
13408 Enumerate
13409 \end_layout
13410
13411 \end_inset
13412
13413 ,
13414  aunque este caso es un poco complicado.
13415  Supongamos que declaras 
13416 \begin_inset Quotes eld
13417 \end_inset
13418
13419
13420 \begin_inset Flex Code
13421 status collapsed
13422
13423 \begin_layout Plain Layout
13424 LabelCounter myenum
13425 \end_layout
13426
13427 \end_inset
13428
13429
13430 \begin_inset Quotes erd
13431 \end_inset
13432
13433 .
13434  Entonces,
13435  los contadores reales usados son 
13436 \begin_inset Flex Code
13437 status collapsed
13438
13439 \begin_layout Plain Layout
13440 myenumi
13441 \end_layout
13442
13443 \end_inset
13444
13445 ,
13446  
13447 \begin_inset Flex Code
13448 status collapsed
13449
13450 \begin_layout Plain Layout
13451 myenumii
13452 \end_layout
13453
13454 \end_inset
13455
13456 ,
13457  
13458 \begin_inset Flex Code
13459 status collapsed
13460
13461 \begin_layout Plain Layout
13462 myenumiii
13463 \end_layout
13464
13465 \end_inset
13466
13467 ,
13468  y 
13469 \begin_inset Flex Code
13470 status collapsed
13471
13472 \begin_layout Plain Layout
13473 myenumiv
13474 \end_layout
13475
13476 \end_inset
13477
13478 ,
13479  como en \SpecialChar LaTeX
13480 .
13481  Estos contadores deben declararse todos por separado.
13482 \begin_inset Newline newline
13483 \end_inset
13484
13485 Véase la sección 
13486 \begin_inset CommandInset ref
13487 LatexCommand ref
13488 reference "subsec:Contadores"
13489 nolink "false"
13490
13491 \end_inset
13492
13493  para detalles sobre contadores
13494 \end_layout
13495
13496 \begin_layout Description
13497 \begin_inset Flex Code
13498 status collapsed
13499
13500 \begin_layout Plain Layout
13501 LabelFont
13502 \end_layout
13503
13504 \end_inset
13505
13506  La tipografía usada para la etiqueta.
13507  Véase la sección
13508 \begin_inset space ~
13509 \end_inset
13510
13511
13512 \begin_inset CommandInset ref
13513 LatexCommand ref
13514 reference "subsec:Tipografía"
13515 nolink "false"
13516
13517 \end_inset
13518
13519 .
13520 \end_layout
13521
13522 \begin_layout Description
13523 \begin_inset Flex Code
13524 status collapsed
13525
13526 \begin_layout Plain Layout
13527 LabelIndent
13528 \end_layout
13529
13530 \end_inset
13531
13532  [
13533 \begin_inset Flex Code
13534 status collapsed
13535
13536 \begin_layout Plain Layout
13537 string=""
13538 \end_layout
13539
13540 \end_inset
13541
13542 ] Texto que indica cuánto se debe sangrar una etiqueta.
13543 \end_layout
13544
13545 \begin_layout Description
13546 \begin_inset Flex Code
13547 status collapsed
13548
13549 \begin_layout Plain Layout
13550 LabelSep
13551 \end_layout
13552
13553 \end_inset
13554
13555  [
13556 \begin_inset Flex Code
13557 status collapsed
13558
13559 \begin_layout Plain Layout
13560 string=""
13561 \end_layout
13562
13563 \end_inset
13564
13565 ] Texto que indica el valor de espacio horizontal entre la etiqueta y el cuerpo del texto.
13566  Solo se usa para etiquetas que no están sobre el cuerpo del texto.
13567 \end_layout
13568
13569 \begin_layout Description
13570 \begin_inset Flex Code
13571 status collapsed
13572
13573 \begin_layout Plain Layout
13574 LabelString
13575 \end_layout
13576
13577 \end_inset
13578
13579  [
13580 \begin_inset Flex Code
13581 status collapsed
13582
13583 \begin_layout Plain Layout
13584 string=""
13585 \end_layout
13586
13587 \end_inset
13588
13589 ] La cadena usada para una etiqueta del 
13590 \begin_inset Flex Code
13591 status collapsed
13592
13593 \begin_layout Plain Layout
13594 LabelType
13595 \end_layout
13596
13597 \end_inset
13598
13599  
13600 \begin_inset Flex Code
13601 status collapsed
13602
13603 \begin_layout Plain Layout
13604 Static
13605 \end_layout
13606
13607 \end_inset
13608
13609 .
13610  Si 
13611 \begin_inset Flex Code
13612 status collapsed
13613
13614 \begin_layout Plain Layout
13615 LabelCounter
13616 \end_layout
13617
13618 \end_inset
13619
13620  está establecido,
13621  esta cadena puede contener los comandos especiales de formato descritos en la sección
13622 \begin_inset space ~
13623 \end_inset
13624
13625
13626 \begin_inset CommandInset ref
13627 LatexCommand ref
13628 reference "subsec:Contadores"
13629 nolink "false"
13630
13631 \end_inset
13632
13633 .
13634 \end_layout
13635
13636 \begin_layout Description
13637 \begin_inset Flex Code
13638 status collapsed
13639
13640 \begin_layout Plain Layout
13641 LabelStringAppendix
13642 \end_layout
13643
13644 \end_inset
13645
13646  [
13647 \begin_inset Flex Code
13648 status collapsed
13649
13650 \begin_layout Plain Layout
13651 string=""
13652 \end_layout
13653
13654 \end_inset
13655
13656 ] Esta se usa en el apéndice en vez de 
13657 \begin_inset Flex Code
13658 status collapsed
13659
13660 \begin_layout Plain Layout
13661 LabelString
13662 \end_layout
13663
13664 \end_inset
13665
13666 .
13667  Anotar que toda declaración de 
13668 \begin_inset Flex Code
13669 status collapsed
13670
13671 \begin_layout Plain Layout
13672 LabelString
13673 \end_layout
13674
13675 \end_inset
13676
13677  reconfigura también
13678 \begin_inset Newline newline
13679 \end_inset
13680
13681
13682 \begin_inset Flex Code
13683 status collapsed
13684
13685 \begin_layout Plain Layout
13686 LabelStringAppendix
13687 \end_layout
13688
13689 \end_inset
13690
13691 .
13692 \end_layout
13693
13694 \begin_layout Description
13695 \begin_inset Flex Code
13696 status collapsed
13697
13698 \begin_layout Plain Layout
13699 LabelTag
13700 \end_layout
13701
13702 \end_inset
13703
13704  [FIXME] (Usado solo con formatos tipo XML.)
13705 \end_layout
13706
13707 \begin_layout Description
13708 \begin_inset Flex Code
13709 status collapsed
13710
13711 \begin_layout Plain Layout
13712 LabelType
13713 \end_layout
13714
13715 \end_inset
13716
13717  [
13718 \begin_inset Flex Code
13719 status collapsed
13720
13721 \begin_layout Plain Layout
13722
13723 \emph on
13724 No_Label
13725 \emph default
13726 ,
13727  Manual,
13728  Static,
13729  Above,
13730 \begin_inset Newline newline
13731 \end_inset
13732
13733 Centered,
13734  Sensitive,
13735  Enumerate,
13736 \begin_inset Newline newline
13737 \end_inset
13738
13739 Itemize,
13740  Bibliography
13741 \end_layout
13742
13743 \end_inset
13744
13745 ]
13746 \end_layout
13747
13748 \begin_deeper
13749 \begin_layout Description
13750 \begin_inset Flex Code
13751 status collapsed
13752
13753 \begin_layout Plain Layout
13754 Manual
13755 \end_layout
13756
13757 \end_inset
13758
13759  significa que la etiqueta es la primera palabra (hasta elprimer espacio real).
13760  Usa espacios protegidos si quieres más de una palabra como etiqueta.
13761  
13762 \end_layout
13763
13764 \begin_layout Description
13765 \begin_inset Flex Code
13766 status collapsed
13767
13768 \begin_layout Plain Layout
13769 Static
13770 \end_layout
13771
13772 \end_inset
13773
13774  significa que la etiqueta es simplemente cualquier 
13775 \begin_inset Flex Code
13776 status collapsed
13777
13778 \begin_layout Plain Layout
13779 LabelString
13780 \end_layout
13781
13782 \end_inset
13783
13784  declarado como tal.
13785  Esto se mostrará 
13786 \begin_inset Quotes cld
13787 \end_inset
13788
13789 en línea
13790 \begin_inset Quotes crd
13791 \end_inset
13792
13793  al comienzo del párrafo.
13794  Si 
13795 \begin_inset Flex Code
13796 status collapsed
13797
13798 \begin_layout Plain Layout
13799 LatexType
13800 \end_layout
13801
13802 \end_inset
13803
13804  es 
13805 \begin_inset Flex Code
13806 status collapsed
13807
13808 \begin_layout Plain Layout
13809 Environment
13810 \end_layout
13811
13812 \end_inset
13813
13814 ,
13815  entonces se mostrará solo en el primer párrafo de cualquier secuencia de párrafos con el mismo 
13816 \begin_inset Flex Code
13817 status collapsed
13818
13819 \begin_layout Plain Layout
13820 Style
13821 \end_layout
13822
13823 \end_inset
13824
13825 .
13826 \end_layout
13827
13828 \begin_layout Description
13829 \begin_inset Flex Code
13830 status collapsed
13831
13832 \begin_layout Plain Layout
13833 Above
13834 \end_layout
13835
13836 \end_inset
13837
13838
13839 \begin_inset space ~
13840 \end_inset
13841
13842 y
13843 \begin_inset space ~
13844 \end_inset
13845
13846
13847 \begin_inset Flex Code
13848 status collapsed
13849
13850 \begin_layout Plain Layout
13851 Centered
13852 \end_layout
13853
13854 \end_inset
13855
13856  son casos especiales de 
13857 \begin_inset Flex Code
13858 status collapsed
13859
13860 \begin_layout Plain Layout
13861 Static
13862 \end_layout
13863
13864 \end_inset
13865
13866 .
13867  La etiqueta se imprimirá encima del párrafo,
13868  o al inicio de línea o centrado.
13869  
13870 \end_layout
13871
13872 \begin_layout Description
13873 \begin_inset Flex Code
13874 status collapsed
13875
13876 \begin_layout Plain Layout
13877 Sensitive
13878 \end_layout
13879
13880 \end_inset
13881
13882  es un caso especial para las etiquetas de las leyendas de 
13883 \begin_inset Quotes cld
13884 \end_inset
13885
13886 Figura
13887 \begin_inset Quotes crd
13888 \end_inset
13889
13890  y 
13891 \begin_inset Quotes cld
13892 \end_inset
13893
13894 Tabla
13895 \begin_inset Quotes crd
13896 \end_inset
13897
13898 .
13899  
13900 \begin_inset Flex Code
13901 status collapsed
13902
13903 \begin_layout Plain Layout
13904 Sensitive
13905 \end_layout
13906
13907 \end_inset
13908
13909  quiere decir que la cadena (en código) de la etiqueta depende de la clase de flotante:
13910  Está codificado para ser `FloatType N',
13911  donde N es el valor del contador asociado al flotante.
13912  En el caso en que la leyenda se inserte adosada a un flotante 
13913 \begin_inset Flex Code
13914 status collapsed
13915
13916 \begin_layout Plain Layout
13917 LabelString
13918 \end_layout
13919
13920 \end_inset
13921
13922  aparecerá como 
13923 \begin_inset Quotes cld
13924 \end_inset
13925
13926 Senseless!
13927 \begin_inset Quotes crd
13928 \end_inset
13929
13930  ,
13931  (¡Sin sentido!).
13932 \end_layout
13933
13934 \begin_layout Description
13935 \begin_inset Flex Code
13936 status collapsed
13937
13938 \begin_layout Plain Layout
13939 Enumerate
13940 \end_layout
13941
13942 \end_inset
13943
13944  produce los tipos habituales de etiquetas de enumeración.
13945  
13946 \lang english
13947 The number type needs to be set in the 
13948 \family sans
13949 \lang spanish
13950 Contador
13951 \family default
13952 ,
13953  véase 
13954 \begin_inset CommandInset ref
13955 LatexCommand ref
13956 reference "subsec:Contadores"
13957 nolink "false"
13958
13959 \end_inset
13960
13961 .
13962 \end_layout
13963
13964 \begin_layout Description
13965 \begin_inset Flex Code
13966 status collapsed
13967
13968 \begin_layout Plain Layout
13969 Itemize
13970 \end_layout
13971
13972 \end_inset
13973
13974  produce varias marcas para los distintos niveles.
13975  
13976 \lang english
13977 The bullet types displayed can be set via
13978 \lang spanish
13979  
13980 \begin_inset Flex Noun
13981 status collapsed
13982
13983 \begin_layout Plain Layout
13984 Documento\SpecialChar menuseparator
13985 Configuratción\SpecialChar menuseparator
13986 Marcas
13987 \end_layout
13988
13989 \end_inset
13990
13991 .
13992 \end_layout
13993
13994 \begin_layout Description
13995 \begin_inset Flex Code
13996 status collapsed
13997
13998 \begin_layout Plain Layout
13999 Bibliography
14000 \end_layout
14001
14002 \end_inset
14003
14004  solo debería emplearse con 
14005 \begin_inset Flex Code
14006 status collapsed
14007
14008 \begin_layout Plain Layout
14009 LatexType BibEnvironment
14010 \end_layout
14011
14012 \end_inset
14013
14014 .
14015 \end_layout
14016
14017 \end_deeper
14018 \begin_layout Description
14019 \begin_inset Flex Code
14020 status collapsed
14021
14022 \begin_layout Plain Layout
14023 LangPreamble
14024 \end_layout
14025
14026 \end_inset
14027
14028  Esto sobrescribirá completamente cualquier declaración anterior de 
14029 \begin_inset Flex Code
14030 status collapsed
14031
14032 \begin_layout Plain Layout
14033 LangPreamble
14034 \end_layout
14035
14036 \end_inset
14037
14038  para este estilo.
14039  Debe acabar con 
14040 \begin_inset Quotes eld
14041 \end_inset
14042
14043
14044 \begin_inset Flex Code
14045 status collapsed
14046
14047 \begin_layout Plain Layout
14048 EndLangPreamble
14049 \end_layout
14050
14051 \end_inset
14052
14053
14054 \begin_inset Quotes erd
14055 \end_inset
14056
14057 .
14058  Véase la sección 
14059 \begin_inset CommandInset ref
14060 LatexCommand ref
14061 reference "subsec:I18n"
14062 nolink "false"
14063
14064 \end_inset
14065
14066  para detallessobre su uso.
14067 \end_layout
14068
14069 \begin_layout Description
14070 \begin_inset Flex Code
14071 status collapsed
14072
14073 \begin_layout Plain Layout
14074 LatexName
14075 \end_layout
14076
14077 \end_inset
14078
14079  [
14080 \begin_inset Flex Code
14081 status collapsed
14082
14083 \begin_layout Plain Layout
14084 <name>
14085 \end_layout
14086
14087 \end_inset
14088
14089 ] El nombre correspondiente en \SpecialChar LaTeX
14090 ,
14091  ya sea de un comando o de un entorno.
14092 \end_layout
14093
14094 \begin_layout Description
14095 \begin_inset Flex Code
14096 status collapsed
14097
14098 \begin_layout Plain Layout
14099 LatexParam
14100 \end_layout
14101
14102 \end_inset
14103
14104  [
14105 \begin_inset Flex Code
14106 status collapsed
14107
14108 \begin_layout Plain Layout
14109 <parameter>
14110 \end_layout
14111
14112 \end_inset
14113
14114 ] Un parámetro opcional para el correspondiente 
14115 \begin_inset Flex Code
14116 status collapsed
14117
14118 \begin_layout Plain Layout
14119 LatexName
14120 \end_layout
14121
14122 \end_inset
14123
14124 .
14125  Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
14126  (usa 
14127 \begin_inset Flex Code
14128 status collapsed
14129
14130 \begin_layout Plain Layout
14131 Argument
14132 \end_layout
14133
14134 \end_inset
14135
14136  para parámetros personalizables).
14137  Se emitirá como tal tras todos los 
14138 \begin_inset Flex Code
14139 status collapsed
14140
14141 \begin_layout Plain Layout
14142 Argument
14143 \end_layout
14144
14145 \end_inset
14146
14147  \SpecialChar LaTeX
14148 .
14149 \end_layout
14150
14151 \begin_layout Description
14152 \begin_inset Flex Code
14153 status collapsed
14154
14155 \begin_layout Plain Layout
14156 LatexType
14157 \end_layout
14158
14159 \end_inset
14160
14161  [
14162 \begin_inset Flex Code
14163 status collapsed
14164
14165 \begin_layout Plain Layout
14166
14167 \emph on
14168 Paragraph
14169 \emph default
14170 ,
14171  Command,
14172  Environment,
14173  Item_Environment,
14174 \begin_inset Newline newline
14175 \end_inset
14176
14177 List_Environment,
14178  Bib_Environment
14179 \end_layout
14180
14181 \end_inset
14182
14183 ] Cómo debería traducirse el estilo a \SpecialChar LaTeX
14184 .
14185 \begin_inset Foot
14186 status collapsed
14187
14188 \begin_layout Plain Layout
14189 \begin_inset Flex Code
14190 status collapsed
14191
14192 \begin_layout Plain Layout
14193 LatexType
14194 \end_layout
14195
14196 \end_inset
14197
14198  es un poco engañoso porque estas reglas se aplican también a clases SGML.
14199  Consulta los archivos de clases SGML (archivos de nombre 
14200 \begin_inset Flex Code
14201 status collapsed
14202
14203 \begin_layout Plain Layout
14204 db_*.inc
14205 \end_layout
14206
14207 \end_inset
14208
14209  ) para ejemplos concretos.
14210 \end_layout
14211
14212 \end_inset
14213
14214
14215 \end_layout
14216
14217 \begin_deeper
14218 \begin_layout Description
14219 \begin_inset Flex Code
14220 status collapsed
14221
14222 \begin_layout Plain Layout
14223 Paragraph
14224 \end_layout
14225
14226 \end_inset
14227
14228  no significa nada especial.
14229 \end_layout
14230
14231 \begin_layout Description
14232 \begin_inset Flex Code
14233 status collapsed
14234
14235 \begin_layout Plain Layout
14236 Command
14237 \end_layout
14238
14239 \end_inset
14240
14241  significa 
14242 \begin_inset Flex Code
14243 status collapsed
14244
14245 \begin_layout Plain Layout
14246
14247 \backslash
14248
14249 \emph on
14250 LatexName
14251 \emph default
14252 {\SpecialChar ldots
14253 }
14254 \end_layout
14255
14256 \end_inset
14257
14258 .
14259 \end_layout
14260
14261 \begin_layout Description
14262 \begin_inset Flex Code
14263 status collapsed
14264
14265 \begin_layout Plain Layout
14266 Environment
14267 \end_layout
14268
14269 \end_inset
14270
14271  significa 
14272 \begin_inset Flex Code
14273 status collapsed
14274
14275 \begin_layout Plain Layout
14276
14277 \backslash
14278 begin{
14279 \emph on
14280 LatexName
14281 \emph default
14282 }\SpecialChar ldots
14283
14284 \backslash
14285 end{
14286 \emph on
14287 LatexName
14288 \emph default
14289 }
14290 \end_layout
14291
14292 \end_inset
14293
14294 .
14295 \end_layout
14296
14297 \begin_layout Description
14298 \begin_inset Flex Code
14299 status collapsed
14300
14301 \begin_layout Plain Layout
14302 Item_Environment
14303 \end_layout
14304
14305 \end_inset
14306
14307  es lo mismo que 
14308 \begin_inset Flex Code
14309 status collapsed
14310
14311 \begin_layout Plain Layout
14312 Environment
14313 \end_layout
14314
14315 \end_inset
14316
14317 ,
14318  excepto que un 
14319 \begin_inset Flex Code
14320 status collapsed
14321
14322 \begin_layout Plain Layout
14323
14324 \backslash
14325 item
14326 \end_layout
14327
14328 \end_inset
14329
14330  se genera para cada párrafo de este entorno.
14331 \end_layout
14332
14333 \begin_layout Description
14334 \begin_inset Flex Code
14335 status collapsed
14336
14337 \begin_layout Plain Layout
14338 List_Environment
14339 \end_layout
14340
14341 \end_inset
14342
14343  es lo mismo que 
14344 \begin_inset Flex Code
14345 status collapsed
14346
14347 \begin_layout Plain Layout
14348 Item_Environment
14349 \end_layout
14350
14351 \end_inset
14352
14353 ,
14354  excepto que
14355 \begin_inset Newline newline
14356 \end_inset
14357
14358
14359 \begin_inset Flex Code
14360 status collapsed
14361
14362 \begin_layout Plain Layout
14363 LabelWidthString
14364 \end_layout
14365
14366 \end_inset
14367
14368  se pasa como un argumento al entorno.
14369 \begin_inset Newline newline
14370 \end_inset
14371
14372
14373 \begin_inset Flex Code
14374 status collapsed
14375
14376 \begin_layout Plain Layout
14377 LabelWidthString
14378 \end_layout
14379
14380 \end_inset
14381
14382  puede definirse en el diálogo 
14383 \begin_inset Flex Noun
14384 status collapsed
14385
14386 \begin_layout Plain Layout
14387 Editar\SpecialChar menuseparator
14388 Configuración de párrafos
14389 \end_layout
14390
14391 \end_inset
14392
14393 .
14394 \end_layout
14395
14396 \begin_layout Description
14397 \begin_inset Flex Code
14398 status collapsed
14399
14400 \begin_layout Plain Layout
14401 Bib_Environment
14402 \end_layout
14403
14404 \end_inset
14405
14406  es como 
14407 \begin_inset Flex Code
14408 status collapsed
14409
14410 \begin_layout Plain Layout
14411 Environment
14412 \end_layout
14413
14414 \end_inset
14415
14416  pero añade además el argumento obligatorio necesario (la etiqueta más larga) a la declaración 
14417 \family typewriter
14418 begin
14419 \family default
14420  del entorno bibliografía:
14421 \begin_inset Newline newline
14422 \end_inset
14423
14424
14425 \begin_inset Flex Code
14426 status collapsed
14427
14428 \begin_layout Plain Layout
14429
14430 \backslash
14431 begin{thebibliography}{99}
14432 \end_layout
14433
14434 \end_inset
14435
14436  Por tanto solo es útil para entornos de bibliografía.
14437  La etiqueta más larga predeterminada 
14438 \begin_inset Quotes cld
14439 \end_inset
14440
14441 99
14442 \begin_inset Quotes crd
14443 \end_inset
14444
14445  puede cambiarla el usuario en la configuración de párrafo de un ítem bibliográfico.
14446 \end_layout
14447
14448 \begin_layout Standard
14449 Poniendo juntas las últimas cosas,
14450  la salida \SpecialChar LaTeX
14451  será una de estas:
14452  
14453 \end_layout
14454
14455 \begin_layout LyX-Code
14456
14457 \backslash
14458 LatexName[LatexParam]{\SpecialChar ldots
14459 }
14460 \end_layout
14461
14462 \begin_layout Standard
14463 o:
14464  
14465 \end_layout
14466
14467 \begin_layout LyX-Code
14468
14469 \backslash
14470 begin{LatexName}[LatexParam] \SpecialChar ldots
14471  
14472 \backslash
14473 end{LatexName}.
14474 \end_layout
14475
14476 \begin_layout Standard
14477 dependiendo del tipo de \SpecialChar LaTeX
14478 .
14479 \end_layout
14480
14481 \end_deeper
14482 \begin_layout Description
14483 \begin_inset Flex Code
14484 status collapsed
14485
14486 \begin_layout Plain Layout
14487 LeftDelim
14488 \end_layout
14489
14490 \end_inset
14491
14492  [
14493 \begin_inset Flex Code
14494 status collapsed
14495
14496 \begin_layout Plain Layout
14497 string
14498 \end_layout
14499
14500 \end_inset
14501
14502 ] Secuencia que se pone al inicio del contenido del estilo.
14503  Un salto de línea en la salida puede indicarse con 
14504 \begin_inset Flex Code
14505 status collapsed
14506
14507 \begin_layout Plain Layout
14508 <br/>
14509 \end_layout
14510
14511 \end_inset
14512
14513 .
14514 \end_layout
14515
14516 \begin_layout Description
14517 \begin_inset Flex Code
14518 status collapsed
14519
14520 \begin_layout Plain Layout
14521 LeftMargin
14522 \end_layout
14523
14524 \end_inset
14525
14526  [
14527 \begin_inset Flex Code
14528 status collapsed
14529
14530 \begin_layout Plain Layout
14531 string=""
14532 \end_layout
14533
14534 \end_inset
14535
14536 ] Si pones estilos en entornos,
14537  los 
14538 \begin_inset Flex Code
14539 status collapsed
14540
14541 \begin_layout Plain Layout
14542 LeftMargin
14543 \end_layout
14544
14545 \end_inset
14546
14547  no son simplemente añadidos,
14548  sino aumentados en un factor 
14549 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
14550 \end_inset
14551
14552 .
14553  Anotar que este parámetro se usa también cuando 
14554 \begin_inset Flex Code
14555 status collapsed
14556
14557 \begin_layout Plain Layout
14558 Margin
14559 \end_layout
14560
14561 \end_inset
14562
14563  se define como 
14564 \begin_inset Flex Code
14565 status collapsed
14566
14567 \begin_layout Plain Layout
14568 Manual
14569 \end_layout
14570
14571 \end_inset
14572
14573  o 
14574 \begin_inset Flex Code
14575 status collapsed
14576
14577 \begin_layout Plain Layout
14578 Dynamic
14579 \end_layout
14580
14581 \end_inset
14582
14583 .
14584  En ese caso se añade al margen manual o dinámico.
14585 \begin_inset Newline newline
14586 \end_inset
14587
14588 Por ejemplo 
14589 \begin_inset Quotes cld
14590 \end_inset
14591
14592
14593 \begin_inset Flex Code
14594 status collapsed
14595
14596 \begin_layout Plain Layout
14597 MM
14598 \end_layout
14599
14600 \end_inset
14601
14602
14603 \begin_inset Quotes crd
14604 \end_inset
14605
14606  significa que el párrafo se sangra con la anchura de 
14607 \begin_inset Quotes cld
14608 \end_inset
14609
14610
14611 \begin_inset Flex Code
14612 status collapsed
14613
14614 \begin_layout Plain Layout
14615 MM
14616 \end_layout
14617
14618 \end_inset
14619
14620
14621 \begin_inset Quotes crd
14622 \end_inset
14623
14624  en la tipografía normal.
14625  Se puede obtener una anchura negativa anteponiendo 
14626 \begin_inset Quotes cld
14627 \end_inset
14628
14629
14630 \begin_inset Flex Code
14631 status collapsed
14632
14633 \begin_layout Plain Layout
14634 -
14635 \end_layout
14636
14637 \end_inset
14638
14639
14640 \begin_inset Quotes crd
14641 \end_inset
14642
14643  a la cadena.
14644  Se eligió este método para que el aspecto sea el mismo con cada una de las tipografías de pantalla usadas.
14645 \end_layout
14646
14647 \begin_layout Description
14648 \begin_inset Flex Code
14649 status collapsed
14650
14651 \begin_layout Plain Layout
14652 Margin
14653 \end_layout
14654
14655 \end_inset
14656
14657  [
14658 \begin_inset Flex Code
14659 status collapsed
14660
14661 \begin_layout Plain Layout
14662
14663 \emph on
14664 Static
14665 \emph default
14666 ,
14667  Manual,
14668  Dynamic,
14669  First_Dynamic,
14670  Right_Address_Box
14671 \end_layout
14672
14673 \end_inset
14674
14675
14676 \begin_inset Newline newline
14677 \end_inset
14678
14679 El tipo de margen que el estilo tiene en el lado izquierdo.
14680 \end_layout
14681
14682 \begin_deeper
14683 \begin_layout Description
14684 \begin_inset Flex Code
14685 status collapsed
14686
14687 \begin_layout Plain Layout
14688 Static
14689 \end_layout
14690
14691 \end_inset
14692
14693  significa un margen fijo.
14694 \end_layout
14695
14696 \begin_layout Description
14697 \begin_inset Flex Code
14698 status collapsed
14699
14700 \begin_layout Plain Layout
14701 Manual
14702 \end_layout
14703
14704 \end_inset
14705
14706  significa que el margen izquierdo depende de la cadena introducida en el diálogo 
14707 \begin_inset Flex Noun
14708 status collapsed
14709
14710 \begin_layout Plain Layout
14711 Editar\SpecialChar menuseparator
14712 Configuración del párrafo\SpecialChar ldots
14713
14714 \end_layout
14715
14716 \end_inset
14717
14718 .
14719  Esto se utiliza para componer bonitas listas sin tabuladores.
14720 \end_layout
14721
14722 \begin_layout Description
14723 \begin_inset Flex Code
14724 status collapsed
14725
14726 \begin_layout Plain Layout
14727 Dynamic
14728 \end_layout
14729
14730 \end_inset
14731
14732  significa que el margen depende del tamaño de la etiqueta.
14733  Esto se usa para las cabeceras automáticas de las listas numeradas.
14734  Es obvio que la cabecera 
14735 \begin_inset Quotes cld
14736 \end_inset
14737
14738 5.4.3.2.1 Cabecera muy larga
14739 \begin_inset Quotes crd
14740 \end_inset
14741
14742  debe tener un margen izquierdo más amplio (tan ancho como 
14743 \begin_inset Quotes cld
14744 \end_inset
14745
14746 5.4.3.2.1
14747 \begin_inset Quotes crd
14748 \end_inset
14749
14750  más el espacio) que 
14751 \begin_inset Quotes cld
14752 \end_inset
14753
14754 3.2 Cabecera muy larga
14755 \begin_inset Quotes crd
14756 \end_inset
14757
14758 ,
14759  aunque los 
14760 \begin_inset Quotes cld
14761 \end_inset
14762
14763 procesadores de texto
14764 \begin_inset Quotes crd
14765 \end_inset
14766
14767  corrientes no sean capaces de hacer esto.
14768 \end_layout
14769
14770 \begin_layout Description
14771 \begin_inset Flex Code
14772 status collapsed
14773
14774 \begin_layout Plain Layout
14775 First_Dynamic
14776 \end_layout
14777
14778 \end_inset
14779
14780  es similar,
14781  pero solo la primera fila del párrafo es dinámica,
14782  mientras que las demás son estáticas;
14783  esto se emplea,
14784  por ejemplo,
14785  para descripciones.
14786 \end_layout
14787
14788 \begin_layout Description
14789 \begin_inset Flex Code
14790 status collapsed
14791
14792 \begin_layout Plain Layout
14793 Right_Address_Box
14794 \end_layout
14795
14796 \end_inset
14797
14798  significa que el margen se elige de manera que la fila más larga de este párrafo se adapte al margen derecho.
14799  Esto se emplea para componer una dirección en el lado derecho de la página.
14800  
14801 \end_layout
14802
14803 \end_deeper
14804 \begin_layout Description
14805 \begin_inset Flex Code
14806 status collapsed
14807
14808 \begin_layout Plain Layout
14809 NeedProtect
14810 \end_layout
14811
14812 \end_inset
14813
14814  [
14815 \begin_inset Flex Code
14816 status collapsed
14817
14818 \begin_layout Plain Layout
14819
14820 \emph on
14821 0
14822 \end_layout
14823
14824 \end_inset
14825
14826 ,
14827 \begin_inset space \thinspace{}
14828 \end_inset
14829
14830
14831 \begin_inset Flex Code
14832 status collapsed
14833
14834 \begin_layout Plain Layout
14835 1
14836 \end_layout
14837
14838 \end_inset
14839
14840 ] Si los comandos frágiles en este estilo deberían ser protegidos,
14841  
14842 \begin_inset Flex Code
14843 status collapsed
14844
14845 \begin_layout Plain Layout
14846
14847 \backslash
14848 protect
14849 \end_layout
14850
14851 \end_inset
14852
14853 .
14854  (Nota:
14855  es 
14856 \emph on
14857 no 
14858 \emph default
14859 si este comando debería él mismo ser protegido.)
14860 \end_layout
14861
14862 \begin_layout Description
14863 \begin_inset Flex Code
14864 status collapsed
14865
14866 \begin_layout Plain Layout
14867 Newline
14868 \end_layout
14869
14870 \end_inset
14871
14872  [
14873 \begin_inset Flex Code
14874 status collapsed
14875
14876 \begin_layout Plain Layout
14877 0
14878 \end_layout
14879
14880 \end_inset
14881
14882 ,
14883 \begin_inset space \thinspace{}
14884 \end_inset
14885
14886
14887 \begin_inset Flex Code
14888 status collapsed
14889
14890 \begin_layout Plain Layout
14891
14892 \emph on
14893 1
14894 \end_layout
14895
14896 \end_inset
14897
14898 ] Si las líneas nuevas se transforman en líneas nuevas \SpecialChar LaTeX
14899  (
14900 \begin_inset Flex Code
14901 status collapsed
14902
14903 \begin_layout Plain Layout
14904
14905 \backslash
14906
14907 \backslash
14908
14909 \end_layout
14910
14911 \end_inset
14912
14913 ) o no.
14914  La transformación puede desactivarse para permitir una edición más confortable de \SpecialChar LaTeX
14915  en \SpecialChar LyX
14916 .
14917 \end_layout
14918
14919 \begin_layout Description
14920 \begin_inset Flex Code
14921 status collapsed
14922
14923 \begin_layout Plain Layout
14924 NextNoIndent
14925 \end_layout
14926
14927 \end_inset
14928
14929  [
14930 \begin_inset Flex Code
14931 status collapsed
14932
14933 \begin_layout Plain Layout
14934
14935 \emph on
14936 0
14937 \end_layout
14938
14939 \end_inset
14940
14941 ,
14942 \begin_inset space \thinspace{}
14943 \end_inset
14944
14945
14946 \begin_inset Flex Code
14947 status collapsed
14948
14949 \begin_layout Plain Layout
14950 1
14951 \end_layout
14952
14953 \end_inset
14954
14955 ] Si se permite sangrar la primera fila del párrafo siguiente.
14956  
14957 \begin_inset Flex Code
14958 status collapsed
14959
14960 \begin_layout Plain Layout
14961 1
14962 \end_layout
14963
14964 \end_inset
14965
14966  significa que no se permite hacerlo;
14967  
14968 \begin_inset Flex Code
14969 status collapsed
14970
14971 \begin_layout Plain Layout
14972 0
14973 \end_layout
14974
14975 \end_inset
14976
14977  significa que puede hacerse si se desea.
14978 \end_layout
14979
14980 \begin_layout Description
14981 \begin_inset Flex Code
14982 status collapsed
14983
14984 \begin_layout Plain Layout
14985 ObsoletedBy
14986 \end_layout
14987
14988 \end_inset
14989
14990  [
14991 \begin_inset Flex Code
14992 status collapsed
14993
14994 \begin_layout Plain Layout
14995 <name>
14996 \end_layout
14997
14998 \end_inset
14999
15000 ] Nombre de un estilo que ha reemplazado este estilo.
15001  Esto se emplea para renombrar un estilo,
15002  mientras que se mantiene compatibilidad hacia atrás.
15003 \end_layout
15004
15005 \begin_layout Description
15006 \begin_inset Flex Code
15007 status collapsed
15008
15009 \begin_layout Plain Layout
15010 ParagraphGroup
15011 \end_layout
15012
15013 \end_inset
15014
15015  [
15016 \begin_inset Flex Code
15017 status collapsed
15018
15019 \begin_layout Plain Layout
15020 0
15021 \end_layout
15022
15023 \end_inset
15024
15025 ,
15026 \begin_inset space \thinspace{}
15027 \end_inset
15028
15029
15030 \begin_inset Flex Code
15031 status collapsed
15032
15033 \begin_layout Plain Layout
15034 1
15035 \end_layout
15036
15037 \end_inset
15038
15039 ] Determina si párrafos consecutivos del mismo tipo se tratan como si fueran juntos.
15040  Esto tiene el efecto de que 
15041 \begin_inset Flex Code
15042 status collapsed
15043
15044 \begin_layout Plain Layout
15045 GuiLabel
15046 \end_layout
15047
15048 \end_inset
15049
15050  solo se imprime una vez delante de tal grupo.
15051  Por omisión,
15052  esto es así para 
15053 \begin_inset Flex Code
15054 status collapsed
15055
15056 \begin_layout Plain Layout
15057 LaTeXType
15058 \end_layout
15059
15060 \end_inset
15061
15062  
15063 \begin_inset Flex Code
15064 status collapsed
15065
15066 \begin_layout Plain Layout
15067 Environment
15068 \end_layout
15069
15070 \end_inset
15071
15072  y 
15073 \begin_inset Flex Code
15074 status collapsed
15075
15076 \begin_layout Plain Layout
15077 Bib_Environment
15078 \end_layout
15079
15080 \end_inset
15081
15082  y no lo es para los demás tipos.
15083 \end_layout
15084
15085 \begin_layout Description
15086 \begin_inset Flex Code
15087 status collapsed
15088
15089 \begin_layout Plain Layout
15090 ParbreakIsNewline
15091 \end_layout
15092
15093 \end_inset
15094
15095  [
15096 \begin_inset Flex Code
15097 status collapsed
15098
15099 \begin_layout Plain Layout
15100
15101 \emph on
15102 0
15103 \end_layout
15104
15105 \end_inset
15106
15107 ,
15108 \begin_inset space \thinspace{}
15109 \end_inset
15110
15111
15112 \begin_inset Flex Code
15113 status collapsed
15114
15115 \begin_layout Plain Layout
15116 1
15117 \end_layout
15118
15119 \end_inset
15120
15121 ] Indica que los párrafos no serán separados por una línea vacía en la salida \SpecialChar LaTeX
15122 ,
15123  solo por un salto de línea;
15124  junto con 
15125 \begin_inset Flex Code
15126 status collapsed
15127
15128 \begin_layout Plain Layout
15129 PassThru 1
15130 \end_layout
15131
15132 \end_inset
15133
15134 ,
15135  esto permite emular un editor de texto simple (como un recuadro ERT).
15136 \end_layout
15137
15138 \begin_layout Description
15139 \begin_inset Flex Code
15140 status collapsed
15141
15142 \begin_layout Plain Layout
15143 ParIndent
15144 \end_layout
15145
15146 \end_inset
15147
15148  [
15149 \begin_inset Flex Code
15150 status collapsed
15151
15152 \begin_layout Plain Layout
15153 string=""
15154 \end_layout
15155
15156 \end_inset
15157
15158 ] El sangrado de la primera línea de un párrafo.
15159  
15160 \begin_inset Flex Code
15161 status collapsed
15162
15163 \begin_layout Plain Layout
15164 Parindent
15165 \end_layout
15166
15167 \end_inset
15168
15169  estará fijado para un determinado estilo.
15170  La excepción es el estilo 
15171 \begin_inset Flex Code
15172 status collapsed
15173
15174 \begin_layout Plain Layout
15175 Normal
15176 \end_layout
15177
15178 \end_inset
15179
15180 ,
15181  puesto que la sangría de un párrafo de estilo 
15182 \begin_inset Flex Code
15183 status collapsed
15184
15185 \begin_layout Plain Layout
15186 Normal
15187 \end_layout
15188
15189 \end_inset
15190
15191  puede prohibirse con 
15192 \begin_inset Flex Code
15193 status collapsed
15194
15195 \begin_layout Plain Layout
15196 NextNoIndent
15197 \end_layout
15198
15199 \end_inset
15200
15201 .
15202  Además,
15203  los párrafos de estilo 
15204 \begin_inset Flex Code
15205 status collapsed
15206
15207 \begin_layout Plain Layout
15208 Normal
15209 \end_layout
15210
15211 \end_inset
15212
15213  dentro de entornos usan la sangría 
15214 \begin_inset Flex Code
15215 status collapsed
15216
15217 \begin_layout Plain Layout
15218 Parindent
15219 \end_layout
15220
15221 \end_inset
15222
15223  del entorno,
15224  no su propio valor.
15225  Por ejemplo,
15226  los párrafos 
15227 \begin_inset Flex Code
15228 status collapsed
15229
15230 \begin_layout Plain Layout
15231 Normal
15232 \end_layout
15233
15234 \end_inset
15235
15236  en una enumeración no se sangran.
15237 \end_layout
15238
15239 \begin_layout Description
15240 \begin_inset Flex Code
15241 status collapsed
15242
15243 \begin_layout Plain Layout
15244 ParSep
15245 \end_layout
15246
15247 \end_inset
15248
15249  [
15250 \begin_inset Flex Code
15251 status collapsed
15252
15253 \begin_layout Plain Layout
15254 float=0
15255 \end_layout
15256
15257 \end_inset
15258
15259 ] El espacio vertical entre dos párrafos de este estilo.
15260 \end_layout
15261
15262 \begin_layout Description
15263 \begin_inset Flex Code
15264 status collapsed
15265
15266 \begin_layout Plain Layout
15267 Parskip
15268 \end_layout
15269
15270 \end_inset
15271
15272  [
15273 \begin_inset Flex Code
15274 status collapsed
15275
15276 \begin_layout Plain Layout
15277 float=0
15278 \end_layout
15279
15280 \end_inset
15281
15282 ] \SpecialChar LyX
15283  permite al usuario elegir entre 
15284 \begin_inset Quotes cld
15285 \end_inset
15286
15287 sangrado
15288 \begin_inset Quotes crd
15289 \end_inset
15290
15291  o 
15292 \begin_inset Quotes cld
15293 \end_inset
15294
15295 espacio vertical
15296 \begin_inset Quotes crd
15297 \end_inset
15298
15299  para separar párrafos.
15300  Si se elige 
15301 \begin_inset Quotes cld
15302 \end_inset
15303
15304 sangrado
15305 \begin_inset Quotes crd
15306 \end_inset
15307
15308 ,
15309  este valor es completamente ignorado.
15310  Si se elige 
15311 \begin_inset Quotes cld
15312 \end_inset
15313
15314 espacio vertical
15315 \begin_inset Quotes crd
15316 \end_inset
15317
15318 ,
15319  el sangrado de un estilo tipo 
15320 \begin_inset Quotes cld
15321 \end_inset
15322
15323 Párrafo
15324 \begin_inset Quotes crd
15325 \end_inset
15326
15327  de \SpecialChar LaTeX
15328  se ignora y todos los párrafos son separados con este argumento 
15329 \begin_inset Quotes cld
15330 \end_inset
15331
15332 parskip
15333 \begin_inset Quotes crd
15334 \end_inset
15335
15336 .
15337  El espacio vertical se calcula con 
15338 \begin_inset Flex Code
15339 status collapsed
15340
15341 \begin_layout Plain Layout
15342 Parskip
15343 \begin_inset space ~
15344 \end_inset
15345
15346 * DefaultHeight
15347 \end_layout
15348
15349 \end_inset
15350
15351 ,
15352  donde 
15353 \begin_inset Flex Code
15354 status collapsed
15355
15356 \begin_layout Plain Layout
15357 DefaultHeight
15358 \end_layout
15359
15360 \end_inset
15361
15362  es la altura de una fila con la tipografía normal.
15363  De esta forma,
15364  el aspecto queda igual con diferentes tipografías de pantalla.
15365 \end_layout
15366
15367 \begin_layout Description
15368 \begin_inset Flex Code
15369 status collapsed
15370
15371 \begin_layout Plain Layout
15372 PassThru
15373 \end_layout
15374
15375 \end_inset
15376
15377  [
15378 \emph on
15379
15380 \begin_inset Flex Code
15381 status collapsed
15382
15383 \begin_layout Plain Layout
15384
15385 \emph on
15386 0
15387 \end_layout
15388
15389 \end_inset
15390
15391
15392 \emph default
15393 ,
15394 \begin_inset space \thinspace{}
15395 \end_inset
15396
15397
15398 \begin_inset Flex Code
15399 status collapsed
15400
15401 \begin_layout Plain Layout
15402 1
15403 \end_layout
15404
15405 \end_inset
15406
15407 ] Si el contenido de este párrafo debería aparecer en la salida en forma cruda,
15408  es decir sin las traducciones especiales que \SpecialChar LaTeX
15409  necesitaría.
15410 \end_layout
15411
15412 \begin_layout Description
15413 \begin_inset Flex Code
15414 status collapsed
15415
15416 \begin_layout Plain Layout
15417 PassThruChars
15418 \end_layout
15419
15420 \end_inset
15421
15422  [
15423 \begin_inset Flex Code
15424 status collapsed
15425
15426 \begin_layout Plain Layout
15427 string
15428 \end_layout
15429
15430 \end_inset
15431
15432 ]
15433 \family typewriter
15434  
15435 \family default
15436 Define caracteres individuales que deberían emitirse en bruto,
15437  o sea,
15438  sin traducciones especiales que \SpecialChar LaTeX
15439  podría requerir.
15440 \end_layout
15441
15442 \begin_layout Description
15443 \begin_inset Flex Code
15444 status collapsed
15445
15446 \begin_layout Plain Layout
15447 Preamble
15448 \end_layout
15449
15450 \end_inset
15451
15452  Información a incluir en el preámbulo \SpecialChar LaTeX
15453  cuando se usa este estilo.
15454  Utilizado para definir macros,
15455  paquetes a cargar,
15456  etc.,
15457  requeridos por este estilo en particular.
15458  Debe terminar con 
15459 \begin_inset Quotes cld
15460 \end_inset
15461
15462
15463 \begin_inset Flex Code
15464 status collapsed
15465
15466 \begin_layout Plain Layout
15467 EndPreamble
15468 \end_layout
15469
15470 \end_inset
15471
15472
15473 \begin_inset Quotes crd
15474 \end_inset
15475
15476 .
15477 \end_layout
15478
15479 \begin_layout Description
15480 \begin_inset Flex Code
15481 status collapsed
15482
15483 \begin_layout Plain Layout
15484 RefPrefix
15485 \end_layout
15486
15487 \end_inset
15488
15489  [
15490 \begin_inset Flex Code
15491 status collapsed
15492
15493 \begin_layout Plain Layout
15494 string
15495 \end_layout
15496
15497 \end_inset
15498
15499 ] El prefijo a usar cuando se crean etiquetas que se refieren a párrafos de este tipo.
15500  Esto permite el uso de referencias con formato.
15501 \end_layout
15502
15503 \begin_layout Description
15504 \begin_inset Flex Code
15505 status collapsed
15506
15507 \begin_layout Plain Layout
15508 Requires
15509 \end_layout
15510
15511 \end_inset
15512
15513
15514 \series medium
15515  [
15516 \begin_inset Flex Code
15517 status collapsed
15518
15519 \begin_layout Plain Layout
15520 string
15521 \end_layout
15522
15523 \end_inset
15524
15525 ]
15526 \series default
15527  Si el estilo requiere la característica 
15528 \begin_inset Flex Code
15529 status collapsed
15530
15531 \begin_layout Plain Layout
15532 string
15533 \end_layout
15534
15535 \end_inset
15536
15537  (véase la lista en 
15538 \begin_inset CommandInset ref
15539 LatexCommand ref
15540 reference "cap:Lista-de-funciones"
15541 nolink "false"
15542
15543 \end_inset
15544
15545 ).
15546  Si necesitas un paquete con opciones específicas puedes usar además 
15547 \begin_inset Flex Code
15548 status collapsed
15549
15550 \begin_layout Plain Layout
15551 PackageOptions
15552 \end_layout
15553
15554 \end_inset
15555
15556  como un parámetro de clase de texto general (véase 
15557 \begin_inset CommandInset ref
15558 LatexCommand ref
15559 reference "subsec:Parámetros-generales-clases"
15560 nolink "false"
15561
15562 \end_inset
15563
15564 ).
15565 \end_layout
15566
15567 \begin_layout Description
15568 \begin_inset Flex Code
15569 status collapsed
15570
15571 \begin_layout Plain Layout
15572 ResetArgs
15573 \end_layout
15574
15575 \end_inset
15576
15577  [
15578 \begin_inset Flex Code
15579 status collapsed
15580
15581 \begin_layout Plain Layout
15582
15583 \emph on
15584 0
15585 \end_layout
15586
15587 \end_inset
15588
15589 ,
15590 \begin_inset Flex Code
15591 status collapsed
15592
15593 \begin_layout Plain Layout
15594 1
15595 \end_layout
15596
15597 \end_inset
15598
15599 ] Reinicia los argumentos de este estilo (como definido mediante la etiqueta 
15600 \begin_inset Flex Code
15601 status collapsed
15602
15603 \begin_layout Plain Layout
15604 Argument
15605 \end_layout
15606
15607 \end_inset
15608
15609 ).
15610  Es útil si has copiado un estilo mediante 
15611 \begin_inset Flex Code
15612 status collapsed
15613
15614 \begin_layout Plain Layout
15615 CopyStyle
15616 \end_layout
15617
15618 \end_inset
15619
15620 ,
15621  pero no quieres heredar sus argumentos (requerido y opcional).
15622 \end_layout
15623
15624 \begin_layout Description
15625
15626 \lang english
15627 \begin_inset Flex Code
15628 status collapsed
15629
15630 \begin_layout Plain Layout
15631
15632 \lang english
15633 ResumeCounter
15634 \end_layout
15635
15636 \end_inset
15637
15638  [
15639 \begin_inset Flex Code
15640 status collapsed
15641
15642 \begin_layout Plain Layout
15643
15644 \emph on
15645 \lang english
15646 0
15647 \end_layout
15648
15649 \end_inset
15650
15651 ,
15652 \begin_inset Flex Code
15653 status collapsed
15654
15655 \begin_layout Plain Layout
15656
15657 \lang english
15658 1
15659 \end_layout
15660
15661 \end_inset
15662
15663 ] Resumes a counter that is usually reset at each new sequence of layouts.
15664  This is currently only useful when 
15665 \begin_inset Flex Code
15666 status collapsed
15667
15668 \begin_layout Plain Layout
15669
15670 \lang english
15671 LabelType
15672 \end_layout
15673
15674 \end_inset
15675
15676  is 
15677 \begin_inset Flex Code
15678 status collapsed
15679
15680 \begin_layout Plain Layout
15681
15682 \lang english
15683 Enumerate
15684 \end_layout
15685
15686 \end_inset
15687
15688 .
15689 \end_layout
15690
15691 \begin_layout Description
15692 \begin_inset Flex Code
15693 status collapsed
15694
15695 \begin_layout Plain Layout
15696 RightDelim
15697 \end_layout
15698
15699 \end_inset
15700
15701  [
15702 \begin_inset Flex Code
15703 status collapsed
15704
15705 \begin_layout Plain Layout
15706 string
15707 \end_layout
15708
15709 \end_inset
15710
15711 ] Secuencia que se pone al final del contenido del formato.
15712  Un salto de línea en la salida se puede indicar con 
15713 \begin_inset Flex Code
15714 status collapsed
15715
15716 \begin_layout Plain Layout
15717 <br/>
15718 \end_layout
15719
15720 \end_inset
15721
15722 .
15723 \end_layout
15724
15725 \begin_layout Description
15726 \begin_inset Flex Code
15727 status collapsed
15728
15729 \begin_layout Plain Layout
15730 RightMargin
15731 \end_layout
15732
15733 \end_inset
15734
15735  [
15736 \begin_inset Flex Code
15737 status collapsed
15738
15739 \begin_layout Plain Layout
15740 string=""
15741 \end_layout
15742
15743 \end_inset
15744
15745 ] Similar a 
15746 \begin_inset Flex Code
15747 status collapsed
15748
15749 \begin_layout Plain Layout
15750 LeftMargin
15751 \end_layout
15752
15753 \end_inset
15754
15755 .
15756 \end_layout
15757
15758 \begin_layout Description
15759 \begin_inset Flex Code
15760 status collapsed
15761
15762 \begin_layout Plain Layout
15763 Spacing
15764 \end_layout
15765
15766 \end_inset
15767
15768  [
15769 \begin_inset Flex Code
15770 status collapsed
15771
15772 \begin_layout Plain Layout
15773
15774 \emph on
15775 single
15776 \end_layout
15777
15778 \end_inset
15779
15780 ,
15781  
15782 \begin_inset Flex Code
15783 status collapsed
15784
15785 \begin_layout Plain Layout
15786 onehalf
15787 \end_layout
15788
15789 \end_inset
15790
15791 ,
15792  
15793 \begin_inset Flex Code
15794 status collapsed
15795
15796 \begin_layout Plain Layout
15797 double
15798 \end_layout
15799
15800 \end_inset
15801
15802 ,
15803  
15804 \begin_inset Flex Code
15805 status collapsed
15806
15807 \begin_layout Plain Layout
15808 other
15809 \begin_inset space ~
15810 \end_inset
15811
15812 <valor>
15813 \end_layout
15814
15815 \end_inset
15816
15817 ] Esto define cuál debería ser el espacio predefinido en el estilo.
15818  Los argumentos 
15819 \begin_inset Flex Code
15820 status collapsed
15821
15822 \begin_layout Plain Layout
15823 single
15824 \end_layout
15825
15826 \end_inset
15827
15828 ,
15829  
15830 \begin_inset Flex Code
15831 status collapsed
15832
15833 \begin_layout Plain Layout
15834 onehalf
15835 \end_layout
15836
15837 \end_inset
15838
15839  y 
15840 \begin_inset Flex Code
15841 status collapsed
15842
15843 \begin_layout Plain Layout
15844 double
15845 \end_layout
15846
15847 \end_inset
15848
15849  corresponden respectivamente a un multiplicador de 1,
15850  1.25 y 1.667.
15851  Si se especifica el argumento 
15852 \begin_inset Flex Code
15853 status collapsed
15854
15855 \begin_layout Plain Layout
15856 other
15857 \end_layout
15858
15859 \end_inset
15860
15861 ,
15862  entonces se debería proporcionar además un argumento numérico que será el valor real del multiplicador.
15863  Anotar que,
15864  al contrario que otros parámetros,
15865  
15866 \begin_inset Flex Code
15867 status collapsed
15868
15869 \begin_layout Plain Layout
15870 Spacing
15871 \end_layout
15872
15873 \end_inset
15874
15875  implica la generación de código \SpecialChar LaTeX
15876  específico,
15877  usando el paquete \SpecialChar LaTeX
15878  
15879 \begin_inset Flex Code
15880 status collapsed
15881
15882 \begin_layout Plain Layout
15883 setspace
15884 \end_layout
15885
15886 \end_inset
15887
15888 .
15889 \end_layout
15890
15891 \begin_layout Description
15892 \begin_inset Flex Code
15893 status collapsed
15894
15895 \begin_layout Plain Layout
15896 Spellcheck
15897 \end_layout
15898
15899 \end_inset
15900
15901  [
15902 \begin_inset Flex Code
15903 status collapsed
15904
15905 \begin_layout Plain Layout
15906 0
15907 \end_layout
15908
15909 \end_inset
15910
15911 ,
15912 \emph on
15913
15914 \begin_inset space \thinspace{}
15915 \end_inset
15916
15917
15918 \emph default
15919
15920 \begin_inset Flex Code
15921 status collapsed
15922
15923 \begin_layout Plain Layout
15924
15925 \emph on
15926 1
15927 \end_layout
15928
15929 \end_inset
15930
15931 ] Corrección ortográfica de párrafos de este estilo.
15932  Por omisión,
15933  sí.
15934 \end_layout
15935
15936 \begin_layout Description
15937
15938 \lang english
15939 \begin_inset Flex Code
15940 status collapsed
15941
15942 \begin_layout Plain Layout
15943
15944 \lang english
15945 StepMasterCounter
15946 \end_layout
15947
15948 \end_inset
15949
15950  [
15951 \begin_inset Flex Code
15952 status collapsed
15953
15954 \begin_layout Plain Layout
15955
15956 \emph on
15957 \lang english
15958 0
15959 \end_layout
15960
15961 \end_inset
15962
15963 ,
15964 \begin_inset Flex Code
15965 status collapsed
15966
15967 \begin_layout Plain Layout
15968
15969 \lang english
15970 1
15971 \end_layout
15972
15973 \end_inset
15974
15975 ] Steps the master counter of a given counter at the beginning of a new sequence of layouts.
15976  This is currently only useful when 
15977 \begin_inset Flex Code
15978 status collapsed
15979
15980 \begin_layout Plain Layout
15981
15982 \lang english
15983 LabelType
15984 \end_layout
15985
15986 \end_inset
15987
15988  is 
15989 \begin_inset Flex Code
15990 status collapsed
15991
15992 \begin_layout Plain Layout
15993
15994 \lang english
15995 Enumerate
15996 \end_layout
15997
15998 \end_inset
15999
16000 .
16001 \end_layout
16002
16003 \begin_layout Description
16004 \begin_inset Flex Code
16005 status collapsed
16006
16007 \begin_layout Plain Layout
16008 TextFont
16009 \end_layout
16010
16011 \end_inset
16012
16013  La tipografía para el cuerpo del texto.
16014  Véase la sección 
16015 \begin_inset CommandInset ref
16016 LatexCommand ref
16017 reference "subsec:Tipografía"
16018 nolink "false"
16019
16020 \end_inset
16021
16022 .
16023 \end_layout
16024
16025 \begin_layout Description
16026 \begin_inset Flex Code
16027 status collapsed
16028
16029 \begin_layout Plain Layout
16030 TocLevel
16031 \end_layout
16032
16033 \end_inset
16034
16035  [
16036 \begin_inset Flex Code
16037 status collapsed
16038
16039 \begin_layout Plain Layout
16040 int=3
16041 \end_layout
16042
16043 \end_inset
16044
16045 ] El nivel del estilo en el índice general.
16046  Esto se usa para la numeración automática de los encabezados de sección.
16047 \end_layout
16048
16049 \begin_layout Description
16050 \begin_inset Flex Code
16051 status collapsed
16052
16053 \begin_layout Plain Layout
16054 ToggleIndent
16055 \end_layout
16056
16057 \end_inset
16058
16059  [
16060 \emph on
16061
16062 \begin_inset Flex Code
16063 status collapsed
16064
16065 \begin_layout Plain Layout
16066 default
16067 \end_layout
16068
16069 \end_inset
16070
16071
16072 \emph default
16073 ,
16074  
16075 \begin_inset Flex Code
16076 status collapsed
16077
16078 \begin_layout Plain Layout
16079 always
16080 \end_layout
16081
16082 \end_inset
16083
16084 ,
16085  
16086 \begin_inset Flex Code
16087 status collapsed
16088
16089 \begin_layout Plain Layout
16090 never
16091 \end_layout
16092
16093 \end_inset
16094
16095 ] Esta etiqueta determina si la sangría de primera línea de este párrafo puede conmutarse en el diálogo de configuración del párrafo.
16096  Si se establece 
16097 \emph on
16098
16099 \begin_inset Flex Code
16100 status collapsed
16101
16102 \begin_layout Plain Layout
16103
16104 \emph off
16105 default
16106 \end_layout
16107
16108 \end_inset
16109
16110
16111 \emph default
16112 ,
16113  la sangría puede conmutarse si la configuración del documento usa estilo de párrafo 
16114 \begin_inset Quotes cld
16115 \end_inset
16116
16117 sangrado
16118 \begin_inset Quotes crd
16119 \end_inset
16120
16121 ;
16122  con 
16123 \begin_inset Flex Code
16124 status collapsed
16125
16126 \begin_layout Plain Layout
16127 always
16128 \end_layout
16129
16130 \end_inset
16131
16132 ,
16133  la sangría se puede conmutar siempre,
16134  no importa la configuración del documento;
16135  con 
16136 \begin_inset Flex Code
16137 status collapsed
16138
16139 \begin_layout Plain Layout
16140 never
16141 \end_layout
16142
16143 \end_inset
16144
16145 ,
16146  la sangría nunca se puede conmutar.
16147 \end_layout
16148
16149 \begin_layout Description
16150 \begin_inset Flex Code
16151 status collapsed
16152
16153 \begin_layout Plain Layout
16154 TopSep
16155 \end_layout
16156
16157 \end_inset
16158
16159  [
16160 \begin_inset Flex Code
16161 status collapsed
16162
16163 \begin_layout Plain Layout
16164 float=0
16165 \end_layout
16166
16167 \end_inset
16168
16169 ] El espacio vertical con el que el primero de una cadena de párrafos con este estilo se separa del párrafo anterior.
16170  Si el párrafo anterior tiene otro estilo,
16171  la separación no es simplemente añadida,
16172  sino que se pone la máxima.
16173 \end_layout
16174
16175 \begin_layout Subsection
16176 Internacionalización de estilos de párrafo
16177 \begin_inset CommandInset label
16178 LatexCommand label
16179 name "subsec:I18n"
16180
16181 \end_inset
16182
16183
16184 \end_layout
16185
16186 \begin_layout Standard
16187 \SpecialChar LyX
16188  ha soportado desde hace tiempo la internacionalización de la información de formato,
16189  pero,
16190  hasta la versión 2.0,
16191  esto se aplicaba solo a la interfaz de usuario y no a la salida,
16192  digamos,
16193  PDF.
16194  Así,
16195  por ej.,
16196  autores franceses tenían que acudir a feos trucos para conseguir `Théorème 1' en vez de `Theorem 1'.
16197  Gracias a Georg Baum,
16198  este ya no es el caso.
16199 \end_layout
16200
16201 \begin_layout Standard
16202 Si un 
16203 \begin_inset Flex Code
16204 status collapsed
16205
16206 \begin_layout Plain Layout
16207 Style
16208 \end_layout
16209
16210 \end_inset
16211
16212  define texto que se mostrará en el documento exportado,
16213  puede usar 
16214 \begin_inset Flex Code
16215 status collapsed
16216
16217 \begin_layout Plain Layout
16218 LangPreamble
16219 \end_layout
16220
16221 \end_inset
16222
16223  y 
16224 \begin_inset Flex Code
16225 status collapsed
16226
16227 \begin_layout Plain Layout
16228 BabelPreamble
16229 \end_layout
16230
16231 \end_inset
16232
16233  para soportar correctamente documentos con idioma distinto del inglés e incluso documentos plurilingües.
16234  El siguiente extracto (del archivo 
16235 \begin_inset Flex Code
16236 status collapsed
16237
16238 \begin_layout Plain Layout
16239 theorems-ams.inc
16240 \end_layout
16241
16242 \end_inset
16243
16244 ) muestra cómo funciona:
16245 \end_layout
16246
16247 \begin_layout LyX-Code
16248 Preamble
16249 \end_layout
16250
16251 \begin_deeper
16252 \begin_layout LyX-Code
16253   
16254 \backslash
16255 theoremstyle{remark}
16256 \end_layout
16257
16258 \begin_layout LyX-Code
16259   
16260 \backslash
16261 newtheorem{claim}[thm]{
16262 \backslash
16263 protect
16264 \backslash
16265 claimname}
16266 \end_layout
16267
16268 \begin_layout LyX-Code
16269 EndPreamble
16270 \end_layout
16271
16272 \begin_layout LyX-Code
16273 LangPreamble
16274 \end_layout
16275
16276 \begin_layout LyX-Code
16277   
16278 \backslash
16279 providecommand{
16280 \backslash
16281 claimname}{_(Claim)}
16282 \end_layout
16283
16284 \begin_layout LyX-Code
16285 EndLangPreamble
16286 \end_layout
16287
16288 \begin_layout LyX-Code
16289 BabelPreamble
16290 \end_layout
16291
16292 \begin_layout LyX-Code
16293     
16294 \backslash
16295 addto
16296 \backslash
16297 captions$$lang{
16298 \backslash
16299 renewcommand{
16300 \backslash
16301 claimname}{_(Claim)}}
16302 \end_layout
16303
16304 \begin_layout LyX-Code
16305 EndBabelPreamble
16306 \end_layout
16307
16308 \end_deeper
16309 \begin_layout Standard
16310 En principio,
16311  cualquier \SpecialChar LaTeX
16312  legal puede aparecer en las etiquetas 
16313 \begin_inset Flex Code
16314 status collapsed
16315
16316 \begin_layout Plain Layout
16317 LangPreamble
16318 \end_layout
16319
16320 \end_inset
16321
16322  y 
16323 \begin_inset Flex Code
16324 status collapsed
16325
16326 \begin_layout Plain Layout
16327 BabelPreamble
16328 \end_layout
16329
16330 \end_inset
16331
16332 ,
16333  pero en la práctica el aspecto será generalmente como el mostrado aquí.
16334  La clave para una correcta traducción del texto impreso es la definición del comando \SpecialChar LaTeX
16335  
16336 \begin_inset Flex Code
16337 status collapsed
16338
16339 \begin_layout Plain Layout
16340
16341 \backslash
16342 claimname
16343 \end_layout
16344
16345 \end_inset
16346
16347  y su uso en 
16348 \begin_inset Flex Code
16349 status collapsed
16350
16351 \begin_layout Plain Layout
16352
16353 \backslash
16354 newtheorem
16355 \end_layout
16356
16357 \end_inset
16358
16359 .
16360  
16361 \end_layout
16362
16363 \begin_layout Standard
16364 La etiqueta 
16365 \begin_inset Flex Code
16366 status collapsed
16367
16368 \begin_layout Plain Layout
16369 LangPreamble
16370 \end_layout
16371
16372 \end_inset
16373
16374  proporciona internacionalización basada en el idioma global del documento.
16375  El contenido de la etiqueta se incluirá en el preámbulo,
16376  igual que con la etiqueta 
16377 \begin_inset Flex Code
16378 status collapsed
16379
16380 \begin_layout Plain Layout
16381 Preamble
16382 \end_layout
16383
16384 \end_inset
16385
16386 .
16387  Lo que la hace especial es el uso de la 
16388 \begin_inset Quotes eld
16389 \end_inset
16390
16391 función
16392 \begin_inset Quotes erd
16393 \end_inset
16394
16395  
16396 \begin_inset Flex Code
16397 status collapsed
16398
16399 \begin_layout Plain Layout
16400 _()
16401 \end_layout
16402
16403 \end_inset
16404
16405 ,
16406  que será reemplazada,
16407  cuando \SpecialChar LyX
16408  genere la salida \SpecialChar LaTeX
16409 ,
16410  por la traducción de su argumento al idioma del documento.
16411 \end_layout
16412
16413 \begin_layout Standard
16414 La etiqueta 
16415 \begin_inset Flex Code
16416 status collapsed
16417
16418 \begin_layout Plain Layout
16419 BabelPreamble
16420 \end_layout
16421
16422 \end_inset
16423
16424  es más compleja,
16425  puesto que está pensada para dar soporte a documentos plurilingües y ofrece una interfaz al paquete 
16426 \begin_inset Flex Code
16427 status collapsed
16428
16429 \begin_layout Plain Layout
16430 babel
16431 \end_layout
16432
16433 \end_inset
16434
16435 .
16436  Su contenido se añadirá al preámbulo una vez por cada idioma que aparezca en el documento.
16437  En este caso,
16438  el argumento en 
16439 \begin_inset Flex Code
16440 status collapsed
16441
16442 \begin_layout Plain Layout
16443 _()
16444 \end_layout
16445
16446 \end_inset
16447
16448  se reemplazará por su traducción al idioma en cuestión;
16449  la expresión 
16450 \begin_inset Flex Code
16451 status collapsed
16452
16453 \begin_layout Plain Layout
16454 $$lang
16455 \end_layout
16456
16457 \end_inset
16458
16459  es reemplazada por el nombre del idioma (el usado por el paquete babel).
16460 \end_layout
16461
16462 \begin_layout Standard
16463 Un documento en alemán que también incluya una sección en francés tendría lo siguiente en el preámbulo:
16464 \end_layout
16465
16466 \begin_layout LyX-Code
16467
16468 \backslash
16469 addto
16470 \backslash
16471 captionsfrench{
16472 \backslash
16473 renewcommand{
16474 \backslash
16475 claimname}{Affirmation}}
16476 \begin_inset Newline newline
16477 \end_inset
16478
16479
16480 \backslash
16481 addto
16482 \backslash
16483 captionsngerman{
16484 \backslash
16485 renewcommand{
16486 \backslash
16487 claimname}{Behauptung}}
16488 \begin_inset Newline newline
16489 \end_inset
16490
16491
16492 \backslash
16493 providecommand{
16494 \backslash
16495 claimname}{Behauptung}
16496 \end_layout
16497
16498 \begin_layout Standard
16499 \SpecialChar LaTeX
16500  y 
16501 \begin_inset Flex Code
16502 status collapsed
16503
16504 \begin_layout Plain Layout
16505 babel
16506 \end_layout
16507
16508 \end_inset
16509
16510  conspirarán para producir el texto correcto en la salida.
16511 \end_layout
16512
16513 \begin_layout Standard
16514 Un punto importante a tener en cuenta aquí es que las traducciones son proporcionadas por el propio \SpecialChar LyX
16515 ,
16516  por medio del archivo 
16517 \begin_inset Flex Code
16518 status collapsed
16519
16520 \begin_layout Plain Layout
16521 layouttranslations
16522 \end_layout
16523
16524 \end_inset
16525
16526 .
16527  Esto quiere decir,
16528  en definitiva,
16529  que 
16530 \begin_inset Flex Code
16531 status collapsed
16532
16533 \begin_layout Plain Layout
16534 LangPreamble
16535 \end_layout
16536
16537 \end_inset
16538
16539  y 
16540 \begin_inset Flex Code
16541 status collapsed
16542
16543 \begin_layout Plain Layout
16544 BabelPreamble
16545 \end_layout
16546
16547 \end_inset
16548
16549  realmente solo son útiles en archivos de formato que son proporcionados por \SpecialChar LyX
16550 ,
16551  puesto que el texto introducido en archivos de formato creados por el usuario no serán tenidos en cuenta por las rutinas de internacionalización de \SpecialChar LyX
16552  a menos que el archivo 
16553 \begin_inset Flex Code
16554 status collapsed
16555
16556 \begin_layout Plain Layout
16557 layouttranslations
16558 \end_layout
16559
16560 \end_inset
16561
16562  se modifique como correponde.
16563  Sin embargo,
16564  cualquier formato creado con la intención de ser incluido en \SpecialChar LyX
16565  debería usar estas etiquetas en los lugares apropiados.
16566  Ten en cuenta que las traducciones de estilo de párrafo provistas por \SpecialChar LyX
16567  nunca cambian en actualizaciones menores (p.
16568 \begin_inset space \thinspace{}
16569 \end_inset
16570
16571 e.
16572 \begin_inset space \space{}
16573 \end_inset
16574
16575 de versión 2.1.x a 2.1.y).
16576  Sin embargo es muy probable que en actualizaciones mayores (p.
16577 \begin_inset space \thinspace{}
16578 \end_inset
16579
16580 e.
16581 \begin_inset space \space{}
16582 \end_inset
16583
16584 de 2.0.x a 2.1.y) se introduzcan nuevas traducciones o correcciones.
16585 \end_layout
16586
16587 \begin_layout Subsection
16588 Flotantes
16589 \begin_inset CommandInset label
16590 LatexCommand label
16591 name "subsec:Flotantes"
16592
16593 \end_inset
16594
16595
16596 \end_layout
16597
16598 \begin_layout Standard
16599 Es necesario definir los flotantes (
16600 \begin_inset Flex Noun
16601 status collapsed
16602
16603 \begin_layout Plain Layout
16604 figura
16605 \end_layout
16606
16607 \end_inset
16608
16609 ,
16610  
16611 \begin_inset Flex Noun
16612 status collapsed
16613
16614 \begin_layout Plain Layout
16615 cuadro
16616 \end_layout
16617
16618 \end_inset
16619
16620 ,
16621  \SpecialChar ldots
16622 ) en la propia clase de texto.
16623  Los flotantes normales se incluyen en el archivo 
16624 \begin_inset Flex Code
16625 status collapsed
16626
16627 \begin_layout Plain Layout
16628 stdfloats.inc
16629 \end_layout
16630
16631 \end_inset
16632
16633 ,
16634  así que no tendrás más que añadir
16635 \end_layout
16636
16637 \begin_layout LyX-Code
16638 Input stdfloats.inc
16639 \end_layout
16640
16641 \begin_layout Standard
16642 en tu archivo de formato.
16643  Si quieres implementar una clase de texto que proponga algún otro tipo de flotante (como la clase AGU empaquetada con \SpecialChar LyX
16644 ),
16645  la información siguiente te servirá de ayuda:
16646 \end_layout
16647
16648 \begin_layout Description
16649 \begin_inset Flex Code
16650 status collapsed
16651
16652 \begin_layout Plain Layout
16653 AllowedPlacement
16654 \end_layout
16655
16656 \end_inset
16657
16658  [
16659 \begin_inset Flex Code
16660 status collapsed
16661
16662 \begin_layout Plain Layout
16663 string
16664 \end_layout
16665
16666 \end_inset
16667
16668 =!htbpH] Opciones de colocación permitidas para este tipo de flotante.
16669  El valor es una secuencia de caracteres:
16670  
16671 \emph on
16672 h
16673 \emph default
16674  (
16675 \begin_inset Quotes eld
16676 \end_inset
16677
16678 here if possible
16679 \begin_inset Quotes erd
16680 \end_inset
16681
16682 ),
16683  
16684 \emph on
16685 t
16686 \emph default
16687  (
16688 \begin_inset Quotes eld
16689 \end_inset
16690
16691 top of page
16692 \begin_inset Quotes erd
16693 \end_inset
16694
16695 ),
16696  
16697 \emph on
16698 b
16699 \emph default
16700  (
16701 \begin_inset Quotes eld
16702 \end_inset
16703
16704 bottom of page
16705 \begin_inset Quotes erd
16706 \end_inset
16707
16708 ),
16709  
16710 \emph on
16711 p
16712 \emph default
16713  (
16714 \begin_inset Quotes eld
16715 \end_inset
16716
16717 page of floats
16718 \begin_inset Quotes erd
16719 \end_inset
16720
16721 ),
16722  
16723 \emph on
16724 H
16725 \emph default
16726  (
16727 \begin_inset Quotes eld
16728 \end_inset
16729
16730 here definitely
16731 \begin_inset Quotes erd
16732 \end_inset
16733
16734 ) y 
16735 \emph on
16736 !
16737
16738 \emph default
16739  (
16740 \begin_inset Quotes eld
16741 \end_inset
16742
16743 ignore LaTeX rules
16744 \begin_inset Quotes erd
16745 \end_inset
16746
16747 ).
16748  El orden no importa.
16749  Si las opciones de colocación no están permitidas usa string 
16750 \emph on
16751 none
16752 \emph default
16753 .
16754 \end_layout
16755
16756 \begin_layout Description
16757 \begin_inset Flex Code
16758 status collapsed
16759
16760 \begin_layout Plain Layout
16761 AllowsSideways
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 \begin_inset space \thinspace{}
16778 \end_inset
16779
16780
16781 \emph on
16782
16783 \begin_inset Flex Code
16784 status collapsed
16785
16786 \begin_layout Plain Layout
16787 1
16788 \end_layout
16789
16790 \end_inset
16791
16792
16793 \emph default
16794 ] Define si el flotante admite rotación mediante el paquete \SpecialChar LaTeX
16795  
16796 \family typewriter
16797 rotfloat
16798 \family default
16799  (sidewaysfloat).
16800  Pon 
16801 \begin_inset Flex Code
16802 status collapsed
16803
16804 \begin_layout Plain Layout
16805 0
16806 \end_layout
16807
16808 \end_inset
16809
16810  si el flotante no soporta esta característica.
16811 \end_layout
16812
16813 \begin_layout Description
16814 \begin_inset Flex Code
16815 status collapsed
16816
16817 \begin_layout Plain Layout
16818 AllowsWide
16819 \end_layout
16820
16821 \end_inset
16822
16823  [
16824 \begin_inset Flex Code
16825 status collapsed
16826
16827 \begin_layout Plain Layout
16828 0
16829 \end_layout
16830
16831 \end_inset
16832
16833 ,
16834 \begin_inset space \thinspace{}
16835 \end_inset
16836
16837
16838 \emph on
16839
16840 \begin_inset Flex Code
16841 status collapsed
16842
16843 \begin_layout Plain Layout
16844 1
16845 \end_layout
16846
16847 \end_inset
16848
16849
16850 \emph default
16851 ] Define si el flotante tiene una variante asterisco que abarca columnas en un párrafo de dos columnas.
16852  Pon 
16853 \begin_inset Flex Code
16854 status collapsed
16855
16856 \begin_layout Plain Layout
16857 0
16858 \end_layout
16859
16860 \end_inset
16861
16862  si el flotante no soporta esta característica.
16863 \end_layout
16864
16865 \begin_layout Description
16866 \begin_inset Flex Code
16867 status collapsed
16868
16869 \begin_layout Plain Layout
16870 Extension
16871 \end_layout
16872
16873 \end_inset
16874
16875  [
16876 \begin_inset Flex Code
16877 status collapsed
16878
16879 \begin_layout Plain Layout
16880 string
16881 \end_layout
16882
16883 \end_inset
16884
16885 =
16886 \begin_inset Quotes erd
16887 \end_inset
16888
16889
16890 \begin_inset Quotes erd
16891 \end_inset
16892
16893 ] La extensión del nombre de un archivo auxiliar para la lista de figuras (u otra cosa).
16894  \SpecialChar LaTeX
16895  escribe las leyendas en este archivo.
16896 \end_layout
16897
16898 \begin_layout Description
16899 \begin_inset Flex Code
16900 status collapsed
16901
16902 \begin_layout Plain Layout
16903 GuiName
16904 \end_layout
16905
16906 \end_inset
16907
16908  [
16909 \begin_inset Flex Code
16910 status collapsed
16911
16912 \begin_layout Plain Layout
16913 string
16914 \end_layout
16915
16916 \end_inset
16917
16918 =
16919 \begin_inset Quotes erd
16920 \end_inset
16921
16922
16923 \begin_inset Quotes erd
16924 \end_inset
16925
16926 ] La cadena que se usará en los menús y también para la leyenda.
16927  Esto se traduce al idioma actual si se usa.
16928 \end_layout
16929
16930 \begin_layout Description
16931 \begin_inset Flex Code
16932 status collapsed
16933
16934 \begin_layout Plain Layout
16935 HTML*
16936 \end_layout
16937
16938 \end_inset
16939
16940  Controlan la salida XHTML.
16941  Véase la sección
16942 \begin_inset space ~
16943 \end_inset
16944
16945
16946 \begin_inset CommandInset ref
16947 LatexCommand ref
16948 reference "sec:Etiquetas-para-XHTML"
16949 nolink "false"
16950
16951 \end_inset
16952
16953 .
16954 \end_layout
16955
16956 \begin_layout Description
16957 \begin_inset Flex Code
16958 status collapsed
16959
16960 \begin_layout Plain Layout
16961 IsPredefined
16962 \end_layout
16963
16964 \end_inset
16965
16966  [
16967 \emph on
16968
16969 \begin_inset Flex Code
16970 status collapsed
16971
16972 \begin_layout Plain Layout
16973 0
16974 \end_layout
16975
16976 \end_inset
16977
16978
16979 \emph default
16980 ,
16981 \begin_inset space \thinspace{}
16982 \end_inset
16983
16984
16985 \begin_inset Flex Code
16986 status collapsed
16987
16988 \begin_layout Plain Layout
16989 1
16990 \end_layout
16991
16992 \end_inset
16993
16994 ] Indica si el flotante está ya definido en la clase de documento o si necesitamos cargar el paquete \SpecialChar LaTeX
16995  
16996 \begin_inset Flex Code
16997 status collapsed
16998
16999 \begin_layout Plain Layout
17000 float
17001 \end_layout
17002
17003 \end_inset
17004
17005  para definirlo sobre la marcha.
17006  Por omisión 
17007 \begin_inset Flex Code
17008 status collapsed
17009
17010 \begin_layout Plain Layout
17011 0
17012 \end_layout
17013
17014 \end_inset
17015
17016 ,
17017  que significa:
17018  usar 
17019 \begin_inset Flex Code
17020 status collapsed
17021
17022 \begin_layout Plain Layout
17023 float
17024 \end_layout
17025
17026 \end_inset
17027
17028 .
17029  Deberá ponerse 
17030 \begin_inset Flex Code
17031 status collapsed
17032
17033 \begin_layout Plain Layout
17034 1
17035 \end_layout
17036
17037 \end_inset
17038
17039  si el flotante ya está definido por la clase de documento \SpecialChar LaTeX
17040 .
17041 \end_layout
17042
17043 \begin_layout Description
17044 \begin_inset Flex Code
17045 status collapsed
17046
17047 \begin_layout Plain Layout
17048 ListCommand
17049 \end_layout
17050
17051 \end_inset
17052
17053  [
17054 \begin_inset Flex Code
17055 status collapsed
17056
17057 \begin_layout Plain Layout
17058 string
17059 \end_layout
17060
17061 \end_inset
17062
17063 =
17064 \begin_inset Quotes erd
17065 \end_inset
17066
17067
17068 \begin_inset Quotes erd
17069 \end_inset
17070
17071 ] El comando usado para generar una lista de flotantes de este tipo;
17072  debe omitirse el precedente `
17073 \backslash
17074 '.
17075  Esto 
17076 \emph on
17077 debe
17078 \emph default
17079  ponerse si 
17080 \begin_inset Flex Code
17081 status collapsed
17082
17083 \begin_layout Plain Layout
17084 UsesFloatPkg
17085 \end_layout
17086
17087 \end_inset
17088
17089  es `false',
17090  puesto que no hay una forma estándar de generar este comando.
17091  Se ignora si 
17092 \begin_inset Flex Code
17093 status collapsed
17094
17095 \begin_layout Plain Layout
17096 UsesFloatPkg
17097 \end_layout
17098
17099 \end_inset
17100
17101  es `true',
17102  porque en este caso sí hay una forma estándar de definir el comando.
17103 \end_layout
17104
17105 \begin_layout Description
17106 \begin_inset Flex Code
17107 status collapsed
17108
17109 \begin_layout Plain Layout
17110 ListName
17111 \end_layout
17112
17113 \end_inset
17114
17115  [
17116 \begin_inset Flex Code
17117 status collapsed
17118
17119 \begin_layout Plain Layout
17120 string
17121 \end_layout
17122
17123 \end_inset
17124
17125 =
17126 \begin_inset Quotes erd
17127 \end_inset
17128
17129
17130 \begin_inset Quotes erd
17131 \end_inset
17132
17133 ] Un título para una lista de flotantes de este tipo (índice de figuras,
17134  tablas o lo que sea).
17135  Se usa para el nombre del recuadro en \SpecialChar LyX
17136 ;
17137  se pasa a \SpecialChar LaTeX
17138  para usarlo como título allí;
17139  y se usa como título en la salida.
17140  Será traducido al idioma del documento.
17141 \end_layout
17142
17143 \begin_layout Description
17144 \begin_inset Flex Code
17145 status collapsed
17146
17147 \begin_layout Plain Layout
17148 NumberWithin
17149 \end_layout
17150
17151 \end_inset
17152
17153  [
17154 \begin_inset Flex Code
17155 status collapsed
17156
17157 \begin_layout Plain Layout
17158 string
17159 \end_layout
17160
17161 \end_inset
17162
17163 =
17164 \begin_inset Quotes erd
17165 \end_inset
17166
17167
17168 \begin_inset Quotes erd
17169 \end_inset
17170
17171 ] Este argumento (opcional) determina si los flotantes de esta clase serán numerados dentro de alguna unidad de sección del documento.
17172  Por ejemplo,
17173  si 
17174 \begin_inset Flex Code
17175 status collapsed
17176
17177 \begin_layout Plain Layout
17178 NumberWithin
17179 \end_layout
17180
17181 \end_inset
17182
17183  es 
17184 \begin_inset Quotes cld
17185 \end_inset
17186
17187
17188 \begin_inset Flex Code
17189 status collapsed
17190
17191 \begin_layout Plain Layout
17192 chapter
17193 \end_layout
17194
17195 \end_inset
17196
17197
17198 \begin_inset Quotes crd
17199 \end_inset
17200
17201 ,
17202  los flotantes serán numerados dentro de los capítulos.
17203 \end_layout
17204
17205 \begin_layout Description
17206 \begin_inset Flex Code
17207 status collapsed
17208
17209 \begin_layout Plain Layout
17210 Placement
17211 \end_layout
17212
17213 \end_inset
17214
17215  [
17216 \begin_inset Flex Code
17217 status collapsed
17218
17219 \begin_layout Plain Layout
17220 string
17221 \end_layout
17222
17223 \end_inset
17224
17225 =
17226 \begin_inset Quotes erd
17227 \end_inset
17228
17229
17230 \begin_inset Quotes erd
17231 \end_inset
17232
17233 ] La colocación por omisión para la clase dada de flotantes.
17234  El valor de 
17235 \begin_inset Flex Code
17236 status collapsed
17237
17238 \begin_layout Plain Layout
17239 string
17240 \end_layout
17241
17242 \end_inset
17243
17244  deberá ser un estándar \SpecialChar LaTeX
17245 :
17246  
17247 \begin_inset Flex Code
17248 status collapsed
17249
17250 \begin_layout Plain Layout
17251 t
17252 \end_layout
17253
17254 \end_inset
17255
17256 ,
17257  
17258 \begin_inset Flex Code
17259 status collapsed
17260
17261 \begin_layout Plain Layout
17262 b
17263 \end_layout
17264
17265 \end_inset
17266
17267 ,
17268  
17269 \begin_inset Flex Code
17270 status collapsed
17271
17272 \begin_layout Plain Layout
17273 p
17274 \end_layout
17275
17276 \end_inset
17277
17278  y 
17279 \begin_inset Flex Code
17280 status collapsed
17281
17282 \begin_layout Plain Layout
17283 h
17284 \end_layout
17285
17286 \end_inset
17287
17288 ,
17289  por 
17290 \begin_inset Quotes cld
17291 \end_inset
17292
17293 top
17294 \begin_inset Quotes crd
17295 \end_inset
17296
17297  (arriba),
17298  
17299 \begin_inset Quotes cld
17300 \end_inset
17301
17302 bottom
17303 \begin_inset Quotes crd
17304 \end_inset
17305
17306  (abajo),
17307  
17308 \begin_inset Quotes cld
17309 \end_inset
17310
17311 page
17312 \begin_inset Quotes crd
17313 \end_inset
17314
17315  (página),
17316  y 
17317 \begin_inset Quotes cld
17318 \end_inset
17319
17320 here
17321 \begin_inset Quotes crd
17322 \end_inset
17323
17324  (aquí),
17325  respectivamente.
17326 \begin_inset Foot
17327 status collapsed
17328
17329 \begin_layout Plain Layout
17330 Anotar que el orden de estas letras en la cadena es irrelevante,
17331  como en \SpecialChar LaTeX
17332 .
17333 \end_layout
17334
17335 \end_inset
17336
17337  Por encima de éstos hay un nuevo tipo,
17338  
17339 \begin_inset Flex Code
17340 status collapsed
17341
17342 \begin_layout Plain Layout
17343 H
17344 \end_layout
17345
17346 \end_inset
17347
17348 ,
17349  que no corresponde realmente a un flotante,
17350  ya que se refiere a:
17351  ponerlo aquí,
17352  
17353 \begin_inset Quotes cld
17354 \end_inset
17355
17356 here
17357 \begin_inset Quotes crd
17358 \end_inset
17359
17360 ,
17361  y en ninguna otra parte.
17362  Anotar que,
17363  sin embargo,
17364  el colocador 
17365 \begin_inset Flex Code
17366 status collapsed
17367
17368 \begin_layout Plain Layout
17369 H
17370 \end_layout
17371
17372 \end_inset
17373
17374  es especial y,
17375  debido a detalles de implementación,
17376  no puede usarse en tipos de flotantes no empotrados.
17377  Si no comprendes lo que esto significa,
17378  usa solo 
17379 \begin_inset Quotes cld
17380 \end_inset
17381
17382
17383 \begin_inset Flex Code
17384 status collapsed
17385
17386 \begin_layout Plain Layout
17387 tbp
17388 \end_layout
17389
17390 \end_inset
17391
17392
17393 \begin_inset Quotes crd
17394 \end_inset
17395
17396 .
17397 \end_layout
17398
17399 \begin_layout Description
17400 \begin_inset Flex Code
17401 status collapsed
17402
17403 \begin_layout Plain Layout
17404 RefPrefix
17405 \end_layout
17406
17407 \end_inset
17408
17409  [
17410 \begin_inset Flex Code
17411 status collapsed
17412
17413 \begin_layout Plain Layout
17414 string
17415 \end_layout
17416
17417 \end_inset
17418
17419 ] El prefijo a usar cuando se crean etiquetas referidas a flotantes de este tipo.
17420  Esto permite el uso de referencias con formato.
17421  Puedes quitar cualquier 
17422 \begin_inset Flex Code
17423 status collapsed
17424
17425 \begin_layout Plain Layout
17426 RefPrefix
17427 \end_layout
17428
17429 \end_inset
17430
17431  puesto por un estilo copiado usando el valor especial 
17432 \begin_inset Quotes eld
17433 \end_inset
17434
17435 OFF
17436 \begin_inset Quotes erd
17437 \end_inset
17438
17439 ,
17440  todas mayúsculas.
17441 \end_layout
17442
17443 \begin_layout Description
17444 \begin_inset Flex Code
17445 status collapsed
17446
17447 \begin_layout Plain Layout
17448 Style
17449 \end_layout
17450
17451 \end_inset
17452
17453  [
17454 \begin_inset Flex Code
17455 status collapsed
17456
17457 \begin_layout Plain Layout
17458 string
17459 \end_layout
17460
17461 \end_inset
17462
17463 =
17464 \begin_inset Quotes erd
17465 \end_inset
17466
17467
17468 \begin_inset Quotes erd
17469 \end_inset
17470
17471 ] El estilo usado cuando se define el flotante con 
17472 \begin_inset Flex Code
17473 status collapsed
17474
17475 \begin_layout Plain Layout
17476
17477 \backslash
17478 newfloat
17479 \end_layout
17480
17481 \end_inset
17482
17483 .
17484 \end_layout
17485
17486 \begin_layout Description
17487 \begin_inset Flex Code
17488 status collapsed
17489
17490 \begin_layout Plain Layout
17491 Type
17492 \end_layout
17493
17494 \end_inset
17495
17496  [
17497 \begin_inset Flex Code
17498 status collapsed
17499
17500 \begin_layout Plain Layout
17501 string
17502 \end_layout
17503
17504 \end_inset
17505
17506 =
17507 \begin_inset Quotes erd
17508 \end_inset
17509
17510
17511 \begin_inset Quotes erd
17512 \end_inset
17513
17514 ] El 
17515 \begin_inset Quotes cld
17516 \end_inset
17517
17518 tipo
17519 \begin_inset Quotes crd
17520 \end_inset
17521
17522  de la nueva clase de flotante,
17523  como programa o algoritmo.
17524  Después del apropiado 
17525 \begin_inset Flex Code
17526 status collapsed
17527
17528 \begin_layout Plain Layout
17529
17530 \backslash
17531 newfloat
17532 \end_layout
17533
17534 \end_inset
17535
17536 ,
17537  comandos tales como 
17538 \begin_inset Flex Code
17539 status collapsed
17540
17541 \begin_layout Plain Layout
17542
17543 \backslash
17544 begin{program}
17545 \end_layout
17546
17547 \end_inset
17548
17549  o 
17550 \begin_inset Flex Code
17551 status collapsed
17552
17553 \begin_layout Plain Layout
17554
17555 \backslash
17556 end{algorithm*}
17557 \end_layout
17558
17559 \end_inset
17560
17561  estarán disponibles.
17562 \end_layout
17563
17564 \begin_layout Description
17565 \begin_inset Flex Code
17566 status collapsed
17567
17568 \begin_layout Plain Layout
17569 UsesFloatPkg
17570 \end_layout
17571
17572 \end_inset
17573
17574  [
17575 \begin_inset Flex Code
17576 status collapsed
17577
17578 \begin_layout Plain Layout
17579 0
17580 \end_layout
17581
17582 \end_inset
17583
17584 ,
17585 \begin_inset space \thinspace{}
17586 \end_inset
17587
17588
17589 \begin_inset Flex Code
17590 status collapsed
17591
17592 \begin_layout Plain Layout
17593
17594 \emph on
17595 1
17596 \end_layout
17597
17598 \end_inset
17599
17600 ] Nos dice si este flotante se define usando el paquete \SpecialChar LaTeX
17601  
17602 \begin_inset Flex Code
17603 status collapsed
17604
17605 \begin_layout Plain Layout
17606 float
17607 \end_layout
17608
17609 \end_inset
17610
17611 ,
17612  bien por el archivo de clase o por un paquete,
17613  o bien sobre la marcha por el propio \SpecialChar LyX
17614 .
17615 \end_layout
17616
17617 \begin_layout Standard
17618 Anotar que al definir un flotante con tipo 
17619 \begin_inset Flex Code
17620 status collapsed
17621
17622 \begin_layout Plain Layout
17623
17624 \emph on
17625 type
17626 \end_layout
17627
17628 \end_inset
17629
17630  automáticamente se define el correspondiente contador con nombre 
17631 \begin_inset Flex Code
17632 status collapsed
17633
17634 \begin_layout Plain Layout
17635
17636 \emph on
17637 type
17638 \end_layout
17639
17640 \end_inset
17641
17642 .
17643 \end_layout
17644
17645 \begin_layout Subsection
17646 Recuadros flexibles y formato del recuadro
17647 \begin_inset CommandInset label
17648 LatexCommand label
17649 name "subsec:estilo-del-texto"
17650
17651 \end_inset
17652
17653
17654 \end_layout
17655
17656 \begin_layout Standard
17657 Los recuadros flexibles son de tres tipos:
17658  
17659 \end_layout
17660
17661 \begin_layout Itemize
17662 estilo del texto (
17663 \begin_inset Flex Code
17664 status collapsed
17665
17666 \begin_layout Plain Layout
17667 CharStyle
17668 \end_layout
17669
17670 \end_inset
17671
17672 ):
17673  estos definen diseños semánticos correspondientes a comandos \SpecialChar LaTeX
17674  como 
17675 \begin_inset Flex Code
17676 status collapsed
17677
17678 \begin_layout Plain Layout
17679
17680 \backslash
17681 noun
17682 \end_layout
17683
17684 \end_inset
17685
17686  y 
17687 \begin_inset Flex Code
17688 status collapsed
17689
17690 \begin_layout Plain Layout
17691
17692 \backslash
17693 code
17694 \end_layout
17695
17696 \end_inset
17697
17698 .
17699 \end_layout
17700
17701 \begin_layout Itemize
17702 definido por el usuario (
17703 \begin_inset Flex Code
17704 status collapsed
17705
17706 \begin_layout Plain Layout
17707 Custom
17708 \end_layout
17709
17710 \end_inset
17711
17712 ):
17713  estos se pueden usar para definir recuadros plegables personalizados,
17714  del tipo de los de código \SpecialChar TeX
17715 ,
17716  notas al pie y similares.
17717  Un ejemplo obvio es un recuadro de nota final,
17718  definido en el módulo del mismo nombre (
17719 \begin_inset Flex Code
17720 status collapsed
17721
17722 \begin_layout Plain Layout
17723 endnotes
17724 \end_layout
17725
17726 \end_inset
17727
17728 ).
17729 \end_layout
17730
17731 \begin_layout Itemize
17732 elementos XML (
17733 \begin_inset Flex Code
17734 status collapsed
17735
17736 \begin_layout Plain Layout
17737 Element
17738 \end_layout
17739
17740 \end_inset
17741
17742 ):
17743  para usar con las clases DocBook.
17744 \end_layout
17745
17746 \begin_layout Standard
17747 Los recuadros flexibles se definen usando la etiqueta 
17748 \begin_inset Flex Code
17749 status collapsed
17750
17751 \begin_layout Plain Layout
17752 InsetLayout
17753 \end_layout
17754
17755 \end_inset
17756
17757 ,
17758  que se explicará en un momento.
17759 \end_layout
17760
17761 \begin_layout Standard
17762 La etiqueta 
17763 \begin_inset Flex Code
17764 status collapsed
17765
17766 \begin_layout Plain Layout
17767 InsetLayout
17768 \end_layout
17769
17770 \end_inset
17771
17772  también sirve para otra función:
17773  puede utilizarse para personalizar el diseño general de muchos tipos diferentes de recuadros.
17774  Actualmente,
17775  
17776 \begin_inset Flex Code
17777 status collapsed
17778
17779 \begin_layout Plain Layout
17780 InsetLayout
17781 \end_layout
17782
17783 \end_inset
17784
17785  permite personalizar los parámetros de diseño de notas al pie,
17786  notas al margen,
17787  notas,
17788  recuadros de código \SpecialChar TeX
17789  (ERT),
17790  ramas,
17791  listados de programa,
17792  índices,
17793  cuadros,
17794  tablas,
17795  algoritmos,
17796  URL,
17797  y leyendas,
17798  así como para definir recuadros flexibles.
17799 \end_layout
17800
17801 \begin_layout Standard
17802 La definición de 
17803 \begin_inset Flex Code
17804 status collapsed
17805
17806 \begin_layout Plain Layout
17807 InsetLayout
17808 \end_layout
17809
17810 \end_inset
17811
17812  debe comenzar con una línea de la forma:
17813 \end_layout
17814
17815 \begin_layout LyX-Code
17816 InsetLayout <type>
17817 \end_layout
17818
17819 \begin_layout Standard
17820 Aquí,
17821  
17822 \begin_inset Flex Code
17823 status collapsed
17824
17825 \begin_layout Plain Layout
17826 <type>
17827 \end_layout
17828
17829 \end_inset
17830
17831  indica el recuadro cuyo formato se va a definir,
17832  y hay cuatro casos.
17833 \end_layout
17834
17835 \begin_layout Enumerate
17836 Se va a modificar el formato para un tipo de recuadro preexistente.
17837  En este caso,
17838  
17839 \begin_inset Flex Code
17840 status collapsed
17841
17842 \begin_layout Plain Layout
17843 <type>
17844 \end_layout
17845
17846 \end_inset
17847
17848  puede ser uno cualquiera de los siguientes:
17849  
17850 \begin_inset Flex Code
17851 status collapsed
17852
17853 \begin_layout Plain Layout
17854 Algorithm
17855 \end_layout
17856
17857 \end_inset
17858
17859 ,
17860  
17861 \begin_inset Flex Code
17862 status collapsed
17863
17864 \begin_layout Plain Layout
17865 Branch
17866 \end_layout
17867
17868 \end_inset
17869
17870 ,
17871  
17872 \begin_inset Flex Code
17873 status collapsed
17874
17875 \begin_layout Plain Layout
17876 Box
17877 \end_layout
17878
17879 \end_inset
17880
17881 ,
17882  
17883 \begin_inset Flex Code
17884 status collapsed
17885
17886 \begin_layout Plain Layout
17887 Box:shaded
17888 \end_layout
17889
17890 \end_inset
17891
17892 ,
17893  
17894 \begin_inset Flex Code
17895 status collapsed
17896
17897 \begin_layout Plain Layout
17898 Caption:Standard
17899 \end_layout
17900
17901 \end_inset
17902
17903 ,
17904  
17905 \begin_inset Flex Code
17906 status collapsed
17907
17908 \begin_layout Plain Layout
17909 ERT
17910 \end_layout
17911
17912 \end_inset
17913
17914 ,
17915  
17916 \begin_inset Flex Code
17917 status collapsed
17918
17919 \begin_layout Plain Layout
17920 Figure
17921 \end_layout
17922
17923 \end_inset
17924
17925 ,
17926  
17927 \begin_inset Flex Code
17928 status collapsed
17929
17930 \begin_layout Plain Layout
17931 Foot
17932 \end_layout
17933
17934 \end_inset
17935
17936 ,
17937  
17938 \begin_inset Flex Code
17939 status collapsed
17940
17941 \begin_layout Plain Layout
17942 Index
17943 \end_layout
17944
17945 \end_inset
17946
17947 ,
17948  
17949 \begin_inset Flex Code
17950 status collapsed
17951
17952 \begin_layout Plain Layout
17953 Info
17954 \end_layout
17955
17956 \end_inset
17957
17958 ,
17959  
17960 \begin_inset Flex Code
17961 status collapsed
17962
17963 \begin_layout Plain Layout
17964 Info:menu
17965 \end_layout
17966
17967 \end_inset
17968
17969 ,
17970  
17971 \begin_inset Flex Code
17972 status collapsed
17973
17974 \begin_layout Plain Layout
17975 Info:shortcut
17976 \end_layout
17977
17978 \end_inset
17979
17980 ,
17981  
17982 \begin_inset Flex Code
17983 status collapsed
17984
17985 \begin_layout Plain Layout
17986 Info:shortcuts
17987 \end_layout
17988
17989 \end_inset
17990
17991 ,
17992  
17993 \begin_inset Flex Code
17994 status collapsed
17995
17996 \begin_layout Plain Layout
17997 Listings
17998 \end_layout
17999
18000 \end_inset
18001
18002 ,
18003  
18004 \begin_inset Flex Code
18005 status collapsed
18006
18007 \begin_layout Plain Layout
18008 Marginal
18009 \end_layout
18010
18011 \end_inset
18012
18013 ,
18014  
18015 \begin_inset Flex Code
18016 status collapsed
18017
18018 \begin_layout Plain Layout
18019 Note:Comment
18020 \end_layout
18021
18022 \end_inset
18023
18024 ,
18025  
18026 \begin_inset Flex Code
18027 status collapsed
18028
18029 \begin_layout Plain Layout
18030 Note:Note
18031 \end_layout
18032
18033 \end_inset
18034
18035 ,
18036  
18037 \begin_inset Flex Code
18038 status collapsed
18039
18040 \begin_layout Plain Layout
18041 Note:GreyedOut
18042 \end_layout
18043
18044 \end_inset
18045
18046 ,
18047  
18048 \begin_inset Flex Code
18049 status collapsed
18050
18051 \begin_layout Plain Layout
18052 Table
18053 \end_layout
18054
18055 \end_inset
18056
18057 ,
18058  o 
18059 \begin_inset Flex Code
18060 status collapsed
18061
18062 \begin_layout Plain Layout
18063 URL
18064 \end_layout
18065
18066 \end_inset
18067
18068 .
18069  
18070 \end_layout
18071
18072 \begin_layout Enumerate
18073 Se va a definir el formato para un recuadro flexible.
18074  En este caso,
18075  
18076 \begin_inset Flex Code
18077 status collapsed
18078
18079 \begin_layout Plain Layout
18080 <type>
18081 \end_layout
18082
18083 \end_inset
18084
18085  debe de la forma 
18086 \begin_inset Quotes cld
18087 \end_inset
18088
18089
18090 \begin_inset Flex Code
18091 status collapsed
18092
18093 \begin_layout Plain Layout
18094 Flex:<name>
18095 \end_layout
18096
18097 \end_inset
18098
18099
18100 \begin_inset Quotes crd
18101 \end_inset
18102
18103 ,
18104  donde 
18105 \begin_inset Flex Code
18106 status collapsed
18107
18108 \begin_layout Plain Layout
18109 name
18110 \end_layout
18111
18112 \end_inset
18113
18114  ser cualquier identificador válido no utilizado por un recuadro preexistente.
18115  El identificador puede incluir espacios,
18116  pero en este caso debe ponerse todo entre comillas.
18117  Ten en cuenta que la definición de un flexible debe incluir 
18118 \emph on
18119 además
18120 \emph default
18121  una entrada 
18122 \begin_inset Flex Code
18123 status collapsed
18124
18125 \begin_layout Plain Layout
18126 \SpecialChar LyX
18127 Type
18128 \end_layout
18129
18130 \end_inset
18131
18132  declarando qué tipo de recuadro define.
18133 \end_layout
18134
18135 \begin_layout Enumerate
18136 Se va a definir el formato para rama específica de usuario.
18137  En este caso,
18138  
18139 \begin_inset Flex Code
18140 status collapsed
18141
18142 \begin_layout Plain Layout
18143 <type>
18144 \end_layout
18145
18146 \end_inset
18147
18148  debe ser de la forma 
18149 \begin_inset Quotes cld
18150 \end_inset
18151
18152
18153 \begin_inset Flex Code
18154 status collapsed
18155
18156 \begin_layout Plain Layout
18157 Branch:<name>
18158 \end_layout
18159
18160 \end_inset
18161
18162
18163 \begin_inset Quotes crd
18164 \end_inset
18165
18166 ,
18167  donde 
18168 \begin_inset Flex Code
18169 status collapsed
18170
18171 \begin_layout Plain Layout
18172 name
18173 \end_layout
18174
18175 \end_inset
18176
18177  puede ser cualquier identificador válido de rama definido en el documento del usuario.
18178  Este identificador puede incluir espacios,
18179  pero,
18180  en ese caso todo debe ir entre comillas.
18181  El propósito principal de esta característica es permitir a \SpecialChar LaTeX
18182  envolver ramas específicas como necesite el usuario.
18183 \end_layout
18184
18185 \begin_layout Enumerate
18186 Se va a definir el formato de una leyenda específica de usuario (o clase).
18187  En este caso,
18188  
18189 \begin_inset Flex Code
18190 status collapsed
18191
18192 \begin_layout Plain Layout
18193 <type>
18194 \end_layout
18195
18196 \end_inset
18197
18198  debe ser de la forma 
18199 \begin_inset Quotes cld
18200 \end_inset
18201
18202
18203 \begin_inset Flex Code
18204 status collapsed
18205
18206 \begin_layout Plain Layout
18207 Caption:<name>
18208 \end_layout
18209
18210 \end_inset
18211
18212
18213 \begin_inset Quotes crd
18214 \end_inset
18215
18216 ,
18217  donde 
18218 \begin_inset Flex Code
18219 status collapsed
18220
18221 \begin_layout Plain Layout
18222 name
18223 \end_layout
18224
18225 \end_inset
18226
18227  especifica el nombre de la leyenda como aparece en el menú.
18228  Repasa la leyenda estándar (
18229 \begin_inset Flex Code
18230 status collapsed
18231
18232 \begin_layout Plain Layout
18233 Caption:Standard
18234 \end_layout
18235
18236 \end_inset
18237
18238 ),
18239  las leyendas específicas de las clases KOMA-Script (
18240 \begin_inset Flex Code
18241 status collapsed
18242
18243 \begin_layout Plain Layout
18244 Caption:Above
18245 \end_layout
18246
18247 \end_inset
18248
18249 ,
18250  
18251 \begin_inset Flex Code
18252 status collapsed
18253
18254 \begin_layout Plain Layout
18255 Caption:Below
18256 \end_layout
18257
18258 \end_inset
18259
18260 ) o el módulo 
18261 \family sans
18262 Multilingual
18263 \begin_inset space ~
18264 \end_inset
18265
18266 Captions
18267 \family default
18268  (
18269 \begin_inset Flex Code
18270 status collapsed
18271
18272 \begin_layout Plain Layout
18273 Caption:Bicaption
18274 \end_layout
18275
18276 \end_inset
18277
18278 ) para aplicaciones.
18279 \end_layout
18280
18281 \begin_layout Standard
18282 La definición de 
18283 \begin_inset Flex Code
18284 status collapsed
18285
18286 \begin_layout Plain Layout
18287 InsetLayout
18288 \end_layout
18289
18290 \end_inset
18291
18292  puede contener las siguientes entradas:
18293 \end_layout
18294
18295 \begin_layout Description
18296
18297 \lang english
18298 \begin_inset Flex Code
18299 status collapsed
18300
18301 \begin_layout Plain Layout
18302
18303 \lang english
18304 AddToToc
18305 \end_layout
18306
18307 \end_inset
18308
18309  [
18310 \begin_inset Flex Code
18311 status collapsed
18312
18313 \begin_layout Plain Layout
18314
18315 \lang english
18316 string
18317 \end_layout
18318
18319 \end_inset
18320
18321 =""] This inset will appear in the table of contents of the given type.
18322  An empty string disables.
18323  See also the OutlinerName and the IsTocCaption commands.
18324  This is only implemented for Flex insets.
18325  Default:
18326  disabled.
18327 \end_layout
18328
18329 \begin_layout Description
18330 \begin_inset Flex Code
18331 status collapsed
18332
18333 \begin_layout Plain Layout
18334 Argument
18335 \end_layout
18336
18337 \end_inset
18338
18339  [
18340 \begin_inset Flex Code
18341 status collapsed
18342
18343 \begin_layout Plain Layout
18344 int
18345 \end_layout
18346
18347 \end_inset
18348
18349 ] Define el número de argumento de un comando\SpecialChar breakableslash
18350 entorno asociado con el formato actual.
18351  La definición debe terminar con 
18352 \begin_inset Flex Code
18353 status collapsed
18354
18355 \begin_layout Plain Layout
18356 EndArgument
18357 \end_layout
18358
18359 \end_inset
18360
18361 .
18362  Véase 
18363 \begin_inset CommandInset ref
18364 LatexCommand ref
18365 reference "subsec:Estilos-de-párrafo"
18366 nolink "false"
18367
18368 \end_inset
18369
18370  para detalles.
18371 \end_layout
18372
18373 \begin_layout Description
18374 \begin_inset Flex Code
18375 status collapsed
18376
18377 \begin_layout Plain Layout
18378 BabelPreamble
18379 \end_layout
18380
18381 \end_inset
18382
18383  Preámbulo para comandos de cambio de idioma;
18384  véase 
18385 \begin_inset CommandInset ref
18386 LatexCommand ref
18387 reference "subsec:I18n"
18388 nolink "false"
18389
18390 \end_inset
18391
18392 .
18393 \end_layout
18394
18395 \begin_layout Description
18396 \begin_inset Flex Code
18397 status collapsed
18398
18399 \begin_layout Plain Layout
18400 BgColor
18401 \end_layout
18402
18403 \end_inset
18404
18405  [
18406 \begin_inset Flex Code
18407 status collapsed
18408
18409 \begin_layout Plain Layout
18410 <name>
18411 \end_layout
18412
18413 \end_inset
18414
18415 ] El color para el fondo del recuadro.
18416  Véase la lista de colores en 
18417 \begin_inset CommandInset ref
18418 LatexCommand ref
18419 reference "cap:Nombres-de-colores"
18420 nolink "false"
18421
18422 \end_inset
18423
18424 .
18425 \end_layout
18426
18427 \begin_layout Description
18428 \begin_inset Flex Code
18429 status collapsed
18430
18431 \begin_layout Plain Layout
18432 ContentAsLabel
18433 \end_layout
18434
18435 \end_inset
18436
18437  [
18438 \begin_inset Flex Code
18439 status collapsed
18440
18441 \begin_layout Plain Layout
18442
18443 \emph on
18444 0
18445 \end_layout
18446
18447 \end_inset
18448
18449 ,
18450 \begin_inset space \thinspace{}
18451 \end_inset
18452
18453
18454 \begin_inset Flex Code
18455 status collapsed
18456
18457 \begin_layout Plain Layout
18458 1
18459 \end_layout
18460
18461 \end_inset
18462
18463 ] Si usar no el contenido del recuadro como etiqueta del mismo cuando el recuadro se cierra.
18464  Por omisión,
18465  falso.
18466 \end_layout
18467
18468 \begin_layout Description
18469 \begin_inset Flex Code
18470 status collapsed
18471
18472 \begin_layout Plain Layout
18473 CopyStyle
18474 \end_layout
18475
18476 \end_inset
18477
18478  [
18479 \begin_inset Flex Code
18480 status collapsed
18481
18482 \begin_layout Plain Layout
18483 <type>
18484 \end_layout
18485
18486 \end_inset
18487
18488 ] Como los estilos de párrafo,
18489  véase 
18490 \begin_inset CommandInset ref
18491 LatexCommand ref
18492 reference "subsec:Estilos-de-párrafo"
18493 nolink "false"
18494
18495 \end_inset
18496
18497 .
18498  Ten en cuenta que debes especificar el tipo completo,
18499  p.
18500 \begin_inset space \thinspace{}
18501 \end_inset
18502
18503 e.
18504 \begin_inset space ~
18505 \end_inset
18506
18507
18508 \begin_inset Flex Code
18509 status collapsed
18510
18511 \begin_layout Plain Layout
18512 CopyStyle Flex:<name>
18513 \end_layout
18514
18515 \end_inset
18516
18517 .
18518 \end_layout
18519
18520 \begin_layout Description
18521 \begin_inset Flex Code
18522 status collapsed
18523
18524 \begin_layout Plain Layout
18525 CustomPars
18526 \end_layout
18527
18528 \end_inset
18529
18530  [
18531 \begin_inset Flex Code
18532 status collapsed
18533
18534 \begin_layout Plain Layout
18535
18536 \emph on
18537 0
18538 \end_layout
18539
18540 \end_inset
18541
18542 ,
18543 \begin_inset space \thinspace{}
18544 \end_inset
18545
18546
18547 \begin_inset Flex Code
18548 status collapsed
18549
18550 \begin_layout Plain Layout
18551 1
18552 \end_layout
18553
18554 \end_inset
18555
18556 ] Indica si el usuario puede emplear el diálogo Configuración del párrafo para modificar el párrafo.
18557 \end_layout
18558
18559 \begin_layout Description
18560 \begin_inset Flex Code
18561 status collapsed
18562
18563 \begin_layout Plain Layout
18564 Decoration
18565 \end_layout
18566
18567 \end_inset
18568
18569  Puede ser 
18570 \begin_inset Flex Code
18571 status collapsed
18572
18573 \begin_layout Plain Layout
18574 Classic
18575 \end_layout
18576
18577 \end_inset
18578
18579 ,
18580  
18581 \begin_inset Flex Code
18582 status collapsed
18583
18584 \begin_layout Plain Layout
18585 Minimalistic
18586 \end_layout
18587
18588 \end_inset
18589
18590 ,
18591  o 
18592 \begin_inset Flex Code
18593 status collapsed
18594
18595 \begin_layout Plain Layout
18596 Conglomerate
18597 \end_layout
18598
18599 \end_inset
18600
18601 ,
18602  que describe el estilo de presentación para el marco y los botones del recuadro.
18603  Las notas al pie usan generalmente 
18604 \begin_inset Flex Code
18605 status collapsed
18606
18607 \begin_layout Plain Layout
18608 Classic
18609 \end_layout
18610
18611 \end_inset
18612
18613 ,
18614  los recuadros de código \SpecialChar TeX
18615  
18616 \begin_inset Flex Code
18617 status collapsed
18618
18619 \begin_layout Plain Layout
18620 Minimalistic
18621 \end_layout
18622
18623 \end_inset
18624
18625 ,
18626  y los de estilos del texto 
18627 \begin_inset Flex Code
18628 status collapsed
18629
18630 \begin_layout Plain Layout
18631 Conglomerate
18632 \end_layout
18633
18634 \end_inset
18635
18636 .
18637 \end_layout
18638
18639 \begin_layout Description
18640 \begin_inset Flex Code
18641 status collapsed
18642
18643 \begin_layout Plain Layout
18644 Display
18645 \end_layout
18646
18647 \end_inset
18648
18649  [
18650 \begin_inset Flex Code
18651 status collapsed
18652
18653 \begin_layout Plain Layout
18654 0
18655 \end_layout
18656
18657 \end_inset
18658
18659 ,
18660 \begin_inset space \thinspace{}
18661 \end_inset
18662
18663
18664 \begin_inset Flex Code
18665 status collapsed
18666
18667 \begin_layout Plain Layout
18668
18669 \emph on
18670 1
18671 \end_layout
18672
18673 \end_inset
18674
18675 ] Solo es útil si 
18676 \begin_inset Flex Code
18677 status collapsed
18678
18679 \begin_layout Plain Layout
18680 LatexType
18681 \end_layout
18682
18683 \end_inset
18684
18685  es 
18686 \begin_inset Flex Code
18687 status collapsed
18688
18689 \begin_layout Plain Layout
18690 Environment
18691 \end_layout
18692
18693 \end_inset
18694
18695 .
18696  Indica si el entorno se ubicará en su propio espacio en la salida o si aparecerá en línea con el texto circundante.
18697  Si se pone falso,
18698  se supone que el entorno \SpecialChar LaTeX
18699  ignora los espacios en blanco (incluyendo un carácter de línea nueva) después de las etiquetas 
18700 \begin_inset Flex Code
18701 status collapsed
18702
18703 \begin_layout Plain Layout
18704
18705 \backslash
18706 begin{
18707 \emph on
18708 LatexName
18709 \emph default
18710 }
18711 \end_layout
18712
18713 \end_inset
18714
18715  y 
18716 \begin_inset Flex Code
18717 status collapsed
18718
18719 \begin_layout Plain Layout
18720
18721 \backslash
18722 end{
18723 \emph on
18724 LatexName
18725 \emph default
18726 }
18727 \end_layout
18728
18729 \end_inset
18730
18731 .
18732  Por omisión,
18733  verdadero.
18734 \end_layout
18735
18736 \begin_layout Description
18737 \begin_inset Flex Code
18738 status collapsed
18739
18740 \begin_layout Plain Layout
18741 End
18742 \end_layout
18743
18744 \end_inset
18745
18746  Requerido al final de las declaraciones de formato del recuadro 
18747 \begin_inset Flex Code
18748 status collapsed
18749
18750 \begin_layout Plain Layout
18751 InsetLayout
18752 \end_layout
18753
18754 \end_inset
18755
18756 .
18757 \end_layout
18758
18759 \begin_layout Description
18760 \begin_inset Flex Code
18761 status collapsed
18762
18763 \begin_layout Plain Layout
18764 Font
18765 \end_layout
18766
18767 \end_inset
18768
18769  La tipografía usada tanto para el cuerpo del texto como para la etiqueta.
18770  Véase la 
18771 \begin_inset CommandInset ref
18772 LatexCommand ref
18773 reference "subsec:Tipografía"
18774 nolink "false"
18775
18776 \end_inset
18777
18778 .
18779  Anotar que al definir esta tipografía se define automáticamente el mismo valor para la etiqueta,
18780  
18781 \begin_inset Flex Code
18782 status collapsed
18783
18784 \begin_layout Plain Layout
18785 LabelFont
18786 \end_layout
18787
18788 \end_inset
18789
18790 ,
18791  así que define aquella primero y después define 
18792 \begin_inset Flex Code
18793 status collapsed
18794
18795 \begin_layout Plain Layout
18796 LabelFont
18797 \end_layout
18798
18799 \end_inset
18800
18801  si las quieres diferentes.
18802 \end_layout
18803
18804 \begin_layout Description
18805 \begin_inset Flex Code
18806 status collapsed
18807
18808 \begin_layout Plain Layout
18809 FixedWidthPreambleEncoding
18810 \end_layout
18811
18812 \end_inset
18813
18814  [
18815 \begin_inset Flex Code
18816 status collapsed
18817
18818 \begin_layout Plain Layout
18819
18820 \emph on
18821 0
18822 \end_layout
18823
18824 \end_inset
18825
18826 ,
18827 \begin_inset space \thinspace{}
18828 \end_inset
18829
18830
18831 \begin_inset Flex Code
18832 status collapsed
18833
18834 \begin_layout Plain Layout
18835 1
18836 \end_layout
18837
18838 \end_inset
18839
18840 ] Fuerza una codificación de ancho fijo para el contenido traducido del código 
18841 \begin_inset Flex Code
18842 status collapsed
18843
18844 \begin_layout Plain Layout
18845 BabelPreamble
18846 \end_layout
18847
18848 \end_inset
18849
18850  y 
18851 \begin_inset Flex Code
18852 status collapsed
18853
18854 \begin_layout Plain Layout
18855 LangPreamble
18856 \end_layout
18857
18858 \end_inset
18859
18860  generado por este formato.
18861  Esto es necesario para paquetes especiales \SpecialChar LaTeX
18862  como 
18863 \family typewriter
18864 listings
18865 \family default
18866  que no trabajan con codificaciones de ancho variable como 
18867 \family sans
18868 utf8
18869 \family default
18870 .
18871  Esta configuración se ignora si se usan soportes \SpecialChar LaTeX
18872  compatibles totalmente con Unicode como Xe\SpecialChar TeX
18873  o Lua\SpecialChar TeX
18874 .
18875 \end_layout
18876
18877 \begin_layout Description
18878 \begin_inset Flex Code
18879 status collapsed
18880
18881 \begin_layout Plain Layout
18882 ForceLocalFontSwitch
18883 \end_layout
18884
18885 \end_inset
18886
18887  [
18888 \begin_inset Flex Code
18889 status collapsed
18890
18891 \begin_layout Plain Layout
18892
18893 \emph on
18894 0
18895 \end_layout
18896
18897 \end_inset
18898
18899 ,
18900 \begin_inset space \thinspace{}
18901 \end_inset
18902
18903
18904 \begin_inset Flex Code
18905 status collapsed
18906
18907 \begin_layout Plain Layout
18908 1
18909 \end_layout
18910
18911 \end_inset
18912
18913 ] Cuando se usa babel,
18914  usar siempre un cambiador de fuente local (
18915 \begin_inset Flex Code
18916 status collapsed
18917
18918 \begin_layout Plain Layout
18919
18920 \backslash
18921 foreignlanguage
18922 \end_layout
18923
18924 \end_inset
18925
18926 ),
18927  nunca uno global (como 
18928 \begin_inset Flex Code
18929 status collapsed
18930
18931 \begin_layout Plain Layout
18932
18933 \backslash
18934 selectlanguage
18935 \end_layout
18936
18937 \end_inset
18938
18939 ).
18940 \end_layout
18941
18942 \begin_layout Description
18943 \begin_inset Flex Code
18944 status collapsed
18945
18946 \begin_layout Plain Layout
18947 ForceLTR
18948 \end_layout
18949
18950 \end_inset
18951
18952  [
18953 \begin_inset Flex Code
18954 status collapsed
18955
18956 \begin_layout Plain Layout
18957
18958 \emph on
18959 0
18960 \end_layout
18961
18962 \end_inset
18963
18964 ,
18965 \begin_inset space \thinspace{}
18966 \end_inset
18967
18968
18969 \begin_inset Flex Code
18970 status collapsed
18971
18972 \begin_layout Plain Layout
18973 1
18974 \end_layout
18975
18976 \end_inset
18977
18978 ] Fuerza el idioma 
18979 \begin_inset Quotes cld
18980 \end_inset
18981
18982 latex
18983 \begin_inset Quotes crd
18984 \end_inset
18985
18986  que genera salida Izquierda-Derecha (latin),
18987  p.
18988 \begin_inset space \thinspace{}
18989 \end_inset
18990
18991 e.
18992 \begin_inset space \space{}
18993 \end_inset
18994
18995 en código \SpecialChar TeX
18996  o URL.
18997  Un parche.
18998 \end_layout
18999
19000 \begin_layout Description
19001 \begin_inset Flex Code
19002 status collapsed
19003
19004 \begin_layout Plain Layout
19005 ForceOwnlines
19006 \end_layout
19007
19008 \end_inset
19009
19010  [
19011 \begin_inset Flex Code
19012 status collapsed
19013
19014 \begin_layout Plain Layout
19015
19016 \emph on
19017 0
19018 \end_layout
19019
19020 \end_inset
19021
19022 ,
19023 \begin_inset space \thinspace{}
19024 \end_inset
19025
19026
19027 \begin_inset Flex Code
19028 status collapsed
19029
19030 \begin_layout Plain Layout
19031 1
19032 \end_layout
19033
19034 \end_inset
19035
19036 ] Fuerza un salto de línea en la salida \SpecialChar LaTeX
19037  antes de iniciarse el recuadro de inserción y después de finalizar.
19038  Esto asegura que el recuadro mismo se ubique en sus propias líneas,
19039  con fines de análisis.
19040 \end_layout
19041
19042 \begin_layout Description
19043 \begin_inset Flex Code
19044 status collapsed
19045
19046 \begin_layout Plain Layout
19047 ForcePlain
19048 \end_layout
19049
19050 \end_inset
19051
19052  [
19053 \begin_inset Flex Code
19054 status collapsed
19055
19056 \begin_layout Plain Layout
19057
19058 \emph on
19059 0
19060 \end_layout
19061
19062 \end_inset
19063
19064 ,
19065 \begin_inset space \thinspace{}
19066 \end_inset
19067
19068
19069 \begin_inset Flex Code
19070 status collapsed
19071
19072 \begin_layout Plain Layout
19073 1
19074 \end_layout
19075
19076 \end_inset
19077
19078 ] Indica si debería usarse 
19079 \begin_inset Flex Code
19080 status collapsed
19081
19082 \begin_layout Plain Layout
19083 PlainLayout
19084 \end_layout
19085
19086 \end_inset
19087
19088  o,
19089  por el contrario el usuario puede cambiar el estilo de párrafo del recuadro.
19090 \end_layout
19091
19092 \begin_layout Description
19093 \begin_inset Flex Code
19094 status collapsed
19095
19096 \begin_layout Plain Layout
19097 FreeSpacing
19098 \end_layout
19099
19100 \end_inset
19101
19102  [
19103 \emph on
19104
19105 \begin_inset Flex Code
19106 status collapsed
19107
19108 \begin_layout Plain Layout
19109 0
19110 \end_layout
19111
19112 \end_inset
19113
19114
19115 \emph default
19116 ,
19117 \begin_inset space \thinspace{}
19118 \end_inset
19119
19120
19121 \begin_inset Flex Code
19122 status collapsed
19123
19124 \begin_layout Plain Layout
19125 1
19126 \end_layout
19127
19128 \end_inset
19129
19130 ] Como en estilos de párrafo,
19131  véase 
19132 \begin_inset CommandInset ref
19133 LatexCommand ref
19134 reference "subsec:Estilos-de-párrafo"
19135 nolink "false"
19136
19137 \end_inset
19138
19139 .
19140 \end_layout
19141
19142 \begin_layout Description
19143 \begin_inset Flex Code
19144 status collapsed
19145
19146 \begin_layout Plain Layout
19147 HTML*
19148 \end_layout
19149
19150 \end_inset
19151
19152  Controlan la salida XHTML.
19153  Véase la 
19154 \begin_inset CommandInset ref
19155 LatexCommand ref
19156 reference "sec:Etiquetas-para-XHTML"
19157 nolink "false"
19158
19159 \end_inset
19160
19161 .
19162 \end_layout
19163
19164 \begin_layout Description
19165 \begin_inset Flex Code
19166 status collapsed
19167
19168 \begin_layout Plain Layout
19169 InToc
19170 \end_layout
19171
19172 \end_inset
19173
19174  [
19175 \begin_inset Flex Code
19176 status collapsed
19177
19178 \begin_layout Plain Layout
19179
19180 \emph on
19181 0
19182 \end_layout
19183
19184 \end_inset
19185
19186 ,
19187 \begin_inset space \thinspace{}
19188 \end_inset
19189
19190
19191 \begin_inset Flex Code
19192 status collapsed
19193
19194 \begin_layout Plain Layout
19195 1
19196 \end_layout
19197
19198 \end_inset
19199
19200 ] Incluye o no el contenido de este inset en la cadena generada para el panel 'Navegador de contorno'
19201 \lang english
19202  for all table of contents,
19203  regardless of the AddToToc setting
19204 \lang spanish
19205 .
19206  El no sería,
19207  por ejemplo,
19208  para que el contenido de una nota al pie en un encabezado de sección no aparezca en el índice que se despliega en el navegador de contorno,
19209  sin embargo,
19210  normalmente sí se incluiría el contenido de un estilo de carácter.
19211  Predeterminado es false:
19212  no incluir.
19213 \end_layout
19214
19215 \begin_layout Description
19216
19217 \lang english
19218 \begin_inset Flex Code
19219 status collapsed
19220
19221 \begin_layout Plain Layout
19222
19223 \lang english
19224 IsTocCaption
19225 \end_layout
19226
19227 \end_inset
19228
19229  [
19230 \begin_inset Flex Code
19231 status collapsed
19232
19233 \begin_layout Plain Layout
19234
19235 \emph on
19236 \lang english
19237 0
19238 \end_layout
19239
19240 \end_inset
19241
19242 ,
19243 \begin_inset space \thinspace{}
19244 \end_inset
19245
19246
19247 \begin_inset Flex Code
19248 status collapsed
19249
19250 \begin_layout Plain Layout
19251
19252 \lang english
19253 1
19254 \end_layout
19255
19256 \end_inset
19257
19258 ] If this is set to 1 and AddToToc is enabled,
19259  the inset adds a summary of its contents in its item in the table of contents.
19260  Otherwise,
19261  only the label appears.
19262 \end_layout
19263
19264 \begin_layout Description
19265 \begin_inset Flex Code
19266 status collapsed
19267
19268 \begin_layout Plain Layout
19269 KeepEmpty
19270 \end_layout
19271
19272 \end_inset
19273
19274  [
19275 \emph on
19276
19277 \begin_inset Flex Code
19278 status collapsed
19279
19280 \begin_layout Plain Layout
19281
19282 \emph on
19283 0
19284 \end_layout
19285
19286 \end_inset
19287
19288
19289 \emph default
19290 ,
19291 \begin_inset space \thinspace{}
19292 \end_inset
19293
19294
19295 \begin_inset Flex Code
19296 status collapsed
19297
19298 \begin_layout Plain Layout
19299 1
19300 \end_layout
19301
19302 \end_inset
19303
19304 ] Como en estilos de párrafo,
19305  véase 
19306 \begin_inset CommandInset ref
19307 LatexCommand ref
19308 reference "subsec:Estilos-de-párrafo"
19309 nolink "false"
19310
19311 \end_inset
19312
19313 .
19314 \end_layout
19315
19316 \begin_layout Description
19317 \begin_inset Flex Code
19318 status collapsed
19319
19320 \begin_layout Plain Layout
19321 LabelFont
19322 \end_layout
19323
19324 \end_inset
19325
19326  La tipografía para la etiqueta.
19327  Véase la 
19328 \begin_inset CommandInset ref
19329 LatexCommand ref
19330 reference "subsec:Tipografía"
19331 nolink "false"
19332
19333 \end_inset
19334
19335 .
19336  Anotar que esta definición nunca puede aparecer antes de 
19337 \begin_inset Flex Code
19338 status collapsed
19339
19340 \begin_layout Plain Layout
19341 Font
19342 \end_layout
19343
19344 \end_inset
19345
19346 ,
19347  para que sea efectiva.
19348 \end_layout
19349
19350 \begin_layout Description
19351 \begin_inset Flex Code
19352 status collapsed
19353
19354 \begin_layout Plain Layout
19355 LabelString
19356 \end_layout
19357
19358 \end_inset
19359
19360  [
19361 \begin_inset Flex Code
19362 status collapsed
19363
19364 \begin_layout Plain Layout
19365 string
19366 \end_layout
19367
19368 \end_inset
19369
19370 =
19371 \begin_inset Quotes erd
19372 \end_inset
19373
19374
19375 \begin_inset Quotes erd
19376 \end_inset
19377
19378 ] Lo que se mostrará sobre el botón u otra parte como etiqueta del recuadro.
19379  Algunos tipos de recuadro (
19380 \begin_inset Flex Code
19381 status collapsed
19382
19383 \begin_layout Plain Layout
19384 código \SpecialChar TeX
19385
19386 \end_layout
19387
19388 \end_inset
19389
19390  y 
19391 \begin_inset Flex Code
19392 status collapsed
19393
19394 \begin_layout Plain Layout
19395 Ramas
19396 \end_layout
19397
19398 \end_inset
19399
19400 ) modifican esta etiqueta sobre la marcha.
19401 \end_layout
19402
19403 \begin_layout Description
19404 \begin_inset Flex Code
19405 status collapsed
19406
19407 \begin_layout Plain Layout
19408 LangPreamble
19409 \end_layout
19410
19411 \end_inset
19412
19413  Preámbulo dependiente del idioma;
19414  véase 
19415 \begin_inset CommandInset ref
19416 LatexCommand ref
19417 reference "subsec:I18n"
19418 nolink "false"
19419
19420 \end_inset
19421
19422 .
19423 \end_layout
19424
19425 \begin_layout Description
19426 \begin_inset Flex Code
19427 status collapsed
19428
19429 \begin_layout Plain Layout
19430 LatexName
19431 \end_layout
19432
19433 \end_inset
19434
19435  [
19436 \begin_inset Flex Code
19437 status collapsed
19438
19439 \begin_layout Plain Layout
19440 <name>
19441 \end_layout
19442
19443 \end_inset
19444
19445 ] El nombre \SpecialChar LaTeX
19446  correspondiente al asunto.
19447  Cualquier nombre de entorno o de comando.
19448 \end_layout
19449
19450 \begin_layout Description
19451 \begin_inset Flex Code
19452 status collapsed
19453
19454 \begin_layout Plain Layout
19455 LatexParam
19456 \end_layout
19457
19458 \end_inset
19459
19460  [
19461 \begin_inset Flex Code
19462 status collapsed
19463
19464 \begin_layout Plain Layout
19465 <parameter>
19466 \end_layout
19467
19468 \end_inset
19469
19470 ] El parámetro opcional para el correspondiente 
19471 \begin_inset Flex Code
19472 status collapsed
19473
19474 \begin_layout Plain Layout
19475 LatexName
19476 \end_layout
19477
19478 \end_inset
19479
19480 ,
19481  incluyendo posibles pares de corchetes,
19482  
19483 \begin_inset Flex Code
19484 status collapsed
19485
19486 \begin_layout Plain Layout
19487 []
19488 \end_layout
19489
19490 \end_inset
19491
19492 .
19493  Este parámetro no se puede cambiar desde dentro de \SpecialChar LyX
19494  (usa 
19495 \begin_inset Flex Code
19496 status collapsed
19497
19498 \begin_layout Plain Layout
19499 Argument
19500 \end_layout
19501
19502 \end_inset
19503
19504  para parámetros personalizables).
19505  Se emitirá como tal después de todos los 
19506 \begin_inset Flex Code
19507 status collapsed
19508
19509 \begin_layout Plain Layout
19510 Argument
19511 \end_layout
19512
19513 \end_inset
19514
19515  \SpecialChar LaTeX
19516 .
19517 \end_layout
19518
19519 \begin_layout Description
19520 \begin_inset Flex Code
19521 status collapsed
19522
19523 \begin_layout Plain Layout
19524 LatexType
19525 \end_layout
19526
19527 \end_inset
19528
19529  [
19530 \begin_inset Flex Code
19531 status collapsed
19532
19533 \begin_layout Plain Layout
19534 Command,
19535  Environment,
19536  None
19537 \end_layout
19538
19539 \end_inset
19540
19541 ] Cómo debería traducirse el estilo en \SpecialChar LaTeX
19542 .
19543 \begin_inset Foot
19544 status collapsed
19545
19546 \begin_layout Plain Layout
19547 \begin_inset Flex Code
19548 status collapsed
19549
19550 \begin_layout Plain Layout
19551 LatexType
19552 \end_layout
19553
19554 \end_inset
19555
19556  es quizás un poco confuso porque estas eglas se aplican también a clases.
19557  Mira los archivos de clase SGML para ejemplos concretos.
19558 \end_layout
19559
19560 \end_inset
19561
19562
19563 \end_layout
19564
19565 \begin_deeper
19566 \begin_layout Description
19567 \begin_inset Flex Code
19568 status collapsed
19569
19570 \begin_layout Plain Layout
19571 None
19572 \end_layout
19573
19574 \end_inset
19575
19576  significa nada especial
19577 \end_layout
19578
19579 \begin_layout Description
19580 \begin_inset Flex Code
19581 status collapsed
19582
19583 \begin_layout Plain Layout
19584 Command
19585 \end_layout
19586
19587 \end_inset
19588
19589  significa 
19590 \begin_inset Flex Code
19591 status collapsed
19592
19593 \begin_layout Plain Layout
19594
19595 \backslash
19596
19597 \emph on
19598 LatexName
19599 \emph default
19600 {\SpecialChar ldots
19601 }
19602 \end_layout
19603
19604 \end_inset
19605
19606
19607 \end_layout
19608
19609 \begin_layout Description
19610 \begin_inset Flex Code
19611 status collapsed
19612
19613 \begin_layout Plain Layout
19614 Environment
19615 \end_layout
19616
19617 \end_inset
19618
19619  significa 
19620 \begin_inset Flex Code
19621 status collapsed
19622
19623 \begin_layout Plain Layout
19624
19625 \backslash
19626 begin{
19627 \emph on
19628 LatexName
19629 \emph default
19630 }\SpecialChar ldots
19631
19632 \backslash
19633 end{
19634 \emph on
19635 LatexName
19636 \emph default
19637 }
19638 \end_layout
19639
19640 \end_inset
19641
19642
19643 \end_layout
19644
19645 \begin_layout Standard
19646 Poniendo juntas las últimas cosas,
19647  la salida \SpecialChar LaTeX
19648  sería:
19649  
19650 \end_layout
19651
19652 \begin_layout LyX-Code
19653
19654 \backslash
19655 LatexName[LatexParam]{\SpecialChar ldots
19656 }
19657 \end_layout
19658
19659 \begin_layout Standard
19660 o:
19661  
19662 \end_layout
19663
19664 \begin_layout LyX-Code
19665
19666 \backslash
19667 begin{LatexName}[LatexParam] \SpecialChar ldots
19668  
19669 \backslash
19670 end{LatexName}
19671 \end_layout
19672
19673 \begin_layout Standard
19674 dependiendo del tipo de \SpecialChar LaTeX
19675 .
19676 \end_layout
19677
19678 \end_deeper
19679 \begin_layout Description
19680 \begin_inset Flex Code
19681 status collapsed
19682
19683 \begin_layout Plain Layout
19684 LeftDelim
19685 \end_layout
19686
19687 \end_inset
19688
19689  [
19690 \begin_inset Flex Code
19691 status collapsed
19692
19693 \begin_layout Plain Layout
19694 string
19695 \end_layout
19696
19697 \end_inset
19698
19699 ] Secuencia que se pone al comienzo del contenido del formato.
19700  Un salto de línea en la salida se indica con 
19701 \begin_inset Flex Code
19702 status collapsed
19703
19704 \begin_layout Plain Layout
19705 <br/>
19706 \end_layout
19707
19708 \end_inset
19709
19710 .
19711 \end_layout
19712
19713 \begin_layout Description
19714 \begin_inset Flex Code
19715 status collapsed
19716
19717 \begin_layout Plain Layout
19718 LyxType
19719 \end_layout
19720
19721 \end_inset
19722
19723  Puede ser 
19724 \begin_inset Flex Code
19725 status collapsed
19726
19727 \begin_layout Plain Layout
19728 charstyle
19729 \end_layout
19730
19731 \end_inset
19732
19733 ,
19734  
19735 \begin_inset Flex Code
19736 status collapsed
19737
19738 \begin_layout Plain Layout
19739 custom
19740 \end_layout
19741
19742 \end_inset
19743
19744 ,
19745  
19746 \begin_inset Flex Code
19747 status collapsed
19748
19749 \begin_layout Plain Layout
19750 element
19751 \end_layout
19752
19753 \end_inset
19754
19755 ,
19756  o 
19757 \begin_inset Flex Code
19758 status collapsed
19759
19760 \begin_layout Plain Layout
19761 end
19762 \end_layout
19763
19764 \end_inset
19765
19766  (indicando una definición ficticia que finaliza definiciones de estilos de texto,
19767  etc).
19768  Esta entrada es requerida y solo es significativa para recuadros flexibles.
19769  Entre otras cosas,
19770  determina en qué menús aparecerá este recuadro.
19771  Si 
19772 \begin_inset Flex Code
19773 status collapsed
19774
19775 \begin_layout Plain Layout
19776 LyxType
19777 \end_layout
19778
19779 \end_inset
19780
19781  es 
19782 \begin_inset Flex Code
19783 status collapsed
19784
19785 \begin_layout Plain Layout
19786 charstyle
19787 \end_layout
19788
19789 \end_inset
19790
19791  
19792 \begin_inset Flex Code
19793 status collapsed
19794
19795 \begin_layout Plain Layout
19796 MultiPar
19797 \end_layout
19798
19799 \end_inset
19800
19801  es falso y 
19802 \begin_inset Flex Code
19803 status collapsed
19804
19805 \begin_layout Plain Layout
19806 ForcePlain
19807 \end_layout
19808
19809 \end_inset
19810
19811  
19812 \lang english
19813 to true
19814 \lang spanish
19815 .
19816  
19817 \begin_inset Flex Code
19818 status collapsed
19819
19820 \begin_layout Plain Layout
19821 MultiPar
19822 \end_layout
19823
19824 \end_inset
19825
19826  se puede poner como verdadero,
19827  o 
19828 \begin_inset Flex Code
19829 status collapsed
19830
19831 \begin_layout Plain Layout
19832 ForcePlain
19833 \end_layout
19834
19835 \end_inset
19836
19837  
19838 \lang english
19839 to fals
19840 \lang spanish
19841 e,
19842  para recuadros de estilos 
19843 \begin_inset Flex Code
19844 status collapsed
19845
19846 \begin_layout Plain Layout
19847 charstyle
19848 \end_layout
19849
19850 \end_inset
19851
19852 ,
19853  si poniéndolo 
19854 \emph on
19855 después
19856 \emph default
19857  de 
19858 \begin_inset Flex Code
19859 status collapsed
19860
19861 \begin_layout Plain Layout
19862 LyxType
19863 \end_layout
19864
19865 \end_inset
19866
19867 .
19868 \end_layout
19869
19870 \begin_layout Description
19871 \begin_inset Flex Code
19872 status collapsed
19873
19874 \begin_layout Plain Layout
19875 MultiPar
19876 \end_layout
19877
19878 \end_inset
19879
19880  [
19881 \begin_inset Flex Code
19882 status collapsed
19883
19884 \begin_layout Plain Layout
19885
19886 \emph on
19887 0
19888 \end_layout
19889
19890 \end_inset
19891
19892 ,
19893 \begin_inset space \thinspace{}
19894 \end_inset
19895
19896
19897 \begin_inset Flex Code
19898 status collapsed
19899
19900 \begin_layout Plain Layout
19901 1
19902 \end_layout
19903
19904 \end_inset
19905
19906 ] Indica si se permiten múltiples párrafos en este recuadro.
19907  Además establecerá para CustomPars el mismo valor y para ForcePlain el valor opuesto.
19908  Estos pueden modificarse a otros valores si se usan 
19909 \emph on
19910 después
19911 \emph default
19912  de MultiPar.
19913 \end_layout
19914
19915 \begin_layout Description
19916 \begin_inset Flex Code
19917 status collapsed
19918
19919 \begin_layout Plain Layout
19920 NeedProtect
19921 \end_layout
19922
19923 \end_inset
19924
19925  [
19926 \begin_inset Flex Code
19927 status collapsed
19928
19929 \begin_layout Plain Layout
19930
19931 \emph on
19932 0
19933 \end_layout
19934
19935 \end_inset
19936
19937 ,
19938 \begin_inset space \thinspace{}
19939 \end_inset
19940
19941
19942 \begin_inset Flex Code
19943 status collapsed
19944
19945 \begin_layout Plain Layout
19946 1
19947 \end_layout
19948
19949 \end_inset
19950
19951 ] Si los comandos frágiles deben o no ser 
19952 \begin_inset Flex Code
19953 status collapsed
19954
19955 \begin_layout Plain Layout
19956
19957 \backslash
19958 protect
19959 \end_layout
19960
19961 \end_inset
19962
19963 'ed en este recuadro.
19964  (Nota:
19965  es 
19966 \emph on
19967 no
19968 \emph default
19969  si el comando mismo debe ser protegido
19970 \emph on
19971 .)
19972 \end_layout
19973
19974 \begin_layout Description
19975 \begin_inset Flex Code
19976 status collapsed
19977
19978 \begin_layout Plain Layout
19979 NoInsetLayout
19980 \end_layout
19981
19982 \end_inset
19983
19984  [
19985 \begin_inset Flex Code
19986 status collapsed
19987
19988 \begin_layout Plain Layout
19989 <layout>
19990 \end_layout
19991
19992 \end_inset
19993
19994 ] Borra un 
19995 \begin_inset Flex Code
19996 status collapsed
19997
19998 \begin_layout Plain Layout
19999 InsetLayout
20000 \end_layout
20001
20002 \end_inset
20003
20004  existente.
20005 \end_layout
20006
20007 \begin_layout Description
20008 \begin_inset Flex Code
20009 status collapsed
20010
20011 \begin_layout Plain Layout
20012 ObsoletedBy
20013 \end_layout
20014
20015 \end_inset
20016
20017  [
20018 \begin_inset Flex Code
20019 status collapsed
20020
20021 \begin_layout Plain Layout
20022 <layout>
20023 \end_layout
20024
20025 \end_inset
20026
20027 ] Nombre de un 
20028 \begin_inset Flex Code
20029 status collapsed
20030
20031 \begin_layout Plain Layout
20032 InsetLayout
20033 \end_layout
20034
20035 \end_inset
20036
20037  que ha recolocado este 
20038 \begin_inset Flex Code
20039 status collapsed
20040
20041 \begin_layout Plain Layout
20042 InsetLayout
20043 \end_layout
20044
20045 \end_inset
20046
20047 .
20048  Se usa para renombrar un 
20049 \begin_inset Flex Code
20050 status collapsed
20051
20052 \begin_layout Plain Layout
20053 InsetLayout
20054 \end_layout
20055
20056 \end_inset
20057
20058 ,
20059  mientras se mantiene compatibilidad hacia atrás.
20060 \end_layout
20061
20062 \begin_layout Description
20063 \begin_inset Flex Code
20064 status collapsed
20065
20066 \begin_layout Plain Layout
20067 ParbreakIsNewline
20068 \end_layout
20069
20070 \end_inset
20071
20072  [
20073 \begin_inset Flex Code
20074 status collapsed
20075
20076 \begin_layout Plain Layout
20077
20078 \emph on
20079 0
20080 \end_layout
20081
20082 \end_inset
20083
20084 ,
20085 \begin_inset space \thinspace{}
20086 \end_inset
20087
20088
20089 \begin_inset Flex Code
20090 status collapsed
20091
20092 \begin_layout Plain Layout
20093 1
20094 \end_layout
20095
20096 \end_inset
20097
20098 ] Igual que para estilos de párrafo,
20099  véase 
20100 \begin_inset CommandInset ref
20101 LatexCommand ref
20102 reference "subsec:Estilos-de-párrafo"
20103 nolink "false"
20104
20105 \end_inset
20106
20107 .
20108  Por omisión es falso.
20109 \end_layout
20110
20111 \begin_layout Description
20112 \begin_inset Flex Code
20113 status collapsed
20114
20115 \begin_layout Plain Layout
20116 PassThru
20117 \end_layout
20118
20119 \end_inset
20120
20121  [
20122 \emph on
20123
20124 \begin_inset Flex Code
20125 status collapsed
20126
20127 \begin_layout Plain Layout
20128
20129 \emph on
20130 0
20131 \end_layout
20132
20133 \end_inset
20134
20135
20136 \emph default
20137 ,
20138 \begin_inset space \thinspace{}
20139 \end_inset
20140
20141
20142 \begin_inset Flex Code
20143 status collapsed
20144
20145 \begin_layout Plain Layout
20146 1
20147 \end_layout
20148
20149 \end_inset
20150
20151 ] Igual que para estilos de párrafo,
20152  véase 
20153 \begin_inset CommandInset ref
20154 LatexCommand ref
20155 reference "subsec:Estilos-de-párrafo"
20156 nolink "false"
20157
20158 \end_inset
20159
20160 .
20161 \end_layout
20162
20163 \begin_layout Description
20164 \begin_inset Flex Code
20165 status collapsed
20166
20167 \begin_layout Plain Layout
20168 Preamble
20169 \end_layout
20170
20171 \end_inset
20172
20173  Igual que para estilos de párrafo,
20174  véase 
20175 \begin_inset CommandInset ref
20176 LatexCommand ref
20177 reference "subsec:Estilos-de-párrafo"
20178 nolink "false"
20179
20180 \end_inset
20181
20182 .
20183 \end_layout
20184
20185 \begin_layout Description
20186 \begin_inset Flex Code
20187 status collapsed
20188
20189 \begin_layout Plain Layout
20190 RefPrefix
20191 \end_layout
20192
20193 \end_inset
20194
20195  [
20196 \begin_inset Flex Code
20197 status collapsed
20198
20199 \begin_layout Plain Layout
20200 string
20201 \end_layout
20202
20203 \end_inset
20204
20205 ] Prefijo a usar cuando se crean etiquetas que se refieren a recuadros de este tipo.
20206  Esto permite el uso de referencias con formato.
20207 \end_layout
20208
20209 \begin_layout Description
20210 \begin_inset Flex Code
20211 status collapsed
20212
20213 \begin_layout Plain Layout
20214 Requires 
20215 \end_layout
20216
20217 \end_inset
20218
20219  [
20220 \begin_inset Flex Code
20221 status collapsed
20222
20223 \begin_layout Plain Layout
20224 string
20225 \end_layout
20226
20227 \end_inset
20228
20229 ] Igual que para estilos de párrafo,
20230  véase 
20231 \begin_inset CommandInset ref
20232 LatexCommand ref
20233 reference "subsec:Estilos-de-párrafo"
20234 nolink "false"
20235
20236 \end_inset
20237
20238 .
20239 \end_layout
20240
20241 \begin_layout Description
20242 \begin_inset Flex Code
20243 status collapsed
20244
20245 \begin_layout Plain Layout
20246 ResetArgs
20247 \end_layout
20248
20249 \end_inset
20250
20251  [
20252 \begin_inset Flex Code
20253 status collapsed
20254
20255 \begin_layout Plain Layout
20256
20257 \emph on
20258 0
20259 \end_layout
20260
20261 \end_inset
20262
20263 ,
20264 \begin_inset space \thinspace{}
20265 \end_inset
20266
20267
20268 \begin_inset Flex Code
20269 status collapsed
20270
20271 \begin_layout Plain Layout
20272 1
20273 \end_layout
20274
20275 \end_inset
20276
20277 ] Reinicia los argumentos \SpecialChar LaTeX
20278  de este formato (como se definen con 
20279 \begin_inset Flex Code
20280 status collapsed
20281
20282 \begin_layout Plain Layout
20283 Argument
20284 \end_layout
20285
20286 \end_inset
20287
20288  tag).
20289  Es útil si has copiado un estilo con 
20290 \begin_inset Flex Code
20291 status collapsed
20292
20293 \begin_layout Plain Layout
20294 CopyStyle
20295 \end_layout
20296
20297 \end_inset
20298
20299 ,
20300  pero no quieres heredar sus argumentos (requerido y opcional).
20301 \end_layout
20302
20303 \begin_layout Description
20304 \begin_inset Flex Code
20305 status collapsed
20306
20307 \begin_layout Plain Layout
20308 ResetsFont
20309 \end_layout
20310
20311 \end_inset
20312
20313  [
20314 \begin_inset Flex Code
20315 status collapsed
20316
20317 \begin_layout Plain Layout
20318 0
20319 \end_layout
20320
20321 \end_inset
20322
20323 ,
20324 \begin_inset space \thinspace{}
20325 \end_inset
20326
20327
20328 \begin_inset Flex Code
20329 status collapsed
20330
20331 \begin_layout Plain Layout
20332
20333 \emph on
20334 1
20335 \end_layout
20336
20337 \end_inset
20338
20339 ] Si este recuadro debería usar la tipografía de su entorno o la suya propia.
20340  Por omisión es la tipografía de su entorno.
20341 \end_layout
20342
20343 \begin_layout Description
20344 \begin_inset Flex Code
20345 status collapsed
20346
20347 \begin_layout Plain Layout
20348 RightDelim
20349 \end_layout
20350
20351 \end_inset
20352
20353  [
20354 \begin_inset Flex Code
20355 status collapsed
20356
20357 \begin_layout Plain Layout
20358 string
20359 \end_layout
20360
20361 \end_inset
20362
20363 ] Secuencia que se pone al final del contenido del formato.
20364  Un salto de línea en la salida se indica con 
20365 \begin_inset Flex Code
20366 status collapsed
20367
20368 \begin_layout Plain Layout
20369 <br/>
20370 \end_layout
20371
20372 \end_inset
20373
20374 .
20375 \end_layout
20376
20377 \begin_layout Description
20378 \begin_inset Flex Code
20379 status collapsed
20380
20381 \begin_layout Plain Layout
20382 Spellcheck
20383 \end_layout
20384
20385 \end_inset
20386
20387  [
20388 \begin_inset Flex Code
20389 status collapsed
20390
20391 \begin_layout Plain Layout
20392 0
20393 \end_layout
20394
20395 \end_inset
20396
20397 ,
20398 \begin_inset space \thinspace{}
20399 \end_inset
20400
20401
20402 \begin_inset Flex Code
20403 status collapsed
20404
20405 \begin_layout Plain Layout
20406
20407 \emph on
20408 1
20409 \end_layout
20410
20411 \end_inset
20412
20413 ] Revisar la ortografía del contenido del recuadro.
20414  Por omisión,
20415  sí.
20416 \end_layout
20417
20418 \begin_layout Subsection
20419 Contadores
20420 \begin_inset CommandInset label
20421 LatexCommand label
20422 name "subsec:Contadores"
20423
20424 \end_inset
20425
20426
20427 \end_layout
20428
20429 \begin_layout Standard
20430 Es necesario definir los contadores (
20431 \begin_inset Flex Noun
20432 status collapsed
20433
20434 \begin_layout Plain Layout
20435 chapter
20436 \end_layout
20437
20438 \end_inset
20439
20440 ,
20441  
20442 \begin_inset Flex Noun
20443 status collapsed
20444
20445 \begin_layout Plain Layout
20446 figure
20447 \end_layout
20448
20449 \end_inset
20450
20451 ,
20452  \SpecialChar ldots
20453 ) en la propia clase de texto.
20454  Los contadores estándar están definidos en el archivo 
20455 \begin_inset Flex Code
20456 status collapsed
20457
20458 \begin_layout Plain Layout
20459 stdcounters.inc
20460 \end_layout
20461
20462 \end_inset
20463
20464 ,
20465  de modo que no tienes más que añadir
20466 \end_layout
20467
20468 \begin_layout LyX-Code
20469 Input stdcounters.inc
20470 \end_layout
20471
20472 \begin_layout Standard
20473 en el archivo de formato para que funcionen.
20474  Pero si quieres puedes definir contadores personalizados.
20475  La declaración de un contador debe comenzar con:
20476 \end_layout
20477
20478 \begin_layout LyX-Code
20479 Counter <name>
20480 \end_layout
20481
20482 \begin_layout Standard
20483 donde 
20484 \begin_inset Flex Code
20485 status collapsed
20486
20487 \begin_layout Plain Layout
20488 <name>
20489 \end_layout
20490
20491 \end_inset
20492
20493  es el nombre del contador.
20494  Hay que terminar con 
20495 \begin_inset Flex Code
20496 status collapsed
20497
20498 \begin_layout Plain Layout
20499 End
20500 \end_layout
20501
20502 \end_inset
20503
20504 .
20505 \end_layout
20506
20507 \begin_layout Standard
20508 Se pueden usar además los parámetros siguientes:
20509 \end_layout
20510
20511 \begin_layout Description
20512 \begin_inset Flex Code
20513 status collapsed
20514
20515 \begin_layout Plain Layout
20516 InitialValue
20517 \end_layout
20518
20519 \end_inset
20520
20521  [
20522 \begin_inset Flex Code
20523 status collapsed
20524
20525 \begin_layout Plain Layout
20526 int=1
20527 \end_layout
20528
20529 \end_inset
20530
20531 ] Establece el valor inicial para el contador,
20532  al cuál se reiniciará cada vez que suceda esto.
20533  Normalmente será 1.
20534 \end_layout
20535
20536 \begin_layout Description
20537 \begin_inset Flex Code
20538 status collapsed
20539
20540 \begin_layout Plain Layout
20541 LabelString
20542 \end_layout
20543
20544 \end_inset
20545
20546  [
20547 \begin_inset Flex Code
20548 status collapsed
20549
20550 \begin_layout Plain Layout
20551 string
20552 \end_layout
20553
20554 \end_inset
20555
20556 =""] Si se define esta cadena,
20557  indica cómo se muestra el contador.
20558  Al establecer este valor también se da el mismo valor a 
20559 \begin_inset Flex Code
20560 status collapsed
20561
20562 \begin_layout Plain Layout
20563 LabelStringAppendix
20564 \end_layout
20565
20566 \end_inset
20567
20568 .
20569  Para los valores de 'string' se pueden usar las estructuras siguientes:
20570 \end_layout
20571
20572 \begin_deeper
20573 \begin_layout Itemize
20574 \begin_inset Flex Code
20575 status collapsed
20576
20577 \begin_layout Plain Layout
20578
20579 \backslash
20580 thecounter
20581 \end_layout
20582
20583 \end_inset
20584
20585  será reemplazado por la expansión de 
20586 \begin_inset Flex Code
20587 status collapsed
20588
20589 \begin_layout Plain Layout
20590 LabelString
20591 \end_layout
20592
20593 \end_inset
20594
20595
20596 \begin_inset Newline newline
20597 \end_inset
20598
20599 (o 
20600 \begin_inset Flex Code
20601 status collapsed
20602
20603 \begin_layout Plain Layout
20604 LabelStringAppendix
20605 \end_layout
20606
20607 \end_inset
20608
20609 ) del contador 
20610 \begin_inset Flex Code
20611 status collapsed
20612
20613 \begin_layout Plain Layout
20614 counter
20615 \end_layout
20616
20617 \end_inset
20618
20619 .
20620  
20621 \end_layout
20622
20623 \begin_layout Itemize
20624 los valores del contador pueden expresarse usando macros tipo \SpecialChar LaTeX
20625  como 
20626 \begin_inset Flex Code
20627 status collapsed
20628
20629 \begin_layout Plain Layout
20630
20631 \backslash
20632
20633 \emph on
20634 numbertype
20635 \emph default
20636 {
20637 \emph on
20638 counter
20639 \emph default
20640 }
20641 \end_layout
20642
20643 \end_inset
20644
20645 ,
20646  donde 
20647 \begin_inset Flex Code
20648 status collapsed
20649
20650 \begin_layout Plain Layout
20651
20652 \emph on
20653 numbertype
20654 \end_layout
20655
20656 \end_inset
20657
20658  puede ser:
20659 \begin_inset Foot
20660 status collapsed
20661
20662 \begin_layout Plain Layout
20663 En realidad la cosa es un poco más compleja:
20664  cualquier 
20665 \emph on
20666 numbertype
20667 \emph default
20668  distinto de los descritos a continuación generará números arábigos.
20669  No sería sorprendenta ver este cambio en el futuro.
20670 \end_layout
20671
20672 \end_inset
20673
20674  
20675 \begin_inset Flex Code
20676 status collapsed
20677
20678 \begin_layout Plain Layout
20679 arabic
20680 \end_layout
20681
20682 \end_inset
20683
20684 :
20685  1,
20686  2,
20687  3,\SpecialChar ldots
20688 ;
20689  
20690 \begin_inset Flex Code
20691 status collapsed
20692
20693 \begin_layout Plain Layout
20694 alph
20695 \end_layout
20696
20697 \end_inset
20698
20699  para minúsculas:
20700  a,
20701  b,
20702  c,
20703  \SpecialChar ldots
20704 ;
20705  
20706 \begin_inset Flex Code
20707 status collapsed
20708
20709 \begin_layout Plain Layout
20710 Alph
20711 \end_layout
20712
20713 \end_inset
20714
20715  para mayúsculas:
20716  A,
20717  B,
20718  C,
20719  \SpecialChar ldots
20720 ;
20721  
20722 \begin_inset Flex Code
20723 status collapsed
20724
20725 \begin_layout Plain Layout
20726 roman
20727 \end_layout
20728
20729 \end_inset
20730
20731  números romanos en minúscula:
20732  i,
20733  ii,
20734  iii,
20735  \SpecialChar ldots
20736
20737 \begin_inset Foot
20738 status collapsed
20739
20740 \begin_layout Plain Layout
20741
20742 \size normal
20743 \emph on
20744 \color none
20745 N.
20746 \begin_inset space \thinspace{}
20747 \end_inset
20748
20749 del T.
20750 \emph default
20751 :
20752  El estilo 
20753 \family sans
20754
20755 \begin_inset Flex Code
20756 status collapsed
20757
20758 \begin_layout Plain Layout
20759
20760 \family sans
20761 \size normal
20762 \color none
20763 spanish
20764 \end_layout
20765
20766 \end_inset
20767
20768
20769 \family default
20770  de 
20771 \family sans
20772
20773 \begin_inset Flex Code
20774 status collapsed
20775
20776 \begin_layout Plain Layout
20777
20778 \family sans
20779 \size normal
20780 \color none
20781 babel
20782 \end_layout
20783
20784 \end_inset
20785
20786
20787 \family default
20788 \size default
20789 \color inherit
20790  los transforma automáticamente en versalitas
20791 \noun on
20792 ,
20793  i,
20794  ii
20795 \noun default
20796 \SpecialChar ldots
20797 ,
20798  ya que los romanos en minúscula no se usan en español.
20799  
20800 \end_layout
20801
20802 \end_inset
20803
20804 ;
20805  
20806 \begin_inset Flex Code
20807 status collapsed
20808
20809 \begin_layout Plain Layout
20810 Roman
20811 \end_layout
20812
20813 \end_inset
20814
20815  para romanos en mayúsculas:
20816  I,
20817  II,
20818  III\SpecialChar ldots
20819 ;
20820  
20821 \begin_inset Flex Code
20822 status collapsed
20823
20824 \begin_layout Plain Layout
20825 hebrew
20826 \end_layout
20827
20828 \end_inset
20829
20830  para números hebreos.
20831 \end_layout
20832
20833 \end_deeper
20834 \begin_layout Standard
20835 Si no se define 
20836 \begin_inset Flex Code
20837 status collapsed
20838
20839 \begin_layout Plain Layout
20840 LabelString
20841 \end_layout
20842
20843 \end_inset
20844
20845 ,
20846  se construye un valor por omisión así:
20847  si el contador tiene un contador maestro 
20848 \begin_inset Flex Code
20849 status collapsed
20850
20851 \begin_layout Plain Layout
20852 master
20853 \end_layout
20854
20855 \end_inset
20856
20857  (definido mediante 
20858 \begin_inset Flex Code
20859 status collapsed
20860
20861 \begin_layout Plain Layout
20862 Within
20863 \end_layout
20864
20865 \end_inset
20866
20867 ),
20868  se usa la cadena 
20869 \begin_inset Flex Code
20870 status collapsed
20871
20872 \begin_layout Plain Layout
20873
20874 \backslash
20875 themaster.
20876 \backslash
20877 arabic{counter}
20878 \end_layout
20879
20880 \end_inset
20881
20882 ;
20883  si no,
20884  se usa la cadena 
20885 \begin_inset Flex Code
20886 status collapsed
20887
20888 \begin_layout Plain Layout
20889
20890 \backslash
20891 arabic{counter}
20892 \end_layout
20893
20894 \end_inset
20895
20896 .
20897 \end_layout
20898
20899 \begin_layout Description
20900 \begin_inset Flex Code
20901 status collapsed
20902
20903 \begin_layout Plain Layout
20904 LabelStringAppendix
20905 \end_layout
20906
20907 \end_inset
20908
20909  [
20910 \begin_inset Flex Code
20911 status collapsed
20912
20913 \begin_layout Plain Layout
20914 string
20915 \end_layout
20916
20917 \end_inset
20918
20919 =""] Lo mismo que 
20920 \begin_inset Flex Code
20921 status collapsed
20922
20923 \begin_layout Plain Layout
20924 LabelString
20925 \end_layout
20926
20927 \end_inset
20928
20929 ,
20930  pero para el apéndice.
20931 \end_layout
20932
20933 \begin_layout Description
20934 \begin_inset Flex Code
20935 status collapsed
20936
20937 \begin_layout Plain Layout
20938 PrettyFormat
20939 \end_layout
20940
20941 \end_inset
20942
20943  [
20944 \begin_inset Flex Code
20945 status collapsed
20946
20947 \begin_layout Plain Layout
20948 string
20949 \end_layout
20950
20951 \end_inset
20952
20953 =
20954 \begin_inset Quotes erd
20955 \end_inset
20956
20957
20958 \begin_inset Quotes erd
20959 \end_inset
20960
20961 ] Un formato para usar con las referencias a este contador.
20962  Por ejemplo,
20963  podríamos querer las referencias a los números de sección en la forma 
20964 \begin_inset Quotes cld
20965 \end_inset
20966
20967 Sección
20968 \begin_inset space ~
20969 \end_inset
20970
20971 2.4
20972 \begin_inset Quotes crd
20973 \end_inset
20974
20975 .
20976  La secuencia debería contener 
20977 \begin_inset Quotes eld
20978 \end_inset
20979
20980 ##
20981 \begin_inset Quotes erd
20982 \end_inset
20983
20984 .
20985  Esto será reemplazado por el número correspondiente del contador.
20986  Así pues,
20987  para secciones sería:
20988  Section ##.
20989 \end_layout
20990
20991 \begin_layout Description
20992 \begin_inset Flex Code
20993 status collapsed
20994
20995 \begin_layout Plain Layout
20996 Within
20997 \end_layout
20998
20999 \end_inset
21000
21001  [
21002 \begin_inset Flex Code
21003 status collapsed
21004
21005 \begin_layout Plain Layout
21006 string
21007 \end_layout
21008
21009 \end_inset
21010
21011 =""] Si esto se establece para el nombre de otro contador,
21012  el presente contador se reiniciará cada vez que el otro aumente.
21013  Por ejemplo,
21014  
21015 \begin_inset Flex Code
21016 status collapsed
21017
21018 \begin_layout Plain Layout
21019 subsection
21020 \end_layout
21021
21022 \end_inset
21023
21024  se numera dentro de 
21025 \begin_inset Flex Code
21026 status collapsed
21027
21028 \begin_layout Plain Layout
21029 section
21030 \end_layout
21031
21032 \end_inset
21033
21034 .
21035 \end_layout
21036
21037 \begin_layout Subsection
21038 Descripción de la tipografía
21039 \begin_inset CommandInset label
21040 LatexCommand label
21041 name "subsec:Tipografía"
21042
21043 \end_inset
21044
21045
21046 \end_layout
21047
21048 \begin_layout Standard
21049 Una descripción de una tipografía se ve así:
21050 \end_layout
21051
21052 \begin_layout LyX-Code
21053 Font 
21054 \family roman
21055 \emph on
21056 o
21057 \family default
21058 \emph default
21059  LabelFont 
21060 \emph on
21061 o
21062 \emph default
21063  DefaultFont
21064 \end_layout
21065
21066 \begin_layout LyX-Code
21067  ...
21068 \end_layout
21069
21070 \begin_layout LyX-Code
21071 EndFont
21072 \end_layout
21073
21074 \begin_layout Standard
21075 Están disponibles los comandos siguientes:
21076 \end_layout
21077
21078 \begin_layout Description
21079 \begin_inset Flex Code
21080 status collapsed
21081
21082 \begin_layout Plain Layout
21083 Color
21084 \end_layout
21085
21086 \end_inset
21087
21088  [
21089 \begin_inset Flex Code
21090 status collapsed
21091
21092 \begin_layout Plain Layout
21093
21094 \emph on
21095 none
21096 \end_layout
21097
21098 \end_inset
21099
21100 ,
21101  
21102 \begin_inset Flex Code
21103 status collapsed
21104
21105 \begin_layout Plain Layout
21106 black
21107 \end_layout
21108
21109 \end_inset
21110
21111 ,
21112  
21113 \begin_inset Flex Code
21114 status collapsed
21115
21116 \begin_layout Plain Layout
21117 white
21118 \end_layout
21119
21120 \end_inset
21121
21122 ,
21123  
21124 \begin_inset Flex Code
21125 status collapsed
21126
21127 \begin_layout Plain Layout
21128 red
21129 \end_layout
21130
21131 \end_inset
21132
21133 ,
21134  
21135 \begin_inset Flex Code
21136 status collapsed
21137
21138 \begin_layout Plain Layout
21139 green
21140 \end_layout
21141
21142 \end_inset
21143
21144 ,
21145  
21146 \begin_inset Flex Code
21147 status collapsed
21148
21149 \begin_layout Plain Layout
21150 blue
21151 \end_layout
21152
21153 \end_inset
21154
21155 ,
21156  
21157 \begin_inset Flex Code
21158 status collapsed
21159
21160 \begin_layout Plain Layout
21161 cyan
21162 \end_layout
21163
21164 \end_inset
21165
21166 ,
21167  
21168 \begin_inset Flex Code
21169 status collapsed
21170
21171 \begin_layout Plain Layout
21172 magenta
21173 \end_layout
21174
21175 \end_inset
21176
21177 ,
21178  
21179 \begin_inset Flex Code
21180 status collapsed
21181
21182 \begin_layout Plain Layout
21183 yellow
21184 \end_layout
21185
21186 \end_inset
21187
21188 ,
21189  
21190 \begin_inset Flex Code
21191 status collapsed
21192
21193 \begin_layout Plain Layout
21194 brown
21195 \end_layout
21196
21197 \end_inset
21198
21199 ,
21200  
21201 \begin_inset Flex Code
21202 status collapsed
21203
21204 \begin_layout Plain Layout
21205 darkgray
21206 \end_layout
21207
21208 \end_inset
21209
21210 ,
21211  
21212 \begin_inset Flex Code
21213 status collapsed
21214
21215 \begin_layout Plain Layout
21216 gray
21217 \end_layout
21218
21219 \end_inset
21220
21221 ,
21222  
21223 \begin_inset Flex Code
21224 status collapsed
21225
21226 \begin_layout Plain Layout
21227 lightgray
21228 \end_layout
21229
21230 \end_inset
21231
21232 ,
21233  
21234 \begin_inset Flex Code
21235 status collapsed
21236
21237 \begin_layout Plain Layout
21238 lime
21239 \end_layout
21240
21241 \end_inset
21242
21243 ,
21244  
21245 \begin_inset Flex Code
21246 status collapsed
21247
21248 \begin_layout Plain Layout
21249 orange
21250 \end_layout
21251
21252 \end_inset
21253
21254 ,
21255  
21256 \begin_inset Flex Code
21257 status collapsed
21258
21259 \begin_layout Plain Layout
21260 olive
21261 \end_layout
21262
21263 \end_inset
21264
21265 ,
21266  
21267 \begin_inset Flex Code
21268 status collapsed
21269
21270 \begin_layout Plain Layout
21271 pink
21272 \end_layout
21273
21274 \end_inset
21275
21276 ,
21277  
21278 \begin_inset Flex Code
21279 status collapsed
21280
21281 \begin_layout Plain Layout
21282 purple
21283 \end_layout
21284
21285 \end_inset
21286
21287 ,
21288  
21289 \begin_inset Flex Code
21290 status collapsed
21291
21292 \begin_layout Plain Layout
21293 teal
21294 \end_layout
21295
21296 \end_inset
21297
21298 ,
21299  
21300 \begin_inset Flex Code
21301 status collapsed
21302
21303 \begin_layout Plain Layout
21304 violet
21305 \end_layout
21306
21307 \end_inset
21308
21309 ]
21310 \end_layout
21311
21312 \begin_layout Description
21313 \begin_inset Flex Code
21314 status collapsed
21315
21316 \begin_layout Plain Layout
21317 Family
21318 \end_layout
21319
21320 \end_inset
21321
21322  [
21323 \emph on
21324
21325 \begin_inset Flex Code
21326 status collapsed
21327
21328 \begin_layout Plain Layout
21329
21330 \emph on
21331 Roman
21332 \end_layout
21333
21334 \end_inset
21335
21336
21337 \emph default
21338 ,
21339  
21340 \begin_inset Flex Code
21341 status collapsed
21342
21343 \begin_layout Plain Layout
21344 Sans
21345 \end_layout
21346
21347 \end_inset
21348
21349 ,
21350  
21351 \begin_inset Flex Code
21352 status collapsed
21353
21354 \begin_layout Plain Layout
21355 Typewriter
21356 \end_layout
21357
21358 \end_inset
21359
21360
21361 \end_layout
21362
21363 \begin_layout Description
21364 \begin_inset Flex Code
21365 status collapsed
21366
21367 \begin_layout Plain Layout
21368 Misc
21369 \end_layout
21370
21371 \end_inset
21372
21373  [
21374 \begin_inset Flex Code
21375 status collapsed
21376
21377 \begin_layout Plain Layout
21378 string
21379 \end_layout
21380
21381 \end_inset
21382
21383 ] Son argumentos válidos:
21384  
21385 \begin_inset Flex Code
21386 status collapsed
21387
21388 \begin_layout Plain Layout
21389 emph
21390 \end_layout
21391
21392 \end_inset
21393
21394 ,
21395  
21396 \begin_inset Flex Code
21397 status collapsed
21398
21399 \begin_layout Plain Layout
21400 noun
21401 \end_layout
21402
21403 \end_inset
21404
21405 ,
21406  
21407 \begin_inset Flex Code
21408 status collapsed
21409
21410 \begin_layout Plain Layout
21411 strikeout
21412 \end_layout
21413
21414 \end_inset
21415
21416 ,
21417  
21418 \begin_inset Flex Code
21419 status collapsed
21420
21421 \begin_layout Plain Layout
21422 underbar
21423 \end_layout
21424
21425 \end_inset
21426
21427 ,
21428  
21429 \begin_inset Flex Code
21430 status collapsed
21431
21432 \begin_layout Plain Layout
21433 uuline
21434 \end_layout
21435
21436 \end_inset
21437
21438 ,
21439  
21440 \begin_inset Flex Code
21441 status collapsed
21442
21443 \begin_layout Plain Layout
21444 uwave
21445 \end_layout
21446
21447 \end_inset
21448
21449 ,
21450  
21451 \begin_inset Flex Code
21452 status collapsed
21453
21454 \begin_layout Plain Layout
21455 no_emph
21456 \end_layout
21457
21458 \end_inset
21459
21460 ,
21461  
21462 \begin_inset Flex Code
21463 status collapsed
21464
21465 \begin_layout Plain Layout
21466 no_noun
21467 \end_layout
21468
21469 \end_inset
21470
21471 ,
21472  
21473 \begin_inset Flex Code
21474 status collapsed
21475
21476 \begin_layout Plain Layout
21477 no_strikeout
21478 \end_layout
21479
21480 \end_inset
21481
21482 ,
21483  
21484 \begin_inset Flex Code
21485 status collapsed
21486
21487 \begin_layout Plain Layout
21488 no_bar
21489 \end_layout
21490
21491 \end_inset
21492
21493 ,
21494  
21495 \begin_inset Flex Code
21496 status collapsed
21497
21498 \begin_layout Plain Layout
21499 no_uuline
21500 \end_layout
21501
21502 \end_inset
21503
21504  y 
21505 \begin_inset Flex Code
21506 status collapsed
21507
21508 \begin_layout Plain Layout
21509 no_uwave
21510 \end_layout
21511
21512 \end_inset
21513
21514 .
21515  Cada uno de ellos activa o desactiva el atributo correspondiente.
21516  Por ejemplo,
21517  
21518 \begin_inset Flex Code
21519 status collapsed
21520
21521 \begin_layout Plain Layout
21522 emph
21523 \end_layout
21524
21525 \end_inset
21526
21527  activa énfasis,
21528  y 
21529 \begin_inset Flex Code
21530 status collapsed
21531
21532 \begin_layout Plain Layout
21533 no_emph
21534 \end_layout
21535
21536 \end_inset
21537
21538  lo desactiva.
21539 \begin_inset Newline newline
21540 \end_inset
21541
21542 Si esto último parece superfluo,
21543  recordemos que la configuración de tipografías para el presente contexto se hereda generalmente del contexto circundante.
21544  Por eso 
21545 \begin_inset Flex Code
21546 status collapsed
21547
21548 \begin_layout Plain Layout
21549 no_emph
21550 \end_layout
21551
21552 \end_inset
21553
21554  desactivaría el énfasis que estaba vigente,
21555  digamos,
21556  en un entorno teorema.
21557 \end_layout
21558
21559 \begin_layout Description
21560 \begin_inset Flex Code
21561 status collapsed
21562
21563 \begin_layout Plain Layout
21564 Series
21565 \end_layout
21566
21567 \end_inset
21568
21569  [
21570 \emph on
21571
21572 \begin_inset Flex Code
21573 status collapsed
21574
21575 \begin_layout Plain Layout
21576
21577 \emph on
21578 Medium
21579 \end_layout
21580
21581 \end_inset
21582
21583
21584 \emph default
21585 ,
21586  
21587 \begin_inset Flex Code
21588 status collapsed
21589
21590 \begin_layout Plain Layout
21591 Bold
21592 \end_layout
21593
21594 \end_inset
21595
21596
21597 \end_layout
21598
21599 \begin_layout Description
21600 \begin_inset Flex Code
21601 status collapsed
21602
21603 \begin_layout Plain Layout
21604 Shape
21605 \end_layout
21606
21607 \end_inset
21608
21609  [
21610 \emph on
21611
21612 \begin_inset Flex Code
21613 status collapsed
21614
21615 \begin_layout Plain Layout
21616
21617 \emph on
21618 Up
21619 \end_layout
21620
21621 \end_inset
21622
21623
21624 \emph default
21625 ,
21626  
21627 \begin_inset Flex Code
21628 status collapsed
21629
21630 \begin_layout Plain Layout
21631 Italic
21632 \end_layout
21633
21634 \end_inset
21635
21636 ,
21637  
21638 \begin_inset Flex Code
21639 status collapsed
21640
21641 \begin_layout Plain Layout
21642 SmallCaps
21643 \end_layout
21644
21645 \end_inset
21646
21647 ,
21648  
21649 \begin_inset Flex Code
21650 status collapsed
21651
21652 \begin_layout Plain Layout
21653 Slanted
21654 \end_layout
21655
21656 \end_inset
21657
21658
21659 \end_layout
21660
21661 \begin_layout Description
21662 \begin_inset Flex Code
21663 status collapsed
21664
21665 \begin_layout Plain Layout
21666 Size
21667 \end_layout
21668
21669 \end_inset
21670
21671  [
21672 \begin_inset Flex Code
21673 status collapsed
21674
21675 \begin_layout Plain Layout
21676 tiny
21677 \end_layout
21678
21679 \end_inset
21680
21681 ,
21682  
21683 \begin_inset Flex Code
21684 status collapsed
21685
21686 \begin_layout Plain Layout
21687 small
21688 \end_layout
21689
21690 \end_inset
21691
21692 ,
21693  
21694 \begin_inset Flex Code
21695 status collapsed
21696
21697 \begin_layout Plain Layout
21698
21699 \emph on
21700 normal
21701 \end_layout
21702
21703 \end_inset
21704
21705 ,
21706  
21707 \begin_inset Flex Code
21708 status collapsed
21709
21710 \begin_layout Plain Layout
21711 large
21712 \end_layout
21713
21714 \end_inset
21715
21716 ,
21717  
21718 \begin_inset Flex Code
21719 status collapsed
21720
21721 \begin_layout Plain Layout
21722 larger
21723 \end_layout
21724
21725 \end_inset
21726
21727 ,
21728  
21729 \begin_inset Flex Code
21730 status collapsed
21731
21732 \begin_layout Plain Layout
21733 largest
21734 \end_layout
21735
21736 \end_inset
21737
21738 ,
21739  
21740 \begin_inset Flex Code
21741 status collapsed
21742
21743 \begin_layout Plain Layout
21744 huge
21745 \end_layout
21746
21747 \end_inset
21748
21749 ,
21750  
21751 \begin_inset Flex Code
21752 status collapsed
21753
21754 \begin_layout Plain Layout
21755 giant
21756 \end_layout
21757
21758 \end_inset
21759
21760 ]
21761 \end_layout
21762
21763 \begin_layout Subsection
21764
21765 \lang english
21766 \begin_inset CommandInset label
21767 LatexCommand label
21768 name "subsec:Citation-engine-description"
21769
21770 \end_inset
21771
21772 Citation engine description
21773 \end_layout
21774
21775 \begin_layout Standard
21776
21777 \lang english
21778 The 
21779 \begin_inset Flex Code
21780 status collapsed
21781
21782 \begin_layout Plain Layout
21783
21784 \lang english
21785 CiteEngine
21786 \end_layout
21787
21788 \end_inset
21789
21790  blocks,
21791  as used mainly in cite engine files (see 
21792 \begin_inset CommandInset ref
21793 LatexCommand ref
21794 reference "subsec:Cite-Engine-Files"
21795 plural "false"
21796 caps "false"
21797 noprefix "false"
21798 nolink "false"
21799
21800 \end_inset
21801
21802 ),
21803  define the citation commands provided by a specific 
21804 \begin_inset Quotes eld
21805 \end_inset
21806
21807 cite engine
21808 \begin_inset Quotes erd
21809 \end_inset
21810
21811 .
21812  A cite engine,
21813  in \SpecialChar LyX
21814  terms,
21815  is way specific way to format citations,
21816  using numbers,
21817  author names and/or years.
21818  Currently,
21819  \SpecialChar LyX
21820  supports three such engine types,
21821  namely:
21822 \end_layout
21823
21824 \begin_layout Enumerate
21825
21826 \lang english
21827 \begin_inset Flex Code
21828 status collapsed
21829
21830 \begin_layout Plain Layout
21831
21832 \lang english
21833 default
21834 \end_layout
21835
21836 \end_inset
21837
21838 :
21839  the default Bib\SpecialChar TeX
21840  way to format citations,
21841  a simple numeric style (e.
21842 \begin_inset space \thinspace{}
21843 \end_inset
21844
21845 g.,
21846  
21847 \begin_inset Quotes eld
21848 \end_inset
21849
21850 [1]
21851 \begin_inset Quotes erd
21852 \end_inset
21853
21854 )
21855 \end_layout
21856
21857 \begin_layout Enumerate
21858
21859 \lang english
21860 \begin_inset Flex Code
21861 status collapsed
21862
21863 \begin_layout Plain Layout
21864
21865 \lang english
21866 authoryear
21867 \end_layout
21868
21869 \end_inset
21870
21871 :
21872  Harvard-styled citations using author names and publication year (e.
21873 \begin_inset space \thinspace{}
21874 \end_inset
21875
21876 g.,
21877  
21878 \begin_inset Quotes eld
21879 \end_inset
21880
21881 Smith and Miller (2017b)
21882 \begin_inset Quotes erd
21883 \end_inset
21884
21885 )
21886 \end_layout
21887
21888 \begin_layout Enumerate
21889
21890 \lang english
21891 \begin_inset Flex Code
21892 status collapsed
21893
21894 \begin_layout Plain Layout
21895
21896 \lang english
21897 numerical
21898 \end_layout
21899
21900 \end_inset
21901
21902 :
21903  extended numerical citations that also allow for author or title next to the number (e.
21904 \begin_inset space \thinspace{}
21905 \end_inset
21906
21907 g.,
21908  
21909 \begin_inset Quotes eld
21910 \end_inset
21911
21912 Smith and Miller [1]
21913 \begin_inset Quotes erd
21914 \end_inset
21915
21916 )
21917 \end_layout
21918
21919 \begin_layout Standard
21920
21921 \lang english
21922 \begin_inset Flex Code
21923 status collapsed
21924
21925 \begin_layout Plain Layout
21926
21927 \lang english
21928 CiteEngine
21929 \end_layout
21930
21931 \end_inset
21932
21933  blocks look like this:
21934 \end_layout
21935
21936 \begin_layout LyX-Code
21937
21938 \lang english
21939 CiteEngine default
21940 \end_layout
21941
21942 \begin_layout LyX-Code
21943
21944 \lang english
21945  cite
21946 \end_layout
21947
21948 \begin_layout LyX-Code
21949
21950 \lang english
21951  Citep*[][]
21952 \end_layout
21953
21954 \begin_layout LyX-Code
21955
21956 \lang english
21957  citeyearpar[][]=parencite*
21958 \end_layout
21959
21960 \begin_layout LyX-Code
21961
21962 \lang english
21963  ...
21964 \end_layout
21965
21966 \begin_layout LyX-Code
21967
21968 \lang english
21969 End
21970 \end_layout
21971
21972 \begin_layout Standard
21973
21974 \lang english
21975 The tag following 
21976 \begin_inset Flex Code
21977 status collapsed
21978
21979 \begin_layout Plain Layout
21980
21981 \lang english
21982 CiteEngine
21983 \end_layout
21984
21985 \end_inset
21986
21987  denotes the engine.
21988  The individual lines respectively define a cite command or cite command paradigm supported by this engine.
21989  The line can be as simple as a cite command that is used both to name the respective \SpecialChar LyX
21990  command and the \SpecialChar LaTeX
21991  output or more complex in order to differentiate things.
21992  The full syntax is:
21993 \end_layout
21994
21995 \begin_layout LyX-Code
21996
21997 \lang english
21998 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21999 \end_layout
22000
22001 \begin_layout Itemize
22002
22003 \lang english
22004 \begin_inset Flex Code
22005 status collapsed
22006
22007 \begin_layout Plain Layout
22008
22009 \lang english
22010 LyXName
22011 \end_layout
22012
22013 \end_inset
22014
22015 :
22016  The name as used in the 
22017 \begin_inset Flex Code
22018 status collapsed
22019
22020 \begin_layout Plain Layout
22021
22022 \lang english
22023 *.lyx
22024 \end_layout
22025
22026 \end_inset
22027
22028  file.
22029 \end_layout
22030
22031 \begin_deeper
22032 \begin_layout Standard
22033
22034 \lang english
22035 For portability reasons,
22036  we try to use the same name for same-formatted commands in different cite packages (thus many names stem from natbib,
22037  and thus we need to differentiate a 
22038 \begin_inset Flex Code
22039 status collapsed
22040
22041 \begin_layout Plain Layout
22042
22043 \lang english
22044 latexcmd
22045 \end_layout
22046
22047 \end_inset
22048
22049  sometimes,
22050  if the \SpecialChar LaTeX
22051  command names differ).
22052 \end_layout
22053
22054 \end_deeper
22055 \begin_layout Itemize
22056
22057 \lang english
22058 \begin_inset Flex Code
22059 status collapsed
22060
22061 \begin_layout Plain Layout
22062
22063 \lang english
22064 alias
22065 \end_layout
22066
22067 \end_inset
22068
22069 :
22070  a (comma-separated) list of commands that fall back to the given 
22071 \begin_inset Flex Code
22072 status collapsed
22073
22074 \begin_layout Plain Layout
22075
22076 \lang english
22077 LyXName
22078 \end_layout
22079
22080 \end_inset
22081
22082  in the current engine.
22083  This eases the switch of citation packages and engines.
22084  The 
22085 \begin_inset Flex Code
22086 status collapsed
22087
22088 \begin_layout Plain Layout
22089
22090 \lang english
22091 alias
22092 \end_layout
22093
22094 \end_inset
22095
22096  can be compared to 
22097 \begin_inset Flex Code
22098 status collapsed
22099
22100 \begin_layout Plain Layout
22101
22102 \lang english
22103 ObsoletedBy
22104 \end_layout
22105
22106 \end_inset
22107
22108  in layout definitions.
22109 \end_layout
22110
22111 \begin_layout Itemize
22112
22113 \lang english
22114 \begin_inset Flex Code
22115 status collapsed
22116
22117 \begin_layout Plain Layout
22118
22119 \lang english
22120 latexcmd
22121 \end_layout
22122
22123 \end_inset
22124
22125 :
22126  The actual \SpecialChar LaTeX
22127  command that is output.
22128  
22129 \end_layout
22130
22131 \begin_layout Standard
22132
22133 \lang english
22134 \begin_inset Flex Code
22135 status collapsed
22136
22137 \begin_layout Plain Layout
22138
22139 \lang english
22140 Alias
22141 \end_layout
22142
22143 \end_inset
22144
22145  and 
22146 \begin_inset Flex Code
22147 status collapsed
22148
22149 \begin_layout Plain Layout
22150
22151 \lang english
22152 latexcmd
22153 \end_layout
22154
22155 \end_inset
22156
22157  are optional.
22158  If no 
22159 \begin_inset Flex Code
22160 status collapsed
22161
22162 \begin_layout Plain Layout
22163
22164 \lang english
22165 latexcmd
22166 \end_layout
22167
22168 \end_inset
22169
22170  is given,
22171  the 
22172 \begin_inset Flex Code
22173 status collapsed
22174
22175 \begin_layout Plain Layout
22176
22177 \lang english
22178 LyXName
22179 \end_layout
22180
22181 \end_inset
22182
22183  will be output to \SpecialChar LaTeX
22184 .
22185 \end_layout
22186
22187 \begin_layout Standard
22188
22189 \lang english
22190 Note further:
22191 \end_layout
22192
22193 \begin_layout Itemize
22194
22195 \lang english
22196 Capitalization indicates that the command also has a capitalized form (
22197 \begin_inset Flex Code
22198 status collapsed
22199
22200 \begin_layout Plain Layout
22201
22202 \lang english
22203
22204 \backslash
22205 Latexcmd
22206 \end_layout
22207
22208 \end_inset
22209
22210  vs.
22211  
22212 \begin_inset Flex Code
22213 status collapsed
22214
22215 \begin_layout Plain Layout
22216
22217 \lang english
22218
22219 \backslash
22220 latexcmd
22221 \end_layout
22222
22223 \end_inset
22224
22225 ).
22226  These usually enforce up-casing of name prefixes (
22227 \emph on
22228 von Goethe
22229 \emph default
22230  
22231 \begin_inset Formula $\Rightarrow$
22232 \end_inset
22233
22234  
22235 \emph on
22236 Von Goethe
22237 \emph default
22238 ).
22239 \end_layout
22240
22241 \begin_layout Itemize
22242
22243 \lang english
22244 Brackets 
22245 \begin_inset Flex Code
22246 status collapsed
22247
22248 \begin_layout Plain Layout
22249
22250 \lang english
22251 []
22252 \end_layout
22253
22254 \end_inset
22255
22256  indicate the number of optional arguments (there can be 0–2).
22257 \end_layout
22258
22259 \begin_layout Itemize
22260
22261 \lang english
22262 A star 
22263 \begin_inset Flex Code
22264 status collapsed
22265
22266 \begin_layout Plain Layout
22267
22268 \lang english
22269 *
22270 \end_layout
22271
22272 \end_inset
22273
22274  indicates there is a starred version of the command (
22275 \begin_inset Flex Code
22276 status collapsed
22277
22278 \begin_layout Plain Layout
22279
22280 \lang english
22281
22282 \backslash
22283 latexcmd*
22284 \end_layout
22285
22286 \end_inset
22287
22288  vs.
22289  
22290 \begin_inset Flex Code
22291 status collapsed
22292
22293 \begin_layout Plain Layout
22294
22295 \lang english
22296
22297 \backslash
22298 latexcmd
22299 \end_layout
22300
22301 \end_inset
22302
22303 ).
22304  
22305 \end_layout
22306
22307 \begin_deeper
22308 \begin_layout Standard
22309
22310 \lang english
22311 By default,
22312  the starred version means:
22313  Output all authors even if it should be shortened with 
22314 \begin_inset Quotes eld
22315 \end_inset
22316
22317 et al.
22318 \begin_inset Quotes erd
22319 \end_inset
22320
22321  due to the 
22322 \begin_inset Flex Code
22323 status collapsed
22324
22325 \begin_layout Plain Layout
22326
22327 \lang english
22328 MaxCiteNames
22329 \end_layout
22330
22331 \end_inset
22332
22333  threshold.
22334 \end_layout
22335
22336 \begin_layout Standard
22337
22338 \lang english
22339 If the star has a different meaning for a given command,
22340  it can be specified in angle brackets:
22341  
22342 \begin_inset Flex Code
22343 status collapsed
22344
22345 \begin_layout Plain Layout
22346
22347 \lang english
22348 <!_stardesc!_stardesctooltip>
22349 \end_layout
22350
22351 \end_inset
22352
22353 .
22354  Maximal two translatable macro keywords,
22355  marked by the prefix 
22356 \begin_inset Flex Code
22357 status collapsed
22358
22359 \begin_layout Plain Layout
22360
22361 \lang english
22362 !_
22363 \end_layout
22364
22365 \end_inset
22366
22367 ,
22368  can be given.
22369  The first points to the string that replaces the 
22370 \begin_inset Quotes eld
22371 \end_inset
22372
22373 Full aut&hor list
22374 \begin_inset Quotes erd
22375 \end_inset
22376
22377  checkbox label in the citation dialog,
22378  the second one to an optional tool tip for this checkbox.
22379  
22380 \end_layout
22381
22382 \begin_layout Standard
22383
22384 \lang english
22385 Note that these two macros have to be defined in a 
22386 \begin_inset Flex Code
22387 status collapsed
22388
22389 \begin_layout Plain Layout
22390
22391 \lang english
22392 CiteFormat
22393 \end_layout
22394
22395 \end_inset
22396
22397  (see next section),
22398  dropping the 
22399 \begin_inset Flex Code
22400 status collapsed
22401
22402 \begin_layout Plain Layout
22403
22404 \lang english
22405 !
22406 \end_layout
22407
22408 \end_inset
22409
22410  from the prefix,
22411  like this:
22412  
22413 \end_layout
22414
22415 \begin_layout LyX-Code
22416
22417 \lang english
22418 _stardesc Sta&rred command label
22419 \end_layout
22420
22421 \begin_layout LyX-Code
22422
22423 \lang english
22424 _stardesctooltip Tooltip for the starred command checkbox.
22425 \end_layout
22426
22427 \end_deeper
22428 \begin_layout Itemize
22429
22430 \lang english
22431 A dollar sign 
22432 \begin_inset Flex Code
22433 status collapsed
22434
22435 \begin_layout Plain Layout
22436
22437 \lang english
22438 $
22439 \end_layout
22440
22441 \end_inset
22442
22443  indicates that this command features 
22444 \begin_inset Quotes eld
22445 \end_inset
22446
22447 qualified citation lists
22448 \begin_inset Quotes erd
22449 \end_inset
22450
22451 .
22452  This is a 
22453 \family sans
22454 Biblatex
22455 \family default
22456 -specific feature for multi-reference citations where an individual pre- and postnote can be given to each reference in the list.
22457  Please refer to the 
22458 \family sans
22459 Biblatex
22460 \family default
22461  manual for details.
22462 \end_layout
22463
22464 \begin_layout Subsection
22465 \begin_inset CommandInset label
22466 LatexCommand label
22467 name "subsec:Descripción-formato-cita"
22468
22469 \end_inset
22470
22471 Descripción del formato de cita
22472 \end_layout
22473
22474 \begin_layout Standard
22475 Los bloques 
22476 \begin_inset Flex Code
22477 status collapsed
22478
22479 \begin_layout Plain Layout
22480 CiteFormat
22481 \end_layout
22482
22483 \end_inset
22484
22485  se usan para describir la forma en que debe mostrarse la información bibliográfica,
22486  tanto en \SpecialChar LyX
22487  (en el diálogo de citas y en las ayudas emergentes,
22488  por ejemplo) como en la salida XHTML.
22489  El aspecto de unode estos bloques podría ser este:
22490 \end_layout
22491
22492 \begin_layout LyX-Code
22493 CiteFormat
22494 \end_layout
22495
22496 \begin_layout LyX-Code
22497  article ...
22498 \end_layout
22499
22500 \begin_layout LyX-Code
22501  book ...
22502 \end_layout
22503
22504 \begin_layout LyX-Code
22505 End
22506 \end_layout
22507
22508 \begin_layout Standard
22509
22510 \lang english
22511 or
22512 \end_layout
22513
22514 \begin_layout LyX-Code
22515
22516 \lang english
22517 CiteFormat
22518 \end_layout
22519
22520 \begin_layout LyX-Code
22521
22522 \lang english
22523  cite ...
22524 \end_layout
22525
22526 \begin_layout LyX-Code
22527
22528 \lang english
22529  citet*[][] ...
22530 \end_layout
22531
22532 \begin_layout LyX-Code
22533
22534 \lang english
22535 End
22536 \end_layout
22537
22538 \begin_layout Standard
22539
22540 \lang english
22541 In the first case,
22542  the individual lines
22543 \lang spanish
22544 definen cómo se va a mostrar la información bibliográfica asociada con un artículo o libro,
22545  respectivamente,
22546  y tales definiciones se pueden dar para cualquier `tipo de entrada' que pudiera estar presente en un archivo Bib\SpecialChar TeX
22547 .
22548  \SpecialChar LyX
22549  define un formato por omsión en el código fuente que se usará si no se da una definición específica.
22550  \SpecialChar LyX
22551  predefine varios formatos en el archivo 
22552 \begin_inset Flex Code
22553 status collapsed
22554
22555 \begin_layout Plain Layout
22556 stdciteformats.inc
22557 \end_layout
22558
22559 \end_inset
22560
22561 ,
22562  que se incluye en la mayoría de las clases de documento de \SpecialChar LyX
22563 .
22564 \end_layout
22565
22566 \begin_layout Standard
22567
22568 \lang english
22569 In the second case,
22570  the lines define how a specific citation command (in the example 
22571 \begin_inset Flex Code
22572 status collapsed
22573
22574 \begin_layout Plain Layout
22575
22576 \lang english
22577
22578 \backslash
22579 cite
22580 \end_layout
22581
22582 \end_inset
22583
22584 ,
22585  
22586 \begin_inset Flex Code
22587 status collapsed
22588
22589 \begin_layout Plain Layout
22590
22591 \lang english
22592
22593 \backslash
22594 citet
22595 \end_layout
22596
22597 \end_inset
22598
22599 ) is to be displayed on the citation inset label,
22600  in the citation dialog,
22601  menu or XHTML output.
22602  \SpecialChar LyX
22603  defines such formats for the citation style variants it supports via 
22604 \family sans
22605 Document\SpecialChar menuseparator
22606 Setting\SpecialChar menuseparator
22607 Bibliography\SpecialChar ldots
22608
22609 \family default
22610  in specific 
22611 \begin_inset Flex Code
22612 status collapsed
22613
22614 \begin_layout Plain Layout
22615
22616 \lang english
22617 *.citeengine
22618 \end_layout
22619
22620 \end_inset
22621
22622  files that are shipped with \SpecialChar LyX
22623  (see 
22624 \begin_inset CommandInset ref
22625 LatexCommand ref
22626 reference "subsec:Cite-Engine-Files"
22627 plural "false"
22628 caps "false"
22629 noprefix "false"
22630 nolink "false"
22631
22632 \end_inset
22633
22634 ).
22635 \end_layout
22636
22637 \begin_layout Standard
22638 Las definiciones usan un lenguaje simple que permite reemplazar las claves Bib\SpecialChar TeX
22639  por sus valores.
22640  Las claves deben encerrarse entre símbolos 
22641 \begin_inset Flex Code
22642 status collapsed
22643
22644 \begin_layout Plain Layout
22645 %
22646 \end_layout
22647
22648 \end_inset
22649
22650 ,
22651  p.
22652 \begin_inset space \thinspace{}
22653 \end_inset
22654
22655 ej.:
22656  
22657 \begin_inset Flex Code
22658 status collapsed
22659
22660 \begin_layout Plain Layout
22661 %author%
22662 \end_layout
22663
22664 \end_inset
22665
22666 .
22667  Así,
22668  una simple definición sería:
22669 \end_layout
22670
22671 \begin_layout LyX-Code
22672 misc %author%,
22673  
22674 \begin_inset Quotes eld
22675 \end_inset
22676
22677 %title%
22678 \begin_inset Quotes erd
22679 \end_inset
22680
22681 .
22682 \end_layout
22683
22684 \begin_layout Standard
22685 Esto imprimiría el autor,
22686  una coma,
22687  a continuación el título entre comillas y un punto para finalizar.
22688 \end_layout
22689
22690 \begin_layout Standard
22691 A veces querrás,
22692  por supuesto,
22693  imprimir una clave solo si existe.
22694  Esto puede hacerse mediante una construcción condicional tal como:
22695  
22696 \begin_inset Flex Code
22697 status collapsed
22698
22699 \begin_layout Plain Layout
22700 {%volume%[[vol.
22701 \begin_inset space ~
22702 \end_inset
22703
22704 %volume%]]}
22705 \end_layout
22706
22707 \end_inset
22708
22709 ,
22710  que quiere decir:
22711  si la clave 
22712 \begin_inset Flex Code
22713 status collapsed
22714
22715 \begin_layout Plain Layout
22716 volume
22717 \end_layout
22718
22719 \end_inset
22720
22721  existe,
22722  imprime 
22723 \begin_inset Quotes eld
22724 \end_inset
22725
22726 vol.
22727 \begin_inset space ~
22728 \end_inset
22729
22730
22731 \begin_inset Quotes erd
22732 \end_inset
22733
22734  seguido de la clave.
22735  También es posible tener una cláusula de otro modo en el condicional,
22736  como:
22737 \begin_inset Newline newline
22738 \end_inset
22739
22740
22741 \begin_inset Flex Code
22742 status collapsed
22743
22744 \begin_layout Plain Layout
22745 {%author%[[%author%]][[%editor%,
22746  ed.]]}
22747 \end_layout
22748
22749 \end_inset
22750
22751
22752 \begin_inset Newline newline
22753 \end_inset
22754
22755 Aquí,
22756  la clave 
22757 \begin_inset Flex Code
22758 status collapsed
22759
22760 \begin_layout Plain Layout
22761 author
22762 \end_layout
22763
22764 \end_inset
22765
22766  se imprime si existe;
22767  por otra parte,
22768  se imprime la clave 
22769 \begin_inset Flex Code
22770 status collapsed
22771
22772 \begin_layout Plain Layout
22773 author
22774 \end_layout
22775
22776 \end_inset
22777
22778  seguida por 
22779 \begin_inset Quotes eld
22780 \end_inset
22781
22782 ,
22783 \begin_inset space ~
22784 \end_inset
22785
22786 ed.
22787 \begin_inset Quotes erd
22788 \end_inset
22789
22790 .
22791  Advierte que la clave se encierra entre signos 
22792 \begin_inset Flex Code
22793 status collapsed
22794
22795 \begin_layout Plain Layout
22796 %
22797 \end_layout
22798
22799 \end_inset
22800
22801 ;
22802  el condicional entero se encierra entre llaves;
22803  y las cláusulas condicional y por otra parte se ponen entre cobles corchetes,
22804  
22805 \begin_inset Quotes eld
22806 \end_inset
22807
22808
22809 \begin_inset Flex Code
22810 status collapsed
22811
22812 \begin_layout Plain Layout
22813 [[
22814 \end_layout
22815
22816 \end_inset
22817
22818
22819 \begin_inset Quotes eld
22820 \end_inset
22821
22822  y 
22823 \begin_inset Quotes eld
22824 \end_inset
22825
22826
22827 \begin_inset Flex Code
22828 status collapsed
22829
22830 \begin_layout Plain Layout
22831 ]]
22832 \end_layout
22833
22834 \end_inset
22835
22836
22837 \begin_inset Quotes erd
22838 \end_inset
22839
22840 .
22841  No debe haber espacios entre ninguno de ellos.
22842 \end_layout
22843
22844 \begin_layout Standard
22845
22846 \lang english
22847 Next to the entry keys,
22848  there are some special keys that can be used for these conditionals:
22849 \end_layout
22850
22851 \begin_layout Itemize
22852
22853 \lang english
22854 \begin_inset Flex Code
22855 status collapsed
22856
22857 \begin_layout Plain Layout
22858
22859 \lang english
22860 {%dialog%[[true]][[false]]}
22861 \end_layout
22862
22863 \end_inset
22864
22865 :
22866  process the 
22867 \begin_inset Quotes eld
22868 \end_inset
22869
22870 true
22871 \begin_inset Quotes erd
22872 \end_inset
22873
22874  part for dialogs and menus,
22875  the 
22876 \begin_inset Quotes eld
22877 \end_inset
22878
22879 false
22880 \begin_inset Quotes erd
22881 \end_inset
22882
22883  part for other contexts (workarea,
22884  export)
22885 \end_layout
22886
22887 \begin_layout Itemize
22888
22889 \lang english
22890 \begin_inset Flex Code
22891 status collapsed
22892
22893 \begin_layout Plain Layout
22894
22895 \lang english
22896 {%export%[[true]][[false]]}
22897 \end_layout
22898
22899 \end_inset
22900
22901 :
22902  process the 
22903 \begin_inset Quotes eld
22904 \end_inset
22905
22906 true
22907 \begin_inset Quotes erd
22908 \end_inset
22909
22910  part for export and menus,
22911  the 
22912 \begin_inset Quotes eld
22913 \end_inset
22914
22915 false
22916 \begin_inset Quotes erd
22917 \end_inset
22918
22919  part for other contexts (workarea,
22920  dialog)
22921 \end_layout
22922
22923 \begin_layout Itemize
22924
22925 \lang english
22926 \begin_inset Flex Code
22927 status collapsed
22928
22929 \begin_layout Plain Layout
22930
22931 \lang english
22932 {%next%[[true]]}
22933 \end_layout
22934
22935 \end_inset
22936
22937 :
22938  process the 
22939 \begin_inset Quotes eld
22940 \end_inset
22941
22942 true
22943 \begin_inset Quotes erd
22944 \end_inset
22945
22946  part if another item follows (e.
22947 \begin_inset space \thinspace{}
22948 \end_inset
22949
22950 g.,
22951  in a citation with multiple keys)
22952 \end_layout
22953
22954 \begin_layout Itemize
22955
22956 \lang english
22957 \begin_inset Flex Code
22958 status collapsed
22959
22960 \begin_layout Plain Layout
22961
22962 \lang english
22963 {%second%[[true]][[false]]}
22964 \end_layout
22965
22966 \end_inset
22967
22968 :
22969  process the 
22970 \begin_inset Quotes eld
22971 \end_inset
22972
22973 true
22974 \begin_inset Quotes erd
22975 \end_inset
22976
22977  if this is the second of multiple items,
22978  else the 
22979 \begin_inset Quotes eld
22980 \end_inset
22981
22982 false
22983 \begin_inset Quotes erd
22984 \end_inset
22985
22986  part
22987 \end_layout
22988
22989 \begin_layout Itemize
22990
22991 \lang english
22992 \begin_inset Flex Code
22993 status collapsed
22994
22995 \begin_layout Plain Layout
22996
22997 \lang english
22998 {%ifstar%[[true]][[false]]}
22999 \end_layout
23000
23001 \end_inset
23002
23003 :
23004  process the 
23005 \begin_inset Quotes eld
23006 \end_inset
23007
23008 true
23009 \begin_inset Quotes erd
23010 \end_inset
23011
23012  part for starred citation commands (such as 
23013 \begin_inset Flex Code
23014 status collapsed
23015
23016 \begin_layout Plain Layout
23017
23018 \lang english
23019
23020 \backslash
23021 cite*
23022 \end_layout
23023
23024 \end_inset
23025
23026 ),
23027  the false part for unstarred
23028 \end_layout
23029
23030 \begin_layout Itemize
23031
23032 \lang english
23033 \begin_inset Flex Code
23034 status collapsed
23035
23036 \begin_layout Plain Layout
23037
23038 \lang english
23039 {%ifentrytype:<type>%[[true]][[false]]}
23040 \end_layout
23041
23042 \end_inset
23043
23044 :
23045  process the 
23046 \begin_inset Quotes eld
23047 \end_inset
23048
23049 true
23050 \begin_inset Quotes erd
23051 \end_inset
23052
23053  if the current entry type matches 
23054 \begin_inset Flex Code
23055 status collapsed
23056
23057 \begin_layout Plain Layout
23058
23059 \lang english
23060 <type>
23061 \end_layout
23062
23063 \end_inset
23064
23065 ,
23066  else the false part (e.g.,
23067  in a citation definition:
23068  
23069 \begin_inset Flex Code
23070 status collapsed
23071
23072 \begin_layout Plain Layout
23073
23074 \lang english
23075 {%ifentrytype:book%[[this is a book]][[this is no book]]}
23076 \end_layout
23077
23078 \end_inset
23079
23080 )
23081 \end_layout
23082
23083 \begin_layout Itemize
23084
23085 \lang english
23086 \begin_inset Flex Code
23087 status collapsed
23088
23089 \begin_layout Plain Layout
23090
23091 \lang english
23092 {%ifmultiple:<authortype>%[[true]][[false]]}
23093 \end_layout
23094
23095 \end_inset
23096
23097 :
23098  process the 
23099 \begin_inset Quotes eld
23100 \end_inset
23101
23102 true
23103 \begin_inset Quotes erd
23104 \end_inset
23105
23106  if the current author type (author,
23107  editor etc.) has multiple authors,
23108  else the false part (e.g.,
23109  in a bibliography definition:
23110  
23111 \begin_inset Flex Code
23112 status collapsed
23113
23114 \begin_layout Plain Layout
23115
23116 \lang english
23117 {%ifmultiple:editor%[[eds.]][[ed.]]}
23118 \end_layout
23119
23120 \end_inset
23121
23122 )
23123 \end_layout
23124
23125 \begin_layout Itemize
23126
23127 \lang english
23128 \begin_inset Flex Code
23129 status collapsed
23130
23131 \begin_layout Plain Layout
23132
23133 \lang english
23134 {%ifqualified%[[true]][[false]]}
23135 \end_layout
23136
23137 \end_inset
23138
23139 :
23140  process the 
23141 \begin_inset Quotes eld
23142 \end_inset
23143
23144 true
23145 \begin_inset Quotes erd
23146 \end_inset
23147
23148  part if the current citation is a qualified citation list (a specific 
23149 \family sans
23150 Biblatex
23151 \family default
23152  format for multi-reference citations),
23153  the false part if this is not the case.
23154 \end_layout
23155
23156 \begin_layout Standard
23157
23158 \lang english
23159 We said that 
23160 \begin_inset Flex Code
23161 status collapsed
23162
23163 \begin_layout Plain Layout
23164
23165 \lang english
23166 %author%
23167 \end_layout
23168
23169 \end_inset
23170
23171  prints the author key as it is recorded in the bibliography file.
23172  This might not be what you want,
23173  since it will result in a string such as 
23174 \begin_inset Quotes eld
23175 \end_inset
23176
23177 Miller,
23178  Peter and Smith,
23179  Mary and White,
23180  Jane
23181 \begin_inset Quotes erd
23182 \end_inset
23183
23184  (since 
23185 \begin_inset Quotes eld
23186 \end_inset
23187
23188 and
23189 \begin_inset Quotes erd
23190 \end_inset
23191
23192  is used by Bib\SpecialChar TeX
23193  to delimit authors).
23194  \SpecialChar LyX
23195  therefore provides some methods to get properly formatted name lists (which will also get translated).
23196  The following keys are provided:
23197 \end_layout
23198
23199 \begin_layout Enumerate
23200
23201 \lang english
23202 For name lists with pre- and surname,
23203  suitable for the main authors/editors of a bibliography item.
23204  The 
23205 \begin_inset Flex Code
23206 status collapsed
23207
23208 \begin_layout Plain Layout
23209
23210 \lang english
23211 <nametype>
23212 \end_layout
23213
23214 \end_inset
23215
23216  part denotes the kind of list that is requested (e.g.
23217  
23218 \begin_inset Flex Code
23219 status collapsed
23220
23221 \begin_layout Plain Layout
23222
23223 \lang english
23224 <nametype:author>
23225 \end_layout
23226
23227 \end_inset
23228
23229 ):
23230 \end_layout
23231
23232 \begin_deeper
23233 \begin_layout Itemize
23234
23235 \lang english
23236 \begin_inset Flex Code
23237 status collapsed
23238
23239 \begin_layout Plain Layout
23240
23241 \lang english
23242 %abbrvnames:<nametype>%
23243 \end_layout
23244
23245 \end_inset
23246
23247 :
23248  Provides a name list which is abbreviated (with 
23249 \begin_inset Quotes eld
23250 \end_inset
23251
23252 et al.
23253 \begin_inset Quotes erd
23254 \end_inset
23255
23256 ) when 
23257 \begin_inset Flex Code
23258 status collapsed
23259
23260 \begin_layout Plain Layout
23261
23262 \lang english
23263 MaxCiteNames
23264 \end_layout
23265
23266 \end_inset
23267
23268  is reached.
23269 \end_layout
23270
23271 \begin_layout Itemize
23272
23273 \lang english
23274 \begin_inset Flex Code
23275 status collapsed
23276
23277 \begin_layout Plain Layout
23278
23279 \lang english
23280 %fullnames:<nametype>%
23281 \end_layout
23282
23283 \end_inset
23284
23285 :
23286  Provides a full name list (never abbreviated with 
23287 \begin_inset Quotes eld
23288 \end_inset
23289
23290 et al.
23291 \begin_inset Quotes erd
23292 \end_inset
23293
23294 ).
23295 \end_layout
23296
23297 \begin_layout Itemize
23298
23299 \lang english
23300 \begin_inset Flex Code
23301 status collapsed
23302
23303 \begin_layout Plain Layout
23304
23305 \lang english
23306 %forceabbrvnames:<nametype>%
23307 \end_layout
23308
23309 \end_inset
23310
23311 :
23312  Provides a name list which is always abbreviated (with 
23313 \begin_inset Quotes eld
23314 \end_inset
23315
23316 et al.
23317 \begin_inset Quotes erd
23318 \end_inset
23319
23320 ) irrespective of 
23321 \begin_inset Flex Code
23322 status collapsed
23323
23324 \begin_layout Plain Layout
23325
23326 \lang english
23327 MaxCiteNames
23328 \end_layout
23329
23330 \end_inset
23331
23332 .
23333 \end_layout
23334
23335 \end_deeper
23336 \begin_layout Enumerate
23337
23338 \lang english
23339 Alternative name lists with pre- and surname,
23340  if the order of pre- and surname inside the bibliography item differs (as in:
23341  
23342 \begin_inset Quotes eld
23343 \end_inset
23344
23345 Miller,
23346  John:
23347  Some text,
23348  in:
23349  Mary Smith,
23350  ed.:
23351  A volume
23352 \begin_inset Quotes erd
23353 \end_inset
23354
23355 ):
23356 \end_layout
23357
23358 \begin_deeper
23359 \begin_layout Itemize
23360
23361 \lang english
23362 \begin_inset Flex Code
23363 status collapsed
23364
23365 \begin_layout Plain Layout
23366
23367 \lang english
23368 %abbrvbynames:<nametype>%
23369 \end_layout
23370
23371 \end_inset
23372
23373 :
23374  Provides a name list which is abbreviated (with 
23375 \begin_inset Quotes eld
23376 \end_inset
23377
23378 et al.
23379 \begin_inset Quotes erd
23380 \end_inset
23381
23382 ) when 
23383 \begin_inset Flex Code
23384 status collapsed
23385
23386 \begin_layout Plain Layout
23387
23388 \lang english
23389 MaxCiteNames
23390 \end_layout
23391
23392 \end_inset
23393
23394  is reached.
23395 \end_layout
23396
23397 \begin_layout Itemize
23398
23399 \lang english
23400 \begin_inset Flex Code
23401 status collapsed
23402
23403 \begin_layout Plain Layout
23404
23405 \lang english
23406 %fullbynames:<nametype>%
23407 \end_layout
23408
23409 \end_inset
23410
23411 :
23412  Provides a full name list (never abbreviated with 
23413 \begin_inset Quotes eld
23414 \end_inset
23415
23416 et al.
23417 \begin_inset Quotes erd
23418 \end_inset
23419
23420 ).
23421 \end_layout
23422
23423 \begin_layout Itemize
23424
23425 \lang english
23426 \begin_inset Flex Code
23427 status collapsed
23428
23429 \begin_layout Plain Layout
23430
23431 \lang english
23432 %forceabbrvbynames:<nametype>%
23433 \end_layout
23434
23435 \end_inset
23436
23437 :
23438  Provides a name list which is always abbreviated (with 
23439 \begin_inset Quotes eld
23440 \end_inset
23441
23442 et al.
23443 \begin_inset Quotes erd
23444 \end_inset
23445
23446 ) irrespective of 
23447 \begin_inset Flex Code
23448 status collapsed
23449
23450 \begin_layout Plain Layout
23451
23452 \lang english
23453 MaxCiteNames
23454 \end_layout
23455
23456 \end_inset
23457
23458 .
23459 \end_layout
23460
23461 \end_deeper
23462 \begin_layout Enumerate
23463
23464 \lang english
23465 And finally name lists which consist of family names only,
23466  as used in author-year citation labels.
23467  these do not take a 
23468 \begin_inset Flex Code
23469 status collapsed
23470
23471 \begin_layout Plain Layout
23472
23473 \lang english
23474 <nametype>
23475 \end_layout
23476
23477 \end_inset
23478
23479  part,
23480  but always return either an author list or,
23481  if this does not exist,
23482  an editor list (as common in author-year labels):
23483 \end_layout
23484
23485 \begin_deeper
23486 \begin_layout Itemize
23487
23488 \lang english
23489 \begin_inset Flex Code
23490 status collapsed
23491
23492 \begin_layout Plain Layout
23493
23494 \lang english
23495 %abbrvciteauthor%
23496 \end_layout
23497
23498 \end_inset
23499
23500 :
23501  Provides a name list which is abbreviated (with 
23502 \begin_inset Quotes eld
23503 \end_inset
23504
23505 et al.
23506 \begin_inset Quotes erd
23507 \end_inset
23508
23509 ) when 
23510 \begin_inset Flex Code
23511 status collapsed
23512
23513 \begin_layout Plain Layout
23514
23515 \lang english
23516 MaxCiteNames
23517 \end_layout
23518
23519 \end_inset
23520
23521  is reached.
23522 \end_layout
23523
23524 \begin_layout Itemize
23525
23526 \lang english
23527 \begin_inset Flex Code
23528 status collapsed
23529
23530 \begin_layout Plain Layout
23531
23532 \lang english
23533 %fullciteauthor%
23534 \end_layout
23535
23536 \end_inset
23537
23538 :
23539  Provides a full name list (never abbreviated with 
23540 \begin_inset Quotes eld
23541 \end_inset
23542
23543 et al.
23544 \begin_inset Quotes erd
23545 \end_inset
23546
23547 ).
23548 \end_layout
23549
23550 \begin_layout Itemize
23551
23552 \lang english
23553 \begin_inset Flex Code
23554 status collapsed
23555
23556 \begin_layout Plain Layout
23557
23558 \lang english
23559 %forceabbrvciteauthor%
23560 \end_layout
23561
23562 \end_inset
23563
23564 :
23565  Provides a name list which is always abbreviated (with 
23566 \begin_inset Quotes eld
23567 \end_inset
23568
23569 et al.
23570 \begin_inset Quotes erd
23571 \end_inset
23572
23573 ) irrespective of 
23574 \begin_inset Flex Code
23575 status collapsed
23576
23577 \begin_layout Plain Layout
23578
23579 \lang english
23580 MaxCiteNames
23581 \end_layout
23582
23583 \end_inset
23584
23585 .
23586 \end_layout
23587
23588 \end_deeper
23589 \begin_layout Standard
23590
23591 \lang english
23592 The order of pre- and surname in the former two lists can be adjusted by these macros:
23593 \end_layout
23594
23595 \begin_layout Itemize
23596
23597 \lang english
23598 \begin_inset Flex Code
23599 status collapsed
23600
23601 \begin_layout Plain Layout
23602
23603 \lang english
23604 !firstnameform %surname%,
23605  %prename%
23606 \end_layout
23607
23608 \end_inset
23609
23610  (first author in lists of type 1)
23611 \end_layout
23612
23613 \begin_layout Itemize
23614
23615 \lang english
23616 \begin_inset Flex Code
23617 status collapsed
23618
23619 \begin_layout Plain Layout
23620
23621 \lang english
23622 !othernameform %surname%,
23623  %prename%
23624 \end_layout
23625
23626 \end_inset
23627
23628  (other authors in lists of type 1)
23629 \end_layout
23630
23631 \begin_layout Itemize
23632
23633 \lang english
23634 \begin_inset Flex Code
23635 status collapsed
23636
23637 \begin_layout Plain Layout
23638
23639 \lang english
23640 !firstbynameform %prename% %surname%
23641 \end_layout
23642
23643 \end_inset
23644
23645  (first author in lists of type 2)
23646 \end_layout
23647
23648 \begin_layout Itemize
23649
23650 \lang english
23651 \begin_inset Flex Code
23652 status collapsed
23653
23654 \begin_layout Plain Layout
23655
23656 \lang english
23657 !otherbynameform %prename% %surname%
23658 \end_layout
23659
23660 \end_inset
23661
23662  (other authors in lists of type 2)
23663 \end_layout
23664
23665 \begin_layout Standard
23666
23667 \lang english
23668 This allows you to configure namings like 
23669 \begin_inset Quotes eld
23670 \end_inset
23671
23672 Miller,
23673  Peter and Mary Smith:
23674  \SpecialChar ldots
23675 ,
23676  in:
23677  John Doe and Pat Green,
23678  eds.:\SpecialChar ldots
23679
23680 \begin_inset Quotes erd
23681 \end_inset
23682
23683 .
23684 \end_layout
23685
23686 \begin_layout Standard
23687 Hay otra pieza de sintaxis disponible en las definiciones,
23688  como esta:
23689  
23690 \begin_inset Flex Code
23691 status collapsed
23692
23693 \begin_layout Plain Layout
23694 {!<i>!}
23695 \end_layout
23696
23697 \end_inset
23698
23699 .
23700  Define una pieza de información para ser usada cuando creamos 
23701 \begin_inset Quotes eld
23702 \end_inset
23703
23704 texto enriquecido
23705 \begin_inset Quotes erd
23706 \end_inset
23707
23708 .
23709  Obviamente,
23710  no queremos etiquetas HTML cuando escribimos texto sencillo,
23711  por tanto deben ponerse entre 
23712 \begin_inset Quotes eld
23713 \end_inset
23714
23715 {!
23716 \begin_inset Quotes erd
23717 \end_inset
23718
23719  y 
23720 \begin_inset Quotes eld
23721 \end_inset
23722
23723 !}
23724 \begin_inset Quotes erd
23725 \end_inset
23726
23727 .
23728 \end_layout
23729
23730 \begin_layout Standard
23731 Además,
23732  hay dos clases especiales de definiciones disponibles en un bloque 
23733 \begin_inset Flex Code
23734 status collapsed
23735
23736 \begin_layout Plain Layout
23737 CiteFormat
23738 \end_layout
23739
23740 \end_inset
23741
23742 .
23743  Un ejemplo de la primera sería:
23744 \end_layout
23745
23746 \begin_layout LyX-Code
23747 !quotetitle 
23748 \begin_inset Quotes eld
23749 \end_inset
23750
23751 %title%
23752 \begin_inset Quotes erd
23753 \end_inset
23754
23755
23756 \end_layout
23757
23758 \begin_layout Standard
23759 Esto es una abreviación,
23760  o macro,
23761  y se puede usar tratándola como si fuera una clave:
23762  
23763 \begin_inset Flex Code
23764 status collapsed
23765
23766 \begin_layout Plain Layout
23767 %!quotetitle%
23768 \end_layout
23769
23770 \end_inset
23771
23772 .
23773  \SpecialChar LyX
23774  tratará 
23775 \begin_inset Flex Code
23776 status collapsed
23777
23778 \begin_layout Plain Layout
23779 %!quotetitle%
23780 \end_layout
23781
23782 \end_inset
23783
23784  exactamente como trataría su definición.
23785  Por tanto,
23786  permítenos un 
23787 \emph on
23788 aviso
23789 \emph default
23790  obvio.
23791  No hagas:
23792 \end_layout
23793
23794 \begin_layout LyX-Code
23795 !funfun %funfun%
23796 \end_layout
23797
23798 \begin_layout Standard
23799 ni nada parecido.
23800  \SpecialChar LyX
23801  no caería en un bucle infinito,
23802  pero sí en uno muy largo.
23803 \end_layout
23804
23805 \begin_layout Standard
23806 El segundo tipo especial de definición sería como:
23807 \end_layout
23808
23809 \begin_layout LyX-Code
23810 B_pptext pp.
23811 \end_layout
23812
23813 \begin_layout Standard
23814 Esto define un trozo de texto traducible,
23815  que permite traducir partes relevantes de la bibliografía o de la cita.
23816  Puede incluirse en una definición tratándolo como una clave:
23817  
23818 \begin_inset Flex Code
23819 status collapsed
23820
23821 \begin_layout Plain Layout
23822 %B_pptext%
23823 \end_layout
23824
23825 \end_inset
23826
23827 .
23828  
23829 \lang english
23830 Note that there are two different translation paths:
23831  All definitions starting with 
23832 \begin_inset Flex Code
23833 status collapsed
23834
23835 \begin_layout Plain Layout
23836
23837 \lang english
23838 B_
23839 \end_layout
23840
23841 \end_inset
23842
23843 ,
23844  such as in the example above,
23845  will be translated to the currently active buffer language (so the translation will match the generated document).
23846  All definitions starting with underscore only will be translated to the GUI language.
23847  This is the proper translation for strings that only occur in the dialogs or on buttons,
23848  such as this one:
23849 \end_layout
23850
23851 \begin_layout LyX-Code
23852
23853 \lang english
23854 _addtobib Add to bibliography only.
23855 \end_layout
23856
23857 \begin_layout Standard
23858 Varios de estos cadenas de caracteres traducible están predefinidos en 
23859 \begin_inset Flex Code
23860 status collapsed
23861
23862 \begin_layout Plain Layout
23863 stdciteformats.inc
23864 \end_layout
23865
23866 \end_inset
23867
23868  y en los diversos archivos 
23869 \begin_inset Flex Code
23870 status collapsed
23871
23872 \begin_layout Plain Layout
23873 *.citeengine
23874 \end_layout
23875
23876 \end_inset
23877
23878 .
23879  Advertiremos que no son macros en el sentido definido.
23880  No se expandirán.
23881 \end_layout
23882
23883 \begin_layout Standard
23884 Aquí hay,
23885  pues,
23886  un ejemplo que usa varias estas características:
23887 \begin_inset VSpace defskip
23888 \end_inset
23889
23890
23891 \end_layout
23892
23893 \begin_layout Standard
23894 \noindent
23895
23896 \family sans
23897 !authoredit {%author%[[%author%,
23898  ]][[{%editor%[[%editor%,
23899  %B_edtext%,
23900  ]]}]]}
23901 \end_layout
23902
23903 \begin_layout Standard
23904 \begin_inset VSpace defskip
23905 \end_inset
23906
23907 Así definimos una macro que imprime el autor seguido de coma,
23908  si la clave 
23909 \begin_inset Flex Code
23910 status collapsed
23911
23912 \begin_layout Plain Layout
23913 author
23914 \end_layout
23915
23916 \end_inset
23917
23918  está definida,
23919  o imprime el nombre del editor seguido por el texto 
23920 \begin_inset Flex Code
23921 status collapsed
23922
23923 \begin_layout Plain Layout
23924 B_edtext
23925 \end_layout
23926
23927 \end_inset
23928
23929  o su traducción (por omisión 
23930 \begin_inset Quotes eld
23931 \end_inset
23932
23933 ed.
23934 \begin_inset Quotes erd
23935 \end_inset
23936
23937 ),
23938  si la clave 
23939 \begin_inset Flex Code
23940 status collapsed
23941
23942 \begin_layout Plain Layout
23943 editor
23944 \end_layout
23945
23946 \end_inset
23947
23948  está definida.
23949  De hecho,
23950  esto está definido en 
23951 \begin_inset Flex Code
23952 status collapsed
23953
23954 \begin_layout Plain Layout
23955 stdciteformats.inc
23956 \end_layout
23957
23958 \end_inset
23959
23960 ,
23961  por tanto puedes usarlo en tus propias definiciones o redefiniciones,
23962  si cargas antes ese archivo.
23963 \end_layout
23964
23965 \begin_layout Section
23966 Etiquetas para la salida XHTML
23967 \begin_inset CommandInset label
23968 LatexCommand label
23969 name "sec:Etiquetas-para-XHTML"
23970
23971 \end_inset
23972
23973
23974 \end_layout
23975
23976 \begin_layout Standard
23977 Como para \SpecialChar LaTeX
23978  o DocBook,
23979  el formato de salida XHTML en \SpecialChar LyX
23980  también se controla mediante la información contenida en archivos de formato.
23981  En general,
23982  \SpecialChar LyX
23983  provee valores predefinidos sensatos y,
23984  como se mencionó anteriormente,
23985  incluso construirá reglas de estilo CSS a partir de las otras etiquetas de formato.
23986  Por ejemplo,
23987  \SpecialChar LyX
23988  intentará usar la información proporcionada por la declaración 
23989 \begin_inset Flex Code
23990 status collapsed
23991
23992 \begin_layout Plain Layout
23993 Font
23994 \end_layout
23995
23996 \end_inset
23997
23998  para el estilo Chapter para escribir CSS que formateará adecuadamente los encabezados de capítulo.
23999 \end_layout
24000
24001 \begin_layout Standard
24002 En muchos casos,
24003  por tanto,
24004  no tendrás que hacer nada para obtener una aceptable salida XHTML para tus propios entornos,
24005  recuadros personalizados y cosas así.
24006  Pero en ciertos casos querrás hacer cambios,
24007  y para eso \SpecialChar LyX
24008  proporciona un número de etiquetas de formato que se pueden usar para personalizar los XHTML y CSS generados.
24009 \end_layout
24010
24011 \begin_layout Standard
24012 Advertimos que hay dos etiquetas,
24013  
24014 \begin_inset Flex Code
24015 status collapsed
24016
24017 \begin_layout Plain Layout
24018 HTMLPreamble
24019 \end_layout
24020
24021 \end_inset
24022
24023  y 
24024 \begin_inset Flex Code
24025 status collapsed
24026
24027 \begin_layout Plain Layout
24028 AddToHTMLPreamble
24029 \end_layout
24030
24031 \end_inset
24032
24033  que pueden aparecer fuera de las declaraciones de estilos y recuadros.
24034  Véase 
24035 \begin_inset CommandInset ref
24036 LatexCommand ref
24037 reference "subsec:Parámetros-generales-clases"
24038 nolink "false"
24039
24040 \end_inset
24041
24042  para detalles sobre esto.
24043 \end_layout
24044
24045 \begin_layout Subsection
24046 Estilos de párrafo
24047 \begin_inset CommandInset label
24048 LatexCommand label
24049 name "subsec:Estilos-de-párrafo-XHTML"
24050
24051 \end_inset
24052
24053
24054 \end_layout
24055
24056 \begin_layout Standard
24057 El tipo de XHTML que genera \SpecialChar LyX
24058  para un párrafo depende de si se trata de un párrafo normal,
24059  de un comando o de un entorno,
24060  en los que esto se determina por el contenido de la correspondiente etiqueta 
24061 \begin_inset Flex Code
24062 status collapsed
24063
24064 \begin_layout Plain Layout
24065 \SpecialChar LaTeX
24066 Type
24067 \end_layout
24068
24069 \end_inset
24070
24071 .
24072  
24073 \end_layout
24074
24075 \begin_layout Standard
24076 Para un comando o párrafo,
24077  la salida XHTML tiene la forma siguiente:
24078 \end_layout
24079
24080 \begin_layout LyX-Code
24081
24082 \family sans
24083 <tag attr=
24084 \begin_inset Quotes erd
24085 \end_inset
24086
24087 value
24088 \begin_inset Quotes erd
24089 \end_inset
24090
24091 >
24092 \end_layout
24093
24094 \begin_layout LyX-Code
24095
24096 \family sans
24097 <labeltag attr=
24098 \begin_inset Quotes erd
24099 \end_inset
24100
24101 value
24102 \begin_inset Quotes erd
24103 \end_inset
24104
24105 >Label</labeltag>
24106 \end_layout
24107
24108 \begin_layout LyX-Code
24109
24110 \family sans
24111 Contents of the paragraph.
24112 \end_layout
24113
24114 \begin_layout LyX-Code
24115
24116 \family sans
24117 </tag>
24118 \end_layout
24119
24120 \begin_layout Standard
24121 Por supuesto,
24122  `label tags´ se omiten si el párrafo no tiene etiqueta.
24123 \end_layout
24124
24125 \begin_layout Standard
24126 Para un entorno que no sea algún tipo de lista,
24127  XHTML toma la forma:
24128 \end_layout
24129
24130 \begin_layout LyX-Code
24131
24132 \family sans
24133 <tag attr=
24134 \begin_inset Quotes erd
24135 \end_inset
24136
24137 value
24138 \begin_inset Quotes erd
24139 \end_inset
24140
24141 >
24142 \end_layout
24143
24144 \begin_layout LyX-Code
24145
24146 \family sans
24147 <itemtag attr=
24148 \begin_inset Quotes erd
24149 \end_inset
24150
24151 value
24152 \begin_inset Quotes erd
24153 \end_inset
24154
24155 ><labeltag attr=
24156 \begin_inset Quotes erd
24157 \end_inset
24158
24159 value
24160 \begin_inset Quotes erd
24161 \end_inset
24162
24163 >Environment Label</labeltag>First paragraph.</itemtag>
24164 \end_layout
24165
24166 \begin_layout LyX-Code
24167
24168 \family sans
24169 <itemtag>Second paragraph.</itemtag>
24170 \end_layout
24171
24172 \begin_layout LyX-Code
24173
24174 \family sans
24175 </tag>
24176 \end_layout
24177
24178 \begin_layout Standard
24179 La etiqueta se genera solo para el primer párrafo,
24180  como debería ser,
24181  por ejemplo,
24182  para un teorema.
24183  
24184 \end_layout
24185
24186 \begin_layout Standard
24187 Para una lista disponemos de una de estas formas:
24188 \end_layout
24189
24190 \begin_layout LyX-Code
24191
24192 \family sans
24193 <tag attr=
24194 \begin_inset Quotes erd
24195 \end_inset
24196
24197 value
24198 \begin_inset Quotes erd
24199 \end_inset
24200
24201 >
24202 \end_layout
24203
24204 \begin_layout LyX-Code
24205
24206 \family sans
24207 <itemtag attr=
24208 \begin_inset Quotes erd
24209 \end_inset
24210
24211 value
24212 \begin_inset Quotes erd
24213 \end_inset
24214
24215 ><labeltag attr=
24216 \begin_inset Quotes erd
24217 \end_inset
24218
24219 value
24220 \begin_inset Quotes erd
24221 \end_inset
24222
24223 >List Label</labeltag>First item.</itemtag>
24224 \end_layout
24225
24226 \begin_layout LyX-Code
24227
24228 \family sans
24229 <itemtag attr=
24230 \begin_inset Quotes erd
24231 \end_inset
24232
24233 value
24234 \begin_inset Quotes erd
24235 \end_inset
24236
24237 ><labeltag attr=
24238 \begin_inset Quotes erd
24239 \end_inset
24240
24241 value
24242 \begin_inset Quotes erd
24243 \end_inset
24244
24245 >List Label</labeltag>Second item.</itemtag>
24246 \end_layout
24247
24248 \begin_layout LyX-Code
24249
24250 \family sans
24251 </tag>
24252 \end_layout
24253
24254 \begin_layout LyX-Code
24255
24256 \end_layout
24257
24258 \begin_layout LyX-Code
24259
24260 \family sans
24261 <tag attr=
24262 \begin_inset Quotes erd
24263 \end_inset
24264
24265 value
24266 \begin_inset Quotes erd
24267 \end_inset
24268
24269 >
24270 \end_layout
24271
24272 \begin_layout LyX-Code
24273
24274 \family sans
24275 <labeltag attr=
24276 \begin_inset Quotes erd
24277 \end_inset
24278
24279 value
24280 \begin_inset Quotes erd
24281 \end_inset
24282
24283 >List Label</labeltag><itemtag attr=
24284 \begin_inset Quotes erd
24285 \end_inset
24286
24287 value
24288 \begin_inset Quotes erd
24289 \end_inset
24290
24291 >First item.</itemtag>
24292 \end_layout
24293
24294 \begin_layout LyX-Code
24295
24296 \family sans
24297 <labeltag attr=
24298 \begin_inset Quotes erd
24299 \end_inset
24300
24301 value
24302 \begin_inset Quotes erd
24303 \end_inset
24304
24305 >List Label</labeltag><itemtag attr=
24306 \begin_inset Quotes erd
24307 \end_inset
24308
24309 value
24310 \begin_inset Quotes erd
24311 \end_inset
24312
24313 >Second item.</itemtag>
24314 \end_layout
24315
24316 \begin_layout LyX-Code
24317
24318 \family sans
24319 </tag>
24320 \end_layout
24321
24322 \begin_layout Standard
24323 Observa los diferentes órdenes de 
24324 \begin_inset Flex Code
24325 status collapsed
24326
24327 \begin_layout Plain Layout
24328 labeltag
24329 \end_layout
24330
24331 \end_inset
24332
24333  e 
24334 \begin_inset Flex Code
24335 status collapsed
24336
24337 \begin_layout Plain Layout
24338 itemtag
24339 \end_layout
24340
24341 \end_inset
24342
24343 .
24344  El orden que obtenemos depende del ajuste de 
24345 \begin_inset Flex Code
24346 status collapsed
24347
24348 \begin_layout Plain Layout
24349 HTMLLabelFirst
24350 \end_layout
24351
24352 \end_inset
24353
24354 :
24355  si 
24356 \begin_inset Flex Code
24357 status collapsed
24358
24359 \begin_layout Plain Layout
24360 HTMLLabelFirst
24361 \end_layout
24362
24363 \end_inset
24364
24365  es falso (por omisión),
24366  se obtiene el primero de ellos,
24367  con la etiqueta dentro del ítem;
24368  si verdadero,
24369  se obtiene el segundo,
24370  con la etiqueta fuera del ítem.
24371 \end_layout
24372
24373 \begin_layout Standard
24374 Las etiquetas específicas y la salida de los atributos para cada tipo de párrafo puede ser controlado por medio de las etiquetas de formato que vamos a describir.
24375  Como mencionamos antes,
24376  sin embargo,
24377  \SpecialChar LyX
24378  usa predefinidos adecuados para muchos de estos valores,
24379  por lo que generalmente no necesitarás hacer nada para obtener una buena salida XHTML.
24380  Partiendo de las etiquetas ya disponibles puedes afinar las cosas a tu gusto.
24381 \end_layout
24382
24383 \begin_layout Description
24384 \begin_inset Flex Code
24385 status collapsed
24386
24387 \begin_layout Plain Layout
24388 HTMLAttr
24389 \end_layout
24390
24391 \end_inset
24392
24393  [
24394 \begin_inset Flex Code
24395 status collapsed
24396
24397 \begin_layout Plain Layout
24398 string
24399 \end_layout
24400
24401 \end_inset
24402
24403 ] Especifica información de los atributos a entregar con la etiqueta principal.
24404  Por ejemplo,
24405  
24406 \begin_inset Quotes eld
24407 \end_inset
24408
24409
24410 \begin_inset Flex Code
24411 status collapsed
24412
24413 \begin_layout Plain Layout
24414 class=`mydiv'
24415 \end_layout
24416
24417 \end_inset
24418
24419
24420 \begin_inset Quotes erd
24421 \end_inset
24422
24423 .
24424  Por omisión,
24425  \SpecialChar LyX
24426  producirá 
24427 \begin_inset Quotes eld
24428 \end_inset
24429
24430
24431 \begin_inset Flex Code
24432 status collapsed
24433
24434 \begin_layout Plain Layout
24435 class=`layoutname'
24436 \end_layout
24437
24438 \end_inset
24439
24440
24441 \begin_inset Quotes erd
24442 \end_inset
24443
24444 ,
24445  donde 
24446 \begin_inset Flex Code
24447 status collapsed
24448
24449 \begin_layout Plain Layout
24450 layoutname
24451 \end_layout
24452
24453 \end_inset
24454
24455  es el nombre del formato en \SpecialChar LyX
24456 ,
24457  en minúsculas,
24458  por ejemplo:
24459  chapter.
24460  Esto 
24461 \emph on
24462 no
24463 \emph default
24464  debería contener ninguna información de estilo.
24465  Usa 
24466 \begin_inset Flex Code
24467 status collapsed
24468
24469 \begin_layout Plain Layout
24470 HTMLStyle
24471 \end_layout
24472
24473 \end_inset
24474
24475  para ese propósito.
24476 \end_layout
24477
24478 \begin_layout Description
24479 \begin_inset Flex Code
24480 status collapsed
24481
24482 \begin_layout Plain Layout
24483 HTMLForceCSS
24484 \end_layout
24485
24486 \end_inset
24487
24488  [
24489 \begin_inset Flex Code
24490 status collapsed
24491
24492 \begin_layout Plain Layout
24493
24494 \emph on
24495 0
24496 \end_layout
24497
24498 \end_inset
24499
24500 ,
24501 \begin_inset space \thinspace{}
24502 \end_inset
24503
24504
24505 \begin_inset Flex Code
24506 status collapsed
24507
24508 \begin_layout Plain Layout
24509 1
24510 \end_layout
24511
24512 \end_inset
24513
24514 ] Si producir la información CSS predeterminada que \SpecialChar LyX
24515  genera para este formato,
24516  incluso si se proporciona explícitamente información adicional mediante 
24517 \begin_inset Flex Code
24518 status collapsed
24519
24520 \begin_layout Plain Layout
24521 HTMLStyle
24522 \end_layout
24523
24524 \end_inset
24525
24526 .
24527  Poner 
24528 \begin_inset Flex Code
24529 status collapsed
24530
24531 \begin_layout Plain Layout
24532 1
24533 \end_layout
24534
24535 \end_inset
24536
24537  permite alterar o aumentar el CSS generado,
24538  no sobrescribirlo totalmente.
24539  Por omisión es 
24540 \begin_inset Flex Code
24541 status collapsed
24542
24543 \begin_layout Plain Layout
24544 0
24545 \end_layout
24546
24547 \end_inset
24548
24549 .
24550 \end_layout
24551
24552 \begin_layout Description
24553 \begin_inset Flex Code
24554 status collapsed
24555
24556 \begin_layout Plain Layout
24557 HTMLItem
24558 \end_layout
24559
24560 \end_inset
24561
24562  [
24563 \begin_inset Flex Code
24564 status collapsed
24565
24566 \begin_layout Plain Layout
24567 string
24568 \end_layout
24569
24570 \end_inset
24571
24572 ] Etiqueta a usar para párrafos individuales de entornos,
24573  reemplazando 
24574 \begin_inset Flex Code
24575 status collapsed
24576
24577 \begin_layout Plain Layout
24578 itemtag
24579 \end_layout
24580
24581 \end_inset
24582
24583  en los ejemplos de arriba.
24584  Por omisión,
24585  
24586 \begin_inset Flex Code
24587 status collapsed
24588
24589 \begin_layout Plain Layout
24590 div
24591 \end_layout
24592
24593 \end_inset
24594
24595 .
24596 \end_layout
24597
24598 \begin_layout Description
24599 \begin_inset Flex Code
24600 status collapsed
24601
24602 \begin_layout Plain Layout
24603 HTMLItemAttr
24604 \end_layout
24605
24606 \end_inset
24607
24608  [
24609 \begin_inset Flex Code
24610 status collapsed
24611
24612 \begin_layout Plain Layout
24613 string
24614 \end_layout
24615
24616 \end_inset
24617
24618 ] Atributos para la etiqueta ítem.
24619  Por omisión
24620 \begin_inset Newline newline
24621 \end_inset
24622
24623
24624 \begin_inset Quotes eld
24625 \end_inset
24626
24627
24628 \begin_inset Flex Code
24629 status collapsed
24630
24631 \begin_layout Plain Layout
24632 class=`layoutname_item'
24633 \end_layout
24634
24635 \end_inset
24636
24637
24638 \begin_inset Quotes erd
24639 \end_inset
24640
24641 .
24642  Esto 
24643 \emph on
24644 no
24645 \emph default
24646  debería contener ninguna información de estilo.
24647  Usa 
24648 \begin_inset Flex Code
24649 status collapsed
24650
24651 \begin_layout Plain Layout
24652 HTMLStyle
24653 \end_layout
24654
24655 \end_inset
24656
24657  para ese propósito.
24658 \end_layout
24659
24660 \begin_layout Description
24661 \begin_inset Flex Code
24662 status collapsed
24663
24664 \begin_layout Plain Layout
24665 HTMLLabel
24666 \end_layout
24667
24668 \end_inset
24669
24670  [
24671 \begin_inset Flex Code
24672 status collapsed
24673
24674 \begin_layout Plain Layout
24675 string
24676 \end_layout
24677
24678 \end_inset
24679
24680 ] Etiqueta a usar para rótulos de párrafos e ítems,
24681  reemplazando 
24682 \begin_inset Flex Code
24683 status collapsed
24684
24685 \begin_layout Plain Layout
24686 labeltag
24687 \end_layout
24688
24689 \end_inset
24690
24691  en los ejemplos de arriba.
24692  Por omisión,
24693  
24694 \begin_inset Flex Code
24695 status collapsed
24696
24697 \begin_layout Plain Layout
24698 span
24699 \end_layout
24700
24701 \end_inset
24702
24703 ,
24704  a menos que 
24705 \begin_inset Flex Code
24706 status collapsed
24707
24708 \begin_layout Plain Layout
24709 LabelType
24710 \end_layout
24711
24712 \end_inset
24713
24714  sea 
24715 \begin_inset Flex Code
24716 status collapsed
24717
24718 \begin_layout Plain Layout
24719 Top_Environment
24720 \end_layout
24721
24722 \end_inset
24723
24724  o 
24725 \begin_inset Flex Code
24726 status collapsed
24727
24728 \begin_layout Plain Layout
24729 Centered_Top_Environment
24730 \end_layout
24731
24732 \end_inset
24733
24734 ,
24735  en cuyos casos es 
24736 \begin_inset Flex Code
24737 status collapsed
24738
24739 \begin_layout Plain Layout
24740 div
24741 \end_layout
24742
24743 \end_inset
24744
24745  por omisión.
24746 \end_layout
24747
24748 \begin_layout Description
24749 \begin_inset Flex Code
24750 status collapsed
24751
24752 \begin_layout Plain Layout
24753 HTMLLabelAttr
24754 \end_layout
24755
24756 \end_inset
24757
24758  [
24759 \begin_inset Flex Code
24760 status collapsed
24761
24762 \begin_layout Plain Layout
24763 string
24764 \end_layout
24765
24766 \end_inset
24767
24768 ] Atributos para la etiqueta del rótulo.
24769  Por omisión es
24770 \begin_inset Newline newline
24771 \end_inset
24772
24773
24774 \begin_inset Quotes eld
24775 \end_inset
24776
24777
24778 \begin_inset Flex Code
24779 status collapsed
24780
24781 \begin_layout Plain Layout
24782 class=`layoutname_label'
24783 \end_layout
24784
24785 \end_inset
24786
24787
24788 \begin_inset Quotes erd
24789 \end_inset
24790
24791 .
24792  Esto 
24793 \emph on
24794 no
24795 \emph default
24796  debería contener ninguna información de estilo.
24797  Usa 
24798 \begin_inset Flex Code
24799 status collapsed
24800
24801 \begin_layout Plain Layout
24802 HTMLStyle
24803 \end_layout
24804
24805 \end_inset
24806
24807  para ese propósito.
24808 \end_layout
24809
24810 \begin_layout Description
24811 \begin_inset Flex Code
24812 status collapsed
24813
24814 \begin_layout Plain Layout
24815 HTMLLabelFirst
24816 \end_layout
24817
24818 \end_inset
24819
24820  [
24821 \begin_inset Flex Code
24822 status collapsed
24823
24824 \begin_layout Plain Layout
24825
24826 \emph on
24827 0
24828 \end_layout
24829
24830 \end_inset
24831
24832 ,
24833 \begin_inset space \thinspace{}
24834 \end_inset
24835
24836
24837 \begin_inset Flex Code
24838 status collapsed
24839
24840 \begin_layout Plain Layout
24841 1
24842 \end_layout
24843
24844 \end_inset
24845
24846 ] Solo es significativo para entornos tipo lista,
24847  esta etiqueta controla si la etiqueta de rótulo se genera antes o dentro de la etiqueta de ítem.
24848  Se usa,
24849  por ejemplo,
24850  en el entorno descripción,
24851  donde queremos `
24852 \begin_inset Flex Code
24853 status collapsed
24854
24855 \begin_layout Plain Layout
24856 <dt>\SpecialChar ldots
24857 </dt><dd>\SpecialChar ldots
24858 </dd>
24859 \end_layout
24860
24861 \end_inset
24862
24863 .
24864  Por omisión,
24865  
24866 \begin_inset Flex Code
24867 status collapsed
24868
24869 \begin_layout Plain Layout
24870 0
24871 \end_layout
24872
24873 \end_inset
24874
24875 :
24876  la etiqueta de rótulo se genera dentro de la etiqueta de ítem.
24877 \end_layout
24878
24879 \begin_layout Description
24880 \begin_inset Flex Code
24881 status collapsed
24882
24883 \begin_layout Plain Layout
24884 HTMLPreamble
24885 \end_layout
24886
24887 \end_inset
24888
24889  Información para generar en la sección 
24890 \begin_inset Flex Code
24891 status collapsed
24892
24893 \begin_layout Plain Layout
24894 <head>
24895 \end_layout
24896
24897 \end_inset
24898
24899  cuando se usa este estilo.
24900  Esto podría,
24901  por ejemplo,
24902  utilizarse para incluir un bloque 
24903 \begin_inset Flex Code
24904 status collapsed
24905
24906 \begin_layout Plain Layout
24907 <script>
24908 \end_layout
24909
24910 \end_inset
24911
24912  definiendo un controlador 
24913 \begin_inset Flex Code
24914 status collapsed
24915
24916 \begin_layout Plain Layout
24917 onclick
24918 \end_layout
24919
24920 \end_inset
24921
24922 .
24923 \end_layout
24924
24925 \begin_layout Description
24926 \begin_inset Flex Code
24927 status collapsed
24928
24929 \begin_layout Plain Layout
24930 HTMLStyle
24931 \end_layout
24932
24933 \end_inset
24934
24935  Información de estilo CSS a incluir cuando se usa este estilo.
24936  Advertimos que esto será automáticamente envuelto en un bloque 
24937 \begin_inset Flex Code
24938 status collapsed
24939
24940 \begin_layout Plain Layout
24941 <style>
24942 \end_layout
24943
24944 \end_inset
24945
24946  generado por el formato,
24947  por tanto solo es necesario incluir el propio CSS.
24948  Debe acabar con 
24949 \begin_inset Flex Code
24950 status collapsed
24951
24952 \begin_layout Plain Layout
24953 EndHTMLStyle
24954 \end_layout
24955
24956 \end_inset
24957
24958 .
24959 \end_layout
24960
24961 \begin_layout Description
24962 \begin_inset Flex Code
24963 status collapsed
24964
24965 \begin_layout Plain Layout
24966 HTMLTag
24967 \end_layout
24968
24969 \end_inset
24970
24971  [
24972 \begin_inset Flex Code
24973 status collapsed
24974
24975 \begin_layout Plain Layout
24976 string
24977 \end_layout
24978
24979 \end_inset
24980
24981 ] Etiqueta para el rótulo principal,
24982  reemplazando 
24983 \begin_inset Flex Code
24984 status collapsed
24985
24986 \begin_layout Plain Layout
24987 tag
24988 \end_layout
24989
24990 \end_inset
24991
24992  en losejemplos de arriba.
24993  Por omisión es 
24994 \begin_inset Flex Code
24995 status collapsed
24996
24997 \begin_layout Plain Layout
24998 div
24999 \end_layout
25000
25001 \end_inset
25002
25003 .
25004 \end_layout
25005
25006 \begin_layout Description
25007 \begin_inset Flex Code
25008 status collapsed
25009
25010 \begin_layout Plain Layout
25011 HTMLTitle
25012 \end_layout
25013
25014 \end_inset
25015
25016  [
25017 \begin_inset Flex Code
25018 status collapsed
25019
25020 \begin_layout Plain Layout
25021
25022 \emph on
25023 0
25024 \end_layout
25025
25026 \end_inset
25027
25028 ,
25029 \begin_inset space \thinspace{}
25030 \end_inset
25031
25032
25033 \begin_inset Flex Code
25034 status collapsed
25035
25036 \begin_layout Plain Layout
25037 1
25038 \end_layout
25039
25040 \end_inset
25041
25042 ] Marca este estilo como el que se va a usar para generar la etiqueta 
25043 \begin_inset Flex Code
25044 status collapsed
25045
25046 \begin_layout Plain Layout
25047 <title>
25048 \end_layout
25049
25050 \end_inset
25051
25052  para el archivo XHTML.
25053  Por omisión,
25054  es falso.
25055  El archivo 
25056 \begin_inset Flex Code
25057 status collapsed
25058
25059 \begin_layout Plain Layout
25060 stdtitle.inc
25061 \end_layout
25062
25063 \end_inset
25064
25065  lo establece verdadero para el entorno 
25066 \begin_inset Flex Code
25067 status collapsed
25068
25069 \begin_layout Plain Layout
25070 title
25071 \end_layout
25072
25073 \end_inset
25074
25075 .
25076  
25077 \end_layout
25078
25079 \begin_layout Subsection
25080 Recuadros XHTML
25081 \end_layout
25082
25083 \begin_layout Standard
25084 La salida XHTML de los recuadros también se puede controlar por información en archivos 'layout'.
25085 \begin_inset Foot
25086 status collapsed
25087
25088 \begin_layout Plain Layout
25089 Por ahora,
25090  esto solo es cierto para recuadros de 
25091 \begin_inset Quotes eld
25092 \end_inset
25093
25094 texto
25095 \begin_inset Quotes erd
25096 \end_inset
25097
25098  (recuadros en los que puedes escribir) y no para recuadros de 
25099 \begin_inset Quotes eld
25100 \end_inset
25101
25102 commandos
25103 \begin_inset Quotes erd
25104 \end_inset
25105
25106  (recuadros asociados con cuadros de diálogo).
25107 \end_layout
25108
25109 \end_inset
25110
25111  También en este caso,
25112  \SpecialChar LyX
25113  intenta proporcionar valores predefinidos adecuados,
25114  y construye reglas de estilo CSS,
25115  pero todo puede personalizarse.
25116 \end_layout
25117
25118 \begin_layout Standard
25119 Para los recuadros,
25120  \SpecialChar LyX
25121  produce XHTML en la forma:
25122 \end_layout
25123
25124 \begin_layout LyX-Code
25125 <tag attr=
25126 \begin_inset Quotes erd
25127 \end_inset
25128
25129 value
25130 \begin_inset Quotes erd
25131 \end_inset
25132
25133 >
25134 \end_layout
25135
25136 \begin_layout LyX-Code
25137 <labeltag>Label</labeltag>
25138 \end_layout
25139
25140 \begin_layout LyX-Code
25141 <innertag attr=
25142 \begin_inset Quotes erd
25143 \end_inset
25144
25145 value
25146 \begin_inset Quotes erd
25147 \end_inset
25148
25149 >Contents of the inset.</innertag>
25150 \end_layout
25151
25152 \begin_layout LyX-Code
25153 </tag>
25154 \end_layout
25155
25156 \begin_layout Standard
25157 Si el recuadro permite párrafos múltiples —
25158 o sea,
25159  si 
25160 \begin_inset Flex Code
25161 status collapsed
25162
25163 \begin_layout Plain Layout
25164 MultiPar
25165 \end_layout
25166
25167 \end_inset
25168
25169  es verdadero—
25170  el contenido del recuadro se generará en forma de párrafos estructurados según los estilos usados para dichos párrafos (normal,
25171  cita,
25172  y similares).
25173  El rótulo de la etiqueta se omite si el párrafo no lo tiene y,
25174  por el momento,
25175  es siempre 
25176 \begin_inset Flex Code
25177 status collapsed
25178
25179 \begin_layout Plain Layout
25180 span
25181 \end_layout
25182
25183 \end_inset
25184
25185 .
25186  La etiqueta interior es opcional y,
25187  por omisión,
25188  no aparece.
25189 \end_layout
25190
25191 \begin_layout Standard
25192 Las etiquetas y atributos específicos para cada recuadro se pueden controlar mediante las siguientes etiquetas de formato.
25193 \end_layout
25194
25195 \begin_layout Description
25196 \begin_inset Flex Code
25197 status collapsed
25198
25199 \begin_layout Plain Layout
25200 HTMLAttr
25201 \end_layout
25202
25203 \end_inset
25204
25205  [
25206 \begin_inset Flex Code
25207 status collapsed
25208
25209 \begin_layout Plain Layout
25210 string
25211 \end_layout
25212
25213 \end_inset
25214
25215 ] Especifica información de atributos a generar con la etiqueta principal.
25216  Por ejemplo,
25217  
25218 \begin_inset Quotes eld
25219 \end_inset
25220
25221
25222 \begin_inset Flex Code
25223 status collapsed
25224
25225 \begin_layout Plain Layout
25226 class=`myinset' onclick=`\SpecialChar ldots
25227 '
25228 \end_layout
25229
25230 \end_inset
25231
25232
25233 \begin_inset Quotes erd
25234 \end_inset
25235
25236 .
25237  Por omisión,
25238  \SpecialChar LyX
25239  generará 
25240 \begin_inset Quotes eld
25241 \end_inset
25242
25243
25244 \begin_inset Flex Code
25245 status collapsed
25246
25247 \begin_layout Plain Layout
25248 class=`insetname'
25249 \end_layout
25250
25251 \end_inset
25252
25253
25254 \begin_inset Quotes erd
25255 \end_inset
25256
25257 ,
25258  donde 
25259 \begin_inset Flex Code
25260 status collapsed
25261
25262 \begin_layout Plain Layout
25263 insetname
25264 \end_layout
25265
25266 \end_inset
25267
25268  es el nombre del recuadro en \SpecialChar LyX
25269 ,
25270  en minúsculas y con los caracteres no alfanuméricos convertidos en guiones bajos,
25271  por ejemplo:
25272  footnote.
25273 \end_layout
25274
25275 \begin_layout Description
25276 \begin_inset Flex Code
25277 status collapsed
25278
25279 \begin_layout Plain Layout
25280 HTMLForceCSS
25281 \end_layout
25282
25283 \end_inset
25284
25285  [
25286 \begin_inset Flex Code
25287 status collapsed
25288
25289 \begin_layout Plain Layout
25290
25291 \emph on
25292 0
25293 \end_layout
25294
25295 \end_inset
25296
25297 ,
25298 \begin_inset space \thinspace{}
25299 \end_inset
25300
25301
25302 \begin_inset Flex Code
25303 status collapsed
25304
25305 \begin_layout Plain Layout
25306 1
25307 \end_layout
25308
25309 \end_inset
25310
25311 ] Si producir la información CSS predeterminadad que \SpecialChar LyX
25312  genera para este formato,
25313  incluso si se da explícitamente información adicional con 
25314 \begin_inset Flex Code
25315 status collapsed
25316
25317 \begin_layout Plain Layout
25318 HTMLStyle
25319 \end_layout
25320
25321 \end_inset
25322
25323 .
25324  Si esto es 
25325 \begin_inset Flex Code
25326 status collapsed
25327
25328 \begin_layout Plain Layout
25329 1
25330 \end_layout
25331
25332 \end_inset
25333
25334  parmite alterar o aumentar el CSS generado,
25335  en vez de sobrescribirlo.
25336  Por omisión,
25337  0.
25338 \end_layout
25339
25340 \begin_layout Description
25341 \begin_inset Flex Code
25342 status collapsed
25343
25344 \begin_layout Plain Layout
25345 HTMLInnerAttr
25346 \end_layout
25347
25348 \end_inset
25349
25350  [
25351 \begin_inset Flex Code
25352 status collapsed
25353
25354 \begin_layout Plain Layout
25355 string
25356 \end_layout
25357
25358 \end_inset
25359
25360 ] Atributos para la etiqueta interna.
25361  Por omisión,
25362  es
25363 \begin_inset Newline newline
25364 \end_inset
25365
25366
25367 \begin_inset Quotes eld
25368 \end_inset
25369
25370
25371 \begin_inset Flex Code
25372 status collapsed
25373
25374 \begin_layout Plain Layout
25375 class=`insetname_inner'
25376 \end_layout
25377
25378 \end_inset
25379
25380
25381 \begin_inset Quotes erd
25382 \end_inset
25383
25384 .
25385 \end_layout
25386
25387 \begin_layout Description
25388 \begin_inset Flex Code
25389 status collapsed
25390
25391 \begin_layout Plain Layout
25392 HTMLInnerTag
25393 \end_layout
25394
25395 \end_inset
25396
25397  [
25398 \begin_inset Flex Code
25399 status collapsed
25400
25401 \begin_layout Plain Layout
25402 string
25403 \end_layout
25404
25405 \end_inset
25406
25407 ] La etiqueta interna,
25408  reemplazando 
25409 \begin_inset Flex Code
25410 status collapsed
25411
25412 \begin_layout Plain Layout
25413 innertag
25414 \end_layout
25415
25416 \end_inset
25417
25418  en los ejemplos de arriba.
25419  Por omisión,
25420  ninguna.
25421 \end_layout
25422
25423 \begin_layout Description
25424 \begin_inset Flex Code
25425 status collapsed
25426
25427 \begin_layout Plain Layout
25428 HTMLIsBlock
25429 \end_layout
25430
25431 \end_inset
25432
25433  [
25434 \begin_inset Flex Code
25435 status collapsed
25436
25437 \begin_layout Plain Layout
25438 0
25439 \end_layout
25440
25441 \end_inset
25442
25443 ,
25444 \begin_inset space \thinspace{}
25445 \end_inset
25446
25447
25448 \begin_inset Flex Code
25449 status collapsed
25450
25451 \begin_layout Plain Layout
25452
25453 \emph on
25454 1
25455 \end_layout
25456
25457 \end_inset
25458
25459 ] Si este recuadro representa un bloque de texto independiente (como una nota al pie) o bien representa material que está incluido en el texto circundante (como una rama).
25460  Por omisión,
25461  1.
25462 \end_layout
25463
25464 \begin_layout Description
25465 \begin_inset Flex Code
25466 status collapsed
25467
25468 \begin_layout Plain Layout
25469 HTMLLabel
25470 \end_layout
25471
25472 \end_inset
25473
25474  [
25475 \begin_inset Flex Code
25476 status collapsed
25477
25478 \begin_layout Plain Layout
25479 string
25480 \end_layout
25481
25482 \end_inset
25483
25484 ] Un rótulo para este recuadro,
25485  posiblemente incluyendo una referencia a un contador.
25486  Por ejemplo,
25487  para notas al pie,
25488  podría ser:
25489  
25490 \begin_inset Flex Code
25491 status collapsed
25492
25493 \begin_layout Plain Layout
25494
25495 \backslash
25496 arabic{footnote}
25497 \end_layout
25498
25499 \end_inset
25500
25501 .
25502  Esto es opcional y no hay valor predeterminado.
25503 \end_layout
25504
25505 \begin_layout Description
25506 \begin_inset Flex Code
25507 status collapsed
25508
25509 \begin_layout Plain Layout
25510 HTMLPreamble
25511 \end_layout
25512
25513 \end_inset
25514
25515  Información que saldrá en la sección 
25516 \begin_inset Flex Code
25517 status collapsed
25518
25519 \begin_layout Plain Layout
25520 <head>
25521 \end_layout
25522
25523 \end_inset
25524
25525  cuando se usa este estilo.
25526  Esto podría usarse,
25527  por ejemplo,
25528  para incluir un bloque 
25529 \begin_inset Flex Code
25530 status collapsed
25531
25532 \begin_layout Plain Layout
25533 <script>
25534 \end_layout
25535
25536 \end_inset
25537
25538  que defina un controlador 
25539 \begin_inset Flex Code
25540 status collapsed
25541
25542 \begin_layout Plain Layout
25543 onclick
25544 \end_layout
25545
25546 \end_inset
25547
25548 .
25549 \end_layout
25550
25551 \begin_layout Description
25552 \begin_inset Flex Code
25553 status collapsed
25554
25555 \begin_layout Plain Layout
25556 HTMLStyle
25557 \end_layout
25558
25559 \end_inset
25560
25561  Información de estilo CSS a incluir cuando se usa este estilo.
25562  Esto será automáticamente envuelto en un bloque 
25563 \begin_inset Flex Code
25564 status collapsed
25565
25566 \begin_layout Plain Layout
25567 <style>
25568 \end_layout
25569
25570 \end_inset
25571
25572  generado por el formato,
25573  por lo que solo hay que incluir el propio CSS.
25574 \end_layout
25575
25576 \begin_layout Description
25577 \begin_inset Flex Code
25578 status collapsed
25579
25580 \begin_layout Plain Layout
25581 HTMLTag
25582 \end_layout
25583
25584 \end_inset
25585
25586  [
25587 \begin_inset Flex Code
25588 status collapsed
25589
25590 \begin_layout Plain Layout
25591 string
25592 \end_layout
25593
25594 \end_inset
25595
25596 ] La etiqueta a usar para el rótulo principal,
25597  reemplazando 
25598 \begin_inset Flex Code
25599 status collapsed
25600
25601 \begin_layout Plain Layout
25602 tag
25603 \end_layout
25604
25605 \end_inset
25606
25607  en los ejemplos de arriba.
25608  El valor por omisión depende de 
25609 \begin_inset Flex Code
25610 status collapsed
25611
25612 \begin_layout Plain Layout
25613 MultiPar
25614 \end_layout
25615
25616 \end_inset
25617
25618 :
25619  Si 
25620 \begin_inset Flex Code
25621 status collapsed
25622
25623 \begin_layout Plain Layout
25624 MultiPar
25625 \end_layout
25626
25627 \end_inset
25628
25629  es verdadero,
25630  es 
25631 \begin_inset Flex Code
25632 status collapsed
25633
25634 \begin_layout Plain Layout
25635 div
25636 \end_layout
25637
25638 \end_inset
25639
25640 ;
25641  si es falso,
25642  el valor por omisión es 
25643 \begin_inset Flex Code
25644 status collapsed
25645
25646 \begin_layout Plain Layout
25647 span
25648 \end_layout
25649
25650 \end_inset
25651
25652 .
25653 \end_layout
25654
25655 \begin_layout Subsection
25656 Flotantes XHTML
25657 \end_layout
25658
25659 \begin_layout Standard
25660 La salida XHTML para flotantes también se puede controlar mediante información en archivos 'layout'.
25661  La salida tiene la forma:
25662 \end_layout
25663
25664 \begin_layout LyX-Code
25665 <tag attr=
25666 \begin_inset Quotes erd
25667 \end_inset
25668
25669 value
25670 \begin_inset Quotes erd
25671 \end_inset
25672
25673 >
25674 \end_layout
25675
25676 \begin_layout LyX-Code
25677 Contents of the float.
25678 \end_layout
25679
25680 \begin_layout LyX-Code
25681 </tag>
25682 \end_layout
25683
25684 \begin_layout Standard
25685 La leyenda,
25686  si la hay,
25687  es un recuadro separado y se generará como tal.
25688  Su aspecto puede controlarse con InsetLayout para recuadros de leyendas.
25689  
25690 \end_layout
25691
25692 \begin_layout Description
25693 \begin_inset Flex Code
25694 status collapsed
25695
25696 \begin_layout Plain Layout
25697 HTMLAttr
25698 \end_layout
25699
25700 \end_inset
25701
25702  [
25703 \begin_inset Flex Code
25704 status collapsed
25705
25706 \begin_layout Plain Layout
25707 string
25708 \end_layout
25709
25710 \end_inset
25711
25712 ] Especifica información de los atributos a generar con la etiqueta principal,
25713  Por ejemplo,
25714  
25715 \begin_inset Quotes eld
25716 \end_inset
25717
25718
25719 \begin_inset Flex Code
25720 status collapsed
25721
25722 \begin_layout Plain Layout
25723 class=`myfloat' onclick=`\SpecialChar ldots
25724 '
25725 \end_layout
25726
25727 \end_inset
25728
25729
25730 \begin_inset Quotes erd
25731 \end_inset
25732
25733 .
25734  Por omisión,
25735  \SpecialChar LyX
25736  generará 
25737 \begin_inset Quotes eld
25738 \end_inset
25739
25740
25741 \begin_inset Flex Code
25742 status collapsed
25743
25744 \begin_layout Plain Layout
25745 class=`float float-floattype'
25746 \end_layout
25747
25748 \end_inset
25749
25750
25751 \begin_inset Quotes erd
25752 \end_inset
25753
25754 ,
25755  donde 
25756 \begin_inset Flex Code
25757 status collapsed
25758
25759 \begin_layout Plain Layout
25760 floattype
25761 \end_layout
25762
25763 \end_inset
25764
25765  es el nombre en \SpecialChar LyX
25766  para este tipo de flotante,
25767  como determina la declaración de flotante (véase 
25768 \begin_inset CommandInset ref
25769 LatexCommand ref
25770 reference "subsec:Flotantes"
25771 nolink "false"
25772
25773 \end_inset
25774
25775 ),
25776  aunque en minúsculas y con los caracteres no alfanuméricos sustituidos por guiones bajos,
25777  por ejemplo:
25778  float-table.
25779 \end_layout
25780
25781 \begin_layout Description
25782 \begin_inset Flex Code
25783 status collapsed
25784
25785 \begin_layout Plain Layout
25786 HTMLStyle
25787 \end_layout
25788
25789 \end_inset
25790
25791  Información de estilo CSS a incluir cuando se usa este flotante.
25792  Esto será automáticamente envuelto en un bloque 
25793 \begin_inset Flex Code
25794 status collapsed
25795
25796 \begin_layout Plain Layout
25797 <style>
25798 \end_layout
25799
25800 \end_inset
25801
25802  generado por el formato,
25803  por lo que solo hay que incluir el propio CSS.
25804 \end_layout
25805
25806 \begin_layout Description
25807 \begin_inset Flex Code
25808 status collapsed
25809
25810 \begin_layout Plain Layout
25811 HTMLTag
25812 \end_layout
25813
25814 \end_inset
25815
25816  [
25817 \begin_inset Flex Code
25818 status collapsed
25819
25820 \begin_layout Plain Layout
25821 string
25822 \end_layout
25823
25824 \end_inset
25825
25826 ] La etiqueta a usar para este flotante,
25827  reemplazando "
25828 \begin_inset Flex Code
25829 status collapsed
25830
25831 \begin_layout Plain Layout
25832 tag
25833 \end_layout
25834
25835 \end_inset
25836
25837 " en el ejemplo de arriba.
25838  El valor por omisión es 
25839 \begin_inset Flex Code
25840 status collapsed
25841
25842 \begin_layout Plain Layout
25843 div
25844 \end_layout
25845
25846 \end_inset
25847
25848  y raramente habrá que cambiarlo.
25849 \end_layout
25850
25851 \begin_layout Subsection
25852 Formato de la Bibliografía
25853 \end_layout
25854
25855 \begin_layout Standard
25856 La bibliografía se puede formatear usando bloques 
25857 \begin_inset Flex Code
25858 status collapsed
25859
25860 \begin_layout Plain Layout
25861 CiteFormat
25862 \end_layout
25863
25864 \end_inset
25865
25866 .
25867  Véase la 
25868 \begin_inset CommandInset ref
25869 LatexCommand ref
25870 reference "subsec:Descripción-formato-cita"
25871 nolink "false"
25872
25873 \end_inset
25874
25875  para los detalles.
25876 \end_layout
25877
25878 \begin_layout Subsection
25879 CSS generado por \SpecialChar LyX
25880
25881 \end_layout
25882
25883 \begin_layout Standard
25884 Hemos mencionado ya que \SpecialChar LyX
25885  generará reglas de estilo CSS predeterminadas para recuadros y estilos de párrafo,
25886  basados en la información suministrada para otros formatos.
25887  En esta sección comentaremos qué información usa \SpecialChar LyX
25888  y cómo la usa.
25889 \end_layout
25890
25891 \begin_layout Standard
25892 Actualmente,
25893  \SpecialChar LyX
25894  auto-genera CSS solo para información sobre tipografías,
25895  haciendo uso de 
25896 \begin_inset Flex Code
25897 status collapsed
25898
25899 \begin_layout Plain Layout
25900 Family
25901 \end_layout
25902
25903 \end_inset
25904
25905 ,
25906  
25907 \begin_inset Flex Code
25908 status collapsed
25909
25910 \begin_layout Plain Layout
25911 Series
25912 \end_layout
25913
25914 \end_inset
25915
25916 ,
25917  
25918 \begin_inset Flex Code
25919 status collapsed
25920
25921 \begin_layout Plain Layout
25922 Shape
25923 \end_layout
25924
25925 \end_inset
25926
25927 ,
25928  y 
25929 \begin_inset Flex Code
25930 status collapsed
25931
25932 \begin_layout Plain Layout
25933 Size
25934 \end_layout
25935
25936 \end_inset
25937
25938  especificados en la declaración 
25939 \begin_inset Flex Code
25940 status collapsed
25941
25942 \begin_layout Plain Layout
25943 Font
25944 \end_layout
25945
25946 \end_inset
25947
25948 .
25949  (Véase 
25950 \begin_inset CommandInset ref
25951 LatexCommand ref
25952 reference "subsec:Tipografía"
25953 nolink "false"
25954
25955 \end_inset
25956
25957 .) La traducción es bastante sencilla y evidente.
25958  Por ejemplo,
25959  
25960 \begin_inset Quotes eld
25961 \end_inset
25962
25963
25964 \begin_inset Flex Code
25965 status collapsed
25966
25967 \begin_layout Plain Layout
25968 Family Sans
25969 \end_layout
25970
25971 \end_inset
25972
25973
25974 \begin_inset Quotes erd
25975 \end_inset
25976
25977  se convierte en 
25978 \begin_inset Quotes eld
25979 \end_inset
25980
25981
25982 \begin_inset Flex Code
25983 status collapsed
25984
25985 \begin_layout Plain Layout
25986 font-family:
25987  sans-serif;
25988 \end_layout
25989
25990 \end_inset
25991
25992
25993 \begin_inset Quotes erd
25994 \end_inset
25995
25996 .
25997  La correspondencia entre tamaños \SpecialChar LyX
25998  y tamaños CSS es un poco menos obvia,
25999  pero intuitiva en todo caso.
26000  Véase la función 
26001 \begin_inset Flex Code
26002 status collapsed
26003
26004 \begin_layout Plain Layout
26005 getSizeCSS()
26006 \end_layout
26007
26008 \end_inset
26009
26010  en 
26011 \begin_inset Flex URL
26012 status collapsed
26013
26014 \begin_layout Plain Layout
26015
26016 src/FontInfo.cpp
26017 \end_layout
26018
26019 \end_inset
26020
26021  para los detalles.
26022  
26023 \end_layout
26024
26025 \begin_layout Chapter
26026 Inserción de material externo
26027 \begin_inset CommandInset label
26028 LatexCommand label
26029 name "cap:Inserción-de-material"
26030
26031 \end_inset
26032
26033
26034 \end_layout
26035
26036 \begin_layout Standard
26037 \begin_inset Box Shadowbox
26038 position "t"
26039 hor_pos "c"
26040 has_inner_box 1
26041 inner_pos "t"
26042 use_parbox 0
26043 use_makebox 0
26044 width "100col%"
26045 special "none"
26046 height "1in"
26047 height_special "totalheight"
26048 thickness "0.4pt"
26049 separation "3pt"
26050 shadowsize "4pt"
26051 framecolor "black"
26052 backgroundcolor "none"
26053 status open
26054
26055 \begin_layout Plain Layout
26056 AVISO:
26057  Esta parte de la documentación no ha sido actualizada desde hace tiempo.
26058  Esperamos que aún sea adecuada,
26059  pero no hay garantías.
26060 \end_layout
26061
26062 \end_inset
26063
26064
26065 \end_layout
26066
26067 \begin_layout Standard
26068 El uso de material de procedencia externa a \SpecialChar LyX
26069  se trata con detalle en el manual 
26070 \emph on
26071 Objetos insertados
26072 \emph default
26073 .
26074  En el presente documento se trata sobre lo que debe suceder entre bambalinas para incluir nuevas clases de material.
26075 \end_layout
26076
26077 \begin_layout Section
26078 ¿Cómo funciona?
26079 \end_layout
26080
26081 \begin_layout Standard
26082 La característica material externo se basa en el concepto 
26083 \emph on
26084 plantilla
26085 \emph default
26086 .
26087  Una plantilla es una especificación de la forma en que \SpecialChar LyX
26088  interactúa con ciertos tipos de material.
26089  De por sí,
26090  \SpecialChar LyX
26091  incluye plantillas predefinidas para figuras Xfig,
26092  varios tipos de imágenes raster,
26093  diagramas de ajedrez y notación musical LilyPond.
26094  Puedes comprobar la lista actual en el menú 
26095 \begin_inset Flex Noun
26096 status collapsed
26097
26098 \begin_layout Plain Layout
26099 Insertar\SpecialChar menuseparator
26100 Archivo\SpecialChar menuseparator
26101 Material externo
26102 \end_layout
26103
26104 \end_inset
26105
26106 .
26107  Además,
26108  es posible construir plantillas propias para soportar determinado tipo de material.
26109  Más tarde describiremos con más detalle lo que esto implica,
26110  y esperamos que nos envíes tus plantillas para que se puedan incluir en próximas versiones de \SpecialChar LyX
26111 .
26112 \end_layout
26113
26114 \begin_layout Standard
26115 Otra idea básica de la característica material externo es distinguir entre el archivo original que sirve como base para el material final y el archivo generado que se incluye en el documento impreso o exportado.
26116  Por ejemplo,
26117  consideremos el caso de una figura hecha con 
26118 \begin_inset Flex Code
26119 status collapsed
26120
26121 \begin_layout Plain Layout
26122 Xfig
26123 \end_layout
26124
26125 \end_inset
26126
26127 .
26128  El programa Xfig en sí mismo trabaja sobre un archivo original con extensión 
26129 \begin_inset Flex Code
26130 status collapsed
26131
26132 \begin_layout Plain Layout
26133 .fig
26134 \end_layout
26135
26136 \end_inset
26137
26138 .
26139  Dentro de Xfig,
26140  se crea o modifica una figura y se guarda como un archivo 
26141 \begin_inset Flex Code
26142 status collapsed
26143
26144 \begin_layout Plain Layout
26145 .fig
26146 \end_layout
26147
26148 \end_inset
26149
26150 .
26151  Para incluir la figura en un documento,
26152  se ejecuta 
26153 \begin_inset Flex Code
26154 status collapsed
26155
26156 \begin_layout Plain Layout
26157 transfig
26158 \end_layout
26159
26160 \end_inset
26161
26162  con el fin de crear un archivo PostScript que puede incluirse fácilmente en el archivo \SpecialChar LaTeX
26163 .
26164  En este caso,
26165  el archivo 
26166 \begin_inset Flex Code
26167 status collapsed
26168
26169 \begin_layout Plain Layout
26170 .fig
26171 \end_layout
26172
26173 \end_inset
26174
26175  es el original,
26176  y el archivo PostScript es el archivo generado.
26177 \end_layout
26178
26179 \begin_layout Standard
26180 Esta distinción es importante para permitir la actualización del material durante el proceso de escritura del documento.
26181  Además,
26182  provee la flexibilidad necesaria para soportar múltiples formatos de exportación.
26183  Por ejemplo,
26184  en el caso de un archivo de texto sencillo,
26185  no es una brillante idea incluir la figura como PostScript puro.
26186  En vez de esto,
26187  es preferible incluir solo una referencia a la figura o bien probar algún convertidor de gráficos a Ascii para que el resultado final se parezca al gráfico real.
26188  La gestión de material externo de \SpecialChar LyX
26189  permite hacer esto porque se basa en parámetros apropiados para los diferentes formatos de exportación soportados.
26190 \end_layout
26191
26192 \begin_layout Standard
26193 Además de soportar la generación de diferentes productos de acuerdo con el formato de exportación,
26194  existe una profunda integración con las aplicaciones de edición y visualización.
26195  En el caso de figuras Xfig,
26196  es posible editar el archivo original en Xfig con un simple clic derecho sobre el recuadro y también previsualizar el PostScript generado con ghostview.
26197  Se acabaron los enredos con la línea de comandos y/o el navegador de archivos para localizar y manipular los archivos originales o los generados.
26198  De esta manera,
26199  se pueden por fin aprovechar las ventajas de muy diversas aplicaciones importantes para la composición de los documentos,
26200  y por tanto aumentar el rendimiento.
26201 \end_layout
26202
26203 \begin_layout Section
26204 El archivo de configuración de plantillas externas
26205 \end_layout
26206
26207 \begin_layout Standard
26208 Es relativamente fácil añadir en \SpecialChar LyX
26209  definiciones personalizadas de plantillas externas.
26210  Sin embargo,
26211  hay que ser consciente de que hacer esto de manera descuidada generará muy probablemente un agujero de seguridad fácil de explotar.
26212  Así pues,
26213  antes de hacer esto,
26214  lee por favor la discusión sobre seguridad en la 
26215 \begin_inset CommandInset ref
26216 LatexCommand ref
26217 reference "sec:Discusión-sobre-seguridad"
26218 nolink "false"
26219
26220 \end_inset
26221
26222
26223 \end_layout
26224
26225 \begin_layout Standard
26226 Una vez dicho esto,
26227  te animamos a que envíes cualquiera plantilla interesante que compongas.
26228 \end_layout
26229
26230 \begin_layout Standard
26231 Las plantillas externas se definen en el archivo
26232 \lang english
26233  
26234 \begin_inset Flex Code
26235 status collapsed
26236
26237 \begin_layout Plain Layout
26238
26239 \lang english
26240 *.xtemplate
26241 \end_layout
26242
26243 \end_inset
26244
26245  files that are stored in the 
26246 \begin_inset Flex Code
26247 status collapsed
26248
26249 \begin_layout Plain Layout
26250
26251 \lang english
26252 LyXDir/lib/xtemplates/
26253 \end_layout
26254
26255 \end_inset
26256
26257  directory.
26258  Each template is defined in a file of its own.
26259
26260 \lang spanish
26261  .
26262  Puedes colocar tus 
26263 \lang english
26264 templates
26265 \lang spanish
26266  propias en
26267 \lang english
26268
26269 \begin_inset Flex Code
26270 status collapsed
26271
26272 \begin_layout Plain Layout
26273
26274 \lang english
26275 UserDir/xtemplates/
26276 \end_layout
26277
26278 \end_inset
26279
26280  or copy existing templates to that directory in order to modify them.
26281
26282 \lang spanish
26283  
26284 \end_layout
26285
26286 \begin_layout Standard
26287 Una plantilla típica tiene un aspecto como este:
26288 \end_layout
26289
26290 \begin_layout LyX-Code
26291 Template XFig
26292 \end_layout
26293
26294 \begin_layout LyX-Code
26295 GuiName "XFig:
26296  $$AbsOrRelPathParent$$Basename"
26297 \end_layout
26298
26299 \begin_layout LyX-Code
26300 HelpText
26301 \end_layout
26302
26303 \begin_layout LyX-Code
26304 An XFig figure.
26305 \end_layout
26306
26307 \begin_layout LyX-Code
26308 HelpTextEnd
26309 \end_layout
26310
26311 \begin_layout LyX-Code
26312 InputFormat fig
26313 \end_layout
26314
26315 \begin_layout LyX-Code
26316 FileFilter "*.fig"
26317 \end_layout
26318
26319 \begin_layout LyX-Code
26320 AutomaticProduction true
26321 \end_layout
26322
26323 \begin_layout LyX-Code
26324 Transform Rotate
26325 \end_layout
26326
26327 \begin_layout LyX-Code
26328 Transform Resize
26329 \end_layout
26330
26331 \begin_layout LyX-Code
26332 Format LaTeX
26333 \end_layout
26334
26335 \begin_layout LyX-Code
26336 TransformCommand Rotate RotationLatexCommand
26337 \end_layout
26338
26339 \begin_layout LyX-Code
26340 TransformCommand Resize ResizeLatexCommand
26341 \end_layout
26342
26343 \begin_layout LyX-Code
26344 Product "$$RotateFront$$ResizeFront
26345 \end_layout
26346
26347 \begin_layout LyX-Code
26348          
26349 \backslash
26350
26351 \backslash
26352 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
26353 \end_layout
26354
26355 \begin_layout LyX-Code
26356          $$ResizeBack$$RotateBack"
26357 \end_layout
26358
26359 \begin_layout LyX-Code
26360 UpdateFormat pstex
26361 \end_layout
26362
26363 \begin_layout LyX-Code
26364 UpdateResult "$$AbsPath$$Basename.pstex_t"
26365 \end_layout
26366
26367 \begin_layout LyX-Code
26368 Requirement "graphicx"
26369 \end_layout
26370
26371 \begin_layout LyX-Code
26372 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
26373 \end_layout
26374
26375 \begin_layout LyX-Code
26376 ReferencedFile latex "$$AbsPath$$Basename.eps"
26377 \end_layout
26378
26379 \begin_layout LyX-Code
26380 ReferencedFile dvi "$$AbsPath$$Basename.eps"
26381 \end_layout
26382
26383 \begin_layout LyX-Code
26384 FormatEnd
26385 \end_layout
26386
26387 \begin_layout LyX-Code
26388 Format PDFLaTeX
26389 \end_layout
26390
26391 \begin_layout LyX-Code
26392 TransformCommand Rotate RotationLatexCommand
26393 \end_layout
26394
26395 \begin_layout LyX-Code
26396 TransformCommand Resize ResizeLatexCommand
26397 \end_layout
26398
26399 \begin_layout LyX-Code
26400 Product "$$RotateFront$$ResizeFront
26401 \end_layout
26402
26403 \begin_layout LyX-Code
26404          
26405 \backslash
26406
26407 \backslash
26408 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
26409 \end_layout
26410
26411 \begin_layout LyX-Code
26412          $$ResizeBack$$RotateBack"
26413 \end_layout
26414
26415 \begin_layout LyX-Code
26416 UpdateFormat pdftex
26417 \end_layout
26418
26419 \begin_layout LyX-Code
26420 UpdateResult "$$AbsPath$$Basename.pdftex_t"
26421 \end_layout
26422
26423 \begin_layout LyX-Code
26424 Requirement "graphicx"
26425 \end_layout
26426
26427 \begin_layout LyX-Code
26428 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
26429 \end_layout
26430
26431 \begin_layout LyX-Code
26432 ReferencedFile latex "$$AbsPath$$Basename.pdf"
26433 \end_layout
26434
26435 \begin_layout LyX-Code
26436 FormatEnd
26437 \end_layout
26438
26439 \begin_layout LyX-Code
26440 Format Ascii
26441 \end_layout
26442
26443 \begin_layout LyX-Code
26444 Product "$$Contents(
26445 \backslash
26446 "$$AbsPath$$Basename.asc
26447 \backslash
26448 ")"
26449 \end_layout
26450
26451 \begin_layout LyX-Code
26452 UpdateFormat asciixfig
26453 \end_layout
26454
26455 \begin_layout LyX-Code
26456 UpdateResult "$$AbsPath$$Basename.asc"
26457 \end_layout
26458
26459 \begin_layout LyX-Code
26460 FormatEnd
26461 \end_layout
26462
26463 \begin_layout LyX-Code
26464 Format DocBook
26465 \end_layout
26466
26467 \begin_layout LyX-Code
26468 Product "<graphic fileref=
26469 \backslash
26470 "$$AbsOrRelPathMaster$$Basename.eps
26471 \backslash
26472 ">
26473 \end_layout
26474
26475 \begin_layout LyX-Code
26476          </graphic>"
26477 \end_layout
26478
26479 \begin_layout LyX-Code
26480 UpdateFormat eps
26481 \end_layout
26482
26483 \begin_layout LyX-Code
26484 UpdateResult "$$AbsPath$$Basename.eps"
26485 \end_layout
26486
26487 \begin_layout LyX-Code
26488 ReferencedFile docbook "$$AbsPath$$Basename.eps"
26489 \end_layout
26490
26491 \begin_layout LyX-Code
26492 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
26493 \end_layout
26494
26495 \begin_layout LyX-Code
26496 FormatEnd
26497 \end_layout
26498
26499 \begin_layout LyX-Code
26500 Product "[XFig:
26501  $$FName]"
26502 \end_layout
26503
26504 \begin_layout LyX-Code
26505 FormatEnd
26506 \end_layout
26507
26508 \begin_layout LyX-Code
26509 TemplateEnd
26510 \end_layout
26511
26512 \begin_layout Standard
26513 Como puedes ver,
26514  la plantilla se incluye entre 
26515 \begin_inset Flex Code
26516 status collapsed
26517
26518 \begin_layout Plain Layout
26519 Template
26520 \end_layout
26521
26522 \end_inset
26523
26524  \SpecialChar ldots
26525  
26526 \begin_inset Flex Code
26527 status collapsed
26528
26529 \begin_layout Plain Layout
26530 TemplateEnd
26531 \end_layout
26532
26533 \end_inset
26534
26535 .
26536  Contiene una cabecera que especifica algunas configuraciones generales y,
26537  por cada formato de archivo de documento primario soportado,
26538  una sección 
26539 \begin_inset Flex Code
26540 status collapsed
26541
26542 \begin_layout Plain Layout
26543 Format
26544 \end_layout
26545
26546 \end_inset
26547
26548  \SpecialChar ldots
26549  
26550 \begin_inset Flex Code
26551 status collapsed
26552
26553 \begin_layout Plain Layout
26554 FormatEnd
26555 \end_layout
26556
26557 \end_inset
26558
26559 .
26560 \end_layout
26561
26562 \begin_layout Subsection
26563 La cabecera de la plantilla
26564 \end_layout
26565
26566 \begin_layout Description
26567 \begin_inset Flex Code
26568 status collapsed
26569
26570 \begin_layout Plain Layout
26571 AutomaticProduction
26572 \begin_inset space ~
26573 \end_inset
26574
26575 true|false
26576 \end_layout
26577
26578 \end_inset
26579
26580  Si el archivo representado por la plantilla debe ser generado por \SpecialChar LyX
26581 .
26582  Este comando debe aparecer exactamente una vez.
26583 \end_layout
26584
26585 \begin_layout Description
26586 \begin_inset Flex Code
26587 status collapsed
26588
26589 \begin_layout Plain Layout
26590 FileFilter
26591 \begin_inset space ~
26592 \end_inset
26593
26594 <pattern>
26595 \end_layout
26596
26597 \end_inset
26598
26599  Un patrón global que se usa en el diálogo del archivo para filtrar los archivos deseados.
26600  Si hay más de una posible extensión de archivo (p.
26601 \begin_inset space \thinspace{}
26602 \end_inset
26603
26604 e.,
26605 \begin_inset space ~
26606 \end_inset
26607
26608 tgif tiene 
26609 \begin_inset Flex Code
26610 status collapsed
26611
26612 \begin_layout Plain Layout
26613 .obj
26614 \end_layout
26615
26616 \end_inset
26617
26618  y 
26619 \begin_inset Flex Code
26620 status collapsed
26621
26622 \begin_layout Plain Layout
26623 .tgo
26624 \end_layout
26625
26626 \end_inset
26627
26628 ),
26629  se pone algo como 
26630 \begin_inset Flex Code
26631 status collapsed
26632
26633 \begin_layout Plain Layout
26634 "*.{obj,tgo}"
26635 \end_layout
26636
26637 \end_inset
26638
26639 .
26640  Este comando debe aparecer exactamente una vez.
26641 \end_layout
26642
26643 \begin_layout Description
26644 \begin_inset Flex Code
26645 status collapsed
26646
26647 \begin_layout Plain Layout
26648 GuiName
26649 \begin_inset space ~
26650 \end_inset
26651
26652 <guiname>
26653 \end_layout
26654
26655 \end_inset
26656
26657  El texto mostrado sobre el botón.
26658  Este comando debe aparecer exactamente una vez.
26659 \end_layout
26660
26661 \begin_layout Description
26662 \begin_inset Flex Code
26663 status collapsed
26664
26665 \begin_layout Plain Layout
26666 HelpText
26667 \begin_inset space ~
26668 \end_inset
26669
26670 <text>
26671 \begin_inset space ~
26672 \end_inset
26673
26674 HelpTextEnd
26675 \end_layout
26676
26677 \end_inset
26678
26679  El texto de ayuda que se muestra en diálogo.
26680  Da suficiente información sobre lo que puede proporcionar la plantilla.
26681  Este comando debe aparecer exactamente una vez.
26682 \end_layout
26683
26684 \begin_layout Description
26685 \begin_inset Flex Code
26686 status collapsed
26687
26688 \begin_layout Plain Layout
26689 InputFormat
26690 \begin_inset space ~
26691 \end_inset
26692
26693 <format>
26694 \end_layout
26695
26696 \end_inset
26697
26698  El formato de archivo del original.
26699  Debe ser el nombre de un formato conocido por \SpecialChar LyX
26700  (véase la 
26701 \begin_inset CommandInset ref
26702 LatexCommand ref
26703 reference "sec:Formatos"
26704 nolink "false"
26705
26706 \end_inset
26707
26708 ).
26709  Se pone un 
26710 \begin_inset Quotes cld
26711 \end_inset
26712
26713
26714 \begin_inset Flex Code
26715 status collapsed
26716
26717 \begin_layout Plain Layout
26718 *
26719 \end_layout
26720
26721 \end_inset
26722
26723
26724 \begin_inset Quotes crd
26725 \end_inset
26726
26727  si la plantilla puede manejar archivos originales o más de un formato.
26728  En este caso,
26729  \SpecialChar LyX
26730  intentará inspeccionar el archivo mismo para deducir su formato.
26731  Este comando debe aparecer exactamente una vez.
26732 \end_layout
26733
26734 \begin_layout Description
26735 \begin_inset Flex Code
26736 status collapsed
26737
26738 \begin_layout Plain Layout
26739 Template
26740 \begin_inset space ~
26741 \end_inset
26742
26743 <id>
26744 \end_layout
26745
26746 \end_inset
26747
26748  Un nombre único para la plantilla.
26749  No debe contener macros de sustitución (véase abajo).
26750 \end_layout
26751
26752 \begin_layout Description
26753 \begin_inset Flex Code
26754 status collapsed
26755
26756 \begin_layout Plain Layout
26757 Transform
26758 \begin_inset space ~
26759 \end_inset
26760
26761 Rotate|Resize|Clip|Extra
26762 \end_layout
26763
26764 \end_inset
26765
26766  Este comando especifica qué transformaciones son soportadas por esta plantilla.
26767  Puede aparecer ninguna o varias veces.
26768  Este comando facilita las correspondientes pestañas en el diálogo de material externo.
26769  Cada comando 
26770 \begin_inset Flex Code
26771 status collapsed
26772
26773 \begin_layout Plain Layout
26774 Transform
26775 \end_layout
26776
26777 \end_inset
26778
26779  debe tener el correspondiente 
26780 \begin_inset Flex Code
26781 status collapsed
26782
26783 \begin_layout Plain Layout
26784 TransformCommand
26785 \end_layout
26786
26787 \end_inset
26788
26789  o bien 
26790 \begin_inset Flex Code
26791 status collapsed
26792
26793 \begin_layout Plain Layout
26794 TransformOption
26795 \end_layout
26796
26797 \end_inset
26798
26799  en la sección 
26800 \begin_inset Flex Code
26801 status collapsed
26802
26803 \begin_layout Plain Layout
26804 Format
26805 \end_layout
26806
26807 \end_inset
26808
26809 .
26810  De lo contrario la transformación no será soportada por ese formato.
26811  
26812 \end_layout
26813
26814 \begin_layout Subsection
26815 La sección Format
26816 \end_layout
26817
26818 \begin_layout Description
26819 \begin_inset Flex Code
26820 status collapsed
26821
26822 \begin_layout Plain Layout
26823 Format
26824 \begin_inset space ~
26825 \end_inset
26826
26827 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
26828 \end_layout
26829
26830 \end_inset
26831
26832  El formato de archivo del documento primario para el que es esta definición de formato.
26833  No toda plantilla tiene una representación sensible en los formatos de archivo de todos los documentos.
26834  No obstante,
26835  es preferible definir una sección 
26836 \begin_inset Flex Code
26837 status collapsed
26838
26839 \begin_layout Plain Layout
26840 Format
26841 \end_layout
26842
26843 \end_inset
26844
26845  para todos los formatos.
26846  Se usa un texto postizo si no hay representación disponible.
26847  Entonces,
26848  al menos,
26849  se puede ver una referencia al material externo en el documento exportado.
26850 \end_layout
26851
26852 \begin_layout Description
26853 \begin_inset Flex Code
26854 status collapsed
26855
26856 \begin_layout Plain Layout
26857 Option
26858 \begin_inset space ~
26859 \end_inset
26860
26861 <name>
26862 \begin_inset space ~
26863 \end_inset
26864
26865 <value>
26866 \end_layout
26867
26868 \end_inset
26869
26870  Este comando define una macro adicional,
26871  
26872 \begin_inset Flex Code
26873 status collapsed
26874
26875 \begin_layout Plain Layout
26876 $$<name>
26877 \end_layout
26878
26879 \end_inset
26880
26881 ,
26882  para sustitución en 
26883 \begin_inset Flex Code
26884 status collapsed
26885
26886 \begin_layout Plain Layout
26887 Product
26888 \end_layout
26889
26890 \end_inset
26891
26892 .
26893  
26894 \begin_inset Flex Code
26895 status collapsed
26896
26897 \begin_layout Plain Layout
26898 <value>
26899 \end_layout
26900
26901 \end_inset
26902
26903  puede contener en sí mismo macros de sustitución.
26904  La ventaja sobre el uso de 
26905 \begin_inset Flex Code
26906 status collapsed
26907
26908 \begin_layout Plain Layout
26909 <value>
26910 \end_layout
26911
26912 \end_inset
26913
26914  directamente en 
26915 \begin_inset Flex Code
26916 status collapsed
26917
26918 \begin_layout Plain Layout
26919 Product
26920 \end_layout
26921
26922 \end_inset
26923
26924  es que el valor sustituido de 
26925 \begin_inset Flex Code
26926 status collapsed
26927
26928 \begin_layout Plain Layout
26929 $$<name>
26930 \end_layout
26931
26932 \end_inset
26933
26934  está saneado así que es un argumento opcional válido en el formato del documento.
26935  Este comando puede aparecer ninguna o más veces.
26936 \end_layout
26937
26938 \begin_layout Description
26939 \begin_inset Flex Code
26940 status collapsed
26941
26942 \begin_layout Plain Layout
26943 Product
26944 \begin_inset space ~
26945 \end_inset
26946
26947 <text>
26948 \end_layout
26949
26950 \end_inset
26951
26952  El texto que se inserta en el documento exportado.
26953  Realmente este es el comando más importante y puede ser bastante complejo.
26954  Este comando debe aparecer exactamente una vez.
26955 \end_layout
26956
26957 \begin_layout Description
26958 \begin_inset Flex Code
26959 status collapsed
26960
26961 \begin_layout Plain Layout
26962 Preamble
26963 \begin_inset space ~
26964 \end_inset
26965
26966 <name>
26967 \end_layout
26968
26969 \end_inset
26970
26971  Este comando especifica un fragmento de preámbulo que se incluirá en el preámbulo \SpecialChar LaTeX
26972 .
26973  Tiene que definirse usando 
26974 \begin_inset Flex Code
26975 status collapsed
26976
26977 \begin_layout Plain Layout
26978 PreambleDef
26979 \end_layout
26980
26981 \end_inset
26982
26983  \SpecialChar ldots
26984  
26985 \begin_inset Flex Code
26986 status collapsed
26987
26988 \begin_layout Plain Layout
26989 PreambleDefEnd
26990 \end_layout
26991
26992 \end_inset
26993
26994 .
26995  Este comando puede aparecer ninguna o más veces.
26996 \end_layout
26997
26998 \begin_layout Description
26999 \begin_inset Flex Code
27000 status collapsed
27001
27002 \begin_layout Plain Layout
27003 ReferencedFile
27004 \begin_inset space ~
27005 \end_inset
27006
27007 <format>
27008 \begin_inset space ~
27009 \end_inset
27010
27011 <filename>
27012 \end_layout
27013
27014 \end_inset
27015
27016  Este comando indica los archivos que se crean por el proceso de conversión y que son necesarios para un formato de exportación particular.
27017  Si el nombre del archivo es relativo,
27018  se interpreta como relativo al documento maestro.
27019  Este comando puede darse ninguna o más veces.
27020 \end_layout
27021
27022 \begin_layout Description
27023 \begin_inset Flex Code
27024 status collapsed
27025
27026 \begin_layout Plain Layout
27027 Requirement
27028 \begin_inset space ~
27029 \end_inset
27030
27031 <package>
27032 \end_layout
27033
27034 \end_inset
27035
27036  El nombre de un paquete \SpecialChar LaTeX
27037  requerido.
27038  El paquete se incuye mediante 
27039 \begin_inset Flex Code
27040 status collapsed
27041
27042 \begin_layout Plain Layout
27043
27044 \backslash
27045 usepackage{}
27046 \end_layout
27047
27048 \end_inset
27049
27050  en el preámbulo \SpecialChar LaTeX
27051 .
27052  Este comando puede aparecer ninguna o más veces.
27053 \end_layout
27054
27055 \begin_layout Description
27056 \begin_inset Flex Code
27057 status collapsed
27058
27059 \begin_layout Plain Layout
27060 TransformCommand
27061 \begin_inset space ~
27062 \end_inset
27063
27064 Rotate
27065 \begin_inset space ~
27066 \end_inset
27067
27068 RotationLatexCommand
27069 \end_layout
27070
27071 \end_inset
27072
27073  Este comando especifica que el comando \SpecialChar LaTeX
27074  incluido debería usarse para la rotación.
27075  Este comando puede aparecer una vez o ninguna.
27076 \end_layout
27077
27078 \begin_layout Description
27079 \begin_inset Flex Code
27080 status collapsed
27081
27082 \begin_layout Plain Layout
27083 TransformCommand
27084 \begin_inset space ~
27085 \end_inset
27086
27087 Resize
27088 \begin_inset space ~
27089 \end_inset
27090
27091 ResizeLatexCommand
27092 \end_layout
27093
27094 \end_inset
27095
27096  Este comando especifica que el comando \SpecialChar LaTeX
27097  incluido debería usarse para cambiar el tamaño.
27098  Este comando puede aparecer una vez o ninguna.
27099 \end_layout
27100
27101 \begin_layout Description
27102 \begin_inset Flex Code
27103 status collapsed
27104
27105 \begin_layout Plain Layout
27106 TransformOption
27107 \begin_inset space ~
27108 \end_inset
27109
27110 Rotate
27111 \begin_inset space ~
27112 \end_inset
27113
27114 RotationLatexOption
27115 \end_layout
27116
27117 \end_inset
27118
27119  Este comando especifica que la rotación se hace mediante un argumento opcional.
27120  Este comando puede aparecer una vez o ninguna.
27121 \end_layout
27122
27123 \begin_layout Description
27124 \begin_inset Flex Code
27125 status collapsed
27126
27127 \begin_layout Plain Layout
27128 TransformOption
27129 \begin_inset space ~
27130 \end_inset
27131
27132 Resize
27133 \begin_inset space ~
27134 \end_inset
27135
27136 ResizeLatexOption
27137 \end_layout
27138
27139 \end_inset
27140
27141  Este comando especifica que el cambio de tamaño se hace mediante un argumento opcional.
27142  Este comando puede aparecer una vez o ninguna
27143 \end_layout
27144
27145 \begin_layout Description
27146 \begin_inset Flex Code
27147 status collapsed
27148
27149 \begin_layout Plain Layout
27150 TransformOption
27151 \begin_inset space ~
27152 \end_inset
27153
27154 Clip
27155 \begin_inset space ~
27156 \end_inset
27157
27158 ClipLatexOption
27159 \end_layout
27160
27161 \end_inset
27162
27163  Este comando especifica que el recorte se hace mediante un argumento opcional.
27164  Este comando puede aparecer una vez o ninguna.
27165 \end_layout
27166
27167 \begin_layout Description
27168 \begin_inset Flex Code
27169 status collapsed
27170
27171 \begin_layout Plain Layout
27172 TransformOption
27173 \begin_inset space ~
27174 \end_inset
27175
27176 Extra
27177 \begin_inset space ~
27178 \end_inset
27179
27180 ExtraLatexOption
27181 \end_layout
27182
27183 \end_inset
27184
27185  Este comando especifica que se usa un argumento extra opcional.
27186  Este comando puede aparecer una vez o ninguna.
27187  
27188 \end_layout
27189
27190 \begin_layout Description
27191 \begin_inset Flex Code
27192 status collapsed
27193
27194 \begin_layout Plain Layout
27195 UpdateFormat
27196 \begin_inset space ~
27197 \end_inset
27198
27199 <format>
27200 \end_layout
27201
27202 \end_inset
27203
27204  El formato de archivo del archivo convertido.
27205  Debe ser el nombre de un formato conocido por \SpecialChar LyX
27206  (véase 
27207 \begin_inset Flex Noun
27208 status collapsed
27209
27210 \begin_layout Plain Layout
27211 Convertidores
27212 \end_layout
27213
27214 \end_inset
27215
27216  de 
27217 \begin_inset Flex Noun
27218 status collapsed
27219
27220 \begin_layout Plain Layout
27221 Gestión de archivos
27222 \end_layout
27223
27224 \end_inset
27225
27226  en el diálogo 
27227 \begin_inset Flex Noun
27228 status collapsed
27229
27230 \begin_layout Plain Layout
27231 Herramientas\SpecialChar menuseparator
27232 Preferencias
27233 \end_layout
27234
27235 \end_inset
27236
27237 ).
27238  Este comando debe aparecer exactamente una vez.
27239  Si el formato del archivo resultante es PDF,
27240  debes especificar el formato 
27241 \begin_inset Flex Code
27242 status collapsed
27243
27244 \begin_layout Plain Layout
27245 pdf6
27246 \end_layout
27247
27248 \end_inset
27249
27250 .
27251  Es el formato PDF usado para incluir gráficos.
27252  Los otros formatos PDF definidos son para exportación de documentos.
27253 \end_layout
27254
27255 \begin_layout Description
27256 \begin_inset Flex Code
27257 status collapsed
27258
27259 \begin_layout Plain Layout
27260 UpdateResult
27261 \begin_inset space ~
27262 \end_inset
27263
27264 <filename>
27265 \end_layout
27266
27267 \end_inset
27268
27269  El nombre de archivo del archivo convertido.
27270  El nombre de archivo debe ser absoluto.
27271  Este comando debe aparecer exactamente una vez.
27272 \end_layout
27273
27274 \begin_layout Subsection
27275 Definiciones de preámbulo
27276 \end_layout
27277
27278 \begin_layout Standard
27279 El archivo de configuración de plantillas externas puede contener definiciones de preámbulo adicionales encerradas entre 
27280 \begin_inset Flex Code
27281 status collapsed
27282
27283 \begin_layout Plain Layout
27284 PreambleDef
27285 \end_layout
27286
27287 \end_inset
27288
27289  \SpecialChar ldots
27290  
27291 \begin_inset Flex Code
27292 status collapsed
27293
27294 \begin_layout Plain Layout
27295 PreambleDefEnd
27296 \end_layout
27297
27298 \end_inset
27299
27300 .
27301  Se pueden usar por las plantillas en la sección 
27302 \begin_inset Flex Code
27303 status collapsed
27304
27305 \begin_layout Plain Layout
27306 Format
27307 \end_layout
27308
27309 \end_inset
27310
27311 .
27312 \end_layout
27313
27314 \begin_layout Section
27315 El mecanismo de sustitución
27316 \end_layout
27317
27318 \begin_layout Standard
27319 Cuando la función de material externo recurre a un programa externo,
27320  se hace sobre la base de un comando definido en el archivo de configuración de la plantilla.
27321  Estos comandos pueden contener varias macros que se expanden antes de su ejecución.
27322  La ejecución tiene lugar siempre en el directorio del documento.
27323  
27324 \end_layout
27325
27326 \begin_layout Standard
27327 Además,
27328  cada vez que el material externo se va a mostrar,
27329  el nombre será generado por el mecanismo de sustitución,
27330  y la mayoría de los demás comandos en la definición de la plantilla soportan también sustitución.
27331  
27332 \end_layout
27333
27334 \begin_layout Standard
27335 Las macros disponibles son las siguientes:
27336 \end_layout
27337
27338 \begin_layout Description
27339 \begin_inset Flex Code
27340 status collapsed
27341
27342 \begin_layout Plain Layout
27343 $$AbsOrRelPathMaster
27344 \end_layout
27345
27346 \end_inset
27347
27348  La ruta del archivo,
27349  absoluta o relativa al documento \SpecialChar LyX
27350  maestro.
27351 \end_layout
27352
27353 \begin_layout Description
27354 \begin_inset Flex Code
27355 status collapsed
27356
27357 \begin_layout Plain Layout
27358 $$AbsOrRelPathParent
27359 \end_layout
27360
27361 \end_inset
27362
27363  La ruta del archivo,
27364  absoluta o relativa al documento \SpecialChar LyX
27365 .
27366 \end_layout
27367
27368 \begin_layout Description
27369 \begin_inset Flex Code
27370 status collapsed
27371
27372 \begin_layout Plain Layout
27373 $$AbsPath
27374 \end_layout
27375
27376 \end_inset
27377
27378  La ruta absoluta del archivo.
27379 \end_layout
27380
27381 \begin_layout Description
27382 \begin_inset Flex Code
27383 status collapsed
27384
27385 \begin_layout Plain Layout
27386 $$Basename
27387 \end_layout
27388
27389 \end_inset
27390
27391  El nombre de archivo sin ruta y sin la extensión.
27392 \end_layout
27393
27394 \begin_layout Description
27395 \begin_inset Flex Code
27396 status collapsed
27397
27398 \begin_layout Plain Layout
27399 $$Contents(
27400 \begin_inset Quotes eld
27401 \end_inset
27402
27403 filename.ext
27404 \begin_inset Quotes erd
27405 \end_inset
27406
27407 )
27408 \end_layout
27409
27410 \end_inset
27411
27412  Esta macro expandirá los contenidos del archivo con el nombre 
27413 \begin_inset Flex Code
27414 status collapsed
27415
27416 \begin_layout Plain Layout
27417 filename.ext
27418 \end_layout
27419
27420 \end_inset
27421
27422 .
27423 \end_layout
27424
27425 \begin_layout Description
27426 \begin_inset Flex Code
27427 status collapsed
27428
27429 \begin_layout Plain Layout
27430 $$Extension
27431 \end_layout
27432
27433 \end_inset
27434
27435  La extensión de archivo (incluyendo el punto).
27436 \end_layout
27437
27438 \begin_layout Description
27439 \begin_inset Flex Code
27440 status collapsed
27441
27442 \begin_layout Plain Layout
27443 $$pngOrjpg
27444 \end_layout
27445
27446 \end_inset
27447
27448  Esto será 
27449 \begin_inset Quotes cld
27450 \end_inset
27451
27452 jpg
27453 \begin_inset Quotes crd
27454 \end_inset
27455
27456  si el archivo está en formato JPEG,
27457  si no será 
27458 \begin_inset Quotes eld
27459 \end_inset
27460
27461 png
27462 \begin_inset Quotes erd
27463 \end_inset
27464
27465 .
27466  Esto es útil para evitar conversiones innecesarias para formatos de salida que soporten tanto PNG como JPEG.
27467  La plantilla predefinida RasterImage usa esta macro para el formato de salida pdf\SpecialChar TeX
27468 .
27469 \end_layout
27470
27471 \begin_layout Description
27472 \begin_inset Flex Code
27473 status collapsed
27474
27475 \begin_layout Plain Layout
27476 $$FName
27477 \end_layout
27478
27479 \end_inset
27480
27481  El nombre de archivo del archivo especificado en el diálogo de material externo.
27482  Esto es bien un nombre absoluto,
27483  bien relativo al documento \SpecialChar LyX
27484 .
27485 \end_layout
27486
27487 \begin_layout Description
27488 \begin_inset Flex Code
27489 status collapsed
27490
27491 \begin_layout Plain Layout
27492 $$FPath
27493 \end_layout
27494
27495 \end_inset
27496
27497  La parte de la ruta de 
27498 \begin_inset Flex Code
27499 status collapsed
27500
27501 \begin_layout Plain Layout
27502 $$FName
27503 \end_layout
27504
27505 \end_inset
27506
27507  (nombre absoluto o relativo al documento \SpecialChar LyX
27508 ).
27509 \end_layout
27510
27511 \begin_layout Description
27512 \begin_inset Flex Code
27513 status collapsed
27514
27515 \begin_layout Plain Layout
27516 $$RelPathMaster
27517 \end_layout
27518
27519 \end_inset
27520
27521  La ruta del archivo,
27522  relativa al documento maestro \SpecialChar LyX
27523 .
27524 \end_layout
27525
27526 \begin_layout Description
27527 \begin_inset Flex Code
27528 status collapsed
27529
27530 \begin_layout Plain Layout
27531 $$RelPathParent
27532 \end_layout
27533
27534 \end_inset
27535
27536  La ruta del archivo,
27537  relativa al documento \SpecialChar LyX
27538 .
27539 \end_layout
27540
27541 \begin_layout Description
27542 \begin_inset Flex Code
27543 status collapsed
27544
27545 \begin_layout Plain Layout
27546 $$Sysdir
27547 \end_layout
27548
27549 \end_inset
27550
27551  Esta macro expandirá a la ruta absoluta del directorio de sistema.
27552  Esto se usa habitualmente para apuntar a los varios guiones de ayuda que se empaquetan con \SpecialChar LyX
27553 .
27554 \end_layout
27555
27556 \begin_layout Description
27557 \begin_inset Flex Code
27558 status collapsed
27559
27560 \begin_layout Plain Layout
27561 $$Tempname
27562 \end_layout
27563
27564 \end_inset
27565
27566  Un nombre y ruta completa a un directorio temporal que será borrado automáticamente siempre que el documento se cierra,
27567  o se suprime la inserción de material externo.
27568 \end_layout
27569
27570 \begin_layout Standard
27571 Todas las macros de ruta contienen un separador de rastreo del directorio,
27572  así se puede construir,
27573  p.
27574 \begin_inset space \thinspace{}
27575 \end_inset
27576
27577 e.,
27578  el nombre de archivo absoluto con 
27579 \begin_inset Flex Code
27580 status collapsed
27581
27582 \begin_layout Plain Layout
27583 $$AbsPath$$Basename$$Extension
27584 \end_layout
27585
27586 \end_inset
27587
27588 .
27589 \end_layout
27590
27591 \begin_layout Standard
27592 Las macros anteriores son sustituidas en todos los comandos a menos que se indique lo contrario.
27593  El comando 
27594 \begin_inset Flex Code
27595 status collapsed
27596
27597 \begin_layout Plain Layout
27598 Product
27599 \end_layout
27600
27601 \end_inset
27602
27603  soporta adicionalmente las siguientes sustituciones si se habilitan por los comandos 
27604 \begin_inset Flex Code
27605 status collapsed
27606
27607 \begin_layout Plain Layout
27608 Transform
27609 \end_layout
27610
27611 \end_inset
27612
27613  y 
27614 \begin_inset Flex Code
27615 status collapsed
27616
27617 \begin_layout Plain Layout
27618 TransformCommand
27619 \end_layout
27620
27621 \end_inset
27622
27623 :
27624 \end_layout
27625
27626 \begin_layout Description
27627 \begin_inset Flex Code
27628 status collapsed
27629
27630 \begin_layout Plain Layout
27631 $$ResizeFront
27632 \end_layout
27633
27634 \end_inset
27635
27636  La parte delantera del comando para cambiar el tamaño.
27637 \end_layout
27638
27639 \begin_layout Description
27640 \begin_inset Flex Code
27641 status collapsed
27642
27643 \begin_layout Plain Layout
27644 $$ResizeBack
27645 \end_layout
27646
27647 \end_inset
27648
27649  La parte trasera del comando para cambiar el tamaño.
27650 \end_layout
27651
27652 \begin_layout Description
27653 \begin_inset Flex Code
27654 status collapsed
27655
27656 \begin_layout Plain Layout
27657 $$RotateFront
27658 \end_layout
27659
27660 \end_inset
27661
27662  La parte delantera del comando para la rotación.
27663 \end_layout
27664
27665 \begin_layout Description
27666 \begin_inset Flex Code
27667 status collapsed
27668
27669 \begin_layout Plain Layout
27670 $$RotateBack
27671 \end_layout
27672
27673 \end_inset
27674
27675  La parte trasera del comando para la rotación.
27676 \end_layout
27677
27678 \begin_layout Standard
27679 La cadena de valor del comando 
27680 \begin_inset Flex Code
27681 status collapsed
27682
27683 \begin_layout Plain Layout
27684 Option
27685 \end_layout
27686
27687 \end_inset
27688
27689  soporta adicionalmente las siguientes sustituciones si éstas se han habilitado por los comandos 
27690 \begin_inset Flex Code
27691 status collapsed
27692
27693 \begin_layout Plain Layout
27694 Transform
27695 \end_layout
27696
27697 \end_inset
27698
27699  y 
27700 \begin_inset Flex Code
27701 status collapsed
27702
27703 \begin_layout Plain Layout
27704 TransformOption
27705 \end_layout
27706
27707 \end_inset
27708
27709 :
27710 \end_layout
27711
27712 \begin_layout Description
27713 \begin_inset Flex Code
27714 status collapsed
27715
27716 \begin_layout Plain Layout
27717 $$Clip
27718 \end_layout
27719
27720 \end_inset
27721
27722  La opción recorte.
27723 \end_layout
27724
27725 \begin_layout Description
27726 \begin_inset Flex Code
27727 status collapsed
27728
27729 \begin_layout Plain Layout
27730 $$Extra
27731 \end_layout
27732
27733 \end_inset
27734
27735  La opción extra.
27736 \end_layout
27737
27738 \begin_layout Description
27739 \begin_inset Flex Code
27740 status collapsed
27741
27742 \begin_layout Plain Layout
27743 $$Resize
27744 \end_layout
27745
27746 \end_inset
27747
27748  La opción cambio de tamaño.
27749 \end_layout
27750
27751 \begin_layout Description
27752 \begin_inset Flex Code
27753 status collapsed
27754
27755 \begin_layout Plain Layout
27756 $$Rotate
27757 \end_layout
27758
27759 \end_inset
27760
27761  La opción rotación.
27762 \end_layout
27763
27764 \begin_layout Standard
27765 Te puedes preguntar por qué hay tantas macros de ruta.
27766  Por dos razones,
27767  principalmente:
27768 \end_layout
27769
27770 \begin_layout Enumerate
27771 Los nombres de archivo relativo y absoluto deberían permanecer relativo o absoluto,
27772  respectivamente.
27773  Los usuarios pueden tener razones para preferir cualquiera de ambas formas.
27774  Los nombres relativos son útiles para documentos portables que deberían funcionar en máquinas diferentes,
27775  por ejemplo.
27776  Los nombres absolutos pueden ser requeridos por algunos programas.
27777 \end_layout
27778
27779 \begin_layout Enumerate
27780 \SpecialChar LaTeX
27781  procesa los nombres de archivo relativos de manera diferente a \SpecialChar LyX
27782  y otros programas en archivos anidados incluidos.
27783  Para \SpecialChar LyX
27784 ,
27785  un nombre de archivo relativo es siempre relativo al documento que contiene el nombre de archivo.
27786  Para \SpecialChar LaTeX
27787 ,
27788  es siempre relativo al documento maestro.
27789  Estas dos definiciones son idénticas si se tiene solo un documento,
27790  pero son distintas si se tiene un documento maestro que incluye documentos parciales.
27791  Esto quiere decir que los nombres de archivo relativos deben ser transformados cuando se presentan a \SpecialChar LaTeX
27792 .
27793  Afortunadamente,
27794  \SpecialChar LyX
27795  hace esto automáticamente si se eligen las macros correctas.
27796 \end_layout
27797
27798 \begin_layout Standard
27799 Así pues,
27800  ¿qué macros de ruta deberían emplearse en las definiciones de plantillas nuevas?
27801  La regla no es difícil:
27802 \end_layout
27803
27804 \begin_layout Itemize
27805 Usar 
27806 \begin_inset Flex Code
27807 status collapsed
27808
27809 \begin_layout Plain Layout
27810 $$AbsPath
27811 \end_layout
27812
27813 \end_inset
27814
27815  si se requiere una ruta absoluta.
27816 \end_layout
27817
27818 \begin_layout Itemize
27819 Usar 
27820 \begin_inset Flex Code
27821 status collapsed
27822
27823 \begin_layout Plain Layout
27824 $$AbsOrRelPathMaster
27825 \end_layout
27826
27827 \end_inset
27828
27829  si la cadena sustituida es algún tipo de entrada \SpecialChar LaTeX
27830 .
27831 \end_layout
27832
27833 \begin_layout Itemize
27834 Si no,
27835  usar 
27836 \begin_inset Flex Code
27837 status collapsed
27838
27839 \begin_layout Plain Layout
27840 $$AbsOrRelPathParent
27841 \end_layout
27842
27843 \end_inset
27844
27845  con el fin de preservar la elección del usuario.
27846 \end_layout
27847
27848 \begin_layout Standard
27849 Hay casos especiales en los que esta regla no funciona y se necesitan,
27850  p.
27851 \begin_inset space \thinspace{}
27852 \end_inset
27853
27854 e.,
27855  nombres relativos,
27856  pero normalmente funcionará bien.
27857  Un ejemplo de uno de estos casos es el comando 
27858 \begin_inset Flex Code
27859 status collapsed
27860
27861 \begin_layout Plain Layout
27862 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27863 \end_layout
27864
27865 \end_inset
27866
27867  en la plantilla XFig de arriba:
27868  no podemos usar el nombre absoluto porque el copiador para archivos 
27869 \begin_inset Flex Code
27870 status collapsed
27871
27872 \begin_layout Plain Layout
27873 .pstex_t
27874 \end_layout
27875
27876 \end_inset
27877
27878  necesita el nombre relativo para reescribir el contenido del archivo.
27879 \end_layout
27880
27881 \begin_layout Section
27882 Discusión sobre seguridad
27883 \begin_inset CommandInset label
27884 LatexCommand label
27885 name "sec:Discusión-sobre-seguridad"
27886
27887 \end_inset
27888
27889
27890 \end_layout
27891
27892 \begin_layout Standard
27893 La función material externo interactúa con muchos programas externos y lo hace de forma automática,
27894  así que hemos de tener en cuenta las implicaciones de seguridad que esto conlleva.
27895  En particular,
27896  puesto que tienes la opción de incluir tus propios archivos y/o cadenas de parámetros y estos se expanden en un comando,
27897  parece posible crear un documento malicioso que ejecute comandos arbitrarios cuando un usuario ve o imprime el documento.
27898  Esto es algo que definitivamente queremos evitar.
27899  
27900 \end_layout
27901
27902 \begin_layout Standard
27903 Sin embargo,
27904  dado que los comandos de material externo se especifican solo en el archivo de configuración de la plantilla,
27905  no hay problemas de seguridad si \SpecialChar LyX
27906  está adecuadamente configurado solo con plantillas seguras.
27907  Esto es así porque los programas externos se invocan con la llamada al sistema 
27908 \begin_inset Flex Code
27909 status collapsed
27910
27911 \begin_layout Plain Layout
27912 execvp
27913 \end_layout
27914
27915 \end_inset
27916
27917  más bien que con la llamada 
27918 \begin_inset Flex Code
27919 status collapsed
27920
27921 \begin_layout Plain Layout
27922 system
27923 \end_layout
27924
27925 \end_inset
27926
27927 ,
27928  de modo que no es posible ejecutar comandos arbitrarios desde la sección del nombre de archivo o de parámetros mediante el shell.
27929 \end_layout
27930
27931 \begin_layout Standard
27932 Esto implica además que hay restricciones en las cadenas de comandos que puedes usar en las plantillas de material externo.
27933  En particular,
27934  las tuberías y la redirección no están fácilmente disponibles.
27935  Esto debe ser así para que \SpecialChar LyX
27936  permanezca seguro.
27937  Si quieres usar algunas características de shell,
27938  deberías escribir un guión seguro para hacerlo de manera controlada,
27939  y después invocar el guión desde la cadena de comandos.
27940 \end_layout
27941
27942 \begin_layout Standard
27943 Es posible diseñar una plantilla que interactúe directamente con el shell,
27944  pero puesto que esto permitiría a un usuario malicioso ejecutar comandos arbitrarios escribiendo nombres de archivo y/o parámetros astutos,
27945  generalmente recomendamos usar solo guiones seguros que trabajen con la llamada 
27946 \begin_inset Flex Code
27947 status collapsed
27948
27949 \begin_layout Plain Layout
27950 execvp
27951 \end_layout
27952
27953 \end_inset
27954
27955  al sistema en forma controlada.
27956  Por supuesto,
27957  para usar en un entorno controlado,
27958  puede ser tentador caer en el uso de guiones de shell ordinarios.
27959  Si lo haces así,
27960  sé consciente de que vas a suministrar un agujero se seguridad fácilmente explotable en tu sistema.
27961  Evidentemente,
27962  es de razón que tales plantillas inseguras nunca serán incluidas en la distribución estándar de \SpecialChar LyX
27963 ,
27964  aunque alentamos a la gente a que,
27965  a la usanza del software libre,
27966  envíe nuevas plantillas.
27967  No obstante,
27968  \SpecialChar LyX
27969  nunca tendrá plantillas inseguras tal y como se distribuye por los canales oficiales.
27970 \end_layout
27971
27972 \begin_layout Standard
27973 Incluir material externo suministra mucha potencia y has de ser cuidadoso en no introducir riesgos de seguridad a costa de esta potencia.
27974  Un sutil error en una simple línea en un guión aparentemente inocente puede abrir la puerta a graves problemas de seguridad.
27975  Así,
27976  si no comprendes totalmente estos asuntos,
27977  recomendamos consultar a un profesional entendido en seguridad o al equipo de desarrollo de \SpecialChar LyX
27978  si tienes dudas acerca de si una plantilla dada es o no segura.
27979  Y hazlo antes de usarla en un entorno no controlado.
27980 \end_layout
27981
27982 \begin_layout Chapter
27983 \start_of_appendix
27984 Lista de funciones soportadas por \SpecialChar LyX
27985  en archivos de formato
27986 \begin_inset CommandInset label
27987 LatexCommand label
27988 name "cap:Lista-de-funciones"
27989
27990 \end_inset
27991
27992
27993 \end_layout
27994
27995 \begin_layout Standard
27996 \align center
27997 \begin_inset Tabular
27998 <lyxtabular version="3" rows="11" columns="8">
27999 <features tabularvalignment="middle">
28000 <column alignment="left" valignment="top">
28001 <column alignment="left" valignment="top">
28002 <column alignment="left" valignment="top">
28003 <column alignment="left" valignment="top">
28004 <column alignment="left" valignment="top">
28005 <column alignment="left" valignment="top">
28006 <column alignment="left" valignment="top">
28007 <column alignment="left" valignment="top">
28008 <row>
28009 <cell alignment="left" valignment="top" usebox="none">
28010 \begin_inset Text
28011
28012 \begin_layout Plain Layout
28013 accents
28014 \end_layout
28015
28016 \end_inset
28017 </cell>
28018 <cell alignment="left" valignment="top" usebox="none">
28019 \begin_inset Text
28020
28021 \begin_layout Plain Layout
28022 booktabs
28023 \end_layout
28024
28025 \end_inset
28026 </cell>
28027 <cell alignment="left" valignment="top" usebox="none">
28028 \begin_inset Text
28029
28030 \begin_layout Plain Layout
28031 feyn
28032 \end_layout
28033
28034 \end_inset
28035 </cell>
28036 <cell alignment="left" valignment="top" usebox="none">
28037 \begin_inset Text
28038
28039 \begin_layout Plain Layout
28040 listings
28041 \end_layout
28042
28043 \end_inset
28044 </cell>
28045 <cell alignment="center" valignment="top" usebox="none">
28046 \begin_inset Text
28047
28048 \begin_layout Plain Layout
28049 natbib
28050 \end_layout
28051
28052 \end_inset
28053 </cell>
28054 <cell alignment="center" valignment="top" usebox="none">
28055 \begin_inset Text
28056
28057 \begin_layout Plain Layout
28058 rotfloat
28059 \end_layout
28060
28061 \end_inset
28062 </cell>
28063 <cell alignment="center" valignment="top" usebox="none">
28064 \begin_inset Text
28065
28066 \begin_layout Plain Layout
28067 tfrupee
28068 \end_layout
28069
28070 \end_inset
28071 </cell>
28072 <cell alignment="center" valignment="top" usebox="none">
28073 \begin_inset Text
28074
28075 \begin_layout Plain Layout
28076 wasysym
28077 \end_layout
28078
28079 \end_inset
28080 </cell>
28081 </row>
28082 <row>
28083 <cell alignment="left" valignment="top" usebox="none">
28084 \begin_inset Text
28085
28086 \begin_layout Plain Layout
28087 amsbsy
28088 \end_layout
28089
28090 \end_inset
28091 </cell>
28092 <cell alignment="left" valignment="top" usebox="none">
28093 \begin_inset Text
28094
28095 \begin_layout Plain Layout
28096 calc
28097 \end_layout
28098
28099 \end_inset
28100 </cell>
28101 <cell alignment="left" valignment="top" usebox="none">
28102 \begin_inset Text
28103
28104 \begin_layout Plain Layout
28105 fixltx2e
28106 \end_layout
28107
28108 \end_inset
28109 </cell>
28110 <cell alignment="left" valignment="top" usebox="none">
28111 \begin_inset Text
28112
28113 \begin_layout Plain Layout
28114 longtable
28115 \end_layout
28116
28117 \end_inset
28118 </cell>
28119 <cell alignment="center" valignment="top" usebox="none">
28120 \begin_inset Text
28121
28122 \begin_layout Plain Layout
28123 nomencl
28124 \end_layout
28125
28126 \end_inset
28127 </cell>
28128 <cell alignment="center" valignment="top" usebox="none">
28129 \begin_inset Text
28130
28131 \begin_layout Plain Layout
28132 rsphrase
28133 \end_layout
28134
28135 \end_inset
28136 </cell>
28137 <cell alignment="center" valignment="top" usebox="none">
28138 \begin_inset Text
28139
28140 \begin_layout Plain Layout
28141 tipa
28142 \end_layout
28143
28144 \end_inset
28145 </cell>
28146 <cell alignment="center" valignment="top" usebox="none">
28147 \begin_inset Text
28148
28149 \begin_layout Plain Layout
28150 wrapfig
28151 \end_layout
28152
28153 \end_inset
28154 </cell>
28155 </row>
28156 <row>
28157 <cell alignment="left" valignment="top" usebox="none">
28158 \begin_inset Text
28159
28160 \begin_layout Plain Layout
28161 amscd
28162 \end_layout
28163
28164 \end_inset
28165 </cell>
28166 <cell alignment="left" valignment="top" usebox="none">
28167 \begin_inset Text
28168
28169 \begin_layout Plain Layout
28170 CJK
28171 \end_layout
28172
28173 \end_inset
28174 </cell>
28175 <cell alignment="left" valignment="top" usebox="none">
28176 \begin_inset Text
28177
28178 \begin_layout Plain Layout
28179 float
28180 \end_layout
28181
28182 \end_inset
28183 </cell>
28184 <cell alignment="left" valignment="top" usebox="none">
28185 \begin_inset Text
28186
28187 \begin_layout Plain Layout
28188 lyxskak
28189 \end_layout
28190
28191 \end_inset
28192 </cell>
28193 <cell alignment="center" valignment="top" usebox="none">
28194 \begin_inset Text
28195
28196 \begin_layout Plain Layout
28197 pdfcolmk
28198 \end_layout
28199
28200 \end_inset
28201 </cell>
28202 <cell alignment="center" valignment="top" usebox="none">
28203 \begin_inset Text
28204
28205 \begin_layout Plain Layout
28206 setspace
28207 \end_layout
28208
28209 \end_inset
28210 </cell>
28211 <cell alignment="center" valignment="top" usebox="none">
28212 \begin_inset Text
28213
28214 \begin_layout Plain Layout
28215 tipx
28216 \end_layout
28217
28218 \end_inset
28219 </cell>
28220 <cell alignment="center" valignment="top" usebox="none">
28221 \begin_inset Text
28222
28223 \begin_layout Plain Layout
28224 xargs
28225 \end_layout
28226
28227 \end_inset
28228 </cell>
28229 </row>
28230 <row>
28231 <cell alignment="left" valignment="top" usebox="none">
28232 \begin_inset Text
28233
28234 \begin_layout Plain Layout
28235 amsmath
28236 \end_layout
28237
28238 \end_inset
28239 </cell>
28240 <cell alignment="left" valignment="top" usebox="none">
28241 \begin_inset Text
28242
28243 \begin_layout Plain Layout
28244 color
28245 \end_layout
28246
28247 \end_inset
28248 </cell>
28249 <cell alignment="left" valignment="top" usebox="none">
28250 \begin_inset Text
28251
28252 \begin_layout Plain Layout
28253 framed
28254 \end_layout
28255
28256 \end_inset
28257 </cell>
28258 <cell alignment="left" valignment="top" usebox="none">
28259 \begin_inset Text
28260
28261 \begin_layout Plain Layout
28262 makeidx
28263 \end_layout
28264
28265 \end_inset
28266 </cell>
28267 <cell alignment="center" valignment="top" usebox="none">
28268 \begin_inset Text
28269
28270 \begin_layout Plain Layout
28271 pdfpages
28272 \end_layout
28273
28274 \end_inset
28275 </cell>
28276 <cell alignment="center" valignment="top" usebox="none">
28277 \begin_inset Text
28278
28279 \begin_layout Plain Layout
28280 shapepar
28281 \end_layout
28282
28283 \end_inset
28284 </cell>
28285 <cell alignment="center" valignment="top" usebox="none">
28286 \begin_inset Text
28287
28288 \begin_layout Plain Layout
28289 tone
28290 \end_layout
28291
28292 \end_inset
28293 </cell>
28294 <cell alignment="center" valignment="top" usebox="none">
28295 \begin_inset Text
28296
28297 \begin_layout Plain Layout
28298 xcolor
28299 \end_layout
28300
28301 \end_inset
28302 </cell>
28303 </row>
28304 <row>
28305 <cell alignment="left" valignment="top" usebox="none">
28306 \begin_inset Text
28307
28308 \begin_layout Plain Layout
28309 amssymb
28310 \end_layout
28311
28312 \end_inset
28313 </cell>
28314 <cell alignment="left" valignment="top" usebox="none">
28315 \begin_inset Text
28316
28317 \begin_layout Plain Layout
28318 covington
28319 \end_layout
28320
28321 \end_inset
28322 </cell>
28323 <cell alignment="left" valignment="top" usebox="none">
28324 \begin_inset Text
28325
28326 \begin_layout Plain Layout
28327 graphicx
28328 \end_layout
28329
28330 \end_inset
28331 </cell>
28332 <cell alignment="left" valignment="top" usebox="none">
28333 \begin_inset Text
28334
28335 \begin_layout Plain Layout
28336 marvosym
28337 \end_layout
28338
28339 \end_inset
28340 </cell>
28341 <cell alignment="center" valignment="top" usebox="none">
28342 \begin_inset Text
28343
28344 \begin_layout Plain Layout
28345 pifont
28346 \end_layout
28347
28348 \end_inset
28349 </cell>
28350 <cell alignment="center" valignment="top" usebox="none">
28351 \begin_inset Text
28352
28353 \begin_layout Plain Layout
28354 slashed
28355 \end_layout
28356
28357 \end_inset
28358 </cell>
28359 <cell alignment="center" valignment="top" usebox="none">
28360 \begin_inset Text
28361
28362 \begin_layout Plain Layout
28363 txfonts
28364 \end_layout
28365
28366 \end_inset
28367 </cell>
28368 <cell alignment="center" valignment="top" usebox="none">
28369 \begin_inset Text
28370
28371 \begin_layout Plain Layout
28372 xy
28373 \end_layout
28374
28375 \end_inset
28376 </cell>
28377 </row>
28378 <row>
28379 <cell alignment="left" valignment="top" usebox="none">
28380 \begin_inset Text
28381
28382 \begin_layout Plain Layout
28383 amstext
28384 \end_layout
28385
28386 \end_inset
28387 </cell>
28388 <cell alignment="left" valignment="top" usebox="none">
28389 \begin_inset Text
28390
28391 \begin_layout Plain Layout
28392 csquotes
28393 \end_layout
28394
28395 \end_inset
28396 </cell>
28397 <cell alignment="left" valignment="top" usebox="none">
28398 \begin_inset Text
28399
28400 \begin_layout Plain Layout
28401 hhline
28402 \end_layout
28403
28404 \end_inset
28405 </cell>
28406 <cell alignment="left" valignment="top" usebox="none">
28407 \begin_inset Text
28408
28409 \begin_layout Plain Layout
28410 mathdesign
28411 \end_layout
28412
28413 \end_inset
28414 </cell>
28415 <cell alignment="center" valignment="top" usebox="none">
28416 \begin_inset Text
28417
28418 \begin_layout Plain Layout
28419 pmboxdraw
28420 \end_layout
28421
28422 \end_inset
28423 </cell>
28424 <cell alignment="center" valignment="top" usebox="none">
28425 \begin_inset Text
28426
28427 \begin_layout Plain Layout
28428 soul
28429 \end_layout
28430
28431 \end_inset
28432 </cell>
28433 <cell alignment="center" valignment="top" usebox="none">
28434 \begin_inset Text
28435
28436 \begin_layout Plain Layout
28437 ulem
28438 \end_layout
28439
28440 \end_inset
28441 </cell>
28442 <cell alignment="center" valignment="top" usebox="none">
28443 \begin_inset Text
28444
28445 \begin_layout Plain Layout
28446 yhmath
28447 \end_layout
28448
28449 \end_inset
28450 </cell>
28451 </row>
28452 <row>
28453 <cell alignment="left" valignment="top" usebox="none">
28454 \begin_inset Text
28455
28456 \begin_layout Plain Layout
28457 amsthm
28458 \end_layout
28459
28460 \end_inset
28461 </cell>
28462 <cell alignment="left" valignment="top" usebox="none">
28463 \begin_inset Text
28464
28465 \begin_layout Plain Layout
28466 dvipost
28467 \end_layout
28468
28469 \end_inset
28470 </cell>
28471 <cell alignment="left" valignment="top" usebox="none">
28472 \begin_inset Text
28473
28474 \begin_layout Plain Layout
28475 hyperref
28476 \end_layout
28477
28478 \end_inset
28479 </cell>
28480 <cell alignment="left" valignment="top" usebox="none">
28481 \begin_inset Text
28482
28483 \begin_layout Plain Layout
28484 mathdots
28485 \end_layout
28486
28487 \end_inset
28488 </cell>
28489 <cell alignment="center" valignment="top" usebox="none">
28490 \begin_inset Text
28491
28492 \begin_layout Plain Layout
28493 polyglossia
28494 \end_layout
28495
28496 \end_inset
28497 </cell>
28498 <cell alignment="center" valignment="top" usebox="none">
28499 \begin_inset Text
28500
28501 \begin_layout Plain Layout
28502 splitidx
28503 \end_layout
28504
28505 \end_inset
28506 </cell>
28507 <cell alignment="center" valignment="top" usebox="none">
28508 \begin_inset Text
28509
28510 \begin_layout Plain Layout
28511 undertilde
28512 \end_layout
28513
28514 \end_inset
28515 </cell>
28516 <cell alignment="center" valignment="top" usebox="none">
28517 \begin_inset Text
28518
28519 \begin_layout Plain Layout
28520
28521 \end_layout
28522
28523 \end_inset
28524 </cell>
28525 </row>
28526 <row>
28527 <cell alignment="left" valignment="top" usebox="none">
28528 \begin_inset Text
28529
28530 \begin_layout Plain Layout
28531 array
28532 \end_layout
28533
28534 \end_inset
28535 </cell>
28536 <cell alignment="left" valignment="top" usebox="none">
28537 \begin_inset Text
28538
28539 \begin_layout Plain Layout
28540 endnotes
28541 \end_layout
28542
28543 \end_inset
28544 </cell>
28545 <cell alignment="left" valignment="top" usebox="none">
28546 \begin_inset Text
28547
28548 \begin_layout Plain Layout
28549 ifsym
28550 \end_layout
28551
28552 \end_inset
28553 </cell>
28554 <cell alignment="left" valignment="top" usebox="none">
28555 \begin_inset Text
28556
28557 \begin_layout Plain Layout
28558 mathrsfs
28559 \end_layout
28560
28561 \end_inset
28562 </cell>
28563 <cell alignment="center" valignment="top" usebox="none">
28564 \begin_inset Text
28565
28566 \begin_layout Plain Layout
28567 prettyref
28568 \end_layout
28569
28570 \end_inset
28571 </cell>
28572 <cell alignment="center" valignment="top" usebox="none">
28573 \begin_inset Text
28574
28575 \begin_layout Plain Layout
28576 subfig
28577 \end_layout
28578
28579 \end_inset
28580 </cell>
28581 <cell alignment="center" valignment="top" usebox="none">
28582 \begin_inset Text
28583
28584 \begin_layout Plain Layout
28585 units
28586 \end_layout
28587
28588 \end_inset
28589 </cell>
28590 <cell alignment="center" valignment="top" usebox="none">
28591 \begin_inset Text
28592
28593 \begin_layout Plain Layout
28594
28595 \end_layout
28596
28597 \end_inset
28598 </cell>
28599 </row>
28600 <row>
28601 <cell alignment="left" valignment="top" usebox="none">
28602 \begin_inset Text
28603
28604 \begin_layout Plain Layout
28605 ascii
28606 \end_layout
28607
28608 \end_inset
28609 </cell>
28610 <cell alignment="left" valignment="top" usebox="none">
28611 \begin_inset Text
28612
28613 \begin_layout Plain Layout
28614 enumitem
28615 \end_layout
28616
28617 \end_inset
28618 </cell>
28619 <cell alignment="left" valignment="top" usebox="none">
28620 \begin_inset Text
28621
28622 \begin_layout Plain Layout
28623 ifthen
28624 \end_layout
28625
28626 \end_inset
28627 </cell>
28628 <cell alignment="left" valignment="top" usebox="none">
28629 \begin_inset Text
28630
28631 \begin_layout Plain Layout
28632 mhchem
28633 \end_layout
28634
28635 \end_inset
28636 </cell>
28637 <cell alignment="center" valignment="top" usebox="none">
28638 \begin_inset Text
28639
28640 \begin_layout Plain Layout
28641 pxfonts
28642 \end_layout
28643
28644 \end_inset
28645 </cell>
28646 <cell alignment="center" valignment="top" usebox="none">
28647 \begin_inset Text
28648
28649 \begin_layout Plain Layout
28650 subscript
28651 \end_layout
28652
28653 \end_inset
28654 </cell>
28655 <cell alignment="center" valignment="top" usebox="none">
28656 \begin_inset Text
28657
28658 \begin_layout Plain Layout
28659 url
28660 \end_layout
28661
28662 \end_inset
28663 </cell>
28664 <cell alignment="center" valignment="top" usebox="none">
28665 \begin_inset Text
28666
28667 \begin_layout Plain Layout
28668
28669 \end_layout
28670
28671 \end_inset
28672 </cell>
28673 </row>
28674 <row>
28675 <cell alignment="left" valignment="top" usebox="none">
28676 \begin_inset Text
28677
28678 \begin_layout Plain Layout
28679 bbding
28680 \end_layout
28681
28682 \end_inset
28683 </cell>
28684 <cell alignment="left" valignment="top" usebox="none">
28685 \begin_inset Text
28686
28687 \begin_layout Plain Layout
28688 esint
28689 \end_layout
28690
28691 \end_inset
28692 </cell>
28693 <cell alignment="left" valignment="top" usebox="none">
28694 \begin_inset Text
28695
28696 \begin_layout Plain Layout
28697 jurabib
28698 \end_layout
28699
28700 \end_inset
28701 </cell>
28702 <cell alignment="left" valignment="top" usebox="none">
28703 \begin_inset Text
28704
28705 \begin_layout Plain Layout
28706 multicol
28707 \end_layout
28708
28709 \end_inset
28710 </cell>
28711 <cell alignment="center" valignment="top" usebox="none">
28712 \begin_inset Text
28713
28714 \begin_layout Plain Layout
28715 refstyle
28716 \end_layout
28717
28718 \end_inset
28719 </cell>
28720 <cell alignment="center" valignment="top" usebox="none">
28721 \begin_inset Text
28722
28723 \begin_layout Plain Layout
28724 textcomp
28725 \end_layout
28726
28727 \end_inset
28728 </cell>
28729 <cell alignment="center" valignment="top" usebox="none">
28730 \begin_inset Text
28731
28732 \begin_layout Plain Layout
28733 varioref
28734 \end_layout
28735
28736 \end_inset
28737 </cell>
28738 <cell alignment="center" valignment="top" usebox="none">
28739 \begin_inset Text
28740
28741 \begin_layout Plain Layout
28742
28743 \end_layout
28744
28745 \end_inset
28746 </cell>
28747 </row>
28748 <row>
28749 <cell alignment="center" valignment="top" usebox="none">
28750 \begin_inset Text
28751
28752 \begin_layout Plain Layout
28753 bm
28754 \end_layout
28755
28756 \end_inset
28757 </cell>
28758 <cell alignment="center" valignment="top" usebox="none">
28759 \begin_inset Text
28760
28761 \begin_layout Plain Layout
28762 fancybox
28763 \end_layout
28764
28765 \end_inset
28766 </cell>
28767 <cell alignment="center" valignment="top" usebox="none">
28768 \begin_inset Text
28769
28770 \begin_layout Plain Layout
28771 latexsym
28772 \end_layout
28773
28774 \end_inset
28775 </cell>
28776 <cell alignment="center" valignment="top" usebox="none">
28777 \begin_inset Text
28778
28779 \begin_layout Plain Layout
28780 multirow
28781 \end_layout
28782
28783 \end_inset
28784 </cell>
28785 <cell alignment="center" valignment="top" usebox="none">
28786 \begin_inset Text
28787
28788 \begin_layout Plain Layout
28789 rotating
28790 \end_layout
28791
28792 \end_inset
28793 </cell>
28794 <cell alignment="center" valignment="top" usebox="none">
28795 \begin_inset Text
28796
28797 \begin_layout Plain Layout
28798 textgreek
28799 \end_layout
28800
28801 \end_inset
28802 </cell>
28803 <cell alignment="center" valignment="top" usebox="none">
28804 \begin_inset Text
28805
28806 \begin_layout Plain Layout
28807 verbatim
28808 \end_layout
28809
28810 \end_inset
28811 </cell>
28812 <cell alignment="center" valignment="top" usebox="none">
28813 \begin_inset Text
28814
28815 \begin_layout Plain Layout
28816
28817 \end_layout
28818
28819 \end_inset
28820 </cell>
28821 </row>
28822 </lyxtabular>
28823
28824 \end_inset
28825
28826
28827 \end_layout
28828
28829 \begin_layout Chapter
28830 Nombres de colores disponibles para archivos de formato
28831 \begin_inset CommandInset label
28832 LatexCommand label
28833 name "cap:Nombres-de-colores"
28834
28835 \end_inset
28836
28837
28838 \end_layout
28839
28840 \begin_layout Standard
28841 Los colores listados son los colores estándar y los que se pueden modificar en las preferencias de \SpecialChar LyX
28842 .
28843 \end_layout
28844
28845 \begin_layout Section
28846
28847 \lang english
28848 Color functions
28849 \end_layout
28850
28851 \begin_layout Standard
28852
28853 \lang english
28854 The following are no real colors,
28855  but rather act on color definitions:
28856 \end_layout
28857
28858 \begin_layout Description
28859 ignore El color es ignorado
28860 \end_layout
28861
28862 \begin_layout Description
28863 inherit El color es heredado
28864 \end_layout
28865
28866 \begin_layout Description
28867 none
28868 \family roman
28869 \series medium
28870  
28871 \family default
28872 \series default
28873 Ningún color en particular,
28874  transparente o ausente
28875 \end_layout
28876
28877 \begin_layout Section
28878
28879 \lang english
28880 Static colors
28881 \end_layout
28882
28883 \begin_layout Standard
28884
28885 \lang english
28886 These are fixed colors that cannot me customized:
28887 \end_layout
28888
28889 \begin_layout Description
28890 black
28891 \end_layout
28892
28893 \begin_layout Description
28894 white
28895 \end_layout
28896
28897 \begin_layout Description
28898 blue
28899 \end_layout
28900
28901 \begin_layout Description
28902 brown
28903 \end_layout
28904
28905 \begin_layout Description
28906 cyan
28907 \end_layout
28908
28909 \begin_layout Description
28910 darkgray
28911 \end_layout
28912
28913 \begin_layout Description
28914 gray
28915 \end_layout
28916
28917 \begin_layout Description
28918 green
28919 \end_layout
28920
28921 \begin_layout Description
28922 lightgray
28923 \end_layout
28924
28925 \begin_layout Description
28926 lime
28927 \end_layout
28928
28929 \begin_layout Description
28930 magenta
28931 \end_layout
28932
28933 \begin_layout Description
28934 olive
28935 \end_layout
28936
28937 \begin_layout Description
28938 orange
28939 \end_layout
28940
28941 \begin_layout Description
28942 pink
28943 \end_layout
28944
28945 \begin_layout Description
28946 purple
28947 \end_layout
28948
28949 \begin_layout Description
28950 red
28951 \end_layout
28952
28953 \begin_layout Description
28954 teal
28955 \end_layout
28956
28957 \begin_layout Description
28958 violet
28959 \end_layout
28960
28961 \begin_layout Description
28962 yellow
28963 \end_layout
28964
28965 \begin_layout Section
28966
28967 \lang english
28968 Dynamic colors
28969 \end_layout
28970
28971 \begin_layout Standard
28972
28973 \lang english
28974 These are the colors allocated to specific elements in
28975 \lang spanish
28976  
28977 \begin_inset Flex Noun
28978 status collapsed
28979
28980 \begin_layout Plain Layout
28981 Herramientas\SpecialChar menuseparator
28982 Preferencias
28983 \end_layout
28984
28985 \end_inset
28986
28987 :
28988 \end_layout
28989
28990 \begin_layout Description
28991 added_space Color espacio añadido
28992 \end_layout
28993
28994 \begin_layout Description
28995 addedtext Color texto añadido
28996 \end_layout
28997
28998 \begin_layout Description
28999 appendix Color marcador de apéndice
29000 \end_layout
29001
29002 \begin_layout Description
29003 background Color de fondo
29004 \end_layout
29005
29006 \begin_layout Description
29007 bottomarea Color área inferior
29008 \end_layout
29009
29010 \begin_layout Description
29011 branchlabel Color etiqueta de ramas
29012 \end_layout
29013
29014 \begin_layout Description
29015 buttonbg Color fondo de botón
29016 \end_layout
29017
29018 \begin_layout Description
29019 buttonframe Color para marcos de botones de recuadro
29020 \end_layout
29021
29022 \begin_layout Description
29023 buttonhoverbg Color fondo de botón en foco
29024 \end_layout
29025
29026 \begin_layout Description
29027 changebar Color barra de cambios
29028 \end_layout
29029
29030 \begin_layout Description
29031 changedtextauthor1 Color autor 1 de texto cambiado
29032 \end_layout
29033
29034 \begin_layout Description
29035 changedtextauthor2 Color autor 2 de texto cambiado
29036 \end_layout
29037
29038 \begin_layout Description
29039 changedtextauthor3 Color autor 3 de texto cambiado 
29040 \end_layout
29041
29042 \begin_layout Description
29043 changedtextauthor4 Color autor 4 de texto cambiado
29044 \end_layout
29045
29046 \begin_layout Description
29047 changedtextauthor5 Color autor 5 de texto cambiado
29048 \end_layout
29049
29050 \begin_layout Description
29051 collapsibletext Color texto de recuadro plegable 
29052 \end_layout
29053
29054 \begin_layout Description
29055 collapsibleframe Color marco de recuadro plegable
29056 \end_layout
29057
29058 \begin_layout Description
29059 command Color texto recuadros de comando
29060 \end_layout
29061
29062 \begin_layout Description
29063 commandbg Color fondo recuadros de comando
29064 \end_layout
29065
29066 \begin_layout Description
29067 commandframe Color marco recuadros de comando
29068 \end_layout
29069
29070 \begin_layout Description
29071 comment Color etiqueta de comentarios
29072 \end_layout
29073
29074 \begin_layout Description
29075 commentbg Color fondo de comentarios
29076 \end_layout
29077
29078 \begin_layout Description
29079 cursor Color cursor
29080 \end_layout
29081
29082 \begin_layout Description
29083 deletedtext Color texto borrado
29084 \end_layout
29085
29086 \begin_layout Description
29087 deletedtextmodifier Color modificación de texto borrado
29088 \end_layout
29089
29090 \begin_layout Description
29091 depthbar Color barra de anidación en margen
29092 \end_layout
29093
29094 \begin_layout Description
29095 eolmarker Color marcador fin de línea
29096 \end_layout
29097
29098 \begin_layout Description
29099 error Color cuadro de error \SpecialChar LaTeX
29100
29101 \end_layout
29102
29103 \begin_layout Description
29104 footlabel Color etiqueta de notas a pie de página
29105 \end_layout
29106
29107 \begin_layout Description
29108 foreground 
29109 \lang english
29110 Foreground color
29111 \end_layout
29112
29113 \begin_layout Description
29114 graphicsbg Color fondo de recuadros de inserción de gráficos
29115 \end_layout
29116
29117 \begin_layout Description
29118 greyedoutbg Color fondo de recuadros de notas grises
29119 \end_layout
29120
29121 \begin_layout Description
29122 greyedoutlabel Color etiqueta de recuadros de notas grises
29123 \end_layout
29124
29125 \begin_layout Description
29126 greyedouttext Color texto de recuadros de notas grises
29127 \end_layout
29128
29129 \begin_layout Description
29130 indexlabel Color etiqueta de recuadros de índice
29131 \end_layout
29132
29133 \begin_layout Description
29134 inlinecompletion Color autofinalización en línea
29135 \end_layout
29136
29137 \begin_layout Description
29138 insetbg Color fondo de marcador de recuadro
29139 \end_layout
29140
29141 \begin_layout Description
29142 insetframe Color marco de marcador de recuadro
29143 \end_layout
29144
29145 \begin_layout Description
29146 language Color marcador de palabras en otros idiomas
29147 \end_layout
29148
29149 \begin_layout Description
29150 latex Color texto en modo \SpecialChar LaTeX
29151
29152 \end_layout
29153
29154 \begin_layout Description
29155 listingsbg Color fondo de recuadro listado de código
29156 \end_layout
29157
29158 \begin_layout Description
29159 marginlabel Color etiqueta de notas al margen
29160 \end_layout
29161
29162 \begin_layout Description
29163 math Color texto de recuadro de ecuación
29164 \end_layout
29165
29166 \begin_layout Description
29167 mathbg Color fondo de recuadro de ecuación
29168 \end_layout
29169
29170 \begin_layout Description
29171 mathcorners Color marco de recuadro de ecuación fuera de foco
29172 \end_layout
29173
29174 \begin_layout Description
29175 mathframe Color marco de recuadro de ecuación en foco
29176 \end_layout
29177
29178 \begin_layout Description
29179 mathline Color línea de ecuación
29180 \end_layout
29181
29182 \begin_layout Description
29183 mathmacrobg Color fondo de recuadro de macro matemática
29184 \end_layout
29185
29186 \begin_layout Description
29187 mathmacroblend Color mezclado macro matemática
29188 \end_layout
29189
29190 \begin_layout Description
29191 mathmacroframe Color marco de macro matemática
29192 \end_layout
29193
29194 \begin_layout Description
29195 mathmacrohoverbg Color fondo de recuadro de macro matemática bajo el ratón
29196 \end_layout
29197
29198 \begin_layout Description
29199 mathmacrolabel Color etiqueta macro matemática
29200 \end_layout
29201
29202 \begin_layout Description
29203 mathmacronewarg Color plantilla de macro para nuevos parámetros
29204 \end_layout
29205
29206 \begin_layout Description
29207 mathmacrooldarg Color plantilla de macro para antiguos parámetros
29208 \end_layout
29209
29210 \begin_layout Description
29211 newpage Color página nueva
29212 \end_layout
29213
29214 \begin_layout Description
29215 nonunique_inlinecompletion Color autofinalización en línea parte no única
29216 \end_layout
29217
29218 \begin_layout Description
29219 note Color etiqueta de notas
29220 \end_layout
29221
29222 \begin_layout Description
29223 notebg Color fondo de notas
29224 \end_layout
29225
29226 \begin_layout Description
29227 pagebreak Color salto de página/línea
29228 \end_layout
29229
29230 \begin_layout Description
29231 paragraphmarker Color símbolo marcador de fin de párrafo
29232 \end_layout
29233
29234 \begin_layout Description
29235 phantomtext Color texto de recuadro fantasma
29236 \end_layout
29237
29238 \begin_layout Description
29239 preview Color vista preliminar
29240 \end_layout
29241
29242 \begin_layout Description
29243 previewframe Color marco vista preliminar
29244 \end_layout
29245
29246 \begin_layout Description
29247 regexpframe Color marco regexp
29248 \end_layout
29249
29250 \begin_layout Description
29251
29252 \lang english
29253 scroll Color that indicates when a row can be scrolled
29254 \end_layout
29255
29256 \begin_layout Description
29257 selection Color fondo de texto seleccionado
29258 \end_layout
29259
29260 \begin_layout Description
29261 selectiontext Color de texto seleccionado
29262 \end_layout
29263
29264 \begin_layout Description
29265 shadedbg Color fondo de marco coloreado
29266 \end_layout
29267
29268 \begin_layout Description
29269 special Color texto de caracteres especiales
29270 \end_layout
29271
29272 \begin_layout Description
29273 tabularline Color línea de cuadro/tabla
29274 \end_layout
29275
29276 \begin_layout Description
29277 tabularonoffline Color línea de cuadro/tabla on/off
29278 \end_layout
29279
29280 \begin_layout Description
29281 urllabel Color etiqueta de recuadros URL
29282 \end_layout
29283
29284 \begin_layout Description
29285 urltext Color texto de recuadros URL
29286 \end_layout
29287
29288 \end_body
29289 \end_document