]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Additional.lyx
Remove profiling.py
[lyx.git] / lib / doc / es / Additional.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 620
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 Conclusion*
11548 Usado a veces al final de una larga cadena de argumentos.
11549 \end_layout
11550
11551 \begin_layout Fact
11552 Se usa en forma parecida a Proposición,
11553  aunque quizá a una menor escala.
11554 \end_layout
11555
11556 \begin_layout Standard
11557 Además,
11558  Las clases AMS suministran automáticamente los paquetes de tipografía AMS \SpecialChar LaTeX
11559  y AMS.
11560  Deben estar disponibles en tu sistema para usar estos entornos.
11561 \end_layout
11562
11563 \begin_layout Section
11564 Broadway
11565 \end_layout
11566
11567 \begin_layout Standard
11568 por 
11569 \shape smallcaps
11570 Garst Reese
11571 \end_layout
11572
11573 \begin_layout Subsection
11574 Introducción
11575 \end_layout
11576
11577 \begin_layout Standard
11578 Broadway se usa para escribir guiones teatrales.
11579  El formato es más decorativo que el de Hollywood,
11580  y mucho menos normalizado.
11581  Este formato debería ser adecuado para los lugares de trabajo.
11582 \end_layout
11583
11584 \begin_layout Subsection
11585 Problemas especiales
11586 \end_layout
11587
11588 \begin_layout Standard
11589 Los mismos que en el caso de 
11590 \family sans
11591 Hollywood
11592 \family default
11593 .
11594 \end_layout
11595
11596 \begin_layout Subsection
11597 Características especiales
11598 \end_layout
11599
11600 \begin_layout Standard
11601 Introduce los nombres de los personajes 
11602 \family sans
11603 (Portavoz)
11604 \family default
11605  como etiquetas,
11606  después haz una referencia cruzada a la etiqueta para insertar el nombre.
11607  El diálogo de referencia cruzada mostrará el conjunto de personajes.
11608 \end_layout
11609
11610 \begin_layout Subsection
11611 Tamaño del papel y márgenes
11612 \end_layout
11613
11614 \begin_layout Standard
11615 USLetter,
11616  izquierdo 1.6
11617 \begin_inset space \thinspace{}
11618 \end_inset
11619
11620 in,
11621  derecho 0.75
11622 \begin_inset space \thinspace{}
11623 \end_inset
11624
11625 in,
11626  superior 0.5
11627 \begin_inset space \thinspace{}
11628 \end_inset
11629
11630 in,
11631  inferior 0.75
11632 \begin_inset space \thinspace{}
11633 \end_inset
11634
11635 in
11636 \end_layout
11637
11638 \begin_layout Subsection
11639 Entornos
11640 \end_layout
11641
11642 \begin_layout Standard
11643 Están disponibles los entornos siguientes.
11644  Los atajos de teclado indicados a la derecha funcionan con el archivo
11645 \family typewriter
11646  broadway.bind
11647 \family default
11648 .
11649 \end_layout
11650
11651 \begin_layout Itemize
11652
11653 \family sans
11654 Normal
11655 \begin_inset Newline newline
11656 \end_inset
11657
11658
11659 \family default
11660 No deberías necesitarlo,
11661  pero está por si alguna cosa no cuadra en ninguno de los demás entornos.
11662 \end_layout
11663
11664 \begin_layout Itemize
11665
11666 \family sans
11667 Narrativa
11668 \begin_inset space \hfill{}
11669 \end_inset
11670
11671 M-z n
11672 \begin_inset Newline newline
11673 \end_inset
11674
11675
11676 \family default
11677 Se usa para la descripción del escenario y de la acción.
11678  La primera aparición de un personaje en MAYÚSCULAS.
11679 \end_layout
11680
11681 \begin_layout Itemize
11682
11683 \family sans
11684 ACTO
11685 \begin_inset space \hfill{}
11686 \end_inset
11687
11688 M-z a
11689 \begin_inset Newline newline
11690 \end_inset
11691
11692
11693 \family default
11694 Automáticamente numerado.
11695  En pantalla se verá en números arábigos,
11696  pero se imprimirá en números romanos.
11697 \end_layout
11698
11699 \begin_layout Itemize
11700
11701 \family sans
11702 ACTO*
11703 \begin_inset space \hfill{}
11704 \end_inset
11705
11706 M-z S at
11707 \begin_inset Newline newline
11708 \end_inset
11709
11710
11711 \family default
11712 Subtítulo para 
11713 \family sans
11714 ACTO.
11715
11716 \family default
11717  Es texto centrado.
11718 \end_layout
11719
11720 \begin_layout Itemize
11721
11722 \family sans
11723 ESCENA
11724 \begin_inset space \hfill{}
11725 \end_inset
11726
11727 M-z S-S
11728 \begin_inset Newline newline
11729 \end_inset
11730
11731
11732 \family default
11733 No es automáticamente numerado,
11734  debes ponerlo.
11735  Esto es porque no he sabido cómo hacerlo.
11736 \end_layout
11737
11738 \begin_layout Itemize
11739
11740 \family sans
11741 SUBIR_TELÓN:
11742 \begin_inset space \hfill{}
11743 \end_inset
11744
11745 M-z S-R
11746 \begin_inset Newline newline
11747 \end_inset
11748
11749
11750 \family default
11751 Un caso especial de 
11752 \family sans
11753 Narrativa
11754 \family default
11755  para describir el escenario y la acción cuando se levanta el telón.
11756 \end_layout
11757
11758 \begin_layout Itemize
11759
11760 \family sans
11761 Portavoz
11762 \begin_inset space \hfill{}
11763 \end_inset
11764
11765 M-z s
11766 \begin_inset Newline newline
11767 \end_inset
11768
11769
11770 \family default
11771 El nombre del personaje (del actor),
11772  centrado,
11773  en MAYÚSCULAS.
11774 \end_layout
11775
11776 \begin_layout Itemize
11777
11778 \family sans
11779 Entre_Paréntesis
11780 \begin_inset space \hfill{}
11781 \end_inset
11782
11783 M-z p
11784 \begin_inset Newline newline
11785 \end_inset
11786
11787
11788 \family default
11789 Instrucciones para el portavoz.
11790  Los paréntesis se insertan automáticamente.
11791  Solo ( se muestra en pantalla,
11792  pero se imprimirán ambos.
11793  Este entorno solo se usa dentro del entorno 
11794 \family sans
11795 Diálogo
11796 \family default
11797 .
11798 \end_layout
11799
11800 \begin_layout Itemize
11801
11802 \family sans
11803 Diálogo
11804 \begin_inset space \hfill{}
11805 \end_inset
11806
11807 M-z d
11808 \begin_inset Newline newline
11809 \end_inset
11810
11811
11812 \family default
11813 Lo que dice el personaje portavoz.
11814 \end_layout
11815
11816 \begin_layout Itemize
11817
11818 \family sans
11819 CORTINA
11820 \begin_inset space \hfill{}
11821 \end_inset
11822
11823 M-z S-C
11824 \begin_inset Newline newline
11825 \end_inset
11826
11827
11828 \family default
11829 Cae el telón.
11830 \end_layout
11831
11832 \begin_layout Itemize
11833
11834 \family sans
11835 Título
11836 \begin_inset space \hfill{}
11837 \end_inset
11838
11839 M-z S-T
11840 \end_layout
11841
11842 \begin_layout Itemize
11843
11844 \family sans
11845 Autor
11846 \begin_inset space \hfill{}
11847 \end_inset
11848
11849 M-z S-A
11850 \end_layout
11851
11852 \begin_layout Itemize
11853
11854 \family sans
11855 Dirección_dcha
11856 \begin_inset space \hfill{}
11857 \end_inset
11858
11859 M-z r
11860 \end_layout
11861
11862 \begin_layout Standard
11863 Un saludo para todos.
11864 \end_layout
11865
11866 \begin_layout Section
11867 Dinbrief
11868 \end_layout
11869
11870 \begin_layout Standard
11871 La clase de documento 
11872 \family sans
11873 dinbrief
11874 \family default
11875  sirve para escribir cartas de acuerdo con las convenciones alemanas.
11876  Se incluye un archivo modelo como punto de partida,
11877  en 
11878 \family typewriter
11879 .../lyx/share/templates
11880 \family default
11881 .
11882 \end_layout
11883
11884 \begin_layout Section
11885 Publicaciones de Elsevier
11886 \end_layout
11887
11888 \begin_layout Standard
11889 Véase el archivo de plantilla de \SpecialChar LyX
11890  
11891 \family typewriter
11892 elsarticle.lyx
11893 \family default
11894 .
11895  Contiene la información necesaria.
11896 \end_layout
11897
11898 \begin_layout Section
11899 Foils (antes 
11900 \family sans
11901 Foil
11902 \family default
11903 \noun on
11904 \SpecialChar TeX
11905
11906 \noun default
11907 )
11908 \begin_inset CommandInset label
11909 LatexCommand label
11910 name "sec:foiltex"
11911
11912 \end_inset
11913
11914
11915 \end_layout
11916
11917 \begin_layout Standard
11918 por 
11919 \noun on
11920 Allan Rae
11921 \end_layout
11922
11923 \begin_layout Subsection
11924 Introducción
11925 \end_layout
11926
11927 \begin_layout Standard
11928 En esta sección se describe cómo hacer transparencias para proyectores con \SpecialChar LyX
11929 .
11930  Hay dos clases de documento que permiten hacerlas:
11931  la clase predeterminada 
11932 \family sans
11933 slides
11934 \family default
11935 \emph on
11936  
11937 \emph default
11938 y la clase 
11939 \family sans
11940 Foil
11941 \family default
11942 \SpecialChar TeX
11943 .
11944  Esta sección se ocupa de esta última.
11945 \end_layout
11946
11947 \begin_layout Standard
11948 Repito de nuevo alto y claro,
11949  para que no haya equívocos:
11950 \end_layout
11951
11952 \begin_layout Standard
11953 \begin_inset VSpace bigskip
11954 \end_inset
11955
11956
11957 \end_layout
11958
11959 \begin_layout Standard
11960 \align center
11961
11962 \size large
11963 Esta sección trata 
11964 \emph on
11965 solo
11966 \emph default
11967
11968 \begin_inset space ~
11969 \end_inset
11970
11971  la clase 
11972 \family sans
11973 FoilTeX
11974 \family default
11975 \emph on
11976 .
11977 \end_layout
11978
11979 \begin_layout Standard
11980 \begin_inset VSpace bigskip
11981 \end_inset
11982
11983
11984 \end_layout
11985
11986 \begin_layout Standard
11987 Si buscas la documentación para 
11988 \family sans
11989 slides (default)
11990 \family default
11991 ,
11992  mira la sección
11993 \begin_inset space ~
11994 \end_inset
11995
11996
11997 \begin_inset CommandInset ref
11998 LatexCommand ref
11999 reference "sec:slitex"
12000 nolink "false"
12001
12002 \end_inset
12003
12004 .
12005  Si tu sistema no dispone de la clase 
12006 \family sans
12007 FoilTeX
12008 \family default
12009 ,
12010  tendrás que usar la clase 
12011 \family sans
12012 slides
12013 \family default
12014 ,
12015  que no es tan buena como 
12016 \family sans
12017 foils.
12018 \end_layout
12019
12020 \begin_layout Standard
12021 La clase 
12022 \family sans
12023 foils
12024 \family default
12025  está diseñada para usar con la versión
12026 \begin_inset space ~
12027 \end_inset
12028
12029 2.1 de la clase \SpecialChar LaTeX
12030  
12031 \family sans
12032 foils.cls
12033 \family default
12034 ,
12035  que forma parte de \SpecialChar LaTeX2e
12036 .
12037 \end_layout
12038
12039 \begin_layout Subsection
12040 Para empezar
12041 \end_layout
12042
12043 \begin_layout Standard
12044 Obviamente,
12045  para usar esta clase,
12046  debes seleccionar 
12047 \family sans
12048 FoilTeX
12049 \family default
12050  en el diálogo 
12051 \family sans
12052 Documento\SpecialChar menuseparator
12053 Configuración
12054 \family default
12055 .
12056  Algunas de las configuraciones de este diálogo son específicas de esta clase y deberían quedar así:
12057 \end_layout
12058
12059 \begin_layout Itemize
12060 No cambies las opciones 
12061 \family sans
12062 Caras
12063 \family default
12064  y 
12065 \family sans
12066 Columnas
12067 \family default
12068 .
12069  No se tienen en cuenta por la clase 
12070 \family sans
12071 foils
12072 \family default
12073 .
12074 \end_layout
12075
12076 \begin_layout Itemize
12077 El tamaño de letra por omisión es 20
12078 \begin_inset space \thinspace{}
12079 \end_inset
12080
12081 pt,
12082  y las otras opciones son 17
12083 \begin_inset space \thinspace{}
12084 \end_inset
12085
12086 pt,
12087  25
12088 \begin_inset space \thinspace{}
12089 \end_inset
12090
12091 pt y 30
12092 \begin_inset space \thinspace{}
12093 \end_inset
12094
12095 pt.
12096 \end_layout
12097
12098 \begin_layout Itemize
12099 La tipografía predeterminada es 
12100 \family sans
12101 sans
12102 \family default
12103  
12104 \family sans
12105 serif
12106 \family default
12107 ,
12108  pero en las ecuaciones matemáticas se usa la habitual fuente romana.
12109 \end_layout
12110
12111 \begin_layout Itemize
12112
12113 \family sans
12114 Foil
12115 \family default
12116 \SpecialChar TeX
12117  soporta los tamaños de papel A4 y Letter,
12118  así como un tamaño especial para trabajar con diapositivas de 35
12119 \begin_inset space \thinspace{}
12120 \end_inset
12121
12122 mm.
12123  No soporta los tamaños A5,
12124  B5,
12125  legal o executive.
12126 \end_layout
12127
12128 \begin_layout Itemize
12129 No enredes cambiando la colocación de flotantes porque se ignoran en todo caso.
12130  Los flotantes aparecen siempre en el lugar del texto donde se pongan.
12131 \end_layout
12132
12133 \begin_layout Itemize
12134 La configuración del 
12135 \family sans
12136 Diseño
12137 \begin_inset space ~
12138 \end_inset
12139
12140 de
12141 \begin_inset space ~
12142 \end_inset
12143
12144 página
12145 \family default
12146  funciona un poco distinto para esta clase.
12147  
12148 \family sans
12149 Foil
12150 \family default
12151 \SpecialChar TeX
12152  proporciona amplias capacidades para el encabezado y el pie,
12153  incluyendo el uso de logos personalizados.
12154  Véase la sección
12155 \begin_inset space ~
12156 \end_inset
12157
12158
12159 \begin_inset CommandInset ref
12160 LatexCommand ref
12161 reference "sec:foilfoot"
12162 nolink "false"
12163
12164 \end_inset
12165
12166  para más detalles.
12167  La página de título se trata de manera diferente a las demás páginas,
12168  
12169 \emph on
12170 siempre 
12171 \emph default
12172 va sin numerar y 
12173 \emph on
12174 siempre 
12175 \emph default
12176 pone el logo,
12177  (si se define uno),
12178  centrado en la parte inferior de la página.
12179  Las opciones posibles de estilo de página son:
12180 \end_layout
12181
12182 \begin_deeper
12183 \begin_layout Labeling
12184 \labelwidthstring MMMMMMM
12185
12186 \family sans
12187 \series bold
12188 empty
12189 \family default
12190 \series default
12191  El documento de salida no contiene números de página,
12192  ni encabezados ni pies (excepto notas al pie,
12193  claro).
12194  
12195 \end_layout
12196
12197 \begin_layout Labeling
12198 \labelwidthstring MMMMMMM
12199
12200 \family sans
12201 \series bold
12202 plain
12203 \family default
12204 \series default
12205  La salida contiene números de página centrados en la parte inferior.
12206  No contiene encabezados ni pies (que no sean notas).
12207 \end_layout
12208
12209 \begin_layout Labeling
12210 \labelwidthstring MMMMMMM
12211
12212 \family sans
12213 \series bold
12214 foilheadings
12215 \family default
12216 \series default
12217  Números de página en la esquina inferior derecha.
12218  Además se muestran encabezados y pies.
12219  Esta es la opción por omisión.
12220 \end_layout
12221
12222 \begin_layout Labeling
12223 \labelwidthstring MMMMMMM
12224
12225 \family sans
12226 \series bold
12227 fancy
12228 \family default
12229 \series default
12230  Da acceso al paquete 
12231 \family sans
12232 fancyheadings
12233 \family default
12234  aunque el autor de 
12235 \family sans
12236 Foil
12237 \family default
12238 \SpecialChar TeX
12239  desaconseja su empleo a causa de potenciales conflictos con el diseño de la página.
12240 \end_layout
12241
12242 \end_deeper
12243 \begin_layout Subsubsection
12244 Opciones extras
12245 \end_layout
12246
12247 \begin_layout Standard
12248 En el diálogo 
12249 \family sans
12250 Documento\SpecialChar menuseparator
12251 Configuración
12252 \family default
12253  se pueden poner las siguientes opciones extras:
12254 \end_layout
12255
12256 \begin_layout Labeling
12257 \labelwidthstring MMMMMMx
12258
12259 \series bold
12260 35mmSlide
12261 \series default
12262  Establece el formato de papel en 7.33
12263 \begin_inset space \thinspace{}
12264 \end_inset
12265
12266 in por 11
12267 \begin_inset space \thinspace{}
12268 \end_inset
12269
12270 in,
12271  que es aproximadamente el aspecto de una diapositiva de 35
12272 \begin_inset space \thinspace{}
12273 \end_inset
12274
12275 mm,
12276  Haciendo algo más fácil trabajar con este soporte.
12277 \end_layout
12278
12279 \begin_layout Labeling
12280 \labelwidthstring MMMMMMx
12281
12282 \series bold
12283 headrule
12284 \series default
12285  Dibuja una línea bajo el encabezado en cada página excepto la de título.
12286 \end_layout
12287
12288 \begin_layout Labeling
12289 \labelwidthstring MMMMMMx
12290
12291 \series bold
12292 footrule
12293 \series default
12294  Dibuja una línea sobre el pie de cada página excepto la de título.
12295 \end_layout
12296
12297 \begin_layout Labeling
12298 \labelwidthstring MMMMMMx
12299
12300 \series bold
12301 dvips
12302 \series default
12303  Esto se configura automáticamente con cada nuevo documento 
12304 \family sans
12305 foils
12306 \family default
12307 .
12308  Indica a 
12309 \family sans
12310 Foil
12311 \family default
12312 \SpecialChar TeX
12313  que use el driver dvips para girar las páginas establecidas en modo apaisado.
12314 \end_layout
12315
12316 \begin_layout Labeling
12317 \labelwidthstring MMMMMMx
12318
12319 \series bold
12320 landscape
12321 \series default
12322  Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna rotación.
12323  Por tanto si usas esta opción necesitas un programa externo para rotar las páginas y alimentar la impresora en modo apaisado.
12324  Ten en cuenta que esta opción invierte los comportamientos de los entornos 
12325 \family sans
12326 Foilhead
12327 \family default
12328  y 
12329 \family sans
12330 Rotatefoilhead
12331 \family default
12332  (que se describen en la siguiente sección).
12333 \end_layout
12334
12335 \begin_layout Labeling
12336 \labelwidthstring MMMMMMx
12337
12338 \series bold
12339 leqno
12340 \series default
12341  Números de ecuación a la izquierda.
12342 \end_layout
12343
12344 \begin_layout Labeling
12345 \labelwidthstring MMMMMMx
12346
12347 \series bold
12348 fleqn
12349 \series default
12350  Ecuaciones ajustadas a la izquierda.
12351 \end_layout
12352
12353 \begin_layout Subsection
12354 Entornos soportados
12355 \end_layout
12356
12357 \begin_layout Standard
12358 La mayoría de los entornos habitualmente soportados en otras clases lo son también por la clase 
12359 \family sans
12360 foils
12361 \family default
12362 .
12363  Hay varios entornos adicionales suministrados por 
12364 \family sans
12365 Foil
12366 \family default
12367 \SpecialChar TeX
12368  así como un par añadidos por \SpecialChar LyX
12369 .
12370  Los entornos siguientes son compartidos con otras clases:
12371 \end_layout
12372
12373 \begin_layout Standard
12374 \begin_inset Flex Multiple Columns
12375 status open
12376
12377 \begin_layout Itemize
12378
12379 \family sans
12380 Normal
12381 \end_layout
12382
12383 \begin_layout Itemize
12384
12385 \family sans
12386 Enumeración*
12387 \end_layout
12388
12389 \begin_layout Itemize
12390
12391 \family sans
12392 Enumeración
12393 \end_layout
12394
12395 \begin_layout Itemize
12396
12397 \family sans
12398 Descripción
12399 \end_layout
12400
12401 \begin_layout Itemize
12402
12403 \family sans
12404 Lista
12405 \end_layout
12406
12407 \begin_layout Itemize
12408
12409 \family sans
12410 Código-\SpecialChar LyX
12411
12412 \end_layout
12413
12414 \begin_layout Itemize
12415
12416 \family sans
12417 Verso
12418 \end_layout
12419
12420 \begin_layout Itemize
12421
12422 \family sans
12423 Cita
12424 \end_layout
12425
12426 \begin_layout Itemize
12427
12428 \family sans
12429 Citar
12430 \end_layout
12431
12432 \begin_layout Itemize
12433
12434 \family sans
12435 Título
12436 \end_layout
12437
12438 \begin_layout Itemize
12439
12440 \family sans
12441 Autor
12442 \end_layout
12443
12444 \begin_layout Itemize
12445
12446 \family sans
12447 Fecha
12448 \end_layout
12449
12450 \begin_layout Itemize
12451
12452 \family sans
12453 Resumen
12454 \end_layout
12455
12456 \begin_layout Itemize
12457
12458 \family sans
12459 Bibliografía
12460 \end_layout
12461
12462 \begin_layout Itemize
12463
12464 \family sans
12465 Dirección
12466 \end_layout
12467
12468 \begin_layout Itemize
12469
12470 \family sans
12471 Dirección derecha
12472 \end_layout
12473
12474 \end_inset
12475
12476
12477 \end_layout
12478
12479 \begin_layout Standard
12480 Esto es,
12481  todos los entornos principales aparte de los entornos de secciones.
12482  Puesto que 
12483 \family sans
12484 foils
12485 \family default
12486  contiene sus propias secciones,
12487  con un título y un cuerpo,
12488  
12489 \family sans
12490 Foil
12491 \family default
12492 \SpecialChar TeX
12493  proporciona comandos específicos para comenzar nuevas diapositivas,
12494  y son:
12495 \end_layout
12496
12497 \begin_layout Itemize
12498
12499 \family sans
12500 Encabezado_Diapositiva
12501 \end_layout
12502
12503 \begin_layout Itemize
12504
12505 \family sans
12506 Encabezado_Diapositiva_Giro
12507 \end_layout
12508
12509 \begin_layout Standard
12510 Además,
12511  \SpecialChar LyX
12512  provee versiones ligeramente modificadas de estos dos entornos,
12513  llamados:
12514 \end_layout
12515
12516 \begin_layout Itemize
12517
12518 \family sans
12519 Encabezado_Diapositiva_Corto
12520 \end_layout
12521
12522 \begin_layout Itemize
12523
12524 \family sans
12525 Encabezado_Diapositiva_Giro_Corto
12526 \end_layout
12527
12528 \begin_layout Standard
12529 cuyas diferencias serán explicadas en la siguiente sección.
12530 \end_layout
12531
12532 \begin_layout Standard
12533 Puesto que las diapositivas se emplean con frecuencia para presentaciones de ideas,
12534  teoremas y demás,
12535  
12536 \family sans
12537 Foil
12538 \family default
12539 \SpecialChar TeX
12540  proporciona además una extensa colección de entornos para estas cosas:
12541 \end_layout
12542
12543 \begin_layout Standard
12544
12545 \family sans
12546 \begin_inset Flex Multiple Columns
12547 status open
12548
12549 \begin_layout Itemize
12550
12551 \family sans
12552 Teorema
12553 \end_layout
12554
12555 \begin_layout Itemize
12556
12557 \family sans
12558 Lema
12559 \end_layout
12560
12561 \begin_layout Itemize
12562
12563 \family sans
12564 Corolario
12565 \end_layout
12566
12567 \begin_layout Itemize
12568
12569 \family sans
12570 Proposición
12571 \end_layout
12572
12573 \begin_layout Itemize
12574
12575 \family sans
12576 Definición
12577 \end_layout
12578
12579 \begin_layout Itemize
12580
12581 \family sans
12582 Demostración
12583 \end_layout
12584
12585 \begin_layout Itemize
12586
12587 \family sans
12588 Teorema*
12589 \end_layout
12590
12591 \begin_layout Itemize
12592
12593 \family sans
12594 Lema*
12595 \end_layout
12596
12597 \begin_layout Itemize
12598
12599 \family sans
12600 Corolario*
12601 \end_layout
12602
12603 \begin_layout Itemize
12604
12605 \family sans
12606 Proposición*
12607 \end_layout
12608
12609 \begin_layout Itemize
12610
12611 \family sans
12612 Definición*
12613 \end_layout
12614
12615 \end_inset
12616
12617
12618 \end_layout
12619
12620 \begin_layout Standard
12621 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12622  Además hay dos entornos de lista añadidos por \SpecialChar LyX
12623 :
12624 \end_layout
12625
12626 \begin_layout Itemize
12627
12628 \family sans
12629 Lista_Marca
12630 \end_layout
12631
12632 \begin_layout Itemize
12633
12634 \family sans
12635 Lista_Cruzada
12636 \end_layout
12637
12638 \begin_layout Standard
12639
12640 \family sans
12641 Foil
12642 \family default
12643 \SpecialChar TeX
12644  proporciona algunas capacidades poderosas para encabezados y pies,
12645  que es mejor configurar en el preámbulo,
12646  aunque se puede hacer en cualquier lugar del documento.
12647  Si quieres hacerlo así,
12648  el mejor sitio es hacerlo al principio de una diapositiva,
12649  justo detrás del encabezado de la misma.
12650 \end_layout
12651
12652 \begin_layout Standard
12653 Para este propósito se suministran los siguientes estilos [
12654 \shape smallcaps
12655 Martin Vermeer
12656 \shape default
12657 ]:
12658 \end_layout
12659
12660 \begin_layout Standard
12661 \begin_inset Flex Multiple Columns
12662 status open
12663
12664 \begin_layout Itemize
12665
12666 \family sans
12667 Mi_Logotipo
12668 \end_layout
12669
12670 \begin_layout Itemize
12671
12672 \family sans
12673 Restrición
12674 \end_layout
12675
12676 \begin_layout Itemize
12677
12678 \family sans
12679 Pie_Derecho
12680 \end_layout
12681
12682 \begin_layout Itemize
12683
12684 \family sans
12685 Encabezado_Derecho
12686 \end_layout
12687
12688 \begin_layout Itemize
12689
12690 \family sans
12691 Encabezado_Izquierdo
12692 \end_layout
12693
12694 \begin_deeper
12695 \begin_layout Plain Layout
12696 \begin_inset space ~
12697 \end_inset
12698
12699
12700 \end_layout
12701
12702 \end_deeper
12703 \end_inset
12704
12705
12706 \end_layout
12707
12708 \begin_layout Standard
12709 Hay algunos comandos de 
12710 \family sans
12711 Foil
12712 \family default
12713 \SpecialChar TeX
12714  que \SpecialChar LyX
12715  no soporta directamente,
12716  pero se explica su función y su empleo en la sección
12717 \begin_inset space ~
12718 \end_inset
12719
12720
12721 \begin_inset CommandInset ref
12722 LatexCommand ref
12723 reference "sec:unsuppfoils"
12724 nolink "false"
12725
12726 \end_inset
12727
12728 .
12729 \end_layout
12730
12731 \begin_layout Subsection
12732 Diseño de una colección de diapositivas
12733 \end_layout
12734
12735 \begin_layout Standard
12736 Esta sección da una simple introducción a los diferentes entornos para construir una colección de diapositivas.
12737  
12738 \family sans
12739 Para
12740 \family default
12741  ver un ejemplo echa un vistazo al archivo 
12742 \family typewriter
12743 Foils.lyx
12744 \family default
12745 ,
12746  accesible desde el botón 
12747 \family sans
12748 Ejemplos
12749 \family default
12750  del diálogo 
12751 \family sans
12752 Archivo\SpecialChar menuseparator
12753 Abrir
12754 \end_layout
12755
12756 \begin_layout Subsubsection
12757 Página de título
12758 \end_layout
12759
12760 \begin_layout Standard
12761 A diferencia de otras clases que proporcionan los entornos 
12762 \family sans
12763 Título
12764 \family default
12765 ,
12766  
12767 \family sans
12768 Autor
12769 \family default
12770 ,
12771  
12772 \family sans
12773 Fecha
12774 \family default
12775  y 
12776 \family sans
12777 Resumen
12778 \family default
12779 ,
12780  
12781 \family sans
12782 foils
12783 \family default
12784  crea el título en una página propia.
12785  Si no pones entorno 
12786 \family sans
12787 Fecha
12788 \family default
12789  \SpecialChar LaTeX
12790  pondrá la fecha actual (cada vez que generes salida).
12791 \end_layout
12792
12793 \begin_layout Subsubsection
12794 Comenzar una diapositiva
12795 \end_layout
12796
12797 \begin_layout Standard
12798 Como mencioné antes,
12799  hay cuatro maneras de empezar una nueva diapositiva.
12800  Para la portada deberías usar 
12801 \family sans
12802 Encabezado
12803 \begin_inset space ~
12804 \end_inset
12805
12806 Diapositiva
12807 \family default
12808  o 
12809 \family sans
12810 Encabezado
12811 \begin_inset space ~
12812 \end_inset
12813
12814 Diapositiva
12815 \begin_inset space ~
12816 \end_inset
12817
12818 Corto.
12819
12820 \family default
12821  La diferencia entre estos es la cantidad de espacio entre el título (el encabezado) y el cuerpo de la diapositiva.
12822 \end_layout
12823
12824 \begin_layout Standard
12825 Las diapositivas apaisadas se generan con los entornos 
12826 \family sans
12827 Encabezado
12828 \begin_inset space ~
12829 \end_inset
12830
12831 Diapositiva
12832 \begin_inset space ~
12833 \end_inset
12834
12835 Giro 
12836 \family default
12837
12838 \family sans
12839 Encabezado
12840 \begin_inset space ~
12841 \end_inset
12842
12843 Diapositiva
12844 \begin_inset space ~
12845 \end_inset
12846
12847 Giro
12848 \begin_inset space ~
12849 \end_inset
12850
12851 Corto
12852 \family default
12853 .
12854  De nuevo,
12855  la única diferencia es el espacio entre encabezado y cuerpo.
12856  Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12857  
12858 \end_layout
12859
12860 \begin_layout Standard
12861 Un problema con el soporte de las diapositivas apaisadas es el requerimiento de que debes usar el driver 
12862 \family typewriter
12863 dvips
12864 \family default
12865  para generar la salida PostScript,
12866  si no las diapositivas no se giran.
12867  Es posible conseguir orientación apaisada incluso si no dispones de 
12868 \family typewriter
12869 dvips
12870 \family default
12871  driver al configurar la salida a través de la impresora ;-)
12872 \end_layout
12873
12874 \begin_layout Subsubsection
12875 Teoremas,
12876  lemas,
12877  demostraciones y más
12878 \end_layout
12879
12880 \begin_layout Standard
12881 No puedes poner seguidos dos de estos entornos del mismo tipo.
12882
12883 \lang english
12884  If you use a normal paragraph break,
12885  you will just be extending the previous environment as if you had merged the two environments together.
12886 \end_layout
12887
12888 \begin_layout Subsubsection
12889 Listas
12890 \end_layout
12891
12892 \begin_layout Standard
12893 Dispones de todos los tipos de listas habituales en otras clases más dos nuevas.
12894  Solo describiré estas últimas.
12895  Para más información sobre los demás entornos de listas mira la 
12896 \emph on
12897 Guía del usuario
12898 \emph default
12899 .
12900  Si piensas usar el entorno 
12901 \family sans
12902 Enumeración*
12903 \family default
12904 \emph on
12905  
12906 \emph default
12907 podrías mirar también en la sección
12908 \begin_inset space ~
12909 \end_inset
12910
12911
12912 \begin_inset CommandInset ref
12913 LatexCommand ref
12914 reference "sec:Marcas"
12915 nolink "false"
12916
12917 \end_inset
12918
12919  la descripción de la Selección de Marcas de Listas.
12920 \end_layout
12921
12922 \begin_layout Standard
12923 Los dos estilos nuevos de lista,
12924  
12925 \family sans
12926 Lista
12927 \begin_inset space ~
12928 \end_inset
12929
12930 Marcas
12931 \family default
12932  y 
12933 \family sans
12934 Lista
12935 \family default
12936
12937 \begin_inset space ~
12938 \end_inset
12939
12940
12941 \family sans
12942 Cruzada
12943 \family default
12944 ,
12945  están diseñadas para facilitar la creación de listas del tipo 
12946 \begin_inset Quotes cld
12947 \end_inset
12948
12949 Sí/No
12950 \begin_inset Quotes crd
12951 \end_inset
12952
12953  o 
12954 \begin_inset Quotes cld
12955 \end_inset
12956
12957 Verdadero/Falso
12958 \begin_inset Quotes crd
12959 \end_inset
12960
12961  suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12962  De hecho,
12963  estas listas son versiones particularizadas del entorno 
12964 \family sans
12965 Enumeración*
12966 \family default
12967 .
12968  El paquete 
12969 \family typewriter
12970 psnfss
12971 \family default
12972  debe estar instalado.
12973 \end_layout
12974
12975 \begin_layout Subsubsection
12976 Figuras y cuadros
12977 \end_layout
12978
12979 \begin_layout Standard
12980
12981 \family sans
12982 Foil
12983 \family default
12984 \SpecialChar TeX
12985  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.
12986  De hecho,
12987  si haces cambios en la colocación de los flotantes no serán tenidos en cuenta.
12988 \end_layout
12989
12990 \begin_layout Subsubsection
12991 Encabezados y pies de página
12992 \begin_inset CommandInset label
12993 LatexCommand label
12994 name "sec:foilfoot"
12995
12996 \end_inset
12997
12998
12999 \end_layout
13000
13001 \begin_layout Standard
13002
13003 \family sans
13004 Mi
13005 \begin_inset space ~
13006 \end_inset
13007
13008 Logotipo
13009 \family default
13010  y 
13011 \family sans
13012 Restricción
13013 \family default
13014  son comandos usados para controlar el texto del pie izquierdo de la página.
13015  El primero permite incluir un logotipo gráfico en las transparencias;
13016  por omisión se imprime el logotipo 
13017 \begin_inset Quotes cld
13018 \end_inset
13019
13020 -Typeset by 
13021 \family sans
13022 Foil
13023 \family default
13024 \SpecialChar TeX
13025 -
13026 \begin_inset Quotes crd
13027 \end_inset
13028
13029 .
13030  El segundo permite poner una clasificación para los asistentes,
13031  p.
13032 \begin_inset space \thinspace{}
13033 \end_inset
13034
13035 ej.
13036 \begin_inset space ~
13037 \end_inset
13038
13039 Confidencial.
13040  Está vacío por omisión.
13041 \end_layout
13042
13043 \begin_layout Standard
13044 Las restantes esquinas de la página se pueden completar con 
13045 \family sans
13046 Pie
13047 \begin_inset space ~
13048 \end_inset
13049
13050 derecho
13051 \family default
13052  (por omisión los números de página),
13053  
13054 \family sans
13055 Encabezado
13056 \begin_inset space ~
13057 \end_inset
13058
13059 derecho
13060 \family default
13061  (arriba derecha) y 
13062 \family sans
13063 Encabezado
13064 \begin_inset space ~
13065 \end_inset
13066
13067 izquierdo
13068 \family default
13069  (arriba izquierda).
13070 \end_layout
13071
13072 \begin_layout Subsection
13073 Características de 
13074 \family sans
13075 Foil
13076 \family default
13077 \SpecialChar TeX
13078  no soportadas
13079 \begin_inset CommandInset label
13080 LatexCommand label
13081 name "sec:unsuppfoils"
13082
13083 \end_inset
13084
13085
13086 \end_layout
13087
13088 \begin_layout Standard
13089 Todos los comandos mencionados a continuación deben ponerse en un entorno \SpecialChar LaTeX
13090 ,
13091  o en modo \SpecialChar TeX
13092  dentro de otro entorno.
13093 \end_layout
13094
13095 \begin_layout Subsubsection
13096 Longitudes
13097 \end_layout
13098
13099 \begin_layout Standard
13100 Todas las longitudes se ajustan con el comando:
13101 \end_layout
13102
13103 \begin_layout Standard
13104
13105 \family typewriter
13106
13107 \backslash
13108 setlength{
13109 \family default
13110 \emph on
13111 nombre_longitud
13112 \family typewriter
13113 \emph default
13114 }{
13115 \family default
13116 \emph on
13117 nueva_longitud
13118 \family typewriter
13119 \emph default
13120 },
13121 \family default
13122
13123 \begin_inset Newline newline
13124 \end_inset
13125
13126 donde 
13127 \emph on
13128 nombre_longitud
13129 \emph default
13130  es el nombre de la variable de longitud que se quiere cambiar y 
13131 \emph on
13132 nueva_longitud
13133 \emph default
13134  es el valor deseado para esa longitud.
13135  Las longitudes deben expresarse en unidades como pulgadas (
13136 \family typewriter
13137 in
13138 \family default
13139 ),
13140  milímetros (
13141 \family typewriter
13142 mm
13143 \family default
13144 ) o puntos (
13145 \family typewriter
13146 pt
13147 \family default
13148 )
13149 \family typewriter
13150 ,
13151
13152 \family default
13153  o en unidades relativas a la dimensión de alguna parte del deocumento,
13154  tal como 
13155 \family typewriter
13156
13157 \backslash
13158 textwidth
13159 \family default
13160 .
13161  
13162 \end_layout
13163
13164 \begin_layout Standard
13165 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparencia especificando una longitud con 
13166 \family typewriter
13167
13168 \backslash
13169 foilheadskip
13170 \family default
13171 .
13172  Por ejemplo,
13173  para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
13174  pon en el preámbulo:
13175  
13176 \family typewriter
13177
13178 \backslash
13179 setlength{
13180 \backslash
13181 foilheadskip}{-0.5in}
13182 \end_layout
13183
13184 \begin_layout Standard
13185 Los espacios alrededor de los flotantes se ajustan con las siguientes variables de longitud:
13186 \end_layout
13187
13188 \begin_layout Labeling
13189 \labelwidthstring MMMMMMMMMMM
13190
13191 \family typewriter
13192
13193 \backslash
13194 abovefloatskip
13195 \family default
13196  Separación entre el texto y la parte superior del flotante;
13197 \end_layout
13198
13199 \begin_layout Labeling
13200 \labelwidthstring MMMMMMMMMMM
13201
13202 \family typewriter
13203
13204 \backslash
13205 abovecaptionskip
13206 \family default
13207  Separación entre el flotante y el encabezado;
13208 \end_layout
13209
13210 \begin_layout Labeling
13211 \labelwidthstring MMMMMMMMMMM
13212
13213 \family typewriter
13214
13215 \backslash
13216 belowcaptionskip
13217 \family default
13218  Separación entre el encabezado y el texto siguiente;
13219 \end_layout
13220
13221 \begin_layout Labeling
13222 \labelwidthstring MMMMMMMMMMM
13223
13224 \family typewriter
13225
13226 \backslash
13227 captionwidth
13228 \family default
13229  Para poner encabezados más estrechos que el texto circundante.
13230  Lo mejor es definirlo en función de 
13231 \family typewriter
13232
13233 \backslash
13234 textwidth
13235 \family default
13236 .
13237 \end_layout
13238
13239 \begin_layout Standard
13240 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::
13241 \end_layout
13242
13243 \begin_layout Labeling
13244 \labelwidthstring MMMMMMMMMMM
13245
13246 \family typewriter
13247
13248 \backslash
13249 abovetitleskip
13250 \family default
13251  Separación entre los encabezamientos y el 
13252 \family sans
13253 Título;
13254 \end_layout
13255
13256 \begin_layout Labeling
13257 \labelwidthstring MMMMMMMMMMM
13258
13259 \family typewriter
13260
13261 \backslash
13262 titleauthorskip
13263 \family default
13264  entre los entornos 
13265 \family sans
13266 Título
13267 \family default
13268  y 
13269 \family sans
13270 Autor;
13271 \end_layout
13272
13273 \begin_layout Labeling
13274 \labelwidthstring MMMMMMMMMMM
13275
13276 \family typewriter
13277
13278 \backslash
13279 authorauthorskip
13280 \family default
13281  entre varias líneas de 
13282 \family sans
13283 Autor;
13284 \end_layout
13285
13286 \begin_layout Labeling
13287 \labelwidthstring MMMMMMMMMMM
13288
13289 \family typewriter
13290
13291 \backslash
13292 authordateskip
13293 \family default
13294  entre 
13295 \family sans
13296 Autor
13297 \family default
13298  y 
13299 \family sans
13300 Fecha;
13301 \end_layout
13302
13303 \begin_layout Labeling
13304 \labelwidthstring MMMMMMMMMMM
13305
13306 \family typewriter
13307
13308 \backslash
13309 dateabstractskip
13310 \family default
13311  entre 
13312 \family sans
13313 Fecha 
13314 \family default
13315
13316 \family sans
13317 Resumen.
13318 \end_layout
13319
13320 \begin_layout Standard
13321 Esta última variable de longitud afecta a todos los entornos de listas.
13322  Si pones 
13323 \family typewriter
13324
13325 \backslash
13326 zerolistvertdimens
13327 \family default
13328  
13329 \emph on
13330 dentro
13331 \emph default
13332  de un entorno de lista,
13333  se suprimen todos los espacios verticales entre los ítems de la lista.
13334  Ten en cuenta que este es un comando,
13335  no una variable de longitud,
13336  así que no requiere 
13337 \family typewriter
13338
13339 \backslash
13340 setlength
13341 \family default
13342  como las variables mencionadas antes.
13343 \end_layout
13344
13345 \begin_layout Subsubsection
13346 Encabezamientos y pies
13347 \end_layout
13348
13349 \begin_layout Standard
13350 Los comandos 
13351 \family typewriter
13352
13353 \backslash
13354 LogoOn
13355 \family default
13356  y 
13357 \family typewriter
13358
13359 \backslash
13360 LogoOff
13361 \family default
13362  controlan si el logotipo definido en 
13363 \family sans
13364 Mi_Logotipo
13365 \family default
13366  aparece o no en una página dada.
13367  Si pones 
13368 \family typewriter
13369
13370 \backslash
13371 LogoOff
13372 \family default
13373  en el preámbulo,
13374  ninguna de las transparencias tendrá logotipo.
13375  Si no quieres poner el logotipo en cierta página,
13376
13377 \family sans
13378  
13379 \family default
13380 pon 
13381 \family typewriter
13382
13383 \backslash
13384 LogoOff
13385 \family default
13386  directamente detrás del principio de la página y 
13387 \family typewriter
13388
13389 \backslash
13390 LogoOn
13391 \family default
13392  directamente detrás del comienzo de la siguiente.
13393 \end_layout
13394
13395 \begin_layout Standard
13396 Si decides poner estilo de página 
13397 \family sans
13398 fancy
13399 \family default
13400  en el diálogo 
13401 \family sans
13402 Documento\SpecialChar menuseparator
13403 Configuración,
13404
13405 \family default
13406  deberías seguramente añadir 
13407 \family typewriter
13408
13409 \backslash
13410 let
13411 \backslash
13412 headwidth
13413 \backslash
13414 textwidth
13415 \family default
13416  al preámbulo para que los encabezamientos y pies en páginas apaisadas se sitúen correctamente.
13417  Esto es debido a ciertas incompatibilidades entre el formato de página impuesto por el paquete que 
13418 \family sans
13419 fancyheadings
13420 \family default
13421  y la clase 
13422 \family sans
13423 foils
13424 \family default
13425 .
13426 \end_layout
13427
13428 \begin_layout Section
13429 Hollywood (Guiones de Hollywood)
13430 \end_layout
13431
13432 \begin_layout Standard
13433 por 
13434 \shape smallcaps
13435 Garst Reese
13436 \end_layout
13437
13438 \begin_layout Subsection
13439 Introducción
13440 \end_layout
13441
13442 \begin_layout Standard
13443 Dar formato a un guión de Hollywood es un 
13444 \begin_inset Quotes cld
13445 \end_inset
13446
13447 rito de trámite
13448 \begin_inset Quotes crd
13449 \end_inset
13450
13451 .
13452  Está diseñado para que los lectores se centren en el contenido y resulte familiar y fácil de leer por los actores.
13453  Cada página de un guión debería representar un minuto de película.
13454  En el guión no hay nada que no veas u oigas en la pantalla.
13455  Debe emplearse el tipo de letra courier 12
13456 \begin_inset space \thinspace{}
13457 \end_inset
13458
13459 pt en todo el guión.
13460  Sin cursivas.
13461 \end_layout
13462
13463 \begin_layout Subsection
13464 Detalles particulares
13465 \end_layout
13466
13467 \begin_layout Standard
13468 Las palabras de un diálogo NUNCA se cortan a final de línea.
13469  Si el texto de un 
13470 \family sans
13471 portavoz
13472 \family default
13473  debe continuar tras un salto de página,
13474  se repite el nombre del mismo (
13475 \family sans
13476 continuación
13477 \family default
13478 ).
13479 \end_layout
13480
13481 \begin_layout Subsection
13482 Características especiales
13483 \end_layout
13484
13485 \begin_layout Standard
13486 Introduce los nombres de los personajes 
13487 \family sans
13488 (Portavoz)
13489 \family default
13490  como etiquetas,
13491  después haz una referencia cruzada a la etiqueta para insertar el nombre.
13492  El diálogo de referencia cruzada mostrará el conjunto de personajes.
13493  Esto lo puedes usar también para introducir el nombre de un personaje en las partes narrativas.
13494 \end_layout
13495
13496 \begin_layout Subsection
13497 Tamaño del papel y márgenes
13498 \end_layout
13499
13500 \begin_layout Standard
13501 USLetter,
13502  izquierdo 1.6
13503 \begin_inset space \thinspace{}
13504 \end_inset
13505
13506 in,
13507  derecho 0.75
13508 \begin_inset space \thinspace{}
13509 \end_inset
13510
13511 in,
13512  superior 0.5
13513 \begin_inset space \thinspace{}
13514 \end_inset
13515
13516 in,
13517  inferior 0.75
13518 \begin_inset space \thinspace{}
13519 \end_inset
13520
13521 in
13522 \end_layout
13523
13524 \begin_layout Subsection
13525 Entornos
13526 \end_layout
13527
13528 \begin_layout Standard
13529 Los siguientes entornos están disponibles.
13530  Puedes usar 
13531 \family typewriter
13532 hollywood.bind
13533 \family default
13534  para disponer de los atajos de teclado indicados a la derecha.
13535 \end_layout
13536
13537 \begin_layout Itemize
13538
13539 \family sans
13540 General
13541 \begin_inset Newline newline
13542 \end_inset
13543
13544
13545 \family default
13546 Para el caso de que no convenga ningún otro.
13547  Intenta evitarlo.
13548 \end_layout
13549
13550 \begin_layout Itemize
13551
13552 \family sans
13553 APARICIÓN_GRADUAL
13554 \family default
13555 :
13556 \begin_inset space \hfill{}
13557 \end_inset
13558
13559
13560 \family sans
13561 M-z S-I
13562 \family default
13563
13564 \begin_inset Newline newline
13565 \end_inset
13566
13567 Generalmente seguido de algo como 
13568 \begin_inset Quotes cld
13569 \end_inset
13570
13571 al levantarse Sally.
13572 \begin_inset Quotes crd
13573 \end_inset
13574
13575
13576 \end_layout
13577
13578 \begin_layout Itemize
13579
13580 \family sans
13581 INT
13582 \family default
13583 .
13584 \family sans
13585
13586 \begin_inset space \hfill{}
13587 \end_inset
13588
13589 M-z i
13590 \begin_inset Newline newline
13591 \end_inset
13592
13593
13594 \family default
13595 Introduce una nueva secuencia en INTERIOR.
13596  Seguido siempre de DÍA o NOCHE,
13597  o algo similar para definir la iluminación requerida.
13598  Esta línea,
13599  toda en MAYÚSCULAS.
13600 \end_layout
13601
13602 \begin_layout Itemize
13603
13604 \family sans
13605 EXT
13606 \family default
13607 .
13608 \family sans
13609
13610 \begin_inset space \hfill{}
13611 \end_inset
13612
13613 M-z e
13614 \begin_inset Newline newline
13615 \end_inset
13616
13617
13618 \family default
13619 Introduce una nueva secuencia en EXTERIOR.
13620  Esta línea,
13621  toda en MAYÚSCULAS.
13622 \end_layout
13623
13624 \begin_layout Itemize
13625
13626 \family sans
13627 Portavoz
13628 \begin_inset space \hfill{}
13629 \end_inset
13630
13631 M-z s
13632 \begin_inset Newline newline
13633 \end_inset
13634
13635
13636 \family default
13637 El personaje que habla.
13638 \end_layout
13639
13640 \begin_layout Itemize
13641
13642 \family sans
13643 EntreParéntesis
13644 \begin_inset space \hfill{}
13645 \end_inset
13646
13647 M-z p
13648 \begin_inset Newline newline
13649 \end_inset
13650
13651
13652 \family default
13653 Instrucciones para el personaje portavoz.
13654  Los () se insertan automáticamente.
13655 \end_layout
13656
13657 \begin_layout Itemize
13658
13659 \family sans
13660 Di
13661 \family default
13662 á
13663 \family sans
13664 logo
13665 \begin_inset space \hfill{}
13666 \end_inset
13667
13668 M-z d
13669 \begin_inset Newline newline
13670 \end_inset
13671
13672
13673 \family default
13674 Lo que dice el personaje.
13675 \end_layout
13676
13677 \begin_layout Itemize
13678
13679 \family sans
13680 Transición
13681 \begin_inset space \hfill{}
13682 \end_inset
13683
13684 M-z t
13685 \begin_inset Newline newline
13686 \end_inset
13687
13688
13689 \family default
13690 Instrucciones para el movimiento de cámara,
13691  p.
13692 \begin_inset space \thinspace{}
13693 \end_inset
13694
13695 ej.
13696 \begin_inset space ~
13697 \end_inset
13698
13699 CAMBIA A:
13700 \end_layout
13701
13702 \begin_layout Itemize
13703
13704 \family sans
13705 DESAPARICIÓN_GRADUAL:
13706 \begin_inset space \hfill{}
13707 \end_inset
13708
13709 M-z S-I
13710 \end_layout
13711
13712 \begin_layout Itemize
13713
13714 \family sans
13715 Autor
13716 \begin_inset space \hfill{}
13717 \end_inset
13718
13719 M-z S-A
13720 \end_layout
13721
13722 \begin_layout Itemize
13723
13724 \family sans
13725 Título
13726 \begin_inset space \hfill{}
13727 \end_inset
13728
13729 M-z S-T
13730 \end_layout
13731
13732 \begin_layout Itemize
13733
13734 \family sans
13735 Dirección_dcha
13736 \begin_inset space \hfill{}
13737 \end_inset
13738
13739 M-z r
13740 \end_layout
13741
13742 \begin_layout Subsection
13743 Jerga de un guión
13744 \end_layout
13745
13746 \begin_layout Itemize
13747 (O.S) —
13748  off screen (fuera de pantalla)
13749 \end_layout
13750
13751 \begin_layout Itemize
13752 (V.0) —
13753  voice over (voz en off)
13754 \end_layout
13755
13756 \begin_layout Itemize
13757 b.g.
13758  —
13759  background
13760 \end_layout
13761
13762 \begin_layout Itemize
13763 C.U.
13764  —
13765  close-up (primer plano)
13766 \end_layout
13767
13768 \begin_layout Itemize
13769 PAN —
13770  movimiento de cámara
13771 \end_layout
13772
13773 \begin_layout Itemize
13774 INSERT —
13775  pasa a primer plano
13776 \end_layout
13777
13778 \begin_layout Section
13779 ijmpc e ijmpd
13780 \end_layout
13781
13782 \begin_layout Standard
13783 por 
13784 \noun on
13785 Panayotis Papasotiriou
13786 \end_layout
13787
13788 \begin_layout Subsection
13789 Visión previa
13790 \end_layout
13791
13792 \begin_layout Standard
13793 El paquete 
13794 \family sans
13795 ijmpc
13796 \family default
13797  es una colección de macros que facilitan la presentación de manuscritos electrónicos para 
13798 \emph on
13799 International Journal of Modern Physics C
13800 \emph default
13801 .
13802  Igualmente,
13803  el paquete 
13804 \family sans
13805 ijmpd
13806 \family default
13807  sirve para escribir artículos para 
13808 \emph on
13809 International Journal of Modern Physics D
13810 \emph default
13811 .
13812  Ambas revistas son editadas por 
13813 \emph on
13814 World Scientific
13815 \emph default
13816 .
13817  Las correspondientes clases de documento se llaman 
13818 \family typewriter
13819 ws-ijmpc.cls
13820 \family default
13821  y 
13822 \family typewriter
13823 ws-ijmpd.cls
13824 \family default
13825 ,
13826  respectivamente.
13827  Estos archivos,
13828  junto con las instrucciones de los autores,
13829  se pueden descargar de los sitios 
13830 \begin_inset Flex URL
13831 status collapsed
13832
13833 \begin_layout Plain Layout
13834
13835 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13836 \end_layout
13837
13838 \end_inset
13839
13840  y 
13841 \begin_inset Flex URL
13842 status collapsed
13843
13844 \begin_layout Plain Layout
13845
13846 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13847 \end_layout
13848
13849 \end_inset
13850
13851 .
13852  Ambos paquetes son versiones modificadas del paquete estándar 
13853 \family sans
13854 article
13855 \family default
13856 ,
13857  y son casi idénticos.
13858  La mayor parte de sus características son soportadas en \SpecialChar LyX
13859 .
13860  He utilizado \SpecialChar LyX
13861  con éxito para escribir artículos para ambas revistas sin problemas.
13862 \end_layout
13863
13864 \begin_layout Subsection
13865 Escribir un artículo
13866 \end_layout
13867
13868 \begin_layout Standard
13869 Como es habitual,
13870  la forma más fácil de escribir un artículo es partiendo de una plantilla.
13871  Clic en 
13872 \family sans
13873 Archivo\SpecialChar menuseparator
13874 Nuevo desde plantilla
13875 \family default
13876 ,
13877  y elige una plantilla 
13878 \family typewriter
13879 ijmpc.lyx
13880 \family default
13881  o 
13882 \family typewriter
13883 ijmpd.lyx
13884 \family default
13885 .
13886  Así se muestra un documento casi vacío que incluye los campos más habituales en un documento.
13887  Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13888  Debes tener en cuenta los siguientes puntos:
13889 \end_layout
13890
13891 \begin_layout Enumerate
13892 \SpecialChar LyX
13893  no permite el cambio del tamaño de letra ni del estilo de página porque estos paquetes no lo permiten.
13894 \end_layout
13895
13896 \begin_layout Enumerate
13897 No debería cambiarse el lenguaje del documento.
13898  Antes de ver tu artículo,
13899  asegúrate 
13900 \family sans
13901 que no está cargado el paquete babel.
13902  
13903 \family default
13904 En
13905 \family sans
13906  Herramientas
13907 \family default
13908 \SpecialChar menuseparator
13909
13910 \family sans
13911 \lang english
13912 Language
13913 \lang spanish
13914  
13915 \family default
13916 selecciona
13917 \lang english
13918  
13919 \begin_inset Quotes eld
13920 \end_inset
13921
13922 None
13923 \begin_inset Quotes erd
13924 \end_inset
13925
13926  as 
13927 \family sans
13928 Language Package
13929 \family default
13930 .
13931 \end_layout
13932
13933 \begin_layout Enumerate
13934 El estilo 
13935 \begin_inset Quotes cld
13936 \end_inset
13937
13938 Keywords
13939 \begin_inset Quotes crd
13940 \end_inset
13941
13942  se debe utilizar para definir palabras-clave.
13943 \end_layout
13944
13945 \begin_layout Enumerate
13946 El paquete 
13947 \family sans
13948 ijmpc
13949 \family default
13950  provee un estilo llamado 
13951 \begin_inset Quotes cld
13952 \end_inset
13953
13954 Classification Codes
13955 \begin_inset Quotes crd
13956 \end_inset
13957
13958 ,
13959  que se puede usar para definir códigos de clasificación,
13960  como números PACS.
13961  Esta facilidad no es soportada por el paquete 
13962 \family sans
13963 ijmpd
13964 \family default
13965 .
13966 \end_layout
13967
13968 \begin_layout Enumerate
13969 Hay varios entornos nuevos disponibles:
13970  
13971 \begin_inset Quotes cld
13972 \end_inset
13973
13974 Definición
13975 \begin_inset Quotes crd
13976 \end_inset
13977
13978 ,
13979  
13980 \begin_inset Quotes cld
13981 \end_inset
13982
13983 Paso
13984 \begin_inset Quotes crd
13985 \end_inset
13986
13987 ,
13988  
13989 \begin_inset Quotes cld
13990 \end_inset
13991
13992 Ejemplo
13993 \begin_inset Quotes crd
13994 \end_inset
13995
13996 ,
13997  
13998 \begin_inset Quotes cld
13999 \end_inset
14000
14001 Observación
14002 \begin_inset Quotes crd
14003 \end_inset
14004
14005 ,
14006  
14007 \begin_inset Quotes cld
14008 \end_inset
14009
14010 Notación
14011 \begin_inset Quotes crd
14012 \end_inset
14013
14014 ,
14015  
14016 \begin_inset Quotes cld
14017 \end_inset
14018
14019 Teorema
14020 \begin_inset Quotes crd
14021 \end_inset
14022
14023 ,
14024  
14025 \begin_inset Quotes cld
14026 \end_inset
14027
14028 Demostración
14029 \begin_inset Quotes crd
14030 \end_inset
14031
14032 ,
14033  
14034 \begin_inset Quotes cld
14035 \end_inset
14036
14037 Corolario
14038 \begin_inset Quotes crd
14039 \end_inset
14040
14041 ,
14042  
14043 \begin_inset Quotes cld
14044 \end_inset
14045
14046 Lema
14047 \begin_inset Quotes crd
14048 \end_inset
14049
14050 ,
14051  
14052 \begin_inset Quotes cld
14053 \end_inset
14054
14055 Proposición
14056 \begin_inset Quotes crd
14057 \end_inset
14058
14059 ,
14060  
14061 \begin_inset Quotes cld
14062 \end_inset
14063
14064 Prop
14065 \begin_inset Quotes crd
14066 \end_inset
14067
14068 ,
14069  
14070 \begin_inset Quotes cld
14071 \end_inset
14072
14073 Pregunta
14074 \begin_inset Quotes crd
14075 \end_inset
14076
14077 ,
14078  
14079 \begin_inset Quotes cld
14080 \end_inset
14081
14082 Afirmación
14083 \begin_inset Quotes crd
14084 \end_inset
14085
14086  y 
14087 \begin_inset Quotes cld
14088 \end_inset
14089
14090 Conjetura
14091 \begin_inset Quotes crd
14092 \end_inset
14093
14094 .
14095  Su uso es más o menos obvio.
14096  \SpecialChar LyX
14097  soporta todos estos entornos;
14098  utilizará la etiqueta,
14099  estilo de texto y esquema de numeración más apropiados para cada caso.
14100 \end_layout
14101
14102 \begin_layout Enumerate
14103 Ambos paquetes usan citas básicas;
14104  el paquete 
14105 \family sans
14106 natbib
14107 \family default
14108  no debería usarse.
14109  En \SpecialChar LyX
14110  las referencias a citas se ven normalmente;
14111  en la salida se ven como voladitas.
14112  Si quieres usar una cita como texto normal,
14113  debes emplear el comando 
14114 \family typewriter
14115 refcite
14116 \family default
14117 ,
14118  p.
14119 \begin_inset space \thinspace{}
14120 \end_inset
14121
14122 e.,
14123  
14124 \begin_inset Quotes cld
14125 \end_inset
14126
14127 Véase Ref.
14128 \begin_inset space ~
14129 \end_inset
14130
14131
14132 \family typewriter
14133
14134 \backslash
14135 refcite{key}
14136 \family default
14137
14138 \begin_inset Quotes crd
14139 \end_inset
14140
14141 .
14142 \end_layout
14143
14144 \begin_layout Enumerate
14145 No hay 
14146 \begin_inset Quotes cld
14147 \end_inset
14148
14149 Agradecimientos
14150 \begin_inset Quotes crd
14151 \end_inset
14152
14153  en ninguno de estos paquetes.
14154  Para ponerlo usa el entorno 
14155 \begin_inset Quotes cld
14156 \end_inset
14157
14158 Sección*
14159 \begin_inset Quotes crd
14160 \end_inset
14161
14162 .
14163 \end_layout
14164
14165 \begin_layout Enumerate
14166 Se pueden añadir apéndices 
14167 \emph on
14168 después
14169 \emph default
14170  de los Agradecimientos y 
14171 \emph on
14172 antes
14173 \emph default
14174  de las Referencias.
14175  \SpecialChar LyX
14176  provee un entorno especial,
14177  llamado 
14178 \begin_inset Quotes cld
14179 \end_inset
14180
14181 Appendices Section
14182 \begin_inset Quotes crd
14183 \end_inset
14184
14185  que marca el inicio de los apéndices.
14186  Este entorno debería dejarse en blanco;
14187  lo único que hace es enviar un comando \SpecialChar LaTeX
14188  pero realmente no se imprime nada.
14189  En \SpecialChar LyX
14190 ,
14191  la palabra 
14192 \begin_inset Quotes cld
14193 \end_inset
14194
14195 Apéndice
14196 \begin_inset Quotes crd
14197 \end_inset
14198
14199  se imprime con letras azules,
14200  para indicar que todas las secciones posteriores son apéndices.
14201  Para escribir un apéndice usa el entorno 
14202 \begin_inset Quotes cld
14203 \end_inset
14204
14205 Apéndice
14206 \begin_inset Quotes crd
14207 \end_inset
14208
14209 .
14210  \SpecialChar LyX
14211  ordenará cada apéndice con letras mayúsculas,
14212  como requieren ambas revistas.
14213  Observa que 
14214 \begin_inset Quotes cld
14215 \end_inset
14216
14217 Appendices Section
14218 \begin_inset Quotes crd
14219 \end_inset
14220
14221  
14222 \emph on
14223 debe
14224 \emph default
14225  estar presente antes del primer apéndice;
14226  si no,
14227  los apéndices se numerarán como secciones normales.
14228 \end_layout
14229
14230 \begin_layout Enumerate
14231 Los paquetes 
14232 \family sans
14233 ijmpc
14234 \family default
14235  y 
14236 \family sans
14237 ijmpd
14238 \family default
14239  usan el comando 
14240 \family typewriter
14241 tbl
14242 \family default
14243  para implementar encabezados de cuadro.
14244  Como resultado,
14245  un cuadro creado por \SpecialChar LyX
14246  se imprime correctamente,
14247  pero se ignora su encabezado.
14248  Sin embargo puedes emplear código \SpecialChar TeX
14249  para sortear este problema,
14250  de forma que los encabezados se impriman como es de esperar.
14251  Para hacerlo crea un cuadro flotante de la manera habitual,
14252  quita el encabezado y reemplázalo por 
14253 \family typewriter
14254
14255 \backslash
14256 tbl{
14257 \emph on
14258 encabezado del cuadro
14259 \emph default
14260 }{
14261 \family default
14262  en código \SpecialChar TeX
14263  —
14264 atención a la llave de apertura 
14265 \begin_inset Quotes cld
14266 \end_inset
14267
14268 {
14269 \begin_inset Quotes crd
14270 \end_inset
14271
14272
14273 ,
14274  y cierra inmediatamente detrás del contenido del cuadro con 
14275 \family typewriter
14276 }
14277 \family default
14278  en código \SpecialChar TeX
14279 .
14280  Estudia los ejemplos de cuadros incluidos en las plantillas para ver como se realiza este procedimiento.
14281  Alternativamente,
14282  si necesitas encabezados de cuadro,
14283  podrías construir el cuadro flotante completo en un archivo 
14284 \family typewriter
14285 .tex
14286 \family default
14287 ,
14288  que después puedes incluir mediante 
14289 \family sans
14290 Insertar\SpecialChar menuseparator
14291 Archivo\SpecialChar menuseparator
14292 Documento
14293 \begin_inset space ~
14294 \end_inset
14295
14296 hijo
14297 \family default
14298 .
14299  En los archivos 
14300 \family typewriter
14301 ws-ijmpc.tex
14302 \family default
14303  y 
14304 \family typewriter
14305 ws-ijmpd.tex
14306 \family default
14307  puedes ver más detalles sobre la creación de cuadros flotantes.
14308 \end_layout
14309
14310 \begin_layout Subsection
14311 Preparar un artículo para su remisión
14312 \end_layout
14313
14314 \begin_layout Standard
14315 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
14316  (
14317 \family sans
14318 Archivo\SpecialChar menuseparator
14319 Exportar\SpecialChar menuseparator
14320 La
14321 \family default
14322 T
14323 \family sans
14324 eX
14325 \family default
14326 )
14327 \begin_inset Foot
14328 status collapsed
14329
14330 \begin_layout Plain Layout
14331 Realmente dispones de las opciones \SpecialChar LaTeX
14332  (simple) y pdflatex.
14333  Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos estarán en formato PDF.
14334 \end_layout
14335
14336 \end_inset
14337
14338 ,
14339  después haz los cambios siguientes en el resultante archivo 
14340 \family typewriter
14341 .tex
14342 \family default
14343 .
14344 \end_layout
14345
14346 \begin_layout Enumerate
14347 Elimina las líneas de comentarios anteriores al comando 
14348 \family typewriter
14349
14350 \backslash
14351 documentclass
14352 \family default
14353 .
14354 \end_layout
14355
14356 \begin_layout Enumerate
14357 Elimina los comandos 
14358 \family typewriter
14359
14360 \backslash
14361 makeatletter
14362 \family default
14363  y 
14364 \family typewriter
14365
14366 \backslash
14367 makeatother 
14368 \family default
14369 y todo lo que haya entre ambos,
14370  excepto aquellos comandos que hayas añadido expresamente al preámbulo \SpecialChar LaTeX
14371 .
14372 \end_layout
14373
14374 \begin_layout Standard
14375 El archivo 
14376 \family typewriter
14377 .tex
14378 \family default
14379  modificado debe ser guardado y procesado con \SpecialChar LaTeX
14380  tantas veces como sea necesario.
14381  Comprueba después el documento 
14382 \family typewriter
14383 .dvi
14384 \family default
14385  resultante.
14386 \end_layout
14387
14388 \begin_layout Section
14389 iopart
14390 \end_layout
14391
14392 \begin_layout Standard
14393 por 
14394 \noun on
14395 Uwe Stöhr
14396 \end_layout
14397
14398 \begin_layout Subsection
14399 Visión previa
14400 \end_layout
14401
14402 \begin_layout Standard
14403 El paquete 
14404 \family sans
14405 iopart
14406 \family default
14407  suministra una clase de documento para remitir documentos electrónicos a publicaciones del 
14408 \emph on
14409 Institute of Physics
14410 \emph default
14411 .
14412  Las instrucciones para los autores que quieran crear documentos de esta clase y el paquete 
14413 \family sans
14414 iopart 
14415 \family default
14416 se pueden descargar del sitio 
14417 \begin_inset Flex URL
14418 status collapsed
14419
14420 \begin_layout Plain Layout
14421
14422 ftp://ftp.iop.org/pub/journals/latex2e
14423 \end_layout
14424
14425 \end_inset
14426
14427 .
14428 \end_layout
14429
14430 \begin_layout Subsection
14431 Escribir un documento
14432 \end_layout
14433
14434 \begin_layout Standard
14435 La forma más sencilla de escribir un documento es empezar con el 
14436 \lang english
14437 template
14438 \lang spanish
14439  
14440 \emph on
14441 IOP-article.lyx
14442 \emph default
14443 ,
14444  disponible
14445 \lang english
14446 via 
14447 \family sans
14448 File\SpecialChar menuseparator
14449 New From Template
14450 \family default
14451 \lang spanish
14452 .
14453  El 
14454 \lang english
14455 template
14456 \lang spanish
14457  de ejemplo explica cómo usar los entornos especiales de texto.
14458  Aquí están los consejos más importantes:
14459 \end_layout
14460
14461 \begin_layout Itemize
14462 Para poder compilar tu documento a PDF,
14463  PS o DVI,
14464  asegúrate de que
14465 \lang english
14466  no AMS packages are loaded in 
14467 \family sans
14468 Document\SpecialChar menuseparator
14469 Settings\SpecialChar menuseparator
14470 Math Options
14471 \family default
14472 !
14473 \end_layout
14474
14475 \begin_layout Itemize
14476 El entorno de título define la clase de tu documento.
14477  Por tanto usa uno de los siguientes entornos para el título:
14478 \end_layout
14479
14480 \begin_deeper
14481 \begin_layout Itemize
14482
14483 \family sans
14484 Title
14485 \family default
14486  para un artículo
14487 \end_layout
14488
14489 \begin_layout Itemize
14490
14491 \family sans
14492 Review
14493 \family default
14494  para una revista
14495 \end_layout
14496
14497 \begin_layout Itemize
14498
14499 \family sans
14500 Topical
14501 \family default
14502  para una reseña de actualidad
14503 \end_layout
14504
14505 \begin_layout Itemize
14506
14507 \family sans
14508 Comment
14509 \family default
14510  para un comentario
14511 \end_layout
14512
14513 \begin_layout Itemize
14514
14515 \family sans
14516 Note
14517 \family default
14518  para una nota
14519 \end_layout
14520
14521 \begin_layout Itemize
14522
14523 \family sans
14524 Paper
14525 \family default
14526  para un artículo (igual que Title)
14527 \end_layout
14528
14529 \begin_layout Itemize
14530
14531 \family sans
14532 Prelim
14533 \family default
14534  para una comunicación preliminar
14535 \end_layout
14536
14537 \begin_layout Itemize
14538
14539 \family sans
14540 Rapid
14541 \family default
14542  para una comunicación rápida
14543 \end_layout
14544
14545 \begin_layout Itemize
14546
14547 \family sans
14548 Letter
14549 \family default
14550  para una carta al editor
14551 \end_layout
14552
14553 \end_deeper
14554 \begin_layout Itemize
14555 Todos los entornos de título excepto 
14556 \family sans
14557 Letter
14558 \family default
14559  pueden tener un título breve opcional.
14560 \end_layout
14561
14562 \begin_layout Itemize
14563 Hay un entorno general de título 
14564 \family sans
14565 Article
14566 \family default
14567  que no es soportado directamente por \SpecialChar LyX
14568 .
14569  Puede usarse en código \SpecialChar TeX
14570  si tu documento no se adecúa a ninguno de los otros tipos de título.
14571 \end_layout
14572
14573 \begin_layout Standard
14574 Para más información,
14575  como consejos para formatos especiales de ecuaciones y cuadros,
14576  echa un vistazo a las pautas dadas por el autor de IOP.
14577 \end_layout
14578
14579 \begin_layout Section
14580 Kluwer
14581 \end_layout
14582
14583 \begin_layout Standard
14584 por 
14585 \noun on
14586 Panayotis Papasotiriou
14587 \end_layout
14588
14589 \begin_layout Subsection
14590 Visión previa
14591 \end_layout
14592
14593 \begin_layout Standard
14594 El paquete Kluwer es un conjunto de macros producido por 
14595 \emph on
14596 Kluwer Academic Publishers
14597 \emph default
14598  que facilita la confección de manuscritos electrónicos con destino a sus publicaciones.
14599  Las más conocidas (al menos en mi parcela de interés) son 
14600 \emph on
14601 Astrophysics and Space Science
14602 \emph default
14603  y 
14604 \emph on
14605 Solar Physics
14606 \emph default
14607 ,
14608  aunque hay muchas otras (véase una lista completa en 
14609 \begin_inset Flex URL
14610 status collapsed
14611
14612 \begin_layout Plain Layout
14613
14614 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14615 \end_layout
14616
14617 \end_inset
14618
14619 ).
14620  El paquete Kluwer puede ser descargado del sitio 
14621 \begin_inset Flex URL
14622 status collapsed
14623
14624 \begin_layout Plain Layout
14625
14626 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14627 \end_layout
14628
14629 \end_inset
14630
14631 .
14632  Contiene una completa guía de uso,
14633  que también puede descargarse separadamente.
14634 \end_layout
14635
14636 \begin_layout Standard
14637 \SpecialChar LyX
14638  soporta muchas características del paquete pero no todas.
14639  No obstante,
14640  el código \SpecialChar TeX
14641  necesario se reduce a ciertos 
14642 \begin_inset Quotes cld
14643 \end_inset
14644
14645 peculiares
14646 \begin_inset Quotes crd
14647 \end_inset
14648
14649  comandos (véase
14650 \begin_inset space ~
14651 \end_inset
14652
14653
14654 \begin_inset CommandInset ref
14655 LatexCommand ref
14656 reference "subsec:kluwer_peculiaridades"
14657 nolink "false"
14658
14659 \end_inset
14660
14661 ).
14662  He usado \SpecialChar LyX
14663  recientemente para escribir un artículo para 
14664 \emph on
14665 Astrophysics and Space Science
14666 \emph default
14667  sin ningún problema.
14668 \end_layout
14669
14670 \begin_layout Subsection
14671 Escribir un artículo
14672 \end_layout
14673
14674 \begin_layout Standard
14675 La forma más sencilla de escribir un artículo es empezar con la plantilla de Kluwer.
14676  Abre 
14677 \family sans
14678 Archivo\SpecialChar menuseparator
14679 Nuevo
14680 \family default
14681
14682 \begin_inset space ~
14683 \end_inset
14684
14685
14686 \family sans
14687 desde
14688 \family default
14689
14690 \begin_inset space ~
14691 \end_inset
14692
14693
14694 \family sans
14695 plantilla
14696 \family default
14697 ,
14698  y elige 
14699 \family typewriter
14700 kluwer.lyx
14701 \family default
14702 .
14703  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.
14704  Como es habitual en las plantillas,
14705  simplemente debes sobreescribir el texto presente (incluidas las abrazaderas <>) con la información correcta.
14706 \end_layout
14707
14708 \begin_layout Subsection
14709 Preparar un artículo para su remisión
14710 \end_layout
14711
14712 \begin_layout Standard
14713 Como en el paquete AAS\SpecialChar TeX
14714 ,
14715  antes de remitir tu trabajo a una publicación debes procesarlo como sigue:
14716 \end_layout
14717
14718 \begin_layout Enumerate
14719 Exporta tu documento a \SpecialChar LaTeX
14720 ,
14721  
14722 \family sans
14723 Archivo\SpecialChar menuseparator
14724 Exportar\SpecialChar menuseparator
14725 LaTeX
14726 \family default
14727 .
14728  
14729 \end_layout
14730
14731 \begin_layout Enumerate
14732 Edita el archivo 
14733 \family typewriter
14734 .tex
14735 \family default
14736  resultante con un editor de texto y haz los siguientes cambios:
14737 \end_layout
14738
14739 \begin_deeper
14740 \begin_layout Enumerate
14741 borra las líneas de comentarios anteriores al comando 
14742 \family typewriter
14743
14744 \backslash
14745 documentclass
14746 \family default
14747 ,
14748 \end_layout
14749
14750 \begin_layout Enumerate
14751 quita todo entre los comandos 
14752 \family typewriter
14753
14754 \backslash
14755 makeatletter
14756 \family default
14757  y 
14758 \family typewriter
14759
14760 \backslash
14761 makeatother
14762 \family default
14763 ,
14764  ellos incluidos,
14765  excepto aquellos específicamente añadidos al preámbulo \SpecialChar LaTeX
14766 .
14767 \end_layout
14768
14769 \begin_layout Standard
14770 Guarda el archivo 
14771 \family typewriter
14772 .tex
14773 \family default
14774  modificado.
14775 \end_layout
14776
14777 \end_deeper
14778 \begin_layout Enumerate
14779 Ejecuta el archivo 
14780 \family typewriter
14781 .tex
14782 \family default
14783  con \SpecialChar LaTeX
14784  tantas veces como sea necesario (generalmente hasta tres).
14785 \end_layout
14786
14787 \begin_layout Enumerate
14788 Mira el documento resultante 
14789 \family typewriter
14790 .dvi
14791 \family default
14792  ,
14793  p.
14794 \begin_inset space \thinspace{}
14795 \end_inset
14796
14797 e.,
14798  con 
14799 \family sans
14800 xdvi
14801 \family default
14802 ,
14803  y comprueba si todo está bien (debería,
14804  si no has cometido algún error).
14805 \end_layout
14806
14807 \begin_layout Subsection
14808 «Peculiaridades» del paquete Kluwer
14809 \begin_inset CommandInset label
14810 LatexCommand label
14811 name "subsec:kluwer_peculiaridades"
14812
14813 \end_inset
14814
14815
14816 \end_layout
14817
14818 \begin_layout Standard
14819 El paquete Kluwer tiene algunas 
14820 \begin_inset Quotes cld
14821 \end_inset
14822
14823 peculiaridades
14824 \begin_inset Quotes crd
14825 \end_inset
14826
14827 .
14828 \end_layout
14829
14830 \begin_layout Enumerate
14831 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14832
14833 \begin_inset Foot
14834 status collapsed
14835
14836 \begin_layout Plain Layout
14837 No puedo imaginar una buena razón para hacer esto.
14838 \end_layout
14839
14840 \end_inset
14841
14842 .
14843  Cada artículo debe estar incluido en un entorno 
14844 \begin_inset Quotes cld
14845 \end_inset
14846
14847 article
14848 \begin_inset Quotes crd
14849 \end_inset
14850
14851 .
14852  Desafortunadamente,
14853  este entorno no se puede omitir,
14854  incluso si escribes un solo artículo.
14855  Por esto,
14856  cada artículo empieza con el comando 
14857 \family typewriter
14858
14859 \backslash
14860 begin{article}
14861 \family default
14862  y,
14863  termina,
14864  obviamente,
14865  con el comando 
14866 \family typewriter
14867
14868 \backslash
14869 end{article}
14870 \family default
14871 .
14872  Aunque esto se puede implementar en \SpecialChar LyX
14873 ,
14874  no lo he incluido,
14875  puesto que se ve feo y puede confundir al novato.
14876  Así pues hay que introducirlo en código \SpecialChar LaTeX
14877  (
14878 \begin_inset Quotes cld
14879 \end_inset
14880
14881 código \SpecialChar TeX
14882
14883 \begin_inset Quotes crd
14884 \end_inset
14885
14886 ).
14887 \end_layout
14888
14889 \begin_layout Enumerate
14890 La información dada al principio del artículo (p.
14891 \begin_inset space \thinspace{}
14892 \end_inset
14893
14894 e.,
14895  título,
14896  subtítulo,
14897  autor,
14898  institución,
14899  título corriente,
14900  autor corriente,
14901  resumen y palabras-clave) deben incluirse en un entorno llamado 
14902 \begin_inset Quotes cld
14903 \end_inset
14904
14905 opening
14906 \begin_inset Quotes crd
14907 \end_inset
14908
14909 .
14910  Esto no está implementado en \SpecialChar LyX
14911 ,
14912  así que hay que introducir el título,
14913  subtítulo,
14914  etc.,
14915  entre dos líneas en código \SpecialChar TeX
14916  (
14917 \family typewriter
14918
14919 \backslash
14920 begin{opening}
14921 \family default
14922  y 
14923 \family typewriter
14924
14925 \backslash
14926 end{opening}
14927 \family default
14928 ).
14929 \end_layout
14930
14931 \begin_layout Enumerate
14932 Según el manual de uso,
14933  la etiqueta de cada ítem de la bibliografía debe escribirse como 
14934 \family typewriter
14935
14936 \backslash
14937 protect
14938 \backslash
14939 citeauthoryear{
14940 \family default
14941 \emph on
14942 autor(es)
14943 \family typewriter
14944 \emph default
14945 }{
14946 \family default
14947 \emph on
14948 año
14949 \family typewriter
14950 \emph default
14951 }
14952 \family default
14953 .
14954 \end_layout
14955
14956 \begin_layout Standard
14957 La plantilla 
14958 \family typewriter
14959 kluwer.lyx
14960 \family default
14961  se cuida de todas estas 
14962 \begin_inset Quotes cld
14963 \end_inset
14964
14965 peculiaridades
14966 \begin_inset Quotes crd
14967 \end_inset
14968
14969 .
14970  Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer nada especial.
14971  Ten en cuenta:
14972  
14973 \end_layout
14974
14975 \begin_layout Enumerate
14976 no borrar el código \SpecialChar TeX
14977  incluido en el modelo,
14978  y
14979 \end_layout
14980
14981 \begin_layout Enumerate
14982 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo como haga falta para introducir nuevas entradas.
14983 \end_layout
14984
14985 \begin_layout Section
14986 Koma-Script
14987 \end_layout
14988
14989 \begin_layout Standard
14990 por 
14991 \noun on
14992 Bernd Rellermeyer
14993 \end_layout
14994
14995 \begin_layout Subsection
14996 Visión previa
14997 \end_layout
14998
14999 \begin_layout Standard
15000 En \SpecialChar LyX
15001 ,
15002  las clases de documento
15003 \family sans
15004 \emph on
15005  
15006 \emph default
15007 article (koma-script)
15008 \emph on
15009 ,
15010  
15011 \emph default
15012 report (koma-script)
15013 \emph on
15014 ,
15015  
15016 \emph default
15017 book
15018 \emph on
15019  
15020 \emph default
15021 (koma-script)
15022 \family default
15023 ,
15024  y 
15025 \family sans
15026 letter
15027 \emph on
15028  
15029 \emph default
15030 (koma-script)
15031 \family default
15032  corresponden respectivamente a las clases de \SpecialChar LaTeX
15033  
15034 \family typewriter
15035 scrartcl.cls
15036 \family default
15037 ,
15038  
15039 \family typewriter
15040 scrreprt.cls
15041 \family default
15042 ,
15043  
15044 \family typewriter
15045 scrbook.cls
15046 \family default
15047 ,
15048  y 
15049 \family typewriter
15050 scrlettr.cls
15051 \family default
15052 ,
15053  de la familia Koma-Script.
15054  Son alternativas a las correspondientes clases estándar 
15055 \family typewriter
15056 article.cls
15057 \family default
15058 ,
15059  
15060 \family typewriter
15061 report.cls
15062 \family default
15063 ,
15064  
15065 \family typewriter
15066 book.cls
15067 \family default
15068  y 
15069 \family typewriter
15070 letter.cls
15071 \family default
15072 ,
15073  y en ciertos aspectos
15074 \emph on
15075  
15076 \emph default
15077 se adaptan mejor a las convenciones tipográficas
15078 \family typewriter
15079  
15080 \family default
15081 europeas.
15082 \end_layout
15083
15084 \begin_layout Itemize
15085 El tamaño estándar de letra es 11
15086 \begin_inset space \thinspace{}
15087 \end_inset
15088
15089 pt en 
15090 \family sans
15091 article (koma-script)
15092 \emph on
15093 ,
15094  
15095 \emph default
15096 report (koma-script)
15097 \family default
15098 ,
15099  y 
15100 \family sans
15101 book (koma-script)
15102 \family default
15103 ,
15104  y 12
15105 \begin_inset space \thinspace{}
15106 \end_inset
15107
15108 pt en 
15109 \family sans
15110 letter (koma-script)
15111 \family default
15112 .
15113 \end_layout
15114
15115 \begin_layout Itemize
15116 Los encabezados,
15117  los marcadores del entorno
15118 \family sans
15119  Descripción
15120 \family default
15121  y otros elementos de la clase 
15122 \family sans
15123 letter (koma-script)
15124 \family default
15125 \emph on
15126  
15127 \emph default
15128 se ponen en sans serif negrita.
15129 \begin_inset Foot
15130 status collapsed
15131
15132 \begin_layout Plain Layout
15133 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita y las nuevas tipografías ec,
15134  especialmente en cuanto al aspecto de los encabezados.
15135  En comparación,
15136  las tipografías ec sans serif negrita se ven algo más delgadas.
15137  El paquete \SpecialChar LaTeX
15138  
15139 \family typewriter
15140 cmsd.sty 
15141 \family default
15142 de 
15143 \shape smallcaps
15144 Walter Schmidt
15145 \shape default
15146  permite generar la apariencia 
15147 \begin_inset Quotes cld
15148 \end_inset
15149
15150 habitual
15151 \begin_inset Quotes crd
15152 \end_inset
15153
15154  cuando se emplean las tipografías ec.
15155 \end_layout
15156
15157 \end_inset
15158
15159  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,
15160  o sea,
15161  sin la línea extra 
15162 \begin_inset Quotes cld
15163 \end_inset
15164
15165 Capítulo\SpecialChar ldots
15166
15167 \begin_inset Quotes crd
15168 \end_inset
15169
15170 .
15171  Además,
15172  el aspecto de los encabezados se puede modificar mediante algunas opciones (en \SpecialChar LyX
15173  se introducen en el diálogo D
15174 \family sans
15175 ocumento\SpecialChar menuseparator
15176 Configuración
15177 \family default
15178 ).
15179  Se puede encontrar una completa descripción de estas opciones,
15180  en alemán,
15181  en la documentación de Koma-Script 
15182 \emph on
15183 scrguide
15184 \emph default
15185 .
15186 \end_layout
15187
15188 \begin_layout Itemize
15189 En las clases Koma-Script,
15190  los aspectos principales del diseño del área imprimible se controlan con las opciones 
15191 \family sans
15192 BCOR
15193 \family default
15194  y 
15195 \family sans
15196 DIV
15197 \family default
15198  (en \SpecialChar LyX
15199  se introducen en el campo de opciones de clase del diálogo 
15200 \family sans
15201 Documento\SpecialChar menuseparator
15202 Configuración
15203 \family default
15204 ).
15205  Dichas opciones permiten un ajuste más claro de los márgenes posibles de página.
15206  En la documentación de Koma-Script 
15207 \emph on
15208 scrguide
15209 \emph default
15210 ,
15211  (en alemán),
15212  hay una detallada descripción de estas y otras opciones de configuración del área imprimible.
15213 \end_layout
15214
15215 \begin_layout Itemize
15216 Las clases \SpecialChar LaTeX
15217  de documentos de la familia Koma-Script definen un cierto número de comandos adicionales.
15218  Aquellos que tienen sentido en \SpecialChar LyX
15219  se implementan en los correspondientes tipos de párrafo.
15220 \end_layout
15221
15222 \begin_layout Standard
15223 En la documentación de Koma-Script,
15224  
15225 \emph on
15226 scrguide
15227 \emph default
15228  (alemán) y 
15229 \emph on
15230 scrguien
15231 \emph default
15232  (inglés),
15233  hay una detallada descripción de las clases \SpecialChar LaTeX
15234  de la familia Koma-Script.
15235 \end_layout
15236
15237 \begin_layout Subsection
15238 article (koma-script),
15239  report (koma-script),
15240  y book (koma-script)
15241 \end_layout
15242
15243 \begin_layout Standard
15244 Las clases de documento 
15245 \family sans
15246 article (koma-script)
15247 \emph on
15248 ,
15249  
15250 \emph default
15251 report (koma-script)
15252 \family default
15253 ,
15254  y 
15255 \family sans
15256 book
15257 \emph on
15258  
15259 \emph default
15260 (koma-script)
15261 \family default
15262  están implementadas en los archivos de formato 
15263 \family typewriter
15264 scrartcl.layout
15265 \family default
15266 ,
15267  
15268 \family typewriter
15269 scrreprt.layout
15270 \family default
15271 ,
15272  y 
15273 \family typewriter
15274 scrbook.layout
15275 \family default
15276 ,
15277  respectivamente.
15278  Contienen todos los tipos de párrafo de las correspondientes clases estándar 
15279 \family sans
15280 article
15281 \emph on
15282 ,
15283  
15284 \emph default
15285 report
15286 \emph on
15287 ,
15288  
15289 \family default
15290 \emph default
15291 y
15292 \family sans
15293 \emph on
15294  
15295 \emph default
15296 book
15297 \family default
15298 ,
15299  parcialmente modificados,
15300  con la excepción del tipo 
15301 \family sans
15302 List
15303 \family default
15304 a,
15305  específico de \SpecialChar LyX
15306 ,
15307  que es reemplazado por el nuevo tipo 
15308 \family sans
15309 Etiquetado
15310 \family default
15311 ,
15312  que tiene la misma funcionalidad.
15313  Además del tipo 
15314 \family sans
15315 Etiquetado 
15316 \family default
15317 se han añadido otros nuevos tipos de párrafo.
15318  Pero 
15319 \emph on
15320 no 
15321 \emph default
15322 se encuentran en la clase 
15323 \family sans
15324 letter (koma-script)
15325 \family default
15326 .
15327 \end_layout
15328
15329 \begin_layout Itemize
15330
15331 \family sans
15332 Añadir_Parte,
15333  Añadir_Cap
15334 \family default
15335 ,
15336  
15337 \family sans
15338 Añadir_Sec
15339 \family default
15340 :
15341  son los equivalentes respectivos a 
15342 \family sans
15343 Parte*,
15344  Capítulo*
15345 \family default
15346  y 
15347 \family sans
15348 Sección*
15349 \family default
15350 ,
15351  pero además añaden una entrada en el índice general.
15352  
15353 \family sans
15354 Añadir_Parte
15355 \family default
15356  y 
15357 \family sans
15358 Añadir_Cap
15359 \family default
15360  no están en 
15361 \family sans
15362 article (koma-script)
15363 \family default
15364 .
15365 \end_layout
15366
15367 \begin_layout Itemize
15368
15369 \family sans
15370 Añadir_Cap
15371 \family default
15372 *,
15373  
15374 \family sans
15375 Añadir_Sec*
15376 \family default
15377 :
15378  se comportan igual que 
15379 \family sans
15380 Añadir_Cap
15381 \family default
15382  y 
15383 \family sans
15384 Añadir_Sec
15385 \family default
15386  pero no indican la numeración del capítulo o sección.
15387  
15388 \family sans
15389 Añadir_Cap
15390 \family default
15391 * no está disponible en 
15392 \family sans
15393 article (koma-script)
15394 \family default
15395 .
15396 \begin_inset Foot
15397 status collapsed
15398
15399 \begin_layout Plain Layout
15400 En 
15401 \emph on
15402 book (koma-script)
15403 \emph default
15404  y en 
15405 \emph on
15406 report (koma-script)
15407 \emph default
15408 ,
15409
15410 \emph on
15411  
15412 \emph default
15413 hay también un comando 
15414 \family typewriter
15415
15416 \backslash
15417 addpart*
15418 \family default
15419 ,
15420  pero como es idéntico a 
15421 \family sans
15422 Parte*
15423 \family default
15424 ,
15425  no ha sido implementado en \SpecialChar LyX
15426 .
15427 \end_layout
15428
15429 \end_inset
15430
15431
15432 \end_layout
15433
15434 \begin_layout Itemize
15435
15436 \family sans
15437 Mini
15438 \family default
15439 _S
15440 \family sans
15441 ec
15442 \family default
15443 :
15444  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.
15445 \end_layout
15446
15447 \begin_layout Itemize
15448
15449 \family sans
15450 Encabezado_Arriba 
15451 \family default
15452
15453 \family sans
15454 Encabezado_Abajo
15455 \family default
15456  son encabezados especiales que respetan los espacios diferentes para encabezados situados sobre y bajo un elemento (si sigues estrictamente las normas tipográficas,
15457  pondrás los encabezados de cuadro siempre sobre ellos).
15458  También puedes usar la opción de clase 
15459 \family typewriter
15460 tablecaptionsabove
15461 \family default
15462 ,
15463  que cambiará 
15464 \family sans
15465 Encabezado
15466 \family default
15467  por 
15468 \family sans
15469 Encabezado_Arriba
15470 \family default
15471  para los cuadros y por 
15472 \family sans
15473 Encabezado_Abajo
15474 \family default
15475  para las figuras.
15476  Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
15477 \end_layout
15478
15479 \begin_layout Itemize
15480
15481 \family sans
15482 Sentencia
15483 \family default
15484 :
15485  sirve para poner una cita o un proverbio,
15486  por ejemplo,
15487  al principio de un capítulo.
15488  Si utilizas el parámetro opcional 
15489 \family sans
15490 Insertar\SpecialChar menuseparator
15491
15492 \lang english
15493 Dictum
15494 \begin_inset space ~
15495 \end_inset
15496
15497 Author
15498 \family default
15499 \lang spanish
15500 ,
15501  puedes insertar aquí el nombre del autor de la sentencia.
15502  La sentencia y su autor se separan con una línea.
15503  Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
15504  
15505 \family sans
15506 Sentencia
15507 \family default
15508  no está incluido en 
15509 \family sans
15510 article (koma-script)
15511 \family default
15512 .
15513 \end_layout
15514
15515 \begin_layout Standard
15516 Los entornos siguientes,
15517  junto con los habituales 
15518 \family sans
15519 Título
15520 \family default
15521 ,
15522  
15523 \family sans
15524 Autor
15525 \family default
15526 ,
15527  y 
15528 \family sans
15529 Fecha
15530 \family default
15531 ,
15532  forman la zona de título del documento.
15533  Deben introducirse sobre el primer párrafo 
15534 \begin_inset Quotes cld
15535 \end_inset
15536
15537 normal
15538 \begin_inset Quotes crd
15539 \end_inset
15540
15541 .
15542 \begin_inset Foot
15543 status collapsed
15544
15545 \begin_layout Plain Layout
15546 Los comandos \SpecialChar LaTeX
15547  correspondientes deben aparecer antes de 
15548 \family typewriter
15549
15550 \backslash
15551 maketitle
15552 \family default
15553 .
15554 \end_layout
15555
15556 \end_inset
15557
15558  Cuando este entorno se emplea más de una vez,
15559  el último anula a los anteriores,
15560  lo que implica que para cada tipo solo es válida la última entrada.
15561  El orden de los distintos entornos no influye en el documento final,
15562  lo mismo que sucede con 
15563 \family sans
15564 Título
15565 \family default
15566 ,
15567  
15568 \family sans
15569 Autor
15570 \family default
15571 ,
15572  y 
15573 \family sans
15574 Fecha
15575 \family default
15576 .
15577 \end_layout
15578
15579 \begin_layout Itemize
15580
15581 \family sans
15582 Tema
15583 \family default
15584 :
15585  genera un párrafo centrado sobre el título ordinario (
15586 \family sans
15587 Título
15588 \family default
15589 ,
15590  
15591 \family sans
15592 Autor
15593 \family default
15594 ,
15595  
15596 \family sans
15597 Fecha
15598 \family default
15599 ) para poner el tema del documento.
15600 \end_layout
15601
15602 \begin_layout Itemize
15603
15604 \family sans
15605 Editores
15606 \family default
15607 :
15608  genera un párrafo centrado bajo el título ordinario (
15609 \family sans
15610 Título
15611 \family default
15612 ,
15613  
15614 \family sans
15615 Autor
15616 \family default
15617 ,
15618  
15619 \family sans
15620 Fecha
15621 \family default
15622 ) para los nombres de los editores.
15623 \end_layout
15624
15625 \begin_layout Itemize
15626
15627 \family sans
15628 Dedicatoria
15629 \family default
15630 :
15631  en 
15632 \family sans
15633 report (koma-script)
15634 \family default
15635  y 
15636 \family sans
15637 book (koma-script)
15638 \family default
15639  produce un párrafo centrado en su propia página detrás de la de título,
15640  o en 
15641 \family sans
15642 article (koma-script)
15643 \family default
15644  produce un párrafo centrado bajo el título ordinario (
15645 \family sans
15646 Título
15647 \family default
15648 ,
15649  
15650 \family sans
15651 Autor
15652 \family default
15653 ,
15654  
15655 \family sans
15656 Fecha
15657 \family default
15658 ,
15659  
15660 \family sans
15661 Editores
15662 \family default
15663 ).
15664 \end_layout
15665
15666 \begin_layout Itemize
15667
15668 \family sans
15669 Encabezado_Título
15670 \family default
15671 :
15672  produce un párrafo alineado a la izquierda sobre el título ordinario (
15673 \family sans
15674 Título
15675 \family default
15676 ,
15677  
15678 \family sans
15679 Autor
15680 \family default
15681 ,
15682  
15683 \family sans
15684 Fecha
15685 \family default
15686 ,
15687  
15688 \family sans
15689 Tema
15690 \family default
15691 ).
15692 \end_layout
15693
15694 \begin_layout Itemize
15695
15696 \family sans
15697 Reverso_Título_Superior
15698 \family default
15699 :
15700  genera,
15701  en documentos a dos caras,
15702  un párrafo alineado a la izquierda en la parte superior del reverso de la página titular en 
15703 \family sans
15704 report (koma-script)
15705 \family default
15706  y 
15707 \family sans
15708 book (koma-script)
15709 \family default
15710 ;
15711  no afecta a documentos a una cara ni a
15712 \family sans
15713 \emph on
15714  
15715 \emph default
15716 article (koma-script)
15717 \family default
15718 .
15719 \end_layout
15720
15721 \begin_layout Itemize
15722
15723 \family sans
15724 Reverso_Título_Inferior
15725 \family default
15726 :
15727  genera,
15728  en documentos a dos caras,
15729  un párrafo alineado a la izquierda en la parte inferior del reverso de la página titular en 
15730 \family sans
15731 report (koma-script)
15732 \family default
15733  y 
15734 \family sans
15735 book (koma-script)
15736 \family default
15737 ;
15738  no afecta a documentos a una cara ni a 
15739 \family sans
15740 article (koma-script)
15741 \family default
15742 .
15743 \end_layout
15744
15745 \begin_layout Itemize
15746
15747 \family sans
15748 Extra_T
15749 \family default
15750 ítulo:
15751  produce una página especial al principio del documento con un párrafo sin formato.
15752 \end_layout
15753
15754 \begin_layout Standard
15755 Los archivos de formato para las clases 
15756 \family sans
15757 article (koma-script)
15758 \emph on
15759 ,
15760  
15761 \emph default
15762 report (koma-script)
15763 \family default
15764 ,
15765  y 
15766 \family sans
15767 book (koma-script)
15768 \family default
15769  incluyen el archivo 
15770 \family typewriter
15771 scrmacros.inc
15772 \family default
15773 .
15774  Este está pensado como un lugar para definir tus propios tipos.
15775  ¡Copia s
15776 \family typewriter
15777 crmacros.inc
15778 \family default
15779  en tu directorio personal y edítalo!
15780 \end_layout
15781
15782 \begin_layout Subsection
15783 letter (koma-script)
15784 \end_layout
15785
15786 \begin_layout Description
15787 \noindent
15788
15789 \lang english
15790 Note:
15791  This section discusses the obsolete 
15792 \family sans
15793 KOMA-Script-Letter (v.
15794 \begin_inset space ~
15795 \end_inset
15796
15797 1)
15798 \family default
15799 ,
15800  which is not even included anymore in recent KOMA releases.
15801  Please refer to the next section for the current KOMA-Script-Letter class (v.
15802 \begin_inset space ~
15803 \end_inset
15804
15805 2)!
15806 \end_layout
15807
15808 \begin_layout Standard
15809 \noindent
15810 La clase de documento 
15811 \family sans
15812 letter (koma-script)
15813 \family default
15814  se implementa en el archivo de formato 
15815 \family typewriter
15816 scrlettr.layout
15817 \family default
15818 .
15819  Contiene todos los tipos de párrafo de la clase 
15820 \family sans
15821 letter
15822 \family default
15823 \emph on
15824  
15825 \emph default
15826 estándar,
15827  parcialmente modificados,
15828  excepto los específicos de \SpecialChar LyX
15829  
15830 \family sans
15831 Código-\SpecialChar LyX
15832
15833 \family default
15834  y 
15835 \family sans
15836 Comentario y el tipo
15837 \family default
15838  
15839 \family sans
15840 Lista
15841 \family default
15842 ,
15843  que es reemplazado por el nuevo tipo 
15844 \family sans
15845 Etiquetado
15846 \family default
15847 .
15848  Además contiene,
15849  a diferencia de la clase estándar,
15850  los entornos estándar \SpecialChar LaTeX
15851 ,
15852  
15853 \family sans
15854 Cita,
15855  Citar 
15856 \family default
15857 y
15858 \family sans
15859  Verso
15860 \family default
15861 ,
15862  más un número de nuevos tipos específicos para cartas.
15863 \end_layout
15864
15865 \begin_layout Standard
15866 El aspecto de las cartas producidas por esta clase de documento se puede controlar mediante comandos \SpecialChar LaTeX
15867  que puedes poner en el preámbulo.
15868 \begin_inset Foot
15869 status collapsed
15870
15871 \begin_layout Plain Layout
15872 Por ejemplo,
15873  el aspecto estándar de la cabecera de una carta,
15874  nombres y direcciones,
15875  se consigue con estos comandos \SpecialChar LaTeX
15876  en el preámbulo:
15877 \end_layout
15878
15879 \begin_layout LyX-Code
15880
15881 \backslash
15882 firsthead{
15883 \backslash
15884 parbox[b]{
15885 \backslash
15886 textwidth}
15887 \end_layout
15888
15889 \begin_layout LyX-Code
15890   {
15891 \backslash
15892 ignorespaces 
15893 \backslash
15894 fromname
15895 \backslash
15896
15897 \backslash
15898  
15899 \backslash
15900 ignorespaces 
15901 \backslash
15902 fromaddress}} 
15903 \end_layout
15904
15905 \begin_layout LyX-Code
15906
15907 \backslash
15908 nexthead{
15909 \backslash
15910 parbox[b]{
15911 \backslash
15912 textwidth}
15913 \end_layout
15914
15915 \begin_layout LyX-Code
15916   {
15917 \backslash
15918 ignorespaces 
15919 \backslash
15920 fromname 
15921 \backslash
15922 hfill 
15923 \backslash
15924 ignorespaces 
15925 \backslash
15926 pagename
15927 \backslash
15928  
15929 \backslash
15930 thepage}}
15931 \end_layout
15932
15933 \end_inset
15934
15935  Hay una detallada descripción de ellos en la documentación de Koma-Script,
15936  
15937 \emph on
15938 scrguide
15939 \emph default
15940  (en alemán).
15941  Con su ayuda puedes producir formatos personalizados de cartas.
15942 \end_layout
15943
15944 \begin_layout Standard
15945 Los entornos 
15946 \family sans
15947 Carta
15948 \family default
15949  y 
15950 \family sans
15951 Apertura
15952 \family default
15953  definen el comienzo de la carta y deben ponerse en todas ellas.
15954  Se pueden escribir varias
15955 \family sans
15956  
15957 \family default
15958 cartas en el mismo archivo.
15959  Un entorno 
15960 \family sans
15961 Apertura 
15962 \family default
15963 da comienzo a una nueva carta para el mismo destinatario mientras que un entorno 
15964 \family sans
15965 Carta
15966 \family default
15967  da lugar a una nueva carta para distinto destinatario.
15968  Los tipos 
15969 \family sans
15970 Cierre
15971 \family default
15972 ,
15973  
15974 \family sans
15975 PS
15976 \family default
15977 ,
15978  
15979 \family sans
15980 CC
15981 \family default
15982 ,
15983  y 
15984 \family sans
15985 Encl
15986 \family default
15987  son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15988 \end_layout
15989
15990 \begin_layout Itemize
15991
15992 \family sans
15993 Carta
15994 \family default
15995 :
15996  produce un párrafo para poner el destinatario y define implícitamente el inicio de la carta.
15997 \end_layout
15998
15999 \begin_layout Itemize
16000
16001 \family sans
16002 Apertura
16003 \family default
16004 :
16005  produce un párrafo para poner el destinatario e inicia implícitamente una nueva carta.
16006 \end_layout
16007
16008 \begin_layout Itemize
16009
16010 \family sans
16011 Cierre
16012 \family default
16013 :
16014  da lugar a un párrafo para el cierre de la carta.
16015 \end_layout
16016
16017 \begin_layout Itemize
16018
16019 \family sans
16020 PS
16021 \family default
16022 :
16023  párrafo para poner una postdata.
16024 \end_layout
16025
16026 \begin_layout Itemize
16027
16028 \family sans
16029 CC
16030 \family default
16031 :
16032  párrafo para una lista de co-destinatarios.
16033 \end_layout
16034
16035 \begin_layout Itemize
16036
16037 \family sans
16038 Encl
16039 \family default
16040 :
16041  párrafo para documentos adjuntos.
16042 \end_layout
16043
16044 \begin_layout Standard
16045 Los tipos de entorno 
16046 \family sans
16047 Nombre
16048 \family default
16049 ,
16050  
16051 \family sans
16052 Firma
16053 \family default
16054 ,
16055  
16056 \family sans
16057 Dirección
16058 \family default
16059 ,
16060  
16061 \family sans
16062 Teléfono
16063 \family default
16064 ,
16065  
16066 \family sans
16067 Lugar
16068 \family default
16069 ,
16070  
16071 \family sans
16072 Remite
16073 \family default
16074 ,
16075  
16076 \family sans
16077 Correo
16078 \begin_inset space ~
16079 \end_inset
16080
16081 especial
16082 \family default
16083 ,
16084  
16085 \family sans
16086 Localización
16087 \family default
16088 ,
16089  
16090 \family sans
16091 Título
16092 \family default
16093 ,
16094  y 
16095 \family sans
16096 Tema
16097 \family default
16098  son entradas provistas de una etiqueta para introducir información que será procesada por la clase de documento.
16099 \begin_inset Foot
16100 status collapsed
16101
16102 \begin_layout Plain Layout
16103 Podría ser inconsecuente que 
16104 \family sans
16105 Carta 
16106 \family default
16107
16108 \family sans
16109 Apertura
16110 \family default
16111 ,
16112  descritos arriba,
16113  no sean también entornos con etiqueta de entrada.
16114  Sin embargo,
16115  debido al signifificado particular de estos tipos,
16116  los he implementado como párrafos ordinarios con una letra en el margen.
16117  Además,
16118  afectaría a mi sensación de simetría si los tipos 
16119 \family sans
16120 Apertura
16121 \family default
16122  y 
16123 \family sans
16124 Cierre
16125 \family default
16126  tuvieran aspectos muy distintos.
16127 \end_layout
16128
16129 \end_inset
16130
16131  Estos tipos deben ponerse antes de la 
16132 \family sans
16133 Apertura
16134 \family default
16135  correspondiente.
16136 \end_layout
16137
16138 \begin_layout Standard
16139 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,
16140  sino también de otros factores.
16141  Por ejemplo,
16142  en el comportamiento predeterminado,
16143  una firma introducida en el tipo 
16144 \family sans
16145 Firma 
16146 \family default
16147 solo aparecerá en la carta si se usa,
16148  además,
16149  el tipo 
16150 \family sans
16151 Cierre
16152 \family default
16153 .
16154  El valor introducido en 
16155 \family sans
16156 Teléfono 
16157 \family default
16158 tampoco aparece en la carta.
16159  La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado antes en una nota al pie.
16160 \end_layout
16161
16162 \begin_layout Standard
16163 Los entornos para introducir datos también se pueden usar como párrafos vacíos.
16164  Esto tiene sentido,
16165  p.
16166 \begin_inset space \thinspace{}
16167 \end_inset
16168
16169 e.,
16170  para el entorno 
16171 \family sans
16172 Firma
16173 \family default
16174 .
16175  Si no se pone 
16176 \family sans
16177 Firma
16178 \family default
16179 ,
16180  en el comportamiento estándar se usará el valor de 
16181 \family sans
16182 Nombre 
16183 \family default
16184 como firma,
16185  mientras que si se define una 
16186 \family sans
16187 Firma 
16188 \family default
16189 vacía no saldrá ninguna.
16190 \end_layout
16191
16192 \begin_layout Standard
16193 Los entornos para introducir datos también pueden servir para escribir una plantilla,
16194  que contenga campos cumplimentados con tus datos personales (nombre,
16195  dirección,
16196  etc.),
16197  y campos vacíos listos para ser completados con otros datos.
16198 \end_layout
16199
16200 \begin_layout Itemize
16201
16202 \family sans
16203 Nombre
16204 \family default
16205 :
16206  nombre del remitente,
16207  en el comportamiento normal aparece en versalitas,
16208  en un párrafo centrado en el encabezado de la carta.
16209 \end_layout
16210
16211 \begin_layout Itemize
16212
16213 \family sans
16214 Firma
16215 \family default
16216 :
16217  firma del remitente,
16218  en el comportamiento normal aparece bajo el 
16219 \family sans
16220 Cierre
16221 \family default
16222 .
16223  Si no se utiliza el párrafo 
16224 \family sans
16225 Firma
16226 \family default
16227 ,
16228  se escribe en su lugar el valor del campo 
16229 \family sans
16230 Nombre
16231 \family default
16232 .
16233 \end_layout
16234
16235 \begin_layout Itemize
16236
16237 \family sans
16238 Dirección
16239 \family default
16240 :
16241  dirección del remitente,
16242  en el comportamiento normal aparece en un párrafo centrado,
16243  en el encabezado,
16244  bajo el 
16245 \family sans
16246 Nombre
16247 \family default
16248  del remitente.
16249 \end_layout
16250
16251 \begin_layout Itemize
16252
16253 \family sans
16254 Teléfon
16255 \family default
16256 o:
16257  teléfono del remitente,
16258  en el comportamiento normal corresponde a la variable 
16259 \family typewriter
16260
16261 \backslash
16262 telephonenum
16263 \family default
16264  de \SpecialChar LaTeX
16265 .
16266 \end_layout
16267
16268 \begin_layout Itemize
16269
16270 \family sans
16271 Lugar
16272 \family default
16273 :
16274  lugar donde se ha escrito la carta.
16275 \end_layout
16276
16277 \begin_layout Itemize
16278
16279 \family sans
16280 Fecha
16281 \family default
16282 :
16283  fecha de escritura de la carta.
16284  
16285 \family sans
16286 Lugar
16287 \family default
16288  y 
16289 \family sans
16290 Fecha
16291 \family default
16292 ,
16293  por omisión,
16294  aparecen en una línea a la derecha bajo el campo de dirección.
16295  Si el párrafo Fecha se deja vacío,
16296  no aparecen ni lugar ni fecha,
16297  independientemente del valor puesto en 
16298 \family sans
16299 Lugar
16300 \family default
16301 .
16302  Si no se pone párrafo de 
16303 \family sans
16304 Fecha
16305 \family default
16306 ,
16307  se usará la fecha del día.
16308 \end_layout
16309
16310 \begin_layout Itemize
16311
16312 \family sans
16313 Remite
16314 \family default
16315 :
16316  dirección para la respuesta,
16317  normalmente aparece sobre el campo del destinatario (
16318 \family sans
16319 Carta
16320 \family default
16321 ) en tipografía sans serif pequeña,
16322  subrayado.
16323 \end_layout
16324
16325 \begin_layout Itemize
16326
16327 \family sans
16328 Correo_Especial
16329 \family default
16330 :
16331  información especial de correo,
16332  en el comportamiento normal aparece subrayado sobre la dirección y bajo el remite.
16333 \end_layout
16334
16335 \begin_layout Itemize
16336
16337 \family sans
16338 Loca
16339 \family default
16340 lizació
16341 \family sans
16342 n
16343 \family default
16344 :
16345  información adicional,
16346  en el comportamiento normal aparece a la derecha bajo el campo del destinatario (
16347 \family sans
16348 Carta
16349 \family default
16350 ).
16351 \end_layout
16352
16353 \begin_layout Itemize
16354
16355 \family sans
16356 Título
16357 \family default
16358 :
16359  título de la carta,
16360  en el comportamiento normal aparece en letra sans serif grande,
16361  en negrita,
16362  sobre el 
16363 \family sans
16364 Tema
16365 \family default
16366 .
16367 \end_layout
16368
16369 \begin_layout Itemize
16370
16371 \family sans
16372 Tema
16373 \family default
16374 :
16375  el tema de la carta,
16376  en el comportamiento normal aparece en negrita sobre el párrafo de 
16377 \family sans
16378 Apertura
16379 \family default
16380 .
16381 \end_layout
16382
16383 \begin_layout Standard
16384 Los tipos 
16385 \family sans
16386 Su_ref
16387 \family default
16388 ,
16389  
16390 \family sans
16391 Su_Correo
16392 \family default
16393 ,
16394  
16395 \family sans
16396 Mi_ref
16397 \family default
16398 ,
16399  
16400 \family sans
16401 C
16402 \family default
16403 liente,
16404  y 
16405 \family sans
16406 Factura
16407 \family default
16408  generan,
16409  a la manera de las cartas comerciales,
16410  una línea sobre el 
16411 \family sans
16412 Título
16413 \family default
16414  con los campos 
16415 \begin_inset Quotes cld
16416 \end_inset
16417
16418 Su ref.
16419 \begin_inset Quotes crd
16420 \end_inset
16421
16422 ,
16423  
16424 \begin_inset Quotes cld
16425 \end_inset
16426
16427 Su carta de
16428 \begin_inset Quotes crd
16429 \end_inset
16430
16431 ,
16432  
16433 \begin_inset Quotes cld
16434 \end_inset
16435
16436 Nuestra ref.
16437 \begin_inset Quotes crd
16438 \end_inset
16439
16440 ,
16441  
16442 \begin_inset Quotes cld
16443 \end_inset
16444
16445 Nº de Cliente
16446 \begin_inset Quotes crd
16447 \end_inset
16448
16449 ,
16450  
16451 \begin_inset Quotes cld
16452 \end_inset
16453
16454 Nº de Factura:
16455 \begin_inset Quotes crd
16456 \end_inset
16457
16458 ,
16459  y 
16460 \begin_inset Quotes cld
16461 \end_inset
16462
16463 Fecha
16464 \begin_inset Quotes crd
16465 \end_inset
16466
16467 .
16468  Para el campo 
16469 \begin_inset Quotes cld
16470 \end_inset
16471
16472 Fecha
16473 \begin_inset Quotes crd
16474 \end_inset
16475
16476  toma el valor del entorno 
16477 \family sans
16478 Fecha
16479 \family default
16480 .
16481  Si se utiliza uno de estos tipos para 
16482 \begin_inset Quotes cld
16483 \end_inset
16484
16485 cartas comerciales
16486 \begin_inset Quotes crd
16487 \end_inset
16488
16489 ,
16490  el valor dado en 
16491 \family sans
16492 Lugar
16493 \family default
16494  no aparece,
16495  solo se define la variable \SpecialChar LaTeX
16496  
16497 \family typewriter
16498
16499 \backslash
16500 fromplace
16501 \family default
16502 .
16503  La salida ordinaria de lugar y fecha en una línea a la derecha bajo el campo del destinatario se suprime.
16504  Los tipos se implementan para introducción de datos,
16505  provistos con una etiqueta,
16506  y deben utilizarse antes del correspondiente tipo 
16507 \family sans
16508 Apertura
16509 \family default
16510 .
16511 \end_layout
16512
16513 \begin_layout Itemize
16514
16515 \family sans
16516 Su_ref
16517 \family default
16518 :
16519  su ref.
16520 \end_layout
16521
16522 \begin_layout Itemize
16523 Su
16524 \family sans
16525 _
16526 \family default
16527 Correo:
16528  su carta de.
16529 \end_layout
16530
16531 \begin_layout Itemize
16532
16533 \family sans
16534 Mi
16535 \family default
16536 _
16537 \family sans
16538 ref
16539 \family default
16540 :
16541  mi ref.
16542 \end_layout
16543
16544 \begin_layout Itemize
16545
16546 \family sans
16547 Cliente
16548 \family default
16549 :
16550  Nº de cliente.
16551 \end_layout
16552
16553 \begin_layout Itemize
16554
16555 \family sans
16556 Factura
16557 \family default
16558 :
16559  Nº de factura.
16560 \end_layout
16561
16562 \begin_layout Subsection
16563 La nueva clase de carta:
16564  letter (koma-script v.2)
16565 \end_layout
16566
16567 \begin_layout Standard
16568 por 
16569 \noun on
16570 Jürgen Spitzmüller
16571 \end_layout
16572
16573 \begin_layout Standard
16574 \begin_inset VSpace medskip
16575 \end_inset
16576
16577
16578 \end_layout
16579
16580 \begin_layout Standard
16581 \noindent
16582 Koma-Script versión 2.8 ha introducido una clase nueva 
16583 \family sans
16584 de 
16585 \family default
16586 cartas,
16587  
16588 \family typewriter
16589 scrlttr2
16590 \family default
16591 ,
16592  que reemplaza a 
16593 \family typewriter
16594 scrlettr
16595 \family default
16596 ,
16597  que ya no se desarrolla.
16598  Tiene,
16599  en lo que respecta a \SpecialChar LaTeX
16600 ,
16601  una interfaz completamente nueva incompatible con la clase antigua.
16602  \SpecialChar LyX
16603  soporta las dos,
16604  pero se recomienda usar la nueva.
16605 \end_layout
16606
16607 \begin_layout Standard
16608 Esta clase cubre las mismas funciones que 
16609 \family sans
16610 letter (koma-script)
16611 \family default
16612 \emph on
16613 ,
16614
16615 \emph default
16616  y algunas más.
16617  Las funciones básicas son 
16618 \family sans
16619 Dirección
16620 \family default
16621  (dirección del destinatario,
16622  como
16623 \family sans
16624  Carta
16625 \family default
16626  en el formato antiguo),
16627  
16628 \family sans
16629 Apertura
16630 \family default
16631 ,
16632  y 
16633 \family sans
16634 Cierre
16635 \family default
16636 .
16637  
16638 \family sans
16639 Dirección
16640 \family default
16641 _
16642 \family sans
16643 Siguiente
16644 \family default
16645  comenzará una carta nueva (o sea,
16646  que puedes escribir varias cartas en el mismo documento).
16647  Los elementos nuevos de remitente son 
16648 \family sans
16649 Correo_Electrónico
16650 \family default
16651 ,
16652  
16653 \family sans
16654 URL
16655 \family default
16656 ,
16657  
16658 \family sans
16659 Fax
16660 \family default
16661 ,
16662  
16663 \family sans
16664 Bank
16665 \family default
16666  y la posibilidad de usar un 
16667 \family sans
16668 Logotipo
16669 \family default
16670  (vía 
16671 \family sans
16672 Insertar\SpecialChar menuseparator
16673 Imagen
16674 \family default
16675 ) en el encabezado.
16676 \end_layout
16677
16678 \begin_layout Standard
16679 La mejora más importante es,
16680  creo,
16681  que el formato de la carta es configurable para casi cualquier necesidad.
16682  Esto se puede hacer en el preámbulo o con un archivo de estilo especial (extensión 
16683 \family typewriter
16684 .lco
16685 \family default
16686 ,
16687  Letter Class Option),
16688  que será leído como una opción de clase.
16689 \begin_inset Foot
16690 status collapsed
16691
16692 \begin_layout Plain Layout
16693 El paquete KOMA viene con algunos archivos 
16694 \family typewriter
16695 .lco
16696 \family default
16697  predefinidos.
16698  Hay,
16699  por ejemplo,
16700  un archivo 
16701 \family typewriter
16702 DIN.lco
16703 \family default
16704  que sigue las normas tipográficas alemanas,
16705  o 
16706 \family typewriter
16707 KOMAold.lco
16708 \family default
16709  que proporciona el formato predefinido de la antigua clase 
16710 \family typewriter
16711 scrlettr
16712 \family default
16713 .
16714  Esta última puede cargarse como opción de clase 
16715 \family typewriter
16716 KOMAold
16717 \family default
16718 ,
16719  en el campo 
16720 \family sans
16721 Opciones 
16722 \family default
16723 de 
16724 \family sans
16725 Documento\SpecialChar menuseparator
16726 Configuración\SpecialChar menuseparator
16727 Clase
16728 \begin_inset space ~
16729 \end_inset
16730
16731 de
16732 \begin_inset space ~
16733 \end_inset
16734
16735 documento
16736 \family default
16737 .
16738 \end_layout
16739
16740 \end_inset
16741
16742  Echa una ojeada a la plantilla 
16743 \emph on
16744 koma-letter2
16745 \emph default
16746  que se incluye como ejemplo en \SpecialChar LyX
16747 .
16748  En la documentación de Koma-Script (
16749 \emph on
16750 scrguide
16751 \emph default
16752 ) hay una descripción detallada.
16753 \end_layout
16754
16755 \begin_layout Subsection
16756 Problemas
16757 \end_layout
16758
16759 \begin_layout Standard
16760 En \SpecialChar LyX
16761 ,
16762  la visualización de documentos de la clase Koma-Script ocasiona algunos problemas.
16763 \end_layout
16764
16765 \begin_layout Itemize
16766 El número de capítulo en un párrafo 
16767 \family sans
16768 Capítulo
16769 \family default
16770  aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer delante en la misma línea.
16771  La causa de esto es el comportamiento interno de \SpecialChar LyX
16772  en relación a los marcadores del tipo 
16773 \family sans
16774 Counter_Chapter 
16775 \family default
16776 en el archivo de formato.
16777 \end_layout
16778
16779 \begin_layout Itemize
16780 Los encabezados de los entornos 
16781 \family sans
16782 Añadir_Cap
16783 \family default
16784  y 
16785 \family sans
16786 Añadir_Sec
16787 \family default
16788  solo se ponen en el índice generado por \SpecialChar LaTeX
16789 ,
16790  no en el índice de \SpecialChar LyX
16791  (
16792 \family sans
16793 Documento\SpecialChar menuseparator
16794 Índice
16795 \begin_inset space ~
16796 \end_inset
16797
16798 general
16799 \family default
16800 ).
16801 \end_layout
16802
16803 \begin_layout Itemize
16804 Los párrafos en documentos de la clase 
16805 \emph on
16806 letter
16807 \emph default
16808  aparecen separados con espacio adicional entre ellos,
16809  no con sangrado.
16810  Este es el comportamiento normal,
16811  no hacen falta comandos \SpecialChar LaTeX
16812  para eso.
16813  Sin embargo,
16814  en el diálogo 
16815 \family sans
16816 Documento\SpecialChar menuseparator
16817 Configuración
16818 \family default
16819  el botón que aparece marcado es 
16820 \family sans
16821 Sangrado
16822 \family default
16823 .
16824  Si se introduce un valor de 
16825 \family sans
16826 Espacio
16827 \begin_inset space ~
16828 \end_inset
16829
16830 vertical
16831 \family default
16832  se insertan en el documento comandos \SpecialChar LaTeX
16833  adicionales para dar ese espacio,
16834  lo que en este caso no es lo que queremos.
16835 \end_layout
16836
16837 \begin_layout Section
16838 Memoir
16839 \end_layout
16840
16841 \begin_layout Standard
16842 por 
16843 \noun on
16844 Jürgen Spitzmüller
16845 \end_layout
16846
16847 \begin_layout Subsection
16848 Visión previa
16849 \end_layout
16850
16851 \begin_layout Standard
16852 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16853  Se ha diseñado para escribir literatura de ficción y de no ficción.
16854  Su objetivo es dar al usuario el máximo control sobre su documento.
16855  Memoir está basada en la clase estándar 
16856 \family sans
16857 book
16858 \family default
16859 ,
16860  pero también puede emular la clase 
16861 \family sans
16862 article 
16863 \family default
16864 (véase más adelante).
16865 \end_layout
16866
16867 \begin_layout Standard
16868 Peter Wilson,
16869  el desarrollador de Memoir,
16870  es conocido como autor de muchos paquetes en el mundillo de \SpecialChar LaTeX
16871 .
16872  La mayoría de ellos se han combinado con Memoir.
16873  Por tanto,
16874  es mucho más sencillo diseñar los índices,
16875  apéndices,
16876  capítulos y demás.
16877  \SpecialChar LyX
16878 ,
16879  no obstante,
16880  no soporta por sí mismo todas sus características.
16881  Algunas se podrán añadir en futuras versiones
16882 \begin_inset Foot
16883 status collapsed
16884
16885 \begin_layout Plain Layout
16886 Estás invitado a enviar sugerencias a 
16887 \begin_inset Flex URL
16888 status collapsed
16889
16890 \begin_layout Plain Layout
16891
16892 lyx-devel@lists.lyx.org
16893 \end_layout
16894
16895 \end_inset
16896
16897 .
16898 \end_layout
16899
16900 \end_inset
16901
16902 ,
16903  muchas nunca,
16904  probablemente,
16905  debido a limitaciones estructurales de \SpecialChar LyX
16906 .
16907  Por supuesto,
16908  puedes usar todas las características con ayuda de comandos \SpecialChar LaTeX
16909  (código \SpecialChar TeX
16910
16911 \begin_inset Foot
16912 status collapsed
16913
16914 \begin_layout Plain Layout
16915 Consulta la sección
16916 \begin_inset space ~
16917 \end_inset
16918
16919
16920 \begin_inset CommandInset ref
16921 LatexCommand ref
16922 reference "sec:Insertar-Código-TeX"
16923 nolink "false"
16924
16925 \end_inset
16926
16927  para más detalles.
16928 \end_layout
16929
16930 \end_inset
16931
16932 ).
16933  En esta sección solo trataremos las características soportadas directamente por \SpecialChar LyX
16934 .
16935  Para una decripción más completa (y para el resto de características) recomendamos la consulta del manual de Memoir
16936 \begin_inset Foot
16937 status collapsed
16938
16939 \begin_layout Plain Layout
16940 \begin_inset Flex URL
16941 status collapsed
16942
16943 \begin_layout Plain Layout
16944
16945 CTAN:/macros/latex/memoir/memman.pdf
16946 \end_layout
16947
16948 \end_inset
16949
16950 .
16951 \end_layout
16952
16953 \end_inset
16954
16955 ,
16956  que es,
16957  no solo una guía de usuario,
16958  sino también una completa guía sobre normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16959 \end_layout
16960
16961 \begin_layout Subsection
16962 Características básicas y restricciones
16963 \end_layout
16964
16965 \begin_layout Standard
16966 Memoir soporta básicamente todas las características de las clases estándar de 
16967 \family sans
16968 book
16969 \family default
16970 .
16971  Pero hay algunas diferencias:
16972 \end_layout
16973
16974 \begin_layout Description
16975 Tamaños
16976 \begin_inset space ~
16977 \end_inset
16978
16979 de
16980 \begin_inset space ~
16981 \end_inset
16982
16983 tipografía:
16984  Memoir tiene un amplio rango de tamaños de tipografía:
16985  9,
16986  10,
16987  11,
16988  12,
16989  14,
16990  17
16991 \end_layout
16992
16993 \begin_layout Description
16994 Estilo
16995 \begin_inset space ~
16996 \end_inset
16997
16998 de
16999 \begin_inset space ~
17000 \end_inset
17001
17002 página:
17003  El estilo 
17004 \begin_inset Quotes cld
17005 \end_inset
17006
17007 fancy
17008 \begin_inset Quotes crd
17009 \end_inset
17010
17011  no está soportado,
17012  debido a un conflicto entre Memoir y el paquete 
17013 \family sans
17014 fancyhdr
17015 \family default
17016  (ambos definen un comando con el mismo nombre,
17017  lo que confunde a \SpecialChar LaTeX
17018 ).
17019  En su lugar,
17020  Memoir dispone de un puñado de estilos de página propios (véase 
17021 \family sans
17022 \lang english
17023 Document\SpecialChar menuseparator
17024 Settings\SpecialChar menuseparator
17025 Page
17026 \begin_inset space ~
17027 \end_inset
17028
17029 Style
17030 \family default
17031 \lang spanish
17032 ).
17033  Si quieres usar estos para las páginas de capítulos,
17034  tienes que usar el comando 
17035 \family typewriter
17036
17037 \backslash
17038 chapterstyle
17039 \family default
17040  en el texto o en el preámbulo (p.
17041 \begin_inset space \thinspace{}
17042 \end_inset
17043
17044 ej.
17045 \begin_inset space ~
17046 \end_inset
17047
17048
17049 \family typewriter
17050
17051 \backslash
17052 chapterstyle{companion}
17053 \family default
17054 ).
17055 \end_layout
17056
17057 \begin_layout Description
17058 Seccionamiento:
17059  En las clases estándar,
17060  las secciones (capítulo,
17061  sección,
17062  subsección,
17063  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,
17064  (por ejemplo,
17065  cuando el título es excesivamente largo).
17066  En \SpecialChar LyX
17067 ,
17068  puedes hacerlo con la opción de menú 
17069 \family sans
17070 Insertar\SpecialChar menuseparator
17071 Título
17072 \begin_inset space ~
17073 \end_inset
17074
17075 breve
17076 \family default
17077  al principio de un capítulo/sección.
17078  
17079 \family sans
17080 Memoir
17081 \family default
17082  suministra un segundo argumento opcional para separar el índice del encabezamiento.
17083  Con esto puedes definir tres variantes de un título:
17084  una para el texto principal,
17085  otra para el índice general y otra para los encabezamientos.
17086  
17087 \lang english
17088 \SpecialChar LyX
17089  makes these available in form of specific 
17090 \family sans
17091 Short Title
17092 \family default
17093  variants in the 
17094 \family sans
17095 Insert
17096 \family default
17097  menu.
17098 \end_layout
17099
17100 \begin_layout Description
17101 TOC/LOF/LOT:
17102  En las clases estándar (y en muchas otras),
17103  los índices general (IG,
17104  TOC),
17105  de figuras (LOF) y de cuadros (LOT) se inician automáticamente en página nueva.
17106  
17107 \family sans
17108 Memoir
17109 \family default
17110  no sigue esta regla.
17111  Si lo quieres,
17112  tienes que insertar a mano el salto de página.
17113 \end_layout
17114
17115 \begin_layout Description
17116 Página
17117 \begin_inset space ~
17118 \end_inset
17119
17120 de
17121 \begin_inset space ~
17122 \end_inset
17123
17124 Título:
17125  Por razones desconocidas,
17126  
17127 \family sans
17128 Memoir
17129 \family default
17130  usa paginación en la página del título (en las clases estándar,
17131  las páginas de título van en estilo 
17132 \begin_inset Quotes cld
17133 \end_inset
17134
17135
17136 \family sans
17137 empty
17138 \family default
17139
17140 \begin_inset Quotes crd
17141 \end_inset
17142
17143 ,
17144  sin número).
17145  Si quieres una página de título en dicho estilo,
17146  pon 
17147 \family typewriter
17148
17149 \backslash
17150 aliaspagestyle{title}{empty}
17151 \family default
17152  en el preámbulo.
17153 \end_layout
17154
17155 \begin_layout Description
17156 Article:
17157  Con la opción de clase 
17158 \emph on
17159 article
17160 \emph default
17161  (que se debe introducir en 
17162 \family sans
17163 Documento\SpecialChar menuseparator
17164 Configuración\SpecialChar menuseparator
17165 Clase
17166 \begin_inset space ~
17167 \end_inset
17168
17169 de
17170 \begin_inset space ~
17171 \end_inset
17172
17173 documento\SpecialChar menuseparator
17174
17175 \lang english
17176 Custom
17177 \begin_inset space ~
17178 \end_inset
17179
17180
17181 \lang spanish
17182 Opciones
17183 \family default
17184 ),
17185  puedes emular algunos comportamientos de estilo de la clase 
17186 \family sans
17187 article
17188 \family default
17189 :
17190  los contadores (de notas al pie,
17191  figuras,
17192  cuadros,
17193  etc.) no se reinician al cambiar de capítulo,
17194  los capítulos nuevos no comienzan en página nueva (aunque,
17195  a diferencia de las clases 
17196 \family sans
17197 article 
17198 \family default
17199
17200 \begin_inset Quotes cld
17201 \end_inset
17202
17203 de verdad
17204 \begin_inset Quotes crd
17205 \end_inset
17206
17207 ,
17208  está permitido);
17209  sin embargo,
17210  las partes sí van en páginas nuevas,
17211  como en las clases 
17212 \family sans
17213 book
17214 \family default
17215 .
17216 \end_layout
17217
17218 \begin_layout Description
17219 Comandos
17220 \begin_inset space ~
17221 \end_inset
17222
17223 de
17224 \begin_inset space ~
17225 \end_inset
17226
17227 tipografía
17228 \begin_inset space ~
17229 \end_inset
17230
17231 antiguos:
17232  por omisión,
17233  
17234 \family sans
17235 Memoir
17236 \family default
17237  no permite el uso de los comandos de tipografía obsoletos que se usaban en la antigua versión de \SpecialChar LaTeX
17238 ,
17239  2.09 (p.
17240 \begin_inset space \thinspace{}
17241 \end_inset
17242
17243 ej.
17244 \family typewriter
17245
17246 \begin_inset space ~
17247 \end_inset
17248
17249
17250 \backslash
17251 rm
17252 \family default
17253 ,
17254 \begin_inset space ~
17255 \end_inset
17256
17257
17258 \family typewriter
17259
17260 \backslash
17261 it
17262 \family default
17263 ).
17264  Si están presentes,
17265  generan errores y detienen el procesamiento de \SpecialChar LaTeX
17266 .
17267  La opción de clase 
17268 \emph on
17269 oldfontcommands
17270 \emph default
17271  readmite el uso de dichos comandos,
17272  (aunque escupe algunas advertencias,
17273  al menos no detiene a \SpecialChar LaTeX
17274 ).
17275  Puesto que algunos paquetes,
17276  en particular Bib\SpecialChar TeX
17277  en sus archivos de estilo,
17278  todavía utilizan estos comandos,
17279  hemos decidido mantener esta opción como predeterminada.
17280 \end_layout
17281
17282 \begin_layout Subsection
17283 Características adicionales
17284 \end_layout
17285
17286 \begin_layout Standard
17287 Solo indicaremos las soportadas por \SpecialChar LyX
17288  (que actualmente no son muchas).
17289  Consulta el manual de 
17290 \family sans
17291 Memoir
17292 \family default
17293  para más detalles.
17294 \begin_inset Foot
17295 status collapsed
17296
17297 \begin_layout Plain Layout
17298 \begin_inset Flex URL
17299 status collapsed
17300
17301 \begin_layout Plain Layout
17302
17303 CTAN:/macros/latex/memoir/memman.pdf
17304 \end_layout
17305
17306 \end_inset
17307
17308 .
17309 \end_layout
17310
17311 \end_inset
17312
17313
17314 \end_layout
17315
17316 \begin_layout Description
17317 Resumen:
17318  Te preguntarás por qué un resumen es un característica suplementaria.
17319  Bien,
17320  lo es en la clase 
17321 \family sans
17322 book
17323 \family default
17324 .
17325  Usualmente los libros no tienen resúmenes.
17326  
17327 \family sans
17328 Memoir
17329 \family default
17330 ,
17331  sin embargo,
17332  sí.
17333  Puedes usarlo donde,
17334  como y cuantas veces quieras.
17335 \end_layout
17336
17337 \begin_layout Description
17338 Capítulo
17339 \begin_inset space ~
17340 \end_inset
17341
17342 conciso:
17343  Quizá conozcas esto de 
17344 \begin_inset Quotes cld
17345 \end_inset
17346
17347 belletristic
17348 \begin_inset Quotes crd
17349 \end_inset
17350
17351
17352 \begin_inset Foot
17353 status collapsed
17354
17355 \begin_layout Plain Layout
17356 Estilo de escritura en que se da más importancia a la bella apariencia que al contenido.
17357
17358 \emph on
17359  (N.
17360  del t.)
17361 \end_layout
17362
17363 \end_inset
17364
17365 :
17366  El contenido de un capítulo es brevemente descrito debajo del título y también en el índice general (p.
17367 \begin_inset space \thinspace{}
17368 \end_inset
17369
17370 ej.
17371 \begin_inset space ~
17372 \end_inset
17373
17374
17375 \emph on
17376 Nuestro héroe llega a Troya;
17377  pierde algunos compañeros;
17378  encuentra a otros
17379 \emph default
17380 ).
17381  Capítulo_Conciso hace precisamente eso.
17382  Por tanto solo tiene sentido bajo un título de un capítulo.
17383 \end_layout
17384
17385 \begin_layout Description
17386 Epígrafe:
17387  Un epígrafe es un texto breve o lema al principio de un capítulo.
17388  El entorno epígrafe lo presenta de manera elegante.
17389  El propio lema (texto) y su autor (origen) se separan con una línea corta.
17390  
17391 \lang english
17392 The author (source) can be inserted via 
17393 \family sans
17394 Insert\SpecialChar menuseparator
17395 Epigraph Source
17396 \family default
17397 \emph on
17398 .
17399 \end_layout
17400
17401 \begin_layout Description
17402 Título
17403 \begin_inset space ~
17404 \end_inset
17405
17406 poema:
17407  
17408 \family sans
17409 Memoir
17410 \family default
17411  ofrece muchas posibilidades para escribir poesía (incluso complejos poemas figurativos).
17412  Lyx solo soporta unas pocas de ellas.
17413  Una es 
17414 \family sans
17415 Título_Poema
17416 \family default
17417 ,
17418  que pone un título centrado para el poema y que también se añade al índice general.
17419  (
17420 \family sans
17421 Verso
17422 \family default
17423  es el entorno estándar para poesía.
17424  
17425 \family sans
17426 Memoir
17427 \family default
17428  dispone de algunas versiones mejoradas de 
17429 \family sans
17430 verse
17431 \family default
17432 ,
17433  pero necesitas usar código \SpecialChar TeX
17434 ,
17435  porque tienen que anidarse en entornos regulares de verso,
17436  lo que no es posible en \SpecialChar LyX
17437 ).
17438 \end_layout
17439
17440 \begin_layout Description
17441 Título
17442 \begin_inset space ~
17443 \end_inset
17444
17445 poema*:
17446  Igual que 
17447 \family sans
17448 Título
17449 \begin_inset space ~
17450 \end_inset
17451
17452 poema
17453 \family default
17454 ,
17455  pero no añade entrada al índice general.
17456 \end_layout
17457
17458 \begin_layout Section
17459 Article (mwart),
17460  book (mwbk) y report (mwrep)
17461 \begin_inset Argument 1
17462 status collapsed
17463
17464 \begin_layout Plain Layout
17465 Las clases 
17466 \family typewriter
17467 mw
17468 \end_layout
17469
17470 \end_inset
17471
17472
17473 \end_layout
17474
17475 \begin_layout Standard
17476 por 
17477 \noun on
17478 Tomasz Luczak
17479 \end_layout
17480
17481 \begin_layout Standard
17482 Las clases de documento 
17483 \family sans
17484 article (mwart)
17485 \emph on
17486 ,
17487  
17488 \emph default
17489 report (mwrep)
17490 \family default
17491  y 
17492 \family sans
17493 book
17494 \emph on
17495  
17496 \emph default
17497 (mwbk)
17498 \family default
17499  de \SpecialChar LyX
17500  corresponden a las clases de documentos \SpecialChar LaTeX
17501  
17502 \family typewriter
17503 mwart.cls
17504 \family default
17505 ,
17506  
17507 \family typewriter
17508 mwrep.cls
17509 \family default
17510  y 
17511 \family typewriter
17512 mwbk.cls
17513 \family default
17514 ,
17515  respectivamente.
17516  Son remodelaciones de las clases estándar de documentos 
17517 \family typewriter
17518 article.cls
17519 \family default
17520 ,
17521  
17522 \family typewriter
17523 report.cls
17524 \family default
17525  y 
17526 \family typewriter
17527 book.cls
17528 \family default
17529 ,
17530  respectivamente,
17531  y se adaptan mejor a las convenciones tipográficas polacas en varios aspectos.
17532  
17533 \end_layout
17534
17535 \begin_layout Standard
17536 Las diferencias fundamentales son:
17537 \end_layout
17538
17539 \begin_layout Itemize
17540 Encabezados no numerados (con asterisco,
17541  p.
17542 \begin_inset space \thinspace{}
17543 \end_inset
17544
17545 ej.
17546  
17547 \family sans
17548 Sección*
17549 \family default
17550 ) en el índice.
17551 \end_layout
17552
17553 \begin_layout Itemize
17554 Estilos de página adicionales:
17555 \end_layout
17556
17557 \begin_deeper
17558 \begin_layout Description
17559 uheadings encabezados en líneas separadas,
17560 \end_layout
17561
17562 \begin_layout Description
17563 myheadings encabezados personalizados con 
17564 \family typewriter
17565
17566 \backslash
17567 markright
17568 \family default
17569  y 
17570 \family typewriter
17571
17572 \backslash
17573 markboth
17574 \family default
17575 ,
17576 \end_layout
17577
17578 \begin_layout Description
17579 myuheadings encabezados personalizados en líneas separadas,
17580 \end_layout
17581
17582 \begin_layout Description
17583 outer el número de página se coloca en el lado exterior de la misma.
17584 \end_layout
17585
17586 \end_deeper
17587 \begin_layout Itemize
17588 Opciones 
17589 \end_layout
17590
17591 \begin_deeper
17592 \begin_layout Description
17593 rmheadings encabezados en serif (predeterminado),
17594 \end_layout
17595
17596 \begin_layout Description
17597 sfheadings encabezados en sans-serif,
17598 \end_layout
17599
17600 \begin_layout Description
17601 authortitle en la página del título se pone primero el autor y luego el título (predeterminado),
17602 \end_layout
17603
17604 \begin_layout Description
17605 titleauthor en la página del título se pone el título,
17606  después el autor,
17607 \end_layout
17608
17609 \begin_layout Description
17610 withmarginpar reservar sitio de la página para los márgenes.
17611 \end_layout
17612
17613 \end_deeper
17614 \begin_layout Section
17615 Paper
17616 \end_layout
17617
17618 \begin_layout Standard
17619 La clase de documento 
17620 \family sans
17621 paper
17622 \family default
17623  provee una alternativa a la clase estándar 
17624 \family sans
17625 article
17626 \family default
17627 .
17628  Tiene una funcionalidad similar,
17629  aunque quizá prefieras este formato con secciones en sans serif,
17630  encabezados,
17631  y más..
17632 \end_layout
17633
17634 \begin_layout Section
17635 Rev\SpecialChar TeX
17636 4
17637 \end_layout
17638
17639 \begin_layout Standard
17640 por 
17641 \noun on
17642 Amir Karger
17643 \end_layout
17644
17645 \begin_layout Standard
17646 \begin_inset VSpace bigskip
17647 \end_inset
17648
17649
17650 \end_layout
17651
17652 \begin_layout Standard
17653 \noindent
17654 La clase de texto 
17655 \family sans
17656 Revtex
17657 \begin_inset space ~
17658 \end_inset
17659
17660
17661 \family default
17662 trabaja con la clase Rev\SpecialChar TeX
17663  4.0 (versión 
17664 \begin_inset Formula $\beta$
17665 \end_inset
17666
17667  de mayo de 1999) de la 
17668 \emph on
17669 American Physical Society
17670 \emph default
17671 .
17672 \end_layout
17673
17674 \begin_layout Standard
17675 \SpecialChar LyX
17676  tiene la clase de texto 
17677 \family sans
17678 Revtex
17679 \family default
17680  que funciona con Rev\SpecialChar TeX
17681  3.1.
17682  Sin embargo,
17683  la versión 3.1 está obsoleta,
17684  porque trabaja con \SpecialChar LaTeX
17685  2.09.
17686  Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
17687 ,
17688  que requiere \SpecialChar LaTeX2e
17689 ,
17690  aunque se haya parcheado.
17691  Puesto que Rev\SpecialChar TeX
17692  4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
17693 ,
17694  \SpecialChar LyX
17695  debería también funcionar mejor con la clase 
17696 \family sans
17697 Rev\SpecialChar TeX
17698
17699 \begin_inset space ~
17700 \end_inset
17701
17702 4
17703 \family default
17704 .
17705 \end_layout
17706
17707 \begin_layout Standard
17708 Esta documentación está pensada para ser usada 
17709 \emph on
17710 además de 
17711 \emph default
17712 la documentación de Rev\SpecialChar TeX
17713
17714 \begin_inset space ~
17715 \end_inset
17716
17717 4.0,
17718  por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
17719 ,
17720  y supondremos que sabes lo que hay que poner en el preámbulo,
17721  si fuera preciso.
17722 \end_layout
17723
17724 \begin_layout Subsection
17725 Instalación
17726 \end_layout
17727
17728 \begin_layout Standard
17729 Debes instalar Rev\SpecialChar TeX
17730
17731 \begin_inset space ~
17732 \end_inset
17733
17734 4 como se describe en el archivo README del paquete.
17735  El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
17736  4:
17737  
17738 \begin_inset Flex URL
17739 status collapsed
17740
17741 \begin_layout Plain Layout
17742
17743 http://publish.aps.org/revtex4/
17744 \end_layout
17745
17746 \end_inset
17747
17748 .
17749  Instálalo donde \SpecialChar LaTeX
17750  pueda encontrarlo.
17751  Compruébalo procesando con \SpecialChar LaTeX
17752  algún corto documento Rev\SpecialChar TeX
17753
17754 \begin_inset space ~
17755 \end_inset
17756
17757 4 en algún directorio casual (es decir,
17758  no en el directorio donde se ha instalado el archivo de clase).
17759  Luego,
17760  si reconfiguras \SpecialChar LyX
17761 ,
17762  este reconocerá el archivo de clase Rev\SpecialChar TeX
17763
17764 \begin_inset space ~
17765 \end_inset
17766
17767 4 y lo podrás utilizar.
17768 \end_layout
17769
17770 \begin_layout Standard
17771 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
17772
17773 \begin_inset space ~
17774 \end_inset
17775
17776 4 usando re\SpecialChar LyX
17777 ,
17778  o partir del modelo de la plantilla de Rev\SpecialChar TeX
17779
17780 \begin_inset space ~
17781 \end_inset
17782
17783
17784 \family sans
17785 4
17786 \family default
17787 ,
17788  disponible en el directorio de plantillas (
17789 \emph on
17790 templates
17791 \emph default
17792 ).
17793 \end_layout
17794
17795 \begin_layout Subsection
17796 Preámbulo
17797 \end_layout
17798
17799 \begin_layout Standard
17800 Los argumentos opcionales a 
17801 \family typewriter
17802
17803 \backslash
17804 documentclass
17805 \family default
17806 ,
17807  como 
17808 \begin_inset Quotes cld
17809 \end_inset
17810
17811 preprint
17812 \begin_inset Quotes crd
17813 \end_inset
17814
17815  y 
17816 \begin_inset Quotes cld
17817 \end_inset
17818
17819 aps
17820 \begin_inset Quotes crd
17821 \end_inset
17822
17823 ,
17824  van en el campo 
17825 \family sans
17826 Opciones
17827 \family default
17828  del diálogo 
17829 \family sans
17830 Documento\SpecialChar menuseparator
17831 Configuración\SpecialChar menuseparator
17832 Clase
17833 \begin_inset space ~
17834 \end_inset
17835
17836 del
17837 \family default
17838
17839 \begin_inset space ~
17840 \end_inset
17841
17842
17843 \family sans
17844 documento
17845 \family default
17846 .
17847  ¡Recuerda que en Rev\SpecialChar TeX
17848 ,
17849  se requiere,
17850  al menos,
17851  un argumento opcional!
17852  
17853 \end_layout
17854
17855 \begin_layout Standard
17856 Otras cosas del preámbulo,
17857  como 
17858 \family typewriter
17859
17860 \backslash
17861 draft
17862 \family default
17863  etc.,
17864  van en el diálogo 
17865 \family sans
17866 Preámbulo
17867 \begin_inset space ~
17868 \end_inset
17869
17870 La
17871 \family default
17872 \SpecialChar TeX
17873
17874 \family sans
17875 ,
17876  
17877 \family default
17878 como de costumbre.
17879 \end_layout
17880
17881 \begin_layout Subsection
17882 Entornos de párrafo
17883 \end_layout
17884
17885 \begin_layout Standard
17886 En Rev\SpecialChar TeX
17887
17888 \begin_inset space ~
17889 \end_inset
17890
17891 4.0,
17892  los entornos de párrafo corresponden básicamente a comandos.
17893  Por ejemplo,
17894  el formato 
17895 \family sans
17896 CorreoE
17897 \family default
17898  corresponde a 
17899 \family typewriter
17900
17901 \backslash
17902 email{}
17903 \family default
17904 .
17905  Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17906  4.0 Beta),
17907  los entornos 
17908 \family sans
17909 Dirección
17910 \family default
17911  y 
17912 \family sans
17913 Afiliación
17914 \family default
17915  son exactamente equivalentes,
17916  por lo que no tendrías que usar ambos.
17917 \begin_inset Foot
17918 status collapsed
17919
17920 \begin_layout Plain Layout
17921 Si tienes curiosidad,
17922  se incluyeron ambos para que 
17923 \family typewriter
17924 tex2\SpecialChar LyX
17925
17926 \family default
17927  puediera traducir ambos,
17928
17929 \family typewriter
17930  
17931 \backslash
17932 address
17933 \family default
17934  y 
17935 \family typewriter
17936
17937 \backslash
17938 affiliation
17939 \family default
17940 .
17941 \end_layout
17942
17943 \end_inset
17944
17945
17946 \end_layout
17947
17948 \begin_layout Subsection
17949 Notas importantes
17950 \end_layout
17951
17952 \begin_layout Standard
17953 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17954  4 que podrían ocasionar fallos que serán incluso más confusos en \SpecialChar LyX
17955 .
17956 \end_layout
17957
17958 \begin_layout Standard
17959 En Rev\SpecialChar TeX
17960 ,
17961  el comando 
17962 \family typewriter
17963
17964 \backslash
17965 thanks
17966 \family default
17967  va 
17968 \emph on
17969 fuera
17970 \emph default
17971  del comando 
17972 \family typewriter
17973
17974 \backslash
17975 author.
17976
17977 \family default
17978  El equivalente en \SpecialChar LyX
17979  es que hay un entorno 
17980 \family sans
17981 Gracias 
17982 \family default
17983 separado.
17984  
17985 \emph on
17986 No
17987 \emph default
17988  escribas notas al pie en el entorno 
17989 \family sans
17990 Autor
17991 \family default
17992 ,
17993  o
17994 \family sans
17995  sucederán cosas raras
17996 \family default
17997 .
17998  Véase la documentación de Rev\SpecialChar TeX
17999  4 para más detalles.
18000 \end_layout
18001
18002 \begin_layout Standard
18003 Además,
18004  los entornos 
18005 \family sans
18006 Autor
18007 \begin_inset space ~
18008 \end_inset
18009
18010 CorreoE
18011 \family default
18012 ,
18013  
18014 \family sans
18015 Autor
18016 \begin_inset space ~
18017 \end_inset
18018
18019 URL
18020 \family default
18021 ,
18022  y 
18023 \family sans
18024 Gracias
18025 \family default
18026  deben situarse 
18027 \emph on
18028 entre
18029 \emph default
18030  el entorno 
18031 \family sans
18032 Autor
18033 \family default
18034  y el entorno correspondiente 
18035 \family sans
18036 Dirección
18037 \family default
18038  (o el equivalente 
18039 \family sans
18040 Afiliación
18041 \family default
18042 ).
18043  Si pones 
18044 \family sans
18045 Gracias
18046 \family default
18047  después de 
18048 \family sans
18049 Dirección
18050 \family default
18051 ,
18052  \SpecialChar LaTeX
18053  no compilará.
18054 \end_layout
18055
18056 \begin_layout Section
18057 Publicaciones de Springer (
18058 \family sans
18059 svjour
18060 \family default
18061 )
18062 \end_layout
18063
18064 \begin_layout Standard
18065 por 
18066 \noun on
18067 Martin Vermeer
18068 \end_layout
18069
18070 \begin_layout Subsection
18071 Descripción
18072 \end_layout
18073
18074 \begin_layout Standard
18075 Estos son los archivos de formato para algunas de las publicaciones editadas por 
18076 \emph on
18077 Springer Verlag
18078 \emph default
18079 ,
18080  las que se recogen en 
18081 \begin_inset Flex URL
18082 status collapsed
18083
18084 \begin_layout Plain Layout
18085
18086 http://www.springer.de/author/tex/help-journals.html
18087 \end_layout
18088
18089 \end_inset
18090
18091 ,
18092  donde debes acudir para conseguir los archivos de la clase (¡sí,
18093  ahora son \SpecialChar LaTeX2e
18094 !).
18095  Es un sistema modular:
18096  las características comunes a todas las publicaciones se implementan en 
18097 \family typewriter
18098 svjour.inc
18099 \family default
18100 ,
18101  y los archivos de formato específicos (tales como,
18102  p.
18103 \begin_inset space \thinspace{}
18104 \end_inset
18105
18106 ej.,
18107  
18108 \family typewriter
18109 svjog.layout
18110 \family default
18111  para 
18112 \emph on
18113 Journal of Geodesy
18114 \emph default
18115 ) pueden incluirlo.
18116 \end_layout
18117
18118 \begin_layout Standard
18119 Esto significa que implementar soporte para cualquier otra publicación de 
18120 \emph on
18121 Springer 
18122 \emph default
18123 incluida en esa lista es tan sencillo como escribir tu propio archivo 
18124 \family typewriter
18125 sv
18126 \family default
18127 <la_publicación>
18128 \family typewriter
18129 .layout
18130 \family default
18131  siguiendo las pautas dadas en 
18132 \family typewriter
18133 svjog.layout
18134 \family default
18135 .
18136  
18137 \end_layout
18138
18139 \begin_layout Standard
18140 Está razonablemente bien probado solo en el caso de 
18141 \emph on
18142 Journal of Geodesy
18143 \emph default
18144 .
18145  
18146 \family typewriter
18147 svjour
18148 \family default
18149  y 
18150 \family typewriter
18151 svjog
18152 \family default
18153  vienen con la distribución estándar de \SpecialChar LyX
18154 .
18155  Instala el archivo de clase correspondiente (descargado del sitio de 
18156 \emph on
18157 Springer
18158 \emph default
18159 ) en un directorio adecuado,
18160  reconfigura \SpecialChar LaTeX
18161  —
18162 en el caso de te\SpecialChar TeX
18163  ejecutando 
18164 \family typewriter
18165 texhash
18166 \family default
18167 ,
18168  como root si es necesario.
18169  (¿\SpecialChar LyX
18170  no se ocupa de esto?)—
18171 ;
18172  reconfigura \SpecialChar LyX
18173  y ya debería funcionar.
18174 \end_layout
18175
18176 \begin_layout Subsection
18177 Estilos nuevos
18178 \end_layout
18179
18180 \begin_layout Standard
18181 Un gran número de estilos tipo teorema –
18182 \family sans
18183 Afirmación,
18184  Conjetura,
18185
18186 \family default
18187  
18188 \family sans
18189 \SpecialChar ldots
18190 Teorem
18191 \family default
18192 a–.
18193 \end_layout
18194
18195 \begin_layout Standard
18196
18197 \family sans
18198 Nota_Encabezado,
18199  Dedicatoria,
18200  Subtítulo,
18201  Título_\SpecialChar LaTeX
18202 _Puesto,
18203  Autor_Puesto,
18204  Instituto,
18205  Correo,
18206  Separatas,
18207  Palabras_clave,
18208  Agradecimientos
18209 \family default
18210 .
18211  Véase la documentación de la clase Springer para más detalles.
18212 \end_layout
18213
18214 \begin_layout Subsection
18215 Publicaciones soportadas
18216 \end_layout
18217
18218 \begin_layout Itemize
18219
18220 \emph on
18221 Journal of Geodesy
18222 \emph default
18223 :
18224  
18225 \family typewriter
18226 svjog.layout
18227 \family default
18228  —
18229  Martin Vermeer
18230 \end_layout
18231
18232 \begin_layout Itemize
18233
18234 \emph on
18235 Probability Theory and Related Fields
18236 \emph default
18237 :
18238  
18239 \family typewriter
18240 svprobth.layout
18241 \family default
18242  —
18243  Jean-Marc Lasgouttes
18244 \end_layout
18245
18246 \begin_layout Standard
18247 ¡Añade el tuyo,
18248  no es tan duro!
18249 \end_layout
18250
18251 \begin_layout Subsection
18252 CréditosCarpeta sin título
18253 \end_layout
18254
18255 \begin_layout Standard
18256 Estos archivos están basados parcialmente en el antiguo 
18257 \family typewriter
18258 ejour2.layout
18259 \family default
18260 ,
18261  basado a su vez en una versión modificada de un antiguo archivo de estilo de \SpecialChar LaTeX
18262  2.09 de 
18263 \emph on
18264 Springer
18265 \emph default
18266 .
18267  Todo esto,
18268  y el archivo 
18269 \family typewriter
18270 ejour2
18271 \family default
18272  layout,
18273  están obsoletos.
18274  Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para el archivo de formato de \SpecialChar LyX
18275 .
18276 \end_layout
18277
18278 \begin_layout Subsection
18279 Fallos
18280 \end_layout
18281
18282 \begin_layout Standard
18283 Probablemente.
18284  Pero probablemente menos que en el antiguo 
18285 \family typewriter
18286 ejour2
18287 \family default
18288  de \SpecialChar LaTeX
18289  modificado.
18290 \end_layout
18291
18292 \begin_layout Section
18293 Slides (antes 
18294 \noun on
18295 Sli
18296 \noun default
18297 \SpecialChar TeX
18298 )
18299 \begin_inset CommandInset label
18300 LatexCommand label
18301 name "sec:slitex"
18302
18303 \end_inset
18304
18305
18306 \end_layout
18307
18308 \begin_layout Standard
18309 por 
18310 \noun on
18311 John Weiss
18312 \noun default
18313  
18314 \end_layout
18315
18316 \begin_layout Subsection
18317 Introducción
18318 \end_layout
18319
18320 \begin_layout Standard
18321 Esta sección describe cómo usar \SpecialChar LyX
18322  para hacer transparencias para proyectores.
18323  Hay dos clases de documento que pueden hacer esto:
18324  la clase predeterminada 
18325 \family sans
18326 slides
18327 \family default
18328  y la clase 
18329 \family sans
18330 Foil
18331 \family default
18332 \SpecialChar TeX
18333 .
18334  Esta sección se ocupa de la primera de ellas.
18335 \end_layout
18336
18337 \begin_layout Standard
18338 Lo voy a repetir alto y claro,
18339  para que no haya equívocos:
18340 \end_layout
18341
18342 \begin_layout Standard
18343 \begin_inset VSpace medskip
18344 \end_inset
18345
18346
18347 \end_layout
18348
18349 \begin_layout Standard
18350 \align center
18351
18352 \size large
18353 En esta sección se explica 
18354 \emph on
18355 solo
18356 \emph default
18357
18358 \begin_inset space ~
18359 \end_inset
18360
18361 la clase 
18362 \family sans
18363 slides (predeterminada)
18364 \family default
18365 \emph on
18366 .
18367 \end_layout
18368
18369 \begin_layout Standard
18370 \begin_inset VSpace medskip
18371 \end_inset
18372
18373
18374 \end_layout
18375
18376 \begin_layout Standard
18377 Si buscas la documentación para 
18378 \begin_inset Quotes cld
18379 \end_inset
18380
18381
18382 \family sans
18383 slides (Foil\SpecialChar TeX
18384 )
18385 \family default
18386
18387 \begin_inset Quotes crd
18388 \end_inset
18389
18390 ,
18391  mira en la sección
18392 \begin_inset space ~
18393 \end_inset
18394
18395
18396 \begin_inset CommandInset ref
18397 LatexCommand ref
18398 reference "sec:foiltex"
18399 nolink "false"
18400
18401 \end_inset
18402
18403 .
18404  La clase 
18405 \family sans
18406 foils
18407 \family default
18408  (
18409 \begin_inset Quotes cld
18410 \end_inset
18411
18412
18413 \family sans
18414 slides (Foil\SpecialChar TeX
18415 )
18416 \family default
18417
18418 \begin_inset Quotes crd
18419 \end_inset
18420
18421 ) es realmente un poco mejor que la clase predeterminada 
18422 \family sans
18423 slides
18424 \family default
18425 ,
18426 \begin_inset Foot
18427 status collapsed
18428
18429 \begin_layout Plain Layout
18430 \SpecialChar ldots
18431 o eso se dice repetidamente por sus defensores.
18432  Puesto que no la he usado nunca,
18433  no tengo ni idea si es cierto o no.
18434 \end_layout
18435
18436 \end_inset
18437
18438  que se explica en esta sección.
18439 \end_layout
18440
18441 \begin_layout Standard
18442 Esta clase es una mejora del antiguo paquete 
18443 \noun on
18444 Sli
18445 \noun default
18446 \SpecialChar TeX
18447  de \SpecialChar LaTeX2e
18448 .
18449  Toda distribución de \SpecialChar LaTeX2e
18450  la incluye (nos referiremos desde ahora a 
18451 \begin_inset Quotes cld
18452 \end_inset
18453
18454
18455 \family sans
18456 slides
18457 \family default
18458
18459 \begin_inset Quotes crd
18460 \end_inset
18461
18462 ),
18463  así que lo tendrás.
18464  Como anoté antes,
18465  hay otras clases,
18466  como 
18467 \family sans
18468 foils
18469 \family default
18470 ,
18471  que también produce transparencias y hace mejor su tarea.
18472  Sin embargo,
18473  hay ciertas cosas que 
18474 \family sans
18475 slides
18476 \family default
18477  puede hacer que los otros no pueden,
18478  como capas superpuestas.
18479  ¡Sigue leyendo para saber más!
18480 \end_layout
18481
18482 \begin_layout Subsection
18483 Para empezar
18484 \begin_inset CommandInset label
18485 LatexCommand label
18486 name "sec:slidesetup"
18487
18488 \end_inset
18489
18490
18491 \end_layout
18492
18493 \begin_layout Standard
18494 Obviamente,
18495  para usar esta clase debes escoger 
18496 \begin_inset Quotes cld
18497 \end_inset
18498
18499
18500 \family sans
18501 slides (default)
18502 \family default
18503
18504 \begin_inset Quotes crd
18505 \end_inset
18506
18507  en el diálogo 
18508 \family sans
18509 Documento\SpecialChar menuseparator
18510 Configuración
18511 \family default
18512 .
18513  Algunas cosas que debes saber sobre esta clase:
18514 \end_layout
18515
18516 \begin_layout Itemize
18517 No enredes con cambios en las opciones 
18518 \family sans
18519 Caras 
18520 \family default
18521 y
18522 \family sans
18523  Columnas
18524 \family default
18525 .
18526  No es soportado por 
18527 \family sans
18528 slides
18529 \family default
18530 .
18531 \end_layout
18532
18533 \begin_layout Itemize
18534 La opción 
18535 \family sans
18536 Diseño
18537 \begin_inset space ~
18538 \end_inset
18539
18540 de
18541 \begin_inset space ~
18542 \end_inset
18543
18544 página
18545 \family default
18546  se porta un poco distinto para esta clase.
18547  Las opciones disponibles y su efecto son:
18548 \end_layout
18549
18550 \begin_deeper
18551 \begin_layout Description
18552
18553 \family sans
18554 plain
18555 \family default
18556  La salida tiene números de página en la esquina inferior derecha.
18557 \end_layout
18558
18559 \begin_layout Description
18560
18561 \family sans
18562 headings
18563 \family default
18564  Como 
18565 \family sans
18566 plain
18567 \family default
18568 ,
18569  pero además imprime los marcadores de tiempo que hayas puesto.
18570  Esta es la opción por omisión.
18571 \end_layout
18572
18573 \begin_layout Description
18574
18575 \family sans
18576 empty
18577 \family default
18578  La salida no imprime ni números de pàgina ni marcadores,
18579  nada.
18580 \end_layout
18581
18582 \end_deeper
18583 \begin_layout Itemize
18584 La clase 
18585 \family sans
18586 slides
18587 \family default
18588  tiene una opción extra:
18589  
18590 \family typewriter
18591 clock
18592 \family default
18593 .
18594  Para usarla,
18595  pon 
18596 \begin_inset Quotes cld
18597 \end_inset
18598
18599
18600 \family typewriter
18601 clock
18602 \family default
18603
18604 \begin_inset Quotes crd
18605 \end_inset
18606
18607  en las opciones de la configuración de clase.
18608 \end_layout
18609
18610 \begin_deeper
18611 \begin_layout Standard
18612 Usar estas opciones te permite añadir marcadores de tiempo a las 
18613 \family sans
18614 Nota
18615 \family default
18616 s.
18617 \end_layout
18618
18619 \end_deeper
18620 \begin_layout Standard
18621 También puedes utilizar la plantilla 
18622 \begin_inset Quotes cld
18623 \end_inset
18624
18625
18626 \family typewriter
18627 slides.lyx
18628 \family default
18629
18630 \begin_inset Quotes crd
18631 \end_inset
18632
18633  para preparar un nuevo documento de esta clase,
18634  con 
18635 \family sans
18636 Archivo\SpecialChar menuseparator
18637 Nuevo
18638 \begin_inset space ~
18639 \end_inset
18640
18641 desde
18642 \begin_inset space ~
18643 \end_inset
18644
18645 plantilla
18646 \family default
18647 .
18648  La plantilla contiene algunos ejemplos de entornos de párrafo especiales de esta clase.
18649  Se describirán a continuación.
18650 \end_layout
18651
18652 \begin_layout Subsection
18653 Entornos de párrafo
18654 \end_layout
18655
18656 \begin_layout Subsubsection
18657 Entornos soportados
18658 \end_layout
18659
18660 \begin_layout Standard
18661 La primera cosa que observarás cuando inicies un documento 
18662 \family sans
18663 slides
18664 \family default
18665  es el tipo y tamaño de tipografía:
18666  
18667 \family sans
18668 Sans
18669 \begin_inset space ~
18670 \end_inset
18671
18672 Serif
18673 \family default
18674  de tamaño 
18675 \family sans
18676 Grandísima
18677 \family default
18678 .
18679  Es también la tipografía que se utiliza en la salida.
18680  Interpreta esto como un 
18681 \begin_inset Quotes cld
18682 \end_inset
18683
18684 apunte visual
18685 \begin_inset Quotes crd
18686 \end_inset
18687
18688  que te recuerda que es una transparencia.
18689  En realidad las transparencias finales pueden usar una tipografía más grande,
18690  por tanto dispondrás de menos espacio.
18691  Es decir,
18692  la tipografía grande en pantalla no es WYSIWYG,
18693  es solo un recordatorio.
18694 \end_layout
18695
18696 \begin_layout Standard
18697 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).
18698  La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
18699  Y hay cinco nuevos.
18700  Esto se debe a que la clase 
18701 \family sans
18702 slides
18703 \family default
18704  por sí misma solo soporta un cierto número de entornos de párrafo:
18705 \end_layout
18706
18707 \begin_layout Itemize
18708
18709 \family sans
18710 Normal
18711 \end_layout
18712
18713 \begin_layout Itemize
18714
18715 \family sans
18716 Enumeración*
18717 \end_layout
18718
18719 \begin_layout Itemize
18720
18721 \family sans
18722 Enumeración
18723 \end_layout
18724
18725 \begin_layout Itemize
18726
18727 \family sans
18728 Descripción
18729 \end_layout
18730
18731 \begin_layout Itemize
18732
18733 \family sans
18734 Lista
18735 \end_layout
18736
18737 \begin_layout Itemize
18738
18739 \family sans
18740 Cita
18741 \end_layout
18742
18743 \begin_layout Itemize
18744
18745 \family sans
18746 Citar
18747 \end_layout
18748
18749 \begin_layout Itemize
18750
18751 \family sans
18752 Verso
18753 \end_layout
18754
18755 \begin_layout Itemize
18756
18757 \family sans
18758 Encabezado
18759 \end_layout
18760
18761 \begin_layout Itemize
18762
18763 \family sans
18764 Código-\SpecialChar LyX
18765
18766 \end_layout
18767
18768 \begin_layout Standard
18769 Todos los demás entornos estándar,
18770  incluyendo los de cabeceras de sección,
18771  no funcionan en la clase 
18772 \family sans
18773 slides
18774 \family default
18775 .
18776 \end_layout
18777
18778 \begin_layout Standard
18779 Por otra parte,
18780  verás los siguientes nuevos entornos:
18781 \end_layout
18782
18783 \begin_layout Itemize
18784
18785 \family sans
18786 Transparencia
18787 \end_layout
18788
18789 \begin_layout Itemize
18790
18791 \family sans
18792 Superpuesto
18793 \end_layout
18794
18795 \begin_layout Itemize
18796
18797 \family sans
18798 Nota
18799 \end_layout
18800
18801 \begin_layout Itemize
18802
18803 \family sans
18804 TextoInvisible
18805 \end_layout
18806
18807 \begin_layout Itemize
18808
18809 \family sans
18810 TextoVisible
18811 \end_layout
18812
18813 \begin_layout Standard
18814 Estos cinco tienen ciertas peculiaridades debido a una 
18815 \begin_inset Quotes cld
18816 \end_inset
18817
18818 característica
18819 \begin_inset Quotes crd
18820 \end_inset
18821
18822  de \SpecialChar LyX
18823 .
18824  Verás,
18825  \SpecialChar LyX
18826  no permite anidar ningún entorno de párrafo en un entorno vacío.
18827  Bien,
18828  esto es fino y elegante,
18829  pero significa que no podrás comenzar una transparencia con nada que no sea texto simple.
18830  Para evitar esto,
18831  he hecho un poco de 
18832 \begin_inset Quotes cld
18833 \end_inset
18834
18835 magia \SpecialChar LaTeX
18836
18837 \begin_inset Quotes crd
18838 \end_inset
18839
18840 .
18841 \end_layout
18842
18843 \begin_layout Subsubsection
18844 Peculiaridades de los nuevos entornos
18845 \begin_inset CommandInset label
18846 LatexCommand label
18847 name "sec:slide-Peculiaridades"
18848
18849 \end_inset
18850
18851
18852 \end_layout
18853
18854 \begin_layout Standard
18855 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherentes a \SpecialChar LyX
18856 .
18857  Como he dicho,
18858  \SpecialChar LyX
18859  prohibe los entornos que comienzan con otro entorno.
18860  Para obviar esto,
18861  el entorno 
18862 \family sans
18863 Transparencia
18864 \family default
18865  no se comporta como los entornos de párrafo típicos descritos en la 
18866 \emph on
18867 Guía del usuario
18868 \emph default
18869 .
18870  
18871 \end_layout
18872
18873 \begin_layout Standard
18874 Los entornos 
18875 \family sans
18876 Transparencia,
18877
18878 \family default
18879  
18880 \family sans
18881 Superpuesto
18882 \family default
18883  y 
18884 \family sans
18885 Nota
18886 \family default
18887  deberían considerarse 
18888 \begin_inset Quotes cld
18889 \end_inset
18890
18891 pseudo-entornos
18892 \begin_inset Quotes crd
18893 \end_inset
18894
18895 .
18896  Tienen el aspecto de una cabecera de sección o de un 
18897 \begin_inset Quotes cld
18898 \end_inset
18899
18900
18901 \family sans
18902 Encabezado
18903 \family default
18904
18905 \begin_inset Quotes crd
18906 \end_inset
18907
18908 ,
18909  pero realmente comienzan (y si es necesario finalizan el anterior) un entorno de párrafo.
18910  De igual manera,
18911  considera 
18912 \family sans
18913 TextoInvisible
18914 \family default
18915  y 
18916 \family sans
18917 TextoVisible
18918 \family default
18919  como 
18920 \begin_inset Quotes cld
18921 \end_inset
18922
18923 pseudo-comandos
18924 \begin_inset Quotes crd
18925 \end_inset
18926
18927 .
18928  Estos dos realizan acciones.
18929 \end_layout
18930
18931 \begin_layout Standard
18932 Una característica común a los cinco entornos,
18933  
18934 \family sans
18935 Transparencia
18936 \family default
18937 ,
18938  
18939 \family sans
18940 Superpuesto
18941 \family default
18942 ,
18943  
18944 \family sans
18945 Nota
18946 \family default
18947 ,
18948  
18949 \family sans
18950 TextoInvisible
18951 \family default
18952  y 
18953 \family sans
18954 TextoVisible
18955 \family default
18956 ,
18957  es una etiqueta más bien larga.
18958  El texto que sigue a la etiqueta —
18959 generalmente los contenidos del entorno de párrafo—
18960  no es tenido en cuenta.
18961  \SpecialChar LyX
18962  lo ignora completamente.
18963  De hecho,
18964  puedes dejar estos cinco entornos totalmente vacíos.
18965  
18966 \end_layout
18967
18968 \begin_layout Standard
18969 Aunque no
18970 \emph on
18971  tengas 
18972 \emph default
18973 que poner texto tras la etiqueta,
18974  puedes hacerlo.
18975  Podría ser,
18976  por ejemplo,
18977  una breve descripción del contenido de la 
18978 \family sans
18979 Transparencia
18980 \family default
18981 .
18982  En ese caso,
18983  introduce tu texto y pulsa 
18984 \family sans
18985 Intro
18986 \family default
18987  como harías normalmente.
18988 \end_layout
18989
18990 \begin_layout Standard
18991 Si,
18992  por otra parte,
18993  no deseas introducir ningún texto descriptivo,
18994  puedes utilizar otra peculiaridad de \SpecialChar LyX
18995 .
18996  \SpecialChar LyX
18997 ,
18998  como la naturaleza,
18999  siente horror al vacío,
19000  y no te permitirá iniciar un nuevo entorno de párrafo hasta que pongas algo en el anterior.
19001  En ese caso puedes hacer esto:
19002 \end_layout
19003
19004 \begin_layout Itemize
19005 Comienza introduciendo el texto que 
19006 \emph on
19007 seguirá 
19008 \emph default
19009 al nuevo párrafo 
19010 \family sans
19011 Transparencia
19012 \family default
19013 ,
19014  
19015 \family sans
19016 Superpuesto
19017 \family default
19018 ,
19019  
19020 \family sans
19021 Nota
19022 \family default
19023 ,
19024  
19025 \family sans
19026 TextoInvisible
19027 \family default
19028  o 
19029 \family sans
19030 TextoVisible
19031 \family default
19032 .
19033  
19034 \end_layout
19035
19036 \begin_layout Itemize
19037 Sitúate ahora en el principio de ese párrafo.
19038  
19039 \end_layout
19040
19041 \begin_layout Itemize
19042 Pulsa 
19043 \family sans
19044 Retorno
19045 \family default
19046 .
19047  
19048 \end_layout
19049
19050 \begin_layout Itemize
19051 Por último,
19052  cambia este nuevo párrafo vacío a 
19053 \family sans
19054 Transparencia
19055 \family default
19056 ,
19057  
19058 \family sans
19059 Superpuesto
19060 \family default
19061 ,
19062  
19063 \family sans
19064 Nota
19065 \family default
19066 ,
19067  
19068 \family sans
19069 TextoInvisible
19070 \family default
19071  o 
19072 \family sans
19073 TextoVisible
19074 \family default
19075 .
19076 \end_layout
19077
19078 \begin_layout Standard
19079 Confiemos en que alguna futura versión de \SpecialChar LyX
19080  resuelva esta peculiaridad\SpecialChar ldots
19081
19082 \end_layout
19083
19084 \begin_layout Subsection
19085 Hacer una presentación con 
19086 \family sans
19087 Diapositiva
19088 \family default
19089 ,
19090  
19091 \family sans
19092 Superpuesto
19093 \family default
19094  y 
19095 \family sans
19096 Nota
19097 \end_layout
19098
19099 \begin_layout Subsubsection
19100 Utilizar el entorno 
19101 \family sans
19102 Diapositiva
19103 \end_layout
19104
19105 \begin_layout Standard
19106 Si esperas que esta sección te enseñe a realizar una presentación,
19107  te vas a decepcionar.
19108  Naturalmente,
19109  describiré todas las formas en que la clase 
19110 \family sans
19111 slides
19112 \family default
19113  te ayudará a preparar una presentación.
19114  Completar el contenido es tarea tuya.
19115  (Esta es,
19116  también,
19117  la filosofía de \SpecialChar LyX
19118 ).
19119  
19120 \end_layout
19121
19122 \begin_layout Standard
19123 Al escoger el entorno 
19124 \family sans
19125 Diapositiva
19126 \family default
19127  (como se indica en la sección
19128 \begin_inset space ~
19129 \end_inset
19130
19131
19132 \begin_inset CommandInset ref
19133 LatexCommand ref
19134 reference "sec:slide-Peculiaridades"
19135 nolink "false"
19136
19137 \end_inset
19138
19139 ) \SpecialChar LyX
19140  comienza una nueva.
19141  El marcador para este entorno/
19142 \begin_inset Quotes cld
19143 \end_inset
19144
19145 pseudo-comando
19146 \begin_inset Quotes crd
19147 \end_inset
19148
19149  es una 
19150 \begin_inset Quotes cld
19151 \end_inset
19152
19153 línea ASCII
19154 \begin_inset Quotes crd
19155 \end_inset
19156
19157  en azul con la etiqueta 
19158 \begin_inset Quotes cld
19159 \end_inset
19160
19161 Nueva Diap.:
19162 \begin_inset Quotes crd
19163 \end_inset
19164
19165 .
19166 \end_layout
19167
19168 \begin_layout Standard
19169 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
19170  Es simple.
19171 \end_layout
19172
19173 \begin_layout Standard
19174 Probablemente,
19175  en las diapositivas necesitarás forzar saltos de página en \SpecialChar LyX
19176  (puede especificarse en el diálogo 
19177 \family sans
19178 Insertar\SpecialChar menuseparator
19179 Formato
19180 \family default
19181 ).
19182  De hecho,
19183  tendrás que hacerlo una vez acabes el contenido de una transparencia.
19184  Si has introducido más texto del que cabe en una transparencia,
19185  el sobrante irá a una nueva.
19186  Sin embargo no lo recomiendo,
19187  puesto que la diapositiva con el texto excedente no tendrá número de página.
19188  Además,
19189  puede interferir con algún 
19190 \family sans
19191 Superpuesto
19192 \family default
19193  que hayas incluido en la transparencia sobredimensionada.
19194 \end_layout
19195
19196 \begin_layout Standard
19197 Los entornos 
19198 \family sans
19199 Superpuesto
19200 \family default
19201  y 
19202 \family sans
19203 Nota
19204 \family default
19205  funcionan como el entorno 
19206 \family sans
19207 Diapositiva
19208 \family default
19209 .
19210  Ambos crean una 
19211 \begin_inset Quotes cld
19212 \end_inset
19213
19214 línea ASCII
19215 \begin_inset Quotes crd
19216 \end_inset
19217
19218  con los marcadores 
19219 \begin_inset Quotes cld
19220 \end_inset
19221
19222 Nuevo Superpuesto:
19223 \begin_inset Quotes crd
19224 \end_inset
19225
19226  y 
19227 \begin_inset Quotes cld
19228 \end_inset
19229
19230 Nueva Nota:
19231 \begin_inset Quotes crd
19232 \end_inset
19233
19234 ,
19235  respectivamente.
19236  
19237 \family sans
19238 El
19239 \family default
19240  color es magenta en vez de azul,
19241  y la 
19242 \begin_inset Quotes cld
19243 \end_inset
19244
19245 línea ASCII
19246 \begin_inset Quotes crd
19247 \end_inset
19248
19249  tiene un aspecto diferente en estilo y longitud.
19250  La tipografía de las etiquetas de las tres también es diferente en cada una de ellas.
19251 \end_layout
19252
19253 \begin_layout Standard
19254 Igual que para 
19255 \family sans
19256 Diapositiva
19257 \family default
19258 ,
19259  si los contenidos de una 
19260 \family sans
19261 Nota
19262 \family default
19263  o 
19264 \family sans
19265 Superpuesto
19266 \family default
19267  exceden el espacio físico de la diapositiva o del papel,
19268  el texto sobrante ocupa una nueva hoja.
19269  De nuevo lo desaconsejamos porque las 
19270 \family sans
19271 Nota
19272 \family default
19273 s y 
19274 \family sans
19275 Superpuesto
19276 \family default
19277 s carecerían de utilidad.
19278 \end_layout
19279
19280 \begin_layout Subsubsection
19281 Usar 
19282 \family sans
19283 Superpuesto
19284 \family default
19285  con 
19286 \family sans
19287 Diapositiva
19288 \end_layout
19289
19290 \begin_layout Standard
19291 La idea de un 
19292 \family sans
19293 Superpuesto 
19294 \family default
19295 es una transparencia que se superpone a otra.
19296  Supón que quieres presentar una figura en una diapositiva antes que el texto que la acompaña.
19297  Una forma de conseguirlo es ocultar con papel negro la parte que quieres que se muestre más tarde.
19298  Sin embargo,
19299  este método no sirve si quieres superponer un gráfico a otro,
19300  por ejemplo.
19301  Entonces tendrías que trastear con las transparencias,
19302  mientras sigues hablando,
19303  para superponerlas de manera que los gráficos queden correctamente alineados.
19304  Con el entorno 
19305 \family sans
19306 Superpuesto
19307 \family default
19308 ,
19309  ambas cosas son mucho más sencillas.
19310 \end_layout
19311
19312 \begin_layout Standard
19313 Cada 
19314 \family sans
19315 Superpuesto 
19316 \family default
19317 tiene el mismo número de página que la 
19318 \family sans
19319 Diapositiva
19320 \family default
19321  
19322 \begin_inset Quotes cld
19323 \end_inset
19324
19325 madre
19326 \begin_inset Quotes crd
19327 \end_inset
19328
19329 ,
19330  seguido de 
19331 \begin_inset Quotes cld
19332 \end_inset
19333
19334 -a
19335 \begin_inset Quotes crd
19336 \end_inset
19337
19338 .
19339 \begin_inset Foot
19340 status collapsed
19341
19342 \begin_layout Plain Layout
19343 Presumiblemente,
19344  múltiples 
19345 \family sans
19346 Superpuesto
19347 \family default
19348 s deberían tener 
19349 \begin_inset Quotes cld
19350 \end_inset
19351
19352
19353 \family typewriter
19354 -a
19355 \family default
19356
19357 \begin_inset Quotes crd
19358 \end_inset
19359
19360 ,
19361  
19362 \begin_inset Quotes cld
19363 \end_inset
19364
19365
19366 \family typewriter
19367 -b
19368 \family default
19369
19370 \begin_inset Quotes crd
19371 \end_inset
19372
19373 ,
19374  
19375 \begin_inset Quotes cld
19376 \end_inset
19377
19378
19379 \family typewriter
19380 -c
19381 \family default
19382
19383 \begin_inset Quotes crd
19384 \end_inset
19385
19386 ,
19387  etc.
19388 \begin_inset space ~
19389 \end_inset
19390
19391 tras el número de página de la 
19392 \family sans
19393 Diapositiva
19394 \family default
19395  
19396 \begin_inset Quotes cld
19397 \end_inset
19398
19399 madre
19400 \begin_inset Quotes crd
19401 \end_inset
19402
19403 .
19404  
19405 \end_layout
19406
19407 \end_inset
19408
19409  ¡Efectivamente,
19410  quieres que la Diapositiva
19411 \family sans
19412  
19413 \family default
19414 y el 
19415 \family sans
19416 Superpuesto
19417 \family default
19418  cuenten como si fueran una sola página!
19419  Probablemente deberías considerar un 
19420 \family sans
19421 Superpuesto
19422 \family default
19423  
19424 \begin_inset Quotes cld
19425 \end_inset
19426
19427 parte de
19428 \begin_inset Quotes crd
19429 \end_inset
19430
19431  una 
19432 \family sans
19433 Diapositiva
19434 \family default
19435 .
19436  De hecho,
19437  la clase 
19438 \family sans
19439 slides
19440 \family default
19441  lo hace visible
19442 \family sans
19443  
19444 \family default
19445 en \SpecialChar LyX
19446 :
19447  la etiqueta al principio de un 
19448 \family sans
19449 Superpuesto
19450 \family default
19451  es más corta que la de comienzo de una 
19452 \family sans
19453 Diapositiva
19454 \family default
19455 .
19456  Por último,
19457  al generar salida impresa,
19458  verás marcas de alineación en las cuatro esquinas de las páginas de la 
19459 \family sans
19460 Diapositiva
19461 \family default
19462  y del 
19463 \family sans
19464 Superpuesto.
19465  
19466 \family default
19467 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
19468 \end_layout
19469
19470 \begin_layout Standard
19471 El mayor problema para superponer dos transparencias es alinear sus contenidos.
19472  ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
19473  Peor aún,
19474  ¿qué pasa si quieres un gráfico y una frase en la segunda transparencia,
19475  pero en la primera hay texto que debe aparecer entre ellos?
19476  Podrías probar a insertar un espacio vertical adecuado,
19477  pero el mejor método es utilizar 
19478 \family sans
19479 TextoInvisible
19480 \family default
19481  y 
19482 \family sans
19483 TextoVisible
19484 \family default
19485 .
19486 \end_layout
19487
19488 \begin_layout Standard
19489 Como su nombre indica,
19490  
19491 \family sans
19492 TextoInvisible
19493 \family default
19494  y 
19495 \family sans
19496 TextoVisible
19497 \family default
19498  son entornos de párrafo que hacen invisible o visible,
19499  respectivamente,
19500  todo el texto siguiente.
19501  Sin embargo,
19502  ten en cuenta que no colocas nada 
19503 \emph on
19504 dentro 
19505 \emph default
19506 de estos entornos,
19507  recuerda la sección
19508 \begin_inset space ~
19509 \end_inset
19510
19511
19512 \begin_inset CommandInset ref
19513 LatexCommand ref
19514 reference "sec:slide-Peculiaridades"
19515 nolink "false"
19516
19517 \end_inset
19518
19519 .
19520  Cuando creas un 
19521 \family sans
19522 TextoInvisible
19523 \family default
19524 ,
19525  se inserta una etiqueta en azul-cielo,
19526  centrada en la página con la leyenda <Invisible Text Follows>.
19527  Los párrafos que siguen a esta etiqueta en la 
19528 \family sans
19529 Diapositiva
19530 \family default
19531  o el 
19532 \family sans
19533 Superpuesto
19534 \family default
19535  (da lo mismo) se sustituyen por el espacio en blanco equivalente.
19536 \end_layout
19537
19538 \begin_layout Standard
19539 Para 
19540 \family sans
19541 TextoVisible
19542 \family default
19543 ,
19544  la etiqueta tiene la leyenda <Visible Text Follows>
19545 \begin_inset space ~
19546 \end_inset
19547
19548  en color verde.
19549  Los párrafos que la siguen se comportan normalmente.
19550  Ten en cuenta que el inicio de 
19551 \family sans
19552 Diapositiva
19553 \family default
19554 ,
19555  
19556 \family sans
19557 Superpuesto
19558 \family default
19559 ,
19560  o 
19561 \family sans
19562 Nota
19563 \family default
19564  desactiva automáticamente la función 
19565 \family sans
19566 TextoInvisible
19567 \family default
19568 .
19569  No es necesario utilizar 
19570 \family sans
19571 TextoVisible
19572 \family default
19573  al final de una 
19574 \family sans
19575 Diapositiva
19576 \family default
19577 .
19578 \end_layout
19579
19580 \begin_layout Standard
19581 Ya deberíamos estar listos para crear transparencias superpuestas con la adecuada combinación de 
19582 \family sans
19583 TextoInvisible
19584 \family default
19585  y 
19586 \family sans
19587 TextoVisible
19588 \family default
19589  en los entornos 
19590 \family sans
19591 Diapositiva
19592 \family default
19593  y 
19594 \family sans
19595 Superpuesto
19596 \family default
19597 :
19598 \end_layout
19599
19600 \begin_layout Enumerate
19601 Crea una 
19602 \family sans
19603 Diapositiva
19604 \family default
19605 ,
19606  incluyendo todo lo que debe aparecer en ella y en los 
19607 \family sans
19608 Superpuesto
19609 \family default
19610 s.
19611 \end_layout
19612
19613 \begin_layout Enumerate
19614 Antes de cada figura o párrafo que vaya a salir solo en un 
19615 \family sans
19616 Superpuesto
19617 \family default
19618 ,
19619  inserta un entorno 
19620 \family sans
19621 TextoInvisible
19622 \family default
19623 .
19624  Si es necesario,
19625  inserta un entorno 
19626 \family sans
19627 TextoVisible
19628 \family default
19629  tras el texto que pertenece solo al 
19630 \family sans
19631 Superpuesto
19632 \family default
19633 .
19634 \end_layout
19635
19636 \begin_layout Enumerate
19637 Empieza un 
19638 \family sans
19639 Superpuesto 
19640 \family default
19641 inmediatamente detrás de la 
19642 \family sans
19643 Diapositiva
19644 \family default
19645 .
19646 \end_layout
19647
19648 \begin_layout Enumerate
19649 Copia los contenidos de esta 
19650 \family sans
19651 Diapositiva
19652 \family default
19653  en el 
19654 \family sans
19655 Superpuesto
19656 \family default
19657 .
19658 \end_layout
19659
19660 \begin_layout Enumerate
19661 Dentro del 
19662 \family sans
19663 Superpuesto
19664 \family default
19665 ,
19666  cambia todas las líneas del 
19667 \family sans
19668 TextoInvisible
19669 \family default
19670  a 
19671 \family sans
19672 TextoVisible
19673 \family default
19674  y viceversa.
19675 \end_layout
19676
19677 \begin_layout Standard
19678 Eso es todo.
19679  Acabas de hacer una transparencia superpuesta.
19680 \end_layout
19681
19682 \begin_layout Standard
19683 Hay un problema con el procedimiento que he diseñado para la clase 
19684 \family sans
19685 slides
19686 \family default
19687  en \SpecialChar LyX
19688 :
19689  no puedes hacer invisible un texto en mitad de un párrafo,
19690  ni hacer visible un texto dentro de un párrafo invisible.
19691  Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
19692 .
19693 \begin_inset Foot
19694 status collapsed
19695
19696 \begin_layout Plain Layout
19697 Los comandos de interés son:
19698  
19699 \end_layout
19700
19701 \begin_layout Itemize
19702
19703 \family typewriter
19704 {
19705 \backslash
19706 invisible \SpecialChar ldots
19707  }
19708 \end_layout
19709
19710 \begin_layout Itemize
19711
19712 \family typewriter
19713 {
19714 \backslash
19715 visible \SpecialChar ldots
19716  }
19717 \end_layout
19718
19719 \begin_layout Plain Layout
19720 \SpecialChar ldots
19721 que deben marcarse como \SpecialChar TeX
19722 .
19723  El texto \SpecialChar ldots
19724
19725 \family typewriter
19726  
19727 \family default
19728 cuya 
19729 \begin_inset Quotes cld
19730 \end_inset
19731
19732 visibilidad
19733 \begin_inset Quotes crd
19734 \end_inset
19735
19736  quieres cambiar debe ir a continuación del comando 
19737 \family typewriter
19738
19739 \backslash
19740 invisible
19741 \family default
19742  o 
19743 \family typewriter
19744
19745 \backslash
19746 visible
19747 \family default
19748 ,
19749  y todo ello entre llaves { }.
19750  Si no sabes cómo se marca un texto como \SpecialChar TeX
19751 ,
19752  consulta la sección adecuada de la 
19753 \emph on
19754 Cuía del usuario
19755 \emph default
19756 .
19757 \end_layout
19758
19759 \end_inset
19760
19761
19762 \end_layout
19763
19764 \begin_layout Subsubsection
19765 Usar 
19766 \family sans
19767 Nota
19768 \family default
19769  con 
19770 \family sans
19771 Diapositiva
19772 \end_layout
19773
19774 \begin_layout Standard
19775 Como un 
19776 \family sans
19777 Superpuesto
19778 \family default
19779 ,
19780  una 
19781 \family sans
19782 Nota
19783 \family default
19784  está asociada a una 
19785 \family sans
19786 Diapositiva
19787 \series bold
19788  
19789 \family default
19790 \series default
19791
19792 \begin_inset Quotes cld
19793 \end_inset
19794
19795 madre
19796 \begin_inset Quotes crd
19797 \end_inset
19798
19799 .
19800  También \SpecialChar LyX
19801  lo indica
19802 \family sans
19803  
19804 \family default
19805 visualmente:
19806  La etiqueta para una 
19807 \family sans
19808 Nota
19809 \family default
19810  es más corta que la de una 
19811 \family sans
19812 Diapositiva
19813 \family default
19814  pero más larga que la de 
19815 \family sans
19816 Superpuesto
19817 \family default
19818  y,
19819  como este,
19820  en color magenta.
19821  Además,
19822  la 
19823 \family sans
19824 Nota
19825 \family default
19826  tiene en la salida el número de página de la 
19827 \family sans
19828 Diapositiva
19829 \family default
19830  
19831 \begin_inset Quotes cld
19832 \end_inset
19833
19834 madre
19835 \begin_inset Quotes crd
19836 \end_inset
19837
19838  seguido de 
19839 \begin_inset Quotes cld
19840 \end_inset
19841
19842
19843 \family typewriter
19844 -
19845 \family default
19846 1
19847 \begin_inset Quotes crd
19848 \end_inset
19849
19850 ,
19851  
19852 \begin_inset Quotes cld
19853 \end_inset
19854
19855
19856 \family typewriter
19857 -
19858 \family default
19859 2
19860 \begin_inset Quotes crd
19861 \end_inset
19862
19863 ,
19864  
19865 \begin_inset Quotes cld
19866 \end_inset
19867
19868
19869 \family typewriter
19870 -
19871 \family default
19872 3
19873 \begin_inset Quotes crd
19874 \end_inset
19875
19876 ,
19877  etc.
19878  Puedes poner varias 
19879 \family sans
19880 Nota
19881 \family default
19882 s asociadas a una 
19883 \family sans
19884 Diapositiva
19885 \family default
19886 ,
19887  y,
19888  como con 
19889 \family sans
19890 Diapositiva
19891 \family default
19892  y 
19893 \family sans
19894 Superpuesto
19895 \family default
19896 ,
19897  seguramente te interesará cortar las 
19898 \family sans
19899 Notas
19900 \family default
19901  largas para que quepan en una hoja.
19902 \end_layout
19903
19904 \begin_layout Standard
19905 El propósito de una 
19906 \family sans
19907 Nota
19908 \family default
19909  es evidente:
19910  hacer comentarios adicionales al contenido principal.
19911  También podría utilizarse como recordatorio en una 
19912 \family sans
19913 Diapositiva
19914 \family default
19915  determinada.
19916  En este caso,
19917  podrías hacer uso de marcadores de tiempo.
19918  Actualmente,
19919  la clase 
19920 \family sans
19921 slides
19922 \family default
19923  no tiene en \SpecialChar LyX
19924  soporte 
19925 \begin_inset Quotes cld
19926 \end_inset
19927
19928 nativo
19929 \begin_inset Quotes crd
19930 \end_inset
19931
19932  para marcadores de tiempo,
19933  una función de 
19934 \noun on
19935 Sli
19936 \noun default
19937 \SpecialChar TeX
19938 .
19939  Por tanto tendrías que usar código \SpecialChar LaTeX
19940 .
19941 \end_layout
19942
19943 \begin_layout Standard
19944 Para usar marcadores de tiempo debes especificar la opción extra de clase 
19945 \begin_inset Quotes cld
19946 \end_inset
19947
19948
19949 \family typewriter
19950 clock
19951 \family default
19952
19953 \begin_inset Quotes crd
19954 \end_inset
19955
19956  (véase sección
19957 \begin_inset space ~
19958 \end_inset
19959
19960
19961 \begin_inset CommandInset ref
19962 LatexCommand ref
19963 reference "sec:slidesetup"
19964 nolink "false"
19965
19966 \end_inset
19967
19968 ).
19969  Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior izquierda de cada 
19970 \family sans
19971 Nota
19972 \family default
19973  que introduzcas.
19974  Para establecer lo que aparecerá en el marcador de tiempo,
19975  usa los comandos \SpecialChar LaTeX
19976  
19977 \begin_inset Quotes cld
19978 \end_inset
19979
19980
19981 \family typewriter
19982
19983 \backslash
19984 settime{}
19985 \family default
19986
19987 \begin_inset Quotes crd
19988 \end_inset
19989
19990  y 
19991 \begin_inset Quotes cld
19992 \end_inset
19993
19994
19995 \family typewriter
19996
19997 \backslash
19998 addtime{}
19999 \family default
20000
20001 \begin_inset Quotes crd
20002 \end_inset
20003
20004 .
20005  El argumento de ambos comandos es un tiempo expresado en segundos.
20006  
20007 \begin_inset Quotes cld
20008 \end_inset
20009
20010
20011 \family typewriter
20012
20013 \backslash
20014 settime{}
20015 \family default
20016
20017 \begin_inset Quotes crd
20018 \end_inset
20019
20020  fija el marcador en un instante dado.
20021  
20022 \begin_inset Quotes cld
20023 \end_inset
20024
20025
20026 \family typewriter
20027
20028 \backslash
20029 addtime{}
20030 \family default
20031
20032 \begin_inset Quotes crd
20033 \end_inset
20034
20035  incrementa el marcador en la cantidad de tiempo especificada.
20036  Usar los marcadores de tiempo y las 
20037 \family sans
20038 Notas
20039 \family default
20040  de esta manera te recordará cuanto tiempo emplear en una 
20041 \family sans
20042 Diapositiva
20043 \family default
20044  determinada.
20045 \end_layout
20046
20047 \begin_layout Standard
20048 Queda por describir una característica.
20049  Seguramente te gustaría imprimir todas tus 
20050 \family sans
20051 Diapositivas 
20052 \family default
20053
20054 \family sans
20055 Superpuestos 
20056 \family default
20057 en transparentes y las 
20058 \family sans
20059 Nota
20060 \family default
20061 s en papel.
20062  Sin embargo,
20063  las 
20064 \family sans
20065 Notas
20066 \family default
20067  
20068 \emph on
20069 deben
20070 \emph default
20071  seguir a la 
20072 \family sans
20073 Diapositiva
20074 \family default
20075  a la que están asociadas.
20076  ¿Qué hacer entonces?
20077 \end_layout
20078
20079 \begin_layout Standard
20080 Afortunadamente hay dos comandos \SpecialChar LaTeX
20081  que permiten seleccionar lo que se ha de imprimir.
20082  Se deben poner en el preámbulo del documento.
20083  El comando 
20084 \begin_inset Quotes cld
20085 \end_inset
20086
20087
20088 \family typewriter
20089
20090 \backslash
20091 onlyslides{
20092 \backslash
20093 slides}
20094 \family default
20095
20096 \begin_inset Quotes crd
20097 \end_inset
20098
20099  hará que la salida solo contenga las 
20100 \family sans
20101 Diapositivas 
20102 \family default
20103
20104 \family sans
20105 Superpuestos
20106 \family default
20107 .
20108  De igual manera,
20109  el comando 
20110 \begin_inset Quotes cld
20111 \end_inset
20112
20113
20114 \family typewriter
20115
20116 \backslash
20117 onlynotes{
20118 \backslash
20119 notes}
20120 \family default
20121
20122 \begin_inset Quotes crd
20123 \end_inset
20124
20125  imprimirá solo las 
20126 \family sans
20127 Nota
20128 \family default
20129 s.
20130  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.
20131  A la hora de imprimir,
20132  puedes descomentar uno de ellos para imprimir esa parte.
20133  Tengo la costumbre de descomentar 
20134 \begin_inset Quotes cld
20135 \end_inset
20136
20137
20138 \family typewriter
20139
20140 \backslash
20141 onlyslides{
20142 \backslash
20143 slides}
20144 \family default
20145
20146 \begin_inset Quotes crd
20147 \end_inset
20148
20149 ,
20150  exportar a un archivo con 
20151 \begin_inset Quotes cld
20152 \end_inset
20153
20154
20155 \family typewriter
20156 -slides
20157 \family default
20158
20159 \begin_inset Quotes crd
20160 \end_inset
20161
20162  en el nombre,
20163  comentarlo de nuevo,
20164  ahora descomentar 
20165 \begin_inset Quotes cld
20166 \end_inset
20167
20168
20169 \family typewriter
20170
20171 \backslash
20172 onlynotes{
20173 \backslash
20174 notes}
20175 \family default
20176
20177 \begin_inset Quotes crd
20178 \end_inset
20179
20180  y exportar a otro archivo con 
20181 \begin_inset Quotes cld
20182 \end_inset
20183
20184
20185 \family typewriter
20186 -notes
20187 \family default
20188
20189 \begin_inset Quotes crd
20190 \end_inset
20191
20192  en el nombre.
20193  Entonces puedo mandar ambos archivos a la impresora poniendo transparentes o papel según convenga.
20194 \end_layout
20195
20196 \begin_layout Standard
20197 También puedes poner otros argumentos a los comandos 
20198 \begin_inset Quotes cld
20199 \end_inset
20200
20201
20202 \family typewriter
20203
20204 \backslash
20205 onlyslides{}
20206 \family default
20207
20208 \begin_inset Quotes crd
20209 \end_inset
20210
20211  y 
20212 \begin_inset Quotes cld
20213 \end_inset
20214
20215
20216 \family typewriter
20217
20218 \backslash
20219 onlynotes{}
20220 \family default
20221
20222 \begin_inset Quotes crd
20223 \end_inset
20224
20225 .
20226  Consulta un buen libro sobre \SpecialChar LaTeX
20227  para más detalles.
20228 \end_layout
20229
20230 \begin_layout Subsection
20231 La plantilla para la clase 
20232 \family sans
20233 slides
20234 \end_layout
20235
20236 \begin_layout Standard
20237 He preparado también un archivo modelo,
20238  
20239 \begin_inset Quotes cld
20240 \end_inset
20241
20242
20243 \family typewriter
20244 slides.lyx
20245 \family default
20246
20247 \begin_inset Quotes crd
20248 \end_inset
20249
20250 ,
20251  para la clase 
20252 \family sans
20253 slides
20254 \family default
20255 .
20256  Para empezar tu presentación con él abrelo con 
20257 \family sans
20258 Archivo\SpecialChar menuseparator
20259 Nuevo
20260 \begin_inset space ~
20261 \end_inset
20262
20263 desde
20264 \begin_inset space ~
20265 \end_inset
20266
20267 plantilla
20268 \family default
20269 .
20270  Contiene un ejemplo de presentación con el trío 
20271 \family sans
20272 Diapositiva
20273 \family default
20274  – 
20275 \family sans
20276 Superpuesto
20277 \family default
20278  – 
20279 \family sans
20280 Nota
20281 \family default
20282 .
20283  La 
20284 \family sans
20285 Diapositiva
20286 \family default
20287  y el 
20288 \family sans
20289 Superpuesto
20290 \family default
20291  tienen además un ejemplo del uso de TextoI
20292 \family sans
20293 nvisible
20294 \family default
20295  y 
20296 \family sans
20297 TextoVisible
20298 \family default
20299 .
20300  Por último,
20301  el preámbulo contiene:
20302 \end_layout
20303
20304 \begin_layout LyX-Code
20305 % Uncomment to print out only slides and overlays
20306 \begin_inset Foot
20307 status collapsed
20308
20309 \begin_layout Plain Layout
20310 Descomenta (borra 
20311 \begin_inset Quotes cld
20312 \end_inset
20313
20314 %
20315 \begin_inset Quotes crd
20316 \end_inset
20317
20318 ) para imprimir solo diapositivas y superpuestos.
20319  
20320 \emph on
20321 (N.
20322  del T
20323 \emph default
20324 .)
20325 \end_layout
20326
20327 \end_inset
20328
20329
20330 \end_layout
20331
20332 \begin_layout LyX-Code
20333 %
20334 \end_layout
20335
20336 \begin_layout LyX-Code
20337 %
20338 \backslash
20339 onlyslides{
20340 \backslash
20341 slides}
20342 \begin_inset Newline newline
20343 \end_inset
20344
20345  
20346 \end_layout
20347
20348 \begin_layout LyX-Code
20349 % Uncomment to print out only notes
20350 \begin_inset Foot
20351 status collapsed
20352
20353 \begin_layout Plain Layout
20354 Descomenta (borra 
20355 \begin_inset Quotes cld
20356 \end_inset
20357
20358 %
20359 \begin_inset Quotes crd
20360 \end_inset
20361
20362 ) para imprimir solo las notas.
20363
20364 \emph on
20365  (N.
20366  del T
20367 \emph default
20368 .)
20369 \end_layout
20370
20371 \end_inset
20372
20373
20374 \end_layout
20375
20376 \begin_layout LyX-Code
20377 %
20378 \end_layout
20379
20380 \begin_layout LyX-Code
20381 %
20382 \backslash
20383 onlynotes{
20384 \backslash
20385 notes}
20386 \end_layout
20387
20388 \begin_layout Standard
20389 Un apunte final:
20390  He creado esta clase para dar soporte a la clase integrante de \SpecialChar LaTeX2e
20391  
20392 \begin_inset Quotes cld
20393 \end_inset
20394
20395 emulación de 
20396 \noun on
20397 Sli
20398 \noun default
20399 \SpecialChar TeX
20400
20401 \begin_inset Quotes crd
20402 \end_inset
20403
20404 .
20405  Ni yo ni el resto del equipo \SpecialChar LyX
20406  aprobamos o desaprobamos el empleo de esta clase.
20407  A tí te corresponde decidir si la necesitas.
20408  Hay otras clases de \SpecialChar LaTeX2e
20409  para crear presentaciones,
20410  como 
20411 \family sans
20412 Foils
20413 \family default
20414  (véase la sección
20415 \begin_inset space ~
20416 \end_inset
20417
20418
20419 \begin_inset CommandInset ref
20420 LatexCommand ref
20421 reference "sec:foiltex"
20422 nolink "false"
20423
20424 \end_inset
20425
20426 ) o el paquete 
20427 \begin_inset Quotes cld
20428 \end_inset
20429
20430
20431 \family typewriter
20432 seminar
20433 \family default
20434
20435 \begin_inset Quotes crd
20436 \end_inset
20437
20438  (presente en algunas distribuciones de \SpecialChar TeX
20439 ).
20440  Este último aún no es soportado por \SpecialChar LyX
20441 .
20442 \begin_inset Foot
20443 status collapsed
20444
20445 \begin_layout Plain Layout
20446 Quizá quieras abordar tú la tarea\SpecialChar ldots
20447
20448 \end_layout
20449
20450 \end_inset
20451
20452  No conozco estas otras clases.
20453  Puedes probarlas para ver qué alternativas te ofrecen.
20454 \end_layout
20455
20456 \begin_layout Chapter
20457 Características de \SpecialChar LyX
20458  que requieren software adicional
20459 \begin_inset Argument 1
20460 status collapsed
20461
20462 \begin_layout Plain Layout
20463 Software adicional
20464 \end_layout
20465
20466 \end_inset
20467
20468
20469 \end_layout
20470
20471 \begin_layout Section
20472 Comprobar \SpecialChar TeX
20473
20474 \end_layout
20475
20476 \begin_layout Standard
20477 por 
20478 \noun on
20479 Asger Alstrup
20480 \end_layout
20481
20482 \begin_layout Subsection
20483 Introducción
20484 \end_layout
20485
20486 \begin_layout Standard
20487 Si está instalado 
20488 \family typewriter
20489 chktex
20490 \family default
20491 ,
20492 \begin_inset Foot
20493 status collapsed
20494
20495 \begin_layout Plain Layout
20496 Aún no disponible en la distribución Mik\SpecialChar TeX
20497 .
20498 \end_layout
20499
20500 \end_inset
20501
20502  bajo el menú 
20503 \family sans
20504 Herramientas
20505 \family default
20506  encontrarás la opción 
20507 \family sans
20508 Comprobar
20509 \begin_inset space ~
20510 \end_inset
20511
20512 TeX
20513 \family default
20514 .
20515  Para que esté disponible necesitas instalar el programa 
20516 \family typewriter
20517 chktex
20518 \family default
20519 .
20520  Puedes obtenerlo de CTAN,
20521 \begin_inset Newline newline
20522 \end_inset
20523
20524
20525 \begin_inset CommandInset href
20526 LatexCommand href
20527 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
20528 literal "false"
20529
20530 \end_inset
20531
20532 .
20533 \end_layout
20534
20535 \begin_layout Standard
20536 El paquete 
20537 \family sans
20538 Chk\SpecialChar TeX
20539
20540 \family default
20541  fue escrito por 
20542 \noun on
20543 Jens T.
20544  Berger Thielemann
20545 \noun default
20546 ,
20547  a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
20548  poco intuitivas y fáciles de olvidar.
20549  El programa se ejecuta sobre el archivo \SpecialChar LaTeX
20550  y comprueba la integridad del mismo,
20551  identificando algunos errores comunes.
20552  En palabras técnicas,
20553  es como 
20554 \family typewriter
20555 Lint
20556 \family default
20557  para \SpecialChar LaTeX
20558 .
20559 \end_layout
20560
20561 \begin_layout Standard
20562 Bien,
20563  ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
20564 ,
20565  que se supone que siempre genera \SpecialChar LaTeX
20566  correcto?
20567  La respuesta es sencilla:
20568  Igual que 
20569 \family typewriter
20570 Lint
20571 \family default
20572  no solo comprueba la 
20573 \emph on
20574 sintaxis 
20575 \emph default
20576 de programas C,
20577  sino que también comprueba la 
20578 \emph on
20579 semántica 
20580 \emph default
20581 en
20582 \emph on
20583  
20584 \emph default
20585 busca de errores de tipografía,
20586  
20587 \family sans
20588 Chk\SpecialChar TeX
20589
20590 \family default
20591  detecta,
20592  además de los errores sintácticos,
20593  errores 
20594 \emph on
20595 tipográficos 
20596 \emph default
20597 comunes,
20598  tales como
20599 \end_layout
20600
20601 \begin_layout Itemize
20602 Puntos suspensivos incorrectos:
20603 \begin_inset Newline newline
20604 \end_inset
20605
20606 Usa \SpecialChar ldots
20607  en vez de ...
20608 \end_layout
20609
20610 \begin_layout Itemize
20611 Espacio junto a los paréntesis:
20612 \begin_inset Newline newline
20613 \end_inset
20614
20615 ( espaciado incorrecto )
20616 \end_layout
20617
20618 \begin_layout Itemize
20619 Introducción de espacio normal tras abreviaciones:
20620 \begin_inset Newline newline
20621 \end_inset
20622
20623 p.
20624  ej.
20625  es un espacio demasiado grande.
20626 \end_layout
20627
20628 \begin_layout Itemize
20629 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula:
20630 \begin_inset Newline newline
20631 \end_inset
20632
20633 Esto es un TEST.
20634  Y esto un espacio incorrecto.
20635 \end_layout
20636
20637 \begin_layout Itemize
20638 Espacio ante etiquetas y otros comandos:
20639 \begin_inset Newline newline
20640 \end_inset
20641
20642 La etiqueta debe estar pegada al texto precedente para evitar un salto de línea o página en mal sitio.
20643  
20644 \begin_inset CommandInset label
20645 LatexCommand label
20646 name "sec:chktex"
20647
20648 \end_inset
20649
20650  
20651 \begin_inset Foot
20652 status collapsed
20653
20654 \begin_layout Plain Layout
20655 Esta nota podría salir en una página inadecuada.
20656 \end_layout
20657
20658 \end_inset
20659
20660  La etiqueta está demasiado separada.
20661 \end_layout
20662
20663 \begin_layout Itemize
20664 Espacio no protegido ante las referencias:
20665 \begin_inset Newline newline
20666 \end_inset
20667
20668 Si te despistas en esto,
20669  el texto podría saltar de línea justo entre él y el número de la referencia,
20670  lo que se ve feo.
20671  Véase la sección 
20672 \begin_inset CommandInset ref
20673 LatexCommand ref
20674 reference "sec:chktex"
20675 nolink "false"
20676
20677 \end_inset
20678
20679 .
20680 \end_layout
20681
20682 \begin_layout Itemize
20683 Uso de 
20684 \begin_inset Quotes eld
20685 \end_inset
20686
20687 x
20688 \begin_inset Quotes erd
20689 \end_inset
20690
20691  en vez de 
20692 \begin_inset Formula $\times$
20693 \end_inset
20694
20695  entre números:
20696 \begin_inset Newline newline
20697 \end_inset
20698
20699 2x2 se ve cutre comparado con 
20700 \begin_inset Formula $2\times2$
20701 \end_inset
20702
20703 .
20704 \end_layout
20705
20706 \begin_layout Standard
20707 y más\SpecialChar ldots
20708  Es una herramienta imprescindible una vez acabado tu documento y hecha la revisión ortográfica;
20709  antes de afinar la composición del documento e imprimirlo deberías ejecutar 
20710 \family sans
20711 Chk\SpecialChar TeX
20712
20713 \family default
20714 .
20715 \end_layout
20716
20717 \begin_layout Subsection
20718 Modo de empleo
20719 \end_layout
20720
20721 \begin_layout Standard
20722 Si el programa está instalado,
20723  se ejecuta con 
20724 \family sans
20725 Herramientas\SpecialChar menuseparator
20726 Comprobar
20727 \begin_inset space ~
20728 \end_inset
20729
20730 TeX
20731 \family default
20732 .
20733  \SpecialChar LyX
20734  genera entonces un archivo \SpecialChar LaTeX
20735  del documento,
20736  inicia 
20737 \family sans
20738 Chk\SpecialChar TeX
20739
20740 \family default
20741  para revisarlo,
20742  e inserta 
20743 \begin_inset Quotes cld
20744 \end_inset
20745
20746 cuadros de error
20747 \begin_inset Quotes crd
20748 \end_inset
20749
20750  con las advertencias de 
20751 \family sans
20752 Chk\SpecialChar TeX
20753
20754 \family default
20755 ,
20756  si las hubiera.
20757  Las advertencias se situarán cerca del error,
20758  y puedes navegar entre ellas con la opción de menú 
20759 \family sans
20760 Navegar\SpecialChar menuseparator
20761 Error
20762 \family default
20763 ,
20764  o con el atajo de teclado 
20765 \family sans
20766 C-g
20767 \family default
20768  del archivo 
20769 \family typewriter
20770 cua.bind
20771 \family default
20772 .
20773  Los cuadros de error se abren pulsando sobre ellos o con el atajo 
20774 \family sans
20775 C-i
20776 \family default
20777  (si usas atajos 
20778 \family typewriter
20779 cua
20780 \family default
20781 ),
20782  o 
20783 \family sans
20784 C-o
20785 \family default
20786  (si usas atajos 
20787 \family typewriter
20788 emacs)
20789 \family default
20790 .
20791  Lee las advertencias y corrige los errores.
20792  Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
20793  Recuerda que hay un estrato oculto entre el documento en pantalla y los detalles técnicos al ejecutar 
20794 \family sans
20795 Chk\SpecialChar TeX
20796
20797 \family default
20798 ,
20799  por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
20800 \end_layout
20801
20802 \begin_layout Standard
20803 Este documento es un excelente banco de pruebas para esta característica,
20804  con el que comprobar la presencia de advertencias y enredar con ellas.
20805  Aunque,
20806  como los ordenadores son tan listos,
20807  confía en que la mayoría de advertencias serán falsas alarmas.
20808 \end_layout
20809
20810 \begin_layout Subsection
20811 Afinación
20812 \end_layout
20813
20814 \begin_layout Standard
20815 A veces observarás que con 
20816 \family sans
20817 Chk\SpecialChar TeX
20818
20819 \family default
20820  hay más ruido que nueces.
20821  Puedes elegir no usarlo,
20822  o intentar personalizar 
20823 \family sans
20824 Chk\SpecialChar TeX
20825
20826 \family default
20827  para adaptarlo a tus necesidades.
20828 \end_layout
20829
20830 \begin_layout Standard
20831 Aunque 
20832 \family sans
20833 Chk\SpecialChar TeX
20834
20835 \family default
20836  
20837 \emph on
20838 es
20839 \emph default
20840  muy configurable y ampliable,
20841  no esperes resolver todos los problemas de \SpecialChar LyX
20842  con 
20843 \family sans
20844 Chk\SpecialChar TeX
20845
20846 \family default
20847 .
20848  Como \SpecialChar LyX
20849  ha de generar un archivo \SpecialChar LaTeX
20850  un tanto especial para poder casar los números de línea de la salida de 
20851 \family sans
20852 Chk\SpecialChar TeX
20853
20854 \family default
20855  con la estructura interna del documento
20856 \begin_inset Foot
20857 status collapsed
20858
20859 \begin_layout Plain Layout
20860 Puedes inspeccionar la salida de 
20861 \family sans
20862 chktex
20863 \family default
20864  usando 
20865 \family sans
20866 Documento\SpecialChar menuseparator
20867 Registro
20868 \begin_inset space ~
20869 \end_inset
20870
20871 de
20872 \begin_inset space ~
20873 \end_inset
20874
20875 \SpecialChar LaTeX
20876
20877 \family default
20878  tras ejecutar 
20879 \family sans
20880 chktex
20881 \family default
20882 .
20883 \end_layout
20884
20885 \end_inset
20886
20887 ,
20888  algunos de los avisos no estarán bien colocados.
20889  Puedes hacer dos cosas:
20890 \end_layout
20891
20892 \begin_layout Itemize
20893 Afinar la línea de comandos de 
20894 \family sans
20895 Chk\SpecialChar TeX
20896  
20897 \family default
20898 en 
20899 \family sans
20900 Preferencias
20901 \family default
20902  (
20903 \family sans
20904 Salidas\SpecialChar menuseparator
20905 \SpecialChar LaTeX
20906
20907 \family default
20908 ),
20909  o el archivo de configuración global de 
20910 \family sans
20911 Chk\SpecialChar TeX
20912
20913 \family default
20914  (normalmente se ubica en
20915 \begin_inset Newline newline
20916 \end_inset
20917
20918
20919 \family typewriter
20920 /usr/local/share/chktexrc
20921 \family default
20922 ).
20923  Véase más adelante qué advertencias se pueden activar o desactivar en la línea del comando.
20924  
20925 \end_layout
20926
20927 \begin_layout Itemize
20928 Exporta tu documento a un archivo \SpecialChar LaTeX
20929  simple con
20930 \family typewriter
20931  
20932 \family sans
20933 Archivo\SpecialChar menuseparator
20934 Exportar\SpecialChar menuseparator
20935 LaTeX
20936 \family default
20937  y ejecuta 
20938 \family typewriter
20939 chktex
20940 \family default
20941  a mano sobre él.
20942  Ejecutado así,
20943  puede ser peliagudo encontrar el lugar correspondiente en el documento \SpecialChar LyX
20944 ,
20945  pero con un poco de paciencia lo lograrás.
20946 \end_layout
20947
20948 \begin_layout Standard
20949 A continuación se listan los mensajes de error que pueden ser activados o desactivados en 
20950 \family sans
20951 Preferencias
20952 \family default
20953 .
20954  Usa 
20955 \family typewriter
20956 -n#
20957 \family default
20958  para desactivar un aviso,
20959  y 
20960 \family typewriter
20961 -w#
20962 \family default
20963  para activarlo.
20964  Las entradas en énfasis están desactivadas por omisión,
20965  porque de forma predeterminada se ejecuta como "
20966 \family typewriter
20967 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20968 \family default
20969 ".
20970 \end_layout
20971
20972 \begin_layout Standard
20973 Ten en cuenta que solo deberías usar las opciones que activan o desactivan avisos,
20974  porque las demás las usa \SpecialChar LyX
20975  de manera específica para comunicarse con 
20976 \family typewriter
20977 chktex
20978 \family default
20979 .
20980 \end_layout
20981
20982 \begin_layout Enumerate
20983
20984 \size small
20985 \emph on
20986 Command terminated with space.
20987  (Comando finalizado con un espacio
20988 \emph default
20989 .
20990 \emph on
20991 )
20992 \end_layout
20993
20994 \begin_layout Enumerate
20995
20996 \size small
20997 Non-breaking space (
20998 \begin_inset Quotes eld
20999 \end_inset
21000
21001
21002 \family typewriter
21003 ~
21004 \family default
21005
21006 \begin_inset Quotes erd
21007 \end_inset
21008
21009 ) should have been used.
21010  (Se
21011 \emph on
21012  
21013 \emph default
21014 debería haber usado un espacio protegido 
21015 \begin_inset Quotes cld
21016 \end_inset
21017
21018 ~
21019 \begin_inset Quotes crd
21020 \end_inset
21021
21022 )
21023 \end_layout
21024
21025 \begin_layout Enumerate
21026
21027 \size small
21028 \emph on
21029 You should enclose the previous parenthesis with 
21030 \begin_inset Quotes eld
21031 \end_inset
21032
21033
21034 \family typewriter
21035 {}
21036 \family default
21037
21038 \begin_inset Quotes erd
21039 \end_inset
21040
21041 .
21042  
21043 \shape italic
21044 \emph default
21045 (Deberías cerrar los paréntesis previos con
21046 \shape default
21047  
21048 \emph on
21049
21050 \begin_inset Quotes cld
21051 \end_inset
21052
21053 {}
21054 \begin_inset Quotes crd
21055 \end_inset
21056
21057 )
21058 \end_layout
21059
21060 \begin_layout Enumerate
21061
21062 \size small
21063 Italic correction (
21064 \begin_inset Quotes eld
21065 \end_inset
21066
21067
21068 \family typewriter
21069
21070 \backslash
21071 /
21072 \family default
21073
21074 \begin_inset Quotes erd
21075 \end_inset
21076
21077 ) found in non-italic buffer.
21078  (Corrección de cursiva (
21079 \begin_inset Quotes cld
21080 \end_inset
21081
21082
21083 \backslash
21084 /
21085 \begin_inset Quotes crd
21086 \end_inset
21087
21088 ) en un grupo que no está en cursiva)
21089 \end_layout
21090
21091 \begin_layout Enumerate
21092
21093 \size small
21094 Italic correction (
21095 \begin_inset Quotes eld
21096 \end_inset
21097
21098
21099 \family typewriter
21100
21101 \backslash
21102 /
21103 \family default
21104
21105 \begin_inset Quotes erd
21106 \end_inset
21107
21108 ) found more than once.
21109  (Corrección de cursiva (
21110 \begin_inset Quotes cld
21111 \end_inset
21112
21113
21114 \backslash
21115 /
21116 \begin_inset Quotes crd
21117 \end_inset
21118
21119 ) más de una vez)
21120 \end_layout
21121
21122 \begin_layout Enumerate
21123
21124 \size small
21125 \emph on
21126 No italic correction (
21127 \begin_inset Quotes eld
21128 \end_inset
21129
21130
21131 \family typewriter
21132
21133 \backslash
21134 /
21135 \family default
21136
21137 \begin_inset Quotes erd
21138 \end_inset
21139
21140 ) found.
21141  (Corrección de cursiva (
21142 \emph default
21143
21144 \begin_inset Quotes cld
21145 \end_inset
21146
21147
21148 \backslash
21149 /
21150 \begin_inset Quotes crd
21151 \end_inset
21152
21153
21154 \emph on
21155 )
21156 \emph default
21157  
21158 \emph on
21159 no encontrada)
21160 \end_layout
21161
21162 \begin_layout Enumerate
21163
21164 \size small
21165 Accent command 
21166 \begin_inset Quotes eld
21167 \end_inset
21168
21169
21170 \family typewriter
21171 cmd
21172 \family default
21173
21174 \begin_inset Quotes erd
21175 \end_inset
21176
21177  needs use of 
21178 \begin_inset Quotes eld
21179 \end_inset
21180
21181
21182 \family typewriter
21183 cmd
21184 \family default
21185
21186 \begin_inset Quotes erd
21187 \end_inset
21188
21189 .
21190  (El comando 
21191 \begin_inset Quotes cld
21192 \end_inset
21193
21194 cmd
21195 \begin_inset Quotes crd
21196 \end_inset
21197
21198  requiere el uso de 
21199 \begin_inset Quotes cld
21200 \end_inset
21201
21202 cmd
21203 \begin_inset Quotes crd
21204 \end_inset
21205
21206 )
21207 \end_layout
21208
21209 \begin_layout Enumerate
21210
21211 \size small
21212 Wrong length of dash may have been used.
21213  (Quizá se ha usado un guión de longitud inadecuada)
21214 \end_layout
21215
21216 \begin_layout Enumerate
21217
21218 \size small
21219 \emph on
21220 \begin_inset Quotes eld
21221 \end_inset
21222
21223
21224 \family typewriter
21225 %s
21226 \family default
21227
21228 \begin_inset Quotes erd
21229 \end_inset
21230
21231  expected,
21232  found 
21233 \begin_inset Quotes eld
21234 \end_inset
21235
21236
21237 \family typewriter
21238 %s
21239 \family default
21240
21241 \begin_inset Quotes erd
21242 \end_inset
21243
21244 .
21245  (Se esperaba 
21246 \begin_inset Quotes cld
21247 \end_inset
21248
21249 %s
21250 \begin_inset Quotes crd
21251 \end_inset
21252
21253 ,
21254  se ha encontrado 
21255 \begin_inset Quotes cld
21256 \end_inset
21257
21258 %s
21259 \begin_inset Quotes crd
21260 \end_inset
21261
21262 )
21263 \end_layout
21264
21265 \begin_layout Enumerate
21266
21267 \size small
21268 Solo 
21269 \begin_inset Quotes eld
21270 \end_inset
21271
21272
21273 \family typewriter
21274 %s
21275 \family default
21276
21277 \begin_inset Quotes erd
21278 \end_inset
21279
21280  found.
21281  (Se ha encontrado un solo 
21282 \begin_inset Quotes cld
21283 \end_inset
21284
21285 %s
21286 \begin_inset Quotes crd
21287 \end_inset
21288
21289 )
21290 \end_layout
21291
21292 \begin_layout Enumerate
21293
21294 \size small
21295 You should use 
21296 \begin_inset Quotes eld
21297 \end_inset
21298
21299
21300 \family typewriter
21301 %s
21302 \family default
21303
21304 \begin_inset Quotes erd
21305 \end_inset
21306
21307  to achieve an ellipsis.
21308  (Deberías usar 
21309 \begin_inset Quotes cld
21310 \end_inset
21311
21312 %s
21313 \begin_inset Quotes crd
21314 \end_inset
21315
21316  para los puntos suspensivos)
21317 \end_layout
21318
21319 \begin_layout Enumerate
21320
21321 \size small
21322 Inter-word spacing (
21323 \begin_inset Quotes eld
21324 \end_inset
21325
21326
21327 \family typewriter
21328
21329 \backslash
21330
21331 \family default
21332  
21333 \begin_inset Quotes eld
21334 \end_inset
21335
21336 ) should perhaps be used.
21337  (Quizá tendría que ponerse un espacio entre palabras (
21338 \begin_inset Quotes cld
21339 \end_inset
21340
21341
21342 \backslash
21343
21344 \begin_inset Quotes crd
21345 \end_inset
21346
21347 )) 
21348 \end_layout
21349
21350 \begin_layout Enumerate
21351
21352 \size small
21353 Inter-sentence spacing (
21354 \begin_inset Quotes eld
21355 \end_inset
21356
21357
21358 \family typewriter
21359
21360 \backslash
21361 @
21362 \family default
21363
21364 \begin_inset Quotes erd
21365 \end_inset
21366
21367 ) should perhaps be used.
21368  (Quizá tendría que ponerse un espacio entre frases (
21369 \begin_inset Quotes cld
21370 \end_inset
21371
21372
21373 \backslash
21374 @
21375 \begin_inset Quotes crd
21376 \end_inset
21377
21378 )) 
21379 \end_layout
21380
21381 \begin_layout Enumerate
21382
21383 \size small
21384 Could not find argument for command.
21385  (Argumento de comando no encontrado)
21386 \end_layout
21387
21388 \begin_layout Enumerate
21389
21390 \size small
21391 No match found for 
21392 \begin_inset Quotes eld
21393 \end_inset
21394
21395
21396 \family typewriter
21397 %s
21398 \family default
21399
21400 \begin_inset Quotes erd
21401 \end_inset
21402
21403 .
21404  (Objetivo para 
21405 \begin_inset Quotes cld
21406 \end_inset
21407
21408 %s
21409 \begin_inset Quotes crd
21410 \end_inset
21411
21412  no encontrado)
21413 \end_layout
21414
21415 \begin_layout Enumerate
21416
21417 \size small
21418 Math mode still on at end of \SpecialChar LaTeX
21419  file.
21420  (El archivo \SpecialChar LaTeX
21421  termina en modo ecuación)
21422 \end_layout
21423
21424 \begin_layout Enumerate
21425
21426 \size small
21427 Number of 
21428 \begin_inset Quotes eld
21429 \end_inset
21430
21431
21432 \family typewriter
21433 char
21434 \family default
21435
21436 \begin_inset Quotes erd
21437 \end_inset
21438
21439  doesn't match the number of 
21440 \begin_inset Quotes eld
21441 \end_inset
21442
21443
21444 \family typewriter
21445 char
21446 \family default
21447
21448 \begin_inset Quotes erd
21449 \end_inset
21450
21451 .
21452  (El número de 
21453 \begin_inset Quotes cld
21454 \end_inset
21455
21456 char
21457 \begin_inset Quotes crd
21458 \end_inset
21459
21460  no corresponde con el número de 
21461 \begin_inset Quotes cld
21462 \end_inset
21463
21464 char
21465 \begin_inset Quotes crd
21466 \end_inset
21467
21468 )
21469 \end_layout
21470
21471 \begin_layout Enumerate
21472
21473 \size small
21474 You should use either 
21475 \family typewriter
21476
21477 \begin_inset Quotes eld
21478 \end_inset
21479
21480
21481 \family default
21482  or 
21483 \family typewriter
21484
21485 \begin_inset Quotes erd
21486 \end_inset
21487
21488
21489 \family default
21490  as an alternative to 
21491 \begin_inset Quotes eld
21492 \end_inset
21493
21494
21495 \family typewriter
21496 "
21497 \family default
21498
21499 \begin_inset Quotes erd
21500 \end_inset
21501
21502 .
21503  (Deberías usar 
21504 \begin_inset Quotes cld
21505 \end_inset
21506
21507 o
21508 \begin_inset Quotes crd
21509 \end_inset
21510
21511  mejor que 
21512 \size default
21513
21514 \begin_inset Quotes cld
21515 \end_inset
21516
21517
21518 \family typewriter
21519 \size small
21520 "
21521 \family default
21522 \size default
21523
21524 \begin_inset Quotes crd
21525 \end_inset
21526
21527
21528 \size small
21529 )
21530 \end_layout
21531
21532 \begin_layout Enumerate
21533
21534 \size small
21535 You should use "
21536 \family typewriter
21537 '
21538 \family default
21539 " (ASCII 39) instead of "
21540 \family typewriter
21541 ´
21542 \family default
21543 " (ASCII 180).
21544  (Deberías usar 
21545 \begin_inset Quotes cld
21546 \end_inset
21547
21548 '
21549 \begin_inset Quotes crd
21550 \end_inset
21551
21552  (ASCII 39) en lugar de 
21553 \begin_inset Quotes cld
21554 \end_inset
21555
21556 ´
21557 \begin_inset Quotes crd
21558 \end_inset
21559
21560  (ASCII 180))
21561 \end_layout
21562
21563 \begin_layout Enumerate
21564
21565 \size small
21566 User-specified pattern found.
21567  (Se ha encontrado un patrón definido por el usuario)
21568 \end_layout
21569
21570 \begin_layout Enumerate
21571
21572 \size small
21573 This command might not be intended.
21574  (Comando posiblemente no buscado)
21575 \end_layout
21576
21577 \begin_layout Enumerate
21578
21579 \size small
21580 \emph on
21581 Comment displayed.
21582  (Comentario mostrado)
21583 \end_layout
21584
21585 \begin_layout Enumerate
21586
21587 \size small
21588 Either 
21589 \family typewriter
21590 ''
21591 \backslash
21592 ,'
21593 \family default
21594  or 
21595 \family typewriter
21596 '
21597 \backslash
21598 ,''
21599 \family default
21600  will look better.
21601  (
21602 \family typewriter
21603 ''
21604 \backslash
21605 ,'
21606 \family default
21607  o 
21608 \family typewriter
21609 '
21610 \backslash
21611 ,''
21612 \family default
21613  quedaría mejor) 
21614 \end_layout
21615
21616 \begin_layout Enumerate
21617
21618 \size small
21619 Delete this space to maintain correct page references.
21620  (Borra este espacio para mantener las referencias de página)
21621 \end_layout
21622
21623 \begin_layout Enumerate
21624
21625 \size small
21626 \emph on
21627 You might wish to put this between a pair of 
21628 \begin_inset Quotes eld
21629 \end_inset
21630
21631
21632 \family typewriter
21633 {}
21634 \family default
21635
21636 \begin_inset Quotes erd
21637 \end_inset
21638
21639 .
21640  (Esto quizá estaría mejor entre llaves 
21641 \begin_inset Quotes cld
21642 \end_inset
21643
21644 {}
21645 \begin_inset Quotes crd
21646 \end_inset
21647
21648 )
21649 \end_layout
21650
21651 \begin_layout Enumerate
21652
21653 \size small
21654 You ought to remove spaces in front of punctuation.
21655  (Debes quitar espacios delante de la puntuación)
21656 \end_layout
21657
21658 \begin_layout Enumerate
21659
21660 \size small
21661 Could not execute \SpecialChar LaTeX
21662  command.
21663  (No se puede ejecutar comando \SpecialChar LaTeX
21664 )
21665 \end_layout
21666
21667 \begin_layout Enumerate
21668
21669 \size small
21670 Don't use 
21671 \family typewriter
21672
21673 \backslash
21674 /
21675 \family default
21676  in front of small punctuation.
21677  (No poner 
21678 \family typewriter
21679
21680 \backslash
21681 /
21682 \family default
21683  delante de un punto)
21684 \end_layout
21685
21686 \begin_layout Enumerate
21687
21688 \family typewriter
21689 \size small
21690 $
21691 \backslash
21692 times$
21693 \family default
21694  may look prettier here.
21695  (Aquí quedaría mejor 
21696 \family typewriter
21697 $
21698 \backslash
21699 times$
21700 \family default
21701 \emph on
21702 )
21703 \end_layout
21704
21705 \begin_layout Enumerate
21706
21707 \size small
21708 \emph on
21709 Multiple spaces detected in output.
21710  (Se detectan espacios múltiples en la salida)
21711 \end_layout
21712
21713 \begin_layout Enumerate
21714
21715 \size small
21716 This text may be ignored.
21717  (Este texto podría no tenerse en cuenta)
21718 \end_layout
21719
21720 \begin_layout Enumerate
21721
21722 \size small
21723 Use 
21724 \family typewriter
21725
21726 \begin_inset Quotes eld
21727 \end_inset
21728
21729
21730 \family default
21731  to begin quotation,
21732  not 
21733 \family typewriter
21734 '
21735 \family default
21736 .
21737  (Usa `` para comenzar una cita,
21738  no ')
21739 \end_layout
21740
21741 \begin_layout Enumerate
21742
21743 \size small
21744 Use 
21745 \family typewriter
21746 '
21747 \family default
21748  to end quotation,
21749  not 
21750 \family typewriter
21751
21752 \begin_inset Quotes eld
21753 \end_inset
21754
21755
21756 \family default
21757 .
21758  (Usa ' para finalizar una cita,
21759  no ``)
21760 \end_layout
21761
21762 \begin_layout Enumerate
21763
21764 \size small
21765 Don't mix quotes.
21766  (No mezcles distintos tipos de comillas)
21767 \end_layout
21768
21769 \begin_layout Enumerate
21770
21771 \size small
21772 You should perhaps use 
21773 \begin_inset Quotes eld
21774 \end_inset
21775
21776
21777 \family typewriter
21778 cmd
21779 \family default
21780
21781 \begin_inset Quotes erd
21782 \end_inset
21783
21784  instead.
21785  (Quizá sería mejor usar 
21786 \begin_inset Quotes cld
21787 \end_inset
21788
21789 cmd
21790 \begin_inset Quotes crd
21791 \end_inset
21792
21793 )
21794 \end_layout
21795
21796 \begin_layout Enumerate
21797
21798 \size small
21799 You should put a space in front of/after parenthesis.
21800  (Deberías poner un espacio delante/detrás de los paréntesis)
21801 \end_layout
21802
21803 \begin_layout Enumerate
21804
21805 \size small
21806 You should avoid spaces in front of/after parenthesis.
21807  (Deberías evitar espacios delante/detrás de los paréntesis)
21808 \end_layout
21809
21810 \begin_layout Enumerate
21811
21812 \size small
21813 \emph on
21814 You should not use punctuation in front of/after quotes.
21815  (No deberías usar puntuación delante/detrás de comillas)
21816 \end_layout
21817
21818 \begin_layout Enumerate
21819
21820 \size small
21821 Double space found.
21822  (Espacio doble encontrado)
21823 \end_layout
21824
21825 \begin_layout Enumerate
21826
21827 \size small
21828 You should put punctuation outside inner/inside display math mode.
21829  (Deberías poner la puntuación fuera del modo ecuación) 
21830 \end_layout
21831
21832 \begin_layout Enumerate
21833
21834 \size small
21835 You ought to not use primitive \SpecialChar TeX
21836  in \SpecialChar LaTeX
21837  code.
21838  (No debes usar primitivas de \SpecialChar TeX
21839  dentro de código \SpecialChar LaTeX
21840 )
21841 \end_layout
21842
21843 \begin_layout Enumerate
21844
21845 \size small
21846 You should remove spaces in front of 
21847 \begin_inset Quotes eld
21848 \end_inset
21849
21850
21851 \family typewriter
21852 %s
21853 \family default
21854
21855 \begin_inset Quotes erd
21856 \end_inset
21857
21858  (Deberías quitar los espacios delante de 
21859 \begin_inset Quotes cld
21860 \end_inset
21861
21862 %s
21863 \begin_inset Quotes crd
21864 \end_inset
21865
21866 )
21867 \end_layout
21868
21869 \begin_layout Enumerate
21870
21871 \size small
21872 \begin_inset Quotes eld
21873 \end_inset
21874
21875
21876 \family typewriter
21877 %s
21878 \family default
21879
21880 \begin_inset Quotes erd
21881 \end_inset
21882
21883  is normally not followed by 
21884 \begin_inset Quotes eld
21885 \end_inset
21886
21887
21888 \family typewriter
21889 %c
21890 \family default
21891
21892 \begin_inset Quotes erd
21893 \end_inset
21894
21895 .
21896  (
21897 \begin_inset Quotes cld
21898 \end_inset
21899
21900 %s
21901 \begin_inset Quotes crd
21902 \end_inset
21903
21904  normalmente no va seguido de 
21905 \begin_inset Quotes cld
21906 \end_inset
21907
21908 %c
21909 \begin_inset Quotes crd
21910 \end_inset
21911
21912 )
21913 \end_layout
21914
21915 \begin_layout Standard
21916 En las últimas versiones de \SpecialChar LyX
21917  esperamos proporcionar una interfaz más completa para esta herramienta (y su prima pequeña 
21918 \family typewriter
21919 lacheck
21920 \family default
21921 ) para aprovechar toda su potencia.
21922  Pero no deja de ser útil tal como está:
21923  prueba con alguno de tus documentos de cierta longitud y sorpréndete.
21924 \end_layout
21925
21926 \begin_layout Section
21927 Control de versiones en \SpecialChar LyX
21928
21929 \end_layout
21930
21931 \begin_layout Standard
21932 por
21933 \noun on
21934  Lars Gullik Bjønnes
21935 \noun default
21936  y 
21937 \noun on
21938 Pavel Sanda
21939 \end_layout
21940
21941 \begin_layout Subsection
21942 Introducción
21943 \end_layout
21944
21945 \begin_layout Standard
21946 \SpecialChar LyX
21947  soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
21948  Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
21949 \end_layout
21950
21951 \begin_layout Standard
21952 Además,
21953  hay que tener en cuenta que el soporte de CVS no es tan bueno como el de subversion,
21954  por lo que recomendamos SVN.
21955  Para empezar con Subversion es conveniente consultar el SVN Book.
21956 \begin_inset Foot
21957 status collapsed
21958
21959 \begin_layout Plain Layout
21960 \begin_inset CommandInset href
21961 LatexCommand href
21962 target "http://svnbook.red-bean.com/"
21963 literal "false"
21964
21965 \end_inset
21966
21967
21968 \end_layout
21969
21970 \end_inset
21971
21972  Para RCS deberías leer 
21973 \begin_inset Quotes cld
21974 \end_inset
21975
21976 rcsintro
21977 \begin_inset Quotes crd
21978 \end_inset
21979
21980  (archivo 
21981 \emph on
21982 man
21983 \emph default
21984  de manual).
21985  Este archivo describe todas las características básicas de RCS.
21986  Deberías fijarte especialmente en el comentario sobre el directorio RCS y las nociones sobre el archivo maestro RCS (el que acaba en 
21987 \family typewriter
21988 ,v
21989 \family default
21990 ).
21991 \end_layout
21992
21993 \begin_layout Standard
21994 Antes de usar el control de versiones en \SpecialChar LyX
21995  hay que conocer el uso de RCS/CVS/SVN/GIT.
21996  La implementación en \SpecialChar LyX
21997  asume el uso de versiones recientes de los paquetes GNU RCS o CVS/SVN —
21998 no hay garantías con versiones antiguas—
21999 .
22000  La mayoría de los mensajes de registro no son actualmente mostrados tras las operaciones —
22001 puedes comprobarlos en el panel Messages si no estás seguro.
22002  Los usuarios habituales de control de versiones apreciarán las herramientas VC,
22003  disponibles en 
22004 \family sans
22005 Ver\SpecialChar menuseparator
22006 Barras de herramientas\SpecialChar menuseparator
22007 Control de versiones
22008 \family default
22009 .
22010 \end_layout
22011
22012 \begin_layout Standard
22013 Para introducir tus propios comandos externos consulta 
22014 \family typewriter
22015 vc-command
22016 \family default
22017  en el manual 
22018 \emph on
22019 Funciones de \SpecialChar LyX
22020
22021 \emph default
22022 .
22023 \end_layout
22024
22025 \begin_layout Standard
22026 Es muy recomendable guardar los documentos sin comprimir si se usa control de versiones (desactiva 
22027 \family sans
22028 Documento\SpecialChar menuseparator
22029 Comprimido
22030 \family default
22031  si lo está):
22032  los documentos \SpecialChar LyX
22033  sin comprimir son archivos de texto y por tanto factibles de ser mezclados por sistemas de control de versiones.
22034  Los documentos \SpecialChar LyX
22035  comprimidos son archivos binarios,
22036  no manejables por sistemas de control de versiones.
22037  
22038 \end_layout
22039
22040 \begin_layout Subsection
22041 Comandos RCS en \SpecialChar LyX
22042
22043 \end_layout
22044
22045 \begin_layout Standard
22046 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
22047 .
22048  Los puedes encontrar en el submenú 
22049 \family sans
22050 Archivo\SpecialChar menuseparator
22051 Control
22052 \begin_inset space ~
22053 \end_inset
22054
22055 de
22056 \begin_inset space ~
22057 \end_inset
22058
22059 versiones
22060 \family default
22061 .
22062  \SpecialChar LyX
22063  se ha probado con la versión RCS 5.7/5.8.
22064 \end_layout
22065
22066 \begin_layout Subsubsection
22067
22068 \family sans
22069 Registrar
22070 \end_layout
22071
22072 \begin_layout Standard
22073 Si tu documento no está sometido a control de versiones,
22074  este es el único ítem mostrado en el submenú.
22075  Y si está sometido a control de versiones,
22076  el ítem 
22077 \family sans
22078 Registrar
22079 \family default
22080  no aparece.
22081  
22082 \end_layout
22083
22084 \begin_layout Standard
22085 Este comando registra el documento con RCS\SpecialChar endofsentence
22086  Se te pide interactivamente una descripción inicial del documento.
22087  Por ahora,
22088  el documento está puesto en modo Solo-lectura y debes 
22089 \family sans
22090 Liberar para edición 
22091 \family default
22092 antes de hacer cambios en él.
22093  Un documento bajo control de revisión tiene un ítem 
22094 \begin_inset Quotes cld
22095 \end_inset
22096
22097 [RCS:<version> <locker>]
22098 \begin_inset Quotes crd
22099 \end_inset
22100
22101  junto al nombre de archivo en el búfer .
22102 \end_layout
22103
22104 \begin_layout Standard
22105 Comando
22106 \family sans
22107  
22108 \family default
22109 RCS ejecutado:
22110 \end_layout
22111
22112 \begin_layout LyX-Code
22113
22114 \family typewriter
22115 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
22116 \end_layout
22117
22118 \begin_layout Standard
22119 Lee 
22120 \family typewriter
22121 man ci
22122 \family default
22123  para entender las opciones.
22124  
22125 \end_layout
22126
22127 \begin_layout Subsubsection
22128
22129 \family sans
22130 Liberar cambios
22131 \end_layout
22132
22133 \begin_layout Standard
22134 Cuando has acabado de editar un archivo liberas tus cambios.
22135  Al hacerlo
22136 \family sans
22137  
22138 \family default
22139 se te pide una descripción que se almacena en el historial.
22140  El número de versión es actualizado,
22141  tus cambios se aplican al archivo maestro RCS,
22142  el documento es desbloqueado y puesto en modo Solo-lectura.
22143  
22144 \end_layout
22145
22146 \begin_layout Itemize
22147 Comando RCS:
22148  
22149 \family typewriter
22150 ci -q -u -m"<descripción>" <nombre-archivo>
22151 \end_layout
22152
22153 \begin_layout Subsubsection
22154
22155 \family sans
22156 Reservar para edición
22157 \end_layout
22158
22159 \begin_layout Standard
22160 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
22161  Además el documento será de Lectura-Escritura únicamente para ti.
22162  Generalmente continuarás la edición un rato más y al acabar liberarás los cambios.
22163  La línea de estado cambia para indicar que has bloqueado el archivo.
22164  
22165 \end_layout
22166
22167 \begin_layout Itemize
22168 Comando RCS:
22169  
22170 \family typewriter
22171 co -q -l <nombre-archivo>
22172 \end_layout
22173
22174 \begin_layout Subsubsection
22175
22176 \family sans
22177 Volver a la 
22178 \family default
22179 versión del repositorio
22180 \end_layout
22181
22182 \begin_layout Standard
22183 Esto descartará todos los cambios hechos en el documento desde la última liberación de cambios.
22184  Recibes un mensaje de aviso antes de descartar los cambios.
22185
22186 \family typewriter
22187  
22188 \end_layout
22189
22190 \begin_layout Itemize
22191 Comando RCS:
22192  
22193 \family typewriter
22194 co -f -u<version> <nombre-archivo>
22195 \end_layout
22196
22197 \begin_layout Subsubsection
22198 Copiar
22199 \end_layout
22200
22201 \begin_layout Standard
22202 Creará una copia del documento actual.
22203  Puesto que RCS no soporta nativamente operaciones de copia,
22204  el historial de versiones no se preserva y la copia se añade como archivo nuevo.
22205  Requiere un documento limpio sin ningún cambio desde la última liberación.
22206  Pedirá un nombre de archivo y una descripción de la operación de copia.
22207  Después se crea la copia localmente y en el repositorio.
22208  Si los directorios padre de los documentos original y copiado difieren,
22209  se ajustan todas las rutas relativas de los archivos incluidos en la copia (como en 
22210 \family sans
22211 Archivo\SpecialChar menuseparator
22212 Guardar como
22213 \family default
22214 \SpecialChar ldots
22215 ).
22216  Por último,
22217  se carga la copia en vez del documento original.
22218 \end_layout
22219
22220 \begin_layout Labeling
22221 \labelwidthstring 00.00.0000
22222 Comandos
22223 \begin_inset space ~
22224 \end_inset
22225
22226 RCS:
22227  
22228 \begin_inset space ~
22229 \end_inset
22230
22231
22232 \begin_inset Newline newline
22233 \end_inset
22234
22235 Copiar 
22236 \begin_inset Flex Code
22237 status collapsed
22238
22239 \begin_layout Plain Layout
22240
22241 \family typewriter
22242 \lang english
22243 \begin_inset Quotes qld
22244 \end_inset
22245
22246
22247 \family default
22248 \lang spanish
22249 <nombre-archivo>
22250 \family typewriter
22251 \lang english
22252
22253 \begin_inset Quotes qld
22254 \end_inset
22255
22256
22257 \end_layout
22258
22259 \end_inset
22260
22261  a 
22262 \begin_inset Flex Code
22263 status collapsed
22264
22265 \begin_layout Plain Layout
22266
22267 \family typewriter
22268 \lang english
22269 \begin_inset Quotes qld
22270 \end_inset
22271
22272
22273 \family default
22274 \lang spanish
22275 <nuevo-nombre-archivo>
22276 \family typewriter
22277 \lang english
22278
22279 \begin_inset Quotes qld
22280 \end_inset
22281
22282
22283 \end_layout
22284
22285 \end_inset
22286
22287
22288 \begin_inset Newline newline
22289 \end_inset
22290
22291
22292 \begin_inset Flex Code
22293 status collapsed
22294
22295 \begin_layout Plain Layout
22296 ci -q -u -i 
22297 \family typewriter
22298 \lang english
22299
22300 \begin_inset Quotes qld
22301 \end_inset
22302
22303
22304 \family default
22305 \lang spanish
22306 <nuevo-nombre-archivo>
22307 \family typewriter
22308 \lang english
22309
22310 \begin_inset Quotes qld
22311 \end_inset
22312
22313
22314 \family default
22315 \lang spanish
22316
22317 \begin_inset Quotes erd
22318 \end_inset
22319
22320
22321 \end_layout
22322
22323 \end_inset
22324
22325
22326 \end_layout
22327
22328 \begin_layout Subsubsection
22329
22330 \family sans
22331 Deshacer última liberación
22332 \end_layout
22333
22334 \begin_layout Standard
22335 Esto es como si la última liberación de cambios no hubiera sucedido.
22336  No se hacen cambios al documento cargado en \SpecialChar LyX
22337 ,
22338  pero la última versión es eliminada del archivo maestro RCS.
22339  
22340 \end_layout
22341
22342 \begin_layout Itemize
22343 Comando RCS:
22344  
22345 \family typewriter
22346 rcs -o<versión> <nombre-archivo>
22347 \end_layout
22348
22349 \begin_layout Subsubsection
22350
22351 \family sans
22352 Mostrar historial
22353 \end_layout
22354
22355 \begin_layout Standard
22356 Muestra el registro completo del historial del documento RCS.
22357  La salida de 
22358 \family typewriter
22359 rlog
22360 \family default
22361  
22362 \family typewriter
22363 <nombre-archivo>
22364 \family default
22365  se muestra en un buscador.
22366  Véase 
22367 \family typewriter
22368 man rlog
22369 \family default
22370  para más información.
22371 \end_layout
22372
22373 \begin_layout Subsubsection
22374 Información de revisión
22375 \end_layout
22376
22377 \begin_layout Standard
22378 \SpecialChar LyX
22379  soporta información de número de versión,
22380  autor,
22381  fecha y hora del último ingreso.
22382  Se obtienen de 
22383 \family typewriter
22384 rlog -r <nombre-archivo>
22385 \family default
22386 .
22387  Véase 
22388 \begin_inset CommandInset ref
22389 LatexCommand ref
22390 reference "subsec:VCS-Información-de-revisión"
22391 nolink "false"
22392
22393 \end_inset
22394
22395  para detalles.
22396 \end_layout
22397
22398 \begin_layout Subsection
22399 Comandos CVS en \SpecialChar LyX
22400
22401 \end_layout
22402
22403 \begin_layout Standard
22404 Ahora \SpecialChar LyX
22405  soporta un subconjunto de operaciones CVS.
22406  Puedes ver los comandos en el submenú 
22407 \family sans
22408 Archivo\SpecialChar menuseparator
22409 Control de versiones
22410 \family default
22411 .
22412  El sistema de control de versiones SVN es más poderoso,
22413  por lo que úsalo en lugar de CVS,
22414  si es posible.
22415 \end_layout
22416
22417 \begin_layout Subsubsection
22418 Uso general de CVS
22419 \end_layout
22420
22421 \begin_layout Standard
22422 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la copia de trabajo con herramientas externas.
22423  Si usas una configuración cliente-servidor puedes necesitar registrarte antes de hacer la primera reserva en el repositorio.
22424 \end_layout
22425
22426 \begin_layout Standard
22427 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.
22428  Los repositorios estándar CVS no operan con bloqueo de archivos.
22429  Esto puede sorprender,
22430  pero los conflictos solo suceden si la gente discrepa sobre el adecuado contenido de la misma parte de un documento.
22431  Por tanto,
22432  si los colaboradores acostumbran a comunicarse regularmente,
22433  los conflictos ocurren raramente.
22434  Si no se comunican,
22435  tienen un problema fundamental de todos modos.
22436  Con todo,
22437  algunos prefieren trabajar con las denominadas 
22438 \begin_inset Quotes cld
22439 \end_inset
22440
22441 reservas reservadas
22442 \begin_inset Quotes crd
22443 \end_inset
22444
22445 .
22446  Si lo hacen así,
22447  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.
22448  Cuando los cambios son liberados la copia de trabajo vuelve al estado solo lectura.
22449  Con \SpecialChar LyX
22450 ,
22451  uno debe editar el archivo 
22452 \begin_inset Flex Code
22453 status collapsed
22454
22455 \begin_layout Plain Layout
22456 .cvsrc
22457 \end_layout
22458
22459 \end_inset
22460
22461  y añadir la línea 
22462 \begin_inset Flex Code
22463 status collapsed
22464
22465 \begin_layout Plain Layout
22466 cvs -r
22467 \end_layout
22468
22469 \end_inset
22470
22471  para trabajar con 
22472 \begin_inset Quotes cld
22473 \end_inset
22474
22475 reservas reservadas
22476 \begin_inset Quotes crd
22477 \end_inset
22478
22479 .
22480  El beneficio es la posibilidad de ver quién está usando una copia con acceso a escritura de algún documento.
22481  No está garantizado que solo un usuario hace copias con permiso de escritura.
22482 \end_layout
22483
22484 \begin_layout Standard
22485 \SpecialChar LyX
22486  intenta averiguar si estás usando reservas reservadas o no.
22487  Si la copia de trabajo es solo lectura asume que es reservada,
22488  si admite escritura y una copia adicional del documento existe en el subdirectorio CVS/Base,
22489  asume que es no reservada.
22490  Si se detecta una reservada debes usar 
22491 \begin_inset Flex Noun
22492 status collapsed
22493
22494 \begin_layout Plain Layout
22495 Reservar
22496 \end_layout
22497
22498 \end_inset
22499
22500  para poder escribir en ella.
22501  Después de hacerlo,
22502  la operación 
22503 \begin_inset Flex Noun
22504 status collapsed
22505
22506 \begin_layout Plain Layout
22507 Liberar
22508 \end_layout
22509
22510 \end_inset
22511
22512  es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura después de transferir los cambios al repositorio.
22513 \end_layout
22514
22515 \begin_layout Standard
22516 Más información sobre CVS se puede encontrar en 
22517 \begin_inset Flex URL
22518 status collapsed
22519
22520 \begin_layout Plain Layout
22521
22522 http://www.nongnu.org/cvs
22523 \end_layout
22524
22525 \end_inset
22526
22527  y en 
22528 \begin_inset Flex URL
22529 status collapsed
22530
22531 \begin_layout Plain Layout
22532
22533 http://ximbiot.com/cvs
22534 \end_layout
22535
22536 \end_inset
22537
22538 .
22539 \end_layout
22540
22541 \begin_layout Standard
22542 Consulta 
22543 \begin_inset Flex Code
22544 status collapsed
22545
22546 \begin_layout Plain Layout
22547 man cvs
22548 \end_layout
22549
22550 \end_inset
22551
22552  para comprender los sub-comandos y conmutadores mencionados abajo.
22553 \end_layout
22554
22555 \begin_layout Subsubsection
22556 Registrar
22557 \end_layout
22558
22559 \begin_layout Standard
22560 Si el documento no está bajo control de revisión,
22561  este es el único ítem mostrado en el menú.
22562  Y si está bajo control de revisión,
22563  el ítem
22564 \family sans
22565  
22566 \begin_inset Flex Noun
22567 status collapsed
22568
22569 \begin_layout Plain Layout
22570
22571 \family sans
22572 Registrar
22573 \end_layout
22574
22575 \end_inset
22576
22577
22578 \family default
22579  no está visible.
22580 \end_layout
22581
22582 \begin_layout Standard
22583 Este comando registra tu documento en CVS 
22584 \begin_inset Flex Emph
22585 status collapsed
22586
22587 \begin_layout Plain Layout
22588 \begin_inset Flex Strong
22589 status collapsed
22590
22591 \begin_layout Plain Layout
22592 solo
22593 \end_layout
22594
22595 \end_inset
22596
22597
22598 \end_layout
22599
22600 \end_inset
22601
22602  en el caso de que ya tengas el directorio de documentos bajo control CVS (en particular,
22603  existe el archivo 
22604 \family typewriter
22605 CVS/Entries
22606 \family default
22607 ).
22608  Esto significa que debes crear o reservar el archivo por ti mismo usando herramientas externas.
22609  (En caso de olvidar este paso,
22610  \SpecialChar LyX
22611  registra el documento con RCS).
22612 \end_layout
22613
22614 \begin_layout Standard
22615 Después se te pide interactivamente una descripción inicial del documento.
22616  No olvides que el archivo registrado todavía no está liberado.
22617 \end_layout
22618
22619 \begin_layout Standard
22620 El comando CVS que es ejecutado:
22621  
22622 \family typewriter
22623 cvs -q add -m
22624 \begin_inset Quotes erd
22625 \end_inset
22626
22627 <entered message>" 
22628 \begin_inset Quotes eld
22629 \end_inset
22630
22631 <file-name>
22632 \begin_inset Quotes erd
22633 \end_inset
22634
22635
22636 \end_layout
22637
22638 \begin_layout Standard
22639 El término 
22640 \family typewriter
22641
22642 \begin_inset Quotes eld
22643 \end_inset
22644
22645 <file-name>
22646 \begin_inset Quotes erd
22647 \end_inset
22648
22649
22650 \family default
22651  anterior y en todos los demás comandos CVS es una abreviación para 
22652 \begin_inset Quotes cld
22653 \end_inset
22654
22655 cambiar el directorio de trabajo actual a la ubicación del archivo y usa el nombre de archivo sin el componente ruta como argumento
22656 \begin_inset Quotes crd
22657 \end_inset
22658
22659 .
22660 \end_layout
22661
22662 \begin_layout Subsubsection
22663 Liberar cambios
22664 \end_layout
22665
22666 \begin_layout Standard
22667 Cuando has terminado de editar un archivo se ingresan los cambios.
22668  Al hacerlo se te pide una descripción de los mismos.
22669  Después,
22670  los cambios son escritos en el repositorio.
22671  En caso de que no hayas cambiado el documento y se detecte una copia reservada se deshace la reserva hecha con 
22672 \begin_inset Flex Noun
22673 status collapsed
22674
22675 \begin_layout Plain Layout
22676 Reservar
22677 \end_layout
22678
22679 \end_inset
22680
22681 .
22682 \end_layout
22683
22684 \begin_layout Labeling
22685 \labelwidthstring 00.00.0000
22686 Comandos
22687 \begin_inset space ~
22688 \end_inset
22689
22690 CVS:
22691  
22692 \begin_inset space ~
22693 \end_inset
22694
22695
22696 \begin_inset Newline newline
22697 \end_inset
22698
22699
22700 \family typewriter
22701
22702 \begin_inset Flex Code
22703 status collapsed
22704
22705 \begin_layout Plain Layout
22706
22707 \family typewriter
22708 cvs -q commit -m"<description>" <file-name>
22709 \end_layout
22710
22711 \end_inset
22712
22713  
22714 \family default
22715 o
22716 \begin_inset Newline newline
22717 \end_inset
22718
22719
22720 \begin_inset Flex Code
22721 status collapsed
22722
22723 \begin_layout Plain Layout
22724 cvs -q unedit "<file-name>"
22725 \end_layout
22726
22727 \end_inset
22728
22729
22730 \end_layout
22731
22732 \begin_layout Subsubsection
22733 Reservar cambios
22734 \end_layout
22735
22736 \begin_layout Standard
22737 Cuando estás compartiendo un repositorio con otros,
22738  puede que tengas que incorporar sus cambios en tu copia de trabajo.
22739 \end_layout
22740
22741 \begin_layout Standard
22742 Comando CVS:
22743  
22744 \family typewriter
22745 cvs -q update "<file-name>"
22746 \end_layout
22747
22748 \begin_layout Standard
22749 Si se detecta una reserva solo lectura la copia se hace reservada y accesible a escritura.
22750 \end_layout
22751
22752 \begin_layout Standard
22753 Comando CVS:
22754  
22755 \family typewriter
22756 cvs -q edit "<file-name>"
22757 \end_layout
22758
22759 \begin_layout Subsubsection
22760 Volver a la versión del repositorio
22761 \end_layout
22762
22763 \begin_layout Standard
22764 Esto descartará todos los cambios hechos en el documento desde la última liberación.
22765  Recibes un mensaje de aviso antes de descartar los cambios.
22766  Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
22767
22768 \family typewriter
22769  
22770 \end_layout
22771
22772 \begin_layout Standard
22773 Comando CVS:
22774  
22775 \family typewriter
22776 cvs -q update 
22777 \begin_inset Quotes eld
22778 \end_inset
22779
22780 <file-name>
22781 \begin_inset Quotes erd
22782 \end_inset
22783
22784
22785 \end_layout
22786
22787 \begin_layout Standard
22788 Si se detecta una copia reservada y la copia de trabajo no tiene cambios solo se deshace la reserva.
22789 \end_layout
22790
22791 \begin_layout Standard
22792 Comando CVS:
22793  
22794 \family typewriter
22795 cvs -q unedit 
22796 \begin_inset Quotes eld
22797 \end_inset
22798
22799 <file-name>
22800 \begin_inset Quotes erd
22801 \end_inset
22802
22803
22804 \end_layout
22805
22806 \begin_layout Subsubsection
22807 Copiar
22808 \end_layout
22809
22810 \begin_layout Standard
22811 Creará una copia del documento actual.
22812  Como CVS no soporta de forma nativa operaciones de copia,
22813  el historial de versiones no se preserva y la copia se añade como archivo nuevo.
22814  Requiere un documento limpio sin ningún cambio desde la última liberación.
22815  Pedirá un nombre de archivo y una descripción de la operación de copia.
22816  Después se crea la copia localmente y en el repositorio.
22817  Si los directorios padre de los documentos original y copiado difieren,
22818  se ajustan todas las rutas relativas de los archivos incluidos en la copia (como en 
22819 \family sans
22820 Archivo\SpecialChar menuseparator
22821 Guardar como
22822 \family default
22823 \SpecialChar ldots
22824 ).
22825  Por último,
22826  se carga la copia en vez del documento original.
22827 \end_layout
22828
22829 \begin_layout Labeling
22830 \labelwidthstring 00.00.0000
22831 Comandos
22832 \begin_inset space ~
22833 \end_inset
22834
22835 CVS:
22836  
22837 \begin_inset space ~
22838 \end_inset
22839
22840
22841 \begin_inset Newline newline
22842 \end_inset
22843
22844 Copiar 
22845 \begin_inset Flex Code
22846 status collapsed
22847
22848 \begin_layout Plain Layout
22849
22850 \family typewriter
22851 \lang ngerman
22852 "
22853 \family default
22854 \lang spanish
22855 <file-name>
22856 \family typewriter
22857 \lang ngerman
22858 "
22859 \end_layout
22860
22861 \end_inset
22862
22863  a 
22864 \begin_inset Flex Code
22865 status collapsed
22866
22867 \begin_layout Plain Layout
22868
22869 \family typewriter
22870 \lang ngerman
22871 "
22872 \family default
22873 \lang spanish
22874 <new-file-name>
22875 \family typewriter
22876 \lang ngerman
22877 "
22878 \end_layout
22879
22880 \end_inset
22881
22882
22883 \begin_inset Newline newline
22884 \end_inset
22885
22886
22887 \begin_inset Flex Code
22888 status collapsed
22889
22890 \begin_layout Plain Layout
22891 cvs -q add 
22892 \family typewriter
22893 \lang ngerman
22894 "
22895 \family default
22896 \lang spanish
22897 <new-file-name>
22898 \family typewriter
22899 \lang ngerman
22900 "
22901 \end_layout
22902
22903 \end_inset
22904
22905
22906 \end_layout
22907
22908 \begin_layout Subsubsection
22909 Renombrar
22910 \end_layout
22911
22912 \begin_layout Standard
22913 Este comando renombra el documento actual.
22914  Como CVS no soporta de forma nativa operaciones de renombrado,
22915  el historial de versiones no se preserva,
22916  el documento renombrado se añade como archivo nuevo y el original se borra.
22917  Requiere un documento limpio sin ningún cambio desde la última liberación.
22918  Pedirá un nombre de archivo y una descripción de la operación.
22919  Después el documento se renombra localmente y en el repositorio.
22920  Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
22921  se ajustan todas las rutas relativas de los archivos incluidos (como en 
22922 \family sans
22923 Archivo\SpecialChar menuseparator
22924 Guardar como
22925 \family default
22926 \SpecialChar ldots
22927 ).
22928  Por último,
22929  se recarga el documento con el nuevo nombre.
22930 \end_layout
22931
22932 \begin_layout Labeling
22933 \labelwidthstring 00.00.0000
22934 Comandos
22935 \begin_inset space ~
22936 \end_inset
22937
22938 CVS:
22939  
22940 \begin_inset space ~
22941 \end_inset
22942
22943
22944 \begin_inset Newline newline
22945 \end_inset
22946
22947 Renombrar 
22948 \begin_inset Flex Code
22949 status collapsed
22950
22951 \begin_layout Plain Layout
22952
22953 \family typewriter
22954 \lang ngerman
22955 "
22956 \family default
22957 \lang spanish
22958 <file-name>
22959 \family typewriter
22960 \lang ngerman
22961 "
22962 \end_layout
22963
22964 \end_inset
22965
22966  a 
22967 \begin_inset Flex Code
22968 status collapsed
22969
22970 \begin_layout Plain Layout
22971
22972 \family typewriter
22973 \lang ngerman
22974 "
22975 \family default
22976 \lang spanish
22977 <new-file-name>
22978 \family typewriter
22979 \lang ngerman
22980 "
22981 \end_layout
22982
22983 \end_inset
22984
22985
22986 \begin_inset Newline newline
22987 \end_inset
22988
22989
22990 \begin_inset Flex Code
22991 status collapsed
22992
22993 \begin_layout Plain Layout
22994 cvs -q add 
22995 \family typewriter
22996 \lang ngerman
22997 "
22998 \family default
22999 \lang spanish
23000 <new-file-name>
23001 \family typewriter
23002 \lang ngerman
23003 "
23004 \end_layout
23005
23006 \end_inset
23007
23008
23009 \begin_inset Newline newline
23010 \end_inset
23011
23012
23013 \begin_inset Flex Code
23014 status collapsed
23015
23016 \begin_layout Plain Layout
23017 cvs -q remove 
23018 \family typewriter
23019 \lang ngerman
23020 "
23021 \family default
23022 \lang spanish
23023 <file-name>
23024 \family typewriter
23025 \lang ngerman
23026 "
23027 \end_layout
23028
23029 \end_inset
23030
23031
23032 \end_layout
23033
23034 \begin_layout Subsubsection
23035 Actualizar la reserva del directorio local desde el repositorio
23036 \end_layout
23037
23038 \begin_layout Standard
23039 Conforme tus documentos son más complejos,
23040  conteniendo sub-documentos y figuras e incluyendo archivos externos 
23041 \family typewriter
23042 .tex
23043 \family default
23044  y demás,
23045  el uso de control de versiones se hace más complejo.
23046  \SpecialChar LyX
23047  soporta la actualización del árbol completo en el que reside el documento.
23048  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.
23049  Tienes que organizar la estructura de archivos para que los archivos externos residan en el mismo directorio o subdirectorio del documento.
23050  Es una buena práctica de todos modos almacenar los documentos multi-parte en un directorio extra.
23051 \end_layout
23052
23053 \begin_layout Standard
23054 El comando 
23055 \begin_inset Flex Code
23056 status collapsed
23057
23058 \begin_layout Plain Layout
23059 Actualizar directorio local desde el repositorio
23060 \end_layout
23061
23062 \end_inset
23063
23064  actualiza el directorio completo.
23065  Si se detectan cambios locales el usuario es advertido antes de iniciar la actualización.
23066  En caso de conflictos en la fusión ambas versiones de las partes conflictivas se sitúan al final del documento.
23067  Debes revisar y corregir el resultado de la fusión.
23068  Los conflictos los verás encerrados entre pares de 
23069 \begin_inset Flex Code
23070 status collapsed
23071
23072 \begin_layout Plain Layout
23073 <<<<<<<
23074 \end_layout
23075
23076 \end_inset
23077
23078  y 
23079 \begin_inset Flex Code
23080 status collapsed
23081
23082 \begin_layout Plain Layout
23083 >>>>>>>
23084 \end_layout
23085
23086 \end_inset
23087
23088  separados por 
23089 \begin_inset Flex Code
23090 status collapsed
23091
23092 \begin_layout Plain Layout
23093 =======
23094 \end_layout
23095
23096 \end_inset
23097
23098 .
23099  La parte primera es tu versión antes de la operación de actualización con pecedida del nombre del documento.
23100  La segunda es la versión del repositorio con el número de la versión tras la secuencia de signos 
23101 \begin_inset Flex Code
23102 status collapsed
23103
23104 \begin_layout Plain Layout
23105 >
23106 \end_layout
23107
23108 \end_inset
23109
23110 .
23111 \end_layout
23112
23113 \begin_layout Labeling
23114 \labelwidthstring 00.00.0000
23115 Comandos
23116 \begin_inset space ~
23117 \end_inset
23118
23119 CVS:
23120  
23121 \begin_inset space ~
23122 \end_inset
23123
23124
23125 \begin_inset Newline newline
23126 \end_inset
23127
23128
23129 \begin_inset Flex Code
23130 status collapsed
23131
23132 \begin_layout Plain Layout
23133 cd $path;
23134  cvs diff "."
23135 \end_layout
23136
23137 \end_inset
23138
23139  (Para ver si se detectan cambios)
23140 \begin_inset Newline newline
23141 \end_inset
23142
23143
23144 \begin_inset Flex Code
23145 status collapsed
23146
23147 \begin_layout Plain Layout
23148 cd $path;
23149  cvs -q update "."
23150 \end_layout
23151
23152 \end_inset
23153
23154
23155 \end_layout
23156
23157 \begin_layout Standard
23158 donde 
23159 \begin_inset Flex Code
23160 status collapsed
23161
23162 \begin_layout Plain Layout
23163 $path
23164 \end_layout
23165
23166 \end_inset
23167
23168  es la ruta al documento.
23169 \end_layout
23170
23171 \begin_layout Subsubsection
23172 Mostrar historial
23173 \end_layout
23174
23175 \begin_layout Standard
23176 Muestra el historial completo del documento CVS.
23177  La salida de
23178 \begin_inset Newline newline
23179 \end_inset
23180
23181
23182 \family typewriter
23183 cvs log 
23184 \begin_inset Quotes eld
23185 \end_inset
23186
23187 <file-name>
23188 \family default
23189
23190 \begin_inset Quotes erd
23191 \end_inset
23192
23193  se muestra en un buscador.
23194 \end_layout
23195
23196 \begin_layout Subsubsection
23197 Información de la revisión
23198 \end_layout
23199
23200 \begin_layout Standard
23201 \SpecialChar LyX
23202  soporta número de versión CVS,
23203  nombre de autor,
23204  fecha y hora del último ingreso.
23205  Toda esta información se obtiene de
23206 \family typewriter
23207  cvs log -r <file-name>
23208 \family default
23209 .
23210  Véase 
23211 \begin_inset CommandInset ref
23212 LatexCommand ref
23213 reference "subsec:VCS-Información-de-revisión"
23214 nolink "false"
23215
23216 \end_inset
23217
23218  para detalles.
23219 \end_layout
23220
23221 \begin_layout Subsection
23222 Comandos SVN en Lyx
23223 \end_layout
23224
23225 \begin_layout Standard
23226 Ahora \SpecialChar LyX
23227  soporta parcialmente SVN.
23228  Puedes encontrar los comandos en el submenú 
23229 \family sans
23230 Archivo\SpecialChar menuseparator
23231 Control de versiones
23232 \family default
23233 .
23234  Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio vía ssh,
23235  se te pedirá en una ventana de terminal.
23236  \SpecialChar LyX
23237  se ha probado con SVN 1.5 y 1.6.
23238 \begin_inset Foot
23239 status open
23240
23241 \begin_layout Plain Layout
23242 La mayoría de los comandos funcionarán también con 1.4,
23243  véase 
23244 \begin_inset CommandInset ref
23245 LatexCommand ref
23246 reference "subsec:SVN-Actualizar-el-directorio"
23247 nolink "false"
23248
23249 \end_inset
23250
23251
23252 \end_layout
23253
23254 \end_inset
23255
23256
23257 \end_layout
23258
23259 \begin_layout Subsubsection
23260 Registrar
23261 \end_layout
23262
23263 \begin_layout Standard
23264 Si tu documento no está bajo control de revisión este es el único ítem mostrado en el menú.
23265  Y si está bajo control de revisión,
23266  el ítem 
23267 \family sans
23268 Registrar
23269 \family default
23270  no está visible.
23271 \end_layout
23272
23273 \begin_layout Standard
23274 Este comando registra tu documento en SVN 
23275 \series bold
23276 \emph on
23277 solo
23278 \series default
23279 \emph default
23280  en el caso de que ya tengas el directorio de documentos bajo control SVN ( en particular,
23281  existe el archivo 
23282 \family typewriter
23283 .svn/entries
23284 \family default
23285 ).
23286  Esto significa que debes reservar el archivo por ti mismo.
23287 \end_layout
23288
23289 \begin_layout Standard
23290 Después se te pide interactivamente una descripción inicial del documento.
23291  No olvides que el archivo registrado todavía no es definitivo.
23292 \end_layout
23293
23294 \begin_layout Standard
23295 El comando SVN que es ejecutado:
23296  
23297 \family typewriter
23298 snv add -q 
23299 \lang english
23300
23301 \begin_inset Quotes qld
23302 \end_inset
23303
23304
23305 \lang spanish
23306 <file-name>
23307 \lang english
23308
23309 \begin_inset Quotes qld
23310 \end_inset
23311
23312
23313 \end_layout
23314
23315 \begin_layout Standard
23316 Lee 
23317 \family typewriter
23318 man svn
23319 \family default
23320  para comprender las alternativas.
23321 \end_layout
23322
23323 \begin_layout Subsubsection
23324 Liberar cambios
23325 \end_layout
23326
23327 \begin_layout Standard
23328 Cuando has terminado de editar un archivo,
23329  ingresas los cambios.
23330  Al hacerlo se te pide una descripción de los mismos.
23331  Después,
23332  los cambios son ingresados.
23333 \end_layout
23334
23335 \begin_layout Standard
23336 Comando SVN:
23337 \begin_inset Foot
23338 status collapsed
23339
23340 \begin_layout Plain Layout
23341 En el caso de que el bloqueo no esté habilitado.
23342  Véase la sección 
23343 \begin_inset CommandInset ref
23344 LatexCommand ref
23345 reference "subsec:SVN-Bloqueo-de-archivos"
23346 nolink "false"
23347
23348 \end_inset
23349
23350 .
23351 \end_layout
23352
23353 \end_inset
23354
23355  
23356 \family typewriter
23357 svn commit -q -m"<description>" <file-name>
23358 \end_layout
23359
23360 \begin_layout Subsubsection
23361 Reservar para edición
23362 \end_layout
23363
23364 \begin_layout Standard
23365 Actualiza los cambios de este archivo desde el repositorio.
23366  Asegúrate de que comprendes la mezcla y la resolución de conflictos de SVN antes de usar esta función,
23367  porque ¡todos los conflictos debes resolverlos tú mismo a mano!
23368 \end_layout
23369
23370 \begin_layout Standard
23371 Comando SVN:
23372 \begin_inset Foot
23373 status collapsed
23374
23375 \begin_layout Plain Layout
23376 Ídem.
23377 \end_layout
23378
23379 \end_inset
23380
23381  
23382 \family typewriter
23383 svn update 
23384 \family default
23385
23386 \begin_inset Flex Code
23387 status collapsed
23388
23389 \begin_layout Plain Layout
23390 --non-interactive 
23391 \lang english
23392
23393 \begin_inset Quotes qld
23394 \end_inset
23395
23396
23397 \lang spanish
23398 <file-name>
23399 \lang english
23400
23401 \begin_inset Quotes qld
23402 \end_inset
23403
23404
23405 \end_layout
23406
23407 \end_inset
23408
23409
23410 \end_layout
23411
23412 \begin_layout Subsubsection
23413 Volver a la versión del repositorio
23414 \end_layout
23415
23416 \begin_layout Standard
23417 Esto descartará todos los cambios hechos en el documento desde la última liberación de cambios.
23418  Recibes un mensaje de aviso antes de descartar los cambios.
23419 \end_layout
23420
23421 \begin_layout Standard
23422 Comando SVN:
23423  
23424 \family typewriter
23425 svn revert -q 
23426 \lang english
23427
23428 \begin_inset Quotes qld
23429 \end_inset
23430
23431
23432 \lang spanish
23433 <file-name>
23434 \lang english
23435
23436 \begin_inset Quotes qld
23437 \end_inset
23438
23439
23440 \end_layout
23441
23442 \begin_layout Subsubsection
23443 Copiar
23444 \end_layout
23445
23446 \begin_layout Standard
23447 Creará una copia del documento actual incluyendo el historial de versiones.
23448  Requiere un documento limpio sin ningún cambio desde la última liberación.
23449  Pedirá un nombre de archivo y una descripción de la operación de copia.
23450  Después se crea la copia localmente y en el repositorio.
23451  Si los directorios padre de los documentos original y copiado difieren,
23452  se ajustan todas las rutas relativas de los archivos incluidos de la copia (como en 
23453 \family sans
23454 Archivo\SpecialChar menuseparator
23455 Guardar como
23456 \family default
23457 \SpecialChar ldots
23458 ).
23459  Por último,
23460  se carga la copia en vez del documento original
23461 \end_layout
23462
23463 \begin_layout Labeling
23464 \labelwidthstring 00.00.0000
23465 Comandos
23466 \begin_inset space ~
23467 \end_inset
23468
23469 SVN:
23470  
23471 \begin_inset space ~
23472 \end_inset
23473
23474
23475 \begin_inset Newline newline
23476 \end_inset
23477
23478
23479 \begin_inset Flex Code
23480 status collapsed
23481
23482 \begin_layout Plain Layout
23483 svn copy -q 
23484 \family typewriter
23485 \lang english
23486
23487 \begin_inset Quotes qld
23488 \end_inset
23489
23490
23491 \family default
23492 \lang spanish
23493 <file-name>
23494 \family typewriter
23495 \lang english
23496
23497 \begin_inset Quotes qld
23498 \end_inset
23499
23500
23501 \family default
23502 \lang spanish
23503  
23504 \family typewriter
23505 \lang english
23506
23507 \begin_inset Quotes qld
23508 \end_inset
23509
23510
23511 \family default
23512 \lang spanish
23513 <new-file-name>
23514 \family typewriter
23515 \lang english
23516
23517 \begin_inset Quotes qld
23518 \end_inset
23519
23520
23521 \end_layout
23522
23523 \end_inset
23524
23525
23526 \begin_inset Newline newline
23527 \end_inset
23528
23529
23530 \begin_inset Flex Code
23531 status collapsed
23532
23533 \begin_layout Plain Layout
23534 svn commit
23535 \end_layout
23536
23537 \end_inset
23538
23539
23540 \end_layout
23541
23542 \begin_layout Subsubsection
23543 Renombrar
23544 \end_layout
23545
23546 \begin_layout Standard
23547 Renombrará el documento actual incluyendo el historial de versiones.
23548  Requiere un documento limpio sin ningún cambio desde la última liberación.
23549  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
23550  Después se renombra el documento localmente y en el repositorio.
23551  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
23552  se ajustan todas las rutas relativas de los archivos incluidos (como en 
23553 \family sans
23554 Archivo\SpecialChar menuseparator
23555 Guardar como
23556 \family default
23557 \SpecialChar ldots
23558 ).
23559  Por último,
23560  se recarga el documento con su nuevo nombre.
23561 \end_layout
23562
23563 \begin_layout Labeling
23564 \labelwidthstring 00.00.0000
23565 Comandos
23566 \begin_inset space ~
23567 \end_inset
23568
23569 SVN:
23570  
23571 \begin_inset space ~
23572 \end_inset
23573
23574
23575 \begin_inset Newline newline
23576 \end_inset
23577
23578
23579 \begin_inset Flex Code
23580 status collapsed
23581
23582 \begin_layout Plain Layout
23583 svn move -q 
23584 \family typewriter
23585 \lang english
23586
23587 \begin_inset Quotes qld
23588 \end_inset
23589
23590
23591 \family default
23592 \lang spanish
23593 <file-name>
23594 \family typewriter
23595 \lang english
23596
23597 \begin_inset Quotes qld
23598 \end_inset
23599
23600
23601 \family default
23602 \lang spanish
23603  
23604 \family typewriter
23605 \lang english
23606
23607 \begin_inset Quotes qld
23608 \end_inset
23609
23610
23611 \family default
23612 \lang spanish
23613 <new-file-name>
23614 \family typewriter
23615 \lang english
23616
23617 \begin_inset Quotes qld
23618 \end_inset
23619
23620
23621 \end_layout
23622
23623 \end_inset
23624
23625
23626 \begin_inset Newline newline
23627 \end_inset
23628
23629
23630 \begin_inset Flex Code
23631 status collapsed
23632
23633 \begin_layout Plain Layout
23634 svn commit
23635 \end_layout
23636
23637 \end_inset
23638
23639
23640 \end_layout
23641
23642 \begin_layout Subsubsection
23643 Actualizar la reserva del directorio local desde el repositio
23644 \begin_inset Foot
23645 status open
23646
23647 \begin_layout Plain Layout
23648 Ten en cuenta que este comando solo funcionará con 
23649 \begin_inset Formula $\geqq1.5$
23650 \end_inset
23651
23652
23653 \end_layout
23654
23655 \end_inset
23656
23657
23658 \begin_inset CommandInset label
23659 LatexCommand label
23660 name "subsec:SVN-Actualizar-el-directorio"
23661
23662 \end_inset
23663
23664
23665 \end_layout
23666
23667 \begin_layout Standard
23668 Todos los comandos anteriores tienen un defecto:
23669  solo negocian con el documento actual.
23670  Una vez que el documento contiene figuras,
23671  archivos externos 
23672 \family typewriter
23673 .tex
23674 \family default
23675 ,
23676  etc.,
23677  su administración se hace más complicada.
23678  Ahora \SpecialChar LyX
23679  soporta la actualización del árbol completo en el que reside el documento.
23680 \begin_inset Foot
23681 status open
23682
23683 \begin_layout Plain Layout
23684 Hay que organizar la estructura de archivos de modo que todos los archivos externos estén en el mismo directorio o subdirectorios del documento.
23685 \end_layout
23686
23687 \end_inset
23688
23689  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.
23690 \end_layout
23691
23692 \begin_layout Standard
23693 El comando 
23694 \begin_inset Flex Code
23695 status collapsed
23696
23697 \begin_layout Plain Layout
23698 Actualizar directorio local desde el repositorio
23699 \end_layout
23700
23701 \end_inset
23702
23703  actualiza el directorio completo y en caso de conflictos con la mezcla se deja la versión local de los archivos,
23704  para que no haya pérdida indeseada de datos.
23705  Si se detectan cambios locales se avisa al usuario antes de iniciar la actualización.
23706 \end_layout
23707
23708 \begin_layout Labeling
23709 \labelwidthstring 00.00.0000
23710 Comandos
23711 \begin_inset space ~
23712 \end_inset
23713
23714 SVN:
23715  
23716 \begin_inset space ~
23717 \end_inset
23718
23719
23720 \begin_inset Newline newline
23721 \end_inset
23722
23723
23724 \begin_inset Flex Code
23725 status collapsed
23726
23727 \begin_layout Plain Layout
23728 svn diff $path
23729 \end_layout
23730
23731 \end_inset
23732
23733  (Para ver si se detectan cambios.)
23734 \begin_inset Newline newline
23735 \end_inset
23736
23737
23738 \begin_inset Flex Code
23739 status collapsed
23740
23741 \begin_layout Plain Layout
23742 svn update --accept mine-full $path
23743 \end_layout
23744
23745 \end_inset
23746
23747
23748 \end_layout
23749
23750 \begin_layout Standard
23751 donde 
23752 \family typewriter
23753 $path
23754 \family default
23755  es la ruta al documento.
23756 \end_layout
23757
23758 \begin_layout Subsubsection
23759 Mostrar historial
23760 \end_layout
23761
23762 \begin_layout Standard
23763 Muestra el historial completo del documento SVN.
23764  La salida de
23765 \begin_inset Newline newline
23766 \end_inset
23767
23768
23769 \family typewriter
23770 svn log 
23771 \lang english
23772
23773 \begin_inset Quotes qld
23774 \end_inset
23775
23776
23777 \lang spanish
23778 <file-name>
23779 \lang english
23780
23781 \begin_inset Quotes qld
23782 \end_inset
23783
23784
23785 \family default
23786 \lang spanish
23787  se muestra en un buscador.
23788 \end_layout
23789
23790 \begin_layout Subsubsection
23791 Bloqueo de archivos
23792 \begin_inset CommandInset label
23793 LatexCommand label
23794 name "subsec:SVN-Bloqueo-de-archivos"
23795
23796 \end_inset
23797
23798
23799 \end_layout
23800
23801 \begin_layout Standard
23802 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).
23803  Cuando sucede un conflicto requiere una solución manual,
23804  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.
23805 \end_layout
23806
23807 \begin_layout Standard
23808 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca en el acceso a archivos,
23809
23810 \lang english
23811  –
23812 \lang spanish
23813 bloqueos y configuración automática de permisos de escritura (véase la sec.
23814 \begin_inset space ~
23815 \end_inset
23816
23817
23818 \begin_inset CommandInset ref
23819 LatexCommand ref
23820 reference "subsec:SVN-Bloqueo-automático"
23821 nolink "false"
23822
23823 \end_inset
23824
23825 ),
23826  basados en la propiedad de los archivos svn 
23827 \begin_inset Flex Code
23828 status collapsed
23829
23830 \begin_layout Plain Layout
23831 svn:needs-lock
23832 \end_layout
23833
23834 \end_inset
23835
23836 .
23837 \begin_inset Foot
23838 status collapsed
23839
23840 \begin_layout Plain Layout
23841 \begin_inset CommandInset href
23842 LatexCommand href
23843 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
23844 literal "false"
23845
23846 \end_inset
23847
23848
23849 \end_layout
23850
23851 \end_inset
23852
23853  Si esta propiedad se detecta para determinado documento,
23854  \SpecialChar LyX
23855  empieza automáticamente a usar bloqueo SVN para la edición del documento,
23856  y el mecanismo completo de liberación/reserva conmuta al mismo régimen que para RCS.
23857  En particular,
23858  esto quiere decir que hay dos modos diferentes de uso archivos en \SpecialChar LyX
23859 :
23860 \end_layout
23861
23862 \begin_layout Itemize
23863 Estado no bloqueado.
23864  El archivo cargado está en modo solo lectura.
23865  Para editar hay que reservar.
23866  
23867 \emph on
23868 Reservar
23869 \emph default
23870  consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
23871  Si no es posible obtener el bloqueo permanece el estado no bloquedo.
23872 \end_layout
23873
23874 \begin_layout Itemize
23875 Estado bloqueado.
23876  El archivo cargado está en modo 
23877 \begin_inset Quotes cld
23878 \end_inset
23879
23880 normal
23881 \begin_inset Quotes crd
23882 \end_inset
23883
23884  de edición.
23885  Ningún otro usuario tiene permiso para editar el archivo.
23886  
23887 \emph on
23888 Liberar
23889 \emph default
23890  consiste en ingresar los cambios y liberar el bloqueo de escritura.
23891  Si no se han hecho cambios en el documento,
23892  no se producirá ningún ingreso
23893 \begin_inset Foot
23894 status collapsed
23895
23896 \begin_layout Plain Layout
23897 No te extrañe si de todas formas se te pide un mensaje de ingreso.
23898 \end_layout
23899
23900 \end_inset
23901
23902  y solo se realizará el desbloqueo de escritura.
23903 \end_layout
23904
23905 \begin_layout Standard
23906 Comandos SVN:
23907 \end_layout
23908
23909 \begin_layout Labeling
23910 \labelwidthstring 00.00.0000
23911 Liberar:
23912
23913 \family typewriter
23914  svn commit -q -m"<description>" "<file-name>"
23915 \begin_inset Newline newline
23916 \end_inset
23917
23918 svn unlock "<file-name>"
23919 \end_layout
23920
23921 \begin_layout Labeling
23922 \labelwidthstring 00.00.0000
23923 Reservar
23924 \begin_inset Note Note
23925 status open
23926
23927 \begin_layout Plain Layout
23928 traduccion http://forum.wordreference.com/showthread.php?t=689994
23929 \end_layout
23930
23931 \end_inset
23932
23933 :
23934  
23935 \family typewriter
23936 svn update "<file-name>"
23937 \begin_inset Newline newline
23938 \end_inset
23939
23940 svn lock "<file-name>"
23941 \end_layout
23942
23943 \begin_layout Subsubsection
23944 Propiedad de bloqueo automático
23945 \begin_inset CommandInset label
23946 LatexCommand label
23947 name "subsec:SVN-Bloqueo-automático"
23948
23949 \end_inset
23950
23951
23952 \end_layout
23953
23954 \begin_layout Standard
23955 La configuración automática de los permisos de escritura del archivo .lyx se establece con 
23956 \begin_inset Flex Noun
23957 status collapsed
23958
23959 \begin_layout Plain Layout
23960 Archivo\SpecialChar menuseparator
23961 Control de versiones\SpecialChar menuseparator
23962 Use propiedad de bloqueo
23963 \end_layout
23964
23965 \end_inset
23966
23967 .
23968  Este comando está activo solo cuando el archivo no está bloqueado en el servidor svn (es decir,
23969  debes reservar antes de proceder).
23970 \end_layout
23971
23972 \begin_layout Labeling
23973 \labelwidthstring 00.00.0000
23974 Comandos
23975 \begin_inset space ~
23976 \end_inset
23977
23978 SVN:
23979 \end_layout
23980
23981 \begin_layout Labeling
23982 \labelwidthstring 00.00.0000
23983 Activar:
23984
23985 \family typewriter
23986  svn propset svn:needs-lock ON "<file-name>"
23987 \end_layout
23988
23989 \begin_layout Labeling
23990 \labelwidthstring 00.00.0000
23991 Desactivar:
23992  
23993 \family typewriter
23994 svn propdel svn:needs-lock "<file-name>"
23995 \end_layout
23996
23997 \begin_layout Subsubsection
23998 Información de revisión en documentos
23999 \begin_inset CommandInset label
24000 LatexCommand label
24001 name "subsec:VCS-Información-de-revisión"
24002
24003 \end_inset
24004
24005
24006 \end_layout
24007
24008 \begin_layout Standard
24009 Hay más posibilidades para activar la información de revisión en nuestro documento.
24010 \end_layout
24011
24012 \begin_layout Itemize
24013 \SpecialChar LyX
24014  lo soporta directamente.
24015 \end_layout
24016
24017 \begin_deeper
24018 \begin_layout Itemize
24019 Información de revisión del árbol (
24020 \begin_inset Flex Code
24021 status collapsed
24022
24023 \begin_layout Plain Layout
24024 vcs-tree-revision
24025 \end_layout
24026
24027 \end_inset
24028
24029 ).
24030  El resultado es la salida del comando 
24031 \begin_inset Flex Code
24032 status collapsed
24033
24034 \begin_layout Plain Layout
24035 svnversion
24036 \end_layout
24037
24038 \end_inset
24039
24040 ;
24041  el siguiente cuadro da una idea de la interpretación de los resultados.
24042 \end_layout
24043
24044 \begin_layout Standard
24045 \align center
24046 \begin_inset Tabular
24047 <lyxtabular version="3" rows="6" columns="2">
24048 <features tabularvalignment="middle">
24049 <column alignment="center" valignment="top">
24050 <column alignment="center" valignment="top">
24051 <row>
24052 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24053 \begin_inset Text
24054
24055 \begin_layout Plain Layout
24056 Salida
24057 \end_layout
24058
24059 \end_inset
24060 </cell>
24061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24062 \begin_inset Text
24063
24064 \begin_layout Plain Layout
24065 Significado
24066 \end_layout
24067
24068 \end_inset
24069 </cell>
24070 </row>
24071 <row>
24072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24073 \begin_inset Text
24074
24075 \begin_layout Plain Layout
24076 4123:4168
24077 \end_layout
24078
24079 \end_inset
24080 </cell>
24081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24082 \begin_inset Text
24083
24084 \begin_layout Plain Layout
24085 revisión mezclada de la copia de trabajo
24086 \end_layout
24087
24088 \end_inset
24089 </cell>
24090 </row>
24091 <row>
24092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24093 \begin_inset Text
24094
24095 \begin_layout Plain Layout
24096 4168M
24097 \end_layout
24098
24099 \end_inset
24100 </cell>
24101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24102 \begin_inset Text
24103
24104 \begin_layout Plain Layout
24105 copia de trabajo modificada
24106 \end_layout
24107
24108 \end_inset
24109 </cell>
24110 </row>
24111 <row>
24112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24113 \begin_inset Text
24114
24115 \begin_layout Plain Layout
24116 4123S
24117 \end_layout
24118
24119 \end_inset
24120 </cell>
24121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24122 \begin_inset Text
24123
24124 \begin_layout Plain Layout
24125 copia de trabajo conmutada
24126 \end_layout
24127
24128 \end_inset
24129 </cell>
24130 </row>
24131 <row>
24132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24133 \begin_inset Text
24134
24135 \begin_layout Plain Layout
24136 4123P
24137 \end_layout
24138
24139 \end_inset
24140 </cell>
24141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24142 \begin_inset Text
24143
24144 \begin_layout Plain Layout
24145 copia de trabajo parcial,
24146  de una reserva dispersa
24147 \end_layout
24148
24149 \end_inset
24150 </cell>
24151 </row>
24152 <row>
24153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24154 \begin_inset Text
24155
24156 \begin_layout Plain Layout
24157 4123:4168MS
24158 \end_layout
24159
24160 \end_inset
24161 </cell>
24162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24163 \begin_inset Text
24164
24165 \begin_layout Plain Layout
24166 copia de trabajo de revisión mezclada,
24167  modificada,
24168  conmutada
24169 \end_layout
24170
24171 \end_inset
24172 </cell>
24173 </row>
24174 </lyxtabular>
24175
24176 \end_inset
24177
24178
24179 \end_layout
24180
24181 \begin_layout Itemize
24182 Información de revisión del archivo.
24183  El resultado del análisis de la salida de 
24184 \begin_inset Flex Code
24185 status collapsed
24186
24187 \begin_layout Plain Layout
24188 svn
24189 \begin_inset space ~
24190 \end_inset
24191
24192 info
24193 \begin_inset space ~
24194 \end_inset
24195
24196 --xml
24197 \begin_inset space ~
24198 \end_inset
24199
24200 file.lyx
24201 \end_layout
24202
24203 \end_inset
24204
24205 .
24206  Los argumentos soportados son:
24207 \end_layout
24208
24209 \begin_deeper
24210 \begin_layout Itemize
24211 número de versión del último ingreso (
24212 \begin_inset Flex Code
24213 status collapsed
24214
24215 \begin_layout Plain Layout
24216 vcs-revision
24217 \end_layout
24218
24219 \end_inset
24220
24221 )
24222 \end_layout
24223
24224 \begin_layout Itemize
24225 autordel último ingreso (
24226 \begin_inset Flex Code
24227 status collapsed
24228
24229 \begin_layout Plain Layout
24230 vcs-author
24231 \end_layout
24232
24233 \end_inset
24234
24235 )
24236 \end_layout
24237
24238 \begin_layout Itemize
24239 fecha del último ingreso (
24240 \begin_inset Flex Code
24241 status collapsed
24242
24243 \begin_layout Plain Layout
24244 vcs-date
24245 \end_layout
24246
24247 \end_inset
24248
24249 )
24250 \end_layout
24251
24252 \begin_layout Itemize
24253 hora del último ingreso (
24254 \begin_inset Flex Code
24255 status collapsed
24256
24257 \begin_layout Plain Layout
24258 vcs-time
24259 \end_layout
24260
24261 \end_inset
24262
24263 )
24264 \end_layout
24265
24266 \end_deeper
24267 \begin_layout Standard
24268 Puedes obtener esta información mediante InsetInfo (p.
24269 \begin_inset space \thinspace{}
24270 \end_inset
24271
24272 ej.
24273  
24274 \begin_inset Flex Code
24275 status collapsed
24276
24277 \begin_layout Plain Layout
24278 info-insert buffer vcs-date
24279 \end_layout
24280
24281 \end_inset
24282
24283 ).
24284  La información estará disponible solo cuando tengas el arvhivo almacenado bajo administración svn (es decir,
24285  el directorio 
24286 \begin_inset Flex Code
24287 status collapsed
24288
24289 \begin_layout Plain Layout
24290 .svn
24291 \end_layout
24292
24293 \end_inset
24294
24295  está disponible con tu documento).
24296 \end_layout
24297
24298 \end_deeper
24299 \begin_layout Itemize
24300 Otra posibilidad —
24301 de 
24302 \emph on
24303 hacker
24304 \emph default
24305
24306  es usar claves svn 
24307 \begin_inset Foot
24308 status collapsed
24309
24310 \begin_layout Plain Layout
24311 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
24312 \end_layout
24313
24314 \end_inset
24315
24316 .
24317  Estableces la propiedad de claves de archivo (p.
24318 \begin_inset space \thinspace{}
24319 \end_inset
24320
24321 ej.
24322  
24323 \family sans
24324 svn propset svn:keywords 'Rev' file.lyx
24325 \family default
24326 ) y luego pegas la clave en código \SpecialChar TeX
24327
24328 \begin_inset Foot
24329 status collapsed
24330
24331 \begin_layout Plain Layout
24332 Esta es una manera fácil de asegurar que \SpecialChar LyX
24333  no quiebre la línea en mitad de la clave.
24334 \end_layout
24335
24336 \end_inset
24337
24338  en tu documento (p.
24339 \begin_inset space \thinspace{}
24340 \end_inset
24341
24342 ej.
24343  
24344 \lang english
24345
24346 \begin_inset Flex Code
24347 status collapsed
24348
24349 \begin_layout Plain Layout
24350
24351 \lang english
24352 $Rev$
24353 \end_layout
24354
24355 \end_inset
24356
24357
24358 \lang spanish
24359 ).
24360  De esta manera el cliente svn sustituirá automáticamente el número de revisión (p.
24361 \begin_inset space \thinspace{}
24362 \end_inset
24363
24364 ej.
24365  
24366 \lang english
24367
24368 \begin_inset Flex Code
24369 status collapsed
24370
24371 \begin_layout Plain Layout
24372
24373 \lang english
24374 $Rev:
24375  59 $
24376 \end_layout
24377
24378 \end_inset
24379
24380
24381 \lang spanish
24382 ) tras cada actualización e ingreso.
24383  Hay otros problemas con este enfoque.
24384  Primero,
24385  el carácter '$' se usa en \SpecialChar TeX
24386  para expresiones matemáticas,
24387  de modo que cualquier aparición de una fórmula 
24388 \begin_inset Formula $Rev$
24389 \end_inset
24390
24391  se convierte en 
24392 \begin_inset Formula $Rev:59$
24393 \end_inset
24394
24395  en tu documento \SpecialChar LyX
24396 .
24397  Lo mismo sucederá con otras claves como Id,
24398  Date,
24399  Author,
24400  etc.
24401  Segundo,
24402  la salida svn es dependiente del idioma,
24403  por lo que es fácil que svn produzca alguna cadena problemática al usar Date.
24404  Tercero,
24405  se obtiene la cadena completa 'Rev:
24406  59' en tu documento en vez de solo el número.
24407  Hasta que subversion implemente claves personalizadas por el usuario será pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
24408  soportarlo directamente.
24409 \end_layout
24410
24411 \begin_layout Subsection
24412 SVN y entorno Windows
24413 \end_layout
24414
24415 \begin_layout Quote
24416 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender las operaciones en línea de comandos,
24417  sería recomendable que usara TortoiseSVN.
24418  —
24419 P.
24420 \begin_inset space \thinspace{}
24421 \end_inset
24422
24423 A.
24424 \begin_inset space \thinspace{}
24425 \end_inset
24426
24427 Rubin.
24428 \end_layout
24429
24430 \begin_layout Subsubsection
24431 Preparación
24432 \end_layout
24433
24434 \begin_layout Standard
24435 Además de instalar \SpecialChar LyX
24436  y tener acceso al repositorio de Subversion,
24437  el usuario deberá instalar el programa cliente de Subversion.
24438  En 
24439 \begin_inset CommandInset href
24440 LatexCommand href
24441 name "CollabNet"
24442 target "http://www.collab.net/nonav/downloads/subversion/"
24443 literal "false"
24444
24445 \end_inset
24446
24447  hay disponible un instalador para Windows.
24448  Además,
24449  al usuario le puede interesar instalar 
24450 \begin_inset CommandInset href
24451 LatexCommand href
24452 name "TortoiseSVN"
24453 target "http://tortoisesvn.tigris.org/"
24454 literal "false"
24455
24456 \end_inset
24457
24458 ,
24459  que integra las operaciones de Subversion en el menú contextual (clic derecho) del Explorador de Windows.
24460  Las operaciones hechas fuera de \SpecialChar LyX
24461  generalmente son más convenientes en el menú contextual del Explorador.
24462  Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa cliente,
24463  que es lo que usa el propio \SpecialChar LyX
24464 .
24465 \end_layout
24466
24467 \begin_layout Subsubsection
24468 Poner un documento bajo control de Subversion
24469 \end_layout
24470
24471 \begin_layout Standard
24472 Antes de poner un documento \SpecialChar LyX
24473  bajo control de Subversion,
24474  su directorio padre debe estar bajo control de versiones.
24475  Si el documento se va a añadir a un proyecto ya en el repositorio,
24476  esto se lleva a cabo comprobando el directorio donde se incluirá el documento nuevo.
24477  Si el proyecto mismo no está ya bajo control de versión (por ejemplo,
24478  si el documento inicia un proyecto nuevo),
24479  hay que importar el directorio al repositorio.
24480  Esto se hace fuera de \SpecialChar LyX
24481 .
24482  Tanto la importación como la reserva se hacen fácilmente en el menú contextual del Explorador mediante TortoiseSVN,
24483  o bien usando un cliente de línea de comandos en DOS.
24484  El procedimiento para importar el proyecto con TortoiseSVN se describe abajo,
24485  suponiendo que hay un repositorio y un proyecto nuevo en 
24486 \family typewriter
24487 C:
24488 \backslash
24489 new project
24490 \family default
24491 .
24492  Para información sobre el uso del programa cliente de Subversion,
24493  ejecuta 
24494 \family typewriter
24495 svn 
24496 \family default
24497
24498 \begin_inset Flex Code
24499 status collapsed
24500
24501 \begin_layout Plain Layout
24502 --help
24503 \end_layout
24504
24505 \end_inset
24506
24507  en línea de comandos de DOS.
24508 \end_layout
24509
24510 \begin_layout Enumerate
24511 Localiza 
24512 \family typewriter
24513 C:
24514 \backslash
24515 new project 
24516 \family default
24517 en el Explorador de Windows,
24518  clic derecho y selecciona 
24519 \family sans
24520 TortoiseSVN\SpecialChar menuseparator
24521 Repo-browser
24522 \family default
24523 .
24524  Si es preciso ajusta el URL para el repositorio,
24525  y pulsa OK.
24526 \end_layout
24527
24528 \begin_layout Enumerate
24529 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 
24530 \family sans
24531 Create folder
24532 \family default
24533  Da nombre a la carpeta y pulsa OK.
24534  Añade un mensaje para el registro,
24535  si quieres,
24536  y pulsa OK de nuevo.
24537  La carpeta del nuevo proyecto debería figurar en el repositorio.
24538  Por último,
24539  OK de nuevo para salir del navegador del repositorio.
24540 \end_layout
24541
24542 \begin_layout Enumerate
24543 Haz otra vez clic derecho en 
24544 \family typewriter
24545 C:
24546 \backslash
24547 new project
24548 \family default
24549 ,
24550  esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que acabas de crear en el repositorio y ajusta el directorio a 
24551 \family typewriter
24552 C:
24553 \backslash
24554 new project.
24555
24556 \family default
24557  Pulsa OK.
24558  Serás avisado sobre una carpeta no vacía;
24559  OK para continuar.
24560  Ahora debería haber un directorio 
24561 \family typewriter
24562 .svn
24563 \family default
24564  bajo 
24565 \family typewriter
24566 C:
24567 \backslash
24568 new project.
24569 \end_layout
24570
24571 \begin_layout Enumerate
24572 Crea o abre tu documento en \SpecialChar LyX
24573  y abre 
24574 \family sans
24575 Archivo\SpecialChar menuseparator
24576 Control de versiones\SpecialChar menuseparator
24577 Registrar
24578 \family default
24579 .
24580  Añade un mensaje de registro y pulsa OK para someter el documento a control de versión.
24581 \end_layout
24582
24583 \begin_layout Standard
24584 De aquí en adelante deberías tener funcionalidad completa en el menú 
24585 \family sans
24586 Archivo\SpecialChar menuseparator
24587 Control de versiones
24588 \family default
24589 .
24590  Además tienes la opción de comprobar el documento entrante y saliente,
24591  ver su historial,
24592  etc.,
24593  usando el menú contextual TortoiseSVN en el Explorador o en la línea de comandos del programa cliente de Subversion.
24594  
24595 \end_layout
24596
24597 \begin_layout Subsubsection
24598 SSH tunnel con SVN bajo Windows
24599 \end_layout
24600
24601 \begin_layout Standard
24602 Comparado con la configuración del cliente svn en Linux para comunicar sobre ssh,
24603  bajo Windows es una tarea es bastante más molesta.
24604  Al menos ofreceremos algunas indicaciones para configurar el cliente,
24605  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
24606
24607 \end_layout
24608
24609 \begin_layout Enumerate
24610 Obtén un cliente svn para windows,
24611  como se describe en secciones anteriores.
24612  Si es una instalación nueva ejecuta algún comando para crear los archivos de configuración (p.
24613 \begin_inset space \thinspace{}
24614 \end_inset
24615
24616 ej.
24617  
24618 \begin_inset Flex Code
24619 status collapsed
24620
24621 \begin_layout Plain Layout
24622 svn --version
24623 \end_layout
24624
24625 \end_inset
24626
24627 ),
24628  que deberás cambiar más tarde.
24629 \end_layout
24630
24631 \begin_layout Enumerate
24632 Elige un cliente ssh para Windows.
24633  Hay varias opciones,
24634  aquí usaremos el de Putty tools
24635 \begin_inset Foot
24636 status open
24637
24638 \begin_layout Plain Layout
24639 \begin_inset Flex URL
24640 status collapsed
24641
24642 \begin_layout Plain Layout
24643
24644 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
24645 \end_layout
24646
24647 \end_inset
24648
24649
24650 \end_layout
24651
24652 \end_inset
24653
24654 .
24655  Tendrás que configurar la conexión para que el cliente no pia contraseña.
24656  Para facilitar las cosas usaremos solo claves sin ninguna protección adicional de contraseña,
24657  etc.
24658 \end_layout
24659
24660 \begin_deeper
24661 \begin_layout Enumerate
24662 Genera las claves con 
24663 \begin_inset Flex Code
24664 status collapsed
24665
24666 \begin_layout Plain Layout
24667 puttygen
24668 \end_layout
24669
24670 \end_inset
24671
24672 .
24673  Guarda tu clave privada .ppk y pon la pública en el servidor.
24674  Si el servidor SVN corre bajo Linux,
24675  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 “
24676 \emph on
24677 Public key for pasting into OpenSSH authorized_keys file
24678 \emph default
24679 :” en el archivo del servidor 
24680 \begin_inset Flex Code
24681 status collapsed
24682
24683 \begin_layout Plain Layout
24684 ~/.ssh/authorized_keys
24685 \end_layout
24686
24687 \end_inset
24688
24689
24690 \begin_inset Flex Code
24691 status collapsed
24692
24693 \begin_layout Plain Layout
24694 authorized_keys2
24695 \end_layout
24696
24697 \end_inset
24698
24699 .
24700 \end_layout
24701
24702 \begin_layout Enumerate
24703 Obtén el 
24704 \begin_inset Flex Code
24705 status collapsed
24706
24707 \begin_layout Plain Layout
24708 plink
24709 \end_layout
24710
24711 \end_inset
24712
24713  de Putty.
24714  En el archivo de configuración SVN
24715 \begin_inset Foot
24716 status collapsed
24717
24718 \begin_layout Plain Layout
24719 La ruta exacta depende de la versión de Windows,
24720  usualmente algo como 
24721 \begin_inset Flex Code
24722 status collapsed
24723
24724 \begin_layout Plain Layout
24725 c:
24726 \backslash
24727 Documents and Settings
24728 \backslash
24729 user
24730 \backslash
24731 Application Data
24732 \backslash
24733 Subversion
24734 \backslash
24735 config
24736 \end_layout
24737
24738 \end_inset
24739
24740  / 
24741 \begin_inset Flex Code
24742 status collapsed
24743
24744 \begin_layout Plain Layout
24745 AppData
24746 \backslash
24747 Roaming
24748 \backslash
24749 Subversion
24750 \end_layout
24751
24752 \end_inset
24753
24754 .
24755 \end_layout
24756
24757 \end_inset
24758
24759 ,
24760  sección [tunnels],
24761  configura el comando ssh,
24762  p.
24763 \begin_inset space \thinspace{}
24764 \end_inset
24765
24766 ej.
24767  
24768 \begin_inset Flex Code
24769 status collapsed
24770
24771 \begin_layout Plain Layout
24772 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
24773 \end_layout
24774
24775 \end_inset
24776
24777 .
24778 \begin_inset Foot
24779 status open
24780
24781 \begin_layout Plain Layout
24782 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
24783  Por ejemplo,
24784  no tener algún servidor remoto guardado como predeterminado en Putty etc.
24785  Si falla,
24786  intenta primero conectar vía plink sin SVN.
24787 \end_layout
24788
24789 \end_inset
24790
24791
24792 \end_layout
24793
24794 \end_deeper
24795 \begin_layout Enumerate
24796 Reserva el archivo SVN,
24797  p.
24798 \begin_inset space \thinspace{}
24799 \end_inset
24800
24801 ej.
24802 \begin_inset Newline newline
24803 \end_inset
24804
24805
24806 \begin_inset Flex Code
24807 status collapsed
24808
24809 \begin_layout Plain Layout
24810 svn co svn+ssh://user@server/repository_path
24811 \end_layout
24812
24813 \end_inset
24814
24815 .
24816 \end_layout
24817
24818 \begin_layout Subsubsection
24819 Conversiones de los finales de línea
24820 \end_layout
24821
24822 \begin_layout Standard
24823 Cuando los colaboradores mezclan entornos Linux y Windows,
24824  \SpecialChar LyX
24825  usará distintos finales de línea en los archivos .lyx.
24826  Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
24827 ,
24828  pero los archivos diff de los ingresos serán enormes y propensos a conflictos de fusión.
24829  Afortunadamente SVN sabe por sí mismo
24830 \begin_inset Foot
24831 status open
24832
24833 \begin_layout Plain Layout
24834 \begin_inset Flex URL
24835 status collapsed
24836
24837 \begin_layout Plain Layout
24838
24839 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
24840 \end_layout
24841
24842 \end_inset
24843
24844
24845 \end_layout
24846
24847 \end_inset
24848
24849  como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia archivos .lyx al modo 
24850 \begin_inset Flex Code
24851 status collapsed
24852
24853 \begin_layout Plain Layout
24854 native
24855 \end_layout
24856
24857 \end_inset
24858
24859 .
24860 \begin_inset Foot
24861 status open
24862
24863 \begin_layout Plain Layout
24864 Para los perezosos:
24865  
24866 \begin_inset Flex Code
24867 status collapsed
24868
24869 \begin_layout Plain Layout
24870 svn propset svn:eol-style native FILE_NAME
24871 \end_layout
24872
24873 \end_inset
24874
24875
24876 \end_layout
24877
24878 \end_inset
24879
24880
24881 \end_layout
24882
24883 \begin_layout Subsection
24884 Comandos GIT en \SpecialChar LyX
24885
24886 \end_layout
24887
24888 \begin_layout Standard
24889 \SpecialChar LyX
24890  soporta un conjunto mínimo de comandos GIT.
24891  Se encuentra en el submenú 
24892 \family sans
24893 Archivo\SpecialChar menuseparator
24894 Control de versiones
24895 \family default
24896 .
24897  Hay que tener en cuenta que si se usa acceso con contraseña al repositorio vía ssh,
24898  ésta se pedirá en una ventana de terminal.
24899  \SpecialChar LyX
24900  se ha probado con GIT 1.7.
24901  
24902 \end_layout
24903
24904 \begin_layout Standard
24905 Una gran diferencia entre GIT y los demás sistemas de control de versiones soportados es la naturaleza distribuida de GIT:
24906  con los sistemas de control de versiones tradicionales hay un servidor central que aloja el repositorio.
24907  Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones hechas por otros.
24908  Con GIT,
24909  los usuarios remiten a un repositorio local,
24910  el cuál se puede sincronizar con uno o más repositorios remotos usando los comandos GIT 
24911 \begin_inset Flex Code
24912 status collapsed
24913
24914 \begin_layout Plain Layout
24915 pull
24916 \end_layout
24917
24918 \end_inset
24919
24920  y 
24921 \begin_inset Flex Code
24922 status collapsed
24923
24924 \begin_layout Plain Layout
24925 push
24926 \end_layout
24927
24928 \end_inset
24929
24930 .
24931  \SpecialChar LyX
24932  no interactúa de ninguna forma con los repositorios GIT remotos.
24933  Trabaja exclusivamente con el repositorio local de manera similar a como con un repositorio CVS o SVN.
24934  Si usas repositorios GIT remotos debes hacer las operaciones 
24935 \begin_inset Flex Code
24936 status collapsed
24937
24938 \begin_layout Plain Layout
24939 pull
24940 \end_layout
24941
24942 \end_inset
24943
24944  y 
24945 \begin_inset Flex Code
24946 status collapsed
24947
24948 \begin_layout Plain Layout
24949 push
24950 \end_layout
24951
24952 \end_inset
24953
24954  con tu cliente GIT favorito.
24955 \end_layout
24956
24957 \begin_layout Subsubsection
24958 Registrar
24959 \end_layout
24960
24961 \begin_layout Standard
24962 Si el documento no está bajo control de versiones,
24963  éste es el único ítem mostrado en el menú.
24964  Si está bajo control de versiones 
24965 \family sans
24966 Registrar
24967 \family default
24968  no es visible.
24969 \end_layout
24970
24971 \begin_layout Standard
24972 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,
24973  existe el archivo 
24974 \family typewriter
24975 .git/index
24976 \family default
24977 ).
24978  Esto quiere decir que debes reservar
24979 \begin_inset Note Note
24980 status open
24981
24982 \begin_layout Plain Layout
24983 checkout
24984 \end_layout
24985
24986 \end_inset
24987
24988  el archivo por ti mismo.
24989 \end_layout
24990
24991 \begin_layout Standard
24992 Entonces se pedirá de forma interactiva una descripción inicial del documento.
24993  No olvides que el archivo registrado aún no ha sido ingresado.
24994 \end_layout
24995
24996 \begin_layout Standard
24997 El comando GIT que se ejecuta:
24998  
24999 \family typewriter
25000 git add 
25001 \begin_inset Quotes eld
25002 \end_inset
25003
25004 <file-name>
25005 \end_layout
25006
25007 \begin_layout Standard
25008 Consulta 
25009 \family typewriter
25010 man git
25011 \family default
25012  para entender los conmutadores.
25013  
25014 \end_layout
25015
25016 \begin_layout Subsubsection
25017 Liberar cambios
25018 \end_layout
25019
25020 \begin_layout Standard
25021 Una vez editado un archivo hay que ingresar los cambios realizados en él.
25022  Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
25023 \end_layout
25024
25025 \begin_layout Standard
25026 Comando GIT:
25027  
25028 \family typewriter
25029 git commit -q -m"<description>" <file-name>
25030 \end_layout
25031
25032 \begin_layout Subsubsection
25033 Volver a la versión del repositorio
25034 \end_layout
25035
25036 \begin_layout Standard
25037 Descartará los cambios hechos en el documento desde la última liberación.
25038  Hay un aviso antes de descartar los cambios.
25039 \end_layout
25040
25041 \begin_layout Standard
25042 Comando GIT:
25043  
25044 \family typewriter
25045 git checkout -q 
25046 \lang english
25047
25048 \begin_inset Quotes qld
25049 \end_inset
25050
25051
25052 \lang spanish
25053 <file-name>
25054 \lang english
25055
25056 \begin_inset Quotes qld
25057 \end_inset
25058
25059
25060 \end_layout
25061
25062 \begin_layout Subsubsection
25063 Renombrar
25064 \end_layout
25065
25066 \begin_layout Standard
25067 Renombrará el documento actual incluyendo el historial de versiones.
25068  Requiere un documento limpio sin ningún cambio desde la última liberación.
25069  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
25070  Después se renombra el documento localmente y en el repositorio.
25071  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
25072  se ajustan todas las rutas relativas de los archivos incluidos (como en 
25073 \family sans
25074 Archivo\SpecialChar menuseparator
25075 Guardar como
25076 \family default
25077 \SpecialChar ldots
25078 ).
25079  Por último,
25080  se recarga el documento con su nuevo nombre.
25081 \end_layout
25082
25083 \begin_layout Labeling
25084 \labelwidthstring 00.00.0000
25085 Comandos
25086 \begin_inset space ~
25087 \end_inset
25088
25089 GIT:
25090  
25091 \begin_inset space ~
25092 \end_inset
25093
25094
25095 \begin_inset Newline newline
25096 \end_inset
25097
25098
25099 \begin_inset Flex Code
25100 status collapsed
25101
25102 \begin_layout Plain Layout
25103 git mv 
25104 \family typewriter
25105 \lang english
25106
25107 \begin_inset Quotes qld
25108 \end_inset
25109
25110
25111 \family default
25112 \lang spanish
25113 <file-name>
25114 \family typewriter
25115 \lang english
25116
25117 \begin_inset Quotes qld
25118 \end_inset
25119
25120
25121 \family default
25122 \lang spanish
25123  
25124 \family typewriter
25125 \lang english
25126
25127 \begin_inset Quotes qld
25128 \end_inset
25129
25130
25131 \family default
25132 \lang spanish
25133 <new-file-name>
25134 \family typewriter
25135 \lang english
25136
25137 \begin_inset Quotes qld
25138 \end_inset
25139
25140
25141 \end_layout
25142
25143 \end_inset
25144
25145
25146 \begin_inset Newline newline
25147 \end_inset
25148
25149
25150 \begin_inset Flex Code
25151 status collapsed
25152
25153 \begin_layout Plain Layout
25154 git commit
25155 \end_layout
25156
25157 \end_inset
25158
25159
25160 \end_layout
25161
25162 \begin_layout Subsubsection
25163 Mostrar historial
25164 \end_layout
25165
25166 \begin_layout Standard
25167 Muestra el historial completo del documento GIT.
25168  La salida de 
25169 \family typewriter
25170 git log 
25171 \lang english
25172
25173 \begin_inset Quotes qld
25174 \end_inset
25175
25176
25177 \lang spanish
25178 <file-name>
25179 \lang english
25180
25181 \begin_inset Quotes qld
25182 \end_inset
25183
25184
25185 \family default
25186 \lang spanish
25187  se muestra en un buscador.
25188 \end_layout
25189
25190 \begin_layout Subsubsection
25191 Información de la versión
25192 \end_layout
25193
25194 \begin_layout Standard
25195 \SpecialChar LyX
25196  soporta número hash GIT del últim ingreso al archivo,
25197  autor,
25198  fecha y hora del último ingreso.
25199  Todos se obtienen de 
25200 \begin_inset Flex Code
25201 status collapsed
25202
25203 \begin_layout Plain Layout
25204 git log -n 1 --pretty=format:%H%n%an%n%ai
25205 \end_layout
25206
25207 \end_inset
25208
25209 .
25210  La información de l versión del árbol se obtiene vía 
25211 \begin_inset Flex Code
25212 status collapsed
25213
25214 \begin_layout Plain Layout
25215 git describe --abbrev --dirty --long
25216 \end_layout
25217
25218 \end_inset
25219
25220 .
25221  Véase 
25222 \begin_inset CommandInset ref
25223 LatexCommand ref
25224 reference "subsec:VCS-Información-de-revisión"
25225 nolink "false"
25226
25227 \end_inset
25228
25229  para otros detalles.
25230 \end_layout
25231
25232 \begin_layout Subsection
25233 Ajustes adicionales
25234 \end_layout
25235
25236 \begin_layout Standard
25237 Con la reciente adición de la función 
25238 \family typewriter
25239 vc-command
25240 \family default
25241 ,
25242  los usuarios que exprimen la potencia de \SpecialChar LyX
25243  pueden crear sus propios comandos para el control de revisiones.
25244 \end_layout
25245
25246 \begin_layout Standard
25247 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
25248 \end_layout
25249
25250 \begin_layout Description
25251 Ingresar:
25252  
25253 \begin_inset Flex Code
25254 status collapsed
25255
25256 \begin_layout Plain Layout
25257 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
25258 \end_layout
25259
25260 \end_inset
25261
25262
25263 \end_layout
25264
25265 \begin_layout Description
25266 Revertir:
25267  
25268 \begin_inset Flex Code
25269 status collapsed
25270
25271 \begin_layout Plain Layout
25272 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
25273 \end_layout
25274
25275 \end_inset
25276
25277
25278 \end_layout
25279
25280 \begin_layout Subsection
25281 Control de versiones y comparación de documentos
25282 \end_layout
25283
25284 \begin_layout Standard
25285 Uno de los usos típicos del control de versiones es inspeccionar los cambios entre revisiones,
25286  usualmente creando volcados 
25287 \begin_inset Flex Code
25288 status collapsed
25289
25290 \begin_layout Plain Layout
25291 diff
25292 \end_layout
25293
25294 \end_inset
25295
25296 .
25297  Aunque esto es útil para archivos de texto sencillo,
25298  es mucho menos útil en archivos de \SpecialChar LyX
25299 ,
25300  que tienen una estructura más complicada.
25301  Por tanto,
25302  proporcionamos caminos para la característica de comparar documentos.
25303  Hay dos maneras de iniciar esta función,
25304  una por llamada directa a 
25305 \family typewriter
25306 \lang english
25307 vc-compare
25308 \family default
25309 \lang spanish
25310  (véase el manual Funciones de \SpecialChar LyX
25311  para detalles) y otra con el
25312 \lang english
25313  toolbar 
25314 \lang spanish
25315 icono o menú 
25316 \lang english
25317
25318 \begin_inset Info
25319 type  "menu"
25320 arg   "vc-compare"
25321 \end_inset
25322
25323
25324 \lang spanish
25325 .
25326  Se pueden comparar dos revisiones determinadas o se puede simplemente comparar la versión actual del texto editado con revisiones anteriores (donde '
25327 \begin_inset Flex Code
25328 status collapsed
25329
25330 \begin_layout Plain Layout
25331 0
25332 \end_layout
25333
25334 \end_inset
25335
25336 ' revisiones atrás quiere decir comparar el archivo en edición con la última revisión remitida).
25337  
25338 \end_layout
25339
25340 \begin_layout Standard
25341 Esta característica está soportada por SVN y RCS,
25342  aunque debido al esquema de versiones más complicado de RCS hay una restricción,
25343  en la dirección de las revisiones en el diálogo,
25344  los números siempre apuntan al último número en el número de revisión de RCS,
25345  es decir,
25346  '35' en '1.2.35'.
25347
25348 \lang english
25349  We don't currently support GIT addressing of revisions,
25350  one can just compare edited document with its revision X steps backs,
25351  where X is addressed as 
25352 \begin_inset Flex Code
25353 status collapsed
25354
25355 \begin_layout Plain Layout
25356
25357 \lang english
25358 HEAD~X
25359 \end_layout
25360
25361 \end_inset
25362
25363 .
25364 \end_layout
25365
25366 \begin_layout Section
25367 Programación literaria
25368 \end_layout
25369
25370 \begin_layout Standard
25371 Actualizado por 
25372 \noun on
25373 Kayvan Sylvan 
25374 \noun default
25375 (kayvan@sylvan.com)
25376 \noun on
25377 ,
25378  
25379 \noun default
25380 documentación original de 
25381 \noun on
25382 Edmar Wienskoski Jr.
25383
25384 \noun default
25385  (edmar-w-jr@technologist.com)
25386 \end_layout
25387
25388 \begin_layout Subsection
25389 Introducción
25390 \end_layout
25391
25392 \begin_layout Standard
25393 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
25394  para escribir programación literaria
25395 \series medium
25396
25397 \begin_inset Foot
25398 status collapsed
25399
25400 \begin_layout Plain Layout
25401 «Literate Programming»,
25402  llamada también programación «ilustrada» o «letrada».
25403  
25404 \emph on
25405 (N.
25406 \begin_inset space \thinspace{}
25407 \end_inset
25408
25409 del t.)
25410 \end_layout
25411
25412 \end_inset
25413
25414
25415 \series default
25416 .
25417  Se supone que la técnica de la programación te resulta familiar y sabes lo que significan términos como 
25418 \begin_inset Quotes cld
25419 \end_inset
25420
25421 tangling
25422 \begin_inset Quotes crd
25423 \end_inset
25424
25425  y 
25426 \begin_inset Quotes cld
25427 \end_inset
25428
25429 weaving
25430 \begin_inset Quotes crd
25431 \end_inset
25432
25433
25434 \begin_inset Foot
25435 status collapsed
25436
25437 \begin_layout Plain Layout
25438 Generación del código y de la documentación,
25439  respectivamente.
25440  (
25441 \emph on
25442 N.
25443 \begin_inset space \thinspace{}
25444 \end_inset
25445
25446 del t.
25447 \emph default
25448 )
25449 \end_layout
25450
25451 \end_inset
25452
25453 .
25454  Si no es así,
25455  acude a los enlaces web mencionados en las siguientes secciones.
25456  Hay mucha y buena documentación que abarca desde la historia de los inicios de la programación hasta las últimas herramientas y trucos.
25457 \end_layout
25458
25459 \begin_layout Standard
25460 También se supone que estás familiarizado con el uso de \SpecialChar LyX
25461  hasta el punto de conocer cómo cambiar las preferencias y el archivo de recursos X.
25462  Si no es así acude al resto de documentación de \SpecialChar LyX
25463  en función de tus necesidades.
25464 \end_layout
25465
25466 \begin_layout Subsection
25467 Programación literaria
25468 \end_layout
25469
25470 \begin_layout Standard
25471 Extraído de las PUF:
25472  
25473 \end_layout
25474
25475 \begin_layout Quotation
25476 En la programación literaria se combinan documentación y código fuente de manera legible para los seres humanos.
25477  ¡De hecho,
25478  la programación literaria debería ser de lectura agradable,
25479  incluso sugerente!
25480  (¡Lo siento Bob,
25481  no he podido resistirme\SpecialChar ldots
25482 !) En general,
25483  en la escritura de los programas se combinan código y documentación en el mismo archivo.
25484  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.
25485  El estilo WEB de programación fue creado por 
25486 \noun on
25487 D.
25488 \begin_inset space \thinspace{}
25489 \end_inset
25490
25491 E.
25492 \begin_inset space \thinspace{}
25493 \end_inset
25494
25495 Knuth
25496 \noun default
25497  mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
25498 .
25499 \end_layout
25500
25501 \begin_layout Standard
25502 Otro extracto:
25503 \end_layout
25504
25505 \begin_layout Quotation
25506
25507 \emph on
25508 ¿En qué se diferencian la programación literaria y 
25509 \emph default
25510 e
25511 \emph on
25512 l comentario literal?
25513 \end_layout
25514
25515 \begin_layout Quotation
25516 Hay tres rasgos distintivos,
25517  que son,
25518  por orden de importancia:
25519  
25520 \end_layout
25521
25522 \begin_deeper
25523 \begin_layout Itemize
25524 orden de elaboración flexible 
25525 \end_layout
25526
25527 \begin_layout Itemize
25528 soporte automático de búsqueda 
25529 \end_layout
25530
25531 \begin_layout Itemize
25532 documentación bien presentada,
25533  especialmente los diagramas y las matemáticas.
25534  
25535 \end_layout
25536
25537 \end_deeper
25538 \begin_layout Standard
25539 Y ahora que he despertado tu curiosidad,
25540  veamos las referencias.
25541 \end_layout
25542
25543 \begin_layout Subsubsection
25544 Referencias
25545 \end_layout
25546
25547 \begin_layout Standard
25548 Las FAQ completas de 
25549 \begin_inset Quotes cld
25550 \end_inset
25551
25552 Literate Programming
25553 \begin_inset Quotes crd
25554 \end_inset
25555
25556  se encuentran en:
25557 \end_layout
25558
25559 \begin_layout Quote
25560 Literate Programming FAQ:
25561  
25562 \begin_inset Flex URL
25563 status collapsed
25564
25565 \begin_layout Plain Layout
25566
25567 http://www.literateprogramming.com/lpfaq.pdf
25568 \end_layout
25569
25570 \end_inset
25571
25572
25573 \end_layout
25574
25575 \begin_layout Standard
25576 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación literaria.
25577  Algunas son específicas de lenguajes de programación particulares,
25578  otras son de aplicación general.
25579  He seleccionado la herramienta 
25580 \noun on
25581 Noweb
25582 \noun default
25583  para mi uso personal por varias razones:
25584 \end_layout
25585
25586 \begin_layout Itemize
25587 Puede generar la documentación en \SpecialChar LaTeX
25588  o en HTML.
25589 \end_layout
25590
25591 \begin_layout Itemize
25592 Es de estructura abierta,
25593  es decir,
25594  es sencillo introducir filtros nuevos
25595 \lang english
25596
25597 \begin_inset Foot
25598 status open
25599
25600 \begin_layout Plain Layout
25601
25602 \emph on
25603 \lang english
25604 Filters 
25605 \emph default
25606 are programs that read a given data stream and output a manipulated data stream.
25607  That way,
25608  a WEB file (consisting of literate code) can be turned into a file consisting only of C program code or \SpecialChar LaTeX
25609  code.
25610 \end_layout
25611
25612 \end_inset
25613
25614
25615 \lang spanish
25616  y hacer procesamientos especiales según las necesidades.
25617  
25618 \end_layout
25619
25620 \begin_layout Itemize
25621 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
25622 \end_layout
25623
25624 \begin_layout Itemize
25625 Es libre.
25626 \end_layout
25627
25628 \begin_layout Standard
25629 La página web de Noweb es:
25630  
25631 \end_layout
25632
25633 \begin_layout Quote
25634 Página de inicio de Noweb 
25635 \begin_inset Flex URL
25636 status collapsed
25637
25638 \begin_layout Plain Layout
25639
25640 https://www.cs.tufts.edu/~nr/noweb/
25641 \end_layout
25642
25643 \end_inset
25644
25645
25646 \end_layout
25647
25648 \begin_layout Standard
25649 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programación en formato literario.
25650 \end_layout
25651
25652 \begin_layout Subsection
25653 \SpecialChar LyX
25654  y la programación literaria con Noweb
25655 \end_layout
25656
25657 \begin_layout Standard
25658 \SpecialChar LyX
25659  soporta Programación Literaria mediante el mecanismo de gestión de convertidores.
25660  Este soporte se proporciona 
25661 \begin_inset Quotes cld
25662 \end_inset
25663
25664 independiente de Noweb
25665 \begin_inset Quotes crd
25666 \end_inset
25667
25668 ,
25669  es decir,
25670  podrás usar esta nueva función de \SpecialChar LyX
25671  con algunas otras herramientas de programación literaria,
25672  cuya elección puedes hacer en las preferencias de \SpecialChar LyX
25673 .
25674 \end_layout
25675
25676 \begin_layout Subsubsection
25677 Generación de documentos y de código («weaving and tangling»)
25678 \end_layout
25679
25680 \begin_layout Paragraph
25681 Usando el módulo noweb
25682 \end_layout
25683
25684 \begin_layout Standard
25685 Con \SpecialChar LyX
25686  y Noweb instalados,
25687  al abrir un documento nuevo y después de elegir la clase de documento selecciona el módulo 
25688 \begin_inset Quotes cld
25689 \end_inset
25690
25691 Noweb
25692 \begin_inset Quotes crd
25693 \end_inset
25694
25695  en 
25696 \family sans
25697 Documento\SpecialChar menuseparator
25698 Configuración\SpecialChar menuseparator
25699 Módulos
25700 \family default
25701 .
25702  Si Noweb está instalado correctamente podrás pulsar 
25703 \family sans
25704 Añadir
25705 \family default
25706  para usarlo en tu documento.
25707 \end_layout
25708
25709 \begin_layout Paragraph
25710 Escribiendo código
25711 \end_layout
25712
25713 \begin_layout Standard
25714 \SpecialChar LyX
25715  proporciona el 
25716 \lang english
25717 custom inset
25718 \lang spanish
25719  
25720 \lang english
25721
25722 \begin_inset Flex Noun
25723 status collapsed
25724
25725 \begin_layout Plain Layout
25726 Trozo
25727 \end_layout
25728
25729 \end_inset
25730
25731
25732 \family sans
25733 \lang spanish
25734  
25735 \family default
25736 para escribir código.
25737  Noweb delimita trozos como éste:
25738 \end_layout
25739
25740 \begin_layout LyX-Code
25741 <<Mi código>>=
25742 \end_layout
25743
25744 \begin_layout LyX-Code
25745   código
25746 \end_layout
25747
25748 \begin_layout LyX-Code
25749   más código
25750 \end_layout
25751
25752 \begin_layout LyX-Code
25753   aún más código
25754 \end_layout
25755
25756 \begin_layout LyX-Code
25757   @
25758 \end_layout
25759
25760 \begin_layout Standard
25761 El problema es que todo lo que se escriba entre <<
25762 \begin_inset space ~
25763 \end_inset
25764
25765  y 
25766 \family typewriter
25767 @
25768 \family default
25769  debe ser interpretado de forma literal,
25770  es decir,
25771  \SpecialChar LyX
25772  no debería hacer ninguna interpretación especial de lo que está ahí escrito.
25773  Esto es también manejado por el entorno 
25774 \begin_inset Flex Noun
25775 status collapsed
25776
25777 \begin_layout Plain Layout
25778 Trozo
25779 \end_layout
25780
25781 \end_inset
25782
25783 ,
25784  que funciona como un 
25785 \lang english
25786 text inset
25787 \lang spanish
25788  normal excepto que admite espacios con libertad.
25789 \end_layout
25790
25791 \begin_layout Standard
25792 He de apuntar que también puedes usar la estructura 
25793 \begin_inset Quotes cld
25794 \end_inset
25795
25796
25797 \family typewriter
25798 %def
25799 \family default
25800
25801 \begin_inset Quotes crd
25802 \end_inset
25803
25804  de Noweb en tus trozos de código para añadir identificadores de referencias cruzadas:
25805 \end_layout
25806
25807 \begin_layout LyX-Code
25808 <<Mi trozo>>=
25809 \end_layout
25810
25811 \begin_layout LyX-Code
25812 def una_función(argumentos):
25813 \end_layout
25814
25815 \begin_layout LyX-Code
25816    "Esta es la documentación para esta función."
25817 \end_layout
25818
25819 \begin_layout LyX-Code
25820    print "Mis argumentos:
25821  ",
25822  argumentos
25823 \end_layout
25824
25825 \begin_layout LyX-Code
25826 @ %def una_función
25827 \end_layout
25828
25829 \begin_layout Standard
25830 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada generada,
25831  puedes ver la programación literaria en python contenida en el archivo
25832 \begin_inset Newline newline
25833 \end_inset
25834
25835
25836 \family typewriter
25837 \emph on
25838 LIBDIR
25839 \emph default
25840 /examples/listerrors.lyx
25841 \family default
25842 \emph on
25843 ,
25844  
25845 \emph default
25846 que debería aclarar esto.
25847 \end_layout
25848
25849 \begin_layout Paragraph
25850 Generación del documento
25851 \end_layout
25852
25853 \begin_layout Standard
25854 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código y de texto en él.
25855  ¿Cómo ver la salida impresa?
25856  La respuesta es simple,
25857  con 
25858 \family sans
25859 Ver\SpecialChar menuseparator
25860 DVI,
25861  
25862 \family default
25863 etc.
25864  Igual que harías con cualquier otro documento.
25865  No hace falta ningún procedimiento especial.
25866 \end_layout
25867
25868 \begin_layout Standard
25869 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
25870 :
25871 \end_layout
25872
25873 \begin_layout Enumerate
25874 Al escoger la opción 
25875 \family sans
25876 Ver\SpecialChar menuseparator
25877 Actualizar\SpecialChar menuseparator
25878 DVI
25879 \family default
25880 ,
25881  se genera un archivo \SpecialChar LaTeX
25882 .
25883  
25884 \end_layout
25885
25886 \begin_deeper
25887 \begin_layout Standard
25888 Si el documento es de cualquiera de las clases en formato 
25889 \begin_inset Quotes cld
25890 \end_inset
25891
25892 literate
25893 \begin_inset Quotes crd
25894 \end_inset
25895
25896 ,
25897  el archivo generado será nombrado con una extensión definida por el formato 
25898 \begin_inset Quotes cld
25899 \end_inset
25900
25901 literate
25902 \begin_inset Quotes crd
25903 \end_inset
25904
25905  (definido en el panel de 
25906 \family sans
25907 Preferencias
25908 \family default
25909 ),
25910  si no el archivo tendrá la extensión habitual 
25911 \family typewriter
25912 .tex
25913 \family default
25914 .
25915 \end_layout
25916
25917 \end_deeper
25918 \begin_layout Enumerate
25919 La única diferencia está en la extensión del archivo,
25920  no hace falta ninguna acción especial por parte de \SpecialChar LyX
25921 ,
25922  puesto que has formateado el código con el 
25923 \lang english
25924 inset
25925 \lang spanish
25926  
25927 \begin_inset Flex Noun
25928 status collapsed
25929
25930 \begin_layout Plain Layout
25931 Trozo
25932 \end_layout
25933
25934 \end_inset
25935
25936 ,
25937  que ya se cuida de ese aspecto.
25938 \end_layout
25939
25940 \begin_layout Enumerate
25941 Si el documento es de cualquier clase 
25942 \begin_inset Quotes cld
25943 \end_inset
25944
25945 literate
25946 \begin_inset Quotes crd
25947 \end_inset
25948
25949 ,
25950  un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
25951  a Noweb y luego otro convertidor
25952 \begin_inset Foot
25953 status collapsed
25954
25955 \begin_layout Plain Layout
25956 Definido en 
25957 \family sans
25958 Herramientas\SpecialChar menuseparator
25959 Preferencias
25960 \family default
25961 ,
25962  apartado
25963 \family sans
25964  Convertidores
25965 \family default
25966 .
25967 \end_layout
25968
25969 \end_inset
25970
25971  convierte Noweb a \SpecialChar LaTeX
25972  para generar el archivo \SpecialChar LaTeX
25973 .
25974 \end_layout
25975
25976 \begin_deeper
25977 \begin_layout Standard
25978 Si no lo es,
25979  se salta este paso.
25980 \end_layout
25981
25982 \end_deeper
25983 \begin_layout Enumerate
25984 Finalmente,
25985  se ejecuta \SpecialChar LaTeX
25986  y continúa el proceso de la manera habitual.
25987 \end_layout
25988
25989 \begin_layout Standard
25990 La independencia de una particular herramienta de programación literaria se basa simplemente en el cambio de los comandos ejecutados por los distintos convertidores.
25991 \end_layout
25992
25993 \begin_layout Paragraph
25994 Generación del código
25995 \end_layout
25996
25997 \begin_layout Standard
25998 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de herramientas,
25999  se genera un archivo \SpecialChar LaTeX
26000  como se describe en el paso 1 anterior.
26001  A continuación,
26002  \SpecialChar LyX
26003  ejecuta el convertidor 
26004 \family typewriter
26005 Noweb->Programa
26006 \family default
26007 .
26008  Habitualmente,
26009  este paso (igual que cualquier otro convertidor) se realiza en dos partes:
26010 \end_layout
26011
26012 \begin_layout Enumerate
26013 El programa convertidor propiamente dicho.
26014  Este programa realiza la conversión de un formato a otro (en este caso,
26015  desde el formato 
26016 \family typewriter
26017 Noweb
26018 \family default
26019  al pseudo-formato 
26020 \family typewriter
26021 Programa
26022 \family default
26023 ).
26024 \end_layout
26025
26026 \begin_layout Enumerate
26027 El analizador de registro de errores.
26028  Este es un programa cuyo único propósito es reescribir los mensajes de error en un formato comprensible para \SpecialChar LyX
26029 .
26030  Esto permite la colocación de los cuadros de error de \SpecialChar LyX
26031  en los lugares correctos.
26032 \end_layout
26033
26034 \begin_layout Standard
26035 La primera parte,
26036  que se especifica en el campo 
26037 \family sans
26038 Convertidor
26039 \family default
26040 ,
26041  debería contener
26042 \end_layout
26043
26044 \begin_layout LyX-Code
26045
26046 \family typewriter
26047 build-script $$i
26048 \family default
26049  
26050 \end_layout
26051
26052 \begin_layout Standard
26053 Esto significa que \SpecialChar LyX
26054  invocará a 
26055 \begin_inset Quotes cld
26056 \end_inset
26057
26058
26059 \family typewriter
26060 build-script
26061 \family default
26062
26063 \begin_inset Quotes crd
26064 \end_inset
26065
26066  (un programa o una secuencia) con el nombre del archivo Noweb (
26067 \family typewriter
26068 $$i
26069 \family default
26070 ,
26071  generalmente un archivo en el directorio temporal de \SpecialChar LyX
26072 ).
26073  
26074 \end_layout
26075
26076 \begin_layout Standard
26077 He aquí una implementación de 
26078 \family typewriter
26079 build-script
26080 \family default
26081  que puedes colocar en un directorio accesible para tu línea de comandos:
26082 \end_layout
26083
26084 \begin_layout LyX-Code
26085
26086 \family sans
26087 #!/bin/sh
26088 \end_layout
26089
26090 \begin_layout LyX-Code
26091
26092 \family sans
26093 #
26094 \end_layout
26095
26096 \begin_layout LyX-Code
26097
26098 \family sans
26099 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
26100 \end_layout
26101
26102 \begin_layout Standard
26103 La segunda parte de los ajustes del convertidor es el 
26104 \begin_inset Quotes cld
26105 \end_inset
26106
26107 indicador
26108 \begin_inset Quotes crd
26109 \end_inset
26110
26111 ,
26112  establecido en
26113 \end_layout
26114
26115 \begin_layout LyX-Code
26116
26117 \family typewriter
26118 parselog=$$s/scripts/listerrors
26119 \end_layout
26120
26121 \begin_layout Standard
26122 Esto procesará cualquier error que se genere por el proceso 
26123 \begin_inset Quotes cld
26124 \end_inset
26125
26126
26127 \family typewriter
26128 build-script
26129 \family default
26130
26131 \begin_inset Quotes crd
26132 \end_inset
26133
26134  a través del programa 
26135 \begin_inset Quotes cld
26136 \end_inset
26137
26138 listerrors
26139 \begin_inset Quotes crd
26140 \end_inset
26141
26142 .
26143 \end_layout
26144
26145 \begin_layout Standard
26146 Normalmente,
26147  la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
26148 ,
26149  por tanto los archivos generados por la conversión estarán en ese directorio.
26150  \SpecialChar LyX
26151  copiará lo que considera como el archivo "principal",
26152  pero la conversión
26153 \family typewriter
26154  Noweb->Programa
26155 \family default
26156  puede generar varios arcivos,
26157  aunque la mayoría de ellos se borran al cerrar \SpecialChar LyX
26158 .
26159  Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR,
26160  para que el gragmento build-script pueda situar los archivos generados en su sitio.
26161 \end_layout
26162
26163 \begin_layout Paragraph
26164 Instrucciones de compilación en el documento
26165 \end_layout
26166
26167 \begin_layout Standard
26168 La última parte de la integración entre \SpecialChar LyX
26169  y noweb es el trozo 
26170 \begin_inset Quotes cld
26171 \end_inset
26172
26173 build-script
26174 \begin_inset Quotes crd
26175 \end_inset
26176
26177 .
26178  Generalmente,
26179  las instrucciones para compilar tu programa deberían incluirse en un trozo propio.
26180  El 
26181 \family typewriter
26182 build-script
26183 \family default
26184  específico de noweb visto antes usa el comando 
26185 \family typewriter
26186 notangle
26187 \family default
26188  para buscar ese trozo (llamado 
26189 \begin_inset Quotes cld
26190 \end_inset
26191
26192 build-script
26193 \begin_inset Quotes crd
26194 \end_inset
26195
26196 ) y procesa su contenido a través de 
26197 \family typewriter
26198 sh
26199 \family default
26200 .
26201 \end_layout
26202
26203 \begin_layout Standard
26204 Típicamente,
26205  un trozo 
26206 \begin_inset Quotes cld
26207 \end_inset
26208
26209 build-script
26210 \begin_inset Quotes crd
26211 \end_inset
26212
26213  se verá más o menos así:
26214 \end_layout
26215
26216 \begin_layout LyX-Code
26217 <<build-script>>=
26218 \end_layout
26219
26220 \begin_layout LyX-Code
26221 #!/bin/sh
26222 \begin_inset Newline newline
26223 \end_inset
26224
26225 if [ -z "${NOWEB_SOURCE}" ]
26226 \begin_inset Newline newline
26227 \end_inset
26228
26229 then
26230 \end_layout
26231
26232 \begin_layout LyX-Code
26233 NOWEB_SOURCE=myfile.nw
26234 \begin_inset Newline newline
26235 \end_inset
26236
26237 fi
26238 \begin_inset Newline newline
26239 \end_inset
26240
26241 [...
26242  code to extract files ...
26243  use NOWEB_OUTPUT_DIR here ...]
26244 \begin_inset Newline newline
26245 \end_inset
26246
26247 [...
26248  code to compile files ...]
26249 \begin_inset Newline newline
26250 \end_inset
26251
26252 @
26253 \end_layout
26254
26255 \begin_layout Standard
26256 Mira en 
26257 \family typewriter
26258 \emph on
26259 LIBDIR
26260 \emph default
26261 /examples/listerrors.lyx
26262 \family default
26263  o 
26264 \family typewriter
26265 \emph on
26266 LIBDIR
26267 \emph default
26268 /examples/Literate.lyx
26269 \family default
26270 ,
26271  que implementan dos versiones del programa 
26272 \family typewriter
26273 listerrors
26274 \family default
26275 ,
26276  para ver algunos ejemplos de cómo ensamblar todo esto,
26277  o en 
26278 \family typewriter
26279 \emph on
26280 LIBDIR
26281 \emph default
26282 /examples/noweb2lyx.lyx
26283 \family default
26284 \emph on
26285 .
26286
26287 \emph default
26288  Es interesante ver cómo estos tres archivos muestran la independencia del lenguaje de programación literaria utilizado en \SpecialChar LyX
26289 ,
26290  puesto que están escritos,
26291  respectivamente,
26292  en Python,
26293  C y Perl.
26294 \end_layout
26295
26296 \begin_layout Subsubsection
26297 Configurar \SpecialChar LyX
26298
26299 \end_layout
26300
26301 \begin_layout Standard
26302 Todo el soporte de Programación Literaria se configura en el panel del menú 
26303 \family sans
26304 Herramientas\SpecialChar menuseparator
26305 Preferencias
26306 \family default
26307  en las solapas 
26308 \family sans
26309 Formatos
26310 \family default
26311
26312 \begin_inset space ~
26313 \end_inset
26314
26315
26316 \family sans
26317 de
26318 \family default
26319
26320 \begin_inset space ~
26321 \end_inset
26322
26323 a
26324 \family sans
26325 rchivo 
26326 \family default
26327
26328 \family sans
26329 Convertidores
26330 \family default
26331 .
26332  Las partes importantes son:
26333 \end_layout
26334
26335 \begin_layout Description
26336 el
26337 \begin_inset space ~
26338 \end_inset
26339
26340 formato
26341 \begin_inset space ~
26342 \end_inset
26343
26344
26345 \begin_inset Quotes cld
26346 \end_inset
26347
26348 literario
26349 \begin_inset Quotes crd
26350 \end_inset
26351
26352  En la solapa 
26353 \family sans
26354 Formatos
26355 \begin_inset space ~
26356 \end_inset
26357
26358 de
26359 \begin_inset space ~
26360 \end_inset
26361
26362 archivo
26363 \family default
26364  se configuran las partes específicas de Noweb.
26365  En 
26366 \family sans
26367 Nombre
26368 \begin_inset space ~
26369 \end_inset
26370
26371 GUI
26372 \family default
26373  debe ponerse 
26374 \family typewriter
26375 NoWeb
26376 \family default
26377 ,
26378  en
26379 \family sans
26380  Extensión
26381 \family default
26382  debe ponerse 
26383 \family typewriter
26384 nw
26385 \family default
26386 .
26387  Esto prepara a \SpecialChar LyX
26388  para generar un archivo con extensión 
26389 \family typewriter
26390 .nw
26391 \family default
26392  en el primer paso del proceso de conversión.
26393 \end_layout
26394
26395 \begin_layout Description
26396 el
26397 \begin_inset space ~
26398 \end_inset
26399
26400 formato
26401 \family sans
26402
26403 \begin_inset space ~
26404 \end_inset
26405
26406 Program
26407 \family default
26408 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 
26409 \family sans
26410 Programa
26411 \family default
26412 ).
26413 \end_layout
26414
26415 \begin_layout Description
26416
26417 \family sans
26418 NoWeb
26419 \family default
26420 ->
26421 \family sans
26422 \SpecialChar LaTeX
26423
26424 \family default
26425  Este convertidor realiza el 
26426 \begin_inset Quotes cld
26427 \end_inset
26428
26429 weaving
26430 \begin_inset Quotes crd
26431 \end_inset
26432
26433  (generación de la documentación) del documento literario.
26434  Para Noweb,
26435  hay que poner el 
26436 \family sans
26437 Convertidor
26438 \family default
26439  
26440 \begin_inset Quotes cld
26441 \end_inset
26442
26443
26444 \family typewriter
26445 noweave -delay -index $$i > $$o
26446 \family default
26447
26448 \begin_inset Quotes crd
26449 \end_inset
26450
26451
26452 \end_layout
26453
26454 \begin_layout Description
26455
26456 \family sans
26457 NoWeb
26458 \family default
26459 ->
26460 \family sans
26461 Program
26462 \family default
26463 a Este realiza el paso 
26464 \begin_inset Quotes cld
26465 \end_inset
26466
26467 tangling
26468 \begin_inset Quotes crd
26469 \end_inset
26470
26471  (generación del código).
26472  Como se dijo antes,
26473  el 
26474 \family sans
26475 Convertidor
26476 \family default
26477  en este caso es 
26478 \begin_inset Quotes cld
26479 \end_inset
26480
26481
26482 \family typewriter
26483 build-script $$i
26484 \family default
26485
26486 \begin_inset Quotes crd
26487 \end_inset
26488
26489 ,
26490  con la 
26491 \family sans
26492 Opción
26493 \family default
26494 \series bold
26495
26496 \begin_inset space ~
26497 \end_inset
26498
26499
26500 \family sans
26501 \series default
26502 extra
26503 \family default
26504  
26505 \begin_inset Quotes cld
26506 \end_inset
26507
26508
26509 \family typewriter
26510 originaldir,parselog=listerrors
26511 \family default
26512
26513 \begin_inset Quotes crd
26514 \end_inset
26515
26516 .
26517 \end_layout
26518
26519 \begin_layout Subsubsection
26520 Extensiones de depuración
26521 \end_layout
26522
26523 \begin_layout Standard
26524 En el servidor \SpecialChar LyX
26525  también se ha implementado una nueva función,
26526  
26527 \begin_inset Quotes cld
26528 \end_inset
26529
26530 server-goto-file-row
26531 \begin_inset Quotes crd
26532 \end_inset
26533
26534 ,
26535  para ser utilizada con 
26536 \family typewriter
26537 ddd
26538 \family default
26539 /
26540 \family typewriter
26541 gdb
26542 \family default
26543  u otro depurador.
26544  
26545 \end_layout
26546
26547 \begin_layout Standard
26548 Cuando se depura código con 
26549 \family typewriter
26550 ddd
26551 \family default
26552 /
26553 \family typewriter
26554 gdb
26555 \family default
26556 ,
26557  es posible invocar un editor de texto en la posición actual de ejecución con una sencilla pulsación de teclado.
26558  La configuración por omisión de 
26559 \family typewriter
26560 ddd
26561 \family default
26562  para esto es 
26563 \family sans
26564 shift-ctrl-V
26565 \family default
26566 .
26567  La línea de comando del editor utilizado por 
26568 \family typewriter
26569 ddd
26570 \family default
26571  se puede definir accediendo al diálogo 
26572 \family sans
26573 Editar\SpecialChar menuseparator
26574 Preferencias\SpecialChar menuseparator
26575 Helpers
26576 \family default
26577  cambiando la entrada 
26578 \family sans
26579 Edit Sources
26580 \family default
26581 .
26582 \end_layout
26583
26584 \begin_layout Standard
26585 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
26586  y esta característica de 
26587 \family typewriter
26588 ddd
26589 \family default
26590 ,
26591  poniendo lo siguiente en 
26592 \family sans
26593 Edit Sources
26594 \family default
26595 :
26596 \end_layout
26597
26598 \begin_layout LyX-Code
26599
26600 \family sans
26601 echo "
26602 \family default
26603 \size footnotesize
26604 LYXCMD
26605 \family sans
26606 \size default
26607 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
26608 \end_layout
26609
26610 \begin_layout Standard
26611 Con esto,
26612  cuando estás usando 
26613 \family typewriter
26614 ddd
26615 \family default
26616  y encuentras una parte del programa que quieres editar,
26617  solo has de pulsar 
26618 \family sans
26619 shift-ctrl-V
26620 \family default
26621  (en la ventana de 
26622 \family sans
26623 ddd
26624 \family default
26625 ),
26626  y 
26627 \family sans
26628 ddd
26629 \family default
26630  pasa esta información por medio del servidor \SpecialChar LyX
26631  a \SpecialChar LyX
26632 ,
26633  en cuya ventana se verá el mismo archivo con el cursor en la posición apuntada por 
26634 \family sans
26635 ddd
26636 \family default
26637 .
26638  ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla para localizar los fallos del programa!
26639 \end_layout
26640
26641 \begin_layout Standard
26642 Sin embargo,
26643  ten en cuenta que debes habilitar el servidor \SpecialChar LyX
26644  para trabajar con él (por omisión está desactivado).
26645  
26646 \end_layout
26647
26648 \begin_layout Standard
26649
26650 \lang english
26651 Sec
26652 \lang spanish
26653 .
26654 \begin_inset space ~
26655 \end_inset
26656
26657
26658 \begin_inset CommandInset ref
26659 LatexCommand ref
26660 reference "sec:Iniciar-el-servidor"
26661 nolink "false"
26662
26663 \end_inset
26664
26665  
26666 \lang english
26667 explains how to do that
26668 \lang spanish
26669 .
26670 \end_layout
26671
26672 \begin_layout Subsubsection
26673 Ampliación de la barra de herramientas
26674 \end_layout
26675
26676 \begin_layout Standard
26677 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de \SpecialChar LyX
26678 .
26679  Four de ellos son atajos a los tipos de párrafo:
26680  
26681 \family sans
26682 Normal
26683 \family default
26684 ,
26685  
26686 \family sans
26687 Sección
26688 \family default
26689 ,
26690  
26691 \family sans
26692 \SpecialChar LaTeX
26693
26694 \family default
26695 ,
26696  
26697 \family sans
26698 y Código-\SpecialChar LyX
26699
26700 \family default
26701 ,
26702  
26703 \lang english
26704 one fpr the custom inset 
26705 \family sans
26706 \lang spanish
26707 Trozo
26708 \family default
26709 .
26710  El otro es un atajo a la entrada 
26711 \begin_inset Quotes cld
26712 \end_inset
26713
26714
26715 \family sans
26716 Compilar Programa
26717 \family default
26718
26719 \begin_inset Quotes crd
26720 \end_inset
26721
26722  del menú 
26723 \family sans
26724 Archivo
26725 \family default
26726 .
26727  
26728 \end_layout
26729
26730 \begin_layout Standard
26731 \SpecialChar LyX
26732  dispone de una colección de botones para personalizar la barra de herramientas.
26733  En mi barra de herramientas personal me gusta combinar los seis botones mencionados con otros dos para las entradas de menú 
26734 \family sans
26735 Documento
26736 \family default
26737 \SpecialChar menuseparator
26738
26739 \family sans
26740 Actualizar
26741 \family default
26742 \SpecialChar menuseparator
26743
26744 \family sans
26745 DVI
26746 \family default
26747  y 
26748 \family sans
26749 Documento\SpecialChar menuseparator
26750 DVI
26751 \family default
26752 .
26753  Así es como queda:
26754 \end_layout
26755
26756 \begin_layout LyX-Code
26757 Toolbar
26758 \end_layout
26759
26760 \begin_layout LyX-Code
26761   Layouts
26762 \end_layout
26763
26764 \begin_layout LyX-Code
26765   Icon "layout Standard"
26766 \end_layout
26767
26768 \begin_layout LyX-Code
26769   Icon "layout Section"
26770 \end_layout
26771
26772 \begin_layout LyX-Code
26773   Icon "layout \SpecialChar LaTeX
26774 "
26775 \end_layout
26776
26777 \begin_layout LyX-Code
26778   Icon "layout \SpecialChar LyX
26779 -Code"
26780 \end_layout
26781
26782 \begin_layout LyX-Code
26783   Icon "
26784 \lang english
26785 flex.insert
26786 \lang spanish
26787  Chunk"
26788 \end_layout
26789
26790 \begin_layout LyX-Code
26791   Separator
26792 \end_layout
26793
26794 \begin_layout LyX-Code
26795   Icon "buffer-view"
26796 \end_layout
26797
26798 \begin_layout LyX-Code
26799   Icon "buffer-typeset"
26800 \end_layout
26801
26802 \begin_layout LyX-Code
26803   Icon "build-program"
26804 \end_layout
26805
26806 \begin_layout LyX-Code
26807   Separator
26808 \end_layout
26809
26810 \begin_layout LyX-Code
26811 .
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 End
26824 \end_layout
26825
26826 \begin_layout Subsubsection
26827 Personalización de los colores
26828 \end_layout
26829
26830 \begin_layout Standard
26831 Cierto número de colores usados en \SpecialChar LyX
26832  se pueden personalizar en el diálogo 
26833 \family sans
26834 Preferencias
26835 \family default
26836 .
26837  Una de las cosas que más molesta a la gente es el color de la tipografía del código \SpecialChar LaTeX
26838 ,
26839  que por omisión es rojo,
26840  y como el entorno 
26841 \lang english
26842
26843 \begin_inset Flex Noun
26844 status collapsed
26845
26846 \begin_layout Plain Layout
26847 Trozo
26848 \end_layout
26849
26850 \end_inset
26851
26852
26853 \family sans
26854 \lang spanish
26855  
26856 \family default
26857 utiliza código \SpecialChar LaTeX
26858  y hay mucho código en los documentos de programación literaria,
26859  puedes acabar harto de ver tanto rojo.
26860  Así pues,
26861  puedes cambiarlo si quieres en 
26862 \family sans
26863 Apariencia
26864 \family default
26865 \SpecialChar menuseparator
26866
26867 \family sans
26868 Colores.
26869 \end_layout
26870
26871 \begin_layout Standard
26872 El siguiente asunto es la presencia visible del carácter salto de línea en la pantalla.
26873  Puedes elegir el color de este carácter en particular para confundirlo con el fondo.
26874  Recomiendo escoger un color parecido al del fondo pero no idéntico,
26875  de esta forma lo seguirás viendo pero sin molestar tanto.
26876 \end_layout
26877
26878 \begin_layout Subsection
26879 \SpecialChar LyX
26880  y knitr/Sweave
26881 \end_layout
26882
26883 \begin_layout Standard
26884 El soporte para 
26885 \family sans
26886 knitr
26887 \family default
26888  y 
26889 \family sans
26890 Sweave
26891 \family default
26892  está documentado en el archivo de ejemplo 
26893 \emph on
26894 knitr.lyx
26895 \emph default
26896  y en el manual de Sweave (menú 
26897 \family sans
26898 Ayuda\SpecialChar menuseparator
26899 Manuales específicos
26900 \family default
26901 ).
26902 \end_layout
26903
26904 \begin_layout Chapter
26905 Características especiales
26906 \end_layout
26907
26908 \begin_layout Standard
26909 Con \SpecialChar LyX
26910  se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
26911 .
26912  Aunque \SpecialChar LyX
26913  no puede soportar directamente todas las características de \SpecialChar LaTeX
26914 ,
26915  siempre es posible usar código \SpecialChar LaTeX
26916 .
26917  Este capítulo trata de algunas cosas especiales que podrían interesarte.
26918  Las características especiales relacionadas con figuras,
26919  cuadros,
26920  flotantes,
26921  marcos y notas,
26922  se pueden consultar en el manual 
26923 \emph on
26924 Objetos insertados
26925 \emph default
26926 .
26927  
26928 \end_layout
26929
26930 \begin_layout Section
26931 Texto en columnas
26932 \end_layout
26933
26934 \begin_layout Standard
26935 Esta característica es independiente de la opción 
26936 \family sans
26937 Documento con dos columnas
26938 \family default
26939  en 
26940 \family sans
26941 Diseño del texto
26942 \family default
26943  de la configuración del documento.
26944  Para tener dos columnas de texto en todo el documento se recomienda usar dicha opción.
26945  Para el resto de casos se usa la característica aquí descrita.
26946 \end_layout
26947
26948 \begin_layout Standard
26949 Para poner texto en varias columnas,
26950  hay que cargar el módulo 
26951 \family sans
26952 Columnas
26953 \family default
26954  (menú 
26955 \family sans
26956 Documento\SpecialChar menuseparator
26957 Configuración\SpecialChar menuseparator
26958 Módulos
26959 \family default
26960 ),
26961  y debe estar instalado el paquete \SpecialChar LaTeX
26962  
26963 \family typewriter
26964 multicol
26965 \family default
26966
26967 \begin_inset Index idx
26968 range none
26969 pageformat default
26970 status collapsed
26971
26972 \begin_layout Plain Layout
26973 \SpecialChar LaTeX
26974 -paquetes !
26975  multicol
26976 \end_layout
26977
26978 \end_inset
26979
26980 .
26981 \end_layout
26982
26983 \begin_layout Standard
26984 Las notas al pie en las columnas se colocarán al final de la página y no bajo cada columna.
26985  En las distintas columnas se puede usar todo,
26986  excepto que para flotantes hay que usar la opción 
26987 \family sans
26988 Extender columnas
26989 \family default
26990 .
26991 \end_layout
26992
26993 \begin_layout Subsection
26994 Conceptos básicos
26995 \end_layout
26996
26997 \begin_layout Standard
26998 Para poner un texto en dos columnas,
26999  usa el menú 
27000 \family sans
27001 Insertar\SpecialChar menuseparator
27002 Recuadro
27003 \begin_inset space ~
27004 \end_inset
27005
27006 personalizado\SpecialChar menuseparator
27007 Columnas
27008 \family default
27009  en el punto en que deben iniciarse las columnas.
27010  Escribe en el recuadro todo el texto que debe ir en dos columnas.
27011 \end_layout
27012
27013 \begin_layout Standard
27014 Un ejemplo:
27015 \end_layout
27016
27017 \begin_layout Standard
27018 \noindent
27019
27020 \lang english
27021 \begin_inset Flex Multiple Columns
27022 status open
27023
27024 \begin_layout Plain Layout
27025 \noindent
27026
27027 \series bold
27028 \size small
27029 \lang english
27030 The Adventure of the Empty House
27031 \series default
27032
27033 \begin_inset Newline newline
27034 \end_inset
27035
27036 by Sir Arthur Conan Doyle
27037 \end_layout
27038
27039 \begin_layout Plain Layout
27040
27041 \size small
27042 \lang english
27043 It was in the spring of the year 1894 that all London was interested,
27044  and the fashionable world dismayed,
27045  by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
27046  The public has already learned those particulars of the crime which came out in the police investigation,
27047  but a good deal was suppressed upon that occasion,
27048  since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
27049  Only now,
27050  at the end of nearly ten years,
27051  am I allowed to supply those missing links which make up the whole of that remarkable chain.
27052  The crime was of interest in itself,
27053  but that interest was as nothing to me compared to the inconceivable sequel,
27054  which afforded me the greatest shock and surprise of any event in my adventurous life.
27055  Even now,
27056  after this long interval,
27057  I find myself thrilling as I think of it,
27058  and feeling once more that sudden flood of joy,
27059  amazement,
27060  and incredulity which utterly submerged my mind.
27061  Let me say to that public,
27062  which has shown some interest in those glimpses which I have occasionally given them of the thoughts and actions of a very remarkable man,
27063  that they are not to blame me if I have not shared my knowledge with them,
27064  for I should have considered it my first duty to do so,
27065  had I not been barred by a positive prohibition from his own lips,
27066  which was only withdrawn upon the third of last month.
27067 \end_layout
27068
27069 \end_inset
27070
27071
27072 \end_layout
27073
27074 \begin_layout Standard
27075 Para poner tres o más columnas coloca el cursor dentro del recuadro,
27076  usa el menú 
27077 \family sans
27078 Insertar\SpecialChar menuseparator
27079 Número de columnas
27080 \family default
27081  y escribe el número de columnas,
27082  por ejemplo "3".
27083 \begin_inset Newline newline
27084 \end_inset
27085
27086 Un ejemplo de texto en tres columnas:
27087 \end_layout
27088
27089 \begin_layout Standard
27090
27091 \lang english
27092 \begin_inset Flex Multiple Columns
27093 status open
27094
27095 \begin_layout Plain Layout
27096
27097 \size footnotesize
27098 \lang english
27099 \begin_inset Argument 1
27100 status open
27101
27102 \begin_layout Plain Layout
27103
27104 3
27105 \end_layout
27106
27107 \end_inset
27108
27109 It can be imagined that my close intimacy with Sherlock Holmes had interested me deeply in crime,
27110  and that after his disappearance I never failed to read with care the various problems which came before the public.
27111  And I even attempted,
27112  more than once,
27113  for my own private satisfaction,
27114  to employ his methods in their solution,
27115  though with indifferent success.
27116  There was none,
27117  however,
27118  which appealed to me like this tragedy of Ronald Adair.
27119  As I read the evidence at the inquest,
27120  which led up to a verdict of willful murder against some person or persons unknown,
27121  I realized more clearly than I had ever done the loss which the community had sustained by the death of Sherlock Holmes.
27122  There were points about this strange business which would,
27123  I was sure,
27124  have specially appealed to him,
27125  and the efforts of the police would have been supplemented,
27126  or more probably anticipated,
27127  by the trained observation and the alert mind of the first criminal agent in Europe.
27128  All day,
27129  as I drove upon my round,
27130  I turned over the case in my mind and found no explanation which appeared to me to be adequate.
27131  At the risk of telling a twice-told tale,
27132  I will recapitulate the facts as they were known to the public at the conclusion of the inquest.
27133 \end_layout
27134
27135 \end_inset
27136
27137
27138 \end_layout
27139
27140 \begin_layout Standard
27141 Se puede llegar hasta 10
27142 \begin_inset space ~
27143 \end_inset
27144
27145 columnas,
27146  aunque seguramente no será muy cómodo para los lectores.
27147 \end_layout
27148
27149 \begin_layout Standard
27150
27151 \lang english
27152 \begin_inset Newpage newpage
27153 \end_inset
27154
27155
27156 \end_layout
27157
27158 \begin_layout Subsection
27159 Columnas dentro de otras columnas
27160 \end_layout
27161
27162 \begin_layout Standard
27163 Es posible poner columnas dentro de otras:
27164 \end_layout
27165
27166 \begin_layout Standard
27167
27168 \lang english
27169 \begin_inset Flex Multiple Columns
27170 status open
27171
27172 \begin_layout Plain Layout
27173
27174 \size footnotesize
27175 \lang english
27176 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
27177  at that time governor of one of the Australian colonies.
27178  Adair's mother had returned from Australia to undergo the operation for cataract,
27179  and she,
27180  her son Ronald,
27181  and her daughter Hilda were living together at 427 Park Lane.
27182 \end_layout
27183
27184 \begin_layout Plain Layout
27185
27186 \lang english
27187 \begin_inset Flex Multiple Columns
27188 status open
27189
27190 \begin_layout Plain Layout
27191
27192 \size footnotesize
27193 \lang english
27194 The youth moved in the best society
27195 \begin_inset space ~
27196 \end_inset
27197
27198 – had,
27199  so far as was known,
27200  no enemies and no particular vices.
27201  He had been engaged to Miss Edith Woodley,
27202  of Carstairs,
27203  but the engagement had been broken off by mutual consent some months before,
27204  and there was no sign that it had left any very profound feeling behind it.
27205  For the rest {sic} the man's life moved in a narrow and conventional circle,
27206  for his habits were quiet and his nature unemotional.
27207  Yet it was upon this easy-going young aristocrat that death came,
27208  in most strange and unexpected form,
27209  between the hours of ten and eleven-twenty on the night of March 30,
27210  1894.
27211 \end_layout
27212
27213 \end_inset
27214
27215
27216 \end_layout
27217
27218 \begin_layout Plain Layout
27219
27220 \size footnotesize
27221 \lang english
27222 Ronald Adair was fond of cards
27223 \begin_inset space ~
27224 \end_inset
27225
27226 – playing continually,
27227  but never for such stakes as would hurt him.
27228  He was a member of the Baldwin,
27229  the Cavendish,
27230  and the Bagatelle card clubs.
27231  It was shown that,
27232  after dinner on the day of his death,
27233  he had played a rubber of whist at the latter club.
27234  He had also played there in the afternoon.
27235
27236 \size default
27237  
27238 \size footnotesize
27239 The evidence of those who had played with him
27240 \begin_inset space ~
27241 \end_inset
27242
27243 – Mr.
27244  Murray,
27245  Sir John Hardy,
27246  and Colonel Moran
27247 \begin_inset space ~
27248 \end_inset
27249
27250 – showed that the game was whist,
27251  and that there was a fairly equal fall of the cards.
27252  Adair might have lost five pounds,
27253  but not more.
27254  His fortune was a considerable one,
27255  and such a loss could not in any way affect him.
27256  He had played nearly every day at one club or other,
27257  but he was a cautious player,
27258  and usually rose a winner.
27259  It came out in evidence that,
27260  in partnership with Colonel Moran,
27261  he had actually won as much as four hundred and twenty pounds in a sitting,
27262  some weeks before,
27263  from Godfrey Milner and Lord Balmoral.
27264  So much for his recent history as it came out at the inquest.
27265 \end_layout
27266
27267 \end_inset
27268
27269
27270 \end_layout
27271
27272 \begin_layout Subsection
27273 Ejemplos avanzados
27274 \end_layout
27275
27276 \begin_layout Standard
27277 Los ejemplos de esta sección muestran algunas características más avanzadas de las columnas.
27278 \end_layout
27279
27280 \begin_layout Standard
27281 Para ver más opciones de columnas echa un vistazo a la 
27282 \begin_inset CommandInset href
27283 LatexCommand href
27284 name "documentación"
27285 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
27286 literal "false"
27287
27288 \end_inset
27289
27290  del paquete \SpecialChar LaTeX
27291  
27292 \family typewriter
27293 multicol
27294 \family default
27295 .
27296 \end_layout
27297
27298 \begin_layout Subsubsection
27299 Prefacio
27300 \end_layout
27301
27302 \begin_layout Standard
27303 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro del texto en columnas y usa el menú 
27304 \family sans
27305 Insertar\SpecialChar menuseparator
27306 Prefacio
27307 \family default
27308 .
27309  Escribe en el marco que aparece el texto del prefacio.
27310 \begin_inset Newline newline
27311 \end_inset
27312
27313 Ejemplo con un texto de prefacio:
27314 \begin_inset VSpace bigskip
27315 \end_inset
27316
27317
27318 \end_layout
27319
27320 \begin_layout Standard
27321
27322 \lang english
27323 \begin_inset Flex Multiple Columns
27324 status open
27325
27326 \begin_layout Plain Layout
27327 \begin_inset Argument 2
27328 status open
27329
27330 \begin_layout Plain Layout
27331 Y la historia continúa\SpecialChar ldots
27332
27333 \end_layout
27334
27335 \end_inset
27336
27337
27338 \size small
27339 \lang english
27340 On the evening of the crime,
27341  he returned from the club exactly at ten.
27342  His mother and sister were out spending the evening with a relation.
27343  The servant deposed that she heard him enter the front room on the second floor,
27344  generally used as his sitting-room.
27345  She had lit a fire there,
27346  and as it smoked she had opened the window.
27347  No sound was heard from the room until eleven-twenty,
27348  the hour of the return of Lady Maynooth and her daughter.
27349  Desiring to say good-night,
27350  she attempted to enter her son's room.
27351  The door was locked on the inside,
27352  and no answer could be got to their cries and knocking.
27353  Help was obtained,
27354  and the door forced.
27355  The unfortunate young man was found lying near the table.
27356  His head had been horribly mutilated by an expanding revolver bullet,
27357  but no weapon of any sort was to be found in the room.
27358 \end_layout
27359
27360 \end_inset
27361
27362
27363 \end_layout
27364
27365 \begin_layout Standard
27366 También se puede usar un encabezado de sección como prefacio,
27367  poniendo un comando de sección en código \SpecialChar TeX
27368 .
27369  Por ejemplo,
27370  el comando
27371 \end_layout
27372
27373 \begin_layout Standard
27374
27375 \series bold
27376
27377 \backslash
27378 subsection{título de la subsección}
27379 \end_layout
27380
27381 \begin_layout Standard
27382 crea una subsección.
27383  En el siguiente ejemplo el título de la subsubsección hace de prefacio:
27384 \end_layout
27385
27386 \begin_layout Standard
27387
27388 \lang english
27389 \begin_inset Flex Multiple Columns
27390 status open
27391
27392 \begin_layout Plain Layout
27393 \begin_inset Argument 2
27394 status open
27395
27396 \begin_layout Plain Layout
27397 \begin_inset ERT
27398 status collapsed
27399
27400 \begin_layout Plain Layout
27401
27402
27403 \backslash
27404 subsubsection{
27405 \end_layout
27406
27407 \end_inset
27408
27409 Un encabezado de subsubsección como prefacio
27410 \begin_inset ERT
27411 status collapsed
27412
27413 \begin_layout Plain Layout
27414
27415 }
27416 \end_layout
27417
27418 \end_inset
27419
27420
27421 \end_layout
27422
27423 \end_inset
27424
27425
27426 \size small
27427 \lang english
27428 A minute examination of the circumstances served only to make the case more complex.
27429  In the first place,
27430  no reason could be given why the young man should have fastened the door upon the inside.
27431  There was the possibility that the murderer had done this,
27432  and had afterwards escaped by the window.
27433  The drop was at least twenty feet,
27434  however,
27435  and a bed of crocuses in full bloom lay beneath.
27436  Neither the flowers nor the earth showed any sign of having been disturbed,
27437  nor were there any marks upon the narrow strip of grass which separated the house from the road.
27438  Apparently,
27439  therefore,
27440  it was the young man himself who had fastened the door.
27441  But how did he come by his death?
27442  No one could have climbed up to the window without leaving traces.
27443  Suppose a man had fired through the window,
27444  he would indeed be a remarkable shot who could with a revolver inflict so deadly a wound.
27445  Again,
27446  Park Lane is a frequented thoroughfare;
27447  there is a cab stand within a hundred yards of the house.
27448  No one had heard a shot.
27449 \end_layout
27450
27451 \end_inset
27452
27453
27454 \end_layout
27455
27456 \begin_layout Standard
27457 Si al comenzar las columnas queda menos espacio vertical en la página que el correspondiente a 6 líneas de texto,
27458  se insertará un salto de página.
27459  Dependiendo del número de líneas del texto del prefacio,
27460  es posible cambiar ese espacio.
27461  Para ello se coloca el cursor detrás del prefacio (si lo hay),
27462  se usa el menú 
27463 \family sans
27464 Insertar\SpecialChar menuseparator
27465 Espacio
27466 \begin_inset space ~
27467 \end_inset
27468
27469 ante
27470 \begin_inset space ~
27471 \end_inset
27472
27473 salto
27474 \begin_inset space ~
27475 \end_inset
27476
27477 de
27478 \begin_inset space ~
27479 \end_inset
27480
27481 página
27482 \family default
27483  y se escribe en el marco el espacio deseado,
27484  por ej.
27485  "5cm".
27486 \begin_inset Newline newline
27487 \end_inset
27488
27489 En el siguiente ejemplo,
27490  el espacio establecido es de 7 líneas de texto mediante 
27491 \begin_inset Quotes cld
27492 \end_inset
27493
27494
27495 \family typewriter
27496 7
27497 \backslash
27498 baselineskip
27499 \family default
27500
27501 \begin_inset Quotes crd
27502 \end_inset
27503
27504  (con el comando 
27505 \family typewriter
27506
27507 \backslash
27508 baselineskip
27509 \family default
27510  en código \SpecialChar TeX
27511 ).
27512 \end_layout
27513
27514 \begin_layout Standard
27515
27516 \lang english
27517 \begin_inset Flex Multiple Columns
27518 status open
27519
27520 \begin_layout Plain Layout
27521 \begin_inset Argument 3
27522 status open
27523
27524 \begin_layout Plain Layout
27525 7
27526 \begin_inset ERT
27527 status collapsed
27528
27529 \begin_layout Plain Layout
27530
27531
27532 \backslash
27533 baselineskip
27534 \end_layout
27535
27536 \end_inset
27537
27538
27539 \end_layout
27540
27541 \end_inset
27542
27543
27544 \size small
27545 \lang english
27546 On the evening of the crime,
27547  he returned from the club exactly at ten.
27548  His mother and sister were out spending the evening with a relation.
27549  The servant deposed that she heard him enter the front room on the second floor,
27550  generally used as his sitting-room.
27551  She had lit a fire there,
27552  and as it smoked she had opened the window.
27553  No sound was heard from the room until eleven-twenty,
27554  the hour of the return of Lady Maynooth and her daughter.
27555  Desiring to say good-night,
27556  she attempted to enter her son's room.
27557  The door was locked on the inside,
27558  and no answer could be got to their cries and knocking.
27559  Help was obtained,
27560  and the door forced.
27561  The unfortunate young man was found lying near the table.
27562  His head had been horribly mutilated by an expanding revolver bullet,
27563  but no weapon of any sort was to be found in the room.
27564 \end_layout
27565
27566 \end_inset
27567
27568
27569 \end_layout
27570
27571 \begin_layout Subsubsection
27572 Espacio circundante
27573 \end_layout
27574
27575 \begin_layout Standard
27576 El espacio delante y detrás de las columnas se puede cambiar con el comando de longitud 
27577 \family typewriter
27578
27579 \backslash
27580 multicolsep
27581 \family default
27582 .
27583  Así,
27584  el comando
27585 \end_layout
27586
27587 \begin_layout LyX-Code
27588
27589 \family typewriter
27590
27591 \backslash
27592 setlength{
27593 \backslash
27594 multicolsep}{3cm}
27595 \end_layout
27596
27597 \begin_layout Standard
27598 en código \SpecialChar TeX
27599  establece un espacio de 3
27600 \begin_inset space \thinspace{}
27601 \end_inset
27602
27603 cm.
27604  El cambio debe hacerse antes del inicio de las columnas.
27605  El valor por omisión es de 13
27606 \begin_inset space \thinspace{}
27607 \end_inset
27608
27609 pt.
27610 \end_layout
27611
27612 \begin_layout Standard
27613 Para este ejemplo,
27614  
27615 \family typewriter
27616
27617 \backslash
27618 multicolsep
27619 \family default
27620  se ha establecido en 2.5
27621 \begin_inset space \thinspace{}
27622 \end_inset
27623
27624 cm:
27625 \end_layout
27626
27627 \begin_layout Standard
27628 \begin_inset ERT
27629 status open
27630
27631 \begin_layout Plain Layout
27632
27633
27634 \backslash
27635 setlength{
27636 \backslash
27637 multicolsep}{2.5cm}
27638 \end_layout
27639
27640 \end_inset
27641
27642
27643 \end_layout
27644
27645 \begin_layout Standard
27646
27647 \lang english
27648 \begin_inset Flex Multiple Columns
27649 status open
27650
27651 \begin_layout Plain Layout
27652
27653 \size small
27654 \lang english
27655 All day I turned these facts over in my mind,
27656  endeavouring to hit upon some theory which could reconcile them all,
27657  and to find that line of least resistance which my poor friend had declared to be the starting-point of every investigation.
27658  I confess that I made little progress.
27659  In the evening I strolled across the Park,
27660  and found myself about six o'clock at the Oxford Street end of Park Lane.
27661  A group of loafers upon the pavements,
27662  all staring up at a particular window,
27663  directed me to the house which I had come to see.
27664  A tall,
27665  thin man with coloured glasses,
27666  whom I strongly suspected of being a plain-clothes detective,
27667  was pointing out some theory of his own,
27668  while the others crowded round to listen to what he said.
27669  I got as near him as I could,
27670  but his observations seemed to me to be absurd,
27671  so I withdrew again in some disgust.
27672  As I did so I struck against an elderly,
27673  deformed man,
27674  who had been behind me,
27675  and I knocked down several books which he was carrying.
27676 \end_layout
27677
27678 \end_inset
27679
27680
27681 \end_layout
27682
27683 \begin_layout Standard
27684 \begin_inset Note Greyedout
27685 status open
27686
27687 \begin_layout Plain Layout
27688
27689 \series bold
27690 Nota:
27691
27692 \series default
27693  Los valores de 
27694 \family typewriter
27695
27696 \backslash
27697 setlength
27698 \family default
27699  serán válidos para todas las columnas siguientes hasta que se cambie de nuevo.
27700 \end_layout
27701
27702 \end_inset
27703
27704
27705 \end_layout
27706
27707 \begin_layout Standard
27708 \begin_inset ERT
27709 status collapsed
27710
27711 \begin_layout Plain Layout
27712
27713
27714 \backslash
27715 setlength{
27716 \backslash
27717 multicolsep}{13pt}
27718 \end_layout
27719
27720 \end_inset
27721
27722
27723 \begin_inset Note Note
27724 status collapsed
27725
27726 \begin_layout Plain Layout
27727 vuelta al valor predefinido
27728 \end_layout
27729
27730 \end_inset
27731
27732
27733 \end_layout
27734
27735 \begin_layout Standard
27736
27737 \lang english
27738 \begin_inset Newpage newpage
27739 \end_inset
27740
27741
27742 \end_layout
27743
27744 \begin_layout Subsubsection
27745 Saltos de columna
27746 \end_layout
27747
27748 \begin_layout Standard
27749 Se puede forzar un salto de columna insertando el comando
27750 \series bold
27751  
27752 \family typewriter
27753 \series default
27754
27755 \backslash
27756 columnbreak{}
27757 \family default
27758  en código \SpecialChar TeX
27759  en la posición del texto en la que se desee quebrar la columna.
27760  A tener en cuenta que,
27761  en la mayoría de los casos,
27762  esto genera espacios en el texto.
27763 \begin_inset Newline newline
27764 \end_inset
27765
27766 Un ejemplo:
27767 \end_layout
27768
27769 \begin_layout Standard
27770
27771 \lang english
27772 \begin_inset Flex Multiple Columns
27773 status open
27774
27775 \begin_layout Plain Layout
27776
27777 \size small
27778 \lang english
27779 \begin_inset Quotes eld
27780 \end_inset
27781
27782 You're surprised to see me,
27783  sir,
27784 \begin_inset Quotes erd
27785 \end_inset
27786
27787  said he,
27788  in a strange,
27789  croaking voice.
27790 \end_layout
27791
27792 \begin_layout Plain Layout
27793
27794 \size small
27795 \lang english
27796 I acknowledged that I was.
27797 \end_layout
27798
27799 \begin_layout Plain Layout
27800
27801 \size small
27802 \lang english
27803 \begin_inset Quotes eld
27804 \end_inset
27805
27806 Well,
27807  I've a conscience,
27808  sir,
27809  and when I chanced to see you go into this house,
27810  as I came hobbling after you,
27811  I thought to myself,
27812  I'll just step in and see that kind gentleman,
27813  and tell him that if I was a bit gruff in my manner there was not any harm meant,
27814  and that I am much obliged to him for picking up my books.
27815 \begin_inset Quotes erd
27816 \end_inset
27817
27818
27819 \end_layout
27820
27821 \begin_layout Plain Layout
27822
27823 \size small
27824 \lang english
27825 \begin_inset Quotes eld
27826 \end_inset
27827
27828 You make too much of a trifle,
27829 \begin_inset Quotes erd
27830 \end_inset
27831
27832  said I.
27833  
27834 \begin_inset Quotes eld
27835 \end_inset
27836
27837 May I ask how you knew who I was?
27838 \begin_inset Quotes erd
27839 \end_inset
27840
27841
27842 \lang spanish
27843  TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
27844 \begin_inset ERT
27845 status collapsed
27846
27847 \begin_layout Plain Layout
27848
27849
27850 \backslash
27851 columnbreak{}
27852 \end_layout
27853
27854 \end_inset
27855
27856
27857 \end_layout
27858
27859 \begin_layout Plain Layout
27860
27861 \size small
27862 \lang english
27863 \begin_inset Quotes eld
27864 \end_inset
27865
27866 Well,
27867  sir,
27868  if it isn't too great a liberty,
27869  I am a neighbour of yours,
27870  for you'll find my little bookshop at the corner of Church Street,
27871  and very happy to see you,
27872  I am sure.
27873  Maybe you collect yourself,
27874  sir.
27875  Here's 
27876 \noun on
27877 British
27878 \begin_inset space ~
27879 \end_inset
27880
27881 Birds
27882 \noun default
27883 ,
27884  and 
27885 \noun on
27886 Catullus
27887 \noun default
27888 ,
27889  and 
27890 \noun on
27891 The Holy War
27892 \noun default
27893
27894 \begin_inset space ~
27895 \end_inset
27896
27897 – a bargain,
27898  every one of them.
27899  With five volumes you could just fill that gap on that second shelf.
27900  It looks untidy,
27901  does it not,
27902  sir?
27903 \begin_inset Quotes erd
27904 \end_inset
27905
27906
27907 \end_layout
27908
27909 \end_inset
27910
27911
27912 \end_layout
27913
27914 \begin_layout Subsubsection
27915 Separación de columnas
27916 \end_layout
27917
27918 \begin_layout Standard
27919 La anchura de las columnas se calcula automáticamente,
27920  pero la separación entre ellas se puede modificar mediante el comando 
27921 \family typewriter
27922
27923 \backslash
27924 columnsep
27925 \family default
27926 .
27927  El valor predeterminado es 10
27928 \begin_inset space \thinspace{}
27929 \end_inset
27930
27931 pt.
27932  A continuación hay un ejemplo en el que la longitud de 
27933 \family typewriter
27934
27935 \backslash
27936 columnsep
27937 \family default
27938  se ha establecido en 3
27939 \begin_inset space \thinspace{}
27940 \end_inset
27941
27942 cm:
27943 \end_layout
27944
27945 \begin_layout Standard
27946 \begin_inset ERT
27947 status open
27948
27949 \begin_layout Plain Layout
27950
27951
27952 \backslash
27953 setlength{
27954 \backslash
27955 columnsep}{3cm}
27956 \end_layout
27957
27958 \end_inset
27959
27960
27961 \end_layout
27962
27963 \begin_layout Standard
27964
27965 \lang english
27966 \begin_inset Flex Multiple Columns
27967 status open
27968
27969 \begin_layout Plain Layout
27970
27971 \size small
27972 \lang english
27973 My observations of No.
27974 \begin_inset space \space{}
27975 \end_inset
27976
27977 427 Park Lane did little to clear up the problem in which I was interested.
27978  The house was separated from the street by a low wall and railing,
27979  the whole not more than five feet high.
27980  It was perfectly easy,
27981  therefore,
27982  for anyone to get into the garden,
27983  but the window was entirely inaccessible,
27984  since there was no water pipe or anything which could help the most active man to climb it.
27985  More puzzled than ever,
27986  I retraced my steps to Kensington.
27987  I had not been in my study five minutes when the maid entered to say that a person desired to see me.
27988  To my astonishment it was none other than my strange old book collector,
27989  his sharp,
27990  wizened face peering out from a frame of white hair,
27991  and his precious volumes,
27992  a dozen of them at least,
27993  wedged under his right arm.
27994 \end_layout
27995
27996 \end_inset
27997
27998
27999 \end_layout
28000
28001 \begin_layout Standard
28002 \begin_inset ERT
28003 status collapsed
28004
28005 \begin_layout Plain Layout
28006
28007
28008 \backslash
28009 setlength{
28010 \backslash
28011 columnsep}{10pt}
28012 \end_layout
28013
28014 \end_inset
28015
28016
28017 \begin_inset Note Note
28018 status collapsed
28019
28020 \begin_layout Plain Layout
28021 vuelta al valor predefinido
28022 \end_layout
28023
28024 \end_inset
28025
28026
28027 \end_layout
28028
28029 \begin_layout Subsubsection
28030 Líneas verticales
28031 \end_layout
28032
28033 \begin_layout Standard
28034 Entre las columnas se dibuja una línea cuya anchura viene dada por 
28035 \family typewriter
28036
28037 \backslash
28038 columnseprule
28039 \family default
28040 .
28041  La anchura por omisión es de 0
28042 \begin_inset space \thinspace{}
28043 \end_inset
28044
28045 pt,
28046  no se dibuja ninguna línea.
28047  En el siguiente ejemplo la anchura de línea es 2
28048 \begin_inset space \thinspace{}
28049 \end_inset
28050
28051 pt.
28052 \end_layout
28053
28054 \begin_layout Standard
28055 \begin_inset ERT
28056 status open
28057
28058 \begin_layout Plain Layout
28059
28060
28061 \backslash
28062 setlength{
28063 \backslash
28064 columnseprule}{2pt}
28065 \end_layout
28066
28067 \end_inset
28068
28069
28070 \end_layout
28071
28072 \begin_layout Standard
28073
28074 \lang english
28075 \begin_inset Flex Multiple Columns
28076 status open
28077
28078 \begin_layout Plain Layout
28079
28080 \size small
28081 \lang english
28082 \begin_inset Quotes eld
28083 \end_inset
28084
28085 You're surprised to see me,
28086  sir,
28087 \begin_inset Quotes erd
28088 \end_inset
28089
28090  said he,
28091  in a strange,
28092  croaking voice.
28093 \end_layout
28094
28095 \begin_layout Plain Layout
28096
28097 \size small
28098 \lang english
28099 I acknowledged that I was.
28100 \end_layout
28101
28102 \begin_layout Plain Layout
28103
28104 \size small
28105 \lang english
28106 \begin_inset Quotes eld
28107 \end_inset
28108
28109 Well,
28110  I've a conscience,
28111  sir,
28112  and when I chanced to see you go into this house,
28113  as I came hobbling after you,
28114  I thought to myself,
28115  I'll just step in and see that kind gentleman,
28116  and tell him that if I was a bit gruff in my manner there was not any harm meant,
28117  and that I am much obliged to him for picking up my books.
28118 \begin_inset Quotes erd
28119 \end_inset
28120
28121
28122 \end_layout
28123
28124 \begin_layout Plain Layout
28125
28126 \size small
28127 \lang english
28128 \begin_inset Quotes eld
28129 \end_inset
28130
28131 You make too much of a trifle,
28132 \begin_inset Quotes erd
28133 \end_inset
28134
28135  said I.
28136  
28137 \begin_inset Quotes eld
28138 \end_inset
28139
28140 May I ask how you knew who I was?
28141 \begin_inset Quotes erd
28142 \end_inset
28143
28144
28145 \end_layout
28146
28147 \begin_layout Plain Layout
28148
28149 \size small
28150 \lang english
28151 \begin_inset Quotes eld
28152 \end_inset
28153
28154 Well,
28155  sir,
28156  if it isn't too great a liberty,
28157  I am a neighbour of yours,
28158  for you'll find my little bookshop at the corner of Church Street,
28159  and very happy to see you,
28160  I am sure.
28161  Maybe you collect yourself,
28162  sir.
28163  Here's 
28164 \noun on
28165 British
28166 \begin_inset space ~
28167 \end_inset
28168
28169 Birds
28170 \noun default
28171 ,
28172  and 
28173 \noun on
28174 Catullus
28175 \noun default
28176 ,
28177  and 
28178 \noun on
28179 The Holy War
28180 \noun default
28181
28182 \begin_inset space ~
28183 \end_inset
28184
28185 – a bargain,
28186  every one of them.
28187  With five volumes you could just fill that gap on that second shelf.
28188  It looks untidy,
28189  does it not,
28190  sir?
28191 \begin_inset Quotes erd
28192 \end_inset
28193
28194
28195 \end_layout
28196
28197 \end_inset
28198
28199
28200 \end_layout
28201
28202 \begin_layout Standard
28203 \begin_inset VSpace defskip
28204 \end_inset
28205
28206
28207 \end_layout
28208
28209 \begin_layout Standard
28210 La raya se puede colorear redefiniendo el comando
28211 \lang english
28212  
28213 \family typewriter
28214 \lang spanish
28215
28216 \backslash
28217 columnseprulecolor
28218 \family default
28219 .
28220  Esto se consigue insertando el comando
28221 \end_layout
28222
28223 \begin_layout LyX-Code
28224
28225 \family typewriter
28226
28227 \backslash
28228 renewcommand{
28229 \backslash
28230 columnseprulecolor}{
28231 \backslash
28232 color{red}}
28233 \end_layout
28234
28235 \begin_layout LyX-Code
28236 en código \SpecialChar TeX
28237  delante del recuadro columnas.
28238  Se puede poner el color deseado en lugar de red (rojo).
28239  Se puede usar cualquier color predefinido o personalizado.
28240  Véase el manual 
28241 \emph on
28242 Objetos insertados
28243 \emph default
28244 ,
28245
28246 \emph on
28247  
28248 \emph default
28249 sección 
28250 \emph on
28251 Cuadros coloreados
28252 \emph default
28253  para más información sobre colores.
28254  Para volver al color por omisión inserta el comando
28255 \end_layout
28256
28257 \begin_layout LyX-Code
28258
28259 \backslash
28260 renewcommand{
28261 \backslash
28262 columnseprulecolor}{
28263 \backslash
28264 normalcolor}
28265 \end_layout
28266
28267 \begin_layout LyX-Code
28268 Aquí hay un ejemplo con una línea en color cian y 1
28269 \begin_inset space \thinspace{}
28270 \end_inset
28271
28272 cm de separación entre columnas:
28273 \end_layout
28274
28275 \begin_layout Standard
28276 \begin_inset ERT
28277 status open
28278
28279 \begin_layout Plain Layout
28280
28281
28282 \backslash
28283 setlength{
28284 \backslash
28285 columnsep}{1cm}
28286 \end_layout
28287
28288 \begin_layout Plain Layout
28289
28290
28291 \backslash
28292 renewcommand{
28293 \backslash
28294 columnseprulecolor}{
28295 \backslash
28296 color{cyan}}
28297 \end_layout
28298
28299 \end_inset
28300
28301
28302 \end_layout
28303
28304 \begin_layout Standard
28305
28306 \lang english
28307 \begin_inset Flex Multiple Columns
28308 status open
28309
28310 \begin_layout Plain Layout
28311
28312 \size small
28313 \lang english
28314 \begin_inset Quotes eld
28315 \end_inset
28316
28317 You're surprised to see me,
28318  sir,
28319 \begin_inset Quotes erd
28320 \end_inset
28321
28322  said he,
28323  in a strange,
28324  croaking voice.
28325 \end_layout
28326
28327 \begin_layout Plain Layout
28328
28329 \size small
28330 \lang english
28331 I acknowledged that I was.
28332 \end_layout
28333
28334 \begin_layout Plain Layout
28335
28336 \size small
28337 \lang english
28338 \begin_inset Quotes eld
28339 \end_inset
28340
28341 Well,
28342  I've a conscience,
28343  sir,
28344  and when I chanced to see you go into this house,
28345  as I came hobbling after you,
28346  I thought to myself,
28347  I'll just step in and see that kind gentleman,
28348  and tell him that if I was a bit gruff in my manner there was not any harm meant,
28349  and that I am much obliged to him for picking up my books.
28350 \begin_inset Quotes erd
28351 \end_inset
28352
28353
28354 \end_layout
28355
28356 \begin_layout Plain Layout
28357
28358 \size small
28359 \lang english
28360 \begin_inset Quotes eld
28361 \end_inset
28362
28363 You make too much of a trifle,
28364 \begin_inset Quotes erd
28365 \end_inset
28366
28367  said I.
28368  
28369 \begin_inset Quotes eld
28370 \end_inset
28371
28372 May I ask how you knew who I was?
28373 \begin_inset Quotes erd
28374 \end_inset
28375
28376
28377 \end_layout
28378
28379 \begin_layout Plain Layout
28380
28381 \size small
28382 \lang english
28383 \begin_inset Quotes eld
28384 \end_inset
28385
28386 Well,
28387  sir,
28388  if it isn't too great a liberty,
28389  I am a neighbour of yours,
28390  for you'll find my little bookshop at the corner of Church Street,
28391  and very happy to see you,
28392  I am sure.
28393  Maybe you collect yourself,
28394  sir.
28395  Here's 
28396 \noun on
28397 British
28398 \begin_inset space ~
28399 \end_inset
28400
28401 Birds
28402 \noun default
28403 ,
28404  and 
28405 \noun on
28406 Catullus
28407 \noun default
28408 ,
28409  and 
28410 \noun on
28411 The Holy War
28412 \noun default
28413
28414 \begin_inset space ~
28415 \end_inset
28416
28417 – a bargain,
28418  every one of them.
28419  With five volumes you could just fill that gap on that second shelf.
28420  It looks untidy,
28421  does it not,
28422  sir?
28423 \begin_inset Quotes erd
28424 \end_inset
28425
28426
28427 \end_layout
28428
28429 \end_inset
28430
28431
28432 \end_layout
28433
28434 \begin_layout Standard
28435 \begin_inset ERT
28436 status collapsed
28437
28438 \begin_layout Plain Layout
28439
28440
28441 \backslash
28442 setlength{
28443 \backslash
28444 columnseprule}{0pt}
28445 \end_layout
28446
28447 \begin_layout Plain Layout
28448
28449
28450 \backslash
28451 renewcommand{
28452 \backslash
28453 columnseprulecolor}{
28454 \backslash
28455 normalcolor}
28456 \end_layout
28457
28458 \end_inset
28459
28460
28461 \begin_inset Note Note
28462 status collapsed
28463
28464 \begin_layout Plain Layout
28465 retornar a los valores por omisión.
28466 \end_layout
28467
28468 \end_inset
28469
28470
28471 \end_layout
28472
28473 \begin_layout Standard
28474 \begin_inset Newpage newpage
28475 \end_inset
28476
28477
28478 \end_layout
28479
28480 \begin_layout Section
28481 Párrafos con formas diversas
28482 \end_layout
28483
28484 \begin_layout Standard
28485 \SpecialChar LaTeX
28486  y cualquier procesador de texto usan por omisión párrafos rectangulares.
28487  Para casos especiales como posters,
28488  tarjetas o poemas,
28489  es posible modifcar la forma del párrafo.
28490  Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
28491  
28492 \family typewriter
28493 shapepar
28494 \family default
28495 ,
28496  que se carga con el módulo
28497 \family sans
28498  Párrafos conformados
28499 \family default
28500  en 
28501 \family sans
28502 Documento\SpecialChar menuseparator
28503 Configuración\SpecialChar menuseparator
28504 Módulos
28505 \family default
28506 .
28507 \end_layout
28508
28509 \begin_layout Subsection
28510 Formas predefinidas
28511 \end_layout
28512
28513 \begin_layout Standard
28514 El paquete 
28515 \series bold
28516 shapepar
28517 \series default
28518  proporciona las siguientes formas:
28519 \end_layout
28520
28521 \begin_layout Standard
28522 \begin_inset Tabular
28523 <lyxtabular version="3" rows="13" columns="3">
28524 <features booktabs="true" islongtable="true" longtabularalignment="center">
28525 <column alignment="center" valignment="middle" width="16col%">
28526 <column alignment="center" valignment="middle" width="40col%">
28527 <column alignment="center" valignment="middle" width="35col%">
28528 <row endhead="true">
28529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28530 \begin_inset Text
28531
28532 \begin_layout Plain Layout
28533 Nombre
28534 \end_layout
28535
28536 \end_inset
28537 </cell>
28538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28539 \begin_inset Text
28540
28541 \begin_layout Plain Layout
28542 Descripción
28543 \end_layout
28544
28545 \end_inset
28546 </cell>
28547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28548 \begin_inset Text
28549
28550 \begin_layout Plain Layout
28551 Observaciones
28552 \end_layout
28553
28554 \end_inset
28555 </cell>
28556 </row>
28557 <row>
28558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28559 \begin_inset Text
28560
28561 \begin_layout Plain Layout
28562 Carátula CD
28563 \end_layout
28564
28565 \end_inset
28566 </cell>
28567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28568 \begin_inset Text
28569
28570 \begin_layout Plain Layout
28571 Círculo con orificio central (tamaño de CD/DVD)
28572 \end_layout
28573
28574 \end_inset
28575 </cell>
28576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28577 \begin_inset Text
28578
28579 \begin_layout Plain Layout
28580 No se puede cambiar el tamaño;
28581  no debe contener demasiado texto
28582 \end_layout
28583
28584 \end_inset
28585 </cell>
28586 </row>
28587 <row>
28588 <cell alignment="center" valignment="top" topline="true" usebox="none">
28589 \begin_inset Text
28590
28591 \begin_layout Plain Layout
28592 Círculo
28593 \end_layout
28594
28595 \end_inset
28596 </cell>
28597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28598 \begin_inset Text
28599
28600 \begin_layout Plain Layout
28601 Círculo
28602 \end_layout
28603
28604 \end_inset
28605 </cell>
28606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28607 \begin_inset Text
28608
28609 \begin_layout Plain Layout
28610 Frágil,
28611  los cálculos
28612 \end_layout
28613
28614 \begin_layout Plain Layout
28615 pueden fallar
28616 \end_layout
28617
28618 \end_inset
28619 </cell>
28620 </row>
28621 <row>
28622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28623 \begin_inset Text
28624
28625 \begin_layout Plain Layout
28626 Diamante
28627 \end_layout
28628
28629 \end_inset
28630 </cell>
28631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28632 \begin_inset Text
28633
28634 \begin_layout Plain Layout
28635 Romboide (simbolizando
28636 \end_layout
28637
28638 \begin_layout Plain Layout
28639 un 
28640 \begin_inset Quotes cld
28641 \end_inset
28642
28643 diamante
28644 \begin_inset Quotes crd
28645 \end_inset
28646
28647 )
28648 \end_layout
28649
28650 \end_inset
28651 </cell>
28652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28653 \begin_inset Text
28654
28655 \begin_layout Plain Layout
28656 -
28657 \end_layout
28658
28659 \end_inset
28660 </cell>
28661 </row>
28662 <row>
28663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28664 \begin_inset Text
28665
28666 \begin_layout Plain Layout
28667 Corazón
28668 \end_layout
28669
28670 \end_inset
28671 </cell>
28672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28673 \begin_inset Text
28674
28675 \begin_layout Plain Layout
28676 Forma de corazón
28677 \end_layout
28678
28679 \end_inset
28680 </cell>
28681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28682 \begin_inset Text
28683
28684 \begin_layout Plain Layout
28685 -
28686 \end_layout
28687
28688 \end_inset
28689 </cell>
28690 </row>
28691 <row>
28692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28693 \begin_inset Text
28694
28695 \begin_layout Plain Layout
28696 Hexágono
28697 \end_layout
28698
28699 \end_inset
28700 </cell>
28701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28702 \begin_inset Text
28703
28704 \begin_layout Plain Layout
28705 Hexágono
28706 \end_layout
28707
28708 \end_inset
28709 </cell>
28710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28711 \begin_inset Text
28712
28713 \begin_layout Plain Layout
28714 -
28715 \end_layout
28716
28717 \end_inset
28718 </cell>
28719 </row>
28720 <row>
28721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28722 \begin_inset Text
28723
28724 \begin_layout Plain Layout
28725 Tuerca
28726 \end_layout
28727
28728 \end_inset
28729 </cell>
28730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28731 \begin_inset Text
28732
28733 \begin_layout Plain Layout
28734 Tuerca de tornillo
28735 \end_layout
28736
28737 \begin_layout Plain Layout
28738 (hexágono con orificio circular)
28739 \end_layout
28740
28741 \end_inset
28742 </cell>
28743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28744 \begin_inset Text
28745
28746 \begin_layout Plain Layout
28747 -
28748 \end_layout
28749
28750 \end_inset
28751 </cell>
28752 </row>
28753 <row>
28754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28755 \begin_inset Text
28756
28757 \begin_layout Plain Layout
28758 Cuadrado
28759 \end_layout
28760
28761 \end_inset
28762 </cell>
28763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28764 \begin_inset Text
28765
28766 \begin_layout Plain Layout
28767 Cuadrado
28768 \end_layout
28769
28770 \end_inset
28771 </cell>
28772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28773 \begin_inset Text
28774
28775 \begin_layout Plain Layout
28776 -
28777 \end_layout
28778
28779 \end_inset
28780 </cell>
28781 </row>
28782 <row>
28783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28784 \begin_inset Text
28785
28786 \begin_layout Plain Layout
28787 Estrella
28788 \end_layout
28789
28790 \end_inset
28791 </cell>
28792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28793 \begin_inset Text
28794
28795 \begin_layout Plain Layout
28796 Estrella de 5 puntas
28797 \end_layout
28798
28799 \end_inset
28800 </cell>
28801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28802 \begin_inset Text
28803
28804 \begin_layout Plain Layout
28805 -
28806 \end_layout
28807
28808 \end_inset
28809 </cell>
28810 </row>
28811 <row>
28812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28813 \begin_inset Text
28814
28815 \begin_layout Plain Layout
28816 Vela
28817 \end_layout
28818
28819 \end_inset
28820 </cell>
28821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28822 \begin_inset Text
28823
28824 \begin_layout Plain Layout
28825 Cilindro con llama
28826 \end_layout
28827
28828 \end_inset
28829 </cell>
28830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28831 \begin_inset Text
28832
28833 \begin_layout Plain Layout
28834 -
28835 \end_layout
28836
28837 \end_inset
28838 </cell>
28839 </row>
28840 <row>
28841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28842 \begin_inset Text
28843
28844 \begin_layout Plain Layout
28845 Gota/Gota invertida
28846 \end_layout
28847
28848 \end_inset
28849 </cell>
28850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28851 \begin_inset Text
28852
28853 \begin_layout Plain Layout
28854 Forma de gota normal/invertida
28855 \end_layout
28856
28857 \end_inset
28858 </cell>
28859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28860 \begin_inset Text
28861
28862 \begin_layout Plain Layout
28863 Frágil,
28864  los cáculos
28865 \end_layout
28866
28867 \begin_layout Plain Layout
28868 pueden fallar
28869 \end_layout
28870
28871 \end_inset
28872 </cell>
28873 </row>
28874 <row>
28875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28876 \begin_inset Text
28877
28878 \begin_layout Plain Layout
28879 \SpecialChar TeX
28880
28881 \end_layout
28882
28883 \end_inset
28884 </cell>
28885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28886 \begin_inset Text
28887
28888 \begin_layout Plain Layout
28889 Logotipo de \SpecialChar TeX
28890
28891 \end_layout
28892
28893 \end_inset
28894 </cell>
28895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28896 \begin_inset Text
28897
28898 \begin_layout Plain Layout
28899 -
28900 \end_layout
28901
28902 \end_inset
28903 </cell>
28904 </row>
28905 <row>
28906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28907 \begin_inset Text
28908
28909 \begin_layout Plain Layout
28910 Triángulo
28911 \begin_inset Newline newline
28912 \end_inset
28913
28914 arriba/abajo
28915 \begin_inset Newline newline
28916 \end_inset
28917
28918 izquierda/derecha
28919 \end_layout
28920
28921 \end_inset
28922 </cell>
28923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28924 \begin_inset Text
28925
28926 \begin_layout Plain Layout
28927 Triángulos en diferentes orientaciones
28928 \end_layout
28929
28930 \end_inset
28931 </cell>
28932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28933 \begin_inset Text
28934
28935 \begin_layout Plain Layout
28936 -
28937 \end_layout
28938
28939 \end_inset
28940 </cell>
28941 </row>
28942 </lyxtabular>
28943
28944 \end_inset
28945
28946
28947 \end_layout
28948
28949 \begin_layout Standard
28950 Para elegir una determinada forma selecciónala en la lista desplegable de entornos de \SpecialChar LyX
28951  (primer botón de la barra de herramientas).
28952 \end_layout
28953
28954 \begin_layout Standard
28955 \begin_inset Newpage newpage
28956 \end_inset
28957
28958
28959 \end_layout
28960
28961 \begin_layout Standard
28962 Ejemplo de párrafo con forma de tuerca:
28963 \end_layout
28964
28965 \begin_layout Standard
28966 \begin_inset VSpace bigskip
28967 \end_inset
28968
28969
28970 \end_layout
28971
28972 \begin_layout Nut
28973 Lorem ipsum dolor sit amet,
28974  consetetur sadipscing elitr,
28975  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
28976  sed diam voluptua.
28977  At vero eos et accusam et justo duo dolores et ea rebum.
28978  Stet clita kasd gubergren,
28979  no sea takimata sanctus est Lorem ipsum dolor sit amet.
28980  Lorem ipsum dolor sit amet,
28981  consetetur sadipscing elitr,
28982  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
28983  sed diam voluptua.
28984 \end_layout
28985
28986 \begin_layout Standard
28987 \begin_inset VSpace bigskip
28988 \end_inset
28989
28990
28991 \end_layout
28992
28993 \begin_layout Standard
28994 \begin_inset Note Greyedout
28995 status open
28996
28997 \begin_layout Plain Layout
28998
28999 \series bold
29000 Nota
29001 \series default
29002 :
29003  los párrafos conformados no pueden saltar de página.
29004 \end_layout
29005
29006 \end_inset
29007
29008
29009 \end_layout
29010
29011 \begin_layout Standard
29012 \begin_inset VSpace bigskip
29013 \end_inset
29014
29015
29016 \end_layout
29017
29018 \begin_layout Standard
29019 The package 
29020 \family typewriter
29021 shapepar
29022 \family default
29023  preserva siempre la forma independientemente de la cantidad de texto.
29024  Por tanto el tamaño del párrafo cambia en función del texto.
29025  Esto puede provocar desbordamiento de los márgenes.
29026  Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior con el doble de texto:
29027 \end_layout
29028
29029 \begin_layout Standard
29030 \begin_inset Newpage newpage
29031 \end_inset
29032
29033
29034 \end_layout
29035
29036 \begin_layout Nut
29037 Lorem ipsum dolor sit amet,
29038  consetetur sadipscing elitr,
29039  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29040  sed diam voluptua.
29041  At vero eos et accusam et justo duo dolores et ea rebum.
29042  Stet clita kasd gubergren,
29043  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29044  Lorem ipsum dolor sit amet,
29045  consetetur sadipscing elitr,
29046  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29047  sed diam voluptua.
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  At vero eos et accusam et justo duo dolores et ea rebum.
29053  Stet clita kasd gubergren,
29054  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29055  Lorem ipsum dolor sit amet,
29056  consetetur sadipscing elitr,
29057  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29058  sed diam voluptua.
29059 \end_layout
29060
29061 \begin_layout Standard
29062 \begin_inset VSpace bigskip
29063 \end_inset
29064
29065
29066 \end_layout
29067
29068 \begin_layout Standard
29069 La forma 
29070 \family sans
29071 Carátula CD 
29072 \family default
29073 es una excepción.
29074  No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
29075  Por tanto la cantidad de texto que admite esta forma es limitada.
29076 \begin_inset Newline newline
29077 \end_inset
29078
29079 Las formas 
29080 \family sans
29081 Gota
29082 \family default
29083  y
29084 \family sans
29085  Círculo
29086 \family default
29087  son frágiles,
29088  lo que significa que pueden fallar los cálculos de su tamaño,
29089  según la cantidad de texto.
29090  En esos casos se producirá el error de \SpecialChar LaTeX
29091  
29092 \begin_inset Quotes eld
29093 \end_inset
29094
29095 Arithmetic overflow
29096 \begin_inset Quotes erd
29097 \end_inset
29098
29099 .
29100  Se puede arreglar añadiendo o quitando algo de texto;
29101  si no funciona habrá que elegir otra forma.
29102 \end_layout
29103
29104 \begin_layout Standard
29105 \begin_inset VSpace bigskip
29106 \end_inset
29107
29108
29109 \end_layout
29110
29111 \begin_layout Standard
29112 En formas con puntas,
29113  la rutina de división silábica de \SpecialChar LaTeX
29114  puede fallar.
29115  Entonces habrá que añadir guiones protegidos 
29116 \family sans
29117 (
29118 \begin_inset Info
29119 type  "shortcut"
29120 arg   "specialchar-insert hyphenation"
29121 \end_inset
29122
29123
29124 \family default
29125 ) donde sea necesario.
29126 \end_layout
29127
29128 \begin_layout Standard
29129 \begin_inset VSpace bigskip
29130 \end_inset
29131
29132
29133 \end_layout
29134
29135 \begin_layout Standard
29136 Los párrafos conformados siempre van centrados en la página o ajustados al margen izquierdo,
29137  por tanto no se puede usar la alineación de la configuración de párrafos.
29138  Una solución es poner el párrafo en una minipágina o en un marco y alinear éstos.
29139  En ese caso el problema es saber la anchura adecuada del marco:
29140  si es demasiado ancho y se centra,
29141  el párrafo no queda centrado porque se ajusta a la izquierda del marco.
29142  De modo que habrá que ir probando un poco para acertar con la anchura correcta.
29143  Aquí tenemos dos párrafos 
29144 \family sans
29145 Corazón
29146 \family default
29147 ,
29148  el primero no alineado,
29149  el segundo a la derecha:
29150 \end_layout
29151
29152 \begin_layout Standard
29153 \begin_inset Newpage newpage
29154 \end_inset
29155
29156
29157 \end_layout
29158
29159 \begin_layout Heart
29160 \noindent
29161 Lo\SpecialChar softhyphen
29162 rem ipsum dolor sit amet,
29163  consetetur sadipscing elitr,
29164  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29165  sed diam voluptua.
29166  At vero eos et accusam et justo duo dolores et ea rebum.
29167  Stet clita kasd gubergren,
29168  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29169 \end_layout
29170
29171 \begin_layout Standard
29172 \begin_inset VSpace bigskip
29173 \end_inset
29174
29175
29176 \end_layout
29177
29178 \begin_layout Standard
29179 \noindent
29180 \align right
29181 \begin_inset Box Frameless
29182 position "t"
29183 hor_pos "c"
29184 has_inner_box 1
29185 inner_pos "t"
29186 use_parbox 1
29187 use_makebox 0
29188 width "42col%"
29189 special "none"
29190 height "1in"
29191 height_special "totalheight"
29192 thickness "0.4pt"
29193 separation "3pt"
29194 shadowsize "4pt"
29195 framecolor "black"
29196 backgroundcolor "none"
29197 status open
29198
29199 \begin_layout Heart
29200 \noindent
29201 Lo\SpecialChar softhyphen
29202 rem ipsum dolor sit amet,
29203  consetetur sadipscing elitr,
29204  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29205  sed diam voluptua.
29206  At vero eos et accusam et justo duo dolores et ea rebum.
29207  Stet clita kasd gubergren,
29208  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29209 \end_layout
29210
29211 \end_inset
29212
29213
29214 \end_layout
29215
29216 \begin_layout Subsection
29217 Formas personalizadas
29218 \end_layout
29219
29220 \begin_layout Standard
29221 Se puede definir cualquier forma.
29222  Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada coordenada.
29223  Pero hay una forma de que el ordenador haga los cálculos:
29224 \end_layout
29225
29226 \begin_layout Enumerate
29227 Instala el programa 
29228 \begin_inset CommandInset href
29229 LatexCommand href
29230 name "Jpgfdraw"
29231 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
29232 literal "false"
29233
29234 \end_inset
29235
29236 .
29237 \end_layout
29238
29239 \begin_layout Enumerate
29240 En 
29241 \family sans
29242 Jpgfdraw
29243 \family default
29244  ve al menú 
29245 \family sans
29246 TeX/LaTeX\SpecialChar menuseparator
29247 Settings\SpecialChar menuseparator
29248 Set Normal Size
29249 \family default
29250  y selecciona el tamaño de tipografía usado en el documento.
29251  Por ejemplo,
29252  este documento usa el tamaño 12
29253 \begin_inset space \thinspace{}
29254 \end_inset
29255
29256 pt.
29257 \end_layout
29258
29259 \begin_layout Enumerate
29260 Dibuja una forma.
29261 \end_layout
29262
29263 \begin_layout Enumerate
29264 Usa el menú 
29265 \family sans
29266 TeX/LaTeX\SpecialChar menuseparator
29267 Shapepar
29268 \family default
29269  para exportar la forma a coordenadas.
29270  En el diálogo que surge usa la descripción de la forma para las coordenadas o la ruta misma.
29271 \begin_inset Foot
29272 status collapsed
29273
29274 \begin_layout Plain Layout
29275 Más información en 
29276 \begin_inset CommandInset href
29277 LatexCommand href
29278 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
29279 literal "false"
29280
29281 \end_inset
29282
29283
29284 \end_layout
29285
29286 \end_inset
29287
29288
29289 \end_layout
29290
29291 \begin_layout Standard
29292 Las coordenadas se escriben en un archivo \SpecialChar TeX
29293 .
29294  Para incorporarlo a \SpecialChar LyX
29295 :
29296 \end_layout
29297
29298 \begin_layout Enumerate
29299 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo vacío).
29300 \end_layout
29301
29302 \begin_layout Enumerate
29303 En \SpecialChar LyX
29304  abre el menú 
29305 \family sans
29306 Insertar\SpecialChar menuseparator
29307 Archivo\SpecialChar menuseparator
29308 Documento
29309 \begin_inset space ~
29310 \end_inset
29311
29312 hijo\SpecialChar ldots
29313
29314 \family default
29315 ,
29316  selecciona el archivo y elige 
29317 \family sans
29318 Incorporar
29319 \family default
29320  en 
29321 \family sans
29322 Tipo
29323 \begin_inset space ~
29324 \end_inset
29325
29326 de
29327 \begin_inset space ~
29328 \end_inset
29329
29330 inclusión.
29331 \end_layout
29332
29333 \begin_layout Standard
29334 \begin_inset VSpace defskip
29335 \end_inset
29336
29337
29338 \end_layout
29339
29340 \begin_layout Standard
29341 \begin_inset Note Greyedout
29342 status open
29343
29344 \begin_layout Plain Layout
29345
29346 \series bold
29347 Nota
29348 \series default
29349 :
29350  el cambio de forma sólo se aplica al párrafo actual;
29351  todo se restablece a normal para el párrafo siguiente.
29352  Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
29353 \end_layout
29354
29355 \end_inset
29356
29357
29358 \end_layout
29359
29360 \begin_layout Standard
29361 \begin_inset VSpace bigskip
29362 \end_inset
29363
29364
29365 \end_layout
29366
29367 \begin_layout Standard
29368 Un ejemplo:
29369 \end_layout
29370
29371 \begin_layout Standard
29372 \begin_inset VSpace bigskip
29373 \end_inset
29374
29375
29376 \end_layout
29377
29378 \begin_layout Standard
29379 \begin_inset CommandInset include
29380 LatexCommand input
29381 filename "../SpecialParagraphShape.tex"
29382 literal "true"
29383
29384 \end_inset
29385
29386 Lorem ipsum dolor sit amet,
29387  consetetur sadipscing elitr,
29388  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29389  sed diam voluptua.
29390  At vero eos et accusam et justo duo dolores et ea rebum.
29391  Stet clita kasd gubergren,
29392  no sea takimata sanctus est Lorem ipsum dolor sit amet.
29393  Lorem ipsum dolor sit amet,
29394  consetetur sadipscing elitr,
29395  sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
29396  sed diam voluptua.
29397 \end_layout
29398
29399 \begin_layout Standard
29400 \begin_inset VSpace bigskip
29401 \end_inset
29402
29403
29404 \end_layout
29405
29406 \begin_layout Standard
29407
29408 \series bold
29409 Un consejo:
29410
29411 \series default
29412  para dibujar formas complejas en 
29413 \family sans
29414 Jpgfdraw
29415 \family default
29416  puedes dibujar la forma con el programa que quieras e importar la imagen obtenida en 
29417 \family sans
29418 Jpgfdraw
29419 \family default
29420 .
29421  Después sólo tendrás que dibujar una línea o spline sobre el contorno de la imagen.
29422 \end_layout
29423
29424 \begin_layout Standard
29425 \begin_inset VSpace bigskip
29426 \end_inset
29427
29428
29429 \end_layout
29430
29431 \begin_layout Standard
29432 El módulo 
29433 \family sans
29434 Párrafos conformados
29435 \family default
29436  proporciona además el 
29437 \family sans
29438 Comando
29439 \family default
29440  
29441 \family sans
29442 shapepar
29443 \family default
29444  y el 
29445 \family sans
29446 Comando
29447 \family default
29448  
29449 \family sans
29450 Shapepar
29451 \family default
29452  que se pueden usar para definir formas coordenada a coordenada.
29453 \begin_inset Foot
29454 status collapsed
29455
29456 \begin_layout Plain Layout
29457 Estos comandos se usan internamente para todas las formas que se han descrito aquí.
29458 \end_layout
29459
29460 \end_inset
29461
29462  Para información sobre el uso de estos entornos de estilo y más posibilidades de personalización echa un vistazo a la 
29463 \begin_inset CommandInset href
29464 LatexCommand href
29465 name "documentación"
29466 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
29467 literal "false"
29468
29469 \end_inset
29470
29471  del paquete 
29472 \family typewriter
29473 shapepar
29474 \family default
29475 .
29476 \end_layout
29477
29478 \end_body
29479 \end_document