]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Additional.lyx
Update doc format
[lyx.git] / lib / doc / es / Additional.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 the manual 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 are numbered roman
19 % and a PDF-bookmark for the TOC is added
20 \pagenumbering{roman}
21 \let\myTOC\tableofcontents
22 \renewcommand{\tableofcontents}{%
23  \pdfbookmark[1]{\contentsname}{}
24  \myTOC
25  \cleardoublepage
26  \pagenumbering{arabic}}
27
28 % extra space for tables
29 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
30 \end_preamble
31 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
32 \use_default_options false
33 \begin_modules
34 logicalmkup
35 theorems-ams
36 theorems-ams-extended
37 multicol
38 shapepar
39 \end_modules
40 \maintain_unincluded_children no
41 \language spanish
42 \language_package default
43 \inputencoding utf8
44 \fontencoding auto
45 \font_roman "lmodern" "default"
46 \font_sans "lmss" "default"
47 \font_typewriter "lmtt" "default"
48 \font_math "auto" "auto"
49 \font_default_family default
50 \use_non_tex_fonts false
51 \font_sc false
52 \font_roman_osf false
53 \font_sans_osf false
54 \font_typewriter_osf false
55 \font_sf_scale 100 100
56 \font_tt_scale 100 100
57 \use_microtype false
58 \use_dash_ligatures false
59 \graphics default
60 \default_output_format pdf2
61 \output_sync 0
62 \bibtex_command default
63 \index_command default
64 \paperfontsize 12
65 \spacing single
66 \use_hyperref true
67 \pdf_title "Características adicionales de LyX"
68 \pdf_author "LyX Team"
69 \pdf_subject "Documentación Adicional LyX"
70 \pdf_keywords "LyX, Documentación, Adicional"
71 \pdf_bookmarks true
72 \pdf_bookmarksnumbered true
73 \pdf_bookmarksopen false
74 \pdf_bookmarksopenlevel 1
75 \pdf_breaklinks false
76 \pdf_pdfborder false
77 \pdf_colorlinks true
78 \pdf_backref false
79 \pdf_pdfusetitle false
80 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
81 \papersize a4
82 \use_geometry false
83 \use_package amsmath 1
84 \use_package amssymb 1
85 \use_package cancel 1
86 \use_package esint 1
87 \use_package mathdots 1
88 \use_package mathtools 1
89 \use_package mhchem 1
90 \use_package stackrel 1
91 \use_package stmaryrd 1
92 \use_package undertilde 1
93 \cite_engine basic
94 \cite_engine_type default
95 \biblio_style plain
96 \use_bibtopic false
97 \use_indices false
98 \paperorientation portrait
99 \suppress_date false
100 \justification true
101 \use_refstyle 0
102 \use_minted 0
103 \use_lineno 0
104 \notefontcolor #0000ff
105 \index Índice
106 \shortcut idx
107 \color #008000
108 \end_index
109 \secnumdepth 3
110 \tocdepth 3
111 \paragraph_separation indent
112 \paragraph_indentation default
113 \is_math_indent 1
114 \math_indentation default
115 \math_numbering_side default
116 \quotes_style swiss
117 \dynamic_quotes 0
118 \papercolumns 1
119 \papersides 2
120 \paperpagestyle headings
121 \tablestyle default
122 \tracking_changes false
123 \output_changes false
124 \change_bars false
125 \postpone_fragile_content false
126 \html_math_output 0
127 \html_css_as_file 0
128 \html_be_strict true
129 \docbook_table_output 0
130 \docbook_mathml_prefix 1
131 \end_header
132
133 \begin_body
134
135 \begin_layout Title
136 Características adicionales de \SpecialChar LyX
137
138 \end_layout
139
140 \begin_layout Subtitle
141 Version 2.3.x
142 \end_layout
143
144 \begin_layout Author
145 por el Equipo \SpecialChar LyX
146
147 \begin_inset Foot
148 status collapsed
149
150 \begin_layout Plain Layout
151 \noindent
152 El principal mantenedor de este archivo es 
153 \noun on
154 Richard Kimberly Heck
155 \noun default
156 .
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 Flex Code
164 status collapsed
165
166 \begin_layout Plain Layout
167 <lyx-docs@lists.lyx.org>
168 \end_layout
169
170 \end_inset
171
172 .
173 \end_layout
174
175 \end_inset
176
177
178 \end_layout
179
180 \begin_layout Standard
181 \begin_inset CommandInset toc
182 LatexCommand tableofcontents
183
184 \end_inset
185
186
187 \end_layout
188
189 \begin_layout Chapter
190 Introducción
191 \end_layout
192
193 \begin_layout Standard
194 Este manual es esencialmente la Parte II de la 
195 \emph on
196 Guía del Usuario
197 \emph default
198 .
199  La segregación de este documento obedece a una sencilla razón:
200  la 
201 \emph on
202 Guía del Usuario
203 \emph default
204  es muy extensa,
205  y contiene todas las características básicas que uno necesita conocer para preparar la mayoría de documentos.
206  Sin embargo,
207  el Equipo \SpecialChar LyX
208  ha tenido siempre el objetivo de extender las características del programa mediante diversos archivos de configuración y paquetes externos.
209  Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
210  
211 \family typewriter
212 Fizzwizzle
213 \family default
214 ,
215  puedes crear un archivo de formato (o módulo) para él sin tener que alterar el propio \SpecialChar LyX
216 .
217  Ya hemos hecho de esta manera contribuciones a varias características nuevas.
218  Este es el documento donde se explican todas estas cosas.
219 \end_layout
220
221 \begin_layout Standard
222 En este manual se describen también algunas características especiales como soporte de fax,
223  control de versiones y soporte para SGML,
224  que requieren software adicional para funcionar bien.
225  Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
226 ,
227  muy útiles para mejorar la presentación de los documentos usando directamente las poderosas características de \SpecialChar LaTeX
228 .
229  Después de todo,
230  \SpecialChar LyX
231  
232 \emph on
233 solo 
234 \emph default
235 es WYSIWYM y siempre será solo una interfaz para algunas,
236  no todas,
237  características de \SpecialChar LaTeX
238 .
239  
240 \end_layout
241
242 \begin_layout Standard
243 Si aún no has leído la 
244 \emph on
245 Introducción
246 \emph default
247 ,
248  no hay duda de que estás en el manual equivocado.
249  La 
250 \emph on
251 Introducción
252 \emph default
253  es el primer sitio al que acudir,
254  porque ahí te remitimos al manual adecuado y te explicamos los criterios y el formato de todos los manuales.
255  También deberías estar familiarizado con la 
256 \emph on
257 Guía del usuario
258 \emph default
259  y con las características fundamentales de \SpecialChar LyX
260  antes de leer éste.
261  
262 \end_layout
263
264 \begin_layout Standard
265 Puesto que todos los temas tratados en este manual dependen estrechamente de la interacción entre \SpecialChar LyX
266  y \SpecialChar LaTeX
267 ,
268  el siguiente capítulo trata sobre el trabajo interno de \SpecialChar LyX
269  y la forma de usar \SpecialChar LyX
270  para generar exactamente el código \SpecialChar LaTeX
271  adecuado.
272  Obviamente,
273  es para usuarios experimentados en \SpecialChar LyX
274 .
275 \end_layout
276
277 \begin_layout Chapter
278 \SpecialChar LyX
279  y \SpecialChar LaTeX
280
281 \end_layout
282
283 \begin_layout Section
284 Uso de \SpecialChar LaTeX
285  en \SpecialChar LyX
286
287 \end_layout
288
289 \begin_layout Standard
290 Este capítulo es tanto para 
291 \begin_inset Quotes cld
292 \end_inset
293
294 \SpecialChar TeX
295 -nicos
296 \begin_inset Quotes crd
297 \end_inset
298
299  como para curiosos de \SpecialChar LaTeX
300 .
301  En él explicaremos cómo trabajan juntos \SpecialChar LyX
302  y \SpecialChar LaTeX
303  para generar salida imprimible.
304  Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
305 .
306 \end_layout
307
308 \begin_layout Standard
309 Una vez llamamos a \SpecialChar LyX
310  
311 \begin_inset Quotes cld
312 \end_inset
313
314 interfaz WYSIWYM para \SpecialChar LaTeX
315
316 \begin_inset Quotes crd
317 \end_inset
318
319 ,
320  pero ya no es cierto.
321  Hay otros programas que también lo son.
322 \begin_inset Foot
323 status collapsed
324
325 \begin_layout Plain Layout
326 Algunos habituales son \SpecialChar TeX
327 maker y kile para Linux y \SpecialChar TeX
328 shop para OSX.
329  Están además los modos \SpecialChar LaTeX
330  de vi y emacs,
331  por supuesto.
332 \end_layout
333
334 \end_inset
335
336  Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
337  y marcar los errores en el archivo que se está editando.
338  Aunque \SpecialChar LyX
339  
340 \emph on
341 es
342 \emph default
343  un editor,
344  y 
345 \emph on
346 hace
347 \emph default
348  correr a \SpecialChar LaTeX
349 ,
350  y también marca los errores en el archivo,
351  hace mucho,
352  mucho más.
353  Gracias al concepto WYSIWYM,
354  no necesitas \SpecialChar LaTeX
355  para usar \SpecialChar LyX
356  eficazmente.
357  Además,
358  \SpecialChar LyX
359  ha añadido algunas extensiones a \SpecialChar LaTeX
360 .
361  Prueba esto en alguna ocasión:
362  selecciona 
363 \begin_inset Flex Noun
364 status collapsed
365
366 \begin_layout Plain Layout
367 Exportar\SpecialChar menuseparator
368 LaTeX
369 \end_layout
370
371 \end_inset
372
373
374 \family sans
375  
376 \family default
377 desde el menú 
378 \begin_inset Flex Noun
379 status collapsed
380
381 \begin_layout Plain Layout
382 Archivo
383 \end_layout
384
385 \end_inset
386
387 ,
388  (o 
389 \begin_inset Flex Noun
390 status collapsed
391
392 \begin_layout Plain Layout
393 Ver\SpecialChar menuseparator
394 Panel de código fuente
395 \end_layout
396
397 \end_inset
398
399 ),
400  y luego mira el preámbulo del archivo
401 \family sans
402  
403 \family typewriter
404
405 \begin_inset Flex Code
406 status collapsed
407
408 \begin_layout Plain Layout
409
410 \family typewriter
411 .tex
412 \end_layout
413
414 \end_inset
415
416  
417 \family default
418 resultante.
419  Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
420 .
421  Estas macros se definen automáticamente,
422  de acuerdo con las características elegidas para el documento.
423 \end_layout
424
425 \begin_layout Standard
426 Hay varios comandos que ejecutan \SpecialChar LaTeX
427  automáticamente.
428  Son:
429 \end_layout
430
431 \begin_layout Itemize
432 \begin_inset Flex Noun
433 status collapsed
434
435 \begin_layout Plain Layout
436
437 \family sans
438 Documento\SpecialChar menuseparator
439 Ver
440 \end_layout
441
442 \end_inset
443
444
445 \end_layout
446
447 \begin_layout Itemize
448 \begin_inset Flex Noun
449 status collapsed
450
451 \begin_layout Plain Layout
452
453 \family sans
454 Documento\SpecialChar menuseparator
455
456 \family default
457 A
458 \family sans
459 ctualizar
460 \end_layout
461
462 \end_inset
463
464
465 \end_layout
466
467 \begin_layout Standard
468 Solo llaman a \SpecialChar LaTeX
469  si el archivo ha cambiado desde la última vez que se ejecutó.
470  
471 \end_layout
472
473 \begin_layout Standard
474 Cuando \SpecialChar LyX
475  ejecuta \SpecialChar LaTeX
476  sobre el archivo que estás editando,
477  lleva a cabo los siguientes pasos:
478 \end_layout
479
480 \begin_layout Enumerate
481 Convierte el documento a \SpecialChar LaTeX
482  y guarda un archivo con extensión 
483 \begin_inset Flex Code
484 status collapsed
485
486 \begin_layout Plain Layout
487
488 \family typewriter
489 .tex
490 \end_layout
491
492 \end_inset
493
494 .
495 \end_layout
496
497 \begin_layout Enumerate
498 Ejecuta
499 \family typewriter
500  
501 \family default
502 \SpecialChar LaTeX
503  sobre el archivo
504 \family typewriter
505  
506 \family default
507
508 \begin_inset Flex Code
509 status collapsed
510
511 \begin_layout Plain Layout
512
513 \family typewriter
514 .tex
515 \end_layout
516
517 \end_inset
518
519
520 \family typewriter
521  
522 \family default
523 (quizá varias veces) y cualesquiera otros comandos (como 
524 \begin_inset Flex Code
525 status collapsed
526
527 \begin_layout Plain Layout
528 bibtex
529 \end_layout
530
531 \end_inset
532
533  o 
534 \begin_inset Flex Code
535 status collapsed
536
537 \begin_layout Plain Layout
538 makeindex
539 \end_layout
540
541 \end_inset
542
543 ) necesarios para compilar el archivo.
544 \end_layout
545
546 \begin_layout Enumerate
547 Si hay errores,
548  muestra el registro de errores.
549 \end_layout
550
551 \begin_layout Standard
552 Si has ejecutado \SpecialChar LaTeX
553  con
554 \family sans
555  
556 \family default
557
558 \begin_inset Flex Noun
559 status collapsed
560
561 \begin_layout Plain Layout
562
563 \family sans
564 Ver
565 \begin_inset space ~
566 \end_inset
567
568 DVI
569 \end_layout
570
571 \end_inset
572
573 ,
574  \SpecialChar LyX
575  ejecuta un visor DVI para mostrar la salida.
576  Si has usado
577 \family sans
578  
579 \family default
580
581 \begin_inset Flex Noun
582 status collapsed
583
584 \begin_layout Plain Layout
585
586 \family sans
587 Ver
588 \begin_inset space ~
589 \end_inset
590
591 PostScript
592 \end_layout
593
594 \end_inset
595
596 ,
597  \SpecialChar LyX
598  hace dos pasos más:
599 \end_layout
600
601 \begin_layout Itemize
602 Ejecuta 
603 \family typewriter
604 dvips
605 \family default
606  para convertir el archivo DVI a PostScript.
607 \end_layout
608
609 \begin_layout Itemize
610 Ejecuta un visor PostScript,
611  como 
612 \family typewriter
613
614 \begin_inset Flex Code
615 status collapsed
616
617 \begin_layout Plain Layout
618
619 \family typewriter
620 ghostview
621 \end_layout
622
623 \end_inset
624
625
626 \family default
627  para mostrar la salida.
628 \end_layout
629
630 \begin_layout Standard
631 \SpecialChar LyX
632  procede de forma parecida cuando ves o exportas otros formatos.
633 \end_layout
634
635 \begin_layout Section
636 Convertir archivos \SpecialChar LaTeX
637  en \SpecialChar LyX
638
639 \end_layout
640
641 \begin_layout Standard
642 Puedes importar un archivo \SpecialChar LaTeX
643  en \SpecialChar LyX
644  usando el comando
645 \family sans
646  
647 \begin_inset Flex Noun
648 status collapsed
649
650 \begin_layout Plain Layout
651
652 \family sans
653 Archivo\SpecialChar menuseparator
654 Importar\SpecialChar menuseparator
655 LaTeX
656 \end_layout
657
658 \end_inset
659
660
661 \family default
662 .
663  Esto llamará al programa llamado 
664 \begin_inset Flex Code
665 status collapsed
666
667 \begin_layout Plain Layout
668 tex2lyx
669 \end_layout
670
671 \end_inset
672
673  que generará un archivo 
674 \begin_inset Flex Code
675 status collapsed
676
677 \begin_layout Plain Layout
678 foo.lyx
679 \end_layout
680
681 \end_inset
682
683  a partir del archivo 
684 \begin_inset Flex Code
685 status collapsed
686
687 \begin_layout Plain Layout
688 foo.tex
689 \end_layout
690
691 \end_inset
692
693  y luego lo abrirá.
694 \begin_inset Foot
695 status collapsed
696
697 \begin_layout Plain Layout
698 \begin_inset Flex Code
699 status collapsed
700
701 \begin_layout Plain Layout
702 tex2lyx
703 \end_layout
704
705 \end_inset
706
707  también se puede ejecutar en línea de comandos,
708  por supuesto.
709 \end_layout
710
711 \end_inset
712
713
714 \end_layout
715
716 \begin_layout Standard
717 \begin_inset Flex Code
718 status collapsed
719
720 \begin_layout Plain Layout
721 tex2lyx
722 \end_layout
723
724 \end_inset
725
726  traducirá casi todo el \SpecialChar LaTeX
727  legal,
728  pero no todo.
729  Dejará en código \SpecialChar TeX
730  cosas que no comprende,
731  así que después de importar un archivo con 
732 \begin_inset Flex Code
733 status collapsed
734
735 \begin_layout Plain Layout
736
737 \family typewriter
738 tex2lyx
739 \end_layout
740
741 \end_inset
742
743 ,
744  puedes buscar texto en rojo y editarlo a mano para que funcione bien.
745 \end_layout
746
747 \begin_layout Standard
748 Si no sabes qué es código \SpecialChar TeX
749  lee la sección siguiente.
750 \end_layout
751
752 \begin_layout Section
753 Insertar código \SpecialChar TeX
754  en documentos \SpecialChar LyX
755  
756 \begin_inset CommandInset label
757 LatexCommand label
758 name "sec:Insertar-Código-TeX"
759
760 \end_inset
761
762
763 \end_layout
764
765 \begin_layout Standard
766 Todo lo que se puede hacer en \SpecialChar LaTeX
767  se puede hacer en \SpecialChar LyX
768 ,
769  por una razón muy simple:
770  en cualquier momento puedes insertar código \SpecialChar LaTeX
771  en un documento \SpecialChar LyX
772 .
773  \SpecialChar LyX
774  no puede,
775  y nunca podrá,
776  mostrar cada una de las posibles estructuras de \SpecialChar LaTeX
777 .
778  Si necesitas incluir comandos \SpecialChar LaTeX
779  en tu documento,
780  puedes usar los marcos de 
781 \begin_inset Flex Code
782 status collapsed
783
784 \begin_layout Plain Layout
785 código \SpecialChar TeX
786
787 \end_layout
788
789 \end_inset
790
791 ,
792  con el menú 
793 \begin_inset Flex Noun
794 status collapsed
795
796 \begin_layout Plain Layout
797
798 \family sans
799 Insertar\SpecialChar menuseparator
800 Código TeX
801 \end_layout
802
803 \end_inset
804
805 .
806 \end_layout
807
808 \begin_layout Standard
809 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
810  en un documento \SpecialChar LyX
811 .
812  El código se ve así:
813 \end_layout
814
815 \begin_layout LyX-Code
816
817 \backslash
818 begin{tabular}{ll}
819 \begin_inset Newline newline
820 \end_inset
821
822
823 \backslash
824 begin{minipage}{5cm}
825 \begin_inset Newline newline
826 \end_inset
827
828 Este es un ejemplo para un entorno minipágina.
829  En él 
830 \begin_inset Newline newline
831 \end_inset
832
833 puedes poner prácticamente todo,
834  incluso figuras y 
835 \begin_inset Newline newline
836 \end_inset
837
838 cuadros (no flotantes).
839  
840 \begin_inset Newline newline
841 \end_inset
842
843
844 \backslash
845 end{minipage}
846 \begin_inset Newline newline
847 \end_inset
848
849 &
850 \begin_inset Newline newline
851 \end_inset
852
853
854 \backslash
855 begin{minipage}{5cm}
856 \begin_inset Newline newline
857 \end_inset
858
859
860 \backslash
861 begin{verbatim}
862 \begin_inset Newline newline
863 \end_inset
864
865
866 \backslash
867 begin{minipage}{5cm}
868 \begin_inset Newline newline
869 \end_inset
870
871 Esto...
872  
873 \begin_inset Newline newline
874 \end_inset
875
876
877 \backslash
878 end{minipage}
879 \begin_inset Newline newline
880 \end_inset
881
882
883 \backslash
884 end{verbatim}
885 \begin_inset Newline newline
886 \end_inset
887
888
889 \backslash
890 end{minipage}
891 \begin_inset Newline newline
892 \end_inset
893
894
895 \backslash
896 end{tabular}
897 \end_layout
898
899 \begin_layout Standard
900 El recuadro en 
901 \begin_inset Flex Code
902 status collapsed
903
904 \begin_layout Plain Layout
905 código \SpecialChar TeX
906
907 \end_layout
908
909 \end_inset
910
911  que contiene ese texto está tras este párrafo.
912  Si estás leyendo este manual en \SpecialChar LyX
913  solo verás el código insertado en rojo.
914  Si estás leyendo una versión impresa verás los resultados reales:
915 \begin_inset Newline newline
916 \end_inset
917
918
919 \end_layout
920
921 \begin_layout Standard
922 \begin_inset ERT
923 status open
924
925 \begin_layout Plain Layout
926
927
928 \backslash
929 begin{tabular}{ll}
930 \end_layout
931
932 \begin_layout Plain Layout
933
934
935 \backslash
936 begin{minipage}{5cm}
937 \end_layout
938
939 \begin_layout Plain Layout
940
941 Este es un ejemplo para un entorno minipágina.
942  En él puedes poner prácticamente todo,
943  incluso figuras y cuadros (no flotantes).
944 \end_layout
945
946 \begin_layout Plain Layout
947
948
949 \backslash
950 end{minipage}
951 \end_layout
952
953 \begin_layout Plain Layout
954
955 &
956 \end_layout
957
958 \begin_layout Plain Layout
959
960
961 \backslash
962 begin{minipage}{5cm}
963 \end_layout
964
965 \begin_layout Plain Layout
966
967
968 \backslash
969 begin{verbatim}
970 \end_layout
971
972 \begin_layout Plain Layout
973
974
975 \backslash
976 begin{minipage}{5cm}
977 \end_layout
978
979 \begin_layout Plain Layout
980
981 Esto ...
982  
983 \end_layout
984
985 \begin_layout Plain Layout
986
987
988 \backslash
989 end{minipage}
990 \end_layout
991
992 \begin_layout Plain Layout
993
994
995 \backslash
996 end{verbatim}
997 \end_layout
998
999 \begin_layout Plain Layout
1000
1001
1002 \backslash
1003 end{minipage}
1004 \end_layout
1005
1006 \begin_layout Plain Layout
1007
1008
1009 \backslash
1010 end{tabular}
1011 \end_layout
1012
1013 \end_inset
1014
1015
1016 \begin_inset Newline newline
1017 \end_inset
1018
1019
1020 \end_layout
1021
1022 \begin_layout Standard
1023 Además de estos métodos,
1024
1025 \emph on
1026  
1027 \emph default
1028 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
1029  complejas y usar después el menú
1030 \family sans
1031  
1032 \family default
1033
1034 \begin_inset Flex Noun
1035 status collapsed
1036
1037 \begin_layout Plain Layout
1038
1039 \family sans
1040 Insert
1041 \family default
1042 ar
1043 \family sans
1044 \SpecialChar menuseparator
1045 Archivo\SpecialChar menuseparator
1046 Documento
1047 \begin_inset space ~
1048 \end_inset
1049
1050 hijo
1051 \end_layout
1052
1053 \end_inset
1054
1055
1056 \family sans
1057  
1058 \family default
1059 para incluir ese archivo (deberías seleccionar el tipo 
1060 \family sans
1061
1062 \begin_inset Flex Code
1063 status collapsed
1064
1065 \begin_layout Plain Layout
1066
1067 \family sans
1068 Entrada
1069 \end_layout
1070
1071 \end_inset
1072
1073
1074 \family default
1075 ).
1076  Recomendamos hacer esto solo si dispones de un archivo 
1077 \family typewriter
1078
1079 \begin_inset Flex Code
1080 status collapsed
1081
1082 \begin_layout Plain Layout
1083
1084 \family typewriter
1085 .tex
1086 \end_layout
1087
1088 \end_inset
1089
1090  
1091 \family default
1092 que 
1093 \emph on
1094 sepas
1095 \emph default
1096  que funciona.
1097  Si no,
1098  te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1099 \SpecialChar ldots
1100
1101 \end_layout
1102
1103 \begin_layout Standard
1104 Hay unas últimas observaciones que hacer:
1105 \end_layout
1106
1107 \begin_layout Itemize
1108 \SpecialChar LyX
1109  
1110 \emph on
1111 no
1112 \emph default
1113  comprueba si el código \SpecialChar LaTeX
1114  es correcto.
1115 \end_layout
1116
1117 \begin_layout Itemize
1118 Abstente de reinventar la rueda.
1119 \end_layout
1120
1121 \begin_layout Standard
1122 Respecto al último punto,
1123  \SpecialChar LyX
1124  tiene bastantes características incorporadas,
1125  y más que vienen.
1126  Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1127  no dispone de tal o cual función antes de hacerlo a mano.
1128  Además,
1129  hay por ahí multitud de paquetes \SpecialChar LaTeX
1130  para hacer toda clase de cosas,
1131  desde etiquetas o sobres a fantásticos cuadros multipágina.
1132  Investiga en 
1133 \begin_inset CommandInset href
1134 LatexCommand href
1135 name "CTAN"
1136 target "http://www.ctan.org/"
1137 literal "false"
1138
1139 \end_inset
1140
1141  para detalles.
1142 \end_layout
1143
1144 \begin_layout Standard
1145 Si necesitas hacer algunas cosas fantásticas en tu documento,
1146  asegúrate de investigar en un buen libro sobre \SpecialChar LaTeX
1147  para obtener ayuda.
1148  Hay unos cuantos de ellos recogidos en la bibliografía de la 
1149 \emph on
1150 Guía del Usuario
1151 \emph default
1152 .
1153 \end_layout
1154
1155 \begin_layout Section
1156 \SpecialChar LyX
1157  y el Preámbulo \SpecialChar LaTeX
1158
1159 \end_layout
1160
1161 \begin_layout Subsection
1162 Sobre el preámbulo \SpecialChar LaTeX
1163
1164 \end_layout
1165
1166 \begin_layout Standard
1167 Si conoces \SpecialChar LaTeX
1168 ,
1169  no es necesario explicar para qué sirve el preámbulo.
1170  Si no lo sabes,
1171  lo que sigue te dará algunas ideas —
1172 de nuevo recomendamos consultar un libro sobre \SpecialChar LaTeX
1173  para información adicional—
1174 .
1175  En cualquier caso,
1176  deberías leer los puntos siguientes porque detallan lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1177  de un documento \SpecialChar LyX
1178 .
1179 \end_layout
1180
1181 \begin_layout Standard
1182 El preámbulo \SpecialChar LaTeX
1183  se encuentra en el principio de un documento,
1184  
1185 \emph on
1186 antes
1187 \emph default
1188  del texto.
1189  Sirve para:
1190 \end_layout
1191
1192 \begin_layout Itemize
1193 Declarar la clase de documento.
1194 \begin_inset Newline newline
1195 \end_inset
1196
1197 \SpecialChar LyX
1198  ya lo hace por ti.
1199  Si eres un avezado 
1200 \begin_inset Quotes cld
1201 \end_inset
1202
1203 \SpecialChar LaTeX
1204 -nico
1205 \begin_inset Quotes crd
1206 \end_inset
1207
1208 ,
1209  y dispones de alguna clase personalizada de documento que deseas usar,
1210  busca información sobre cómo incluirlo en \SpecialChar LyX
1211  en el manual 
1212 \emph on
1213 Personalización
1214 \emph default
1215 .
1216  
1217 \end_layout
1218
1219 \begin_layout Itemize
1220 Declarar el empleo de paquetes.
1221 \begin_inset Newline newline
1222 \end_inset
1223
1224 Los paquetes \SpecialChar LaTeX
1225  suministran comandos especiales,
1226  que solo estarán disponibles para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1227  Por ejemplo,
1228  el paquete 
1229 \family typewriter
1230
1231 \begin_inset Flex Code
1232 status collapsed
1233
1234 \begin_layout Plain Layout
1235
1236 \family typewriter
1237 indentfirst
1238 \end_layout
1239
1240 \end_inset
1241
1242  
1243 \family default
1244 fuerza el sangrado en todos los párrafos.
1245  Hay otros paquetes para etiquetas,
1246  sobres,
1247  márgenes,
1248  etc.
1249 \end_layout
1250
1251 \begin_layout Itemize
1252 Configurar contadores,
1253  variables,
1254  longitudes y anchuras.
1255 \begin_inset Newline newline
1256 \end_inset
1257
1258 Hay varios contadores \SpecialChar LaTeX
1259  y variables que 
1260 \emph on
1261 deben 
1262 \emph default
1263 configurarse globalmente desde dentro del preámbulo para conseguir el efecto deseado.
1264  (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1265  Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1266  Otro ejemplo es el formato de las etiquetas para las listas.
1267  En realidad,
1268  puedes configurarlas donde quieras,
1269  pero es mejor hacerlo de una vez en el preámbulo.
1270 \end_layout
1271
1272 \begin_layout Itemize
1273 Declarar comandos definidos por el usuario (con 
1274 \family typewriter
1275
1276 \begin_inset Flex Code
1277 status collapsed
1278
1279 \begin_layout Plain Layout
1280
1281 \family typewriter
1282
1283 \backslash
1284 newcommand
1285 \end_layout
1286
1287 \end_inset
1288
1289
1290 \family default
1291  o 
1292 \family typewriter
1293
1294 \begin_inset Flex Code
1295 status collapsed
1296
1297 \begin_layout Plain Layout
1298
1299 \family typewriter
1300
1301 \backslash
1302 renewcommand
1303 \end_layout
1304
1305 \end_inset
1306
1307
1308 \family default
1309 )
1310 \begin_inset Newline newline
1311 \end_inset
1312
1313 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1314  que aparecen muy a menudo en un documento.
1315  Aunque el preámbulo es un buen sitio para declarar dichos comandos,
1316  
1317 \emph on
1318 pueden
1319 \emph default
1320  ser definidos en cualquier sitio (por supuesto,
1321  
1322 \emph on
1323 antes
1324 \emph default
1325  de que se vayan a usar por vez primera).
1326  Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1327  en el documento,
1328  lo que normalmente no debería suceder.
1329 \end_layout
1330
1331 \begin_layout Standard
1332 \SpecialChar LyX
1333  añade su propio conjunto de definiciones al preámbulo del archivo 
1334 \family typewriter
1335
1336 \begin_inset Flex Code
1337 status collapsed
1338
1339 \begin_layout Plain Layout
1340
1341 \family typewriter
1342 .tex
1343 \end_layout
1344
1345 \end_inset
1346
1347
1348 \family default
1349  que genera.
1350  Esto hace que los archivos \SpecialChar LaTeX
1351  generados por \SpecialChar LyX
1352  sean portables.
1353 \end_layout
1354
1355 \begin_layout Subsection
1356 Cambiar el preámbulo
1357 \end_layout
1358
1359 \begin_layout Standard
1360 Los comandos que \SpecialChar LyX
1361  añade al preámbulo de un archivo \SpecialChar LaTeX
1362  son fijos;
1363  no puedes cambiarlos sin parchear el propio \SpecialChar LyX
1364 .
1365  Sin embargo,
1366  puedes añadir tus cosas al preámbulo seleccionando 
1367 \family sans
1368
1369 \begin_inset Flex Noun
1370 status collapsed
1371
1372 \begin_layout Plain Layout
1373
1374 \family sans
1375 Preámbulo
1376 \begin_inset space ~
1377 \end_inset
1378
1379 \SpecialChar LaTeX
1380
1381 \end_layout
1382
1383 \end_inset
1384
1385  
1386 \family default
1387 en el diálogo
1388 \begin_inset Flex Noun
1389 status collapsed
1390
1391 \begin_layout Plain Layout
1392
1393 \family sans
1394  Document
1395 \family default
1396 o\SpecialChar menuseparator
1397
1398 \family sans
1399 Configuración
1400 \end_layout
1401
1402 \end_inset
1403
1404 .
1405  \SpecialChar LyX
1406  añade todo lo del diálogo a su propio preámbulo incorporado.
1407  Antes de añadir tus declaraciones en el preámbulo,
1408  deberías verificar que \SpecialChar LyX
1409  no dispone ya de soporte para lo que quieres hacer.
1410  (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además,
1411  
1412 \emph on
1413 asegúrate de que el código del preámbulo es correcto
1414 \emph default
1415 .
1416
1417 \emph on
1418  
1419 \emph default
1420 \SpecialChar LyX
1421  no comprueba esto por ti.
1422  Si hay un error,
1423  probablemente obtendrás un mensaje como 
1424 \begin_inset Quotes cld
1425 \end_inset
1426
1427
1428 \begin_inset Flex Code
1429 status collapsed
1430
1431 \begin_layout Plain Layout
1432 Missing 
1433 \backslash
1434 begin{document}
1435 \end_layout
1436
1437 \end_inset
1438
1439
1440 \begin_inset Quotes crd
1441 \end_inset
1442
1443 .
1444  Si ves este error comprueba tu preámbulo.
1445 \end_layout
1446
1447 \begin_layout Subsection
1448 Ejemplos
1449 \end_layout
1450
1451 \begin_layout Standard
1452 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del efecto que produce:
1453 \end_layout
1454
1455 \begin_layout Subsubsection
1456 Ejemplo 1:
1457  Ajustes del área de impresión
1458 \end_layout
1459
1460 \begin_layout Standard
1461 Hay dos variables en \SpecialChar LaTeX
1462 ,
1463  
1464 \family typewriter
1465
1466 \begin_inset Flex Code
1467 status collapsed
1468
1469 \begin_layout Plain Layout
1470
1471 \family typewriter
1472
1473 \backslash
1474 hoffset
1475 \end_layout
1476
1477 \end_inset
1478
1479
1480 \family default
1481  y 
1482 \family typewriter
1483
1484 \begin_inset Flex Code
1485 status collapsed
1486
1487 \begin_layout Plain Layout
1488
1489 \family typewriter
1490
1491 \backslash
1492 voffset
1493 \end_layout
1494
1495 \end_inset
1496
1497
1498 \family default
1499 ,
1500  que controlan la composición de la página,
1501  es decir,
1502  el desplazamiento horizontal y vertical del área de impresión.
1503  Estas variables son útiles para casos como,
1504  por ejemplo,
1505  la impresión de etiquetas.
1506  A veces,
1507  el tamaño de un soporte de impresión y el área realmente imprimible no coinciden.
1508  Entonces intervienen 
1509 \family typewriter
1510
1511 \begin_inset Flex Code
1512 status collapsed
1513
1514 \begin_layout Plain Layout
1515
1516 \family typewriter
1517
1518 \backslash
1519 hoffset
1520 \end_layout
1521
1522 \end_inset
1523
1524
1525 \family default
1526  y 
1527 \family typewriter
1528
1529 \begin_inset Flex Code
1530 status collapsed
1531
1532 \begin_layout Plain Layout
1533
1534 \family typewriter
1535
1536 \backslash
1537 voffset
1538 \end_layout
1539
1540 \end_inset
1541
1542
1543 \family default
1544 .
1545  
1546 \end_layout
1547
1548 \begin_layout Standard
1549
1550 \family typewriter
1551 El
1552 \family default
1553  valor predeterminado para 
1554 \family typewriter
1555
1556 \begin_inset Flex Code
1557 status collapsed
1558
1559 \begin_layout Plain Layout
1560
1561 \family typewriter
1562
1563 \backslash
1564 hoffset
1565 \end_layout
1566
1567 \end_inset
1568
1569
1570 \family default
1571  y 
1572 \family typewriter
1573
1574 \begin_inset Flex Code
1575 status collapsed
1576
1577 \begin_layout Plain Layout
1578
1579 \family typewriter
1580
1581 \backslash
1582 voffset
1583 \end_layout
1584
1585 \end_inset
1586
1587
1588 \family default
1589  es 0
1590 \begin_inset space \thinspace{}
1591 \end_inset
1592
1593 pt.,
1594  no cambia la composición de la página.
1595  Desafortunadamente,
1596  algunos controladores DVI siempre parecen alterar la paginación.
1597  No tenemos ni idea de la causa de esto ni de por qué el administrador del sistema no lo arregla.
1598  Si estás usando \SpecialChar LyX
1599  en un sistema que no administras personalmente y el responsable es un inepto,
1600  
1601 \family typewriter
1602
1603 \begin_inset Flex Code
1604 status collapsed
1605
1606 \begin_layout Plain Layout
1607
1608 \family typewriter
1609
1610 \backslash
1611 hoffset
1612 \family default
1613  
1614 \end_layout
1615
1616 \end_inset
1617
1618
1619 \family default
1620
1621 \family typewriter
1622
1623 \begin_inset Flex Code
1624 status collapsed
1625
1626 \begin_layout Plain Layout
1627
1628 \family typewriter
1629
1630 \backslash
1631 voffset
1632 \end_layout
1633
1634 \end_inset
1635
1636
1637 \family default
1638  pueden salvar el día.
1639  Supongamos que los márgenes superior e izquierdo siempre son 0.5
1640 \begin_inset space \thinspace{}
1641 \end_inset
1642
1643 in (pulgadas) demasiado grandes.
1644  Puedes añadir lo siguiente al preámbulo:
1645 \end_layout
1646
1647 \begin_layout LyX-Code
1648
1649 \backslash
1650 setlength{
1651 \backslash
1652 hoffset}{-0.5 in}
1653 \end_layout
1654
1655 \begin_layout LyX-Code
1656
1657 \backslash
1658 setlength{
1659 \backslash
1660 voffset}{-0.5 in}
1661 \end_layout
1662
1663 \begin_layout Standard
1664 ahora los márgenes deberían ser correctos.
1665 \end_layout
1666
1667 \begin_layout Subsubsection
1668 Ejemplo 2:
1669  Etiquetas
1670 \end_layout
1671
1672 \begin_layout Standard
1673 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1674  Hay un paquete estupendo disponible en CTAN,
1675  llamado 
1676 \family typewriter
1677
1678 \begin_inset Flex Code
1679 status collapsed
1680
1681 \begin_layout Plain Layout
1682
1683 \family typewriter
1684 labels.sty
1685 \end_layout
1686
1687 \end_inset
1688
1689 ,
1690
1691 \family default
1692  para imprimir hojas con etiquetas.
1693  Es posible que tu sistema no disponga de este paquete,
1694  compruébalo.
1695  Necesitarás también leer su documentación,
1696  porque nosotros no te lo vamos a explicar,
1697  pero sí te daremos un ejemplo de su empleo.
1698 \end_layout
1699
1700 \begin_layout Standard
1701 Primero,
1702  comprueba que estás utilizando la clase de documento 
1703 \family sans
1704
1705 \begin_inset Flex Code
1706 status collapsed
1707
1708 \begin_layout Plain Layout
1709
1710 \family sans
1711 article
1712 \end_layout
1713
1714 \end_inset
1715
1716 .
1717  
1718 \family default
1719 Después,
1720  debes poner en el preámbulo lo siguiente:
1721 \end_layout
1722
1723 \begin_layout LyX-Code
1724
1725 \backslash
1726 usepackage{labels}
1727 \end_layout
1728
1729 \begin_layout LyX-Code
1730
1731 \backslash
1732 LabelCols=3
1733 \end_layout
1734
1735 \begin_layout LyX-Code
1736
1737 \backslash
1738 LabelRows=7
1739 \end_layout
1740
1741 \begin_layout LyX-Code
1742
1743 \backslash
1744 LeftBorder=8mm
1745 \end_layout
1746
1747 \begin_layout LyX-Code
1748
1749 \backslash
1750 RightBorder=8mm
1751 \end_layout
1752
1753 \begin_layout LyX-Code
1754
1755 \backslash
1756 TopBorder=9mm
1757 \end_layout
1758
1759 \begin_layout LyX-Code
1760
1761 \backslash
1762 BottomBorder=2mm
1763 \end_layout
1764
1765 \begin_layout Standard
1766 Esta es la configuración para hojas de etiquetas Avery,
1767  stock #5360.
1768  Ahora estás preparado para imprimirlas,
1769  pero necesitarás insertar código \SpecialChar LaTeX
1770 ,
1771  poniendo los comandos 
1772 \family typewriter
1773
1774 \begin_inset Flex Code
1775 status collapsed
1776
1777 \begin_layout Plain Layout
1778
1779 \family typewriter
1780
1781 \backslash
1782 begin{labels}
1783 \end_layout
1784
1785 \end_inset
1786
1787
1788 \family default
1789  y 
1790 \family typewriter
1791
1792 \begin_inset Flex Code
1793 status collapsed
1794
1795 \begin_layout Plain Layout
1796
1797 \family typewriter
1798
1799 \backslash
1800 end{labels}
1801 \end_layout
1802
1803 \end_inset
1804
1805
1806 \family default
1807  antes y después,
1808  respectivamente,
1809  del texto de cada etiqueta.
1810  Esto y otras características de 
1811 \family typewriter
1812 labels.sty
1813 \family default
1814  se explican en su documentación.
1815  
1816 \end_layout
1817
1818 \begin_layout Standard
1819 Algún día,
1820  alguien escribirá un archivo de formato (
1821 \family typewriter
1822
1823 \begin_inset Flex Code
1824 status collapsed
1825
1826 \begin_layout Plain Layout
1827
1828 \family typewriter
1829 .layout
1830 \end_layout
1831
1832 \end_inset
1833
1834
1835 \family default
1836 ) para soportar directamente este paquete en \SpecialChar LyX
1837 .
1838  Puede que ese alguien seas tú.
1839 \end_layout
1840
1841 \begin_layout Subsubsection
1842 Ejemplo 3:
1843  Sangrado de párrafos
1844 \end_layout
1845
1846 \begin_layout Standard
1847 Los americanos están acostumbrados a sangrar la primera línea de 
1848 \emph on
1849 todos
1850 \emph default
1851  los párrafos.
1852 \begin_inset Foot
1853 status open
1854
1855 \begin_layout Plain Layout
1856 Por omisión,
1857  el estilo 
1858 \family typewriter
1859 spanish (babel)
1860 \family default
1861  también sangra la primera línea de todos los párrafos.
1862  Se puede cambiar con el comando 
1863 \family typewriter
1864
1865 \backslash
1866 def
1867 \backslash
1868 spanishoptions{es-noindentfirst}
1869 \family default
1870  en el preámbulo.
1871  (Las opciones de 
1872 \family typewriter
1873 spanish
1874 \family default
1875  
1876 \emph on
1877 no
1878 \emph default
1879  funcionan si se usa soporte 
1880 \family typewriter
1881 hyperref
1882 \family default
1883 ).
1884  (
1885 \emph on
1886 N.
1887  del T)
1888 \emph default
1889 .
1890 \end_layout
1891
1892 \end_inset
1893
1894
1895 \emph on
1896  
1897 \emph default
1898 Igual que con otras de sus peculiares manías,
1899  casi todos ellos se lamentarán y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar la primera línea de todos los párrafos.
1900  (Sí,
1901  estamos de guasa.
1902  ¿Lo estamos?
1903  ¡Oh,
1904  yes!)
1905 \end_layout
1906
1907 \begin_layout Standard
1908 Por supuesto,
1909  este ajuste no es el estándar en tipografía.
1910  En los libros,
1911  habitualmente solo se sangra la primera línea de un párrafo 
1912 \emph on
1913 si 
1914 \emph default
1915 sigue a otro.
1916  La idea que subyace tras el hecho de sangrar la primera línea de un párrafo es distinguir entre párrafos vecinos.
1917  Si no hay párrafo previo,
1918  porque sigue a una figura,
1919  por ejemplo,
1920  o es el primer párrafo de una sección,
1921  entonces no tiene sentido el sangrado.
1922 \end_layout
1923
1924 \begin_layout Standard
1925 Si eres un típico americano (¡otra vez de guasa!),
1926  no obstante,
1927  no te preocupes por estos esotéricos asuntos;
1928  ¡quieres tu sangrado!
1929  Pues añade esto al preámbulo:
1930 \end_layout
1931
1932 \begin_layout LyX-Code
1933
1934 \backslash
1935 usepackage{indentfirst}
1936 \end_layout
1937
1938 \begin_layout Standard
1939 Si tu distribución de \SpecialChar TeX
1940  no está descerebrada,
1941  tendrás este paquete,
1942  y todos tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que deberían tener.
1943 \end_layout
1944
1945 \begin_layout Subsubsection
1946 Ejemplo 4:
1947  Este documento
1948 \end_layout
1949
1950 \begin_layout Standard
1951 Puedes explorar el preámbulo de este documento para hacerte una idea de algunas de las cosas avanzadas que se pueden hacer.
1952  
1953 \end_layout
1954
1955 \begin_layout Section
1956 \SpecialChar LyX
1957  y errores de \SpecialChar LaTeX
1958
1959 \end_layout
1960
1961 \begin_layout Standard
1962 Cuando \SpecialChar LyX
1963  llama a \SpecialChar LaTeX
1964 ,
1965  le indica que ignore alegremente los errores y que siga adelante.
1966  Después de la ejecución de \SpecialChar LaTeX
1967  se genera un informe 
1968 \begin_inset Quotes cld
1969 \end_inset
1970
1971 post-mortem
1972 \begin_inset Quotes crd
1973 \end_inset
1974
1975 .
1976  Tras analizarlo,
1977  \SpecialChar LyX
1978  muestra una ventana con la lista de errores.
1979  Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del archivo donde está el error.
1980 \begin_inset Foot
1981 status open
1982
1983 \begin_layout Plain Layout
1984 Generalmente.
1985  El análisis del archivo log es una dura tarea,
1986  y \SpecialChar LyX
1987  no siempre acierta con el lugar correcto.
1988  Además hay casos en que \SpecialChar LaTeX
1989  informa del error en una línea,
1990  pero el error preciso es anterior.
1991  Esto no es como olvidar una llave de cierre en un programa;
1992  obtendrás error pero más tarde.
1993 \end_layout
1994
1995 \end_inset
1996
1997
1998 \end_layout
1999
2000 \begin_layout Standard
2001 A algunos les gusta mirar directamente en el archivo 
2002 \family typewriter
2003 log
2004 \family default
2005 ,
2006  que es accesible con el menú
2007 \family sans
2008  
2009 \begin_inset Flex Noun
2010 status collapsed
2011
2012 \begin_layout Plain Layout
2013
2014 \family sans
2015 Document
2016 \family default
2017 o
2018 \family sans
2019 \SpecialChar menuseparator
2020 Registro
2021 \begin_inset space ~
2022 \end_inset
2023
2024 de
2025 \begin_inset space ~
2026 \end_inset
2027
2028 LaTeX
2029 \end_layout
2030
2031 \end_inset
2032
2033 .
2034  
2035 \family default
2036 Hay algunos mensajes de error y alertas que son frecuentes.
2037  Los trataremos a continuación.
2038  Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
2039 .
2040  
2041 \end_layout
2042
2043 \begin_layout Itemize
2044
2045 \family typewriter
2046 \begin_inset Flex Code
2047 status collapsed
2048
2049 \begin_layout Plain Layout
2050
2051 \family typewriter
2052 LaTeX Warning
2053 \end_layout
2054
2055 \end_inset
2056
2057
2058 \family default
2059
2060 \begin_inset Newline newline
2061 \end_inset
2062
2063 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito de 
2064 \begin_inset Quotes cld
2065 \end_inset
2066
2067 depurar
2068 \begin_inset Quotes crd
2069 \end_inset
2070
2071  el propio código \SpecialChar LaTeX
2072 .
2073  Tendrás avisos como este si añades o cambias referencias cruzadas o entradas de bibliografía,
2074  en cuyo caso \SpecialChar LaTeX
2075  intenta decirte que debes ejecutarlo de nuevo.
2076  En general los puedes ignorar.
2077 \end_layout
2078
2079 \begin_layout Itemize
2080
2081 \family typewriter
2082 \begin_inset Flex Code
2083 status collapsed
2084
2085 \begin_layout Plain Layout
2086
2087 \family typewriter
2088 LaTeX Font Warning
2089 \end_layout
2090
2091 \end_inset
2092
2093
2094 \family default
2095
2096 \begin_inset Newline newline
2097 \end_inset
2098
2099 Otro mensaje de aviso,
2100  esta vez sobre tipografías que \SpecialChar LaTeX
2101  no encuentra.
2102  El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho \SpecialChar LaTeX
2103 .
2104  Puedes ignorarlos sin problema.
2105 \end_layout
2106
2107 \begin_layout Itemize
2108
2109 \family typewriter
2110 \begin_inset Flex Code
2111 status collapsed
2112
2113 \begin_layout Plain Layout
2114
2115 \family typewriter
2116 Overfull 
2117 \backslash
2118 hbox
2119 \end_layout
2120
2121 \end_inset
2122
2123
2124 \family default
2125
2126 \begin_inset Newline newline
2127 \end_inset
2128
2129 A \SpecialChar LaTeX
2130  le 
2131 \emph on
2132 encanta 
2133 \emph default
2134 vomitar esto.
2135
2136 \lang english
2137  It seems to generate at least one of these messages for just about any document you write.
2138
2139 \lang spanish
2140  Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2141  
2142 \lang english
2143 This happens if \SpecialChar LaTeX
2144  does not find a reasonable way to break the lines (notoriously often with typewriter font,
2145  since this does not allow for automatic break points).
2146  In many cases,
2147
2148 \lang spanish
2149  será inapreciable en la salida (suele ser solo uno o dos puntos).
2150  
2151 \lang english
2152 Sometimes,
2153  however,
2154  the lines run rather visibly into the margin;
2155  something you will not want to have in your final print.There are several global ways to try to minimize the overfull lines.
2156  Clicking 
2157 \family sans
2158 Enable micro-typographic extensions
2159 \family default
2160  in 
2161 \family sans
2162 Document\SpecialChar menuseparator
2163 Settings\SpecialChar menuseparator
2164 Fonts
2165 \family default
2166  might already improve things a lot.
2167  Furthermore,
2168  \SpecialChar LaTeX
2169  code such as the following in 
2170 \family sans
2171 Document\SpecialChar menuseparator
2172 Settings\SpecialChar menuseparator
2173 Preamble
2174 \family default
2175  usually reduces the overfull lines drastically (we use this in the preamble of this document):
2176 \end_layout
2177
2178 \begin_deeper
2179 \begin_layout LyX-Code
2180
2181 \lang english
2182
2183 \backslash
2184 tolerance 1414
2185 \begin_inset Newline newline
2186 \end_inset
2187
2188
2189 \backslash
2190 hbadness 1414
2191 \begin_inset Newline newline
2192 \end_inset
2193
2194
2195 \backslash
2196 emergencystretch 1.5em
2197 \begin_inset Newline newline
2198 \end_inset
2199
2200
2201 \backslash
2202 hfuzz 0.3pt
2203 \end_layout
2204
2205 \begin_layout Standard
2206
2207 \lang english
2208 In some cases,
2209  however,
2210  you eventually have to rewrite the text to get the line breaking right.
2211 \begin_inset Foot
2212 status collapsed
2213
2214 \begin_layout Plain Layout
2215
2216 \lang english
2217 For more information,
2218  see 
2219 \begin_inset Flex URL
2220 status open
2221
2222 \begin_layout Plain Layout
2223
2224 http://www.tex.ac.uk/FAQ-overfull.html
2225 \end_layout
2226
2227 \end_inset
2228
2229
2230 \end_layout
2231
2232 \end_inset
2233
2234
2235 \end_layout
2236
2237 \begin_layout Standard
2238
2239 \lang english
2240 In any case,
2241  you should check the respective lines,
2242  at least for the final version of your document.
2243  Your eyes will tell you if there's a problem with something that's too wide.
2244 \begin_inset Foot
2245 status collapsed
2246
2247 \begin_layout Plain Layout
2248
2249 \lang english
2250 You can also enable the `draft' option in 
2251 \begin_inset Flex Noun
2252 status collapsed
2253
2254 \begin_layout Plain Layout
2255
2256 \lang english
2257 Document\SpecialChar menuseparator
2258 Settings
2259 \end_layout
2260
2261 \end_inset
2262
2263 ,
2264  and then \SpecialChar LaTeX
2265  will draw a black box in the margin of lines that are overfull.
2266 \end_layout
2267
2268 \end_inset
2269
2270  
2271 \end_layout
2272
2273 \end_deeper
2274 \begin_layout Itemize
2275
2276 \family typewriter
2277 \begin_inset Flex Code
2278 status collapsed
2279
2280 \begin_layout Plain Layout
2281
2282 \family typewriter
2283 Underfull 
2284 \backslash
2285 hbox
2286 \end_layout
2287
2288 \end_inset
2289
2290
2291 \family default
2292
2293 \begin_inset Newline newline
2294 \end_inset
2295
2296 No tan común como su primo.
2297  
2298 \lang english
2299 This happens again if \SpecialChar LaTeX
2300  does not find a reasonable break point and consequently generates too loose lines.
2301  As with the overfull lines,
2302  you should check if this is a visible problem.
2303 \end_layout
2304
2305 \begin_layout Itemize
2306
2307 \family typewriter
2308 \begin_inset Flex Code
2309 status collapsed
2310
2311 \begin_layout Plain Layout
2312
2313 \family typewriter
2314 Overfull 
2315 \backslash
2316 vbox
2317 \end_layout
2318
2319 \end_inset
2320
2321
2322 \family default
2323  y 
2324 \family typewriter
2325
2326 \begin_inset Flex Code
2327 status collapsed
2328
2329 \begin_layout Plain Layout
2330
2331 \family typewriter
2332 Underfull 
2333 \backslash
2334 vbox
2335 \end_layout
2336
2337 \end_inset
2338
2339
2340 \family default
2341
2342 \begin_inset Newline newline
2343 \end_inset
2344
2345 Avisos sobre problemas
2346 \family typewriter
2347  
2348 \family default
2349 al saltar página.
2350  Una vez más,
2351  comprueba la salida para ver si algo ha ido mal.
2352 \end_layout
2353
2354 \begin_layout Itemize
2355
2356 \family typewriter
2357 \begin_inset Flex Code
2358 status collapsed
2359
2360 \begin_layout Plain Layout
2361
2362 \family typewriter
2363 LaTeX Error:
2364  File 
2365 \begin_inset Quotes els
2366 \end_inset
2367
2368 Xxxx
2369 \begin_inset Quotes ers
2370 \end_inset
2371
2372  not found
2373 \end_layout
2374
2375 \end_inset
2376
2377
2378 \family default
2379
2380 \begin_inset Newline newline
2381 \end_inset
2382
2383 El archivo 
2384 \begin_inset Quotes cld
2385 \end_inset
2386
2387 Xxxx
2388 \begin_inset Quotes crd
2389 \end_inset
2390
2391  no está instalado en el sistema.
2392  Generalmente esto aparece porque algún paquete requerido por el documento no está instalado.
2393  Si no has tocado el preámbulo o no has usado el comando 
2394 \family typewriter
2395
2396 \begin_inset Flex Code
2397 status collapsed
2398
2399 \begin_layout Plain Layout
2400
2401 \family typewriter
2402
2403 \backslash
2404 usepackage{}
2405 \end_layout
2406
2407 \end_inset
2408
2409
2410 \family default
2411 ,
2412  entonces alguno de los paquetes que \SpecialChar LyX
2413  ha de cargar se ha perdido.
2414  Utiliza
2415 \family sans
2416  
2417 \begin_inset Flex Noun
2418 status collapsed
2419
2420 \begin_layout Plain Layout
2421
2422 \family sans
2423 Ayuda\SpecialChar menuseparator
2424 Configuración
2425 \family default
2426
2427 \begin_inset space ~
2428 \end_inset
2429
2430
2431 \family sans
2432 de
2433 \begin_inset space ~
2434 \end_inset
2435
2436 Latex
2437 \end_layout
2438
2439 \end_inset
2440
2441  
2442 \family default
2443 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2444 .
2445  Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2446  (con
2447 \family sans
2448  
2449 \begin_inset Flex Noun
2450 status collapsed
2451
2452 \begin_layout Plain Layout
2453
2454 \family sans
2455 Herramientas\SpecialChar menuseparator
2456 Reconfigurar
2457 \end_layout
2458
2459 \end_inset
2460
2461
2462 \family default
2463 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2464 \begin_inset Newline newline
2465 \end_inset
2466
2467 Si has utilizado el comando 
2468 \family typewriter
2469
2470 \begin_inset Flex Code
2471 status collapsed
2472
2473 \begin_layout Plain Layout
2474
2475 \family typewriter
2476
2477 \backslash
2478 usepackage{}
2479 \end_layout
2480
2481 \end_inset
2482
2483  
2484 \family default
2485 pero el paquete en cuestión no está instalado,
2486  deberás instalarlo.
2487
2488 \family typewriter
2489  
2490 \end_layout
2491
2492 \begin_layout Itemize
2493
2494 \family typewriter
2495 \begin_inset Flex Code
2496 status collapsed
2497
2498 \begin_layout Plain Layout
2499
2500 \family typewriter
2501 LaTeX Error:
2502  Unknown option
2503 \end_layout
2504
2505 \end_inset
2506
2507
2508 \family default
2509
2510 \begin_inset Newline newline
2511 \end_inset
2512
2513 Los mensajes de error que comienzan así te informan de que has especificado una opción errónea o no definida en algún paquete.
2514  Consulta la documentación del paquete.
2515 \end_layout
2516
2517 \begin_layout Itemize
2518
2519 \family typewriter
2520 \begin_inset Flex Code
2521 status collapsed
2522
2523 \begin_layout Plain Layout
2524 Undefined control sequence
2525 \end_layout
2526
2527 \end_inset
2528
2529
2530 \family default
2531
2532 \begin_inset Newline newline
2533 \end_inset
2534
2535 Si has insertado código \SpecialChar LaTeX
2536  con errores de tipografía tendrás un aviso de estos.
2537  También puedes haber olvidado cargar un paquete.
2538  En todo caso,
2539  este aviso suele indicar el uso de un comando no definido o mal definido.
2540 \end_layout
2541
2542 \begin_layout Standard
2543 Hay otros mensajes de aviso y de error.
2544  Algunos se explican por sí mismos.
2545  Estos son generalmente mensajes de \SpecialChar LaTeX
2546 .
2547  Otros son francamente crípticos.
2548  Estos realmente son mensajes de error de \SpecialChar TeX
2549 ,
2550  y no tenemos pistas sobre su significado o sobre cómo descifrarlos.
2551  
2552 \end_layout
2553
2554 \begin_layout Standard
2555 Si recibes mensajes de error,
2556  deberías seguir la siguiente secuencia general:
2557 \end_layout
2558
2559 \begin_layout Enumerate
2560 Revisa el código \SpecialChar LaTeX
2561  que hayas insertado y busca errores tipográficos.
2562 \end_layout
2563
2564 \begin_layout Enumerate
2565 Si no los hay,
2566  comprueba que has usado correctamente el (los) comando(s).
2567 \end_layout
2568
2569 \begin_layout Enumerate
2570 Si observas un puñado de cuadros de error amontonados muy al principio del documento,
2571  —
2572 especialmente si ves un 
2573 \begin_inset Quotes cld
2574 \end_inset
2575
2576
2577 \begin_inset Flex Code
2578 status collapsed
2579
2580 \begin_layout Plain Layout
2581 Missing 
2582 \backslash
2583 begin{document}
2584 \end_layout
2585
2586 \end_inset
2587
2588
2589 \begin_inset Quotes crd
2590 \end_inset
2591
2592
2593  significa que los errores están en el preámbulo.
2594  Empieza por depurar el preámbulo.
2595 \end_layout
2596
2597 \begin_layout Enumerate
2598 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2599 ,
2600  la primera sospecha recae en tu propia distribución de \SpecialChar LaTeX
2601 .
2602  Comprueba si faltan paquetes e instálalos.
2603 \end_layout
2604
2605 \begin_layout Enumerate
2606 De acuerdo,
2607  no faltan paquetes.
2608  ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2609 ?
2610  Concretamente,
2611  ¿has hecho un mal uso de alguna de ellas,
2612  como insertar manualmente montones de 
2613 \family sans
2614
2615 \begin_inset Flex Code
2616 status collapsed
2617
2618 \begin_layout Plain Layout
2619
2620 \family sans
2621 Espacios
2622 \family default
2623
2624 \begin_inset space ~
2625 \end_inset
2626
2627
2628 \family sans
2629 protegidos
2630 \end_layout
2631
2632 \end_inset
2633
2634 ,
2635  
2636 \begin_inset Flex Code
2637 status collapsed
2638
2639 \begin_layout Plain Layout
2640
2641 \family sans
2642 Saltos
2643 \family default
2644
2645 \begin_inset space ~
2646 \end_inset
2647
2648
2649 \family sans
2650 de
2651 \family default
2652
2653 \begin_inset space ~
2654 \end_inset
2655
2656
2657 \family sans
2658 línea
2659 \end_layout
2660
2661 \end_inset
2662
2663  
2664 \family default
2665
2666 \family sans
2667
2668 \begin_inset Flex Code
2669 status collapsed
2670
2671 \begin_layout Plain Layout
2672
2673 \family sans
2674 Saltos
2675 \family default
2676
2677 \begin_inset space ~
2678 \end_inset
2679
2680
2681 \family sans
2682 de
2683 \family default
2684
2685 \begin_inset space ~
2686 \end_inset
2687
2688
2689 \family sans
2690 página
2691 \end_layout
2692
2693 \end_inset
2694
2695
2696 \family default
2697 ?
2698  ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo adecuado?
2699  
2700 \end_layout
2701
2702 \begin_layout Enumerate
2703 Todo es correcto,
2704  no has utilizado ninguna de las opciones de ajuste fino,
2705  y has cumplido las reglas.
2706  ¿Has intentado hacer una fantástica maniobra?
2707  ¿Quizá has hecho algo 
2708 \emph on
2709 funky
2710 \emph default
2711  en una ecuación o en un cuadro,
2712  como insertar un gráfico en una celda?
2713  
2714 \end_layout
2715
2716 \begin_layout Enumerate
2717 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2718  no encuentra dónde quebrar una línea?
2719  Por omisión,
2720  \SpecialChar LaTeX
2721  es más bien estricto en relación al espacio extra entre palabras que añadirá para romper una línea.
2722  Preferiblemente,
2723  deberías rehacer el párrafo para evitar el problema.
2724 \end_layout
2725
2726 \begin_layout Enumerate
2727 ¿Te has pasado con la anidación?
2728  \SpecialChar LyX
2729 ,
2730  actualmente,
2731  no comprueba si estás dentro de los límites para los entornos anidables.
2732  Si anidas un puñado de entornos hasta el nivel 17,
2733  ahí está el problema.
2734  (El límite en \SpecialChar LaTeX
2735  es cinco).
2736 \end_layout
2737
2738 \begin_layout Enumerate
2739 Vale,
2740  no recibes ningún mensaje de error,
2741  pero la salida es horrorosa.
2742  Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2743  tienes que:
2744 \end_layout
2745
2746 \begin_deeper
2747 \begin_layout Enumerate
2748 ajustar el tamaño de la figura a la página.
2749 \end_layout
2750
2751 \begin_layout Enumerate
2752 ajustar el cuadro para que quepa.
2753 \end_layout
2754
2755 \end_deeper
2756 \begin_layout Enumerate
2757 Si la salida sigue dando problemas,
2758  y no has probado nada raro ni has empleado mal opciones de ajuste fino,
2759  no estamos seguros de lo que está equivocado.
2760 \end_layout
2761
2762 \begin_layout Standard
2763 Si todo esto no ayuda,
2764  bueno,
2765  
2766 \emph on
2767 quizá
2768 \emph default
2769  has encontrado un 
2770 \emph on
2771 bug
2772 \emph default
2773  (fallo) en \SpecialChar LyX
2774 \SpecialChar ldots
2775
2776 \end_layout
2777
2778 \begin_layout Chapter
2779 Herramientas suplementarias
2780 \end_layout
2781
2782 \begin_layout Section
2783 Personalizar bibliografías con Bib\SpecialChar TeX
2784
2785 \lang english
2786  or Biblatex
2787 \end_layout
2788
2789 \begin_layout Standard
2790 Los fundamentos del uso de Bib\SpecialChar TeX
2791
2792 \lang english
2793  or 
2794 \family sans
2795 Biblatex
2796 \family default
2797 \lang spanish
2798  se explican en la sección 
2799 \emph on
2800 Bases de datos bibliográficos
2801 \emph default
2802 de la 
2803 \emph on
2804 Guía del Usuario
2805 \emph default
2806 .
2807  Las siguientes subsecciones describen características especiales de bibliografía soportadas por \SpecialChar LyX
2808 .
2809 \end_layout
2810
2811 \begin_layout Subsection
2812 Estilos alternativos de cita
2813 \end_layout
2814
2815 \begin_layout Standard
2816 El estilo normal de Bib\SpecialChar TeX
2817  usa números (p.
2818 \begin_inset space \thinspace{}
2819 \end_inset
2820
2821 ej.
2822 \begin_inset space \space{}
2823 \end_inset
2824
2825
2826 \begin_inset Quotes cld
2827 \end_inset
2828
2829 [12]
2830 \begin_inset Quotes crd
2831 \end_inset
2832
2833 ) para referir una cita bibliográfica.
2834  Sin embargo,
2835  en muchas disciplinas científicas se emplean otros estilos.
2836  El más común es el estilo autor-año (p.
2837 \begin_inset space \thinspace{}
2838 \end_inset
2839
2840 ej.
2841 \begin_inset space \space{}
2842 \end_inset
2843
2844
2845 \begin_inset Quotes cld
2846 \end_inset
2847
2848 Knuth 1984a
2849 \begin_inset Quotes crd
2850 \end_inset
2851
2852 ).
2853  \SpecialChar LyX
2854  soportathree paquetes que suministra este estilo,
2855
2856 \lang english
2857  
2858 \begin_inset Flex Code
2859 status collapsed
2860
2861 \begin_layout Plain Layout
2862
2863 \lang english
2864 biblatex
2865 \end_layout
2866
2867 \end_inset
2868
2869 ,
2870
2871 \lang spanish
2872  
2873 \family typewriter
2874
2875 \begin_inset Flex Code
2876 status collapsed
2877
2878 \begin_layout Plain Layout
2879
2880 \family typewriter
2881 natbib
2882 \end_layout
2883
2884 \end_inset
2885
2886
2887 \family default
2888  y 
2889 \family typewriter
2890
2891 \begin_inset Flex Code
2892 status collapsed
2893
2894 \begin_layout Plain Layout
2895
2896 \family typewriter
2897 jurabib
2898 \end_layout
2899
2900 \end_inset
2901
2902
2903 \family default
2904 .
2905  
2906 \lang english
2907 Each of these 
2908 \lang spanish
2909 paquetes 
2910 \lang english
2911 have
2912 \lang spanish
2913  sus pros y sus contras,
2914  que no podemos detallar aquí.
2915  Si solo necesitas un estilo sencillo autor-año (o numérico)
2916 \family typewriter
2917  
2918 \family default
2919 o si quieres
2920 \family typewriter
2921  
2922 \family default
2923 emplear un archivo de estilo sin contador,
2924  probablemente tu elección debería ser 
2925 \family typewriter
2926
2927 \begin_inset Flex Code
2928 status collapsed
2929
2930 \begin_layout Plain Layout
2931
2932 \family typewriter
2933 natbib
2934 \end_layout
2935
2936 \end_inset
2937
2938
2939 \family default
2940 .
2941  
2942 \lang english
2943 If you look for specific citation styles common in law studies
2944 \lang spanish
2945  deberías considerar el nuevo paquete 
2946 \family typewriter
2947
2948 \begin_inset Flex Code
2949 status collapsed
2950
2951 \begin_layout Plain Layout
2952
2953 \family typewriter
2954 jurabib
2955 \end_layout
2956
2957 \end_inset
2958
2959
2960 \family default
2961 .
2962
2963 \lang english
2964  If you want to have full control over the formatting or look for advanced features such as ibidem,
2965  footnote citations,
2966  full title citations,
2967  advanced date formats (such as 400 BC) or full localization to other languages than English,
2968  you should definitely consider 
2969 \begin_inset Flex Code
2970 status collapsed
2971
2972 \begin_layout Plain Layout
2973
2974 \lang english
2975 biblatex
2976 \end_layout
2977
2978 \end_inset
2979
2980 ,
2981  which exceeds all other packages in terms of features,
2982  but is also quite heavy and more resource-hungry.
2983 \end_layout
2984
2985 \begin_layout Standard
2986 El manejo de 
2987 \lang english
2988 these
2989 \lang spanish
2990  paquetes es básicamente el mismo.
2991  Ve al submenú
2992 \family sans
2993  
2994 \begin_inset Flex Noun
2995 status collapsed
2996
2997 \begin_layout Plain Layout
2998
2999 \family sans
3000 Documento\SpecialChar menuseparator
3001
3002 \family default
3003 C
3004 \family sans
3005 onfiguración
3006 \end_layout
3007
3008 \end_inset
3009
3010
3011 \family default
3012  y selecciona en el panel
3013 \begin_inset Flex Noun
3014 status collapsed
3015
3016 \begin_layout Plain Layout
3017
3018 \family sans
3019  Bibliografía
3020 \end_layout
3021
3022 \end_inset
3023
3024  
3025 \begin_inset Flex Noun
3026 status collapsed
3027
3028 \begin_layout Plain Layout
3029
3030 \lang english
3031 \begin_inset Flex Noun
3032 status collapsed
3033
3034 \begin_layout Plain Layout
3035
3036 \lang english
3037 Style Format
3038 \end_layout
3039
3040 \end_inset
3041
3042  
3043 \begin_inset Flex Noun
3044 status collapsed
3045
3046 \begin_layout Plain Layout
3047
3048 \lang english
3049 Biblatex
3050 \end_layout
3051
3052 \end_inset
3053
3054 ,
3055  
3056 \begin_inset Flex Noun
3057 status collapsed
3058
3059 \begin_layout Plain Layout
3060
3061 \lang english
3062 Biblatex (Natbib mode)
3063 \end_layout
3064
3065 \end_inset
3066
3067 ,
3068
3069 \family sans
3070 \lang spanish
3071  Natbib
3072 \family default
3073 \lang english
3074 (BibTeX)
3075 \end_layout
3076
3077 \end_inset
3078
3079  o
3080 \family sans
3081  
3082 \begin_inset Flex Noun
3083 status collapsed
3084
3085 \begin_layout Plain Layout
3086
3087 \family sans
3088 Jurabib
3089 \family default
3090 \lang english
3091  (BibTeX)
3092 \end_layout
3093
3094 \end_inset
3095
3096
3097 \family default
3098 \lang english
3099  (see sec.
3100 \begin_inset space ~
3101 \end_inset
3102
3103 6.5.3 in the User's Guide for more information on these choices)
3104 \lang spanish
3105 .
3106  Con 
3107 \lang english
3108 all these
3109 \lang spanish
3110  paquetes dispondrás de algunas características extras en el diálogo y podrás elegir el estilo de las citas (
3111 \begin_inset Quotes cld
3112 \end_inset
3113
3114 Knuth 1984
3115 \begin_inset Quotes crd
3116 \end_inset
3117
3118 ,
3119  
3120 \begin_inset Quotes cld
3121 \end_inset
3122
3123 Knuth (1984)
3124 \begin_inset Quotes crd
3125 \end_inset
3126
3127 ,
3128  
3129 \begin_inset Quotes cld
3130 \end_inset
3131
3132 Knuth,
3133  1984
3134 \begin_inset Quotes crd
3135 \end_inset
3136
3137 ,
3138  
3139 \begin_inset Quotes cld
3140 \end_inset
3141
3142 1984
3143 \begin_inset Quotes crd
3144 \end_inset
3145
3146  etc.).
3147  Ten en cuenta que los 
3148 \lang english
3149 either
3150 \lang spanish
3151  paquete necesitan archivos de estilo específicamente diseñados (all incluyen el suyo propio,
3152  pero hay muchos otros archivos de estilo disponibles e incluso un programa interactivo
3153 \begin_inset Foot
3154 status collapsed
3155
3156 \begin_layout Plain Layout
3157 Véase 
3158 \begin_inset Flex URL
3159 status collapsed
3160
3161 \begin_layout Plain Layout
3162
3163 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3164 \end_layout
3165
3166 \end_inset
3167
3168
3169 \end_layout
3170
3171 \end_inset
3172
3173  para confeccionar estilos para 
3174 \family typewriter
3175 natbib
3176 \family default
3177 ).
3178 \end_layout
3179
3180 \begin_layout Subsection
3181
3182 \lang english
3183 Subdivided
3184 \lang spanish
3185 Bibliografía
3186 \end_layout
3187
3188 \begin_layout Standard
3189 En ocasiones,
3190  es posible que necesites dividir la bibliografía en secciones.
3191  Por ejemplo,
3192  si eres un historiador,
3193  la posibilidad de separar fuentes y trabajos científicos es probablemente un imperativo.
3194  Desafortunadamente,
3195  Bib\SpecialChar TeX
3196  no permite hacer esto por sí solo.
3197  Pero la buena noticia es que,
3198  con la ayuda de ciertos paquetes \SpecialChar LaTeX
3199 ,
3200  Bib\SpecialChar TeX
3201  puede ampliar su cometido para conseguirlo.
3202 \end_layout
3203
3204 \begin_layout Standard
3205 \SpecialChar LyX
3206  provee soporte nativo para uno de estos paquetes,
3207  
3208 \family typewriter
3209
3210 \begin_inset Flex Code
3211 status collapsed
3212
3213 \begin_layout Plain Layout
3214
3215 \family typewriter
3216 bibtopic
3217 \end_layout
3218
3219 \end_inset
3220
3221
3222 \family default
3223 .
3224 \begin_inset Foot
3225 status collapsed
3226
3227 \begin_layout Plain Layout
3228 Disponible en 
3229 \begin_inset Flex URL
3230 status collapsed
3231
3232 \begin_layout Plain Layout
3233
3234 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3235 \end_layout
3236
3237 \end_inset
3238
3239
3240 \end_layout
3241
3242 \end_inset
3243
3244  La ventaja de este paquete (comparado con otros como 
3245 \family typewriter
3246
3247 \begin_inset Flex Code
3248 status collapsed
3249
3250 \begin_layout Plain Layout
3251
3252 \family typewriter
3253 multibib
3254 \end_layout
3255
3256 \end_inset
3257
3258
3259 \family default
3260 ) es que no necesitas definir nuevos comandos de cita.
3261  Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos que incluyen las entradas para las distintas secciones de la bibliografía.
3262  Por ejemplo:
3263  si quieres dividir tu bibliografía en las secciones 
3264 \begin_inset Quotes cld
3265 \end_inset
3266
3267 Fuentes
3268 \begin_inset Quotes crd
3269 \end_inset
3270
3271  y 
3272 \begin_inset Quotes cld
3273 \end_inset
3274
3275 Trabajos científicos
3276 \begin_inset Quotes crd
3277 \end_inset
3278
3279 ,
3280  primero debes crear dos bases de datos,
3281  p.
3282 \begin_inset space \thinspace{}
3283 \end_inset
3284
3285 ej.
3286 \begin_inset space ~
3287 \end_inset
3288
3289
3290 \family typewriter
3291
3292 \begin_inset Flex Code
3293 status collapsed
3294
3295 \begin_layout Plain Layout
3296
3297 \family typewriter
3298 fuentes.bib
3299 \end_layout
3300
3301 \end_inset
3302
3303
3304 \family default
3305  y 
3306 \family typewriter
3307
3308 \begin_inset Flex Code
3309 status collapsed
3310
3311 \begin_layout Plain Layout
3312
3313 \family typewriter
3314 trabajos.bib
3315 \end_layout
3316
3317 \end_inset
3318
3319
3320 \family default
3321 .
3322 \end_layout
3323
3324 \begin_layout Standard
3325 Ve a
3326 \family sans
3327  
3328 \begin_inset Flex Noun
3329 status collapsed
3330
3331 \begin_layout Plain Layout
3332
3333 \family sans
3334 Documento\SpecialChar menuseparator
3335 Configuración
3336 \end_layout
3337
3338 \end_inset
3339
3340
3341 \family default
3342  y selecciona en el panel
3343 \family sans
3344  
3345 \begin_inset Flex Noun
3346 status collapsed
3347
3348 \begin_layout Plain Layout
3349
3350 \family sans
3351 Bibliografía
3352 \end_layout
3353
3354 \end_inset
3355
3356  
3357 \family default
3358 la opción
3359 \family sans
3360  
3361 \begin_inset Flex Noun
3362 status collapsed
3363
3364 \begin_layout Plain Layout
3365
3366 \lang english
3367 Subdivided bibliography
3368 \end_layout
3369
3370 \end_inset
3371
3372
3373 \family default
3374 .
3375  Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3376 ,
3377  una para cada sección de la bibliografía.
3378  Volviendo a nuestro ejemplo:
3379  Inserta una bibliografía Bib\SpecialChar TeX
3380  para la base de datos 
3381 \family typewriter
3382
3383 \begin_inset Flex Code
3384 status collapsed
3385
3386 \begin_layout Plain Layout
3387
3388 \family typewriter
3389 fuentes.bib
3390 \end_layout
3391
3392 \end_inset
3393
3394
3395 \family default
3396  y otra para la base de datos 
3397 \family typewriter
3398
3399 \begin_inset Flex Code
3400 status collapsed
3401
3402 \begin_layout Plain Layout
3403
3404 \family typewriter
3405 trabajos.bib
3406 \end_layout
3407
3408 \end_inset
3409
3410
3411 \family default
3412 .
3413  Eres libre de usar estilos diferentes o iguales para cada sección.
3414  Por otra parte,
3415  puedes elegir si la sección bibliográfica debe contener 
3416 \begin_inset Quotes cld
3417 \end_inset
3418
3419 todas las referencias citadas
3420 \begin_inset Quotes crd
3421 \end_inset
3422
3423  de la base de datos especificada (así es por omisión),
3424  
3425 \begin_inset Quotes cld
3426 \end_inset
3427
3428 todas las referencias no citadas
3429 \begin_inset Quotes crd
3430 \end_inset
3431
3432  o incluso 
3433 \begin_inset Quotes cld
3434 \end_inset
3435
3436 todas las referencias
3437 \begin_inset Quotes crd
3438 \end_inset
3439
3440 .
3441  Esto podría ser útil para separar la bibliografía en tres secciones:
3442  
3443 \begin_inset Quotes cld
3444 \end_inset
3445
3446 Fuentes citadas
3447 \begin_inset Quotes crd
3448 \end_inset
3449
3450 ,
3451  
3452 \begin_inset Quotes cld
3453 \end_inset
3454
3455 Fuentes no citadas
3456 \begin_inset Quotes crd
3457 \end_inset
3458
3459  y 
3460 \begin_inset Quotes cld
3461 \end_inset
3462
3463 Trabajos científicos
3464 \begin_inset Quotes crd
3465 \end_inset
3466
3467 .
3468  Los títulos para las secciones pueden añadirse como secciones ordinarias o como subsecciones.
3469  Como 
3470 \family typewriter
3471
3472 \begin_inset Flex Code
3473 status collapsed
3474
3475 \begin_layout Plain Layout
3476
3477 \family typewriter
3478 bibtopic
3479 \end_layout
3480
3481 \end_inset
3482
3483
3484 \family default
3485  quita el título de la bibliografía,
3486  debes reañadirlo manualmente (como un capítulo* o sección*,
3487  por ejemplo).
3488 \end_layout
3489
3490 \begin_layout Standard
3491
3492 \lang english
3493 With 
3494 \family sans
3495 Biblatex
3496 \family default
3497 ,
3498  the procedure is a bit different.
3499  Since 
3500 \family typewriter
3501 bibtopic
3502 \family default
3503  does not work with 
3504 \family sans
3505 Biblatex
3506 \family default
3507 ,
3508  the aforementioned 
3509 \begin_inset Flex Noun
3510 status collapsed
3511
3512 \begin_layout Plain Layout
3513
3514 \lang english
3515 Subdivided bibliography
3516 \end_layout
3517
3518 \end_inset
3519
3520  option is disabled if you use 
3521 \family sans
3522 Biblatex
3523 \family default
3524 .
3525  However,
3526  
3527 \family sans
3528 Biblatex
3529 \family default
3530  provides its own means to generate subdivided bibliographies.
3531  You can either add keywords to bibliography entries via the 
3532 \begin_inset Flex Code
3533 status collapsed
3534
3535 \begin_layout Plain Layout
3536
3537 \lang english
3538 keywords
3539 \end_layout
3540
3541 \end_inset
3542
3543  entry option and then filter bibliography sections by keyword (by adding 
3544 \begin_inset Flex Code
3545 status collapsed
3546
3547 \begin_layout Plain Layout
3548
3549 \lang english
3550 keyword=mykeyword
3551 \end_layout
3552
3553 \end_inset
3554
3555  to the 
3556 \begin_inset Flex Noun
3557 status collapsed
3558
3559 \begin_layout Plain Layout
3560
3561 \lang english
3562 Options
3563 \end_layout
3564
3565 \end_inset
3566
3567  field of the dialog that opens if you right-click on the 
3568 \begin_inset Flex Noun
3569 status collapsed
3570
3571 \begin_layout Plain Layout
3572
3573 \lang english
3574 Biblatex Generated Bibliography
3575 \end_layout
3576
3577 \end_inset
3578
3579  button),
3580  or you can filter by entry types (such as 
3581 \emph on
3582 book
3583 \emph default
3584  or 
3585 \emph on
3586 article
3587 \emph default
3588 ) by entering e.
3589 \begin_inset space \thinspace{}
3590 \end_inset
3591
3592 g.
3593  
3594 \begin_inset Flex Code
3595 status collapsed
3596
3597 \begin_layout Plain Layout
3598
3599 \lang english
3600 type=book
3601 \end_layout
3602
3603 \end_inset
3604
3605  or 
3606 \begin_inset Flex Code
3607 status collapsed
3608
3609 \begin_layout Plain Layout
3610
3611 \lang english
3612 nottype=collection
3613 \end_layout
3614
3615 \end_inset
3616
3617  to the mentioned 
3618 \begin_inset Flex Noun
3619 status collapsed
3620
3621 \begin_layout Plain Layout
3622
3623 \lang english
3624 Options
3625 \end_layout
3626
3627 \end_inset
3628
3629  field,
3630  or you can create so-called 
3631 \begin_inset Quotes eld
3632 \end_inset
3633
3634 Bibliography Categories
3635 \begin_inset Quotes erd
3636 \end_inset
3637
3638  to which you can assign individual entries.
3639  Please refer to the Biblatex manual,
3640  section 
3641 \emph on
3642 Subdivided Bibliographies
3643 \emph default
3644 ,
3645  for details.
3646 \end_layout
3647
3648 \begin_layout Subsection
3649 Bibliografías múltiples
3650 \begin_inset CommandInset label
3651 LatexCommand label
3652 name "subsec:Bibliografías-múltiples"
3653
3654 \end_inset
3655
3656
3657 \end_layout
3658
3659 \begin_layout Standard
3660 Bib\SpecialChar TeX
3661  no soporta por sí mismo bibliografías múltiples,
3662  p.
3663 \begin_inset space \thinspace{}
3664 \end_inset
3665
3666 ej.
3667 \begin_inset space \space{}
3668 \end_inset
3669
3670 una bibliografía para cada 
3671 \lang english
3672 part,
3673  chapter,
3674  
3675 \lang spanish
3676 sección o 
3677 \lang english
3678 subsection or child (sub-document)
3679 \lang spanish
3680  del documento,
3681
3682 \lang english
3683  are also supported by \SpecialChar LyX
3684 .
3685  In order to enable it,
3686  go to 
3687 \begin_inset Flex Noun
3688 status collapsed
3689
3690 \begin_layout Plain Layout
3691
3692 \lang english
3693 Document\SpecialChar menuseparator
3694 Settings\SpecialChar menuseparator
3695 Bibliography
3696 \end_layout
3697
3698 \end_inset
3699
3700  and select the relevant unit (e.
3701 \begin_inset space \thinspace{}
3702 \end_inset
3703
3704 g.,
3705  
3706 \begin_inset Quotes eld
3707 \end_inset
3708
3709 per section
3710 \begin_inset Quotes erd
3711 \end_inset
3712
3713 ) in the 
3714 \begin_inset Flex Noun
3715 status collapsed
3716
3717 \begin_layout Plain Layout
3718
3719 \lang english
3720 Multiple Bibliographies
3721 \end_layout
3722
3723 \end_inset
3724
3725  combo box.
3726  Then add a Bib(la)\SpecialChar TeX
3727  bibliography to each unit (e.
3728 \begin_inset space \thinspace{}
3729 \end_inset
3730
3731 g.,
3732  section) of your document.
3733  In the output,
3734  a separate bibliography,
3735  containing only the references done in the current unit is generated.
3736 \end_layout
3737
3738 \begin_layout Standard
3739
3740 \lang english
3741 If you use Bib\SpecialChar TeX
3742 ,
3743  either the 
3744 \begin_inset Flex Code
3745 status collapsed
3746
3747 \begin_layout Plain Layout
3748
3749 \lang english
3750 chapterbib
3751 \end_layout
3752
3753 \end_inset
3754
3755  or the 
3756 \begin_inset Flex Code
3757 status collapsed
3758
3759 \begin_layout Plain Layout
3760
3761 \lang english
3762 bibtopic
3763 \end_layout
3764
3765 \end_inset
3766
3767  package is used to create multiple bibliographies.
3768  The former package is used if you select 
3769 \begin_inset Quotes eld
3770 \end_inset
3771
3772 per child document
3773 \begin_inset Quotes erd
3774 \end_inset
3775
3776  and do 
3777 \emph on
3778 not
3779 \emph default
3780  check 
3781 \begin_inset Flex Noun
3782 status collapsed
3783
3784 \begin_layout Plain Layout
3785
3786 \lang english
3787 Sectioned Bibliography
3788 \end_layout
3789
3790 \end_inset
3791
3792 .
3793  In all other cases,
3794  
3795 \begin_inset Flex Code
3796 status collapsed
3797
3798 \begin_layout Plain Layout
3799
3800 \lang english
3801 bibtopic
3802 \end_layout
3803
3804 \end_inset
3805
3806  is used.
3807 \begin_inset Foot
3808 status collapsed
3809
3810 \begin_layout Plain Layout
3811
3812 \lang english
3813 An alternative approach,
3814  if you are willing to use some 
3815 \begin_inset Flex Noun
3816 status collapsed
3817
3818 \begin_layout Plain Layout
3819
3820 \lang english
3821 \SpecialChar TeX
3822  Code
3823 \end_layout
3824
3825 \end_inset
3826
3827  (see section
3828 \begin_inset space ~
3829 \end_inset
3830
3831
3832 \lang spanish
3833
3834 \begin_inset CommandInset ref
3835 LatexCommand ref
3836 reference "sec:Insertar-Código-TeX"
3837 nolink "false"
3838
3839 \end_inset
3840
3841
3842 \lang english
3843 ),
3844  is to use the 
3845 \begin_inset Flex Code
3846 status collapsed
3847
3848 \begin_layout Plain Layout
3849
3850 \lang english
3851 bibunits
3852 \end_layout
3853
3854 \end_inset
3855
3856  package.
3857 \end_layout
3858
3859 \end_inset
3860
3861  If 
3862 \begin_inset Flex Code
3863 status collapsed
3864
3865 \begin_layout Plain Layout
3866
3867 \lang english
3868 bibtopic
3869 \end_layout
3870
3871 \end_inset
3872
3873  is used,
3874  \SpecialChar LyX
3875  encloses the specified units in 
3876 \begin_inset Flex Code
3877 status collapsed
3878
3879 \begin_layout Plain Layout
3880
3881 \lang english
3882 bibtopic
3883 \end_layout
3884
3885 \end_inset
3886
3887 's 
3888 \begin_inset Flex Code
3889 status collapsed
3890
3891 \begin_layout Plain Layout
3892
3893 \lang english
3894
3895 \backslash
3896 begin{btUnit}
3897 \end_layout
3898
3899 \end_inset
3900
3901  and 
3902 \begin_inset Flex Code
3903 status collapsed
3904
3905 \begin_layout Plain Layout
3906
3907 \lang english
3908
3909 \backslash
3910 end{btUnit}
3911 \end_layout
3912
3913 \end_inset
3914
3915  in order to create the units.
3916  Note that this approach has some limitations.
3917  First,
3918  every citation reference has to be inside some 
3919 \begin_inset Flex Code
3920 status collapsed
3921
3922 \begin_layout Plain Layout
3923
3924 \lang english
3925 btUnit
3926 \end_layout
3927
3928 \end_inset
3929
3930 .
3931  So citations outside a defined unit (e.
3932 \begin_inset space \thinspace{}
3933 \end_inset
3934
3935 g.,
3936  before the first section if you use 
3937 \begin_inset Quotes eld
3938 \end_inset
3939
3940 by section
3941 \begin_inset Quotes erd
3942 \end_inset
3943
3944 ) will appear as 
3945 \begin_inset Quotes eld
3946 \end_inset
3947
3948 ???
3949 \begin_inset Quotes erd
3950 \end_inset
3951
3952 .
3953  You can also create your own units by entering 
3954 \begin_inset Flex Code
3955 status collapsed
3956
3957 \begin_layout Plain Layout
3958
3959 \lang english
3960
3961 \backslash
3962 begin{btUnit}
3963 \end_layout
3964
3965 \end_inset
3966
3967  and 
3968 \begin_inset Flex Code
3969 status collapsed
3970
3971 \begin_layout Plain Layout
3972
3973 \lang english
3974
3975 \backslash
3976 end{btUnit}
3977 \end_layout
3978
3979 \end_inset
3980
3981  as \SpecialChar TeX
3982  code (for instance to work around the mentioned limitation).
3983  Note,
3984  though,
3985  that 
3986 \begin_inset Flex Code
3987 status collapsed
3988
3989 \begin_layout Plain Layout
3990
3991 \lang english
3992 btUnit
3993 \end_layout
3994
3995 \end_inset
3996
3997 s cannot be nested.
3998  A second limitation is that 
3999 \begin_inset Flex Code
4000 status collapsed
4001
4002 \begin_layout Plain Layout
4003
4004 \lang english
4005 bibtopic
4006 \end_layout
4007
4008 \end_inset
4009
4010  always processes all references of a bibliography database,
4011  even if they are not cited.
4012  This can result in odd labels (e.
4013 \begin_inset space \thinspace{}
4014 \end_inset
4015
4016 g.
4017  
4018 \begin_inset Quotes eld
4019 \end_inset
4020
4021 Miller 2014b
4022 \begin_inset Quotes erd
4023 \end_inset
4024
4025  if two works of this author from 2014 are in the database,
4026  even if only one is cited).
4027 \end_layout
4028
4029 \begin_layout Standard
4030
4031 \lang english
4032 If you use 
4033 \family sans
4034 Biblatex
4035 \family default
4036 ,
4037  the 
4038 \begin_inset Flex Code
4039 status collapsed
4040
4041 \begin_layout Plain Layout
4042
4043 \lang english
4044 refsection
4045 \end_layout
4046
4047 \end_inset
4048
4049  option is used instead.
4050  If you need specific units,
4051  you can start them with the \SpecialChar TeX
4052  code 
4053 \begin_inset Flex Code
4054 status collapsed
4055
4056 \begin_layout Plain Layout
4057
4058 \lang english
4059
4060 \backslash
4061 newrefsection
4062 \end_layout
4063
4064 \end_inset
4065
4066  or 
4067 \begin_inset Flex Code
4068 status collapsed
4069
4070 \begin_layout Plain Layout
4071
4072 \lang english
4073
4074 \backslash
4075 newrefsegment
4076 \end_layout
4077
4078 \end_inset
4079
4080 ,
4081  respectively.
4082  If you also want to control the end of the unit,
4083  use the environment 
4084 \begin_inset Flex Code
4085 status collapsed
4086
4087 \begin_layout Plain Layout
4088
4089 \lang english
4090
4091 \backslash
4092 begin{refsection}
4093 \end_layout
4094
4095 \end_inset
4096
4097  \SpecialChar ldots
4098  
4099 \begin_inset Flex Code
4100 status collapsed
4101
4102 \begin_layout Plain Layout
4103
4104 \lang english
4105
4106 \backslash
4107 end{refsection}
4108 \end_layout
4109
4110 \end_inset
4111
4112  instead.
4113  Note,
4114  though,
4115  that 
4116 \begin_inset Flex Code
4117 status collapsed
4118
4119 \begin_layout Plain Layout
4120
4121 \lang english
4122 refsection
4123 \end_layout
4124
4125 \end_inset
4126
4127 s cannot be nested.
4128  In addition to the individual bibliography of the current unit,
4129  
4130 \family sans
4131 Biblatex
4132 \family default
4133  also provides an easy way to output all bibliographies,
4134  subsequently,
4135  at one place (e.
4136 \begin_inset space \thinspace{}
4137 \end_inset
4138
4139 g.,
4140  at the end of the document).
4141  Select 
4142 \begin_inset Quotes eld
4143 \end_inset
4144
4145 all reference units
4146 \begin_inset Quotes erd
4147 \end_inset
4148
4149  from the Content combo box of the Bib(la)TeX inset dialog in order to achieve this.
4150  Please refer to the 
4151 \family sans
4152 Biblatex
4153 \family default
4154  manual for more information on this topic.
4155 \end_layout
4156
4157 \begin_layout Section
4158 Documentos con varias partes
4159 \end_layout
4160
4161 \begin_layout Subsection
4162 Operación general
4163 \end_layout
4164
4165 \begin_layout Standard
4166 Cuando trabajas en un extenso documento con muchas secciones,
4167  o si tienes una parte en la que un cuadro puede cambiar de vez en cuando pero no el texto precedente,
4168  suele ser conveniente dividir el documento en varios archivos.
4169  En estos casos,
4170  deberías considerar seriamente el uso de documentos hijo.
4171  Por ejemplo,
4172  los artículos científicos suelen tener cinco secciones principales:
4173  introducción,
4174  observaciones,
4175  resultados,
4176  discusión y conclusiones.
4177  Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4178 .
4179  Por otra parte un archivo 
4180 \begin_inset Quotes cld
4181 \end_inset
4182
4183 maestro
4184 \begin_inset Quotes crd
4185 \end_inset
4186
4187  contendría el título,
4188  los autores,
4189  el resumen,
4190  las referencias,
4191  etc.,
4192  e incluiría los cinco archivos.
4193  Es importante tener en cuenta que cada uno de estos es un completo archivo \SpecialChar LyX
4194  que puede ser diseñado e impreso de forma independiente,
4195  además de estar incluido en el maestro.
4196  Sin embargo,
4197  todos deben ser de la misma clase de documento —
4198 no intentes mezclar,
4199  p.
4200 \begin_inset space \thinspace{}
4201 \end_inset
4202
4203 ej.,
4204  libro y artículo—
4205 .
4206  También puedes incluir archivos \SpecialChar LaTeX
4207 ;
4208  pero no deben tener su propio preámbulo (es decir,
4209  debe eliminarse todo lo que precede a 
4210 \family typewriter
4211
4212 \begin_inset Flex Code
4213 status collapsed
4214
4215 \begin_layout Plain Layout
4216
4217 \family typewriter
4218
4219 \backslash
4220 begin{document}
4221 \end_layout
4222
4223 \end_inset
4224
4225
4226 \family default
4227 ,
4228  así como esta misma línea y también
4229 \family typewriter
4230  
4231 \begin_inset Flex Code
4232 status collapsed
4233
4234 \begin_layout Plain Layout
4235
4236 \family typewriter
4237
4238 \backslash
4239 end{document}
4240 \end_layout
4241
4242 \end_inset
4243
4244
4245 \family default
4246 ),
4247  de lo contrario se generarán errores al procesar el archivo.
4248 \end_layout
4249
4250 \begin_layout Standard
4251 \SpecialChar LyX
4252  facilita la inclusión de archivos con la opción de menú
4253 \family sans
4254  
4255 \begin_inset Flex Noun
4256 status collapsed
4257
4258 \begin_layout Plain Layout
4259
4260 \family sans
4261 Insertar\SpecialChar menuseparator
4262 Archivo\SpecialChar menuseparator
4263 Documento
4264 \begin_inset space ~
4265 \end_inset
4266
4267 hijo
4268 \end_layout
4269
4270 \end_inset
4271
4272
4273 \family default
4274 .
4275  Surge entonces una ventana que permite seleccionar el archivo a incluir y el método de inclusión,
4276  y en la posición actual del cursor se inserta un cuadro gris con el nombre del archivo,
4277  que se puede desplegar con un clic para hacer modificaciones.
4278
4279 \family sans
4280  
4281 \end_layout
4282
4283 \begin_layout Standard
4284 Los métodos de inclusión de un archivo son 
4285 \begin_inset Quotes cld
4286 \end_inset
4287
4288 Anexar
4289 \begin_inset Quotes crd
4290 \end_inset
4291
4292 ,
4293  
4294 \begin_inset Quotes cld
4295 \end_inset
4296
4297 Incorporar
4298 \begin_inset Quotes crd
4299 \end_inset
4300
4301  y 
4302 \begin_inset Quotes cld
4303 \end_inset
4304
4305 Literal
4306 \begin_inset Quotes crd
4307 \end_inset
4308
4309 .
4310  Los métodos 
4311 \begin_inset Quotes cld
4312 \end_inset
4313
4314 Anexar
4315 \begin_inset Quotes crd
4316 \end_inset
4317
4318  e 
4319 \begin_inset Quotes cld
4320 \end_inset
4321
4322 Incorporar
4323 \begin_inset Quotes crd
4324 \end_inset
4325
4326  
4327 \lang english
4328 are similar in many ways,
4329  but there are also some notable differences:
4330
4331 \lang spanish
4332  
4333 \end_layout
4334
4335 \begin_layout Enumerate
4336 los archivos 
4337 \begin_inset Quotes cld
4338 \end_inset
4339
4340 anexados
4341 \begin_inset Quotes crd
4342 \end_inset
4343
4344  se imprimen en una página independiente,
4345  mientras que los archivos 
4346 \begin_inset Quotes cld
4347 \end_inset
4348
4349 incorporados
4350 \begin_inset Quotes crd
4351 \end_inset
4352
4353  se imprimen en la página en la que estén insertados.
4354 \end_layout
4355
4356 \begin_layout Enumerate
4357
4358 \lang english
4359 \begin_inset Quotes eld
4360 \end_inset
4361
4362 Included
4363 \begin_inset Quotes erd
4364 \end_inset
4365
4366  files cannot themselves 
4367 \begin_inset Quotes eld
4368 \end_inset
4369
4370 include
4371 \begin_inset Quotes erd
4372 \end_inset
4373
4374  further files (
4375 \begin_inset Quotes eld
4376 \end_inset
4377
4378 grandchilds
4379 \begin_inset Quotes erd
4380 \end_inset
4381
4382 ).
4383  With 
4384 \begin_inset Quotes eld
4385 \end_inset
4386
4387 input
4388 \begin_inset Quotes erd
4389 \end_inset
4390
4391 ,
4392  on the other hand,
4393  infinite sub-inputting is possible.
4394 \end_layout
4395
4396 \begin_layout Enumerate
4397
4398 \lang english
4399 \begin_inset Quotes eld
4400 \end_inset
4401
4402 Include
4403 \begin_inset Quotes erd
4404 \end_inset
4405
4406  allow for the output of only selected 
4407 \begin_inset Quotes eld
4408 \end_inset
4409
4410 included
4411 \begin_inset Quotes erd
4412 \end_inset
4413
4414  files,
4415  while maintaining the actual counters (pagination etc.) and references (please refer to the section 
4416 \emph on
4417 Child
4418 \begin_inset space ~
4419 \end_inset
4420
4421 Documents
4422 \emph default
4423  of the 
4424 \emph on
4425 Embedded
4426 \begin_inset space ~
4427 \end_inset
4428
4429 Objects
4430 \emph default
4431  manual for details).
4432 \end_layout
4433
4434 \begin_layout Standard
4435
4436 \lang english
4437 Hence,
4438  
4439 \begin_inset Quotes eld
4440 \end_inset
4441
4442 include
4443 \begin_inset Quotes erd
4444 \end_inset
4445
4446  is the preferred method for chapters that are outsourced to child documents,
4447  while 
4448 \begin_inset Quotes eld
4449 \end_inset
4450
4451 input
4452 \begin_inset Quotes erd
4453 \end_inset
4454
4455  is more suitable for arbitrary file inheritance.
4456 \end_layout
4457
4458 \begin_layout Standard
4459 La inserción de un archivo 
4460 \begin_inset Quotes cld
4461 \end_inset
4462
4463 Literal
4464 \begin_inset Quotes crd
4465 \end_inset
4466
4467  permite incluirlo tal cual es,
4468  de forma literal,
4469  con los caracteres en tipografía de 
4470 \family typewriter
4471 ancho fijo
4472 \family default
4473 .
4474  Normalmente los espacios en este tipo de inclusión son invisibles,
4475  aunque se conservan dos espacios consecutivos,
4476  a diferencia del normal tratamiento de los espacios en \SpecialChar LyX
4477 .
4478  Sin embargo,
4479  si se marca en
4480 \family sans
4481  
4482 \begin_inset Flex Noun
4483 status collapsed
4484
4485 \begin_layout Plain Layout
4486
4487 \family sans
4488 Mar
4489 \family default
4490 car
4491 \family sans
4492
4493 \begin_inset space ~
4494 \end_inset
4495
4496 espacios
4497 \begin_inset space ~
4498 \end_inset
4499
4500 en
4501 \begin_inset space ~
4502 \end_inset
4503
4504 la
4505 \begin_inset space ~
4506 \end_inset
4507
4508 salida
4509 \end_layout
4510
4511 \end_inset
4512
4513
4514 \family default
4515 ,
4516  se imprime una marca que señala sin ambigüedad la presencia de espacios.
4517 \end_layout
4518
4519 \begin_layout Standard
4520
4521 \lang english
4522 Generally,
4523  the master file is converted into a full \SpecialChar LaTeX
4524  file before typesetting,
4525  while the included files are converted to \SpecialChar LaTeX
4526  files that do not have all the preamble information.
4527 \end_layout
4528
4529 \begin_layout Subsection
4530 Referencias cruzadas entre archivos
4531 \end_layout
4532
4533 \begin_layout Standard
4534 \begin_inset Box Shadowbox
4535 position "t"
4536 hor_pos "c"
4537 has_inner_box 1
4538 inner_pos "t"
4539 use_parbox 0
4540 use_makebox 0
4541 width "100col%"
4542 special "none"
4543 height "1in"
4544 height_special "totalheight"
4545 thickness "0.4pt"
4546 separation "3pt"
4547 shadowsize "4pt"
4548 framecolor "black"
4549 backgroundcolor "none"
4550 status collapsed
4551
4552 \begin_layout Plain Layout
4553 Esta sección está algo anticuada.
4554  Es preciso describir los documentos maestros predeterminados y cómo son abiertos los hijos cuando está el maestro.
4555  [[PENDIENTE]]
4556 \end_layout
4557
4558 \end_inset
4559
4560
4561 \end_layout
4562
4563 \begin_layout Standard
4564 Se pueden configurar referencias cruzadas entre los distintos archivos.
4565  Primero,
4566  abre todos los archivos en cuestión:
4567  digamos A y B por ejemplo,
4568  donde B está incluido en A.
4569  Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4570  Abre el diálogo de referencias cruzadas en B y selecciona el 
4571 \begin_inset Quotes cld
4572 \end_inset
4573
4574 buffer
4575 \begin_inset Quotes crd
4576 \end_inset
4577
4578  a usar.
4579 \end_layout
4580
4581 \begin_layout Subsection
4582 Listas de bibliografía en todos los subdocumentos
4583 \end_layout
4584
4585 \begin_layout Standard
4586 \begin_inset Box Frameless
4587 position "t"
4588 hor_pos "c"
4589 has_inner_box 1
4590 inner_pos "t"
4591 use_parbox 0
4592 use_makebox 0
4593 width "100col%"
4594 special "none"
4595 height "1in"
4596 height_special "totalheight"
4597 thickness "0.4pt"
4598 separation "3pt"
4599 shadowsize "4pt"
4600 framecolor "black"
4601 backgroundcolor "none"
4602 status collapsed
4603
4604 \begin_layout Plain Layout
4605 Esta sección también requiere actualización.
4606  Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4607 \end_layout
4608
4609 \end_inset
4610
4611
4612 \end_layout
4613
4614 \begin_layout Standard
4615
4616 \lang english
4617 If you work with child documents,
4618  you might want to have only one main bibliography at the end,
4619  but still be able to have a selected bibliography for the child if you output it on its own.
4620  Here is how to achieve this.
4621 \end_layout
4622
4623 \begin_layout Standard
4624
4625 \lang english
4626 For the main document,
4627  you just insert a bibliography inset at the place where the main bibliography has to appear (within the master file or within a child).
4628  If the bibliography inset is in the master file,
4629  the references will be inherited by all children,
4630  so they are available in the citation dialog within each child.
4631 \end_layout
4632
4633 \begin_layout Standard
4634
4635 \lang english
4636 For child-specific bibliographies,
4637  insert bibliography insets within the child documents,
4638  at the place where the bibliography should appear when the child is compiled separately.
4639  However,
4640  the trick is to insert them into a branch (
4641 \family sans
4642 Insert\SpecialChar menuseparator
4643 Branch\SpecialChar menuseparator
4644 Insert New Branch...
4645 \family default
4646 ),
4647  e.
4648 \begin_inset space \thinspace{}
4649 \end_inset
4650
4651 g.
4652  called 
4653 \begin_inset Quotes eld
4654 \end_inset
4655
4656 Childonly
4657 \begin_inset Quotes erd
4658 \end_inset
4659
4660 .
4661  Within the children,
4662  activate the branch (
4663 \family sans
4664 Document\SpecialChar menuseparator
4665 Settings...\SpecialChar menuseparator
4666 Branches
4667 \family default
4668 ).
4669  Within the master,
4670  deactivate the branch (
4671 \family sans
4672 Document\SpecialChar menuseparator
4673 Settings...\SpecialChar menuseparator
4674 Branches
4675 \family default
4676 ).
4677  Now the child's bibliography will be ignored by the master,
4678  but considered by the child.
4679 \end_layout
4680
4681 \begin_layout Standard
4682
4683 \lang english
4684 If you need multiple bibliographies (e.
4685 \begin_inset space \thinspace{}
4686 \end_inset
4687
4688 g.,
4689  one per child in the 
4690 \emph on
4691 main document
4692 \emph default
4693 ),
4694  please refer to sec
4695 \lang spanish
4696 .
4697 \begin_inset space ~
4698 \end_inset
4699
4700
4701 \begin_inset CommandInset ref
4702 LatexCommand ref
4703 reference "subsec:Bibliografías-múltiples"
4704 nolink "false"
4705
4706 \end_inset
4707
4708 .
4709 \end_layout
4710
4711 \begin_layout Section
4712 Archivos \SpecialChar LyX
4713
4714 \end_layout
4715
4716 \begin_layout Standard
4717 A veces,
4718  los usuarios necesitan 
4719 \begin_inset Quotes cld
4720 \end_inset
4721
4722 empaquetar
4723 \begin_inset Quotes crd
4724 \end_inset
4725
4726  un archivo \SpecialChar LyX
4727  junto con las imágenes (y otros archivos) de los que depende,
4728  bien para enviarlo a un editor o para compartirlo con un co-autor.
4729  \SpecialChar LyX
4730  incluye un guión en Python (
4731 \begin_inset Flex Code
4732 status collapsed
4733
4734 \begin_layout Plain Layout
4735 lyxpak.py
4736 \end_layout
4737
4738 \end_inset
4739
4740 ) que automatiza el proceso.
4741  Para usarlo,
4742  deben estar instalados los módulos Python 
4743 \begin_inset Flex Code
4744 status collapsed
4745
4746 \begin_layout Plain Layout
4747 zipfile
4748 \end_layout
4749
4750 \end_inset
4751
4752  o 
4753 \begin_inset Flex Code
4754 status collapsed
4755
4756 \begin_layout Plain Layout
4757 tarfile
4758 \end_layout
4759
4760 \end_inset
4761
4762 .
4763  Por omisión,
4764  el guión prefiere el formato 
4765 \begin_inset Flex Code
4766 status collapsed
4767
4768 \begin_layout Plain Layout
4769 tar
4770 \end_layout
4771
4772 \end_inset
4773
4774  comprimido con 
4775 \begin_inset Flex Code
4776 status collapsed
4777
4778 \begin_layout Plain Layout
4779 gzip
4780 \end_layout
4781
4782 \end_inset
4783
4784  en sistemas tipo Unix y el formato 
4785 \begin_inset Flex Code
4786 status collapsed
4787
4788 \begin_layout Plain Layout
4789 zip
4790 \end_layout
4791
4792 \end_inset
4793
4794  en Windows.
4795 \end_layout
4796
4797 \begin_layout Standard
4798 El proceso de configuración de \SpecialChar LyX
4799  preparará el guión para exportar a 
4800 \begin_inset Quotes cld
4801 \end_inset
4802
4803 Archivo \SpecialChar LyX
4804
4805 \begin_inset Quotes crd
4806 \end_inset
4807
4808 ,
4809  que estará disponible en el menú 
4810 \begin_inset Flex Code
4811 status collapsed
4812
4813 \begin_layout Plain Layout
4814 Archivo\SpecialChar menuseparator
4815 Exportar
4816 \end_layout
4817
4818 \end_inset
4819
4820 .
4821 \end_layout
4822
4823 \begin_layout Standard
4824 Independientemente de la plataforma,
4825  la generación de un formato determinado de archivo puede controlarse añadiendo el conmutador 
4826 \begin_inset Flex Code
4827 status collapsed
4828
4829 \begin_layout Plain Layout
4830 -t
4831 \end_layout
4832
4833 \end_inset
4834
4835  (para el formato 
4836 \begin_inset Flex Code
4837 status collapsed
4838
4839 \begin_layout Plain Layout
4840 tar
4841 \end_layout
4842
4843 \end_inset
4844
4845 ) o el conmutador 
4846 \begin_inset Flex Code
4847 status collapsed
4848
4849 \begin_layout Plain Layout
4850 -z
4851 \end_layout
4852
4853 \end_inset
4854
4855  (para el formato 
4856 \begin_inset Flex Code
4857 status collapsed
4858
4859 \begin_layout Plain Layout
4860 zip
4861 \end_layout
4862
4863 \end_inset
4864
4865 ) al convertidor 
4866 \begin_inset Flex Code
4867 status collapsed
4868
4869 \begin_layout Plain Layout
4870 \SpecialChar LyX
4871 \SpecialChar menuseparator
4872 \SpecialChar LyX
4873  Archive
4874 \end_layout
4875
4876 \end_inset
4877
4878  en 
4879 \begin_inset Flex Code
4880 status collapsed
4881
4882 \begin_layout Plain Layout
4883 Herramientas\SpecialChar menuseparator
4884 Preferencias\SpecialChar menuseparator
4885 Gestión de archivos\SpecialChar menuseparator
4886 Convertidores
4887 \end_layout
4888
4889 \end_inset
4890
4891 .
4892  (Asegúrate de añadir el conmutador tras el nombre del guión,
4893  no delante.)
4894 \end_layout
4895
4896 \begin_layout Section
4897 Encabezados y pies de página elaborados
4898 \end_layout
4899
4900 \begin_layout Standard
4901 El formato de página predeterminado es más bien simple;
4902  para la clase 
4903 \family sans
4904
4905 \begin_inset Flex Code
4906 status collapsed
4907
4908 \begin_layout Plain Layout
4909
4910 \family sans
4911 article
4912 \end_layout
4913
4914 \end_inset
4915
4916
4917 \family default
4918 ,
4919  todo lo que obtienes es un número centrado al final de la página.
4920  El presente documento es de la clase 
4921 \family sans
4922
4923 \begin_inset Flex Code
4924 status collapsed
4925
4926 \begin_layout Plain Layout
4927
4928 \family sans
4929 book
4930 \family default
4931  (KOMA-script)
4932 \end_layout
4933
4934 \end_inset
4935
4936
4937 \family default
4938 ,
4939  así que resulta un poco más elaborado.
4940  Pero para montar un show de verdad,
4941  has de elegir 
4942 \begin_inset Quotes cld
4943 \end_inset
4944
4945 elaborado
4946 \begin_inset Quotes crd
4947 \end_inset
4948
4949
4950 \emph on
4951  
4952 \emph default
4953 para el estilo de página del documento,
4954  como se comenta en la 
4955 \emph on
4956 Guía del Usuario
4957 \emph default
4958 .
4959  En esta sección se describe el código \SpecialChar LaTeX
4960  que debes introducir en el preámbulo \SpecialChar LaTeX
4961  para conseguir los resultados deseados.
4962 \end_layout
4963
4964 \begin_layout Standard
4965 El encabezado de página se divide en tres zonas,
4966  
4967 \begin_inset Quotes cld
4968 \end_inset
4969
4970 izquierda
4971 \begin_inset Quotes crd
4972 \end_inset
4973
4974 ,
4975  
4976 \begin_inset Quotes cld
4977 \end_inset
4978
4979 central
4980 \begin_inset Quotes crd
4981 \end_inset
4982
4983  y 
4984 \begin_inset Quotes cld
4985 \end_inset
4986
4987 derecha
4988 \begin_inset Quotes crd
4989 \end_inset
4990
4991 .
4992  Y el pie de página,
4993  pues igual.
4994  Los comandos \SpecialChar LaTeX
4995  para configurar estas zonas en su forma más simple son 
4996 \family typewriter
4997
4998 \begin_inset Flex Code
4999 status collapsed
5000
5001 \begin_layout Plain Layout
5002
5003 \family typewriter
5004
5005 \backslash
5006 lhead
5007 \end_layout
5008
5009 \end_inset
5010
5011
5012 \family default
5013 ,
5014  
5015 \family typewriter
5016
5017 \begin_inset Flex Code
5018 status collapsed
5019
5020 \begin_layout Plain Layout
5021
5022 \family typewriter
5023
5024 \backslash
5025 chead
5026 \end_layout
5027
5028 \end_inset
5029
5030
5031 \family default
5032 ,
5033  
5034 \family typewriter
5035
5036 \begin_inset Flex Code
5037 status collapsed
5038
5039 \begin_layout Plain Layout
5040
5041 \family typewriter
5042
5043 \backslash
5044 rhead
5045 \end_layout
5046
5047 \end_inset
5048
5049
5050 \family default
5051 ,
5052  
5053 \family typewriter
5054
5055 \begin_inset Flex Code
5056 status collapsed
5057
5058 \begin_layout Plain Layout
5059
5060 \family typewriter
5061
5062 \backslash
5063 lfoot
5064 \end_layout
5065
5066 \end_inset
5067
5068
5069 \family default
5070 ,
5071  etc.
5072  Supongamos que quieres poner un nombre en la parte superior izquierda de cada página.
5073  Pues inserta el siguiente comando en el preámbulo:
5074 \end_layout
5075
5076 \begin_layout Standard
5077
5078 \family typewriter
5079
5080 \backslash
5081 lhead{John Q.
5082  DocWriter}
5083 \end_layout
5084
5085 \begin_layout Standard
5086 Con este comando el nombre saldrá en la parte superior izquierda.
5087  Si una zona tiene asignada una entrada por omisión y quieres eliminarla (p.
5088 \begin_inset space \thinspace{}
5089 \end_inset
5090
5091 ej.
5092 \begin_inset space ~
5093 \end_inset
5094
5095 el número de página en el pie central),
5096  pon un comando con el argumento vacío,
5097  p.
5098 \begin_inset space \thinspace{}
5099 \end_inset
5100
5101 ej.:
5102 \end_layout
5103
5104 \begin_layout Standard
5105
5106 \family typewriter
5107
5108 \backslash
5109 cfoot{}
5110 \end_layout
5111
5112 \begin_layout Standard
5113 Vamos ahora con algunos adornos:
5114  vamos a poner el número de sección con la palabra 
5115 \begin_inset Quotes cld
5116 \end_inset
5117
5118 Sección
5119 \begin_inset Quotes crd
5120 \end_inset
5121
5122  (p.
5123 \begin_inset space \thinspace{}
5124 \end_inset
5125
5126 ej.
5127 \begin_inset space ~
5128 \end_inset
5129
5130 Sección
5131 \begin_inset space ~
5132 \end_inset
5133
5134 3) en la superior izquierda,
5135  el número de página (p.
5136 \begin_inset space \thinspace{}
5137 \end_inset
5138
5139 ej.
5140 \begin_inset space ~
5141 \end_inset
5142
5143 Página
5144 \begin_inset space ~
5145 \end_inset
5146
5147 4) en la superior derecha,
5148  el nombre en la inferior izquierda y la fecha en la inferior derecha.
5149  Para ello deberíamos escribir las siguientes líneas en el preámbulo:
5150  
5151 \end_layout
5152
5153 \begin_layout Standard
5154
5155 \family typewriter
5156
5157 \backslash
5158 lhead{Sección 
5159 \backslash
5160 thesection}
5161 \end_layout
5162
5163 \begin_layout Standard
5164
5165 \family typewriter
5166
5167 \backslash
5168 chead{}
5169 \end_layout
5170
5171 \begin_layout Standard
5172
5173 \family typewriter
5174
5175 \backslash
5176 rhead{Página 
5177 \backslash
5178 thepage}
5179 \end_layout
5180
5181 \begin_layout Standard
5182
5183 \family typewriter
5184
5185 \backslash
5186 lfoot{John Q.
5187  DocWriter}
5188 \end_layout
5189
5190 \begin_layout Standard
5191
5192 \family typewriter
5193
5194 \backslash
5195 cfoot{}
5196 \end_layout
5197
5198 \begin_layout Standard
5199
5200 \family typewriter
5201
5202 \backslash
5203 rfoot{
5204 \backslash
5205 today}
5206 \end_layout
5207
5208 \begin_layout Standard
5209 Los comandos 
5210 \family typewriter
5211
5212 \begin_inset Flex Code
5213 status collapsed
5214
5215 \begin_layout Plain Layout
5216
5217 \family typewriter
5218
5219 \backslash
5220 thesection
5221 \end_layout
5222
5223 \end_inset
5224
5225
5226 \family default
5227  y 
5228 \family typewriter
5229
5230 \begin_inset Flex Code
5231 status collapsed
5232
5233 \begin_layout Plain Layout
5234
5235 \family typewriter
5236
5237 \backslash
5238 thepage
5239 \end_layout
5240
5241 \end_inset
5242
5243
5244 \family default
5245  aluden a los contadores de sección y de página de \SpecialChar LaTeX
5246 ,
5247  que se encargan de imprimir los números de la sección y la página actuales.
5248  
5249 \family typewriter
5250
5251 \begin_inset Flex Code
5252 status collapsed
5253
5254 \begin_layout Plain Layout
5255
5256 \family typewriter
5257
5258 \backslash
5259 today
5260 \end_layout
5261
5262 \end_inset
5263
5264
5265 \family default
5266  imprime la fecha de hoy.
5267 \end_layout
5268
5269 \begin_layout Standard
5270 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre el pie se puede modificar.
5271  Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5272  Por omisión,
5273  la línea de encabezado tiene 0.4
5274 \begin_inset space \thinspace{}
5275 \end_inset
5276
5277 pt de grosor y la de pie 0
5278 \begin_inset space \thinspace{}
5279 \end_inset
5280
5281 pt.
5282  Para cambiar estos valores se pueden usar los comandos 
5283 \family typewriter
5284
5285 \backslash
5286 renewcommand{
5287 \backslash
5288 headrulewidth}{0.4pt} 
5289 \family default
5290
5291 \family typewriter
5292
5293 \backslash
5294 renewcommand{
5295 \backslash
5296 footrulewidth}{0.4pt}
5297 \end_layout
5298
5299 \begin_layout Standard
5300 La configuración del encabezado y/o el pie para páginas individuales se puede alterar con comandos como
5301 \family typewriter
5302  
5303 \begin_inset Flex Code
5304 status collapsed
5305
5306 \begin_layout Plain Layout
5307
5308 \family typewriter
5309
5310 \backslash
5311 thispagestyle{empty}
5312 \end_layout
5313
5314 \end_inset
5315
5316 ,
5317  
5318 \begin_inset Flex Code
5319 status collapsed
5320
5321 \begin_layout Plain Layout
5322
5323 \family typewriter
5324
5325 \backslash
5326 thispagestyle{plain}
5327 \end_layout
5328
5329 \end_inset
5330
5331
5332 \family default
5333  y
5334 \begin_inset Newline linebreak
5335 \end_inset
5336
5337  
5338 \family typewriter
5339
5340 \begin_inset Flex Code
5341 status collapsed
5342
5343 \begin_layout Plain Layout
5344
5345 \family typewriter
5346
5347 \backslash
5348 thispagestyle{fancy}
5349 \end_layout
5350
5351 \end_inset
5352
5353
5354 \family default
5355 .
5356  Simplemente se inserta en 
5357 \begin_inset Flex Code
5358 status collapsed
5359
5360 \begin_layout Plain Layout
5361 código \SpecialChar TeX
5362
5363 \end_layout
5364
5365 \end_inset
5366
5367  en la página que se quiere cambiar.
5368  De hecho las páginas de título tienen estilo simple por omisión,
5369  mientras que las páginas siguientes se marcan en estilo elaborado si este es el formato establecido globalmente.
5370  
5371 \end_layout
5372
5373 \begin_layout Standard
5374 Por último,
5375  veamos cómo incluir una imagen en el encabezado o en el pie;
5376  por ejemplo,
5377  un logotipo en la esquina superior izquierda.
5378  Prueba algo como esto:
5379 \end_layout
5380
5381 \begin_layout Standard
5382
5383 \family typewriter
5384
5385 \backslash
5386 lhead{
5387 \backslash
5388 resizebox{1in}{!}{
5389 \backslash
5390 includegraphics{logo.eps}}}
5391 \end_layout
5392
5393 \begin_layout Standard
5394 (quizá sea necesario anteponer 
5395 \family typewriter
5396
5397 \begin_inset Flex Code
5398 status collapsed
5399
5400 \begin_layout Plain Layout
5401
5402 \family typewriter
5403
5404 \backslash
5405 usepackage{graphics}
5406 \end_layout
5407
5408 \end_inset
5409
5410
5411 \family default
5412  si tu documento no incluye otros gráficos).
5413  
5414 \end_layout
5415
5416 \begin_layout Section
5417 Selección de marcas de listas
5418 \begin_inset CommandInset label
5419 LatexCommand label
5420 name "sec:Marcas"
5421
5422 \end_inset
5423
5424
5425 \end_layout
5426
5427 \begin_layout Standard
5428 por
5429 \noun on
5430  Allan Rae
5431 \end_layout
5432
5433 \begin_layout Subsection
5434 Introducción
5435 \end_layout
5436
5437 \begin_layout Standard
5438 \SpecialChar LyX
5439  suministra 216 símbolos de marcas a los que se accede mediante un simple diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5440  Esta elección es aplicable a la totalidad del documento,
5441  no es posible escoger distintos conjuntos de marcas para distintos párrafos.
5442 \begin_inset Foot
5443 status collapsed
5444
5445 \begin_layout Plain Layout
5446 Bien,
5447  en realidad sí se puede hacer,
5448  pero a mano.
5449 \end_layout
5450
5451 \end_inset
5452
5453  
5454 \end_layout
5455
5456 \begin_layout Subsection
5457 Cómo se ve
5458 \end_layout
5459
5460 \begin_layout Standard
5461 Abre el diálogo siguiendo el camino de menú 
5462 \family sans
5463 Document
5464 \family default
5465 o
5466 \family sans
5467 \SpecialChar menuseparator
5468 Configuración\SpecialChar menuseparator
5469 Marcas
5470 \family default
5471 .
5472 \end_layout
5473
5474 \begin_layout Standard
5475 El diálogo suministra un cuadro de símbolos para las marcas.
5476  En el cuadro 
5477 \family sans
5478 Tipografía 
5479 \family default
5480 hay una lista desplegable con seis paneles de símbolos.
5481  La lista 
5482 \family sans
5483 Nivel
5484 \family default
5485  permite elegir el nivel para el que elegimos la marca.
5486  Un campo de texto bajo el cuadro permite escoger un símbolo personalizado poniendo su código \SpecialChar LaTeX
5487 .
5488 \end_layout
5489
5490 \begin_layout Standard
5491 Los seis paneles de
5492 \family sans
5493  Tipografía
5494 \family default
5495  corresponden a los distintos paquetes requeridos.
5496  El cuadro siguiente recoge los nombres y sus paquetes asociados:
5497 \end_layout
5498
5499 \begin_layout Standard
5500 \align center
5501 \begin_inset Tabular
5502 <lyxtabular version="3" rows="7" columns="2">
5503 <features tabularvalignment="middle">
5504 <column alignment="center" valignment="top" width="0pt">
5505 <column alignment="center" valignment="top" width="0pt">
5506 <row>
5507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5508 \begin_inset Text
5509
5510 \begin_layout Plain Layout
5511
5512 \family roman
5513 \series medium
5514 \shape up
5515 \size normal
5516 \emph off
5517 \bar no
5518 \noun off
5519 \color none
5520 Tipografía
5521 \end_layout
5522
5523 \end_inset
5524 </cell>
5525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5526 \begin_inset Text
5527
5528 \begin_layout Plain Layout
5529
5530 \family roman
5531 \series medium
5532 \shape up
5533 \size normal
5534 \emph off
5535 \bar no
5536 \noun off
5537 \color none
5538 Paquete requerido
5539 \end_layout
5540
5541 \end_inset
5542 </cell>
5543 </row>
5544 <row>
5545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5546 \begin_inset Text
5547
5548 \begin_layout Plain Layout
5549
5550 \family sans
5551 \series medium
5552 \shape up
5553 \size normal
5554 \emph off
5555 \bar no
5556 \noun off
5557 \color none
5558 Normal
5559 \end_layout
5560
5561 \end_inset
5562 </cell>
5563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5564 \begin_inset Text
5565
5566 \begin_layout Plain Layout
5567
5568 \series medium
5569 \shape up
5570 \size normal
5571 \emph off
5572 \bar no
5573 \noun off
5574 \color none
5575 base \SpecialChar LaTeX
5576
5577 \end_layout
5578
5579 \end_inset
5580 </cell>
5581 </row>
5582 <row>
5583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5584 \begin_inset Text
5585
5586 \begin_layout Plain Layout
5587
5588 \family sans
5589 \series medium
5590 \shape up
5591 \size normal
5592 \emph off
5593 \bar no
5594 \noun off
5595 \color none
5596 Ecuaciones
5597 \end_layout
5598
5599 \end_inset
5600 </cell>
5601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5602 \begin_inset Text
5603
5604 \begin_layout Plain Layout
5605
5606 \family typewriter
5607 \series medium
5608 \shape up
5609 \size normal
5610 \emph off
5611 \bar no
5612 \noun off
5613 \color none
5614 amssymb.sty
5615 \end_layout
5616
5617 \end_inset
5618 </cell>
5619 </row>
5620 <row>
5621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5622 \begin_inset Text
5623
5624 \begin_layout Plain Layout
5625
5626 \family sans
5627 \series medium
5628 \shape up
5629 \size normal
5630 \emph off
5631 \bar no
5632 \noun off
5633 \color none
5634 Ding1
5635 \end_layout
5636
5637 \end_inset
5638 </cell>
5639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5640 \begin_inset Text
5641
5642 \begin_layout Plain Layout
5643
5644 \family typewriter
5645 \series medium
5646 \shape up
5647 \size normal
5648 \emph off
5649 \bar no
5650 \noun off
5651 \color none
5652 pifont.sty
5653 \end_layout
5654
5655 \end_inset
5656 </cell>
5657 </row>
5658 <row>
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Plain Layout
5663
5664 \family sans
5665 \series medium
5666 \shape up
5667 \size normal
5668 \emph off
5669 \bar no
5670 \noun off
5671 \color none
5672 Ding2
5673 \end_layout
5674
5675 \end_inset
5676 </cell>
5677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5678 \begin_inset Text
5679
5680 \begin_layout Plain Layout
5681
5682 \family typewriter
5683 \series medium
5684 \shape up
5685 \size normal
5686 \emph off
5687 \bar no
5688 \noun off
5689 \color none
5690 pifont.sty
5691 \end_layout
5692
5693 \end_inset
5694 </cell>
5695 </row>
5696 <row>
5697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5698 \begin_inset Text
5699
5700 \begin_layout Plain Layout
5701
5702 \family sans
5703 \series medium
5704 \shape up
5705 \size normal
5706 \emph off
5707 \bar no
5708 \noun off
5709 \color none
5710 Ding3
5711 \end_layout
5712
5713 \end_inset
5714 </cell>
5715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5716 \begin_inset Text
5717
5718 \begin_layout Plain Layout
5719
5720 \family typewriter
5721 \series medium
5722 \shape up
5723 \size normal
5724 \emph off
5725 \bar no
5726 \noun off
5727 \color none
5728 pifont.sty
5729 \end_layout
5730
5731 \end_inset
5732 </cell>
5733 </row>
5734 <row>
5735 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5736 \begin_inset Text
5737
5738 \begin_layout Plain Layout
5739
5740 \family sans
5741 \series medium
5742 \shape up
5743 \size normal
5744 \emph off
5745 \bar no
5746 \noun off
5747 \color none
5748 Ding4
5749 \end_layout
5750
5751 \end_inset
5752 </cell>
5753 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5754 \begin_inset Text
5755
5756 \begin_layout Plain Layout
5757
5758 \family typewriter
5759 \series medium
5760 \shape up
5761 \size normal
5762 \emph off
5763 \bar no
5764 \noun off
5765 \color none
5766 pifont.sty
5767 \end_layout
5768
5769 \end_inset
5770 </cell>
5771 </row>
5772 </lyxtabular>
5773
5774 \end_inset
5775
5776
5777 \end_layout
5778
5779 \begin_layout Standard
5780 \SpecialChar LyX
5781  no se detiene si usas marcas de paquetes no disponibles.
5782  Pero si se producen errores de \SpecialChar LaTeX
5783  al intentar ver o imprimir el archivo,
5784  probablemente se debe a la falta de algún paquete.
5785 \begin_inset Foot
5786 status collapsed
5787
5788 \begin_layout Plain Layout
5789 \SpecialChar LyX
5790  no restringe su uso porque puede que estés editando localmente el archivo para procesarlo luego en otra máquina.
5791 \end_layout
5792
5793 \end_inset
5794
5795
5796 \end_layout
5797
5798 \begin_layout Subsection
5799 Cómo se emplea
5800 \end_layout
5801
5802 \begin_layout Standard
5803 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5804  Los cambios no serán visibles en \SpecialChar LyX
5805  pero sí lo serán en la salida procesada.
5806 \end_layout
5807
5808 \begin_layout Standard
5809 Se puede reiniciar una marca a su valor predeterminado con clic-derecha sobre el botón apropiado de nivel de profundidad.
5810 \begin_inset Foot
5811 status open
5812
5813 \begin_layout Plain Layout
5814 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de marcas en cada uno,
5815  tendrás que enfangarte con código \SpecialChar TeX
5816 .
5817  El diálogo de selección de marcas puede,
5818  no obstante,
5819  ayudarte porque te suministra el código \SpecialChar LaTeX
5820  para un amplio rango de símbolos de marcas.
5821  Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5822 \end_layout
5823
5824 \begin_layout Plain Layout
5825 \begin_inset ERT
5826 status collapsed
5827
5828 \begin_layout Plain Layout
5829
5830
5831 \backslash
5832 let
5833 \backslash
5834 savelabelitemi=
5835 \backslash
5836 labelitemi
5837 \end_layout
5838
5839 \end_inset
5840
5841
5842 \end_layout
5843
5844 \begin_layout Plain Layout
5845 \begin_inset ERT
5846 status collapsed
5847
5848 \begin_layout Plain Layout
5849
5850
5851 \backslash
5852 renewcommand
5853 \backslash
5854 labelitemi[0]{
5855 \backslash
5856 small
5857 \backslash
5858 (
5859 \backslash
5860 sharp
5861 \backslash
5862 )}
5863 \end_layout
5864
5865 \end_inset
5866
5867
5868 \end_layout
5869
5870 \begin_layout Itemize
5871 Usa el comando \SpecialChar LaTeX
5872  
5873 \begin_inset Flex Code
5874 status collapsed
5875
5876 \begin_layout Plain Layout
5877
5878 \backslash
5879 renewcommand{}{}
5880 \end_layout
5881
5882 \end_inset
5883
5884  para especificar un símbolo de marca para una profundidad determinada.
5885  Además tendrás que guardar la marca actual para que puedas recuperarla más adelante.
5886  En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5887  para cambiar la marca del primer nivel:
5888 \end_layout
5889
5890 \begin_deeper
5891 \begin_layout LyX-Code
5892
5893 \backslash
5894 let
5895 \backslash
5896 savelabelitemi=
5897 \backslash
5898 labelitemi 
5899 \end_layout
5900
5901 \begin_layout LyX-Code
5902
5903 \backslash
5904 renewcommand
5905 \backslash
5906 labelitemi[0]{
5907 \backslash
5908 small
5909 \backslash
5910 (
5911 \backslash
5912 sharp
5913 \backslash
5914 )}
5915 \end_layout
5916
5917 \end_deeper
5918 \begin_layout Itemize
5919 Observa que el nivel de profundidad se especifica en números romanos como parte del comando 
5920 \family typewriter
5921
5922 \begin_inset Flex Code
5923 status collapsed
5924
5925 \begin_layout Plain Layout
5926
5927 \family typewriter
5928
5929 \backslash
5930 labelitem
5931 \end_layout
5932
5933 \end_inset
5934
5935
5936 \end_layout
5937
5938 \begin_layout Itemize
5939 \begin_inset Argument item:1
5940 status open
5941
5942 \begin_layout Plain Layout
5943 \begin_inset ERT
5944 status open
5945
5946 \begin_layout Plain Layout
5947
5948
5949 \backslash
5950 (
5951 \backslash
5952 star
5953 \backslash
5954 )
5955 \end_layout
5956
5957 \end_inset
5958
5959
5960 \end_layout
5961
5962 \end_inset
5963
5964  Especifica cada entrada individual empezando cada ítem con el símbolo escogido encerrado entre a 
5965 \begin_inset Quotes eld
5966 \end_inset
5967
5968 Custom Item
5969 \begin_inset Quotes erd
5970 \end_inset
5971
5972  inset (available at 
5973 \family sans
5974 Insert\SpecialChar menuseparator
5975 Custom Item
5976 \family default
5977 ) y en 
5978 \begin_inset Flex Code
5979 status collapsed
5980
5981 \begin_layout Plain Layout
5982 código \SpecialChar TeX
5983
5984 \end_layout
5985
5986 \end_inset
5987
5988 .
5989  Por ejemplo,
5990  este ítem se inicia con 
5991 \begin_inset Flex Code
5992 status collapsed
5993
5994 \begin_layout Plain Layout
5995
5996 \backslash
5997 (
5998 \backslash
5999 star
6000 \backslash
6001 )
6002 \end_layout
6003
6004 \end_inset
6005
6006 .
6007 \end_layout
6008
6009 \begin_layout Plain Layout
6010 \begin_inset ERT
6011 status collapsed
6012
6013 \begin_layout Plain Layout
6014
6015
6016 \backslash
6017 renewcommand
6018 \backslash
6019 labelitemi[0]{
6020 \backslash
6021 savelabelitemi}
6022 \end_layout
6023
6024 \end_inset
6025
6026
6027 \end_layout
6028
6029 \begin_layout Plain Layout
6030 Además tendrás que volver a la configuración inicial global de marcas para que esta vuelva a funcionar.
6031  Así hemos hecho con:
6032 \end_layout
6033
6034 \begin_layout LyX-Code
6035
6036 \backslash
6037 renewcommand
6038 \backslash
6039 labelitemi[0]{
6040 \backslash
6041 savelabelitemi}
6042 \end_layout
6043
6044 \begin_layout LyX-Code
6045
6046 \end_layout
6047
6048 \end_inset
6049
6050
6051 \end_layout
6052
6053 \begin_layout Chapter
6054 \SpecialChar LyX
6055  y World Wide Web
6056 \end_layout
6057
6058 \begin_layout Standard
6059 \SpecialChar LyX
6060  soporta desde hace tiempo la exportación de documentos a varios formatos adecuados para la web,
6061  como HTML.
6062  Sin embargo,
6063  antes de la versión 2.0,
6064  la exportación a HTML siempre se hacía mediante el uso de convertidores externos.
6065 \begin_inset Foot
6066 status open
6067
6068 \begin_layout Plain Layout
6069 Véase la sección 
6070 \size normal
6071 \emph on
6072 Convertidores
6073 \emph default
6074  del manual 
6075 \emph on
6076 Personalización
6077 \emph default
6078 .
6079 \end_layout
6080
6081 \end_inset
6082
6083  Pueden actuar de dos maneras:
6084  usando \SpecialChar LaTeX
6085  como formato intermedio,
6086  como 
6087 \family typewriter
6088 htlatex
6089 \family default
6090 ,
6091  
6092 \family typewriter
6093 html2latex
6094 \family default
6095  y 
6096 \family typewriter
6097 plastex
6098 \family default
6099 ,
6100  encargándose \SpecialChar LyX
6101  de la generación del \SpecialChar LaTeX
6102 ,
6103  o trabajando directamente sobre archivos \SpecialChar LyX
6104 ,
6105  como 
6106 \family typewriter
6107 e\SpecialChar LyX
6108 er
6109 \family default
6110 .
6111  Cada método tiene distintas ventajas e inconvenientes.
6112  
6113 \end_layout
6114
6115 \begin_layout Standard
6116 Los convertidores basados en \SpecialChar LaTeX
6117  tienen la ventaja de que,
6118  en principio,
6119  lo saben todo sobre el documento que exporta \SpecialChar LaTeX
6120 .
6121  Estos convertidores no se preocupan,
6122  por ejemplo,
6123  de si determinado bloque de código fue generado por \SpecialChar LyX
6124  o si era código \SpecialChar TeX
6125  (o ERT,
6126  
6127 \emph on
6128 Evil Red Text
6129 \emph default
6130 ).
6131  Saben manejar archivos 
6132 \family typewriter
6133 aux
6134 \family default
6135 ,
6136  contadores,
6137  referencias,
6138  y generalmente pueden manejar archivos 
6139 \family typewriter
6140 bbl
6141 \family default
6142  generados por Bib\SpecialChar TeX
6143 .
6144  Por otra parte,
6145  \SpecialChar LaTeX
6146  es un lenguaje complejo de analizar —
6147 a veces se comenta que solo \SpecialChar TeX
6148  comprende a \SpecialChar TeX
6149
6150  y los convertidores basados en \SpecialChar LaTeX
6151  se atascan a menudo con estructuras aparentemente simples;
6152  las complejas pueden ahogarlos totalmente;
6153  en el momento de escribir esto,
6154  por ejemplo,
6155  el manual 
6156 \emph on
6157 Objetos insertados
6158 \emph default
6159  no se puede exportar con 
6160 \family typewriter
6161 htlatex
6162 \family default
6163 ,
6164  sí con los otros.
6165  Las matemáticas son otro tema:
6166  estos convertidores suelen convertir las ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento HTML.
6167  Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
6168 ,
6169  son correctas.
6170  Pero no redimensionan bien su tamaño,
6171  y ajustar su aspecto al que debería tener en el documento —
6172 de forma que los tamaños de los caracteres parezcan aproximadamente iguales—
6173  puede ser un reto.
6174  
6175 \end_layout
6176
6177 \begin_layout Standard
6178
6179 \family typewriter
6180 \begin_inset Flex Code
6181 status collapsed
6182
6183 \begin_layout Plain Layout
6184
6185 \family typewriter
6186 e\SpecialChar LyX
6187 er
6188 \end_layout
6189
6190 \end_inset
6191
6192
6193 \family default
6194 ,
6195  de Alex Fernández,
6196  (
6197 \begin_inset CommandInset href
6198 LatexCommand href
6199 name "http://pinchito.es/elyxer/"
6200 target "http://pinchito.es/elyxer/"
6201 literal "false"
6202
6203 \end_inset
6204
6205 ) resuelve algunos de estos problemas.
6206  En particular,
6207  las ecuaciones generadas redimensionan el tamaño perfectamente,
6208  ya que las procesa usando una combinación de HTML y CSS en lugar de convertirlas a imágenes.
6209  Pero incluso expresiones moderadamente complejas tienen un aspecto no tan bueno como con 
6210 \family typewriter
6211 htlatex
6212 \family default
6213 ;
6214  esto refleja las limitaciones de HTML.
6215 \begin_inset Foot
6216 status collapsed
6217
6218 \begin_layout Plain Layout
6219 Dicho esto,
6220  
6221 \family typewriter
6222 e\SpecialChar LyX
6223 er
6224 \family default
6225  también puede usar jsMath y MathJax,
6226  pero estas opciones solo están disponibles globalmente y requieren acceso al servidor que ejecuta el entorno.
6227 \end_layout
6228
6229 \end_inset
6230
6231  Y más importante (al menos desde la versión 1.1.1),
6232  
6233 \begin_inset Flex Code
6234 status collapsed
6235
6236 \begin_layout Plain Layout
6237 e\SpecialChar LyX
6238 er
6239 \end_layout
6240
6241 \end_inset
6242
6243  tiene soporte limitado para macros de ecuación y no lo tiene para párrafos o estilos de texto definidos por el usuario.
6244  Estas limitaciones hacen a 
6245 \begin_inset Flex Code
6246 status collapsed
6247
6248 \begin_layout Plain Layout
6249 e\SpecialChar LyX
6250 er
6251 \end_layout
6252
6253 \end_inset
6254
6255  inadecuado para muchos documentos de \SpecialChar LyX
6256 .
6257  En principio,
6258  por supuesto,
6259  estos problemas se podrían resolver,
6260  pero los desarrolladores de \SpecialChar LyX
6261  han decidido seguir una vía diferente y hacer al propio \SpecialChar LyX
6262  capaz de escribir XHTML,
6263  igual que es capaz de escribir \SpecialChar LaTeX
6264 ,
6265  DocBook o texto simple.
6266 \end_layout
6267
6268 \begin_layout Standard
6269 En el momento de escribir esto,
6270  La salida XHTML está en desarrollo y debería considerarse como 
6271 \begin_inset Quotes cld
6272 \end_inset
6273
6274 experimental
6275 \begin_inset Quotes crd
6276 \end_inset
6277
6278 .
6279 \begin_inset Foot
6280 status open
6281
6282 \begin_layout Plain Layout
6283 El archivo 
6284 \begin_inset Flex Code
6285 status collapsed
6286
6287 \begin_layout Plain Layout
6288 development/HTML/HTML.notes
6289 \end_layout
6290
6291 \end_inset
6292
6293  que está en el código fuente de \SpecialChar LyX
6294  o 
6295 \begin_inset CommandInset href
6296 LatexCommand href
6297 name "accessed online"
6298 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6299 literal "false"
6300
6301 \end_inset
6302
6303 ,
6304  contiene información actualizada sobre el estado de XHTML.
6305  Véase también la lista de fallos en XHTML en 
6306 \begin_inset CommandInset href
6307 LatexCommand href
6308 name "the bug tracker"
6309 target "https://www.lyx.org/trac/query?status=reopened&status=assigned&status=new&max=0&component=xhtml+export&order=id&col=id&col=summary&col=reporter&col=keywords&keywords=%21%7Efixedintrunk&desc=1"
6310 literal "false"
6311
6312 \end_inset
6313
6314 .
6315 \end_layout
6316
6317 \end_inset
6318
6319  Aún así,
6320  los desarrolladores han escogido este camino porque tiene ventajas potenciales sobre los otros dos.
6321 \end_layout
6322
6323 \begin_layout Standard
6324 Estas ventajas se deben,
6325  en primer lugar,
6326  al hecho de que las rutinas para exportar XHTML,
6327  ya que son parte de \SpecialChar LyX
6328 ,
6329  conocen todo lo que \SpecialChar LyX
6330  sabe sobre el documento a exportar.
6331 \begin_inset Foot
6332 status collapsed
6333
6334 \begin_layout Plain Layout
6335 Otra ventaja es que,
6336  puesto que estas rutinas son internas de \SpecialChar LyX
6337 ,
6338  son inmunes a los cambios en el formato de los archivos de \SpecialChar LyX
6339  o en la semántica de los recuadros insertados.
6340  
6341 \end_layout
6342
6343 \end_inset
6344
6345  Así pues,
6346  conocen sobre los índices (mostrados en el contorno),
6347  sobre los contadores asociados a estilos de párrafo,
6348  y sobre estilos personalizados.
6349  Las rutinas XHTML también saben sobre internacionalización lo mismo que \SpecialChar LyX
6350 ,
6351  de modo que la salida dirá 
6352 \begin_inset Quotes cld
6353 \end_inset
6354
6355 Capítulo 1
6356 \begin_inset Quotes crd
6357 \end_inset
6358
6359  o 
6360 \begin_inset Quotes cld
6361 \end_inset
6362
6363 Kapitel 1
6364 \begin_inset Quotes crd
6365 \end_inset
6366
6367  según el idioma activo.
6368 \end_layout
6369
6370 \begin_layout Standard
6371 En general,
6372  las rutinas de salida saben lo mismo que \SpecialChar LyX
6373  sobre el formato del documento,
6374  es decir,
6375  sobre cómo se mostrará el documento en pantalla.
6376  Usamos esta información cuando exportamos a XHTML.
6377  En particular,
6378  \SpecialChar LyX
6379  genera 
6380 \emph on
6381 automáticamente
6382 \emph default
6383  la información de estilo CSS correspondiente a la información que maneja para mostrar el documento en pantalla:
6384  si los encabezados de sección son palo seco en negrita en pantalla,
6385  entonces también (por omisión) serán palo seco negrita en un navegador web.
6386  Y esto es cierto no solo para estilos predefinidos,
6387  como una sección,
6388  sino para cualquier estilo,
6389  incluyendo los definidos por el usuario.
6390  En realidad,
6391  las rutinas XHTML no distinguen entre estilos de texto y de párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6392 :
6393  en cada caso todo lo que \SpecialChar LyX
6394  sabe sobre estilos está contenido en los archivos de formato.
6395  Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6396  como notas al pie y varios recuadros personalizados.
6397 \end_layout
6398
6399 \begin_layout Standard
6400 El resultado es que la salida XHTML se puede personalizar y extender de igual forma que se puede hacer con la salida \SpecialChar LaTeX
6401 :
6402  mediante archivos de formato y módulos.
6403  Véase el capítulo 5 del manual 
6404 \emph on
6405 Personalización
6406 \emph default
6407  para más detalles.
6408 \end_layout
6409
6410 \begin_layout Standard
6411 El resto de este capítulo contiene información más detallada sobre la salida XHTML,
6412  sus limitaciones y formas de evitarlas.
6413 \end_layout
6414
6415 \begin_layout Section
6416 Las ecuaciones en XHTML
6417 \end_layout
6418
6419 \begin_layout Standard
6420 \SpecialChar LyX
6421  ofrece cuatro posibilidades para el procesamiento de matemáticas.
6422  Cada una tiene sus ventajas y sus inconvenientes.
6423 \end_layout
6424
6425 \begin_layout Itemize
6426 MathML
6427 \begin_inset Newline newline
6428 \end_inset
6429
6430 MathML es un dialecto de XML diseñado específicamente para matemáticas en la web,
6431  y habitualmente rinde muy bien en los navegadores que lo soportan.
6432  La desventaja es que no todos los navegadores soportan MathML,
6433  y el soporte no es completo en navegadores basados en Gecko,
6434  como Firefox.
6435 \begin_inset Newline newline
6436 \end_inset
6437
6438 Si \SpecialChar LyX
6439  no es capaz de procesar una fórmula como MathML —
6440 por ejemplo,
6441  si la ecuación usa el paquete 
6442 \begin_inset Flex Code
6443 status collapsed
6444
6445 \begin_layout Plain Layout
6446 xymatrix
6447 \end_layout
6448
6449 \end_inset
6450
6451  o código \SpecialChar TeX
6452
6453  la transformará en imagen.
6454 \end_layout
6455
6456 \begin_layout Itemize
6457 HTML
6458 \begin_inset Newline newline
6459 \end_inset
6460
6461 Como se ha dicho antes,
6462  
6463 \begin_inset Flex Code
6464 status collapsed
6465
6466 \begin_layout Plain Layout
6467 e\SpecialChar LyX
6468 er
6469 \end_layout
6470
6471 \end_inset
6472
6473  procesa las matemáticas como HTML usando estilos CSS.
6474 \begin_inset Foot
6475 status collapsed
6476
6477 \begin_layout Plain Layout
6478 \SpecialChar LyX
6479  ha tomado de 
6480 \begin_inset Flex Code
6481 status collapsed
6482
6483 \begin_layout Plain Layout
6484 e\SpecialChar LyX
6485 er
6486 \end_layout
6487
6488 \end_inset
6489
6490  parte del CSS para su salida HTML.
6491 \end_layout
6492
6493 \end_inset
6494
6495  Para ecuaciones simple funciona bastante bien,
6496  aunque con expresiones más complejas tiende a fallar.
6497  Aún así,
6498  este método tiene la ventaja de que es ampliamente soportado y puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6499 \begin_inset Newline newline
6500 \end_inset
6501
6502 Si \SpecialChar LyX
6503  es incapaz de procesar una ecuación como HTML —
6504 por ejemplo,
6505  si la ecuación usa el paquete 
6506 \begin_inset Flex Code
6507 status collapsed
6508
6509 \begin_layout Plain Layout
6510 xymatrix
6511 \end_layout
6512
6513 \end_inset
6514
6515  o código \SpecialChar TeX
6516
6517  la transformará en imagen.
6518 \end_layout
6519
6520 \begin_layout Itemize
6521 Imágenes
6522 \begin_inset Newline newline
6523 \end_inset
6524
6525 Como 
6526 \begin_inset Flex Code
6527 status collapsed
6528
6529 \begin_layout Plain Layout
6530 htlatex
6531 \end_layout
6532
6533 \end_inset
6534
6535 ,
6536  \SpecialChar LyX
6537  transformará las ecuaciones en imágenes,
6538  las mismas,
6539  de hecho,
6540  que se usan para la visualización instantánea.
6541 \begin_inset Foot
6542 status open
6543
6544 \begin_layout Plain Layout
6545
6546 \emph on
6547 No
6548 \emph default
6549  es preciso que esté activa la previsualización instantánea para ver las imágenes en la salida.
6550 \end_layout
6551
6552 \end_inset
6553
6554  La ventaja de este método es que las imágenes son simplemente generadas por \SpecialChar LaTeX
6555 ,
6556  por lo que son muy precisas.
6557  La desventaja,
6558  como ya hemos dicho,
6559  es que son imágenes mapa de bits,
6560  por lo que no se redimensionan nada bien y no se pueden copiar,
6561  etc.
6562  
6563 \begin_inset Newline newline
6564 \end_inset
6565
6566 El tamaño de las imágenes se puede controlar estableciendo el parámetro 
6567 \begin_inset Quotes cld
6568 \end_inset
6569
6570 Escala de imágenes de ecuaciones
6571 \begin_inset Quotes crd
6572 \end_inset
6573
6574  en 
6575 \begin_inset Flex Noun
6576 status collapsed
6577
6578 \begin_layout Plain Layout
6579 Documento\SpecialChar menuseparator
6580 Configuración\SpecialChar menuseparator
6581 Formats
6582 \end_layout
6583
6584 \end_inset
6585
6586 .
6587  
6588 \begin_inset Foot
6589 status collapsed
6590
6591 \begin_layout Plain Layout
6592 Por si interesa:
6593  esto controla la resolución de la imagen en puntos por pulgada,
6594  y se basa en un valor inicial de 75 ppp.
6595 \end_layout
6596
6597 \end_inset
6598
6599
6600 \begin_inset Newline newline
6601 \end_inset
6602
6603 Si,
6604  por alguna razón,
6605  \SpecialChar LyX
6606  falla al crear una imagen para una ecuación (p.
6607 \begin_inset space ~
6608 \end_inset
6609
6610 ej.,
6611  si no está instalado un paquete \SpecialChar LaTeX
6612  requerido),
6613  generará la salida en \SpecialChar LaTeX
6614  puro.
6615 \end_layout
6616
6617 \begin_layout Itemize
6618 \SpecialChar LaTeX
6619
6620 \begin_inset Newline newline
6621 \end_inset
6622
6623 Para acabar,
6624  \SpecialChar LyX
6625  generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6626 .
6627  Siendo la solución de último recurso,
6628  este método puede usarse con herramientas como 
6629 \begin_inset CommandInset href
6630 LatexCommand href
6631 name "jsMath"
6632 target "http://www.math.union.edu/~dpvc/jsMath/"
6633 literal "false"
6634
6635 \end_inset
6636
6637 ,
6638  que usa JavaScript para insertar \SpecialChar LaTeX
6639  en documentos HTML.
6640  \SpecialChar LyX
6641  envuelve el \SpecialChar LaTeX
6642  en un 
6643 \begin_inset Flex Code
6644 status collapsed
6645
6646 \begin_layout Plain Layout
6647 span
6648 \end_layout
6649
6650 \end_inset
6651
6652  (para fórmulas en línea) o en un 
6653 \begin_inset Flex Code
6654 status collapsed
6655
6656 \begin_layout Plain Layout
6657 div
6658 \end_layout
6659
6660 \end_inset
6661
6662  (para fórmulas presentadas) con 
6663 \begin_inset Flex Code
6664 status collapsed
6665
6666 \begin_layout Plain Layout
6667 class='math'
6668 \end_layout
6669
6670 \end_inset
6671
6672 ,
6673  tal como requiere jsMath.
6674 \end_layout
6675
6676 \begin_layout Standard
6677 Debemos seleccionar uno de estos métodos en 
6678 \begin_inset Flex Noun
6679 status collapsed
6680
6681 \begin_layout Plain Layout
6682 Documento\SpecialChar menuseparator
6683 Configuración\SpecialChar menuseparator
6684 Formats
6685 \end_layout
6686
6687 \end_inset
6688
6689 .
6690  Por omisión,
6691  \SpecialChar LyX
6692  genera MathML.
6693  Se trata de una configuración para todo el documento.
6694 \end_layout
6695
6696 \begin_layout Standard
6697 Eventualmente,
6698  \SpecialChar LyX
6699  ofrecerá al usuario la opción de seleccionar un método alternativo para algún recuadro en particular,
6700  en el caso de que no se procese adecuadamente con MathML.
6701 \begin_inset Foot
6702 status collapsed
6703
6704 \begin_layout Plain Layout
6705 Dicho esto,
6706  como \SpecialChar LyX
6707  recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6708 ,
6709  es posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6710  inocuo en la ecuación,
6711  por ejemplo 
6712 \begin_inset Formula $a=b\relax$
6713 \end_inset
6714
6715 .
6716 \end_layout
6717
6718 \end_inset
6719
6720
6721 \end_layout
6722
6723 \begin_layout Section
6724 Bibliografía y citas
6725 \end_layout
6726
6727 \begin_layout Standard
6728 XHTML soporta totalmente bibliografías y citas.
6729 \end_layout
6730
6731 \begin_layout Standard
6732 Las etiquetas de citas se generan con el mismo mecanismo que genera las etiquetas en la pantalla de \SpecialChar LyX
6733 ,
6734  así que las etiquetas tendrán el mismo aspecto que en \SpecialChar LyX
6735 ,
6736  o incluso mejor.
6737  Si se usan citas numeradas,
6738  \SpecialChar LyX
6739  generará etiquetas numeradas,
6740  como [1],
6741  [17],
6742  en vez de mostrar las claves de las citas entre corchetes,
6743  como hace en pantalla.
6744  Si se usan citas autor-año,
6745  \SpecialChar LyX
6746  añadirá letras minúsculas a los años,
6747  como hace Bib\SpecialChar TeX
6748 ,
6749  si encuentra más de una cita para una combinación dada autor-año.
6750  Las etiquetas se imprimirán con las entradas bibliográficas.
6751  Hay que advertir que,
6752  por el momento,
6753  no hay forma de personalizar el aspecto de las etiquetas,
6754  por ejemplo para elegir entre corchetes o paréntesis.
6755 \end_layout
6756
6757 \begin_layout Standard
6758 Para la salida de la bibliografía interviene el mismo mecanismo que maneja la presentación de la información de las referencias en el diálogo de citas,
6759  de modo que se verán en XHTML como se ven en el diálogo de citas.
6760  El formato se puede personalizar en un archivo de usuario o,
6761  preferiblemente,
6762  en un módulo.
6763  Véase el manual 
6764 \emph on
6765 Personalización
6766 \emph default
6767  para más detalles.
6768 \end_layout
6769
6770 \begin_layout Standard
6771 El defecto principal en estos momentos es que la información de las referencias cruzadas se imprime junto con cada entrada con la que está asociada.
6772  Entonces,
6773  puedes ver cosas como estas:
6774 \end_layout
6775
6776 \begin_layout Quote
6777 Jason Stanley,
6778  
6779 \begin_inset Quotes eld
6780 \end_inset
6781
6782 Context and Logical Form
6783 \begin_inset Quotes erd
6784 \end_inset
6785
6786 ,
6787  in 
6788 \emph on
6789 Language in Context:
6790  Selected Essays
6791 \emph default
6792  (Oxford:
6793  Oxford University Press,
6794  2007),
6795  pp.
6796  30–68.
6797 \end_layout
6798
6799 \begin_layout Quote
6800 Jason Stanley,
6801  
6802 \begin_inset Quotes eld
6803 \end_inset
6804
6805 Semantics in Context
6806 \begin_inset Quotes erd
6807 \end_inset
6808
6809 ,
6810  in 
6811 \emph on
6812 Language in Context:
6813  Selected Essays
6814 \emph default
6815  (Oxford:
6816  Oxford University Press,
6817  2007),
6818  pp.
6819  201–30.
6820 \end_layout
6821
6822 \begin_layout Standard
6823 Esto debería estar pronto solucionado.
6824 \end_layout
6825
6826 \begin_layout Standard
6827 De momento no hay soporte para bibliografías por secciones.
6828  Si tienes múltiples bibliografías,
6829  \SpecialChar LyX
6830  imprimirá la misma una y otra vez.
6831 \end_layout
6832
6833 \begin_layout Section
6834 Índices
6835 \end_layout
6836
6837 \begin_layout Standard
6838 Afortunadamente,
6839  \SpecialChar LyX
6840  exportará los índices como XHTML,
6841  aunque con ciertas limitaciones,
6842  por el momento.
6843 \end_layout
6844
6845 \begin_layout Standard
6846 La exportación de índices será más fiable si no intentas usar las elegantes estructuras que se describen en la sección sobre índices de ls 
6847 \emph on
6848 Guía del usuario
6849 \emph default
6850 .
6851 \begin_inset Foot
6852 status collapsed
6853
6854 \begin_layout Plain Layout
6855 La cuestión principal es que \SpecialChar LyX
6856  no maneja esto por sí mismo.
6857  Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6858  puro.
6859 \end_layout
6860
6861 \end_inset
6862
6863  Describiremos cómo se manejan usando los encabezados de subsección de esta sección.
6864 \end_layout
6865
6866 \begin_layout Itemize
6867 Agrupación de entradas de índice (subentradas):
6868  \SpecialChar LyX
6869  se esfuerza en soportar esto,
6870  pero las entradas deben separarse por 
6871 \begin_inset Quotes cld
6872 \end_inset
6873
6874  !
6875  
6876 \begin_inset Quotes crd
6877 \end_inset
6878
6879 ,
6880  es decir,
6881  debe haber espacios alrededor del signo de exclamación.
6882  Esto es porque de otra manera sería complicado comprobar puntos de exclamación escapados en matemáticas,
6883  etc.
6884 \end_layout
6885
6886 \begin_layout Itemize
6887 Rangos de páginas:
6888  no hay soporte para rangos de páginas,
6889  puesto que esto no tiene sentido en XHTML.
6890  En su lugar,
6891  solo se mostrarán dos entradas de índice,
6892  uno en cada extremo.
6893 \end_layout
6894
6895 \begin_layout Itemize
6896 Referencias cruzadas:
6897  no hay soporte para esto.
6898  Si \SpecialChar LyX
6899  encuentra una entrada de la forma 
6900 \begin_inset Quotes cld
6901 \end_inset
6902
6903 |see...
6904 \begin_inset Quotes crd
6905 \end_inset
6906
6907  la ignora y el resto lo considera como una entrada de índice ordinaria.
6908 \end_layout
6909
6910 \begin_layout Itemize
6911 Orden de las entradas de índice:
6912  \SpecialChar LyX
6913  no soporta maniobras para fijar el orden de las entradas.
6914  Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6915  tomando lo que sigue a @ como la entrada real.
6916  Por el momento \SpecialChar LyX
6917  no identifica la @ escapada,
6918  por tanto no intentes indexar direcciones de correo.
6919 \end_layout
6920
6921 \begin_layout Itemize
6922 Formato de entradas de índice:
6923  Se pueden formatear entradas mediante el diálogo de estilo del texto,
6924  o con otro método disponible en \SpecialChar LyX
6925 .
6926  No hay soporte para estructuras como 
6927 \begin_inset Quotes cld
6928 \end_inset
6929
6930 entrada|textbf
6931 \begin_inset Quotes crd
6932 \end_inset
6933
6934 .
6935  Si \SpecialChar LyX
6936  encuentra un símbolo de tubería,
6937  '|' en una entrada lo borrará,
6938  y todo lo que sigue.
6939 \end_layout
6940
6941 \begin_layout Itemize
6942 Índices múltiples:
6943  no hay soporte para esto.
6944  Todas las entradas de estos índices se imprimirán como un solo índice.
6945  Para evitar la impresión de varias versiones del índice,
6946  imprimiremos solo el índice principal,
6947  de modo que asegúrate de tener uno.
6948 \end_layout
6949
6950 \begin_layout Section
6951 Nomenclatura y glosario
6952 \end_layout
6953
6954 \begin_layout Standard
6955 Por ahora no hay soporte para glosarios.
6956  Añadirlo debería ser bastante trivial,
6957  y bienvenido.
6958 \end_layout
6959
6960 \begin_layout Chapter
6961 El servidor \SpecialChar LyX
6962
6963 \end_layout
6964
6965 \begin_layout Section
6966 Introducción
6967 \end_layout
6968
6969 \begin_layout Standard
6970 El 'servidor \SpecialChar LyX
6971 ' permite a otros programas comunicarse con \SpecialChar LyX
6972 ,
6973  ejecutar comandos \SpecialChar LyX
6974  y recabar información sobre el estado interno de \SpecialChar LyX
6975 .
6976  Esto está dirigido solo a usuarios avanzados,
6977  quienes descubrirán su utilidad.
6978  Escribiendo al servidor,
6979  por ejemplo,
6980  los administradores de bibliografía,
6981  como JabRef,
6982  pueden dar 
6983 \begin_inset Quotes cld
6984 \end_inset
6985
6986 empuje
6987 \begin_inset Quotes crd
6988 \end_inset
6989
6990  a las citas en \SpecialChar LyX
6991 .
6992 \end_layout
6993
6994 \begin_layout Section
6995 Iniciar el servidor \SpecialChar LyX
6996
6997 \begin_inset CommandInset label
6998 LatexCommand label
6999 name "sec:Iniciar-el-servidor"
7000
7001 \end_inset
7002
7003
7004 \end_layout
7005
7006 \begin_layout Standard
7007 El servidor \SpecialChar LyX
7008  funciona mediante el uso de un par de las denominadas tuberías.
7009  Estas se encuentran generalmente en 
7010 \begin_inset Flex Code
7011 status collapsed
7012
7013 \begin_layout Plain Layout
7014 UserDir
7015 \end_layout
7016
7017 \end_inset
7018
7019  (no en Windows,
7020  en donde las tuberías 
7021 \emph on
7022 locales 
7023 \emph default
7024 se ubican en 
7025 \begin_inset Flex Code
7026 status collapsed
7027
7028 \begin_layout Plain Layout
7029
7030 \backslash
7031
7032 \backslash
7033 .
7034 \backslash
7035 pipe
7036 \end_layout
7037
7038 \end_inset
7039
7040 ) con los nombres 
7041 \begin_inset Flex Code
7042 status collapsed
7043
7044 \begin_layout Plain Layout
7045 lyxpipe.in
7046 \end_layout
7047
7048 \end_inset
7049
7050  y 
7051 \begin_inset Flex Code
7052 status collapsed
7053
7054 \begin_layout Plain Layout
7055 lyxpipe.out
7056 \end_layout
7057
7058 \end_inset
7059
7060 .
7061  Los programas externos escriben en 
7062 \begin_inset Flex Code
7063 status collapsed
7064
7065 \begin_layout Plain Layout
7066 lyxpipe.in
7067 \end_layout
7068
7069 \end_inset
7070
7071  y leen datos de 
7072 \begin_inset Flex Code
7073 status collapsed
7074
7075 \begin_layout Plain Layout
7076 lyxpipe.out
7077 \end_layout
7078
7079 \end_inset
7080
7081 .
7082  La raíz de los nombres de las tuberías se puede definir en el diálogo 
7083 \family sans
7084 Herramientas\SpecialChar menuseparator
7085 Preferencias
7086 \family default
7087 ,
7088  por ejemplo,
7089  
7090 \begin_inset Flex Code
7091 status collapsed
7092
7093 \begin_layout Plain Layout
7094 "/home/myhome/lyxpipe"
7095 \end_layout
7096
7097 \end_inset
7098
7099  o 
7100 \begin_inset Flex Code
7101 status collapsed
7102
7103 \begin_layout Plain Layout
7104 "
7105 \backslash
7106
7107 \backslash
7108 .
7109 \backslash
7110 pipe
7111 \backslash
7112 lyxpipe"
7113 \end_layout
7114
7115 \end_inset
7116
7117  en Windows (donde se puede usar cualquier ruta en vez de lyxpipe,
7118  por ejemplo 
7119 \begin_inset Flex Code
7120 status collapsed
7121
7122 \begin_layout Plain Layout
7123 "
7124 \backslash
7125
7126 \backslash
7127 .
7128 \backslash
7129 pipe
7130 \backslash
7131 my
7132 \backslash
7133 lyx
7134 \backslash
7135 pipe"
7136 \end_layout
7137
7138 \end_inset
7139
7140  debería funcionar).
7141  
7142 \emph on
7143 Debes
7144 \emph default
7145  configurar esto a mano para que arranque el servidor.
7146 \end_layout
7147
7148 \begin_layout Standard
7149 \SpecialChar LyX
7150  añadirá las extensiones '
7151 \begin_inset Flex Code
7152 status collapsed
7153
7154 \begin_layout Plain Layout
7155 .in
7156 \end_layout
7157
7158 \end_inset
7159
7160 ' y '
7161 \begin_inset Flex Code
7162 status collapsed
7163
7164 \begin_layout Plain Layout
7165 .out
7166 \end_layout
7167
7168 \end_inset
7169
7170 ' para crear las tuberías.
7171  Si alguna de ellas ya existe,
7172  \SpecialChar LyX
7173  asumirá que se está ejecutando otro proceso y no iniciará el servidor.
7174  Esto significa que si \SpecialChar LyX
7175  se bloquea,
7176  o si por alguna otra razón queda una tubería 
7177 \begin_inset Quotes cld
7178 \end_inset
7179
7180 vieja
7181 \begin_inset Quotes crd
7182 \end_inset
7183
7184  cuando \SpecialChar LyX
7185  se cierra,
7186  entonces \SpecialChar LyX
7187  no iniciará el servidor.
7188  (Bug 641).
7189  Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
7190 .
7191 \end_layout
7192
7193 \begin_layout Standard
7194 Para tener al mismo tiempo varios procesos con servidores hay que usar diferentes configuraciones,
7195  quizás usando distintos directorios de usuario,
7196  cada uno con su propio archivo 
7197 \begin_inset Flex Code
7198 status collapsed
7199
7200 \begin_layout Plain Layout
7201 preferences
7202 \end_layout
7203
7204 \end_inset
7205
7206  para cada proceso.
7207 \end_layout
7208
7209 \begin_layout Standard
7210 Si estás desarrollando un programa cliente,
7211  podría ser útil activar la información de depuración del servidor de \SpecialChar LyX
7212 .
7213  Esto se hace iniciando \SpecialChar LyX
7214  con 
7215 \begin_inset Flex Code
7216 status collapsed
7217
7218 \begin_layout Plain Layout
7219 lyx -dbg lyxserver
7220 \end_layout
7221
7222 \end_inset
7223
7224 .
7225 \end_layout
7226
7227 \begin_layout Standard
7228 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribución fuente como 
7229 \begin_inset Flex Code
7230 status collapsed
7231
7232 \begin_layout Plain Layout
7233 development/lyxserver/server_monitor.cpp
7234 \end_layout
7235
7236 \end_inset
7237
7238 .
7239 \end_layout
7240
7241 \begin_layout Standard
7242 Otra herramienta útil es el cliente en línea de comandos 
7243 \begin_inset Flex Code
7244 status collapsed
7245
7246 \begin_layout Plain Layout
7247 src/client/lyxclient
7248 \end_layout
7249
7250 \end_inset
7251
7252 .
7253 \end_layout
7254
7255 \begin_layout Section
7256 Comunicación normal
7257 \end_layout
7258
7259 \begin_layout Standard
7260 Para emitir una llamada a \SpecialChar LyX
7261 ,
7262  el cliente escribe una línea de texto ASCII en la tubería de entrada.
7263  Esta línea tiene el siguiente formato:
7264 \end_layout
7265
7266 \begin_layout Quote
7267 LYXCMD:
7268 \emph on
7269 clientname
7270 \emph default
7271 :
7272 \emph on
7273 function
7274 \emph default
7275 :
7276 \emph on
7277 argument
7278 \end_layout
7279
7280 \begin_layout Description
7281 clientname es un nombre que el cliente puede escoger arbitrariamente.
7282  Su única función es que \SpecialChar LyX
7283  lo repetirá si envía una respuesta —
7284 así un cliente puede enviar resultados desde diferentes solicitantes.
7285 \end_layout
7286
7287 \begin_layout Description
7288 function es la función que quieres que \SpecialChar LyX
7289  lleve a cabo.
7290  Es lo mismo que los comandos que usarías en el minibúfer.
7291 \end_layout
7292
7293 \begin_layout Description
7294 argument es un argumento opcional que solo es significativo para ciertas funciones (por ejemplo,
7295  la función LFUN 
7296 \begin_inset Quotes cld
7297 \end_inset
7298
7299 self-insert
7300 \begin_inset Quotes crd
7301 \end_inset
7302
7303  insertará el argumento como texto en la posición del cursor).
7304 \end_layout
7305
7306 \begin_layout Standard
7307 La respuesta de \SpecialChar LyX
7308  llegará en la tubería de salida y será de la forma
7309 \end_layout
7310
7311 \begin_layout Quote
7312 INFO:
7313 \emph on
7314 clientname
7315 \emph default
7316 :
7317 \emph on
7318 function
7319 \emph default
7320 :
7321 \emph on
7322 data
7323 \end_layout
7324
7325 \begin_layout Standard
7326 donde 
7327 \emph on
7328 clientname
7329 \emph default
7330  y 
7331 \emph on
7332 function
7333 \emph default
7334  solo son respuestas del comando solicitante,
7335  mientras que 
7336 \emph on
7337 data
7338 \emph default
7339  es información más o menos útil sobre cómo ha funcionado la ejecución del comando.
7340  Algunos comandos,
7341  tales como 
7342 \begin_inset Quotes cld
7343 \end_inset
7344
7345 font-state
7346 \begin_inset Quotes crd
7347 \end_inset
7348
7349 ,
7350  devolverán información sobre el estado interno de \SpecialChar LyX
7351 ,
7352  mientras que otros devolverán una respuesta vacía.
7353  Esto significa que la ejecución del comando fue correcta.
7354 \end_layout
7355
7356 \begin_layout Standard
7357 En caso de errores la respuesta de \SpecialChar LyX
7358  será de la forma
7359 \end_layout
7360
7361 \begin_layout Quote
7362 ERROR:
7363 \emph on
7364 clientname
7365 \emph default
7366 :
7367 \emph on
7368 function
7369 \emph default
7370 :
7371 \emph on
7372 error message
7373 \end_layout
7374
7375 \begin_layout Standard
7376 donde el 
7377 \emph on
7378 error message
7379 \emph default
7380  debería contener una explicación de por qué falló el comando.
7381 \end_layout
7382
7383 \begin_layout Standard
7384 Ejemplos:
7385 \end_layout
7386
7387 \begin_layout LyX-Code
7388 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7389 \end_layout
7390
7391 \begin_layout LyX-Code
7392 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7393 \begin_inset Newline newline
7394 \end_inset
7395
7396 read a <~/.lyxpipe.out
7397 \begin_inset Newline newline
7398 \end_inset
7399
7400 echo $a
7401 \end_layout
7402
7403 \begin_layout Subsection
7404 AppleScript (Mac OS X)
7405 \end_layout
7406
7407 \begin_layout Standard
7408 Desde \SpecialChar LyX
7409  2.1,
7410  \SpecialChar LyX
7411  soporta interacciones básicas con AppleScript para comunicación normal mediante el comando run.
7412  Este comando toma un argumento directo (la 
7413 \series bold
7414 function
7415 \series default
7416  a realizar) y un argumento opcional.
7417  Devuelve la salida de la función o desencadena un error con un mensaje y el código.
7418 \end_layout
7419
7420 \begin_layout Standard
7421 Ejemplo:
7422 \end_layout
7423
7424 \begin_layout LyX-Code
7425 tell application "\SpecialChar LyX
7426 "
7427 \end_layout
7428
7429 \begin_layout LyX-Code
7430   try
7431 \end_layout
7432
7433 \begin_layout LyX-Code
7434     -- Stores the current file name into f
7435 \end_layout
7436
7437 \begin_layout LyX-Code
7438     set f to (run "server-get-filename" with argument "")
7439 \end_layout
7440
7441 \begin_layout LyX-Code
7442     on error the error_message number the error_number
7443 \end_layout
7444
7445 \begin_layout LyX-Code
7446       display dialog "Error:
7447  " & the error_number & ".
7448  " ¬
7449 \end_layout
7450
7451 \begin_layout LyX-Code
7452               & the error_message buttons {"OK"} default button 1
7453 \end_layout
7454
7455 \begin_layout LyX-Code
7456   end try
7457 \end_layout
7458
7459 \begin_layout LyX-Code
7460 end tell
7461 \end_layout
7462
7463 \begin_layout Section
7464 Notificación
7465 \end_layout
7466
7467 \begin_layout Standard
7468 \SpecialChar LyX
7469  puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7470  Actualmente solo lo hará si el usuario liga una secuencia de teclas a la función 
7471 \begin_inset Quotes cld
7472 \end_inset
7473
7474 notify
7475 \begin_inset Quotes crd
7476 \end_inset
7477
7478 .
7479  El formato de la cadena que envía \SpecialChar LyX
7480  es como sigue:
7481 \end_layout
7482
7483 \begin_layout Quote
7484 \begin_inset Flex Code
7485 status collapsed
7486
7487 \begin_layout Plain Layout
7488 NOTIFY:
7489 \end_layout
7490
7491 \end_inset
7492
7493
7494 \emph on
7495 key-sequence
7496 \end_layout
7497
7498 \begin_layout Standard
7499 donde 
7500 \emph on
7501 key-sequence
7502 \emph default
7503  es la representación impresa de la secuencia de teclas que fue realmente tecleada por el usuario.
7504 \end_layout
7505
7506 \begin_layout Standard
7507 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de \SpecialChar LyX
7508  e implementar macros.
7509  Asocia alguna secuencia de teclas a 
7510 \begin_inset Quotes cld
7511 \end_inset
7512
7513 notify
7514 \begin_inset Quotes crd
7515 \end_inset
7516
7517 .
7518  Después inicia un cliente que escucha en la tubería de salida,
7519  envía el comando acorde con la secuencia e inicia una función que pueda usar llamadas y solicitudes a \SpecialChar LyX
7520  para emitir un comando o una serie de comandos a \SpecialChar LyX
7521 .
7522 \end_layout
7523
7524 \begin_layout Section
7525 El sencillo protocolo del servidor \SpecialChar LyX
7526
7527 \end_layout
7528
7529 \begin_layout Standard
7530 \SpecialChar LyX
7531  implementa un protocolo sencillo que puede utilizarse para administrar sesiones.
7532  Todos los mensajes son de la forma
7533 \end_layout
7534
7535 \begin_layout Quote
7536 LYXSRV:
7537 \emph on
7538 clientname
7539 \emph default
7540 :
7541 \emph on
7542 protocol message
7543 \end_layout
7544
7545 \begin_layout Standard
7546 donde 
7547 \emph on
7548 protocol message
7549 \emph default
7550  puede ser 
7551 \begin_inset Quotes cld
7552 \end_inset
7553
7554 hello
7555 \begin_inset Quotes crd
7556 \end_inset
7557
7558  o 
7559 \begin_inset Quotes cld
7560 \end_inset
7561
7562 bye
7563 \begin_inset Quotes crd
7564 \end_inset
7565
7566 .
7567  Si se recibe 
7568 \begin_inset Quotes cld
7569 \end_inset
7570
7571 hello
7572 \begin_inset Quotes crd
7573 \end_inset
7574
7575  de un cliente,
7576  \SpecialChar LyX
7577  devolverá información al cliente de que está escuchando sus mensajes,
7578  mientras que 
7579 \begin_inset Quotes cld
7580 \end_inset
7581
7582 bye
7583 \begin_inset Quotes crd
7584 \end_inset
7585
7586  enviado desde \SpecialChar LyX
7587  informará a los clientes que \SpecialChar LyX
7588  se ha cerrado.
7589 \end_layout
7590
7591 \begin_layout Section
7592 Búsqueda inversa DVI/PDF
7593 \end_layout
7594
7595 \begin_layout Standard
7596 Algunos visores DVI/PDF
7597 \begin_inset Foot
7598 status collapsed
7599
7600 \begin_layout Plain Layout
7601 Okular en KDE/Linux,
7602  Qpdfview en Unix,
7603  Skim en Mac OSX y SumatraPDF en Windows.
7604 \end_layout
7605
7606 \end_inset
7607
7608  ofrecen la posibilidad de 
7609 \emph on
7610 búsqueda inversa
7611 \emph default
7612 .
7613  Esto quiere decir que puedes indicar a \SpecialChar LyX
7614  que coloque el cursor en una línea determinada en el documento haciendo clic en la posición correspondiente en la salida DVI/PDF.
7615  Para ello,
7616  el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7617 .
7618  Esto se consigue mediante el servidor \SpecialChar LyX
7619  usando la tubería (
7620 \emph on
7621 lyxpipe
7622 \emph default
7623 ) o el zócalo de dominio UNIX (
7624 \emph on
7625 lyxsocket
7626 \emph default
7627 ) que \SpecialChar LyX
7628  crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7629  se comunica con el programa 
7630 \begin_inset Flex Code
7631 status collapsed
7632
7633 \begin_layout Plain Layout
7634 lyxclient
7635 \end_layout
7636
7637 \end_inset
7638
7639 .
7640  En algunos casos,
7641  hará falta un guión de apoyo que medie entre el visor y \SpecialChar LyX
7642 ,
7643  en otros,
7644  el visor se podrá comunicar directamente con \SpecialChar LyX
7645 .
7646  Esto depende del visor seleccionado y del sistema operativo.
7647  Lo mismo es aplicable a la forma en que los visores deben configurarse y la forma en que la búsqueda inversa se lleva a cabo realmente.
7648  En lo que sigue,
7649  describiremos cómo se configura la búsqueda en visores determinados.
7650  Antes,
7651  sin embargo,
7652  explicamos lo que hay que hacer en general para habilitar la búsqueda inversa en el DVI/PDF.
7653 \end_layout
7654
7655 \begin_layout Subsection
7656 Activación automática
7657 \begin_inset CommandInset label
7658 LatexCommand label
7659 name "subsec:Activación-automática"
7660
7661 \end_inset
7662
7663
7664 \end_layout
7665
7666 \begin_layout Standard
7667 En la mayoría de los casos \SpecialChar LyX
7668  funcionará 
7669 \lang english
7670 pressing the following button in the toolbar:
7671  
7672 \begin_inset Info
7673 type  "icon"
7674 arg   "buffer-toggle-output-sync"
7675 \end_inset
7676
7677 .
7678  Alternatively,
7679  you can also enable the feature by checking 
7680 \family sans
7681 Synchronize with Output
7682 \family default
7683  in 
7684 \begin_inset Flex Noun
7685 status collapsed
7686
7687 \begin_layout Plain Layout
7688
7689 \lang english
7690 Document\SpecialChar menuseparator
7691 Settings\SpecialChar menuseparator
7692 Formats
7693 \end_layout
7694
7695 \end_inset
7696
7697
7698 \lang spanish
7699 En estos casos \SpecialChar LyX
7700  insertará automáticamente la macro 
7701 \begin_inset Flex Code
7702 status collapsed
7703
7704 \begin_layout Plain Layout
7705 Sync\SpecialChar TeX
7706
7707 \end_layout
7708
7709 \end_inset
7710
7711  (para PDF) o el paquete 
7712 \begin_inset Flex Code
7713 status collapsed
7714
7715 \begin_layout Plain Layout
7716 srcltx
7717 \end_layout
7718
7719 \end_inset
7720
7721  (para DVI).
7722  Esta opción está fácilmente disponible,
7723  además,
7724  en la barra de herramientas 
7725 \begin_inset Flex Noun
7726 status collapsed
7727
7728 \begin_layout Plain Layout
7729 Ver/Actualizar
7730 \end_layout
7731
7732 \end_inset
7733
7734 .
7735 \end_layout
7736
7737 \begin_layout Standard
7738 Si necesitas una configuración diferente,
7739  puedes seleccionar o introducir una macro personalizada desde el cuadro desplegable bajo 
7740 \begin_inset Flex Noun
7741 status collapsed
7742
7743 \begin_layout Plain Layout
7744 Documento\SpecialChar menuseparator
7745 Configuración\SpecialChar menuseparator
7746 Salidas\SpecialChar menuseparator
7747 Sincronizar con salida
7748 \end_layout
7749
7750 \end_inset
7751
7752 .
7753 \end_layout
7754
7755 \begin_layout Standard
7756 El método 
7757 \begin_inset Flex Code
7758 status collapsed
7759
7760 \begin_layout Plain Layout
7761
7762 \backslash
7763 synctex=1
7764 \end_layout
7765
7766 \end_inset
7767
7768  activa compresión gzip.
7769  Si el visor no lo soporta,
7770  sería mejor usar 
7771 \begin_inset Flex Code
7772 status collapsed
7773
7774 \begin_layout Plain Layout
7775
7776 \backslash
7777 synctex=-1
7778 \end_layout
7779
7780 \end_inset
7781
7782 .
7783 \end_layout
7784
7785 \begin_layout Standard
7786 Advirtamos que la inclusión de los paquetes 
7787 \begin_inset Flex Code
7788 status collapsed
7789
7790 \begin_layout Plain Layout
7791 srcltx
7792 \end_layout
7793
7794 \end_inset
7795
7796  o 
7797 \begin_inset Flex Code
7798 status collapsed
7799
7800 \begin_layout Plain Layout
7801 src-specials
7802 \end_layout
7803
7804 \end_inset
7805
7806  puede tener a veces un impacto no deseado en la tipografía;
7807  entonces,
7808  si se usa alguno de dichos paquetes habría que desactivar la sincronización para la composición final.
7809 \end_layout
7810
7811 \begin_layout Standard
7812 En caso de necesitar otros ajustes más específicos no cubiertos por la configuración automática,
7813  lee la sección siguiente sobre activación manual.
7814  Si la configuración automática cubre tus necesidades,
7815  puedes pasar directamente a la sección 
7816 \begin_inset CommandInset ref
7817 LatexCommand ref
7818 reference "subsec:Configuración-y-uso-de-visores"
7819 nolink "false"
7820
7821 \end_inset
7822
7823 ,
7824  en la que se describen los pasos necesarios para configurar el visor —
7825 necesarios tanto para configuración automática como manual.
7826 \end_layout
7827
7828 \begin_layout Subsection
7829 Activación manual
7830 \end_layout
7831
7832 \begin_layout Standard
7833 \SpecialChar LaTeX
7834  proporciona varios métodos para la búsqueda inversa.
7835  Algunos son parte del programa 
7836 \begin_inset Flex Code
7837 status collapsed
7838
7839 \begin_layout Plain Layout
7840 latex/pdflatex
7841 \end_layout
7842
7843 \end_inset
7844
7845 ,
7846  otros forman parte de paquetes externos.
7847  La elección depende de si la distribución \SpecialChar LaTeX
7848  instalada ya proporciona un método (los métodos incorporados son bastante nuevos) y si el visor a usar puede enfrentarse a este.
7849  Describimos a continuación los métodos disponibles.
7850 \end_layout
7851
7852 \begin_layout Subsubsection*
7853 Buscador DVI incorporado vía src-specials (solo DVI)
7854 \end_layout
7855
7856 \begin_layout Standard
7857 Este método proporciona el archivo DVI con la información necesaria para realizar búsqueda inversa.
7858  Está disponible en \SpecialChar LaTeX
7859  desde hace tiempo (cualquier distribución reciente lo debe incluir) y es fiable.
7860  Para habilitarlo,
7861  cambia el convertidor 
7862 \begin_inset Flex Code
7863 status collapsed
7864
7865 \begin_layout Plain Layout
7866 LaTeX (plain)->DVI
7867 \end_layout
7868
7869 \end_inset
7870
7871  o 
7872 \begin_inset Flex Code
7873 status collapsed
7874
7875 \begin_layout Plain Layout
7876 LaTeX (plain)->DraftDVI
7877 \end_layout
7878
7879 \end_inset
7880
7881  en 
7882 \begin_inset Flex Noun
7883 status collapsed
7884
7885 \begin_layout Plain Layout
7886 Herramientas\SpecialChar menuseparator
7887 Preferencias\SpecialChar menuseparator
7888 Gestión de archivos\SpecialChar menuseparator
7889 Convertidores
7890 \end_layout
7891
7892 \end_inset
7893
7894  por 
7895 \begin_inset Flex Code
7896 status collapsed
7897
7898 \begin_layout Plain Layout
7899 latex -src-specials $$i
7900 \end_layout
7901
7902 \end_inset
7903
7904 .
7905  Si no funciona,
7906  comprueba si tu maquinaria \SpecialChar TeX
7907  necesita opciones diferentes (la sintaxis podría diferir en algunas distribuciones).
7908 \end_layout
7909
7910 \begin_layout Subsubsection*
7911 Paquetes externos (PDFSync y srcltx)
7912 \end_layout
7913
7914 \begin_layout Standard
7915 Los paquetes 
7916 \begin_inset Flex Code
7917 status collapsed
7918
7919 \begin_layout Plain Layout
7920 PDFSync
7921 \end_layout
7922
7923 \end_inset
7924
7925  y 
7926 \begin_inset Flex Code
7927 status collapsed
7928
7929 \begin_layout Plain Layout
7930 srcltx
7931 \end_layout
7932
7933 \end_inset
7934
7935  proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7936  respectivamente.
7937  Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7938 :
7939 \end_layout
7940
7941 \begin_layout Itemize
7942 \begin_inset Flex Code
7943 status collapsed
7944
7945 \begin_layout Plain Layout
7946
7947 \backslash
7948 usepackage{pdfsync}
7949 \end_layout
7950
7951 \end_inset
7952
7953  para búsqueda inversa en PDF
7954 \end_layout
7955
7956 \begin_layout Itemize
7957 \begin_inset Flex Code
7958 status collapsed
7959
7960 \begin_layout Plain Layout
7961
7962 \backslash
7963 usepackage[active]{srcltx}
7964 \end_layout
7965
7966 \end_inset
7967
7968  para búsqueda inversa en DVI
7969 \end_layout
7970
7971 \begin_layout Standard
7972 Para habilitar el uso de ambos inserta las siguientes líneas:
7973 \end_layout
7974
7975 \begin_layout LyX-Code
7976
7977 \backslash
7978 usepackage{ifpdf}
7979 \begin_inset Newline newline
7980 \end_inset
7981
7982
7983 \backslash
7984 ifpdf
7985 \begin_inset Newline newline
7986 \end_inset
7987
7988   
7989 \backslash
7990 usepackage{pdfsync}
7991 \begin_inset Newline newline
7992 \end_inset
7993
7994
7995 \backslash
7996 else
7997 \begin_inset Newline newline
7998 \end_inset
7999
8000   
8001 \backslash
8002 usepackage[active]{srcltx}
8003 \begin_inset Newline newline
8004 \end_inset
8005
8006
8007 \backslash
8008 fi
8009 \end_layout
8010
8011 \begin_layout Standard
8012 Así,
8013  el archivo se puede ver tanto como DVI como PDF (pdflatex),
8014  usando el paquete adecuado.
8015 \end_layout
8016
8017 \begin_layout Standard
8018 Advirtamos que PDFSync podría afectar el formato de salida del documento.
8019  Por eso es conveniente deshabilitar PDFSync para componer el documento final.
8020 \end_layout
8021
8022 \begin_layout Subsubsection*
8023 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
8024  (DVI y PDF)
8025 \end_layout
8026
8027 \begin_layout Standard
8028 Las recientes versiones de 
8029 \begin_inset Flex Code
8030 status collapsed
8031
8032 \begin_layout Plain Layout
8033 (pdf)latex
8034 \end_layout
8035
8036 \end_inset
8037
8038  incorporan soporte para búsqueda inversa en PDF y DVI.
8039  La instalación llamada 
8040 \emph on
8041 Sync\SpecialChar TeX
8042
8043 \emph default
8044  es básicamente el resultado de integrar el paquete PDFSync en pdftex y su fusión con el enfoque 
8045 \emph on
8046 src-specials
8047 \emph default
8048 .
8049  Para usarla hace falta al menos \SpecialChar TeX
8050 Live 2008 o una distribución Mik\SpecialChar TeX
8051  reciente.
8052  Además,
8053  solo unos pocos visores PDF (
8054 \lang english
8055 such as 
8056 \lang spanish
8057 Okular y Qpdfview en Unix,
8058  Skim en Mac,
8059  SumatraPDF en Windows
8060 \lang english
8061 ;
8062  see the next section for details
8063 \lang spanish
8064 ) proporcionan por ahora soporte para Sync\SpecialChar TeX
8065 .
8066 \end_layout
8067
8068 \begin_layout Standard
8069 Para activar Sync\SpecialChar TeX
8070  en DVI,
8071  cambia el convertidor 
8072 \begin_inset Flex Code
8073 status collapsed
8074
8075 \begin_layout Plain Layout
8076 LaTeX (plain) -> DVI
8077 \end_layout
8078
8079 \end_inset
8080
8081  o 
8082 \begin_inset Flex Code
8083 status collapsed
8084
8085 \begin_layout Plain Layout
8086 LaTeX (plain) -> DraftDVI
8087 \end_layout
8088
8089 \end_inset
8090
8091  en 
8092 \begin_inset Flex Noun
8093 status collapsed
8094
8095 \begin_layout Plain Layout
8096 Herramientas\SpecialChar menuseparator
8097 Preferencias\SpecialChar menuseparator
8098 Gestión de archivos\SpecialChar menuseparator
8099 Convertidores
8100 \end_layout
8101
8102 \end_inset
8103
8104  por 
8105 \begin_inset Flex Code
8106 status collapsed
8107
8108 \begin_layout Plain Layout
8109 latex -synctex=1 $$i
8110 \end_layout
8111
8112 \end_inset
8113
8114 ,
8115  y para PDF cambia 
8116 \begin_inset Flex Code
8117 status collapsed
8118
8119 \begin_layout Plain Layout
8120 LaTeX (pdflatex) -> PDF (pdflatex)
8121 \end_layout
8122
8123 \end_inset
8124
8125  por 
8126 \begin_inset Flex Code
8127 status collapsed
8128
8129 \begin_layout Plain Layout
8130 pdflatex -synctex=1 $$i
8131 \end_layout
8132
8133 \end_inset
8134
8135 .
8136  
8137 \lang english
8138 Should your viewer not be considered in the following description,
8139  or in case of missing success,
8140  please 
8141 \lang spanish
8142 consulta en la documentación de tu visor si necesita ser configurado para usarlo con Sync\SpecialChar TeX
8143 .
8144 \begin_inset Foot
8145 status collapsed
8146
8147 \begin_layout Plain Layout
8148 La opción 
8149 \begin_inset Flex Code
8150 status collapsed
8151
8152 \begin_layout Plain Layout
8153 -synctex=1
8154 \end_layout
8155
8156 \end_inset
8157
8158  permite compresión gzip.
8159  Si el visor no lo soporta,
8160  entonces usa 
8161 \begin_inset Flex Code
8162 status collapsed
8163
8164 \begin_layout Plain Layout
8165 -synctex=-1
8166 \end_layout
8167
8168 \end_inset
8169
8170 .
8171 \end_layout
8172
8173 \end_inset
8174
8175
8176 \end_layout
8177
8178 \begin_layout Subsection
8179 Configuración y uso de visores específicos
8180 \begin_inset CommandInset label
8181 LatexCommand label
8182 name "subsec:Configuración-y-uso-de-visores"
8183
8184 \end_inset
8185
8186
8187 \end_layout
8188
8189 \begin_layout Subsubsection*
8190 Xdvi (todas las plataformas)
8191 \end_layout
8192
8193 \begin_layout Standard
8194 Si usas 
8195 \begin_inset Flex Code
8196 status collapsed
8197
8198 \begin_layout Plain Layout
8199 xdvi
8200 \end_layout
8201
8202 \end_inset
8203
8204  no necesitas hacer nada para utilizar la búsqueda inversa en DVI,
8205  ya que \SpecialChar LyX
8206  proporciona los ganchos necesarios para usar automáticamente el programa 
8207 \begin_inset Flex Code
8208 status collapsed
8209
8210 \begin_layout Plain Layout
8211 lyxclient
8212 \end_layout
8213
8214 \end_inset
8215
8216 .
8217  Basta con configurar tu documento como se describió antes (la búsqueda inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
8218 \end_layout
8219
8220 \begin_layout Standard
8221 Sin embargo,
8222  si por la razón que sea quieres usar la tubería en vez del zócalo para comunicar con \SpecialChar LyX
8223 ,
8224  simplemente cambia el visor DVI en 
8225 \begin_inset Flex Noun
8226 status collapsed
8227
8228 \begin_layout Plain Layout
8229 Herramientas\SpecialChar menuseparator
8230 Preferencias\SpecialChar menuseparator
8231 Gestión de archivos\SpecialChar menuseparator
8232 Formatos de archivo
8233 \end_layout
8234
8235 \end_inset
8236
8237  a 
8238 \begin_inset Flex Code
8239 status collapsed
8240
8241 \begin_layout Plain Layout
8242 xdvi -editor "lyxeditor.sh %f %l"
8243 \end_layout
8244
8245 \end_inset
8246
8247 ,
8248 \begin_inset Foot
8249 status collapsed
8250
8251 \begin_layout Plain Layout
8252 En Mac OSX hay que usar 
8253 \begin_inset Flex Code
8254 status collapsed
8255
8256 \begin_layout Plain Layout
8257 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
8258 \end_layout
8259
8260 \end_inset
8261
8262
8263 \end_layout
8264
8265 \end_inset
8266
8267  donde 
8268 \begin_inset Flex Code
8269 status collapsed
8270
8271 \begin_layout Plain Layout
8272 lyxeditor.sh
8273 \end_layout
8274
8275 \end_inset
8276
8277  es un guión apropiado.
8278  Por ejemplo,
8279  un mínimo guión de shell es el siguiente:
8280 \end_layout
8281
8282 \begin_layout LyX-Code
8283 #!/bin/sh
8284 \begin_inset Newline newline
8285 \end_inset
8286
8287 LYXPIPE="/ruta/a/lyxpipe"
8288 \begin_inset Newline newline
8289 \end_inset
8290
8291 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
8292 \begin_inset Newline newline
8293 \end_inset
8294
8295 echo "$COMMAND" > "${LYXPIPE}".in || exit
8296 \begin_inset Newline newline
8297 \end_inset
8298
8299 read TMP < "${LYXPIPE}".out || exit
8300 \end_layout
8301
8302 \begin_layout Standard
8303 donde 
8304 \begin_inset Flex Code
8305 status collapsed
8306
8307 \begin_layout Plain Layout
8308 /ruta/a/lyxpipe
8309 \end_layout
8310
8311 \end_inset
8312
8313  es la ruta de la tubería \SpecialChar LyX
8314 Server especificada en 
8315 \begin_inset Flex Noun
8316 status collapsed
8317
8318 \begin_layout Plain Layout
8319 Herramientas\SpecialChar menuseparator
8320 Preferencias\SpecialChar menuseparator
8321 Rutas
8322 \end_layout
8323
8324 \end_inset
8325
8326 .
8327 \begin_inset Foot
8328 status collapsed
8329
8330 \begin_layout Plain Layout
8331 En la carpeta 
8332 \begin_inset Flex Code
8333 status collapsed
8334
8335 \begin_layout Plain Layout
8336 development/tools
8337 \end_layout
8338
8339 \end_inset
8340
8341  de una distribución fuente puedes encontrar un guión 
8342 \begin_inset Flex Code
8343 status collapsed
8344
8345 \begin_layout Plain Layout
8346 lyxeditor
8347 \end_layout
8348
8349 \end_inset
8350
8351  que puede localizar 
8352 \size normal
8353 \emph on
8354 lyxpipe
8355 \emph default
8356  basado en tus preferencias.
8357 \end_layout
8358
8359 \end_inset
8360
8361
8362 \end_layout
8363
8364 \begin_layout Subsubsection*
8365 MacDviX (Mac OSX)
8366 \end_layout
8367
8368 \begin_layout Standard
8369 Al final de 
8370 \begin_inset Flex Code
8371 status collapsed
8372
8373 \begin_layout Plain Layout
8374 /Applications/MacDviX_Folder/calleditor.script
8375 \end_layout
8376
8377 \end_inset
8378
8379 ,
8380  añade las líneas:
8381 \end_layout
8382
8383 \begin_layout LyX-Code
8384 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8385 \begin_inset Newline newline
8386 \end_inset
8387
8388 exit 1
8389 \end_layout
8390
8391 \begin_layout Standard
8392 Modifica las líneas si \SpecialChar LyX
8393  está instalado en algún otro lugar distinto de la carpeta 'Applications'.
8394 \end_layout
8395
8396 \begin_layout Standard
8397 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8398 \end_layout
8399
8400 \begin_layout Subsubsection*
8401 Skim (Mac OSX)
8402 \end_layout
8403
8404 \begin_layout Standard
8405 Introduce 
8406 \begin_inset Flex Code
8407 status collapsed
8408
8409 \begin_layout Plain Layout
8410 open -a Skim.app $$i
8411 \end_layout
8412
8413 \end_inset
8414
8415  en la configuración del visor en 
8416 \begin_inset Flex Noun
8417 status collapsed
8418
8419 \begin_layout Plain Layout
8420 Herramientas\SpecialChar menuseparator
8421 Preferencias\SpecialChar menuseparator
8422 Gestión de archivos\SpecialChar menuseparator
8423 PDF (pdflatex)
8424 \end_layout
8425
8426 \end_inset
8427
8428 ,
8429  y luego en 
8430 \begin_inset Flex Code
8431 status collapsed
8432
8433 \begin_layout Plain Layout
8434 Skim\SpecialChar menuseparator
8435 Preferences\SpecialChar menuseparator
8436 Sync
8437 \end_layout
8438
8439 \end_inset
8440
8441  selecciona \SpecialChar LyX
8442 .
8443 \end_layout
8444
8445 \begin_layout Standard
8446 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8447 \end_layout
8448
8449 \begin_layout Subsubsection*
8450 Okular (KDE)
8451 \end_layout
8452
8453 \begin_layout Standard
8454 En 
8455 \begin_inset Flex Noun
8456 status collapsed
8457
8458 \begin_layout Plain Layout
8459 Configurar\SpecialChar menuseparator
8460 Configurar Okular\SpecialChar menuseparator
8461 Editor
8462 \end_layout
8463
8464 \end_inset
8465
8466 ,
8467  selecciona 
8468 \lang english
8469 yX
8470 \begin_inset Quotes erd
8471 \end_inset
8472
8473  as editor.
8474  This inserts the appropriate
8475 \lang spanish
8476 .
8477
8478 \lang english
8479  This inserts the appropriate
8480 \lang spanish
8481  comando 
8482 \begin_inset Flex Code
8483 status collapsed
8484
8485 \begin_layout Plain Layout
8486 lyxclient -g %f %l
8487 \end_layout
8488
8489 \end_inset
8490
8491 .
8492 \end_layout
8493
8494 \begin_layout Standard
8495 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8496 \end_layout
8497
8498 \begin_layout Subsubsection*
8499 Qpdfview (Unix)
8500 \end_layout
8501
8502 \begin_layout Standard
8503 Qpdfview soporta Sync\SpecialChar TeX
8504  desde la versión 0.3.5.
8505  En 
8506 \begin_inset Flex Noun
8507 status collapsed
8508
8509 \begin_layout Plain Layout
8510 Editar\SpecialChar menuseparator
8511 Configuración\SpecialChar menuseparator
8512 Comportamiento
8513 \end_layout
8514
8515 \end_inset
8516
8517 ,
8518  clic en el campo de entrada del 
8519 \begin_inset Quotes eld
8520 \end_inset
8521
8522 Editor de fuente
8523 \begin_inset Quotes erd
8524 \end_inset
8525
8526  y añade el comando 
8527 \begin_inset Flex Code
8528 status collapsed
8529
8530 \begin_layout Plain Layout
8531 lyxclient -g %1 %2
8532 \end_layout
8533
8534 \end_inset
8535
8536 .
8537 \end_layout
8538
8539 \begin_layout Standard
8540 La búsqueda inversa se lanza con doble clic.
8541 \end_layout
8542
8543 \begin_layout Subsubsection*
8544 YAP (Windows)
8545 \end_layout
8546
8547 \begin_layout Standard
8548 En yap,
8549  en el menú Ver Opciones marca 
8550 \begin_inset Quotes cld
8551 \end_inset
8552
8553 Búsqueda inversa DVI
8554 \begin_inset Quotes crd
8555 \end_inset
8556
8557 .
8558  Botón 
8559 \begin_inset Quotes cld
8560 \end_inset
8561
8562 Nuevo
8563 \begin_inset Quotes crd
8564 \end_inset
8565
8566  e introduce 
8567 \begin_inset Quotes cld
8568 \end_inset
8569
8570 \SpecialChar LyX
8571  editor
8572 \begin_inset Quotes crd
8573 \end_inset
8574
8575  en 
8576 \begin_inset Quotes cld
8577 \end_inset
8578
8579 Nombre
8580 \begin_inset Quotes crd
8581 \end_inset
8582
8583 .
8584  Abre el diálogo 
8585 \begin_inset Quotes cld
8586 \end_inset
8587
8588 ...
8589 \begin_inset Quotes crd
8590 \end_inset
8591
8592  y busca el archivo 
8593 \begin_inset Flex Code
8594 status collapsed
8595
8596 \begin_layout Plain Layout
8597 lyxeditor.bat
8598 \end_layout
8599
8600 \end_inset
8601
8602  (véase abajo).
8603  Selecciona 
8604 \begin_inset Flex Code
8605 status collapsed
8606
8607 \begin_layout Plain Layout
8608 lyxeditor.bat
8609 \end_layout
8610
8611 \end_inset
8612
8613 ,
8614  con los argumentos %f %l.
8615 \end_layout
8616
8617 \begin_layout LyX-Code
8618 @echo off
8619 \begin_inset Newline newline
8620 \end_inset
8621
8622 echo LYXCMD:revdvi:server-goto-file-row:%1 %2> 
8623 \backslash
8624
8625 \backslash
8626 .
8627 \backslash
8628 pipe
8629 \backslash
8630 lyxpipe.in
8631 \begin_inset Newline newline
8632 \end_inset
8633
8634 type 
8635 \backslash
8636
8637 \backslash
8638 .
8639 \backslash
8640 pipe
8641 \backslash
8642 lyxpipe.out
8643 \end_layout
8644
8645 \begin_layout Standard
8646 Se lanza con doble clic.
8647 \end_layout
8648
8649 \begin_layout Subsubsection*
8650 SumatraPDF (Windows)
8651 \end_layout
8652
8653 \begin_layout Standard
8654 Introduce 
8655 \family typewriter
8656 SumatraPDF -inverse-search "lyxeditor.bat %f %l" 
8657 \family default
8658 en
8659 \family typewriter
8660  
8661 \family default
8662
8663 \begin_inset Flex Noun
8664 status collapsed
8665
8666 \begin_layout Plain Layout
8667 Herramientas\SpecialChar menuseparator
8668 Preferencias\SpecialChar menuseparator
8669 Gestión de archivos\SpecialChar menuseparator
8670 PDF (pdflatex)
8671 \end_layout
8672
8673 \end_inset
8674
8675 ,
8676  donde 
8677 \family typewriter
8678 lyxeditor.bat es el anterior.
8679  Si SumatraPDF.exe
8680 \family default
8681  no está en la ruta de comandos usa su nombre completo.
8682 \end_layout
8683
8684 \begin_layout Standard
8685 Se inicia con doble clic.
8686 \end_layout
8687
8688 \begin_layout Subsubsection*
8689 YAP (Cygwin)
8690 \end_layout
8691
8692 \begin_layout Standard
8693 Si yap es el visor por defecto en Windows,
8694  ejecuta y elige 
8695 \family sans
8696 Ver Opciones
8697 \family default
8698  y 
8699 \begin_inset Quotes cld
8700 \end_inset
8701
8702 Búsqueda inversa DVI
8703 \begin_inset Quotes crd
8704 \end_inset
8705
8706 .
8707  En el botón 
8708 \begin_inset Quotes cld
8709 \end_inset
8710
8711 Nuevo...
8712 \begin_inset Quotes crd
8713 \end_inset
8714
8715  escribe 
8716 \begin_inset Quotes cld
8717 \end_inset
8718
8719 \SpecialChar LyX
8720  editor
8721 \begin_inset Quotes crd
8722 \end_inset
8723
8724  en el campo 
8725 \begin_inset Quotes cld
8726 \end_inset
8727
8728 Nombre
8729 \begin_inset Quotes crd
8730 \end_inset
8731
8732 .
8733  Ahora,
8734  en el botón 
8735 \begin_inset Quotes cld
8736 \end_inset
8737
8738 ...
8739 \begin_inset Quotes crd
8740 \end_inset
8741
8742  y navega hasta el directorio del ejecutable 
8743 \family typewriter
8744 lyxeditor.exe.
8745
8746 \family default
8747  Especifica los argumentos -g %f %l.
8748  Así,
8749  se usará el zócalo 
8750 \emph on
8751 lyxsocket
8752 \emph default
8753  para comunicar con \SpecialChar LyX
8754 .
8755  Si prefieres usar 
8756 \emph on
8757 lyxpipe
8758 \emph default
8759  omite -g y escribe la tubería \SpecialChar LyX
8760 Server en las preferencias de \SpecialChar LyX
8761 .
8762 \end_layout
8763
8764 \begin_layout Standard
8765 Se lanza con doble clic.
8766 \end_layout
8767
8768 \begin_layout Subsubsection*
8769 SumatraPDF (Cygwin)
8770 \end_layout
8771
8772 \begin_layout Standard
8773 En 
8774 \begin_inset Flex Noun
8775 status collapsed
8776
8777 \begin_layout Plain Layout
8778 Herramientas\SpecialChar menuseparator
8779 Preferencias\SpecialChar menuseparator
8780 Gestión de archivos\SpecialChar menuseparator
8781 PDF (pdflatex)
8782 \end_layout
8783
8784 \end_inset
8785
8786  introduce 
8787 \begin_inset Flex Code
8788 status collapsed
8789
8790 \begin_layout Plain Layout
8791 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8792 \end_layout
8793
8794 \end_inset
8795
8796  en la configuración del visor.
8797  Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa en el guión.
8798  La -g habilita comunicación vía 
8799 \emph on
8800 lyxsocket
8801 \emph default
8802 .
8803  Sin la -g,
8804  se usa 
8805 \emph on
8806 lyxpipe
8807 \emph default
8808 ,
8809  y verifica la ruta de \SpecialChar LyX
8810 Server en las preferencias de \SpecialChar LyX
8811 .
8812 \end_layout
8813
8814 \begin_layout Standard
8815 Se inicia con doble clic.
8816 \end_layout
8817
8818 \begin_layout Section
8819 Búsqueda directa
8820 \end_layout
8821
8822 \begin_layout Standard
8823 La búsqueda directa,
8824  como su nombre indica,
8825  es en cierto sentido lo 
8826 \begin_inset Quotes cld
8827 \end_inset
8828
8829 opuesto
8830 \begin_inset Quotes crd
8831 \end_inset
8832
8833  a búsqueda inversa.
8834  Permite saltar a una posición determinada del documento en el visor desde dentro de \SpecialChar LyX
8835 .
8836  Si la búsqueda directa está habilitada (como se describe a continuación),
8837  puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8838  y,
8839  con el menú 
8840 \family sans
8841 Navegar\SpecialChar menuseparator
8842 Búsqueda directa
8843 \family default
8844  (o seleccionando 
8845 \family sans
8846 Búsqueda directa
8847 \family default
8848  en el menú contextual mediante clic derecho),
8849  en el visor se mostrará esa misma posición.
8850  Esto implica,
8851  por supuesto,
8852  que el visor soporte esta función.
8853 \end_layout
8854
8855 \begin_layout Standard
8856 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF de salida información adicional sobre el código \SpecialChar TeX
8857 .
8858  Se puede hacer mediante los métodos descritos en la sección 
8859 \begin_inset CommandInset ref
8860 LatexCommand ref
8861 reference "subsec:Activación-automática"
8862 nolink "false"
8863
8864 \end_inset
8865
8866 .
8867 \end_layout
8868
8869 \begin_layout Standard
8870 Adicionalmente,
8871  hay que configurar \SpecialChar LyX
8872  para usar los visores en 
8873 \begin_inset Flex Noun
8874 status collapsed
8875
8876 \begin_layout Plain Layout
8877 Herramientas\SpecialChar menuseparator
8878 Preferencias\SpecialChar menuseparator
8879 Salidas\SpecialChar menuseparator
8880 General
8881 \end_layout
8882
8883 \end_inset
8884
8885 .
8886  Proporcionamos un conjunto de configuraciones comprobadas para algunos visores,
8887  que pueden seleccionarse en la lista desplegable.
8888  Si ninguna de estas configuraciones te satisface,
8889  tienes que introducir a mano una configuración adecuada.
8890  La sintaxis de las definiciones usa los siguientes marcadores:
8891 \end_layout
8892
8893 \begin_layout Itemize
8894 \noindent
8895 \begin_inset Flex Code
8896 status collapsed
8897
8898 \begin_layout Plain Layout
8899 $$n
8900 \end_layout
8901
8902 \end_inset
8903
8904 :
8905  número de fila
8906 \end_layout
8907
8908 \begin_layout Itemize
8909 \noindent
8910 \begin_inset Flex Code
8911 status collapsed
8912
8913 \begin_layout Plain Layout
8914 $$t
8915 \end_layout
8916
8917 \end_inset
8918
8919 :
8920  nombre del archivo .tex exportado (temporal)
8921 \end_layout
8922
8923 \begin_layout Itemize
8924 \noindent
8925 \begin_inset Flex Code
8926 status collapsed
8927
8928 \begin_layout Plain Layout
8929 $$o
8930 \end_layout
8931
8932 \end_inset
8933
8934 :
8935  nombre del archivo de salida exportado (dvi o pdf,
8936  según el que exista en el directorio temporal)
8937 \end_layout
8938
8939 \begin_layout Standard
8940 Solo algunos visores permiten completamente la búsqueda directa,
8941  entre ellos yap,
8942  xdvi,
8943  okular
8944 \lang english
8945
8946 \begin_inset Foot
8947 status collapsed
8948
8949 \begin_layout Plain Layout
8950
8951 \lang english
8952 You might want to set 
8953 \begin_inset Flex Code
8954 status collapsed
8955
8956 \begin_layout Plain Layout
8957
8958 \lang english
8959 okular --unique
8960 \end_layout
8961
8962 \end_inset
8963
8964  in 
8965 \lang spanish
8966
8967 \begin_inset Flex Noun
8968 status collapsed
8969
8970 \begin_layout Plain Layout
8971
8972 \lang english
8973 Tools\SpecialChar menuseparator
8974 Preferences\SpecialChar menuseparator
8975 File Handling\SpecialChar menuseparator
8976 File
8977 \begin_inset space ~
8978 \end_inset
8979
8980 Formats
8981 \end_layout
8982
8983 \end_inset
8984
8985
8986 \end_layout
8987
8988 \end_inset
8989
8990
8991 \lang spanish
8992 ,
8993  qpdfview y SumatraPDF
8994 \lang english
8995
8996 \begin_inset Foot
8997 status collapsed
8998
8999 \begin_layout Plain Layout
9000
9001 \lang english
9002 SumatraPDF can also use DDE commands through the external program CMCDDE —
9003  downloadable from 
9004 \begin_inset CommandInset href
9005 LatexCommand href
9006 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
9007 literal "false"
9008
9009 \end_inset
9010
9011
9012 \end_layout
9013
9014 \end_inset
9015
9016
9017 \lang spanish
9018 .
9019  Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no soportan búsqueda directa,
9020  otros (como evince y pdf) permiten al menos recargar el documento y mostrar una página determinada,
9021  por lo que al menos permiten una navegación 
9022 \begin_inset Quotes cld
9023 \end_inset
9024
9025 cercana
9026 \begin_inset Quotes crd
9027 \end_inset
9028
9029 .
9030  Esta última funcionalidad es facilitada mediante una llamada externa a synctex (consulta los ejemplos predefinidos en Preferencias).
9031  
9032 \end_layout
9033
9034 \begin_layout Standard
9035 La búsqueda directa funciona con DVI y PDF.
9036  \SpecialChar LyX
9037  comprueba qué formato de vista preliminar has usado antes (o sea,
9038  el que ya está en el directorio temporal) y elige dinámicamente la configuración adecuada para el formato en cuestión.
9039 \end_layout
9040
9041 \begin_layout Chapter
9042 Clases especiales de documentos 
9043 \end_layout
9044
9045 \begin_layout Section
9046 A&A Paper
9047 \end_layout
9048
9049 \begin_layout Standard
9050 por 
9051 \noun on
9052 Peter Sütterlin
9053 \end_layout
9054
9055 \begin_layout Subsection
9056 Introducción
9057 \end_layout
9058
9059 \begin_layout Standard
9060 Esta sección describe el uso de \SpecialChar LyX
9061  para escribir artículos destinados a la revista científica 
9062 \emph on
9063 Astronomy and Astrophysics
9064 \emph default
9065  (
9066 \begin_inset Flex URL
9067 status collapsed
9068
9069 \begin_layout Plain Layout
9070
9071 https://www.aanda.org/
9072 \end_layout
9073
9074 \end_inset
9075
9076 ),
9077  usando la versión
9078 \begin_inset space ~
9079 \end_inset
9080
9081 5.01 de la clase de documento 
9082 \family typewriter
9083 aa.cls
9084 \family default
9085 .
9086  Este paquete se puede descargar del sitio ftp
9087 \end_layout
9088
9089 \begin_layout Standard
9090 \begin_inset VSpace medskip
9091 \end_inset
9092
9093
9094 \end_layout
9095
9096 \begin_layout Standard
9097 \align center
9098 \begin_inset Flex URL
9099 status collapsed
9100
9101 \begin_layout Plain Layout
9102
9103 ftp://ftp.edpsciences.org/pub/aa/readme.html
9104 \end_layout
9105
9106 \end_inset
9107
9108
9109 \end_layout
9110
9111 \begin_layout Standard
9112 \begin_inset VSpace medskip
9113 \end_inset
9114
9115
9116 \end_layout
9117
9118 \begin_layout Standard
9119 El paquete contiene un manual,
9120  y este texto no aspira a reemplazar al original,
9121  se trata solo de una breve guía de uso.
9122 \end_layout
9123
9124 \begin_layout Standard
9125 Ten en cuenta que el editor de la revista ha cambiado de 
9126 \emph on
9127 Springer
9128 \emph default
9129  a 
9130 \emph on
9131 EDP Sciences
9132 \emph default
9133  desde 1 de enero de 2001.
9134  Este cambio implica ligeros cambios en los archivos de estilo,
9135  a saber,
9136  la eliminación del comando 
9137 \family typewriter
9138 thesaurus
9139 \family default
9140 .
9141  La clase \SpecialChar LyX
9142  
9143 \family sans
9144 aa
9145 \family default
9146  soporta las versiones más nuevas de estos archivos de estilo,
9147  V 5.01.
9148  Si tienes instalada una versión más antigua,
9149  actualízala,
9150  por favor.
9151  Por compatibilidad,
9152  el antiguo formato (versión 4) se ha mantenido como 
9153 \family sans
9154 article (A&A V4)
9155 \family default
9156 .
9157  Puedes acudir a los comentarios en el archivo 
9158 \family typewriter
9159 \SpecialChar LyX
9160 Dir/layouts/aapaper.layout
9161 \family default
9162 .
9163 \end_layout
9164
9165 \begin_layout Subsection
9166 Cómo empezar
9167 \end_layout
9168
9169 \begin_layout Standard
9170 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
9171 .
9172  Si no es así,
9173  observa los siguientes aspectos:
9174 \end_layout
9175
9176 \begin_layout Itemize
9177 Selecciona 
9178 \family sans
9179 article (A&A)
9180 \family default
9181  en el diálogo 
9182 \family sans
9183 Documento\SpecialChar menuseparator
9184 Configuración
9185 \family default
9186  (vale,
9187  esto era obvio).
9188 \end_layout
9189
9190 \begin_layout Itemize
9191 No cambies la opción 
9192 \family sans
9193 Estilo
9194 \begin_inset space ~
9195 \end_inset
9196
9197 de
9198 \begin_inset space ~
9199 \end_inset
9200
9201
9202 \family default
9203 página:
9204  déjala en 
9205 \family sans
9206 predeterminado
9207 \family default
9208 .
9209  Todo el formato está hecho por macros y no deberías cambiar nada.
9210 \end_layout
9211
9212 \begin_layout Subsection
9213 El bloque del encabezado
9214 \end_layout
9215
9216 \begin_layout Standard
9217 Lo primero que hay que introducir es la información del encabezado.
9218  Consta de siete entradas,
9219  de las que algunas son opcionales.
9220  Son:
9221 \end_layout
9222
9223 \begin_layout Itemize
9224
9225 \family sans
9226 Título
9227 \family default
9228 :
9229  (requerido) 
9230 \end_layout
9231
9232 \begin_layout Itemize
9233
9234 \family sans
9235 Subtítulo
9236 \family default
9237 :
9238  (opcional) 
9239 \end_layout
9240
9241 \begin_layout Itemize
9242
9243 \family sans
9244 Autor
9245 \family default
9246 :
9247  (requerido)
9248 \end_layout
9249
9250 \begin_layout Itemize
9251
9252 \family sans
9253 Dirección
9254 \family default
9255 :
9256  (requerido)
9257 \end_layout
9258
9259 \begin_layout Itemize
9260 Separatas:
9261  (opcional) si hay más de un autor:
9262  a quien dirigirse.
9263 \end_layout
9264
9265 \begin_layout Itemize
9266 Correo:
9267  (opcional) dirección de contacto.
9268 \end_layout
9269
9270 \begin_layout Itemize
9271
9272 \family sans
9273 Fecha
9274 \family default
9275 :
9276  (requerido).
9277  El formato sugerido es 
9278 \family typewriter
9279 Recibido:
9280  <fecha>;
9281  Aceptado <fecha> 
9282 \end_layout
9283
9284 \begin_layout Standard
9285 No es necesario poner el comando 
9286 \family typewriter
9287
9288 \backslash
9289 maketitle
9290 \family default
9291 ,
9292  \SpecialChar LyX
9293  lo hace automáticamente cuando se termina el encabezado.
9294  Aunque el orden de las entradas del encabezado no importa,
9295  es conveniente mantener la secuencia de arriba,
9296  solo por conseguir un mejor aspecto y respetar el formato del documento real.
9297 \end_layout
9298
9299 \begin_layout Standard
9300 Si quieres poner notas al pie en el encabezado,
9301  p.
9302 \begin_inset space \thinspace{}
9303 \end_inset
9304
9305 e.
9306 \begin_inset space ~
9307 \end_inset
9308
9309 para consignar tu actual dirección,
9310  usa la nota al pie estándar con 
9311 \family sans
9312 Insertar\SpecialChar menuseparator
9313 Nota
9314 \begin_inset space ~
9315 \end_inset
9316
9317 al
9318 \begin_inset space ~
9319 \end_inset
9320
9321 pie.
9322
9323 \family default
9324  \SpecialChar LyX
9325 ,
9326  
9327 \begin_inset Quotes cld
9328 \end_inset
9329
9330 automágicamente
9331 \begin_inset Quotes crd
9332 \end_inset
9333
9334 ,
9335  usará el término 
9336 \family typewriter
9337
9338 \backslash
9339 thanks{}
9340 \family default
9341  en ese caso.
9342 \end_layout
9343
9344 \begin_layout Standard
9345
9346 \lang english
9347 Under 
9348 \family sans
9349 Edit\SpecialChar menuseparator
9350 Text Style
9351 \family default
9352 ,
9353  you'll find two insets which are relevant for the titling:
9354 \end_layout
9355
9356 \begin_layout Itemize
9357
9358 \family sans
9359 \lang english
9360 Institute
9361 \family typewriter
9362  
9363 \family default
9364 to mark corresponding author\SpecialChar breakableslash
9365 institute pairs.
9366  The institutes are numbered sequentially as they appear in the 
9367 \family sans
9368 Address
9369 \family default
9370  field,
9371  so you have to put a marker to each author.
9372 \end_layout
9373
9374 \begin_layout Itemize
9375
9376 \family sans
9377 \lang english
9378 Email
9379 \family default
9380  to supply an email address for fast contact.
9381 \end_layout
9382
9383 \begin_layout Standard
9384 Además,
9385  las macros emplean one comando \SpecialChar LaTeX
9386  adicionalque no tien contrapartida en \SpecialChar LyX
9387 :
9388 \end_layout
9389
9390 \begin_layout Itemize
9391
9392 \family typewriter
9393
9394 \backslash
9395 and
9396 \family default
9397  para separar nombres diferentes de más de un autor e instituto,
9398  respectivamente.
9399 \end_layout
9400
9401 \begin_layout Standard
9402 El comando apropiado ha de introducirse en \SpecialChar LyX
9403  marcado como código \SpecialChar LaTeX
9404 .
9405  Véanse los ejemplos.
9406  
9407 \end_layout
9408
9409 \begin_layout Subsection
9410 El resumen
9411 \end_layout
9412
9413 \begin_layout Standard
9414 El resumen debería ir a continuación del encabezado.
9415  Con la versión 5 el resumen cambió de entorno a comando,
9416  y ahora hay una restricción a un único párrafo.
9417  Además,
9418  debería contener una entrada con las claves.
9419  Esto 
9420 \lang english
9421 done via the paragraph style 
9422 \family sans
9423 Keywords
9424 \family default
9425 .
9426
9427 \lang spanish
9428  Véase el ejemplo.
9429 \end_layout
9430
9431 \begin_layout Subsection
9432 Entornos soportados
9433 \end_layout
9434
9435 \begin_layout Standard
9436 El formato A&A soporta los entornos siguientes para estructurar el texto:
9437 \end_layout
9438
9439 \begin_layout Itemize
9440
9441 \family sans
9442 Normal
9443 \end_layout
9444
9445 \begin_layout Itemize
9446
9447 \family sans
9448 Sección
9449 \end_layout
9450
9451 \begin_layout Itemize
9452
9453 \family sans
9454 Subsección
9455 \end_layout
9456
9457 \begin_layout Itemize
9458
9459 \family sans
9460 Subsubsección
9461 \end_layout
9462
9463 \begin_layout Itemize
9464
9465 \family sans
9466 Enumeración*
9467 \end_layout
9468
9469 \begin_layout Itemize
9470
9471 \family sans
9472 Enumeración
9473 \end_layout
9474
9475 \begin_layout Itemize
9476
9477 \family sans
9478 Descripción
9479 \end_layout
9480
9481 \begin_layout Itemize
9482
9483 \family sans
9484 Leyenda
9485 \end_layout
9486
9487 \begin_layout Itemize
9488
9489 \family sans
9490 Resumen
9491 \end_layout
9492
9493 \begin_layout Itemize
9494
9495 \family sans
9496 Agradecimientos
9497 \end_layout
9498
9499 \begin_layout Itemize
9500
9501 \family sans
9502 Bibliografía
9503 \end_layout
9504
9505 \begin_layout Itemize
9506
9507 \family sans
9508 \SpecialChar LaTeX
9509
9510 \end_layout
9511
9512 \begin_layout Subsection
9513 Comandos no soportados por \SpecialChar LyX
9514
9515 \end_layout
9516
9517 \begin_layout Standard
9518 Algunos comandos aún no son soportados por el formato 
9519 \family sans
9520 paper (A&A)
9521 \family default
9522 .
9523  Algunos se han mencionado ya.
9524
9525 \family typewriter
9526  
9527 \family default
9528 Pero aquí están todos juntos:
9529 \end_layout
9530
9531 \begin_layout Itemize
9532
9533 \family typewriter
9534
9535 \backslash
9536 and
9537 \end_layout
9538
9539 \begin_layout Itemize
9540
9541 \family typewriter
9542
9543 \backslash
9544 authorrunning
9545 \end_layout
9546
9547 \begin_layout Itemize
9548
9549 \family typewriter
9550
9551 \backslash
9552 object{}
9553 \end_layout
9554
9555 \begin_layout Itemize
9556
9557 \family typewriter
9558
9559 \backslash
9560 titlerunning{}
9561 \end_layout
9562
9563 \begin_layout Standard
9564 Si quieres usar alguno de ellos tienes que introducirlos a mano,
9565  y 
9566 \series bold
9567 ¡no olvides marcarlos en código \SpecialChar LaTeX
9568 !
9569 \end_layout
9570
9571 \begin_layout Subsection
9572 Figuras y cuadros flotantes
9573 \end_layout
9574
9575 \begin_layout Standard
9576 \SpecialChar LyX
9577  proporciona soporte para poner figuras y cuadros flotantes,
9578  por tanto no queremos decir mucho más sobre ello.
9579  Acude a la 
9580 \emph on
9581 Guía del Usuario
9582 \emph default
9583 .
9584  Solo recordaremos que los cuadros deben alinearse a la izquierda.
9585  Para eso selecciona el cuadro y cambia la alineación en 
9586 \family sans
9587 Editar\SpecialChar menuseparator
9588 Configuración
9589 \begin_inset space ~
9590 \end_inset
9591
9592 del
9593 \begin_inset space ~
9594 \end_inset
9595
9596 párrafo.
9597 \end_layout
9598
9599 \begin_layout Standard
9600 Hay un apunte particular:
9601  las figuras que deben llevar el título del encabezado a un lado.
9602  Para insertar estas figuras has de hacer lo siguiente:
9603 \end_layout
9604
9605 \begin_layout Enumerate
9606 Crea un flotante de figura ancha:
9607
9608 \family sans
9609  
9610 \family default
9611 selecciona 
9612 \family sans
9613 Insertar\SpecialChar menuseparator
9614 Flotante\SpecialChar menuseparator
9615 Figura
9616 \family default
9617 ,
9618  después haz clic derecho en la figura y selecciona 
9619 \family sans
9620 Extender
9621 \begin_inset space ~
9622 \end_inset
9623
9624 columnas
9625 \family default
9626 .
9627 \end_layout
9628
9629 \begin_layout Enumerate
9630 Introduce el texto del encabezado.
9631 \end_layout
9632
9633 \begin_layout Enumerate
9634 Pulsa 
9635 \family sans
9636 Retorno
9637 \family default
9638  para mover el cursor sobre el encabezado.
9639 \end_layout
9640
9641 \begin_layout Enumerate
9642 Inserta la figura.
9643 \end_layout
9644
9645 \begin_layout Enumerate
9646 Coloca el cursor tras la figura e inserta un relleno horizontal:
9647  
9648 \family sans
9649 Insertar\SpecialChar menuseparator
9650 Formato
9651 \begin_inset space ~
9652 \end_inset
9653
9654 especial\SpecialChar menuseparator
9655 Relleno
9656 \begin_inset space ~
9657 \end_inset
9658
9659 horizontal
9660 \family default
9661 .
9662 \end_layout
9663
9664 \begin_layout Enumerate
9665 Cambia a modo \SpecialChar LaTeX
9666 :
9667  
9668 \family sans
9669 C-l
9670 \family default
9671 .
9672 \end_layout
9673
9674 \begin_layout Enumerate
9675 Introduce 
9676 \family typewriter
9677
9678 \backslash
9679 parbox[b]{55mm}{
9680 \family default
9681 .
9682  
9683 \series bold
9684 ¡No cierres la llave!
9685 \end_layout
9686
9687 \begin_layout Enumerate
9688 Coloca el cursor tras el texto del encabezado,
9689  cambia a modo \SpecialChar LaTeX
9690  e inserta la llave de cierre:
9691  
9692 \family sans
9693 C-l 
9694 \family typewriter
9695 }
9696 \family default
9697 .
9698 \end_layout
9699
9700 \begin_layout Standard
9701 Además,
9702  consulta el ejemplo de 
9703 \family sans
9704 paper
9705 \family default
9706 .
9707 \end_layout
9708
9709 \begin_layout Subsection
9710 Formato «referee»
9711 \end_layout
9712
9713 \begin_layout Standard
9714 Antes de remitir el artículo a los editores hay que darle un formato especial a doble espacio.
9715  Para eso hay que pasar la opción 
9716 \family typewriter
9717 referee
9718 \family default
9719  a la clase de documento
9720 \lang english
9721 This must be done using the custom class options field in the 
9722 \family sans
9723 Document\SpecialChar menuseparator
9724 Settings
9725 \family default
9726  dialog.
9727  Just enter the string 
9728 \family typewriter
9729 referee
9730 \family default
9731  there.
9732 \end_layout
9733
9734 \begin_layout Subsection
9735 El ejemplo «paper»
9736 \end_layout
9737
9738 \begin_layout Standard
9739 El directorio 
9740 \family sans
9741 Examples
9742 \family default
9743  contiene un ejemplo del formato 
9744 \family sans
9745 paper
9746 \family default
9747  escrito con \SpecialChar LyX
9748 .
9749  Es el ejemplo del paquete de macros original,
9750  traducido a \SpecialChar LyX
9751 .
9752  Puede servirte de inspiración,
9753  y para comparar el código \SpecialChar LaTeX
9754  original con el generado por \SpecialChar LyX
9755 .
9756 \end_layout
9757
9758 \begin_layout Section
9759 AAS\SpecialChar TeX
9760
9761 \end_layout
9762
9763 \begin_layout Standard
9764 por 
9765 \noun on
9766 Mike Ressler
9767 \end_layout
9768
9769 \begin_layout Subsection
9770 Introducción
9771 \end_layout
9772
9773 \begin_layout Standard
9774 AAS\SpecialChar TeX
9775  es un conjunto de macros producidas por la 
9776 \emph on
9777 American Astronomical Society
9778 \emph default
9779  para facilitar la remisión de manuscritos electrónicos a las tres revistas que publica:
9780  
9781 \emph on
9782 Astrophysical Journal
9783 \emph default
9784  (incluyendo Cartas y Suplemento),
9785  
9786 \emph on
9787 Astronomical Journal
9788 \emph default
9789 ,
9790  y 
9791 \emph on
9792 Publications of the Astronomical Society of the Pacific
9793 \emph default
9794 .
9795  \SpecialChar LyX
9796  ha demostrado ser una herramienta excelente para generar estos documentos,
9797  especialmente por su capacidad para el manejo de ecuaciones,
9798  citas y figuras.
9799  \SpecialChar LyX
9800  requiere la versión 5.0 (o superior) de estas macros;
9801  preferiblemente 6.0,
9802  que es la versión aquí explicada,
9803  o mayor.
9804  Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9805 2.09 y son básicamente incompatibles con \SpecialChar LyX
9806 .
9807  El paquete AAS\SpecialChar TeX
9808  se puede obtener del sitio web de AAS\SpecialChar TeX
9809
9810 \end_layout
9811
9812 \begin_layout Standard
9813 \begin_inset VSpace medskip
9814 \end_inset
9815
9816
9817 \end_layout
9818
9819 \begin_layout Standard
9820 \align center
9821 \begin_inset Flex URL
9822 status collapsed
9823
9824 \begin_layout Plain Layout
9825
9826 https://aas.org/aastex/aastex-downloads
9827 \end_layout
9828
9829 \end_inset
9830
9831
9832 \end_layout
9833
9834 \begin_layout Standard
9835 \begin_inset VSpace medskip
9836 \end_inset
9837
9838
9839 \end_layout
9840
9841 \begin_layout Standard
9842 Contiene una completa guía del usuario con la que deberías familiarizarte antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9843 .
9844  \SpecialChar LyX
9845  no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9846 ,
9847  pero disminuye la tediosa faena de teclearlo todo.
9848  Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9849  es completamente conforme con los requerimientos de la revista a la que se remite.
9850 \end_layout
9851
9852 \begin_layout Subsection
9853 Empezar un artículo nuevo
9854 \end_layout
9855
9856 \begin_layout Standard
9857 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo de AAS\SpecialChar TeX
9858 .
9859  Clic en 
9860 \family sans
9861 Archivo\SpecialChar menuseparator
9862 Nuevo
9863 \begin_inset space ~
9864 \end_inset
9865
9866 desde
9867 \begin_inset space ~
9868 \end_inset
9869
9870 plantilla
9871 \family default
9872 ,
9873  introduce el nombre del nuevo archivo,
9874  y luego escoge el archivo 
9875 \family typewriter
9876 aastex6.lyx
9877 \family default
9878 .
9879  Este contempla los campos más habituales presentes en un manuscrito.
9880  Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas,
9881  
9882 \family typewriter
9883 <>
9884 \family default
9885 ) con el texto personal.
9886  Muchos de los comandos y entornos AAS\SpecialChar TeX
9887  se pueden implementar directamente en \SpecialChar LyX
9888 ,
9889  pero algunos no.
9890  Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9891 ,
9892  (antes conocido por ERT,
9893  
9894 \emph on
9895 Evil Red Text
9896 \emph default
9897 ).
9898  He intentado reducir la cantidad de código \SpecialChar TeX
9899  necesario en documentos AAS\SpecialChar TeX
9900 .
9901 \end_layout
9902
9903 \begin_layout Subsection
9904 Finalizar el artículo
9905 \end_layout
9906
9907 \begin_layout Standard
9908 Cuando has acabado satisfactoriamente el artículo,
9909  y se puede ver/imprimir correctamente,
9910  quedan pendientes algunas acciones de 
9911 \begin_inset Quotes cld
9912 \end_inset
9913
9914 posprocesamiento
9915 \begin_inset Quotes crd
9916 \end_inset
9917
9918  antes de remitir el trabajo.
9919 \end_layout
9920
9921 \begin_layout Enumerate
9922 Exporta el documento a archivo \SpecialChar LaTeX
9923  (
9924 \family sans
9925 Archivo\SpecialChar menuseparator
9926 Exportar\SpecialChar menuseparator
9927 LaTeX
9928 \family default
9929  (
9930 \family sans
9931 simple
9932 \family default
9933 )).
9934  
9935 \end_layout
9936
9937 \begin_layout Enumerate
9938 Edita el archivo resultante 
9939 \family typewriter
9940 .tex
9941 \family default
9942  con tu editor de textos favorito.
9943 \end_layout
9944
9945 \begin_deeper
9946 \begin_layout Enumerate
9947 quita las líneas de comentario antes del comando 
9948 \family typewriter
9949
9950 \backslash
9951 documentclass.
9952 \end_layout
9953
9954 \begin_layout Enumerate
9955 quita la línea 
9956 \family typewriter
9957
9958 \backslash
9959 usepackage...{fontenc}
9960 \family default
9961  si está (generalmente justo detrás de 
9962 \family typewriter
9963
9964 \backslash
9965 documentclass
9966 \family default
9967 };
9968  quita también la línea 
9969 \family typewriter
9970
9971 \backslash
9972 secnumdepth
9973 \family default
9974 ,
9975  si está.
9976 \end_layout
9977
9978 \begin_layout Enumerate
9979 quita todo entre los comandos 
9980 \family typewriter
9981
9982 \backslash
9983 makeatletter
9984 \family default
9985  y 
9986 \family typewriter
9987
9988 \backslash
9989 makeatother
9990 \family default
9991 ,
9992  ambos incluidos,
9993  excepto comandos que hayas puesto específicamente en el preámbulo (que deberían aparecer inmediatamente después del comentario 
9994 \begin_inset Quotes cld
9995 \end_inset
9996
9997 User specified \SpecialChar LaTeX
9998  commands
9999 \begin_inset Quotes crd
10000 \end_inset
10001
10002  en el archivo 
10003 \family typewriter
10004 .tex
10005 \family default
10006 ).
10007 \end_layout
10008
10009 \end_deeper
10010 \begin_layout Enumerate
10011 Ejecuta el archivo resultante con \SpecialChar LaTeX
10012  para asegurar que se procesa correctamente.
10013 \end_layout
10014
10015 \begin_layout Enumerate
10016 Relee los requerimientos del editor para comprobar que los nombres de los archivos y los formatos son correctos.
10017 \end_layout
10018
10019 \begin_layout Enumerate
10020 Remítelo.
10021 \end_layout
10022
10023 \begin_layout Subsection
10024 Comentarios sobre comandos específicos
10025 \end_layout
10026
10027 \begin_layout Standard
10028 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
10029 :
10030  la Guía del Usuario de AAS\SpecialChar TeX
10031  (
10032 \family typewriter
10033 aasguide.tex
10034 \family default
10035 ) da una buena descripción de ellos.
10036  Así que lo más fácil para mí es dar la lista tal como aparece en la guía y hacer comentarios donde proceda.
10037  Comencemos\SpecialChar ldots
10038
10039 \end_layout
10040
10041 \begin_layout Subsubsection
10042 Cosas que funcionan como es de esperar
10043 \end_layout
10044
10045 \begin_layout Standard
10046 Puesto que funcionan como es de esperar,
10047  solo las enumero con la sección donde se encuentran:
10048  
10049 \family typewriter
10050
10051 \backslash
10052 documentclass
10053 \family default
10054  (2.1.1),
10055  
10056 \family typewriter
10057
10058 \backslash
10059 begin{document}
10060 \family default
10061  (2.2),
10062  
10063 \family typewriter
10064
10065 \backslash
10066 title
10067 \family default
10068  (2.3),
10069  
10070 \family typewriter
10071
10072 \backslash
10073 author
10074 \family default
10075  (2.3),
10076  
10077 \family typewriter
10078
10079 \backslash
10080 affil
10081 \family default
10082  (2.3),
10083  
10084 \family typewriter
10085
10086 \backslash
10087 abstract
10088 \family default
10089  (2.4),
10090  
10091 \family typewriter
10092
10093 \backslash
10094 keywords
10095 \family default
10096  (2.5),
10097  
10098 \family typewriter
10099
10100 \backslash
10101 section
10102 \family default
10103  (2.7),
10104  
10105 \family typewriter
10106
10107 \backslash
10108 subsection
10109 \family default
10110  (2.7),
10111  
10112 \family typewriter
10113
10114 \backslash
10115 subsubsection
10116 \family default
10117  (2.7),
10118  
10119 \family typewriter
10120
10121 \backslash
10122 paragraph
10123 \family default
10124  (2.7),
10125  
10126 \family typewriter
10127
10128 \backslash
10129 facility
10130 \family default
10131  (2.10),
10132  
10133 \family typewriter
10134
10135 \backslash
10136 begin{displaymath}
10137 \family default
10138  (2.12),
10139  
10140 \family typewriter
10141
10142 \backslash
10143 begin{equation}
10144 \family default
10145  (2.12),
10146  
10147 \family typewriter
10148
10149 \backslash
10150 begin{eqnarray}
10151 \family default
10152  (2.12),
10153  
10154 \family typewriter
10155
10156 \backslash
10157 begin{mathletters}
10158 \family default
10159  (2.12),
10160  
10161 \family typewriter
10162
10163 \backslash
10164 begin{thebibliography}
10165 \family default
10166  (2.13.1),
10167  
10168 \family typewriter
10169
10170 \backslash
10171 bibitem
10172 \family default
10173  (2.13.2),
10174  todos los comandos de citas y sus variantes (2.13.2),
10175  los comandos genéricos de figuras,
10176  
10177 \family sans
10178 graphicx
10179 \family default
10180  (2.14.1),
10181  
10182 \family typewriter
10183
10184 \backslash
10185 begin{table}
10186 \family default
10187  (2.15.4),
10188  
10189 \family typewriter
10190
10191 \backslash
10192 begin{tabular}
10193 \family default
10194  (2.15.4),
10195  
10196 \family typewriter
10197
10198 \backslash
10199 caption
10200 \family default
10201  (2.15.4),
10202  
10203 \family typewriter
10204
10205 \backslash
10206 label
10207 \family default
10208  (2.15.4,
10209  entre otros sitios),
10210  
10211 \family typewriter
10212
10213 \backslash
10214 tablerefs
10215 \family default
10216  (2.15.5),
10217  
10218 \family typewriter
10219
10220 \backslash
10221 tablecomments
10222 \family default
10223  (2.15.5),
10224  
10225 \family typewriter
10226
10227 \backslash
10228 url
10229 \family default
10230  (2.17.4),
10231  
10232 \family typewriter
10233
10234 \backslash
10235 end{document}
10236 \family default
10237  (2.18).
10238 \end_layout
10239
10240 \begin_layout Standard
10241 Las siguientes opciones de estilo también funcionan:
10242  
10243 \family typewriter
10244 longabstract
10245 \family default
10246  (2.4),
10247  
10248 \family typewriter
10249 preprint
10250 \family default
10251  (3.2.1),
10252  
10253 \family typewriter
10254 preprint2
10255 \family default
10256  (3.2.2),
10257  
10258 \family typewriter
10259 eqsecnum
10260 \family default
10261  (3.3),
10262  
10263 \family typewriter
10264 flushrt
10265 \family default
10266  (3.4).
10267  Simplemente pónlos en el cuadro de 
10268 \family sans
10269 Opciones
10270 \family default
10271  de 
10272 \family sans
10273 Documento
10274 \family default
10275 \SpecialChar menuseparator
10276
10277 \family sans
10278 Configuración
10279 \family default
10280 .
10281 \end_layout
10282
10283 \begin_layout Subsubsection
10284 Cosas que funcionan,
10285  pero\SpecialChar ldots
10286
10287 \end_layout
10288
10289 \begin_layout Standard
10290 Las siguientes opciones funcionan,
10291  pero requieren algunas aclaraciones:
10292 \end_layout
10293
10294 \begin_layout Itemize
10295 Las siguientes se reservan para los editores,
10296  pero puedes ponerlas en el preámbulo \SpecialChar LaTeX
10297  si fuera preciso:
10298  
10299 \family typewriter
10300
10301 \backslash
10302 received
10303 \family default
10304 ,
10305  
10306 \family typewriter
10307
10308 \backslash
10309 revised
10310 \family default
10311 ,
10312  
10313 \family typewriter
10314
10315 \backslash
10316 accepted
10317 \family default
10318 ,
10319  
10320 \family typewriter
10321
10322 \backslash
10323 ccc
10324 \family default
10325 ,
10326  
10327 \family typewriter
10328
10329 \backslash
10330 cpright
10331 \family default
10332  (todas desde 2.1.3)
10333 \end_layout
10334
10335 \begin_layout Itemize
10336 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
10337 ,
10338  y se incluyen en blanco en la plantilla:
10339  
10340 \family typewriter
10341
10342 \backslash
10343 slugcomment
10344 \family default
10345  (2.1.4),
10346  
10347 \family typewriter
10348
10349 \backslash
10350 shorttitle
10351 \family default
10352  (2.1.5),
10353  
10354 \family typewriter
10355
10356 \backslash
10357 shortauthors
10358 \family default
10359  (2.1.5)
10360 \end_layout
10361
10362 \begin_layout Itemize
10363
10364 \family typewriter
10365
10366 \backslash
10367 email
10368 \family default
10369  (2.3) solo se puede poner separado,
10370  no en mitad de un párrafo.
10371  Usa código \SpecialChar TeX
10372  si necesitas empotrarlo.
10373 \end_layout
10374
10375 \begin_layout Itemize
10376
10377 \family typewriter
10378
10379 \backslash
10380 and
10381 \family default
10382  (2.3) tendrá {} extra tras él.
10383  Esto no debería producir error.
10384 \end_layout
10385
10386 \begin_layout Itemize
10387
10388 \family typewriter
10389
10390 \backslash
10391 notetoeditor
10392 \family default
10393  (2.6) solo se puede poner separado,
10394  no en mitad de un párrafo.
10395  Usa código \SpecialChar TeX
10396  si necesitas empotrarlo.
10397 \end_layout
10398
10399 \begin_layout Itemize
10400
10401 \family typewriter
10402
10403 \backslash
10404 placetable
10405 \family default
10406  (2.8) no puede insertar etiquetas de referencias cruzadas,
10407  hay que introducirlo a mano.
10408 \end_layout
10409
10410 \begin_layout Itemize
10411
10412 \family typewriter
10413
10414 \backslash
10415 placefigure
10416 \family default
10417  (2.8) igual que para 
10418 \family typewriter
10419
10420 \backslash
10421 placetable
10422 \end_layout
10423
10424 \begin_layout Itemize
10425
10426 \family typewriter
10427
10428 \backslash
10429 acknowledgements
10430 \family default
10431  (2.9) tendrá {} extra tras él.
10432  Esto no debería producir error.
10433 \end_layout
10434
10435 \begin_layout Itemize
10436
10437 \family typewriter
10438
10439 \backslash
10440 appendix
10441 \family default
10442  (2.11) tendrá {} extra tras él.
10443  Esto no debería producir error.
10444 \end_layout
10445
10446 \begin_layout Itemize
10447
10448 \family typewriter
10449
10450 \backslash
10451 figcaption
10452 \family default
10453  (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor al inicio del texto y seleccionando 
10454 \family sans
10455 Insertar\SpecialChar menuseparator
10456 Título breve
10457 \family default
10458 .
10459  
10460 \begin_inset Quotes cld
10461 \end_inset
10462
10463 Título breve
10464 \begin_inset Quotes crd
10465 \end_inset
10466
10467  inserta un argumento opcional del tipo necesitado por 
10468 \family typewriter
10469
10470 \backslash
10471 figcaption
10472 \family default
10473 .
10474  Debería ser renombrado algún día.
10475  
10476 \end_layout
10477
10478 \begin_layout Itemize
10479
10480 \family typewriter
10481
10482 \backslash
10483 objectname
10484 \family default
10485  (2.17.1) lo mismo que en
10486 \family typewriter
10487  
10488 \backslash
10489 figcaption
10490 \family default
10491  para el parámetro opcional de catálogo ID.
10492 \end_layout
10493
10494 \begin_layout Itemize
10495
10496 \family typewriter
10497
10498 \backslash
10499 dataset
10500 \family default
10501  (2.17.1) lo mismo que en
10502 \family typewriter
10503  
10504 \backslash
10505 figcaption
10506 \family default
10507  para el parámetro opcional de catálogo ID.
10508 \end_layout
10509
10510 \begin_layout Subsubsection
10511 Cosas no implementadas,
10512  código \SpecialChar TeX
10513  necesario
10514 \end_layout
10515
10516 \begin_layout Standard
10517
10518 \family typewriter
10519
10520 \backslash
10521 eqnum
10522 \family default
10523  (2.12),
10524  
10525 \family typewriter
10526
10527 \backslash
10528 setcounter{equation}
10529 \family default
10530  (2.12),
10531  Journal abreviaciones (2.13.4),
10532  
10533 \family typewriter
10534
10535 \backslash
10536 figurenum
10537 \family default
10538  (2.14.1),
10539  
10540 \family typewriter
10541
10542 \backslash
10543 epsscale
10544 \family default
10545  (2.14.1),
10546  
10547 \family typewriter
10548
10549 \backslash
10550 plotone
10551 \family default
10552  (2.14.1),
10553  
10554 \family typewriter
10555
10556 \backslash
10557 plottwo
10558 \family default
10559  (2.14.1),
10560  
10561 \family typewriter
10562
10563 \backslash
10564 tablenum
10565 \family default
10566  (2.15.4),
10567  
10568 \family typewriter
10569
10570 \backslash
10571 tableline
10572 \family default
10573  (2.15.4,
10574  insertar como primer elemento en la celda izquierda y después donde se quiera.
10575  No uses ninguna regla de \SpecialChar LyX
10576  en el cuadro),
10577  
10578 \family typewriter
10579
10580 \backslash
10581 tablenotemark
10582 \family default
10583  (2.15.5),
10584  
10585 \family typewriter
10586
10587 \backslash
10588 tablenotetext
10589 \family default
10590  (2.15.5),
10591  mucho de Misc (2.17,
10592  excepto 
10593 \family typewriter
10594
10595 \backslash
10596 objectname
10597 \family default
10598 ,
10599  
10600 \family typewriter
10601
10602 \backslash
10603 dataset
10604 \family default
10605 ,
10606  
10607 \family typewriter
10608
10609 \backslash
10610 url
10611 \family default
10612 ,
10613  y 
10614 \family typewriter
10615
10616 \backslash
10617 email
10618 \family default
10619 ;
10620  véase arriba),
10621  
10622 \family typewriter
10623
10624 \backslash
10625 singlespace
10626 \family default
10627  (3.1),
10628  
10629 \family typewriter
10630
10631 \backslash
10632 doublespace
10633 \family default
10634  (3.1),
10635  
10636 \family typewriter
10637
10638 \backslash
10639 onecolumn
10640 \family default
10641  (3.2),
10642  
10643 \family typewriter
10644
10645 \backslash
10646 twocolumn
10647 \family default
10648  (3.2)
10649 \end_layout
10650
10651 \begin_layout Subsubsection
10652 Cosas que no pueden implementarse
10653 \end_layout
10654
10655 \begin_layout Standard
10656 \SpecialChar ldots
10657  al menos de forma significativa,
10658  así que sugiero ignorarlas.
10659  Están los entornos 
10660 \family sans
10661 references
10662 \family default
10663  (2.13.3) y 
10664 \family sans
10665 deluxetable
10666 \family default
10667  (2.15).
10668  Si de verdad necesitas usar 
10669 \family sans
10670 deluxetable
10671 \family default
10672 ,
10673  sugiero editar un archivo aparte con un editor de textos,
10674  y luego incluirlo en el documento \SpecialChar LyX
10675  con 
10676 \family sans
10677 Insertar\SpecialChar menuseparator
10678 Documento
10679 \family default
10680
10681 \begin_inset space ~
10682 \end_inset
10683
10684
10685 \family sans
10686 hijo
10687 \family default
10688 .
10689  Véase el archivo 
10690 \family typewriter
10691 aas_sample.lyx
10692 \family default
10693  como ejemplo.
10694 \end_layout
10695
10696 \begin_layout Subsection
10697 FAQs,
10698  consejos,
10699  trucos,
10700  y otras reflexiones
10701 \end_layout
10702
10703 \begin_layout Subsubsection
10704 Conseguir que \SpecialChar LyX
10705  y AAS\SpecialChar TeX
10706  cooperen
10707 \end_layout
10708
10709 \begin_layout Standard
10710 Puede ser un poco complicado hacer que \SpecialChar LyX
10711  reconozca un nuevo formato y una nueva clase.
10712  Si todo lo demás falla,
10713  haz lo siguiente:
10714 \end_layout
10715
10716 \begin_layout Enumerate
10717 Comprueba que \SpecialChar LaTeX
10718  encuentra a AAS\SpecialChar TeX
10719 .
10720  Copia 
10721 \family typewriter
10722 sample.tex
10723 \family default
10724  (y quizá 
10725 \family typewriter
10726 table.tex
10727 \family default
10728 ) de la distribución de AAS\SpecialChar TeX
10729  en un directorio totalmente independiente de \SpecialChar LaTeX
10730  y
10731 \family typewriter
10732  de
10733 \family default
10734  AAS\SpecialChar TeX
10735  y ejecuta \SpecialChar LaTeX
10736  sobre 
10737 \family typewriter
10738 sample.tex
10739 \family default
10740 .
10741 \end_layout
10742
10743 \begin_layout Enumerate
10744 Comprueba que 
10745 \family typewriter
10746 aastex.layout
10747 \family default
10748  está en 
10749 \family typewriter
10750 /usr/.../share/lyx/layouts
10751 \family default
10752  o en 
10753 \family typewriter
10754 ~/.lyx/layouts
10755 \family default
10756 .
10757 \end_layout
10758
10759 \begin_layout Enumerate
10760 Ejecuta 
10761 \family sans
10762 Herramientas\SpecialChar menuseparator
10763 Reconfigurar
10764 \family default
10765  en \SpecialChar LyX
10766 ,
10767  y reinicia \SpecialChar LyX
10768 .
10769 \end_layout
10770
10771 \begin_layout Enumerate
10772 Abre un archivo nuevo normal,
10773  no desde plantilla.
10774  ¿Aparece AAS\SpecialChar TeX
10775  en la lista desplegable de clases en 
10776 \family sans
10777 Documento\SpecialChar menuseparator
10778 Configuración
10779 \family default
10780 ?
10781 \end_layout
10782
10783 \begin_layout Standard
10784 Si al abrir un documento AAS\SpecialChar TeX
10785  recibes un aviso de que no se encuentra la clase AAS\SpecialChar TeX
10786 ,
10787  o un mensaje como 
10788 \begin_inset Quotes cld
10789 \end_inset
10790
10791 You should not mix title layouts with normal ones
10792 \begin_inset Quotes crd
10793 \end_inset
10794
10795 ,
10796  la instalación no ha sido correcta.
10797 \end_layout
10798
10799 \begin_layout Subsubsection
10800 Error de \SpecialChar LaTeX
10801  al procesar un cuadro
10802 \end_layout
10803
10804 \begin_layout Standard
10805 \SpecialChar LyX
10806 ,
10807  por omisión,
10808  intenta centrar el encabezado/título del cuadro.
10809  Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10810 ;
10811  entonces debes hacer clic en algún sitio del encabezado/título,
10812  después abrir la 
10813 \family sans
10814 Configuración
10815 \family default
10816
10817 \begin_inset space ~
10818 \end_inset
10819
10820
10821 \family sans
10822 del
10823 \family default
10824
10825 \begin_inset space ~
10826 \end_inset
10827
10828
10829 \family sans
10830 párrafo
10831 \family default
10832 ,
10833  y elegir 
10834 \family sans
10835 Alineación
10836 \family default
10837 :
10838
10839 \family sans
10840  Centro
10841 \family default
10842 .
10843  En mi caso,
10844  esto ha resuelto el problema.
10845 \end_layout
10846
10847 \begin_layout Subsubsection
10848 Referencias
10849 \end_layout
10850
10851 \begin_layout Standard
10852 Un par de cosas:
10853  1) He observado algunos espacios raros en las entradas de la bibliografía.
10854  Cuando introduzcas los datos de los ítems de la bibliografía,
10855  cuida que 
10856 \emph on
10857 no
10858 \emph default
10859  haya espacio entre el último autor y el paréntesis que contiene el año;
10860  p.
10861 \begin_inset space \thinspace{}
10862 \end_inset
10863
10864 ej.,
10865  escribe 
10866 \family typewriter
10867 Ressler(1992)
10868 \family default
10869 ,
10870  no 
10871 \family typewriter
10872 Ressler (1992)
10873 \family default
10874 .
10875  2) Introducir las referencias no es nada obvio.
10876  La cosa más fácil es empezar escribiendo tu primera cita al final del documento,
10877  y después marcarla como 
10878 \family sans
10879 Referencia
10880 \family default
10881 .
10882  Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10883  Clic en el recuadro para rellenar el resto de la información.
10884  Para nuevas referencias,
10885  ve al final de una referencia existente y pulsa 
10886 \family typewriter
10887 Return
10888 \family default
10889 .
10890  Esto creará una línea nueva con su propio recuadro,
10891  etc.
10892 \end_layout
10893
10894 \begin_layout Subsubsection
10895 Incluir archivos EPS
10896 \end_layout
10897
10898 \begin_layout Standard
10899 Aunque AAS\SpecialChar TeX
10900  provee sus propios comandos de gráficos (
10901 \family typewriter
10902
10903 \backslash
10904 plotone
10905 \family default
10906 ,
10907  por ejemplo),
10908  prefiero los comandos estándar de \SpecialChar LaTeX
10909  (con el predeterminado 
10910 \family typewriter
10911 graphicx
10912 \family default
10913 ).
10914  Puedes insertar los comandos 
10915 \family typewriter
10916
10917 \backslash
10918 plotone
10919 \family default
10920 ,
10921  etc.
10922 \begin_inset space ~
10923 \end_inset
10924
10925 como código \SpecialChar TeX
10926  en una Figura Flotante si lo deseas,
10927  pero yo nunca he tenido la suerte de conseguir un formato correcto.
10928  Con los gráficos estándar,
10929  \SpecialChar LyX
10930  inserta el comando 
10931 \family typewriter
10932
10933 \backslash
10934 usepackage{graphicx}
10935 \family default
10936  en el preámbulo \SpecialChar LaTeX
10937  y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10938 ,
10939  intercalando las figuras en el texto.
10940  Recuerdo que ApJ acepta ahora figuras exactamente de esta forma;
10941  AJ podría usar todavía la técnica 
10942 \begin_inset Quotes cld
10943 \end_inset
10944
10945 apilar todo al final
10946 \begin_inset Quotes crd
10947 \end_inset
10948
10949 .
10950 \end_layout
10951
10952 \begin_layout Subsubsection
10953 Cosas que podría haber hecho,
10954  y no he hecho
10955 \end_layout
10956
10957 \begin_layout Standard
10958 Podría haber implementado unas pocas cosas 
10959 \begin_inset Quotes cld
10960 \end_inset
10961
10962 bonitas
10963 \begin_inset Quotes crd
10964 \end_inset
10965
10966 ,
10967  pero decidí no hacerlo.
10968  Por ejemplo,
10969  no veía la utilidad en presentar doble espacio entre líneas en la ventana de \SpecialChar LyX
10970 ,
10971  aunque lo tenga en la salida impresa.
10972  También decidí no hacer formatos separados para los estilos 
10973 \family typewriter
10974 preprint
10975 \family default
10976  y 
10977 \family typewriter
10978 preprint2
10979 \family default
10980 .
10981  Como supongo que pasas la mayor parte del tiempo en el modo manuscrito simple,
10982  he preferido no comer más espacio de disco con esto.
10983  
10984 \end_layout
10985
10986 \begin_layout Subsection
10987 Advertencia final
10988 \end_layout
10989
10990 \begin_layout Standard
10991 Tu recorrido puede variar.
10992  He escrito artículos publicados por ApJ y AJ en los que el 98
10993 \begin_inset space \thinspace{}
10994 \end_inset
10995
10996 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10997 ;
10998  el 2
10999 \begin_inset space \thinspace{}
11000 \end_inset
11001
11002 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
11003  y un poco de limpieza final.
11004  No he tenido problemas con el procedimiento de envío,
11005  y estoy seguro de que los editores no notaron diferencias.
11006  Así pues,
11007  ¡adelante,
11008  a publicar!
11009 \end_layout
11010
11011 \begin_layout Section
11012 AMS \SpecialChar LaTeX
11013
11014 \end_layout
11015
11016 \begin_layout Standard
11017 por 
11018 \noun on
11019 David Johnson;
11020  
11021 \noun default
11022 actualizado por 
11023 \noun on
11024 Richard Kimberly Heck
11025 \end_layout
11026
11027 \begin_layout Standard
11028 \begin_inset VSpace bigskip
11029 \end_inset
11030
11031
11032 \end_layout
11033
11034 \begin_layout Standard
11035 \noindent
11036 Los formatos AMS \SpecialChar LaTeX
11037  están configurados para adaptarse a los estilos recomendados por la 
11038 \emph on
11039 American Mathematical Society
11040 \emph default
11041  para sus publicaciones.
11042  Estos formatos no están definidos para una revista en particular,
11043  pero se pueden adaptar fácilmente.
11044  En la documentación de AMS (disponible en 
11045 \begin_inset Flex URL
11046 status collapsed
11047
11048 \begin_layout Plain Layout
11049
11050 http://www.ams.org
11051 \end_layout
11052
11053 \end_inset
11054
11055  o 
11056 \begin_inset Flex URL
11057 status collapsed
11058
11059 \begin_layout Plain Layout
11060
11061 ftp://ftp.ams.org/pub/tex/amslatex/
11062 \end_layout
11063
11064 \end_inset
11065
11066 ) encontrarás instrucciones específicas para cada publicación (generalmente será cuestión de cambiar una simple línea).
11067  Estos formatos son apropiados,
11068  y útiles,
11069  para cualquier escrito de matemáticas.
11070 \end_layout
11071
11072 \begin_layout Standard
11073 \noindent
11074 Hay dos formatos básicos AMS \SpecialChar LaTeX
11075 :
11076  
11077 \end_layout
11078
11079 \begin_layout Itemize
11080 amsart:
11081  formato estándar de artículo AMS
11082 \end_layout
11083
11084 \begin_layout Itemize
11085 amsbook:
11086  formato estándar de libro AMS (en realidad,
11087  monografía) 
11088 \end_layout
11089
11090 \begin_layout Standard
11091 Los formatos por sí mismos solo contienen el mínimo necesario para usar las clases AMS.
11092  En particular,
11093  no contienen ninguno de los entornos 'teorema' utilizados para establecer teoremas,
11094  lemas y demás.
11095  Estos se encuentran,
11096  en cambio,
11097  en el módulo 
11098 \begin_inset Flex Code
11099 status collapsed
11100
11101 \begin_layout Plain Layout
11102 Teoremas (AMS)
11103 \end_layout
11104
11105 \end_inset
11106
11107 ,
11108  que se carga por omisión cuando seleccionas una de las clases AMS.
11109  (Además se puede usar con otras clases y se puede quitar,
11110  si prefieres usar otra cosa).
11111  Hay entornos menos utilizados en el módulo 
11112 \begin_inset Flex Code
11113 status collapsed
11114
11115 \begin_layout Plain Layout
11116 Teoremas (AMS-Extendido)
11117 \end_layout
11118
11119 \end_inset
11120
11121 ,
11122  que se debe cargar a mano.
11123 \end_layout
11124
11125 \begin_layout Standard
11126 Por omisión,
11127  los teoremas y demás se numeran consecutivamente a lo largo del documento,
11128  pero esto se puede modificar cargando el módulo 
11129 \begin_inset Flex Code
11130 status collapsed
11131
11132 \begin_layout Plain Layout
11133 Teoremas (por secciones)
11134 \end_layout
11135
11136 \end_inset
11137
11138  o,
11139  si estás usando 
11140 \begin_inset Flex Code
11141 status collapsed
11142
11143 \begin_layout Plain Layout
11144 book (AMS)
11145 \end_layout
11146
11147 \end_inset
11148
11149 ,
11150  el módulo 
11151 \begin_inset Flex Code
11152 status collapsed
11153
11154 \begin_layout Plain Layout
11155 Teoremas (por capítulos)
11156 \end_layout
11157
11158 \end_inset
11159
11160 .
11161  Estos numerarán los resultados como 
11162 \begin_inset Formula $n.m$
11163 \end_inset
11164
11165 ,
11166  donde el primer número se refiere a la sección (o capítulo) y el segundo al número total de resultados hasta ese momento en la sección (o capítulo).
11167  Muchos entornos también están disponibles sin numeración.
11168  Estos se indican mediante un asterisco al final.
11169  Si es el caso que quieres 
11170 \emph on
11171 solo
11172 \emph default
11173  resultados sin numerar,
11174  el módulo 
11175 \begin_inset Flex Code
11176 status collapsed
11177
11178 \begin_layout Plain Layout
11179 Teoremas (asterisco)
11180 \end_layout
11181
11182 \end_inset
11183
11184  proporciona esta opción.
11185 \end_layout
11186
11187 \begin_layout Standard
11188 Hay que tener en cuenta que estos módulos no
11189 \emph on
11190  deben 
11191 \emph default
11192 utilizarse con las clases AMS.
11193  Es perfectamente posible usar el módulo 
11194 \begin_inset Flex Code
11195 status collapsed
11196
11197 \begin_layout Plain Layout
11198 Teoremas (AMS)
11199 \end_layout
11200
11201 \end_inset
11202
11203  y los otros mencionados con otras clases,
11204  como 
11205 \begin_inset Flex Code
11206 status collapsed
11207
11208 \begin_layout Plain Layout
11209 article
11210 \end_layout
11211
11212 \end_inset
11213
11214 ,
11215  
11216 \begin_inset Flex Code
11217 status collapsed
11218
11219 \begin_layout Plain Layout
11220 report
11221 \end_layout
11222
11223 \end_inset
11224
11225 ,
11226  
11227 \begin_inset Flex Code
11228 status collapsed
11229
11230 \begin_layout Plain Layout
11231 book (KOMA-script)
11232 \end_layout
11233
11234 \end_inset
11235
11236 ,
11237  etc.
11238 \end_layout
11239
11240 \begin_layout Subsection
11241 Qué proporcionan estos formatos
11242 \end_layout
11243
11244 \begin_layout Standard
11245 Estos formatos proporcionan una larga lista de entornos incluidos.
11246  En AMS-\SpecialChar LaTeX
11247  se puede definir,
11248  de hecho,
11249  una variedad ilimitada de entornos 'teorema'.
11250  Sin embargo AMS recomienda utilizar los entornos que están disponibles en \SpecialChar LyX
11251 .
11252  
11253 \end_layout
11254
11255 \begin_layout Standard
11256 Los siguientes entornos —
11257 así como los entornos estándar como 
11258 \begin_inset Flex Noun
11259 status collapsed
11260
11261 \begin_layout Plain Layout
11262 sección
11263 \end_layout
11264
11265 \end_inset
11266
11267 ,
11268  
11269 \begin_inset Flex Noun
11270 status collapsed
11271
11272 \begin_layout Plain Layout
11273 bibliografía
11274 \end_layout
11275
11276 \end_inset
11277
11278 ,
11279  
11280 \begin_inset Flex Noun
11281 status collapsed
11282
11283 \begin_layout Plain Layout
11284 título
11285 \end_layout
11286
11287 \end_inset
11288
11289 ,
11290  
11291 \begin_inset Flex Noun
11292 status collapsed
11293
11294 \begin_layout Plain Layout
11295 autor
11296 \end_layout
11297
11298 \end_inset
11299
11300 ,
11301  y 
11302 \begin_inset Flex Noun
11303 status collapsed
11304
11305 \begin_layout Plain Layout
11306 Fecha
11307 \end_layout
11308
11309 \end_inset
11310
11311
11312  son suministrados por 
11313 \begin_inset Flex Code
11314 status collapsed
11315
11316 \begin_layout Plain Layout
11317 article (AMS)
11318 \end_layout
11319
11320 \end_inset
11321
11322  y 
11323 \begin_inset Flex Code
11324 status collapsed
11325
11326 \begin_layout Plain Layout
11327 book (AMS)
11328 \end_layout
11329
11330 \end_inset
11331
11332 :
11333 \end_layout
11334
11335 \begin_layout Description
11336 Dirección Esto debería ser la dirección permanente del autor.
11337 \end_layout
11338
11339 \begin_layout Description
11340 Dirección
11341 \begin_inset space ~
11342 \end_inset
11343
11344 actual Debería ser la dirección provisional del autor en el momento de la presentación,
11345  si es diferente de la Dirección.
11346 \end_layout
11347
11348 \begin_layout Description
11349 Correo
11350 \begin_inset space ~
11351 \end_inset
11352
11353 electrónico Dirección de correo electrónico del autor.
11354 \end_layout
11355
11356 \begin_layout Description
11357 URL Dirección de la página web del autor,
11358  si se quiere.
11359 \end_layout
11360
11361 \begin_layout Description
11362 Claves Palabras o frases claves usadas para identificar temas específicos tratados en el artículo.
11363 \end_layout
11364
11365 \begin_layout Description
11366 ClaseTema Se refiere a la Clasificación de temas de AMS,
11367  publicada y descrita en 
11368 \emph on
11369 Mathematical Reviews
11370 \emph default
11371 .
11372  También están disponibles en línea en los sitios AMS citados arriba.
11373 \end_layout
11374
11375 \begin_layout Description
11376 Agradecimientos
11377 \end_layout
11378
11379 \begin_layout Description
11380 Dedicatoria
11381 \end_layout
11382
11383 \begin_layout Description
11384 Traductor
11385 \end_layout
11386
11387 \begin_layout Standard
11388 Los siguientes entornos son suministrados por ambos módulos 
11389 \begin_inset Flex Code
11390 status collapsed
11391
11392 \begin_layout Plain Layout
11393 Teoremas
11394 \end_layout
11395
11396 \end_inset
11397
11398  y 
11399 \begin_inset Flex Code
11400 status collapsed
11401
11402 \begin_layout Plain Layout
11403 Teoremas (AMS)
11404 \end_layout
11405
11406 \end_inset
11407
11408 ,
11409  en el segundo caso en ambas versiones no numerada (asterisco) y numerada (sin asterisco).
11410  Estos mismos entornos son suministrados solo en la versión con asterisco por el módulo 
11411 \begin_inset Flex Code
11412 status collapsed
11413
11414 \begin_layout Plain Layout
11415 Teoremas (asterisco)
11416 \end_layout
11417
11418 \end_inset
11419
11420 :
11421 \end_layout
11422
11423 \begin_layout Theorem
11424 Se usa típicamente para declaraciones fundamentales.
11425 \end_layout
11426
11427 \begin_layout Corollary*
11428 Se usa para declaraciones que se siguen justa y directamente de declaraciones previas.
11429  De nuevo,
11430  pueden ser resultados fundamentales.
11431  
11432 \end_layout
11433
11434 \begin_layout Lemma
11435 Resultados de menor importancia necesarios para probar otras declaraciones.
11436 \end_layout
11437
11438 \begin_layout Proposition
11439 Son resultados menos importantes que (es de esperar) se añaden a la teoría general en discusión.
11440 \end_layout
11441
11442 \begin_layout Conjecture
11443 Son afirmaciones propuestas sin justificación,
11444  que el autor no sabe como probar,
11445  pero que parecen ser ciertas (al menos para el autor).
11446 \end_layout
11447
11448 \begin_layout Definition*
11449 Adivina para qué es esto.
11450  La letra es distinta en este entorno que en los anteriores.
11451 \end_layout
11452
11453 \begin_layout Example*
11454 Se usa para ejemplos que ilustran resultados probados.
11455 \end_layout
11456
11457 \begin_layout Problem
11458 Realmente no se sabe para qué es esto.
11459  Imagínatelo.
11460 \end_layout
11461
11462 \begin_layout Exercise*
11463 Escribe una descripción para esto.
11464 \end_layout
11465
11466 \begin_layout Remark
11467 Este entorno es también un tipo de teorema,
11468  generalmente un tipo menor de observación.
11469 \end_layout
11470
11471 \begin_layout Claim*
11472 Usada a menudo en el curso de una demostración de un resultado más amplio.
11473 \end_layout
11474
11475 \begin_layout Case
11476 Generalmente se usan para interrumpir argumentos largos,
11477  usando casos específicos de alguna condición.
11478 \end_layout
11479
11480 \begin_layout Case
11481 El esquema de numeración de casos es propio,
11482  independiente de otras declaraciones numeradas.
11483 \end_layout
11484
11485 \begin_layout Proof
11486 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11487  aunque puede variar con estilos diferentes).
11488  Si quieres tener otros entornos dentro de este —
11489 por ejemplo,
11490  un entorno Caso—
11491  y quieres que el símbolo QED aparezca solo tras ellos,
11492  entonces los demás entornos tienen que anidarse dentro del entorno demostración.
11493  Véase la sección 
11494 \emph on
11495 Anidación de entornos
11496 \emph default
11497  de la 
11498 \emph on
11499 Guía del usuario
11500 \emph default
11501  para información sobre anidación.
11502 \end_layout
11503
11504 \begin_layout Standard
11505 Y estos son los entornos suministrados por 
11506 \begin_inset Flex Code
11507 status collapsed
11508
11509 \begin_layout Plain Layout
11510 Teoremas (AMS extendido)
11511 \end_layout
11512
11513 \end_inset
11514
11515 :
11516 \end_layout
11517
11518 \begin_layout Criterion*
11519 Una condición requerida.
11520 \end_layout
11521
11522 \begin_layout Algorithm*
11523 Un procedimiento general a utilizar.
11524 \end_layout
11525
11526 \begin_layout Axiom*
11527 Esto es una propiedad o declaración tomada como verdadera dentro del sistema en discusión.
11528 \end_layout
11529
11530 \begin_layout Condition*
11531 Utilizado a veces para establecer una condición asumida en el presente contexto de discusión.
11532 \end_layout
11533
11534 \begin_layout Note*
11535 Similar a Observación.
11536 \end_layout
11537
11538 \begin_layout Notation*
11539 Usado para la explicación de una notación,
11540  sí.
11541 \end_layout
11542
11543 \begin_layout Summary
11544 ¿Necesitamos explicarlo?
11545 \end_layout
11546
11547 \begin_layout Acknowledgement*
11548 Agradecimiento.
11549 \end_layout
11550
11551 \begin_layout Conclusion*
11552 Usado a veces al final de una larga cadena de argumentos.
11553 \end_layout
11554
11555 \begin_layout Fact
11556 Se usa en forma parecida a Proposición,
11557  aunque quizá a una menor escala.
11558 \end_layout
11559
11560 \begin_layout Standard
11561 Además,
11562  Las clases AMS suministran automáticamente los paquetes de tipografía AMS \SpecialChar LaTeX
11563  y AMS.
11564  Deben estar disponibles en tu sistema para usar estos entornos.
11565 \end_layout
11566
11567 \begin_layout Section
11568 Broadway
11569 \end_layout
11570
11571 \begin_layout Standard
11572 por 
11573 \shape smallcaps
11574 Garst Reese
11575 \end_layout
11576
11577 \begin_layout Subsection
11578 Introducción
11579 \end_layout
11580
11581 \begin_layout Standard
11582 Broadway se usa para escribir guiones teatrales.
11583  El formato es más decorativo que el de Hollywood,
11584  y mucho menos normalizado.
11585  Este formato debería ser adecuado para los lugares de trabajo.
11586 \end_layout
11587
11588 \begin_layout Subsection
11589 Problemas especiales
11590 \end_layout
11591
11592 \begin_layout Standard
11593 Los mismos que en el caso de 
11594 \family sans
11595 Hollywood
11596 \family default
11597 .
11598 \end_layout
11599
11600 \begin_layout Subsection
11601 Características especiales
11602 \end_layout
11603
11604 \begin_layout Standard
11605 Introduce los nombres de los personajes 
11606 \family sans
11607 (Portavoz)
11608 \family default
11609  como etiquetas,
11610  después haz una referencia cruzada a la etiqueta para insertar el nombre.
11611  El diálogo de referencia cruzada mostrará el conjunto de personajes.
11612 \end_layout
11613
11614 \begin_layout Subsection
11615 Tamaño del papel y márgenes
11616 \end_layout
11617
11618 \begin_layout Standard
11619 USLetter,
11620  izquierdo 1.6
11621 \begin_inset space \thinspace{}
11622 \end_inset
11623
11624 in,
11625  derecho 0.75
11626 \begin_inset space \thinspace{}
11627 \end_inset
11628
11629 in,
11630  superior 0.5
11631 \begin_inset space \thinspace{}
11632 \end_inset
11633
11634 in,
11635  inferior 0.75
11636 \begin_inset space \thinspace{}
11637 \end_inset
11638
11639 in
11640 \end_layout
11641
11642 \begin_layout Subsection
11643 Entornos
11644 \end_layout
11645
11646 \begin_layout Standard
11647 Están disponibles los entornos siguientes.
11648  Los atajos de teclado indicados a la derecha funcionan con el archivo
11649 \family typewriter
11650  broadway.bind
11651 \family default
11652 .
11653 \end_layout
11654
11655 \begin_layout Itemize
11656
11657 \family sans
11658 Normal
11659 \begin_inset Newline newline
11660 \end_inset
11661
11662
11663 \family default
11664 No deberías necesitarlo,
11665  pero está por si alguna cosa no cuadra en ninguno de los demás entornos.
11666 \end_layout
11667
11668 \begin_layout Itemize
11669
11670 \family sans
11671 Narrativa
11672 \begin_inset space \hfill{}
11673 \end_inset
11674
11675 M-z n
11676 \begin_inset Newline newline
11677 \end_inset
11678
11679
11680 \family default
11681 Se usa para la descripción del escenario y de la acción.
11682  La primera aparición de un personaje en MAYÚSCULAS.
11683 \end_layout
11684
11685 \begin_layout Itemize
11686
11687 \family sans
11688 ACTO
11689 \begin_inset space \hfill{}
11690 \end_inset
11691
11692 M-z a
11693 \begin_inset Newline newline
11694 \end_inset
11695
11696
11697 \family default
11698 Automáticamente numerado.
11699  En pantalla se verá en números arábigos,
11700  pero se imprimirá en números romanos.
11701 \end_layout
11702
11703 \begin_layout Itemize
11704
11705 \family sans
11706 ACTO*
11707 \begin_inset space \hfill{}
11708 \end_inset
11709
11710 M-z S at
11711 \begin_inset Newline newline
11712 \end_inset
11713
11714
11715 \family default
11716 Subtítulo para 
11717 \family sans
11718 ACTO.
11719
11720 \family default
11721  Es texto centrado.
11722 \end_layout
11723
11724 \begin_layout Itemize
11725
11726 \family sans
11727 ESCENA
11728 \begin_inset space \hfill{}
11729 \end_inset
11730
11731 M-z S-S
11732 \begin_inset Newline newline
11733 \end_inset
11734
11735
11736 \family default
11737 No es automáticamente numerado,
11738  debes ponerlo.
11739  Esto es porque no he sabido cómo hacerlo.
11740 \end_layout
11741
11742 \begin_layout Itemize
11743
11744 \family sans
11745 SUBIR_TELÓN:
11746 \begin_inset space \hfill{}
11747 \end_inset
11748
11749 M-z S-R
11750 \begin_inset Newline newline
11751 \end_inset
11752
11753
11754 \family default
11755 Un caso especial de 
11756 \family sans
11757 Narrativa
11758 \family default
11759  para describir el escenario y la acción cuando se levanta el telón.
11760 \end_layout
11761
11762 \begin_layout Itemize
11763
11764 \family sans
11765 Portavoz
11766 \begin_inset space \hfill{}
11767 \end_inset
11768
11769 M-z s
11770 \begin_inset Newline newline
11771 \end_inset
11772
11773
11774 \family default
11775 El nombre del personaje (del actor),
11776  centrado,
11777  en MAYÚSCULAS.
11778 \end_layout
11779
11780 \begin_layout Itemize
11781
11782 \family sans
11783 Entre_Paréntesis
11784 \begin_inset space \hfill{}
11785 \end_inset
11786
11787 M-z p
11788 \begin_inset Newline newline
11789 \end_inset
11790
11791
11792 \family default
11793 Instrucciones para el portavoz.
11794  Los paréntesis se insertan automáticamente.
11795  Solo ( se muestra en pantalla,
11796  pero se imprimirán ambos.
11797  Este entorno solo se usa dentro del entorno 
11798 \family sans
11799 Diálogo
11800 \family default
11801 .
11802 \end_layout
11803
11804 \begin_layout Itemize
11805
11806 \family sans
11807 Diálogo
11808 \begin_inset space \hfill{}
11809 \end_inset
11810
11811 M-z d
11812 \begin_inset Newline newline
11813 \end_inset
11814
11815
11816 \family default
11817 Lo que dice el personaje portavoz.
11818 \end_layout
11819
11820 \begin_layout Itemize
11821
11822 \family sans
11823 CORTINA
11824 \begin_inset space \hfill{}
11825 \end_inset
11826
11827 M-z S-C
11828 \begin_inset Newline newline
11829 \end_inset
11830
11831
11832 \family default
11833 Cae el telón.
11834 \end_layout
11835
11836 \begin_layout Itemize
11837
11838 \family sans
11839 Título
11840 \begin_inset space \hfill{}
11841 \end_inset
11842
11843 M-z S-T
11844 \end_layout
11845
11846 \begin_layout Itemize
11847
11848 \family sans
11849 Autor
11850 \begin_inset space \hfill{}
11851 \end_inset
11852
11853 M-z S-A
11854 \end_layout
11855
11856 \begin_layout Itemize
11857
11858 \family sans
11859 Dirección_dcha
11860 \begin_inset space \hfill{}
11861 \end_inset
11862
11863 M-z r
11864 \end_layout
11865
11866 \begin_layout Standard
11867 Un saludo para todos.
11868 \end_layout
11869
11870 \begin_layout Section
11871 Dinbrief
11872 \end_layout
11873
11874 \begin_layout Standard
11875 La clase de documento 
11876 \family sans
11877 dinbrief
11878 \family default
11879  sirve para escribir cartas de acuerdo con las convenciones alemanas.
11880  Se incluye un archivo modelo como punto de partida,
11881  en 
11882 \family typewriter
11883 .../lyx/share/templates
11884 \family default
11885 .
11886 \end_layout
11887
11888 \begin_layout Section
11889 Publicaciones de Elsevier
11890 \end_layout
11891
11892 \begin_layout Standard
11893 Véase el archivo de plantilla de \SpecialChar LyX
11894  
11895 \family typewriter
11896 elsarticle.lyx
11897 \family default
11898 .
11899  Contiene la información necesaria.
11900 \end_layout
11901
11902 \begin_layout Section
11903 Foils (antes 
11904 \family sans
11905 Foil
11906 \family default
11907 \noun on
11908 \SpecialChar TeX
11909
11910 \noun default
11911 )
11912 \begin_inset CommandInset label
11913 LatexCommand label
11914 name "sec:foiltex"
11915
11916 \end_inset
11917
11918
11919 \end_layout
11920
11921 \begin_layout Standard
11922 por 
11923 \noun on
11924 Allan Rae
11925 \end_layout
11926
11927 \begin_layout Subsection
11928 Introducción
11929 \end_layout
11930
11931 \begin_layout Standard
11932 En esta sección se describe cómo hacer transparencias para proyectores con \SpecialChar LyX
11933 .
11934  Hay dos clases de documento que permiten hacerlas:
11935  la clase predeterminada 
11936 \family sans
11937 slides
11938 \family default
11939 \emph on
11940  
11941 \emph default
11942 y la clase 
11943 \family sans
11944 Foil
11945 \family default
11946 \SpecialChar TeX
11947 .
11948  Esta sección se ocupa de esta última.
11949 \end_layout
11950
11951 \begin_layout Standard
11952 Repito de nuevo alto y claro,
11953  para que no haya equívocos:
11954 \end_layout
11955
11956 \begin_layout Standard
11957 \begin_inset VSpace bigskip
11958 \end_inset
11959
11960
11961 \end_layout
11962
11963 \begin_layout Standard
11964 \align center
11965
11966 \size large
11967 Esta sección trata 
11968 \emph on
11969 solo
11970 \emph default
11971
11972 \begin_inset space ~
11973 \end_inset
11974
11975  la clase 
11976 \family sans
11977 FoilTeX
11978 \family default
11979 \emph on
11980 .
11981 \end_layout
11982
11983 \begin_layout Standard
11984 \begin_inset VSpace bigskip
11985 \end_inset
11986
11987
11988 \end_layout
11989
11990 \begin_layout Standard
11991 Si buscas la documentación para 
11992 \family sans
11993 slides (default)
11994 \family default
11995 ,
11996  mira la sección
11997 \begin_inset space ~
11998 \end_inset
11999
12000
12001 \begin_inset CommandInset ref
12002 LatexCommand ref
12003 reference "sec:slitex"
12004 nolink "false"
12005
12006 \end_inset
12007
12008 .
12009  Si tu sistema no dispone de la clase 
12010 \family sans
12011 FoilTeX
12012 \family default
12013 ,
12014  tendrás que usar la clase 
12015 \family sans
12016 slides
12017 \family default
12018 ,
12019  que no es tan buena como 
12020 \family sans
12021 foils.
12022 \end_layout
12023
12024 \begin_layout Standard
12025 La clase 
12026 \family sans
12027 foils
12028 \family default
12029  está diseñada para usar con la versión
12030 \begin_inset space ~
12031 \end_inset
12032
12033 2.1 de la clase \SpecialChar LaTeX
12034  
12035 \family sans
12036 foils.cls
12037 \family default
12038 ,
12039  que forma parte de \SpecialChar LaTeX2e
12040 .
12041 \end_layout
12042
12043 \begin_layout Subsection
12044 Para empezar
12045 \end_layout
12046
12047 \begin_layout Standard
12048 Obviamente,
12049  para usar esta clase,
12050  debes seleccionar 
12051 \family sans
12052 FoilTeX
12053 \family default
12054  en el diálogo 
12055 \family sans
12056 Documento\SpecialChar menuseparator
12057 Configuración
12058 \family default
12059 .
12060  Algunas de las configuraciones de este diálogo son específicas de esta clase y deberían quedar así:
12061 \end_layout
12062
12063 \begin_layout Itemize
12064 No cambies las opciones 
12065 \family sans
12066 Caras
12067 \family default
12068  y 
12069 \family sans
12070 Columnas
12071 \family default
12072 .
12073  No se tienen en cuenta por la clase 
12074 \family sans
12075 foils
12076 \family default
12077 .
12078 \end_layout
12079
12080 \begin_layout Itemize
12081 El tamaño de letra por omisión es 20
12082 \begin_inset space \thinspace{}
12083 \end_inset
12084
12085 pt,
12086  y las otras opciones son 17
12087 \begin_inset space \thinspace{}
12088 \end_inset
12089
12090 pt,
12091  25
12092 \begin_inset space \thinspace{}
12093 \end_inset
12094
12095 pt y 30
12096 \begin_inset space \thinspace{}
12097 \end_inset
12098
12099 pt.
12100 \end_layout
12101
12102 \begin_layout Itemize
12103 La tipografía predeterminada es 
12104 \family sans
12105 sans
12106 \family default
12107  
12108 \family sans
12109 serif
12110 \family default
12111 ,
12112  pero en las ecuaciones matemáticas se usa la habitual fuente romana.
12113 \end_layout
12114
12115 \begin_layout Itemize
12116
12117 \family sans
12118 Foil
12119 \family default
12120 \SpecialChar TeX
12121  soporta los tamaños de papel A4 y Letter,
12122  así como un tamaño especial para trabajar con diapositivas de 35
12123 \begin_inset space \thinspace{}
12124 \end_inset
12125
12126 mm.
12127  No soporta los tamaños A5,
12128  B5,
12129  legal o executive.
12130 \end_layout
12131
12132 \begin_layout Itemize
12133 No enredes cambiando la colocación de flotantes porque se ignoran en todo caso.
12134  Los flotantes aparecen siempre en el lugar del texto donde se pongan.
12135 \end_layout
12136
12137 \begin_layout Itemize
12138 La configuración del 
12139 \family sans
12140 Diseño
12141 \begin_inset space ~
12142 \end_inset
12143
12144 de
12145 \begin_inset space ~
12146 \end_inset
12147
12148 página
12149 \family default
12150  funciona un poco distinto para esta clase.
12151  
12152 \family sans
12153 Foil
12154 \family default
12155 \SpecialChar TeX
12156  proporciona amplias capacidades para el encabezado y el pie,
12157  incluyendo el uso de logos personalizados.
12158  Véase la sección
12159 \begin_inset space ~
12160 \end_inset
12161
12162
12163 \begin_inset CommandInset ref
12164 LatexCommand ref
12165 reference "sec:foilfoot"
12166 nolink "false"
12167
12168 \end_inset
12169
12170  para más detalles.
12171  La página de título se trata de manera diferente a las demás páginas,
12172  
12173 \emph on
12174 siempre 
12175 \emph default
12176 va sin numerar y 
12177 \emph on
12178 siempre 
12179 \emph default
12180 pone el logo,
12181  (si se define uno),
12182  centrado en la parte inferior de la página.
12183  Las opciones posibles de estilo de página son:
12184 \end_layout
12185
12186 \begin_deeper
12187 \begin_layout Labeling
12188 \labelwidthstring MMMMMMM
12189
12190 \family sans
12191 \series bold
12192 empty
12193 \family default
12194 \series default
12195  El documento de salida no contiene números de página,
12196  ni encabezados ni pies (excepto notas al pie,
12197  claro).
12198  
12199 \end_layout
12200
12201 \begin_layout Labeling
12202 \labelwidthstring MMMMMMM
12203
12204 \family sans
12205 \series bold
12206 plain
12207 \family default
12208 \series default
12209  La salida contiene números de página centrados en la parte inferior.
12210  No contiene encabezados ni pies (que no sean notas).
12211 \end_layout
12212
12213 \begin_layout Labeling
12214 \labelwidthstring MMMMMMM
12215
12216 \family sans
12217 \series bold
12218 foilheadings
12219 \family default
12220 \series default
12221  Números de página en la esquina inferior derecha.
12222  Además se muestran encabezados y pies.
12223  Esta es la opción por omisión.
12224 \end_layout
12225
12226 \begin_layout Labeling
12227 \labelwidthstring MMMMMMM
12228
12229 \family sans
12230 \series bold
12231 fancy
12232 \family default
12233 \series default
12234  Da acceso al paquete 
12235 \family sans
12236 fancyheadings
12237 \family default
12238  aunque el autor de 
12239 \family sans
12240 Foil
12241 \family default
12242 \SpecialChar TeX
12243  desaconseja su empleo a causa de potenciales conflictos con el diseño de la página.
12244 \end_layout
12245
12246 \end_deeper
12247 \begin_layout Subsubsection
12248 Opciones extras
12249 \end_layout
12250
12251 \begin_layout Standard
12252 En el diálogo 
12253 \family sans
12254 Documento\SpecialChar menuseparator
12255 Configuración
12256 \family default
12257  se pueden poner las siguientes opciones extras:
12258 \end_layout
12259
12260 \begin_layout Labeling
12261 \labelwidthstring MMMMMMx
12262
12263 \series bold
12264 35mmSlide
12265 \series default
12266  Establece el formato de papel en 7.33
12267 \begin_inset space \thinspace{}
12268 \end_inset
12269
12270 in por 11
12271 \begin_inset space \thinspace{}
12272 \end_inset
12273
12274 in,
12275  que es aproximadamente el aspecto de una diapositiva de 35
12276 \begin_inset space \thinspace{}
12277 \end_inset
12278
12279 mm,
12280  Haciendo algo más fácil trabajar con este soporte.
12281 \end_layout
12282
12283 \begin_layout Labeling
12284 \labelwidthstring MMMMMMx
12285
12286 \series bold
12287 headrule
12288 \series default
12289  Dibuja una línea bajo el encabezado en cada página excepto la de título.
12290 \end_layout
12291
12292 \begin_layout Labeling
12293 \labelwidthstring MMMMMMx
12294
12295 \series bold
12296 footrule
12297 \series default
12298  Dibuja una línea sobre el pie de cada página excepto la de título.
12299 \end_layout
12300
12301 \begin_layout Labeling
12302 \labelwidthstring MMMMMMx
12303
12304 \series bold
12305 dvips
12306 \series default
12307  Esto se configura automáticamente con cada nuevo documento 
12308 \family sans
12309 foils
12310 \family default
12311 .
12312  Indica a 
12313 \family sans
12314 Foil
12315 \family default
12316 \SpecialChar TeX
12317  que use el driver dvips para girar las páginas establecidas en modo apaisado.
12318 \end_layout
12319
12320 \begin_layout Labeling
12321 \labelwidthstring MMMMMMx
12322
12323 \series bold
12324 landscape
12325 \series default
12326  Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna rotación.
12327  Por tanto si usas esta opción necesitas un programa externo para rotar las páginas y alimentar la impresora en modo apaisado.
12328  Ten en cuenta que esta opción invierte los comportamientos de los entornos 
12329 \family sans
12330 Foilhead
12331 \family default
12332  y 
12333 \family sans
12334 Rotatefoilhead
12335 \family default
12336  (que se describen en la siguiente sección).
12337 \end_layout
12338
12339 \begin_layout Labeling
12340 \labelwidthstring MMMMMMx
12341
12342 \series bold
12343 leqno
12344 \series default
12345  Números de ecuación a la izquierda.
12346 \end_layout
12347
12348 \begin_layout Labeling
12349 \labelwidthstring MMMMMMx
12350
12351 \series bold
12352 fleqn
12353 \series default
12354  Ecuaciones ajustadas a la izquierda.
12355 \end_layout
12356
12357 \begin_layout Subsection
12358 Entornos soportados
12359 \end_layout
12360
12361 \begin_layout Standard
12362 La mayoría de los entornos habitualmente soportados en otras clases lo son también por la clase 
12363 \family sans
12364 foils
12365 \family default
12366 .
12367  Hay varios entornos adicionales suministrados por 
12368 \family sans
12369 Foil
12370 \family default
12371 \SpecialChar TeX
12372  así como un par añadidos por \SpecialChar LyX
12373 .
12374  Los entornos siguientes son compartidos con otras clases:
12375 \end_layout
12376
12377 \begin_layout Standard
12378 \begin_inset Flex Multiple Columns
12379 status open
12380
12381 \begin_layout Itemize
12382
12383 \family sans
12384 Normal
12385 \end_layout
12386
12387 \begin_layout Itemize
12388
12389 \family sans
12390 Enumeración*
12391 \end_layout
12392
12393 \begin_layout Itemize
12394
12395 \family sans
12396 Enumeración
12397 \end_layout
12398
12399 \begin_layout Itemize
12400
12401 \family sans
12402 Descripción
12403 \end_layout
12404
12405 \begin_layout Itemize
12406
12407 \family sans
12408 Lista
12409 \end_layout
12410
12411 \begin_layout Itemize
12412
12413 \family sans
12414 Código-\SpecialChar LyX
12415
12416 \end_layout
12417
12418 \begin_layout Itemize
12419
12420 \family sans
12421 Verso
12422 \end_layout
12423
12424 \begin_layout Itemize
12425
12426 \family sans
12427 Cita
12428 \end_layout
12429
12430 \begin_layout Itemize
12431
12432 \family sans
12433 Citar
12434 \end_layout
12435
12436 \begin_layout Itemize
12437
12438 \family sans
12439 Título
12440 \end_layout
12441
12442 \begin_layout Itemize
12443
12444 \family sans
12445 Autor
12446 \end_layout
12447
12448 \begin_layout Itemize
12449
12450 \family sans
12451 Fecha
12452 \end_layout
12453
12454 \begin_layout Itemize
12455
12456 \family sans
12457 Resumen
12458 \end_layout
12459
12460 \begin_layout Itemize
12461
12462 \family sans
12463 Bibliografía
12464 \end_layout
12465
12466 \begin_layout Itemize
12467
12468 \family sans
12469 Dirección
12470 \end_layout
12471
12472 \begin_layout Itemize
12473
12474 \family sans
12475 Dirección derecha
12476 \end_layout
12477
12478 \end_inset
12479
12480
12481 \end_layout
12482
12483 \begin_layout Standard
12484 Esto es,
12485  todos los entornos principales aparte de los entornos de secciones.
12486  Puesto que 
12487 \family sans
12488 foils
12489 \family default
12490  contiene sus propias secciones,
12491  con un título y un cuerpo,
12492  
12493 \family sans
12494 Foil
12495 \family default
12496 \SpecialChar TeX
12497  proporciona comandos específicos para comenzar nuevas diapositivas,
12498  y son:
12499 \end_layout
12500
12501 \begin_layout Itemize
12502
12503 \family sans
12504 Encabezado_Diapositiva
12505 \end_layout
12506
12507 \begin_layout Itemize
12508
12509 \family sans
12510 Encabezado_Diapositiva_Giro
12511 \end_layout
12512
12513 \begin_layout Standard
12514 Además,
12515  \SpecialChar LyX
12516  provee versiones ligeramente modificadas de estos dos entornos,
12517  llamados:
12518 \end_layout
12519
12520 \begin_layout Itemize
12521
12522 \family sans
12523 Encabezado_Diapositiva_Corto
12524 \end_layout
12525
12526 \begin_layout Itemize
12527
12528 \family sans
12529 Encabezado_Diapositiva_Giro_Corto
12530 \end_layout
12531
12532 \begin_layout Standard
12533 cuyas diferencias serán explicadas en la siguiente sección.
12534 \end_layout
12535
12536 \begin_layout Standard
12537 Puesto que las diapositivas se emplean con frecuencia para presentaciones de ideas,
12538  teoremas y demás,
12539  
12540 \family sans
12541 Foil
12542 \family default
12543 \SpecialChar TeX
12544  proporciona además una extensa colección de entornos para estas cosas:
12545 \end_layout
12546
12547 \begin_layout Standard
12548
12549 \family sans
12550 \begin_inset Flex Multiple Columns
12551 status open
12552
12553 \begin_layout Itemize
12554
12555 \family sans
12556 Teorema
12557 \end_layout
12558
12559 \begin_layout Itemize
12560
12561 \family sans
12562 Lema
12563 \end_layout
12564
12565 \begin_layout Itemize
12566
12567 \family sans
12568 Corolario
12569 \end_layout
12570
12571 \begin_layout Itemize
12572
12573 \family sans
12574 Proposición
12575 \end_layout
12576
12577 \begin_layout Itemize
12578
12579 \family sans
12580 Definición
12581 \end_layout
12582
12583 \begin_layout Itemize
12584
12585 \family sans
12586 Demostración
12587 \end_layout
12588
12589 \begin_layout Itemize
12590
12591 \family sans
12592 Teorema*
12593 \end_layout
12594
12595 \begin_layout Itemize
12596
12597 \family sans
12598 Lema*
12599 \end_layout
12600
12601 \begin_layout Itemize
12602
12603 \family sans
12604 Corolario*
12605 \end_layout
12606
12607 \begin_layout Itemize
12608
12609 \family sans
12610 Proposición*
12611 \end_layout
12612
12613 \begin_layout Itemize
12614
12615 \family sans
12616 Definición*
12617 \end_layout
12618
12619 \end_inset
12620
12621
12622 \end_layout
12623
12624 \begin_layout Standard
12625 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12626  Además hay dos entornos de lista añadidos por \SpecialChar LyX
12627 :
12628 \end_layout
12629
12630 \begin_layout Itemize
12631
12632 \family sans
12633 Lista_Marca
12634 \end_layout
12635
12636 \begin_layout Itemize
12637
12638 \family sans
12639 Lista_Cruzada
12640 \end_layout
12641
12642 \begin_layout Standard
12643
12644 \family sans
12645 Foil
12646 \family default
12647 \SpecialChar TeX
12648  proporciona algunas capacidades poderosas para encabezados y pies,
12649  que es mejor configurar en el preámbulo,
12650  aunque se puede hacer en cualquier lugar del documento.
12651  Si quieres hacerlo así,
12652  el mejor sitio es hacerlo al principio de una diapositiva,
12653  justo detrás del encabezado de la misma.
12654 \end_layout
12655
12656 \begin_layout Standard
12657 Para este propósito se suministran los siguientes estilos [
12658 \shape smallcaps
12659 Martin Vermeer
12660 \shape default
12661 ]:
12662 \end_layout
12663
12664 \begin_layout Standard
12665 \begin_inset Flex Multiple Columns
12666 status open
12667
12668 \begin_layout Itemize
12669
12670 \family sans
12671 Mi_Logotipo
12672 \end_layout
12673
12674 \begin_layout Itemize
12675
12676 \family sans
12677 Restrición
12678 \end_layout
12679
12680 \begin_layout Itemize
12681
12682 \family sans
12683 Pie_Derecho
12684 \end_layout
12685
12686 \begin_layout Itemize
12687
12688 \family sans
12689 Encabezado_Derecho
12690 \end_layout
12691
12692 \begin_layout Itemize
12693
12694 \family sans
12695 Encabezado_Izquierdo
12696 \end_layout
12697
12698 \begin_deeper
12699 \begin_layout Plain Layout
12700 \begin_inset space ~
12701 \end_inset
12702
12703
12704 \end_layout
12705
12706 \end_deeper
12707 \end_inset
12708
12709
12710 \end_layout
12711
12712 \begin_layout Standard
12713 Hay algunos comandos de 
12714 \family sans
12715 Foil
12716 \family default
12717 \SpecialChar TeX
12718  que \SpecialChar LyX
12719  no soporta directamente,
12720  pero se explica su función y su empleo en la sección
12721 \begin_inset space ~
12722 \end_inset
12723
12724
12725 \begin_inset CommandInset ref
12726 LatexCommand ref
12727 reference "sec:unsuppfoils"
12728 nolink "false"
12729
12730 \end_inset
12731
12732 .
12733 \end_layout
12734
12735 \begin_layout Subsection
12736 Diseño de una colección de diapositivas
12737 \end_layout
12738
12739 \begin_layout Standard
12740 Esta sección da una simple introducción a los diferentes entornos para construir una colección de diapositivas.
12741  
12742 \family sans
12743 Para
12744 \family default
12745  ver un ejemplo echa un vistazo al archivo 
12746 \family typewriter
12747 Foils.lyx
12748 \family default
12749 ,
12750  accesible desde el botón 
12751 \family sans
12752 Ejemplos
12753 \family default
12754  del diálogo 
12755 \family sans
12756 Archivo\SpecialChar menuseparator
12757 Abrir
12758 \end_layout
12759
12760 \begin_layout Subsubsection
12761 Página de título
12762 \end_layout
12763
12764 \begin_layout Standard
12765 A diferencia de otras clases que proporcionan los entornos 
12766 \family sans
12767 Título
12768 \family default
12769 ,
12770  
12771 \family sans
12772 Autor
12773 \family default
12774 ,
12775  
12776 \family sans
12777 Fecha
12778 \family default
12779  y 
12780 \family sans
12781 Resumen
12782 \family default
12783 ,
12784  
12785 \family sans
12786 foils
12787 \family default
12788  crea el título en una página propia.
12789  Si no pones entorno 
12790 \family sans
12791 Fecha
12792 \family default
12793  \SpecialChar LaTeX
12794  pondrá la fecha actual (cada vez que generes salida).
12795 \end_layout
12796
12797 \begin_layout Subsubsection
12798 Comenzar una diapositiva
12799 \end_layout
12800
12801 \begin_layout Standard
12802 Como mencioné antes,
12803  hay cuatro maneras de empezar una nueva diapositiva.
12804  Para la portada deberías usar 
12805 \family sans
12806 Encabezado
12807 \begin_inset space ~
12808 \end_inset
12809
12810 Diapositiva
12811 \family default
12812  o 
12813 \family sans
12814 Encabezado
12815 \begin_inset space ~
12816 \end_inset
12817
12818 Diapositiva
12819 \begin_inset space ~
12820 \end_inset
12821
12822 Corto.
12823
12824 \family default
12825  La diferencia entre estos es la cantidad de espacio entre el título (el encabezado) y el cuerpo de la diapositiva.
12826 \end_layout
12827
12828 \begin_layout Standard
12829 Las diapositivas apaisadas se generan con los entornos 
12830 \family sans
12831 Encabezado
12832 \begin_inset space ~
12833 \end_inset
12834
12835 Diapositiva
12836 \begin_inset space ~
12837 \end_inset
12838
12839 Giro 
12840 \family default
12841
12842 \family sans
12843 Encabezado
12844 \begin_inset space ~
12845 \end_inset
12846
12847 Diapositiva
12848 \begin_inset space ~
12849 \end_inset
12850
12851 Giro
12852 \begin_inset space ~
12853 \end_inset
12854
12855 Corto
12856 \family default
12857 .
12858  De nuevo,
12859  la única diferencia es el espacio entre encabezado y cuerpo.
12860  Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12861  
12862 \end_layout
12863
12864 \begin_layout Standard
12865 Un problema con el soporte de las diapositivas apaisadas es el requerimiento de que debes usar el driver 
12866 \family typewriter
12867 dvips
12868 \family default
12869  para generar la salida PostScript,
12870  si no las diapositivas no se giran.
12871  Es posible conseguir orientación apaisada incluso si no dispones de 
12872 \family typewriter
12873 dvips
12874 \family default
12875  driver al configurar la salida a través de la impresora ;-)
12876 \end_layout
12877
12878 \begin_layout Subsubsection
12879 Teoremas,
12880  lemas,
12881  demostraciones y más
12882 \end_layout
12883
12884 \begin_layout Standard
12885 No puedes poner seguidos dos de estos entornos del mismo tipo.
12886
12887 \lang english
12888  If you use a normal paragraph break,
12889  you will just be extending the previous environment as if you had merged the two environments together.
12890 \end_layout
12891
12892 \begin_layout Subsubsection
12893 Listas
12894 \end_layout
12895
12896 \begin_layout Standard
12897 Dispones de todos los tipos de listas habituales en otras clases más dos nuevas.
12898  Solo describiré estas últimas.
12899  Para más información sobre los demás entornos de listas mira la 
12900 \emph on
12901 Guía del usuario
12902 \emph default
12903 .
12904  Si piensas usar el entorno 
12905 \family sans
12906 Enumeración*
12907 \family default
12908 \emph on
12909  
12910 \emph default
12911 podrías mirar también en la sección
12912 \begin_inset space ~
12913 \end_inset
12914
12915
12916 \begin_inset CommandInset ref
12917 LatexCommand ref
12918 reference "sec:Marcas"
12919 nolink "false"
12920
12921 \end_inset
12922
12923  la descripción de la Selección de Marcas de Listas.
12924 \end_layout
12925
12926 \begin_layout Standard
12927 Los dos estilos nuevos de lista,
12928  
12929 \family sans
12930 Lista
12931 \begin_inset space ~
12932 \end_inset
12933
12934 Marcas
12935 \family default
12936  y 
12937 \family sans
12938 Lista
12939 \family default
12940
12941 \begin_inset space ~
12942 \end_inset
12943
12944
12945 \family sans
12946 Cruzada
12947 \family default
12948 ,
12949  están diseñadas para facilitar la creación de listas del tipo 
12950 \begin_inset Quotes cld
12951 \end_inset
12952
12953 Sí/No
12954 \begin_inset Quotes crd
12955 \end_inset
12956
12957  o 
12958 \begin_inset Quotes cld
12959 \end_inset
12960
12961 Verdadero/Falso
12962 \begin_inset Quotes crd
12963 \end_inset
12964
12965  suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12966  De hecho,
12967  estas listas son versiones particularizadas del entorno 
12968 \family sans
12969 Enumeración*
12970 \family default
12971 .
12972  El paquete 
12973 \family typewriter
12974 psnfss
12975 \family default
12976  debe estar instalado.
12977 \end_layout
12978
12979 \begin_layout Subsubsection
12980 Figuras y cuadros
12981 \end_layout
12982
12983 \begin_layout Standard
12984
12985 \family sans
12986 Foil
12987 \family default
12988 \SpecialChar TeX
12989  redefine los flotantes de figuras y cuadros para que aparezcan exactamente en su lugar en el texto más bien que al principio de la página o en alguna otra posición.
12990  De hecho,
12991  si haces cambios en la colocación de los flotantes no serán tenidos en cuenta.
12992 \end_layout
12993
12994 \begin_layout Subsubsection
12995 Encabezados y pies de página
12996 \begin_inset CommandInset label
12997 LatexCommand label
12998 name "sec:foilfoot"
12999
13000 \end_inset
13001
13002
13003 \end_layout
13004
13005 \begin_layout Standard
13006
13007 \family sans
13008 Mi
13009 \begin_inset space ~
13010 \end_inset
13011
13012 Logotipo
13013 \family default
13014  y 
13015 \family sans
13016 Restricción
13017 \family default
13018  son comandos usados para controlar el texto del pie izquierdo de la página.
13019  El primero permite incluir un logotipo gráfico en las transparencias;
13020  por omisión se imprime el logotipo 
13021 \begin_inset Quotes cld
13022 \end_inset
13023
13024 -Typeset by 
13025 \family sans
13026 Foil
13027 \family default
13028 \SpecialChar TeX
13029 -
13030 \begin_inset Quotes crd
13031 \end_inset
13032
13033 .
13034  El segundo permite poner una clasificación para los asistentes,
13035  p.
13036 \begin_inset space \thinspace{}
13037 \end_inset
13038
13039 ej.
13040 \begin_inset space ~
13041 \end_inset
13042
13043 Confidencial.
13044  Está vacío por omisión.
13045 \end_layout
13046
13047 \begin_layout Standard
13048 Las restantes esquinas de la página se pueden completar con 
13049 \family sans
13050 Pie
13051 \begin_inset space ~
13052 \end_inset
13053
13054 derecho
13055 \family default
13056  (por omisión los números de página),
13057  
13058 \family sans
13059 Encabezado
13060 \begin_inset space ~
13061 \end_inset
13062
13063 derecho
13064 \family default
13065  (arriba derecha) y 
13066 \family sans
13067 Encabezado
13068 \begin_inset space ~
13069 \end_inset
13070
13071 izquierdo
13072 \family default
13073  (arriba izquierda).
13074 \end_layout
13075
13076 \begin_layout Subsection
13077 Características de 
13078 \family sans
13079 Foil
13080 \family default
13081 \SpecialChar TeX
13082  no soportadas
13083 \begin_inset CommandInset label
13084 LatexCommand label
13085 name "sec:unsuppfoils"
13086
13087 \end_inset
13088
13089
13090 \end_layout
13091
13092 \begin_layout Standard
13093 Todos los comandos mencionados a continuación deben ponerse en un entorno \SpecialChar LaTeX
13094 ,
13095  o en modo \SpecialChar TeX
13096  dentro de otro entorno.
13097 \end_layout
13098
13099 \begin_layout Subsubsection
13100 Longitudes
13101 \end_layout
13102
13103 \begin_layout Standard
13104 Todas las longitudes se ajustan con el comando:
13105 \end_layout
13106
13107 \begin_layout Standard
13108
13109 \family typewriter
13110
13111 \backslash
13112 setlength{
13113 \family default
13114 \emph on
13115 nombre_longitud
13116 \family typewriter
13117 \emph default
13118 }{
13119 \family default
13120 \emph on
13121 nueva_longitud
13122 \family typewriter
13123 \emph default
13124 },
13125 \family default
13126
13127 \begin_inset Newline newline
13128 \end_inset
13129
13130 donde 
13131 \emph on
13132 nombre_longitud
13133 \emph default
13134  es el nombre de la variable de longitud que se quiere cambiar y 
13135 \emph on
13136 nueva_longitud
13137 \emph default
13138  es el valor deseado para esa longitud.
13139  Las longitudes deben expresarse en unidades como pulgadas (
13140 \family typewriter
13141 in
13142 \family default
13143 ),
13144  milímetros (
13145 \family typewriter
13146 mm
13147 \family default
13148 ) o puntos (
13149 \family typewriter
13150 pt
13151 \family default
13152 )
13153 \family typewriter
13154 ,
13155
13156 \family default
13157  o en unidades relativas a la dimensión de alguna parte del deocumento,
13158  tal como 
13159 \family typewriter
13160
13161 \backslash
13162 textwidth
13163 \family default
13164 .
13165  
13166 \end_layout
13167
13168 \begin_layout Standard
13169 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparencia especificando una longitud con 
13170 \family typewriter
13171
13172 \backslash
13173 foilheadskip
13174 \family default
13175 .
13176  Por ejemplo,
13177  para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
13178  pon en el preámbulo:
13179  
13180 \family typewriter
13181
13182 \backslash
13183 setlength{
13184 \backslash
13185 foilheadskip}{-0.5in}
13186 \end_layout
13187
13188 \begin_layout Standard
13189 Los espacios alrededor de los flotantes se ajustan con las siguientes variables de longitud:
13190 \end_layout
13191
13192 \begin_layout Labeling
13193 \labelwidthstring MMMMMMMMMMM
13194
13195 \family typewriter
13196
13197 \backslash
13198 abovefloatskip
13199 \family default
13200  Separación entre el texto y la parte superior del flotante;
13201 \end_layout
13202
13203 \begin_layout Labeling
13204 \labelwidthstring MMMMMMMMMMM
13205
13206 \family typewriter
13207
13208 \backslash
13209 abovecaptionskip
13210 \family default
13211  Separación entre el flotante y el encabezado;
13212 \end_layout
13213
13214 \begin_layout Labeling
13215 \labelwidthstring MMMMMMMMMMM
13216
13217 \family typewriter
13218
13219 \backslash
13220 belowcaptionskip
13221 \family default
13222  Separación entre el encabezado y el texto siguiente;
13223 \end_layout
13224
13225 \begin_layout Labeling
13226 \labelwidthstring MMMMMMMMMMM
13227
13228 \family typewriter
13229
13230 \backslash
13231 captionwidth
13232 \family default
13233  Para poner encabezados más estrechos que el texto circundante.
13234  Lo mejor es definirlo en función de 
13235 \family typewriter
13236
13237 \backslash
13238 textwidth
13239 \family default
13240 .
13241 \end_layout
13242
13243 \begin_layout Standard
13244 Hay otras longitudes relativas a la página de título que te pueden ser útiles en el caso de títulos largos o de varios autores::
13245 \end_layout
13246
13247 \begin_layout Labeling
13248 \labelwidthstring MMMMMMMMMMM
13249
13250 \family typewriter
13251
13252 \backslash
13253 abovetitleskip
13254 \family default
13255  Separación entre los encabezamientos y el 
13256 \family sans
13257 Título;
13258 \end_layout
13259
13260 \begin_layout Labeling
13261 \labelwidthstring MMMMMMMMMMM
13262
13263 \family typewriter
13264
13265 \backslash
13266 titleauthorskip
13267 \family default
13268  entre los entornos 
13269 \family sans
13270 Título
13271 \family default
13272  y 
13273 \family sans
13274 Autor;
13275 \end_layout
13276
13277 \begin_layout Labeling
13278 \labelwidthstring MMMMMMMMMMM
13279
13280 \family typewriter
13281
13282 \backslash
13283 authorauthorskip
13284 \family default
13285  entre varias líneas de 
13286 \family sans
13287 Autor;
13288 \end_layout
13289
13290 \begin_layout Labeling
13291 \labelwidthstring MMMMMMMMMMM
13292
13293 \family typewriter
13294
13295 \backslash
13296 authordateskip
13297 \family default
13298  entre 
13299 \family sans
13300 Autor
13301 \family default
13302  y 
13303 \family sans
13304 Fecha;
13305 \end_layout
13306
13307 \begin_layout Labeling
13308 \labelwidthstring MMMMMMMMMMM
13309
13310 \family typewriter
13311
13312 \backslash
13313 dateabstractskip
13314 \family default
13315  entre 
13316 \family sans
13317 Fecha 
13318 \family default
13319
13320 \family sans
13321 Resumen.
13322 \end_layout
13323
13324 \begin_layout Standard
13325 Esta última variable de longitud afecta a todos los entornos de listas.
13326  Si pones 
13327 \family typewriter
13328
13329 \backslash
13330 zerolistvertdimens
13331 \family default
13332  
13333 \emph on
13334 dentro
13335 \emph default
13336  de un entorno de lista,
13337  se suprimen todos los espacios verticales entre los ítems de la lista.
13338  Ten en cuenta que este es un comando,
13339  no una variable de longitud,
13340  así que no requiere 
13341 \family typewriter
13342
13343 \backslash
13344 setlength
13345 \family default
13346  como las variables mencionadas antes.
13347 \end_layout
13348
13349 \begin_layout Subsubsection
13350 Encabezamientos y pies
13351 \end_layout
13352
13353 \begin_layout Standard
13354 Los comandos 
13355 \family typewriter
13356
13357 \backslash
13358 LogoOn
13359 \family default
13360  y 
13361 \family typewriter
13362
13363 \backslash
13364 LogoOff
13365 \family default
13366  controlan si el logotipo definido en 
13367 \family sans
13368 Mi_Logotipo
13369 \family default
13370  aparece o no en una página dada.
13371  Si pones 
13372 \family typewriter
13373
13374 \backslash
13375 LogoOff
13376 \family default
13377  en el preámbulo,
13378  ninguna de las transparencias tendrá logotipo.
13379  Si no quieres poner el logotipo en cierta página,
13380
13381 \family sans
13382  
13383 \family default
13384 pon 
13385 \family typewriter
13386
13387 \backslash
13388 LogoOff
13389 \family default
13390  directamente detrás del principio de la página y 
13391 \family typewriter
13392
13393 \backslash
13394 LogoOn
13395 \family default
13396  directamente detrás del comienzo de la siguiente.
13397 \end_layout
13398
13399 \begin_layout Standard
13400 Si decides poner estilo de página 
13401 \family sans
13402 fancy
13403 \family default
13404  en el diálogo 
13405 \family sans
13406 Documento\SpecialChar menuseparator
13407 Configuración,
13408
13409 \family default
13410  deberías seguramente añadir 
13411 \family typewriter
13412
13413 \backslash
13414 let
13415 \backslash
13416 headwidth
13417 \backslash
13418 textwidth
13419 \family default
13420  al preámbulo para que los encabezamientos y pies en páginas apaisadas se sitúen correctamente.
13421  Esto es debido a ciertas incompatibilidades entre el formato de página impuesto por el paquete que 
13422 \family sans
13423 fancyheadings
13424 \family default
13425  y la clase 
13426 \family sans
13427 foils
13428 \family default
13429 .
13430 \end_layout
13431
13432 \begin_layout Section
13433 Hollywood (Guiones de Hollywood)
13434 \end_layout
13435
13436 \begin_layout Standard
13437 por 
13438 \shape smallcaps
13439 Garst Reese
13440 \end_layout
13441
13442 \begin_layout Subsection
13443 Introducción
13444 \end_layout
13445
13446 \begin_layout Standard
13447 Dar formato a un guión de Hollywood es un 
13448 \begin_inset Quotes cld
13449 \end_inset
13450
13451 rito de trámite
13452 \begin_inset Quotes crd
13453 \end_inset
13454
13455 .
13456  Está diseñado para que los lectores se centren en el contenido y resulte familiar y fácil de leer por los actores.
13457  Cada página de un guión debería representar un minuto de película.
13458  En el guión no hay nada que no veas u oigas en la pantalla.
13459  Debe emplearse el tipo de letra courier 12
13460 \begin_inset space \thinspace{}
13461 \end_inset
13462
13463 pt en todo el guión.
13464  Sin cursivas.
13465 \end_layout
13466
13467 \begin_layout Subsection
13468 Detalles particulares
13469 \end_layout
13470
13471 \begin_layout Standard
13472 Las palabras de un diálogo NUNCA se cortan a final de línea.
13473  Si el texto de un 
13474 \family sans
13475 portavoz
13476 \family default
13477  debe continuar tras un salto de página,
13478  se repite el nombre del mismo (
13479 \family sans
13480 continuación
13481 \family default
13482 ).
13483 \end_layout
13484
13485 \begin_layout Subsection
13486 Características especiales
13487 \end_layout
13488
13489 \begin_layout Standard
13490 Introduce los nombres de los personajes 
13491 \family sans
13492 (Portavoz)
13493 \family default
13494  como etiquetas,
13495  después haz una referencia cruzada a la etiqueta para insertar el nombre.
13496  El diálogo de referencia cruzada mostrará el conjunto de personajes.
13497  Esto lo puedes usar también para introducir el nombre de un personaje en las partes narrativas.
13498 \end_layout
13499
13500 \begin_layout Subsection
13501 Tamaño del papel y márgenes
13502 \end_layout
13503
13504 \begin_layout Standard
13505 USLetter,
13506  izquierdo 1.6
13507 \begin_inset space \thinspace{}
13508 \end_inset
13509
13510 in,
13511  derecho 0.75
13512 \begin_inset space \thinspace{}
13513 \end_inset
13514
13515 in,
13516  superior 0.5
13517 \begin_inset space \thinspace{}
13518 \end_inset
13519
13520 in,
13521  inferior 0.75
13522 \begin_inset space \thinspace{}
13523 \end_inset
13524
13525 in
13526 \end_layout
13527
13528 \begin_layout Subsection
13529 Entornos
13530 \end_layout
13531
13532 \begin_layout Standard
13533 Los siguientes entornos están disponibles.
13534  Puedes usar 
13535 \family typewriter
13536 hollywood.bind
13537 \family default
13538  para disponer de los atajos de teclado indicados a la derecha.
13539 \end_layout
13540
13541 \begin_layout Itemize
13542
13543 \family sans
13544 General
13545 \begin_inset Newline newline
13546 \end_inset
13547
13548
13549 \family default
13550 Para el caso de que no convenga ningún otro.
13551  Intenta evitarlo.
13552 \end_layout
13553
13554 \begin_layout Itemize
13555
13556 \family sans
13557 APARICIÓN_GRADUAL
13558 \family default
13559 :
13560 \begin_inset space \hfill{}
13561 \end_inset
13562
13563
13564 \family sans
13565 M-z S-I
13566 \family default
13567
13568 \begin_inset Newline newline
13569 \end_inset
13570
13571 Generalmente seguido de algo como 
13572 \begin_inset Quotes cld
13573 \end_inset
13574
13575 al levantarse Sally.
13576 \begin_inset Quotes crd
13577 \end_inset
13578
13579
13580 \end_layout
13581
13582 \begin_layout Itemize
13583
13584 \family sans
13585 INT
13586 \family default
13587 .
13588 \family sans
13589
13590 \begin_inset space \hfill{}
13591 \end_inset
13592
13593 M-z i
13594 \begin_inset Newline newline
13595 \end_inset
13596
13597
13598 \family default
13599 Introduce una nueva secuencia en INTERIOR.
13600  Seguido siempre de DÍA o NOCHE,
13601  o algo similar para definir la iluminación requerida.
13602  Esta línea,
13603  toda en MAYÚSCULAS.
13604 \end_layout
13605
13606 \begin_layout Itemize
13607
13608 \family sans
13609 EXT
13610 \family default
13611 .
13612 \family sans
13613
13614 \begin_inset space \hfill{}
13615 \end_inset
13616
13617 M-z e
13618 \begin_inset Newline newline
13619 \end_inset
13620
13621
13622 \family default
13623 Introduce una nueva secuencia en EXTERIOR.
13624  Esta línea,
13625  toda en MAYÚSCULAS.
13626 \end_layout
13627
13628 \begin_layout Itemize
13629
13630 \family sans
13631 Portavoz
13632 \begin_inset space \hfill{}
13633 \end_inset
13634
13635 M-z s
13636 \begin_inset Newline newline
13637 \end_inset
13638
13639
13640 \family default
13641 El personaje que habla.
13642 \end_layout
13643
13644 \begin_layout Itemize
13645
13646 \family sans
13647 EntreParéntesis
13648 \begin_inset space \hfill{}
13649 \end_inset
13650
13651 M-z p
13652 \begin_inset Newline newline
13653 \end_inset
13654
13655
13656 \family default
13657 Instrucciones para el personaje portavoz.
13658  Los () se insertan automáticamente.
13659 \end_layout
13660
13661 \begin_layout Itemize
13662
13663 \family sans
13664 Di
13665 \family default
13666 á
13667 \family sans
13668 logo
13669 \begin_inset space \hfill{}
13670 \end_inset
13671
13672 M-z d
13673 \begin_inset Newline newline
13674 \end_inset
13675
13676
13677 \family default
13678 Lo que dice el personaje.
13679 \end_layout
13680
13681 \begin_layout Itemize
13682
13683 \family sans
13684 Transición
13685 \begin_inset space \hfill{}
13686 \end_inset
13687
13688 M-z t
13689 \begin_inset Newline newline
13690 \end_inset
13691
13692
13693 \family default
13694 Instrucciones para el movimiento de cámara,
13695  p.
13696 \begin_inset space \thinspace{}
13697 \end_inset
13698
13699 ej.
13700 \begin_inset space ~
13701 \end_inset
13702
13703 CAMBIA A:
13704 \end_layout
13705
13706 \begin_layout Itemize
13707
13708 \family sans
13709 DESAPARICIÓN_GRADUAL:
13710 \begin_inset space \hfill{}
13711 \end_inset
13712
13713 M-z S-I
13714 \end_layout
13715
13716 \begin_layout Itemize
13717
13718 \family sans
13719 Autor
13720 \begin_inset space \hfill{}
13721 \end_inset
13722
13723 M-z S-A
13724 \end_layout
13725
13726 \begin_layout Itemize
13727
13728 \family sans
13729 Título
13730 \begin_inset space \hfill{}
13731 \end_inset
13732
13733 M-z S-T
13734 \end_layout
13735
13736 \begin_layout Itemize
13737
13738 \family sans
13739 Dirección_dcha
13740 \begin_inset space \hfill{}
13741 \end_inset
13742
13743 M-z r
13744 \end_layout
13745
13746 \begin_layout Subsection
13747 Jerga de un guión
13748 \end_layout
13749
13750 \begin_layout Itemize
13751 (O.S) —
13752  off screen (fuera de pantalla)
13753 \end_layout
13754
13755 \begin_layout Itemize
13756 (V.0) —
13757  voice over (voz en off)
13758 \end_layout
13759
13760 \begin_layout Itemize
13761 b.g.
13762  —
13763  background
13764 \end_layout
13765
13766 \begin_layout Itemize
13767 C.U.
13768  —
13769  close-up (primer plano)
13770 \end_layout
13771
13772 \begin_layout Itemize
13773 PAN —
13774  movimiento de cámara
13775 \end_layout
13776
13777 \begin_layout Itemize
13778 INSERT —
13779  pasa a primer plano
13780 \end_layout
13781
13782 \begin_layout Section
13783 ijmpc e ijmpd
13784 \end_layout
13785
13786 \begin_layout Standard
13787 por 
13788 \noun on
13789 Panayotis Papasotiriou
13790 \end_layout
13791
13792 \begin_layout Subsection
13793 Visión previa
13794 \end_layout
13795
13796 \begin_layout Standard
13797 El paquete 
13798 \family sans
13799 ijmpc
13800 \family default
13801  es una colección de macros que facilitan la presentación de manuscritos electrónicos para 
13802 \emph on
13803 International Journal of Modern Physics C
13804 \emph default
13805 .
13806  Igualmente,
13807  el paquete 
13808 \family sans
13809 ijmpd
13810 \family default
13811  sirve para escribir artículos para 
13812 \emph on
13813 International Journal of Modern Physics D
13814 \emph default
13815 .
13816  Ambas revistas son editadas por 
13817 \emph on
13818 World Scientific
13819 \emph default
13820 .
13821  Las correspondientes clases de documento se llaman 
13822 \family typewriter
13823 ws-ijmpc.cls
13824 \family default
13825  y 
13826 \family typewriter
13827 ws-ijmpd.cls
13828 \family default
13829 ,
13830  respectivamente.
13831  Estos archivos,
13832  junto con las instrucciones de los autores,
13833  se pueden descargar de los sitios 
13834 \begin_inset Flex URL
13835 status collapsed
13836
13837 \begin_layout Plain Layout
13838
13839 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13840 \end_layout
13841
13842 \end_inset
13843
13844  y 
13845 \begin_inset Flex URL
13846 status collapsed
13847
13848 \begin_layout Plain Layout
13849
13850 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13851 \end_layout
13852
13853 \end_inset
13854
13855 .
13856  Ambos paquetes son versiones modificadas del paquete estándar 
13857 \family sans
13858 article
13859 \family default
13860 ,
13861  y son casi idénticos.
13862  La mayor parte de sus características son soportadas en \SpecialChar LyX
13863 .
13864  He utilizado \SpecialChar LyX
13865  con éxito para escribir artículos para ambas revistas sin problemas.
13866 \end_layout
13867
13868 \begin_layout Subsection
13869 Escribir un artículo
13870 \end_layout
13871
13872 \begin_layout Standard
13873 Como es habitual,
13874  la forma más fácil de escribir un artículo es partiendo de una plantilla.
13875  Clic en 
13876 \family sans
13877 Archivo\SpecialChar menuseparator
13878 Nuevo desde plantilla
13879 \family default
13880 ,
13881  y elige una plantilla 
13882 \family typewriter
13883 ijmpc.lyx
13884 \family default
13885  o 
13886 \family typewriter
13887 ijmpd.lyx
13888 \family default
13889 .
13890  Así se muestra un documento casi vacío que incluye los campos más habituales en un documento.
13891  Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13892  Debes tener en cuenta los siguientes puntos:
13893 \end_layout
13894
13895 \begin_layout Enumerate
13896 \SpecialChar LyX
13897  no permite el cambio del tamaño de letra ni del estilo de página porque estos paquetes no lo permiten.
13898 \end_layout
13899
13900 \begin_layout Enumerate
13901 No debería cambiarse el lenguaje del documento.
13902  Antes de ver tu artículo,
13903  asegúrate 
13904 \family sans
13905 que no está cargado el paquete babel.
13906  
13907 \family default
13908 En
13909 \family sans
13910  Herramientas
13911 \family default
13912 \SpecialChar menuseparator
13913
13914 \family sans
13915 \lang english
13916 Language
13917 \lang spanish
13918  
13919 \family default
13920 selecciona
13921 \lang english
13922  
13923 \begin_inset Quotes eld
13924 \end_inset
13925
13926 None
13927 \begin_inset Quotes erd
13928 \end_inset
13929
13930  as 
13931 \family sans
13932 Language Package
13933 \family default
13934 .
13935 \end_layout
13936
13937 \begin_layout Enumerate
13938 El estilo 
13939 \begin_inset Quotes cld
13940 \end_inset
13941
13942 Keywords
13943 \begin_inset Quotes crd
13944 \end_inset
13945
13946  se debe utilizar para definir palabras-clave.
13947 \end_layout
13948
13949 \begin_layout Enumerate
13950 El paquete 
13951 \family sans
13952 ijmpc
13953 \family default
13954  provee un estilo llamado 
13955 \begin_inset Quotes cld
13956 \end_inset
13957
13958 Classification Codes
13959 \begin_inset Quotes crd
13960 \end_inset
13961
13962 ,
13963  que se puede usar para definir códigos de clasificación,
13964  como números PACS.
13965  Esta facilidad no es soportada por el paquete 
13966 \family sans
13967 ijmpd
13968 \family default
13969 .
13970 \end_layout
13971
13972 \begin_layout Enumerate
13973 Hay varios entornos nuevos disponibles:
13974  
13975 \begin_inset Quotes cld
13976 \end_inset
13977
13978 Definición
13979 \begin_inset Quotes crd
13980 \end_inset
13981
13982 ,
13983  
13984 \begin_inset Quotes cld
13985 \end_inset
13986
13987 Paso
13988 \begin_inset Quotes crd
13989 \end_inset
13990
13991 ,
13992  
13993 \begin_inset Quotes cld
13994 \end_inset
13995
13996 Ejemplo
13997 \begin_inset Quotes crd
13998 \end_inset
13999
14000 ,
14001  
14002 \begin_inset Quotes cld
14003 \end_inset
14004
14005 Observación
14006 \begin_inset Quotes crd
14007 \end_inset
14008
14009 ,
14010  
14011 \begin_inset Quotes cld
14012 \end_inset
14013
14014 Notación
14015 \begin_inset Quotes crd
14016 \end_inset
14017
14018 ,
14019  
14020 \begin_inset Quotes cld
14021 \end_inset
14022
14023 Teorema
14024 \begin_inset Quotes crd
14025 \end_inset
14026
14027 ,
14028  
14029 \begin_inset Quotes cld
14030 \end_inset
14031
14032 Demostración
14033 \begin_inset Quotes crd
14034 \end_inset
14035
14036 ,
14037  
14038 \begin_inset Quotes cld
14039 \end_inset
14040
14041 Corolario
14042 \begin_inset Quotes crd
14043 \end_inset
14044
14045 ,
14046  
14047 \begin_inset Quotes cld
14048 \end_inset
14049
14050 Lema
14051 \begin_inset Quotes crd
14052 \end_inset
14053
14054 ,
14055  
14056 \begin_inset Quotes cld
14057 \end_inset
14058
14059 Proposición
14060 \begin_inset Quotes crd
14061 \end_inset
14062
14063 ,
14064  
14065 \begin_inset Quotes cld
14066 \end_inset
14067
14068 Prop
14069 \begin_inset Quotes crd
14070 \end_inset
14071
14072 ,
14073  
14074 \begin_inset Quotes cld
14075 \end_inset
14076
14077 Pregunta
14078 \begin_inset Quotes crd
14079 \end_inset
14080
14081 ,
14082  
14083 \begin_inset Quotes cld
14084 \end_inset
14085
14086 Afirmación
14087 \begin_inset Quotes crd
14088 \end_inset
14089
14090  y 
14091 \begin_inset Quotes cld
14092 \end_inset
14093
14094 Conjetura
14095 \begin_inset Quotes crd
14096 \end_inset
14097
14098 .
14099  Su uso es más o menos obvio.
14100  \SpecialChar LyX
14101  soporta todos estos entornos;
14102  utilizará la etiqueta,
14103  estilo de texto y esquema de numeración más apropiados para cada caso.
14104 \end_layout
14105
14106 \begin_layout Enumerate
14107 Ambos paquetes usan citas básicas;
14108  el paquete 
14109 \family sans
14110 natbib
14111 \family default
14112  no debería usarse.
14113  En \SpecialChar LyX
14114  las referencias a citas se ven normalmente;
14115  en la salida se ven como voladitas.
14116  Si quieres usar una cita como texto normal,
14117  debes emplear el comando 
14118 \family typewriter
14119 refcite
14120 \family default
14121 ,
14122  p.
14123 \begin_inset space \thinspace{}
14124 \end_inset
14125
14126 e.,
14127  
14128 \begin_inset Quotes cld
14129 \end_inset
14130
14131 Véase Ref.
14132 \begin_inset space ~
14133 \end_inset
14134
14135
14136 \family typewriter
14137
14138 \backslash
14139 refcite{key}
14140 \family default
14141
14142 \begin_inset Quotes crd
14143 \end_inset
14144
14145 .
14146 \end_layout
14147
14148 \begin_layout Enumerate
14149 No hay 
14150 \begin_inset Quotes cld
14151 \end_inset
14152
14153 Agradecimientos
14154 \begin_inset Quotes crd
14155 \end_inset
14156
14157  en ninguno de estos paquetes.
14158  Para ponerlo usa el entorno 
14159 \begin_inset Quotes cld
14160 \end_inset
14161
14162 Sección*
14163 \begin_inset Quotes crd
14164 \end_inset
14165
14166 .
14167 \end_layout
14168
14169 \begin_layout Enumerate
14170 Se pueden añadir apéndices 
14171 \emph on
14172 después
14173 \emph default
14174  de los Agradecimientos y 
14175 \emph on
14176 antes
14177 \emph default
14178  de las Referencias.
14179  \SpecialChar LyX
14180  provee un entorno especial,
14181  llamado 
14182 \begin_inset Quotes cld
14183 \end_inset
14184
14185 Appendices Section
14186 \begin_inset Quotes crd
14187 \end_inset
14188
14189  que marca el inicio de los apéndices.
14190  Este entorno debería dejarse en blanco;
14191  lo único que hace es enviar un comando \SpecialChar LaTeX
14192  pero realmente no se imprime nada.
14193  En \SpecialChar LyX
14194 ,
14195  la palabra 
14196 \begin_inset Quotes cld
14197 \end_inset
14198
14199 Apéndice
14200 \begin_inset Quotes crd
14201 \end_inset
14202
14203  se imprime con letras azules,
14204  para indicar que todas las secciones posteriores son apéndices.
14205  Para escribir un apéndice usa el entorno 
14206 \begin_inset Quotes cld
14207 \end_inset
14208
14209 Apéndice
14210 \begin_inset Quotes crd
14211 \end_inset
14212
14213 .
14214  \SpecialChar LyX
14215  ordenará cada apéndice con letras mayúsculas,
14216  como requieren ambas revistas.
14217  Observa que 
14218 \begin_inset Quotes cld
14219 \end_inset
14220
14221 Appendices Section
14222 \begin_inset Quotes crd
14223 \end_inset
14224
14225  
14226 \emph on
14227 debe
14228 \emph default
14229  estar presente antes del primer apéndice;
14230  si no,
14231  los apéndices se numerarán como secciones normales.
14232 \end_layout
14233
14234 \begin_layout Enumerate
14235 Los paquetes 
14236 \family sans
14237 ijmpc
14238 \family default
14239  y 
14240 \family sans
14241 ijmpd
14242 \family default
14243  usan el comando 
14244 \family typewriter
14245 tbl
14246 \family default
14247  para implementar encabezados de cuadro.
14248  Como resultado,
14249  un cuadro creado por \SpecialChar LyX
14250  se imprime correctamente,
14251  pero se ignora su encabezado.
14252  Sin embargo puedes emplear código \SpecialChar TeX
14253  para sortear este problema,
14254  de forma que los encabezados se impriman como es de esperar.
14255  Para hacerlo crea un cuadro flotante de la manera habitual,
14256  quita el encabezado y reemplázalo por 
14257 \family typewriter
14258
14259 \backslash
14260 tbl{
14261 \emph on
14262 encabezado del cuadro
14263 \emph default
14264 }{
14265 \family default
14266  en código \SpecialChar TeX
14267  —
14268 atención a la llave de apertura 
14269 \begin_inset Quotes cld
14270 \end_inset
14271
14272 {
14273 \begin_inset Quotes crd
14274 \end_inset
14275
14276
14277 ,
14278  y cierra inmediatamente detrás del contenido del cuadro con 
14279 \family typewriter
14280 }
14281 \family default
14282  en código \SpecialChar TeX
14283 .
14284  Estudia los ejemplos de cuadros incluidos en las plantillas para ver como se realiza este procedimiento.
14285  Alternativamente,
14286  si necesitas encabezados de cuadro,
14287  podrías construir el cuadro flotante completo en un archivo 
14288 \family typewriter
14289 .tex
14290 \family default
14291 ,
14292  que después puedes incluir mediante 
14293 \family sans
14294 Insertar\SpecialChar menuseparator
14295 Archivo\SpecialChar menuseparator
14296 Documento
14297 \begin_inset space ~
14298 \end_inset
14299
14300 hijo
14301 \family default
14302 .
14303  En los archivos 
14304 \family typewriter
14305 ws-ijmpc.tex
14306 \family default
14307  y 
14308 \family typewriter
14309 ws-ijmpd.tex
14310 \family default
14311  puedes ver más detalles sobre la creación de cuadros flotantes.
14312 \end_layout
14313
14314 \begin_layout Subsection
14315 Preparar un artículo para su remisión
14316 \end_layout
14317
14318 \begin_layout Standard
14319 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
14320  (
14321 \family sans
14322 Archivo\SpecialChar menuseparator
14323 Exportar\SpecialChar menuseparator
14324 La
14325 \family default
14326 T
14327 \family sans
14328 eX
14329 \family default
14330 )
14331 \begin_inset Foot
14332 status collapsed
14333
14334 \begin_layout Plain Layout
14335 Realmente dispones de las opciones \SpecialChar LaTeX
14336  (simple) y pdflatex.
14337  Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos estarán en formato PDF.
14338 \end_layout
14339
14340 \end_inset
14341
14342 ,
14343  después haz los cambios siguientes en el resultante archivo 
14344 \family typewriter
14345 .tex
14346 \family default
14347 .
14348 \end_layout
14349
14350 \begin_layout Enumerate
14351 Elimina las líneas de comentarios anteriores al comando 
14352 \family typewriter
14353
14354 \backslash
14355 documentclass
14356 \family default
14357 .
14358 \end_layout
14359
14360 \begin_layout Enumerate
14361 Elimina los comandos 
14362 \family typewriter
14363
14364 \backslash
14365 makeatletter
14366 \family default
14367  y 
14368 \family typewriter
14369
14370 \backslash
14371 makeatother 
14372 \family default
14373 y todo lo que haya entre ambos,
14374  excepto aquellos comandos que hayas añadido expresamente al preámbulo \SpecialChar LaTeX
14375 .
14376 \end_layout
14377
14378 \begin_layout Standard
14379 El archivo 
14380 \family typewriter
14381 .tex
14382 \family default
14383  modificado debe ser guardado y procesado con \SpecialChar LaTeX
14384  tantas veces como sea necesario.
14385  Comprueba después el documento 
14386 \family typewriter
14387 .dvi
14388 \family default
14389  resultante.
14390 \end_layout
14391
14392 \begin_layout Section
14393 iopart
14394 \end_layout
14395
14396 \begin_layout Standard
14397 por 
14398 \noun on
14399 Uwe Stöhr
14400 \end_layout
14401
14402 \begin_layout Subsection
14403 Visión previa
14404 \end_layout
14405
14406 \begin_layout Standard
14407 El paquete 
14408 \family sans
14409 iopart
14410 \family default
14411  suministra una clase de documento para remitir documentos electrónicos a publicaciones del 
14412 \emph on
14413 Institute of Physics
14414 \emph default
14415 .
14416  Las instrucciones para los autores que quieran crear documentos de esta clase y el paquete 
14417 \family sans
14418 iopart 
14419 \family default
14420 se pueden descargar del sitio 
14421 \begin_inset Flex URL
14422 status collapsed
14423
14424 \begin_layout Plain Layout
14425
14426 ftp://ftp.iop.org/pub/journals/latex2e
14427 \end_layout
14428
14429 \end_inset
14430
14431 .
14432 \end_layout
14433
14434 \begin_layout Subsection
14435 Escribir un documento
14436 \end_layout
14437
14438 \begin_layout Standard
14439 La forma más sencilla de escribir un documento es empezar con el 
14440 \lang english
14441 template
14442 \lang spanish
14443  
14444 \emph on
14445 IOP-article.lyx
14446 \emph default
14447 ,
14448  disponible
14449 \lang english
14450 via 
14451 \family sans
14452 File\SpecialChar menuseparator
14453 New From Template
14454 \family default
14455 \lang spanish
14456 .
14457  El 
14458 \lang english
14459 template
14460 \lang spanish
14461  de ejemplo explica cómo usar los entornos especiales de texto.
14462  Aquí están los consejos más importantes:
14463 \end_layout
14464
14465 \begin_layout Itemize
14466 Para poder compilar tu documento a PDF,
14467  PS o DVI,
14468  asegúrate de que
14469 \lang english
14470  no AMS packages are loaded in 
14471 \family sans
14472 Document\SpecialChar menuseparator
14473 Settings\SpecialChar menuseparator
14474 Math Options
14475 \family default
14476 !
14477 \end_layout
14478
14479 \begin_layout Itemize
14480 El entorno de título define la clase de tu documento.
14481  Por tanto usa uno de los siguientes entornos para el título:
14482 \end_layout
14483
14484 \begin_deeper
14485 \begin_layout Itemize
14486
14487 \family sans
14488 Title
14489 \family default
14490  para un artículo
14491 \end_layout
14492
14493 \begin_layout Itemize
14494
14495 \family sans
14496 Review
14497 \family default
14498  para una revista
14499 \end_layout
14500
14501 \begin_layout Itemize
14502
14503 \family sans
14504 Topical
14505 \family default
14506  para una reseña de actualidad
14507 \end_layout
14508
14509 \begin_layout Itemize
14510
14511 \family sans
14512 Comment
14513 \family default
14514  para un comentario
14515 \end_layout
14516
14517 \begin_layout Itemize
14518
14519 \family sans
14520 Note
14521 \family default
14522  para una nota
14523 \end_layout
14524
14525 \begin_layout Itemize
14526
14527 \family sans
14528 Paper
14529 \family default
14530  para un artículo (igual que Title)
14531 \end_layout
14532
14533 \begin_layout Itemize
14534
14535 \family sans
14536 Prelim
14537 \family default
14538  para una comunicación preliminar
14539 \end_layout
14540
14541 \begin_layout Itemize
14542
14543 \family sans
14544 Rapid
14545 \family default
14546  para una comunicación rápida
14547 \end_layout
14548
14549 \begin_layout Itemize
14550
14551 \family sans
14552 Letter
14553 \family default
14554  para una carta al editor
14555 \end_layout
14556
14557 \end_deeper
14558 \begin_layout Itemize
14559 Todos los entornos de título excepto 
14560 \family sans
14561 Letter
14562 \family default
14563  pueden tener un título breve opcional.
14564 \end_layout
14565
14566 \begin_layout Itemize
14567 Hay un entorno general de título 
14568 \family sans
14569 Article
14570 \family default
14571  que no es soportado directamente por \SpecialChar LyX
14572 .
14573  Puede usarse en código \SpecialChar TeX
14574  si tu documento no se adecúa a ninguno de los otros tipos de título.
14575 \end_layout
14576
14577 \begin_layout Standard
14578 Para más información,
14579  como consejos para formatos especiales de ecuaciones y cuadros,
14580  echa un vistazo a las pautas dadas por el autor de IOP.
14581 \end_layout
14582
14583 \begin_layout Section
14584 Kluwer
14585 \end_layout
14586
14587 \begin_layout Standard
14588 por 
14589 \noun on
14590 Panayotis Papasotiriou
14591 \end_layout
14592
14593 \begin_layout Subsection
14594 Visión previa
14595 \end_layout
14596
14597 \begin_layout Standard
14598 El paquete Kluwer es un conjunto de macros producido por 
14599 \emph on
14600 Kluwer Academic Publishers
14601 \emph default
14602  que facilita la confección de manuscritos electrónicos con destino a sus publicaciones.
14603  Las más conocidas (al menos en mi parcela de interés) son 
14604 \emph on
14605 Astrophysics and Space Science
14606 \emph default
14607  y 
14608 \emph on
14609 Solar Physics
14610 \emph default
14611 ,
14612  aunque hay muchas otras (véase una lista completa en 
14613 \begin_inset Flex URL
14614 status collapsed
14615
14616 \begin_layout Plain Layout
14617
14618 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14619 \end_layout
14620
14621 \end_inset
14622
14623 ).
14624  El paquete Kluwer puede ser descargado del sitio 
14625 \begin_inset Flex URL
14626 status collapsed
14627
14628 \begin_layout Plain Layout
14629
14630 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14631 \end_layout
14632
14633 \end_inset
14634
14635 .
14636  Contiene una completa guía de uso,
14637  que también puede descargarse separadamente.
14638 \end_layout
14639
14640 \begin_layout Standard
14641 \SpecialChar LyX
14642  soporta muchas características del paquete pero no todas.
14643  No obstante,
14644  el código \SpecialChar TeX
14645  necesario se reduce a ciertos 
14646 \begin_inset Quotes cld
14647 \end_inset
14648
14649 peculiares
14650 \begin_inset Quotes crd
14651 \end_inset
14652
14653  comandos (véase
14654 \begin_inset space ~
14655 \end_inset
14656
14657
14658 \begin_inset CommandInset ref
14659 LatexCommand ref
14660 reference "subsec:kluwer_peculiaridades"
14661 nolink "false"
14662
14663 \end_inset
14664
14665 ).
14666  He usado \SpecialChar LyX
14667  recientemente para escribir un artículo para 
14668 \emph on
14669 Astrophysics and Space Science
14670 \emph default
14671  sin ningún problema.
14672 \end_layout
14673
14674 \begin_layout Subsection
14675 Escribir un artículo
14676 \end_layout
14677
14678 \begin_layout Standard
14679 La forma más sencilla de escribir un artículo es empezar con la plantilla de Kluwer.
14680  Abre 
14681 \family sans
14682 Archivo\SpecialChar menuseparator
14683 Nuevo
14684 \family default
14685
14686 \begin_inset space ~
14687 \end_inset
14688
14689
14690 \family sans
14691 desde
14692 \family default
14693
14694 \begin_inset space ~
14695 \end_inset
14696
14697
14698 \family sans
14699 plantilla
14700 \family default
14701 ,
14702  y elige 
14703 \family typewriter
14704 kluwer.lyx
14705 \family default
14706 .
14707  Se trata de un documento casi vacío que incluye la mayoría de campos más habituales y una breve descripción de su uso.
14708  Como es habitual en las plantillas,
14709  simplemente debes sobreescribir el texto presente (incluidas las abrazaderas <>) con la información correcta.
14710 \end_layout
14711
14712 \begin_layout Subsection
14713 Preparar un artículo para su remisión
14714 \end_layout
14715
14716 \begin_layout Standard
14717 Como en el paquete AAS\SpecialChar TeX
14718 ,
14719  antes de remitir tu trabajo a una publicación debes procesarlo como sigue:
14720 \end_layout
14721
14722 \begin_layout Enumerate
14723 Exporta tu documento a \SpecialChar LaTeX
14724 ,
14725  
14726 \family sans
14727 Archivo\SpecialChar menuseparator
14728 Exportar\SpecialChar menuseparator
14729 LaTeX
14730 \family default
14731 .
14732  
14733 \end_layout
14734
14735 \begin_layout Enumerate
14736 Edita el archivo 
14737 \family typewriter
14738 .tex
14739 \family default
14740  resultante con un editor de texto y haz los siguientes cambios:
14741 \end_layout
14742
14743 \begin_deeper
14744 \begin_layout Enumerate
14745 borra las líneas de comentarios anteriores al comando 
14746 \family typewriter
14747
14748 \backslash
14749 documentclass
14750 \family default
14751 ,
14752 \end_layout
14753
14754 \begin_layout Enumerate
14755 quita todo entre los comandos 
14756 \family typewriter
14757
14758 \backslash
14759 makeatletter
14760 \family default
14761  y 
14762 \family typewriter
14763
14764 \backslash
14765 makeatother
14766 \family default
14767 ,
14768  ellos incluidos,
14769  excepto aquellos específicamente añadidos al preámbulo \SpecialChar LaTeX
14770 .
14771 \end_layout
14772
14773 \begin_layout Standard
14774 Guarda el archivo 
14775 \family typewriter
14776 .tex
14777 \family default
14778  modificado.
14779 \end_layout
14780
14781 \end_deeper
14782 \begin_layout Enumerate
14783 Ejecuta el archivo 
14784 \family typewriter
14785 .tex
14786 \family default
14787  con \SpecialChar LaTeX
14788  tantas veces como sea necesario (generalmente hasta tres).
14789 \end_layout
14790
14791 \begin_layout Enumerate
14792 Mira el documento resultante 
14793 \family typewriter
14794 .dvi
14795 \family default
14796  ,
14797  p.
14798 \begin_inset space \thinspace{}
14799 \end_inset
14800
14801 e.,
14802  con 
14803 \family sans
14804 xdvi
14805 \family default
14806 ,
14807  y comprueba si todo está bien (debería,
14808  si no has cometido algún error).
14809 \end_layout
14810
14811 \begin_layout Subsection
14812 «Peculiaridades» del paquete Kluwer
14813 \begin_inset CommandInset label
14814 LatexCommand label
14815 name "subsec:kluwer_peculiaridades"
14816
14817 \end_inset
14818
14819
14820 \end_layout
14821
14822 \begin_layout Standard
14823 El paquete Kluwer tiene algunas 
14824 \begin_inset Quotes cld
14825 \end_inset
14826
14827 peculiaridades
14828 \begin_inset Quotes crd
14829 \end_inset
14830
14831 .
14832 \end_layout
14833
14834 \begin_layout Enumerate
14835 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14836
14837 \begin_inset Foot
14838 status collapsed
14839
14840 \begin_layout Plain Layout
14841 No puedo imaginar una buena razón para hacer esto.
14842 \end_layout
14843
14844 \end_inset
14845
14846 .
14847  Cada artículo debe estar incluido en un entorno 
14848 \begin_inset Quotes cld
14849 \end_inset
14850
14851 article
14852 \begin_inset Quotes crd
14853 \end_inset
14854
14855 .
14856  Desafortunadamente,
14857  este entorno no se puede omitir,
14858  incluso si escribes un solo artículo.
14859  Por esto,
14860  cada artículo empieza con el comando 
14861 \family typewriter
14862
14863 \backslash
14864 begin{article}
14865 \family default
14866  y,
14867  termina,
14868  obviamente,
14869  con el comando 
14870 \family typewriter
14871
14872 \backslash
14873 end{article}
14874 \family default
14875 .
14876  Aunque esto se puede implementar en \SpecialChar LyX
14877 ,
14878  no lo he incluido,
14879  puesto que se ve feo y puede confundir al novato.
14880  Así pues hay que introducirlo en código \SpecialChar LaTeX
14881  (
14882 \begin_inset Quotes cld
14883 \end_inset
14884
14885 código \SpecialChar TeX
14886
14887 \begin_inset Quotes crd
14888 \end_inset
14889
14890 ).
14891 \end_layout
14892
14893 \begin_layout Enumerate
14894 La información dada al principio del artículo (p.
14895 \begin_inset space \thinspace{}
14896 \end_inset
14897
14898 e.,
14899  título,
14900  subtítulo,
14901  autor,
14902  institución,
14903  título corriente,
14904  autor corriente,
14905  resumen y palabras-clave) deben incluirse en un entorno llamado 
14906 \begin_inset Quotes cld
14907 \end_inset
14908
14909 opening
14910 \begin_inset Quotes crd
14911 \end_inset
14912
14913 .
14914  Esto no está implementado en \SpecialChar LyX
14915 ,
14916  así que hay que introducir el título,
14917  subtítulo,
14918  etc.,
14919  entre dos líneas en código \SpecialChar TeX
14920  (
14921 \family typewriter
14922
14923 \backslash
14924 begin{opening}
14925 \family default
14926  y 
14927 \family typewriter
14928
14929 \backslash
14930 end{opening}
14931 \family default
14932 ).
14933 \end_layout
14934
14935 \begin_layout Enumerate
14936 Según el manual de uso,
14937  la etiqueta de cada ítem de la bibliografía debe escribirse como 
14938 \family typewriter
14939
14940 \backslash
14941 protect
14942 \backslash
14943 citeauthoryear{
14944 \family default
14945 \emph on
14946 autor(es)
14947 \family typewriter
14948 \emph default
14949 }{
14950 \family default
14951 \emph on
14952 año
14953 \family typewriter
14954 \emph default
14955 }
14956 \family default
14957 .
14958 \end_layout
14959
14960 \begin_layout Standard
14961 La plantilla 
14962 \family typewriter
14963 kluwer.lyx
14964 \family default
14965  se cuida de todas estas 
14966 \begin_inset Quotes cld
14967 \end_inset
14968
14969 peculiaridades
14970 \begin_inset Quotes crd
14971 \end_inset
14972
14973 .
14974  Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer nada especial.
14975  Ten en cuenta:
14976  
14977 \end_layout
14978
14979 \begin_layout Enumerate
14980 no borrar el código \SpecialChar TeX
14981  incluido en el modelo,
14982  y
14983 \end_layout
14984
14985 \begin_layout Enumerate
14986 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo como haga falta para introducir nuevas entradas.
14987 \end_layout
14988
14989 \begin_layout Section
14990 Koma-Script
14991 \end_layout
14992
14993 \begin_layout Standard
14994 por 
14995 \noun on
14996 Bernd Rellermeyer
14997 \end_layout
14998
14999 \begin_layout Subsection
15000 Visión previa
15001 \end_layout
15002
15003 \begin_layout Standard
15004 En \SpecialChar LyX
15005 ,
15006  las clases de documento
15007 \family sans
15008 \emph on
15009  
15010 \emph default
15011 article (koma-script)
15012 \emph on
15013 ,
15014  
15015 \emph default
15016 report (koma-script)
15017 \emph on
15018 ,
15019  
15020 \emph default
15021 book
15022 \emph on
15023  
15024 \emph default
15025 (koma-script)
15026 \family default
15027 ,
15028  y 
15029 \family sans
15030 letter
15031 \emph on
15032  
15033 \emph default
15034 (koma-script)
15035 \family default
15036  corresponden respectivamente a las clases de \SpecialChar LaTeX
15037  
15038 \family typewriter
15039 scrartcl.cls
15040 \family default
15041 ,
15042  
15043 \family typewriter
15044 scrreprt.cls
15045 \family default
15046 ,
15047  
15048 \family typewriter
15049 scrbook.cls
15050 \family default
15051 ,
15052  y 
15053 \family typewriter
15054 scrlettr.cls
15055 \family default
15056 ,
15057  de la familia Koma-Script.
15058  Son alternativas a las correspondientes clases estándar 
15059 \family typewriter
15060 article.cls
15061 \family default
15062 ,
15063  
15064 \family typewriter
15065 report.cls
15066 \family default
15067 ,
15068  
15069 \family typewriter
15070 book.cls
15071 \family default
15072  y 
15073 \family typewriter
15074 letter.cls
15075 \family default
15076 ,
15077  y en ciertos aspectos
15078 \emph on
15079  
15080 \emph default
15081 se adaptan mejor a las convenciones tipográficas
15082 \family typewriter
15083  
15084 \family default
15085 europeas.
15086 \end_layout
15087
15088 \begin_layout Itemize
15089 El tamaño estándar de letra es 11
15090 \begin_inset space \thinspace{}
15091 \end_inset
15092
15093 pt en 
15094 \family sans
15095 article (koma-script)
15096 \emph on
15097 ,
15098  
15099 \emph default
15100 report (koma-script)
15101 \family default
15102 ,
15103  y 
15104 \family sans
15105 book (koma-script)
15106 \family default
15107 ,
15108  y 12
15109 \begin_inset space \thinspace{}
15110 \end_inset
15111
15112 pt en 
15113 \family sans
15114 letter (koma-script)
15115 \family default
15116 .
15117 \end_layout
15118
15119 \begin_layout Itemize
15120 Los encabezados,
15121  los marcadores del entorno
15122 \family sans
15123  Descripción
15124 \family default
15125  y otros elementos de la clase 
15126 \family sans
15127 letter (koma-script)
15128 \family default
15129 \emph on
15130  
15131 \emph default
15132 se ponen en sans serif negrita.
15133 \begin_inset Foot
15134 status collapsed
15135
15136 \begin_layout Plain Layout
15137 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita y las nuevas tipografías ec,
15138  especialmente en cuanto al aspecto de los encabezados.
15139  En comparación,
15140  las tipografías ec sans serif negrita se ven algo más delgadas.
15141  El paquete \SpecialChar LaTeX
15142  
15143 \family typewriter
15144 cmsd.sty 
15145 \family default
15146 de 
15147 \shape smallcaps
15148 Walter Schmidt
15149 \shape default
15150  permite generar la apariencia 
15151 \begin_inset Quotes cld
15152 \end_inset
15153
15154 habitual
15155 \begin_inset Quotes crd
15156 \end_inset
15157
15158  cuando se emplean las tipografías ec.
15159 \end_layout
15160
15161 \end_inset
15162
15163  La numeración de los encabezados de capítulo se hace de la misma forma que la numeración de los encabezados de sección,
15164  o sea,
15165  sin la línea extra 
15166 \begin_inset Quotes cld
15167 \end_inset
15168
15169 Capítulo\SpecialChar ldots
15170
15171 \begin_inset Quotes crd
15172 \end_inset
15173
15174 .
15175  Además,
15176  el aspecto de los encabezados se puede modificar mediante algunas opciones (en \SpecialChar LyX
15177  se introducen en el diálogo D
15178 \family sans
15179 ocumento\SpecialChar menuseparator
15180 Configuración
15181 \family default
15182 ).
15183  Se puede encontrar una completa descripción de estas opciones,
15184  en alemán,
15185  en la documentación de Koma-Script 
15186 \emph on
15187 scrguide
15188 \emph default
15189 .
15190 \end_layout
15191
15192 \begin_layout Itemize
15193 En las clases Koma-Script,
15194  los aspectos principales del diseño del área imprimible se controlan con las opciones 
15195 \family sans
15196 BCOR
15197 \family default
15198  y 
15199 \family sans
15200 DIV
15201 \family default
15202  (en \SpecialChar LyX
15203  se introducen en el campo de opciones de clase del diálogo 
15204 \family sans
15205 Documento\SpecialChar menuseparator
15206 Configuración
15207 \family default
15208 ).
15209  Dichas opciones permiten un ajuste más claro de los márgenes posibles de página.
15210  En la documentación de Koma-Script 
15211 \emph on
15212 scrguide
15213 \emph default
15214 ,
15215  (en alemán),
15216  hay una detallada descripción de estas y otras opciones de configuración del área imprimible.
15217 \end_layout
15218
15219 \begin_layout Itemize
15220 Las clases \SpecialChar LaTeX
15221  de documentos de la familia Koma-Script definen un cierto número de comandos adicionales.
15222  Aquellos que tienen sentido en \SpecialChar LyX
15223  se implementan en los correspondientes tipos de párrafo.
15224 \end_layout
15225
15226 \begin_layout Standard
15227 En la documentación de Koma-Script,
15228  
15229 \emph on
15230 scrguide
15231 \emph default
15232  (alemán) y 
15233 \emph on
15234 scrguien
15235 \emph default
15236  (inglés),
15237  hay una detallada descripción de las clases \SpecialChar LaTeX
15238  de la familia Koma-Script.
15239 \end_layout
15240
15241 \begin_layout Subsection
15242 article (koma-script),
15243  report (koma-script),
15244  y book (koma-script)
15245 \end_layout
15246
15247 \begin_layout Standard
15248 Las clases de documento 
15249 \family sans
15250 article (koma-script)
15251 \emph on
15252 ,
15253  
15254 \emph default
15255 report (koma-script)
15256 \family default
15257 ,
15258  y 
15259 \family sans
15260 book
15261 \emph on
15262  
15263 \emph default
15264 (koma-script)
15265 \family default
15266  están implementadas en los archivos de formato 
15267 \family typewriter
15268 scrartcl.layout
15269 \family default
15270 ,
15271  
15272 \family typewriter
15273 scrreprt.layout
15274 \family default
15275 ,
15276  y 
15277 \family typewriter
15278 scrbook.layout
15279 \family default
15280 ,
15281  respectivamente.
15282  Contienen todos los tipos de párrafo de las correspondientes clases estándar 
15283 \family sans
15284 article
15285 \emph on
15286 ,
15287  
15288 \emph default
15289 report
15290 \emph on
15291 ,
15292  
15293 \family default
15294 \emph default
15295 y
15296 \family sans
15297 \emph on
15298  
15299 \emph default
15300 book
15301 \family default
15302 ,
15303  parcialmente modificados,
15304  con la excepción del tipo 
15305 \family sans
15306 List
15307 \family default
15308 a,
15309  específico de \SpecialChar LyX
15310 ,
15311  que es reemplazado por el nuevo tipo 
15312 \family sans
15313 Etiquetado
15314 \family default
15315 ,
15316  que tiene la misma funcionalidad.
15317  Además del tipo 
15318 \family sans
15319 Etiquetado 
15320 \family default
15321 se han añadido otros nuevos tipos de párrafo.
15322  Pero 
15323 \emph on
15324 no 
15325 \emph default
15326 se encuentran en la clase 
15327 \family sans
15328 letter (koma-script)
15329 \family default
15330 .
15331 \end_layout
15332
15333 \begin_layout Itemize
15334
15335 \family sans
15336 Añadir_Parte,
15337  Añadir_Cap
15338 \family default
15339 ,
15340  
15341 \family sans
15342 Añadir_Sec
15343 \family default
15344 :
15345  son los equivalentes respectivos a 
15346 \family sans
15347 Parte*,
15348  Capítulo*
15349 \family default
15350  y 
15351 \family sans
15352 Sección*
15353 \family default
15354 ,
15355  pero además añaden una entrada en el índice general.
15356  
15357 \family sans
15358 Añadir_Parte
15359 \family default
15360  y 
15361 \family sans
15362 Añadir_Cap
15363 \family default
15364  no están en 
15365 \family sans
15366 article (koma-script)
15367 \family default
15368 .
15369 \end_layout
15370
15371 \begin_layout Itemize
15372
15373 \family sans
15374 Añadir_Cap
15375 \family default
15376 *,
15377  
15378 \family sans
15379 Añadir_Sec*
15380 \family default
15381 :
15382  se comportan igual que 
15383 \family sans
15384 Añadir_Cap
15385 \family default
15386  y 
15387 \family sans
15388 Añadir_Sec
15389 \family default
15390  pero no indican la numeración del capítulo o sección.
15391  
15392 \family sans
15393 Añadir_Cap
15394 \family default
15395 * no está disponible en 
15396 \family sans
15397 article (koma-script)
15398 \family default
15399 .
15400 \begin_inset Foot
15401 status collapsed
15402
15403 \begin_layout Plain Layout
15404 En 
15405 \emph on
15406 book (koma-script)
15407 \emph default
15408  y en 
15409 \emph on
15410 report (koma-script)
15411 \emph default
15412 ,
15413
15414 \emph on
15415  
15416 \emph default
15417 hay también un comando 
15418 \family typewriter
15419
15420 \backslash
15421 addpart*
15422 \family default
15423 ,
15424  pero como es idéntico a 
15425 \family sans
15426 Parte*
15427 \family default
15428 ,
15429  no ha sido implementado en \SpecialChar LyX
15430 .
15431 \end_layout
15432
15433 \end_inset
15434
15435
15436 \end_layout
15437
15438 \begin_layout Itemize
15439
15440 \family sans
15441 Mini
15442 \family default
15443 _S
15444 \family sans
15445 ec
15446 \family default
15447 :
15448  genera un encabezado directamente sobre el párrafo siguiente en el tamaño de carácter estándar sin afectar a la estructura del documento.
15449 \end_layout
15450
15451 \begin_layout Itemize
15452
15453 \family sans
15454 Encabezado_Arriba 
15455 \family default
15456
15457 \family sans
15458 Encabezado_Abajo
15459 \family default
15460  son encabezados especiales que respetan los espacios diferentes para encabezados situados sobre y bajo un elemento (si sigues estrictamente las normas tipográficas,
15461  pondrás los encabezados de cuadro siempre sobre ellos).
15462  También puedes usar la opción de clase 
15463 \family typewriter
15464 tablecaptionsabove
15465 \family default
15466 ,
15467  que cambiará 
15468 \family sans
15469 Encabezado
15470 \family default
15471  por 
15472 \family sans
15473 Encabezado_Arriba
15474 \family default
15475  para los cuadros y por 
15476 \family sans
15477 Encabezado_Abajo
15478 \family default
15479  para las figuras.
15480  Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
15481 \end_layout
15482
15483 \begin_layout Itemize
15484
15485 \family sans
15486 Sentencia
15487 \family default
15488 :
15489  sirve para poner una cita o un proverbio,
15490  por ejemplo,
15491  al principio de un capítulo.
15492  Si utilizas el parámetro opcional 
15493 \family sans
15494 Insertar\SpecialChar menuseparator
15495
15496 \lang english
15497 Dictum
15498 \begin_inset space ~
15499 \end_inset
15500
15501 Author
15502 \family default
15503 \lang spanish
15504 ,
15505  puedes insertar aquí el nombre del autor de la sentencia.
15506  La sentencia y su autor se separan con una línea.
15507  Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
15508  
15509 \family sans
15510 Sentencia
15511 \family default
15512  no está incluido en 
15513 \family sans
15514 article (koma-script)
15515 \family default
15516 .
15517 \end_layout
15518
15519 \begin_layout Standard
15520 Los entornos siguientes,
15521  junto con los habituales 
15522 \family sans
15523 Título
15524 \family default
15525 ,
15526  
15527 \family sans
15528 Autor
15529 \family default
15530 ,
15531  y 
15532 \family sans
15533 Fecha
15534 \family default
15535 ,
15536  forman la zona de título del documento.
15537  Deben introducirse sobre el primer párrafo 
15538 \begin_inset Quotes cld
15539 \end_inset
15540
15541 normal
15542 \begin_inset Quotes crd
15543 \end_inset
15544
15545 .
15546 \begin_inset Foot
15547 status collapsed
15548
15549 \begin_layout Plain Layout
15550 Los comandos \SpecialChar LaTeX
15551  correspondientes deben aparecer antes de 
15552 \family typewriter
15553
15554 \backslash
15555 maketitle
15556 \family default
15557 .
15558 \end_layout
15559
15560 \end_inset
15561
15562  Cuando este entorno se emplea más de una vez,
15563  el último anula a los anteriores,
15564  lo que implica que para cada tipo solo es válida la última entrada.
15565  El orden de los distintos entornos no influye en el documento final,
15566  lo mismo que sucede con 
15567 \family sans
15568 Título
15569 \family default
15570 ,
15571  
15572 \family sans
15573 Autor
15574 \family default
15575 ,
15576  y 
15577 \family sans
15578 Fecha
15579 \family default
15580 .
15581 \end_layout
15582
15583 \begin_layout Itemize
15584
15585 \family sans
15586 Tema
15587 \family default
15588 :
15589  genera un párrafo centrado sobre el título ordinario (
15590 \family sans
15591 Título
15592 \family default
15593 ,
15594  
15595 \family sans
15596 Autor
15597 \family default
15598 ,
15599  
15600 \family sans
15601 Fecha
15602 \family default
15603 ) para poner el tema del documento.
15604 \end_layout
15605
15606 \begin_layout Itemize
15607
15608 \family sans
15609 Editores
15610 \family default
15611 :
15612  genera un párrafo centrado bajo el título ordinario (
15613 \family sans
15614 Título
15615 \family default
15616 ,
15617  
15618 \family sans
15619 Autor
15620 \family default
15621 ,
15622  
15623 \family sans
15624 Fecha
15625 \family default
15626 ) para los nombres de los editores.
15627 \end_layout
15628
15629 \begin_layout Itemize
15630
15631 \family sans
15632 Dedicatoria
15633 \family default
15634 :
15635  en 
15636 \family sans
15637 report (koma-script)
15638 \family default
15639  y 
15640 \family sans
15641 book (koma-script)
15642 \family default
15643  produce un párrafo centrado en su propia página detrás de la de título,
15644  o en 
15645 \family sans
15646 article (koma-script)
15647 \family default
15648  produce un párrafo centrado bajo el título ordinario (
15649 \family sans
15650 Título
15651 \family default
15652 ,
15653  
15654 \family sans
15655 Autor
15656 \family default
15657 ,
15658  
15659 \family sans
15660 Fecha
15661 \family default
15662 ,
15663  
15664 \family sans
15665 Editores
15666 \family default
15667 ).
15668 \end_layout
15669
15670 \begin_layout Itemize
15671
15672 \family sans
15673 Encabezado_Título
15674 \family default
15675 :
15676  produce un párrafo alineado a la izquierda sobre el título ordinario (
15677 \family sans
15678 Título
15679 \family default
15680 ,
15681  
15682 \family sans
15683 Autor
15684 \family default
15685 ,
15686  
15687 \family sans
15688 Fecha
15689 \family default
15690 ,
15691  
15692 \family sans
15693 Tema
15694 \family default
15695 ).
15696 \end_layout
15697
15698 \begin_layout Itemize
15699
15700 \family sans
15701 Reverso_Título_Superior
15702 \family default
15703 :
15704  genera,
15705  en documentos a dos caras,
15706  un párrafo alineado a la izquierda en la parte superior del reverso de la página titular en 
15707 \family sans
15708 report (koma-script)
15709 \family default
15710  y 
15711 \family sans
15712 book (koma-script)
15713 \family default
15714 ;
15715  no afecta a documentos a una cara ni a
15716 \family sans
15717 \emph on
15718  
15719 \emph default
15720 article (koma-script)
15721 \family default
15722 .
15723 \end_layout
15724
15725 \begin_layout Itemize
15726
15727 \family sans
15728 Reverso_Título_Inferior
15729 \family default
15730 :
15731  genera,
15732  en documentos a dos caras,
15733  un párrafo alineado a la izquierda en la parte inferior del reverso de la página titular en 
15734 \family sans
15735 report (koma-script)
15736 \family default
15737  y 
15738 \family sans
15739 book (koma-script)
15740 \family default
15741 ;
15742  no afecta a documentos a una cara ni a 
15743 \family sans
15744 article (koma-script)
15745 \family default
15746 .
15747 \end_layout
15748
15749 \begin_layout Itemize
15750
15751 \family sans
15752 Extra_T
15753 \family default
15754 ítulo:
15755  produce una página especial al principio del documento con un párrafo sin formato.
15756 \end_layout
15757
15758 \begin_layout Standard
15759 Los archivos de formato para las clases 
15760 \family sans
15761 article (koma-script)
15762 \emph on
15763 ,
15764  
15765 \emph default
15766 report (koma-script)
15767 \family default
15768 ,
15769  y 
15770 \family sans
15771 book (koma-script)
15772 \family default
15773  incluyen el archivo 
15774 \family typewriter
15775 scrmacros.inc
15776 \family default
15777 .
15778  Este está pensado como un lugar para definir tus propios tipos.
15779  ¡Copia s
15780 \family typewriter
15781 crmacros.inc
15782 \family default
15783  en tu directorio personal y edítalo!
15784 \end_layout
15785
15786 \begin_layout Subsection
15787 letter (koma-script)
15788 \end_layout
15789
15790 \begin_layout Description
15791 \noindent
15792
15793 \lang english
15794 Note:
15795  This section discusses the obsolete 
15796 \family sans
15797 KOMA-Script-Letter (v.
15798 \begin_inset space ~
15799 \end_inset
15800
15801 1)
15802 \family default
15803 ,
15804  which is not even included anymore in recent KOMA releases.
15805  Please refer to the next section for the current KOMA-Script-Letter class (v.
15806 \begin_inset space ~
15807 \end_inset
15808
15809 2)!
15810 \end_layout
15811
15812 \begin_layout Standard
15813 \noindent
15814 La clase de documento 
15815 \family sans
15816 letter (koma-script)
15817 \family default
15818  se implementa en el archivo de formato 
15819 \family typewriter
15820 scrlettr.layout
15821 \family default
15822 .
15823  Contiene todos los tipos de párrafo de la clase 
15824 \family sans
15825 letter
15826 \family default
15827 \emph on
15828  
15829 \emph default
15830 estándar,
15831  parcialmente modificados,
15832  excepto los específicos de \SpecialChar LyX
15833  
15834 \family sans
15835 Código-\SpecialChar LyX
15836
15837 \family default
15838  y 
15839 \family sans
15840 Comentario y el tipo
15841 \family default
15842  
15843 \family sans
15844 Lista
15845 \family default
15846 ,
15847  que es reemplazado por el nuevo tipo 
15848 \family sans
15849 Etiquetado
15850 \family default
15851 .
15852  Además contiene,
15853  a diferencia de la clase estándar,
15854  los entornos estándar \SpecialChar LaTeX
15855 ,
15856  
15857 \family sans
15858 Cita,
15859  Citar 
15860 \family default
15861 y
15862 \family sans
15863  Verso
15864 \family default
15865 ,
15866  más un número de nuevos tipos específicos para cartas.
15867 \end_layout
15868
15869 \begin_layout Standard
15870 El aspecto de las cartas producidas por esta clase de documento se puede controlar mediante comandos \SpecialChar LaTeX
15871  que puedes poner en el preámbulo.
15872 \begin_inset Foot
15873 status collapsed
15874
15875 \begin_layout Plain Layout
15876 Por ejemplo,
15877  el aspecto estándar de la cabecera de una carta,
15878  nombres y direcciones,
15879  se consigue con estos comandos \SpecialChar LaTeX
15880  en el preámbulo:
15881 \end_layout
15882
15883 \begin_layout LyX-Code
15884
15885 \backslash
15886 firsthead{
15887 \backslash
15888 parbox[b]{
15889 \backslash
15890 textwidth}
15891 \end_layout
15892
15893 \begin_layout LyX-Code
15894   {
15895 \backslash
15896 ignorespaces 
15897 \backslash
15898 fromname
15899 \backslash
15900
15901 \backslash
15902  
15903 \backslash
15904 ignorespaces 
15905 \backslash
15906 fromaddress}} 
15907 \end_layout
15908
15909 \begin_layout LyX-Code
15910
15911 \backslash
15912 nexthead{
15913 \backslash
15914 parbox[b]{
15915 \backslash
15916 textwidth}
15917 \end_layout
15918
15919 \begin_layout LyX-Code
15920   {
15921 \backslash
15922 ignorespaces 
15923 \backslash
15924 fromname 
15925 \backslash
15926 hfill 
15927 \backslash
15928 ignorespaces 
15929 \backslash
15930 pagename
15931 \backslash
15932  
15933 \backslash
15934 thepage}}
15935 \end_layout
15936
15937 \end_inset
15938
15939  Hay una detallada descripción de ellos en la documentación de Koma-Script,
15940  
15941 \emph on
15942 scrguide
15943 \emph default
15944  (en alemán).
15945  Con su ayuda puedes producir formatos personalizados de cartas.
15946 \end_layout
15947
15948 \begin_layout Standard
15949 Los entornos 
15950 \family sans
15951 Carta
15952 \family default
15953  y 
15954 \family sans
15955 Apertura
15956 \family default
15957  definen el comienzo de la carta y deben ponerse en todas ellas.
15958  Se pueden escribir varias
15959 \family sans
15960  
15961 \family default
15962 cartas en el mismo archivo.
15963  Un entorno 
15964 \family sans
15965 Apertura 
15966 \family default
15967 da comienzo a una nueva carta para el mismo destinatario mientras que un entorno 
15968 \family sans
15969 Carta
15970 \family default
15971  da lugar a una nueva carta para distinto destinatario.
15972  Los tipos 
15973 \family sans
15974 Cierre
15975 \family default
15976 ,
15977  
15978 \family sans
15979 PS
15980 \family default
15981 ,
15982  
15983 \family sans
15984 CC
15985 \family default
15986 ,
15987  y 
15988 \family sans
15989 Encl
15990 \family default
15991  son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15992 \end_layout
15993
15994 \begin_layout Itemize
15995
15996 \family sans
15997 Carta
15998 \family default
15999 :
16000  produce un párrafo para poner el destinatario y define implícitamente el inicio de la carta.
16001 \end_layout
16002
16003 \begin_layout Itemize
16004
16005 \family sans
16006 Apertura
16007 \family default
16008 :
16009  produce un párrafo para poner el destinatario e inicia implícitamente una nueva carta.
16010 \end_layout
16011
16012 \begin_layout Itemize
16013
16014 \family sans
16015 Cierre
16016 \family default
16017 :
16018  da lugar a un párrafo para el cierre de la carta.
16019 \end_layout
16020
16021 \begin_layout Itemize
16022
16023 \family sans
16024 PS
16025 \family default
16026 :
16027  párrafo para poner una postdata.
16028 \end_layout
16029
16030 \begin_layout Itemize
16031
16032 \family sans
16033 CC
16034 \family default
16035 :
16036  párrafo para una lista de co-destinatarios.
16037 \end_layout
16038
16039 \begin_layout Itemize
16040
16041 \family sans
16042 Encl
16043 \family default
16044 :
16045  párrafo para documentos adjuntos.
16046 \end_layout
16047
16048 \begin_layout Standard
16049 Los tipos de entorno 
16050 \family sans
16051 Nombre
16052 \family default
16053 ,
16054  
16055 \family sans
16056 Firma
16057 \family default
16058 ,
16059  
16060 \family sans
16061 Dirección
16062 \family default
16063 ,
16064  
16065 \family sans
16066 Teléfono
16067 \family default
16068 ,
16069  
16070 \family sans
16071 Lugar
16072 \family default
16073 ,
16074  
16075 \family sans
16076 Remite
16077 \family default
16078 ,
16079  
16080 \family sans
16081 Correo
16082 \begin_inset space ~
16083 \end_inset
16084
16085 especial
16086 \family default
16087 ,
16088  
16089 \family sans
16090 Localización
16091 \family default
16092 ,
16093  
16094 \family sans
16095 Título
16096 \family default
16097 ,
16098  y 
16099 \family sans
16100 Tema
16101 \family default
16102  son entradas provistas de una etiqueta para introducir información que será procesada por la clase de documento.
16103 \begin_inset Foot
16104 status collapsed
16105
16106 \begin_layout Plain Layout
16107 Podría ser inconsecuente que 
16108 \family sans
16109 Carta 
16110 \family default
16111
16112 \family sans
16113 Apertura
16114 \family default
16115 ,
16116  descritos arriba,
16117  no sean también entornos con etiqueta de entrada.
16118  Sin embargo,
16119  debido al signifificado particular de estos tipos,
16120  los he implementado como párrafos ordinarios con una letra en el margen.
16121  Además,
16122  afectaría a mi sensación de simetría si los tipos 
16123 \family sans
16124 Apertura
16125 \family default
16126  y 
16127 \family sans
16128 Cierre
16129 \family default
16130  tuvieran aspectos muy distintos.
16131 \end_layout
16132
16133 \end_inset
16134
16135  Estos tipos deben ponerse antes de la 
16136 \family sans
16137 Apertura
16138 \family default
16139  correspondiente.
16140 \end_layout
16141
16142 \begin_layout Standard
16143 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque el aspecto real de la carta no solo depende del uso de un tipo particular,
16144  sino también de otros factores.
16145  Por ejemplo,
16146  en el comportamiento predeterminado,
16147  una firma introducida en el tipo 
16148 \family sans
16149 Firma 
16150 \family default
16151 solo aparecerá en la carta si se usa,
16152  además,
16153  el tipo 
16154 \family sans
16155 Cierre
16156 \family default
16157 .
16158  El valor introducido en 
16159 \family sans
16160 Teléfono 
16161 \family default
16162 tampoco aparece en la carta.
16163  La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado antes en una nota al pie.
16164 \end_layout
16165
16166 \begin_layout Standard
16167 Los entornos para introducir datos también se pueden usar como párrafos vacíos.
16168  Esto tiene sentido,
16169  p.
16170 \begin_inset space \thinspace{}
16171 \end_inset
16172
16173 e.,
16174  para el entorno 
16175 \family sans
16176 Firma
16177 \family default
16178 .
16179  Si no se pone 
16180 \family sans
16181 Firma
16182 \family default
16183 ,
16184  en el comportamiento estándar se usará el valor de 
16185 \family sans
16186 Nombre 
16187 \family default
16188 como firma,
16189  mientras que si se define una 
16190 \family sans
16191 Firma 
16192 \family default
16193 vacía no saldrá ninguna.
16194 \end_layout
16195
16196 \begin_layout Standard
16197 Los entornos para introducir datos también pueden servir para escribir una plantilla,
16198  que contenga campos cumplimentados con tus datos personales (nombre,
16199  dirección,
16200  etc.),
16201  y campos vacíos listos para ser completados con otros datos.
16202 \end_layout
16203
16204 \begin_layout Itemize
16205
16206 \family sans
16207 Nombre
16208 \family default
16209 :
16210  nombre del remitente,
16211  en el comportamiento normal aparece en versalitas,
16212  en un párrafo centrado en el encabezado de la carta.
16213 \end_layout
16214
16215 \begin_layout Itemize
16216
16217 \family sans
16218 Firma
16219 \family default
16220 :
16221  firma del remitente,
16222  en el comportamiento normal aparece bajo el 
16223 \family sans
16224 Cierre
16225 \family default
16226 .
16227  Si no se utiliza el párrafo 
16228 \family sans
16229 Firma
16230 \family default
16231 ,
16232  se escribe en su lugar el valor del campo 
16233 \family sans
16234 Nombre
16235 \family default
16236 .
16237 \end_layout
16238
16239 \begin_layout Itemize
16240
16241 \family sans
16242 Dirección
16243 \family default
16244 :
16245  dirección del remitente,
16246  en el comportamiento normal aparece en un párrafo centrado,
16247  en el encabezado,
16248  bajo el 
16249 \family sans
16250 Nombre
16251 \family default
16252  del remitente.
16253 \end_layout
16254
16255 \begin_layout Itemize
16256
16257 \family sans
16258 Teléfon
16259 \family default
16260 o:
16261  teléfono del remitente,
16262  en el comportamiento normal corresponde a la variable 
16263 \family typewriter
16264
16265 \backslash
16266 telephonenum
16267 \family default
16268  de \SpecialChar LaTeX
16269 .
16270 \end_layout
16271
16272 \begin_layout Itemize
16273
16274 \family sans
16275 Lugar
16276 \family default
16277 :
16278  lugar donde se ha escrito la carta.
16279 \end_layout
16280
16281 \begin_layout Itemize
16282
16283 \family sans
16284 Fecha
16285 \family default
16286 :
16287  fecha de escritura de la carta.
16288  
16289 \family sans
16290 Lugar
16291 \family default
16292  y 
16293 \family sans
16294 Fecha
16295 \family default
16296 ,
16297  por omisión,
16298  aparecen en una línea a la derecha bajo el campo de dirección.
16299  Si el párrafo Fecha se deja vacío,
16300  no aparecen ni lugar ni fecha,
16301  independientemente del valor puesto en 
16302 \family sans
16303 Lugar
16304 \family default
16305 .
16306  Si no se pone párrafo de 
16307 \family sans
16308 Fecha
16309 \family default
16310 ,
16311  se usará la fecha del día.
16312 \end_layout
16313
16314 \begin_layout Itemize
16315
16316 \family sans
16317 Remite
16318 \family default
16319 :
16320  dirección para la respuesta,
16321  normalmente aparece sobre el campo del destinatario (
16322 \family sans
16323 Carta
16324 \family default
16325 ) en tipografía sans serif pequeña,
16326  subrayado.
16327 \end_layout
16328
16329 \begin_layout Itemize
16330
16331 \family sans
16332 Correo_Especial
16333 \family default
16334 :
16335  información especial de correo,
16336  en el comportamiento normal aparece subrayado sobre la dirección y bajo el remite.
16337 \end_layout
16338
16339 \begin_layout Itemize
16340
16341 \family sans
16342 Loca
16343 \family default
16344 lizació
16345 \family sans
16346 n
16347 \family default
16348 :
16349  información adicional,
16350  en el comportamiento normal aparece a la derecha bajo el campo del destinatario (
16351 \family sans
16352 Carta
16353 \family default
16354 ).
16355 \end_layout
16356
16357 \begin_layout Itemize
16358
16359 \family sans
16360 Título
16361 \family default
16362 :
16363  título de la carta,
16364  en el comportamiento normal aparece en letra sans serif grande,
16365  en negrita,
16366  sobre el 
16367 \family sans
16368 Tema
16369 \family default
16370 .
16371 \end_layout
16372
16373 \begin_layout Itemize
16374
16375 \family sans
16376 Tema
16377 \family default
16378 :
16379  el tema de la carta,
16380  en el comportamiento normal aparece en negrita sobre el párrafo de 
16381 \family sans
16382 Apertura
16383 \family default
16384 .
16385 \end_layout
16386
16387 \begin_layout Standard
16388 Los tipos 
16389 \family sans
16390 Su_ref
16391 \family default
16392 ,
16393  
16394 \family sans
16395 Su_Correo
16396 \family default
16397 ,
16398  
16399 \family sans
16400 Mi_ref
16401 \family default
16402 ,
16403  
16404 \family sans
16405 C
16406 \family default
16407 liente,
16408  y 
16409 \family sans
16410 Factura
16411 \family default
16412  generan,
16413  a la manera de las cartas comerciales,
16414  una línea sobre el 
16415 \family sans
16416 Título
16417 \family default
16418  con los campos 
16419 \begin_inset Quotes cld
16420 \end_inset
16421
16422 Su ref.
16423 \begin_inset Quotes crd
16424 \end_inset
16425
16426 ,
16427  
16428 \begin_inset Quotes cld
16429 \end_inset
16430
16431 Su carta de
16432 \begin_inset Quotes crd
16433 \end_inset
16434
16435 ,
16436  
16437 \begin_inset Quotes cld
16438 \end_inset
16439
16440 Nuestra ref.
16441 \begin_inset Quotes crd
16442 \end_inset
16443
16444 ,
16445  
16446 \begin_inset Quotes cld
16447 \end_inset
16448
16449 Nº de Cliente
16450 \begin_inset Quotes crd
16451 \end_inset
16452
16453 ,
16454  
16455 \begin_inset Quotes cld
16456 \end_inset
16457
16458 Nº de Factura:
16459 \begin_inset Quotes crd
16460 \end_inset
16461
16462 ,
16463  y 
16464 \begin_inset Quotes cld
16465 \end_inset
16466
16467 Fecha
16468 \begin_inset Quotes crd
16469 \end_inset
16470
16471 .
16472  Para el campo 
16473 \begin_inset Quotes cld
16474 \end_inset
16475
16476 Fecha
16477 \begin_inset Quotes crd
16478 \end_inset
16479
16480  toma el valor del entorno 
16481 \family sans
16482 Fecha
16483 \family default
16484 .
16485  Si se utiliza uno de estos tipos para 
16486 \begin_inset Quotes cld
16487 \end_inset
16488
16489 cartas comerciales
16490 \begin_inset Quotes crd
16491 \end_inset
16492
16493 ,
16494  el valor dado en 
16495 \family sans
16496 Lugar
16497 \family default
16498  no aparece,
16499  solo se define la variable \SpecialChar LaTeX
16500  
16501 \family typewriter
16502
16503 \backslash
16504 fromplace
16505 \family default
16506 .
16507  La salida ordinaria de lugar y fecha en una línea a la derecha bajo el campo del destinatario se suprime.
16508  Los tipos se implementan para introducción de datos,
16509  provistos con una etiqueta,
16510  y deben utilizarse antes del correspondiente tipo 
16511 \family sans
16512 Apertura
16513 \family default
16514 .
16515 \end_layout
16516
16517 \begin_layout Itemize
16518
16519 \family sans
16520 Su_ref
16521 \family default
16522 :
16523  su ref.
16524 \end_layout
16525
16526 \begin_layout Itemize
16527 Su
16528 \family sans
16529 _
16530 \family default
16531 Correo:
16532  su carta de.
16533 \end_layout
16534
16535 \begin_layout Itemize
16536
16537 \family sans
16538 Mi
16539 \family default
16540 _
16541 \family sans
16542 ref
16543 \family default
16544 :
16545  mi ref.
16546 \end_layout
16547
16548 \begin_layout Itemize
16549
16550 \family sans
16551 Cliente
16552 \family default
16553 :
16554  Nº de cliente.
16555 \end_layout
16556
16557 \begin_layout Itemize
16558
16559 \family sans
16560 Factura
16561 \family default
16562 :
16563  Nº de factura.
16564 \end_layout
16565
16566 \begin_layout Subsection
16567 La nueva clase de carta:
16568  letter (koma-script v.2)
16569 \end_layout
16570
16571 \begin_layout Standard
16572 por 
16573 \noun on
16574 Jürgen Spitzmüller
16575 \end_layout
16576
16577 \begin_layout Standard
16578 \begin_inset VSpace medskip
16579 \end_inset
16580
16581
16582 \end_layout
16583
16584 \begin_layout Standard
16585 \noindent
16586 Koma-Script versión 2.8 ha introducido una clase nueva 
16587 \family sans
16588 de 
16589 \family default
16590 cartas,
16591  
16592 \family typewriter
16593 scrlttr2
16594 \family default
16595 ,
16596  que reemplaza a 
16597 \family typewriter
16598 scrlettr
16599 \family default
16600 ,
16601  que ya no se desarrolla.
16602  Tiene,
16603  en lo que respecta a \SpecialChar LaTeX
16604 ,
16605  una interfaz completamente nueva incompatible con la clase antigua.
16606  \SpecialChar LyX
16607  soporta las dos,
16608  pero se recomienda usar la nueva.
16609 \end_layout
16610
16611 \begin_layout Standard
16612 Esta clase cubre las mismas funciones que 
16613 \family sans
16614 letter (koma-script)
16615 \family default
16616 \emph on
16617 ,
16618
16619 \emph default
16620  y algunas más.
16621  Las funciones básicas son 
16622 \family sans
16623 Dirección
16624 \family default
16625  (dirección del destinatario,
16626  como
16627 \family sans
16628  Carta
16629 \family default
16630  en el formato antiguo),
16631  
16632 \family sans
16633 Apertura
16634 \family default
16635 ,
16636  y 
16637 \family sans
16638 Cierre
16639 \family default
16640 .
16641  
16642 \family sans
16643 Dirección
16644 \family default
16645 _
16646 \family sans
16647 Siguiente
16648 \family default
16649  comenzará una carta nueva (o sea,
16650  que puedes escribir varias cartas en el mismo documento).
16651  Los elementos nuevos de remitente son 
16652 \family sans
16653 Correo_Electrónico
16654 \family default
16655 ,
16656  
16657 \family sans
16658 URL
16659 \family default
16660 ,
16661  
16662 \family sans
16663 Fax
16664 \family default
16665 ,
16666  
16667 \family sans
16668 Bank
16669 \family default
16670  y la posibilidad de usar un 
16671 \family sans
16672 Logotipo
16673 \family default
16674  (vía 
16675 \family sans
16676 Insertar\SpecialChar menuseparator
16677 Imagen
16678 \family default
16679 ) en el encabezado.
16680 \end_layout
16681
16682 \begin_layout Standard
16683 La mejora más importante es,
16684  creo,
16685  que el formato de la carta es configurable para casi cualquier necesidad.
16686  Esto se puede hacer en el preámbulo o con un archivo de estilo especial (extensión 
16687 \family typewriter
16688 .lco
16689 \family default
16690 ,
16691  Letter Class Option),
16692  que será leído como una opción de clase.
16693 \begin_inset Foot
16694 status collapsed
16695
16696 \begin_layout Plain Layout
16697 El paquete KOMA viene con algunos archivos 
16698 \family typewriter
16699 .lco
16700 \family default
16701  predefinidos.
16702  Hay,
16703  por ejemplo,
16704  un archivo 
16705 \family typewriter
16706 DIN.lco
16707 \family default
16708  que sigue las normas tipográficas alemanas,
16709  o 
16710 \family typewriter
16711 KOMAold.lco
16712 \family default
16713  que proporciona el formato predefinido de la antigua clase 
16714 \family typewriter
16715 scrlettr
16716 \family default
16717 .
16718  Esta última puede cargarse como opción de clase 
16719 \family typewriter
16720 KOMAold
16721 \family default
16722 ,
16723  en el campo 
16724 \family sans
16725 Opciones 
16726 \family default
16727 de 
16728 \family sans
16729 Documento\SpecialChar menuseparator
16730 Configuración\SpecialChar menuseparator
16731 Clase
16732 \begin_inset space ~
16733 \end_inset
16734
16735 de
16736 \begin_inset space ~
16737 \end_inset
16738
16739 documento
16740 \family default
16741 .
16742 \end_layout
16743
16744 \end_inset
16745
16746  Echa una ojeada a la plantilla 
16747 \emph on
16748 koma-letter2
16749 \emph default
16750  que se incluye como ejemplo en \SpecialChar LyX
16751 .
16752  En la documentación de Koma-Script (
16753 \emph on
16754 scrguide
16755 \emph default
16756 ) hay una descripción detallada.
16757 \end_layout
16758
16759 \begin_layout Subsection
16760 Problemas
16761 \end_layout
16762
16763 \begin_layout Standard
16764 En \SpecialChar LyX
16765 ,
16766  la visualización de documentos de la clase Koma-Script ocasiona algunos problemas.
16767 \end_layout
16768
16769 \begin_layout Itemize
16770 El número de capítulo en un párrafo 
16771 \family sans
16772 Capítulo
16773 \family default
16774  aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer delante en la misma línea.
16775  La causa de esto es el comportamiento interno de \SpecialChar LyX
16776  en relación a los marcadores del tipo 
16777 \family sans
16778 Counter_Chapter 
16779 \family default
16780 en el archivo de formato.
16781 \end_layout
16782
16783 \begin_layout Itemize
16784 Los encabezados de los entornos 
16785 \family sans
16786 Añadir_Cap
16787 \family default
16788  y 
16789 \family sans
16790 Añadir_Sec
16791 \family default
16792  solo se ponen en el índice generado por \SpecialChar LaTeX
16793 ,
16794  no en el índice de \SpecialChar LyX
16795  (
16796 \family sans
16797 Documento\SpecialChar menuseparator
16798 Índice
16799 \begin_inset space ~
16800 \end_inset
16801
16802 general
16803 \family default
16804 ).
16805 \end_layout
16806
16807 \begin_layout Itemize
16808 Los párrafos en documentos de la clase 
16809 \emph on
16810 letter
16811 \emph default
16812  aparecen separados con espacio adicional entre ellos,
16813  no con sangrado.
16814  Este es el comportamiento normal,
16815  no hacen falta comandos \SpecialChar LaTeX
16816  para eso.
16817  Sin embargo,
16818  en el diálogo 
16819 \family sans
16820 Documento\SpecialChar menuseparator
16821 Configuración
16822 \family default
16823  el botón que aparece marcado es 
16824 \family sans
16825 Sangrado
16826 \family default
16827 .
16828  Si se introduce un valor de 
16829 \family sans
16830 Espacio
16831 \begin_inset space ~
16832 \end_inset
16833
16834 vertical
16835 \family default
16836  se insertan en el documento comandos \SpecialChar LaTeX
16837  adicionales para dar ese espacio,
16838  lo que en este caso no es lo que queremos.
16839 \end_layout
16840
16841 \begin_layout Section
16842 Memoir
16843 \end_layout
16844
16845 \begin_layout Standard
16846 por 
16847 \noun on
16848 Jürgen Spitzmüller
16849 \end_layout
16850
16851 \begin_layout Subsection
16852 Visión previa
16853 \end_layout
16854
16855 \begin_layout Standard
16856 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16857  Se ha diseñado para escribir literatura de ficción y de no ficción.
16858  Su objetivo es dar al usuario el máximo control sobre su documento.
16859  Memoir está basada en la clase estándar 
16860 \family sans
16861 book
16862 \family default
16863 ,
16864  pero también puede emular la clase 
16865 \family sans
16866 article 
16867 \family default
16868 (véase más adelante).
16869 \end_layout
16870
16871 \begin_layout Standard
16872 Peter Wilson,
16873  el desarrollador de Memoir,
16874  es conocido como autor de muchos paquetes en el mundillo de \SpecialChar LaTeX
16875 .
16876  La mayoría de ellos se han combinado con Memoir.
16877  Por tanto,
16878  es mucho más sencillo diseñar los índices,
16879  apéndices,
16880  capítulos y demás.
16881  \SpecialChar LyX
16882 ,
16883  no obstante,
16884  no soporta por sí mismo todas sus características.
16885  Algunas se podrán añadir en futuras versiones
16886 \begin_inset Foot
16887 status collapsed
16888
16889 \begin_layout Plain Layout
16890 Estás invitado a enviar sugerencias a 
16891 \begin_inset Flex URL
16892 status collapsed
16893
16894 \begin_layout Plain Layout
16895
16896 lyx-devel@lists.lyx.org
16897 \end_layout
16898
16899 \end_inset
16900
16901 .
16902 \end_layout
16903
16904 \end_inset
16905
16906 ,
16907  muchas nunca,
16908  probablemente,
16909  debido a limitaciones estructurales de \SpecialChar LyX
16910 .
16911  Por supuesto,
16912  puedes usar todas las características con ayuda de comandos \SpecialChar LaTeX
16913  (código \SpecialChar TeX
16914
16915 \begin_inset Foot
16916 status collapsed
16917
16918 \begin_layout Plain Layout
16919 Consulta la sección
16920 \begin_inset space ~
16921 \end_inset
16922
16923
16924 \begin_inset CommandInset ref
16925 LatexCommand ref
16926 reference "sec:Insertar-Código-TeX"
16927 nolink "false"
16928
16929 \end_inset
16930
16931  para más detalles.
16932 \end_layout
16933
16934 \end_inset
16935
16936 ).
16937  En esta sección solo trataremos las características soportadas directamente por \SpecialChar LyX
16938 .
16939  Para una decripción más completa (y para el resto de características) recomendamos la consulta del manual de Memoir
16940 \begin_inset Foot
16941 status collapsed
16942
16943 \begin_layout Plain Layout
16944 \begin_inset Flex URL
16945 status collapsed
16946
16947 \begin_layout Plain Layout
16948
16949 CTAN:/macros/latex/memoir/memman.pdf
16950 \end_layout
16951
16952 \end_inset
16953
16954 .
16955 \end_layout
16956
16957 \end_inset
16958
16959 ,
16960  que es,
16961  no solo una guía de usuario,
16962  sino también una completa guía sobre normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16963 \end_layout
16964
16965 \begin_layout Subsection
16966 Características básicas y restricciones
16967 \end_layout
16968
16969 \begin_layout Standard
16970 Memoir soporta básicamente todas las características de las clases estándar de 
16971 \family sans
16972 book
16973 \family default
16974 .
16975  Pero hay algunas diferencias:
16976 \end_layout
16977
16978 \begin_layout Description
16979 Tamaños
16980 \begin_inset space ~
16981 \end_inset
16982
16983 de
16984 \begin_inset space ~
16985 \end_inset
16986
16987 tipografía:
16988  Memoir tiene un amplio rango de tamaños de tipografía:
16989  9,
16990  10,
16991  11,
16992  12,
16993  14,
16994  17
16995 \end_layout
16996
16997 \begin_layout Description
16998 Estilo
16999 \begin_inset space ~
17000 \end_inset
17001
17002 de
17003 \begin_inset space ~
17004 \end_inset
17005
17006 página:
17007  El estilo 
17008 \begin_inset Quotes cld
17009 \end_inset
17010
17011 fancy
17012 \begin_inset Quotes crd
17013 \end_inset
17014
17015  no está soportado,
17016  debido a un conflicto entre Memoir y el paquete 
17017 \family sans
17018 fancyhdr
17019 \family default
17020  (ambos definen un comando con el mismo nombre,
17021  lo que confunde a \SpecialChar LaTeX
17022 ).
17023  En su lugar,
17024  Memoir dispone de un puñado de estilos de página propios (véase 
17025 \family sans
17026 \lang english
17027 Document\SpecialChar menuseparator
17028 Settings\SpecialChar menuseparator
17029 Page
17030 \begin_inset space ~
17031 \end_inset
17032
17033 Style
17034 \family default
17035 \lang spanish
17036 ).
17037  Si quieres usar estos para las páginas de capítulos,
17038  tienes que usar el comando 
17039 \family typewriter
17040
17041 \backslash
17042 chapterstyle
17043 \family default
17044  en el texto o en el preámbulo (p.
17045 \begin_inset space \thinspace{}
17046 \end_inset
17047
17048 ej.
17049 \begin_inset space ~
17050 \end_inset
17051
17052
17053 \family typewriter
17054
17055 \backslash
17056 chapterstyle{companion}
17057 \family default
17058 ).
17059 \end_layout
17060
17061 \begin_layout Description
17062 Seccionamiento:
17063  En las clases estándar,
17064  las secciones (capítulo,
17065  sección,
17066  subsección,
17067  etc.) van con un argumento opcional con el que puedes especificar una versión alternativa del título de la sección para el índice y para los encabezamientos de página,
17068  (por ejemplo,
17069  cuando el título es excesivamente largo).
17070  En \SpecialChar LyX
17071 ,
17072  puedes hacerlo con la opción de menú 
17073 \family sans
17074 Insertar\SpecialChar menuseparator
17075 Título
17076 \begin_inset space ~
17077 \end_inset
17078
17079 breve
17080 \family default
17081  al principio de un capítulo/sección.
17082  
17083 \family sans
17084 Memoir
17085 \family default
17086  suministra un segundo argumento opcional para separar el índice del encabezamiento.
17087  Con esto puedes definir tres variantes de un título:
17088  una para el texto principal,
17089  otra para el índice general y otra para los encabezamientos.
17090  
17091 \lang english
17092 \SpecialChar LyX
17093  makes these available in form of specific 
17094 \family sans
17095 Short Title
17096 \family default
17097  variants in the 
17098 \family sans
17099 Insert
17100 \family default
17101  menu.
17102 \end_layout
17103
17104 \begin_layout Description
17105 TOC/LOF/LOT:
17106  En las clases estándar (y en muchas otras),
17107  los índices general (IG,
17108  TOC),
17109  de figuras (LOF) y de cuadros (LOT) se inician automáticamente en página nueva.
17110  
17111 \family sans
17112 Memoir
17113 \family default
17114  no sigue esta regla.
17115  Si lo quieres,
17116  tienes que insertar a mano el salto de página.
17117 \end_layout
17118
17119 \begin_layout Description
17120 Página
17121 \begin_inset space ~
17122 \end_inset
17123
17124 de
17125 \begin_inset space ~
17126 \end_inset
17127
17128 Título:
17129  Por razones desconocidas,
17130  
17131 \family sans
17132 Memoir
17133 \family default
17134  usa paginación en la página del título (en las clases estándar,
17135  las páginas de título van en estilo 
17136 \begin_inset Quotes cld
17137 \end_inset
17138
17139
17140 \family sans
17141 empty
17142 \family default
17143
17144 \begin_inset Quotes crd
17145 \end_inset
17146
17147 ,
17148  sin número).
17149  Si quieres una página de título en dicho estilo,
17150  pon 
17151 \family typewriter
17152
17153 \backslash
17154 aliaspagestyle{title}{empty}
17155 \family default
17156  en el preámbulo.
17157 \end_layout
17158
17159 \begin_layout Description
17160 Article:
17161  Con la opción de clase 
17162 \emph on
17163 article
17164 \emph default
17165  (que se debe introducir en 
17166 \family sans
17167 Documento\SpecialChar menuseparator
17168 Configuración\SpecialChar menuseparator
17169 Clase
17170 \begin_inset space ~
17171 \end_inset
17172
17173 de
17174 \begin_inset space ~
17175 \end_inset
17176
17177 documento\SpecialChar menuseparator
17178
17179 \lang english
17180 Custom
17181 \begin_inset space ~
17182 \end_inset
17183
17184
17185 \lang spanish
17186 Opciones
17187 \family default
17188 ),
17189  puedes emular algunos comportamientos de estilo de la clase 
17190 \family sans
17191 article
17192 \family default
17193 :
17194  los contadores (de notas al pie,
17195  figuras,
17196  cuadros,
17197  etc.) no se reinician al cambiar de capítulo,
17198  los capítulos nuevos no comienzan en página nueva (aunque,
17199  a diferencia de las clases 
17200 \family sans
17201 article 
17202 \family default
17203
17204 \begin_inset Quotes cld
17205 \end_inset
17206
17207 de verdad
17208 \begin_inset Quotes crd
17209 \end_inset
17210
17211 ,
17212  está permitido);
17213  sin embargo,
17214  las partes sí van en páginas nuevas,
17215  como en las clases 
17216 \family sans
17217 book
17218 \family default
17219 .
17220 \end_layout
17221
17222 \begin_layout Description
17223 Comandos
17224 \begin_inset space ~
17225 \end_inset
17226
17227 de
17228 \begin_inset space ~
17229 \end_inset
17230
17231 tipografía
17232 \begin_inset space ~
17233 \end_inset
17234
17235 antiguos:
17236  por omisión,
17237  
17238 \family sans
17239 Memoir
17240 \family default
17241  no permite el uso de los comandos de tipografía obsoletos que se usaban en la antigua versión de \SpecialChar LaTeX
17242 ,
17243  2.09 (p.
17244 \begin_inset space \thinspace{}
17245 \end_inset
17246
17247 ej.
17248 \family typewriter
17249
17250 \begin_inset space ~
17251 \end_inset
17252
17253
17254 \backslash
17255 rm
17256 \family default
17257 ,
17258 \begin_inset space ~
17259 \end_inset
17260
17261
17262 \family typewriter
17263
17264 \backslash
17265 it
17266 \family default
17267 ).
17268  Si están presentes,
17269  generan errores y detienen el procesamiento de \SpecialChar LaTeX
17270 .
17271  La opción de clase 
17272 \emph on
17273 oldfontcommands
17274 \emph default
17275  readmite el uso de dichos comandos,
17276  (aunque escupe algunas advertencias,
17277  al menos no detiene a \SpecialChar LaTeX
17278 ).
17279  Puesto que algunos paquetes,
17280  en particular Bib\SpecialChar TeX
17281  en sus archivos de estilo,
17282  todavía utilizan estos comandos,
17283  hemos decidido mantener esta opción como predeterminada.
17284 \end_layout
17285
17286 \begin_layout Subsection
17287 Características adicionales
17288 \end_layout
17289
17290 \begin_layout Standard
17291 Solo indicaremos las soportadas por \SpecialChar LyX
17292  (que actualmente no son muchas).
17293  Consulta el manual de 
17294 \family sans
17295 Memoir
17296 \family default
17297  para más detalles.
17298 \begin_inset Foot
17299 status collapsed
17300
17301 \begin_layout Plain Layout
17302 \begin_inset Flex URL
17303 status collapsed
17304
17305 \begin_layout Plain Layout
17306
17307 CTAN:/macros/latex/memoir/memman.pdf
17308 \end_layout
17309
17310 \end_inset
17311
17312 .
17313 \end_layout
17314
17315 \end_inset
17316
17317
17318 \end_layout
17319
17320 \begin_layout Description
17321 Resumen:
17322  Te preguntarás por qué un resumen es un característica suplementaria.
17323  Bien,
17324  lo es en la clase 
17325 \family sans
17326 book
17327 \family default
17328 .
17329  Usualmente los libros no tienen resúmenes.
17330  
17331 \family sans
17332 Memoir
17333 \family default
17334 ,
17335  sin embargo,
17336  sí.
17337  Puedes usarlo donde,
17338  como y cuantas veces quieras.
17339 \end_layout
17340
17341 \begin_layout Description
17342 Capítulo
17343 \begin_inset space ~
17344 \end_inset
17345
17346 conciso:
17347  Quizá conozcas esto de 
17348 \begin_inset Quotes cld
17349 \end_inset
17350
17351 belletristic
17352 \begin_inset Quotes crd
17353 \end_inset
17354
17355
17356 \begin_inset Foot
17357 status collapsed
17358
17359 \begin_layout Plain Layout
17360 Estilo de escritura en que se da más importancia a la bella apariencia que al contenido.
17361
17362 \emph on
17363  (N.
17364  del t.)
17365 \end_layout
17366
17367 \end_inset
17368
17369 :
17370  El contenido de un capítulo es brevemente descrito debajo del título y también en el índice general (p.
17371 \begin_inset space \thinspace{}
17372 \end_inset
17373
17374 ej.
17375 \begin_inset space ~
17376 \end_inset
17377
17378
17379 \emph on
17380 Nuestro héroe llega a Troya;
17381  pierde algunos compañeros;
17382  encuentra a otros
17383 \emph default
17384 ).
17385  Capítulo_Conciso hace precisamente eso.
17386  Por tanto solo tiene sentido bajo un título de un capítulo.
17387 \end_layout
17388
17389 \begin_layout Description
17390 Epígrafe:
17391  Un epígrafe es un texto breve o lema al principio de un capítulo.
17392  El entorno epígrafe lo presenta de manera elegante.
17393  El propio lema (texto) y su autor (origen) se separan con una línea corta.
17394  
17395 \lang english
17396 The author (source) can be inserted via 
17397 \family sans
17398 Insert\SpecialChar menuseparator
17399 Epigraph Source
17400 \family default
17401 \emph on
17402 .
17403 \end_layout
17404
17405 \begin_layout Description
17406 Título
17407 \begin_inset space ~
17408 \end_inset
17409
17410 poema:
17411  
17412 \family sans
17413 Memoir
17414 \family default
17415  ofrece muchas posibilidades para escribir poesía (incluso complejos poemas figurativos).
17416  Lyx solo soporta unas pocas de ellas.
17417  Una es 
17418 \family sans
17419 Título_Poema
17420 \family default
17421 ,
17422  que pone un título centrado para el poema y que también se añade al índice general.
17423  (
17424 \family sans
17425 Verso
17426 \family default
17427  es el entorno estándar para poesía.
17428  
17429 \family sans
17430 Memoir
17431 \family default
17432  dispone de algunas versiones mejoradas de 
17433 \family sans
17434 verse
17435 \family default
17436 ,
17437  pero necesitas usar código \SpecialChar TeX
17438 ,
17439  porque tienen que anidarse en entornos regulares de verso,
17440  lo que no es posible en \SpecialChar LyX
17441 ).
17442 \end_layout
17443
17444 \begin_layout Description
17445 Título
17446 \begin_inset space ~
17447 \end_inset
17448
17449 poema*:
17450  Igual que 
17451 \family sans
17452 Título
17453 \begin_inset space ~
17454 \end_inset
17455
17456 poema
17457 \family default
17458 ,
17459  pero no añade entrada al índice general.
17460 \end_layout
17461
17462 \begin_layout Section
17463 Article (mwart),
17464  book (mwbk) y report (mwrep)
17465 \begin_inset Argument 1
17466 status collapsed
17467
17468 \begin_layout Plain Layout
17469 Las clases 
17470 \family typewriter
17471 mw
17472 \end_layout
17473
17474 \end_inset
17475
17476
17477 \end_layout
17478
17479 \begin_layout Standard
17480 por 
17481 \noun on
17482 Tomasz Luczak
17483 \end_layout
17484
17485 \begin_layout Standard
17486 Las clases de documento 
17487 \family sans
17488 article (mwart)
17489 \emph on
17490 ,
17491  
17492 \emph default
17493 report (mwrep)
17494 \family default
17495  y 
17496 \family sans
17497 book
17498 \emph on
17499  
17500 \emph default
17501 (mwbk)
17502 \family default
17503  de \SpecialChar LyX
17504  corresponden a las clases de documentos \SpecialChar LaTeX
17505  
17506 \family typewriter
17507 mwart.cls
17508 \family default
17509 ,
17510  
17511 \family typewriter
17512 mwrep.cls
17513 \family default
17514  y 
17515 \family typewriter
17516 mwbk.cls
17517 \family default
17518 ,
17519  respectivamente.
17520  Son remodelaciones de las clases estándar de documentos 
17521 \family typewriter
17522 article.cls
17523 \family default
17524 ,
17525  
17526 \family typewriter
17527 report.cls
17528 \family default
17529  y 
17530 \family typewriter
17531 book.cls
17532 \family default
17533 ,
17534  respectivamente,
17535  y se adaptan mejor a las convenciones tipográficas polacas en varios aspectos.
17536  
17537 \end_layout
17538
17539 \begin_layout Standard
17540 Las diferencias fundamentales son:
17541 \end_layout
17542
17543 \begin_layout Itemize
17544 Encabezados no numerados (con asterisco,
17545  p.
17546 \begin_inset space \thinspace{}
17547 \end_inset
17548
17549 ej.
17550  
17551 \family sans
17552 Sección*
17553 \family default
17554 ) en el índice.
17555 \end_layout
17556
17557 \begin_layout Itemize
17558 Estilos de página adicionales:
17559 \end_layout
17560
17561 \begin_deeper
17562 \begin_layout Description
17563 uheadings encabezados en líneas separadas,
17564 \end_layout
17565
17566 \begin_layout Description
17567 myheadings encabezados personalizados con 
17568 \family typewriter
17569
17570 \backslash
17571 markright
17572 \family default
17573  y 
17574 \family typewriter
17575
17576 \backslash
17577 markboth
17578 \family default
17579 ,
17580 \end_layout
17581
17582 \begin_layout Description
17583 myuheadings encabezados personalizados en líneas separadas,
17584 \end_layout
17585
17586 \begin_layout Description
17587 outer el número de página se coloca en el lado exterior de la misma.
17588 \end_layout
17589
17590 \end_deeper
17591 \begin_layout Itemize
17592 Opciones 
17593 \end_layout
17594
17595 \begin_deeper
17596 \begin_layout Description
17597 rmheadings encabezados en serif (predeterminado),
17598 \end_layout
17599
17600 \begin_layout Description
17601 sfheadings encabezados en sans-serif,
17602 \end_layout
17603
17604 \begin_layout Description
17605 authortitle en la página del título se pone primero el autor y luego el título (predeterminado),
17606 \end_layout
17607
17608 \begin_layout Description
17609 titleauthor en la página del título se pone el título,
17610  después el autor,
17611 \end_layout
17612
17613 \begin_layout Description
17614 withmarginpar reservar sitio de la página para los márgenes.
17615 \end_layout
17616
17617 \end_deeper
17618 \begin_layout Section
17619 Paper
17620 \end_layout
17621
17622 \begin_layout Standard
17623 La clase de documento 
17624 \family sans
17625 paper
17626 \family default
17627  provee una alternativa a la clase estándar 
17628 \family sans
17629 article
17630 \family default
17631 .
17632  Tiene una funcionalidad similar,
17633  aunque quizá prefieras este formato con secciones en sans serif,
17634  encabezados,
17635  y más..
17636 \end_layout
17637
17638 \begin_layout Section
17639 Rev\SpecialChar TeX
17640 4
17641 \end_layout
17642
17643 \begin_layout Standard
17644 por 
17645 \noun on
17646 Amir Karger
17647 \end_layout
17648
17649 \begin_layout Standard
17650 \begin_inset VSpace bigskip
17651 \end_inset
17652
17653
17654 \end_layout
17655
17656 \begin_layout Standard
17657 \noindent
17658 La clase de texto 
17659 \family sans
17660 Revtex
17661 \begin_inset space ~
17662 \end_inset
17663
17664
17665 \family default
17666 trabaja con la clase Rev\SpecialChar TeX
17667  4.0 (versión 
17668 \begin_inset Formula $\beta$
17669 \end_inset
17670
17671  de mayo de 1999) de la 
17672 \emph on
17673 American Physical Society
17674 \emph default
17675 .
17676 \end_layout
17677
17678 \begin_layout Standard
17679 \SpecialChar LyX
17680  tiene la clase de texto 
17681 \family sans
17682 Revtex
17683 \family default
17684  que funciona con Rev\SpecialChar TeX
17685  3.1.
17686  Sin embargo,
17687  la versión 3.1 está obsoleta,
17688  porque trabaja con \SpecialChar LaTeX
17689  2.09.
17690  Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
17691 ,
17692  que requiere \SpecialChar LaTeX2e
17693 ,
17694  aunque se haya parcheado.
17695  Puesto que Rev\SpecialChar TeX
17696  4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
17697 ,
17698  \SpecialChar LyX
17699  debería también funcionar mejor con la clase 
17700 \family sans
17701 Rev\SpecialChar TeX
17702
17703 \begin_inset space ~
17704 \end_inset
17705
17706 4
17707 \family default
17708 .
17709 \end_layout
17710
17711 \begin_layout Standard
17712 Esta documentación está pensada para ser usada 
17713 \emph on
17714 además de 
17715 \emph default
17716 la documentación de Rev\SpecialChar TeX
17717
17718 \begin_inset space ~
17719 \end_inset
17720
17721 4.0,
17722  por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
17723 ,
17724  y supondremos que sabes lo que hay que poner en el preámbulo,
17725  si fuera preciso.
17726 \end_layout
17727
17728 \begin_layout Subsection
17729 Instalación
17730 \end_layout
17731
17732 \begin_layout Standard
17733 Debes instalar Rev\SpecialChar TeX
17734
17735 \begin_inset space ~
17736 \end_inset
17737
17738 4 como se describe en el archivo README del paquete.
17739  El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
17740  4:
17741  
17742 \begin_inset Flex URL
17743 status collapsed
17744
17745 \begin_layout Plain Layout
17746
17747 http://publish.aps.org/revtex4/
17748 \end_layout
17749
17750 \end_inset
17751
17752 .
17753  Instálalo donde \SpecialChar LaTeX
17754  pueda encontrarlo.
17755  Compruébalo procesando con \SpecialChar LaTeX
17756  algún corto documento Rev\SpecialChar TeX
17757
17758 \begin_inset space ~
17759 \end_inset
17760
17761 4 en algún directorio casual (es decir,
17762  no en el directorio donde se ha instalado el archivo de clase).
17763  Luego,
17764  si reconfiguras \SpecialChar LyX
17765 ,
17766  este reconocerá el archivo de clase Rev\SpecialChar TeX
17767
17768 \begin_inset space ~
17769 \end_inset
17770
17771 4 y lo podrás utilizar.
17772 \end_layout
17773
17774 \begin_layout Standard
17775 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
17776
17777 \begin_inset space ~
17778 \end_inset
17779
17780 4 usando re\SpecialChar LyX
17781 ,
17782  o partir del modelo de la plantilla de Rev\SpecialChar TeX
17783
17784 \begin_inset space ~
17785 \end_inset
17786
17787
17788 \family sans
17789 4
17790 \family default
17791 ,
17792  disponible en el directorio de plantillas (
17793 \emph on
17794 templates
17795 \emph default
17796 ).
17797 \end_layout
17798
17799 \begin_layout Subsection
17800 Preámbulo
17801 \end_layout
17802
17803 \begin_layout Standard
17804 Los argumentos opcionales a 
17805 \family typewriter
17806
17807 \backslash
17808 documentclass
17809 \family default
17810 ,
17811  como 
17812 \begin_inset Quotes cld
17813 \end_inset
17814
17815 preprint
17816 \begin_inset Quotes crd
17817 \end_inset
17818
17819  y 
17820 \begin_inset Quotes cld
17821 \end_inset
17822
17823 aps
17824 \begin_inset Quotes crd
17825 \end_inset
17826
17827 ,
17828  van en el campo 
17829 \family sans
17830 Opciones
17831 \family default
17832  del diálogo 
17833 \family sans
17834 Documento\SpecialChar menuseparator
17835 Configuración\SpecialChar menuseparator
17836 Clase
17837 \begin_inset space ~
17838 \end_inset
17839
17840 del
17841 \family default
17842
17843 \begin_inset space ~
17844 \end_inset
17845
17846
17847 \family sans
17848 documento
17849 \family default
17850 .
17851  ¡Recuerda que en Rev\SpecialChar TeX
17852 ,
17853  se requiere,
17854  al menos,
17855  un argumento opcional!
17856  
17857 \end_layout
17858
17859 \begin_layout Standard
17860 Otras cosas del preámbulo,
17861  como 
17862 \family typewriter
17863
17864 \backslash
17865 draft
17866 \family default
17867  etc.,
17868  van en el diálogo 
17869 \family sans
17870 Preámbulo
17871 \begin_inset space ~
17872 \end_inset
17873
17874 La
17875 \family default
17876 \SpecialChar TeX
17877
17878 \family sans
17879 ,
17880  
17881 \family default
17882 como de costumbre.
17883 \end_layout
17884
17885 \begin_layout Subsection
17886 Entornos de párrafo
17887 \end_layout
17888
17889 \begin_layout Standard
17890 En Rev\SpecialChar TeX
17891
17892 \begin_inset space ~
17893 \end_inset
17894
17895 4.0,
17896  los entornos de párrafo corresponden básicamente a comandos.
17897  Por ejemplo,
17898  el formato 
17899 \family sans
17900 CorreoE
17901 \family default
17902  corresponde a 
17903 \family typewriter
17904
17905 \backslash
17906 email{}
17907 \family default
17908 .
17909  Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17910  4.0 Beta),
17911  los entornos 
17912 \family sans
17913 Dirección
17914 \family default
17915  y 
17916 \family sans
17917 Afiliación
17918 \family default
17919  son exactamente equivalentes,
17920  por lo que no tendrías que usar ambos.
17921 \begin_inset Foot
17922 status collapsed
17923
17924 \begin_layout Plain Layout
17925 Si tienes curiosidad,
17926  se incluyeron ambos para que 
17927 \family typewriter
17928 tex2\SpecialChar LyX
17929
17930 \family default
17931  puediera traducir ambos,
17932
17933 \family typewriter
17934  
17935 \backslash
17936 address
17937 \family default
17938  y 
17939 \family typewriter
17940
17941 \backslash
17942 affiliation
17943 \family default
17944 .
17945 \end_layout
17946
17947 \end_inset
17948
17949
17950 \end_layout
17951
17952 \begin_layout Subsection
17953 Notas importantes
17954 \end_layout
17955
17956 \begin_layout Standard
17957 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17958  4 que podrían ocasionar fallos que serán incluso más confusos en \SpecialChar LyX
17959 .
17960 \end_layout
17961
17962 \begin_layout Standard
17963 En Rev\SpecialChar TeX
17964 ,
17965  el comando 
17966 \family typewriter
17967
17968 \backslash
17969 thanks
17970 \family default
17971  va 
17972 \emph on
17973 fuera
17974 \emph default
17975  del comando 
17976 \family typewriter
17977
17978 \backslash
17979 author.
17980
17981 \family default
17982  El equivalente en \SpecialChar LyX
17983  es que hay un entorno 
17984 \family sans
17985 Gracias 
17986 \family default
17987 separado.
17988  
17989 \emph on
17990 No
17991 \emph default
17992  escribas notas al pie en el entorno 
17993 \family sans
17994 Autor
17995 \family default
17996 ,
17997  o
17998 \family sans
17999  sucederán cosas raras
18000 \family default
18001 .
18002  Véase la documentación de Rev\SpecialChar TeX
18003  4 para más detalles.
18004 \end_layout
18005
18006 \begin_layout Standard
18007 Además,
18008  los entornos 
18009 \family sans
18010 Autor
18011 \begin_inset space ~
18012 \end_inset
18013
18014 CorreoE
18015 \family default
18016 ,
18017  
18018 \family sans
18019 Autor
18020 \begin_inset space ~
18021 \end_inset
18022
18023 URL
18024 \family default
18025 ,
18026  y 
18027 \family sans
18028 Gracias
18029 \family default
18030  deben situarse 
18031 \emph on
18032 entre
18033 \emph default
18034  el entorno 
18035 \family sans
18036 Autor
18037 \family default
18038  y el entorno correspondiente 
18039 \family sans
18040 Dirección
18041 \family default
18042  (o el equivalente 
18043 \family sans
18044 Afiliación
18045 \family default
18046 ).
18047  Si pones 
18048 \family sans
18049 Gracias
18050 \family default
18051  después de 
18052 \family sans
18053 Dirección
18054 \family default
18055 ,
18056  \SpecialChar LaTeX
18057  no compilará.
18058 \end_layout
18059
18060 \begin_layout Section
18061 Publicaciones de Springer (
18062 \family sans
18063 svjour
18064 \family default
18065 )
18066 \end_layout
18067
18068 \begin_layout Standard
18069 por 
18070 \noun on
18071 Martin Vermeer
18072 \end_layout
18073
18074 \begin_layout Subsection
18075 Descripción
18076 \end_layout
18077
18078 \begin_layout Standard
18079 Estos son los archivos de formato para algunas de las publicaciones editadas por 
18080 \emph on
18081 Springer Verlag
18082 \emph default
18083 ,
18084  las que se recogen en 
18085 \begin_inset Flex URL
18086 status collapsed
18087
18088 \begin_layout Plain Layout
18089
18090 http://www.springer.de/author/tex/help-journals.html
18091 \end_layout
18092
18093 \end_inset
18094
18095 ,
18096  donde debes acudir para conseguir los archivos de la clase (¡sí,
18097  ahora son \SpecialChar LaTeX2e
18098 !).
18099  Es un sistema modular:
18100  las características comunes a todas las publicaciones se implementan en 
18101 \family typewriter
18102 svjour.inc
18103 \family default
18104 ,
18105  y los archivos de formato específicos (tales como,
18106  p.
18107 \begin_inset space \thinspace{}
18108 \end_inset
18109
18110 ej.,
18111  
18112 \family typewriter
18113 svjog.layout
18114 \family default
18115  para 
18116 \emph on
18117 Journal of Geodesy
18118 \emph default
18119 ) pueden incluirlo.
18120 \end_layout
18121
18122 \begin_layout Standard
18123 Esto significa que implementar soporte para cualquier otra publicación de 
18124 \emph on
18125 Springer 
18126 \emph default
18127 incluida en esa lista es tan sencillo como escribir tu propio archivo 
18128 \family typewriter
18129 sv
18130 \family default
18131 <la_publicación>
18132 \family typewriter
18133 .layout
18134 \family default
18135  siguiendo las pautas dadas en 
18136 \family typewriter
18137 svjog.layout
18138 \family default
18139 .
18140  
18141 \end_layout
18142
18143 \begin_layout Standard
18144 Está razonablemente bien probado solo en el caso de 
18145 \emph on
18146 Journal of Geodesy
18147 \emph default
18148 .
18149  
18150 \family typewriter
18151 svjour
18152 \family default
18153  y 
18154 \family typewriter
18155 svjog
18156 \family default
18157  vienen con la distribución estándar de \SpecialChar LyX
18158 .
18159  Instala el archivo de clase correspondiente (descargado del sitio de 
18160 \emph on
18161 Springer
18162 \emph default
18163 ) en un directorio adecuado,
18164  reconfigura \SpecialChar LaTeX
18165  —
18166 en el caso de te\SpecialChar TeX
18167  ejecutando 
18168 \family typewriter
18169 texhash
18170 \family default
18171 ,
18172  como root si es necesario.
18173  (¿\SpecialChar LyX
18174  no se ocupa de esto?)—
18175 ;
18176  reconfigura \SpecialChar LyX
18177  y ya debería funcionar.
18178 \end_layout
18179
18180 \begin_layout Subsection
18181 Estilos nuevos
18182 \end_layout
18183
18184 \begin_layout Standard
18185 Un gran número de estilos tipo teorema –
18186 \family sans
18187 Afirmación,
18188  Conjetura,
18189
18190 \family default
18191  
18192 \family sans
18193 \SpecialChar ldots
18194 Teorem
18195 \family default
18196 a–.
18197 \end_layout
18198
18199 \begin_layout Standard
18200
18201 \family sans
18202 Nota_Encabezado,
18203  Dedicatoria,
18204  Subtítulo,
18205  Título_\SpecialChar LaTeX
18206 _Puesto,
18207  Autor_Puesto,
18208  Instituto,
18209  Correo,
18210  Separatas,
18211  Palabras_clave,
18212  Agradecimientos
18213 \family default
18214 .
18215  Véase la documentación de la clase Springer para más detalles.
18216 \end_layout
18217
18218 \begin_layout Subsection
18219 Publicaciones soportadas
18220 \end_layout
18221
18222 \begin_layout Itemize
18223
18224 \emph on
18225 Journal of Geodesy
18226 \emph default
18227 :
18228  
18229 \family typewriter
18230 svjog.layout
18231 \family default
18232  —
18233  Martin Vermeer
18234 \end_layout
18235
18236 \begin_layout Itemize
18237
18238 \emph on
18239 Probability Theory and Related Fields
18240 \emph default
18241 :
18242  
18243 \family typewriter
18244 svprobth.layout
18245 \family default
18246  —
18247  Jean-Marc Lasgouttes
18248 \end_layout
18249
18250 \begin_layout Standard
18251 ¡Añade el tuyo,
18252  no es tan duro!
18253 \end_layout
18254
18255 \begin_layout Subsection
18256 CréditosCarpeta sin título
18257 \end_layout
18258
18259 \begin_layout Standard
18260 Estos archivos están basados parcialmente en el antiguo 
18261 \family typewriter
18262 ejour2.layout
18263 \family default
18264 ,
18265  basado a su vez en una versión modificada de un antiguo archivo de estilo de \SpecialChar LaTeX
18266  2.09 de 
18267 \emph on
18268 Springer
18269 \emph default
18270 .
18271  Todo esto,
18272  y el archivo 
18273 \family typewriter
18274 ejour2
18275 \family default
18276  layout,
18277  están obsoletos.
18278  Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para el archivo de formato de \SpecialChar LyX
18279 .
18280 \end_layout
18281
18282 \begin_layout Subsection
18283 Fallos
18284 \end_layout
18285
18286 \begin_layout Standard
18287 Probablemente.
18288  Pero probablemente menos que en el antiguo 
18289 \family typewriter
18290 ejour2
18291 \family default
18292  de \SpecialChar LaTeX
18293  modificado.
18294 \end_layout
18295
18296 \begin_layout Section
18297 Slides (antes 
18298 \noun on
18299 Sli
18300 \noun default
18301 \SpecialChar TeX
18302 )
18303 \begin_inset CommandInset label
18304 LatexCommand label
18305 name "sec:slitex"
18306
18307 \end_inset
18308
18309
18310 \end_layout
18311
18312 \begin_layout Standard
18313 por 
18314 \noun on
18315 John Weiss
18316 \noun default
18317  
18318 \end_layout
18319
18320 \begin_layout Subsection
18321 Introducción
18322 \end_layout
18323
18324 \begin_layout Standard
18325 Esta sección describe cómo usar \SpecialChar LyX
18326  para hacer transparencias para proyectores.
18327  Hay dos clases de documento que pueden hacer esto:
18328  la clase predeterminada 
18329 \family sans
18330 slides
18331 \family default
18332  y la clase 
18333 \family sans
18334 Foil
18335 \family default
18336 \SpecialChar TeX
18337 .
18338  Esta sección se ocupa de la primera de ellas.
18339 \end_layout
18340
18341 \begin_layout Standard
18342 Lo voy a repetir alto y claro,
18343  para que no haya equívocos:
18344 \end_layout
18345
18346 \begin_layout Standard
18347 \begin_inset VSpace medskip
18348 \end_inset
18349
18350
18351 \end_layout
18352
18353 \begin_layout Standard
18354 \align center
18355
18356 \size large
18357 En esta sección se explica 
18358 \emph on
18359 solo
18360 \emph default
18361
18362 \begin_inset space ~
18363 \end_inset
18364
18365 la clase 
18366 \family sans
18367 slides (predeterminada)
18368 \family default
18369 \emph on
18370 .
18371 \end_layout
18372
18373 \begin_layout Standard
18374 \begin_inset VSpace medskip
18375 \end_inset
18376
18377
18378 \end_layout
18379
18380 \begin_layout Standard
18381 Si buscas la documentación para 
18382 \begin_inset Quotes cld
18383 \end_inset
18384
18385
18386 \family sans
18387 slides (Foil\SpecialChar TeX
18388 )
18389 \family default
18390
18391 \begin_inset Quotes crd
18392 \end_inset
18393
18394 ,
18395  mira en la sección
18396 \begin_inset space ~
18397 \end_inset
18398
18399
18400 \begin_inset CommandInset ref
18401 LatexCommand ref
18402 reference "sec:foiltex"
18403 nolink "false"
18404
18405 \end_inset
18406
18407 .
18408  La clase 
18409 \family sans
18410 foils
18411 \family default
18412  (
18413 \begin_inset Quotes cld
18414 \end_inset
18415
18416
18417 \family sans
18418 slides (Foil\SpecialChar TeX
18419 )
18420 \family default
18421
18422 \begin_inset Quotes crd
18423 \end_inset
18424
18425 ) es realmente un poco mejor que la clase predeterminada 
18426 \family sans
18427 slides
18428 \family default
18429 ,
18430 \begin_inset Foot
18431 status collapsed
18432
18433 \begin_layout Plain Layout
18434 \SpecialChar ldots
18435 o eso se dice repetidamente por sus defensores.
18436  Puesto que no la he usado nunca,
18437  no tengo ni idea si es cierto o no.
18438 \end_layout
18439
18440 \end_inset
18441
18442  que se explica en esta sección.
18443 \end_layout
18444
18445 \begin_layout Standard
18446 Esta clase es una mejora del antiguo paquete 
18447 \noun on
18448 Sli
18449 \noun default
18450 \SpecialChar TeX
18451  de \SpecialChar LaTeX2e
18452 .
18453  Toda distribución de \SpecialChar LaTeX2e
18454  la incluye (nos referiremos desde ahora a 
18455 \begin_inset Quotes cld
18456 \end_inset
18457
18458
18459 \family sans
18460 slides
18461 \family default
18462
18463 \begin_inset Quotes crd
18464 \end_inset
18465
18466 ),
18467  así que lo tendrás.
18468  Como anoté antes,
18469  hay otras clases,
18470  como 
18471 \family sans
18472 foils
18473 \family default
18474 ,
18475  que también produce transparencias y hace mejor su tarea.
18476  Sin embargo,
18477  hay ciertas cosas que 
18478 \family sans
18479 slides
18480 \family default
18481  puede hacer que los otros no pueden,
18482  como capas superpuestas.
18483  ¡Sigue leyendo para saber más!
18484 \end_layout
18485
18486 \begin_layout Subsection
18487 Para empezar
18488 \begin_inset CommandInset label
18489 LatexCommand label
18490 name "sec:slidesetup"
18491
18492 \end_inset
18493
18494
18495 \end_layout
18496
18497 \begin_layout Standard
18498 Obviamente,
18499  para usar esta clase debes escoger 
18500 \begin_inset Quotes cld
18501 \end_inset
18502
18503
18504 \family sans
18505 slides (default)
18506 \family default
18507
18508 \begin_inset Quotes crd
18509 \end_inset
18510
18511  en el diálogo 
18512 \family sans
18513 Documento\SpecialChar menuseparator
18514 Configuración
18515 \family default
18516 .
18517  Algunas cosas que debes saber sobre esta clase:
18518 \end_layout
18519
18520 \begin_layout Itemize
18521 No enredes con cambios en las opciones 
18522 \family sans
18523 Caras 
18524 \family default
18525 y
18526 \family sans
18527  Columnas
18528 \family default
18529 .
18530  No es soportado por 
18531 \family sans
18532 slides
18533 \family default
18534 .
18535 \end_layout
18536
18537 \begin_layout Itemize
18538 La opción 
18539 \family sans
18540 Diseño
18541 \begin_inset space ~
18542 \end_inset
18543
18544 de
18545 \begin_inset space ~
18546 \end_inset
18547
18548 página
18549 \family default
18550  se porta un poco distinto para esta clase.
18551  Las opciones disponibles y su efecto son:
18552 \end_layout
18553
18554 \begin_deeper
18555 \begin_layout Description
18556
18557 \family sans
18558 plain
18559 \family default
18560  La salida tiene números de página en la esquina inferior derecha.
18561 \end_layout
18562
18563 \begin_layout Description
18564
18565 \family sans
18566 headings
18567 \family default
18568  Como 
18569 \family sans
18570 plain
18571 \family default
18572 ,
18573  pero además imprime los marcadores de tiempo que hayas puesto.
18574  Esta es la opción por omisión.
18575 \end_layout
18576
18577 \begin_layout Description
18578
18579 \family sans
18580 empty
18581 \family default
18582  La salida no imprime ni números de pàgina ni marcadores,
18583  nada.
18584 \end_layout
18585
18586 \end_deeper
18587 \begin_layout Itemize
18588 La clase 
18589 \family sans
18590 slides
18591 \family default
18592  tiene una opción extra:
18593  
18594 \family typewriter
18595 clock
18596 \family default
18597 .
18598  Para usarla,
18599  pon 
18600 \begin_inset Quotes cld
18601 \end_inset
18602
18603
18604 \family typewriter
18605 clock
18606 \family default
18607
18608 \begin_inset Quotes crd
18609 \end_inset
18610
18611  en las opciones de la configuración de clase.
18612 \end_layout
18613
18614 \begin_deeper
18615 \begin_layout Standard
18616 Usar estas opciones te permite añadir marcadores de tiempo a las 
18617 \family sans
18618 Nota
18619 \family default
18620 s.
18621 \end_layout
18622
18623 \end_deeper
18624 \begin_layout Standard
18625 También puedes utilizar la plantilla 
18626 \begin_inset Quotes cld
18627 \end_inset
18628
18629
18630 \family typewriter
18631 slides.lyx
18632 \family default
18633
18634 \begin_inset Quotes crd
18635 \end_inset
18636
18637  para preparar un nuevo documento de esta clase,
18638  con 
18639 \family sans
18640 Archivo\SpecialChar menuseparator
18641 Nuevo
18642 \begin_inset space ~
18643 \end_inset
18644
18645 desde
18646 \begin_inset space ~
18647 \end_inset
18648
18649 plantilla
18650 \family default
18651 .
18652  La plantilla contiene algunos ejemplos de entornos de párrafo especiales de esta clase.
18653  Se describirán a continuación.
18654 \end_layout
18655
18656 \begin_layout Subsection
18657 Entornos de párrafo
18658 \end_layout
18659
18660 \begin_layout Subsubsection
18661 Entornos soportados
18662 \end_layout
18663
18664 \begin_layout Standard
18665 La primera cosa que observarás cuando inicies un documento 
18666 \family sans
18667 slides
18668 \family default
18669  es el tipo y tamaño de tipografía:
18670  
18671 \family sans
18672 Sans
18673 \begin_inset space ~
18674 \end_inset
18675
18676 Serif
18677 \family default
18678  de tamaño 
18679 \family sans
18680 Grandísima
18681 \family default
18682 .
18683  Es también la tipografía que se utiliza en la salida.
18684  Interpreta esto como un 
18685 \begin_inset Quotes cld
18686 \end_inset
18687
18688 apunte visual
18689 \begin_inset Quotes crd
18690 \end_inset
18691
18692  que te recuerda que es una transparencia.
18693  En realidad las transparencias finales pueden usar una tipografía más grande,
18694  por tanto dispondrás de menos espacio.
18695  Es decir,
18696  la tipografía grande en pantalla no es WYSIWYG,
18697  es solo un recordatorio.
18698 \end_layout
18699
18700 \begin_layout Standard
18701 La segunda cosa que llamará la atención es el cuadro desplegable de los entornos de párrafo ( a la izquierda de la barra de herramientas).
18702  La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
18703  Y hay cinco nuevos.
18704  Esto se debe a que la clase 
18705 \family sans
18706 slides
18707 \family default
18708  por sí misma solo soporta un cierto número de entornos de párrafo:
18709 \end_layout
18710
18711 \begin_layout Itemize
18712
18713 \family sans
18714 Normal
18715 \end_layout
18716
18717 \begin_layout Itemize
18718
18719 \family sans
18720 Enumeración*
18721 \end_layout
18722
18723 \begin_layout Itemize
18724
18725 \family sans
18726 Enumeración
18727 \end_layout
18728
18729 \begin_layout Itemize
18730
18731 \family sans
18732 Descripción
18733 \end_layout
18734
18735 \begin_layout Itemize
18736
18737 \family sans
18738 Lista
18739 \end_layout
18740
18741 \begin_layout Itemize
18742
18743 \family sans
18744 Cita
18745 \end_layout
18746
18747 \begin_layout Itemize
18748
18749 \family sans
18750 Citar
18751 \end_layout
18752
18753 \begin_layout Itemize
18754
18755 \family sans
18756 Verso
18757 \end_layout
18758
18759 \begin_layout Itemize
18760
18761 \family sans
18762 Encabezado
18763 \end_layout
18764
18765 \begin_layout Itemize
18766
18767 \family sans
18768 Código-\SpecialChar LyX
18769
18770 \end_layout
18771
18772 \begin_layout Standard
18773 Todos los demás entornos estándar,
18774  incluyendo los de cabeceras de sección,
18775  no funcionan en la clase 
18776 \family sans
18777 slides
18778 \family default
18779 .
18780 \end_layout
18781
18782 \begin_layout Standard
18783 Por otra parte,
18784  verás los siguientes nuevos entornos:
18785 \end_layout
18786
18787 \begin_layout Itemize
18788
18789 \family sans
18790 Transparencia
18791 \end_layout
18792
18793 \begin_layout Itemize
18794
18795 \family sans
18796 Superpuesto
18797 \end_layout
18798
18799 \begin_layout Itemize
18800
18801 \family sans
18802 Nota
18803 \end_layout
18804
18805 \begin_layout Itemize
18806
18807 \family sans
18808 TextoInvisible
18809 \end_layout
18810
18811 \begin_layout Itemize
18812
18813 \family sans
18814 TextoVisible
18815 \end_layout
18816
18817 \begin_layout Standard
18818 Estos cinco tienen ciertas peculiaridades debido a una 
18819 \begin_inset Quotes cld
18820 \end_inset
18821
18822 característica
18823 \begin_inset Quotes crd
18824 \end_inset
18825
18826  de \SpecialChar LyX
18827 .
18828  Verás,
18829  \SpecialChar LyX
18830  no permite anidar ningún entorno de párrafo en un entorno vacío.
18831  Bien,
18832  esto es fino y elegante,
18833  pero significa que no podrás comenzar una transparencia con nada que no sea texto simple.
18834  Para evitar esto,
18835  he hecho un poco de 
18836 \begin_inset Quotes cld
18837 \end_inset
18838
18839 magia \SpecialChar LaTeX
18840
18841 \begin_inset Quotes crd
18842 \end_inset
18843
18844 .
18845 \end_layout
18846
18847 \begin_layout Subsubsection
18848 Peculiaridades de los nuevos entornos
18849 \begin_inset CommandInset label
18850 LatexCommand label
18851 name "sec:slide-Peculiaridades"
18852
18853 \end_inset
18854
18855
18856 \end_layout
18857
18858 \begin_layout Standard
18859 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherentes a \SpecialChar LyX
18860 .
18861  Como he dicho,
18862  \SpecialChar LyX
18863  prohibe los entornos que comienzan con otro entorno.
18864  Para obviar esto,
18865  el entorno 
18866 \family sans
18867 Transparencia
18868 \family default
18869  no se comporta como los entornos de párrafo típicos descritos en la 
18870 \emph on
18871 Guía del usuario
18872 \emph default
18873 .
18874  
18875 \end_layout
18876
18877 \begin_layout Standard
18878 Los entornos 
18879 \family sans
18880 Transparencia,
18881
18882 \family default
18883  
18884 \family sans
18885 Superpuesto
18886 \family default
18887  y 
18888 \family sans
18889 Nota
18890 \family default
18891  deberían considerarse 
18892 \begin_inset Quotes cld
18893 \end_inset
18894
18895 pseudo-entornos
18896 \begin_inset Quotes crd
18897 \end_inset
18898
18899 .
18900  Tienen el aspecto de una cabecera de sección o de un 
18901 \begin_inset Quotes cld
18902 \end_inset
18903
18904
18905 \family sans
18906 Encabezado
18907 \family default
18908
18909 \begin_inset Quotes crd
18910 \end_inset
18911
18912 ,
18913  pero realmente comienzan (y si es necesario finalizan el anterior) un entorno de párrafo.
18914  De igual manera,
18915  considera 
18916 \family sans
18917 TextoInvisible
18918 \family default
18919  y 
18920 \family sans
18921 TextoVisible
18922 \family default
18923  como 
18924 \begin_inset Quotes cld
18925 \end_inset
18926
18927 pseudo-comandos
18928 \begin_inset Quotes crd
18929 \end_inset
18930
18931 .
18932  Estos dos realizan acciones.
18933 \end_layout
18934
18935 \begin_layout Standard
18936 Una característica común a los cinco entornos,
18937  
18938 \family sans
18939 Transparencia
18940 \family default
18941 ,
18942  
18943 \family sans
18944 Superpuesto
18945 \family default
18946 ,
18947  
18948 \family sans
18949 Nota
18950 \family default
18951 ,
18952  
18953 \family sans
18954 TextoInvisible
18955 \family default
18956  y 
18957 \family sans
18958 TextoVisible
18959 \family default
18960 ,
18961  es una etiqueta más bien larga.
18962  El texto que sigue a la etiqueta —
18963 generalmente los contenidos del entorno de párrafo—
18964  no es tenido en cuenta.
18965  \SpecialChar LyX
18966  lo ignora completamente.
18967  De hecho,
18968  puedes dejar estos cinco entornos totalmente vacíos.
18969  
18970 \end_layout
18971
18972 \begin_layout Standard
18973 Aunque no
18974 \emph on
18975  tengas 
18976 \emph default
18977 que poner texto tras la etiqueta,
18978  puedes hacerlo.
18979  Podría ser,
18980  por ejemplo,
18981  una breve descripción del contenido de la 
18982 \family sans
18983 Transparencia
18984 \family default
18985 .
18986  En ese caso,
18987  introduce tu texto y pulsa 
18988 \family sans
18989 Intro
18990 \family default
18991  como harías normalmente.
18992 \end_layout
18993
18994 \begin_layout Standard
18995 Si,
18996  por otra parte,
18997  no deseas introducir ningún texto descriptivo,
18998  puedes utilizar otra peculiaridad de \SpecialChar LyX
18999 .
19000  \SpecialChar LyX
19001 ,
19002  como la naturaleza,
19003  siente horror al vacío,
19004  y no te permitirá iniciar un nuevo entorno de párrafo hasta que pongas algo en el anterior.
19005  En ese caso puedes hacer esto:
19006 \end_layout
19007
19008 \begin_layout Itemize
19009 Comienza introduciendo el texto que 
19010 \emph on
19011 seguirá 
19012 \emph default
19013 al nuevo párrafo 
19014 \family sans
19015 Transparencia
19016 \family default
19017 ,
19018  
19019 \family sans
19020 Superpuesto
19021 \family default
19022 ,
19023  
19024 \family sans
19025 Nota
19026 \family default
19027 ,
19028  
19029 \family sans
19030 TextoInvisible
19031 \family default
19032  o 
19033 \family sans
19034 TextoVisible
19035 \family default
19036 .
19037  
19038 \end_layout
19039
19040 \begin_layout Itemize
19041 Sitúate ahora en el principio de ese párrafo.
19042  
19043 \end_layout
19044
19045 \begin_layout Itemize
19046 Pulsa 
19047 \family sans
19048 Retorno
19049 \family default
19050 .
19051  
19052 \end_layout
19053
19054 \begin_layout Itemize
19055 Por último,
19056  cambia este nuevo párrafo vacío a 
19057 \family sans
19058 Transparencia
19059 \family default
19060 ,
19061  
19062 \family sans
19063 Superpuesto
19064 \family default
19065 ,
19066  
19067 \family sans
19068 Nota
19069 \family default
19070 ,
19071  
19072 \family sans
19073 TextoInvisible
19074 \family default
19075  o 
19076 \family sans
19077 TextoVisible
19078 \family default
19079 .
19080 \end_layout
19081
19082 \begin_layout Standard
19083 Confiemos en que alguna futura versión de \SpecialChar LyX
19084  resuelva esta peculiaridad\SpecialChar ldots
19085
19086 \end_layout
19087
19088 \begin_layout Subsection
19089 Hacer una presentación con 
19090 \family sans
19091 Diapositiva
19092 \family default
19093 ,
19094  
19095 \family sans
19096 Superpuesto
19097 \family default
19098  y 
19099 \family sans
19100 Nota
19101 \end_layout
19102
19103 \begin_layout Subsubsection
19104 Utilizar el entorno 
19105 \family sans
19106 Diapositiva
19107 \end_layout
19108
19109 \begin_layout Standard
19110 Si esperas que esta sección te enseñe a realizar una presentación,
19111  te vas a decepcionar.
19112  Naturalmente,
19113  describiré todas las formas en que la clase 
19114 \family sans
19115 slides
19116 \family default
19117  te ayudará a preparar una presentación.
19118  Completar el contenido es tarea tuya.
19119  (Esta es,
19120  también,
19121  la filosofía de \SpecialChar LyX
19122 ).
19123  
19124 \end_layout
19125
19126 \begin_layout Standard
19127 Al escoger el entorno 
19128 \family sans
19129 Diapositiva
19130 \family default
19131  (como se indica en la sección
19132 \begin_inset space ~
19133 \end_inset
19134
19135
19136 \begin_inset CommandInset ref
19137 LatexCommand ref
19138 reference "sec:slide-Peculiaridades"
19139 nolink "false"
19140
19141 \end_inset
19142
19143 ) \SpecialChar LyX
19144  comienza una nueva.
19145  El marcador para este entorno/
19146 \begin_inset Quotes cld
19147 \end_inset
19148
19149 pseudo-comando
19150 \begin_inset Quotes crd
19151 \end_inset
19152
19153  es una 
19154 \begin_inset Quotes cld
19155 \end_inset
19156
19157 línea ASCII
19158 \begin_inset Quotes crd
19159 \end_inset
19160
19161  en azul con la etiqueta 
19162 \begin_inset Quotes cld
19163 \end_inset
19164
19165 Nueva Diap.:
19166 \begin_inset Quotes crd
19167 \end_inset
19168
19169 .
19170 \end_layout
19171
19172 \begin_layout Standard
19173 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
19174  Es simple.
19175 \end_layout
19176
19177 \begin_layout Standard
19178 Probablemente,
19179  en las diapositivas necesitarás forzar saltos de página en \SpecialChar LyX
19180  (puede especificarse en el diálogo 
19181 \family sans
19182 Insertar\SpecialChar menuseparator
19183 Formato
19184 \family default
19185 ).
19186  De hecho,
19187  tendrás que hacerlo una vez acabes el contenido de una transparencia.
19188  Si has introducido más texto del que cabe en una transparencia,
19189  el sobrante irá a una nueva.
19190  Sin embargo no lo recomiendo,
19191  puesto que la diapositiva con el texto excedente no tendrá número de página.
19192  Además,
19193  puede interferir con algún 
19194 \family sans
19195 Superpuesto
19196 \family default
19197  que hayas incluido en la transparencia sobredimensionada.
19198 \end_layout
19199
19200 \begin_layout Standard
19201 Los entornos 
19202 \family sans
19203 Superpuesto
19204 \family default
19205  y 
19206 \family sans
19207 Nota
19208 \family default
19209  funcionan como el entorno 
19210 \family sans
19211 Diapositiva
19212 \family default
19213 .
19214  Ambos crean una 
19215 \begin_inset Quotes cld
19216 \end_inset
19217
19218 línea ASCII
19219 \begin_inset Quotes crd
19220 \end_inset
19221
19222  con los marcadores 
19223 \begin_inset Quotes cld
19224 \end_inset
19225
19226 Nuevo Superpuesto:
19227 \begin_inset Quotes crd
19228 \end_inset
19229
19230  y 
19231 \begin_inset Quotes cld
19232 \end_inset
19233
19234 Nueva Nota:
19235 \begin_inset Quotes crd
19236 \end_inset
19237
19238 ,
19239  respectivamente.
19240  
19241 \family sans
19242 El
19243 \family default
19244  color es magenta en vez de azul,
19245  y la 
19246 \begin_inset Quotes cld
19247 \end_inset
19248
19249 línea ASCII
19250 \begin_inset Quotes crd
19251 \end_inset
19252
19253  tiene un aspecto diferente en estilo y longitud.
19254  La tipografía de las etiquetas de las tres también es diferente en cada una de ellas.
19255 \end_layout
19256
19257 \begin_layout Standard
19258 Igual que para 
19259 \family sans
19260 Diapositiva
19261 \family default
19262 ,
19263  si los contenidos de una 
19264 \family sans
19265 Nota
19266 \family default
19267  o 
19268 \family sans
19269 Superpuesto
19270 \family default
19271  exceden el espacio físico de la diapositiva o del papel,
19272  el texto sobrante ocupa una nueva hoja.
19273  De nuevo lo desaconsejamos porque las 
19274 \family sans
19275 Nota
19276 \family default
19277 s y 
19278 \family sans
19279 Superpuesto
19280 \family default
19281 s carecerían de utilidad.
19282 \end_layout
19283
19284 \begin_layout Subsubsection
19285 Usar 
19286 \family sans
19287 Superpuesto
19288 \family default
19289  con 
19290 \family sans
19291 Diapositiva
19292 \end_layout
19293
19294 \begin_layout Standard
19295 La idea de un 
19296 \family sans
19297 Superpuesto 
19298 \family default
19299 es una transparencia que se superpone a otra.
19300  Supón que quieres presentar una figura en una diapositiva antes que el texto que la acompaña.
19301  Una forma de conseguirlo es ocultar con papel negro la parte que quieres que se muestre más tarde.
19302  Sin embargo,
19303  este método no sirve si quieres superponer un gráfico a otro,
19304  por ejemplo.
19305  Entonces tendrías que trastear con las transparencias,
19306  mientras sigues hablando,
19307  para superponerlas de manera que los gráficos queden correctamente alineados.
19308  Con el entorno 
19309 \family sans
19310 Superpuesto
19311 \family default
19312 ,
19313  ambas cosas son mucho más sencillas.
19314 \end_layout
19315
19316 \begin_layout Standard
19317 Cada 
19318 \family sans
19319 Superpuesto 
19320 \family default
19321 tiene el mismo número de página que la 
19322 \family sans
19323 Diapositiva
19324 \family default
19325  
19326 \begin_inset Quotes cld
19327 \end_inset
19328
19329 madre
19330 \begin_inset Quotes crd
19331 \end_inset
19332
19333 ,
19334  seguido de 
19335 \begin_inset Quotes cld
19336 \end_inset
19337
19338 -a
19339 \begin_inset Quotes crd
19340 \end_inset
19341
19342 .
19343 \begin_inset Foot
19344 status collapsed
19345
19346 \begin_layout Plain Layout
19347 Presumiblemente,
19348  múltiples 
19349 \family sans
19350 Superpuesto
19351 \family default
19352 s deberían tener 
19353 \begin_inset Quotes cld
19354 \end_inset
19355
19356
19357 \family typewriter
19358 -a
19359 \family default
19360
19361 \begin_inset Quotes crd
19362 \end_inset
19363
19364 ,
19365  
19366 \begin_inset Quotes cld
19367 \end_inset
19368
19369
19370 \family typewriter
19371 -b
19372 \family default
19373
19374 \begin_inset Quotes crd
19375 \end_inset
19376
19377 ,
19378  
19379 \begin_inset Quotes cld
19380 \end_inset
19381
19382
19383 \family typewriter
19384 -c
19385 \family default
19386
19387 \begin_inset Quotes crd
19388 \end_inset
19389
19390 ,
19391  etc.
19392 \begin_inset space ~
19393 \end_inset
19394
19395 tras el número de página de la 
19396 \family sans
19397 Diapositiva
19398 \family default
19399  
19400 \begin_inset Quotes cld
19401 \end_inset
19402
19403 madre
19404 \begin_inset Quotes crd
19405 \end_inset
19406
19407 .
19408  
19409 \end_layout
19410
19411 \end_inset
19412
19413  ¡Efectivamente,
19414  quieres que la Diapositiva
19415 \family sans
19416  
19417 \family default
19418 y el 
19419 \family sans
19420 Superpuesto
19421 \family default
19422  cuenten como si fueran una sola página!
19423  Probablemente deberías considerar un 
19424 \family sans
19425 Superpuesto
19426 \family default
19427  
19428 \begin_inset Quotes cld
19429 \end_inset
19430
19431 parte de
19432 \begin_inset Quotes crd
19433 \end_inset
19434
19435  una 
19436 \family sans
19437 Diapositiva
19438 \family default
19439 .
19440  De hecho,
19441  la clase 
19442 \family sans
19443 slides
19444 \family default
19445  lo hace visible
19446 \family sans
19447  
19448 \family default
19449 en \SpecialChar LyX
19450 :
19451  la etiqueta al principio de un 
19452 \family sans
19453 Superpuesto
19454 \family default
19455  es más corta que la de comienzo de una 
19456 \family sans
19457 Diapositiva
19458 \family default
19459 .
19460  Por último,
19461  al generar salida impresa,
19462  verás marcas de alineación en las cuatro esquinas de las páginas de la 
19463 \family sans
19464 Diapositiva
19465 \family default
19466  y del 
19467 \family sans
19468 Superpuesto.
19469  
19470 \family default
19471 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
19472 \end_layout
19473
19474 \begin_layout Standard
19475 El mayor problema para superponer dos transparencias es alinear sus contenidos.
19476  ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
19477  Peor aún,
19478  ¿qué pasa si quieres un gráfico y una frase en la segunda transparencia,
19479  pero en la primera hay texto que debe aparecer entre ellos?
19480  Podrías probar a insertar un espacio vertical adecuado,
19481  pero el mejor método es utilizar 
19482 \family sans
19483 TextoInvisible
19484 \family default
19485  y 
19486 \family sans
19487 TextoVisible
19488 \family default
19489 .
19490 \end_layout
19491
19492 \begin_layout Standard
19493 Como su nombre indica,
19494  
19495 \family sans
19496 TextoInvisible
19497 \family default
19498  y 
19499 \family sans
19500 TextoVisible
19501 \family default
19502  son entornos de párrafo que hacen invisible o visible,
19503  respectivamente,
19504  todo el texto siguiente.
19505  Sin embargo,
19506  ten en cuenta que no colocas nada 
19507 \emph on
19508 dentro 
19509 \emph default
19510 de estos entornos,
19511  recuerda la sección
19512 \begin_inset space ~
19513 \end_inset
19514
19515
19516 \begin_inset CommandInset ref
19517 LatexCommand ref
19518 reference "sec:slide-Peculiaridades"
19519 nolink "false"
19520
19521 \end_inset
19522
19523 .
19524  Cuando creas un 
19525 \family sans
19526 TextoInvisible
19527 \family default
19528 ,
19529  se inserta una etiqueta en azul-cielo,
19530  centrada en la página con la leyenda <Invisible Text Follows>.
19531  Los párrafos que siguen a esta etiqueta en la 
19532 \family sans
19533 Diapositiva
19534 \family default
19535  o el 
19536 \family sans
19537 Superpuesto
19538 \family default
19539  (da lo mismo) se sustituyen por el espacio en blanco equivalente.
19540 \end_layout
19541
19542 \begin_layout Standard
19543 Para 
19544 \family sans
19545 TextoVisible
19546 \family default
19547 ,
19548  la etiqueta tiene la leyenda <Visible Text Follows>
19549 \begin_inset space ~
19550 \end_inset
19551
19552  en color verde.
19553  Los párrafos que la siguen se comportan normalmente.
19554  Ten en cuenta que el inicio de 
19555 \family sans
19556 Diapositiva
19557 \family default
19558 ,
19559  
19560 \family sans
19561 Superpuesto
19562 \family default
19563 ,
19564  o 
19565 \family sans
19566 Nota
19567 \family default
19568  desactiva automáticamente la función 
19569 \family sans
19570 TextoInvisible
19571 \family default
19572 .
19573  No es necesario utilizar 
19574 \family sans
19575 TextoVisible
19576 \family default
19577  al final de una 
19578 \family sans
19579 Diapositiva
19580 \family default
19581 .
19582 \end_layout
19583
19584 \begin_layout Standard
19585 Ya deberíamos estar listos para crear transparencias superpuestas con la adecuada combinación de 
19586 \family sans
19587 TextoInvisible
19588 \family default
19589  y 
19590 \family sans
19591 TextoVisible
19592 \family default
19593  en los entornos 
19594 \family sans
19595 Diapositiva
19596 \family default
19597  y 
19598 \family sans
19599 Superpuesto
19600 \family default
19601 :
19602 \end_layout
19603
19604 \begin_layout Enumerate
19605 Crea una 
19606 \family sans
19607 Diapositiva
19608 \family default
19609 ,
19610  incluyendo todo lo que debe aparecer en ella y en los 
19611 \family sans
19612 Superpuesto
19613 \family default
19614 s.
19615 \end_layout
19616
19617 \begin_layout Enumerate
19618 Antes de cada figura o párrafo que vaya a salir solo en un 
19619 \family sans
19620 Superpuesto
19621 \family default
19622 ,
19623  inserta un entorno 
19624 \family sans
19625 TextoInvisible
19626 \family default
19627 .
19628  Si es necesario,
19629  inserta un entorno 
19630 \family sans
19631 TextoVisible
19632 \family default
19633  tras el texto que pertenece solo al 
19634 \family sans
19635 Superpuesto
19636 \family default
19637 .
19638 \end_layout
19639
19640 \begin_layout Enumerate
19641 Empieza un 
19642 \family sans
19643 Superpuesto 
19644 \family default
19645 inmediatamente detrás de la 
19646 \family sans
19647 Diapositiva
19648 \family default
19649 .
19650 \end_layout
19651
19652 \begin_layout Enumerate
19653 Copia los contenidos de esta 
19654 \family sans
19655 Diapositiva
19656 \family default
19657  en el 
19658 \family sans
19659 Superpuesto
19660 \family default
19661 .
19662 \end_layout
19663
19664 \begin_layout Enumerate
19665 Dentro del 
19666 \family sans
19667 Superpuesto
19668 \family default
19669 ,
19670  cambia todas las líneas del 
19671 \family sans
19672 TextoInvisible
19673 \family default
19674  a 
19675 \family sans
19676 TextoVisible
19677 \family default
19678  y viceversa.
19679 \end_layout
19680
19681 \begin_layout Standard
19682 Eso es todo.
19683  Acabas de hacer una transparencia superpuesta.
19684 \end_layout
19685
19686 \begin_layout Standard
19687 Hay un problema con el procedimiento que he diseñado para la clase 
19688 \family sans
19689 slides
19690 \family default
19691  en \SpecialChar LyX
19692 :
19693  no puedes hacer invisible un texto en mitad de un párrafo,
19694  ni hacer visible un texto dentro de un párrafo invisible.
19695  Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
19696 .
19697 \begin_inset Foot
19698 status collapsed
19699
19700 \begin_layout Plain Layout
19701 Los comandos de interés son:
19702  
19703 \end_layout
19704
19705 \begin_layout Itemize
19706
19707 \family typewriter
19708 {
19709 \backslash
19710 invisible \SpecialChar ldots
19711  }
19712 \end_layout
19713
19714 \begin_layout Itemize
19715
19716 \family typewriter
19717 {
19718 \backslash
19719 visible \SpecialChar ldots
19720  }
19721 \end_layout
19722
19723 \begin_layout Plain Layout
19724 \SpecialChar ldots
19725 que deben marcarse como \SpecialChar TeX
19726 .
19727  El texto \SpecialChar ldots
19728
19729 \family typewriter
19730  
19731 \family default
19732 cuya 
19733 \begin_inset Quotes cld
19734 \end_inset
19735
19736 visibilidad
19737 \begin_inset Quotes crd
19738 \end_inset
19739
19740  quieres cambiar debe ir a continuación del comando 
19741 \family typewriter
19742
19743 \backslash
19744 invisible
19745 \family default
19746  o 
19747 \family typewriter
19748
19749 \backslash
19750 visible
19751 \family default
19752 ,
19753  y todo ello entre llaves { }.
19754  Si no sabes cómo se marca un texto como \SpecialChar TeX
19755 ,
19756  consulta la sección adecuada de la 
19757 \emph on
19758 Cuía del usuario
19759 \emph default
19760 .
19761 \end_layout
19762
19763 \end_inset
19764
19765
19766 \end_layout
19767
19768 \begin_layout Subsubsection
19769 Usar 
19770 \family sans
19771 Nota
19772 \family default
19773  con 
19774 \family sans
19775 Diapositiva
19776 \end_layout
19777
19778 \begin_layout Standard
19779 Como un 
19780 \family sans
19781 Superpuesto
19782 \family default
19783 ,
19784  una 
19785 \family sans
19786 Nota
19787 \family default
19788  está asociada a una 
19789 \family sans
19790 Diapositiva
19791 \series bold
19792  
19793 \family default
19794 \series default
19795
19796 \begin_inset Quotes cld
19797 \end_inset
19798
19799 madre
19800 \begin_inset Quotes crd
19801 \end_inset
19802
19803 .
19804  También \SpecialChar LyX
19805  lo indica
19806 \family sans
19807  
19808 \family default
19809 visualmente:
19810  La etiqueta para una 
19811 \family sans
19812 Nota
19813 \family default
19814  es más corta que la de una 
19815 \family sans
19816 Diapositiva
19817 \family default
19818  pero más larga que la de 
19819 \family sans
19820 Superpuesto
19821 \family default
19822  y,
19823  como este,
19824  en color magenta.
19825  Además,
19826  la 
19827 \family sans
19828 Nota
19829 \family default
19830  tiene en la salida el número de página de la 
19831 \family sans
19832 Diapositiva
19833 \family default
19834  
19835 \begin_inset Quotes cld
19836 \end_inset
19837
19838 madre
19839 \begin_inset Quotes crd
19840 \end_inset
19841
19842  seguido de 
19843 \begin_inset Quotes cld
19844 \end_inset
19845
19846
19847 \family typewriter
19848 -
19849 \family default
19850 1
19851 \begin_inset Quotes crd
19852 \end_inset
19853
19854 ,
19855  
19856 \begin_inset Quotes cld
19857 \end_inset
19858
19859
19860 \family typewriter
19861 -
19862 \family default
19863 2
19864 \begin_inset Quotes crd
19865 \end_inset
19866
19867 ,
19868  
19869 \begin_inset Quotes cld
19870 \end_inset
19871
19872
19873 \family typewriter
19874 -
19875 \family default
19876 3
19877 \begin_inset Quotes crd
19878 \end_inset
19879
19880 ,
19881  etc.
19882  Puedes poner varias 
19883 \family sans
19884 Nota
19885 \family default
19886 s asociadas a una 
19887 \family sans
19888 Diapositiva
19889 \family default
19890 ,
19891  y,
19892  como con 
19893 \family sans
19894 Diapositiva
19895 \family default
19896  y 
19897 \family sans
19898 Superpuesto
19899 \family default
19900 ,
19901  seguramente te interesará cortar las 
19902 \family sans
19903 Notas
19904 \family default
19905  largas para que quepan en una hoja.
19906 \end_layout
19907
19908 \begin_layout Standard
19909 El propósito de una 
19910 \family sans
19911 Nota
19912 \family default
19913  es evidente:
19914  hacer comentarios adicionales al contenido principal.
19915  También podría utilizarse como recordatorio en una 
19916 \family sans
19917 Diapositiva
19918 \family default
19919  determinada.
19920  En este caso,
19921  podrías hacer uso de marcadores de tiempo.
19922  Actualmente,
19923  la clase 
19924 \family sans
19925 slides
19926 \family default
19927  no tiene en \SpecialChar LyX
19928  soporte 
19929 \begin_inset Quotes cld
19930 \end_inset
19931
19932 nativo
19933 \begin_inset Quotes crd
19934 \end_inset
19935
19936  para marcadores de tiempo,
19937  una función de 
19938 \noun on
19939 Sli
19940 \noun default
19941 \SpecialChar TeX
19942 .
19943  Por tanto tendrías que usar código \SpecialChar LaTeX
19944 .
19945 \end_layout
19946
19947 \begin_layout Standard
19948 Para usar marcadores de tiempo debes especificar la opción extra de clase 
19949 \begin_inset Quotes cld
19950 \end_inset
19951
19952
19953 \family typewriter
19954 clock
19955 \family default
19956
19957 \begin_inset Quotes crd
19958 \end_inset
19959
19960  (véase sección
19961 \begin_inset space ~
19962 \end_inset
19963
19964
19965 \begin_inset CommandInset ref
19966 LatexCommand ref
19967 reference "sec:slidesetup"
19968 nolink "false"
19969
19970 \end_inset
19971
19972 ).
19973  Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior izquierda de cada 
19974 \family sans
19975 Nota
19976 \family default
19977  que introduzcas.
19978  Para establecer lo que aparecerá en el marcador de tiempo,
19979  usa los comandos \SpecialChar LaTeX
19980  
19981 \begin_inset Quotes cld
19982 \end_inset
19983
19984
19985 \family typewriter
19986
19987 \backslash
19988 settime{}
19989 \family default
19990
19991 \begin_inset Quotes crd
19992 \end_inset
19993
19994  y 
19995 \begin_inset Quotes cld
19996 \end_inset
19997
19998
19999 \family typewriter
20000
20001 \backslash
20002 addtime{}
20003 \family default
20004
20005 \begin_inset Quotes crd
20006 \end_inset
20007
20008 .
20009  El argumento de ambos comandos es un tiempo expresado en segundos.
20010  
20011 \begin_inset Quotes cld
20012 \end_inset
20013
20014
20015 \family typewriter
20016
20017 \backslash
20018 settime{}
20019 \family default
20020
20021 \begin_inset Quotes crd
20022 \end_inset
20023
20024  fija el marcador en un instante dado.
20025  
20026 \begin_inset Quotes cld
20027 \end_inset
20028
20029
20030 \family typewriter
20031
20032 \backslash
20033 addtime{}
20034 \family default
20035
20036 \begin_inset Quotes crd
20037 \end_inset
20038
20039  incrementa el marcador en la cantidad de tiempo especificada.
20040  Usar los marcadores de tiempo y las 
20041 \family sans
20042 Notas
20043 \family default
20044  de esta manera te recordará cuanto tiempo emplear en una 
20045 \family sans
20046 Diapositiva
20047 \family default
20048  determinada.
20049 \end_layout
20050
20051 \begin_layout Standard
20052 Queda por describir una característica.
20053  Seguramente te gustaría imprimir todas tus 
20054 \family sans
20055 Diapositivas 
20056 \family default
20057
20058 \family sans
20059 Superpuestos 
20060 \family default
20061 en transparentes y las 
20062 \family sans
20063 Nota
20064 \family default
20065 s en papel.
20066  Sin embargo,
20067  las 
20068 \family sans
20069 Notas
20070 \family default
20071  
20072 \emph on
20073 deben
20074 \emph default
20075  seguir a la 
20076 \family sans
20077 Diapositiva
20078 \family default
20079  a la que están asociadas.
20080  ¿Qué hacer entonces?
20081 \end_layout
20082
20083 \begin_layout Standard
20084 Afortunadamente hay dos comandos \SpecialChar LaTeX
20085  que permiten seleccionar lo que se ha de imprimir.
20086  Se deben poner en el preámbulo del documento.
20087  El comando 
20088 \begin_inset Quotes cld
20089 \end_inset
20090
20091
20092 \family typewriter
20093
20094 \backslash
20095 onlyslides{
20096 \backslash
20097 slides}
20098 \family default
20099
20100 \begin_inset Quotes crd
20101 \end_inset
20102
20103  hará que la salida solo contenga las 
20104 \family sans
20105 Diapositivas 
20106 \family default
20107
20108 \family sans
20109 Superpuestos
20110 \family default
20111 .
20112  De igual manera,
20113  el comando 
20114 \begin_inset Quotes cld
20115 \end_inset
20116
20117
20118 \family typewriter
20119
20120 \backslash
20121 onlynotes{
20122 \backslash
20123 notes}
20124 \family default
20125
20126 \begin_inset Quotes crd
20127 \end_inset
20128
20129  imprimirá solo las 
20130 \family sans
20131 Nota
20132 \family default
20133 s.
20134  Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante un comentario a principio de línea para que puedas ver preliminares de toda la presentación.
20135  A la hora de imprimir,
20136  puedes descomentar uno de ellos para imprimir esa parte.
20137  Tengo la costumbre de descomentar 
20138 \begin_inset Quotes cld
20139 \end_inset
20140
20141
20142 \family typewriter
20143
20144 \backslash
20145 onlyslides{
20146 \backslash
20147 slides}
20148 \family default
20149
20150 \begin_inset Quotes crd
20151 \end_inset
20152
20153 ,
20154  exportar a un archivo con 
20155 \begin_inset Quotes cld
20156 \end_inset
20157
20158
20159 \family typewriter
20160 -slides
20161 \family default
20162
20163 \begin_inset Quotes crd
20164 \end_inset
20165
20166  en el nombre,
20167  comentarlo de nuevo,
20168  ahora descomentar 
20169 \begin_inset Quotes cld
20170 \end_inset
20171
20172
20173 \family typewriter
20174
20175 \backslash
20176 onlynotes{
20177 \backslash
20178 notes}
20179 \family default
20180
20181 \begin_inset Quotes crd
20182 \end_inset
20183
20184  y exportar a otro archivo con 
20185 \begin_inset Quotes cld
20186 \end_inset
20187
20188
20189 \family typewriter
20190 -notes
20191 \family default
20192
20193 \begin_inset Quotes crd
20194 \end_inset
20195
20196  en el nombre.
20197  Entonces puedo mandar ambos archivos a la impresora poniendo transparentes o papel según convenga.
20198 \end_layout
20199
20200 \begin_layout Standard
20201 También puedes poner otros argumentos a los comandos 
20202 \begin_inset Quotes cld
20203 \end_inset
20204
20205
20206 \family typewriter
20207
20208 \backslash
20209 onlyslides{}
20210 \family default
20211
20212 \begin_inset Quotes crd
20213 \end_inset
20214
20215  y 
20216 \begin_inset Quotes cld
20217 \end_inset
20218
20219
20220 \family typewriter
20221
20222 \backslash
20223 onlynotes{}
20224 \family default
20225
20226 \begin_inset Quotes crd
20227 \end_inset
20228
20229 .
20230  Consulta un buen libro sobre \SpecialChar LaTeX
20231  para más detalles.
20232 \end_layout
20233
20234 \begin_layout Subsection
20235 La plantilla para la clase 
20236 \family sans
20237 slides
20238 \end_layout
20239
20240 \begin_layout Standard
20241 He preparado también un archivo modelo,
20242  
20243 \begin_inset Quotes cld
20244 \end_inset
20245
20246
20247 \family typewriter
20248 slides.lyx
20249 \family default
20250
20251 \begin_inset Quotes crd
20252 \end_inset
20253
20254 ,
20255  para la clase 
20256 \family sans
20257 slides
20258 \family default
20259 .
20260  Para empezar tu presentación con él abrelo con 
20261 \family sans
20262 Archivo\SpecialChar menuseparator
20263 Nuevo
20264 \begin_inset space ~
20265 \end_inset
20266
20267 desde
20268 \begin_inset space ~
20269 \end_inset
20270
20271 plantilla
20272 \family default
20273 .
20274  Contiene un ejemplo de presentación con el trío 
20275 \family sans
20276 Diapositiva
20277 \family default
20278  – 
20279 \family sans
20280 Superpuesto
20281 \family default
20282  – 
20283 \family sans
20284 Nota
20285 \family default
20286 .
20287  La 
20288 \family sans
20289 Diapositiva
20290 \family default
20291  y el 
20292 \family sans
20293 Superpuesto
20294 \family default
20295  tienen además un ejemplo del uso de TextoI
20296 \family sans
20297 nvisible
20298 \family default
20299  y 
20300 \family sans
20301 TextoVisible
20302 \family default
20303 .
20304  Por último,
20305  el preámbulo contiene:
20306 \end_layout
20307
20308 \begin_layout LyX-Code
20309 % Uncomment to print out only slides and overlays
20310 \begin_inset Foot
20311 status collapsed
20312
20313 \begin_layout Plain Layout
20314 Descomenta (borra 
20315 \begin_inset Quotes cld
20316 \end_inset
20317
20318 %
20319 \begin_inset Quotes crd
20320 \end_inset
20321
20322 ) para imprimir solo diapositivas y superpuestos.
20323  
20324 \emph on
20325 (N.
20326  del T
20327 \emph default
20328 .)
20329 \end_layout
20330
20331 \end_inset
20332
20333
20334 \end_layout
20335
20336 \begin_layout LyX-Code
20337 %
20338 \end_layout
20339
20340 \begin_layout LyX-Code
20341 %
20342 \backslash
20343 onlyslides{
20344 \backslash
20345 slides}
20346 \begin_inset Newline newline
20347 \end_inset
20348
20349  
20350 \end_layout
20351
20352 \begin_layout LyX-Code
20353 % Uncomment to print out only notes
20354 \begin_inset Foot
20355 status collapsed
20356
20357 \begin_layout Plain Layout
20358 Descomenta (borra 
20359 \begin_inset Quotes cld
20360 \end_inset
20361
20362 %
20363 \begin_inset Quotes crd
20364 \end_inset
20365
20366 ) para imprimir solo las notas.
20367
20368 \emph on
20369  (N.
20370  del T
20371 \emph default
20372 .)
20373 \end_layout
20374
20375 \end_inset
20376
20377
20378 \end_layout
20379
20380 \begin_layout LyX-Code
20381 %
20382 \end_layout
20383
20384 \begin_layout LyX-Code
20385 %
20386 \backslash
20387 onlynotes{
20388 \backslash
20389 notes}
20390 \end_layout
20391
20392 \begin_layout Standard
20393 Un apunte final:
20394  He creado esta clase para dar soporte a la clase integrante de \SpecialChar LaTeX2e
20395  
20396 \begin_inset Quotes cld
20397 \end_inset
20398
20399 emulación de 
20400 \noun on
20401 Sli
20402 \noun default
20403 \SpecialChar TeX
20404
20405 \begin_inset Quotes crd
20406 \end_inset
20407
20408 .
20409  Ni yo ni el resto del equipo \SpecialChar LyX
20410  aprobamos o desaprobamos el empleo de esta clase.
20411  A tí te corresponde decidir si la necesitas.
20412  Hay otras clases de \SpecialChar LaTeX2e
20413  para crear presentaciones,
20414  como 
20415 \family sans
20416 Foils
20417 \family default
20418  (véase la sección
20419 \begin_inset space ~
20420 \end_inset
20421
20422
20423 \begin_inset CommandInset ref
20424 LatexCommand ref
20425 reference "sec:foiltex"
20426 nolink "false"
20427
20428 \end_inset
20429
20430 ) o el paquete 
20431 \begin_inset Quotes cld
20432 \end_inset
20433
20434
20435 \family typewriter
20436 seminar
20437 \family default
20438
20439 \begin_inset Quotes crd
20440 \end_inset
20441
20442  (presente en algunas distribuciones de \SpecialChar TeX
20443 ).
20444  Este último aún no es soportado por \SpecialChar LyX
20445 .
20446 \begin_inset Foot
20447 status collapsed
20448
20449 \begin_layout Plain Layout
20450 Quizá quieras abordar tú la tarea\SpecialChar ldots
20451
20452 \end_layout
20453
20454 \end_inset
20455
20456  No conozco estas otras clases.
20457  Puedes probarlas para ver qué alternativas te ofrecen.
20458 \end_layout
20459
20460 \begin_layout Chapter
20461 Características de \SpecialChar LyX
20462  que requieren software adicional
20463 \begin_inset Argument 1
20464 status collapsed
20465
20466 \begin_layout Plain Layout
20467 Software adicional
20468 \end_layout
20469
20470 \end_inset
20471
20472
20473 \end_layout
20474
20475 \begin_layout Section
20476 Comprobar \SpecialChar TeX
20477
20478 \end_layout
20479
20480 \begin_layout Standard
20481 por 
20482 \noun on
20483 Asger Alstrup
20484 \end_layout
20485
20486 \begin_layout Subsection
20487 Introducción
20488 \end_layout
20489
20490 \begin_layout Standard
20491 Si está instalado 
20492 \family typewriter
20493 chktex
20494 \family default
20495 ,
20496 \begin_inset Foot
20497 status collapsed
20498
20499 \begin_layout Plain Layout
20500 Aún no disponible en la distribución Mik\SpecialChar TeX
20501 .
20502 \end_layout
20503
20504 \end_inset
20505
20506  bajo el menú 
20507 \family sans
20508 Herramientas
20509 \family default
20510  encontrarás la opción 
20511 \family sans
20512 Comprobar
20513 \begin_inset space ~
20514 \end_inset
20515
20516 TeX
20517 \family default
20518 .
20519  Para que esté disponible necesitas instalar el programa 
20520 \family typewriter
20521 chktex
20522 \family default
20523 .
20524  Puedes obtenerlo de CTAN,
20525 \begin_inset Newline newline
20526 \end_inset
20527
20528
20529 \begin_inset CommandInset href
20530 LatexCommand href
20531 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
20532 literal "false"
20533
20534 \end_inset
20535
20536 .
20537 \end_layout
20538
20539 \begin_layout Standard
20540 El paquete 
20541 \family sans
20542 Chk\SpecialChar TeX
20543
20544 \family default
20545  fue escrito por 
20546 \noun on
20547 Jens T.
20548  Berger Thielemann
20549 \noun default
20550 ,
20551  a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
20552  poco intuitivas y fáciles de olvidar.
20553  El programa se ejecuta sobre el archivo \SpecialChar LaTeX
20554  y comprueba la integridad del mismo,
20555  identificando algunos errores comunes.
20556  En palabras técnicas,
20557  es como 
20558 \family typewriter
20559 Lint
20560 \family default
20561  para \SpecialChar LaTeX
20562 .
20563 \end_layout
20564
20565 \begin_layout Standard
20566 Bien,
20567  ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
20568 ,
20569  que se supone que siempre genera \SpecialChar LaTeX
20570  correcto?
20571  La respuesta es sencilla:
20572  Igual que 
20573 \family typewriter
20574 Lint
20575 \family default
20576  no solo comprueba la 
20577 \emph on
20578 sintaxis 
20579 \emph default
20580 de programas C,
20581  sino que también comprueba la 
20582 \emph on
20583 semántica 
20584 \emph default
20585 en
20586 \emph on
20587  
20588 \emph default
20589 busca de errores de tipografía,
20590  
20591 \family sans
20592 Chk\SpecialChar TeX
20593
20594 \family default
20595  detecta,
20596  además de los errores sintácticos,
20597  errores 
20598 \emph on
20599 tipográficos 
20600 \emph default
20601 comunes,
20602  tales como
20603 \end_layout
20604
20605 \begin_layout Itemize
20606 Puntos suspensivos incorrectos:
20607 \begin_inset Newline newline
20608 \end_inset
20609
20610 Usa \SpecialChar ldots
20611  en vez de ...
20612 \end_layout
20613
20614 \begin_layout Itemize
20615 Espacio junto a los paréntesis:
20616 \begin_inset Newline newline
20617 \end_inset
20618
20619 ( espaciado incorrecto )
20620 \end_layout
20621
20622 \begin_layout Itemize
20623 Introducción de espacio normal tras abreviaciones:
20624 \begin_inset Newline newline
20625 \end_inset
20626
20627 p.
20628  ej.
20629  es un espacio demasiado grande.
20630 \end_layout
20631
20632 \begin_layout Itemize
20633 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula:
20634 \begin_inset Newline newline
20635 \end_inset
20636
20637 Esto es un TEST.
20638  Y esto un espacio incorrecto.
20639 \end_layout
20640
20641 \begin_layout Itemize
20642 Espacio ante etiquetas y otros comandos:
20643 \begin_inset Newline newline
20644 \end_inset
20645
20646 La etiqueta debe estar pegada al texto precedente para evitar un salto de línea o página en mal sitio.
20647  
20648 \begin_inset CommandInset label
20649 LatexCommand label
20650 name "sec:chktex"
20651
20652 \end_inset
20653
20654  
20655 \begin_inset Foot
20656 status collapsed
20657
20658 \begin_layout Plain Layout
20659 Esta nota podría salir en una página inadecuada.
20660 \end_layout
20661
20662 \end_inset
20663
20664  La etiqueta está demasiado separada.
20665 \end_layout
20666
20667 \begin_layout Itemize
20668 Espacio no protegido ante las referencias:
20669 \begin_inset Newline newline
20670 \end_inset
20671
20672 Si te despistas en esto,
20673  el texto podría saltar de línea justo entre él y el número de la referencia,
20674  lo que se ve feo.
20675  Véase la sección 
20676 \begin_inset CommandInset ref
20677 LatexCommand ref
20678 reference "sec:chktex"
20679 nolink "false"
20680
20681 \end_inset
20682
20683 .
20684 \end_layout
20685
20686 \begin_layout Itemize
20687 Uso de 
20688 \begin_inset Quotes eld
20689 \end_inset
20690
20691 x
20692 \begin_inset Quotes erd
20693 \end_inset
20694
20695  en vez de 
20696 \begin_inset Formula $\times$
20697 \end_inset
20698
20699  entre números:
20700 \begin_inset Newline newline
20701 \end_inset
20702
20703 2x2 se ve cutre comparado con 
20704 \begin_inset Formula $2\times2$
20705 \end_inset
20706
20707 .
20708 \end_layout
20709
20710 \begin_layout Standard
20711 y más\SpecialChar ldots
20712  Es una herramienta imprescindible una vez acabado tu documento y hecha la revisión ortográfica;
20713  antes de afinar la composición del documento e imprimirlo deberías ejecutar 
20714 \family sans
20715 Chk\SpecialChar TeX
20716
20717 \family default
20718 .
20719 \end_layout
20720
20721 \begin_layout Subsection
20722 Modo de empleo
20723 \end_layout
20724
20725 \begin_layout Standard
20726 Si el programa está instalado,
20727  se ejecuta con 
20728 \family sans
20729 Herramientas\SpecialChar menuseparator
20730 Comprobar
20731 \begin_inset space ~
20732 \end_inset
20733
20734 TeX
20735 \family default
20736 .
20737  \SpecialChar LyX
20738  genera entonces un archivo \SpecialChar LaTeX
20739  del documento,
20740  inicia 
20741 \family sans
20742 Chk\SpecialChar TeX
20743
20744 \family default
20745  para revisarlo,
20746  e inserta 
20747 \begin_inset Quotes cld
20748 \end_inset
20749
20750 cuadros de error
20751 \begin_inset Quotes crd
20752 \end_inset
20753
20754  con las advertencias de 
20755 \family sans
20756 Chk\SpecialChar TeX
20757
20758 \family default
20759 ,
20760  si las hubiera.
20761  Las advertencias se situarán cerca del error,
20762  y puedes navegar entre ellas con la opción de menú 
20763 \family sans
20764 Navegar\SpecialChar menuseparator
20765 Error
20766 \family default
20767 ,
20768  o con el atajo de teclado 
20769 \family sans
20770 C-g
20771 \family default
20772  del archivo 
20773 \family typewriter
20774 cua.bind
20775 \family default
20776 .
20777  Los cuadros de error se abren pulsando sobre ellos o con el atajo 
20778 \family sans
20779 C-i
20780 \family default
20781  (si usas atajos 
20782 \family typewriter
20783 cua
20784 \family default
20785 ),
20786  o 
20787 \family sans
20788 C-o
20789 \family default
20790  (si usas atajos 
20791 \family typewriter
20792 emacs)
20793 \family default
20794 .
20795  Lee las advertencias y corrige los errores.
20796  Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
20797  Recuerda que hay un estrato oculto entre el documento en pantalla y los detalles técnicos al ejecutar 
20798 \family sans
20799 Chk\SpecialChar TeX
20800
20801 \family default
20802 ,
20803  por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
20804 \end_layout
20805
20806 \begin_layout Standard
20807 Este documento es un excelente banco de pruebas para esta característica,
20808  con el que comprobar la presencia de advertencias y enredar con ellas.
20809  Aunque,
20810  como los ordenadores son tan listos,
20811  confía en que la mayoría de advertencias serán falsas alarmas.
20812 \end_layout
20813
20814 \begin_layout Subsection
20815 Afinación
20816 \end_layout
20817
20818 \begin_layout Standard
20819 A veces observarás que con 
20820 \family sans
20821 Chk\SpecialChar TeX
20822
20823 \family default
20824  hay más ruido que nueces.
20825  Puedes elegir no usarlo,
20826  o intentar personalizar 
20827 \family sans
20828 Chk\SpecialChar TeX
20829
20830 \family default
20831  para adaptarlo a tus necesidades.
20832 \end_layout
20833
20834 \begin_layout Standard
20835 Aunque 
20836 \family sans
20837 Chk\SpecialChar TeX
20838
20839 \family default
20840  
20841 \emph on
20842 es
20843 \emph default
20844  muy configurable y ampliable,
20845  no esperes resolver todos los problemas de \SpecialChar LyX
20846  con 
20847 \family sans
20848 Chk\SpecialChar TeX
20849
20850 \family default
20851 .
20852  Como \SpecialChar LyX
20853  ha de generar un archivo \SpecialChar LaTeX
20854  un tanto especial para poder casar los números de línea de la salida de 
20855 \family sans
20856 Chk\SpecialChar TeX
20857
20858 \family default
20859  con la estructura interna del documento
20860 \begin_inset Foot
20861 status collapsed
20862
20863 \begin_layout Plain Layout
20864 Puedes inspeccionar la salida de 
20865 \family sans
20866 chktex
20867 \family default
20868  usando 
20869 \family sans
20870 Documento\SpecialChar menuseparator
20871 Registro
20872 \begin_inset space ~
20873 \end_inset
20874
20875 de
20876 \begin_inset space ~
20877 \end_inset
20878
20879 \SpecialChar LaTeX
20880
20881 \family default
20882  tras ejecutar 
20883 \family sans
20884 chktex
20885 \family default
20886 .
20887 \end_layout
20888
20889 \end_inset
20890
20891 ,
20892  algunos de los avisos no estarán bien colocados.
20893  Puedes hacer dos cosas:
20894 \end_layout
20895
20896 \begin_layout Itemize
20897 Afinar la línea de comandos de 
20898 \family sans
20899 Chk\SpecialChar TeX
20900  
20901 \family default
20902 en 
20903 \family sans
20904 Preferencias
20905 \family default
20906  (
20907 \family sans
20908 Salidas\SpecialChar menuseparator
20909 \SpecialChar LaTeX
20910
20911 \family default
20912 ),
20913  o el archivo de configuración global de 
20914 \family sans
20915 Chk\SpecialChar TeX
20916
20917 \family default
20918  (normalmente se ubica en
20919 \begin_inset Newline newline
20920 \end_inset
20921
20922
20923 \family typewriter
20924 /usr/local/share/chktexrc
20925 \family default
20926 ).
20927  Véase más adelante qué advertencias se pueden activar o desactivar en la línea del comando.
20928  
20929 \end_layout
20930
20931 \begin_layout Itemize
20932 Exporta tu documento a un archivo \SpecialChar LaTeX
20933  simple con
20934 \family typewriter
20935  
20936 \family sans
20937 Archivo\SpecialChar menuseparator
20938 Exportar\SpecialChar menuseparator
20939 LaTeX
20940 \family default
20941  y ejecuta 
20942 \family typewriter
20943 chktex
20944 \family default
20945  a mano sobre él.
20946  Ejecutado así,
20947  puede ser peliagudo encontrar el lugar correspondiente en el documento \SpecialChar LyX
20948 ,
20949  pero con un poco de paciencia lo lograrás.
20950 \end_layout
20951
20952 \begin_layout Standard
20953 A continuación se listan los mensajes de error que pueden ser activados o desactivados en 
20954 \family sans
20955 Preferencias
20956 \family default
20957 .
20958  Usa 
20959 \family typewriter
20960 -n#
20961 \family default
20962  para desactivar un aviso,
20963  y 
20964 \family typewriter
20965 -w#
20966 \family default
20967  para activarlo.
20968  Las entradas en énfasis están desactivadas por omisión,
20969  porque de forma predeterminada se ejecuta como "
20970 \family typewriter
20971 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20972 \family default
20973 ".
20974 \end_layout
20975
20976 \begin_layout Standard
20977 Ten en cuenta que solo deberías usar las opciones que activan o desactivan avisos,
20978  porque las demás las usa \SpecialChar LyX
20979  de manera específica para comunicarse con 
20980 \family typewriter
20981 chktex
20982 \family default
20983 .
20984 \end_layout
20985
20986 \begin_layout Enumerate
20987
20988 \size small
20989 \emph on
20990 Command terminated with space.
20991  (Comando finalizado con un espacio
20992 \emph default
20993 .
20994 \emph on
20995 )
20996 \end_layout
20997
20998 \begin_layout Enumerate
20999
21000 \size small
21001 Non-breaking space (
21002 \begin_inset Quotes eld
21003 \end_inset
21004
21005
21006 \family typewriter
21007 ~
21008 \family default
21009
21010 \begin_inset Quotes erd
21011 \end_inset
21012
21013 ) should have been used.
21014  (Se
21015 \emph on
21016  
21017 \emph default
21018 debería haber usado un espacio protegido 
21019 \begin_inset Quotes cld
21020 \end_inset
21021
21022 ~
21023 \begin_inset Quotes crd
21024 \end_inset
21025
21026 )
21027 \end_layout
21028
21029 \begin_layout Enumerate
21030
21031 \size small
21032 \emph on
21033 You should enclose the previous parenthesis with 
21034 \begin_inset Quotes eld
21035 \end_inset
21036
21037
21038 \family typewriter
21039 {}
21040 \family default
21041
21042 \begin_inset Quotes erd
21043 \end_inset
21044
21045 .
21046  
21047 \shape italic
21048 \emph default
21049 (Deberías cerrar los paréntesis previos con
21050 \shape default
21051  
21052 \emph on
21053
21054 \begin_inset Quotes cld
21055 \end_inset
21056
21057 {}
21058 \begin_inset Quotes crd
21059 \end_inset
21060
21061 )
21062 \end_layout
21063
21064 \begin_layout Enumerate
21065
21066 \size small
21067 Italic correction (
21068 \begin_inset Quotes eld
21069 \end_inset
21070
21071
21072 \family typewriter
21073
21074 \backslash
21075 /
21076 \family default
21077
21078 \begin_inset Quotes erd
21079 \end_inset
21080
21081 ) found in non-italic buffer.
21082  (Corrección de cursiva (
21083 \begin_inset Quotes cld
21084 \end_inset
21085
21086
21087 \backslash
21088 /
21089 \begin_inset Quotes crd
21090 \end_inset
21091
21092 ) en un grupo que no está en cursiva)
21093 \end_layout
21094
21095 \begin_layout Enumerate
21096
21097 \size small
21098 Italic correction (
21099 \begin_inset Quotes eld
21100 \end_inset
21101
21102
21103 \family typewriter
21104
21105 \backslash
21106 /
21107 \family default
21108
21109 \begin_inset Quotes erd
21110 \end_inset
21111
21112 ) found more than once.
21113  (Corrección de cursiva (
21114 \begin_inset Quotes cld
21115 \end_inset
21116
21117
21118 \backslash
21119 /
21120 \begin_inset Quotes crd
21121 \end_inset
21122
21123 ) más de una vez)
21124 \end_layout
21125
21126 \begin_layout Enumerate
21127
21128 \size small
21129 \emph on
21130 No italic correction (
21131 \begin_inset Quotes eld
21132 \end_inset
21133
21134
21135 \family typewriter
21136
21137 \backslash
21138 /
21139 \family default
21140
21141 \begin_inset Quotes erd
21142 \end_inset
21143
21144 ) found.
21145  (Corrección de cursiva (
21146 \emph default
21147
21148 \begin_inset Quotes cld
21149 \end_inset
21150
21151
21152 \backslash
21153 /
21154 \begin_inset Quotes crd
21155 \end_inset
21156
21157
21158 \emph on
21159 )
21160 \emph default
21161  
21162 \emph on
21163 no encontrada)
21164 \end_layout
21165
21166 \begin_layout Enumerate
21167
21168 \size small
21169 Accent command 
21170 \begin_inset Quotes eld
21171 \end_inset
21172
21173
21174 \family typewriter
21175 cmd
21176 \family default
21177
21178 \begin_inset Quotes erd
21179 \end_inset
21180
21181  needs use of 
21182 \begin_inset Quotes eld
21183 \end_inset
21184
21185
21186 \family typewriter
21187 cmd
21188 \family default
21189
21190 \begin_inset Quotes erd
21191 \end_inset
21192
21193 .
21194  (El comando 
21195 \begin_inset Quotes cld
21196 \end_inset
21197
21198 cmd
21199 \begin_inset Quotes crd
21200 \end_inset
21201
21202  requiere el uso de 
21203 \begin_inset Quotes cld
21204 \end_inset
21205
21206 cmd
21207 \begin_inset Quotes crd
21208 \end_inset
21209
21210 )
21211 \end_layout
21212
21213 \begin_layout Enumerate
21214
21215 \size small
21216 Wrong length of dash may have been used.
21217  (Quizá se ha usado un guión de longitud inadecuada)
21218 \end_layout
21219
21220 \begin_layout Enumerate
21221
21222 \size small
21223 \emph on
21224 \begin_inset Quotes eld
21225 \end_inset
21226
21227
21228 \family typewriter
21229 %s
21230 \family default
21231
21232 \begin_inset Quotes erd
21233 \end_inset
21234
21235  expected,
21236  found 
21237 \begin_inset Quotes eld
21238 \end_inset
21239
21240
21241 \family typewriter
21242 %s
21243 \family default
21244
21245 \begin_inset Quotes erd
21246 \end_inset
21247
21248 .
21249  (Se esperaba 
21250 \begin_inset Quotes cld
21251 \end_inset
21252
21253 %s
21254 \begin_inset Quotes crd
21255 \end_inset
21256
21257 ,
21258  se ha encontrado 
21259 \begin_inset Quotes cld
21260 \end_inset
21261
21262 %s
21263 \begin_inset Quotes crd
21264 \end_inset
21265
21266 )
21267 \end_layout
21268
21269 \begin_layout Enumerate
21270
21271 \size small
21272 Solo 
21273 \begin_inset Quotes eld
21274 \end_inset
21275
21276
21277 \family typewriter
21278 %s
21279 \family default
21280
21281 \begin_inset Quotes erd
21282 \end_inset
21283
21284  found.
21285  (Se ha encontrado un solo 
21286 \begin_inset Quotes cld
21287 \end_inset
21288
21289 %s
21290 \begin_inset Quotes crd
21291 \end_inset
21292
21293 )
21294 \end_layout
21295
21296 \begin_layout Enumerate
21297
21298 \size small
21299 You should use 
21300 \begin_inset Quotes eld
21301 \end_inset
21302
21303
21304 \family typewriter
21305 %s
21306 \family default
21307
21308 \begin_inset Quotes erd
21309 \end_inset
21310
21311  to achieve an ellipsis.
21312  (Deberías usar 
21313 \begin_inset Quotes cld
21314 \end_inset
21315
21316 %s
21317 \begin_inset Quotes crd
21318 \end_inset
21319
21320  para los puntos suspensivos)
21321 \end_layout
21322
21323 \begin_layout Enumerate
21324
21325 \size small
21326 Inter-word spacing (
21327 \begin_inset Quotes eld
21328 \end_inset
21329
21330
21331 \family typewriter
21332
21333 \backslash
21334
21335 \family default
21336  
21337 \begin_inset Quotes eld
21338 \end_inset
21339
21340 ) should perhaps be used.
21341  (Quizá tendría que ponerse un espacio entre palabras (
21342 \begin_inset Quotes cld
21343 \end_inset
21344
21345
21346 \backslash
21347
21348 \begin_inset Quotes crd
21349 \end_inset
21350
21351 )) 
21352 \end_layout
21353
21354 \begin_layout Enumerate
21355
21356 \size small
21357 Inter-sentence spacing (
21358 \begin_inset Quotes eld
21359 \end_inset
21360
21361
21362 \family typewriter
21363
21364 \backslash
21365 @
21366 \family default
21367
21368 \begin_inset Quotes erd
21369 \end_inset
21370
21371 ) should perhaps be used.
21372  (Quizá tendría que ponerse un espacio entre frases (
21373 \begin_inset Quotes cld
21374 \end_inset
21375
21376
21377 \backslash
21378 @
21379 \begin_inset Quotes crd
21380 \end_inset
21381
21382 )) 
21383 \end_layout
21384
21385 \begin_layout Enumerate
21386
21387 \size small
21388 Could not find argument for command.
21389  (Argumento de comando no encontrado)
21390 \end_layout
21391
21392 \begin_layout Enumerate
21393
21394 \size small
21395 No match found for 
21396 \begin_inset Quotes eld
21397 \end_inset
21398
21399
21400 \family typewriter
21401 %s
21402 \family default
21403
21404 \begin_inset Quotes erd
21405 \end_inset
21406
21407 .
21408  (Objetivo para 
21409 \begin_inset Quotes cld
21410 \end_inset
21411
21412 %s
21413 \begin_inset Quotes crd
21414 \end_inset
21415
21416  no encontrado)
21417 \end_layout
21418
21419 \begin_layout Enumerate
21420
21421 \size small
21422 Math mode still on at end of \SpecialChar LaTeX
21423  file.
21424  (El archivo \SpecialChar LaTeX
21425  termina en modo ecuación)
21426 \end_layout
21427
21428 \begin_layout Enumerate
21429
21430 \size small
21431 Number of 
21432 \begin_inset Quotes eld
21433 \end_inset
21434
21435
21436 \family typewriter
21437 char
21438 \family default
21439
21440 \begin_inset Quotes erd
21441 \end_inset
21442
21443  doesn't match the number of 
21444 \begin_inset Quotes eld
21445 \end_inset
21446
21447
21448 \family typewriter
21449 char
21450 \family default
21451
21452 \begin_inset Quotes erd
21453 \end_inset
21454
21455 .
21456  (El número de 
21457 \begin_inset Quotes cld
21458 \end_inset
21459
21460 char
21461 \begin_inset Quotes crd
21462 \end_inset
21463
21464  no corresponde con el número de 
21465 \begin_inset Quotes cld
21466 \end_inset
21467
21468 char
21469 \begin_inset Quotes crd
21470 \end_inset
21471
21472 )
21473 \end_layout
21474
21475 \begin_layout Enumerate
21476
21477 \size small
21478 You should use either 
21479 \family typewriter
21480
21481 \begin_inset Quotes eld
21482 \end_inset
21483
21484
21485 \family default
21486  or 
21487 \family typewriter
21488
21489 \begin_inset Quotes erd
21490 \end_inset
21491
21492
21493 \family default
21494  as an alternative to 
21495 \begin_inset Quotes eld
21496 \end_inset
21497
21498
21499 \family typewriter
21500 "
21501 \family default
21502
21503 \begin_inset Quotes erd
21504 \end_inset
21505
21506 .
21507  (Deberías usar 
21508 \begin_inset Quotes cld
21509 \end_inset
21510
21511 o
21512 \begin_inset Quotes crd
21513 \end_inset
21514
21515  mejor que 
21516 \size default
21517
21518 \begin_inset Quotes cld
21519 \end_inset
21520
21521
21522 \family typewriter
21523 \size small
21524 "
21525 \family default
21526 \size default
21527
21528 \begin_inset Quotes crd
21529 \end_inset
21530
21531
21532 \size small
21533 )
21534 \end_layout
21535
21536 \begin_layout Enumerate
21537
21538 \size small
21539 You should use "
21540 \family typewriter
21541 '
21542 \family default
21543 " (ASCII 39) instead of "
21544 \family typewriter
21545 ´
21546 \family default
21547 " (ASCII 180).
21548  (Deberías usar 
21549 \begin_inset Quotes cld
21550 \end_inset
21551
21552 '
21553 \begin_inset Quotes crd
21554 \end_inset
21555
21556  (ASCII 39) en lugar de 
21557 \begin_inset Quotes cld
21558 \end_inset
21559
21560 ´
21561 \begin_inset Quotes crd
21562 \end_inset
21563
21564  (ASCII 180))
21565 \end_layout
21566
21567 \begin_layout Enumerate
21568
21569 \size small
21570 User-specified pattern found.
21571  (Se ha encontrado un patrón definido por el usuario)
21572 \end_layout
21573
21574 \begin_layout Enumerate
21575
21576 \size small
21577 This command might not be intended.
21578  (Comando posiblemente no buscado)
21579 \end_layout
21580
21581 \begin_layout Enumerate
21582
21583 \size small
21584 \emph on
21585 Comment displayed.
21586  (Comentario mostrado)
21587 \end_layout
21588
21589 \begin_layout Enumerate
21590
21591 \size small
21592 Either 
21593 \family typewriter
21594 ''
21595 \backslash
21596 ,'
21597 \family default
21598  or 
21599 \family typewriter
21600 '
21601 \backslash
21602 ,''
21603 \family default
21604  will look better.
21605  (
21606 \family typewriter
21607 ''
21608 \backslash
21609 ,'
21610 \family default
21611  o 
21612 \family typewriter
21613 '
21614 \backslash
21615 ,''
21616 \family default
21617  quedaría mejor) 
21618 \end_layout
21619
21620 \begin_layout Enumerate
21621
21622 \size small
21623 Delete this space to maintain correct page references.
21624  (Borra este espacio para mantener las referencias de página)
21625 \end_layout
21626
21627 \begin_layout Enumerate
21628
21629 \size small
21630 \emph on
21631 You might wish to put this between a pair of 
21632 \begin_inset Quotes eld
21633 \end_inset
21634
21635
21636 \family typewriter
21637 {}
21638 \family default
21639
21640 \begin_inset Quotes erd
21641 \end_inset
21642
21643 .
21644  (Esto quizá estaría mejor entre llaves 
21645 \begin_inset Quotes cld
21646 \end_inset
21647
21648 {}
21649 \begin_inset Quotes crd
21650 \end_inset
21651
21652 )
21653 \end_layout
21654
21655 \begin_layout Enumerate
21656
21657 \size small
21658 You ought to remove spaces in front of punctuation.
21659  (Debes quitar espacios delante de la puntuación)
21660 \end_layout
21661
21662 \begin_layout Enumerate
21663
21664 \size small
21665 Could not execute \SpecialChar LaTeX
21666  command.
21667  (No se puede ejecutar comando \SpecialChar LaTeX
21668 )
21669 \end_layout
21670
21671 \begin_layout Enumerate
21672
21673 \size small
21674 Don't use 
21675 \family typewriter
21676
21677 \backslash
21678 /
21679 \family default
21680  in front of small punctuation.
21681  (No poner 
21682 \family typewriter
21683
21684 \backslash
21685 /
21686 \family default
21687  delante de un punto)
21688 \end_layout
21689
21690 \begin_layout Enumerate
21691
21692 \family typewriter
21693 \size small
21694 $
21695 \backslash
21696 times$
21697 \family default
21698  may look prettier here.
21699  (Aquí quedaría mejor 
21700 \family typewriter
21701 $
21702 \backslash
21703 times$
21704 \family default
21705 \emph on
21706 )
21707 \end_layout
21708
21709 \begin_layout Enumerate
21710
21711 \size small
21712 \emph on
21713 Multiple spaces detected in output.
21714  (Se detectan espacios múltiples en la salida)
21715 \end_layout
21716
21717 \begin_layout Enumerate
21718
21719 \size small
21720 This text may be ignored.
21721  (Este texto podría no tenerse en cuenta)
21722 \end_layout
21723
21724 \begin_layout Enumerate
21725
21726 \size small
21727 Use 
21728 \family typewriter
21729
21730 \begin_inset Quotes eld
21731 \end_inset
21732
21733
21734 \family default
21735  to begin quotation,
21736  not 
21737 \family typewriter
21738 '
21739 \family default
21740 .
21741  (Usa `` para comenzar una cita,
21742  no ')
21743 \end_layout
21744
21745 \begin_layout Enumerate
21746
21747 \size small
21748 Use 
21749 \family typewriter
21750 '
21751 \family default
21752  to end quotation,
21753  not 
21754 \family typewriter
21755
21756 \begin_inset Quotes eld
21757 \end_inset
21758
21759
21760 \family default
21761 .
21762  (Usa ' para finalizar una cita,
21763  no ``)
21764 \end_layout
21765
21766 \begin_layout Enumerate
21767
21768 \size small
21769 Don't mix quotes.
21770  (No mezcles distintos tipos de comillas)
21771 \end_layout
21772
21773 \begin_layout Enumerate
21774
21775 \size small
21776 You should perhaps use 
21777 \begin_inset Quotes eld
21778 \end_inset
21779
21780
21781 \family typewriter
21782 cmd
21783 \family default
21784
21785 \begin_inset Quotes erd
21786 \end_inset
21787
21788  instead.
21789  (Quizá sería mejor usar 
21790 \begin_inset Quotes cld
21791 \end_inset
21792
21793 cmd
21794 \begin_inset Quotes crd
21795 \end_inset
21796
21797 )
21798 \end_layout
21799
21800 \begin_layout Enumerate
21801
21802 \size small
21803 You should put a space in front of/after parenthesis.
21804  (Deberías poner un espacio delante/detrás de los paréntesis)
21805 \end_layout
21806
21807 \begin_layout Enumerate
21808
21809 \size small
21810 You should avoid spaces in front of/after parenthesis.
21811  (Deberías evitar espacios delante/detrás de los paréntesis)
21812 \end_layout
21813
21814 \begin_layout Enumerate
21815
21816 \size small
21817 \emph on
21818 You should not use punctuation in front of/after quotes.
21819  (No deberías usar puntuación delante/detrás de comillas)
21820 \end_layout
21821
21822 \begin_layout Enumerate
21823
21824 \size small
21825 Double space found.
21826  (Espacio doble encontrado)
21827 \end_layout
21828
21829 \begin_layout Enumerate
21830
21831 \size small
21832 You should put punctuation outside inner/inside display math mode.
21833  (Deberías poner la puntuación fuera del modo ecuación) 
21834 \end_layout
21835
21836 \begin_layout Enumerate
21837
21838 \size small
21839 You ought to not use primitive \SpecialChar TeX
21840  in \SpecialChar LaTeX
21841  code.
21842  (No debes usar primitivas de \SpecialChar TeX
21843  dentro de código \SpecialChar LaTeX
21844 )
21845 \end_layout
21846
21847 \begin_layout Enumerate
21848
21849 \size small
21850 You should remove spaces in front of 
21851 \begin_inset Quotes eld
21852 \end_inset
21853
21854
21855 \family typewriter
21856 %s
21857 \family default
21858
21859 \begin_inset Quotes erd
21860 \end_inset
21861
21862  (Deberías quitar los espacios delante de 
21863 \begin_inset Quotes cld
21864 \end_inset
21865
21866 %s
21867 \begin_inset Quotes crd
21868 \end_inset
21869
21870 )
21871 \end_layout
21872
21873 \begin_layout Enumerate
21874
21875 \size small
21876 \begin_inset Quotes eld
21877 \end_inset
21878
21879
21880 \family typewriter
21881 %s
21882 \family default
21883
21884 \begin_inset Quotes erd
21885 \end_inset
21886
21887  is normally not followed by 
21888 \begin_inset Quotes eld
21889 \end_inset
21890
21891
21892 \family typewriter
21893 %c
21894 \family default
21895
21896 \begin_inset Quotes erd
21897 \end_inset
21898
21899 .
21900  (
21901 \begin_inset Quotes cld
21902 \end_inset
21903
21904 %s
21905 \begin_inset Quotes crd
21906 \end_inset
21907
21908  normalmente no va seguido de 
21909 \begin_inset Quotes cld
21910 \end_inset
21911
21912 %c
21913 \begin_inset Quotes crd
21914 \end_inset
21915
21916 )
21917 \end_layout
21918
21919 \begin_layout Standard
21920 En las últimas versiones de \SpecialChar LyX
21921  esperamos proporcionar una interfaz más completa para esta herramienta (y su prima pequeña 
21922 \family typewriter
21923 lacheck
21924 \family default
21925 ) para aprovechar toda su potencia.
21926  Pero no deja de ser útil tal como está:
21927  prueba con alguno de tus documentos de cierta longitud y sorpréndete.
21928 \end_layout
21929
21930 \begin_layout Section
21931 Control de versiones en \SpecialChar LyX
21932
21933 \end_layout
21934
21935 \begin_layout Standard
21936 por
21937 \noun on
21938  Lars Gullik Bjønnes
21939 \noun default
21940  y 
21941 \noun on
21942 Pavel Sanda
21943 \end_layout
21944
21945 \begin_layout Subsection
21946 Introducción
21947 \end_layout
21948
21949 \begin_layout Standard
21950 \SpecialChar LyX
21951  soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
21952  Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
21953 \end_layout
21954
21955 \begin_layout Standard
21956 Además,
21957  hay que tener en cuenta que el soporte de CVS no es tan bueno como el de subversion,
21958  por lo que recomendamos SVN.
21959  Para empezar con Subversion es conveniente consultar el SVN Book.
21960 \begin_inset Foot
21961 status collapsed
21962
21963 \begin_layout Plain Layout
21964 \begin_inset CommandInset href
21965 LatexCommand href
21966 target "http://svnbook.red-bean.com/"
21967 literal "false"
21968
21969 \end_inset
21970
21971
21972 \end_layout
21973
21974 \end_inset
21975
21976  Para RCS deberías leer 
21977 \begin_inset Quotes cld
21978 \end_inset
21979
21980 rcsintro
21981 \begin_inset Quotes crd
21982 \end_inset
21983
21984  (archivo 
21985 \emph on
21986 man
21987 \emph default
21988  de manual).
21989  Este archivo describe todas las características básicas de RCS.
21990  Deberías fijarte especialmente en el comentario sobre el directorio RCS y las nociones sobre el archivo maestro RCS (el que acaba en 
21991 \family typewriter
21992 ,v
21993 \family default
21994 ).
21995 \end_layout
21996
21997 \begin_layout Standard
21998 Antes de usar el control de versiones en \SpecialChar LyX
21999  hay que conocer el uso de RCS/CVS/SVN/GIT.
22000  La implementación en \SpecialChar LyX
22001  asume el uso de versiones recientes de los paquetes GNU RCS o CVS/SVN —
22002 no hay garantías con versiones antiguas—
22003 .
22004  La mayoría de los mensajes de registro no son actualmente mostrados tras las operaciones —
22005 puedes comprobarlos en el panel Messages si no estás seguro.
22006  Los usuarios habituales de control de versiones apreciarán las herramientas VC,
22007  disponibles en 
22008 \family sans
22009 Ver\SpecialChar menuseparator
22010 Barras de herramientas\SpecialChar menuseparator
22011 Control de versiones
22012 \family default
22013 .
22014 \end_layout
22015
22016 \begin_layout Standard
22017 Para introducir tus propios comandos externos consulta 
22018 \family typewriter
22019 vc-command
22020 \family default
22021  en el manual 
22022 \emph on
22023 Funciones de \SpecialChar LyX
22024
22025 \emph default
22026 .
22027 \end_layout
22028
22029 \begin_layout Standard
22030 Es muy recomendable guardar los documentos sin comprimir si se usa control de versiones (desactiva 
22031 \family sans
22032 Documento\SpecialChar menuseparator
22033 Comprimido
22034 \family default
22035  si lo está):
22036  los documentos \SpecialChar LyX
22037  sin comprimir son archivos de texto y por tanto factibles de ser mezclados por sistemas de control de versiones.
22038  Los documentos \SpecialChar LyX
22039  comprimidos son archivos binarios,
22040  no manejables por sistemas de control de versiones.
22041  
22042 \end_layout
22043
22044 \begin_layout Subsection
22045 Comandos RCS en \SpecialChar LyX
22046
22047 \end_layout
22048
22049 \begin_layout Standard
22050 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
22051 .
22052  Los puedes encontrar en el submenú 
22053 \family sans
22054 Archivo\SpecialChar menuseparator
22055 Control
22056 \begin_inset space ~
22057 \end_inset
22058
22059 de
22060 \begin_inset space ~
22061 \end_inset
22062
22063 versiones
22064 \family default
22065 .
22066  \SpecialChar LyX
22067  se ha probado con la versión RCS 5.7/5.8.
22068 \end_layout
22069
22070 \begin_layout Subsubsection
22071
22072 \family sans
22073 Registrar
22074 \end_layout
22075
22076 \begin_layout Standard
22077 Si tu documento no está sometido a control de versiones,
22078  este es el único ítem mostrado en el submenú.
22079  Y si está sometido a control de versiones,
22080  el ítem 
22081 \family sans
22082 Registrar
22083 \family default
22084  no aparece.
22085  
22086 \end_layout
22087
22088 \begin_layout Standard
22089 Este comando registra el documento con RCS\SpecialChar endofsentence
22090  Se te pide interactivamente una descripción inicial del documento.
22091  Por ahora,
22092  el documento está puesto en modo Solo-lectura y debes 
22093 \family sans
22094 Liberar para edición 
22095 \family default
22096 antes de hacer cambios en él.
22097  Un documento bajo control de revisión tiene un ítem 
22098 \begin_inset Quotes cld
22099 \end_inset
22100
22101 [RCS:<version> <locker>]
22102 \begin_inset Quotes crd
22103 \end_inset
22104
22105  junto al nombre de archivo en el búfer .
22106 \end_layout
22107
22108 \begin_layout Standard
22109 Comando
22110 \family sans
22111  
22112 \family default
22113 RCS ejecutado:
22114 \end_layout
22115
22116 \begin_layout LyX-Code
22117
22118 \family typewriter
22119 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
22120 \end_layout
22121
22122 \begin_layout Standard
22123 Lee 
22124 \family typewriter
22125 man ci
22126 \family default
22127  para entender las opciones.
22128  
22129 \end_layout
22130
22131 \begin_layout Subsubsection
22132
22133 \family sans
22134 Liberar cambios
22135 \end_layout
22136
22137 \begin_layout Standard
22138 Cuando has acabado de editar un archivo liberas tus cambios.
22139  Al hacerlo
22140 \family sans
22141  
22142 \family default
22143 se te pide una descripción que se almacena en el historial.
22144  El número de versión es actualizado,
22145  tus cambios se aplican al archivo maestro RCS,
22146  el documento es desbloqueado y puesto en modo Solo-lectura.
22147  
22148 \end_layout
22149
22150 \begin_layout Itemize
22151 Comando RCS:
22152  
22153 \family typewriter
22154 ci -q -u -m"<descripción>" <nombre-archivo>
22155 \end_layout
22156
22157 \begin_layout Subsubsection
22158
22159 \family sans
22160 Reservar para edición
22161 \end_layout
22162
22163 \begin_layout Standard
22164 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
22165  Además el documento será de Lectura-Escritura únicamente para ti.
22166  Generalmente continuarás la edición un rato más y al acabar liberarás los cambios.
22167  La línea de estado cambia para indicar que has bloqueado el archivo.
22168  
22169 \end_layout
22170
22171 \begin_layout Itemize
22172 Comando RCS:
22173  
22174 \family typewriter
22175 co -q -l <nombre-archivo>
22176 \end_layout
22177
22178 \begin_layout Subsubsection
22179
22180 \family sans
22181 Volver a la 
22182 \family default
22183 versión del repositorio
22184 \end_layout
22185
22186 \begin_layout Standard
22187 Esto descartará todos los cambios hechos en el documento desde la última liberación de cambios.
22188  Recibes un mensaje de aviso antes de descartar los cambios.
22189
22190 \family typewriter
22191  
22192 \end_layout
22193
22194 \begin_layout Itemize
22195 Comando RCS:
22196  
22197 \family typewriter
22198 co -f -u<version> <nombre-archivo>
22199 \end_layout
22200
22201 \begin_layout Subsubsection
22202 Copiar
22203 \end_layout
22204
22205 \begin_layout Standard
22206 Creará una copia del documento actual.
22207  Puesto que RCS no soporta nativamente operaciones de copia,
22208  el historial de versiones no se preserva y la copia se añade como archivo nuevo.
22209  Requiere un documento limpio sin ningún cambio desde la última liberación.
22210  Pedirá un nombre de archivo y una descripción de la operación de copia.
22211  Después se crea la copia localmente y en el repositorio.
22212  Si los directorios padre de los documentos original y copiado difieren,
22213  se ajustan todas las rutas relativas de los archivos incluidos en la copia (como en 
22214 \family sans
22215 Archivo\SpecialChar menuseparator
22216 Guardar como
22217 \family default
22218 \SpecialChar ldots
22219 ).
22220  Por último,
22221  se carga la copia en vez del documento original.
22222 \end_layout
22223
22224 \begin_layout Labeling
22225 \labelwidthstring 00.00.0000
22226 Comandos
22227 \begin_inset space ~
22228 \end_inset
22229
22230 RCS:
22231  
22232 \begin_inset space ~
22233 \end_inset
22234
22235
22236 \begin_inset Newline newline
22237 \end_inset
22238
22239 Copiar 
22240 \begin_inset Flex Code
22241 status collapsed
22242
22243 \begin_layout Plain Layout
22244
22245 \family typewriter
22246 \lang english
22247 \begin_inset Quotes qld
22248 \end_inset
22249
22250
22251 \family default
22252 \lang spanish
22253 <nombre-archivo>
22254 \family typewriter
22255 \lang english
22256
22257 \begin_inset Quotes qld
22258 \end_inset
22259
22260
22261 \end_layout
22262
22263 \end_inset
22264
22265  a 
22266 \begin_inset Flex Code
22267 status collapsed
22268
22269 \begin_layout Plain Layout
22270
22271 \family typewriter
22272 \lang english
22273 \begin_inset Quotes qld
22274 \end_inset
22275
22276
22277 \family default
22278 \lang spanish
22279 <nuevo-nombre-archivo>
22280 \family typewriter
22281 \lang english
22282
22283 \begin_inset Quotes qld
22284 \end_inset
22285
22286
22287 \end_layout
22288
22289 \end_inset
22290
22291
22292 \begin_inset Newline newline
22293 \end_inset
22294
22295
22296 \begin_inset Flex Code
22297 status collapsed
22298
22299 \begin_layout Plain Layout
22300 ci -q -u -i 
22301 \family typewriter
22302 \lang english
22303
22304 \begin_inset Quotes qld
22305 \end_inset
22306
22307
22308 \family default
22309 \lang spanish
22310 <nuevo-nombre-archivo>
22311 \family typewriter
22312 \lang english
22313
22314 \begin_inset Quotes qld
22315 \end_inset
22316
22317
22318 \family default
22319 \lang spanish
22320
22321 \begin_inset Quotes erd
22322 \end_inset
22323
22324
22325 \end_layout
22326
22327 \end_inset
22328
22329
22330 \end_layout
22331
22332 \begin_layout Subsubsection
22333
22334 \family sans
22335 Deshacer última liberación
22336 \end_layout
22337
22338 \begin_layout Standard
22339 Esto es como si la última liberación de cambios no hubiera sucedido.
22340  No se hacen cambios al documento cargado en \SpecialChar LyX
22341 ,
22342  pero la última versión es eliminada del archivo maestro RCS.
22343  
22344 \end_layout
22345
22346 \begin_layout Itemize
22347 Comando RCS:
22348  
22349 \family typewriter
22350 rcs -o<versión> <nombre-archivo>
22351 \end_layout
22352
22353 \begin_layout Subsubsection
22354
22355 \family sans
22356 Mostrar historial
22357 \end_layout
22358
22359 \begin_layout Standard
22360 Muestra el registro completo del historial del documento RCS.
22361  La salida de 
22362 \family typewriter
22363 rlog
22364 \family default
22365  
22366 \family typewriter
22367 <nombre-archivo>
22368 \family default
22369  se muestra en un buscador.
22370  Véase 
22371 \family typewriter
22372 man rlog
22373 \family default
22374  para más información.
22375 \end_layout
22376
22377 \begin_layout Subsubsection
22378 Información de revisión
22379 \end_layout
22380
22381 \begin_layout Standard
22382 \SpecialChar LyX
22383  soporta información de número de versión,
22384  autor,
22385  fecha y hora del último ingreso.
22386  Se obtienen de 
22387 \family typewriter
22388 rlog -r <nombre-archivo>
22389 \family default
22390 .
22391  Véase 
22392 \begin_inset CommandInset ref
22393 LatexCommand ref
22394 reference "subsec:VCS-Información-de-revisión"
22395 nolink "false"
22396
22397 \end_inset
22398
22399  para detalles.
22400 \end_layout
22401
22402 \begin_layout Subsection
22403 Comandos CVS en \SpecialChar LyX
22404
22405 \end_layout
22406
22407 \begin_layout Standard
22408 Ahora \SpecialChar LyX
22409  soporta un subconjunto de operaciones CVS.
22410  Puedes ver los comandos en el submenú 
22411 \family sans
22412 Archivo\SpecialChar menuseparator
22413 Control de versiones
22414 \family default
22415 .
22416  El sistema de control de versiones SVN es más poderoso,
22417  por lo que úsalo en lugar de CVS,
22418  si es posible.
22419 \end_layout
22420
22421 \begin_layout Subsubsection
22422 Uso general de CVS
22423 \end_layout
22424
22425 \begin_layout Standard
22426 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la copia de trabajo con herramientas externas.
22427  Si usas una configuración cliente-servidor puedes necesitar registrarte antes de hacer la primera reserva en el repositorio.
22428 \end_layout
22429
22430 \begin_layout Standard
22431 Si tus documentos están bajo control de revisión y otros usan el mismo repositorio surgen problemas cuando se hacen cambios en el mismo documento y en el mismo lugar.
22432  Los repositorios estándar CVS no operan con bloqueo de archivos.
22433  Esto puede sorprender,
22434  pero los conflictos solo suceden si la gente discrepa sobre el adecuado contenido de la misma parte de un documento.
22435  Por tanto,
22436  si los colaboradores acostumbran a comunicarse regularmente,
22437  los conflictos ocurren raramente.
22438  Si no se comunican,
22439  tienen un problema fundamental de todos modos.
22440  Con todo,
22441  algunos prefieren trabajar con las denominadas 
22442 \begin_inset Quotes cld
22443 \end_inset
22444
22445 reservas reservadas
22446 \begin_inset Quotes crd
22447 \end_inset
22448
22449 .
22450  Si lo hacen así,
22451  la copia de trabajo de todos los archivos es de solo lectura cuando reservan primero y el usuario comienza la edición después de usar un comando especial para hacer posible la escritura en la copia de trabajo.
22452  Cuando los cambios son liberados la copia de trabajo vuelve al estado solo lectura.
22453  Con \SpecialChar LyX
22454 ,
22455  uno debe editar el archivo 
22456 \begin_inset Flex Code
22457 status collapsed
22458
22459 \begin_layout Plain Layout
22460 .cvsrc
22461 \end_layout
22462
22463 \end_inset
22464
22465  y añadir la línea 
22466 \begin_inset Flex Code
22467 status collapsed
22468
22469 \begin_layout Plain Layout
22470 cvs -r
22471 \end_layout
22472
22473 \end_inset
22474
22475  para trabajar con 
22476 \begin_inset Quotes cld
22477 \end_inset
22478
22479 reservas reservadas
22480 \begin_inset Quotes crd
22481 \end_inset
22482
22483 .
22484  El beneficio es la posibilidad de ver quién está usando una copia con acceso a escritura de algún documento.
22485  No está garantizado que solo un usuario hace copias con permiso de escritura.
22486 \end_layout
22487
22488 \begin_layout Standard
22489 \SpecialChar LyX
22490  intenta averiguar si estás usando reservas reservadas o no.
22491  Si la copia de trabajo es solo lectura asume que es reservada,
22492  si admite escritura y una copia adicional del documento existe en el subdirectorio CVS/Base,
22493  asume que es no reservada.
22494  Si se detecta una reservada debes usar 
22495 \begin_inset Flex Noun
22496 status collapsed
22497
22498 \begin_layout Plain Layout
22499 Reservar
22500 \end_layout
22501
22502 \end_inset
22503
22504  para poder escribir en ella.
22505  Después de hacerlo,
22506  la operación 
22507 \begin_inset Flex Noun
22508 status collapsed
22509
22510 \begin_layout Plain Layout
22511 Liberar
22512 \end_layout
22513
22514 \end_inset
22515
22516  es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura después de transferir los cambios al repositorio.
22517 \end_layout
22518
22519 \begin_layout Standard
22520 Más información sobre CVS se puede encontrar en 
22521 \begin_inset Flex URL
22522 status collapsed
22523
22524 \begin_layout Plain Layout
22525
22526 http://www.nongnu.org/cvs
22527 \end_layout
22528
22529 \end_inset
22530
22531  y en 
22532 \begin_inset Flex URL
22533 status collapsed
22534
22535 \begin_layout Plain Layout
22536
22537 http://ximbiot.com/cvs
22538 \end_layout
22539
22540 \end_inset
22541
22542 .
22543 \end_layout
22544
22545 \begin_layout Standard
22546 Consulta 
22547 \begin_inset Flex Code
22548 status collapsed
22549
22550 \begin_layout Plain Layout
22551 man cvs
22552 \end_layout
22553
22554 \end_inset
22555
22556  para comprender los sub-comandos y conmutadores mencionados abajo.
22557 \end_layout
22558
22559 \begin_layout Subsubsection
22560 Registrar
22561 \end_layout
22562
22563 \begin_layout Standard
22564 Si el documento no está bajo control de revisión,
22565  este es el único ítem mostrado en el menú.
22566  Y si está bajo control de revisión,
22567  el ítem
22568 \family sans
22569  
22570 \begin_inset Flex Noun
22571 status collapsed
22572
22573 \begin_layout Plain Layout
22574
22575 \family sans
22576 Registrar
22577 \end_layout
22578
22579 \end_inset
22580
22581
22582 \family default
22583  no está visible.
22584 \end_layout
22585
22586 \begin_layout Standard
22587 Este comando registra tu documento en CVS 
22588 \begin_inset Flex Emph
22589 status collapsed
22590
22591 \begin_layout Plain Layout
22592 \begin_inset Flex Strong
22593 status collapsed
22594
22595 \begin_layout Plain Layout
22596 solo
22597 \end_layout
22598
22599 \end_inset
22600
22601
22602 \end_layout
22603
22604 \end_inset
22605
22606  en el caso de que ya tengas el directorio de documentos bajo control CVS (en particular,
22607  existe el archivo 
22608 \family typewriter
22609 CVS/Entries
22610 \family default
22611 ).
22612  Esto significa que debes crear o reservar el archivo por ti mismo usando herramientas externas.
22613  (En caso de olvidar este paso,
22614  \SpecialChar LyX
22615  registra el documento con RCS).
22616 \end_layout
22617
22618 \begin_layout Standard
22619 Después se te pide interactivamente una descripción inicial del documento.
22620  No olvides que el archivo registrado todavía no está liberado.
22621 \end_layout
22622
22623 \begin_layout Standard
22624 El comando CVS que es ejecutado:
22625  
22626 \family typewriter
22627 cvs -q add -m
22628 \begin_inset Quotes erd
22629 \end_inset
22630
22631 <entered message>" 
22632 \begin_inset Quotes eld
22633 \end_inset
22634
22635 <file-name>
22636 \begin_inset Quotes erd
22637 \end_inset
22638
22639
22640 \end_layout
22641
22642 \begin_layout Standard
22643 El término 
22644 \family typewriter
22645
22646 \begin_inset Quotes eld
22647 \end_inset
22648
22649 <file-name>
22650 \begin_inset Quotes erd
22651 \end_inset
22652
22653
22654 \family default
22655  anterior y en todos los demás comandos CVS es una abreviación para 
22656 \begin_inset Quotes cld
22657 \end_inset
22658
22659 cambiar el directorio de trabajo actual a la ubicación del archivo y usa el nombre de archivo sin el componente ruta como argumento
22660 \begin_inset Quotes crd
22661 \end_inset
22662
22663 .
22664 \end_layout
22665
22666 \begin_layout Subsubsection
22667 Liberar cambios
22668 \end_layout
22669
22670 \begin_layout Standard
22671 Cuando has terminado de editar un archivo se ingresan los cambios.
22672  Al hacerlo se te pide una descripción de los mismos.
22673  Después,
22674  los cambios son escritos en el repositorio.
22675  En caso de que no hayas cambiado el documento y se detecte una copia reservada se deshace la reserva hecha con 
22676 \begin_inset Flex Noun
22677 status collapsed
22678
22679 \begin_layout Plain Layout
22680 Reservar
22681 \end_layout
22682
22683 \end_inset
22684
22685 .
22686 \end_layout
22687
22688 \begin_layout Labeling
22689 \labelwidthstring 00.00.0000
22690 Comandos
22691 \begin_inset space ~
22692 \end_inset
22693
22694 CVS:
22695  
22696 \begin_inset space ~
22697 \end_inset
22698
22699
22700 \begin_inset Newline newline
22701 \end_inset
22702
22703
22704 \family typewriter
22705
22706 \begin_inset Flex Code
22707 status collapsed
22708
22709 \begin_layout Plain Layout
22710
22711 \family typewriter
22712 cvs -q commit -m"<description>" <file-name>
22713 \end_layout
22714
22715 \end_inset
22716
22717  
22718 \family default
22719 o
22720 \begin_inset Newline newline
22721 \end_inset
22722
22723
22724 \begin_inset Flex Code
22725 status collapsed
22726
22727 \begin_layout Plain Layout
22728 cvs -q unedit "<file-name>"
22729 \end_layout
22730
22731 \end_inset
22732
22733
22734 \end_layout
22735
22736 \begin_layout Subsubsection
22737 Reservar cambios
22738 \end_layout
22739
22740 \begin_layout Standard
22741 Cuando estás compartiendo un repositorio con otros,
22742  puede que tengas que incorporar sus cambios en tu copia de trabajo.
22743 \end_layout
22744
22745 \begin_layout Standard
22746 Comando CVS:
22747  
22748 \family typewriter
22749 cvs -q update "<file-name>"
22750 \end_layout
22751
22752 \begin_layout Standard
22753 Si se detecta una reserva solo lectura la copia se hace reservada y accesible a escritura.
22754 \end_layout
22755
22756 \begin_layout Standard
22757 Comando CVS:
22758  
22759 \family typewriter
22760 cvs -q edit "<file-name>"
22761 \end_layout
22762
22763 \begin_layout Subsubsection
22764 Volver a la versión del repositorio
22765 \end_layout
22766
22767 \begin_layout Standard
22768 Esto descartará todos los cambios hechos en el documento desde la última liberación.
22769  Recibes un mensaje de aviso antes de descartar los cambios.
22770  Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
22771
22772 \family typewriter
22773  
22774 \end_layout
22775
22776 \begin_layout Standard
22777 Comando CVS:
22778  
22779 \family typewriter
22780 cvs -q update 
22781 \begin_inset Quotes eld
22782 \end_inset
22783
22784 <file-name>
22785 \begin_inset Quotes erd
22786 \end_inset
22787
22788
22789 \end_layout
22790
22791 \begin_layout Standard
22792 Si se detecta una copia reservada y la copia de trabajo no tiene cambios solo se deshace la reserva.
22793 \end_layout
22794
22795 \begin_layout Standard
22796 Comando CVS:
22797  
22798 \family typewriter
22799 cvs -q unedit 
22800 \begin_inset Quotes eld
22801 \end_inset
22802
22803 <file-name>
22804 \begin_inset Quotes erd
22805 \end_inset
22806
22807
22808 \end_layout
22809
22810 \begin_layout Subsubsection
22811 Copiar
22812 \end_layout
22813
22814 \begin_layout Standard
22815 Creará una copia del documento actual.
22816  Como CVS no soporta de forma nativa operaciones de copia,
22817  el historial de versiones no se preserva y la copia se añade como archivo nuevo.
22818  Requiere un documento limpio sin ningún cambio desde la última liberación.
22819  Pedirá un nombre de archivo y una descripción de la operación de copia.
22820  Después se crea la copia localmente y en el repositorio.
22821  Si los directorios padre de los documentos original y copiado difieren,
22822  se ajustan todas las rutas relativas de los archivos incluidos en la copia (como en 
22823 \family sans
22824 Archivo\SpecialChar menuseparator
22825 Guardar como
22826 \family default
22827 \SpecialChar ldots
22828 ).
22829  Por último,
22830  se carga la copia en vez del documento original.
22831 \end_layout
22832
22833 \begin_layout Labeling
22834 \labelwidthstring 00.00.0000
22835 Comandos
22836 \begin_inset space ~
22837 \end_inset
22838
22839 CVS:
22840  
22841 \begin_inset space ~
22842 \end_inset
22843
22844
22845 \begin_inset Newline newline
22846 \end_inset
22847
22848 Copiar 
22849 \begin_inset Flex Code
22850 status collapsed
22851
22852 \begin_layout Plain Layout
22853
22854 \family typewriter
22855 \lang ngerman
22856 "
22857 \family default
22858 \lang spanish
22859 <file-name>
22860 \family typewriter
22861 \lang ngerman
22862 "
22863 \end_layout
22864
22865 \end_inset
22866
22867  a 
22868 \begin_inset Flex Code
22869 status collapsed
22870
22871 \begin_layout Plain Layout
22872
22873 \family typewriter
22874 \lang ngerman
22875 "
22876 \family default
22877 \lang spanish
22878 <new-file-name>
22879 \family typewriter
22880 \lang ngerman
22881 "
22882 \end_layout
22883
22884 \end_inset
22885
22886
22887 \begin_inset Newline newline
22888 \end_inset
22889
22890
22891 \begin_inset Flex Code
22892 status collapsed
22893
22894 \begin_layout Plain Layout
22895 cvs -q add 
22896 \family typewriter
22897 \lang ngerman
22898 "
22899 \family default
22900 \lang spanish
22901 <new-file-name>
22902 \family typewriter
22903 \lang ngerman
22904 "
22905 \end_layout
22906
22907 \end_inset
22908
22909
22910 \end_layout
22911
22912 \begin_layout Subsubsection
22913 Renombrar
22914 \end_layout
22915
22916 \begin_layout Standard
22917 Este comando renombra el documento actual.
22918  Como CVS no soporta de forma nativa operaciones de renombrado,
22919  el historial de versiones no se preserva,
22920  el documento renombrado se añade como archivo nuevo y el original se borra.
22921  Requiere un documento limpio sin ningún cambio desde la última liberación.
22922  Pedirá un nombre de archivo y una descripción de la operación.
22923  Después el documento se renombra localmente y en el repositorio.
22924  Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
22925  se ajustan todas las rutas relativas de los archivos incluidos (como en 
22926 \family sans
22927 Archivo\SpecialChar menuseparator
22928 Guardar como
22929 \family default
22930 \SpecialChar ldots
22931 ).
22932  Por último,
22933  se recarga el documento con el nuevo nombre.
22934 \end_layout
22935
22936 \begin_layout Labeling
22937 \labelwidthstring 00.00.0000
22938 Comandos
22939 \begin_inset space ~
22940 \end_inset
22941
22942 CVS:
22943  
22944 \begin_inset space ~
22945 \end_inset
22946
22947
22948 \begin_inset Newline newline
22949 \end_inset
22950
22951 Renombrar 
22952 \begin_inset Flex Code
22953 status collapsed
22954
22955 \begin_layout Plain Layout
22956
22957 \family typewriter
22958 \lang ngerman
22959 "
22960 \family default
22961 \lang spanish
22962 <file-name>
22963 \family typewriter
22964 \lang ngerman
22965 "
22966 \end_layout
22967
22968 \end_inset
22969
22970  a 
22971 \begin_inset Flex Code
22972 status collapsed
22973
22974 \begin_layout Plain Layout
22975
22976 \family typewriter
22977 \lang ngerman
22978 "
22979 \family default
22980 \lang spanish
22981 <new-file-name>
22982 \family typewriter
22983 \lang ngerman
22984 "
22985 \end_layout
22986
22987 \end_inset
22988
22989
22990 \begin_inset Newline newline
22991 \end_inset
22992
22993
22994 \begin_inset Flex Code
22995 status collapsed
22996
22997 \begin_layout Plain Layout
22998 cvs -q add 
22999 \family typewriter
23000 \lang ngerman
23001 "
23002 \family default
23003 \lang spanish
23004 <new-file-name>
23005 \family typewriter
23006 \lang ngerman
23007 "
23008 \end_layout
23009
23010 \end_inset
23011
23012
23013 \begin_inset Newline newline
23014 \end_inset
23015
23016
23017 \begin_inset Flex Code
23018 status collapsed
23019
23020 \begin_layout Plain Layout
23021 cvs -q remove 
23022 \family typewriter
23023 \lang ngerman
23024 "
23025 \family default
23026 \lang spanish
23027 <file-name>
23028 \family typewriter
23029 \lang ngerman
23030 "
23031 \end_layout
23032
23033 \end_inset
23034
23035
23036 \end_layout
23037
23038 \begin_layout Subsubsection
23039 Actualizar la reserva del directorio local desde el repositorio
23040 \end_layout
23041
23042 \begin_layout Standard
23043 Conforme tus documentos son más complejos,
23044  conteniendo sub-documentos y figuras e incluyendo archivos externos 
23045 \family typewriter
23046 .tex
23047 \family default
23048  y demás,
23049  el uso de control de versiones se hace más complejo.
23050  \SpecialChar LyX
23051  soporta la actualización del árbol completo en el que reside el documento.
23052  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
23053  Tienes que organizar la estructura de archivos para que los archivos externos residan en el mismo directorio o subdirectorio del documento.
23054  Es una buena práctica de todos modos almacenar los documentos multi-parte en un directorio extra.
23055 \end_layout
23056
23057 \begin_layout Standard
23058 El comando 
23059 \begin_inset Flex Code
23060 status collapsed
23061
23062 \begin_layout Plain Layout
23063 Actualizar directorio local desde el repositorio
23064 \end_layout
23065
23066 \end_inset
23067
23068  actualiza el directorio completo.
23069  Si se detectan cambios locales el usuario es advertido antes de iniciar la actualización.
23070  En caso de conflictos en la fusión ambas versiones de las partes conflictivas se sitúan al final del documento.
23071  Debes revisar y corregir el resultado de la fusión.
23072  Los conflictos los verás encerrados entre pares de 
23073 \begin_inset Flex Code
23074 status collapsed
23075
23076 \begin_layout Plain Layout
23077 <<<<<<<
23078 \end_layout
23079
23080 \end_inset
23081
23082  y 
23083 \begin_inset Flex Code
23084 status collapsed
23085
23086 \begin_layout Plain Layout
23087 >>>>>>>
23088 \end_layout
23089
23090 \end_inset
23091
23092  separados por 
23093 \begin_inset Flex Code
23094 status collapsed
23095
23096 \begin_layout Plain Layout
23097 =======
23098 \end_layout
23099
23100 \end_inset
23101
23102 .
23103  La parte primera es tu versión antes de la operación de actualización con pecedida del nombre del documento.
23104  La segunda es la versión del repositorio con el número de la versión tras la secuencia de signos 
23105 \begin_inset Flex Code
23106 status collapsed
23107
23108 \begin_layout Plain Layout
23109 >
23110 \end_layout
23111
23112 \end_inset
23113
23114 .
23115 \end_layout
23116
23117 \begin_layout Labeling
23118 \labelwidthstring 00.00.0000
23119 Comandos
23120 \begin_inset space ~
23121 \end_inset
23122
23123 CVS:
23124  
23125 \begin_inset space ~
23126 \end_inset
23127
23128
23129 \begin_inset Newline newline
23130 \end_inset
23131
23132
23133 \begin_inset Flex Code
23134 status collapsed
23135
23136 \begin_layout Plain Layout
23137 cd $path;
23138  cvs diff "."
23139 \end_layout
23140
23141 \end_inset
23142
23143  (Para ver si se detectan cambios)
23144 \begin_inset Newline newline
23145 \end_inset
23146
23147
23148 \begin_inset Flex Code
23149 status collapsed
23150
23151 \begin_layout Plain Layout
23152 cd $path;
23153  cvs -q update "."
23154 \end_layout
23155
23156 \end_inset
23157
23158
23159 \end_layout
23160
23161 \begin_layout Standard
23162 donde 
23163 \begin_inset Flex Code
23164 status collapsed
23165
23166 \begin_layout Plain Layout
23167 $path
23168 \end_layout
23169
23170 \end_inset
23171
23172  es la ruta al documento.
23173 \end_layout
23174
23175 \begin_layout Subsubsection
23176 Mostrar historial
23177 \end_layout
23178
23179 \begin_layout Standard
23180 Muestra el historial completo del documento CVS.
23181  La salida de
23182 \begin_inset Newline newline
23183 \end_inset
23184
23185
23186 \family typewriter
23187 cvs log 
23188 \begin_inset Quotes eld
23189 \end_inset
23190
23191 <file-name>
23192 \family default
23193
23194 \begin_inset Quotes erd
23195 \end_inset
23196
23197  se muestra en un buscador.
23198 \end_layout
23199
23200 \begin_layout Subsubsection
23201 Información de la revisión
23202 \end_layout
23203
23204 \begin_layout Standard
23205 \SpecialChar LyX
23206  soporta número de versión CVS,
23207  nombre de autor,
23208  fecha y hora del último ingreso.
23209  Toda esta información se obtiene de
23210 \family typewriter
23211  cvs log -r <file-name>
23212 \family default
23213 .
23214  Véase 
23215 \begin_inset CommandInset ref
23216 LatexCommand ref
23217 reference "subsec:VCS-Información-de-revisión"
23218 nolink "false"
23219
23220 \end_inset
23221
23222  para detalles.
23223 \end_layout
23224
23225 \begin_layout Subsection
23226 Comandos SVN en Lyx
23227 \end_layout
23228
23229 \begin_layout Standard
23230 Ahora \SpecialChar LyX
23231  soporta parcialmente SVN.
23232  Puedes encontrar los comandos en el submenú 
23233 \family sans
23234 Archivo\SpecialChar menuseparator
23235 Control de versiones
23236 \family default
23237 .
23238  Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio vía ssh,
23239  se te pedirá en una ventana de terminal.
23240  \SpecialChar LyX
23241  se ha probado con SVN 1.5 y 1.6.
23242 \begin_inset Foot
23243 status open
23244
23245 \begin_layout Plain Layout
23246 La mayoría de los comandos funcionarán también con 1.4,
23247  véase 
23248 \begin_inset CommandInset ref
23249 LatexCommand ref
23250 reference "subsec:SVN-Actualizar-el-directorio"
23251 nolink "false"
23252
23253 \end_inset
23254
23255
23256 \end_layout
23257
23258 \end_inset
23259
23260
23261 \end_layout
23262
23263 \begin_layout Subsubsection
23264 Registrar
23265 \end_layout
23266
23267 \begin_layout Standard
23268 Si tu documento no está bajo control de revisión este es el único ítem mostrado en el menú.
23269  Y si está bajo control de revisión,
23270  el ítem 
23271 \family sans
23272 Registrar
23273 \family default
23274  no está visible.
23275 \end_layout
23276
23277 \begin_layout Standard
23278 Este comando registra tu documento en SVN 
23279 \series bold
23280 \emph on
23281 solo
23282 \series default
23283 \emph default
23284  en el caso de que ya tengas el directorio de documentos bajo control SVN ( en particular,
23285  existe el archivo 
23286 \family typewriter
23287 .svn/entries
23288 \family default
23289 ).
23290  Esto significa que debes reservar el archivo por ti mismo.
23291 \end_layout
23292
23293 \begin_layout Standard
23294 Después se te pide interactivamente una descripción inicial del documento.
23295  No olvides que el archivo registrado todavía no es definitivo.
23296 \end_layout
23297
23298 \begin_layout Standard
23299 El comando SVN que es ejecutado:
23300  
23301 \family typewriter
23302 snv add -q 
23303 \lang english
23304
23305 \begin_inset Quotes qld
23306 \end_inset
23307
23308
23309 \lang spanish
23310 <file-name>
23311 \lang english
23312
23313 \begin_inset Quotes qld
23314 \end_inset
23315
23316
23317 \end_layout
23318
23319 \begin_layout Standard
23320 Lee 
23321 \family typewriter
23322 man svn
23323 \family default
23324  para comprender las alternativas.
23325 \end_layout
23326
23327 \begin_layout Subsubsection
23328 Liberar cambios
23329 \end_layout
23330
23331 \begin_layout Standard
23332 Cuando has terminado de editar un archivo,
23333  ingresas los cambios.
23334  Al hacerlo se te pide una descripción de los mismos.
23335  Después,
23336  los cambios son ingresados.
23337 \end_layout
23338
23339 \begin_layout Standard
23340 Comando SVN:
23341 \begin_inset Foot
23342 status collapsed
23343
23344 \begin_layout Plain Layout
23345 En el caso de que el bloqueo no esté habilitado.
23346  Véase la sección 
23347 \begin_inset CommandInset ref
23348 LatexCommand ref
23349 reference "subsec:SVN-Bloqueo-de-archivos"
23350 nolink "false"
23351
23352 \end_inset
23353
23354 .
23355 \end_layout
23356
23357 \end_inset
23358
23359  
23360 \family typewriter
23361 svn commit -q -m"<description>" <file-name>
23362 \end_layout
23363
23364 \begin_layout Subsubsection
23365 Reservar para edición
23366 \end_layout
23367
23368 \begin_layout Standard
23369 Actualiza los cambios de este archivo desde el repositorio.
23370  Asegúrate de que comprendes la mezcla y la resolución de conflictos de SVN antes de usar esta función,
23371  porque ¡todos los conflictos debes resolverlos tú mismo a mano!
23372 \end_layout
23373
23374 \begin_layout Standard
23375 Comando SVN:
23376 \begin_inset Foot
23377 status collapsed
23378
23379 \begin_layout Plain Layout
23380 Ídem.
23381 \end_layout
23382
23383 \end_inset
23384
23385  
23386 \family typewriter
23387 svn update 
23388 \family default
23389
23390 \begin_inset Flex Code
23391 status collapsed
23392
23393 \begin_layout Plain Layout
23394 --non-interactive 
23395 \lang english
23396
23397 \begin_inset Quotes qld
23398 \end_inset
23399
23400
23401 \lang spanish
23402 <file-name>
23403 \lang english
23404
23405 \begin_inset Quotes qld
23406 \end_inset
23407
23408
23409 \end_layout
23410
23411 \end_inset
23412
23413
23414 \end_layout
23415
23416 \begin_layout Subsubsection
23417 Volver a la versión del repositorio
23418 \end_layout
23419
23420 \begin_layout Standard
23421 Esto descartará todos los cambios hechos en el documento desde la última liberación de cambios.
23422  Recibes un mensaje de aviso antes de descartar los cambios.
23423 \end_layout
23424
23425 \begin_layout Standard
23426 Comando SVN:
23427  
23428 \family typewriter
23429 svn revert -q 
23430 \lang english
23431
23432 \begin_inset Quotes qld
23433 \end_inset
23434
23435
23436 \lang spanish
23437 <file-name>
23438 \lang english
23439
23440 \begin_inset Quotes qld
23441 \end_inset
23442
23443
23444 \end_layout
23445
23446 \begin_layout Subsubsection
23447 Copiar
23448 \end_layout
23449
23450 \begin_layout Standard
23451 Creará una copia del documento actual incluyendo el historial de versiones.
23452  Requiere un documento limpio sin ningún cambio desde la última liberación.
23453  Pedirá un nombre de archivo y una descripción de la operación de copia.
23454  Después se crea la copia localmente y en el repositorio.
23455  Si los directorios padre de los documentos original y copiado difieren,
23456  se ajustan todas las rutas relativas de los archivos incluidos de la copia (como en 
23457 \family sans
23458 Archivo\SpecialChar menuseparator
23459 Guardar como
23460 \family default
23461 \SpecialChar ldots
23462 ).
23463  Por último,
23464  se carga la copia en vez del documento original
23465 \end_layout
23466
23467 \begin_layout Labeling
23468 \labelwidthstring 00.00.0000
23469 Comandos
23470 \begin_inset space ~
23471 \end_inset
23472
23473 SVN:
23474  
23475 \begin_inset space ~
23476 \end_inset
23477
23478
23479 \begin_inset Newline newline
23480 \end_inset
23481
23482
23483 \begin_inset Flex Code
23484 status collapsed
23485
23486 \begin_layout Plain Layout
23487 svn copy -q 
23488 \family typewriter
23489 \lang english
23490
23491 \begin_inset Quotes qld
23492 \end_inset
23493
23494
23495 \family default
23496 \lang spanish
23497 <file-name>
23498 \family typewriter
23499 \lang english
23500
23501 \begin_inset Quotes qld
23502 \end_inset
23503
23504
23505 \family default
23506 \lang spanish
23507  
23508 \family typewriter
23509 \lang english
23510
23511 \begin_inset Quotes qld
23512 \end_inset
23513
23514
23515 \family default
23516 \lang spanish
23517 <new-file-name>
23518 \family typewriter
23519 \lang english
23520
23521 \begin_inset Quotes qld
23522 \end_inset
23523
23524
23525 \end_layout
23526
23527 \end_inset
23528
23529
23530 \begin_inset Newline newline
23531 \end_inset
23532
23533
23534 \begin_inset Flex Code
23535 status collapsed
23536
23537 \begin_layout Plain Layout
23538 svn commit
23539 \end_layout
23540
23541 \end_inset
23542
23543
23544 \end_layout
23545
23546 \begin_layout Subsubsection
23547 Renombrar
23548 \end_layout
23549
23550 \begin_layout Standard
23551 Renombrará el documento actual incluyendo el historial de versiones.
23552  Requiere un documento limpio sin ningún cambio desde la última liberación.
23553  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
23554  Después se renombra el documento localmente y en el repositorio.
23555  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
23556  se ajustan todas las rutas relativas de los archivos incluidos (como en 
23557 \family sans
23558 Archivo\SpecialChar menuseparator
23559 Guardar como
23560 \family default
23561 \SpecialChar ldots
23562 ).
23563  Por último,
23564  se recarga el documento con su nuevo nombre.
23565 \end_layout
23566
23567 \begin_layout Labeling
23568 \labelwidthstring 00.00.0000
23569 Comandos
23570 \begin_inset space ~
23571 \end_inset
23572
23573 SVN:
23574  
23575 \begin_inset space ~
23576 \end_inset
23577
23578
23579 \begin_inset Newline newline
23580 \end_inset
23581
23582
23583 \begin_inset Flex Code
23584 status collapsed
23585
23586 \begin_layout Plain Layout
23587 svn move -q 
23588 \family typewriter
23589 \lang english
23590
23591 \begin_inset Quotes qld
23592 \end_inset
23593
23594
23595 \family default
23596 \lang spanish
23597 <file-name>
23598 \family typewriter
23599 \lang english
23600
23601 \begin_inset Quotes qld
23602 \end_inset
23603
23604
23605 \family default
23606 \lang spanish
23607  
23608 \family typewriter
23609 \lang english
23610
23611 \begin_inset Quotes qld
23612 \end_inset
23613
23614
23615 \family default
23616 \lang spanish
23617 <new-file-name>
23618 \family typewriter
23619 \lang english
23620
23621 \begin_inset Quotes qld
23622 \end_inset
23623
23624
23625 \end_layout
23626
23627 \end_inset
23628
23629
23630 \begin_inset Newline newline
23631 \end_inset
23632
23633
23634 \begin_inset Flex Code
23635 status collapsed
23636
23637 \begin_layout Plain Layout
23638 svn commit
23639 \end_layout
23640
23641 \end_inset
23642
23643
23644 \end_layout
23645
23646 \begin_layout Subsubsection
23647 Actualizar la reserva del directorio local desde el repositio
23648 \begin_inset Foot
23649 status open
23650
23651 \begin_layout Plain Layout
23652 Ten en cuenta que este comando solo funcionará con 
23653 \begin_inset Formula $\geqq1.5$
23654 \end_inset
23655
23656
23657 \end_layout
23658
23659 \end_inset
23660
23661
23662 \begin_inset CommandInset label
23663 LatexCommand label
23664 name "subsec:SVN-Actualizar-el-directorio"
23665
23666 \end_inset
23667
23668
23669 \end_layout
23670
23671 \begin_layout Standard
23672 Todos los comandos anteriores tienen un defecto:
23673  solo negocian con el documento actual.
23674  Una vez que el documento contiene figuras,
23675  archivos externos 
23676 \family typewriter
23677 .tex
23678 \family default
23679 ,
23680  etc.,
23681  su administración se hace más complicada.
23682  Ahora \SpecialChar LyX
23683  soporta la actualización del árbol completo en el que reside el documento.
23684 \begin_inset Foot
23685 status open
23686
23687 \begin_layout Plain Layout
23688 Hay que organizar la estructura de archivos de modo que todos los archivos externos estén en el mismo directorio o subdirectorios del documento.
23689 \end_layout
23690
23691 \end_inset
23692
23693  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
23694 \end_layout
23695
23696 \begin_layout Standard
23697 El comando 
23698 \begin_inset Flex Code
23699 status collapsed
23700
23701 \begin_layout Plain Layout
23702 Actualizar directorio local desde el repositorio
23703 \end_layout
23704
23705 \end_inset
23706
23707  actualiza el directorio completo y en caso de conflictos con la mezcla se deja la versión local de los archivos,
23708  para que no haya pérdida indeseada de datos.
23709  Si se detectan cambios locales se avisa al usuario antes de iniciar la actualización.
23710 \end_layout
23711
23712 \begin_layout Labeling
23713 \labelwidthstring 00.00.0000
23714 Comandos
23715 \begin_inset space ~
23716 \end_inset
23717
23718 SVN:
23719  
23720 \begin_inset space ~
23721 \end_inset
23722
23723
23724 \begin_inset Newline newline
23725 \end_inset
23726
23727
23728 \begin_inset Flex Code
23729 status collapsed
23730
23731 \begin_layout Plain Layout
23732 svn diff $path
23733 \end_layout
23734
23735 \end_inset
23736
23737  (Para ver si se detectan cambios.)
23738 \begin_inset Newline newline
23739 \end_inset
23740
23741
23742 \begin_inset Flex Code
23743 status collapsed
23744
23745 \begin_layout Plain Layout
23746 svn update --accept mine-full $path
23747 \end_layout
23748
23749 \end_inset
23750
23751
23752 \end_layout
23753
23754 \begin_layout Standard
23755 donde 
23756 \family typewriter
23757 $path
23758 \family default
23759  es la ruta al documento.
23760 \end_layout
23761
23762 \begin_layout Subsubsection
23763 Mostrar historial
23764 \end_layout
23765
23766 \begin_layout Standard
23767 Muestra el historial completo del documento SVN.
23768  La salida de
23769 \begin_inset Newline newline
23770 \end_inset
23771
23772
23773 \family typewriter
23774 svn log 
23775 \lang english
23776
23777 \begin_inset Quotes qld
23778 \end_inset
23779
23780
23781 \lang spanish
23782 <file-name>
23783 \lang english
23784
23785 \begin_inset Quotes qld
23786 \end_inset
23787
23788
23789 \family default
23790 \lang spanish
23791  se muestra en un buscador.
23792 \end_layout
23793
23794 \begin_layout Subsubsection
23795 Bloqueo de archivos
23796 \begin_inset CommandInset label
23797 LatexCommand label
23798 name "subsec:SVN-Bloqueo-de-archivos"
23799
23800 \end_inset
23801
23802
23803 \end_layout
23804
23805 \begin_layout Standard
23806 El intercambio de archivos entre varios sistemas de control de revisiones tiene el problema de conflictos en las fusiones en el caso de que dos usuarios intenten editar el mismo documento (o partes de él).
23807  Cuando sucede un conflicto requiere una solución manual,
23808  y una alternativa razonable es proveer algún tipo de mecanismo de bloqueo que garantice que solo un usuario pueda editar el archivo al mismo tiempo.
23809 \end_layout
23810
23811 \begin_layout Standard
23812 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca en el acceso a archivos,
23813
23814 \lang english
23815  –
23816 \lang spanish
23817 bloqueos y configuración automática de permisos de escritura (véase la sec.
23818 \begin_inset space ~
23819 \end_inset
23820
23821
23822 \begin_inset CommandInset ref
23823 LatexCommand ref
23824 reference "subsec:SVN-Bloqueo-automático"
23825 nolink "false"
23826
23827 \end_inset
23828
23829 ),
23830  basados en la propiedad de los archivos svn 
23831 \begin_inset Flex Code
23832 status collapsed
23833
23834 \begin_layout Plain Layout
23835 svn:needs-lock
23836 \end_layout
23837
23838 \end_inset
23839
23840 .
23841 \begin_inset Foot
23842 status collapsed
23843
23844 \begin_layout Plain Layout
23845 \begin_inset CommandInset href
23846 LatexCommand href
23847 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
23848 literal "false"
23849
23850 \end_inset
23851
23852
23853 \end_layout
23854
23855 \end_inset
23856
23857  Si esta propiedad se detecta para determinado documento,
23858  \SpecialChar LyX
23859  empieza automáticamente a usar bloqueo SVN para la edición del documento,
23860  y el mecanismo completo de liberación/reserva conmuta al mismo régimen que para RCS.
23861  En particular,
23862  esto quiere decir que hay dos modos diferentes de uso archivos en \SpecialChar LyX
23863 :
23864 \end_layout
23865
23866 \begin_layout Itemize
23867 Estado no bloqueado.
23868  El archivo cargado está en modo solo lectura.
23869  Para editar hay que reservar.
23870  
23871 \emph on
23872 Reservar
23873 \emph default
23874  consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
23875  Si no es posible obtener el bloqueo permanece el estado no bloquedo.
23876 \end_layout
23877
23878 \begin_layout Itemize
23879 Estado bloqueado.
23880  El archivo cargado está en modo 
23881 \begin_inset Quotes cld
23882 \end_inset
23883
23884 normal
23885 \begin_inset Quotes crd
23886 \end_inset
23887
23888  de edición.
23889  Ningún otro usuario tiene permiso para editar el archivo.
23890  
23891 \emph on
23892 Liberar
23893 \emph default
23894  consiste en ingresar los cambios y liberar el bloqueo de escritura.
23895  Si no se han hecho cambios en el documento,
23896  no se producirá ningún ingreso
23897 \begin_inset Foot
23898 status collapsed
23899
23900 \begin_layout Plain Layout
23901 No te extrañe si de todas formas se te pide un mensaje de ingreso.
23902 \end_layout
23903
23904 \end_inset
23905
23906  y solo se realizará el desbloqueo de escritura.
23907 \end_layout
23908
23909 \begin_layout Standard
23910 Comandos SVN:
23911 \end_layout
23912
23913 \begin_layout Labeling
23914 \labelwidthstring 00.00.0000
23915 Liberar:
23916
23917 \family typewriter
23918  svn commit -q -m"<description>" "<file-name>"
23919 \begin_inset Newline newline
23920 \end_inset
23921
23922 svn unlock "<file-name>"
23923 \end_layout
23924
23925 \begin_layout Labeling
23926 \labelwidthstring 00.00.0000
23927 Reservar
23928 \begin_inset Note Note
23929 status open
23930
23931 \begin_layout Plain Layout
23932 traduccion http://forum.wordreference.com/showthread.php?t=689994
23933 \end_layout
23934
23935 \end_inset
23936
23937 :
23938  
23939 \family typewriter
23940 svn update "<file-name>"
23941 \begin_inset Newline newline
23942 \end_inset
23943
23944 svn lock "<file-name>"
23945 \end_layout
23946
23947 \begin_layout Subsubsection
23948 Propiedad de bloqueo automático
23949 \begin_inset CommandInset label
23950 LatexCommand label
23951 name "subsec:SVN-Bloqueo-automático"
23952
23953 \end_inset
23954
23955
23956 \end_layout
23957
23958 \begin_layout Standard
23959 La configuración automática de los permisos de escritura del archivo .lyx se establece con 
23960 \begin_inset Flex Noun
23961 status collapsed
23962
23963 \begin_layout Plain Layout
23964 Archivo\SpecialChar menuseparator
23965 Control de versiones\SpecialChar menuseparator
23966 Use propiedad de bloqueo
23967 \end_layout
23968
23969 \end_inset
23970
23971 .
23972  Este comando está activo solo cuando el archivo no está bloqueado en el servidor svn (es decir,
23973  debes reservar antes de proceder).
23974 \end_layout
23975
23976 \begin_layout Labeling
23977 \labelwidthstring 00.00.0000
23978 Comandos
23979 \begin_inset space ~
23980 \end_inset
23981
23982 SVN:
23983 \end_layout
23984
23985 \begin_layout Labeling
23986 \labelwidthstring 00.00.0000
23987 Activar:
23988
23989 \family typewriter
23990  svn propset svn:needs-lock ON "<file-name>"
23991 \end_layout
23992
23993 \begin_layout Labeling
23994 \labelwidthstring 00.00.0000
23995 Desactivar:
23996  
23997 \family typewriter
23998 svn propdel svn:needs-lock "<file-name>"
23999 \end_layout
24000
24001 \begin_layout Subsubsection
24002 Información de revisión en documentos
24003 \begin_inset CommandInset label
24004 LatexCommand label
24005 name "subsec:VCS-Información-de-revisión"
24006
24007 \end_inset
24008
24009
24010 \end_layout
24011
24012 \begin_layout Standard
24013 Hay más posibilidades para activar la información de revisión en nuestro documento.
24014 \end_layout
24015
24016 \begin_layout Itemize
24017 \SpecialChar LyX
24018  lo soporta directamente.
24019 \end_layout
24020
24021 \begin_deeper
24022 \begin_layout Itemize
24023 Información de revisión del árbol (
24024 \begin_inset Flex Code
24025 status collapsed
24026
24027 \begin_layout Plain Layout
24028 vcs-tree-revision
24029 \end_layout
24030
24031 \end_inset
24032
24033 ).
24034  El resultado es la salida del comando 
24035 \begin_inset Flex Code
24036 status collapsed
24037
24038 \begin_layout Plain Layout
24039 svnversion
24040 \end_layout
24041
24042 \end_inset
24043
24044 ;
24045  el siguiente cuadro da una idea de la interpretación de los resultados.
24046 \end_layout
24047
24048 \begin_layout Standard
24049 \align center
24050 \begin_inset Tabular
24051 <lyxtabular version="3" rows="6" columns="2">
24052 <features tabularvalignment="middle">
24053 <column alignment="center" valignment="top">
24054 <column alignment="center" valignment="top">
24055 <row>
24056 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24057 \begin_inset Text
24058
24059 \begin_layout Plain Layout
24060 Salida
24061 \end_layout
24062
24063 \end_inset
24064 </cell>
24065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24066 \begin_inset Text
24067
24068 \begin_layout Plain Layout
24069 Significado
24070 \end_layout
24071
24072 \end_inset
24073 </cell>
24074 </row>
24075 <row>
24076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24077 \begin_inset Text
24078
24079 \begin_layout Plain Layout
24080 4123:4168
24081 \end_layout
24082
24083 \end_inset
24084 </cell>
24085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24086 \begin_inset Text
24087
24088 \begin_layout Plain Layout
24089 revisión mezclada de la copia de trabajo
24090 \end_layout
24091
24092 \end_inset
24093 </cell>
24094 </row>
24095 <row>
24096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24097 \begin_inset Text
24098
24099 \begin_layout Plain Layout
24100 4168M
24101 \end_layout
24102
24103 \end_inset
24104 </cell>
24105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24106 \begin_inset Text
24107
24108 \begin_layout Plain Layout
24109 copia de trabajo modificada
24110 \end_layout
24111
24112 \end_inset
24113 </cell>
24114 </row>
24115 <row>
24116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24117 \begin_inset Text
24118
24119 \begin_layout Plain Layout
24120 4123S
24121 \end_layout
24122
24123 \end_inset
24124 </cell>
24125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24126 \begin_inset Text
24127
24128 \begin_layout Plain Layout
24129 copia de trabajo conmutada
24130 \end_layout
24131
24132 \end_inset
24133 </cell>
24134 </row>
24135 <row>
24136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24137 \begin_inset Text
24138
24139 \begin_layout Plain Layout
24140 4123P
24141 \end_layout
24142
24143 \end_inset
24144 </cell>
24145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24146 \begin_inset Text
24147
24148 \begin_layout Plain Layout
24149 copia de trabajo parcial,
24150  de una reserva dispersa
24151 \end_layout
24152
24153 \end_inset
24154 </cell>
24155 </row>
24156 <row>
24157 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24158 \begin_inset Text
24159
24160 \begin_layout Plain Layout
24161 4123:4168MS
24162 \end_layout
24163
24164 \end_inset
24165 </cell>
24166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24167 \begin_inset Text
24168
24169 \begin_layout Plain Layout
24170 copia de trabajo de revisión mezclada,
24171  modificada,
24172  conmutada
24173 \end_layout
24174
24175 \end_inset
24176 </cell>
24177 </row>
24178 </lyxtabular>
24179
24180 \end_inset
24181
24182
24183 \end_layout
24184
24185 \begin_layout Itemize
24186 Información de revisión del archivo.
24187  El resultado del análisis de la salida de 
24188 \begin_inset Flex Code
24189 status collapsed
24190
24191 \begin_layout Plain Layout
24192 svn
24193 \begin_inset space ~
24194 \end_inset
24195
24196 info
24197 \begin_inset space ~
24198 \end_inset
24199
24200 --xml
24201 \begin_inset space ~
24202 \end_inset
24203
24204 file.lyx
24205 \end_layout
24206
24207 \end_inset
24208
24209 .
24210  Los argumentos soportados son:
24211 \end_layout
24212
24213 \begin_deeper
24214 \begin_layout Itemize
24215 número de versión del último ingreso (
24216 \begin_inset Flex Code
24217 status collapsed
24218
24219 \begin_layout Plain Layout
24220 vcs-revision
24221 \end_layout
24222
24223 \end_inset
24224
24225 )
24226 \end_layout
24227
24228 \begin_layout Itemize
24229 autordel último ingreso (
24230 \begin_inset Flex Code
24231 status collapsed
24232
24233 \begin_layout Plain Layout
24234 vcs-author
24235 \end_layout
24236
24237 \end_inset
24238
24239 )
24240 \end_layout
24241
24242 \begin_layout Itemize
24243 fecha del último ingreso (
24244 \begin_inset Flex Code
24245 status collapsed
24246
24247 \begin_layout Plain Layout
24248 vcs-date
24249 \end_layout
24250
24251 \end_inset
24252
24253 )
24254 \end_layout
24255
24256 \begin_layout Itemize
24257 hora del último ingreso (
24258 \begin_inset Flex Code
24259 status collapsed
24260
24261 \begin_layout Plain Layout
24262 vcs-time
24263 \end_layout
24264
24265 \end_inset
24266
24267 )
24268 \end_layout
24269
24270 \end_deeper
24271 \begin_layout Standard
24272 Puedes obtener esta información mediante InsetInfo (p.
24273 \begin_inset space \thinspace{}
24274 \end_inset
24275
24276 ej.
24277  
24278 \begin_inset Flex Code
24279 status collapsed
24280
24281 \begin_layout Plain Layout
24282 info-insert buffer vcs-date
24283 \end_layout
24284
24285 \end_inset
24286
24287 ).
24288  La información estará disponible solo cuando tengas el arvhivo almacenado bajo administración svn (es decir,
24289  el directorio 
24290 \begin_inset Flex Code
24291 status collapsed
24292
24293 \begin_layout Plain Layout
24294 .svn
24295 \end_layout
24296
24297 \end_inset
24298
24299  está disponible con tu documento).
24300 \end_layout
24301
24302 \end_deeper
24303 \begin_layout Itemize
24304 Otra posibilidad —
24305 de 
24306 \emph on
24307 hacker
24308 \emph default
24309
24310  es usar claves svn 
24311 \begin_inset Foot
24312 status collapsed
24313
24314 \begin_layout Plain Layout
24315 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
24316 \end_layout
24317
24318 \end_inset
24319
24320 .
24321  Estableces la propiedad de claves de archivo (p.
24322 \begin_inset space \thinspace{}
24323 \end_inset
24324
24325 ej.
24326  
24327 \family sans
24328 svn propset svn:keywords 'Rev' file.lyx
24329 \family default
24330 ) y luego pegas la clave en código \SpecialChar TeX
24331
24332 \begin_inset Foot
24333 status collapsed
24334
24335 \begin_layout Plain Layout
24336 Esta es una manera fácil de asegurar que \SpecialChar LyX
24337  no quiebre la línea en mitad de la clave.
24338 \end_layout
24339
24340 \end_inset
24341
24342  en tu documento (p.
24343 \begin_inset space \thinspace{}
24344 \end_inset
24345
24346 ej.
24347  
24348 \lang english
24349
24350 \begin_inset Flex Code
24351 status collapsed
24352
24353 \begin_layout Plain Layout
24354
24355 \lang english
24356 $Rev$
24357 \end_layout
24358
24359 \end_inset
24360
24361
24362 \lang spanish
24363 ).
24364  De esta manera el cliente svn sustituirá automáticamente el número de revisión (p.
24365 \begin_inset space \thinspace{}
24366 \end_inset
24367
24368 ej.
24369  
24370 \lang english
24371
24372 \begin_inset Flex Code
24373 status collapsed
24374
24375 \begin_layout Plain Layout
24376
24377 \lang english
24378 $Rev:
24379  59 $
24380 \end_layout
24381
24382 \end_inset
24383
24384
24385 \lang spanish
24386 ) tras cada actualización e ingreso.
24387  Hay otros problemas con este enfoque.
24388  Primero,
24389  el carácter '$' se usa en \SpecialChar TeX
24390  para expresiones matemáticas,
24391  de modo que cualquier aparición de una fórmula 
24392 \begin_inset Formula $Rev$
24393 \end_inset
24394
24395  se convierte en 
24396 \begin_inset Formula $Rev:59$
24397 \end_inset
24398
24399  en tu documento \SpecialChar LyX
24400 .
24401  Lo mismo sucederá con otras claves como Id,
24402  Date,
24403  Author,
24404  etc.
24405  Segundo,
24406  la salida svn es dependiente del idioma,
24407  por lo que es fácil que svn produzca alguna cadena problemática al usar Date.
24408  Tercero,
24409  se obtiene la cadena completa 'Rev:
24410  59' en tu documento en vez de solo el número.
24411  Hasta que subversion implemente claves personalizadas por el usuario será pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
24412  soportarlo directamente.
24413 \end_layout
24414
24415 \begin_layout Subsection
24416 SVN y entorno Windows
24417 \end_layout
24418
24419 \begin_layout Quote
24420 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender las operaciones en línea de comandos,
24421  sería recomendable que usara TortoiseSVN.
24422  —
24423 P.
24424 \begin_inset space \thinspace{}
24425 \end_inset
24426
24427 A.
24428 \begin_inset space \thinspace{}
24429 \end_inset
24430
24431 Rubin.
24432 \end_layout
24433
24434 \begin_layout Subsubsection
24435 Preparación
24436 \end_layout
24437
24438 \begin_layout Standard
24439 Además de instalar \SpecialChar LyX
24440  y tener acceso al repositorio de Subversion,
24441  el usuario deberá instalar el programa cliente de Subversion.
24442  En 
24443 \begin_inset CommandInset href
24444 LatexCommand href
24445 name "CollabNet"
24446 target "http://www.collab.net/nonav/downloads/subversion/"
24447 literal "false"
24448
24449 \end_inset
24450
24451  hay disponible un instalador para Windows.
24452  Además,
24453  al usuario le puede interesar instalar 
24454 \begin_inset CommandInset href
24455 LatexCommand href
24456 name "TortoiseSVN"
24457 target "http://tortoisesvn.tigris.org/"
24458 literal "false"
24459
24460 \end_inset
24461
24462 ,
24463  que integra las operaciones de Subversion en el menú contextual (clic derecho) del Explorador de Windows.
24464  Las operaciones hechas fuera de \SpecialChar LyX
24465  generalmente son más convenientes en el menú contextual del Explorador.
24466  Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa cliente,
24467  que es lo que usa el propio \SpecialChar LyX
24468 .
24469 \end_layout
24470
24471 \begin_layout Subsubsection
24472 Poner un documento bajo control de Subversion
24473 \end_layout
24474
24475 \begin_layout Standard
24476 Antes de poner un documento \SpecialChar LyX
24477  bajo control de Subversion,
24478  su directorio padre debe estar bajo control de versiones.
24479  Si el documento se va a añadir a un proyecto ya en el repositorio,
24480  esto se lleva a cabo comprobando el directorio donde se incluirá el documento nuevo.
24481  Si el proyecto mismo no está ya bajo control de versión (por ejemplo,
24482  si el documento inicia un proyecto nuevo),
24483  hay que importar el directorio al repositorio.
24484  Esto se hace fuera de \SpecialChar LyX
24485 .
24486  Tanto la importación como la reserva se hacen fácilmente en el menú contextual del Explorador mediante TortoiseSVN,
24487  o bien usando un cliente de línea de comandos en DOS.
24488  El procedimiento para importar el proyecto con TortoiseSVN se describe abajo,
24489  suponiendo que hay un repositorio y un proyecto nuevo en 
24490 \family typewriter
24491 C:
24492 \backslash
24493 new project
24494 \family default
24495 .
24496  Para información sobre el uso del programa cliente de Subversion,
24497  ejecuta 
24498 \family typewriter
24499 svn 
24500 \family default
24501
24502 \begin_inset Flex Code
24503 status collapsed
24504
24505 \begin_layout Plain Layout
24506 --help
24507 \end_layout
24508
24509 \end_inset
24510
24511  en línea de comandos de DOS.
24512 \end_layout
24513
24514 \begin_layout Enumerate
24515 Localiza 
24516 \family typewriter
24517 C:
24518 \backslash
24519 new project 
24520 \family default
24521 en el Explorador de Windows,
24522  clic derecho y selecciona 
24523 \family sans
24524 TortoiseSVN\SpecialChar menuseparator
24525 Repo-browser
24526 \family default
24527 .
24528  Si es preciso ajusta el URL para el repositorio,
24529  y pulsa OK.
24530 \end_layout
24531
24532 \begin_layout Enumerate
24533 Haz clic derecho en el nivel del repositorio bajo el que quieres situar la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa 
24534 \family sans
24535 Create folder
24536 \family default
24537  Da nombre a la carpeta y pulsa OK.
24538  Añade un mensaje para el registro,
24539  si quieres,
24540  y pulsa OK de nuevo.
24541  La carpeta del nuevo proyecto debería figurar en el repositorio.
24542  Por último,
24543  OK de nuevo para salir del navegador del repositorio.
24544 \end_layout
24545
24546 \begin_layout Enumerate
24547 Haz otra vez clic derecho en 
24548 \family typewriter
24549 C:
24550 \backslash
24551 new project
24552 \family default
24553 ,
24554  esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que acabas de crear en el repositorio y ajusta el directorio a 
24555 \family typewriter
24556 C:
24557 \backslash
24558 new project.
24559
24560 \family default
24561  Pulsa OK.
24562  Serás avisado sobre una carpeta no vacía;
24563  OK para continuar.
24564  Ahora debería haber un directorio 
24565 \family typewriter
24566 .svn
24567 \family default
24568  bajo 
24569 \family typewriter
24570 C:
24571 \backslash
24572 new project.
24573 \end_layout
24574
24575 \begin_layout Enumerate
24576 Crea o abre tu documento en \SpecialChar LyX
24577  y abre 
24578 \family sans
24579 Archivo\SpecialChar menuseparator
24580 Control de versiones\SpecialChar menuseparator
24581 Registrar
24582 \family default
24583 .
24584  Añade un mensaje de registro y pulsa OK para someter el documento a control de versión.
24585 \end_layout
24586
24587 \begin_layout Standard
24588 De aquí en adelante deberías tener funcionalidad completa en el menú 
24589 \family sans
24590 Archivo\SpecialChar menuseparator
24591 Control de versiones
24592 \family default
24593 .
24594  Además tienes la opción de comprobar el documento entrante y saliente,
24595  ver su historial,
24596  etc.,
24597  usando el menú contextual TortoiseSVN en el Explorador o en la línea de comandos del programa cliente de Subversion.
24598  
24599 \end_layout
24600
24601 \begin_layout Subsubsection
24602 SSH tunnel con SVN bajo Windows
24603 \end_layout
24604
24605 \begin_layout Standard
24606 Comparado con la configuración del cliente svn en Linux para comunicar sobre ssh,
24607  bajo Windows es una tarea es bastante más molesta.
24608  Al menos ofreceremos algunas indicaciones para configurar el cliente,
24609  pero hay que aclarar antes algo sobre ssh y la línea de comandos en Windows y estar preparados para grandes dosis de frustración\SpecialChar ldots
24610
24611 \end_layout
24612
24613 \begin_layout Enumerate
24614 Obtén un cliente svn para windows,
24615  como se describe en secciones anteriores.
24616  Si es una instalación nueva ejecuta algún comando para crear los archivos de configuración (p.
24617 \begin_inset space \thinspace{}
24618 \end_inset
24619
24620 ej.
24621  
24622 \begin_inset Flex Code
24623 status collapsed
24624
24625 \begin_layout Plain Layout
24626 svn --version
24627 \end_layout
24628
24629 \end_inset
24630
24631 ),
24632  que deberás cambiar más tarde.
24633 \end_layout
24634
24635 \begin_layout Enumerate
24636 Elige un cliente ssh para Windows.
24637  Hay varias opciones,
24638  aquí usaremos el de Putty tools
24639 \begin_inset Foot
24640 status open
24641
24642 \begin_layout Plain Layout
24643 \begin_inset Flex URL
24644 status collapsed
24645
24646 \begin_layout Plain Layout
24647
24648 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
24649 \end_layout
24650
24651 \end_inset
24652
24653
24654 \end_layout
24655
24656 \end_inset
24657
24658 .
24659  Tendrás que configurar la conexión para que el cliente no pia contraseña.
24660  Para facilitar las cosas usaremos solo claves sin ninguna protección adicional de contraseña,
24661  etc.
24662 \end_layout
24663
24664 \begin_deeper
24665 \begin_layout Enumerate
24666 Genera las claves con 
24667 \begin_inset Flex Code
24668 status collapsed
24669
24670 \begin_layout Plain Layout
24671 puttygen
24672 \end_layout
24673
24674 \end_inset
24675
24676 .
24677  Guarda tu clave privada .ppk y pon la pública en el servidor.
24678  Si el servidor SVN corre bajo Linux,
24679  ten en cuenta que el formato de la clave pública no es compatible con openssh Linux y tendrás que copiar y pegar directamente la clave desde el campo de edición “
24680 \emph on
24681 Public key for pasting into OpenSSH authorized_keys file
24682 \emph default
24683 :” en el archivo del servidor 
24684 \begin_inset Flex Code
24685 status collapsed
24686
24687 \begin_layout Plain Layout
24688 ~/.ssh/authorized_keys
24689 \end_layout
24690
24691 \end_inset
24692
24693
24694 \begin_inset Flex Code
24695 status collapsed
24696
24697 \begin_layout Plain Layout
24698 authorized_keys2
24699 \end_layout
24700
24701 \end_inset
24702
24703 .
24704 \end_layout
24705
24706 \begin_layout Enumerate
24707 Obtén el 
24708 \begin_inset Flex Code
24709 status collapsed
24710
24711 \begin_layout Plain Layout
24712 plink
24713 \end_layout
24714
24715 \end_inset
24716
24717  de Putty.
24718  En el archivo de configuración SVN
24719 \begin_inset Foot
24720 status collapsed
24721
24722 \begin_layout Plain Layout
24723 La ruta exacta depende de la versión de Windows,
24724  usualmente algo como 
24725 \begin_inset Flex Code
24726 status collapsed
24727
24728 \begin_layout Plain Layout
24729 c:
24730 \backslash
24731 Documents and Settings
24732 \backslash
24733 user
24734 \backslash
24735 Application Data
24736 \backslash
24737 Subversion
24738 \backslash
24739 config
24740 \end_layout
24741
24742 \end_inset
24743
24744  / 
24745 \begin_inset Flex Code
24746 status collapsed
24747
24748 \begin_layout Plain Layout
24749 AppData
24750 \backslash
24751 Roaming
24752 \backslash
24753 Subversion
24754 \end_layout
24755
24756 \end_inset
24757
24758 .
24759 \end_layout
24760
24761 \end_inset
24762
24763 ,
24764  sección [tunnels],
24765  configura el comando ssh,
24766  p.
24767 \begin_inset space \thinspace{}
24768 \end_inset
24769
24770 ej.
24771  
24772 \begin_inset Flex Code
24773 status collapsed
24774
24775 \begin_layout Plain Layout
24776 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
24777 \end_layout
24778
24779 \end_inset
24780
24781 .
24782 \begin_inset Foot
24783 status open
24784
24785 \begin_layout Plain Layout
24786 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
24787  Por ejemplo,
24788  no tener algún servidor remoto guardado como predeterminado en Putty etc.
24789  Si falla,
24790  intenta primero conectar vía plink sin SVN.
24791 \end_layout
24792
24793 \end_inset
24794
24795
24796 \end_layout
24797
24798 \end_deeper
24799 \begin_layout Enumerate
24800 Reserva el archivo SVN,
24801  p.
24802 \begin_inset space \thinspace{}
24803 \end_inset
24804
24805 ej.
24806 \begin_inset Newline newline
24807 \end_inset
24808
24809
24810 \begin_inset Flex Code
24811 status collapsed
24812
24813 \begin_layout Plain Layout
24814 svn co svn+ssh://user@server/repository_path
24815 \end_layout
24816
24817 \end_inset
24818
24819 .
24820 \end_layout
24821
24822 \begin_layout Subsubsection
24823 Conversiones de los finales de línea
24824 \end_layout
24825
24826 \begin_layout Standard
24827 Cuando los colaboradores mezclan entornos Linux y Windows,
24828  \SpecialChar LyX
24829  usará distintos finales de línea en los archivos .lyx.
24830  Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
24831 ,
24832  pero los archivos diff de los ingresos serán enormes y propensos a conflictos de fusión.
24833  Afortunadamente SVN sabe por sí mismo
24834 \begin_inset Foot
24835 status open
24836
24837 \begin_layout Plain Layout
24838 \begin_inset Flex URL
24839 status collapsed
24840
24841 \begin_layout Plain Layout
24842
24843 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
24844 \end_layout
24845
24846 \end_inset
24847
24848
24849 \end_layout
24850
24851 \end_inset
24852
24853  como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia archivos .lyx al modo 
24854 \begin_inset Flex Code
24855 status collapsed
24856
24857 \begin_layout Plain Layout
24858 native
24859 \end_layout
24860
24861 \end_inset
24862
24863 .
24864 \begin_inset Foot
24865 status open
24866
24867 \begin_layout Plain Layout
24868 Para los perezosos:
24869  
24870 \begin_inset Flex Code
24871 status collapsed
24872
24873 \begin_layout Plain Layout
24874 svn propset svn:eol-style native FILE_NAME
24875 \end_layout
24876
24877 \end_inset
24878
24879
24880 \end_layout
24881
24882 \end_inset
24883
24884
24885 \end_layout
24886
24887 \begin_layout Subsection
24888 Comandos GIT en \SpecialChar LyX
24889
24890 \end_layout
24891
24892 \begin_layout Standard
24893 \SpecialChar LyX
24894  soporta un conjunto mínimo de comandos GIT.
24895  Se encuentra en el submenú 
24896 \family sans
24897 Archivo\SpecialChar menuseparator
24898 Control de versiones
24899 \family default
24900 .
24901  Hay que tener en cuenta que si se usa acceso con contraseña al repositorio vía ssh,
24902  ésta se pedirá en una ventana de terminal.
24903  \SpecialChar LyX
24904  se ha probado con GIT 1.7.
24905  
24906 \end_layout
24907
24908 \begin_layout Standard
24909 Una gran diferencia entre GIT y los demás sistemas de control de versiones soportados es la naturaleza distribuida de GIT:
24910  con los sistemas de control de versiones tradicionales hay un servidor central que aloja el repositorio.
24911  Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones hechas por otros.
24912  Con GIT,
24913  los usuarios remiten a un repositorio local,
24914  el cuál se puede sincronizar con uno o más repositorios remotos usando los comandos GIT 
24915 \begin_inset Flex Code
24916 status collapsed
24917
24918 \begin_layout Plain Layout
24919 pull
24920 \end_layout
24921
24922 \end_inset
24923
24924  y 
24925 \begin_inset Flex Code
24926 status collapsed
24927
24928 \begin_layout Plain Layout
24929 push
24930 \end_layout
24931
24932 \end_inset
24933
24934 .
24935  \SpecialChar LyX
24936  no interactúa de ninguna forma con los repositorios GIT remotos.
24937  Trabaja exclusivamente con el repositorio local de manera similar a como con un repositorio CVS o SVN.
24938  Si usas repositorios GIT remotos debes hacer las operaciones 
24939 \begin_inset Flex Code
24940 status collapsed
24941
24942 \begin_layout Plain Layout
24943 pull
24944 \end_layout
24945
24946 \end_inset
24947
24948  y 
24949 \begin_inset Flex Code
24950 status collapsed
24951
24952 \begin_layout Plain Layout
24953 push
24954 \end_layout
24955
24956 \end_inset
24957
24958  con tu cliente GIT favorito.
24959 \end_layout
24960
24961 \begin_layout Subsubsection
24962 Registrar
24963 \end_layout
24964
24965 \begin_layout Standard
24966 Si el documento no está bajo control de versiones,
24967  éste es el único ítem mostrado en el menú.
24968  Si está bajo control de versiones 
24969 \family sans
24970 Registrar
24971 \family default
24972  no es visible.
24973 \end_layout
24974
24975 \begin_layout Standard
24976 Este comando registra el documento en GIT sólo en el caso de que el directorio de los documentos esté ya bajo control de GIT (en particular,
24977  existe el archivo 
24978 \family typewriter
24979 .git/index
24980 \family default
24981 ).
24982  Esto quiere decir que debes reservar
24983 \begin_inset Note Note
24984 status open
24985
24986 \begin_layout Plain Layout
24987 checkout
24988 \end_layout
24989
24990 \end_inset
24991
24992  el archivo por ti mismo.
24993 \end_layout
24994
24995 \begin_layout Standard
24996 Entonces se pedirá de forma interactiva una descripción inicial del documento.
24997  No olvides que el archivo registrado aún no ha sido ingresado.
24998 \end_layout
24999
25000 \begin_layout Standard
25001 El comando GIT que se ejecuta:
25002  
25003 \family typewriter
25004 git add 
25005 \begin_inset Quotes eld
25006 \end_inset
25007
25008 <file-name>
25009 \end_layout
25010
25011 \begin_layout Standard
25012 Consulta 
25013 \family typewriter
25014 man git
25015 \family default
25016  para entender los conmutadores.
25017  
25018 \end_layout
25019
25020 \begin_layout Subsubsection
25021 Liberar cambios
25022 \end_layout
25023
25024 \begin_layout Standard
25025 Una vez editado un archivo hay que ingresar los cambios realizados en él.
25026  Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
25027 \end_layout
25028
25029 \begin_layout Standard
25030 Comando GIT:
25031  
25032 \family typewriter
25033 git commit -q -m"<description>" <file-name>
25034 \end_layout
25035
25036 \begin_layout Subsubsection
25037 Volver a la versión del repositorio
25038 \end_layout
25039
25040 \begin_layout Standard
25041 Descartará los cambios hechos en el documento desde la última liberación.
25042  Hay un aviso antes de descartar los cambios.
25043 \end_layout
25044
25045 \begin_layout Standard
25046 Comando GIT:
25047  
25048 \family typewriter
25049 git checkout -q 
25050 \lang english
25051
25052 \begin_inset Quotes qld
25053 \end_inset
25054
25055
25056 \lang spanish
25057 <file-name>
25058 \lang english
25059
25060 \begin_inset Quotes qld
25061 \end_inset
25062
25063
25064 \end_layout
25065
25066 \begin_layout Subsubsection
25067 Renombrar
25068 \end_layout
25069
25070 \begin_layout Standard
25071 Renombrará el documento actual incluyendo el historial de versiones.
25072  Requiere un documento limpio sin ningún cambio desde la última liberación.
25073  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
25074  Después se renombra el documento localmente y en el repositorio.
25075  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
25076  se ajustan todas las rutas relativas de los archivos incluidos (como en 
25077 \family sans
25078 Archivo\SpecialChar menuseparator
25079 Guardar como
25080 \family default
25081 \SpecialChar ldots
25082 ).
25083  Por último,
25084  se recarga el documento con su nuevo nombre.
25085 \end_layout
25086
25087 \begin_layout Labeling
25088 \labelwidthstring 00.00.0000
25089 Comandos
25090 \begin_inset space ~
25091 \end_inset
25092
25093 GIT:
25094  
25095 \begin_inset space ~
25096 \end_inset
25097
25098
25099 \begin_inset Newline newline
25100 \end_inset
25101
25102
25103 \begin_inset Flex Code
25104 status collapsed
25105
25106 \begin_layout Plain Layout
25107 git mv 
25108 \family typewriter
25109 \lang english
25110
25111 \begin_inset Quotes qld
25112 \end_inset
25113
25114
25115 \family default
25116 \lang spanish
25117 <file-name>
25118 \family typewriter
25119 \lang english
25120
25121 \begin_inset Quotes qld
25122 \end_inset
25123
25124
25125 \family default
25126 \lang spanish
25127  
25128 \family typewriter
25129 \lang english
25130
25131 \begin_inset Quotes qld
25132 \end_inset
25133
25134
25135 \family default
25136 \lang spanish
25137 <new-file-name>
25138 \family typewriter
25139 \lang english
25140
25141 \begin_inset Quotes qld
25142 \end_inset
25143
25144
25145 \end_layout
25146
25147 \end_inset
25148
25149
25150 \begin_inset Newline newline
25151 \end_inset
25152
25153
25154 \begin_inset Flex Code
25155 status collapsed
25156
25157 \begin_layout Plain Layout
25158 git commit
25159 \end_layout
25160
25161 \end_inset
25162
25163
25164 \end_layout
25165
25166 \begin_layout Subsubsection
25167 Mostrar historial
25168 \end_layout
25169
25170 \begin_layout Standard
25171 Muestra el historial completo del documento GIT.
25172  La salida de 
25173 \family typewriter
25174 git log 
25175 \lang english
25176
25177 \begin_inset Quotes qld
25178 \end_inset
25179
25180
25181 \lang spanish
25182 <file-name>
25183 \lang english
25184
25185 \begin_inset Quotes qld
25186 \end_inset
25187
25188
25189 \family default
25190 \lang spanish
25191  se muestra en un buscador.
25192 \end_layout
25193
25194 \begin_layout Subsubsection
25195 Información de la versión
25196 \end_layout
25197
25198 \begin_layout Standard
25199 \SpecialChar LyX
25200  soporta número hash GIT del últim ingreso al archivo,
25201  autor,
25202  fecha y hora del último ingreso.
25203  Todos se obtienen de 
25204 \begin_inset Flex Code
25205 status collapsed
25206
25207 \begin_layout Plain Layout
25208 git log -n 1 --pretty=format:%H%n%an%n%ai
25209 \end_layout
25210
25211 \end_inset
25212
25213 .
25214  La información de l versión del árbol se obtiene vía 
25215 \begin_inset Flex Code
25216 status collapsed
25217
25218 \begin_layout Plain Layout
25219 git describe --abbrev --dirty --long
25220 \end_layout
25221
25222 \end_inset
25223
25224 .
25225  Véase 
25226 \begin_inset CommandInset ref
25227 LatexCommand ref
25228 reference "subsec:VCS-Información-de-revisión"
25229 nolink "false"
25230
25231 \end_inset
25232
25233  para otros detalles.
25234 \end_layout
25235
25236 \begin_layout Subsection
25237 Ajustes adicionales
25238 \end_layout
25239
25240 \begin_layout Standard
25241 Con la reciente adición de la función 
25242 \family typewriter
25243 vc-command
25244 \family default
25245 ,
25246  los usuarios que exprimen la potencia de \SpecialChar LyX
25247  pueden crear sus propios comandos para el control de revisiones.
25248 \end_layout
25249
25250 \begin_layout Standard
25251 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
25252 \end_layout
25253
25254 \begin_layout Description
25255 Ingresar:
25256  
25257 \begin_inset Flex Code
25258 status collapsed
25259
25260 \begin_layout Plain Layout
25261 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
25262 \end_layout
25263
25264 \end_inset
25265
25266
25267 \end_layout
25268
25269 \begin_layout Description
25270 Revertir:
25271  
25272 \begin_inset Flex Code
25273 status collapsed
25274
25275 \begin_layout Plain Layout
25276 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
25277 \end_layout
25278
25279 \end_inset
25280
25281
25282 \end_layout
25283
25284 \begin_layout Subsection
25285 Control de versiones y comparación de documentos
25286 \end_layout
25287
25288 \begin_layout Standard
25289 Uno de los usos típicos del control de versiones es inspeccionar los cambios entre revisiones,
25290  usualmente creando volcados 
25291 \begin_inset Flex Code
25292 status collapsed
25293
25294 \begin_layout Plain Layout
25295 diff
25296 \end_layout
25297
25298 \end_inset
25299
25300 .
25301  Aunque esto es útil para archivos de texto sencillo,
25302  es mucho menos útil en archivos de \SpecialChar LyX
25303 ,
25304  que tienen una estructura más complicada.
25305  Por tanto,
25306  proporcionamos caminos para la característica de comparar documentos.
25307  Hay dos maneras de iniciar esta función,
25308  una por llamada directa a 
25309 \family typewriter
25310 \lang english
25311 vc-compare
25312 \family default
25313 \lang spanish
25314  (véase el manual Funciones de \SpecialChar LyX
25315  para detalles) y otra con el
25316 \lang english
25317  toolbar 
25318 \lang spanish
25319 icono o menú 
25320 \lang english
25321
25322 \begin_inset Info
25323 type  "menu"
25324 arg   "vc-compare"
25325 \end_inset
25326
25327
25328 \lang spanish
25329 .
25330  Se pueden comparar dos revisiones determinadas o se puede simplemente comparar la versión actual del texto editado con revisiones anteriores (donde '
25331 \begin_inset Flex Code
25332 status collapsed
25333
25334 \begin_layout Plain Layout
25335 0
25336 \end_layout
25337
25338 \end_inset
25339
25340 ' revisiones atrás quiere decir comparar el archivo en edición con la última revisión remitida).
25341  
25342 \end_layout
25343
25344 \begin_layout Standard
25345 Esta característica está soportada por SVN y RCS,
25346  aunque debido al esquema de versiones más complicado de RCS hay una restricción,
25347  en la dirección de las revisiones en el diálogo,
25348  los números siempre apuntan al último número en el número de revisión de RCS,
25349  es decir,
25350  '35' en '1.2.35'.
25351
25352 \lang english
25353  We don't currently support GIT addressing of revisions,
25354  one can just compare edited document with its revision X steps backs,
25355  where X is addressed as 
25356 \begin_inset Flex Code
25357 status collapsed
25358
25359 \begin_layout Plain Layout
25360
25361 \lang english
25362 HEAD~X
25363 \end_layout
25364
25365 \end_inset
25366
25367 .
25368 \end_layout
25369
25370 \begin_layout Section
25371 Programación literaria
25372 \end_layout
25373
25374 \begin_layout Standard
25375 Actualizado por 
25376 \noun on
25377 Kayvan Sylvan 
25378 \noun default
25379 (kayvan@sylvan.com)
25380 \noun on
25381 ,
25382  
25383 \noun default
25384 documentación original de 
25385 \noun on
25386 Edmar Wienskoski Jr.
25387
25388 \noun default
25389  (edmar-w-jr@technologist.com)
25390 \end_layout
25391
25392 \begin_layout Subsection
25393 Introducción
25394 \end_layout
25395
25396 \begin_layout Standard
25397 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
25398  para escribir programación literaria
25399 \series medium
25400
25401 \begin_inset Foot
25402 status collapsed
25403
25404 \begin_layout Plain Layout
25405 «Literate Programming»,
25406  llamada también programación «ilustrada» o «letrada».
25407  
25408 \emph on
25409 (N.
25410 \begin_inset space \thinspace{}
25411 \end_inset
25412
25413 del t.)
25414 \end_layout
25415
25416 \end_inset
25417
25418
25419 \series default
25420 .
25421  Se supone que la técnica de la programación te resulta familiar y sabes lo que significan términos como 
25422 \begin_inset Quotes cld
25423 \end_inset
25424
25425 tangling
25426 \begin_inset Quotes crd
25427 \end_inset
25428
25429  y 
25430 \begin_inset Quotes cld
25431 \end_inset
25432
25433 weaving
25434 \begin_inset Quotes crd
25435 \end_inset
25436
25437
25438 \begin_inset Foot
25439 status collapsed
25440
25441 \begin_layout Plain Layout
25442 Generación del código y de la documentación,
25443  respectivamente.
25444  (
25445 \emph on
25446 N.
25447 \begin_inset space \thinspace{}
25448 \end_inset
25449
25450 del t.
25451 \emph default
25452 )
25453 \end_layout
25454
25455 \end_inset
25456
25457 .
25458  Si no es así,
25459  acude a los enlaces web mencionados en las siguientes secciones.
25460  Hay mucha y buena documentación que abarca desde la historia de los inicios de la programación hasta las últimas herramientas y trucos.
25461 \end_layout
25462
25463 \begin_layout Standard
25464 También se supone que estás familiarizado con el uso de \SpecialChar LyX
25465  hasta el punto de conocer cómo cambiar las preferencias y el archivo de recursos X.
25466  Si no es así acude al resto de documentación de \SpecialChar LyX
25467  en función de tus necesidades.
25468 \end_layout
25469
25470 \begin_layout Subsection
25471 Programación literaria
25472 \end_layout
25473
25474 \begin_layout Standard
25475 Extraído de las PUF:
25476  
25477 \end_layout
25478
25479 \begin_layout Quotation
25480 En la programación literaria se combinan documentación y código fuente de manera legible para los seres humanos.
25481  ¡De hecho,
25482  la programación literaria debería ser de lectura agradable,
25483  incluso sugerente!
25484  (¡Lo siento Bob,
25485  no he podido resistirme\SpecialChar ldots
25486 !) En general,
25487  en la escritura de los programas se combinan código y documentación en el mismo archivo.
25488  Las herramientas de programación literaria analizan después el archivo y pueden generar la documentación o el código fuente compilable por separado.
25489  El estilo WEB de programación fue creado por 
25490 \noun on
25491 D.
25492 \begin_inset space \thinspace{}
25493 \end_inset
25494
25495 E.
25496 \begin_inset space \thinspace{}
25497 \end_inset
25498
25499 Knuth
25500 \noun default
25501  mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
25502 .
25503 \end_layout
25504
25505 \begin_layout Standard
25506 Otro extracto:
25507 \end_layout
25508
25509 \begin_layout Quotation
25510
25511 \emph on
25512 ¿En qué se diferencian la programación literaria y 
25513 \emph default
25514 e
25515 \emph on
25516 l comentario literal?
25517 \end_layout
25518
25519 \begin_layout Quotation
25520 Hay tres rasgos distintivos,
25521  que son,
25522  por orden de importancia:
25523  
25524 \end_layout
25525
25526 \begin_deeper
25527 \begin_layout Itemize
25528 orden de elaboración flexible 
25529 \end_layout
25530
25531 \begin_layout Itemize
25532 soporte automático de búsqueda 
25533 \end_layout
25534
25535 \begin_layout Itemize
25536 documentación bien presentada,
25537  especialmente los diagramas y las matemáticas.
25538  
25539 \end_layout
25540
25541 \end_deeper
25542 \begin_layout Standard
25543 Y ahora que he despertado tu curiosidad,
25544  veamos las referencias.
25545 \end_layout
25546
25547 \begin_layout Subsubsection
25548 Referencias
25549 \end_layout
25550
25551 \begin_layout Standard
25552 Las FAQ completas de 
25553 \begin_inset Quotes cld
25554 \end_inset
25555
25556 Literate Programming
25557 \begin_inset Quotes crd
25558 \end_inset
25559
25560  se encuentran en:
25561 \end_layout
25562
25563 \begin_layout Quote
25564 Literate Programming FAQ:
25565  
25566 \begin_inset Flex URL
25567 status collapsed
25568
25569 \begin_layout Plain Layout
25570
25571 http://www.literateprogramming.com/lpfaq.pdf
25572 \end_layout
25573
25574 \end_inset
25575
25576
25577 \end_layout
25578
25579 \begin_layout Standard
25580 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación literaria.
25581  Algunas son específicas de lenguajes de programación particulares,
25582  otras son de aplicación general.
25583  He seleccionado la herramienta 
25584 \noun on
25585 Noweb
25586 \noun default
25587  para mi uso personal por varias razones:
25588 \end_layout
25589
25590 \begin_layout Itemize
25591 Puede generar la documentación en \SpecialChar LaTeX
25592  o en HTML.
25593 \end_layout
25594
25595 \begin_layout Itemize
25596 Es de estructura abierta,
25597  es decir,
25598  es sencillo introducir filtros nuevos
25599 \lang english
25600
25601 \begin_inset Foot
25602 status open
25603
25604 \begin_layout Plain Layout
25605
25606 \emph on
25607 \lang english
25608 Filters 
25609 \emph default
25610 are programs that read a given data stream and output a manipulated data stream.
25611  That way,
25612  a WEB file (consisting of literate code) can be turned into a file consisting only of C program code or \SpecialChar LaTeX
25613  code.
25614 \end_layout
25615
25616 \end_inset
25617
25618
25619 \lang spanish
25620  y hacer procesamientos especiales según las necesidades.
25621  
25622 \end_layout
25623
25624 \begin_layout Itemize
25625 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
25626 \end_layout
25627
25628 \begin_layout Itemize
25629 Es libre.
25630 \end_layout
25631
25632 \begin_layout Standard
25633 La página web de Noweb es:
25634  
25635 \end_layout
25636
25637 \begin_layout Quote
25638 Página de inicio de Noweb 
25639 \begin_inset Flex URL
25640 status collapsed
25641
25642 \begin_layout Plain Layout
25643
25644 https://www.cs.tufts.edu/~nr/noweb/
25645 \end_layout
25646
25647 \end_inset
25648
25649
25650 \end_layout
25651
25652 \begin_layout Standard
25653 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programación en formato literario.
25654 \end_layout
25655
25656 \begin_layout Subsection
25657 \SpecialChar LyX
25658  y la programación literaria con Noweb
25659 \end_layout
25660
25661 \begin_layout Standard
25662 \SpecialChar LyX
25663  soporta Programación Literaria mediante el mecanismo de gestión de convertidores.
25664  Este soporte se proporciona 
25665 \begin_inset Quotes cld
25666 \end_inset
25667
25668 independiente de Noweb
25669 \begin_inset Quotes crd
25670 \end_inset
25671
25672 ,
25673  es decir,
25674  podrás usar esta nueva función de \SpecialChar LyX
25675  con algunas otras herramientas de programación literaria,
25676  cuya elección puedes hacer en las preferencias de \SpecialChar LyX
25677 .
25678 \end_layout
25679
25680 \begin_layout Subsubsection
25681 Generación de documentos y de código («weaving and tangling»)
25682 \end_layout
25683
25684 \begin_layout Paragraph
25685 Usando el módulo noweb
25686 \end_layout
25687
25688 \begin_layout Standard
25689 Con \SpecialChar LyX
25690  y Noweb instalados,
25691  al abrir un documento nuevo y después de elegir la clase de documento selecciona el módulo 
25692 \begin_inset Quotes cld
25693 \end_inset
25694
25695 Noweb
25696 \begin_inset Quotes crd
25697 \end_inset
25698
25699  en 
25700 \family sans
25701 Documento\SpecialChar menuseparator
25702 Configuración\SpecialChar menuseparator
25703 Módulos
25704 \family default
25705 .
25706  Si Noweb está instalado correctamente podrás pulsar 
25707 \family sans
25708 Añadir
25709 \family default
25710  para usarlo en tu documento.
25711 \end_layout
25712
25713 \begin_layout Paragraph
25714 Escribiendo código
25715 \end_layout
25716
25717 \begin_layout Standard
25718 \SpecialChar LyX
25719  proporciona el 
25720 \lang english
25721 custom inset
25722 \lang spanish
25723  
25724 \lang english
25725
25726 \begin_inset Flex Noun
25727 status collapsed
25728
25729 \begin_layout Plain Layout
25730 Trozo
25731 \end_layout
25732
25733 \end_inset
25734
25735
25736 \family sans
25737 \lang spanish
25738  
25739 \family default
25740 para escribir código.
25741  Noweb delimita trozos como éste:
25742 \end_layout
25743
25744 \begin_layout LyX-Code
25745 <<Mi código>>=
25746 \end_layout
25747
25748 \begin_layout LyX-Code
25749   código
25750 \end_layout
25751
25752 \begin_layout LyX-Code
25753   más código
25754 \end_layout
25755
25756 \begin_layout LyX-Code
25757   aún más código
25758 \end_layout
25759
25760 \begin_layout LyX-Code
25761   @
25762 \end_layout
25763
25764 \begin_layout Standard
25765 El problema es que todo lo que se escriba entre <<
25766 \begin_inset space ~
25767 \end_inset
25768
25769  y 
25770 \family typewriter
25771 @
25772 \family default
25773  debe ser interpretado de forma literal,
25774  es decir,
25775  \SpecialChar LyX
25776  no debería hacer ninguna interpretación especial de lo que está ahí escrito.
25777  Esto es también manejado por el entorno 
25778 \begin_inset Flex Noun
25779 status collapsed
25780
25781 \begin_layout Plain Layout
25782 Trozo
25783 \end_layout
25784
25785 \end_inset
25786
25787 ,
25788  que funciona como un 
25789 \lang english
25790 text inset
25791 \lang spanish
25792  normal excepto que admite espacios con libertad.
25793 \end_layout
25794
25795 \begin_layout Standard
25796 He de apuntar que también puedes usar la estructura 
25797 \begin_inset Quotes cld
25798 \end_inset
25799
25800
25801 \family typewriter
25802 %def
25803 \family default
25804
25805 \begin_inset Quotes crd
25806 \end_inset
25807
25808  de Noweb en tus trozos de código para añadir identificadores de referencias cruzadas:
25809 \end_layout
25810
25811 \begin_layout LyX-Code
25812 <<Mi trozo>>=
25813 \end_layout
25814
25815 \begin_layout LyX-Code
25816 def una_función(argumentos):
25817 \end_layout
25818
25819 \begin_layout LyX-Code
25820    "Esta es la documentación para esta función."
25821 \end_layout
25822
25823 \begin_layout LyX-Code
25824    print "Mis argumentos:
25825  ",
25826  argumentos
25827 \end_layout
25828
25829 \begin_layout LyX-Code
25830 @ %def una_función
25831 \end_layout
25832
25833 \begin_layout Standard
25834 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada generada,
25835  puedes ver la programación literaria en python contenida en el archivo
25836 \begin_inset Newline newline
25837 \end_inset
25838
25839
25840 \family typewriter
25841 \emph on
25842 LIBDIR
25843 \emph default
25844 /examples/listerrors.lyx
25845 \family default
25846 \emph on
25847 ,
25848  
25849 \emph default
25850 que debería aclarar esto.
25851 \end_layout
25852
25853 \begin_layout Paragraph
25854 Generación del documento
25855 \end_layout
25856
25857 \begin_layout Standard
25858 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código y de texto en él.
25859  ¿Cómo ver la salida impresa?
25860  La respuesta es simple,
25861  con 
25862 \family sans
25863 Ver\SpecialChar menuseparator
25864 DVI,
25865  
25866 \family default
25867 etc.
25868  Igual que harías con cualquier otro documento.
25869  No hace falta ningún procedimiento especial.
25870 \end_layout
25871
25872 \begin_layout Standard
25873 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
25874 :
25875 \end_layout
25876
25877 \begin_layout Enumerate
25878 Al escoger la opción 
25879 \family sans
25880 Ver\SpecialChar menuseparator
25881 Actualizar\SpecialChar menuseparator
25882 DVI
25883 \family default
25884 ,
25885  se genera un archivo \SpecialChar LaTeX
25886 .
25887  
25888 \end_layout
25889
25890 \begin_deeper
25891 \begin_layout Standard
25892 Si el documento es de cualquiera de las clases en formato 
25893 \begin_inset Quotes cld
25894 \end_inset
25895
25896 literate
25897 \begin_inset Quotes crd
25898 \end_inset
25899
25900 ,
25901  el archivo generado será nombrado con una extensión definida por el formato 
25902 \begin_inset Quotes cld
25903 \end_inset
25904
25905 literate
25906 \begin_inset Quotes crd
25907 \end_inset
25908
25909  (definido en el panel de 
25910 \family sans
25911 Preferencias
25912 \family default
25913 ),
25914  si no el archivo tendrá la extensión habitual 
25915 \family typewriter
25916 .tex
25917 \family default
25918 .
25919 \end_layout
25920
25921 \end_deeper
25922 \begin_layout Enumerate
25923 La única diferencia está en la extensión del archivo,
25924  no hace falta ninguna acción especial por parte de \SpecialChar LyX
25925 ,
25926  puesto que has formateado el código con el 
25927 \lang english
25928 inset
25929 \lang spanish
25930  
25931 \begin_inset Flex Noun
25932 status collapsed
25933
25934 \begin_layout Plain Layout
25935 Trozo
25936 \end_layout
25937
25938 \end_inset
25939
25940 ,
25941  que ya se cuida de ese aspecto.
25942 \end_layout
25943
25944 \begin_layout Enumerate
25945 Si el documento es de cualquier clase 
25946 \begin_inset Quotes cld
25947 \end_inset
25948
25949 literate
25950 \begin_inset Quotes crd
25951 \end_inset
25952
25953 ,
25954  un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
25955  a Noweb y luego otro convertidor
25956 \begin_inset Foot
25957 status collapsed
25958
25959 \begin_layout Plain Layout
25960 Definido en 
25961 \family sans
25962 Herramientas\SpecialChar menuseparator
25963 Preferencias
25964 \family default
25965 ,
25966  apartado
25967 \family sans
25968  Convertidores
25969 \family default
25970 .
25971 \end_layout
25972
25973 \end_inset
25974
25975  convierte Noweb a \SpecialChar LaTeX
25976  para generar el archivo \SpecialChar LaTeX
25977 .
25978 \end_layout
25979
25980 \begin_deeper
25981 \begin_layout Standard
25982 Si no lo es,
25983  se salta este paso.
25984 \end_layout
25985
25986 \end_deeper
25987 \begin_layout Enumerate
25988 Finalmente,
25989  se ejecuta \SpecialChar LaTeX
25990  y continúa el proceso de la manera habitual.
25991 \end_layout
25992
25993 \begin_layout Standard
25994 La independencia de una particular herramienta de programación literaria se basa simplemente en el cambio de los comandos ejecutados por los distintos convertidores.
25995 \end_layout
25996
25997 \begin_layout Paragraph
25998 Generación del código
25999 \end_layout
26000
26001 \begin_layout Standard
26002 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de herramientas,
26003  se genera un archivo \SpecialChar LaTeX
26004  como se describe en el paso 1 anterior.
26005  A continuación,
26006  \SpecialChar LyX
26007  ejecuta el convertidor 
26008 \family typewriter
26009 Noweb->Programa
26010 \family default
26011 .
26012  Habitualmente,
26013  este paso (igual que cualquier otro convertidor) se realiza en dos partes:
26014 \end_layout
26015
26016 \begin_layout Enumerate
26017 El programa convertidor propiamente dicho.
26018  Este programa realiza la conversión de un formato a otro (en este caso,
26019  desde el formato 
26020 \family typewriter
26021 Noweb
26022 \family default
26023  al pseudo-formato 
26024 \family typewriter
26025 Programa
26026 \family default
26027 ).
26028 \end_layout
26029
26030 \begin_layout Enumerate
26031 El analizador de registro de errores.
26032  Este es un programa cuyo único propósito es reescribir los mensajes de error en un formato comprensible para \SpecialChar LyX
26033 .
26034  Esto permite la colocación de los cuadros de error de \SpecialChar LyX
26035  en los lugares correctos.
26036 \end_layout
26037
26038 \begin_layout Standard
26039 La primera parte,
26040  que se especifica en el campo 
26041 \family sans
26042 Convertidor
26043 \family default
26044 ,
26045  debería contener
26046 \end_layout
26047
26048 \begin_layout LyX-Code
26049
26050 \family typewriter
26051 build-script $$i
26052 \family default
26053  
26054 \end_layout
26055
26056 \begin_layout Standard
26057 Esto significa que \SpecialChar LyX
26058  invocará a 
26059 \begin_inset Quotes cld
26060 \end_inset
26061
26062
26063 \family typewriter
26064 build-script
26065 \family default
26066
26067 \begin_inset Quotes crd
26068 \end_inset
26069
26070  (un programa o una secuencia) con el nombre del archivo Noweb (
26071 \family typewriter
26072 $$i
26073 \family default
26074 ,
26075  generalmente un archivo en el directorio temporal de \SpecialChar LyX
26076 ).
26077  
26078 \end_layout
26079
26080 \begin_layout Standard
26081 He aquí una implementación de 
26082 \family typewriter
26083 build-script
26084 \family default
26085  que puedes colocar en un directorio accesible para tu línea de comandos:
26086 \end_layout
26087
26088 \begin_layout LyX-Code
26089
26090 \family sans
26091 #!/bin/sh
26092 \end_layout
26093
26094 \begin_layout LyX-Code
26095
26096 \family sans
26097 #
26098 \end_layout
26099
26100 \begin_layout LyX-Code
26101
26102 \family sans
26103 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
26104 \end_layout
26105
26106 \begin_layout Standard
26107 La segunda parte de los ajustes del convertidor es el 
26108 \begin_inset Quotes cld
26109 \end_inset
26110
26111 indicador
26112 \begin_inset Quotes crd
26113 \end_inset
26114
26115 ,
26116  establecido en
26117 \end_layout
26118
26119 \begin_layout LyX-Code
26120
26121 \family typewriter
26122 parselog=$$s/scripts/listerrors
26123 \end_layout
26124
26125 \begin_layout Standard
26126 Esto procesará cualquier error que se genere por el proceso 
26127 \begin_inset Quotes cld
26128 \end_inset
26129
26130
26131 \family typewriter
26132 build-script
26133 \family default
26134
26135 \begin_inset Quotes crd
26136 \end_inset
26137
26138  a través del programa 
26139 \begin_inset Quotes cld
26140 \end_inset
26141
26142 listerrors
26143 \begin_inset Quotes crd
26144 \end_inset
26145
26146 .
26147 \end_layout
26148
26149 \begin_layout Standard
26150 Normalmente,
26151  la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
26152 ,
26153  por tanto los archivos generados por la conversión estarán en ese directorio.
26154  \SpecialChar LyX
26155  copiará lo que considera como el archivo "principal",
26156  pero la conversión
26157 \family typewriter
26158  Noweb->Programa
26159 \family default
26160  puede generar varios arcivos,
26161  aunque la mayoría de ellos se borran al cerrar \SpecialChar LyX
26162 .
26163  Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR,
26164  para que el gragmento build-script pueda situar los archivos generados en su sitio.
26165 \end_layout
26166
26167 \begin_layout Paragraph
26168 Instrucciones de compilación en el documento
26169 \end_layout
26170
26171 \begin_layout Standard
26172 La última parte de la integración entre \SpecialChar LyX
26173  y noweb es el trozo 
26174 \begin_inset Quotes cld
26175 \end_inset
26176
26177 build-script
26178 \begin_inset Quotes crd
26179 \end_inset
26180
26181 .
26182  Generalmente,
26183  las instrucciones para compilar tu programa deberían incluirse en un trozo propio.
26184  El 
26185 \family typewriter
26186 build-script
26187 \family default
26188  específico de noweb visto antes usa el comando 
26189 \family typewriter
26190 notangle
26191 \family default
26192  para buscar ese trozo (llamado 
26193 \begin_inset Quotes cld
26194 \end_inset
26195
26196 build-script
26197 \begin_inset Quotes crd
26198 \end_inset
26199
26200 ) y procesa su contenido a través de 
26201 \family typewriter
26202 sh
26203 \family default
26204 .
26205 \end_layout
26206
26207 \begin_layout Standard
26208 Típicamente,
26209  un trozo 
26210 \begin_inset Quotes cld
26211 \end_inset
26212
26213 build-script
26214 \begin_inset Quotes crd
26215 \end_inset
26216
26217  se verá más o menos así:
26218 \end_layout
26219
26220 \begin_layout LyX-Code
26221 <<build-script>>=
26222 \end_layout
26223
26224 \begin_layout LyX-Code
26225 #!/bin/sh
26226 \begin_inset Newline newline
26227 \end_inset
26228
26229 if [ -z "${NOWEB_SOURCE}" ]
26230 \begin_inset Newline newline
26231 \end_inset
26232
26233 then
26234 \end_layout
26235
26236 \begin_layout LyX-Code
26237 NOWEB_SOURCE=myfile.nw
26238 \begin_inset Newline newline
26239 \end_inset
26240
26241 fi
26242 \begin_inset Newline newline
26243 \end_inset
26244
26245 [...
26246  code to extract files ...
26247  use NOWEB_OUTPUT_DIR here ...]
26248 \begin_inset Newline newline
26249 \end_inset
26250
26251 [...
26252  code to compile files ...]
26253 \begin_inset Newline newline
26254 \end_inset
26255
26256 @
26257 \end_layout
26258
26259 \begin_layout Standard
26260 Mira en 
26261 \family typewriter
26262 \emph on
26263 LIBDIR
26264 \emph default
26265 /examples/listerrors.lyx
26266 \family default
26267  o 
26268 \family typewriter
26269 \emph on
26270 LIBDIR
26271 \emph default
26272 /examples/Literate.lyx
26273 \family default
26274 ,
26275  que implementan dos versiones del programa 
26276 \family typewriter
26277 listerrors
26278 \family default
26279 ,
26280  para ver algunos ejemplos de cómo ensamblar todo esto,
26281  o en 
26282 \family typewriter
26283 \emph on
26284 LIBDIR
26285 \emph default
26286 /examples/noweb2lyx.lyx
26287 \family default
26288 \emph on
26289 .
26290
26291 \emph default
26292  Es interesante ver cómo estos tres archivos muestran la independencia del lenguaje de programación literaria utilizado en \SpecialChar LyX
26293 ,
26294  puesto que están escritos,
26295  respectivamente,
26296  en Python,
26297  C y Perl.
26298 \end_layout
26299
26300 \begin_layout Subsubsection
26301 Configurar \SpecialChar LyX
26302
26303 \end_layout
26304
26305 \begin_layout Standard
26306 Todo el soporte de Programación Literaria se configura en el panel del menú 
26307 \family sans
26308 Herramientas\SpecialChar menuseparator
26309 Preferencias
26310 \family default
26311  en las solapas 
26312 \family sans
26313 Formatos
26314 \family default
26315
26316 \begin_inset space ~
26317 \end_inset
26318
26319
26320 \family sans
26321 de
26322 \family default
26323
26324 \begin_inset space ~
26325 \end_inset
26326
26327 a
26328 \family sans
26329 rchivo 
26330 \family default
26331
26332 \family sans
26333 Convertidores
26334 \family default
26335 .
26336  Las partes importantes son:
26337 \end_layout
26338
26339 \begin_layout Description
26340 el
26341 \begin_inset space ~
26342 \end_inset
26343
26344 formato
26345 \begin_inset space ~
26346 \end_inset
26347
26348
26349 \begin_inset Quotes cld
26350 \end_inset
26351
26352 literario
26353 \begin_inset Quotes crd
26354 \end_inset
26355
26356  En la solapa 
26357 \family sans
26358 Formatos
26359 \begin_inset space ~
26360 \end_inset
26361
26362 de
26363 \begin_inset space ~
26364 \end_inset
26365
26366 archivo
26367 \family default
26368  se configuran las partes específicas de Noweb.
26369  En 
26370 \family sans
26371 Nombre
26372 \begin_inset space ~
26373 \end_inset
26374
26375 GUI
26376 \family default
26377  debe ponerse 
26378 \family typewriter
26379 NoWeb
26380 \family default
26381 ,
26382  en
26383 \family sans
26384  Extensión
26385 \family default
26386  debe ponerse 
26387 \family typewriter
26388 nw
26389 \family default
26390 .
26391  Esto prepara a \SpecialChar LyX
26392  para generar un archivo con extensión 
26393 \family typewriter
26394 .nw
26395 \family default
26396  en el primer paso del proceso de conversión.
26397 \end_layout
26398
26399 \begin_layout Description
26400 el
26401 \begin_inset space ~
26402 \end_inset
26403
26404 formato
26405 \family sans
26406
26407 \begin_inset space ~
26408 \end_inset
26409
26410 Program
26411 \family default
26412 a Este es un formato ficticio cuyo único propósito es ser el punto final de una conversión (que luego nos permite establecer un convertidor que apunta a dicho 
26413 \family sans
26414 Programa
26415 \family default
26416 ).
26417 \end_layout
26418
26419 \begin_layout Description
26420
26421 \family sans
26422 NoWeb
26423 \family default
26424 ->
26425 \family sans
26426 \SpecialChar LaTeX
26427
26428 \family default
26429  Este convertidor realiza el 
26430 \begin_inset Quotes cld
26431 \end_inset
26432
26433 weaving
26434 \begin_inset Quotes crd
26435 \end_inset
26436
26437  (generación de la documentación) del documento literario.
26438  Para Noweb,
26439  hay que poner el 
26440 \family sans
26441 Convertidor
26442 \family default
26443  
26444 \begin_inset Quotes cld
26445 \end_inset
26446
26447
26448 \family typewriter
26449 noweave -delay -index $$i > $$o
26450 \family default
26451
26452 \begin_inset Quotes crd
26453 \end_inset
26454
26455
26456 \end_layout
26457
26458 \begin_layout Description
26459
26460 \family sans
26461 NoWeb
26462 \family default
26463 ->
26464 \family sans
26465 Program
26466 \family default
26467 a Este realiza el paso 
26468 \begin_inset Quotes cld
26469 \end_inset
26470
26471 tangling
26472 \begin_inset Quotes crd
26473 \end_inset
26474
26475  (generación del código).
26476  Como se dijo antes,
26477  el 
26478 \family sans
26479 Convertidor
26480 \family default
26481  en este caso es 
26482 \begin_inset Quotes cld
26483 \end_inset
26484
26485
26486 \family typewriter
26487 build-script $$i
26488 \family default
26489
26490 \begin_inset Quotes crd
26491 \end_inset
26492
26493 ,
26494  con la 
26495 \family sans
26496 Opción
26497 \family default
26498 \series bold
26499
26500 \begin_inset space ~
26501 \end_inset
26502
26503
26504 \family sans
26505 \series default
26506 extra
26507 \family default
26508  
26509 \begin_inset Quotes cld
26510 \end_inset
26511
26512
26513 \family typewriter
26514 originaldir,parselog=listerrors
26515 \family default
26516
26517 \begin_inset Quotes crd
26518 \end_inset
26519
26520 .
26521 \end_layout
26522
26523 \begin_layout Subsubsection
26524 Extensiones de depuración
26525 \end_layout
26526
26527 \begin_layout Standard
26528 En el servidor \SpecialChar LyX
26529  también se ha implementado una nueva función,
26530  
26531 \begin_inset Quotes cld
26532 \end_inset
26533
26534 server-goto-file-row
26535 \begin_inset Quotes crd
26536 \end_inset
26537
26538 ,
26539  para ser utilizada con 
26540 \family typewriter
26541 ddd
26542 \family default
26543 /
26544 \family typewriter
26545 gdb
26546 \family default
26547  u otro depurador.
26548  
26549 \end_layout
26550
26551 \begin_layout Standard
26552 Cuando se depura código con 
26553 \family typewriter
26554 ddd
26555 \family default
26556 /
26557 \family typewriter
26558 gdb
26559 \family default
26560 ,
26561  es posible invocar un editor de texto en la posición actual de ejecución con una sencilla pulsación de teclado.
26562  La configuración por omisión de 
26563 \family typewriter
26564 ddd
26565 \family default
26566  para esto es 
26567 \family sans
26568 shift-ctrl-V
26569 \family default
26570 .
26571  La línea de comando del editor utilizado por 
26572 \family typewriter
26573 ddd
26574 \family default
26575  se puede definir accediendo al diálogo 
26576 \family sans
26577 Editar\SpecialChar menuseparator
26578 Preferencias\SpecialChar menuseparator
26579 Helpers
26580 \family default
26581  cambiando la entrada 
26582 \family sans
26583 Edit Sources
26584 \family default
26585 .
26586 \end_layout
26587
26588 \begin_layout Standard
26589 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
26590  y esta característica de 
26591 \family typewriter
26592 ddd
26593 \family default
26594 ,
26595  poniendo lo siguiente en 
26596 \family sans
26597 Edit Sources
26598 \family default
26599 :
26600 \end_layout
26601
26602 \begin_layout LyX-Code
26603
26604 \family sans
26605 echo "
26606 \family default
26607 \size footnotesize
26608 LYXCMD
26609 \family sans
26610 \size default
26611 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
26612 \end_layout
26613
26614 \begin_layout Standard
26615 Con esto,
26616  cuando estás usando 
26617 \family typewriter
26618 ddd
26619 \family default
26620  y encuentras una parte del programa que quieres editar,
26621  solo has de pulsar 
26622 \family sans
26623 shift-ctrl-V
26624 \family default
26625  (en la ventana de 
26626 \family sans
26627 ddd
26628 \family default
26629 ),
26630  y 
26631 \family sans
26632 ddd
26633 \family default
26634  pasa esta información por medio del servidor \SpecialChar LyX
26635  a \SpecialChar LyX
26636 ,
26637  en cuya ventana se verá el mismo archivo con el cursor en la posición apuntada por 
26638 \family sans
26639 ddd
26640 \family default
26641 .
26642  ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla para localizar los fallos del programa!
26643 \end_layout
26644
26645 \begin_layout Standard
26646 Sin embargo,
26647  ten en cuenta que debes habilitar el servidor \SpecialChar LyX
26648  para trabajar con él (por omisión está desactivado).
26649  
26650 \end_layout
26651
26652 \begin_layout Standard
26653
26654 \lang english
26655 Sec
26656 \lang spanish
26657 .
26658 \begin_inset space ~
26659 \end_inset
26660
26661
26662 \begin_inset CommandInset ref
26663 LatexCommand ref
26664 reference "sec:Iniciar-el-servidor"
26665 nolink "false"
26666
26667 \end_inset
26668
26669  
26670 \lang english
26671 explains how to do that
26672 \lang spanish
26673 .
26674 \end_layout
26675
26676 \begin_layout Subsubsection
26677 Ampliación de la barra de herramientas
26678 \end_layout
26679
26680 \begin_layout Standard
26681 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de \SpecialChar LyX
26682 .
26683  Four de ellos son atajos a los tipos de párrafo:
26684  
26685 \family sans
26686 Normal
26687 \family default
26688 ,
26689  
26690 \family sans
26691 Sección
26692 \family default
26693 ,
26694  
26695 \family sans
26696 \SpecialChar LaTeX
26697
26698 \family default
26699 ,
26700  
26701 \family sans
26702 y Código-\SpecialChar LyX
26703
26704 \family default
26705 ,
26706  
26707 \lang english
26708 one fpr the custom inset 
26709 \family sans
26710 \lang spanish
26711 Trozo
26712 \family default
26713 .
26714  El otro es un atajo a la entrada 
26715 \begin_inset Quotes cld
26716 \end_inset
26717
26718
26719 \family sans
26720 Compilar Programa
26721 \family default
26722
26723 \begin_inset Quotes crd
26724 \end_inset
26725
26726  del menú 
26727 \family sans
26728 Archivo
26729 \family default
26730 .
26731  
26732 \end_layout
26733
26734 \begin_layout Standard
26735 \SpecialChar LyX
26736  dispone de una colección de botones para personalizar la barra de herramientas.
26737  En mi barra de herramientas personal me gusta combinar los seis botones mencionados con otros dos para las entradas de menú 
26738 \family sans
26739 Documento
26740 \family default
26741 \SpecialChar menuseparator
26742
26743 \family sans
26744 Actualizar
26745 \family default
26746 \SpecialChar menuseparator
26747
26748 \family sans
26749 DVI
26750 \family default
26751  y 
26752 \family sans
26753 Documento\SpecialChar menuseparator
26754 DVI
26755 \family default
26756 .
26757  Así es como queda:
26758 \end_layout
26759
26760 \begin_layout LyX-Code
26761 Toolbar
26762 \end_layout
26763
26764 \begin_layout LyX-Code
26765   Layouts
26766 \end_layout
26767
26768 \begin_layout LyX-Code
26769   Icon "layout Standard"
26770 \end_layout
26771
26772 \begin_layout LyX-Code
26773   Icon "layout Section"
26774 \end_layout
26775
26776 \begin_layout LyX-Code
26777   Icon "layout \SpecialChar LaTeX
26778 "
26779 \end_layout
26780
26781 \begin_layout LyX-Code
26782   Icon "layout \SpecialChar LyX
26783 -Code"
26784 \end_layout
26785
26786 \begin_layout LyX-Code
26787   Icon "
26788 \lang english
26789 flex.insert
26790 \lang spanish
26791  Chunk"
26792 \end_layout
26793
26794 \begin_layout LyX-Code
26795   Separator
26796 \end_layout
26797
26798 \begin_layout LyX-Code
26799   Icon "buffer-view"
26800 \end_layout
26801
26802 \begin_layout LyX-Code
26803   Icon "buffer-typeset"
26804 \end_layout
26805
26806 \begin_layout LyX-Code
26807   Icon "build-program"
26808 \end_layout
26809
26810 \begin_layout LyX-Code
26811   Separator
26812 \end_layout
26813
26814 \begin_layout LyX-Code
26815 .
26816 \end_layout
26817
26818 \begin_layout LyX-Code
26819 .
26820 \end_layout
26821
26822 \begin_layout LyX-Code
26823 .
26824 \end_layout
26825
26826 \begin_layout LyX-Code
26827 End
26828 \end_layout
26829
26830 \begin_layout Subsubsection
26831 Personalización de los colores
26832 \end_layout
26833
26834 \begin_layout Standard
26835 Cierto número de colores usados en \SpecialChar LyX
26836  se pueden personalizar en el diálogo 
26837 \family sans
26838 Preferencias
26839 \family default
26840 .
26841  Una de las cosas que más molesta a la gente es el color de la tipografía del código \SpecialChar LaTeX
26842 ,
26843  que por omisión es rojo,
26844  y como el entorno 
26845 \lang english
26846
26847 \begin_inset Flex Noun
26848 status collapsed
26849
26850 \begin_layout Plain Layout
26851 Trozo
26852 \end_layout
26853
26854 \end_inset
26855
26856
26857 \family sans
26858 \lang spanish
26859  
26860 \family default
26861 utiliza código \SpecialChar LaTeX
26862  y hay mucho código en los documentos de programación literaria,
26863  puedes acabar harto de ver tanto rojo.
26864  Así pues,
26865  puedes cambiarlo si quieres en 
26866 \family sans
26867 Apariencia
26868 \family default
26869 \SpecialChar menuseparator
26870
26871 \family sans
26872 Colores.
26873 \end_layout
26874
26875 \begin_layout Standard
26876 El siguiente asunto es la presencia visible del carácter salto de línea en la pantalla.
26877  Puedes elegir el color de este carácter en particular para confundirlo con el fondo.
26878  Recomiendo escoger un color parecido al del fondo pero no idéntico,
26879  de esta forma lo seguirás viendo pero sin molestar tanto.
26880 \end_layout
26881
26882 \begin_layout Subsection
26883 \SpecialChar LyX
26884  y knitr/Sweave
26885 \end_layout
26886
26887 \begin_layout Standard
26888 El soporte para 
26889 \family sans
26890 knitr
26891 \family default
26892  y 
26893 \family sans
26894 Sweave
26895 \family default
26896  está documentado en el archivo de ejemplo 
26897 \emph on
26898 knitr.lyx
26899 \emph default
26900  y en el manual de Sweave (menú 
26901 \family sans
26902 Ayuda\SpecialChar menuseparator
26903 Manuales específicos
26904 \family default
26905 ).
26906 \end_layout
26907
26908 \begin_layout Chapter
26909 Características especiales
26910 \end_layout
26911
26912 \begin_layout Standard
26913 Con \SpecialChar LyX
26914  se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
26915 .
26916  Aunque \SpecialChar LyX
26917  no puede soportar directamente todas las características de \SpecialChar LaTeX
26918 ,
26919  siempre es posible usar código \SpecialChar LaTeX
26920 .
26921  Este capítulo trata de algunas cosas especiales que podrían interesarte.
26922  Las características especiales relacionadas con figuras,
26923  cuadros,
26924  flotantes,
26925  marcos y notas,
26926  se pueden consultar en el manual 
26927 \emph on
26928 Objetos insertados
26929 \emph default
26930 .
26931  
26932 \end_layout
26933
26934 \begin_layout Section
26935 Texto en columnas
26936 \end_layout
26937
26938 \begin_layout Standard
26939 Esta característica es independiente de la opción 
26940 \family sans
26941 Documento con dos columnas
26942 \family default
26943  en 
26944 \family sans
26945 Diseño del texto
26946 \family default
26947  de la configuración del documento.
26948  Para tener dos columnas de texto en todo el documento se recomienda usar dicha opción.
26949  Para el resto de casos se usa la característica aquí descrita.
26950 \end_layout
26951
26952 \begin_layout Standard
26953 Para poner texto en varias columnas,
26954  hay que cargar el módulo 
26955 \family sans
26956 Columnas
26957 \family default
26958  (menú 
26959 \family sans
26960 Documento\SpecialChar menuseparator
26961 Configuración\SpecialChar menuseparator
26962 Módulos
26963 \family default
26964 ),
26965  y debe estar instalado el paquete \SpecialChar LaTeX
26966  
26967 \family typewriter
26968 multicol
26969 \family default
26970
26971 \begin_inset Index idx
26972 range none
26973 pageformat default
26974 status collapsed
26975
26976 \begin_layout Plain Layout
26977 \SpecialChar LaTeX
26978 -paquetes !
26979  multicol
26980 \end_layout
26981
26982 \end_inset
26983
26984 .
26985 \end_layout
26986
26987 \begin_layout Standard
26988 Las notas al pie en las columnas se colocarán al final de la página y no bajo cada columna.
26989  En las distintas columnas se puede usar todo,
26990  excepto que para flotantes hay que usar la opción 
26991 \family sans
26992 Extender columnas
26993 \family default
26994 .
26995 \end_layout
26996
26997 \begin_layout Subsection
26998 Conceptos básicos
26999 \end_layout
27000
27001 \begin_layout Standard
27002 Para poner un texto en dos columnas,
27003  usa el menú 
27004 \family sans
27005 Insertar\SpecialChar menuseparator
27006 Recuadro
27007 \begin_inset space ~
27008 \end_inset
27009
27010 personalizado\SpecialChar menuseparator
27011 Columnas
27012 \family default
27013  en el punto en que deben iniciarse las columnas.
27014  Escribe en el recuadro todo el texto que debe ir en dos columnas.
27015 \end_layout
27016
27017 \begin_layout Standard
27018 Un ejemplo:
27019 \end_layout
27020
27021 \begin_layout Standard
27022 \noindent
27023
27024 \lang english
27025 \begin_inset Flex Multiple Columns
27026 status open
27027
27028 \begin_layout Plain Layout
27029 \noindent
27030
27031 \series bold
27032 \size small
27033 \lang english
27034 The Adventure of the Empty House
27035 \series default
27036
27037 \begin_inset Newline newline
27038 \end_inset
27039
27040 by Sir Arthur Conan Doyle
27041 \end_layout
27042
27043 \begin_layout Plain Layout
27044
27045 \size small
27046 \lang english
27047 It was in the spring of the year 1894 that all London was interested,
27048  and the fashionable world dismayed,
27049  by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
27050  The public has already learned those particulars of the crime which came out in the police investigation,
27051  but a good deal was suppressed upon that occasion,
27052  since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
27053  Only now,
27054  at the end of nearly ten years,
27055  am I allowed to supply those missing links which make up the whole of that remarkable chain.
27056  The crime was of interest in itself,
27057  but that interest was as nothing to me compared to the inconceivable sequel,
27058  which afforded me the greatest shock and surprise of any event in my adventurous life.
27059  Even now,
27060  after this long interval,
27061  I find myself thrilling as I think of it,
27062  and feeling once more that sudden flood of joy,
27063  amazement,
27064  and incredulity which utterly submerged my mind.
27065  Let me say to that public,
27066  which has shown some interest in those glimpses which I have occasionally given them of the thoughts and actions of a very remarkable man,
27067  that they are not to blame me if I have not shared my knowledge with them,
27068  for I should have considered it my first duty to do so,
27069  had I not been barred by a positive prohibition from his own lips,
27070  which was only withdrawn upon the third of last month.
27071 \end_layout
27072
27073 \end_inset
27074
27075
27076 \end_layout
27077
27078 \begin_layout Standard
27079 Para poner tres o más columnas coloca el cursor dentro del recuadro,
27080  usa el menú 
27081 \family sans
27082 Insertar\SpecialChar menuseparator
27083 Número de columnas
27084 \family default
27085  y escribe el número de columnas,
27086  por ejemplo "3".
27087 \begin_inset Newline newline
27088 \end_inset
27089
27090 Un ejemplo de texto en tres columnas:
27091 \end_layout
27092
27093 \begin_layout Standard
27094
27095 \lang english
27096 \begin_inset Flex Multiple Columns
27097 status open
27098
27099 \begin_layout Plain Layout
27100
27101 \size footnotesize
27102 \lang english
27103 \begin_inset Argument 1
27104 status open
27105
27106 \begin_layout Plain Layout
27107
27108 3
27109 \end_layout
27110
27111 \end_inset
27112
27113 It can be imagined that my close intimacy with Sherlock Holmes had interested me deeply in crime,
27114  and that after his disappearance I never failed to read with care the various problems which came before the public.
27115  And I even attempted,
27116  more than once,
27117  for my own private satisfaction,
27118  to employ his methods in their solution,
27119  though with indifferent success.
27120  There was none,
27121  however,
27122  which appealed to me like this tragedy of Ronald Adair.
27123  As I read the evidence at the inquest,
27124  which led up to a verdict of willful murder against some person or persons unknown,
27125  I realized more clearly than I had ever done the loss which the community had sustained by the death of Sherlock Holmes.
27126  There were points about this strange business which would,
27127  I was sure,
27128  have specially appealed to him,
27129  and the efforts of the police would have been supplemented,
27130  or more probably anticipated,
27131  by the trained observation and the alert mind of the first criminal agent in Europe.
27132  All day,
27133  as I drove upon my round,
27134  I turned over the case in my mind and found no explanation which appeared to me to be adequate.
27135  At the risk of telling a twice-told tale,
27136  I will recapitulate the facts as they were known to the public at the conclusion of the inquest.
27137 \end_layout
27138
27139 \end_inset
27140
27141
27142 \end_layout
27143
27144 \begin_layout Standard
27145 Se puede llegar hasta 10
27146 \begin_inset space ~
27147 \end_inset
27148
27149 columnas,
27150  aunque seguramente no será muy cómodo para los lectores.
27151 \end_layout
27152
27153 \begin_layout Standard
27154
27155 \lang english
27156 \begin_inset Newpage newpage
27157 \end_inset
27158
27159
27160 \end_layout
27161
27162 \begin_layout Subsection
27163 Columnas dentro de otras columnas
27164 \end_layout
27165
27166 \begin_layout Standard
27167 Es posible poner columnas dentro de otras:
27168 \end_layout
27169
27170 \begin_layout Standard
27171
27172 \lang english
27173 \begin_inset Flex Multiple Columns
27174 status open
27175
27176 \begin_layout Plain Layout
27177
27178 \size footnotesize
27179 \lang english
27180 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
27181  at that time governor of one of the Australian colonies.
27182  Adair's mother had returned from Australia to undergo the operation for cataract,
27183  and she,
27184  her son Ronald,
27185  and her daughter Hilda were living together at 427 Park Lane.
27186 \end_layout
27187
27188 \begin_layout Plain Layout
27189
27190 \lang english
27191 \begin_inset Flex Multiple Columns
27192 status open
27193
27194 \begin_layout Plain Layout
27195
27196 \size footnotesize
27197 \lang english
27198 The youth moved in the best society
27199 \begin_inset space ~
27200 \end_inset
27201
27202 – had,
27203  so far as was known,
27204  no enemies and no particular vices.
27205  He had been engaged to Miss Edith Woodley,
27206  of Carstairs,
27207  but the engagement had been broken off by mutual consent some months before,
27208  and there was no sign that it had left any very profound feeling behind it.
27209  For the rest {sic} the man's life moved in a narrow and conventional circle,
27210  for his habits were quiet and his nature unemotional.
27211  Yet it was upon this easy-going young aristocrat that death came,
27212  in most strange and unexpected form,
27213  between the hours of ten and eleven-twenty on the night of March 30,
27214  1894.
27215 \end_layout
27216
27217 \end_inset
27218
27219
27220 \end_layout
27221
27222 \begin_layout Plain Layout
27223
27224 \size footnotesize
27225 \lang english
27226 Ronald Adair was fond of cards
27227 \begin_inset space ~
27228 \end_inset
27229
27230 – playing continually,
27231  but never for such stakes as would hurt him.
27232  He was a member of the Baldwin,
27233  the Cavendish,
27234  and the Bagatelle card clubs.
27235  It was shown that,
27236  after dinner on the day of his death,
27237  he had played a rubber of whist at the latter club.
27238  He had also played there in the afternoon.
27239
27240 \size default
27241  
27242 \size footnotesize
27243 The evidence of those who had played with him
27244 \begin_inset space ~
27245 \end_inset
27246
27247 – Mr.
27248  Murray,
27249  Sir John Hardy,
27250  and Colonel Moran
27251 \begin_inset space ~
27252 \end_inset
27253
27254 – showed that the game was whist,
27255  and that there was a fairly equal fall of the cards.
27256  Adair might have lost five pounds,
27257  but not more.
27258  His fortune was a considerable one,
27259  and such a loss could not in any way affect him.
27260  He had played nearly every day at one club or other,
27261  but he was a cautious player,
27262  and usually rose a winner.
27263  It came out in evidence that,
27264  in partnership with Colonel Moran,
27265  he had actually won as much as four hundred and twenty pounds in a sitting,
27266  some weeks before,
27267  from Godfrey Milner and Lord Balmoral.
27268  So much for his recent history as it came out at the inquest.
27269 \end_layout
27270
27271 \end_inset
27272
27273
27274 \end_layout
27275
27276 \begin_layout Subsection
27277 Ejemplos avanzados
27278 \end_layout
27279
27280 \begin_layout Standard
27281 Los ejemplos de esta sección muestran algunas características más avanzadas de las columnas.
27282 \end_layout
27283
27284 \begin_layout Standard
27285 Para ver más opciones de columnas echa un vistazo a la 
27286 \begin_inset CommandInset href
27287 LatexCommand href
27288 name "documentación"
27289 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
27290 literal "false"
27291
27292 \end_inset
27293
27294  del paquete \SpecialChar LaTeX
27295  
27296 \family typewriter
27297 multicol
27298 \family default
27299 .
27300 \end_layout
27301
27302 \begin_layout Subsubsection
27303 Prefacio
27304 \end_layout
27305
27306 \begin_layout Standard
27307 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro del texto en columnas y usa el menú 
27308 \family sans
27309 Insertar\SpecialChar menuseparator
27310 Prefacio
27311 \family default
27312 .
27313  Escribe en el marco que aparece el texto del prefacio.
27314 \begin_inset Newline newline
27315 \end_inset
27316
27317 Ejemplo con un texto de prefacio:
27318 \begin_inset VSpace bigskip
27319 \end_inset
27320
27321
27322 \end_layout
27323
27324 \begin_layout Standard
27325
27326 \lang english
27327 \begin_inset Flex Multiple Columns
27328 status open
27329
27330 \begin_layout Plain Layout
27331 \begin_inset Argument 2
27332 status open
27333
27334 \begin_layout Plain Layout
27335 Y la historia continúa\SpecialChar ldots
27336
27337 \end_layout
27338
27339 \end_inset
27340
27341
27342 \size small
27343 \lang english
27344 On the evening of the crime,
27345  he returned from the club exactly at ten.
27346  His mother and sister were out spending the evening with a relation.
27347  The servant deposed that she heard him enter the front room on the second floor,
27348  generally used as his sitting-room.
27349  She had lit a fire there,
27350  and as it smoked she had opened the window.
27351  No sound was heard from the room until eleven-twenty,
27352  the hour of the return of Lady Maynooth and her daughter.
27353  Desiring to say good-night,
27354  she attempted to enter her son's room.
27355  The door was locked on the inside,
27356  and no answer could be got to their cries and knocking.
27357  Help was obtained,
27358  and the door forced.
27359  The unfortunate young man was found lying near the table.
27360  His head had been horribly mutilated by an expanding revolver bullet,
27361  but no weapon of any sort was to be found in the room.
27362 \end_layout
27363
27364 \end_inset
27365
27366
27367 \end_layout
27368
27369 \begin_layout Standard
27370 También se puede usar un encabezado de sección como prefacio,
27371  poniendo un comando de sección en código \SpecialChar TeX
27372 .
27373  Por ejemplo,
27374  el comando
27375 \end_layout
27376
27377 \begin_layout Standard
27378
27379 \series bold
27380
27381 \backslash
27382 subsection{título de la subsección}
27383 \end_layout
27384
27385 \begin_layout Standard
27386 crea una subsección.
27387  En el siguiente ejemplo el título de la subsubsección hace de prefacio:
27388 \end_layout
27389
27390 \begin_layout Standard
27391
27392 \lang english
27393 \begin_inset Flex Multiple Columns
27394 status open
27395
27396 \begin_layout Plain Layout
27397 \begin_inset Argument 2
27398 status open
27399
27400 \begin_layout Plain Layout
27401 \begin_inset ERT
27402 status collapsed
27403
27404 \begin_layout Plain Layout
27405
27406
27407 \backslash
27408 subsubsection{
27409 \end_layout
27410
27411 \end_inset
27412
27413 Un encabezado de subsubsección como prefacio
27414 \begin_inset ERT
27415 status collapsed
27416
27417 \begin_layout Plain Layout
27418
27419 }
27420 \end_layout
27421
27422 \end_inset
27423
27424
27425 \end_layout
27426
27427 \end_inset
27428
27429
27430 \size small
27431 \lang english
27432 A minute examination of the circumstances served only to make the case more complex.
27433  In the first place,
27434  no reason could be given why the young man should have fastened the door upon the inside.
27435  There was the possibility that the murderer had done this,
27436  and had afterwards escaped by the window.
27437  The drop was at least twenty feet,
27438  however,
27439  and a bed of crocuses in full bloom lay beneath.
27440  Neither the flowers nor the earth showed any sign of having been disturbed,
27441  nor were there any marks upon the narrow strip of grass which separated the house from the road.
27442  Apparently,
27443  therefore,
27444  it was the young man himself who had fastened the door.
27445  But how did he come by his death?
27446  No one could have climbed up to the window without leaving traces.
27447  Suppose a man had fired through the window,
27448  he would indeed be a remarkable shot who could with a revolver inflict so deadly a wound.
27449  Again,
27450  Park Lane is a frequented thoroughfare;
27451  there is a cab stand within a hundred yards of the house.
27452  No one had heard a shot.
27453 \end_layout
27454
27455 \end_inset
27456
27457
27458 \end_layout
27459
27460 \begin_layout Standard
27461 Si al comenzar las columnas queda menos espacio vertical en la página que el correspondiente a 6 líneas de texto,
27462  se insertará un salto de página.
27463  Dependiendo del número de líneas del texto del prefacio,
27464  es posible cambiar ese espacio.
27465  Para ello se coloca el cursor detrás del prefacio (si lo hay),
27466  se usa el menú 
27467 \family sans
27468 Insertar\SpecialChar menuseparator
27469 Espacio
27470 \begin_inset space ~
27471 \end_inset
27472
27473 ante
27474 \begin_inset space ~
27475 \end_inset
27476
27477 salto
27478 \begin_inset space ~
27479 \end_inset
27480
27481 de
27482 \begin_inset space ~
27483 \end_inset
27484
27485 página
27486 \family default
27487  y se escribe en el marco el espacio deseado,
27488  por ej.
27489  "5cm".
27490 \begin_inset Newline newline
27491 \end_inset
27492
27493 En el siguiente ejemplo,
27494  el espacio establecido es de 7 líneas de texto mediante 
27495 \begin_inset Quotes cld
27496 \end_inset
27497
27498
27499 \family typewriter
27500 7
27501 \backslash
27502 baselineskip
27503 \family default
27504
27505 \begin_inset Quotes crd
27506 \end_inset
27507
27508  (con el comando 
27509 \family typewriter
27510
27511 \backslash
27512 baselineskip
27513 \family default
27514  en código \SpecialChar TeX
27515 ).
27516 \end_layout
27517
27518 \begin_layout Standard
27519
27520 \lang english
27521 \begin_inset Flex Multiple Columns
27522 status open
27523
27524 \begin_layout Plain Layout
27525 \begin_inset Argument 3
27526 status open
27527
27528 \begin_layout Plain Layout
27529 7
27530 \begin_inset ERT
27531 status collapsed
27532
27533 \begin_layout Plain Layout
27534
27535
27536 \backslash
27537 baselineskip
27538 \end_layout
27539
27540 \end_inset
27541
27542
27543 \end_layout
27544
27545 \end_inset
27546
27547
27548 \size small
27549 \lang english
27550 On the evening of the crime,
27551  he returned from the club exactly at ten.
27552  His mother and sister were out spending the evening with a relation.
27553  The servant deposed that she heard him enter the front room on the second floor,
27554  generally used as his sitting-room.
27555  She had lit a fire there,
27556  and as it smoked she had opened the window.
27557  No sound was heard from the room until eleven-twenty,
27558  the hour of the return of Lady Maynooth and her daughter.
27559  Desiring to say good-night,
27560  she attempted to enter her son's room.
27561  The door was locked on the inside,
27562  and no answer could be got to their cries and knocking.
27563  Help was obtained,
27564  and the door forced.
27565  The unfortunate young man was found lying near the table.
27566  His head had been horribly mutilated by an expanding revolver bullet,
27567  but no weapon of any sort was to be found in the room.
27568 \end_layout
27569
27570 \end_inset
27571
27572
27573 \end_layout
27574
27575 \begin_layout Subsubsection
27576 Espacio circundante
27577 \end_layout
27578
27579 \begin_layout Standard
27580 El espacio delante y detrás de las columnas se puede cambiar con el comando de longitud 
27581 \family typewriter
27582
27583 \backslash
27584 multicolsep
27585 \family default
27586 .
27587  Así,
27588  el comando
27589 \end_layout
27590
27591 \begin_layout LyX-Code
27592
27593 \family typewriter
27594
27595 \backslash
27596 setlength{
27597 \backslash
27598 multicolsep}{3cm}
27599 \end_layout
27600
27601 \begin_layout Standard
27602 en código \SpecialChar TeX
27603  establece un espacio de 3
27604 \begin_inset space \thinspace{}
27605 \end_inset
27606
27607 cm.
27608  El cambio debe hacerse antes del inicio de las columnas.
27609  El valor por omisión es de 13
27610 \begin_inset space \thinspace{}
27611 \end_inset
27612
27613 pt.
27614 \end_layout
27615
27616 \begin_layout Standard
27617 Para este ejemplo,
27618  
27619 \family typewriter
27620
27621 \backslash
27622 multicolsep
27623 \family default
27624  se ha establecido en 2.5
27625 \begin_inset space \thinspace{}
27626 \end_inset
27627
27628 cm:
27629 \end_layout
27630
27631 \begin_layout Standard
27632 \begin_inset ERT
27633 status open
27634
27635 \begin_layout Plain Layout
27636
27637
27638 \backslash
27639 setlength{
27640 \backslash
27641 multicolsep}{2.5cm}
27642 \end_layout
27643
27644 \end_inset
27645
27646
27647 \end_layout
27648
27649 \begin_layout Standard
27650
27651 \lang english
27652 \begin_inset Flex Multiple Columns
27653 status open
27654
27655 \begin_layout Plain Layout
27656
27657 \size small
27658 \lang english
27659 All day I turned these facts over in my mind,
27660  endeavouring to hit upon some theory which could reconcile them all,
27661  and to find that line of least resistance which my poor friend had declared to be the starting-point of every investigation.
27662  I confess that I made little progress.
27663  In the evening I strolled across the Park,
27664  and found myself about six o'clock at the Oxford Street end of Park Lane.
27665  A group of loafers upon the pavements,
27666  all staring up at a particular window,
27667  directed me to the house which I had come to see.
27668  A tall,
27669  thin man with coloured glasses,
27670  whom I strongly suspected of being a plain-clothes detective,
27671  was pointing out some theory of his own,
27672  while the others crowded round to listen to what he said.
27673  I got as near him as I could,
27674  but his observations seemed to me to be absurd,
27675  so I withdrew again in some disgust.
27676  As I did so I struck against an elderly,
27677  deformed man,
27678  who had been behind me,
27679  and I knocked down several books which he was carrying.
27680 \end_layout
27681
27682 \end_inset
27683
27684
27685 \end_layout
27686
27687 \begin_layout Standard
27688 \begin_inset Note Greyedout
27689 status open
27690
27691 \begin_layout Plain Layout
27692
27693 \series bold
27694 Nota:
27695
27696 \series default
27697  Los valores de 
27698 \family typewriter
27699
27700 \backslash
27701 setlength
27702 \family default
27703  serán válidos para todas las columnas siguientes hasta que se cambie de nuevo.
27704 \end_layout
27705
27706 \end_inset
27707
27708
27709 \end_layout
27710
27711 \begin_layout Standard
27712 \begin_inset ERT
27713 status collapsed
27714
27715 \begin_layout Plain Layout
27716
27717
27718 \backslash
27719 setlength{
27720 \backslash
27721 multicolsep}{13pt}
27722 \end_layout
27723
27724 \end_inset
27725
27726
27727 \begin_inset Note Note
27728 status collapsed
27729
27730 \begin_layout Plain Layout
27731 vuelta al valor predefinido
27732 \end_layout
27733
27734 \end_inset
27735
27736
27737 \end_layout
27738
27739 \begin_layout Standard
27740
27741 \lang english
27742 \begin_inset Newpage newpage
27743 \end_inset
27744
27745
27746 \end_layout
27747
27748 \begin_layout Subsubsection
27749 Saltos de columna
27750 \end_layout
27751
27752 \begin_layout Standard
27753 Se puede forzar un salto de columna insertando el comando
27754 \series bold
27755  
27756 \family typewriter
27757 \series default
27758
27759 \backslash
27760 columnbreak{}
27761 \family default
27762  en código \SpecialChar TeX
27763  en la posición del texto en la que se desee quebrar la columna.
27764  A tener en cuenta que,
27765  en la mayoría de los casos,
27766  esto genera espacios en el texto.
27767 \begin_inset Newline newline
27768 \end_inset
27769
27770 Un ejemplo:
27771 \end_layout
27772
27773 \begin_layout Standard
27774
27775 \lang english
27776 \begin_inset Flex Multiple Columns
27777 status open
27778
27779 \begin_layout Plain Layout
27780
27781 \size small
27782 \lang english
27783 \begin_inset Quotes eld
27784 \end_inset
27785
27786 You're surprised to see me,
27787  sir,
27788 \begin_inset Quotes erd
27789 \end_inset
27790
27791  said he,
27792  in a strange,
27793  croaking voice.
27794 \end_layout
27795
27796 \begin_layout Plain Layout
27797
27798 \size small
27799 \lang english
27800 I acknowledged that I was.
27801 \end_layout
27802
27803 \begin_layout Plain Layout
27804
27805 \size small
27806 \lang english
27807 \begin_inset Quotes eld
27808 \end_inset
27809
27810 Well,
27811  I've a conscience,
27812  sir,
27813  and when I chanced to see you go into this house,
27814  as I came hobbling after you,
27815  I thought to myself,
27816  I'll just step in and see that kind gentleman,
27817  and tell him that if I was a bit gruff in my manner there was not any harm meant,
27818  and that I am much obliged to him for picking up my books.
27819 \begin_inset Quotes erd
27820 \end_inset
27821
27822
27823 \end_layout
27824
27825 \begin_layout Plain Layout
27826
27827 \size small
27828 \lang english
27829 \begin_inset Quotes eld
27830 \end_inset
27831
27832 You make too much of a trifle,
27833 \begin_inset Quotes erd
27834 \end_inset
27835
27836  said I.
27837  
27838 \begin_inset Quotes eld
27839 \end_inset
27840
27841 May I ask how you knew who I was?
27842 \begin_inset Quotes erd
27843 \end_inset
27844
27845
27846 \lang spanish
27847  TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
27848 \begin_inset ERT
27849 status collapsed
27850
27851 \begin_layout Plain Layout
27852
27853
27854 \backslash
27855 columnbreak{}
27856 \end_layout
27857
27858 \end_inset
27859
27860
27861 \end_layout
27862
27863 \begin_layout Plain Layout
27864
27865 \size small
27866 \lang english
27867 \begin_inset Quotes eld
27868 \end_inset
27869
27870 Well,
27871  sir,
27872  if it isn't too great a liberty,
27873  I am a neighbour of yours,
27874  for you'll find my little bookshop at the corner of Church Street,
27875  and very happy to see you,
27876  I am sure.
27877  Maybe you collect yourself,
27878  sir.
27879  Here's 
27880 \noun on
27881 British
27882 \begin_inset space ~
27883 \end_inset
27884
27885 Birds
27886 \noun default
27887 ,
27888  and 
27889 \noun on
27890 Catullus
27891 \noun default
27892 ,
27893  and 
27894 \noun on
27895 The Holy War
27896 \noun default
27897
27898 \begin_inset space ~
27899 \end_inset
27900
27901 – a bargain,
27902  every one of them.
27903  With five volumes you could just fill that gap on that second shelf.
27904  It looks untidy,
27905  does it not,
27906  sir?
27907 \begin_inset Quotes erd
27908 \end_inset
27909
27910
27911 \end_layout
27912
27913 \end_inset
27914
27915
27916 \end_layout
27917
27918 \begin_layout Subsubsection
27919 Separación de columnas
27920 \end_layout
27921
27922 \begin_layout Standard
27923 La anchura de las columnas se calcula automáticamente,
27924  pero la separación entre ellas se puede modificar mediante el comando 
27925 \family typewriter
27926
27927 \backslash
27928 columnsep
27929 \family default
27930 .
27931  El valor predeterminado es 10
27932 \begin_inset space \thinspace{}
27933 \end_inset
27934
27935 pt.
27936  A continuación hay un ejemplo en el que la longitud de 
27937 \family typewriter
27938
27939 \backslash
27940 columnsep
27941 \family default
27942  se ha establecido en 3
27943 \begin_inset space \thinspace{}
27944 \end_inset
27945
27946 cm:
27947 \end_layout
27948
27949 \begin_layout Standard
27950 \begin_inset ERT
27951 status open
27952
27953 \begin_layout Plain Layout
27954
27955
27956 \backslash
27957 setlength{
27958 \backslash
27959 columnsep}{3cm}
27960 \end_layout
27961
27962 \end_inset
27963
27964
27965 \end_layout
27966
27967 \begin_layout Standard
27968
27969 \lang english
27970 \begin_inset Flex Multiple Columns
27971 status open
27972
27973 \begin_layout Plain Layout
27974
27975 \size small
27976 \lang english
27977 My observations of No.
27978 \begin_inset space \space{}
27979 \end_inset
27980
27981 427 Park Lane did little to clear up the problem in which I was interested.
27982  The house was separated from the street by a low wall and railing,
27983  the whole not more than five feet high.
27984  It was perfectly easy,
27985  therefore,
27986  for anyone to get into the garden,
27987  but the window was entirely inaccessible,
27988  since there was no water pipe or anything which could help the most active man to climb it.
27989  More puzzled than ever,
27990  I retraced my steps to Kensington.
27991  I had not been in my study five minutes when the maid entered to say that a person desired to see me.
27992  To my astonishment it was none other than my strange old book collector,
27993  his sharp,
27994  wizened face peering out from a frame of white hair,
27995  and his precious volumes,
27996  a dozen of them at least,
27997  wedged under his right arm.
27998 \end_layout
27999
28000 \end_inset
28001
28002
28003 \end_layout
28004
28005 \begin_layout Standard
28006 \begin_inset ERT
28007 status collapsed
28008
28009 \begin_layout Plain Layout
28010
28011
28012 \backslash
28013 setlength{
28014 \backslash
28015 columnsep}{10pt}
28016 \end_layout
28017
28018 \end_inset
28019
28020
28021 \begin_inset Note Note
28022 status collapsed
28023
28024 \begin_layout Plain Layout
28025 vuelta al valor predefinido
28026 \end_layout
28027
28028 \end_inset
28029
28030
28031 \end_layout
28032
28033 \begin_layout Subsubsection
28034 Líneas verticales
28035 \end_layout
28036
28037 \begin_layout Standard
28038 Entre las columnas se dibuja una línea cuya anchura viene dada por 
28039 \family typewriter
28040
28041 \backslash
28042 columnseprule
28043 \family default
28044 .
28045  La anchura por omisión es de 0
28046 \begin_inset space \thinspace{}
28047 \end_inset
28048
28049 pt,
28050  no se dibuja ninguna línea.
28051  En el siguiente ejemplo la anchura de línea es 2
28052 \begin_inset space \thinspace{}
28053 \end_inset
28054
28055 pt.
28056 \end_layout
28057
28058 \begin_layout Standard
28059 \begin_inset ERT
28060 status open
28061
28062 \begin_layout Plain Layout
28063
28064
28065 \backslash
28066 setlength{
28067 \backslash
28068 columnseprule}{2pt}
28069 \end_layout
28070
28071 \end_inset
28072
28073
28074 \end_layout
28075
28076 \begin_layout Standard
28077
28078 \lang english
28079 \begin_inset Flex Multiple Columns
28080 status open
28081
28082 \begin_layout Plain Layout
28083
28084 \size small
28085 \lang english
28086 \begin_inset Quotes eld
28087 \end_inset
28088
28089 You're surprised to see me,
28090  sir,
28091 \begin_inset Quotes erd
28092 \end_inset
28093
28094  said he,
28095  in a strange,
28096  croaking voice.
28097 \end_layout
28098
28099 \begin_layout Plain Layout
28100
28101 \size small
28102 \lang english
28103 I acknowledged that I was.
28104 \end_layout
28105
28106 \begin_layout Plain Layout
28107
28108 \size small
28109 \lang english
28110 \begin_inset Quotes eld
28111 \end_inset
28112
28113 Well,
28114  I've a conscience,
28115  sir,
28116  and when I chanced to see you go into this house,
28117  as I came hobbling after you,
28118  I thought to myself,
28119  I'll just step in and see that kind gentleman,
28120  and tell him that if I was a bit gruff in my manner there was not any harm meant,
28121  and that I am much obliged to him for picking up my books.
28122 \begin_inset Quotes erd
28123 \end_inset
28124
28125
28126 \end_layout
28127
28128 \begin_layout Plain Layout
28129
28130 \size small
28131 \lang english
28132 \begin_inset Quotes eld
28133 \end_inset
28134
28135 You make too much of a trifle,
28136 \begin_inset Quotes erd
28137 \end_inset
28138
28139  said I.
28140  
28141 \begin_inset Quotes eld
28142 \end_inset
28143
28144 May I ask how you knew who I was?
28145 \begin_inset Quotes erd
28146 \end_inset
28147
28148
28149 \end_layout
28150
28151 \begin_layout Plain Layout
28152
28153 \size small
28154 \lang english
28155 \begin_inset Quotes eld
28156 \end_inset
28157
28158 Well,
28159  sir,
28160  if it isn't too great a liberty,
28161  I am a neighbour of yours,
28162  for you'll find my little bookshop at the corner of Church Street,
28163  and very happy to see you,
28164  I am sure.
28165  Maybe you collect yourself,
28166  sir.
28167  Here's 
28168 \noun on
28169 British
28170 \begin_inset space ~
28171 \end_inset
28172
28173 Birds
28174 \noun default
28175 ,
28176  and 
28177 \noun on
28178 Catullus
28179 \noun default
28180 ,
28181  and 
28182 \noun on
28183 The Holy War
28184 \noun default
28185
28186 \begin_inset space ~
28187 \end_inset
28188
28189 – a bargain,
28190  every one of them.
28191  With five volumes you could just fill that gap on that second shelf.
28192  It looks untidy,
28193  does it not,
28194  sir?
28195 \begin_inset Quotes erd
28196 \end_inset
28197
28198
28199 \end_layout
28200
28201 \end_inset
28202
28203
28204 \end_layout
28205
28206 \begin_layout Standard
28207 \begin_inset VSpace defskip
28208 \end_inset
28209
28210
28211 \end_layout
28212
28213 \begin_layout Standard
28214 La raya se puede colorear redefiniendo el comando
28215 \lang english
28216  
28217 \family typewriter
28218 \lang spanish
28219
28220 \backslash
28221 columnseprulecolor
28222 \family default
28223 .
28224  Esto se consigue insertando el comando
28225 \end_layout
28226
28227 \begin_layout LyX-Code
28228
28229 \family typewriter
28230
28231 \backslash
28232 renewcommand{
28233 \backslash
28234 columnseprulecolor}{
28235 \backslash
28236 color{red}}
28237 \end_layout
28238
28239 \begin_layout LyX-Code
28240 en código \SpecialChar TeX
28241  delante del recuadro columnas.
28242  Se puede poner el color deseado en lugar de red (rojo).
28243  Se puede usar cualquier color predefinido o personalizado.
28244  Véase el manual 
28245 \emph on
28246 Objetos insertados
28247 \emph default
28248 ,
28249
28250 \emph on
28251  
28252 \emph default
28253 sección 
28254 \emph on
28255 Cuadros coloreados
28256 \emph default
28257  para más información sobre colores.
28258  Para volver al color por omisión inserta el comando
28259 \end_layout
28260
28261 \begin_layout LyX-Code
28262
28263 \backslash
28264 renewcommand{
28265 \backslash
28266 columnseprulecolor}{
28267 \backslash
28268 normalcolor}
28269 \end_layout
28270
28271 \begin_layout LyX-Code
28272 Aquí hay un ejemplo con una línea en color cian y 1
28273 \begin_inset space \thinspace{}
28274 \end_inset
28275
28276 cm de separación entre columnas:
28277 \end_layout
28278
28279 \begin_layout Standard
28280 \begin_inset ERT
28281 status open
28282
28283 \begin_layout Plain Layout
28284
28285
28286 \backslash
28287 setlength{
28288 \backslash
28289 columnsep}{1cm}
28290 \end_layout
28291
28292 \begin_layout Plain Layout
28293
28294
28295 \backslash
28296 renewcommand{
28297 \backslash
28298 columnseprulecolor}{
28299 \backslash
28300 color{cyan}}
28301 \end_layout
28302
28303 \end_inset
28304
28305
28306 \end_layout
28307
28308 \begin_layout Standard
28309
28310 \lang english
28311 \begin_inset Flex Multiple Columns
28312 status open
28313
28314 \begin_layout Plain Layout
28315
28316 \size small
28317 \lang english
28318 \begin_inset Quotes eld
28319 \end_inset
28320
28321 You're surprised to see me,
28322  sir,
28323 \begin_inset Quotes erd
28324 \end_inset
28325
28326  said he,
28327  in a strange,
28328  croaking voice.
28329 \end_layout
28330
28331 \begin_layout Plain Layout
28332
28333 \size small
28334 \lang english
28335 I acknowledged that I was.
28336 \end_layout
28337
28338 \begin_layout Plain Layout
28339
28340 \size small
28341 \lang english
28342 \begin_inset Quotes eld
28343 \end_inset
28344
28345 Well,
28346  I've a conscience,
28347  sir,
28348  and when I chanced to see you go into this house,
28349  as I came hobbling after you,
28350  I thought to myself,
28351  I'll just step in and see that kind gentleman,
28352  and tell him that if I was a bit gruff in my manner there was not any harm meant,
28353  and that I am much obliged to him for picking up my books.
28354 \begin_inset Quotes erd
28355 \end_inset
28356
28357
28358 \end_layout
28359
28360 \begin_layout Plain Layout
28361
28362 \size small
28363 \lang english
28364 \begin_inset Quotes eld
28365 \end_inset
28366
28367 You make too much of a trifle,
28368 \begin_inset Quotes erd
28369 \end_inset
28370
28371  said I.
28372  
28373 \begin_inset Quotes eld
28374 \end_inset
28375
28376 May I ask how you knew who I was?
28377 \begin_inset Quotes erd
28378 \end_inset
28379
28380
28381 \end_layout
28382
28383 \begin_layout Plain Layout
28384
28385 \size small
28386 \lang english
28387 \begin_inset Quotes eld
28388 \end_inset
28389
28390 Well,
28391  sir,
28392  if it isn't too great a liberty,
28393  I am a neighbour of yours,
28394  for you'll find my little bookshop at the corner of Church Street,
28395  and very happy to see you,
28396  I am sure.
28397  Maybe you collect yourself,
28398  sir.
28399  Here's 
28400 \noun on
28401 British
28402 \begin_inset space ~
28403 \end_inset
28404
28405 Birds
28406 \noun default
28407 ,
28408  and 
28409 \noun on
28410 Catullus
28411 \noun default
28412 ,
28413  and 
28414 \noun on
28415 The Holy War
28416 \noun default
28417
28418 \begin_inset space ~
28419 \end_inset
28420
28421 – a bargain,
28422  every one of them.
28423  With five volumes you could just fill that gap on that second shelf.
28424  It looks untidy,
28425  does it not,
28426  sir?
28427 \begin_inset Quotes erd
28428 \end_inset
28429
28430
28431 \end_layout
28432
28433 \end_inset
28434
28435
28436 \end_layout
28437
28438 \begin_layout Standard
28439 \begin_inset ERT
28440 status collapsed
28441
28442 \begin_layout Plain Layout
28443
28444
28445 \backslash
28446 setlength{
28447 \backslash
28448 columnseprule}{0pt}
28449 \end_layout
28450
28451 \begin_layout Plain Layout
28452
28453
28454 \backslash
28455 renewcommand{
28456 \backslash
28457 columnseprulecolor}{
28458 \backslash
28459 normalcolor}
28460 \end_layout
28461
28462 \end_inset
28463
28464
28465 \begin_inset Note Note
28466 status collapsed
28467
28468 \begin_layout Plain Layout
28469 retornar a los valores por omisión.
28470 \end_layout
28471
28472 \end_inset
28473
28474
28475 \end_layout
28476
28477 \begin_layout Standard
28478 \begin_inset Newpage newpage
28479 \end_inset
28480
28481
28482 \end_layout
28483
28484 \begin_layout Section
28485 Párrafos con formas diversas
28486 \end_layout
28487
28488 \begin_layout Standard
28489 \SpecialChar LaTeX
28490  y cualquier procesador de texto usan por omisión párrafos rectangulares.
28491  Para casos especiales como posters,
28492  tarjetas o poemas,
28493  es posible modifcar la forma del párrafo.
28494  Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
28495  
28496 \family typewriter
28497 shapepar
28498 \family default
28499 ,
28500  que se carga con el módulo
28501 \family sans
28502  Párrafos conformados
28503 \family default
28504  en 
28505 \family sans
28506 Documento\SpecialChar menuseparator
28507 Configuración\SpecialChar menuseparator
28508 Módulos
28509 \family default
28510 .
28511 \end_layout
28512
28513 \begin_layout Subsection
28514 Formas predefinidas
28515 \end_layout
28516
28517 \begin_layout Standard
28518 El paquete 
28519 \series bold
28520 shapepar
28521 \series default
28522  proporciona las siguientes formas:
28523 \end_layout
28524
28525 \begin_layout Standard
28526 \begin_inset Tabular
28527 <lyxtabular version="3" rows="13" columns="3">
28528 <features booktabs="true" islongtable="true" longtabularalignment="center">
28529 <column alignment="center" valignment="middle" width="16col%">
28530 <column alignment="center" valignment="middle" width="40col%">
28531 <column alignment="center" valignment="middle" width="35col%">
28532 <row endhead="true">
28533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28534 \begin_inset Text
28535
28536 \begin_layout Plain Layout
28537 Nombre
28538 \end_layout
28539
28540 \end_inset
28541 </cell>
28542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28543 \begin_inset Text
28544
28545 \begin_layout Plain Layout
28546 Descripción
28547 \end_layout
28548
28549 \end_inset
28550 </cell>
28551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28552 \begin_inset Text
28553
28554 \begin_layout Plain Layout
28555 Observaciones
28556 \end_layout
28557
28558 \end_inset
28559 </cell>
28560 </row>
28561 <row>
28562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28563 \begin_inset Text
28564
28565 \begin_layout Plain Layout
28566 Carátula CD
28567 \end_layout
28568
28569 \end_inset
28570 </cell>
28571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28572 \begin_inset Text
28573
28574 \begin_layout Plain Layout
28575 Círculo con orificio central (tamaño de CD/DVD)
28576 \end_layout
28577
28578 \end_inset
28579 </cell>
28580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28581 \begin_inset Text
28582
28583 \begin_layout Plain Layout
28584 No se puede cambiar el tamaño;
28585  no debe contener demasiado texto
28586 \end_layout
28587
28588 \end_inset
28589 </cell>
28590 </row>
28591 <row>
28592 <cell alignment="center" valignment="top" topline="true" usebox="none">
28593 \begin_inset Text
28594
28595 \begin_layout Plain Layout
28596 Círculo
28597 \end_layout
28598
28599 \end_inset
28600 </cell>
28601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28602 \begin_inset Text
28603
28604 \begin_layout Plain Layout
28605 Círculo
28606 \end_layout
28607
28608 \end_inset
28609 </cell>
28610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28611 \begin_inset Text
28612
28613 \begin_layout Plain Layout
28614 Frágil,
28615  los cálculos
28616 \end_layout
28617
28618 \begin_layout Plain Layout
28619 pueden fallar
28620 \end_layout
28621
28622 \end_inset
28623 </cell>
28624 </row>
28625 <row>
28626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28627 \begin_inset Text
28628
28629 \begin_layout Plain Layout
28630 Diamante
28631 \end_layout
28632
28633 \end_inset
28634 </cell>
28635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28636 \begin_inset Text
28637
28638 \begin_layout Plain Layout
28639 Romboide (simbolizando
28640 \end_layout
28641
28642 \begin_layout Plain Layout
28643 un 
28644 \begin_inset Quotes cld
28645 \end_inset
28646
28647 diamante
28648 \begin_inset Quotes crd
28649 \end_inset
28650
28651 )
28652 \end_layout
28653
28654 \end_inset
28655 </cell>
28656 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28657 \begin_inset Text
28658
28659 \begin_layout Plain Layout
28660 -
28661 \end_layout
28662
28663 \end_inset
28664 </cell>
28665 </row>
28666 <row>
28667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28668 \begin_inset Text
28669
28670 \begin_layout Plain Layout
28671 Corazón
28672 \end_layout
28673
28674 \end_inset
28675 </cell>
28676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28677 \begin_inset Text
28678
28679 \begin_layout Plain Layout
28680 Forma de corazón
28681 \end_layout
28682
28683 \end_inset
28684 </cell>
28685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28686 \begin_inset Text
28687
28688 \begin_layout Plain Layout
28689 -
28690 \end_layout
28691
28692 \end_inset
28693 </cell>
28694 </row>
28695 <row>
28696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28697 \begin_inset Text
28698
28699 \begin_layout Plain Layout
28700 Hexágono
28701 \end_layout
28702
28703 \end_inset
28704 </cell>
28705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28706 \begin_inset Text
28707
28708 \begin_layout Plain Layout
28709 Hexágono
28710 \end_layout
28711
28712 \end_inset
28713 </cell>
28714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28715 \begin_inset Text
28716
28717 \begin_layout Plain Layout
28718 -
28719 \end_layout
28720
28721 \end_inset
28722 </cell>
28723 </row>
28724 <row>
28725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28726 \begin_inset Text
28727
28728 \begin_layout Plain Layout
28729 Tuerca
28730 \end_layout
28731
28732 \end_inset
28733 </cell>
28734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28735 \begin_inset Text
28736
28737 \begin_layout Plain Layout
28738 Tuerca de tornillo
28739 \end_layout
28740
28741 \begin_layout Plain Layout
28742 (hexágono con orificio circular)
28743 \end_layout
28744
28745 \end_inset
28746 </cell>
28747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28748 \begin_inset Text
28749
28750 \begin_layout Plain Layout
28751 -
28752 \end_layout
28753
28754 \end_inset
28755 </cell>
28756 </row>
28757 <row>
28758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28759 \begin_inset Text
28760
28761 \begin_layout Plain Layout
28762 Cuadrado
28763 \end_layout
28764
28765 \end_inset
28766 </cell>
28767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28768 \begin_inset Text
28769
28770 \begin_layout Plain Layout
28771 Cuadrado
28772 \end_layout
28773
28774 \end_inset
28775 </cell>
28776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28777 \begin_inset Text
28778
28779 \begin_layout Plain Layout
28780 -
28781 \end_layout
28782
28783 \end_inset
28784 </cell>
28785 </row>
28786 <row>
28787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28788 \begin_inset Text
28789
28790 \begin_layout Plain Layout
28791 Estrella
28792 \end_layout
28793
28794 \end_inset
28795 </cell>
28796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28797 \begin_inset Text
28798
28799 \begin_layout Plain Layout
28800 Estrella de 5 puntas
28801 \end_layout
28802
28803 \end_inset
28804 </cell>
28805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28806 \begin_inset Text
28807
28808 \begin_layout Plain Layout
28809 -
28810 \end_layout
28811
28812 \end_inset
28813 </cell>
28814 </row>
28815 <row>
28816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28817 \begin_inset Text
28818
28819 \begin_layout Plain Layout
28820 Vela
28821 \end_layout
28822
28823 \end_inset
28824 </cell>
28825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28826 \begin_inset Text
28827
28828 \begin_layout Plain Layout
28829 Cilindro con llama
28830 \end_layout
28831
28832 \end_inset
28833 </cell>
28834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28835 \begin_inset Text
28836
28837 \begin_layout Plain Layout
28838 -
28839 \end_layout
28840
28841 \end_inset
28842 </cell>
28843 </row>
28844 <row>
28845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28846 \begin_inset Text
28847
28848 \begin_layout Plain Layout
28849 Gota/Gota invertida
28850 \end_layout
28851
28852 \end_inset
28853 </cell>
28854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28855 \begin_inset Text
28856
28857 \begin_layout Plain Layout
28858 Forma de gota normal/invertida
28859 \end_layout
28860
28861 \end_inset
28862 </cell>
28863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28864 \begin_inset Text
28865
28866 \begin_layout Plain Layout
28867 Frágil,
28868  los cáculos
28869 \end_layout
28870
28871 \begin_layout Plain Layout
28872 pueden fallar
28873 \end_layout
28874
28875 \end_inset
28876 </cell>
28877 </row>
28878 <row>
28879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28880 \begin_inset Text
28881
28882 \begin_layout Plain Layout
28883 \SpecialChar TeX
28884
28885 \end_layout
28886
28887 \end_inset
28888 </cell>
28889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28890 \begin_inset Text
28891
28892 \begin_layout Plain Layout
28893 Logotipo de \SpecialChar TeX
28894
28895 \end_layout
28896
28897 \end_inset
28898 </cell>
28899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28900 \begin_inset Text
28901
28902 \begin_layout Plain Layout
28903 -
28904 \end_layout
28905
28906 \end_inset
28907 </cell>
28908 </row>
28909 <row>
28910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28911 \begin_inset Text
28912
28913 \begin_layout Plain Layout
28914 Triángulo
28915 \begin_inset Newline newline
28916 \end_inset
28917
28918 arriba/abajo
28919 \begin_inset Newline newline
28920 \end_inset
28921
28922 izquierda/derecha
28923 \end_layout
28924
28925 \end_inset
28926 </cell>
28927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28928 \begin_inset Text
28929
28930 \begin_layout Plain Layout
28931 Triángulos en diferentes orientaciones
28932 \end_layout
28933
28934 \end_inset
28935 </cell>
28936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28937 \begin_inset Text
28938
28939 \begin_layout Plain Layout
28940 -
28941 \end_layout
28942
28943 \end_inset
28944 </cell>
28945 </row>
28946 </lyxtabular>
28947
28948 \end_inset
28949
28950
28951 \end_layout
28952
28953 \begin_layout Standard
28954 Para elegir una determinada forma selecciónala en la lista desplegable de entornos de \SpecialChar LyX
28955  (primer botón de la barra de herramientas).
28956 \end_layout
28957
28958 \begin_layout Standard
28959 \begin_inset Newpage newpage
28960 \end_inset
28961
28962
28963 \end_layout
28964
28965 \begin_layout Standard
28966 Ejemplo de párrafo con forma de tuerca:
28967 \end_layout
28968
28969 \begin_layout Standard
28970 \begin_inset VSpace bigskip
28971 \end_inset
28972
28973
28974 \end_layout
28975
28976 \begin_layout Nut
28977 Lorem ipsum dolor sit amet,
28978  consetetur sadipscing elitr,
28979  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
28980  sed diam voluptua.
28981  At vero eos et accusam et justo duo dolores et ea rebum.
28982  Stet clita kasd gubergren,
28983  no sea takimata sanctus est Lorem ipsum dolor sit amet.
28984  Lorem ipsum dolor sit amet,
28985  consetetur sadipscing elitr,
28986  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
28987  sed diam voluptua.
28988 \end_layout
28989
28990 \begin_layout Standard
28991 \begin_inset VSpace bigskip
28992 \end_inset
28993
28994
28995 \end_layout
28996
28997 \begin_layout Standard
28998 \begin_inset Note Greyedout
28999 status open
29000
29001 \begin_layout Plain Layout
29002
29003 \series bold
29004 Nota
29005 \series default
29006 :
29007  los párrafos conformados no pueden saltar de página.
29008 \end_layout
29009
29010 \end_inset
29011
29012
29013 \end_layout
29014
29015 \begin_layout Standard
29016 \begin_inset VSpace bigskip
29017 \end_inset
29018
29019
29020 \end_layout
29021
29022 \begin_layout Standard
29023 The package 
29024 \family typewriter
29025 shapepar
29026 \family default
29027  preserva siempre la forma independientemente de la cantidad de texto.
29028  Por tanto el tamaño del párrafo cambia en función del texto.
29029  Esto puede provocar desbordamiento de los márgenes.
29030  Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior con el doble de texto:
29031 \end_layout
29032
29033 \begin_layout Standard
29034 \begin_inset Newpage newpage
29035 \end_inset
29036
29037
29038 \end_layout
29039
29040 \begin_layout Nut
29041 Lorem ipsum dolor sit amet,
29042  consetetur sadipscing elitr,
29043  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29044  sed diam voluptua.
29045  At vero eos et accusam et justo duo dolores et ea rebum.
29046  Stet clita kasd gubergren,
29047  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29048  Lorem ipsum dolor sit amet,
29049  consetetur sadipscing elitr,
29050  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29051  sed diam voluptua.
29052  Lorem ipsum dolor sit amet,
29053  consetetur sadipscing elitr,
29054  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29055  sed diam voluptua.
29056  At vero eos et accusam et justo duo dolores et ea rebum.
29057  Stet clita kasd gubergren,
29058  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29059  Lorem ipsum dolor sit amet,
29060  consetetur sadipscing elitr,
29061  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29062  sed diam voluptua.
29063 \end_layout
29064
29065 \begin_layout Standard
29066 \begin_inset VSpace bigskip
29067 \end_inset
29068
29069
29070 \end_layout
29071
29072 \begin_layout Standard
29073 La forma 
29074 \family sans
29075 Carátula CD 
29076 \family default
29077 es una excepción.
29078  No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
29079  Por tanto la cantidad de texto que admite esta forma es limitada.
29080 \begin_inset Newline newline
29081 \end_inset
29082
29083 Las formas 
29084 \family sans
29085 Gota
29086 \family default
29087  y
29088 \family sans
29089  Círculo
29090 \family default
29091  son frágiles,
29092  lo que significa que pueden fallar los cálculos de su tamaño,
29093  según la cantidad de texto.
29094  En esos casos se producirá el error de \SpecialChar LaTeX
29095  
29096 \begin_inset Quotes eld
29097 \end_inset
29098
29099 Arithmetic overflow
29100 \begin_inset Quotes erd
29101 \end_inset
29102
29103 .
29104  Se puede arreglar añadiendo o quitando algo de texto;
29105  si no funciona habrá que elegir otra forma.
29106 \end_layout
29107
29108 \begin_layout Standard
29109 \begin_inset VSpace bigskip
29110 \end_inset
29111
29112
29113 \end_layout
29114
29115 \begin_layout Standard
29116 En formas con puntas,
29117  la rutina de división silábica de \SpecialChar LaTeX
29118  puede fallar.
29119  Entonces habrá que añadir guiones protegidos 
29120 \family sans
29121 (
29122 \begin_inset Info
29123 type  "shortcut"
29124 arg   "specialchar-insert hyphenation"
29125 \end_inset
29126
29127
29128 \family default
29129 ) donde sea necesario.
29130 \end_layout
29131
29132 \begin_layout Standard
29133 \begin_inset VSpace bigskip
29134 \end_inset
29135
29136
29137 \end_layout
29138
29139 \begin_layout Standard
29140 Los párrafos conformados siempre van centrados en la página o ajustados al margen izquierdo,
29141  por tanto no se puede usar la alineación de la configuración de párrafos.
29142  Una solución es poner el párrafo en una minipágina o en un marco y alinear éstos.
29143  En ese caso el problema es saber la anchura adecuada del marco:
29144  si es demasiado ancho y se centra,
29145  el párrafo no queda centrado porque se ajusta a la izquierda del marco.
29146  De modo que habrá que ir probando un poco para acertar con la anchura correcta.
29147  Aquí tenemos dos párrafos 
29148 \family sans
29149 Corazón
29150 \family default
29151 ,
29152  el primero no alineado,
29153  el segundo a la derecha:
29154 \end_layout
29155
29156 \begin_layout Standard
29157 \begin_inset Newpage newpage
29158 \end_inset
29159
29160
29161 \end_layout
29162
29163 \begin_layout Heart
29164 \noindent
29165 Lo\SpecialChar softhyphen
29166 rem ipsum dolor sit amet,
29167  consetetur sadipscing elitr,
29168  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29169  sed diam voluptua.
29170  At vero eos et accusam et justo duo dolores et ea rebum.
29171  Stet clita kasd gubergren,
29172  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29173 \end_layout
29174
29175 \begin_layout Standard
29176 \begin_inset VSpace bigskip
29177 \end_inset
29178
29179
29180 \end_layout
29181
29182 \begin_layout Standard
29183 \noindent
29184 \align right
29185 \begin_inset Box Frameless
29186 position "t"
29187 hor_pos "c"
29188 has_inner_box 1
29189 inner_pos "t"
29190 use_parbox 1
29191 use_makebox 0
29192 width "42col%"
29193 special "none"
29194 height "1in"
29195 height_special "totalheight"
29196 thickness "0.4pt"
29197 separation "3pt"
29198 shadowsize "4pt"
29199 framecolor "black"
29200 backgroundcolor "none"
29201 status open
29202
29203 \begin_layout Heart
29204 \noindent
29205 Lo\SpecialChar softhyphen
29206 rem ipsum dolor sit amet,
29207  consetetur sadipscing elitr,
29208  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29209  sed diam voluptua.
29210  At vero eos et accusam et justo duo dolores et ea rebum.
29211  Stet clita kasd gubergren,
29212  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29213 \end_layout
29214
29215 \end_inset
29216
29217
29218 \end_layout
29219
29220 \begin_layout Subsection
29221 Formas personalizadas
29222 \end_layout
29223
29224 \begin_layout Standard
29225 Se puede definir cualquier forma.
29226  Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada coordenada.
29227  Pero hay una forma de que el ordenador haga los cálculos:
29228 \end_layout
29229
29230 \begin_layout Enumerate
29231 Instala el programa 
29232 \begin_inset CommandInset href
29233 LatexCommand href
29234 name "Jpgfdraw"
29235 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
29236 literal "false"
29237
29238 \end_inset
29239
29240 .
29241 \end_layout
29242
29243 \begin_layout Enumerate
29244 En 
29245 \family sans
29246 Jpgfdraw
29247 \family default
29248  ve al menú 
29249 \family sans
29250 TeX/LaTeX\SpecialChar menuseparator
29251 Settings\SpecialChar menuseparator
29252 Set Normal Size
29253 \family default
29254  y selecciona el tamaño de tipografía usado en el documento.
29255  Por ejemplo,
29256  este documento usa el tamaño 12
29257 \begin_inset space \thinspace{}
29258 \end_inset
29259
29260 pt.
29261 \end_layout
29262
29263 \begin_layout Enumerate
29264 Dibuja una forma.
29265 \end_layout
29266
29267 \begin_layout Enumerate
29268 Usa el menú 
29269 \family sans
29270 TeX/LaTeX\SpecialChar menuseparator
29271 Shapepar
29272 \family default
29273  para exportar la forma a coordenadas.
29274  En el diálogo que surge usa la descripción de la forma para las coordenadas o la ruta misma.
29275 \begin_inset Foot
29276 status collapsed
29277
29278 \begin_layout Plain Layout
29279 Más información en 
29280 \begin_inset CommandInset href
29281 LatexCommand href
29282 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
29283 literal "false"
29284
29285 \end_inset
29286
29287
29288 \end_layout
29289
29290 \end_inset
29291
29292
29293 \end_layout
29294
29295 \begin_layout Standard
29296 Las coordenadas se escriben en un archivo \SpecialChar TeX
29297 .
29298  Para incorporarlo a \SpecialChar LyX
29299 :
29300 \end_layout
29301
29302 \begin_layout Enumerate
29303 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo vacío).
29304 \end_layout
29305
29306 \begin_layout Enumerate
29307 En \SpecialChar LyX
29308  abre el menú 
29309 \family sans
29310 Insertar\SpecialChar menuseparator
29311 Archivo\SpecialChar menuseparator
29312 Documento
29313 \begin_inset space ~
29314 \end_inset
29315
29316 hijo\SpecialChar ldots
29317
29318 \family default
29319 ,
29320  selecciona el archivo y elige 
29321 \family sans
29322 Incorporar
29323 \family default
29324  en 
29325 \family sans
29326 Tipo
29327 \begin_inset space ~
29328 \end_inset
29329
29330 de
29331 \begin_inset space ~
29332 \end_inset
29333
29334 inclusión.
29335 \end_layout
29336
29337 \begin_layout Standard
29338 \begin_inset VSpace defskip
29339 \end_inset
29340
29341
29342 \end_layout
29343
29344 \begin_layout Standard
29345 \begin_inset Note Greyedout
29346 status open
29347
29348 \begin_layout Plain Layout
29349
29350 \series bold
29351 Nota
29352 \series default
29353 :
29354  el cambio de forma sólo se aplica al párrafo actual;
29355  todo se restablece a normal para el párrafo siguiente.
29356  Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
29357 \end_layout
29358
29359 \end_inset
29360
29361
29362 \end_layout
29363
29364 \begin_layout Standard
29365 \begin_inset VSpace bigskip
29366 \end_inset
29367
29368
29369 \end_layout
29370
29371 \begin_layout Standard
29372 Un ejemplo:
29373 \end_layout
29374
29375 \begin_layout Standard
29376 \begin_inset VSpace bigskip
29377 \end_inset
29378
29379
29380 \end_layout
29381
29382 \begin_layout Standard
29383 \begin_inset CommandInset include
29384 LatexCommand input
29385 filename "../SpecialParagraphShape.tex"
29386 literal "true"
29387
29388 \end_inset
29389
29390 Lorem ipsum dolor sit amet,
29391  consetetur sadipscing elitr,
29392  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29393  sed diam voluptua.
29394  At vero eos et accusam et justo duo dolores et ea rebum.
29395  Stet clita kasd gubergren,
29396  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29397  Lorem ipsum dolor sit amet,
29398  consetetur sadipscing elitr,
29399  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29400  sed diam voluptua.
29401 \end_layout
29402
29403 \begin_layout Standard
29404 \begin_inset VSpace bigskip
29405 \end_inset
29406
29407
29408 \end_layout
29409
29410 \begin_layout Standard
29411
29412 \series bold
29413 Un consejo:
29414
29415 \series default
29416  para dibujar formas complejas en 
29417 \family sans
29418 Jpgfdraw
29419 \family default
29420  puedes dibujar la forma con el programa que quieras e importar la imagen obtenida en 
29421 \family sans
29422 Jpgfdraw
29423 \family default
29424 .
29425  Después sólo tendrás que dibujar una línea o spline sobre el contorno de la imagen.
29426 \end_layout
29427
29428 \begin_layout Standard
29429 \begin_inset VSpace bigskip
29430 \end_inset
29431
29432
29433 \end_layout
29434
29435 \begin_layout Standard
29436 El módulo 
29437 \family sans
29438 Párrafos conformados
29439 \family default
29440  proporciona además el 
29441 \family sans
29442 Comando
29443 \family default
29444  
29445 \family sans
29446 shapepar
29447 \family default
29448  y el 
29449 \family sans
29450 Comando
29451 \family default
29452  
29453 \family sans
29454 Shapepar
29455 \family default
29456  que se pueden usar para definir formas coordenada a coordenada.
29457 \begin_inset Foot
29458 status collapsed
29459
29460 \begin_layout Plain Layout
29461 Estos comandos se usan internamente para todas las formas que se han descrito aquí.
29462 \end_layout
29463
29464 \end_inset
29465
29466  Para información sobre el uso de estos entornos de estilo y más posibilidades de personalización echa un vistazo a la 
29467 \begin_inset CommandInset href
29468 LatexCommand href
29469 name "documentación"
29470 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
29471 literal "false"
29472
29473 \end_inset
29474
29475  del paquete 
29476 \family typewriter
29477 shapepar
29478 \family default
29479 .
29480 \end_layout
29481
29482 \end_body
29483 \end_document