]> git.lyx.org Git - lyx.git/blob - lib/doc/es/Additional.lyx
Update documentation of nomencl escape
[lyx.git] / lib / doc / es / Additional.lyx
1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
2 \lyxformat 600
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_sans_osf false
53 \font_typewriter_osf false
54 \font_roman_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 \notefontcolor #0000ff
104 \use_lineno 0
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 \tracking_changes false
122 \postpone_fragile_content false
123 \output_changes false
124 \html_math_output 0
125 \html_css_as_file 0
126 \html_be_strict true
127 \end_header
128
129 \begin_body
130
131 \begin_layout Title
132 Características adicionales de \SpecialChar LyX
133
134 \end_layout
135
136 \begin_layout Subtitle
137 Version 2.3.x
138 \end_layout
139
140 \begin_layout Author
141 por el Equipo \SpecialChar LyX
142
143 \begin_inset Foot
144 status collapsed
145
146 \begin_layout Plain Layout
147 \noindent
148 El principal mantenedor de este archivo es 
149 \noun on
150 Richard Kimberly Heck
151 \noun default
152 .
153  Si tienes correcciones o comentarios, envíalos, por favor, a la lista de
154  correo de Documentación de \SpecialChar LyX
155
156 \begin_inset Flex Code
157 status collapsed
158
159 \begin_layout Plain Layout
160 <lyx-docs@lists.lyx.org>
161 \end_layout
162
163 \end_inset
164
165 .
166 \end_layout
167
168 \end_inset
169
170
171 \end_layout
172
173 \begin_layout Standard
174 \begin_inset CommandInset toc
175 LatexCommand tableofcontents
176
177 \end_inset
178
179
180 \end_layout
181
182 \begin_layout Chapter
183 Introducción
184 \end_layout
185
186 \begin_layout Standard
187 Este manual es esencialmente la Parte II de la 
188 \emph on
189 Guía del Usuario
190 \emph default
191 .
192  La segregación de este documento obedece a una sencilla razón: la 
193 \emph on
194 Guía del Usuario
195 \emph default
196  es muy extensa, y contiene todas las características básicas que uno necesita
197  conocer para preparar la mayoría de documentos.
198  Sin embargo, el Equipo \SpecialChar LyX
199  ha tenido siempre el objetivo de extender las caracterí
200 sticas del programa mediante diversos archivos de configuración y paquetes
201  externos.
202  Esto significa que si necesitas soporte para el paquete \SpecialChar LaTeX
203  
204 \family typewriter
205 Fizzwizzle
206 \family default
207 , puedes crear un archivo de formato (o módulo) para él sin tener que alterar
208  el propio \SpecialChar LyX
209 .
210  Ya hemos hecho de esta manera contribuciones a varias características nuevas.
211  Este es el documento donde se explican todas estas cosas.
212 \end_layout
213
214 \begin_layout Standard
215 En este manual se describen también algunas características especiales como
216  soporte de fax, control de versiones y soporte para SGML, que requieren
217  software adicional para funcionar bien.
218  Por último hay un capítulo sobre herramientas y consejos de \SpecialChar LaTeX
219 , muy útiles
220  para mejorar la presentación de los documentos usando directamente las
221  poderosas características de \SpecialChar LaTeX
222 .
223  Después de todo, \SpecialChar LyX
224  
225 \emph on
226 solo 
227 \emph default
228 es WYSIWYM y siempre será solo una interfaz para algunas, no todas, característi
229 cas de \SpecialChar LaTeX
230 .
231  
232 \end_layout
233
234 \begin_layout Standard
235 Si aún no has leído la 
236 \emph on
237 Introducción
238 \emph default
239 , no hay duda de que estás en el manual equivocado.
240  La 
241 \emph on
242 Introducción
243 \emph default
244  es el primer sitio al que acudir, porque ahí te remitimos al manual adecuado
245  y te explicamos los criterios y el formato de todos los manuales.
246  También deberías estar familiarizado con la 
247 \emph on
248 Guía del usuario
249 \emph default
250  y con las características fundamentales de \SpecialChar LyX
251  antes de leer éste.
252  
253 \end_layout
254
255 \begin_layout Standard
256 Puesto que todos los temas tratados en este manual dependen estrechamente
257  de la interacción entre \SpecialChar LyX
258  y \SpecialChar LaTeX
259 , el siguiente capítulo trata sobre el trabajo
260  interno de \SpecialChar LyX
261  y la forma de usar \SpecialChar LyX
262  para generar exactamente el código \SpecialChar LaTeX
263  adecuado.
264  Obviamente, es para usuarios experimentados en \SpecialChar LyX
265 .
266 \end_layout
267
268 \begin_layout Chapter
269 \SpecialChar LyX
270  y \SpecialChar LaTeX
271
272 \end_layout
273
274 \begin_layout Section
275 Uso de \SpecialChar LaTeX
276  en \SpecialChar LyX
277
278 \end_layout
279
280 \begin_layout Standard
281 Este capítulo es tanto para 
282 \begin_inset Quotes cld
283 \end_inset
284
285 \SpecialChar TeX
286 -nicos
287 \begin_inset Quotes crd
288 \end_inset
289
290  como para curiosos de \SpecialChar LaTeX
291 .
292  En él explicaremos cómo trabajan juntos \SpecialChar LyX
293  y \SpecialChar LaTeX
294  para generar salida imprimible.
295  Este es el único manual en el que suponemos que sabes algo sobre \SpecialChar LaTeX
296 .
297 \end_layout
298
299 \begin_layout Standard
300 Una vez llamamos a \SpecialChar LyX
301  
302 \begin_inset Quotes cld
303 \end_inset
304
305 interfaz WYSIWYM para \SpecialChar LaTeX
306
307 \begin_inset Quotes crd
308 \end_inset
309
310 , pero ya no es cierto.
311  Hay otros programas que también lo son.
312 \begin_inset Foot
313 status collapsed
314
315 \begin_layout Plain Layout
316 Algunos habituales son \SpecialChar TeX
317 maker y kile para Linux y \SpecialChar TeX
318 shop para OSX.
319  Están además los modos \SpecialChar LaTeX
320  de vi y emacs, por supuesto.
321 \end_layout
322
323 \end_inset
324
325  Básicamente son editores con la habilidad de ejecutar \SpecialChar LaTeX
326  y marcar los errores
327  en el archivo que se está editando.
328  Aunque \SpecialChar LyX
329  
330 \emph on
331 es
332 \emph default
333  un editor, y 
334 \emph on
335 hace
336 \emph default
337  correr a \SpecialChar LaTeX
338 , y también marca los errores en el archivo, hace mucho, mucho
339  más.
340  Gracias al concepto WYSIWYM, no necesitas \SpecialChar LaTeX
341  para usar \SpecialChar LyX
342  eficazmente.
343  Además, \SpecialChar LyX
344  ha añadido algunas extensiones a \SpecialChar LaTeX
345 .
346  Prueba esto en alguna ocasión: selecciona 
347 \begin_inset Flex Noun
348 status collapsed
349
350 \begin_layout Plain Layout
351 Exportar\SpecialChar menuseparator
352 LaTeX
353 \end_layout
354
355 \end_inset
356
357
358 \family sans
359  
360 \family default
361 desde el menú 
362 \begin_inset Flex Noun
363 status collapsed
364
365 \begin_layout Plain Layout
366 Archivo
367 \end_layout
368
369 \end_inset
370
371 , (o 
372 \begin_inset Flex Noun
373 status collapsed
374
375 \begin_layout Plain Layout
376 Ver\SpecialChar menuseparator
377 Panel de código fuente
378 \end_layout
379
380 \end_inset
381
382 ), y luego mira el preámbulo del archivo
383 \family sans
384  
385 \family typewriter
386
387 \begin_inset Flex Code
388 status collapsed
389
390 \begin_layout Plain Layout
391
392 \family typewriter
393 .tex
394 \end_layout
395
396 \end_inset
397
398  
399 \family default
400 resultante.
401  Observarás una serie de macros nuevas definidas específicamente por \SpecialChar LyX
402 .
403  Estas macros se definen automáticamente, de acuerdo con las características
404  elegidas para el documento.
405 \end_layout
406
407 \begin_layout Standard
408 Hay varios comandos que ejecutan \SpecialChar LaTeX
409  automáticamente.
410  Son:
411 \end_layout
412
413 \begin_layout Itemize
414 \begin_inset Flex Noun
415 status collapsed
416
417 \begin_layout Plain Layout
418
419 \family sans
420 Documento\SpecialChar menuseparator
421 Ver
422 \end_layout
423
424 \end_inset
425
426
427 \end_layout
428
429 \begin_layout Itemize
430 \begin_inset Flex Noun
431 status collapsed
432
433 \begin_layout Plain Layout
434
435 \family sans
436 Documento\SpecialChar menuseparator
437
438 \family default
439 A
440 \family sans
441 ctualizar
442 \end_layout
443
444 \end_inset
445
446
447 \end_layout
448
449 \begin_layout Standard
450 Solo llaman a \SpecialChar LaTeX
451  si el archivo ha cambiado desde la última vez que se ejecutó.
452  
453 \end_layout
454
455 \begin_layout Standard
456 Cuando \SpecialChar LyX
457  ejecuta \SpecialChar LaTeX
458  sobre el archivo que estás editando, lleva a cabo los siguiente
459 s pasos:
460 \end_layout
461
462 \begin_layout Enumerate
463 Convierte el documento a \SpecialChar LaTeX
464  y guarda un archivo con extensión 
465 \begin_inset Flex Code
466 status collapsed
467
468 \begin_layout Plain Layout
469
470 \family typewriter
471 .tex
472 \end_layout
473
474 \end_inset
475
476 .
477 \end_layout
478
479 \begin_layout Enumerate
480 Ejecuta
481 \family typewriter
482  
483 \family default
484 \SpecialChar LaTeX
485  sobre el archivo
486 \family typewriter
487  
488 \family default
489
490 \begin_inset Flex Code
491 status collapsed
492
493 \begin_layout Plain Layout
494
495 \family typewriter
496 .tex
497 \end_layout
498
499 \end_inset
500
501
502 \family typewriter
503  
504 \family default
505 (quizá varias veces) y cualesquiera otros comandos (como 
506 \begin_inset Flex Code
507 status collapsed
508
509 \begin_layout Plain Layout
510 bibtex
511 \end_layout
512
513 \end_inset
514
515  o 
516 \begin_inset Flex Code
517 status collapsed
518
519 \begin_layout Plain Layout
520 makeindex
521 \end_layout
522
523 \end_inset
524
525 ) necesarios para compilar el archivo.
526 \end_layout
527
528 \begin_layout Enumerate
529 Si hay errores, muestra el registro de errores.
530 \end_layout
531
532 \begin_layout Standard
533 Si has ejecutado \SpecialChar LaTeX
534  con
535 \family sans
536  
537 \family default
538
539 \begin_inset Flex Noun
540 status collapsed
541
542 \begin_layout Plain Layout
543
544 \family sans
545 Ver
546 \begin_inset space ~
547 \end_inset
548
549 DVI
550 \end_layout
551
552 \end_inset
553
554 , \SpecialChar LyX
555  ejecuta un visor DVI para mostrar la salida.
556  Si has usado
557 \family sans
558  
559 \family default
560
561 \begin_inset Flex Noun
562 status collapsed
563
564 \begin_layout Plain Layout
565
566 \family sans
567 Ver
568 \begin_inset space ~
569 \end_inset
570
571 PostScript
572 \end_layout
573
574 \end_inset
575
576 , \SpecialChar LyX
577  hace dos pasos más:
578 \end_layout
579
580 \begin_layout Itemize
581 Ejecuta 
582 \family typewriter
583 dvips
584 \family default
585  para convertir el archivo DVI a PostScript.
586 \end_layout
587
588 \begin_layout Itemize
589 Ejecuta un visor PostScript, como 
590 \family typewriter
591
592 \begin_inset Flex Code
593 status collapsed
594
595 \begin_layout Plain Layout
596
597 \family typewriter
598 ghostview
599 \end_layout
600
601 \end_inset
602
603
604 \family default
605  para mostrar la salida.
606 \end_layout
607
608 \begin_layout Standard
609 \SpecialChar LyX
610  procede de forma parecida cuando ves o exportas otros formatos.
611 \end_layout
612
613 \begin_layout Section
614 Convertir archivos \SpecialChar LaTeX
615  en \SpecialChar LyX
616
617 \end_layout
618
619 \begin_layout Standard
620 Puedes importar un archivo \SpecialChar LaTeX
621  en \SpecialChar LyX
622  usando el comando
623 \family sans
624  
625 \begin_inset Flex Noun
626 status collapsed
627
628 \begin_layout Plain Layout
629
630 \family sans
631 Archivo\SpecialChar menuseparator
632 Importar\SpecialChar menuseparator
633 LaTeX
634 \end_layout
635
636 \end_inset
637
638
639 \family default
640 .
641  Esto llamará al programa llamado 
642 \begin_inset Flex Code
643 status collapsed
644
645 \begin_layout Plain Layout
646 tex2lyx
647 \end_layout
648
649 \end_inset
650
651  que generará un archivo 
652 \begin_inset Flex Code
653 status collapsed
654
655 \begin_layout Plain Layout
656 foo.lyx
657 \end_layout
658
659 \end_inset
660
661  a partir del archivo 
662 \begin_inset Flex Code
663 status collapsed
664
665 \begin_layout Plain Layout
666 foo.tex
667 \end_layout
668
669 \end_inset
670
671  y luego lo abrirá.
672 \begin_inset Foot
673 status collapsed
674
675 \begin_layout Plain Layout
676 \begin_inset Flex Code
677 status collapsed
678
679 \begin_layout Plain Layout
680 tex2lyx
681 \end_layout
682
683 \end_inset
684
685  también se puede ejecutar en línea de comandos, por supuesto.
686 \end_layout
687
688 \end_inset
689
690
691 \end_layout
692
693 \begin_layout Standard
694 \begin_inset Flex Code
695 status collapsed
696
697 \begin_layout Plain Layout
698 tex2lyx
699 \end_layout
700
701 \end_inset
702
703  traducirá casi todo el \SpecialChar LaTeX
704  legal, pero no todo.
705  Dejará en código \SpecialChar TeX
706  cosas que no comprende, así que después de importar un
707  archivo con 
708 \begin_inset Flex Code
709 status collapsed
710
711 \begin_layout Plain Layout
712
713 \family typewriter
714 tex2lyx
715 \end_layout
716
717 \end_inset
718
719 , puedes buscar texto en rojo y editarlo a mano para que funcione bien.
720 \end_layout
721
722 \begin_layout Standard
723 Si no sabes qué es código \SpecialChar TeX
724  lee la sección siguiente.
725 \end_layout
726
727 \begin_layout Section
728 Insertar código \SpecialChar TeX
729  en documentos \SpecialChar LyX
730  
731 \begin_inset CommandInset label
732 LatexCommand label
733 name "sec:Insertar-Código-TeX"
734
735 \end_inset
736
737
738 \end_layout
739
740 \begin_layout Standard
741 Todo lo que se puede hacer en \SpecialChar LaTeX
742  se puede hacer en \SpecialChar LyX
743 , por una razón muy simple:
744  en cualquier momento puedes insertar código \SpecialChar LaTeX
745  en un documento \SpecialChar LyX
746 .
747  \SpecialChar LyX
748  no puede, y nunca podrá, mostrar cada una de las posibles estructuras
749  de \SpecialChar LaTeX
750 .
751  Si necesitas incluir comandos \SpecialChar LaTeX
752  en tu documento, puedes usar los marcos
753  de 
754 \begin_inset Flex Code
755 status collapsed
756
757 \begin_layout Plain Layout
758 código \SpecialChar TeX
759
760 \end_layout
761
762 \end_inset
763
764 , con el menú 
765 \begin_inset Flex Noun
766 status collapsed
767
768 \begin_layout Plain Layout
769
770 \family sans
771 Insertar\SpecialChar menuseparator
772 Código TeX
773 \end_layout
774
775 \end_inset
776
777 .
778 \end_layout
779
780 \begin_layout Standard
781 Aquí hay un ejemplo de inserción de comandos \SpecialChar LaTeX
782  en un documento \SpecialChar LyX
783 .
784  El código se ve así:
785 \end_layout
786
787 \begin_layout LyX-Code
788
789 \backslash
790 begin{tabular}{ll}
791 \begin_inset Newline newline
792 \end_inset
793
794
795 \backslash
796 begin{minipage}{5cm}
797 \begin_inset Newline newline
798 \end_inset
799
800 Este es un ejemplo para un entorno minipágina.
801  En él 
802 \begin_inset Newline newline
803 \end_inset
804
805 puedes poner prácticamente todo, incluso figuras y 
806 \begin_inset Newline newline
807 \end_inset
808
809 cuadros (no flotantes).
810  
811 \begin_inset Newline newline
812 \end_inset
813
814
815 \backslash
816 end{minipage}
817 \begin_inset Newline newline
818 \end_inset
819
820 &
821 \begin_inset Newline newline
822 \end_inset
823
824
825 \backslash
826 begin{minipage}{5cm}
827 \begin_inset Newline newline
828 \end_inset
829
830
831 \backslash
832 begin{verbatim}
833 \begin_inset Newline newline
834 \end_inset
835
836
837 \backslash
838 begin{minipage}{5cm}
839 \begin_inset Newline newline
840 \end_inset
841
842 Esto...
843  
844 \begin_inset Newline newline
845 \end_inset
846
847
848 \backslash
849 end{minipage}
850 \begin_inset Newline newline
851 \end_inset
852
853
854 \backslash
855 end{verbatim}
856 \begin_inset Newline newline
857 \end_inset
858
859
860 \backslash
861 end{minipage}
862 \begin_inset Newline newline
863 \end_inset
864
865
866 \backslash
867 end{tabular}
868 \end_layout
869
870 \begin_layout Standard
871 El recuadro en 
872 \begin_inset Flex Code
873 status collapsed
874
875 \begin_layout Plain Layout
876 código \SpecialChar TeX
877
878 \end_layout
879
880 \end_inset
881
882  que contiene ese texto está tras este párrafo.
883  Si estás leyendo este manual en \SpecialChar LyX
884  solo verás el código insertado en rojo.
885  Si estás leyendo una versión impresa verás los resultados reales:
886 \begin_inset Newline newline
887 \end_inset
888
889
890 \end_layout
891
892 \begin_layout Standard
893 \begin_inset ERT
894 status open
895
896 \begin_layout Plain Layout
897
898
899 \backslash
900 begin{tabular}{ll}
901 \end_layout
902
903 \begin_layout Plain Layout
904
905
906 \backslash
907 begin{minipage}{5cm}
908 \end_layout
909
910 \begin_layout Plain Layout
911
912 Este es un ejemplo para un entorno minipágina.
913  En él puedes poner prácticamente todo, incluso figuras y cuadros (no flotantes).
914 \end_layout
915
916 \begin_layout Plain Layout
917
918
919 \backslash
920 end{minipage}
921 \end_layout
922
923 \begin_layout Plain Layout
924
925 &
926 \end_layout
927
928 \begin_layout Plain Layout
929
930
931 \backslash
932 begin{minipage}{5cm}
933 \end_layout
934
935 \begin_layout Plain Layout
936
937
938 \backslash
939 begin{verbatim}
940 \end_layout
941
942 \begin_layout Plain Layout
943
944
945 \backslash
946 begin{minipage}{5cm}
947 \end_layout
948
949 \begin_layout Plain Layout
950
951 Esto ...
952  
953 \end_layout
954
955 \begin_layout Plain Layout
956
957
958 \backslash
959 end{minipage}
960 \end_layout
961
962 \begin_layout Plain Layout
963
964
965 \backslash
966 end{verbatim}
967 \end_layout
968
969 \begin_layout Plain Layout
970
971
972 \backslash
973 end{minipage}
974 \end_layout
975
976 \begin_layout Plain Layout
977
978
979 \backslash
980 end{tabular}
981 \end_layout
982
983 \end_inset
984
985
986 \begin_inset Newline newline
987 \end_inset
988
989
990 \end_layout
991
992 \begin_layout Standard
993 Además de estos métodos,
994 \emph on
995  
996 \emph default
997 también puedes crear un archivo separado con estructuras de \SpecialChar LaTeX
998  complejas y
999  usar después el menú
1000 \family sans
1001  
1002 \family default
1003
1004 \begin_inset Flex Noun
1005 status collapsed
1006
1007 \begin_layout Plain Layout
1008
1009 \family sans
1010 Insert
1011 \family default
1012 ar
1013 \family sans
1014 \SpecialChar menuseparator
1015 Archivo\SpecialChar menuseparator
1016 Documento
1017 \begin_inset space ~
1018 \end_inset
1019
1020 hijo
1021 \end_layout
1022
1023 \end_inset
1024
1025
1026 \family sans
1027  
1028 \family default
1029 para incluir ese archivo (deberías seleccionar el tipo 
1030 \family sans
1031
1032 \begin_inset Flex Code
1033 status collapsed
1034
1035 \begin_layout Plain Layout
1036
1037 \family sans
1038 Entrada
1039 \end_layout
1040
1041 \end_inset
1042
1043
1044 \family default
1045 ).
1046  Recomendamos hacer esto solo si dispones de un archivo 
1047 \family typewriter
1048
1049 \begin_inset Flex Code
1050 status collapsed
1051
1052 \begin_layout Plain Layout
1053
1054 \family typewriter
1055 .tex
1056 \end_layout
1057
1058 \end_inset
1059
1060  
1061 \family default
1062 que 
1063 \emph on
1064 sepas
1065 \emph default
1066  que funciona.
1067  Si no, te espera una ardua tarea rastreando errores de \SpecialChar LaTeX
1068 \SpecialChar ldots
1069
1070 \end_layout
1071
1072 \begin_layout Standard
1073 Hay unas últimas observaciones que hacer:
1074 \end_layout
1075
1076 \begin_layout Itemize
1077 \SpecialChar LyX
1078  
1079 \emph on
1080 no
1081 \emph default
1082  comprueba si el código \SpecialChar LaTeX
1083  es correcto.
1084 \end_layout
1085
1086 \begin_layout Itemize
1087 Abstente de reinventar la rueda.
1088 \end_layout
1089
1090 \begin_layout Standard
1091 Respecto al último punto, \SpecialChar LyX
1092  tiene bastantes características incorporadas,
1093  y más que vienen.
1094  Asegúrate de explorar los manuales para convencerte de que \SpecialChar LyX
1095  no dispone
1096  de tal o cual función antes de hacerlo a mano.
1097  Además, hay por ahí multitud de paquetes \SpecialChar LaTeX
1098  para hacer toda clase de cosas,
1099  desde etiquetas o sobres a fantásticos cuadros multipágina.
1100  Investiga en 
1101 \begin_inset CommandInset href
1102 LatexCommand href
1103 name "CTAN"
1104 target "http://www.ctan.org/"
1105 literal "false"
1106
1107 \end_inset
1108
1109  para detalles.
1110 \end_layout
1111
1112 \begin_layout Standard
1113 Si necesitas hacer algunas cosas fantásticas en tu documento, asegúrate
1114  de investigar en un buen libro sobre \SpecialChar LaTeX
1115  para obtener ayuda.
1116  Hay unos cuantos de ellos recogidos en la bibliografía de la 
1117 \emph on
1118 Guía del Usuario
1119 \emph default
1120 .
1121 \end_layout
1122
1123 \begin_layout Section
1124 \SpecialChar LyX
1125  y el Preámbulo \SpecialChar LaTeX
1126
1127 \end_layout
1128
1129 \begin_layout Subsection
1130 Sobre el preámbulo \SpecialChar LaTeX
1131
1132 \end_layout
1133
1134 \begin_layout Standard
1135 Si conoces \SpecialChar LaTeX
1136 , no es necesario explicar para qué sirve el preámbulo.
1137  Si no lo sabes, lo que sigue te dará algunas ideas —de nuevo recomendamos
1138  consultar un libro sobre \SpecialChar LaTeX
1139  para información adicional—.
1140  En cualquier caso, deberías leer los puntos siguientes porque detallan
1141  lo que puedes hacer y lo que no necesitas hacer en el preámbulo \SpecialChar LaTeX
1142  de un
1143  documento \SpecialChar LyX
1144 .
1145 \end_layout
1146
1147 \begin_layout Standard
1148 El preámbulo \SpecialChar LaTeX
1149  se encuentra en el principio de un documento, 
1150 \emph on
1151 antes
1152 \emph default
1153  del texto.
1154  Sirve para:
1155 \end_layout
1156
1157 \begin_layout Itemize
1158 Declarar la clase de documento.
1159 \begin_inset Newline newline
1160 \end_inset
1161
1162 \SpecialChar LyX
1163  ya lo hace por ti.
1164  Si eres un avezado 
1165 \begin_inset Quotes cld
1166 \end_inset
1167
1168 \SpecialChar LaTeX
1169 -nico
1170 \begin_inset Quotes crd
1171 \end_inset
1172
1173 , y dispones de alguna clase personalizada de documento que deseas usar,
1174  busca información sobre cómo incluirlo en \SpecialChar LyX
1175  en el manual 
1176 \emph on
1177 Personalización
1178 \emph default
1179 .
1180  
1181 \end_layout
1182
1183 \begin_layout Itemize
1184 Declarar el empleo de paquetes.
1185 \begin_inset Newline newline
1186 \end_inset
1187
1188 Los paquetes \SpecialChar LaTeX
1189  suministran comandos especiales, que solo estarán disponibles
1190  para su uso si el paquete correspondiente se ha declarado en el preámbulo.
1191  Por ejemplo, el paquete 
1192 \family typewriter
1193
1194 \begin_inset Flex Code
1195 status collapsed
1196
1197 \begin_layout Plain Layout
1198
1199 \family typewriter
1200 indentfirst
1201 \end_layout
1202
1203 \end_inset
1204
1205  
1206 \family default
1207 fuerza el sangrado en todos los párrafos.
1208  Hay otros paquetes para etiquetas, sobres, márgenes, etc.
1209 \end_layout
1210
1211 \begin_layout Itemize
1212 Configurar contadores, variables, longitudes y anchuras.
1213 \begin_inset Newline newline
1214 \end_inset
1215
1216 Hay varios contadores \SpecialChar LaTeX
1217  y variables que 
1218 \emph on
1219 deben 
1220 \emph default
1221 configurarse globalmente desde dentro del preámbulo para conseguir el efecto
1222  deseado.
1223  (Hay otras variables que se pueden configurar y reiniciar dentro del documento).
1224  Los márgenes son un buen ejemplo de algo que debe configurarse en el preámbulo.
1225  Otro ejemplo es el formato de las etiquetas para las listas.
1226  En realidad, puedes configurarlas donde quieras, pero es mejor hacerlo
1227  de una vez en el preámbulo.
1228 \end_layout
1229
1230 \begin_layout Itemize
1231 Declarar comandos definidos por el usuario (con 
1232 \family typewriter
1233
1234 \begin_inset Flex Code
1235 status collapsed
1236
1237 \begin_layout Plain Layout
1238
1239 \family typewriter
1240
1241 \backslash
1242 newcommand
1243 \end_layout
1244
1245 \end_inset
1246
1247
1248 \family default
1249  o 
1250 \family typewriter
1251
1252 \begin_inset Flex Code
1253 status collapsed
1254
1255 \begin_layout Plain Layout
1256
1257 \family typewriter
1258
1259 \backslash
1260 renewcommand
1261 \end_layout
1262
1263 \end_inset
1264
1265
1266 \family default
1267 )
1268 \begin_inset Newline newline
1269 \end_inset
1270
1271 Son generalmente abreviaturas para comandos \SpecialChar LaTeX
1272  que aparecen muy a menudo en
1273  un documento.
1274  Aunque el preámbulo es un buen sitio para declarar dichos comandos, 
1275 \emph on
1276 pueden
1277 \emph default
1278  ser definidos en cualquier sitio (por supuesto, 
1279 \emph on
1280 antes
1281 \emph default
1282  de que se vayan a usar por vez primera).
1283  Esto puede ser útil si hay demasiado código \SpecialChar LaTeX
1284  en el documento, lo que normalment
1285 e no debería suceder.
1286 \end_layout
1287
1288 \begin_layout Standard
1289 \SpecialChar LyX
1290  añade su propio conjunto de definiciones al preámbulo del archivo 
1291 \family typewriter
1292
1293 \begin_inset Flex Code
1294 status collapsed
1295
1296 \begin_layout Plain Layout
1297
1298 \family typewriter
1299 .tex
1300 \end_layout
1301
1302 \end_inset
1303
1304
1305 \family default
1306  que genera.
1307  Esto hace que los archivos \SpecialChar LaTeX
1308  generados por \SpecialChar LyX
1309  sean portables.
1310 \end_layout
1311
1312 \begin_layout Subsection
1313 Cambiar el preámbulo
1314 \end_layout
1315
1316 \begin_layout Standard
1317 Los comandos que \SpecialChar LyX
1318  añade al preámbulo de un archivo \SpecialChar LaTeX
1319  son fijos; no puedes
1320  cambiarlos sin parchear el propio \SpecialChar LyX
1321 .
1322  Sin embargo, puedes añadir tus cosas al preámbulo seleccionando 
1323 \family sans
1324
1325 \begin_inset Flex Noun
1326 status collapsed
1327
1328 \begin_layout Plain Layout
1329
1330 \family sans
1331 Preámbulo
1332 \begin_inset space ~
1333 \end_inset
1334
1335 \SpecialChar LaTeX
1336
1337 \end_layout
1338
1339 \end_inset
1340
1341  
1342 \family default
1343 en el diálogo
1344 \begin_inset Flex Noun
1345 status collapsed
1346
1347 \begin_layout Plain Layout
1348
1349 \family sans
1350  Document
1351 \family default
1352 o\SpecialChar menuseparator
1353
1354 \family sans
1355 Configuración
1356 \end_layout
1357
1358 \end_inset
1359
1360 .
1361  \SpecialChar LyX
1362  añade todo lo del diálogo a su propio preámbulo incorporado.
1363  Antes de añadir tus declaraciones en el preámbulo, deberías verificar que
1364  \SpecialChar LyX
1365  no dispone ya de soporte para lo que quieres hacer.
1366  (¿Recuerdas lo que dijimos respecto a reinventar la rueda?) Además, 
1367 \emph on
1368 asegúrate de que el código del preámbulo es correcto
1369 \emph default
1370 .
1371
1372 \emph on
1373  
1374 \emph default
1375 \SpecialChar LyX
1376  no comprueba esto por ti.
1377  Si hay un error, probablemente obtendrás un mensaje como 
1378 \begin_inset Quotes cld
1379 \end_inset
1380
1381
1382 \begin_inset Flex Code
1383 status collapsed
1384
1385 \begin_layout Plain Layout
1386 Missing 
1387 \backslash
1388 begin{document}
1389 \end_layout
1390
1391 \end_inset
1392
1393
1394 \begin_inset Quotes crd
1395 \end_inset
1396
1397 .
1398  Si ves este error comprueba tu preámbulo.
1399 \end_layout
1400
1401 \begin_layout Subsection
1402 Ejemplos
1403 \end_layout
1404
1405 \begin_layout Standard
1406 Aquí tenemos algunos ejemplos de lo que puedes añadir a un preámbulo y del
1407  efecto que produce:
1408 \end_layout
1409
1410 \begin_layout Subsubsection
1411 Ejemplo 1: Ajustes del área de impresión
1412 \end_layout
1413
1414 \begin_layout Standard
1415 Hay dos variables en \SpecialChar LaTeX
1416
1417 \family typewriter
1418
1419 \begin_inset Flex Code
1420 status collapsed
1421
1422 \begin_layout Plain Layout
1423
1424 \family typewriter
1425
1426 \backslash
1427 hoffset
1428 \end_layout
1429
1430 \end_inset
1431
1432
1433 \family default
1434  y 
1435 \family typewriter
1436
1437 \begin_inset Flex Code
1438 status collapsed
1439
1440 \begin_layout Plain Layout
1441
1442 \family typewriter
1443
1444 \backslash
1445 voffset
1446 \end_layout
1447
1448 \end_inset
1449
1450
1451 \family default
1452 , que controlan la composición de la página, es decir, el desplazamiento
1453  horizontal y vertical del área de impresión.
1454  Estas variables son útiles para casos como, por ejemplo, la impresión de
1455  etiquetas.
1456  A veces, el tamaño de un soporte de impresión y el área realmente imprimible
1457  no coinciden.
1458  Entonces intervienen 
1459 \family typewriter
1460
1461 \begin_inset Flex Code
1462 status collapsed
1463
1464 \begin_layout Plain Layout
1465
1466 \family typewriter
1467
1468 \backslash
1469 hoffset
1470 \end_layout
1471
1472 \end_inset
1473
1474
1475 \family default
1476  y 
1477 \family typewriter
1478
1479 \begin_inset Flex Code
1480 status collapsed
1481
1482 \begin_layout Plain Layout
1483
1484 \family typewriter
1485
1486 \backslash
1487 voffset
1488 \end_layout
1489
1490 \end_inset
1491
1492
1493 \family default
1494 .
1495  
1496 \end_layout
1497
1498 \begin_layout Standard
1499
1500 \family typewriter
1501 El
1502 \family default
1503  valor predeterminado para 
1504 \family typewriter
1505
1506 \begin_inset Flex Code
1507 status collapsed
1508
1509 \begin_layout Plain Layout
1510
1511 \family typewriter
1512
1513 \backslash
1514 hoffset
1515 \end_layout
1516
1517 \end_inset
1518
1519
1520 \family default
1521  y 
1522 \family typewriter
1523
1524 \begin_inset Flex Code
1525 status collapsed
1526
1527 \begin_layout Plain Layout
1528
1529 \family typewriter
1530
1531 \backslash
1532 voffset
1533 \end_layout
1534
1535 \end_inset
1536
1537
1538 \family default
1539  es 0
1540 \begin_inset space \thinspace{}
1541 \end_inset
1542
1543 pt., no cambia la composición de la página.
1544  Desafortunadamente, algunos controladores DVI siempre parecen alterar la
1545  paginación.
1546  No tenemos ni idea de la causa de esto ni de por qué el administrador del
1547  sistema no lo arregla.
1548  Si estás usando \SpecialChar LyX
1549  en un sistema que no administras personalmente y el responsabl
1550 e es un inepto, 
1551 \family typewriter
1552
1553 \begin_inset Flex Code
1554 status collapsed
1555
1556 \begin_layout Plain Layout
1557
1558 \family typewriter
1559
1560 \backslash
1561 hoffset
1562 \family default
1563  
1564 \end_layout
1565
1566 \end_inset
1567
1568
1569 \family default
1570
1571 \family typewriter
1572
1573 \begin_inset Flex Code
1574 status collapsed
1575
1576 \begin_layout Plain Layout
1577
1578 \family typewriter
1579
1580 \backslash
1581 voffset
1582 \end_layout
1583
1584 \end_inset
1585
1586
1587 \family default
1588  pueden salvar el día.
1589  Supongamos que los márgenes superior e izquierdo siempre son 0.5
1590 \begin_inset space \thinspace{}
1591 \end_inset
1592
1593 in (pulgadas) demasiado grandes.
1594  Puedes añadir lo siguiente al preámbulo:
1595 \end_layout
1596
1597 \begin_layout LyX-Code
1598
1599 \backslash
1600 setlength{
1601 \backslash
1602 hoffset}{-0.5 in}
1603 \end_layout
1604
1605 \begin_layout LyX-Code
1606
1607 \backslash
1608 setlength{
1609 \backslash
1610 voffset}{-0.5 in}
1611 \end_layout
1612
1613 \begin_layout Standard
1614 ahora los márgenes deberían ser correctos.
1615 \end_layout
1616
1617 \begin_layout Subsubsection
1618 Ejemplo 2: Etiquetas
1619 \end_layout
1620
1621 \begin_layout Standard
1622 Supongamos que quieres imprimir un puñado de etiquetas para direcciones.
1623  Hay un paquete estupendo disponible en CTAN, llamado 
1624 \family typewriter
1625
1626 \begin_inset Flex Code
1627 status collapsed
1628
1629 \begin_layout Plain Layout
1630
1631 \family typewriter
1632 labels.sty
1633 \end_layout
1634
1635 \end_inset
1636
1637 ,
1638 \family default
1639  para imprimir hojas con etiquetas.
1640  Es posible que tu sistema no disponga de este paquete, compruébalo.
1641  Necesitarás también leer su documentación, porque nosotros no te lo vamos
1642  a explicar, pero sí te daremos un ejemplo de su empleo.
1643 \end_layout
1644
1645 \begin_layout Standard
1646 Primero, comprueba que estás utilizando la clase de documento 
1647 \family sans
1648
1649 \begin_inset Flex Code
1650 status collapsed
1651
1652 \begin_layout Plain Layout
1653
1654 \family sans
1655 article
1656 \end_layout
1657
1658 \end_inset
1659
1660 .
1661  
1662 \family default
1663 Después, debes poner en el preámbulo lo siguiente:
1664 \end_layout
1665
1666 \begin_layout LyX-Code
1667
1668 \backslash
1669 usepackage{labels}
1670 \end_layout
1671
1672 \begin_layout LyX-Code
1673
1674 \backslash
1675 LabelCols=3
1676 \end_layout
1677
1678 \begin_layout LyX-Code
1679
1680 \backslash
1681 LabelRows=7
1682 \end_layout
1683
1684 \begin_layout LyX-Code
1685
1686 \backslash
1687 LeftBorder=8mm
1688 \end_layout
1689
1690 \begin_layout LyX-Code
1691
1692 \backslash
1693 RightBorder=8mm
1694 \end_layout
1695
1696 \begin_layout LyX-Code
1697
1698 \backslash
1699 TopBorder=9mm
1700 \end_layout
1701
1702 \begin_layout LyX-Code
1703
1704 \backslash
1705 BottomBorder=2mm
1706 \end_layout
1707
1708 \begin_layout Standard
1709 Esta es la configuración para hojas de etiquetas Avery, stock #5360.
1710  Ahora estás preparado para imprimirlas, pero necesitarás insertar código
1711  \SpecialChar LaTeX
1712 , poniendo los comandos 
1713 \family typewriter
1714
1715 \begin_inset Flex Code
1716 status collapsed
1717
1718 \begin_layout Plain Layout
1719
1720 \family typewriter
1721
1722 \backslash
1723 begin{labels}
1724 \end_layout
1725
1726 \end_inset
1727
1728
1729 \family default
1730  y 
1731 \family typewriter
1732
1733 \begin_inset Flex Code
1734 status collapsed
1735
1736 \begin_layout Plain Layout
1737
1738 \family typewriter
1739
1740 \backslash
1741 end{labels}
1742 \end_layout
1743
1744 \end_inset
1745
1746
1747 \family default
1748  antes y después, respectivamente, del texto de cada etiqueta.
1749  Esto y otras características de 
1750 \family typewriter
1751 labels.sty
1752 \family default
1753  se explican en su documentación.
1754  
1755 \end_layout
1756
1757 \begin_layout Standard
1758 Algún día, alguien escribirá un archivo de formato (
1759 \family typewriter
1760
1761 \begin_inset Flex Code
1762 status collapsed
1763
1764 \begin_layout Plain Layout
1765
1766 \family typewriter
1767 .layout
1768 \end_layout
1769
1770 \end_inset
1771
1772
1773 \family default
1774 ) para soportar directamente este paquete en \SpecialChar LyX
1775 .
1776  Puede que ese alguien seas tú.
1777 \end_layout
1778
1779 \begin_layout Subsubsection
1780 Ejemplo 3: Sangrado de párrafos
1781 \end_layout
1782
1783 \begin_layout Standard
1784 Los americanos están acostumbrados a sangrar la primera línea de 
1785 \emph on
1786 todos
1787 \emph default
1788  los párrafos.
1789 \begin_inset Foot
1790 status open
1791
1792 \begin_layout Plain Layout
1793 Por omisión, el estilo 
1794 \family typewriter
1795 spanish (babel)
1796 \family default
1797  también sangra la primera línea de todos los párrafos.
1798  Se puede cambiar con el comando 
1799 \family typewriter
1800
1801 \backslash
1802 def
1803 \backslash
1804 spanishoptions{es-noindentfirst}
1805 \family default
1806  en el preámbulo.
1807  (Las opciones de 
1808 \family typewriter
1809 spanish
1810 \family default
1811  
1812 \emph on
1813 no
1814 \emph default
1815  funcionan si se usa soporte 
1816 \family typewriter
1817 hyperref
1818 \family default
1819 ).
1820  (
1821 \emph on
1822 N.
1823  del T)
1824 \emph default
1825 .
1826 \end_layout
1827
1828 \end_inset
1829
1830
1831 \emph on
1832  
1833 \emph default
1834 Igual que con otras de sus peculiares manías, casi todos ellos se lamentarán
1835  y gimotearán hasta que no consigan hacerlo a su manera y puedan sangrar
1836  la primera línea de todos los párrafos.
1837  (Sí, estamos de guasa.
1838  ¿Lo estamos? ¡Oh, yes!)
1839 \end_layout
1840
1841 \begin_layout Standard
1842 Por supuesto, este ajuste no es el estándar en tipografía.
1843  En los libros, habitualmente solo se sangra la primera línea de un párrafo
1844  
1845 \emph on
1846 si 
1847 \emph default
1848 sigue a otro.
1849  La idea que subyace tras el hecho de sangrar la primera línea de un párrafo
1850  es distinguir entre párrafos vecinos.
1851  Si no hay párrafo previo, porque sigue a una figura, por ejemplo, o es
1852  el primer párrafo de una sección, entonces no tiene sentido el sangrado.
1853 \end_layout
1854
1855 \begin_layout Standard
1856 Si eres un típico americano (¡otra vez de guasa!), no obstante, no te preocupes
1857  por estos esotéricos asuntos; ¡quieres tu sangrado! Pues añade esto al
1858  preámbulo:
1859 \end_layout
1860
1861 \begin_layout LyX-Code
1862
1863 \backslash
1864 usepackage{indentfirst}
1865 \end_layout
1866
1867 \begin_layout Standard
1868 Si tu distribución de \SpecialChar TeX
1869  no está descerebrada, tendrás este paquete, y todos
1870  tus párrafos tendrán el sangrado que los Padres Fundadores pretenden que
1871  deberían tener.
1872 \end_layout
1873
1874 \begin_layout Subsubsection
1875 Ejemplo 4: Este documento
1876 \end_layout
1877
1878 \begin_layout Standard
1879 Puedes explorar el preámbulo de este documento para hacerte una idea de
1880  algunas de las cosas avanzadas que se pueden hacer.
1881  
1882 \end_layout
1883
1884 \begin_layout Section
1885 \SpecialChar LyX
1886  y errores de \SpecialChar LaTeX
1887
1888 \end_layout
1889
1890 \begin_layout Standard
1891 Cuando \SpecialChar LyX
1892  llama a \SpecialChar LaTeX
1893 , le indica que ignore alegremente los errores y que siga
1894  adelante.
1895  Después de la ejecución de \SpecialChar LaTeX
1896  se genera un informe 
1897 \begin_inset Quotes cld
1898 \end_inset
1899
1900 post-mortem
1901 \begin_inset Quotes crd
1902 \end_inset
1903
1904 .
1905  Tras analizarlo, \SpecialChar LyX
1906  muestra una ventana con la lista de errores.
1907  Pulsando sobre cualquiera de ellos el cursor se desplazará al lugar del
1908  archivo donde está el error.
1909 \begin_inset Foot
1910 status open
1911
1912 \begin_layout Plain Layout
1913 Generalmente.
1914  El análisis del archivo log es una dura tarea, y \SpecialChar LyX
1915  no siempre acierta con
1916  el lugar correcto.
1917  Además hay casos en que \SpecialChar LaTeX
1918  informa del error en una línea, pero el error
1919  preciso es anterior.
1920  Esto no es como olvidar una llave de cierre en un programa; obtendrás error
1921  pero más tarde.
1922 \end_layout
1923
1924 \end_inset
1925
1926
1927 \end_layout
1928
1929 \begin_layout Standard
1930 A algunos les gusta mirar directamente en el archivo 
1931 \family typewriter
1932 log
1933 \family default
1934 , que es accesible con el menú
1935 \family sans
1936  
1937 \begin_inset Flex Noun
1938 status collapsed
1939
1940 \begin_layout Plain Layout
1941
1942 \family sans
1943 Document
1944 \family default
1945 o
1946 \family sans
1947 \SpecialChar menuseparator
1948 Registro
1949 \begin_inset space ~
1950 \end_inset
1951
1952 de
1953 \begin_inset space ~
1954 \end_inset
1955
1956 LaTeX
1957 \end_layout
1958
1959 \end_inset
1960
1961 .
1962  
1963 \family default
1964 Hay algunos mensajes de error y alertas que son frecuentes.
1965  Los trataremos a continuación.
1966  Encontrarás una lista completa en un buen libro de \SpecialChar LaTeX
1967 .
1968  
1969 \end_layout
1970
1971 \begin_layout Itemize
1972
1973 \family typewriter
1974 \begin_inset Flex Code
1975 status collapsed
1976
1977 \begin_layout Plain Layout
1978
1979 \family typewriter
1980 LaTeX Warning
1981 \end_layout
1982
1983 \end_inset
1984
1985
1986 \family default
1987
1988 \begin_inset Newline newline
1989 \end_inset
1990
1991 Todo lo que comience con estas palabras es un mensaje de alerta con el propósito
1992  de 
1993 \begin_inset Quotes cld
1994 \end_inset
1995
1996 depurar
1997 \begin_inset Quotes crd
1998 \end_inset
1999
2000  el propio código \SpecialChar LaTeX
2001 .
2002  Tendrás avisos como este si añades o cambias referencias cruzadas o entradas
2003  de bibliografía, en cuyo caso \SpecialChar LaTeX
2004  intenta decirte que debes ejecutarlo de
2005  nuevo.
2006  En general los puedes ignorar.
2007 \end_layout
2008
2009 \begin_layout Itemize
2010
2011 \family typewriter
2012 \begin_inset Flex Code
2013 status collapsed
2014
2015 \begin_layout Plain Layout
2016
2017 \family typewriter
2018 LaTeX Font Warning
2019 \end_layout
2020
2021 \end_inset
2022
2023
2024 \family default
2025
2026 \begin_inset Newline newline
2027 \end_inset
2028
2029 Otro mensaje de aviso, esta vez sobre tipografías que \SpecialChar LaTeX
2030  no encuentra.
2031  El resto del mensaje dirá algo sobre reemplazo de tipografías que ha hecho
2032  \SpecialChar LaTeX
2033 .
2034  Puedes ignorarlos sin problema.
2035 \end_layout
2036
2037 \begin_layout Itemize
2038
2039 \family typewriter
2040 \begin_inset Flex Code
2041 status collapsed
2042
2043 \begin_layout Plain Layout
2044
2045 \family typewriter
2046 Overfull 
2047 \backslash
2048 hbox
2049 \end_layout
2050
2051 \end_inset
2052
2053
2054 \family default
2055
2056 \begin_inset Newline newline
2057 \end_inset
2058
2059 A \SpecialChar LaTeX
2060  le 
2061 \emph on
2062 encanta 
2063 \emph default
2064 vomitar esto.
2065
2066 \lang english
2067  It seems to generate at least one of these messages for just about any
2068  document you write.
2069
2070 \lang spanish
2071  Te avisa de líneas que son demasiado largas y sobrepasan el margen derecho.
2072  
2073 \lang english
2074 This happens if \SpecialChar LaTeX
2075  does not find a reasonable way to break the lines (notoriously
2076  often with typewriter font, since this does not allow for automatic break
2077  points).
2078  In many cases,
2079 \lang spanish
2080  será inapreciable en la salida (suele ser solo uno o dos puntos).
2081  
2082 \lang english
2083 Sometimes, however, the lines run rather visibly into the margin; something
2084  you will not want to have in your final print.There are several global ways
2085  to try to minimize the overfull lines.
2086  Clicking 
2087 \family sans
2088 Enable micro-typographic extensions
2089 \family default
2090  in 
2091 \family sans
2092 Document\SpecialChar menuseparator
2093 Settings\SpecialChar menuseparator
2094 Fonts
2095 \family default
2096  might already improve things a lot.
2097  Furthermore, \SpecialChar LaTeX
2098  code such as the following in 
2099 \family sans
2100 Document\SpecialChar menuseparator
2101 Settings\SpecialChar menuseparator
2102 Preamble
2103 \family default
2104  usually reduces the overfull lines drastically (we use this in the preamble
2105  of this document):
2106 \end_layout
2107
2108 \begin_deeper
2109 \begin_layout LyX-Code
2110
2111 \lang english
2112
2113 \backslash
2114 tolerance 1414
2115 \begin_inset Newline newline
2116 \end_inset
2117
2118
2119 \backslash
2120 hbadness 1414
2121 \begin_inset Newline newline
2122 \end_inset
2123
2124
2125 \backslash
2126 emergencystretch 1.5em
2127 \begin_inset Newline newline
2128 \end_inset
2129
2130
2131 \backslash
2132 hfuzz 0.3pt
2133 \end_layout
2134
2135 \begin_layout Standard
2136
2137 \lang english
2138 In some cases, however, you eventually have to rewrite the text to get the
2139  line breaking right.
2140 \begin_inset Foot
2141 status collapsed
2142
2143 \begin_layout Plain Layout
2144
2145 \lang english
2146 For more information, see 
2147 \begin_inset Flex URL
2148 status open
2149
2150 \begin_layout Plain Layout
2151
2152 http://www.tex.ac.uk/FAQ-overfull.html
2153 \end_layout
2154
2155 \end_inset
2156
2157
2158 \end_layout
2159
2160 \end_inset
2161
2162
2163 \end_layout
2164
2165 \begin_layout Standard
2166
2167 \lang english
2168 In any case, you should check the respective lines, at least for the final
2169  version of your document.
2170  Your eyes will tell you if there's a problem with something that's too
2171  wide.
2172 \begin_inset Foot
2173 status collapsed
2174
2175 \begin_layout Plain Layout
2176
2177 \lang english
2178 You can also enable the `draft' option in 
2179 \begin_inset Flex Noun
2180 status collapsed
2181
2182 \begin_layout Plain Layout
2183
2184 \lang english
2185 Document\SpecialChar menuseparator
2186 Settings
2187 \end_layout
2188
2189 \end_inset
2190
2191 , and then \SpecialChar LaTeX
2192  will draw a black box in the margin of lines that are overfull.
2193 \end_layout
2194
2195 \end_inset
2196
2197  
2198 \end_layout
2199
2200 \end_deeper
2201 \begin_layout Itemize
2202
2203 \family typewriter
2204 \begin_inset Flex Code
2205 status collapsed
2206
2207 \begin_layout Plain Layout
2208
2209 \family typewriter
2210 Underfull 
2211 \backslash
2212 hbox
2213 \end_layout
2214
2215 \end_inset
2216
2217
2218 \family default
2219
2220 \begin_inset Newline newline
2221 \end_inset
2222
2223 No tan común como su primo.
2224  
2225 \lang english
2226 This happens again if \SpecialChar LaTeX
2227  does not find a reasonable break point and consequently
2228  generates too loose lines.
2229  As with the overfull lines, you should check if this is a visible problem.
2230 \end_layout
2231
2232 \begin_layout Itemize
2233
2234 \family typewriter
2235 \begin_inset Flex Code
2236 status collapsed
2237
2238 \begin_layout Plain Layout
2239
2240 \family typewriter
2241 Overfull 
2242 \backslash
2243 vbox
2244 \end_layout
2245
2246 \end_inset
2247
2248
2249 \family default
2250  y 
2251 \family typewriter
2252
2253 \begin_inset Flex Code
2254 status collapsed
2255
2256 \begin_layout Plain Layout
2257
2258 \family typewriter
2259 Underfull 
2260 \backslash
2261 vbox
2262 \end_layout
2263
2264 \end_inset
2265
2266
2267 \family default
2268
2269 \begin_inset Newline newline
2270 \end_inset
2271
2272 Avisos sobre problemas
2273 \family typewriter
2274  
2275 \family default
2276 al saltar página.
2277  Una vez más, comprueba la salida para ver si algo ha ido mal.
2278 \end_layout
2279
2280 \begin_layout Itemize
2281
2282 \family typewriter
2283 \begin_inset Flex Code
2284 status collapsed
2285
2286 \begin_layout Plain Layout
2287
2288 \family typewriter
2289 LaTeX Error: File 
2290 \begin_inset Quotes els
2291 \end_inset
2292
2293 Xxxx
2294 \begin_inset Quotes ers
2295 \end_inset
2296
2297  not found
2298 \end_layout
2299
2300 \end_inset
2301
2302
2303 \family default
2304
2305 \begin_inset Newline newline
2306 \end_inset
2307
2308 El archivo 
2309 \begin_inset Quotes cld
2310 \end_inset
2311
2312 Xxxx
2313 \begin_inset Quotes crd
2314 \end_inset
2315
2316  no está instalado en el sistema.
2317  Generalmente esto aparece porque algún paquete requerido por el documento
2318  no está instalado.
2319  Si no has tocado el preámbulo o no has usado el comando 
2320 \family typewriter
2321
2322 \begin_inset Flex Code
2323 status collapsed
2324
2325 \begin_layout Plain Layout
2326
2327 \family typewriter
2328
2329 \backslash
2330 usepackage{}
2331 \end_layout
2332
2333 \end_inset
2334
2335
2336 \family default
2337 , entonces alguno de los paquetes que \SpecialChar LyX
2338  ha de cargar se ha perdido.
2339  Utiliza
2340 \family sans
2341  
2342 \begin_inset Flex Noun
2343 status collapsed
2344
2345 \begin_layout Plain Layout
2346
2347 \family sans
2348 Ayuda\SpecialChar menuseparator
2349 Configuración
2350 \family default
2351
2352 \begin_inset space ~
2353 \end_inset
2354
2355
2356 \family sans
2357 de
2358 \begin_inset space ~
2359 \end_inset
2360
2361 Latex
2362 \end_layout
2363
2364 \end_inset
2365
2366  
2367 \family default
2368 para obtener una lista de los paquetes reconocidos por \SpecialChar LyX
2369 .
2370  Este archivo se actualiza cada vez que reconfiguras \SpecialChar LyX
2371  (con
2372 \family sans
2373  
2374 \begin_inset Flex Noun
2375 status collapsed
2376
2377 \begin_layout Plain Layout
2378
2379 \family sans
2380 Herramientas\SpecialChar menuseparator
2381 Reconfigurar
2382 \end_layout
2383
2384 \end_inset
2385
2386
2387 \family default
2388 ) y te informa de los paquetes que han sido detectados y de lo que hacen.
2389 \begin_inset Newline newline
2390 \end_inset
2391
2392 Si has utilizado el comando 
2393 \family typewriter
2394
2395 \begin_inset Flex Code
2396 status collapsed
2397
2398 \begin_layout Plain Layout
2399
2400 \family typewriter
2401
2402 \backslash
2403 usepackage{}
2404 \end_layout
2405
2406 \end_inset
2407
2408  
2409 \family default
2410 pero el paquete en cuestión no está instalado, deberás instalarlo.
2411
2412 \family typewriter
2413  
2414 \end_layout
2415
2416 \begin_layout Itemize
2417
2418 \family typewriter
2419 \begin_inset Flex Code
2420 status collapsed
2421
2422 \begin_layout Plain Layout
2423
2424 \family typewriter
2425 LaTeX Error: Unknown option
2426 \end_layout
2427
2428 \end_inset
2429
2430
2431 \family default
2432
2433 \begin_inset Newline newline
2434 \end_inset
2435
2436 Los mensajes de error que comienzan así te informan de que has especificado
2437  una opción errónea o no definida en algún paquete.
2438  Consulta la documentación del paquete.
2439 \end_layout
2440
2441 \begin_layout Itemize
2442
2443 \family typewriter
2444 \begin_inset Flex Code
2445 status collapsed
2446
2447 \begin_layout Plain Layout
2448 Undefined control sequence
2449 \end_layout
2450
2451 \end_inset
2452
2453
2454 \family default
2455
2456 \begin_inset Newline newline
2457 \end_inset
2458
2459 Si has insertado código \SpecialChar LaTeX
2460  con errores de tipografía tendrás un aviso de estos.
2461  También puedes haber olvidado cargar un paquete.
2462  En todo caso, este aviso suele indicar el uso de un comando no definido
2463  o mal definido.
2464 \end_layout
2465
2466 \begin_layout Standard
2467 Hay otros mensajes de aviso y de error.
2468  Algunos se explican por sí mismos.
2469  Estos son generalmente mensajes de \SpecialChar LaTeX
2470 .
2471  Otros son francamente crípticos.
2472  Estos realmente son mensajes de error de \SpecialChar TeX
2473 , y no tenemos pistas sobre su
2474  significado o sobre cómo descifrarlos.
2475  
2476 \end_layout
2477
2478 \begin_layout Standard
2479 Si recibes mensajes de error, deberías seguir la siguiente secuencia general:
2480 \end_layout
2481
2482 \begin_layout Enumerate
2483 Revisa el código \SpecialChar LaTeX
2484  que hayas insertado y busca errores tipográficos.
2485 \end_layout
2486
2487 \begin_layout Enumerate
2488 Si no los hay, comprueba que has usado correctamente el (los) comando(s).
2489 \end_layout
2490
2491 \begin_layout Enumerate
2492 Si observas un puñado de cuadros de error amontonados muy al principio del
2493  documento, —especialmente si ves un 
2494 \begin_inset Quotes cld
2495 \end_inset
2496
2497
2498 \begin_inset Flex Code
2499 status collapsed
2500
2501 \begin_layout Plain Layout
2502 Missing 
2503 \backslash
2504 begin{document}
2505 \end_layout
2506
2507 \end_inset
2508
2509
2510 \begin_inset Quotes crd
2511 \end_inset
2512
2513 — significa que los errores están en el preámbulo.
2514  Empieza por depurar el preámbulo.
2515 \end_layout
2516
2517 \begin_layout Enumerate
2518 Si no has añadido nada al preámbulo ni has añadido código \SpecialChar LaTeX
2519 , la primera sospecha
2520  recae en tu propia distribución de \SpecialChar LaTeX
2521 .
2522  Comprueba si faltan paquetes e instálalos.
2523 \end_layout
2524
2525 \begin_layout Enumerate
2526 De acuerdo, no faltan paquetes.
2527  ¿Has utilizado alguna de las opciones de ajuste fino de \SpecialChar LyX
2528 ? Concretamente,
2529  ¿has hecho un mal uso de alguna de ellas, como insertar manualmente montones
2530  de 
2531 \family sans
2532
2533 \begin_inset Flex Code
2534 status collapsed
2535
2536 \begin_layout Plain Layout
2537
2538 \family sans
2539 Espacios
2540 \family default
2541
2542 \begin_inset space ~
2543 \end_inset
2544
2545
2546 \family sans
2547 protegidos
2548 \end_layout
2549
2550 \end_inset
2551
2552
2553 \begin_inset Flex Code
2554 status collapsed
2555
2556 \begin_layout Plain Layout
2557
2558 \family sans
2559 Saltos
2560 \family default
2561
2562 \begin_inset space ~
2563 \end_inset
2564
2565
2566 \family sans
2567 de
2568 \family default
2569
2570 \begin_inset space ~
2571 \end_inset
2572
2573
2574 \family sans
2575 línea
2576 \end_layout
2577
2578 \end_inset
2579
2580  
2581 \family default
2582
2583 \family sans
2584
2585 \begin_inset Flex Code
2586 status collapsed
2587
2588 \begin_layout Plain Layout
2589
2590 \family sans
2591 Saltos
2592 \family default
2593
2594 \begin_inset space ~
2595 \end_inset
2596
2597
2598 \family sans
2599 de
2600 \family default
2601
2602 \begin_inset space ~
2603 \end_inset
2604
2605
2606 \family sans
2607 página
2608 \end_layout
2609
2610 \end_inset
2611
2612
2613 \family default
2614 ? ¿Has intentado juntar cosas con ellos en vez de usar el entorno de párrafo
2615  adecuado? 
2616 \end_layout
2617
2618 \begin_layout Enumerate
2619 Todo es correcto, no has utilizado ninguna de las opciones de ajuste fino,
2620  y has cumplido las reglas.
2621  ¿Has intentado hacer una fantástica maniobra? ¿Quizá has hecho algo 
2622 \emph on
2623 funky
2624 \emph default
2625  en una ecuación o en un cuadro, como insertar un gráfico en una celda?
2626  
2627 \end_layout
2628
2629 \begin_layout Enumerate
2630 ¿Tienes largas piezas de texto en las que \SpecialChar LaTeX
2631  no encuentra dónde quebrar una
2632  línea? Por omisión, \SpecialChar LaTeX
2633  es más bien estricto en relación al espacio extra
2634  entre palabras que añadirá para romper una línea.
2635  Preferiblemente, deberías rehacer el párrafo para evitar el problema.
2636 \end_layout
2637
2638 \begin_layout Enumerate
2639 ¿Te has pasado con la anidación? \SpecialChar LyX
2640 , actualmente, no comprueba si estás dentro
2641  de los límites para los entornos anidables.
2642  Si anidas un puñado de entornos hasta el nivel 17, ahí está el problema.
2643  (El límite en \SpecialChar LaTeX
2644  es cinco).
2645 \end_layout
2646
2647 \begin_layout Enumerate
2648 Vale, no recibes ningún mensaje de error, pero la salida es horrorosa.
2649  Si tienes un cuadro o una figura demasiado anchos o largos para la página,
2650  tienes que:
2651 \end_layout
2652
2653 \begin_deeper
2654 \begin_layout Enumerate
2655 ajustar el tamaño de la figura a la página.
2656 \end_layout
2657
2658 \begin_layout Enumerate
2659 ajustar el cuadro para que quepa.
2660 \end_layout
2661
2662 \end_deeper
2663 \begin_layout Enumerate
2664 Si la salida sigue dando problemas, y no has probado nada raro ni has empleado
2665  mal opciones de ajuste fino, no estamos seguros de lo que está equivocado.
2666 \end_layout
2667
2668 \begin_layout Standard
2669 Si todo esto no ayuda, bueno, 
2670 \emph on
2671 quizá
2672 \emph default
2673  has encontrado un 
2674 \emph on
2675 bug
2676 \emph default
2677  (fallo) en \SpecialChar LyX
2678 \SpecialChar ldots
2679
2680 \end_layout
2681
2682 \begin_layout Chapter
2683 Herramientas suplementarias
2684 \end_layout
2685
2686 \begin_layout Section
2687 Personalizar bibliografías con Bib\SpecialChar TeX
2688
2689 \lang english
2690  or Biblatex
2691 \end_layout
2692
2693 \begin_layout Standard
2694 Los fundamentos del uso de Bib\SpecialChar TeX
2695
2696 \lang english
2697  or 
2698 \family sans
2699 Biblatex
2700 \family default
2701 \lang spanish
2702  se explican en la sección 
2703 \emph on
2704 Bases de datos bibliográficos
2705 \emph default
2706 de la 
2707 \emph on
2708 Guía del Usuario
2709 \emph default
2710 .
2711  Las siguientes subsecciones describen características especiales de bibliografí
2712 a soportadas por \SpecialChar LyX
2713 .
2714 \end_layout
2715
2716 \begin_layout Subsection
2717 Estilos alternativos de cita
2718 \end_layout
2719
2720 \begin_layout Standard
2721 El estilo normal de Bib\SpecialChar TeX
2722  usa números (p.
2723 \begin_inset space \thinspace{}
2724 \end_inset
2725
2726 ej.
2727 \begin_inset space \space{}
2728 \end_inset
2729
2730
2731 \begin_inset Quotes cld
2732 \end_inset
2733
2734 [12]
2735 \begin_inset Quotes crd
2736 \end_inset
2737
2738 ) para referir una cita bibliográfica.
2739  Sin embargo, en muchas disciplinas científicas se emplean otros estilos.
2740  El más común es el estilo autor-año (p.
2741 \begin_inset space \thinspace{}
2742 \end_inset
2743
2744 ej.
2745 \begin_inset space \space{}
2746 \end_inset
2747
2748
2749 \begin_inset Quotes cld
2750 \end_inset
2751
2752 Knuth 1984a
2753 \begin_inset Quotes crd
2754 \end_inset
2755
2756 ).
2757  \SpecialChar LyX
2758  soportathree paquetes que suministra este estilo,
2759 \lang english
2760  
2761 \begin_inset Flex Code
2762 status collapsed
2763
2764 \begin_layout Plain Layout
2765
2766 \lang english
2767 biblatex
2768 \end_layout
2769
2770 \end_inset
2771
2772 ,
2773 \lang spanish
2774  
2775 \family typewriter
2776
2777 \begin_inset Flex Code
2778 status collapsed
2779
2780 \begin_layout Plain Layout
2781
2782 \family typewriter
2783 natbib
2784 \end_layout
2785
2786 \end_inset
2787
2788
2789 \family default
2790  y 
2791 \family typewriter
2792
2793 \begin_inset Flex Code
2794 status collapsed
2795
2796 \begin_layout Plain Layout
2797
2798 \family typewriter
2799 jurabib
2800 \end_layout
2801
2802 \end_inset
2803
2804
2805 \family default
2806 .
2807  
2808 \lang english
2809 Each of these 
2810 \lang spanish
2811 paquetes 
2812 \lang english
2813 have
2814 \lang spanish
2815  sus pros y sus contras, que no podemos detallar aquí.
2816  Si solo necesitas un estilo sencillo autor-año (o numérico)
2817 \family typewriter
2818  
2819 \family default
2820 o si quieres
2821 \family typewriter
2822  
2823 \family default
2824 emplear un archivo de estilo sin contador, probablemente tu elección debería
2825  ser 
2826 \family typewriter
2827
2828 \begin_inset Flex Code
2829 status collapsed
2830
2831 \begin_layout Plain Layout
2832
2833 \family typewriter
2834 natbib
2835 \end_layout
2836
2837 \end_inset
2838
2839
2840 \family default
2841 .
2842  
2843 \lang english
2844 If you look for specific citation styles common in law studies
2845 \lang spanish
2846  deberías considerar el nuevo paquete 
2847 \family typewriter
2848
2849 \begin_inset Flex Code
2850 status collapsed
2851
2852 \begin_layout Plain Layout
2853
2854 \family typewriter
2855 jurabib
2856 \end_layout
2857
2858 \end_inset
2859
2860
2861 \family default
2862 .
2863
2864 \lang english
2865  If you want to have full control over the formatting or look for advanced
2866  features such as ibidem, footnote citations, full title citations, advanced
2867  date formats (such as 400 BC) or full localization to other languages than
2868  English, you should definitely consider 
2869 \begin_inset Flex Code
2870 status collapsed
2871
2872 \begin_layout Plain Layout
2873
2874 \lang english
2875 biblatex
2876 \end_layout
2877
2878 \end_inset
2879
2880 , which exceeds all other packages in terms of features, but is also quite
2881  heavy and more resource-hungry.
2882 \end_layout
2883
2884 \begin_layout Standard
2885 El manejo de 
2886 \lang english
2887 these
2888 \lang spanish
2889  paquetes es básicamente el mismo.
2890  Ve al submenú
2891 \family sans
2892  
2893 \begin_inset Flex Noun
2894 status collapsed
2895
2896 \begin_layout Plain Layout
2897
2898 \family sans
2899 Documento\SpecialChar menuseparator
2900
2901 \family default
2902 C
2903 \family sans
2904 onfiguración
2905 \end_layout
2906
2907 \end_inset
2908
2909
2910 \family default
2911  y selecciona en el panel
2912 \begin_inset Flex Noun
2913 status collapsed
2914
2915 \begin_layout Plain Layout
2916
2917 \family sans
2918  Bibliografía
2919 \end_layout
2920
2921 \end_inset
2922
2923  
2924 \begin_inset Flex Noun
2925 status collapsed
2926
2927 \begin_layout Plain Layout
2928
2929 \lang english
2930 \begin_inset Flex Noun
2931 status collapsed
2932
2933 \begin_layout Plain Layout
2934
2935 \lang english
2936 Style Format
2937 \end_layout
2938
2939 \end_inset
2940
2941  
2942 \begin_inset Flex Noun
2943 status collapsed
2944
2945 \begin_layout Plain Layout
2946
2947 \lang english
2948 Biblatex
2949 \end_layout
2950
2951 \end_inset
2952
2953
2954 \begin_inset Flex Noun
2955 status collapsed
2956
2957 \begin_layout Plain Layout
2958
2959 \lang english
2960 Biblatex (Natbib mode)
2961 \end_layout
2962
2963 \end_inset
2964
2965 ,
2966 \family sans
2967 \lang spanish
2968  Natbib
2969 \family default
2970 \lang english
2971 (BibTeX)
2972 \end_layout
2973
2974 \end_inset
2975
2976  o
2977 \family sans
2978  
2979 \begin_inset Flex Noun
2980 status collapsed
2981
2982 \begin_layout Plain Layout
2983
2984 \family sans
2985 Jurabib
2986 \family default
2987 \lang english
2988  (BibTeX)
2989 \end_layout
2990
2991 \end_inset
2992
2993
2994 \family default
2995 \lang english
2996  (see sec.
2997 \begin_inset space ~
2998 \end_inset
2999
3000 6.5.3 in the User's Guide for more information on these choices)
3001 \lang spanish
3002 .
3003  Con 
3004 \lang english
3005 all these
3006 \lang spanish
3007  paquetes dispondrás de algunas características extras en el diálogo y podrás
3008  elegir el estilo de las citas (
3009 \begin_inset Quotes cld
3010 \end_inset
3011
3012 Knuth 1984
3013 \begin_inset Quotes crd
3014 \end_inset
3015
3016
3017 \begin_inset Quotes cld
3018 \end_inset
3019
3020 Knuth (1984)
3021 \begin_inset Quotes crd
3022 \end_inset
3023
3024
3025 \begin_inset Quotes cld
3026 \end_inset
3027
3028 Knuth, 1984
3029 \begin_inset Quotes crd
3030 \end_inset
3031
3032
3033 \begin_inset Quotes cld
3034 \end_inset
3035
3036 1984
3037 \begin_inset Quotes crd
3038 \end_inset
3039
3040  etc.).
3041  Ten en cuenta que los 
3042 \lang english
3043 either
3044 \lang spanish
3045  paquete necesitan archivos de estilo específicamente diseñados (all incluyen
3046  el suyo propio, pero hay muchos otros archivos de estilo disponibles e
3047  incluso un programa interactivo
3048 \begin_inset Foot
3049 status collapsed
3050
3051 \begin_layout Plain Layout
3052 Véase 
3053 \begin_inset Flex URL
3054 status collapsed
3055
3056 \begin_layout Plain Layout
3057
3058 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3059 \end_layout
3060
3061 \end_inset
3062
3063
3064 \end_layout
3065
3066 \end_inset
3067
3068  para confeccionar estilos para 
3069 \family typewriter
3070 natbib
3071 \family default
3072 ).
3073 \end_layout
3074
3075 \begin_layout Subsection
3076
3077 \lang english
3078 Subdivided
3079 \lang spanish
3080 Bibliografía
3081 \end_layout
3082
3083 \begin_layout Standard
3084 En ocasiones, es posible que necesites dividir la bibliografía en secciones.
3085  Por ejemplo, si eres un historiador, la posibilidad de separar fuentes
3086  y trabajos científicos es probablemente un imperativo.
3087  Desafortunadamente, Bib\SpecialChar TeX
3088  no permite hacer esto por sí solo.
3089  Pero la buena noticia es que, con la ayuda de ciertos paquetes \SpecialChar LaTeX
3090 , Bib\SpecialChar TeX
3091  puede
3092  ampliar su cometido para conseguirlo.
3093 \end_layout
3094
3095 \begin_layout Standard
3096 \SpecialChar LyX
3097  provee soporte nativo para uno de estos paquetes, 
3098 \family typewriter
3099
3100 \begin_inset Flex Code
3101 status collapsed
3102
3103 \begin_layout Plain Layout
3104
3105 \family typewriter
3106 bibtopic
3107 \end_layout
3108
3109 \end_inset
3110
3111
3112 \family default
3113 .
3114 \begin_inset Foot
3115 status collapsed
3116
3117 \begin_layout Plain Layout
3118 Disponible en 
3119 \begin_inset Flex URL
3120 status collapsed
3121
3122 \begin_layout Plain Layout
3123
3124 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
3125 \end_layout
3126
3127 \end_inset
3128
3129
3130 \end_layout
3131
3132 \end_inset
3133
3134  La ventaja de este paquete (comparado con otros como 
3135 \family typewriter
3136
3137 \begin_inset Flex Code
3138 status collapsed
3139
3140 \begin_layout Plain Layout
3141
3142 \family typewriter
3143 multibib
3144 \end_layout
3145
3146 \end_inset
3147
3148
3149 \family default
3150 ) es que no necesitas definir nuevos comandos de cita.
3151  Lo que tienes que hacer es preparar diferentes bases de datos bibliográficos
3152  que incluyen las entradas para las distintas secciones de la bibliografía.
3153  Por ejemplo: si quieres dividir tu bibliografía en las secciones 
3154 \begin_inset Quotes cld
3155 \end_inset
3156
3157 Fuentes
3158 \begin_inset Quotes crd
3159 \end_inset
3160
3161  y 
3162 \begin_inset Quotes cld
3163 \end_inset
3164
3165 Trabajos científicos
3166 \begin_inset Quotes crd
3167 \end_inset
3168
3169 , primero debes crear dos bases de datos, p.
3170 \begin_inset space \thinspace{}
3171 \end_inset
3172
3173 ej.
3174 \begin_inset space ~
3175 \end_inset
3176
3177
3178 \family typewriter
3179
3180 \begin_inset Flex Code
3181 status collapsed
3182
3183 \begin_layout Plain Layout
3184
3185 \family typewriter
3186 fuentes.bib
3187 \end_layout
3188
3189 \end_inset
3190
3191
3192 \family default
3193  y 
3194 \family typewriter
3195
3196 \begin_inset Flex Code
3197 status collapsed
3198
3199 \begin_layout Plain Layout
3200
3201 \family typewriter
3202 trabajos.bib
3203 \end_layout
3204
3205 \end_inset
3206
3207
3208 \family default
3209 .
3210 \end_layout
3211
3212 \begin_layout Standard
3213 Ve a
3214 \family sans
3215  
3216 \begin_inset Flex Noun
3217 status collapsed
3218
3219 \begin_layout Plain Layout
3220
3221 \family sans
3222 Documento\SpecialChar menuseparator
3223 Configuración
3224 \end_layout
3225
3226 \end_inset
3227
3228
3229 \family default
3230  y selecciona en el panel
3231 \family sans
3232  
3233 \begin_inset Flex Noun
3234 status collapsed
3235
3236 \begin_layout Plain Layout
3237
3238 \family sans
3239 Bibliografía
3240 \end_layout
3241
3242 \end_inset
3243
3244  
3245 \family default
3246 la opción
3247 \family sans
3248  
3249 \begin_inset Flex Noun
3250 status collapsed
3251
3252 \begin_layout Plain Layout
3253
3254 \lang english
3255 Subdivided bibliography
3256 \end_layout
3257
3258 \end_inset
3259
3260
3261 \family default
3262 .
3263  Ahora puedes insertar múltiples referencias Bib\SpecialChar TeX
3264 , una para cada sección
3265  de la bibliografía.
3266  Volviendo a nuestro ejemplo: Inserta una bibliografía Bib\SpecialChar TeX
3267  para la base
3268  de datos 
3269 \family typewriter
3270
3271 \begin_inset Flex Code
3272 status collapsed
3273
3274 \begin_layout Plain Layout
3275
3276 \family typewriter
3277 fuentes.bib
3278 \end_layout
3279
3280 \end_inset
3281
3282
3283 \family default
3284  y otra para la base de datos 
3285 \family typewriter
3286
3287 \begin_inset Flex Code
3288 status collapsed
3289
3290 \begin_layout Plain Layout
3291
3292 \family typewriter
3293 trabajos.bib
3294 \end_layout
3295
3296 \end_inset
3297
3298
3299 \family default
3300 .
3301  Eres libre de usar estilos diferentes o iguales para cada sección.
3302  Por otra parte, puedes elegir si la sección bibliográfica debe contener
3303  
3304 \begin_inset Quotes cld
3305 \end_inset
3306
3307 todas las referencias citadas
3308 \begin_inset Quotes crd
3309 \end_inset
3310
3311  de la base de datos especificada (así es por omisión), 
3312 \begin_inset Quotes cld
3313 \end_inset
3314
3315 todas las referencias no citadas
3316 \begin_inset Quotes crd
3317 \end_inset
3318
3319  o incluso 
3320 \begin_inset Quotes cld
3321 \end_inset
3322
3323 todas las referencias
3324 \begin_inset Quotes crd
3325 \end_inset
3326
3327 .
3328  Esto podría ser útil para separar la bibliografía en tres secciones: 
3329 \begin_inset Quotes cld
3330 \end_inset
3331
3332 Fuentes citadas
3333 \begin_inset Quotes crd
3334 \end_inset
3335
3336
3337 \begin_inset Quotes cld
3338 \end_inset
3339
3340 Fuentes no citadas
3341 \begin_inset Quotes crd
3342 \end_inset
3343
3344  y 
3345 \begin_inset Quotes cld
3346 \end_inset
3347
3348 Trabajos científicos
3349 \begin_inset Quotes crd
3350 \end_inset
3351
3352 .
3353  Los títulos para las secciones pueden añadirse como secciones ordinarias
3354  o como subsecciones.
3355  Como 
3356 \family typewriter
3357
3358 \begin_inset Flex Code
3359 status collapsed
3360
3361 \begin_layout Plain Layout
3362
3363 \family typewriter
3364 bibtopic
3365 \end_layout
3366
3367 \end_inset
3368
3369
3370 \family default
3371  quita el título de la bibliografía, debes reañadirlo manualmente (como
3372  un capítulo* o sección*, por ejemplo).
3373 \end_layout
3374
3375 \begin_layout Standard
3376
3377 \lang english
3378 With 
3379 \family sans
3380 Biblatex
3381 \family default
3382 , the procedure is a bit different.
3383  Since 
3384 \family typewriter
3385 bibtopic
3386 \family default
3387  does not work with 
3388 \family sans
3389 Biblatex
3390 \family default
3391 , the aforementioned 
3392 \begin_inset Flex Noun
3393 status collapsed
3394
3395 \begin_layout Plain Layout
3396
3397 \lang english
3398 Subdivided bibliography
3399 \end_layout
3400
3401 \end_inset
3402
3403  option is disabled if you use 
3404 \family sans
3405 Biblatex
3406 \family default
3407 .
3408  However, 
3409 \family sans
3410 Biblatex
3411 \family default
3412  provides its own means to generate subdivided bibliographies.
3413  You can either add keywords to bibliography entries via the 
3414 \begin_inset Flex Code
3415 status collapsed
3416
3417 \begin_layout Plain Layout
3418
3419 \lang english
3420 keywords
3421 \end_layout
3422
3423 \end_inset
3424
3425  entry option and then filter bibliography sections by keyword (by adding
3426  
3427 \begin_inset Flex Code
3428 status collapsed
3429
3430 \begin_layout Plain Layout
3431
3432 \lang english
3433 keyword=mykeyword
3434 \end_layout
3435
3436 \end_inset
3437
3438  to the 
3439 \begin_inset Flex Noun
3440 status collapsed
3441
3442 \begin_layout Plain Layout
3443
3444 \lang english
3445 Options
3446 \end_layout
3447
3448 \end_inset
3449
3450  field of the dialog that opens if you right-click on the 
3451 \begin_inset Flex Noun
3452 status collapsed
3453
3454 \begin_layout Plain Layout
3455
3456 \lang english
3457 Biblatex Generated Bibliography
3458 \end_layout
3459
3460 \end_inset
3461
3462  button), or you can filter by entry types (such as 
3463 \emph on
3464 book
3465 \emph default
3466  or 
3467 \emph on
3468 article
3469 \emph default
3470 ) by entering e.
3471 \begin_inset space \thinspace{}
3472 \end_inset
3473
3474 g.
3475  
3476 \begin_inset Flex Code
3477 status collapsed
3478
3479 \begin_layout Plain Layout
3480
3481 \lang english
3482 type=book
3483 \end_layout
3484
3485 \end_inset
3486
3487  or 
3488 \begin_inset Flex Code
3489 status collapsed
3490
3491 \begin_layout Plain Layout
3492
3493 \lang english
3494 nottype=collection
3495 \end_layout
3496
3497 \end_inset
3498
3499  to the mentioned 
3500 \begin_inset Flex Noun
3501 status collapsed
3502
3503 \begin_layout Plain Layout
3504
3505 \lang english
3506 Options
3507 \end_layout
3508
3509 \end_inset
3510
3511  field, or you can create so-called 
3512 \begin_inset Quotes eld
3513 \end_inset
3514
3515 Bibliography Categories
3516 \begin_inset Quotes erd
3517 \end_inset
3518
3519  to which you can assign individual entries.
3520  Please refer to the Biblatex manual, section 
3521 \emph on
3522 Subdivided Bibliographies
3523 \emph default
3524 , for details.
3525 \end_layout
3526
3527 \begin_layout Subsection
3528 Bibliografías múltiples
3529 \begin_inset CommandInset label
3530 LatexCommand label
3531 name "subsec:Bibliografías-múltiples"
3532
3533 \end_inset
3534
3535
3536 \end_layout
3537
3538 \begin_layout Standard
3539 Bib\SpecialChar TeX
3540  no soporta por sí mismo bibliografías múltiples, p.
3541 \begin_inset space \thinspace{}
3542 \end_inset
3543
3544 ej.
3545 \begin_inset space \space{}
3546 \end_inset
3547
3548 una bibliografía para cada 
3549 \lang english
3550 part, chapter, 
3551 \lang spanish
3552 sección o 
3553 \lang english
3554 subsection or child (sub-document)
3555 \lang spanish
3556  del documento,
3557 \lang english
3558  are also supported by \SpecialChar LyX
3559 .
3560  In order to enable it, go to 
3561 \begin_inset Flex Noun
3562 status collapsed
3563
3564 \begin_layout Plain Layout
3565
3566 \lang english
3567 Document\SpecialChar menuseparator
3568 Settings\SpecialChar menuseparator
3569 Bibliography
3570 \end_layout
3571
3572 \end_inset
3573
3574  and select the relevant unit (e.
3575 \begin_inset space \thinspace{}
3576 \end_inset
3577
3578 g., 
3579 \begin_inset Quotes eld
3580 \end_inset
3581
3582 per section
3583 \begin_inset Quotes erd
3584 \end_inset
3585
3586 ) in the 
3587 \begin_inset Flex Noun
3588 status collapsed
3589
3590 \begin_layout Plain Layout
3591
3592 \lang english
3593 Multiple Bibliographies
3594 \end_layout
3595
3596 \end_inset
3597
3598  combo box.
3599  Then add a Bib(la)\SpecialChar TeX
3600  bibliography to each unit (e.
3601 \begin_inset space \thinspace{}
3602 \end_inset
3603
3604 g., section) of your document.
3605  In the output, a separate bibliography, containing only the references
3606  done in the current unit is generated.
3607 \end_layout
3608
3609 \begin_layout Standard
3610
3611 \lang english
3612 If you use Bib\SpecialChar TeX
3613 , either the 
3614 \begin_inset Flex Code
3615 status collapsed
3616
3617 \begin_layout Plain Layout
3618
3619 \lang english
3620 chapterbib
3621 \end_layout
3622
3623 \end_inset
3624
3625  or the 
3626 \begin_inset Flex Code
3627 status collapsed
3628
3629 \begin_layout Plain Layout
3630
3631 \lang english
3632 bibtopic
3633 \end_layout
3634
3635 \end_inset
3636
3637  package is used to create multiple bibliographies.
3638  The former package is used if you select 
3639 \begin_inset Quotes eld
3640 \end_inset
3641
3642 per child document
3643 \begin_inset Quotes erd
3644 \end_inset
3645
3646  and do 
3647 \emph on
3648 not
3649 \emph default
3650  check 
3651 \begin_inset Flex Noun
3652 status collapsed
3653
3654 \begin_layout Plain Layout
3655
3656 \lang english
3657 Sectioned Bibliography
3658 \end_layout
3659
3660 \end_inset
3661
3662 .
3663  In all other cases, 
3664 \begin_inset Flex Code
3665 status collapsed
3666
3667 \begin_layout Plain Layout
3668
3669 \lang english
3670 bibtopic
3671 \end_layout
3672
3673 \end_inset
3674
3675  is used.
3676 \begin_inset Foot
3677 status collapsed
3678
3679 \begin_layout Plain Layout
3680
3681 \lang english
3682 An alternative approach, if you are willing to use some 
3683 \begin_inset Flex Noun
3684 status collapsed
3685
3686 \begin_layout Plain Layout
3687
3688 \lang english
3689 \SpecialChar TeX
3690  Code
3691 \end_layout
3692
3693 \end_inset
3694
3695  (see section
3696 \begin_inset space ~
3697 \end_inset
3698
3699
3700 \lang spanish
3701
3702 \begin_inset CommandInset ref
3703 LatexCommand ref
3704 reference "sec:Insertar-Código-TeX"
3705
3706 \end_inset
3707
3708
3709 \lang english
3710 ), is to use the 
3711 \begin_inset Flex Code
3712 status collapsed
3713
3714 \begin_layout Plain Layout
3715
3716 \lang english
3717 bibunits
3718 \end_layout
3719
3720 \end_inset
3721
3722  package.
3723 \end_layout
3724
3725 \end_inset
3726
3727  If 
3728 \begin_inset Flex Code
3729 status collapsed
3730
3731 \begin_layout Plain Layout
3732
3733 \lang english
3734 bibtopic
3735 \end_layout
3736
3737 \end_inset
3738
3739  is used, \SpecialChar LyX
3740  encloses the specified units in 
3741 \begin_inset Flex Code
3742 status collapsed
3743
3744 \begin_layout Plain Layout
3745
3746 \lang english
3747 bibtopic
3748 \end_layout
3749
3750 \end_inset
3751
3752 's 
3753 \begin_inset Flex Code
3754 status collapsed
3755
3756 \begin_layout Plain Layout
3757
3758 \lang english
3759
3760 \backslash
3761 begin{btUnit}
3762 \end_layout
3763
3764 \end_inset
3765
3766  and 
3767 \begin_inset Flex Code
3768 status collapsed
3769
3770 \begin_layout Plain Layout
3771
3772 \lang english
3773
3774 \backslash
3775 end{btUnit}
3776 \end_layout
3777
3778 \end_inset
3779
3780  in order to create the units.
3781  Note that this approach has some limitations.
3782  First, every citation reference has to be inside some 
3783 \begin_inset Flex Code
3784 status collapsed
3785
3786 \begin_layout Plain Layout
3787
3788 \lang english
3789 btUnit
3790 \end_layout
3791
3792 \end_inset
3793
3794 .
3795  So citations outside a defined unit (e.
3796 \begin_inset space \thinspace{}
3797 \end_inset
3798
3799 g., before the first section if you use 
3800 \begin_inset Quotes eld
3801 \end_inset
3802
3803 by section
3804 \begin_inset Quotes erd
3805 \end_inset
3806
3807 ) will appear as 
3808 \begin_inset Quotes eld
3809 \end_inset
3810
3811 ???
3812 \begin_inset Quotes erd
3813 \end_inset
3814
3815 .
3816  You can also create your own units by entering 
3817 \begin_inset Flex Code
3818 status collapsed
3819
3820 \begin_layout Plain Layout
3821
3822 \lang english
3823
3824 \backslash
3825 begin{btUnit}
3826 \end_layout
3827
3828 \end_inset
3829
3830  and 
3831 \begin_inset Flex Code
3832 status collapsed
3833
3834 \begin_layout Plain Layout
3835
3836 \lang english
3837
3838 \backslash
3839 end{btUnit}
3840 \end_layout
3841
3842 \end_inset
3843
3844  as \SpecialChar TeX
3845  code (for instance to work around the mentioned limitation).
3846  Note, though, that 
3847 \begin_inset Flex Code
3848 status collapsed
3849
3850 \begin_layout Plain Layout
3851
3852 \lang english
3853 btUnit
3854 \end_layout
3855
3856 \end_inset
3857
3858 s cannot be nested.
3859  A second limitation is that 
3860 \begin_inset Flex Code
3861 status collapsed
3862
3863 \begin_layout Plain Layout
3864
3865 \lang english
3866 bibtopic
3867 \end_layout
3868
3869 \end_inset
3870
3871  always processes all references of a bibliography database, even if they
3872  are not cited.
3873  This can result in odd labels (e.
3874 \begin_inset space \thinspace{}
3875 \end_inset
3876
3877 g.
3878  
3879 \begin_inset Quotes eld
3880 \end_inset
3881
3882 Miller 2014b
3883 \begin_inset Quotes erd
3884 \end_inset
3885
3886  if two works of this author from 2014 are in the database, even if only
3887  one is cited).
3888 \end_layout
3889
3890 \begin_layout Standard
3891
3892 \lang english
3893 If you use 
3894 \family sans
3895 Biblatex
3896 \family default
3897 , the 
3898 \begin_inset Flex Code
3899 status collapsed
3900
3901 \begin_layout Plain Layout
3902
3903 \lang english
3904 refsection
3905 \end_layout
3906
3907 \end_inset
3908
3909  option is used instead.
3910  If you need specific units, you can start them with the \SpecialChar TeX
3911  code 
3912 \begin_inset Flex Code
3913 status collapsed
3914
3915 \begin_layout Plain Layout
3916
3917 \lang english
3918
3919 \backslash
3920 newrefsection
3921 \end_layout
3922
3923 \end_inset
3924
3925  or 
3926 \begin_inset Flex Code
3927 status collapsed
3928
3929 \begin_layout Plain Layout
3930
3931 \lang english
3932
3933 \backslash
3934 newrefsegment
3935 \end_layout
3936
3937 \end_inset
3938
3939 , respectively.
3940  If you also want to control the end of the unit, use the environment 
3941 \begin_inset Flex Code
3942 status collapsed
3943
3944 \begin_layout Plain Layout
3945
3946 \lang english
3947
3948 \backslash
3949 begin{refsection}
3950 \end_layout
3951
3952 \end_inset
3953
3954  \SpecialChar ldots
3955  
3956 \begin_inset Flex Code
3957 status collapsed
3958
3959 \begin_layout Plain Layout
3960
3961 \lang english
3962
3963 \backslash
3964 end{refsection}
3965 \end_layout
3966
3967 \end_inset
3968
3969  instead.
3970  Note, though, that 
3971 \begin_inset Flex Code
3972 status collapsed
3973
3974 \begin_layout Plain Layout
3975
3976 \lang english
3977 refsection
3978 \end_layout
3979
3980 \end_inset
3981
3982 s cannot be nested.
3983  In addition to the individual bibliography of the current unit, 
3984 \family sans
3985 Biblatex
3986 \family default
3987  also provides an easy way to output all bibliographies, subsequently, at
3988  one place (e.
3989 \begin_inset space \thinspace{}
3990 \end_inset
3991
3992 g., at the end of the document).
3993  Select 
3994 \begin_inset Quotes eld
3995 \end_inset
3996
3997 all reference units
3998 \begin_inset Quotes erd
3999 \end_inset
4000
4001  from the Content combo box of the Bib(la)TeX inset dialog in order to achieve
4002  this.
4003  Please refer to the 
4004 \family sans
4005 Biblatex
4006 \family default
4007  manual for more information on this topic.
4008 \end_layout
4009
4010 \begin_layout Section
4011 Documentos con varias partes
4012 \end_layout
4013
4014 \begin_layout Subsection
4015 Operación general
4016 \end_layout
4017
4018 \begin_layout Standard
4019 Cuando trabajas en un extenso documento con muchas secciones, o si tienes
4020  una parte en la que un cuadro puede cambiar de vez en cuando pero no el
4021  texto precedente, suele ser conveniente dividir el documento en varios
4022  archivos.
4023  En estos casos, deberías considerar seriamente el uso de documentos hijo.
4024  Por ejemplo, los artículos científicos suelen tener cinco secciones principales
4025 : introducción, observaciones, resultados, discusión y conclusiones.
4026  Cada una de ellas debería estar en su propio archivo \SpecialChar LyX
4027 .
4028  Por otra parte un archivo 
4029 \begin_inset Quotes cld
4030 \end_inset
4031
4032 maestro
4033 \begin_inset Quotes crd
4034 \end_inset
4035
4036  contendría el título, los autores, el resumen, las referencias, etc., e
4037  incluiría los cinco archivos.
4038  Es importante tener en cuenta que cada uno de estos es un completo archivo
4039  \SpecialChar LyX
4040  que puede ser diseñado e impreso de forma independiente, además de estar
4041  incluido en el maestro.
4042  Sin embargo, todos deben ser de la misma clase de documento —no intentes
4043  mezclar, p.
4044 \begin_inset space \thinspace{}
4045 \end_inset
4046
4047 ej., libro y artículo—.
4048  También puedes incluir archivos \SpecialChar LaTeX
4049 ; pero no deben tener su propio preámbulo
4050  (es decir, debe eliminarse todo lo que precede a 
4051 \family typewriter
4052
4053 \begin_inset Flex Code
4054 status collapsed
4055
4056 \begin_layout Plain Layout
4057
4058 \family typewriter
4059
4060 \backslash
4061 begin{document}
4062 \end_layout
4063
4064 \end_inset
4065
4066
4067 \family default
4068 , así como esta misma línea y también
4069 \family typewriter
4070  
4071 \begin_inset Flex Code
4072 status collapsed
4073
4074 \begin_layout Plain Layout
4075
4076 \family typewriter
4077
4078 \backslash
4079 end{document}
4080 \end_layout
4081
4082 \end_inset
4083
4084
4085 \family default
4086 ), de lo contrario se generarán errores al procesar el archivo.
4087 \end_layout
4088
4089 \begin_layout Standard
4090 \SpecialChar LyX
4091  facilita la inclusión de archivos con la opción de menú
4092 \family sans
4093  
4094 \begin_inset Flex Noun
4095 status collapsed
4096
4097 \begin_layout Plain Layout
4098
4099 \family sans
4100 Insertar\SpecialChar menuseparator
4101 Archivo\SpecialChar menuseparator
4102 Documento
4103 \begin_inset space ~
4104 \end_inset
4105
4106 hijo
4107 \end_layout
4108
4109 \end_inset
4110
4111
4112 \family default
4113 .
4114  Surge entonces una ventana que permite seleccionar el archivo a incluir
4115  y el método de inclusión, y en la posición actual del cursor se inserta
4116  un cuadro gris con el nombre del archivo, que se puede desplegar con un
4117  clic para hacer modificaciones.
4118
4119 \family sans
4120  
4121 \end_layout
4122
4123 \begin_layout Standard
4124 Los métodos de inclusión de un archivo son 
4125 \begin_inset Quotes cld
4126 \end_inset
4127
4128 Anexar
4129 \begin_inset Quotes crd
4130 \end_inset
4131
4132
4133 \begin_inset Quotes cld
4134 \end_inset
4135
4136 Incorporar
4137 \begin_inset Quotes crd
4138 \end_inset
4139
4140  y 
4141 \begin_inset Quotes cld
4142 \end_inset
4143
4144 Literal
4145 \begin_inset Quotes crd
4146 \end_inset
4147
4148 .
4149  Los métodos 
4150 \begin_inset Quotes cld
4151 \end_inset
4152
4153 Anexar
4154 \begin_inset Quotes crd
4155 \end_inset
4156
4157  e 
4158 \begin_inset Quotes cld
4159 \end_inset
4160
4161 Incorporar
4162 \begin_inset Quotes crd
4163 \end_inset
4164
4165  
4166 \lang english
4167 are similar in many ways, but there are also some notable differences:
4168 \lang spanish
4169  
4170 \end_layout
4171
4172 \begin_layout Enumerate
4173 los archivos 
4174 \begin_inset Quotes cld
4175 \end_inset
4176
4177 anexados
4178 \begin_inset Quotes crd
4179 \end_inset
4180
4181  se imprimen en una página independiente, mientras que los archivos 
4182 \begin_inset Quotes cld
4183 \end_inset
4184
4185 incorporados
4186 \begin_inset Quotes crd
4187 \end_inset
4188
4189  se imprimen en la página en la que estén insertados.
4190 \end_layout
4191
4192 \begin_layout Enumerate
4193
4194 \lang english
4195 \begin_inset Quotes eld
4196 \end_inset
4197
4198 Included
4199 \begin_inset Quotes erd
4200 \end_inset
4201
4202  files cannot themselves 
4203 \begin_inset Quotes eld
4204 \end_inset
4205
4206 include
4207 \begin_inset Quotes erd
4208 \end_inset
4209
4210  further files (
4211 \begin_inset Quotes eld
4212 \end_inset
4213
4214 grandchilds
4215 \begin_inset Quotes erd
4216 \end_inset
4217
4218 ).
4219  With 
4220 \begin_inset Quotes eld
4221 \end_inset
4222
4223 input
4224 \begin_inset Quotes erd
4225 \end_inset
4226
4227 , on the other hand, infinite sub-inputting is possible.
4228 \end_layout
4229
4230 \begin_layout Enumerate
4231
4232 \lang english
4233 \begin_inset Quotes eld
4234 \end_inset
4235
4236 Include
4237 \begin_inset Quotes erd
4238 \end_inset
4239
4240  allow for the output of only selected 
4241 \begin_inset Quotes eld
4242 \end_inset
4243
4244 included
4245 \begin_inset Quotes erd
4246 \end_inset
4247
4248  files, while maintaining the actual counters (pagination etc.) and references
4249  (please refer to the section 
4250 \emph on
4251 Child
4252 \begin_inset space ~
4253 \end_inset
4254
4255 Documents
4256 \emph default
4257  of the 
4258 \emph on
4259 Embedded
4260 \begin_inset space ~
4261 \end_inset
4262
4263 Objects
4264 \emph default
4265  manual for details).
4266 \end_layout
4267
4268 \begin_layout Standard
4269
4270 \lang english
4271 Hence, 
4272 \begin_inset Quotes eld
4273 \end_inset
4274
4275 include
4276 \begin_inset Quotes erd
4277 \end_inset
4278
4279  is the preferred method for chapters that are outsourced to child documents,
4280  while 
4281 \begin_inset Quotes eld
4282 \end_inset
4283
4284 input
4285 \begin_inset Quotes erd
4286 \end_inset
4287
4288  is more suitable for arbitrary file inheritance.
4289 \end_layout
4290
4291 \begin_layout Standard
4292 La inserción de un archivo 
4293 \begin_inset Quotes cld
4294 \end_inset
4295
4296 Literal
4297 \begin_inset Quotes crd
4298 \end_inset
4299
4300  permite incluirlo tal cual es, de forma literal, con los caracteres en
4301  tipografía de 
4302 \family typewriter
4303 ancho fijo
4304 \family default
4305 .
4306  Normalmente los espacios en este tipo de inclusión son invisibles, aunque
4307  se conservan dos espacios consecutivos, a diferencia del normal tratamiento
4308  de los espacios en \SpecialChar LyX
4309 .
4310  Sin embargo, si se marca en
4311 \family sans
4312  
4313 \begin_inset Flex Noun
4314 status collapsed
4315
4316 \begin_layout Plain Layout
4317
4318 \family sans
4319 Mar
4320 \family default
4321 car
4322 \family sans
4323
4324 \begin_inset space ~
4325 \end_inset
4326
4327 espacios
4328 \begin_inset space ~
4329 \end_inset
4330
4331 en
4332 \begin_inset space ~
4333 \end_inset
4334
4335 la
4336 \begin_inset space ~
4337 \end_inset
4338
4339 salida
4340 \end_layout
4341
4342 \end_inset
4343
4344
4345 \family default
4346 , se imprime una marca que señala sin ambigüedad la presencia de espacios.
4347 \end_layout
4348
4349 \begin_layout Standard
4350
4351 \lang english
4352 Generally, the master file is converted into a full \SpecialChar LaTeX
4353  file before typesetting,
4354  while the included files are converted to \SpecialChar LaTeX
4355  files that do not have all the
4356  preamble information.
4357 \end_layout
4358
4359 \begin_layout Subsection
4360 Referencias cruzadas entre archivos
4361 \end_layout
4362
4363 \begin_layout Standard
4364 \begin_inset Box Shadowbox
4365 position "t"
4366 hor_pos "c"
4367 has_inner_box 1
4368 inner_pos "t"
4369 use_parbox 0
4370 use_makebox 0
4371 width "100col%"
4372 special "none"
4373 height "1in"
4374 height_special "totalheight"
4375 thickness "0.4pt"
4376 separation "3pt"
4377 shadowsize "4pt"
4378 framecolor "black"
4379 backgroundcolor "none"
4380 status collapsed
4381
4382 \begin_layout Plain Layout
4383 Esta sección está algo anticuada.
4384  Es preciso describir los documentos maestros predeterminados y cómo son
4385  abiertos los hijos cuando está el maestro.
4386  [[PENDIENTE]]
4387 \end_layout
4388
4389 \end_inset
4390
4391
4392 \end_layout
4393
4394 \begin_layout Standard
4395 Se pueden configurar referencias cruzadas entre los distintos archivos.
4396  Primero, abre todos los archivos en cuestión: digamos A y B por ejemplo,
4397  donde B está incluido en A.
4398  Supongamos que insertas una etiqueta en A y quieres mencionarla en B.
4399  Abre el diálogo de referencias cruzadas en B y selecciona el 
4400 \begin_inset Quotes cld
4401 \end_inset
4402
4403 buffer
4404 \begin_inset Quotes crd
4405 \end_inset
4406
4407  a usar.
4408 \end_layout
4409
4410 \begin_layout Subsection
4411 Listas de bibliografía en todos los subdocumentos
4412 \end_layout
4413
4414 \begin_layout Standard
4415 \begin_inset Box Frameless
4416 position "t"
4417 hor_pos "c"
4418 has_inner_box 1
4419 inner_pos "t"
4420 use_parbox 0
4421 use_makebox 0
4422 width "100col%"
4423 special "none"
4424 height "1in"
4425 height_special "totalheight"
4426 thickness "0.4pt"
4427 separation "3pt"
4428 shadowsize "4pt"
4429 framecolor "black"
4430 backgroundcolor "none"
4431 status collapsed
4432
4433 \begin_layout Plain Layout
4434 Esta sección también requiere actualización.
4435  Ahora hay material sobre esto en la wiki que se podría copiar aquí.
4436 \end_layout
4437
4438 \end_inset
4439
4440
4441 \end_layout
4442
4443 \begin_layout Standard
4444
4445 \lang english
4446 If you work with child documents, you might want to have only one main bibliogra
4447 phy at the end, but still be able to have a selected bibliography for the
4448  child if you output it on its own.
4449  Here is how to achieve this.
4450 \end_layout
4451
4452 \begin_layout Standard
4453
4454 \lang english
4455 For the main document, you just insert a bibliography inset at the place
4456  where the main bibliography has to appear (within the master file or within
4457  a child).
4458  If the bibliography inset is in the master file, the references will be
4459  inherited by all children, so they are available in the citation dialog
4460  within each child.
4461 \end_layout
4462
4463 \begin_layout Standard
4464
4465 \lang english
4466 For child-specific bibliographies, insert bibliography insets within the
4467  child documents, at the place where the bibliography should appear when
4468  the child is compiled separately.
4469  However, the trick is to insert them into a branch (
4470 \family sans
4471 Insert\SpecialChar menuseparator
4472 Branch\SpecialChar menuseparator
4473 Insert New Branch...
4474 \family default
4475 ), e.
4476 \begin_inset space \thinspace{}
4477 \end_inset
4478
4479 g.
4480  called 
4481 \begin_inset Quotes eld
4482 \end_inset
4483
4484 Childonly
4485 \begin_inset Quotes erd
4486 \end_inset
4487
4488 .
4489  Within the children, activate the branch (
4490 \family sans
4491 Document\SpecialChar menuseparator
4492 Settings...\SpecialChar menuseparator
4493 Branches
4494 \family default
4495 ).
4496  Within the master, deactivate the branch (
4497 \family sans
4498 Document\SpecialChar menuseparator
4499 Settings...\SpecialChar menuseparator
4500 Branches
4501 \family default
4502 ).
4503  Now the child's bibliography will be ignored by the master, but considered
4504  by the child.
4505 \end_layout
4506
4507 \begin_layout Standard
4508
4509 \lang english
4510 If you need multiple bibliographies (e.
4511 \begin_inset space \thinspace{}
4512 \end_inset
4513
4514 g., one per child in the 
4515 \emph on
4516 main document
4517 \emph default
4518 ), please refer to sec
4519 \lang spanish
4520 .
4521 \begin_inset space ~
4522 \end_inset
4523
4524
4525 \begin_inset CommandInset ref
4526 LatexCommand ref
4527 reference "subsec:Bibliografías-múltiples"
4528
4529 \end_inset
4530
4531 .
4532 \end_layout
4533
4534 \begin_layout Section
4535 Archivos \SpecialChar LyX
4536
4537 \end_layout
4538
4539 \begin_layout Standard
4540 A veces, los usuarios necesitan 
4541 \begin_inset Quotes cld
4542 \end_inset
4543
4544 empaquetar
4545 \begin_inset Quotes crd
4546 \end_inset
4547
4548  un archivo \SpecialChar LyX
4549  junto con las imágenes (y otros archivos) de los que depende,
4550  bien para enviarlo a un editor o para compartirlo con un co-autor.
4551  \SpecialChar LyX
4552  incluye un guión en Python (
4553 \begin_inset Flex Code
4554 status collapsed
4555
4556 \begin_layout Plain Layout
4557 lyxpak.py
4558 \end_layout
4559
4560 \end_inset
4561
4562 ) que automatiza el proceso.
4563  Para usarlo, deben estar instalados los módulos Python 
4564 \begin_inset Flex Code
4565 status collapsed
4566
4567 \begin_layout Plain Layout
4568 zipfile
4569 \end_layout
4570
4571 \end_inset
4572
4573  o 
4574 \begin_inset Flex Code
4575 status collapsed
4576
4577 \begin_layout Plain Layout
4578 tarfile
4579 \end_layout
4580
4581 \end_inset
4582
4583 .
4584  Por omisión, el guión prefiere el formato 
4585 \begin_inset Flex Code
4586 status collapsed
4587
4588 \begin_layout Plain Layout
4589 tar
4590 \end_layout
4591
4592 \end_inset
4593
4594  comprimido con 
4595 \begin_inset Flex Code
4596 status collapsed
4597
4598 \begin_layout Plain Layout
4599 gzip
4600 \end_layout
4601
4602 \end_inset
4603
4604  en sistemas tipo Unix y el formato 
4605 \begin_inset Flex Code
4606 status collapsed
4607
4608 \begin_layout Plain Layout
4609 zip
4610 \end_layout
4611
4612 \end_inset
4613
4614  en Windows.
4615 \end_layout
4616
4617 \begin_layout Standard
4618 El proceso de configuración de \SpecialChar LyX
4619  preparará el guión para exportar a 
4620 \begin_inset Quotes cld
4621 \end_inset
4622
4623 Archivo \SpecialChar LyX
4624
4625 \begin_inset Quotes crd
4626 \end_inset
4627
4628 , que estará disponible en el menú 
4629 \begin_inset Flex Code
4630 status collapsed
4631
4632 \begin_layout Plain Layout
4633 Archivo\SpecialChar menuseparator
4634 Exportar
4635 \end_layout
4636
4637 \end_inset
4638
4639 .
4640 \end_layout
4641
4642 \begin_layout Standard
4643 Independientemente de la plataforma, la generación de un formato determinado
4644  de archivo puede controlarse añadiendo el conmutador 
4645 \begin_inset Flex Code
4646 status collapsed
4647
4648 \begin_layout Plain Layout
4649 -t
4650 \end_layout
4651
4652 \end_inset
4653
4654  (para el formato 
4655 \begin_inset Flex Code
4656 status collapsed
4657
4658 \begin_layout Plain Layout
4659 tar
4660 \end_layout
4661
4662 \end_inset
4663
4664 ) o el conmutador 
4665 \begin_inset Flex Code
4666 status collapsed
4667
4668 \begin_layout Plain Layout
4669 -z
4670 \end_layout
4671
4672 \end_inset
4673
4674  (para el formato 
4675 \begin_inset Flex Code
4676 status collapsed
4677
4678 \begin_layout Plain Layout
4679 zip
4680 \end_layout
4681
4682 \end_inset
4683
4684 ) al convertidor 
4685 \begin_inset Flex Code
4686 status collapsed
4687
4688 \begin_layout Plain Layout
4689 \SpecialChar LyX
4690 \SpecialChar menuseparator
4691 \SpecialChar LyX
4692  Archive
4693 \end_layout
4694
4695 \end_inset
4696
4697  en 
4698 \begin_inset Flex Code
4699 status collapsed
4700
4701 \begin_layout Plain Layout
4702 Herramientas\SpecialChar menuseparator
4703 Preferencias\SpecialChar menuseparator
4704 Gestión de archivos\SpecialChar menuseparator
4705 Convertidores
4706 \end_layout
4707
4708 \end_inset
4709
4710 .
4711  (Asegúrate de añadir el conmutador tras el nombre del guión, no delante.)
4712 \end_layout
4713
4714 \begin_layout Section
4715 Encabezados y pies de página elaborados
4716 \end_layout
4717
4718 \begin_layout Standard
4719 El formato de página predeterminado es más bien simple; para la clase 
4720 \family sans
4721
4722 \begin_inset Flex Code
4723 status collapsed
4724
4725 \begin_layout Plain Layout
4726
4727 \family sans
4728 article
4729 \end_layout
4730
4731 \end_inset
4732
4733
4734 \family default
4735 , todo lo que obtienes es un número centrado al final de la página.
4736  El presente documento es de la clase 
4737 \family sans
4738
4739 \begin_inset Flex Code
4740 status collapsed
4741
4742 \begin_layout Plain Layout
4743
4744 \family sans
4745 book
4746 \family default
4747  (KOMA-script)
4748 \end_layout
4749
4750 \end_inset
4751
4752
4753 \family default
4754 , así que resulta un poco más elaborado.
4755  Pero para montar un show de verdad, has de elegir 
4756 \begin_inset Quotes cld
4757 \end_inset
4758
4759 elaborado
4760 \begin_inset Quotes crd
4761 \end_inset
4762
4763
4764 \emph on
4765  
4766 \emph default
4767 para el estilo de página del documento, como se comenta en la 
4768 \emph on
4769 Guía del Usuario
4770 \emph default
4771 .
4772  En esta sección se describe el código \SpecialChar LaTeX
4773  que debes introducir en el preámbulo
4774  \SpecialChar LaTeX
4775  para conseguir los resultados deseados.
4776 \end_layout
4777
4778 \begin_layout Standard
4779 El encabezado de página se divide en tres zonas, 
4780 \begin_inset Quotes cld
4781 \end_inset
4782
4783 izquierda
4784 \begin_inset Quotes crd
4785 \end_inset
4786
4787
4788 \begin_inset Quotes cld
4789 \end_inset
4790
4791 central
4792 \begin_inset Quotes crd
4793 \end_inset
4794
4795  y 
4796 \begin_inset Quotes cld
4797 \end_inset
4798
4799 derecha
4800 \begin_inset Quotes crd
4801 \end_inset
4802
4803 .
4804  Y el pie de página, pues igual.
4805  Los comandos \SpecialChar LaTeX
4806  para configurar estas zonas en su forma más simple son 
4807 \family typewriter
4808
4809 \begin_inset Flex Code
4810 status collapsed
4811
4812 \begin_layout Plain Layout
4813
4814 \family typewriter
4815
4816 \backslash
4817 lhead
4818 \end_layout
4819
4820 \end_inset
4821
4822
4823 \family default
4824
4825 \family typewriter
4826
4827 \begin_inset Flex Code
4828 status collapsed
4829
4830 \begin_layout Plain Layout
4831
4832 \family typewriter
4833
4834 \backslash
4835 chead
4836 \end_layout
4837
4838 \end_inset
4839
4840
4841 \family default
4842
4843 \family typewriter
4844
4845 \begin_inset Flex Code
4846 status collapsed
4847
4848 \begin_layout Plain Layout
4849
4850 \family typewriter
4851
4852 \backslash
4853 rhead
4854 \end_layout
4855
4856 \end_inset
4857
4858
4859 \family default
4860
4861 \family typewriter
4862
4863 \begin_inset Flex Code
4864 status collapsed
4865
4866 \begin_layout Plain Layout
4867
4868 \family typewriter
4869
4870 \backslash
4871 lfoot
4872 \end_layout
4873
4874 \end_inset
4875
4876
4877 \family default
4878 , etc.
4879  Supongamos que quieres poner un nombre en la parte superior izquierda de
4880  cada página.
4881  Pues inserta el siguiente comando en el preámbulo:
4882 \end_layout
4883
4884 \begin_layout Standard
4885
4886 \family typewriter
4887
4888 \backslash
4889 lhead{John Q.
4890  DocWriter}
4891 \end_layout
4892
4893 \begin_layout Standard
4894 Con este comando el nombre saldrá en la parte superior izquierda.
4895  Si una zona tiene asignada una entrada por omisión y quieres eliminarla
4896  (p.
4897 \begin_inset space \thinspace{}
4898 \end_inset
4899
4900 ej.
4901 \begin_inset space ~
4902 \end_inset
4903
4904 el número de página en el pie central), pon un comando con el argumento
4905  vacío, p.
4906 \begin_inset space \thinspace{}
4907 \end_inset
4908
4909 ej.:
4910 \end_layout
4911
4912 \begin_layout Standard
4913
4914 \family typewriter
4915
4916 \backslash
4917 cfoot{}
4918 \end_layout
4919
4920 \begin_layout Standard
4921 Vamos ahora con algunos adornos: vamos a poner el número de sección con
4922  la palabra 
4923 \begin_inset Quotes cld
4924 \end_inset
4925
4926 Sección
4927 \begin_inset Quotes crd
4928 \end_inset
4929
4930  (p.
4931 \begin_inset space \thinspace{}
4932 \end_inset
4933
4934 ej.
4935 \begin_inset space ~
4936 \end_inset
4937
4938 Sección
4939 \begin_inset space ~
4940 \end_inset
4941
4942 3) en la superior izquierda, el número de página (p.
4943 \begin_inset space \thinspace{}
4944 \end_inset
4945
4946 ej.
4947 \begin_inset space ~
4948 \end_inset
4949
4950 Página
4951 \begin_inset space ~
4952 \end_inset
4953
4954 4) en la superior derecha, el nombre en la inferior izquierda y la fecha
4955  en la inferior derecha.
4956  Para ello deberíamos escribir las siguientes líneas en el preámbulo: 
4957 \end_layout
4958
4959 \begin_layout Standard
4960
4961 \family typewriter
4962
4963 \backslash
4964 lhead{Sección 
4965 \backslash
4966 thesection}
4967 \end_layout
4968
4969 \begin_layout Standard
4970
4971 \family typewriter
4972
4973 \backslash
4974 chead{}
4975 \end_layout
4976
4977 \begin_layout Standard
4978
4979 \family typewriter
4980
4981 \backslash
4982 rhead{Página 
4983 \backslash
4984 thepage}
4985 \end_layout
4986
4987 \begin_layout Standard
4988
4989 \family typewriter
4990
4991 \backslash
4992 lfoot{John Q.
4993  DocWriter}
4994 \end_layout
4995
4996 \begin_layout Standard
4997
4998 \family typewriter
4999
5000 \backslash
5001 cfoot{}
5002 \end_layout
5003
5004 \begin_layout Standard
5005
5006 \family typewriter
5007
5008 \backslash
5009 rfoot{
5010 \backslash
5011 today}
5012 \end_layout
5013
5014 \begin_layout Standard
5015 Los comandos 
5016 \family typewriter
5017
5018 \begin_inset Flex Code
5019 status collapsed
5020
5021 \begin_layout Plain Layout
5022
5023 \family typewriter
5024
5025 \backslash
5026 thesection
5027 \end_layout
5028
5029 \end_inset
5030
5031
5032 \family default
5033  y 
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 thepage
5045 \end_layout
5046
5047 \end_inset
5048
5049
5050 \family default
5051  aluden a los contadores de sección y de página de \SpecialChar LaTeX
5052 , que se encargan de
5053  imprimir los números de la sección y la página actuales.
5054  
5055 \family typewriter
5056
5057 \begin_inset Flex Code
5058 status collapsed
5059
5060 \begin_layout Plain Layout
5061
5062 \family typewriter
5063
5064 \backslash
5065 today
5066 \end_layout
5067
5068 \end_inset
5069
5070
5071 \family default
5072  imprime la fecha de hoy.
5073 \end_layout
5074
5075 \begin_layout Standard
5076 El grosor de las líneas horizontales dibujadas bajo el encabezado y sobre
5077  el pie se puede modificar.
5078  Si quieres que no aparezca alguna de esas líneas ponle grosor 0.
5079  Por omisión, la línea de encabezado tiene 0.4
5080 \begin_inset space \thinspace{}
5081 \end_inset
5082
5083 pt de grosor y la de pie 0
5084 \begin_inset space \thinspace{}
5085 \end_inset
5086
5087 pt.
5088  Para cambiar estos valores se pueden usar los comandos 
5089 \family typewriter
5090
5091 \backslash
5092 renewcommand{
5093 \backslash
5094 headrulewidth}{0.4pt} 
5095 \family default
5096
5097 \family typewriter
5098
5099 \backslash
5100 renewcommand{
5101 \backslash
5102 footrulewidth}{0.4pt}
5103 \end_layout
5104
5105 \begin_layout Standard
5106 La configuración del encabezado y/o el pie para páginas individuales se
5107  puede alterar con comandos como
5108 \family typewriter
5109  
5110 \begin_inset Flex Code
5111 status collapsed
5112
5113 \begin_layout Plain Layout
5114
5115 \family typewriter
5116
5117 \backslash
5118 thispagestyle{empty}
5119 \end_layout
5120
5121 \end_inset
5122
5123
5124 \begin_inset Flex Code
5125 status collapsed
5126
5127 \begin_layout Plain Layout
5128
5129 \family typewriter
5130
5131 \backslash
5132 thispagestyle{plain}
5133 \end_layout
5134
5135 \end_inset
5136
5137
5138 \family default
5139  y
5140 \begin_inset Newline linebreak
5141 \end_inset
5142
5143  
5144 \family typewriter
5145
5146 \begin_inset Flex Code
5147 status collapsed
5148
5149 \begin_layout Plain Layout
5150
5151 \family typewriter
5152
5153 \backslash
5154 thispagestyle{fancy}
5155 \end_layout
5156
5157 \end_inset
5158
5159
5160 \family default
5161 .
5162  Simplemente se inserta en 
5163 \begin_inset Flex Code
5164 status collapsed
5165
5166 \begin_layout Plain Layout
5167 código \SpecialChar TeX
5168
5169 \end_layout
5170
5171 \end_inset
5172
5173  en la página que se quiere cambiar.
5174  De hecho las páginas de título tienen estilo simple por omisión, mientras
5175  que las páginas siguientes se marcan en estilo elaborado si este es el
5176  formato establecido globalmente.
5177  
5178 \end_layout
5179
5180 \begin_layout Standard
5181 Por último, veamos cómo incluir una imagen en el encabezado o en el pie;
5182  por ejemplo, un logotipo en la esquina superior izquierda.
5183  Prueba algo como esto:
5184 \end_layout
5185
5186 \begin_layout Standard
5187
5188 \family typewriter
5189
5190 \backslash
5191 lhead{
5192 \backslash
5193 resizebox{1in}{!}{
5194 \backslash
5195 includegraphics{logo.eps}}}
5196 \end_layout
5197
5198 \begin_layout Standard
5199 (quizá sea necesario anteponer 
5200 \family typewriter
5201
5202 \begin_inset Flex Code
5203 status collapsed
5204
5205 \begin_layout Plain Layout
5206
5207 \family typewriter
5208
5209 \backslash
5210 usepackage{graphics}
5211 \end_layout
5212
5213 \end_inset
5214
5215
5216 \family default
5217  si tu documento no incluye otros gráficos).
5218  
5219 \end_layout
5220
5221 \begin_layout Section
5222 Selección de marcas de listas
5223 \begin_inset CommandInset label
5224 LatexCommand label
5225 name "sec:Marcas"
5226
5227 \end_inset
5228
5229
5230 \end_layout
5231
5232 \begin_layout Standard
5233 por
5234 \noun on
5235  Allan Rae
5236 \end_layout
5237
5238 \begin_layout Subsection
5239 Introducción
5240 \end_layout
5241
5242 \begin_layout Standard
5243 \SpecialChar LyX
5244  suministra 216 símbolos de marcas a los que se accede mediante un simple
5245  diálogo que permite elegir un símbolo para cada nivel de una lista no numerada.
5246  Esta elección es aplicable a la totalidad del documento, no es posible
5247  escoger distintos conjuntos de marcas para distintos párrafos.
5248 \begin_inset Foot
5249 status collapsed
5250
5251 \begin_layout Plain Layout
5252 Bien, en realidad sí se puede hacer, pero a mano.
5253 \end_layout
5254
5255 \end_inset
5256
5257  
5258 \end_layout
5259
5260 \begin_layout Subsection
5261 Cómo se ve
5262 \end_layout
5263
5264 \begin_layout Standard
5265 Abre el diálogo siguiendo el camino de menú 
5266 \family sans
5267 Document
5268 \family default
5269 o
5270 \family sans
5271 \SpecialChar menuseparator
5272 Configuración\SpecialChar menuseparator
5273 Marcas
5274 \family default
5275 .
5276 \end_layout
5277
5278 \begin_layout Standard
5279 El diálogo suministra un cuadro de símbolos para las marcas.
5280  En el cuadro 
5281 \family sans
5282 Tipografía 
5283 \family default
5284 hay una lista desplegable con seis paneles de símbolos.
5285  La lista 
5286 \family sans
5287 Nivel
5288 \family default
5289  permite elegir el nivel para el que elegimos la marca.
5290  Un campo de texto bajo el cuadro permite escoger un símbolo personalizado
5291  poniendo su código \SpecialChar LaTeX
5292 .
5293 \end_layout
5294
5295 \begin_layout Standard
5296 Los seis paneles de
5297 \family sans
5298  Tipografía
5299 \family default
5300  corresponden a los distintos paquetes requeridos.
5301  El cuadro siguiente recoge los nombres y sus paquetes asociados:
5302 \end_layout
5303
5304 \begin_layout Standard
5305 \align center
5306 \begin_inset Tabular
5307 <lyxtabular version="3" rows="7" columns="2">
5308 <features tabularvalignment="middle">
5309 <column alignment="center" valignment="top" width="0pt">
5310 <column alignment="center" valignment="top" width="0pt">
5311 <row>
5312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5313 \begin_inset Text
5314
5315 \begin_layout Plain Layout
5316
5317 \family roman
5318 \series medium
5319 \shape up
5320 \size normal
5321 \emph off
5322 \bar no
5323 \noun off
5324 \color none
5325 Tipografía
5326 \end_layout
5327
5328 \end_inset
5329 </cell>
5330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5331 \begin_inset Text
5332
5333 \begin_layout Plain Layout
5334
5335 \family roman
5336 \series medium
5337 \shape up
5338 \size normal
5339 \emph off
5340 \bar no
5341 \noun off
5342 \color none
5343 Paquete requerido
5344 \end_layout
5345
5346 \end_inset
5347 </cell>
5348 </row>
5349 <row>
5350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5351 \begin_inset Text
5352
5353 \begin_layout Plain Layout
5354
5355 \family sans
5356 \series medium
5357 \shape up
5358 \size normal
5359 \emph off
5360 \bar no
5361 \noun off
5362 \color none
5363 Normal
5364 \end_layout
5365
5366 \end_inset
5367 </cell>
5368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5369 \begin_inset Text
5370
5371 \begin_layout Plain Layout
5372
5373 \series medium
5374 \shape up
5375 \size normal
5376 \emph off
5377 \bar no
5378 \noun off
5379 \color none
5380 base \SpecialChar LaTeX
5381
5382 \end_layout
5383
5384 \end_inset
5385 </cell>
5386 </row>
5387 <row>
5388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5389 \begin_inset Text
5390
5391 \begin_layout Plain Layout
5392
5393 \family sans
5394 \series medium
5395 \shape up
5396 \size normal
5397 \emph off
5398 \bar no
5399 \noun off
5400 \color none
5401 Ecuaciones
5402 \end_layout
5403
5404 \end_inset
5405 </cell>
5406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5407 \begin_inset Text
5408
5409 \begin_layout Plain Layout
5410
5411 \family typewriter
5412 \series medium
5413 \shape up
5414 \size normal
5415 \emph off
5416 \bar no
5417 \noun off
5418 \color none
5419 amssymb.sty
5420 \end_layout
5421
5422 \end_inset
5423 </cell>
5424 </row>
5425 <row>
5426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5427 \begin_inset Text
5428
5429 \begin_layout Plain Layout
5430
5431 \family sans
5432 \series medium
5433 \shape up
5434 \size normal
5435 \emph off
5436 \bar no
5437 \noun off
5438 \color none
5439 Ding1
5440 \end_layout
5441
5442 \end_inset
5443 </cell>
5444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5445 \begin_inset Text
5446
5447 \begin_layout Plain Layout
5448
5449 \family typewriter
5450 \series medium
5451 \shape up
5452 \size normal
5453 \emph off
5454 \bar no
5455 \noun off
5456 \color none
5457 pifont.sty
5458 \end_layout
5459
5460 \end_inset
5461 </cell>
5462 </row>
5463 <row>
5464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5465 \begin_inset Text
5466
5467 \begin_layout Plain Layout
5468
5469 \family sans
5470 \series medium
5471 \shape up
5472 \size normal
5473 \emph off
5474 \bar no
5475 \noun off
5476 \color none
5477 Ding2
5478 \end_layout
5479
5480 \end_inset
5481 </cell>
5482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5483 \begin_inset Text
5484
5485 \begin_layout Plain Layout
5486
5487 \family typewriter
5488 \series medium
5489 \shape up
5490 \size normal
5491 \emph off
5492 \bar no
5493 \noun off
5494 \color none
5495 pifont.sty
5496 \end_layout
5497
5498 \end_inset
5499 </cell>
5500 </row>
5501 <row>
5502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5503 \begin_inset Text
5504
5505 \begin_layout Plain Layout
5506
5507 \family sans
5508 \series medium
5509 \shape up
5510 \size normal
5511 \emph off
5512 \bar no
5513 \noun off
5514 \color none
5515 Ding3
5516 \end_layout
5517
5518 \end_inset
5519 </cell>
5520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5521 \begin_inset Text
5522
5523 \begin_layout Plain Layout
5524
5525 \family typewriter
5526 \series medium
5527 \shape up
5528 \size normal
5529 \emph off
5530 \bar no
5531 \noun off
5532 \color none
5533 pifont.sty
5534 \end_layout
5535
5536 \end_inset
5537 </cell>
5538 </row>
5539 <row>
5540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5541 \begin_inset Text
5542
5543 \begin_layout Plain Layout
5544
5545 \family sans
5546 \series medium
5547 \shape up
5548 \size normal
5549 \emph off
5550 \bar no
5551 \noun off
5552 \color none
5553 Ding4
5554 \end_layout
5555
5556 \end_inset
5557 </cell>
5558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5559 \begin_inset Text
5560
5561 \begin_layout Plain Layout
5562
5563 \family typewriter
5564 \series medium
5565 \shape up
5566 \size normal
5567 \emph off
5568 \bar no
5569 \noun off
5570 \color none
5571 pifont.sty
5572 \end_layout
5573
5574 \end_inset
5575 </cell>
5576 </row>
5577 </lyxtabular>
5578
5579 \end_inset
5580
5581
5582 \end_layout
5583
5584 \begin_layout Standard
5585 \SpecialChar LyX
5586  no se detiene si usas marcas de paquetes no disponibles.
5587  Pero si se producen errores de \SpecialChar LaTeX
5588  al intentar ver o imprimir el archivo,
5589  probablemente se debe a la falta de algún paquete.
5590 \begin_inset Foot
5591 status collapsed
5592
5593 \begin_layout Plain Layout
5594 \SpecialChar LyX
5595  no restringe su uso porque puede que estés editando localmente el archivo
5596  para procesarlo luego en otra máquina.
5597 \end_layout
5598
5599 \end_inset
5600
5601
5602 \end_layout
5603
5604 \begin_layout Subsection
5605 Cómo se emplea
5606 \end_layout
5607
5608 \begin_layout Standard
5609 Selecciona la profundidad de nivel y luego elige la marca y su tamaño.
5610  Los cambios no serán visibles en \SpecialChar LyX
5611  pero sí lo serán en la salida procesada.
5612 \end_layout
5613
5614 \begin_layout Standard
5615 Se puede reiniciar una marca a su valor predeterminado con clic-derecha
5616  sobre el botón apropiado de nivel de profundidad.
5617 \begin_inset Foot
5618 status open
5619
5620 \begin_layout Plain Layout
5621 Si quieres tener varios conjuntos de párrafos con diferentes conjuntos de
5622  marcas en cada uno, tendrás que enfangarte con código \SpecialChar TeX
5623 .
5624  El diálogo de selección de marcas puede, no obstante, ayudarte porque te
5625  suministra el código \SpecialChar LaTeX
5626  para un amplio rango de símbolos de marcas.
5627  Para hacer tus propios párrafos personalizados tienes las siguientes opciones:
5628 \end_layout
5629
5630 \begin_layout Plain Layout
5631 \begin_inset ERT
5632 status collapsed
5633
5634 \begin_layout Plain Layout
5635
5636
5637 \backslash
5638 let
5639 \backslash
5640 savelabelitemi=
5641 \backslash
5642 labelitemi
5643 \end_layout
5644
5645 \end_inset
5646
5647
5648 \end_layout
5649
5650 \begin_layout Plain Layout
5651 \begin_inset ERT
5652 status collapsed
5653
5654 \begin_layout Plain Layout
5655
5656
5657 \backslash
5658 renewcommand
5659 \backslash
5660 labelitemi[0]{
5661 \backslash
5662 small
5663 \backslash
5664 (
5665 \backslash
5666 sharp
5667 \backslash
5668 )}
5669 \end_layout
5670
5671 \end_inset
5672
5673
5674 \end_layout
5675
5676 \begin_layout Itemize
5677 Usa el comando \SpecialChar LaTeX
5678  
5679 \begin_inset Flex Code
5680 status collapsed
5681
5682 \begin_layout Plain Layout
5683
5684 \backslash
5685 renewcommand{}{}
5686 \end_layout
5687
5688 \end_inset
5689
5690  para especificar un símbolo de marca para una profundidad determinada.
5691  Además tendrás que guardar la marca actual para que puedas recuperarla
5692  más adelante.
5693  En esta lista no numerada se ha usado el siguiente código \SpecialChar LaTeX
5694  para cambiar
5695  la marca del primer nivel:
5696 \end_layout
5697
5698 \begin_deeper
5699 \begin_layout LyX-Code
5700
5701 \backslash
5702 let
5703 \backslash
5704 savelabelitemi=
5705 \backslash
5706 labelitemi 
5707 \end_layout
5708
5709 \begin_layout LyX-Code
5710
5711 \backslash
5712 renewcommand
5713 \backslash
5714 labelitemi[0]{
5715 \backslash
5716 small
5717 \backslash
5718 (
5719 \backslash
5720 sharp
5721 \backslash
5722 )}
5723 \end_layout
5724
5725 \end_deeper
5726 \begin_layout Itemize
5727 Observa que el nivel de profundidad se especifica en números romanos como
5728  parte del comando 
5729 \family typewriter
5730
5731 \begin_inset Flex Code
5732 status collapsed
5733
5734 \begin_layout Plain Layout
5735
5736 \family typewriter
5737
5738 \backslash
5739 labelitem
5740 \end_layout
5741
5742 \end_inset
5743
5744
5745 \end_layout
5746
5747 \begin_layout Itemize
5748 \begin_inset Argument item:1
5749 status open
5750
5751 \begin_layout Plain Layout
5752 \begin_inset ERT
5753 status open
5754
5755 \begin_layout Plain Layout
5756
5757
5758 \backslash
5759 (
5760 \backslash
5761 star
5762 \backslash
5763 )
5764 \end_layout
5765
5766 \end_inset
5767
5768
5769 \end_layout
5770
5771 \end_inset
5772
5773  Especifica cada entrada individual empezando cada ítem con el símbolo escogido
5774  encerrado entre a 
5775 \begin_inset Quotes eld
5776 \end_inset
5777
5778 Custom Item
5779 \begin_inset Quotes erd
5780 \end_inset
5781
5782  inset (available at 
5783 \family sans
5784 Insert\SpecialChar menuseparator
5785 Custom Item
5786 \family default
5787 ) y en 
5788 \begin_inset Flex Code
5789 status collapsed
5790
5791 \begin_layout Plain Layout
5792 código \SpecialChar TeX
5793
5794 \end_layout
5795
5796 \end_inset
5797
5798 .
5799  Por ejemplo, este ítem se inicia con 
5800 \begin_inset Flex Code
5801 status collapsed
5802
5803 \begin_layout Plain Layout
5804
5805 \backslash
5806 (
5807 \backslash
5808 star
5809 \backslash
5810 )
5811 \end_layout
5812
5813 \end_inset
5814
5815 .
5816 \end_layout
5817
5818 \begin_layout Plain Layout
5819 \begin_inset ERT
5820 status collapsed
5821
5822 \begin_layout Plain Layout
5823
5824
5825 \backslash
5826 renewcommand
5827 \backslash
5828 labelitemi[0]{
5829 \backslash
5830 savelabelitemi}
5831 \end_layout
5832
5833 \end_inset
5834
5835
5836 \end_layout
5837
5838 \begin_layout Plain Layout
5839 Además tendrás que volver a la configuración inicial global de marcas para
5840  que esta vuelva a funcionar.
5841  Así hemos hecho con:
5842 \end_layout
5843
5844 \begin_layout LyX-Code
5845
5846 \backslash
5847 renewcommand
5848 \backslash
5849 labelitemi[0]{
5850 \backslash
5851 savelabelitemi}
5852 \end_layout
5853
5854 \begin_layout LyX-Code
5855
5856 \end_layout
5857
5858 \end_inset
5859
5860
5861 \end_layout
5862
5863 \begin_layout Chapter
5864 \SpecialChar LyX
5865  y World Wide Web
5866 \end_layout
5867
5868 \begin_layout Standard
5869 \SpecialChar LyX
5870  soporta desde hace tiempo la exportación de documentos a varios formatos
5871  adecuados para la web, como HTML.
5872  Sin embargo, antes de la versión 2.0, la exportación a HTML siempre se hacía
5873  mediante el uso de convertidores externos.
5874 \begin_inset Foot
5875 status open
5876
5877 \begin_layout Plain Layout
5878 Véase la sección 
5879 \size normal
5880 \emph on
5881 Convertidores
5882 \emph default
5883  del manual 
5884 \emph on
5885 Personalización
5886 \emph default
5887 .
5888 \end_layout
5889
5890 \end_inset
5891
5892  Pueden actuar de dos maneras: usando \SpecialChar LaTeX
5893  como formato intermedio, como 
5894 \family typewriter
5895 htlatex
5896 \family default
5897
5898 \family typewriter
5899 html2latex
5900 \family default
5901  y 
5902 \family typewriter
5903 plastex
5904 \family default
5905 , encargándose \SpecialChar LyX
5906  de la generación del \SpecialChar LaTeX
5907 , o trabajando directamente sobre archivos
5908  \SpecialChar LyX
5909 , como 
5910 \family typewriter
5911 e\SpecialChar LyX
5912 er
5913 \family default
5914 .
5915  Cada método tiene distintas ventajas e inconvenientes.
5916  
5917 \end_layout
5918
5919 \begin_layout Standard
5920 Los convertidores basados en \SpecialChar LaTeX
5921  tienen la ventaja de que, en principio, lo
5922  saben todo sobre el documento que exporta \SpecialChar LaTeX
5923 .
5924  Estos convertidores no se preocupan, por ejemplo, de si determinado bloque
5925  de código fue generado por \SpecialChar LyX
5926  o si era código \SpecialChar TeX
5927  (o ERT, 
5928 \emph on
5929 Evil Red Text
5930 \emph default
5931 ).
5932  Saben manejar archivos 
5933 \family typewriter
5934 aux
5935 \family default
5936 , contadores, referencias, y generalmente pueden manejar archivos 
5937 \family typewriter
5938 bbl
5939 \family default
5940  generados por Bib\SpecialChar TeX
5941 .
5942  Por otra parte, \SpecialChar LaTeX
5943  es un lenguaje complejo de analizar —a veces se comenta
5944  que solo \SpecialChar TeX
5945  comprende a \SpecialChar TeX
5946 — y los convertidores basados en \SpecialChar LaTeX
5947  se atascan a menudo
5948  con estructuras aparentemente simples; las complejas pueden ahogarlos totalment
5949 e; en el momento de escribir esto, por ejemplo, el manual 
5950 \emph on
5951 Objetos insertados
5952 \emph default
5953  no se puede exportar con 
5954 \family typewriter
5955 htlatex
5956 \family default
5957 , sí con los otros.
5958  Las matemáticas son otro tema: estos convertidores suelen convertir las
5959  ecuaciones en pequeñas imágenes que se enlazan posteriormente al documento
5960  HTML.
5961  Puesto que realmente las ecuaciones son generadas por \SpecialChar LaTeX
5962 , son correctas.
5963  Pero no redimensionan bien su tamaño, y ajustar su aspecto al que debería
5964  tener en el documento —de forma que los tamaños de los caracteres parezcan
5965  aproximadamente iguales— puede ser un reto.
5966  
5967 \end_layout
5968
5969 \begin_layout Standard
5970
5971 \family typewriter
5972 \begin_inset Flex Code
5973 status collapsed
5974
5975 \begin_layout Plain Layout
5976
5977 \family typewriter
5978 e\SpecialChar LyX
5979 er
5980 \end_layout
5981
5982 \end_inset
5983
5984
5985 \family default
5986 , de Alex Fernández, (
5987 \begin_inset CommandInset href
5988 LatexCommand href
5989 name "http://pinchito.es/elyxer/"
5990 target "http://pinchito.es/elyxer/"
5991 literal "false"
5992
5993 \end_inset
5994
5995 ) resuelve algunos de estos problemas.
5996  En particular, las ecuaciones generadas redimensionan el tamaño perfectamente,
5997  ya que las procesa usando una combinación de HTML y CSS en lugar de convertirla
5998 s a imágenes.
5999  Pero incluso expresiones moderadamente complejas tienen un aspecto no tan
6000  bueno como con 
6001 \family typewriter
6002 htlatex
6003 \family default
6004 ; esto refleja las limitaciones de HTML.
6005 \begin_inset Foot
6006 status collapsed
6007
6008 \begin_layout Plain Layout
6009 Dicho esto, 
6010 \family typewriter
6011 e\SpecialChar LyX
6012 er
6013 \family default
6014  también puede usar jsMath y MathJax, pero estas opciones solo están disponibles
6015  globalmente y requieren acceso al servidor que ejecuta el entorno.
6016 \end_layout
6017
6018 \end_inset
6019
6020  Y más importante (al menos desde la versión 1.1.1), 
6021 \begin_inset Flex Code
6022 status collapsed
6023
6024 \begin_layout Plain Layout
6025 e\SpecialChar LyX
6026 er
6027 \end_layout
6028
6029 \end_inset
6030
6031  tiene soporte limitado para macros de ecuación y no lo tiene para párrafos
6032  o estilos de texto definidos por el usuario.
6033  Estas limitaciones hacen a 
6034 \begin_inset Flex Code
6035 status collapsed
6036
6037 \begin_layout Plain Layout
6038 e\SpecialChar LyX
6039 er
6040 \end_layout
6041
6042 \end_inset
6043
6044  inadecuado para muchos documentos de \SpecialChar LyX
6045 .
6046  En principio, por supuesto, estos problemas se podrían resolver, pero los
6047  desarrolladores de \SpecialChar LyX
6048  han decidido seguir una vía diferente y hacer al propio
6049  \SpecialChar LyX
6050  capaz de escribir XHTML, igual que es capaz de escribir \SpecialChar LaTeX
6051 , DocBook o texto
6052  simple.
6053 \end_layout
6054
6055 \begin_layout Standard
6056 En el momento de escribir esto, La salida XHTML está en desarrollo y debería
6057  considerarse como 
6058 \begin_inset Quotes cld
6059 \end_inset
6060
6061 experimental
6062 \begin_inset Quotes crd
6063 \end_inset
6064
6065 .
6066 \begin_inset Foot
6067 status open
6068
6069 \begin_layout Plain Layout
6070 El archivo 
6071 \begin_inset Flex Code
6072 status collapsed
6073
6074 \begin_layout Plain Layout
6075 development/HTML/HTML.notes
6076 \end_layout
6077
6078 \end_inset
6079
6080  que está en el código fuente de \SpecialChar LyX
6081  o 
6082 \begin_inset CommandInset href
6083 LatexCommand href
6084 name "accessed online"
6085 target "https://www.lyx.org/trac/browser/lyxgit/development/HTML/HTML.notes?rev=master"
6086 literal "false"
6087
6088 \end_inset
6089
6090 , contiene información actualizada sobre el estado de XHTML.
6091  Véase también la lista de fallos en XHTML en 
6092 \begin_inset CommandInset href
6093 LatexCommand href
6094 name "the bug tracker"
6095 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"
6096 literal "false"
6097
6098 \end_inset
6099
6100 .
6101 \end_layout
6102
6103 \end_inset
6104
6105  Aún así, los desarrolladores han escogido este camino porque tiene ventajas
6106  potenciales sobre los otros dos.
6107 \end_layout
6108
6109 \begin_layout Standard
6110 Estas ventajas se deben, en primer lugar, al hecho de que las rutinas para
6111  exportar XHTML, ya que son parte de \SpecialChar LyX
6112 , conocen todo lo que \SpecialChar LyX
6113  sabe sobre el
6114  documento a exportar.
6115 \begin_inset Foot
6116 status collapsed
6117
6118 \begin_layout Plain Layout
6119 Otra ventaja es que, puesto que estas rutinas son internas de \SpecialChar LyX
6120 , son inmunes
6121  a los cambios en el formato de los archivos de \SpecialChar LyX
6122  o en la semántica de los
6123  recuadros insertados.
6124  
6125 \end_layout
6126
6127 \end_inset
6128
6129  Así pues, conocen sobre los índices (mostrados en el contorno), sobre los
6130  contadores asociados a estilos de párrafo, y sobre estilos personalizados.
6131  Las rutinas XHTML también saben sobre internacionalización lo mismo que
6132  \SpecialChar LyX
6133 , de modo que la salida dirá 
6134 \begin_inset Quotes cld
6135 \end_inset
6136
6137 Capítulo 1
6138 \begin_inset Quotes crd
6139 \end_inset
6140
6141  o 
6142 \begin_inset Quotes cld
6143 \end_inset
6144
6145 Kapitel 1
6146 \begin_inset Quotes crd
6147 \end_inset
6148
6149  según el idioma activo.
6150 \end_layout
6151
6152 \begin_layout Standard
6153 En general, las rutinas de salida saben lo mismo que \SpecialChar LyX
6154  sobre el formato del
6155  documento, es decir, sobre cómo se mostrará el documento en pantalla.
6156  Usamos esta información cuando exportamos a XHTML.
6157  En particular, \SpecialChar LyX
6158  genera 
6159 \emph on
6160 automáticamente
6161 \emph default
6162  la información de estilo CSS correspondiente a la información que maneja
6163  para mostrar el documento en pantalla: si los encabezados de sección son
6164  palo seco en negrita en pantalla, entonces también (por omisión) serán
6165  palo seco negrita en un navegador web.
6166  Y esto es cierto no solo para estilos predefinidos, como una sección, sino
6167  para cualquier estilo, incluyendo los definidos por el usuario.
6168  En realidad, las rutinas XHTML no distinguen entre estilos de texto y de
6169  párrafo personalizados y los predefinidos por el propio \SpecialChar LyX
6170 : en cada caso
6171  todo lo que \SpecialChar LyX
6172  sabe sobre estilos está contenido en los archivos de formato.
6173  Y lo mismo se puede afirmar en relación a los recuadros de texto predefinidos,
6174  como notas al pie y varios recuadros personalizados.
6175 \end_layout
6176
6177 \begin_layout Standard
6178 El resultado es que la salida XHTML se puede personalizar y extender de
6179  igual forma que se puede hacer con la salida \SpecialChar LaTeX
6180 : mediante archivos de formato
6181  y módulos.
6182  Véase el capítulo 5 del manual 
6183 \emph on
6184 Personalización
6185 \emph default
6186  para más detalles.
6187 \end_layout
6188
6189 \begin_layout Standard
6190 El resto de este capítulo contiene información más detallada sobre la salida
6191  XHTML, sus limitaciones y formas de evitarlas.
6192 \end_layout
6193
6194 \begin_layout Section
6195 Las ecuaciones en XHTML
6196 \end_layout
6197
6198 \begin_layout Standard
6199 \SpecialChar LyX
6200  ofrece cuatro posibilidades para el procesamiento de matemáticas.
6201  Cada una tiene sus ventajas y sus inconvenientes.
6202 \end_layout
6203
6204 \begin_layout Itemize
6205 MathML
6206 \begin_inset Newline newline
6207 \end_inset
6208
6209 MathML es un dialecto de XML diseñado específicamente para matemáticas en
6210  la web, y habitualmente rinde muy bien en los navegadores que lo soportan.
6211  La desventaja es que no todos los navegadores soportan MathML, y el soporte
6212  no es completo en navegadores basados en Gecko, como Firefox.
6213 \begin_inset Newline newline
6214 \end_inset
6215
6216 Si \SpecialChar LyX
6217  no es capaz de procesar una fórmula como MathML —por ejemplo, si la
6218  ecuación usa el paquete 
6219 \begin_inset Flex Code
6220 status collapsed
6221
6222 \begin_layout Plain Layout
6223 xymatrix
6224 \end_layout
6225
6226 \end_inset
6227
6228  o código \SpecialChar TeX
6229 — la transformará en imagen.
6230 \end_layout
6231
6232 \begin_layout Itemize
6233 HTML
6234 \begin_inset Newline newline
6235 \end_inset
6236
6237 Como se ha dicho antes, 
6238 \begin_inset Flex Code
6239 status collapsed
6240
6241 \begin_layout Plain Layout
6242 e\SpecialChar LyX
6243 er
6244 \end_layout
6245
6246 \end_inset
6247
6248  procesa las matemáticas como HTML usando estilos CSS.
6249 \begin_inset Foot
6250 status collapsed
6251
6252 \begin_layout Plain Layout
6253 \SpecialChar LyX
6254  ha tomado de 
6255 \begin_inset Flex Code
6256 status collapsed
6257
6258 \begin_layout Plain Layout
6259 e\SpecialChar LyX
6260 er
6261 \end_layout
6262
6263 \end_inset
6264
6265  parte del CSS para su salida HTML.
6266 \end_layout
6267
6268 \end_inset
6269
6270  Para ecuaciones simple funciona bastante bien, aunque con expresiones más
6271  complejas tiende a fallar.
6272  Aún así, este método tiene la ventaja de que es ampliamente soportado y
6273  puede ser apropiado para documentos que tengan pocas y sencillas ecuaciones.
6274 \begin_inset Newline newline
6275 \end_inset
6276
6277 Si \SpecialChar LyX
6278  es incapaz de procesar una ecuación como HTML —por ejemplo, si la ecuación
6279  usa el paquete 
6280 \begin_inset Flex Code
6281 status collapsed
6282
6283 \begin_layout Plain Layout
6284 xymatrix
6285 \end_layout
6286
6287 \end_inset
6288
6289  o código \SpecialChar TeX
6290 — la transformará en imagen.
6291 \end_layout
6292
6293 \begin_layout Itemize
6294 Imágenes
6295 \begin_inset Newline newline
6296 \end_inset
6297
6298 Como 
6299 \begin_inset Flex Code
6300 status collapsed
6301
6302 \begin_layout Plain Layout
6303 htlatex
6304 \end_layout
6305
6306 \end_inset
6307
6308 , \SpecialChar LyX
6309  transformará las ecuaciones en imágenes, las mismas, de hecho, que se
6310  usan para la visualización instantánea.
6311 \begin_inset Foot
6312 status open
6313
6314 \begin_layout Plain Layout
6315
6316 \emph on
6317 No
6318 \emph default
6319  es preciso que esté activa la previsualización instantánea para ver las
6320  imágenes en la salida.
6321 \end_layout
6322
6323 \end_inset
6324
6325  La ventaja de este método es que las imágenes son simplemente generadas
6326  por \SpecialChar LaTeX
6327 , por lo que son muy precisas.
6328  La desventaja, como ya hemos dicho, es que son imágenes mapa de bits, por
6329  lo que no se redimensionan nada bien y no se pueden copiar, etc.
6330  
6331 \begin_inset Newline newline
6332 \end_inset
6333
6334 El tamaño de las imágenes se puede controlar estableciendo el parámetro
6335  
6336 \begin_inset Quotes cld
6337 \end_inset
6338
6339 Escala de imágenes de ecuaciones
6340 \begin_inset Quotes crd
6341 \end_inset
6342
6343  en 
6344 \begin_inset Flex Noun
6345 status collapsed
6346
6347 \begin_layout Plain Layout
6348 Documento\SpecialChar menuseparator
6349 Configuración\SpecialChar menuseparator
6350 Formats
6351 \end_layout
6352
6353 \end_inset
6354
6355 .
6356  
6357 \begin_inset Foot
6358 status collapsed
6359
6360 \begin_layout Plain Layout
6361 Por si interesa: esto controla la resolución de la imagen en puntos por
6362  pulgada, y se basa en un valor inicial de 75 ppp.
6363 \end_layout
6364
6365 \end_inset
6366
6367
6368 \begin_inset Newline newline
6369 \end_inset
6370
6371 Si, por alguna razón, \SpecialChar LyX
6372  falla al crear una imagen para una ecuación (p.
6373 \begin_inset space ~
6374 \end_inset
6375
6376 ej., si no está instalado un paquete \SpecialChar LaTeX
6377  requerido), generará la salida en \SpecialChar LaTeX
6378
6379  puro.
6380 \end_layout
6381
6382 \begin_layout Itemize
6383 \SpecialChar LaTeX
6384
6385 \begin_inset Newline newline
6386 \end_inset
6387
6388 Para acabar, \SpecialChar LyX
6389  generará salida alegremente las ecuaciones como \SpecialChar LaTeX
6390 .
6391  Siendo la solución de último recurso, este método puede usarse con herramientas
6392  como 
6393 \begin_inset CommandInset href
6394 LatexCommand href
6395 name "jsMath"
6396 target "http://www.math.union.edu/~dpvc/jsMath/"
6397 literal "false"
6398
6399 \end_inset
6400
6401 , que usa JavaScript para insertar \SpecialChar LaTeX
6402  en documentos HTML.
6403  \SpecialChar LyX
6404  envuelve el \SpecialChar LaTeX
6405  en un 
6406 \begin_inset Flex Code
6407 status collapsed
6408
6409 \begin_layout Plain Layout
6410 span
6411 \end_layout
6412
6413 \end_inset
6414
6415  (para fórmulas en línea) o en un 
6416 \begin_inset Flex Code
6417 status collapsed
6418
6419 \begin_layout Plain Layout
6420 div
6421 \end_layout
6422
6423 \end_inset
6424
6425  (para fórmulas presentadas) con 
6426 \begin_inset Flex Code
6427 status collapsed
6428
6429 \begin_layout Plain Layout
6430 class='math'
6431 \end_layout
6432
6433 \end_inset
6434
6435 , tal como requiere jsMath.
6436 \end_layout
6437
6438 \begin_layout Standard
6439 Debemos seleccionar uno de estos métodos en 
6440 \begin_inset Flex Noun
6441 status collapsed
6442
6443 \begin_layout Plain Layout
6444 Documento\SpecialChar menuseparator
6445 Configuración\SpecialChar menuseparator
6446 Formats
6447 \end_layout
6448
6449 \end_inset
6450
6451 .
6452  Por omisión, \SpecialChar LyX
6453  genera MathML.
6454  Se trata de una configuración para todo el documento.
6455 \end_layout
6456
6457 \begin_layout Standard
6458 Eventualmente, \SpecialChar LyX
6459  ofrecerá al usuario la opción de seleccionar un método alternati
6460 vo para algún recuadro en particular, en el caso de que no se procese adecuadame
6461 nte con MathML.
6462 \begin_inset Foot
6463 status collapsed
6464
6465 \begin_layout Plain Layout
6466 Dicho esto, como \SpecialChar LyX
6467  recurre a imágenes si el recuadro contiene código \SpecialChar TeX
6468 , es
6469  posible forzar la salida como imagen poniendo algún código \SpecialChar TeX
6470  inocuo en la
6471  ecuación, por ejemplo 
6472 \begin_inset Formula $a=b\relax$
6473 \end_inset
6474
6475 .
6476 \end_layout
6477
6478 \end_inset
6479
6480
6481 \end_layout
6482
6483 \begin_layout Section
6484 Bibliografía y citas
6485 \end_layout
6486
6487 \begin_layout Standard
6488 XHTML soporta totalmente bibliografías y citas.
6489 \end_layout
6490
6491 \begin_layout Standard
6492 Las etiquetas de citas se generan con el mismo mecanismo que genera las
6493  etiquetas en la pantalla de \SpecialChar LyX
6494 , así que las etiquetas tendrán el mismo aspecto
6495  que en \SpecialChar LyX
6496 , o incluso mejor.
6497  Si se usan citas numeradas, \SpecialChar LyX
6498  generará etiquetas numeradas, como [1], [17],
6499  en vez de mostrar las claves de las citas entre corchetes, como hace en
6500  pantalla.
6501  Si se usan citas autor-año, \SpecialChar LyX
6502  añadirá letras minúsculas a los años, como
6503  hace Bib\SpecialChar TeX
6504 , si encuentra más de una cita para una combinación dada autor-año.
6505  Las etiquetas se imprimirán con las entradas bibliográficas.
6506  Hay que advertir que, por el momento, no hay forma de personalizar el aspecto
6507  de las etiquetas, por ejemplo para elegir entre corchetes o paréntesis.
6508 \end_layout
6509
6510 \begin_layout Standard
6511 Para la salida de la bibliografía interviene el mismo mecanismo que maneja
6512  la presentación de la información de las referencias en el diálogo de citas,
6513  de modo que se verán en XHTML como se ven en el diálogo de citas.
6514  El formato se puede personalizar en un archivo de usuario o, preferiblemente,
6515  en un módulo.
6516  Véase el manual 
6517 \emph on
6518 Personalización
6519 \emph default
6520  para más detalles.
6521 \end_layout
6522
6523 \begin_layout Standard
6524 El defecto principal en estos momentos es que la información de las referencias
6525  cruzadas se imprime junto con cada entrada con la que está asociada.
6526  Entonces, puedes ver cosas como estas:
6527 \end_layout
6528
6529 \begin_layout Quote
6530 Jason Stanley, 
6531 \begin_inset Quotes eld
6532 \end_inset
6533
6534 Context and Logical Form
6535 \begin_inset Quotes erd
6536 \end_inset
6537
6538 , in 
6539 \emph on
6540 Language in Context: Selected Essays
6541 \emph default
6542  (Oxford: Oxford University Press, 2007), pp.
6543  30–68.
6544 \end_layout
6545
6546 \begin_layout Quote
6547 Jason Stanley, 
6548 \begin_inset Quotes eld
6549 \end_inset
6550
6551 Semantics in Context
6552 \begin_inset Quotes erd
6553 \end_inset
6554
6555 , in 
6556 \emph on
6557 Language in Context: Selected Essays
6558 \emph default
6559  (Oxford: Oxford University Press, 2007), pp.
6560  201–30.
6561 \end_layout
6562
6563 \begin_layout Standard
6564 Esto debería estar pronto solucionado.
6565 \end_layout
6566
6567 \begin_layout Standard
6568 De momento no hay soporte para bibliografías por secciones.
6569  Si tienes múltiples bibliografías, \SpecialChar LyX
6570  imprimirá la misma una y otra vez.
6571 \end_layout
6572
6573 \begin_layout Section
6574 Índices
6575 \end_layout
6576
6577 \begin_layout Standard
6578 Afortunadamente, \SpecialChar LyX
6579  exportará los índices como XHTML, aunque con ciertas limitacio
6580 nes, por el momento.
6581 \end_layout
6582
6583 \begin_layout Standard
6584 La exportación de índices será más fiable si no intentas usar las elegantes
6585  estructuras que se describen en la sección sobre índices de ls 
6586 \emph on
6587 Guía del usuario
6588 \emph default
6589 .
6590 \begin_inset Foot
6591 status collapsed
6592
6593 \begin_layout Plain Layout
6594 La cuestión principal es que \SpecialChar LyX
6595  no maneja esto por sí mismo.
6596  Solo deja que introduzcas lo que deberías introducir en \SpecialChar LaTeX
6597  puro.
6598 \end_layout
6599
6600 \end_inset
6601
6602  Describiremos cómo se manejan usando los encabezados de subsección de esta
6603  sección.
6604 \end_layout
6605
6606 \begin_layout Itemize
6607 Agrupación de entradas de índice (subentradas): \SpecialChar LyX
6608  se esfuerza en soportar
6609  esto, pero las entradas deben separarse por 
6610 \begin_inset Quotes cld
6611 \end_inset
6612
6613  ! 
6614 \begin_inset Quotes crd
6615 \end_inset
6616
6617 , es decir, debe haber espacios alrededor del signo de exclamación.
6618  Esto es porque de otra manera sería complicado comprobar puntos de exclamación
6619  escapados en matemáticas, etc.
6620 \end_layout
6621
6622 \begin_layout Itemize
6623 Rangos de páginas: no hay soporte para rangos de páginas, puesto que esto
6624  no tiene sentido en XHTML.
6625  En su lugar, solo se mostrarán dos entradas de índice, uno en cada extremo.
6626 \end_layout
6627
6628 \begin_layout Itemize
6629 Referencias cruzadas: no hay soporte para esto.
6630  Si \SpecialChar LyX
6631  encuentra una entrada de la forma 
6632 \begin_inset Quotes cld
6633 \end_inset
6634
6635 |see...
6636 \begin_inset Quotes crd
6637 \end_inset
6638
6639  la ignora y el resto lo considera como una entrada de índice ordinaria.
6640 \end_layout
6641
6642 \begin_layout Itemize
6643 Orden de las entradas de índice: \SpecialChar LyX
6644  no soporta maniobras para fijar el orden
6645  de las entradas.
6646  Tomará lo que está antes del primer @ que encuentre y lo usará para ordenarlo,
6647  tomando lo que sigue a @ como la entrada real.
6648  Por el momento \SpecialChar LyX
6649  no identifica la @ escapada, por tanto no intentes indexar
6650  direcciones de correo.
6651 \end_layout
6652
6653 \begin_layout Itemize
6654 Formato de entradas de índice: Se pueden formatear entradas mediante el
6655  diálogo de estilo del texto, o con otro método disponible en \SpecialChar LyX
6656 .
6657  No hay soporte para estructuras como 
6658 \begin_inset Quotes cld
6659 \end_inset
6660
6661 entrada|textbf
6662 \begin_inset Quotes crd
6663 \end_inset
6664
6665 .
6666  Si \SpecialChar LyX
6667  encuentra un símbolo de tubería, '|' en una entrada lo borrará, y todo
6668  lo que sigue.
6669 \end_layout
6670
6671 \begin_layout Itemize
6672 Índices múltiples: no hay soporte para esto.
6673  Todas las entradas de estos índices se imprimirán como un solo índice.
6674  Para evitar la impresión de varias versiones del índice, imprimiremos solo
6675  el índice principal, de modo que asegúrate de tener uno.
6676 \end_layout
6677
6678 \begin_layout Section
6679 Nomenclatura y glosario
6680 \end_layout
6681
6682 \begin_layout Standard
6683 Por ahora no hay soporte para glosarios.
6684  Añadirlo debería ser bastante trivial, y bienvenido.
6685 \end_layout
6686
6687 \begin_layout Chapter
6688 El servidor \SpecialChar LyX
6689
6690 \end_layout
6691
6692 \begin_layout Section
6693 Introducción
6694 \end_layout
6695
6696 \begin_layout Standard
6697 El 'servidor \SpecialChar LyX
6698 ' permite a otros programas comunicarse con \SpecialChar LyX
6699 , ejecutar comandos
6700  \SpecialChar LyX
6701  y recabar información sobre el estado interno de \SpecialChar LyX
6702 .
6703  Esto está dirigido solo a usuarios avanzados, quienes descubrirán su utilidad.
6704  Escribiendo al servidor, por ejemplo, los administradores de bibliografía,
6705  como JabRef, pueden dar 
6706 \begin_inset Quotes cld
6707 \end_inset
6708
6709 empuje
6710 \begin_inset Quotes crd
6711 \end_inset
6712
6713  a las citas en \SpecialChar LyX
6714 .
6715 \end_layout
6716
6717 \begin_layout Section
6718 Iniciar el servidor \SpecialChar LyX
6719
6720 \begin_inset CommandInset label
6721 LatexCommand label
6722 name "sec:Iniciar-el-servidor"
6723
6724 \end_inset
6725
6726
6727 \end_layout
6728
6729 \begin_layout Standard
6730 El servidor \SpecialChar LyX
6731  funciona mediante el uso de un par de las denominadas tuberías.
6732  Estas se encuentran generalmente en 
6733 \begin_inset Flex Code
6734 status collapsed
6735
6736 \begin_layout Plain Layout
6737 UserDir
6738 \end_layout
6739
6740 \end_inset
6741
6742  (no en Windows, en donde las tuberías 
6743 \emph on
6744 locales 
6745 \emph default
6746 se ubican en 
6747 \begin_inset Flex Code
6748 status collapsed
6749
6750 \begin_layout Plain Layout
6751
6752 \backslash
6753
6754 \backslash
6755 .
6756 \backslash
6757 pipe
6758 \end_layout
6759
6760 \end_inset
6761
6762 ) con los nombres 
6763 \begin_inset Flex Code
6764 status collapsed
6765
6766 \begin_layout Plain Layout
6767 lyxpipe.in
6768 \end_layout
6769
6770 \end_inset
6771
6772  y 
6773 \begin_inset Flex Code
6774 status collapsed
6775
6776 \begin_layout Plain Layout
6777 lyxpipe.out
6778 \end_layout
6779
6780 \end_inset
6781
6782 .
6783  Los programas externos escriben en 
6784 \begin_inset Flex Code
6785 status collapsed
6786
6787 \begin_layout Plain Layout
6788 lyxpipe.in
6789 \end_layout
6790
6791 \end_inset
6792
6793  y leen datos de 
6794 \begin_inset Flex Code
6795 status collapsed
6796
6797 \begin_layout Plain Layout
6798 lyxpipe.out
6799 \end_layout
6800
6801 \end_inset
6802
6803 .
6804  La raíz de los nombres de las tuberías se puede definir en el diálogo 
6805 \family sans
6806 Herramientas\SpecialChar menuseparator
6807 Preferencias
6808 \family default
6809 , por ejemplo, 
6810 \begin_inset Flex Code
6811 status collapsed
6812
6813 \begin_layout Plain Layout
6814 "/home/myhome/lyxpipe"
6815 \end_layout
6816
6817 \end_inset
6818
6819  o 
6820 \begin_inset Flex Code
6821 status collapsed
6822
6823 \begin_layout Plain Layout
6824 "
6825 \backslash
6826
6827 \backslash
6828 .
6829 \backslash
6830 pipe
6831 \backslash
6832 lyxpipe"
6833 \end_layout
6834
6835 \end_inset
6836
6837  en Windows (donde se puede usar cualquier ruta en vez de lyxpipe, por ejemplo
6838  
6839 \begin_inset Flex Code
6840 status collapsed
6841
6842 \begin_layout Plain Layout
6843 "
6844 \backslash
6845
6846 \backslash
6847 .
6848 \backslash
6849 pipe
6850 \backslash
6851 my
6852 \backslash
6853 lyx
6854 \backslash
6855 pipe"
6856 \end_layout
6857
6858 \end_inset
6859
6860  debería funcionar).
6861  
6862 \emph on
6863 Debes
6864 \emph default
6865  configurar esto a mano para que arranque el servidor.
6866 \end_layout
6867
6868 \begin_layout Standard
6869 \SpecialChar LyX
6870  añadirá las extensiones '
6871 \begin_inset Flex Code
6872 status collapsed
6873
6874 \begin_layout Plain Layout
6875 .in
6876 \end_layout
6877
6878 \end_inset
6879
6880 ' y '
6881 \begin_inset Flex Code
6882 status collapsed
6883
6884 \begin_layout Plain Layout
6885 .out
6886 \end_layout
6887
6888 \end_inset
6889
6890 ' para crear las tuberías.
6891  Si alguna de ellas ya existe, \SpecialChar LyX
6892  asumirá que se está ejecutando otro proceso
6893  y no iniciará el servidor.
6894  Esto significa que si \SpecialChar LyX
6895  se bloquea, o si por alguna otra razón queda una
6896  tubería 
6897 \begin_inset Quotes cld
6898 \end_inset
6899
6900 vieja
6901 \begin_inset Quotes crd
6902 \end_inset
6903
6904  cuando \SpecialChar LyX
6905  se cierra, entonces \SpecialChar LyX
6906  no iniciará el servidor.
6907  (Bug 641).
6908  Tendrás que borrar las tuberías a mano y después reiniciar \SpecialChar LyX
6909 .
6910 \end_layout
6911
6912 \begin_layout Standard
6913 Para tener al mismo tiempo varios procesos con servidores hay que usar diferente
6914 s configuraciones, quizás usando distintos directorios de usuario, cada
6915  uno con su propio archivo 
6916 \begin_inset Flex Code
6917 status collapsed
6918
6919 \begin_layout Plain Layout
6920 preferences
6921 \end_layout
6922
6923 \end_inset
6924
6925  para cada proceso.
6926 \end_layout
6927
6928 \begin_layout Standard
6929 Si estás desarrollando un programa cliente, podría ser útil activar la informaci
6930 ón de depuración del servidor de \SpecialChar LyX
6931 .
6932  Esto se hace iniciando \SpecialChar LyX
6933  con 
6934 \begin_inset Flex Code
6935 status collapsed
6936
6937 \begin_layout Plain Layout
6938 lyx -dbg lyxserver
6939 \end_layout
6940
6941 \end_inset
6942
6943 .
6944 \end_layout
6945
6946 \begin_layout Standard
6947 Puedes encontrar un ejemplo completo de cliente escrito en C++ en la distribució
6948 n fuente como 
6949 \begin_inset Flex Code
6950 status collapsed
6951
6952 \begin_layout Plain Layout
6953 development/lyxserver/server_monitor.cpp
6954 \end_layout
6955
6956 \end_inset
6957
6958 .
6959 \end_layout
6960
6961 \begin_layout Standard
6962 Otra herramienta útil es el cliente en línea de comandos 
6963 \begin_inset Flex Code
6964 status collapsed
6965
6966 \begin_layout Plain Layout
6967 src/client/lyxclient
6968 \end_layout
6969
6970 \end_inset
6971
6972 .
6973 \end_layout
6974
6975 \begin_layout Section
6976 Comunicación normal
6977 \end_layout
6978
6979 \begin_layout Standard
6980 Para emitir una llamada a \SpecialChar LyX
6981 , el cliente escribe una línea de texto ASCII
6982  en la tubería de entrada.
6983  Esta línea tiene el siguiente formato:
6984 \end_layout
6985
6986 \begin_layout Quote
6987 LYXCMD:
6988 \emph on
6989 clientname
6990 \emph default
6991 :
6992 \emph on
6993 function
6994 \emph default
6995 :
6996 \emph on
6997 argument
6998 \end_layout
6999
7000 \begin_layout Description
7001 clientname es un nombre que el cliente puede escoger arbitrariamente.
7002  Su única función es que \SpecialChar LyX
7003  lo repetirá si envía una respuesta —así un cliente
7004  puede enviar resultados desde diferentes solicitantes.
7005 \end_layout
7006
7007 \begin_layout Description
7008 function es la función que quieres que \SpecialChar LyX
7009  lleve a cabo.
7010  Es lo mismo que los comandos que usarías en el minibúfer.
7011 \end_layout
7012
7013 \begin_layout Description
7014 argument es un argumento opcional que solo es significativo para ciertas
7015  funciones (por ejemplo, la función LFUN 
7016 \begin_inset Quotes cld
7017 \end_inset
7018
7019 self-insert
7020 \begin_inset Quotes crd
7021 \end_inset
7022
7023  insertará el argumento como texto en la posición del cursor).
7024 \end_layout
7025
7026 \begin_layout Standard
7027 La respuesta de \SpecialChar LyX
7028  llegará en la tubería de salida y será de la forma
7029 \end_layout
7030
7031 \begin_layout Quote
7032 INFO:
7033 \emph on
7034 clientname
7035 \emph default
7036 :
7037 \emph on
7038 function
7039 \emph default
7040 :
7041 \emph on
7042 data
7043 \end_layout
7044
7045 \begin_layout Standard
7046 donde 
7047 \emph on
7048 clientname
7049 \emph default
7050  y 
7051 \emph on
7052 function
7053 \emph default
7054  solo son respuestas del comando solicitante, mientras que 
7055 \emph on
7056 data
7057 \emph default
7058  es información más o menos útil sobre cómo ha funcionado la ejecución del
7059  comando.
7060  Algunos comandos, tales como 
7061 \begin_inset Quotes cld
7062 \end_inset
7063
7064 font-state
7065 \begin_inset Quotes crd
7066 \end_inset
7067
7068 , devolverán información sobre el estado interno de \SpecialChar LyX
7069 , mientras que otros
7070  devolverán una respuesta vacía.
7071  Esto significa que la ejecución del comando fue correcta.
7072 \end_layout
7073
7074 \begin_layout Standard
7075 En caso de errores la respuesta de \SpecialChar LyX
7076  será de la forma
7077 \end_layout
7078
7079 \begin_layout Quote
7080 ERROR:
7081 \emph on
7082 clientname
7083 \emph default
7084 :
7085 \emph on
7086 function
7087 \emph default
7088 :
7089 \emph on
7090 error message
7091 \end_layout
7092
7093 \begin_layout Standard
7094 donde el 
7095 \emph on
7096 error message
7097 \emph default
7098  debería contener una explicación de por qué falló el comando.
7099 \end_layout
7100
7101 \begin_layout Standard
7102 Ejemplos:
7103 \end_layout
7104
7105 \begin_layout LyX-Code
7106 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
7107 \end_layout
7108
7109 \begin_layout LyX-Code
7110 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
7111 \begin_inset Newline newline
7112 \end_inset
7113
7114 read a <~/.lyxpipe.out
7115 \begin_inset Newline newline
7116 \end_inset
7117
7118 echo $a
7119 \end_layout
7120
7121 \begin_layout Subsection
7122 AppleScript (Mac OS X)
7123 \end_layout
7124
7125 \begin_layout Standard
7126 Desde \SpecialChar LyX
7127  2.1, \SpecialChar LyX
7128  soporta interacciones básicas con AppleScript para comunicación
7129  normal mediante el comando run.
7130  Este comando toma un argumento directo (la 
7131 \series bold
7132 function
7133 \series default
7134  a realizar) y un argumento opcional.
7135  Devuelve la salida de la función o desencadena un error con un mensaje
7136  y el código.
7137 \end_layout
7138
7139 \begin_layout Standard
7140 Ejemplo:
7141 \end_layout
7142
7143 \begin_layout LyX-Code
7144 tell application "\SpecialChar LyX
7145 "
7146 \end_layout
7147
7148 \begin_layout LyX-Code
7149   try
7150 \end_layout
7151
7152 \begin_layout LyX-Code
7153     -- Stores the current file name into f
7154 \end_layout
7155
7156 \begin_layout LyX-Code
7157     set f to (run "server-get-filename" with argument "")
7158 \end_layout
7159
7160 \begin_layout LyX-Code
7161     on error the error_message number the error_number
7162 \end_layout
7163
7164 \begin_layout LyX-Code
7165       display dialog "Error: " & the error_number & ".
7166  " ¬
7167 \end_layout
7168
7169 \begin_layout LyX-Code
7170               & the error_message buttons {"OK"} default button 1
7171 \end_layout
7172
7173 \begin_layout LyX-Code
7174   end try
7175 \end_layout
7176
7177 \begin_layout LyX-Code
7178 end tell
7179 \end_layout
7180
7181 \begin_layout Section
7182 Notificación
7183 \end_layout
7184
7185 \begin_layout Standard
7186 \SpecialChar LyX
7187  puede notificar a los clientes acontecimientos ocurridos de manera asíncrona.
7188  Actualmente solo lo hará si el usuario liga una secuencia de teclas a la
7189  función 
7190 \begin_inset Quotes cld
7191 \end_inset
7192
7193 notify
7194 \begin_inset Quotes crd
7195 \end_inset
7196
7197 .
7198  El formato de la cadena que envía \SpecialChar LyX
7199  es como sigue:
7200 \end_layout
7201
7202 \begin_layout Quote
7203 \begin_inset Flex Code
7204 status collapsed
7205
7206 \begin_layout Plain Layout
7207 NOTIFY:
7208 \end_layout
7209
7210 \end_inset
7211
7212
7213 \emph on
7214 key-sequence
7215 \end_layout
7216
7217 \begin_layout Standard
7218 donde 
7219 \emph on
7220 key-sequence
7221 \emph default
7222  es la representación impresa de la secuencia de teclas que fue realmente
7223  tecleada por el usuario.
7224 \end_layout
7225
7226 \begin_layout Standard
7227 Este mecanismo puede utilizarse para ampliar el conjunto de comandos de
7228  \SpecialChar LyX
7229  e implementar macros.
7230  Asocia alguna secuencia de teclas a 
7231 \begin_inset Quotes cld
7232 \end_inset
7233
7234 notify
7235 \begin_inset Quotes crd
7236 \end_inset
7237
7238 .
7239  Después inicia un cliente que escucha en la tubería de salida, envía el
7240  comando acorde con la secuencia e inicia una función que pueda usar llamadas
7241  y solicitudes a \SpecialChar LyX
7242  para emitir un comando o una serie de comandos a \SpecialChar LyX
7243 .
7244 \end_layout
7245
7246 \begin_layout Section
7247 El sencillo protocolo del servidor \SpecialChar LyX
7248
7249 \end_layout
7250
7251 \begin_layout Standard
7252 \SpecialChar LyX
7253  implementa un protocolo sencillo que puede utilizarse para administrar
7254  sesiones.
7255  Todos los mensajes son de la forma
7256 \end_layout
7257
7258 \begin_layout Quote
7259 LYXSRV:
7260 \emph on
7261 clientname
7262 \emph default
7263 :
7264 \emph on
7265 protocol message
7266 \end_layout
7267
7268 \begin_layout Standard
7269 donde 
7270 \emph on
7271 protocol message
7272 \emph default
7273  puede ser 
7274 \begin_inset Quotes cld
7275 \end_inset
7276
7277 hello
7278 \begin_inset Quotes crd
7279 \end_inset
7280
7281  o 
7282 \begin_inset Quotes cld
7283 \end_inset
7284
7285 bye
7286 \begin_inset Quotes crd
7287 \end_inset
7288
7289 .
7290  Si se recibe 
7291 \begin_inset Quotes cld
7292 \end_inset
7293
7294 hello
7295 \begin_inset Quotes crd
7296 \end_inset
7297
7298  de un cliente, \SpecialChar LyX
7299  devolverá información al cliente de que está escuchando
7300  sus mensajes, mientras que 
7301 \begin_inset Quotes cld
7302 \end_inset
7303
7304 bye
7305 \begin_inset Quotes crd
7306 \end_inset
7307
7308  enviado desde \SpecialChar LyX
7309  informará a los clientes que \SpecialChar LyX
7310  se ha cerrado.
7311 \end_layout
7312
7313 \begin_layout Section
7314 Búsqueda inversa DVI/PDF
7315 \end_layout
7316
7317 \begin_layout Standard
7318 Algunos visores DVI/PDF
7319 \begin_inset Foot
7320 status collapsed
7321
7322 \begin_layout Plain Layout
7323 Okular en KDE/Linux, Qpdfview en Unix, Skim en Mac OSX y SumatraPDF en Windows.
7324 \end_layout
7325
7326 \end_inset
7327
7328  ofrecen la posibilidad de 
7329 \emph on
7330 búsqueda inversa
7331 \emph default
7332 .
7333  Esto quiere decir que puedes indicar a \SpecialChar LyX
7334  que coloque el cursor en una línea
7335  determinada en el documento haciendo clic en la posición correspondiente
7336  en la salida DVI/PDF.
7337  Para ello, el visor ha de ser capaz de comunicarse con \SpecialChar LyX
7338 .
7339  Esto se consigue mediante el servidor \SpecialChar LyX
7340  usando la tubería (
7341 \emph on
7342 lyxpipe
7343 \emph default
7344 ) o el zócalo de dominio UNIX (
7345 \emph on
7346 lyxsocket
7347 \emph default
7348 ) que \SpecialChar LyX
7349  crea en su directorio temporal (esta es la forma en que \SpecialChar LyX
7350  se comunica
7351  con el programa 
7352 \begin_inset Flex Code
7353 status collapsed
7354
7355 \begin_layout Plain Layout
7356 lyxclient
7357 \end_layout
7358
7359 \end_inset
7360
7361 .
7362  En algunos casos, hará falta un guión de apoyo que medie entre el visor
7363  y \SpecialChar LyX
7364 , en otros, el visor se podrá comunicar directamente con \SpecialChar LyX
7365 .
7366  Esto depende del visor seleccionado y del sistema operativo.
7367  Lo mismo es aplicable a la forma en que los visores deben configurarse
7368  y la forma en que la búsqueda inversa se lleva a cabo realmente.
7369  En lo que sigue, describiremos cómo se configura la búsqueda en visores
7370  determinados.
7371  Antes, sin embargo, explicamos lo que hay que hacer en general para habilitar
7372  la búsqueda inversa en el DVI/PDF.
7373 \end_layout
7374
7375 \begin_layout Subsection
7376 Activación automática
7377 \begin_inset CommandInset label
7378 LatexCommand label
7379 name "subsec:Activación-automática"
7380
7381 \end_inset
7382
7383
7384 \end_layout
7385
7386 \begin_layout Standard
7387 En la mayoría de los casos \SpecialChar LyX
7388  funcionará 
7389 \lang english
7390 pressing the following button in the toolbar: 
7391 \begin_inset Info
7392 type  "icon"
7393 arg   "buffer-toggle-output-sync"
7394 \end_inset
7395
7396 .
7397  Alternatively, you can also enable the feature by checking 
7398 \family sans
7399 Synchronize with Output
7400 \family default
7401  in 
7402 \begin_inset Flex Noun
7403 status collapsed
7404
7405 \begin_layout Plain Layout
7406
7407 \lang english
7408 Document\SpecialChar menuseparator
7409 Settings\SpecialChar menuseparator
7410 Formats
7411 \end_layout
7412
7413 \end_inset
7414
7415
7416 \lang spanish
7417 En estos casos \SpecialChar LyX
7418  insertará automáticamente la macro 
7419 \begin_inset Flex Code
7420 status collapsed
7421
7422 \begin_layout Plain Layout
7423 Sync\SpecialChar TeX
7424
7425 \end_layout
7426
7427 \end_inset
7428
7429  (para PDF) o el paquete 
7430 \begin_inset Flex Code
7431 status collapsed
7432
7433 \begin_layout Plain Layout
7434 srcltx
7435 \end_layout
7436
7437 \end_inset
7438
7439  (para DVI).
7440  Esta opción está fácilmente disponible, además, en la barra de herramientas
7441  
7442 \begin_inset Flex Noun
7443 status collapsed
7444
7445 \begin_layout Plain Layout
7446 Ver/Actualizar
7447 \end_layout
7448
7449 \end_inset
7450
7451 .
7452 \end_layout
7453
7454 \begin_layout Standard
7455 Si necesitas una configuración diferente, puedes seleccionar o introducir
7456  una macro personalizada desde el cuadro desplegable bajo 
7457 \begin_inset Flex Noun
7458 status collapsed
7459
7460 \begin_layout Plain Layout
7461 Documento\SpecialChar menuseparator
7462 Configuración\SpecialChar menuseparator
7463 Salidas\SpecialChar menuseparator
7464 Sincronizar con salida
7465 \end_layout
7466
7467 \end_inset
7468
7469 .
7470 \end_layout
7471
7472 \begin_layout Standard
7473 El método 
7474 \begin_inset Flex Code
7475 status collapsed
7476
7477 \begin_layout Plain Layout
7478
7479 \backslash
7480 synctex=1
7481 \end_layout
7482
7483 \end_inset
7484
7485  activa compresión gzip.
7486  Si el visor no lo soporta, sería mejor usar 
7487 \begin_inset Flex Code
7488 status collapsed
7489
7490 \begin_layout Plain Layout
7491
7492 \backslash
7493 synctex=-1
7494 \end_layout
7495
7496 \end_inset
7497
7498 .
7499 \end_layout
7500
7501 \begin_layout Standard
7502 Advirtamos que la inclusión de los paquetes 
7503 \begin_inset Flex Code
7504 status collapsed
7505
7506 \begin_layout Plain Layout
7507 srcltx
7508 \end_layout
7509
7510 \end_inset
7511
7512  o 
7513 \begin_inset Flex Code
7514 status collapsed
7515
7516 \begin_layout Plain Layout
7517 src-specials
7518 \end_layout
7519
7520 \end_inset
7521
7522  puede tener a veces un impacto no deseado en la tipografía; entonces, si
7523  se usa alguno de dichos paquetes habría que desactivar la sincronización
7524  para la composición final.
7525 \end_layout
7526
7527 \begin_layout Standard
7528 En caso de necesitar otros ajustes más específicos no cubiertos por la configura
7529 ción automática, lee la sección siguiente sobre activación manual.
7530  Si la configuración automática cubre tus necesidades, puedes pasar directamente
7531  a la sección 
7532 \begin_inset CommandInset ref
7533 LatexCommand ref
7534 reference "subsec:Configuración-y-uso-de-visores"
7535
7536 \end_inset
7537
7538 , en la que se describen los pasos necesarios para configurar el visor —necesari
7539 os tanto para configuración automática como manual.
7540 \end_layout
7541
7542 \begin_layout Subsection
7543 Activación manual
7544 \end_layout
7545
7546 \begin_layout Standard
7547 \SpecialChar LaTeX
7548  proporciona varios métodos para la búsqueda inversa.
7549  Algunos son parte del programa 
7550 \begin_inset Flex Code
7551 status collapsed
7552
7553 \begin_layout Plain Layout
7554 latex/pdflatex
7555 \end_layout
7556
7557 \end_inset
7558
7559 , otros forman parte de paquetes externos.
7560  La elección depende de si la distribución \SpecialChar LaTeX
7561  instalada ya proporciona un
7562  método (los métodos incorporados son bastante nuevos) y si el visor a usar
7563  puede enfrentarse a este.
7564  Describimos a continuación los métodos disponibles.
7565 \end_layout
7566
7567 \begin_layout Subsubsection*
7568 Buscador DVI incorporado vía src-specials (solo DVI)
7569 \end_layout
7570
7571 \begin_layout Standard
7572 Este método proporciona el archivo DVI con la información necesaria para
7573  realizar búsqueda inversa.
7574  Está disponible en \SpecialChar LaTeX
7575  desde hace tiempo (cualquier distribución reciente
7576  lo debe incluir) y es fiable.
7577  Para habilitarlo, cambia el convertidor 
7578 \begin_inset Flex Code
7579 status collapsed
7580
7581 \begin_layout Plain Layout
7582 LaTeX (plain)->DVI
7583 \end_layout
7584
7585 \end_inset
7586
7587  o 
7588 \begin_inset Flex Code
7589 status collapsed
7590
7591 \begin_layout Plain Layout
7592 LaTeX (plain)->DraftDVI
7593 \end_layout
7594
7595 \end_inset
7596
7597  en 
7598 \begin_inset Flex Noun
7599 status collapsed
7600
7601 \begin_layout Plain Layout
7602 Herramientas\SpecialChar menuseparator
7603 Preferencias\SpecialChar menuseparator
7604 Gestión de archivos\SpecialChar menuseparator
7605 Convertidores
7606 \end_layout
7607
7608 \end_inset
7609
7610  por 
7611 \begin_inset Flex Code
7612 status collapsed
7613
7614 \begin_layout Plain Layout
7615 latex -src-specials $$i
7616 \end_layout
7617
7618 \end_inset
7619
7620 .
7621  Si no funciona, comprueba si tu maquinaria \SpecialChar TeX
7622  necesita opciones diferentes
7623  (la sintaxis podría diferir en algunas distribuciones).
7624 \end_layout
7625
7626 \begin_layout Subsubsection*
7627 Paquetes externos (PDFSync y srcltx)
7628 \end_layout
7629
7630 \begin_layout Standard
7631 Los paquetes 
7632 \begin_inset Flex Code
7633 status collapsed
7634
7635 \begin_layout Plain Layout
7636 PDFSync
7637 \end_layout
7638
7639 \end_inset
7640
7641  y 
7642 \begin_inset Flex Code
7643 status collapsed
7644
7645 \begin_layout Plain Layout
7646 srcltx
7647 \end_layout
7648
7649 \end_inset
7650
7651  proporcionan la función búsqueda inversa para PDF (vía pdflatex) y DVI,
7652  respectivamente.
7653  Para habilitarlos carga el paquete en el preámbulo \SpecialChar LaTeX
7654 :
7655 \end_layout
7656
7657 \begin_layout Itemize
7658 \begin_inset Flex Code
7659 status collapsed
7660
7661 \begin_layout Plain Layout
7662
7663 \backslash
7664 usepackage{pdfsync}
7665 \end_layout
7666
7667 \end_inset
7668
7669  para búsqueda inversa en PDF
7670 \end_layout
7671
7672 \begin_layout Itemize
7673 \begin_inset Flex Code
7674 status collapsed
7675
7676 \begin_layout Plain Layout
7677
7678 \backslash
7679 usepackage[active]{srcltx}
7680 \end_layout
7681
7682 \end_inset
7683
7684  para búsqueda inversa en DVI
7685 \end_layout
7686
7687 \begin_layout Standard
7688 Para habilitar el uso de ambos inserta las siguientes líneas:
7689 \end_layout
7690
7691 \begin_layout LyX-Code
7692
7693 \backslash
7694 usepackage{ifpdf}
7695 \begin_inset Newline newline
7696 \end_inset
7697
7698
7699 \backslash
7700 ifpdf
7701 \begin_inset Newline newline
7702 \end_inset
7703
7704   
7705 \backslash
7706 usepackage{pdfsync}
7707 \begin_inset Newline newline
7708 \end_inset
7709
7710
7711 \backslash
7712 else
7713 \begin_inset Newline newline
7714 \end_inset
7715
7716   
7717 \backslash
7718 usepackage[active]{srcltx}
7719 \begin_inset Newline newline
7720 \end_inset
7721
7722
7723 \backslash
7724 fi
7725 \end_layout
7726
7727 \begin_layout Standard
7728 Así, el archivo se puede ver tanto como DVI como PDF (pdflatex), usando
7729  el paquete adecuado.
7730 \end_layout
7731
7732 \begin_layout Standard
7733 Advirtamos que PDFSync podría afectar el formato de salida del documento.
7734  Por eso es conveniente deshabilitar PDFSync para componer el documento
7735  final.
7736 \end_layout
7737
7738 \begin_layout Subsubsection*
7739 Búsqueda inversa incorporada vía Sync\SpecialChar TeX
7740  (DVI y PDF)
7741 \end_layout
7742
7743 \begin_layout Standard
7744 Las recientes versiones de 
7745 \begin_inset Flex Code
7746 status collapsed
7747
7748 \begin_layout Plain Layout
7749 (pdf)latex
7750 \end_layout
7751
7752 \end_inset
7753
7754  incorporan soporte para búsqueda inversa en PDF y DVI.
7755  La instalación llamada 
7756 \emph on
7757 Sync\SpecialChar TeX
7758
7759 \emph default
7760  es básicamente el resultado de integrar el paquete PDFSync en pdftex y
7761  su fusión con el enfoque 
7762 \emph on
7763 src-specials
7764 \emph default
7765 .
7766  Para usarla hace falta al menos \SpecialChar TeX
7767 Live 2008 o una distribución Mik\SpecialChar TeX
7768  reciente.
7769  Además, solo unos pocos visores PDF (
7770 \lang english
7771 such as 
7772 \lang spanish
7773 Okular y Qpdfview en Unix, Skim en Mac, SumatraPDF en Windows
7774 \lang english
7775 ; see the next section for details
7776 \lang spanish
7777 ) proporcionan por ahora soporte para Sync\SpecialChar TeX
7778 .
7779 \end_layout
7780
7781 \begin_layout Standard
7782 Para activar Sync\SpecialChar TeX
7783  en DVI, cambia el convertidor 
7784 \begin_inset Flex Code
7785 status collapsed
7786
7787 \begin_layout Plain Layout
7788 LaTeX (plain) -> DVI
7789 \end_layout
7790
7791 \end_inset
7792
7793  o 
7794 \begin_inset Flex Code
7795 status collapsed
7796
7797 \begin_layout Plain Layout
7798 LaTeX (plain) -> DraftDVI
7799 \end_layout
7800
7801 \end_inset
7802
7803  en 
7804 \begin_inset Flex Noun
7805 status collapsed
7806
7807 \begin_layout Plain Layout
7808 Herramientas\SpecialChar menuseparator
7809 Preferencias\SpecialChar menuseparator
7810 Gestión de archivos\SpecialChar menuseparator
7811 Convertidores
7812 \end_layout
7813
7814 \end_inset
7815
7816  por 
7817 \begin_inset Flex Code
7818 status collapsed
7819
7820 \begin_layout Plain Layout
7821 latex -synctex=1 $$i
7822 \end_layout
7823
7824 \end_inset
7825
7826 , y para PDF cambia 
7827 \begin_inset Flex Code
7828 status collapsed
7829
7830 \begin_layout Plain Layout
7831 LaTeX (pdflatex) -> PDF (pdflatex)
7832 \end_layout
7833
7834 \end_inset
7835
7836  por 
7837 \begin_inset Flex Code
7838 status collapsed
7839
7840 \begin_layout Plain Layout
7841 pdflatex -synctex=1 $$i
7842 \end_layout
7843
7844 \end_inset
7845
7846 .
7847  
7848 \lang english
7849 Should your viewer not be considered in the following description, or in
7850  case of missing success, please 
7851 \lang spanish
7852 consulta en la documentación de tu visor si necesita ser configurado para
7853  usarlo con Sync\SpecialChar TeX
7854 .
7855 \begin_inset Foot
7856 status collapsed
7857
7858 \begin_layout Plain Layout
7859 La opción 
7860 \begin_inset Flex Code
7861 status collapsed
7862
7863 \begin_layout Plain Layout
7864 -synctex=1
7865 \end_layout
7866
7867 \end_inset
7868
7869  permite compresión gzip.
7870  Si el visor no lo soporta, entonces usa 
7871 \begin_inset Flex Code
7872 status collapsed
7873
7874 \begin_layout Plain Layout
7875 -synctex=-1
7876 \end_layout
7877
7878 \end_inset
7879
7880 .
7881 \end_layout
7882
7883 \end_inset
7884
7885
7886 \end_layout
7887
7888 \begin_layout Subsection
7889 Configuración y uso de visores específicos
7890 \begin_inset CommandInset label
7891 LatexCommand label
7892 name "subsec:Configuración-y-uso-de-visores"
7893
7894 \end_inset
7895
7896
7897 \end_layout
7898
7899 \begin_layout Subsubsection*
7900 Xdvi (todas las plataformas)
7901 \end_layout
7902
7903 \begin_layout Standard
7904 Si usas 
7905 \begin_inset Flex Code
7906 status collapsed
7907
7908 \begin_layout Plain Layout
7909 xdvi
7910 \end_layout
7911
7912 \end_inset
7913
7914  no necesitas hacer nada para utilizar la búsqueda inversa en DVI, ya que
7915  \SpecialChar LyX
7916  proporciona los ganchos necesarios para usar automáticamente el programa
7917  
7918 \begin_inset Flex Code
7919 status collapsed
7920
7921 \begin_layout Plain Layout
7922 lyxclient
7923 \end_layout
7924
7925 \end_inset
7926
7927 .
7928  Basta con configurar tu documento como se describió antes (la búsqueda
7929  inversa se inicia con Ctrl-clic o Alt-clic en Mac OSX).
7930 \end_layout
7931
7932 \begin_layout Standard
7933 Sin embargo, si por la razón que sea quieres usar la tubería en vez del
7934  zócalo para comunicar con \SpecialChar LyX
7935 , simplemente cambia el visor DVI en 
7936 \begin_inset Flex Noun
7937 status collapsed
7938
7939 \begin_layout Plain Layout
7940 Herramientas\SpecialChar menuseparator
7941 Preferencias\SpecialChar menuseparator
7942 Gestión de archivos\SpecialChar menuseparator
7943 Formatos de archivo
7944 \end_layout
7945
7946 \end_inset
7947
7948  a 
7949 \begin_inset Flex Code
7950 status collapsed
7951
7952 \begin_layout Plain Layout
7953 xdvi -editor "lyxeditor.sh %f %l"
7954 \end_layout
7955
7956 \end_inset
7957
7958 ,
7959 \begin_inset Foot
7960 status collapsed
7961
7962 \begin_layout Plain Layout
7963 En Mac OSX hay que usar 
7964 \begin_inset Flex Code
7965 status collapsed
7966
7967 \begin_layout Plain Layout
7968 DISPLAY=:0.0 xdvi -editor "lyxeditor.sh %f %l"
7969 \end_layout
7970
7971 \end_inset
7972
7973
7974 \end_layout
7975
7976 \end_inset
7977
7978  donde 
7979 \begin_inset Flex Code
7980 status collapsed
7981
7982 \begin_layout Plain Layout
7983 lyxeditor.sh
7984 \end_layout
7985
7986 \end_inset
7987
7988  es un guión apropiado.
7989  Por ejemplo, un mínimo guión de shell es el siguiente:
7990 \end_layout
7991
7992 \begin_layout LyX-Code
7993 #!/bin/sh
7994 \begin_inset Newline newline
7995 \end_inset
7996
7997 LYXPIPE="/ruta/a/lyxpipe"
7998 \begin_inset Newline newline
7999 \end_inset
8000
8001 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
8002 \begin_inset Newline newline
8003 \end_inset
8004
8005 echo "$COMMAND" > "${LYXPIPE}".in || exit
8006 \begin_inset Newline newline
8007 \end_inset
8008
8009 read TMP < "${LYXPIPE}".out || exit
8010 \end_layout
8011
8012 \begin_layout Standard
8013 donde 
8014 \begin_inset Flex Code
8015 status collapsed
8016
8017 \begin_layout Plain Layout
8018 /ruta/a/lyxpipe
8019 \end_layout
8020
8021 \end_inset
8022
8023  es la ruta de la tubería \SpecialChar LyX
8024 Server especificada en 
8025 \begin_inset Flex Noun
8026 status collapsed
8027
8028 \begin_layout Plain Layout
8029 Herramientas\SpecialChar menuseparator
8030 Preferencias\SpecialChar menuseparator
8031 Rutas
8032 \end_layout
8033
8034 \end_inset
8035
8036 .
8037 \begin_inset Foot
8038 status collapsed
8039
8040 \begin_layout Plain Layout
8041 En la carpeta 
8042 \begin_inset Flex Code
8043 status collapsed
8044
8045 \begin_layout Plain Layout
8046 development/tools
8047 \end_layout
8048
8049 \end_inset
8050
8051  de una distribución fuente puedes encontrar un guión 
8052 \begin_inset Flex Code
8053 status collapsed
8054
8055 \begin_layout Plain Layout
8056 lyxeditor
8057 \end_layout
8058
8059 \end_inset
8060
8061  que puede localizar 
8062 \size normal
8063 \emph on
8064 lyxpipe
8065 \emph default
8066  basado en tus preferencias.
8067 \end_layout
8068
8069 \end_inset
8070
8071
8072 \end_layout
8073
8074 \begin_layout Subsubsection*
8075 MacDviX (Mac OSX)
8076 \end_layout
8077
8078 \begin_layout Standard
8079 Al final de 
8080 \begin_inset Flex Code
8081 status collapsed
8082
8083 \begin_layout Plain Layout
8084 /Applications/MacDviX_Folder/calleditor.script
8085 \end_layout
8086
8087 \end_inset
8088
8089 , añade las líneas:
8090 \end_layout
8091
8092 \begin_layout LyX-Code
8093 /Applications/LyX.app/Contents/MacOS/lyxeditor "$2" $1
8094 \begin_inset Newline newline
8095 \end_inset
8096
8097 exit 1
8098 \end_layout
8099
8100 \begin_layout Standard
8101 Modifica las líneas si \SpecialChar LyX
8102  está instalado en algún otro lugar distinto de la
8103  carpeta 'Applications'.
8104 \end_layout
8105
8106 \begin_layout Standard
8107 La búsqueda inversa se lanza con Alt-clic (OPCIÓN-clic).
8108 \end_layout
8109
8110 \begin_layout Subsubsection*
8111 Skim (Mac OSX)
8112 \end_layout
8113
8114 \begin_layout Standard
8115 Introduce 
8116 \begin_inset Flex Code
8117 status collapsed
8118
8119 \begin_layout Plain Layout
8120 open -a Skim.app $$i
8121 \end_layout
8122
8123 \end_inset
8124
8125  en la configuración del visor en 
8126 \begin_inset Flex Noun
8127 status collapsed
8128
8129 \begin_layout Plain Layout
8130 Herramientas\SpecialChar menuseparator
8131 Preferencias\SpecialChar menuseparator
8132 Gestión de archivos\SpecialChar menuseparator
8133 PDF (pdflatex)
8134 \end_layout
8135
8136 \end_inset
8137
8138 , y luego en 
8139 \begin_inset Flex Code
8140 status collapsed
8141
8142 \begin_layout Plain Layout
8143 Skim\SpecialChar menuseparator
8144 Preferences\SpecialChar menuseparator
8145 Sync
8146 \end_layout
8147
8148 \end_inset
8149
8150  selecciona \SpecialChar LyX
8151 .
8152 \end_layout
8153
8154 \begin_layout Standard
8155 La búsqueda inversa se inicia con COMANDO-MAYÚSCULAS-clic.
8156 \end_layout
8157
8158 \begin_layout Subsubsection*
8159 Okular (KDE)
8160 \end_layout
8161
8162 \begin_layout Standard
8163 En 
8164 \begin_inset Flex Noun
8165 status collapsed
8166
8167 \begin_layout Plain Layout
8168 Configurar\SpecialChar menuseparator
8169 Configurar Okular\SpecialChar menuseparator
8170 Editor
8171 \end_layout
8172
8173 \end_inset
8174
8175 , selecciona 
8176 \lang english
8177 yX
8178 \begin_inset Quotes erd
8179 \end_inset
8180
8181  as editor.
8182  This inserts the appropriate
8183 \lang spanish
8184 .
8185
8186 \lang english
8187  This inserts the appropriate
8188 \lang spanish
8189  comando 
8190 \begin_inset Flex Code
8191 status collapsed
8192
8193 \begin_layout Plain Layout
8194 lyxclient -g %f %l
8195 \end_layout
8196
8197 \end_inset
8198
8199 .
8200 \end_layout
8201
8202 \begin_layout Standard
8203 La búsqueda inversa se inicia con MAYÚSCULAS-clic.
8204 \end_layout
8205
8206 \begin_layout Subsubsection*
8207 Qpdfview (Unix)
8208 \end_layout
8209
8210 \begin_layout Standard
8211 Qpdfview soporta Sync\SpecialChar TeX
8212  desde la versión 0.3.5.
8213  En 
8214 \begin_inset Flex Noun
8215 status collapsed
8216
8217 \begin_layout Plain Layout
8218 Editar\SpecialChar menuseparator
8219 Configuración\SpecialChar menuseparator
8220 Comportamiento
8221 \end_layout
8222
8223 \end_inset
8224
8225 , clic en el campo de entrada del 
8226 \begin_inset Quotes eld
8227 \end_inset
8228
8229 Editor de fuente
8230 \begin_inset Quotes erd
8231 \end_inset
8232
8233  y añade el comando 
8234 \begin_inset Flex Code
8235 status collapsed
8236
8237 \begin_layout Plain Layout
8238 lyxclient -g %1 %2
8239 \end_layout
8240
8241 \end_inset
8242
8243 .
8244 \end_layout
8245
8246 \begin_layout Standard
8247 La búsqueda inversa se lanza con doble clic.
8248 \end_layout
8249
8250 \begin_layout Subsubsection*
8251 YAP (Windows)
8252 \end_layout
8253
8254 \begin_layout Standard
8255 En yap, en el menú Ver Opciones marca 
8256 \begin_inset Quotes cld
8257 \end_inset
8258
8259 Búsqueda inversa DVI
8260 \begin_inset Quotes crd
8261 \end_inset
8262
8263 .
8264  Botón 
8265 \begin_inset Quotes cld
8266 \end_inset
8267
8268 Nuevo
8269 \begin_inset Quotes crd
8270 \end_inset
8271
8272  e introduce 
8273 \begin_inset Quotes cld
8274 \end_inset
8275
8276 \SpecialChar LyX
8277  editor
8278 \begin_inset Quotes crd
8279 \end_inset
8280
8281  en 
8282 \begin_inset Quotes cld
8283 \end_inset
8284
8285 Nombre
8286 \begin_inset Quotes crd
8287 \end_inset
8288
8289 .
8290  Abre el diálogo 
8291 \begin_inset Quotes cld
8292 \end_inset
8293
8294 ...
8295 \begin_inset Quotes crd
8296 \end_inset
8297
8298  y busca el archivo 
8299 \begin_inset Flex Code
8300 status collapsed
8301
8302 \begin_layout Plain Layout
8303 lyxeditor.bat
8304 \end_layout
8305
8306 \end_inset
8307
8308  (véase abajo).
8309  Selecciona 
8310 \begin_inset Flex Code
8311 status collapsed
8312
8313 \begin_layout Plain Layout
8314 lyxeditor.bat
8315 \end_layout
8316
8317 \end_inset
8318
8319 , con los argumentos %f %l.
8320 \end_layout
8321
8322 \begin_layout LyX-Code
8323 @echo off
8324 \begin_inset Newline newline
8325 \end_inset
8326
8327 echo LYXCMD:revdvi:server-goto-file-row:%1 %2> 
8328 \backslash
8329
8330 \backslash
8331 .
8332 \backslash
8333 pipe
8334 \backslash
8335 lyxpipe.in
8336 \begin_inset Newline newline
8337 \end_inset
8338
8339 type 
8340 \backslash
8341
8342 \backslash
8343 .
8344 \backslash
8345 pipe
8346 \backslash
8347 lyxpipe.out
8348 \end_layout
8349
8350 \begin_layout Standard
8351 Se lanza con doble clic.
8352 \end_layout
8353
8354 \begin_layout Subsubsection*
8355 SumatraPDF (Windows)
8356 \end_layout
8357
8358 \begin_layout Standard
8359 Introduce 
8360 \family typewriter
8361 SumatraPDF -inverse-search "lyxeditor.bat %f %l" 
8362 \family default
8363 en
8364 \family typewriter
8365  
8366 \family default
8367
8368 \begin_inset Flex Noun
8369 status collapsed
8370
8371 \begin_layout Plain Layout
8372 Herramientas\SpecialChar menuseparator
8373 Preferencias\SpecialChar menuseparator
8374 Gestión de archivos\SpecialChar menuseparator
8375 PDF (pdflatex)
8376 \end_layout
8377
8378 \end_inset
8379
8380 , donde 
8381 \family typewriter
8382 lyxeditor.bat es el anterior.
8383  Si SumatraPDF.exe
8384 \family default
8385  no está en la ruta de comandos usa su nombre completo.
8386 \end_layout
8387
8388 \begin_layout Standard
8389 Se inicia con doble clic.
8390 \end_layout
8391
8392 \begin_layout Subsubsection*
8393 YAP (Cygwin)
8394 \end_layout
8395
8396 \begin_layout Standard
8397 Si yap es el visor por defecto en Windows, ejecuta y elige 
8398 \family sans
8399 Ver Opciones
8400 \family default
8401  y 
8402 \begin_inset Quotes cld
8403 \end_inset
8404
8405 Búsqueda inversa DVI
8406 \begin_inset Quotes crd
8407 \end_inset
8408
8409 .
8410  En el botón 
8411 \begin_inset Quotes cld
8412 \end_inset
8413
8414 Nuevo...
8415 \begin_inset Quotes crd
8416 \end_inset
8417
8418  escribe 
8419 \begin_inset Quotes cld
8420 \end_inset
8421
8422 \SpecialChar LyX
8423  editor
8424 \begin_inset Quotes crd
8425 \end_inset
8426
8427  en el campo 
8428 \begin_inset Quotes cld
8429 \end_inset
8430
8431 Nombre
8432 \begin_inset Quotes crd
8433 \end_inset
8434
8435 .
8436  Ahora, en el botón 
8437 \begin_inset Quotes cld
8438 \end_inset
8439
8440 ...
8441 \begin_inset Quotes crd
8442 \end_inset
8443
8444  y navega hasta el directorio del ejecutable 
8445 \family typewriter
8446 lyxeditor.exe.
8447
8448 \family default
8449  Especifica los argumentos -g %f %l.
8450  Así, se usará el zócalo 
8451 \emph on
8452 lyxsocket
8453 \emph default
8454  para comunicar con \SpecialChar LyX
8455 .
8456  Si prefieres usar 
8457 \emph on
8458 lyxpipe
8459 \emph default
8460  omite -g y escribe la tubería \SpecialChar LyX
8461 Server en las preferencias de \SpecialChar LyX
8462 .
8463 \end_layout
8464
8465 \begin_layout Standard
8466 Se lanza con doble clic.
8467 \end_layout
8468
8469 \begin_layout Subsubsection*
8470 SumatraPDF (Cygwin)
8471 \end_layout
8472
8473 \begin_layout Standard
8474 En 
8475 \begin_inset Flex Noun
8476 status collapsed
8477
8478 \begin_layout Plain Layout
8479 Herramientas\SpecialChar menuseparator
8480 Preferencias\SpecialChar menuseparator
8481 Gestión de archivos\SpecialChar menuseparator
8482 PDF (pdflatex)
8483 \end_layout
8484
8485 \end_inset
8486
8487  introduce 
8488 \begin_inset Flex Code
8489 status collapsed
8490
8491 \begin_layout Plain Layout
8492 SumatraPDF -inverse-search "lyxeditor -g %f %l"
8493 \end_layout
8494
8495 \end_inset
8496
8497  en la configuración del visor.
8498  Si SumatraPDF.exe no está en la ruta de comandos usa su ruta posix completa
8499  en el guión.
8500  La -g habilita comunicación vía 
8501 \emph on
8502 lyxsocket
8503 \emph default
8504 .
8505  Sin la -g, se usa 
8506 \emph on
8507 lyxpipe
8508 \emph default
8509 , y verifica la ruta de \SpecialChar LyX
8510 Server en las preferencias de \SpecialChar LyX
8511 .
8512 \end_layout
8513
8514 \begin_layout Standard
8515 Se inicia con doble clic.
8516 \end_layout
8517
8518 \begin_layout Section
8519 Búsqueda directa
8520 \end_layout
8521
8522 \begin_layout Standard
8523 La búsqueda directa, como su nombre indica, es en cierto sentido lo 
8524 \begin_inset Quotes cld
8525 \end_inset
8526
8527 opuesto
8528 \begin_inset Quotes crd
8529 \end_inset
8530
8531  a búsqueda inversa.
8532  Permite saltar a una posición determinada del documento en el visor desde
8533  dentro de \SpecialChar LyX
8534 .
8535  Si la búsqueda directa está habilitada (como se describe a continuación),
8536  puedes poner el cursor en cualquier punto del documento en \SpecialChar LyX
8537  y, con el menú
8538  
8539 \family sans
8540 Navegar\SpecialChar menuseparator
8541 Búsqueda directa
8542 \family default
8543  (o seleccionando 
8544 \family sans
8545 Búsqueda directa
8546 \family default
8547  en el menú contextual mediante clic derecho), en el visor se mostrará esa
8548  misma posición.
8549  Esto implica, por supuesto, que el visor soporte esta función.
8550 \end_layout
8551
8552 \begin_layout Standard
8553 Para posibilitar la búsqueda directa hay que proporcionar al archivo DVI/PDF
8554  de salida información adicional sobre el código \SpecialChar TeX
8555 .
8556  Se puede hacer mediante los métodos descritos en la sección 
8557 \begin_inset CommandInset ref
8558 LatexCommand ref
8559 reference "subsec:Activación-automática"
8560
8561 \end_inset
8562
8563 .
8564 \end_layout
8565
8566 \begin_layout Standard
8567 Adicionalmente, hay que configurar \SpecialChar LyX
8568  para usar los visores en 
8569 \begin_inset Flex Noun
8570 status collapsed
8571
8572 \begin_layout Plain Layout
8573 Herramientas\SpecialChar menuseparator
8574 Preferencias\SpecialChar menuseparator
8575 Salidas\SpecialChar menuseparator
8576 General
8577 \end_layout
8578
8579 \end_inset
8580
8581 .
8582  Proporcionamos un conjunto de configuraciones comprobadas para algunos
8583  visores, que pueden seleccionarse en la lista desplegable.
8584  Si ninguna de estas configuraciones te satisface, tienes que introducir
8585  a mano una configuración adecuada.
8586  La sintaxis de las definiciones usa los siguientes marcadores:
8587 \end_layout
8588
8589 \begin_layout Itemize
8590 \noindent
8591 \begin_inset Flex Code
8592 status collapsed
8593
8594 \begin_layout Plain Layout
8595 $$n
8596 \end_layout
8597
8598 \end_inset
8599
8600 : número de fila
8601 \end_layout
8602
8603 \begin_layout Itemize
8604 \noindent
8605 \begin_inset Flex Code
8606 status collapsed
8607
8608 \begin_layout Plain Layout
8609 $$t
8610 \end_layout
8611
8612 \end_inset
8613
8614 : nombre del archivo .tex exportado (temporal)
8615 \end_layout
8616
8617 \begin_layout Itemize
8618 \noindent
8619 \begin_inset Flex Code
8620 status collapsed
8621
8622 \begin_layout Plain Layout
8623 $$o
8624 \end_layout
8625
8626 \end_inset
8627
8628 : nombre del archivo de salida exportado (dvi o pdf, según el que exista
8629  en el directorio temporal)
8630 \end_layout
8631
8632 \begin_layout Standard
8633 Solo algunos visores permiten completamente la búsqueda directa, entre ellos
8634  yap, xdvi, okular
8635 \lang english
8636
8637 \begin_inset Foot
8638 status collapsed
8639
8640 \begin_layout Plain Layout
8641
8642 \lang english
8643 You might want to set 
8644 \begin_inset Flex Code
8645 status collapsed
8646
8647 \begin_layout Plain Layout
8648
8649 \lang english
8650 okular --unique
8651 \end_layout
8652
8653 \end_inset
8654
8655  in 
8656 \lang spanish
8657
8658 \begin_inset Flex Noun
8659 status collapsed
8660
8661 \begin_layout Plain Layout
8662
8663 \lang english
8664 Tools\SpecialChar menuseparator
8665 Preferences\SpecialChar menuseparator
8666 File Handling\SpecialChar menuseparator
8667 File
8668 \begin_inset space ~
8669 \end_inset
8670
8671 Formats
8672 \end_layout
8673
8674 \end_inset
8675
8676
8677 \end_layout
8678
8679 \end_inset
8680
8681
8682 \lang spanish
8683 , qpdfview y SumatraPDF
8684 \lang english
8685
8686 \begin_inset Foot
8687 status collapsed
8688
8689 \begin_layout Plain Layout
8690
8691 \lang english
8692 SumatraPDF can also use DDE commands through the external program CMCDDE
8693  — downloadable from 
8694 \begin_inset CommandInset href
8695 LatexCommand href
8696 target "http://www.istri.fr/spip/zip/CMCDDE.zip"
8697 literal "false"
8698
8699 \end_inset
8700
8701
8702 \end_layout
8703
8704 \end_inset
8705
8706
8707 \lang spanish
8708 .
8709  Aunque algunos de los visores PDF más conocidos (como Adobe Reader) no
8710  soportan búsqueda directa, otros (como evince y pdf) permiten al menos
8711  recargar el documento y mostrar una página determinada, por lo que al menos
8712  permiten una navegación 
8713 \begin_inset Quotes cld
8714 \end_inset
8715
8716 cercana
8717 \begin_inset Quotes crd
8718 \end_inset
8719
8720 .
8721  Esta última funcionalidad es facilitada mediante una llamada externa a
8722  synctex (consulta los ejemplos predefinidos en Preferencias).
8723  
8724 \end_layout
8725
8726 \begin_layout Standard
8727 La búsqueda directa funciona con DVI y PDF.
8728  \SpecialChar LyX
8729  comprueba qué formato de vista preliminar has usado antes (o sea, el que
8730  ya está en el directorio temporal) y elige dinámicamente la configuración
8731  adecuada para el formato en cuestión.
8732 \end_layout
8733
8734 \begin_layout Chapter
8735 Clases especiales de documentos 
8736 \end_layout
8737
8738 \begin_layout Section
8739 A&A Paper
8740 \end_layout
8741
8742 \begin_layout Standard
8743 por 
8744 \noun on
8745 Peter Sütterlin
8746 \end_layout
8747
8748 \begin_layout Subsection
8749 Introducción
8750 \end_layout
8751
8752 \begin_layout Standard
8753 Esta sección describe el uso de \SpecialChar LyX
8754  para escribir artículos destinados a la
8755  revista científica 
8756 \emph on
8757 Astronomy and Astrophysics
8758 \emph default
8759  (
8760 \begin_inset Flex URL
8761 status collapsed
8762
8763 \begin_layout Plain Layout
8764
8765 https://www.aanda.org/
8766 \end_layout
8767
8768 \end_inset
8769
8770 ), usando la versión
8771 \begin_inset space ~
8772 \end_inset
8773
8774 5.01 de la clase de documento 
8775 \family typewriter
8776 aa.cls
8777 \family default
8778 .
8779  Este paquete se puede descargar del sitio ftp
8780 \end_layout
8781
8782 \begin_layout Standard
8783 \begin_inset VSpace medskip
8784 \end_inset
8785
8786
8787 \end_layout
8788
8789 \begin_layout Standard
8790 \align center
8791 \begin_inset Flex URL
8792 status collapsed
8793
8794 \begin_layout Plain Layout
8795
8796 ftp://ftp.edpsciences.org/pub/aa/readme.html
8797 \end_layout
8798
8799 \end_inset
8800
8801
8802 \end_layout
8803
8804 \begin_layout Standard
8805 \begin_inset VSpace medskip
8806 \end_inset
8807
8808
8809 \end_layout
8810
8811 \begin_layout Standard
8812 El paquete contiene un manual, y este texto no aspira a reemplazar al original,
8813  se trata solo de una breve guía de uso.
8814 \end_layout
8815
8816 \begin_layout Standard
8817 Ten en cuenta que el editor de la revista ha cambiado de 
8818 \emph on
8819 Springer
8820 \emph default
8821  a 
8822 \emph on
8823 EDP Sciences
8824 \emph default
8825  desde 1 de enero de 2001.
8826  Este cambio implica ligeros cambios en los archivos de estilo, a saber,
8827  la eliminación del comando 
8828 \family typewriter
8829 thesaurus
8830 \family default
8831 .
8832  La clase \SpecialChar LyX
8833  
8834 \family sans
8835 aa
8836 \family default
8837  soporta las versiones más nuevas de estos archivos de estilo, V 5.01.
8838  Si tienes instalada una versión más antigua, actualízala, por favor.
8839  Por compatibilidad, el antiguo formato (versión 4) se ha mantenido como
8840  
8841 \family sans
8842 article (A&A V4)
8843 \family default
8844 .
8845  Puedes acudir a los comentarios en el archivo 
8846 \family typewriter
8847 \SpecialChar LyX
8848 Dir/layouts/aapaper.layout
8849 \family default
8850 .
8851 \end_layout
8852
8853 \begin_layout Subsection
8854 Cómo empezar
8855 \end_layout
8856
8857 \begin_layout Standard
8858 Se recomienda empezar con el modelo de ejemplo suministrado con \SpecialChar LyX
8859 .
8860  Si no es así, observa los siguientes aspectos:
8861 \end_layout
8862
8863 \begin_layout Itemize
8864 Selecciona 
8865 \family sans
8866 article (A&A)
8867 \family default
8868  en el diálogo 
8869 \family sans
8870 Documento\SpecialChar menuseparator
8871 Configuración
8872 \family default
8873  (vale, esto era obvio).
8874 \end_layout
8875
8876 \begin_layout Itemize
8877 No cambies la opción 
8878 \family sans
8879 Estilo
8880 \begin_inset space ~
8881 \end_inset
8882
8883 de
8884 \begin_inset space ~
8885 \end_inset
8886
8887
8888 \family default
8889 página: déjala en 
8890 \family sans
8891 predeterminado
8892 \family default
8893 .
8894  Todo el formato está hecho por macros y no deberías cambiar nada.
8895 \end_layout
8896
8897 \begin_layout Subsection
8898 El bloque del encabezado
8899 \end_layout
8900
8901 \begin_layout Standard
8902 Lo primero que hay que introducir es la información del encabezado.
8903  Consta de siete entradas, de las que algunas son opcionales.
8904  Son:
8905 \end_layout
8906
8907 \begin_layout Itemize
8908
8909 \family sans
8910 Título
8911 \family default
8912 : (requerido) 
8913 \end_layout
8914
8915 \begin_layout Itemize
8916
8917 \family sans
8918 Subtítulo
8919 \family default
8920 : (opcional) 
8921 \end_layout
8922
8923 \begin_layout Itemize
8924
8925 \family sans
8926 Autor
8927 \family default
8928 : (requerido)
8929 \end_layout
8930
8931 \begin_layout Itemize
8932
8933 \family sans
8934 Dirección
8935 \family default
8936 : (requerido)
8937 \end_layout
8938
8939 \begin_layout Itemize
8940 Separatas: (opcional) si hay más de un autor: a quien dirigirse.
8941 \end_layout
8942
8943 \begin_layout Itemize
8944 Correo: (opcional) dirección de contacto.
8945 \end_layout
8946
8947 \begin_layout Itemize
8948
8949 \family sans
8950 Fecha
8951 \family default
8952 : (requerido).
8953  El formato sugerido es 
8954 \family typewriter
8955 Recibido: <fecha>; Aceptado <fecha> 
8956 \end_layout
8957
8958 \begin_layout Standard
8959 No es necesario poner el comando 
8960 \family typewriter
8961
8962 \backslash
8963 maketitle
8964 \family default
8965 , \SpecialChar LyX
8966  lo hace automáticamente cuando se termina el encabezado.
8967  Aunque el orden de las entradas del encabezado no importa, es conveniente
8968  mantener la secuencia de arriba, solo por conseguir un mejor aspecto y
8969  respetar el formato del documento real.
8970 \end_layout
8971
8972 \begin_layout Standard
8973 Si quieres poner notas al pie en el encabezado, p.
8974 \begin_inset space \thinspace{}
8975 \end_inset
8976
8977 e.
8978 \begin_inset space ~
8979 \end_inset
8980
8981 para consignar tu actual dirección, usa la nota al pie estándar con 
8982 \family sans
8983 Insertar\SpecialChar menuseparator
8984 Nota
8985 \begin_inset space ~
8986 \end_inset
8987
8988 al
8989 \begin_inset space ~
8990 \end_inset
8991
8992 pie.
8993
8994 \family default
8995  \SpecialChar LyX
8996
8997 \begin_inset Quotes cld
8998 \end_inset
8999
9000 automágicamente
9001 \begin_inset Quotes crd
9002 \end_inset
9003
9004 , usará el término 
9005 \family typewriter
9006
9007 \backslash
9008 thanks{}
9009 \family default
9010  en ese caso.
9011 \end_layout
9012
9013 \begin_layout Standard
9014
9015 \lang english
9016 Under 
9017 \family sans
9018 Edit\SpecialChar menuseparator
9019 Text Style
9020 \family default
9021 , you'll find two insets which are relevant for the titling:
9022 \end_layout
9023
9024 \begin_layout Itemize
9025
9026 \family sans
9027 \lang english
9028 Institute
9029 \family typewriter
9030  
9031 \family default
9032 to mark corresponding author\SpecialChar breakableslash
9033 institute pairs.
9034  The institutes are numbered sequentially as they appear in the 
9035 \family sans
9036 Address
9037 \family default
9038  field, so you have to put a marker to each author.
9039 \end_layout
9040
9041 \begin_layout Itemize
9042
9043 \family sans
9044 \lang english
9045 Email
9046 \family default
9047  to supply an email address for fast contact.
9048 \end_layout
9049
9050 \begin_layout Standard
9051 Además, las macros emplean one comando \SpecialChar LaTeX
9052  adicionalque no tien contrapartida
9053  en \SpecialChar LyX
9054 :
9055 \end_layout
9056
9057 \begin_layout Itemize
9058
9059 \family typewriter
9060
9061 \backslash
9062 and
9063 \family default
9064  para separar nombres diferentes de más de un autor e instituto, respectivamente.
9065 \end_layout
9066
9067 \begin_layout Standard
9068 El comando apropiado ha de introducirse en \SpecialChar LyX
9069  marcado como código \SpecialChar LaTeX
9070 .
9071  Véanse los ejemplos.
9072  
9073 \end_layout
9074
9075 \begin_layout Subsection
9076 El resumen
9077 \end_layout
9078
9079 \begin_layout Standard
9080 El resumen debería ir a continuación del encabezado.
9081  Con la versión 5 el resumen cambió de entorno a comando, y ahora hay una
9082  restricción a un único párrafo.
9083  Además, debería contener una entrada con las claves.
9084  Esto 
9085 \lang english
9086 done via the paragraph style 
9087 \family sans
9088 Keywords
9089 \family default
9090 .
9091
9092 \lang spanish
9093  Véase el ejemplo.
9094 \end_layout
9095
9096 \begin_layout Subsection
9097 Entornos soportados
9098 \end_layout
9099
9100 \begin_layout Standard
9101 El formato A&A soporta los entornos siguientes para estructurar el texto:
9102 \end_layout
9103
9104 \begin_layout Itemize
9105
9106 \family sans
9107 Normal
9108 \end_layout
9109
9110 \begin_layout Itemize
9111
9112 \family sans
9113 Sección
9114 \end_layout
9115
9116 \begin_layout Itemize
9117
9118 \family sans
9119 Subsección
9120 \end_layout
9121
9122 \begin_layout Itemize
9123
9124 \family sans
9125 Subsubsección
9126 \end_layout
9127
9128 \begin_layout Itemize
9129
9130 \family sans
9131 Enumeración*
9132 \end_layout
9133
9134 \begin_layout Itemize
9135
9136 \family sans
9137 Enumeración
9138 \end_layout
9139
9140 \begin_layout Itemize
9141
9142 \family sans
9143 Descripción
9144 \end_layout
9145
9146 \begin_layout Itemize
9147
9148 \family sans
9149 Leyenda
9150 \end_layout
9151
9152 \begin_layout Itemize
9153
9154 \family sans
9155 Resumen
9156 \end_layout
9157
9158 \begin_layout Itemize
9159
9160 \family sans
9161 Agradecimientos
9162 \end_layout
9163
9164 \begin_layout Itemize
9165
9166 \family sans
9167 Bibliografía
9168 \end_layout
9169
9170 \begin_layout Itemize
9171
9172 \family sans
9173 \SpecialChar LaTeX
9174
9175 \end_layout
9176
9177 \begin_layout Subsection
9178 Comandos no soportados por \SpecialChar LyX
9179
9180 \end_layout
9181
9182 \begin_layout Standard
9183 Algunos comandos aún no son soportados por el formato 
9184 \family sans
9185 paper (A&A)
9186 \family default
9187 .
9188  Algunos se han mencionado ya.
9189
9190 \family typewriter
9191  
9192 \family default
9193 Pero aquí están todos juntos:
9194 \end_layout
9195
9196 \begin_layout Itemize
9197
9198 \family typewriter
9199
9200 \backslash
9201 and
9202 \end_layout
9203
9204 \begin_layout Itemize
9205
9206 \family typewriter
9207
9208 \backslash
9209 authorrunning
9210 \end_layout
9211
9212 \begin_layout Itemize
9213
9214 \family typewriter
9215
9216 \backslash
9217 object{}
9218 \end_layout
9219
9220 \begin_layout Itemize
9221
9222 \family typewriter
9223
9224 \backslash
9225 titlerunning{}
9226 \end_layout
9227
9228 \begin_layout Standard
9229 Si quieres usar alguno de ellos tienes que introducirlos a mano, y 
9230 \series bold
9231 ¡no olvides marcarlos en código \SpecialChar LaTeX
9232 !
9233 \end_layout
9234
9235 \begin_layout Subsection
9236 Figuras y cuadros flotantes
9237 \end_layout
9238
9239 \begin_layout Standard
9240 \SpecialChar LyX
9241  proporciona soporte para poner figuras y cuadros flotantes, por tanto no
9242  queremos decir mucho más sobre ello.
9243  Acude a la 
9244 \emph on
9245 Guía del Usuario
9246 \emph default
9247 .
9248  Solo recordaremos que los cuadros deben alinearse a la izquierda.
9249  Para eso selecciona el cuadro y cambia la alineación en 
9250 \family sans
9251 Editar\SpecialChar menuseparator
9252 Configuración
9253 \begin_inset space ~
9254 \end_inset
9255
9256 del
9257 \begin_inset space ~
9258 \end_inset
9259
9260 párrafo.
9261 \end_layout
9262
9263 \begin_layout Standard
9264 Hay un apunte particular: las figuras que deben llevar el título del encabezado
9265  a un lado.
9266  Para insertar estas figuras has de hacer lo siguiente:
9267 \end_layout
9268
9269 \begin_layout Enumerate
9270 Crea un flotante de figura ancha:
9271 \family sans
9272  
9273 \family default
9274 selecciona 
9275 \family sans
9276 Insertar\SpecialChar menuseparator
9277 Flotante\SpecialChar menuseparator
9278 Figura
9279 \family default
9280 , después haz clic derecho en la figura y selecciona 
9281 \family sans
9282 Extender
9283 \begin_inset space ~
9284 \end_inset
9285
9286 columnas
9287 \family default
9288 .
9289 \end_layout
9290
9291 \begin_layout Enumerate
9292 Introduce el texto del encabezado.
9293 \end_layout
9294
9295 \begin_layout Enumerate
9296 Pulsa 
9297 \family sans
9298 Retorno
9299 \family default
9300  para mover el cursor sobre el encabezado.
9301 \end_layout
9302
9303 \begin_layout Enumerate
9304 Inserta la figura.
9305 \end_layout
9306
9307 \begin_layout Enumerate
9308 Coloca el cursor tras la figura e inserta un relleno horizontal: 
9309 \family sans
9310 Insertar\SpecialChar menuseparator
9311 Formato
9312 \begin_inset space ~
9313 \end_inset
9314
9315 especial\SpecialChar menuseparator
9316 Relleno
9317 \begin_inset space ~
9318 \end_inset
9319
9320 horizontal
9321 \family default
9322 .
9323 \end_layout
9324
9325 \begin_layout Enumerate
9326 Cambia a modo \SpecialChar LaTeX
9327
9328 \family sans
9329 C-l
9330 \family default
9331 .
9332 \end_layout
9333
9334 \begin_layout Enumerate
9335 Introduce 
9336 \family typewriter
9337
9338 \backslash
9339 parbox[b]{55mm}{
9340 \family default
9341 .
9342  
9343 \series bold
9344 ¡No cierres la llave!
9345 \end_layout
9346
9347 \begin_layout Enumerate
9348 Coloca el cursor tras el texto del encabezado, cambia a modo \SpecialChar LaTeX
9349  e inserta
9350  la llave de cierre: 
9351 \family sans
9352 C-l 
9353 \family typewriter
9354 }
9355 \family default
9356 .
9357 \end_layout
9358
9359 \begin_layout Standard
9360 Además, consulta el ejemplo de 
9361 \family sans
9362 paper
9363 \family default
9364 .
9365 \end_layout
9366
9367 \begin_layout Subsection
9368 Formato «referee»
9369 \end_layout
9370
9371 \begin_layout Standard
9372 Antes de remitir el artículo a los editores hay que darle un formato especial
9373  a doble espacio.
9374  Para eso hay que pasar la opción 
9375 \family typewriter
9376 referee
9377 \family default
9378  a la clase de documento
9379 \lang english
9380 This must be done using the custom class options field in the 
9381 \family sans
9382 Document\SpecialChar menuseparator
9383 Settings
9384 \family default
9385  dialog.
9386  Just enter the string 
9387 \family typewriter
9388 referee
9389 \family default
9390  there.
9391 \end_layout
9392
9393 \begin_layout Subsection
9394 El ejemplo «paper»
9395 \end_layout
9396
9397 \begin_layout Standard
9398 El directorio 
9399 \family sans
9400 Examples
9401 \family default
9402  contiene un ejemplo del formato 
9403 \family sans
9404 paper
9405 \family default
9406  escrito con \SpecialChar LyX
9407 .
9408  Es el ejemplo del paquete de macros original, traducido a \SpecialChar LyX
9409 .
9410  Puede servirte de inspiración, y para comparar el código \SpecialChar LaTeX
9411  original con
9412  el generado por \SpecialChar LyX
9413 .
9414 \end_layout
9415
9416 \begin_layout Section
9417 AAS\SpecialChar TeX
9418
9419 \end_layout
9420
9421 \begin_layout Standard
9422 por 
9423 \noun on
9424 Mike Ressler
9425 \end_layout
9426
9427 \begin_layout Subsection
9428 Introducción
9429 \end_layout
9430
9431 \begin_layout Standard
9432 AAS\SpecialChar TeX
9433  es un conjunto de macros producidas por la 
9434 \emph on
9435 American Astronomical Society
9436 \emph default
9437  para facilitar la remisión de manuscritos electrónicos a las tres revistas
9438  que publica: 
9439 \emph on
9440 Astrophysical Journal
9441 \emph default
9442  (incluyendo Cartas y Suplemento), 
9443 \emph on
9444 Astronomical Journal
9445 \emph default
9446 , y 
9447 \emph on
9448 Publications of the Astronomical Society of the Pacific
9449 \emph default
9450 .
9451  \SpecialChar LyX
9452  ha demostrado ser una herramienta excelente para generar estos documentos,
9453  especialmente por su capacidad para el manejo de ecuaciones, citas y figuras.
9454  \SpecialChar LyX
9455  requiere la versión 5.0 (o superior) de estas macros; preferiblemente 6.0,
9456  que es la versión aquí explicada, o mayor.
9457  Las versiones anteriores a 5.0 están pensadas para usar con \SpecialChar LaTeX
9458 2.09 y son básicament
9459 e incompatibles con \SpecialChar LyX
9460 .
9461  El paquete AAS\SpecialChar TeX
9462  se puede obtener del sitio web de AAS\SpecialChar TeX
9463
9464 \end_layout
9465
9466 \begin_layout Standard
9467 \begin_inset VSpace medskip
9468 \end_inset
9469
9470
9471 \end_layout
9472
9473 \begin_layout Standard
9474 \align center
9475 \begin_inset Flex URL
9476 status collapsed
9477
9478 \begin_layout Plain Layout
9479
9480 https://aas.org/aastex/aastex-downloads
9481 \end_layout
9482
9483 \end_inset
9484
9485
9486 \end_layout
9487
9488 \begin_layout Standard
9489 \begin_inset VSpace medskip
9490 \end_inset
9491
9492
9493 \end_layout
9494
9495 \begin_layout Standard
9496 Contiene una completa guía del usuario con la que deberías familiarizarte
9497  antes de embarcarte en la escritura de estos documentos en \SpecialChar LyX
9498 .
9499  \SpecialChar LyX
9500  no reduce la necesidad de comprender todos los comandos AAS\SpecialChar TeX
9501 , pero disminuye
9502  la tediosa faena de teclearlo todo.
9503  Es de tu incumbencia comprobar que el documento final exportado a \SpecialChar LaTeX
9504  es completam
9505 ente conforme con los requerimientos de la revista a la que se remite.
9506 \end_layout
9507
9508 \begin_layout Subsection
9509 Empezar un artículo nuevo
9510 \end_layout
9511
9512 \begin_layout Standard
9513 Recomiendo encarecidamente que comiences con el archivo de plantilla modelo
9514  de AAS\SpecialChar TeX
9515 .
9516  Clic en 
9517 \family sans
9518 Archivo\SpecialChar menuseparator
9519 Nuevo
9520 \begin_inset space ~
9521 \end_inset
9522
9523 desde
9524 \begin_inset space ~
9525 \end_inset
9526
9527 plantilla
9528 \family default
9529 , introduce el nombre del nuevo archivo, y luego escoge el archivo 
9530 \family typewriter
9531 aastex6.lyx
9532 \family default
9533 .
9534  Este contempla los campos más habituales presentes en un manuscrito.
9535  Simplemente tienes que sustituir el texto existente (incluyendo las abrazaderas
9536
9537 \family typewriter
9538 <>
9539 \family default
9540 ) con el texto personal.
9541  Muchos de los comandos y entornos AAS\SpecialChar TeX
9542  se pueden implementar directamente
9543  en \SpecialChar LyX
9544 , pero algunos no.
9545  Comandos como estos deben introducirse directamente en código \SpecialChar TeX
9546 , (antes
9547  conocido por ERT, 
9548 \emph on
9549 Evil Red Text
9550 \emph default
9551 ).
9552  He intentado reducir la cantidad de código \SpecialChar TeX
9553  necesario en documentos AAS\SpecialChar TeX
9554 .
9555 \end_layout
9556
9557 \begin_layout Subsection
9558 Finalizar el artículo
9559 \end_layout
9560
9561 \begin_layout Standard
9562 Cuando has acabado satisfactoriamente el artículo, y se puede ver/imprimir
9563  correctamente, quedan pendientes algunas acciones de 
9564 \begin_inset Quotes cld
9565 \end_inset
9566
9567 posprocesamiento
9568 \begin_inset Quotes crd
9569 \end_inset
9570
9571  antes de remitir el trabajo.
9572 \end_layout
9573
9574 \begin_layout Enumerate
9575 Exporta el documento a archivo \SpecialChar LaTeX
9576  (
9577 \family sans
9578 Archivo\SpecialChar menuseparator
9579 Exportar\SpecialChar menuseparator
9580 LaTeX
9581 \family default
9582  (
9583 \family sans
9584 simple
9585 \family default
9586 )).
9587  
9588 \end_layout
9589
9590 \begin_layout Enumerate
9591 Edita el archivo resultante 
9592 \family typewriter
9593 .tex
9594 \family default
9595  con tu editor de textos favorito.
9596 \end_layout
9597
9598 \begin_deeper
9599 \begin_layout Enumerate
9600 quita las líneas de comentario antes del comando 
9601 \family typewriter
9602
9603 \backslash
9604 documentclass.
9605 \end_layout
9606
9607 \begin_layout Enumerate
9608 quita la línea 
9609 \family typewriter
9610
9611 \backslash
9612 usepackage...{fontenc}
9613 \family default
9614  si está (generalmente justo detrás de 
9615 \family typewriter
9616
9617 \backslash
9618 documentclass
9619 \family default
9620 }; quita también la línea 
9621 \family typewriter
9622
9623 \backslash
9624 secnumdepth
9625 \family default
9626 , si está.
9627 \end_layout
9628
9629 \begin_layout Enumerate
9630 quita todo entre los comandos 
9631 \family typewriter
9632
9633 \backslash
9634 makeatletter
9635 \family default
9636  y 
9637 \family typewriter
9638
9639 \backslash
9640 makeatother
9641 \family default
9642 , ambos incluidos, excepto comandos que hayas puesto específicamente en
9643  el preámbulo (que deberían aparecer inmediatamente después del comentario
9644  
9645 \begin_inset Quotes cld
9646 \end_inset
9647
9648 User specified \SpecialChar LaTeX
9649  commands
9650 \begin_inset Quotes crd
9651 \end_inset
9652
9653  en el archivo 
9654 \family typewriter
9655 .tex
9656 \family default
9657 ).
9658 \end_layout
9659
9660 \end_deeper
9661 \begin_layout Enumerate
9662 Ejecuta el archivo resultante con \SpecialChar LaTeX
9663  para asegurar que se procesa correctamente.
9664 \end_layout
9665
9666 \begin_layout Enumerate
9667 Relee los requerimientos del editor para comprobar que los nombres de los
9668  archivos y los formatos son correctos.
9669 \end_layout
9670
9671 \begin_layout Enumerate
9672 Remítelo.
9673 \end_layout
9674
9675 \begin_layout Subsection
9676 Comentarios sobre comandos específicos
9677 \end_layout
9678
9679 \begin_layout Standard
9680 No voy a describir el empleo detallado de los comandos individuales de AAS\SpecialChar TeX
9681 :
9682  la Guía del Usuario de AAS\SpecialChar TeX
9683  (
9684 \family typewriter
9685 aasguide.tex
9686 \family default
9687 ) da una buena descripción de ellos.
9688  Así que lo más fácil para mí es dar la lista tal como aparece en la guía
9689  y hacer comentarios donde proceda.
9690  Comencemos\SpecialChar ldots
9691
9692 \end_layout
9693
9694 \begin_layout Subsubsection
9695 Cosas que funcionan como es de esperar
9696 \end_layout
9697
9698 \begin_layout Standard
9699 Puesto que funcionan como es de esperar, solo las enumero con la sección
9700  donde se encuentran: 
9701 \family typewriter
9702
9703 \backslash
9704 documentclass
9705 \family default
9706  (2.1.1), 
9707 \family typewriter
9708
9709 \backslash
9710 begin{document}
9711 \family default
9712  (2.2), 
9713 \family typewriter
9714
9715 \backslash
9716 title
9717 \family default
9718  (2.3), 
9719 \family typewriter
9720
9721 \backslash
9722 author
9723 \family default
9724  (2.3), 
9725 \family typewriter
9726
9727 \backslash
9728 affil
9729 \family default
9730  (2.3), 
9731 \family typewriter
9732
9733 \backslash
9734 abstract
9735 \family default
9736  (2.4), 
9737 \family typewriter
9738
9739 \backslash
9740 keywords
9741 \family default
9742  (2.5), 
9743 \family typewriter
9744
9745 \backslash
9746 section
9747 \family default
9748  (2.7), 
9749 \family typewriter
9750
9751 \backslash
9752 subsection
9753 \family default
9754  (2.7), 
9755 \family typewriter
9756
9757 \backslash
9758 subsubsection
9759 \family default
9760  (2.7), 
9761 \family typewriter
9762
9763 \backslash
9764 paragraph
9765 \family default
9766  (2.7), 
9767 \family typewriter
9768
9769 \backslash
9770 facility
9771 \family default
9772  (2.10), 
9773 \family typewriter
9774
9775 \backslash
9776 begin{displaymath}
9777 \family default
9778  (2.12), 
9779 \family typewriter
9780
9781 \backslash
9782 begin{equation}
9783 \family default
9784  (2.12), 
9785 \family typewriter
9786
9787 \backslash
9788 begin{eqnarray}
9789 \family default
9790  (2.12), 
9791 \family typewriter
9792
9793 \backslash
9794 begin{mathletters}
9795 \family default
9796  (2.12), 
9797 \family typewriter
9798
9799 \backslash
9800 begin{thebibliography}
9801 \family default
9802  (2.13.1), 
9803 \family typewriter
9804
9805 \backslash
9806 bibitem
9807 \family default
9808  (2.13.2), todos los comandos de citas y sus variantes (2.13.2), los comandos
9809  genéricos de figuras, 
9810 \family sans
9811 graphicx
9812 \family default
9813  (2.14.1), 
9814 \family typewriter
9815
9816 \backslash
9817 begin{table}
9818 \family default
9819  (2.15.4), 
9820 \family typewriter
9821
9822 \backslash
9823 begin{tabular}
9824 \family default
9825  (2.15.4), 
9826 \family typewriter
9827
9828 \backslash
9829 caption
9830 \family default
9831  (2.15.4), 
9832 \family typewriter
9833
9834 \backslash
9835 label
9836 \family default
9837  (2.15.4, entre otros sitios), 
9838 \family typewriter
9839
9840 \backslash
9841 tablerefs
9842 \family default
9843  (2.15.5), 
9844 \family typewriter
9845
9846 \backslash
9847 tablecomments
9848 \family default
9849  (2.15.5), 
9850 \family typewriter
9851
9852 \backslash
9853 url
9854 \family default
9855  (2.17.4), 
9856 \family typewriter
9857
9858 \backslash
9859 end{document}
9860 \family default
9861  (2.18).
9862 \end_layout
9863
9864 \begin_layout Standard
9865 Las siguientes opciones de estilo también funcionan: 
9866 \family typewriter
9867 longabstract
9868 \family default
9869  (2.4), 
9870 \family typewriter
9871 preprint
9872 \family default
9873  (3.2.1), 
9874 \family typewriter
9875 preprint2
9876 \family default
9877  (3.2.2), 
9878 \family typewriter
9879 eqsecnum
9880 \family default
9881  (3.3), 
9882 \family typewriter
9883 flushrt
9884 \family default
9885  (3.4).
9886  Simplemente pónlos en el cuadro de 
9887 \family sans
9888 Opciones
9889 \family default
9890  de 
9891 \family sans
9892 Documento
9893 \family default
9894 \SpecialChar menuseparator
9895
9896 \family sans
9897 Configuración
9898 \family default
9899 .
9900 \end_layout
9901
9902 \begin_layout Subsubsection
9903 Cosas que funcionan, pero\SpecialChar ldots
9904
9905 \end_layout
9906
9907 \begin_layout Standard
9908 Las siguientes opciones funcionan, pero requieren algunas aclaraciones:
9909 \end_layout
9910
9911 \begin_layout Itemize
9912 Las siguientes se reservan para los editores, pero puedes ponerlas en el
9913  preámbulo \SpecialChar LaTeX
9914  si fuera preciso: 
9915 \family typewriter
9916
9917 \backslash
9918 received
9919 \family default
9920
9921 \family typewriter
9922
9923 \backslash
9924 revised
9925 \family default
9926
9927 \family typewriter
9928
9929 \backslash
9930 accepted
9931 \family default
9932
9933 \family typewriter
9934
9935 \backslash
9936 ccc
9937 \family default
9938
9939 \family typewriter
9940
9941 \backslash
9942 cpright
9943 \family default
9944  (todas desde 2.1.3)
9945 \end_layout
9946
9947 \begin_layout Itemize
9948 Estas opciones se pueden situar en el preámbulo \SpecialChar LaTeX
9949 , y se incluyen en blanco
9950  en la plantilla: 
9951 \family typewriter
9952
9953 \backslash
9954 slugcomment
9955 \family default
9956  (2.1.4), 
9957 \family typewriter
9958
9959 \backslash
9960 shorttitle
9961 \family default
9962  (2.1.5), 
9963 \family typewriter
9964
9965 \backslash
9966 shortauthors
9967 \family default
9968  (2.1.5)
9969 \end_layout
9970
9971 \begin_layout Itemize
9972
9973 \family typewriter
9974
9975 \backslash
9976 email
9977 \family default
9978  (2.3) solo se puede poner separado, no en mitad de un párrafo.
9979  Usa código \SpecialChar TeX
9980  si necesitas empotrarlo.
9981 \end_layout
9982
9983 \begin_layout Itemize
9984
9985 \family typewriter
9986
9987 \backslash
9988 and
9989 \family default
9990  (2.3) tendrá {} extra tras él.
9991  Esto no debería producir error.
9992 \end_layout
9993
9994 \begin_layout Itemize
9995
9996 \family typewriter
9997
9998 \backslash
9999 notetoeditor
10000 \family default
10001  (2.6) solo se puede poner separado, no en mitad de un párrafo.
10002  Usa código \SpecialChar TeX
10003  si necesitas empotrarlo.
10004 \end_layout
10005
10006 \begin_layout Itemize
10007
10008 \family typewriter
10009
10010 \backslash
10011 placetable
10012 \family default
10013  (2.8) no puede insertar etiquetas de referencias cruzadas, hay que introducirlo
10014  a mano.
10015 \end_layout
10016
10017 \begin_layout Itemize
10018
10019 \family typewriter
10020
10021 \backslash
10022 placefigure
10023 \family default
10024  (2.8) igual que para 
10025 \family typewriter
10026
10027 \backslash
10028 placetable
10029 \end_layout
10030
10031 \begin_layout Itemize
10032
10033 \family typewriter
10034
10035 \backslash
10036 acknowledgements
10037 \family default
10038  (2.9) tendrá {} extra tras él.
10039  Esto no debería producir error.
10040 \end_layout
10041
10042 \begin_layout Itemize
10043
10044 \family typewriter
10045
10046 \backslash
10047 appendix
10048 \family default
10049  (2.11) tendrá {} extra tras él.
10050  Esto no debería producir error.
10051 \end_layout
10052
10053 \begin_layout Itemize
10054
10055 \family typewriter
10056
10057 \backslash
10058 figcaption
10059 \family default
10060  (2.14.2) puedes insertar un argumento de nombre opcional situando el cursor
10061  al inicio del texto y seleccionando 
10062 \family sans
10063 Insertar\SpecialChar menuseparator
10064 Título breve
10065 \family default
10066 .
10067  
10068 \begin_inset Quotes cld
10069 \end_inset
10070
10071 Título breve
10072 \begin_inset Quotes crd
10073 \end_inset
10074
10075  inserta un argumento opcional del tipo necesitado por 
10076 \family typewriter
10077
10078 \backslash
10079 figcaption
10080 \family default
10081 .
10082  Debería ser renombrado algún día.
10083  
10084 \end_layout
10085
10086 \begin_layout Itemize
10087
10088 \family typewriter
10089
10090 \backslash
10091 objectname
10092 \family default
10093  (2.17.1) lo mismo que en
10094 \family typewriter
10095  
10096 \backslash
10097 figcaption
10098 \family default
10099  para el parámetro opcional de catálogo ID.
10100 \end_layout
10101
10102 \begin_layout Itemize
10103
10104 \family typewriter
10105
10106 \backslash
10107 dataset
10108 \family default
10109  (2.17.1) lo mismo que en
10110 \family typewriter
10111  
10112 \backslash
10113 figcaption
10114 \family default
10115  para el parámetro opcional de catálogo ID.
10116 \end_layout
10117
10118 \begin_layout Subsubsection
10119 Cosas no implementadas, código \SpecialChar TeX
10120  necesario
10121 \end_layout
10122
10123 \begin_layout Standard
10124
10125 \family typewriter
10126
10127 \backslash
10128 eqnum
10129 \family default
10130  (2.12), 
10131 \family typewriter
10132
10133 \backslash
10134 setcounter{equation}
10135 \family default
10136  (2.12), Journal abreviaciones (2.13.4), 
10137 \family typewriter
10138
10139 \backslash
10140 figurenum
10141 \family default
10142  (2.14.1), 
10143 \family typewriter
10144
10145 \backslash
10146 epsscale
10147 \family default
10148  (2.14.1), 
10149 \family typewriter
10150
10151 \backslash
10152 plotone
10153 \family default
10154  (2.14.1), 
10155 \family typewriter
10156
10157 \backslash
10158 plottwo
10159 \family default
10160  (2.14.1), 
10161 \family typewriter
10162
10163 \backslash
10164 tablenum
10165 \family default
10166  (2.15.4), 
10167 \family typewriter
10168
10169 \backslash
10170 tableline
10171 \family default
10172  (2.15.4, insertar como primer elemento en la celda izquierda y después donde
10173  se quiera.
10174  No uses ninguna regla de \SpecialChar LyX
10175  en el cuadro), 
10176 \family typewriter
10177
10178 \backslash
10179 tablenotemark
10180 \family default
10181  (2.15.5), 
10182 \family typewriter
10183
10184 \backslash
10185 tablenotetext
10186 \family default
10187  (2.15.5), mucho de Misc (2.17, excepto 
10188 \family typewriter
10189
10190 \backslash
10191 objectname
10192 \family default
10193
10194 \family typewriter
10195
10196 \backslash
10197 dataset
10198 \family default
10199
10200 \family typewriter
10201
10202 \backslash
10203 url
10204 \family default
10205 , y 
10206 \family typewriter
10207
10208 \backslash
10209 email
10210 \family default
10211 ; véase arriba), 
10212 \family typewriter
10213
10214 \backslash
10215 singlespace
10216 \family default
10217  (3.1), 
10218 \family typewriter
10219
10220 \backslash
10221 doublespace
10222 \family default
10223  (3.1), 
10224 \family typewriter
10225
10226 \backslash
10227 onecolumn
10228 \family default
10229  (3.2), 
10230 \family typewriter
10231
10232 \backslash
10233 twocolumn
10234 \family default
10235  (3.2)
10236 \end_layout
10237
10238 \begin_layout Subsubsection
10239 Cosas que no pueden implementarse
10240 \end_layout
10241
10242 \begin_layout Standard
10243 \SpecialChar ldots
10244  al menos de forma significativa, así que sugiero ignorarlas.
10245  Están los entornos 
10246 \family sans
10247 references
10248 \family default
10249  (2.13.3) y 
10250 \family sans
10251 deluxetable
10252 \family default
10253  (2.15).
10254  Si de verdad necesitas usar 
10255 \family sans
10256 deluxetable
10257 \family default
10258 , sugiero editar un archivo aparte con un editor de textos, y luego incluirlo
10259  en el documento \SpecialChar LyX
10260  con 
10261 \family sans
10262 Insertar\SpecialChar menuseparator
10263 Documento
10264 \family default
10265
10266 \begin_inset space ~
10267 \end_inset
10268
10269
10270 \family sans
10271 hijo
10272 \family default
10273 .
10274  Véase el archivo 
10275 \family typewriter
10276 aas_sample.lyx
10277 \family default
10278  como ejemplo.
10279 \end_layout
10280
10281 \begin_layout Subsection
10282 FAQs, consejos, trucos, y otras reflexiones
10283 \end_layout
10284
10285 \begin_layout Subsubsection
10286 Conseguir que \SpecialChar LyX
10287  y AAS\SpecialChar TeX
10288  cooperen
10289 \end_layout
10290
10291 \begin_layout Standard
10292 Puede ser un poco complicado hacer que \SpecialChar LyX
10293  reconozca un nuevo formato y una
10294  nueva clase.
10295  Si todo lo demás falla, haz lo siguiente:
10296 \end_layout
10297
10298 \begin_layout Enumerate
10299 Comprueba que \SpecialChar LaTeX
10300  encuentra a AAS\SpecialChar TeX
10301 .
10302  Copia 
10303 \family typewriter
10304 sample.tex
10305 \family default
10306  (y quizá 
10307 \family typewriter
10308 table.tex
10309 \family default
10310 ) de la distribución de AAS\SpecialChar TeX
10311  en un directorio totalmente independiente de
10312  \SpecialChar LaTeX
10313  y
10314 \family typewriter
10315  de
10316 \family default
10317  AAS\SpecialChar TeX
10318  y ejecuta \SpecialChar LaTeX
10319  sobre 
10320 \family typewriter
10321 sample.tex
10322 \family default
10323 .
10324 \end_layout
10325
10326 \begin_layout Enumerate
10327 Comprueba que 
10328 \family typewriter
10329 aastex.layout
10330 \family default
10331  está en 
10332 \family typewriter
10333 /usr/.../share/lyx/layouts
10334 \family default
10335  o en 
10336 \family typewriter
10337 ~/.lyx/layouts
10338 \family default
10339 .
10340 \end_layout
10341
10342 \begin_layout Enumerate
10343 Ejecuta 
10344 \family sans
10345 Herramientas\SpecialChar menuseparator
10346 Reconfigurar
10347 \family default
10348  en \SpecialChar LyX
10349 , y reinicia \SpecialChar LyX
10350 .
10351 \end_layout
10352
10353 \begin_layout Enumerate
10354 Abre un archivo nuevo normal, no desde plantilla.
10355  ¿Aparece AAS\SpecialChar TeX
10356  en la lista desplegable de clases en 
10357 \family sans
10358 Documento\SpecialChar menuseparator
10359 Configuración
10360 \family default
10361 ?
10362 \end_layout
10363
10364 \begin_layout Standard
10365 Si al abrir un documento AAS\SpecialChar TeX
10366  recibes un aviso de que no se encuentra la
10367  clase AAS\SpecialChar TeX
10368 , o un mensaje como 
10369 \begin_inset Quotes cld
10370 \end_inset
10371
10372 You should not mix title layouts with normal ones
10373 \begin_inset Quotes crd
10374 \end_inset
10375
10376 , la instalación no ha sido correcta.
10377 \end_layout
10378
10379 \begin_layout Subsubsection
10380 Error de \SpecialChar LaTeX
10381  al procesar un cuadro
10382 \end_layout
10383
10384 \begin_layout Standard
10385 \SpecialChar LyX
10386 , por omisión, intenta centrar el encabezado/título del cuadro.
10387  Esto parece ocasionar una mala interacción con AAS\SpecialChar TeX
10388 ; entonces debes hacer
10389  clic en algún sitio del encabezado/título, después abrir la 
10390 \family sans
10391 Configuración
10392 \family default
10393
10394 \begin_inset space ~
10395 \end_inset
10396
10397
10398 \family sans
10399 del
10400 \family default
10401
10402 \begin_inset space ~
10403 \end_inset
10404
10405
10406 \family sans
10407 párrafo
10408 \family default
10409 , y elegir 
10410 \family sans
10411 Alineación
10412 \family default
10413 :
10414 \family sans
10415  Centro
10416 \family default
10417 .
10418  En mi caso, esto ha resuelto el problema.
10419 \end_layout
10420
10421 \begin_layout Subsubsection
10422 Referencias
10423 \end_layout
10424
10425 \begin_layout Standard
10426 Un par de cosas: 1) He observado algunos espacios raros en las entradas
10427  de la bibliografía.
10428  Cuando introduzcas los datos de los ítems de la bibliografía, cuida que
10429  
10430 \emph on
10431 no
10432 \emph default
10433  haya espacio entre el último autor y el paréntesis que contiene el año;
10434  p.
10435 \begin_inset space \thinspace{}
10436 \end_inset
10437
10438 ej., escribe 
10439 \family typewriter
10440 Ressler(1992)
10441 \family default
10442 , no 
10443 \family typewriter
10444 Ressler (1992)
10445 \family default
10446 .
10447  2) Introducir las referencias no es nada obvio.
10448  La cosa más fácil es empezar escribiendo tu primera cita al final del documento
10449 , y después marcarla como 
10450 \family sans
10451 Referencia
10452 \family default
10453 .
10454  Esto pondrá un pequeño recuadro gris delante de lo recién escrito.
10455  Clic en el recuadro para rellenar el resto de la información.
10456  Para nuevas referencias, ve al final de una referencia existente y pulsa
10457  
10458 \family typewriter
10459 Return
10460 \family default
10461 .
10462  Esto creará una línea nueva con su propio recuadro, etc.
10463 \end_layout
10464
10465 \begin_layout Subsubsection
10466 Incluir archivos EPS
10467 \end_layout
10468
10469 \begin_layout Standard
10470 Aunque AAS\SpecialChar TeX
10471  provee sus propios comandos de gráficos (
10472 \family typewriter
10473
10474 \backslash
10475 plotone
10476 \family default
10477 , por ejemplo), prefiero los comandos estándar de \SpecialChar LaTeX
10478  (con el predeterminado
10479  
10480 \family typewriter
10481 graphicx
10482 \family default
10483 ).
10484  Puedes insertar los comandos 
10485 \family typewriter
10486
10487 \backslash
10488 plotone
10489 \family default
10490 , etc.
10491 \begin_inset space ~
10492 \end_inset
10493
10494 como código \SpecialChar TeX
10495  en una Figura Flotante si lo deseas, pero yo nunca he tenido
10496  la suerte de conseguir un formato correcto.
10497  Con los gráficos estándar, \SpecialChar LyX
10498  inserta el comando 
10499 \family typewriter
10500
10501 \backslash
10502 usepackage{graphicx}
10503 \family default
10504  en el preámbulo \SpecialChar LaTeX
10505  y maneja las figuras de la manera habitual en \SpecialChar LaTeX2e
10506 , intercalando
10507  las figuras en el texto.
10508  Recuerdo que ApJ acepta ahora figuras exactamente de esta forma; AJ podría
10509  usar todavía la técnica 
10510 \begin_inset Quotes cld
10511 \end_inset
10512
10513 apilar todo al final
10514 \begin_inset Quotes crd
10515 \end_inset
10516
10517 .
10518 \end_layout
10519
10520 \begin_layout Subsubsection
10521 Cosas que podría haber hecho, y no he hecho
10522 \end_layout
10523
10524 \begin_layout Standard
10525 Podría haber implementado unas pocas cosas 
10526 \begin_inset Quotes cld
10527 \end_inset
10528
10529 bonitas
10530 \begin_inset Quotes crd
10531 \end_inset
10532
10533 , pero decidí no hacerlo.
10534  Por ejemplo, no veía la utilidad en presentar doble espacio entre líneas
10535  en la ventana de \SpecialChar LyX
10536 , aunque lo tenga en la salida impresa.
10537  También decidí no hacer formatos separados para los estilos 
10538 \family typewriter
10539 preprint
10540 \family default
10541  y 
10542 \family typewriter
10543 preprint2
10544 \family default
10545 .
10546  Como supongo que pasas la mayor parte del tiempo en el modo manuscrito
10547  simple, he preferido no comer más espacio de disco con esto.
10548  
10549 \end_layout
10550
10551 \begin_layout Subsection
10552 Advertencia final
10553 \end_layout
10554
10555 \begin_layout Standard
10556 Tu recorrido puede variar.
10557  He escrito artículos publicados por ApJ y AJ en los que el 98
10558 \begin_inset space \thinspace{}
10559 \end_inset
10560
10561 % de la tarea ha corrido a cuenta de \SpecialChar LyX
10562 ; el 2
10563 \begin_inset space \thinspace{}
10564 \end_inset
10565
10566 % restante ha correspondido a postprocesamiento con \SpecialChar LaTeX
10567  y un poco de limpieza
10568  final.
10569  No he tenido problemas con el procedimiento de envío, y estoy seguro de
10570  que los editores no notaron diferencias.
10571  Así pues, ¡adelante, a publicar!
10572 \end_layout
10573
10574 \begin_layout Section
10575 AMS \SpecialChar LaTeX
10576
10577 \end_layout
10578
10579 \begin_layout Standard
10580 por 
10581 \noun on
10582 David Johnson; 
10583 \noun default
10584 actualizado por 
10585 \noun on
10586 Richard Kimberly Heck
10587 \end_layout
10588
10589 \begin_layout Standard
10590 \begin_inset VSpace bigskip
10591 \end_inset
10592
10593
10594 \end_layout
10595
10596 \begin_layout Standard
10597 \noindent
10598 Los formatos AMS \SpecialChar LaTeX
10599  están configurados para adaptarse a los estilos recomendados
10600  por la 
10601 \emph on
10602 American Mathematical Society
10603 \emph default
10604  para sus publicaciones.
10605  Estos formatos no están definidos para una revista en particular, pero
10606  se pueden adaptar fácilmente.
10607  En la documentación de AMS (disponible en 
10608 \begin_inset Flex URL
10609 status collapsed
10610
10611 \begin_layout Plain Layout
10612
10613 http://www.ams.org
10614 \end_layout
10615
10616 \end_inset
10617
10618  o 
10619 \begin_inset Flex URL
10620 status collapsed
10621
10622 \begin_layout Plain Layout
10623
10624 ftp://ftp.ams.org/pub/tex/amslatex/
10625 \end_layout
10626
10627 \end_inset
10628
10629 ) encontrarás instrucciones específicas para cada publicación (generalmente
10630  será cuestión de cambiar una simple línea).
10631  Estos formatos son apropiados, y útiles, para cualquier escrito de matemáticas.
10632 \end_layout
10633
10634 \begin_layout Standard
10635 \noindent
10636 Hay dos formatos básicos AMS \SpecialChar LaTeX
10637
10638 \end_layout
10639
10640 \begin_layout Itemize
10641 amsart: formato estándar de artículo AMS
10642 \end_layout
10643
10644 \begin_layout Itemize
10645 amsbook: formato estándar de libro AMS (en realidad, monografía) 
10646 \end_layout
10647
10648 \begin_layout Standard
10649 Los formatos por sí mismos solo contienen el mínimo necesario para usar
10650  las clases AMS.
10651  En particular, no contienen ninguno de los entornos 'teorema' utilizados
10652  para establecer teoremas, lemas y demás.
10653  Estos se encuentran, en cambio, en el módulo 
10654 \begin_inset Flex Code
10655 status collapsed
10656
10657 \begin_layout Plain Layout
10658 Teoremas (AMS)
10659 \end_layout
10660
10661 \end_inset
10662
10663 , que se carga por omisión cuando seleccionas una de las clases AMS.
10664  (Además se puede usar con otras clases y se puede quitar, si prefieres
10665  usar otra cosa).
10666  Hay entornos menos utilizados en el módulo 
10667 \begin_inset Flex Code
10668 status collapsed
10669
10670 \begin_layout Plain Layout
10671 Teoremas (AMS-Extendido)
10672 \end_layout
10673
10674 \end_inset
10675
10676 , que se debe cargar a mano.
10677 \end_layout
10678
10679 \begin_layout Standard
10680 Por omisión, los teoremas y demás se numeran consecutivamente a lo largo
10681  del documento, pero esto se puede modificar cargando el módulo 
10682 \begin_inset Flex Code
10683 status collapsed
10684
10685 \begin_layout Plain Layout
10686 Teoremas (por secciones)
10687 \end_layout
10688
10689 \end_inset
10690
10691  o, si estás usando 
10692 \begin_inset Flex Code
10693 status collapsed
10694
10695 \begin_layout Plain Layout
10696 book (AMS)
10697 \end_layout
10698
10699 \end_inset
10700
10701 , el módulo 
10702 \begin_inset Flex Code
10703 status collapsed
10704
10705 \begin_layout Plain Layout
10706 Teoremas (por capítulos)
10707 \end_layout
10708
10709 \end_inset
10710
10711 .
10712  Estos numerarán los resultados como 
10713 \begin_inset Formula $n.m$
10714 \end_inset
10715
10716 , donde el primer número se refiere a la sección (o capítulo) y el segundo
10717  al número total de resultados hasta ese momento en la sección (o capítulo).
10718  Muchos entornos también están disponibles sin numeración.
10719  Estos se indican mediante un asterisco al final.
10720  Si es el caso que quieres 
10721 \emph on
10722 solo
10723 \emph default
10724  resultados sin numerar, el módulo 
10725 \begin_inset Flex Code
10726 status collapsed
10727
10728 \begin_layout Plain Layout
10729 Teoremas (asterisco)
10730 \end_layout
10731
10732 \end_inset
10733
10734  proporciona esta opción.
10735 \end_layout
10736
10737 \begin_layout Standard
10738 Hay que tener en cuenta que estos módulos no
10739 \emph on
10740  deben 
10741 \emph default
10742 utilizarse con las clases AMS.
10743  Es perfectamente posible usar el módulo 
10744 \begin_inset Flex Code
10745 status collapsed
10746
10747 \begin_layout Plain Layout
10748 Teoremas (AMS)
10749 \end_layout
10750
10751 \end_inset
10752
10753  y los otros mencionados con otras clases, como 
10754 \begin_inset Flex Code
10755 status collapsed
10756
10757 \begin_layout Plain Layout
10758 article
10759 \end_layout
10760
10761 \end_inset
10762
10763
10764 \begin_inset Flex Code
10765 status collapsed
10766
10767 \begin_layout Plain Layout
10768 report
10769 \end_layout
10770
10771 \end_inset
10772
10773
10774 \begin_inset Flex Code
10775 status collapsed
10776
10777 \begin_layout Plain Layout
10778 book (KOMA-script)
10779 \end_layout
10780
10781 \end_inset
10782
10783 , etc.
10784 \end_layout
10785
10786 \begin_layout Subsection
10787 Qué proporcionan estos formatos
10788 \end_layout
10789
10790 \begin_layout Standard
10791 Estos formatos proporcionan una larga lista de entornos incluidos.
10792  En AMS-\SpecialChar LaTeX
10793  se puede definir, de hecho, una variedad ilimitada de entornos
10794  'teorema'.
10795  Sin embargo AMS recomienda utilizar los entornos que están disponibles
10796  en \SpecialChar LyX
10797 .
10798  
10799 \end_layout
10800
10801 \begin_layout Standard
10802 Los siguientes entornos —así como los entornos estándar como 
10803 \begin_inset Flex Noun
10804 status collapsed
10805
10806 \begin_layout Plain Layout
10807 sección
10808 \end_layout
10809
10810 \end_inset
10811
10812
10813 \begin_inset Flex Noun
10814 status collapsed
10815
10816 \begin_layout Plain Layout
10817 bibliografía
10818 \end_layout
10819
10820 \end_inset
10821
10822
10823 \begin_inset Flex Noun
10824 status collapsed
10825
10826 \begin_layout Plain Layout
10827 título
10828 \end_layout
10829
10830 \end_inset
10831
10832
10833 \begin_inset Flex Noun
10834 status collapsed
10835
10836 \begin_layout Plain Layout
10837 autor
10838 \end_layout
10839
10840 \end_inset
10841
10842 , y 
10843 \begin_inset Flex Noun
10844 status collapsed
10845
10846 \begin_layout Plain Layout
10847 Fecha
10848 \end_layout
10849
10850 \end_inset
10851
10852 — son suministrados por 
10853 \begin_inset Flex Code
10854 status collapsed
10855
10856 \begin_layout Plain Layout
10857 article (AMS)
10858 \end_layout
10859
10860 \end_inset
10861
10862  y 
10863 \begin_inset Flex Code
10864 status collapsed
10865
10866 \begin_layout Plain Layout
10867 book (AMS)
10868 \end_layout
10869
10870 \end_inset
10871
10872 :
10873 \end_layout
10874
10875 \begin_layout Description
10876 Dirección Esto debería ser la dirección permanente del autor.
10877 \end_layout
10878
10879 \begin_layout Description
10880 Dirección
10881 \begin_inset space ~
10882 \end_inset
10883
10884 actual Debería ser la dirección provisional del autor en el momento de la
10885  presentación, si es diferente de la Dirección.
10886 \end_layout
10887
10888 \begin_layout Description
10889 Correo
10890 \begin_inset space ~
10891 \end_inset
10892
10893 electrónico Dirección de correo electrónico del autor.
10894 \end_layout
10895
10896 \begin_layout Description
10897 URL Dirección de la página web del autor, si se quiere.
10898 \end_layout
10899
10900 \begin_layout Description
10901 Claves Palabras o frases claves usadas para identificar temas específicos
10902  tratados en el artículo.
10903 \end_layout
10904
10905 \begin_layout Description
10906 ClaseTema Se refiere a la Clasificación de temas de AMS, publicada y descrita
10907  en 
10908 \emph on
10909 Mathematical Reviews
10910 \emph default
10911 .
10912  También están disponibles en línea en los sitios AMS citados arriba.
10913 \end_layout
10914
10915 \begin_layout Description
10916 Agradecimientos
10917 \end_layout
10918
10919 \begin_layout Description
10920 Dedicatoria
10921 \end_layout
10922
10923 \begin_layout Description
10924 Traductor
10925 \end_layout
10926
10927 \begin_layout Standard
10928 Los siguientes entornos son suministrados por ambos módulos 
10929 \begin_inset Flex Code
10930 status collapsed
10931
10932 \begin_layout Plain Layout
10933 Teoremas
10934 \end_layout
10935
10936 \end_inset
10937
10938  y 
10939 \begin_inset Flex Code
10940 status collapsed
10941
10942 \begin_layout Plain Layout
10943 Teoremas (AMS)
10944 \end_layout
10945
10946 \end_inset
10947
10948 , en el segundo caso en ambas versiones no numerada (asterisco) y numerada
10949  (sin asterisco).
10950  Estos mismos entornos son suministrados solo en la versión con asterisco
10951  por el módulo 
10952 \begin_inset Flex Code
10953 status collapsed
10954
10955 \begin_layout Plain Layout
10956 Teoremas (asterisco)
10957 \end_layout
10958
10959 \end_inset
10960
10961 :
10962 \end_layout
10963
10964 \begin_layout Theorem
10965 Se usa típicamente para declaraciones fundamentales.
10966 \end_layout
10967
10968 \begin_layout Corollary*
10969 Se usa para declaraciones que se siguen justa y directamente de declaraciones
10970  previas.
10971  De nuevo, pueden ser resultados fundamentales.
10972  
10973 \end_layout
10974
10975 \begin_layout Lemma
10976 Resultados de menor importancia necesarios para probar otras declaraciones.
10977 \end_layout
10978
10979 \begin_layout Proposition
10980 Son resultados menos importantes que (es de esperar) se añaden a la teoría
10981  general en discusión.
10982 \end_layout
10983
10984 \begin_layout Conjecture
10985 Son afirmaciones propuestas sin justificación, que el autor no sabe como
10986  probar, pero que parecen ser ciertas (al menos para el autor).
10987 \end_layout
10988
10989 \begin_layout Definition*
10990 Adivina para qué es esto.
10991  La letra es distinta en este entorno que en los anteriores.
10992 \end_layout
10993
10994 \begin_layout Example*
10995 Se usa para ejemplos que ilustran resultados probados.
10996 \end_layout
10997
10998 \begin_layout Problem
10999 Realmente no se sabe para qué es esto.
11000  Imagínatelo.
11001 \end_layout
11002
11003 \begin_layout Exercise*
11004 Escribe una descripción para esto.
11005 \end_layout
11006
11007 \begin_layout Remark
11008 Este entorno es también un tipo de teorema, generalmente un tipo menor de
11009  observación.
11010 \end_layout
11011
11012 \begin_layout Claim*
11013 Usada a menudo en el curso de una demostración de un resultado más amplio.
11014 \end_layout
11015
11016 \begin_layout Case
11017 Generalmente se usan para interrumpir argumentos largos, usando casos específico
11018 s de alguna condición.
11019 \end_layout
11020
11021 \begin_layout Case
11022 El esquema de numeración de casos es propio, independiente de otras declaracione
11023 s numeradas.
11024 \end_layout
11025
11026 \begin_layout Proof
11027 Al final de este entorno se coloca un símbolo QED (generalmente un cuadrado,
11028  aunque puede variar con estilos diferentes).
11029  Si quieres tener otros entornos dentro de este —por ejemplo, un entorno
11030  Caso— y quieres que el símbolo QED aparezca solo tras ellos, entonces los
11031  demás entornos tienen que anidarse dentro del entorno demostración.
11032  Véase la sección 
11033 \emph on
11034 Anidación de entornos
11035 \emph default
11036  de la 
11037 \emph on
11038 Guía del usuario
11039 \emph default
11040  para información sobre anidación.
11041 \end_layout
11042
11043 \begin_layout Standard
11044 Y estos son los entornos suministrados por 
11045 \begin_inset Flex Code
11046 status collapsed
11047
11048 \begin_layout Plain Layout
11049 Teoremas (AMS extendido)
11050 \end_layout
11051
11052 \end_inset
11053
11054 :
11055 \end_layout
11056
11057 \begin_layout Criterion*
11058 Una condición requerida.
11059 \end_layout
11060
11061 \begin_layout Algorithm*
11062 Un procedimiento general a utilizar.
11063 \end_layout
11064
11065 \begin_layout Axiom*
11066 Esto es una propiedad o declaración tomada como verdadera dentro del sistema
11067  en discusión.
11068 \end_layout
11069
11070 \begin_layout Condition*
11071 Utilizado a veces para establecer una condición asumida en el presente contexto
11072  de discusión.
11073 \end_layout
11074
11075 \begin_layout Note*
11076 Similar a Observación.
11077 \end_layout
11078
11079 \begin_layout Notation*
11080 Usado para la explicación de una notación, sí.
11081 \end_layout
11082
11083 \begin_layout Summary
11084 ¿Necesitamos explicarlo?
11085 \end_layout
11086
11087 \begin_layout Acknowledgement*
11088 Agradecimiento.
11089 \end_layout
11090
11091 \begin_layout Conclusion*
11092 Usado a veces al final de una larga cadena de argumentos.
11093 \end_layout
11094
11095 \begin_layout Fact
11096 Se usa en forma parecida a Proposición, aunque quizá a una menor escala.
11097 \end_layout
11098
11099 \begin_layout Standard
11100 Además, Las clases AMS suministran automáticamente los paquetes de tipografía
11101  AMS \SpecialChar LaTeX
11102  y AMS.
11103  Deben estar disponibles en tu sistema para usar estos entornos.
11104 \end_layout
11105
11106 \begin_layout Section
11107 Broadway
11108 \end_layout
11109
11110 \begin_layout Standard
11111 por 
11112 \shape smallcaps
11113 Garst Reese
11114 \end_layout
11115
11116 \begin_layout Subsection
11117 Introducción
11118 \end_layout
11119
11120 \begin_layout Standard
11121 Broadway se usa para escribir guiones teatrales.
11122  El formato es más decorativo que el de Hollywood, y mucho menos normalizado.
11123  Este formato debería ser adecuado para los lugares de trabajo.
11124 \end_layout
11125
11126 \begin_layout Subsection
11127 Problemas especiales
11128 \end_layout
11129
11130 \begin_layout Standard
11131 Los mismos que en el caso de 
11132 \family sans
11133 Hollywood
11134 \family default
11135 .
11136 \end_layout
11137
11138 \begin_layout Subsection
11139 Características especiales
11140 \end_layout
11141
11142 \begin_layout Standard
11143 Introduce los nombres de los personajes 
11144 \family sans
11145 (Portavoz)
11146 \family default
11147  como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
11148  el nombre.
11149  El diálogo de referencia cruzada mostrará el conjunto de personajes.
11150 \end_layout
11151
11152 \begin_layout Subsection
11153 Tamaño del papel y márgenes
11154 \end_layout
11155
11156 \begin_layout Standard
11157 USLetter, izquierdo 1.6
11158 \begin_inset space \thinspace{}
11159 \end_inset
11160
11161 in, derecho 0.75
11162 \begin_inset space \thinspace{}
11163 \end_inset
11164
11165 in, superior 0.5
11166 \begin_inset space \thinspace{}
11167 \end_inset
11168
11169 in, inferior 0.75
11170 \begin_inset space \thinspace{}
11171 \end_inset
11172
11173 in
11174 \end_layout
11175
11176 \begin_layout Subsection
11177 Entornos
11178 \end_layout
11179
11180 \begin_layout Standard
11181 Están disponibles los entornos siguientes.
11182  Los atajos de teclado indicados a la derecha funcionan con el archivo
11183 \family typewriter
11184  broadway.bind
11185 \family default
11186 .
11187 \end_layout
11188
11189 \begin_layout Itemize
11190
11191 \family sans
11192 Normal
11193 \begin_inset Newline newline
11194 \end_inset
11195
11196
11197 \family default
11198 No deberías necesitarlo, pero está por si alguna cosa no cuadra en ninguno
11199  de los demás entornos.
11200 \end_layout
11201
11202 \begin_layout Itemize
11203
11204 \family sans
11205 Narrativa
11206 \begin_inset space \hfill{}
11207 \end_inset
11208
11209 M-z n
11210 \begin_inset Newline newline
11211 \end_inset
11212
11213
11214 \family default
11215 Se usa para la descripción del escenario y de la acción.
11216  La primera aparición de un personaje en MAYÚSCULAS.
11217 \end_layout
11218
11219 \begin_layout Itemize
11220
11221 \family sans
11222 ACTO
11223 \begin_inset space \hfill{}
11224 \end_inset
11225
11226 M-z a
11227 \begin_inset Newline newline
11228 \end_inset
11229
11230
11231 \family default
11232 Automáticamente numerado.
11233  En pantalla se verá en números arábigos, pero se imprimirá en números romanos.
11234 \end_layout
11235
11236 \begin_layout Itemize
11237
11238 \family sans
11239 ACTO*
11240 \begin_inset space \hfill{}
11241 \end_inset
11242
11243 M-z S at
11244 \begin_inset Newline newline
11245 \end_inset
11246
11247
11248 \family default
11249 Subtítulo para 
11250 \family sans
11251 ACTO.
11252
11253 \family default
11254  Es texto centrado.
11255 \end_layout
11256
11257 \begin_layout Itemize
11258
11259 \family sans
11260 ESCENA
11261 \begin_inset space \hfill{}
11262 \end_inset
11263
11264 M-z S-S
11265 \begin_inset Newline newline
11266 \end_inset
11267
11268
11269 \family default
11270 No es automáticamente numerado, debes ponerlo.
11271  Esto es porque no he sabido cómo hacerlo.
11272 \end_layout
11273
11274 \begin_layout Itemize
11275
11276 \family sans
11277 SUBIR_TELÓN:
11278 \begin_inset space \hfill{}
11279 \end_inset
11280
11281 M-z S-R
11282 \begin_inset Newline newline
11283 \end_inset
11284
11285
11286 \family default
11287 Un caso especial de 
11288 \family sans
11289 Narrativa
11290 \family default
11291  para describir el escenario y la acción cuando se levanta el telón.
11292 \end_layout
11293
11294 \begin_layout Itemize
11295
11296 \family sans
11297 Portavoz
11298 \begin_inset space \hfill{}
11299 \end_inset
11300
11301 M-z s
11302 \begin_inset Newline newline
11303 \end_inset
11304
11305
11306 \family default
11307 El nombre del personaje (del actor), centrado, en MAYÚSCULAS.
11308 \end_layout
11309
11310 \begin_layout Itemize
11311
11312 \family sans
11313 Entre_Paréntesis
11314 \begin_inset space \hfill{}
11315 \end_inset
11316
11317 M-z p
11318 \begin_inset Newline newline
11319 \end_inset
11320
11321
11322 \family default
11323 Instrucciones para el portavoz.
11324  Los paréntesis se insertan automáticamente.
11325  Solo ( se muestra en pantalla, pero se imprimirán ambos.
11326  Este entorno solo se usa dentro del entorno 
11327 \family sans
11328 Diálogo
11329 \family default
11330 .
11331 \end_layout
11332
11333 \begin_layout Itemize
11334
11335 \family sans
11336 Diálogo
11337 \begin_inset space \hfill{}
11338 \end_inset
11339
11340 M-z d
11341 \begin_inset Newline newline
11342 \end_inset
11343
11344
11345 \family default
11346 Lo que dice el personaje portavoz.
11347 \end_layout
11348
11349 \begin_layout Itemize
11350
11351 \family sans
11352 CORTINA
11353 \begin_inset space \hfill{}
11354 \end_inset
11355
11356 M-z S-C
11357 \begin_inset Newline newline
11358 \end_inset
11359
11360
11361 \family default
11362 Cae el telón.
11363 \end_layout
11364
11365 \begin_layout Itemize
11366
11367 \family sans
11368 Título
11369 \begin_inset space \hfill{}
11370 \end_inset
11371
11372 M-z S-T
11373 \end_layout
11374
11375 \begin_layout Itemize
11376
11377 \family sans
11378 Autor
11379 \begin_inset space \hfill{}
11380 \end_inset
11381
11382 M-z S-A
11383 \end_layout
11384
11385 \begin_layout Itemize
11386
11387 \family sans
11388 Dirección_dcha
11389 \begin_inset space \hfill{}
11390 \end_inset
11391
11392 M-z r
11393 \end_layout
11394
11395 \begin_layout Standard
11396 Un saludo para todos.
11397 \end_layout
11398
11399 \begin_layout Section
11400 Dinbrief
11401 \end_layout
11402
11403 \begin_layout Standard
11404 La clase de documento 
11405 \family sans
11406 dinbrief
11407 \family default
11408  sirve para escribir cartas de acuerdo con las convenciones alemanas.
11409  Se incluye un archivo modelo como punto de partida, en 
11410 \family typewriter
11411 .../lyx/share/templates
11412 \family default
11413 .
11414 \end_layout
11415
11416 \begin_layout Section
11417 Publicaciones de Elsevier
11418 \end_layout
11419
11420 \begin_layout Standard
11421 Véase el archivo de plantilla de \SpecialChar LyX
11422  
11423 \family typewriter
11424 elsarticle.lyx
11425 \family default
11426 .
11427  Contiene la información necesaria.
11428 \end_layout
11429
11430 \begin_layout Section
11431 Foils (antes 
11432 \family sans
11433 Foil
11434 \family default
11435 \noun on
11436 \SpecialChar TeX
11437
11438 \noun default
11439 )
11440 \begin_inset CommandInset label
11441 LatexCommand label
11442 name "sec:foiltex"
11443
11444 \end_inset
11445
11446
11447 \end_layout
11448
11449 \begin_layout Standard
11450 por 
11451 \noun on
11452 Allan Rae
11453 \end_layout
11454
11455 \begin_layout Subsection
11456 Introducción
11457 \end_layout
11458
11459 \begin_layout Standard
11460 En esta sección se describe cómo hacer transparencias para proyectores con
11461  \SpecialChar LyX
11462 .
11463  Hay dos clases de documento que permiten hacerlas: la clase predeterminada
11464  
11465 \family sans
11466 slides
11467 \family default
11468 \emph on
11469  
11470 \emph default
11471 y la clase 
11472 \family sans
11473 Foil
11474 \family default
11475 \SpecialChar TeX
11476 .
11477  Esta sección se ocupa de esta última.
11478 \end_layout
11479
11480 \begin_layout Standard
11481 Repito de nuevo alto y claro, para que no haya equívocos:
11482 \end_layout
11483
11484 \begin_layout Standard
11485 \begin_inset VSpace bigskip
11486 \end_inset
11487
11488
11489 \end_layout
11490
11491 \begin_layout Standard
11492 \align center
11493
11494 \size large
11495 Esta sección trata 
11496 \emph on
11497 solo
11498 \emph default
11499
11500 \begin_inset space ~
11501 \end_inset
11502
11503  la clase 
11504 \family sans
11505 FoilTeX
11506 \family default
11507 \emph on
11508 .
11509 \end_layout
11510
11511 \begin_layout Standard
11512 \begin_inset VSpace bigskip
11513 \end_inset
11514
11515
11516 \end_layout
11517
11518 \begin_layout Standard
11519 Si buscas la documentación para 
11520 \family sans
11521 slides (default)
11522 \family default
11523 , mira la sección
11524 \begin_inset space ~
11525 \end_inset
11526
11527
11528 \begin_inset CommandInset ref
11529 LatexCommand ref
11530 reference "sec:slitex"
11531
11532 \end_inset
11533
11534 .
11535  Si tu sistema no dispone de la clase 
11536 \family sans
11537 FoilTeX
11538 \family default
11539 , tendrás que usar la clase 
11540 \family sans
11541 slides
11542 \family default
11543 , que no es tan buena como 
11544 \family sans
11545 foils.
11546 \end_layout
11547
11548 \begin_layout Standard
11549 La clase 
11550 \family sans
11551 foils
11552 \family default
11553  está diseñada para usar con la versión
11554 \begin_inset space ~
11555 \end_inset
11556
11557 2.1 de la clase \SpecialChar LaTeX
11558  
11559 \family sans
11560 foils.cls
11561 \family default
11562 , que forma parte de \SpecialChar LaTeX2e
11563 .
11564 \end_layout
11565
11566 \begin_layout Subsection
11567 Para empezar
11568 \end_layout
11569
11570 \begin_layout Standard
11571 Obviamente, para usar esta clase, debes seleccionar 
11572 \family sans
11573 FoilTeX
11574 \family default
11575  en el diálogo 
11576 \family sans
11577 Documento\SpecialChar menuseparator
11578 Configuración
11579 \family default
11580 .
11581  Algunas de las configuraciones de este diálogo son específicas de esta
11582  clase y deberían quedar así:
11583 \end_layout
11584
11585 \begin_layout Itemize
11586 No cambies las opciones 
11587 \family sans
11588 Caras
11589 \family default
11590  y 
11591 \family sans
11592 Columnas
11593 \family default
11594 .
11595  No se tienen en cuenta por la clase 
11596 \family sans
11597 foils
11598 \family default
11599 .
11600 \end_layout
11601
11602 \begin_layout Itemize
11603 El tamaño de letra por omisión es 20
11604 \begin_inset space \thinspace{}
11605 \end_inset
11606
11607 pt, y las otras opciones son 17
11608 \begin_inset space \thinspace{}
11609 \end_inset
11610
11611 pt, 25
11612 \begin_inset space \thinspace{}
11613 \end_inset
11614
11615 pt y 30
11616 \begin_inset space \thinspace{}
11617 \end_inset
11618
11619 pt.
11620 \end_layout
11621
11622 \begin_layout Itemize
11623 La tipografía predeterminada es 
11624 \family sans
11625 sans
11626 \family default
11627  
11628 \family sans
11629 serif
11630 \family default
11631 , pero en las ecuaciones matemáticas se usa la habitual fuente romana.
11632 \end_layout
11633
11634 \begin_layout Itemize
11635
11636 \family sans
11637 Foil
11638 \family default
11639 \SpecialChar TeX
11640  soporta los tamaños de papel A4 y Letter, así como un tamaño especial para
11641  trabajar con diapositivas de 35
11642 \begin_inset space \thinspace{}
11643 \end_inset
11644
11645 mm.
11646  No soporta los tamaños A5, B5, legal o executive.
11647 \end_layout
11648
11649 \begin_layout Itemize
11650 No enredes cambiando la colocación de flotantes porque se ignoran en todo
11651  caso.
11652  Los flotantes aparecen siempre en el lugar del texto donde se pongan.
11653 \end_layout
11654
11655 \begin_layout Itemize
11656 La configuración del 
11657 \family sans
11658 Diseño
11659 \begin_inset space ~
11660 \end_inset
11661
11662 de
11663 \begin_inset space ~
11664 \end_inset
11665
11666 página
11667 \family default
11668  funciona un poco distinto para esta clase.
11669  
11670 \family sans
11671 Foil
11672 \family default
11673 \SpecialChar TeX
11674  proporciona amplias capacidades para el encabezado y el pie, incluyendo
11675  el uso de logos personalizados.
11676  Véase la sección
11677 \begin_inset space ~
11678 \end_inset
11679
11680
11681 \begin_inset CommandInset ref
11682 LatexCommand ref
11683 reference "sec:foilfoot"
11684
11685 \end_inset
11686
11687  para más detalles.
11688  La página de título se trata de manera diferente a las demás páginas, 
11689 \emph on
11690 siempre 
11691 \emph default
11692 va sin numerar y 
11693 \emph on
11694 siempre 
11695 \emph default
11696 pone el logo, (si se define uno), centrado en la parte inferior de la página.
11697  Las opciones posibles de estilo de página son:
11698 \end_layout
11699
11700 \begin_deeper
11701 \begin_layout Labeling
11702 \labelwidthstring MMMMMMM
11703
11704 \family sans
11705 \series bold
11706 empty
11707 \family default
11708 \series default
11709  El documento de salida no contiene números de página, ni encabezados ni
11710  pies (excepto notas al pie, claro).
11711  
11712 \end_layout
11713
11714 \begin_layout Labeling
11715 \labelwidthstring MMMMMMM
11716
11717 \family sans
11718 \series bold
11719 plain
11720 \family default
11721 \series default
11722  La salida contiene números de página centrados en la parte inferior.
11723  No contiene encabezados ni pies (que no sean notas).
11724 \end_layout
11725
11726 \begin_layout Labeling
11727 \labelwidthstring MMMMMMM
11728
11729 \family sans
11730 \series bold
11731 foilheadings
11732 \family default
11733 \series default
11734  Números de página en la esquina inferior derecha.
11735  Además se muestran encabezados y pies.
11736  Esta es la opción por omisión.
11737 \end_layout
11738
11739 \begin_layout Labeling
11740 \labelwidthstring MMMMMMM
11741
11742 \family sans
11743 \series bold
11744 fancy
11745 \family default
11746 \series default
11747  Da acceso al paquete 
11748 \family sans
11749 fancyheadings
11750 \family default
11751  aunque el autor de 
11752 \family sans
11753 Foil
11754 \family default
11755 \SpecialChar TeX
11756  desaconseja su empleo a causa de potenciales conflictos con el diseño de
11757  la página.
11758 \end_layout
11759
11760 \end_deeper
11761 \begin_layout Subsubsection
11762 Opciones extras
11763 \end_layout
11764
11765 \begin_layout Standard
11766 En el diálogo 
11767 \family sans
11768 Documento\SpecialChar menuseparator
11769 Configuración
11770 \family default
11771  se pueden poner las siguientes opciones extras:
11772 \end_layout
11773
11774 \begin_layout Labeling
11775 \labelwidthstring MMMMMMx
11776
11777 \series bold
11778 35mmSlide
11779 \series default
11780  Establece el formato de papel en 7.33
11781 \begin_inset space \thinspace{}
11782 \end_inset
11783
11784 in por 11
11785 \begin_inset space \thinspace{}
11786 \end_inset
11787
11788 in, que es aproximadamente el aspecto de una diapositiva de 35
11789 \begin_inset space \thinspace{}
11790 \end_inset
11791
11792 mm, Haciendo algo más fácil trabajar con este soporte.
11793 \end_layout
11794
11795 \begin_layout Labeling
11796 \labelwidthstring MMMMMMx
11797
11798 \series bold
11799 headrule
11800 \series default
11801  Dibuja una línea bajo el encabezado en cada página excepto la de título.
11802 \end_layout
11803
11804 \begin_layout Labeling
11805 \labelwidthstring MMMMMMx
11806
11807 \series bold
11808 footrule
11809 \series default
11810  Dibuja una línea sobre el pie de cada página excepto la de título.
11811 \end_layout
11812
11813 \begin_layout Labeling
11814 \labelwidthstring MMMMMMx
11815
11816 \series bold
11817 dvips
11818 \series default
11819  Esto se configura automáticamente con cada nuevo documento 
11820 \family sans
11821 foils
11822 \family default
11823 .
11824  Indica a 
11825 \family sans
11826 Foil
11827 \family default
11828 \SpecialChar TeX
11829  que use el driver dvips para girar las páginas establecidas en modo apaisado.
11830 \end_layout
11831
11832 \begin_layout Labeling
11833 \labelwidthstring MMMMMMx
11834
11835 \series bold
11836 landscape
11837 \series default
11838  Simplemente cambia las dimensiones de las páginas apaisadas pero no haceninguna
11839  rotación.
11840  Por tanto si usas esta opción necesitas un programa externo para rotar
11841  las páginas y alimentar la impresora en modo apaisado.
11842  Ten en cuenta que esta opción invierte los comportamientos de los entornos
11843  
11844 \family sans
11845 Foilhead
11846 \family default
11847  y 
11848 \family sans
11849 Rotatefoilhead
11850 \family default
11851  (que se describen en la siguiente sección).
11852 \end_layout
11853
11854 \begin_layout Labeling
11855 \labelwidthstring MMMMMMx
11856
11857 \series bold
11858 leqno
11859 \series default
11860  Números de ecuación a la izquierda.
11861 \end_layout
11862
11863 \begin_layout Labeling
11864 \labelwidthstring MMMMMMx
11865
11866 \series bold
11867 fleqn
11868 \series default
11869  Ecuaciones ajustadas a la izquierda.
11870 \end_layout
11871
11872 \begin_layout Subsection
11873 Entornos soportados
11874 \end_layout
11875
11876 \begin_layout Standard
11877 La mayoría de los entornos habitualmente soportados en otras clases lo son
11878  también por la clase 
11879 \family sans
11880 foils
11881 \family default
11882 .
11883  Hay varios entornos adicionales suministrados por 
11884 \family sans
11885 Foil
11886 \family default
11887 \SpecialChar TeX
11888  así como un par añadidos por \SpecialChar LyX
11889 .
11890  Los entornos siguientes son compartidos con otras clases:
11891 \end_layout
11892
11893 \begin_layout Standard
11894 \begin_inset Flex Multiple Columns
11895 status open
11896
11897 \begin_layout Itemize
11898
11899 \family sans
11900 Normal
11901 \end_layout
11902
11903 \begin_layout Itemize
11904
11905 \family sans
11906 Enumeración*
11907 \end_layout
11908
11909 \begin_layout Itemize
11910
11911 \family sans
11912 Enumeración
11913 \end_layout
11914
11915 \begin_layout Itemize
11916
11917 \family sans
11918 Descripción
11919 \end_layout
11920
11921 \begin_layout Itemize
11922
11923 \family sans
11924 Lista
11925 \end_layout
11926
11927 \begin_layout Itemize
11928
11929 \family sans
11930 Código-\SpecialChar LyX
11931
11932 \end_layout
11933
11934 \begin_layout Itemize
11935
11936 \family sans
11937 Verso
11938 \end_layout
11939
11940 \begin_layout Itemize
11941
11942 \family sans
11943 Cita
11944 \end_layout
11945
11946 \begin_layout Itemize
11947
11948 \family sans
11949 Citar
11950 \end_layout
11951
11952 \begin_layout Itemize
11953
11954 \family sans
11955 Título
11956 \end_layout
11957
11958 \begin_layout Itemize
11959
11960 \family sans
11961 Autor
11962 \end_layout
11963
11964 \begin_layout Itemize
11965
11966 \family sans
11967 Fecha
11968 \end_layout
11969
11970 \begin_layout Itemize
11971
11972 \family sans
11973 Resumen
11974 \end_layout
11975
11976 \begin_layout Itemize
11977
11978 \family sans
11979 Bibliografía
11980 \end_layout
11981
11982 \begin_layout Itemize
11983
11984 \family sans
11985 Dirección
11986 \end_layout
11987
11988 \begin_layout Itemize
11989
11990 \family sans
11991 Dirección derecha
11992 \end_layout
11993
11994 \end_inset
11995
11996
11997 \end_layout
11998
11999 \begin_layout Standard
12000 Esto es, todos los entornos principales aparte de los entornos de secciones.
12001  Puesto que 
12002 \family sans
12003 foils
12004 \family default
12005  contiene sus propias secciones, con un título y un cuerpo, 
12006 \family sans
12007 Foil
12008 \family default
12009 \SpecialChar TeX
12010  proporciona comandos específicos para comenzar nuevas diapositivas, y son:
12011 \end_layout
12012
12013 \begin_layout Itemize
12014
12015 \family sans
12016 Encabezado_Diapositiva
12017 \end_layout
12018
12019 \begin_layout Itemize
12020
12021 \family sans
12022 Encabezado_Diapositiva_Giro
12023 \end_layout
12024
12025 \begin_layout Standard
12026 Además, \SpecialChar LyX
12027  provee versiones ligeramente modificadas de estos dos entornos,
12028  llamados:
12029 \end_layout
12030
12031 \begin_layout Itemize
12032
12033 \family sans
12034 Encabezado_Diapositiva_Corto
12035 \end_layout
12036
12037 \begin_layout Itemize
12038
12039 \family sans
12040 Encabezado_Diapositiva_Giro_Corto
12041 \end_layout
12042
12043 \begin_layout Standard
12044 cuyas diferencias serán explicadas en la siguiente sección.
12045 \end_layout
12046
12047 \begin_layout Standard
12048 Puesto que las diapositivas se emplean con frecuencia para presentaciones
12049  de ideas, teoremas y demás, 
12050 \family sans
12051 Foil
12052 \family default
12053 \SpecialChar TeX
12054  proporciona además una extensa colección de entornos para estas cosas:
12055 \end_layout
12056
12057 \begin_layout Standard
12058
12059 \family sans
12060 \begin_inset Flex Multiple Columns
12061 status open
12062
12063 \begin_layout Itemize
12064
12065 \family sans
12066 Teorema
12067 \end_layout
12068
12069 \begin_layout Itemize
12070
12071 \family sans
12072 Lema
12073 \end_layout
12074
12075 \begin_layout Itemize
12076
12077 \family sans
12078 Corolario
12079 \end_layout
12080
12081 \begin_layout Itemize
12082
12083 \family sans
12084 Proposición
12085 \end_layout
12086
12087 \begin_layout Itemize
12088
12089 \family sans
12090 Definición
12091 \end_layout
12092
12093 \begin_layout Itemize
12094
12095 \family sans
12096 Demostración
12097 \end_layout
12098
12099 \begin_layout Itemize
12100
12101 \family sans
12102 Teorema*
12103 \end_layout
12104
12105 \begin_layout Itemize
12106
12107 \family sans
12108 Lema*
12109 \end_layout
12110
12111 \begin_layout Itemize
12112
12113 \family sans
12114 Corolario*
12115 \end_layout
12116
12117 \begin_layout Itemize
12118
12119 \family sans
12120 Proposición*
12121 \end_layout
12122
12123 \begin_layout Itemize
12124
12125 \family sans
12126 Definición*
12127 \end_layout
12128
12129 \end_inset
12130
12131
12132 \end_layout
12133
12134 \begin_layout Standard
12135 Las versiones con asterisco son sin numeración y sin asterisco con numeración.
12136  Además hay dos entornos de lista añadidos por \SpecialChar LyX
12137 :
12138 \end_layout
12139
12140 \begin_layout Itemize
12141
12142 \family sans
12143 Lista_Marca
12144 \end_layout
12145
12146 \begin_layout Itemize
12147
12148 \family sans
12149 Lista_Cruzada
12150 \end_layout
12151
12152 \begin_layout Standard
12153
12154 \family sans
12155 Foil
12156 \family default
12157 \SpecialChar TeX
12158  proporciona algunas capacidades poderosas para encabezados y pies, que
12159  es mejor configurar en el preámbulo, aunque se puede hacer en cualquier
12160  lugar del documento.
12161  Si quieres hacerlo así, el mejor sitio es hacerlo al principio de una diapositi
12162 va, justo detrás del encabezado de la misma.
12163 \end_layout
12164
12165 \begin_layout Standard
12166 Para este propósito se suministran los siguientes estilos [
12167 \shape smallcaps
12168 Martin Vermeer
12169 \shape default
12170 ]:
12171 \end_layout
12172
12173 \begin_layout Standard
12174 \begin_inset Flex Multiple Columns
12175 status open
12176
12177 \begin_layout Itemize
12178
12179 \family sans
12180 Mi_Logotipo
12181 \end_layout
12182
12183 \begin_layout Itemize
12184
12185 \family sans
12186 Restrición
12187 \end_layout
12188
12189 \begin_layout Itemize
12190
12191 \family sans
12192 Pie_Derecho
12193 \end_layout
12194
12195 \begin_layout Itemize
12196
12197 \family sans
12198 Encabezado_Derecho
12199 \end_layout
12200
12201 \begin_layout Itemize
12202
12203 \family sans
12204 Encabezado_Izquierdo
12205 \end_layout
12206
12207 \begin_deeper
12208 \begin_layout Plain Layout
12209 \begin_inset space ~
12210 \end_inset
12211
12212
12213 \end_layout
12214
12215 \end_deeper
12216 \end_inset
12217
12218
12219 \end_layout
12220
12221 \begin_layout Standard
12222 Hay algunos comandos de 
12223 \family sans
12224 Foil
12225 \family default
12226 \SpecialChar TeX
12227  que \SpecialChar LyX
12228  no soporta directamente, pero se explica su función y su empleo en
12229  la sección
12230 \begin_inset space ~
12231 \end_inset
12232
12233
12234 \begin_inset CommandInset ref
12235 LatexCommand ref
12236 reference "sec:unsuppfoils"
12237
12238 \end_inset
12239
12240 .
12241 \end_layout
12242
12243 \begin_layout Subsection
12244 Diseño de una colección de diapositivas
12245 \end_layout
12246
12247 \begin_layout Standard
12248 Esta sección da una simple introducción a los diferentes entornos para construir
12249  una colección de diapositivas.
12250  
12251 \family sans
12252 Para
12253 \family default
12254  ver un ejemplo echa un vistazo al archivo 
12255 \family typewriter
12256 Foils.lyx
12257 \family default
12258 , accesible desde el botón 
12259 \family sans
12260 Ejemplos
12261 \family default
12262  del diálogo 
12263 \family sans
12264 Archivo\SpecialChar menuseparator
12265 Abrir
12266 \end_layout
12267
12268 \begin_layout Subsubsection
12269 Página de título
12270 \end_layout
12271
12272 \begin_layout Standard
12273 A diferencia de otras clases que proporcionan los entornos 
12274 \family sans
12275 Título
12276 \family default
12277
12278 \family sans
12279 Autor
12280 \family default
12281
12282 \family sans
12283 Fecha
12284 \family default
12285  y 
12286 \family sans
12287 Resumen
12288 \family default
12289
12290 \family sans
12291 foils
12292 \family default
12293  crea el título en una página propia.
12294  Si no pones entorno 
12295 \family sans
12296 Fecha
12297 \family default
12298  \SpecialChar LaTeX
12299  pondrá la fecha actual (cada vez que generes salida).
12300 \end_layout
12301
12302 \begin_layout Subsubsection
12303 Comenzar una diapositiva
12304 \end_layout
12305
12306 \begin_layout Standard
12307 Como mencioné antes, hay cuatro maneras de empezar una nueva diapositiva.
12308  Para la portada deberías usar 
12309 \family sans
12310 Encabezado
12311 \begin_inset space ~
12312 \end_inset
12313
12314 Diapositiva
12315 \family default
12316  o 
12317 \family sans
12318 Encabezado
12319 \begin_inset space ~
12320 \end_inset
12321
12322 Diapositiva
12323 \begin_inset space ~
12324 \end_inset
12325
12326 Corto.
12327
12328 \family default
12329  La diferencia entre estos es la cantidad de espacio entre el título (el
12330  encabezado) y el cuerpo de la diapositiva.
12331 \end_layout
12332
12333 \begin_layout Standard
12334 Las diapositivas apaisadas se generan con los entornos 
12335 \family sans
12336 Encabezado
12337 \begin_inset space ~
12338 \end_inset
12339
12340 Diapositiva
12341 \begin_inset space ~
12342 \end_inset
12343
12344 Giro 
12345 \family default
12346
12347 \family sans
12348 Encabezado
12349 \begin_inset space ~
12350 \end_inset
12351
12352 Diapositiva
12353 \begin_inset space ~
12354 \end_inset
12355
12356 Giro
12357 \begin_inset space ~
12358 \end_inset
12359
12360 Corto
12361 \family default
12362 .
12363  De nuevo, la única diferencia es el espacio entre encabezado y cuerpo.
12364  Las dos versiones cortas ponen 0.5 pulgadas menos de separación.
12365  
12366 \end_layout
12367
12368 \begin_layout Standard
12369 Un problema con el soporte de las diapositivas apaisadas es el requerimiento
12370  de que debes usar el driver 
12371 \family typewriter
12372 dvips
12373 \family default
12374  para generar la salida PostScript, si no las diapositivas no se giran.
12375  Es posible conseguir orientación apaisada incluso si no dispones de 
12376 \family typewriter
12377 dvips
12378 \family default
12379  driver al configurar la salida a través de la impresora ;-)
12380 \end_layout
12381
12382 \begin_layout Subsubsection
12383 Teoremas, lemas, demostraciones y más
12384 \end_layout
12385
12386 \begin_layout Standard
12387 No puedes poner seguidos dos de estos entornos del mismo tipo.
12388
12389 \lang english
12390  If you use a normal paragraph break, you will just be extending the previous
12391  environment as if you had merged the two environments together.
12392 \end_layout
12393
12394 \begin_layout Subsubsection
12395 Listas
12396 \end_layout
12397
12398 \begin_layout Standard
12399 Dispones de todos los tipos de listas habituales en otras clases más dos
12400  nuevas.
12401  Solo describiré estas últimas.
12402  Para más información sobre los demás entornos de listas mira la 
12403 \emph on
12404 Guía del usuario
12405 \emph default
12406 .
12407  Si piensas usar el entorno 
12408 \family sans
12409 Enumeración*
12410 \family default
12411 \emph on
12412  
12413 \emph default
12414 podrías mirar también en la sección
12415 \begin_inset space ~
12416 \end_inset
12417
12418
12419 \begin_inset CommandInset ref
12420 LatexCommand ref
12421 reference "sec:Marcas"
12422
12423 \end_inset
12424
12425  la descripción de la Selección de Marcas de Listas.
12426 \end_layout
12427
12428 \begin_layout Standard
12429 Los dos estilos nuevos de lista, 
12430 \family sans
12431 Lista
12432 \begin_inset space ~
12433 \end_inset
12434
12435 Marcas
12436 \family default
12437  y 
12438 \family sans
12439 Lista
12440 \family default
12441
12442 \begin_inset space ~
12443 \end_inset
12444
12445
12446 \family sans
12447 Cruzada
12448 \family default
12449 , están diseñadas para facilitar la creación de listas del tipo 
12450 \begin_inset Quotes cld
12451 \end_inset
12452
12453 Sí/No
12454 \begin_inset Quotes crd
12455 \end_inset
12456
12457  o 
12458 \begin_inset Quotes cld
12459 \end_inset
12460
12461 Verdadero/Falso
12462 \begin_inset Quotes crd
12463 \end_inset
12464
12465  suministrando entornos dedicados que ponen una señal o una cruz como etiqueta.
12466  De hecho, estas listas son versiones particularizadas del entorno 
12467 \family sans
12468 Enumeración*
12469 \family default
12470 .
12471  El paquete 
12472 \family typewriter
12473 psnfss
12474 \family default
12475  debe estar instalado.
12476 \end_layout
12477
12478 \begin_layout Subsubsection
12479 Figuras y cuadros
12480 \end_layout
12481
12482 \begin_layout Standard
12483
12484 \family sans
12485 Foil
12486 \family default
12487 \SpecialChar TeX
12488  redefine los flotantes de figuras y cuadros para que aparezcan exactamente
12489  en su lugar en el texto más bien que al principio de la página o en alguna
12490  otra posición.
12491  De hecho, si haces cambios en la colocación de los flotantes no serán tenidos
12492  en cuenta.
12493 \end_layout
12494
12495 \begin_layout Subsubsection
12496 Encabezados y pies de página
12497 \begin_inset CommandInset label
12498 LatexCommand label
12499 name "sec:foilfoot"
12500
12501 \end_inset
12502
12503
12504 \end_layout
12505
12506 \begin_layout Standard
12507
12508 \family sans
12509 Mi
12510 \begin_inset space ~
12511 \end_inset
12512
12513 Logotipo
12514 \family default
12515  y 
12516 \family sans
12517 Restricción
12518 \family default
12519  son comandos usados para controlar el texto del pie izquierdo de la página.
12520  El primero permite incluir un logotipo gráfico en las transparencias; por
12521  omisión se imprime el logotipo 
12522 \begin_inset Quotes cld
12523 \end_inset
12524
12525 -Typeset by 
12526 \family sans
12527 Foil
12528 \family default
12529 \SpecialChar TeX
12530 -
12531 \begin_inset Quotes crd
12532 \end_inset
12533
12534 .
12535  El segundo permite poner una clasificación para los asistentes, p.
12536 \begin_inset space \thinspace{}
12537 \end_inset
12538
12539 ej.
12540 \begin_inset space ~
12541 \end_inset
12542
12543 Confidencial.
12544  Está vacío por omisión.
12545 \end_layout
12546
12547 \begin_layout Standard
12548 Las restantes esquinas de la página se pueden completar con 
12549 \family sans
12550 Pie
12551 \begin_inset space ~
12552 \end_inset
12553
12554 derecho
12555 \family default
12556  (por omisión los números de página), 
12557 \family sans
12558 Encabezado
12559 \begin_inset space ~
12560 \end_inset
12561
12562 derecho
12563 \family default
12564  (arriba derecha) y 
12565 \family sans
12566 Encabezado
12567 \begin_inset space ~
12568 \end_inset
12569
12570 izquierdo
12571 \family default
12572  (arriba izquierda).
12573 \end_layout
12574
12575 \begin_layout Subsection
12576 Características de 
12577 \family sans
12578 Foil
12579 \family default
12580 \SpecialChar TeX
12581  no soportadas
12582 \begin_inset CommandInset label
12583 LatexCommand label
12584 name "sec:unsuppfoils"
12585
12586 \end_inset
12587
12588
12589 \end_layout
12590
12591 \begin_layout Standard
12592 Todos los comandos mencionados a continuación deben ponerse en un entorno
12593  \SpecialChar LaTeX
12594 , o en modo \SpecialChar TeX
12595  dentro de otro entorno.
12596 \end_layout
12597
12598 \begin_layout Subsubsection
12599 Longitudes
12600 \end_layout
12601
12602 \begin_layout Standard
12603 Todas las longitudes se ajustan con el comando:
12604 \end_layout
12605
12606 \begin_layout Standard
12607
12608 \family typewriter
12609
12610 \backslash
12611 setlength{
12612 \family default
12613 \emph on
12614 nombre_longitud
12615 \family typewriter
12616 \emph default
12617 }{
12618 \family default
12619 \emph on
12620 nueva_longitud
12621 \family typewriter
12622 \emph default
12623 },
12624 \family default
12625
12626 \begin_inset Newline newline
12627 \end_inset
12628
12629 donde 
12630 \emph on
12631 nombre_longitud
12632 \emph default
12633  es el nombre de la variable de longitud que se quiere cambiar y 
12634 \emph on
12635 nueva_longitud
12636 \emph default
12637  es el valor deseado para esa longitud.
12638  Las longitudes deben expresarse en unidades como pulgadas (
12639 \family typewriter
12640 in
12641 \family default
12642 ), milímetros (
12643 \family typewriter
12644 mm
12645 \family default
12646 ) o puntos (
12647 \family typewriter
12648 pt
12649 \family default
12650 )
12651 \family typewriter
12652 ,
12653 \family default
12654  o en unidades relativas a la dimensión de alguna parte del deocumento,
12655  tal como 
12656 \family typewriter
12657
12658 \backslash
12659 textwidth
12660 \family default
12661 .
12662  
12663 \end_layout
12664
12665 \begin_layout Standard
12666 Es posible cambiar el espacio entre el encabezado y el cuerpo de una transparenc
12667 ia especificando una longitud con 
12668 \family typewriter
12669
12670 \backslash
12671 foilheadskip
12672 \family default
12673 .
12674  Por ejemplo, para acercar todos los encabezados al cuerpo en 0.5 pulgadas,
12675  pon en el preámbulo: 
12676 \family typewriter
12677
12678 \backslash
12679 setlength{
12680 \backslash
12681 foilheadskip}{-0.5in}
12682 \end_layout
12683
12684 \begin_layout Standard
12685 Los espacios alrededor de los flotantes se ajustan con las siguientes variables
12686  de longitud:
12687 \end_layout
12688
12689 \begin_layout Labeling
12690 \labelwidthstring MMMMMMMMMMM
12691
12692 \family typewriter
12693
12694 \backslash
12695 abovefloatskip
12696 \family default
12697  Separación entre el texto y la parte superior del flotante;
12698 \end_layout
12699
12700 \begin_layout Labeling
12701 \labelwidthstring MMMMMMMMMMM
12702
12703 \family typewriter
12704
12705 \backslash
12706 abovecaptionskip
12707 \family default
12708  Separación entre el flotante y el encabezado;
12709 \end_layout
12710
12711 \begin_layout Labeling
12712 \labelwidthstring MMMMMMMMMMM
12713
12714 \family typewriter
12715
12716 \backslash
12717 belowcaptionskip
12718 \family default
12719  Separación entre el encabezado y el texto siguiente;
12720 \end_layout
12721
12722 \begin_layout Labeling
12723 \labelwidthstring MMMMMMMMMMM
12724
12725 \family typewriter
12726
12727 \backslash
12728 captionwidth
12729 \family default
12730  Para poner encabezados más estrechos que el texto circundante.
12731  Lo mejor es definirlo en función de 
12732 \family typewriter
12733
12734 \backslash
12735 textwidth
12736 \family default
12737 .
12738 \end_layout
12739
12740 \begin_layout Standard
12741 Hay otras longitudes relativas a la página de título que te pueden ser útiles
12742  en el caso de títulos largos o de varios autores::
12743 \end_layout
12744
12745 \begin_layout Labeling
12746 \labelwidthstring MMMMMMMMMMM
12747
12748 \family typewriter
12749
12750 \backslash
12751 abovetitleskip
12752 \family default
12753  Separación entre los encabezamientos y el 
12754 \family sans
12755 Título;
12756 \end_layout
12757
12758 \begin_layout Labeling
12759 \labelwidthstring MMMMMMMMMMM
12760
12761 \family typewriter
12762
12763 \backslash
12764 titleauthorskip
12765 \family default
12766  entre los entornos 
12767 \family sans
12768 Título
12769 \family default
12770  y 
12771 \family sans
12772 Autor;
12773 \end_layout
12774
12775 \begin_layout Labeling
12776 \labelwidthstring MMMMMMMMMMM
12777
12778 \family typewriter
12779
12780 \backslash
12781 authorauthorskip
12782 \family default
12783  entre varias líneas de 
12784 \family sans
12785 Autor;
12786 \end_layout
12787
12788 \begin_layout Labeling
12789 \labelwidthstring MMMMMMMMMMM
12790
12791 \family typewriter
12792
12793 \backslash
12794 authordateskip
12795 \family default
12796  entre 
12797 \family sans
12798 Autor
12799 \family default
12800  y 
12801 \family sans
12802 Fecha;
12803 \end_layout
12804
12805 \begin_layout Labeling
12806 \labelwidthstring MMMMMMMMMMM
12807
12808 \family typewriter
12809
12810 \backslash
12811 dateabstractskip
12812 \family default
12813  entre 
12814 \family sans
12815 Fecha 
12816 \family default
12817
12818 \family sans
12819 Resumen.
12820 \end_layout
12821
12822 \begin_layout Standard
12823 Esta última variable de longitud afecta a todos los entornos de listas.
12824  Si pones 
12825 \family typewriter
12826
12827 \backslash
12828 zerolistvertdimens
12829 \family default
12830  
12831 \emph on
12832 dentro
12833 \emph default
12834  de un entorno de lista, se suprimen todos los espacios verticales entre
12835  los ítems de la lista.
12836  Ten en cuenta que este es un comando, no una variable de longitud, así
12837  que no requiere 
12838 \family typewriter
12839
12840 \backslash
12841 setlength
12842 \family default
12843  como las variables mencionadas antes.
12844 \end_layout
12845
12846 \begin_layout Subsubsection
12847 Encabezamientos y pies
12848 \end_layout
12849
12850 \begin_layout Standard
12851 Los comandos 
12852 \family typewriter
12853
12854 \backslash
12855 LogoOn
12856 \family default
12857  y 
12858 \family typewriter
12859
12860 \backslash
12861 LogoOff
12862 \family default
12863  controlan si el logotipo definido en 
12864 \family sans
12865 Mi_Logotipo
12866 \family default
12867  aparece o no en una página dada.
12868  Si pones 
12869 \family typewriter
12870
12871 \backslash
12872 LogoOff
12873 \family default
12874  en el preámbulo, ninguna de las transparencias tendrá logotipo.
12875  Si no quieres poner el logotipo en cierta página,
12876 \family sans
12877  
12878 \family default
12879 pon 
12880 \family typewriter
12881
12882 \backslash
12883 LogoOff
12884 \family default
12885  directamente detrás del principio de la página y 
12886 \family typewriter
12887
12888 \backslash
12889 LogoOn
12890 \family default
12891  directamente detrás del comienzo de la siguiente.
12892 \end_layout
12893
12894 \begin_layout Standard
12895 Si decides poner estilo de página 
12896 \family sans
12897 fancy
12898 \family default
12899  en el diálogo 
12900 \family sans
12901 Documento\SpecialChar menuseparator
12902 Configuración,
12903 \family default
12904  deberías seguramente añadir 
12905 \family typewriter
12906
12907 \backslash
12908 let
12909 \backslash
12910 headwidth
12911 \backslash
12912 textwidth
12913 \family default
12914  al preámbulo para que los encabezamientos y pies en páginas apaisadas se
12915  sitúen correctamente.
12916  Esto es debido a ciertas incompatibilidades entre el formato de página
12917  impuesto por el paquete que 
12918 \family sans
12919 fancyheadings
12920 \family default
12921  y la clase 
12922 \family sans
12923 foils
12924 \family default
12925 .
12926 \end_layout
12927
12928 \begin_layout Section
12929 Hollywood (Guiones de Hollywood)
12930 \end_layout
12931
12932 \begin_layout Standard
12933 por 
12934 \shape smallcaps
12935 Garst Reese
12936 \end_layout
12937
12938 \begin_layout Subsection
12939 Introducción
12940 \end_layout
12941
12942 \begin_layout Standard
12943 Dar formato a un guión de Hollywood es un 
12944 \begin_inset Quotes cld
12945 \end_inset
12946
12947 rito de trámite
12948 \begin_inset Quotes crd
12949 \end_inset
12950
12951 .
12952  Está diseñado para que los lectores se centren en el contenido y resulte
12953  familiar y fácil de leer por los actores.
12954  Cada página de un guión debería representar un minuto de película.
12955  En el guión no hay nada que no veas u oigas en la pantalla.
12956  Debe emplearse el tipo de letra courier 12
12957 \begin_inset space \thinspace{}
12958 \end_inset
12959
12960 pt en todo el guión.
12961  Sin cursivas.
12962 \end_layout
12963
12964 \begin_layout Subsection
12965 Detalles particulares
12966 \end_layout
12967
12968 \begin_layout Standard
12969 Las palabras de un diálogo NUNCA se cortan a final de línea.
12970  Si el texto de un 
12971 \family sans
12972 portavoz
12973 \family default
12974  debe continuar tras un salto de página, se repite el nombre del mismo (
12975 \family sans
12976 continuación
12977 \family default
12978 ).
12979 \end_layout
12980
12981 \begin_layout Subsection
12982 Características especiales
12983 \end_layout
12984
12985 \begin_layout Standard
12986 Introduce los nombres de los personajes 
12987 \family sans
12988 (Portavoz)
12989 \family default
12990  como etiquetas, después haz una referencia cruzada a la etiqueta para insertar
12991  el nombre.
12992  El diálogo de referencia cruzada mostrará el conjunto de personajes.
12993  Esto lo puedes usar también para introducir el nombre de un personaje en
12994  las partes narrativas.
12995 \end_layout
12996
12997 \begin_layout Subsection
12998 Tamaño del papel y márgenes
12999 \end_layout
13000
13001 \begin_layout Standard
13002 USLetter, izquierdo 1.6
13003 \begin_inset space \thinspace{}
13004 \end_inset
13005
13006 in, derecho 0.75
13007 \begin_inset space \thinspace{}
13008 \end_inset
13009
13010 in, superior 0.5
13011 \begin_inset space \thinspace{}
13012 \end_inset
13013
13014 in, inferior 0.75
13015 \begin_inset space \thinspace{}
13016 \end_inset
13017
13018 in
13019 \end_layout
13020
13021 \begin_layout Subsection
13022 Entornos
13023 \end_layout
13024
13025 \begin_layout Standard
13026 Los siguientes entornos están disponibles.
13027  Puedes usar 
13028 \family typewriter
13029 hollywood.bind
13030 \family default
13031  para disponer de los atajos de teclado indicados a la derecha.
13032 \end_layout
13033
13034 \begin_layout Itemize
13035
13036 \family sans
13037 General
13038 \begin_inset Newline newline
13039 \end_inset
13040
13041
13042 \family default
13043 Para el caso de que no convenga ningún otro.
13044  Intenta evitarlo.
13045 \end_layout
13046
13047 \begin_layout Itemize
13048
13049 \family sans
13050 APARICIÓN_GRADUAL
13051 \family default
13052 :
13053 \begin_inset space \hfill{}
13054 \end_inset
13055
13056
13057 \family sans
13058 M-z S-I
13059 \family default
13060
13061 \begin_inset Newline newline
13062 \end_inset
13063
13064 Generalmente seguido de algo como 
13065 \begin_inset Quotes cld
13066 \end_inset
13067
13068 al levantarse Sally.
13069 \begin_inset Quotes crd
13070 \end_inset
13071
13072
13073 \end_layout
13074
13075 \begin_layout Itemize
13076
13077 \family sans
13078 INT
13079 \family default
13080 .
13081 \family sans
13082
13083 \begin_inset space \hfill{}
13084 \end_inset
13085
13086 M-z i
13087 \begin_inset Newline newline
13088 \end_inset
13089
13090
13091 \family default
13092 Introduce una nueva secuencia en INTERIOR.
13093  Seguido siempre de DÍA o NOCHE, o algo similar para definir la iluminación
13094  requerida.
13095  Esta línea, toda en MAYÚSCULAS.
13096 \end_layout
13097
13098 \begin_layout Itemize
13099
13100 \family sans
13101 EXT
13102 \family default
13103 .
13104 \family sans
13105
13106 \begin_inset space \hfill{}
13107 \end_inset
13108
13109 M-z e
13110 \begin_inset Newline newline
13111 \end_inset
13112
13113
13114 \family default
13115 Introduce una nueva secuencia en EXTERIOR.
13116  Esta línea, toda en MAYÚSCULAS.
13117 \end_layout
13118
13119 \begin_layout Itemize
13120
13121 \family sans
13122 Portavoz
13123 \begin_inset space \hfill{}
13124 \end_inset
13125
13126 M-z s
13127 \begin_inset Newline newline
13128 \end_inset
13129
13130
13131 \family default
13132 El personaje que habla.
13133 \end_layout
13134
13135 \begin_layout Itemize
13136
13137 \family sans
13138 EntreParéntesis
13139 \begin_inset space \hfill{}
13140 \end_inset
13141
13142 M-z p
13143 \begin_inset Newline newline
13144 \end_inset
13145
13146
13147 \family default
13148 Instrucciones para el personaje portavoz.
13149  Los () se insertan automáticamente.
13150 \end_layout
13151
13152 \begin_layout Itemize
13153
13154 \family sans
13155 Di
13156 \family default
13157 á
13158 \family sans
13159 logo
13160 \begin_inset space \hfill{}
13161 \end_inset
13162
13163 M-z d
13164 \begin_inset Newline newline
13165 \end_inset
13166
13167
13168 \family default
13169 Lo que dice el personaje.
13170 \end_layout
13171
13172 \begin_layout Itemize
13173
13174 \family sans
13175 Transición
13176 \begin_inset space \hfill{}
13177 \end_inset
13178
13179 M-z t
13180 \begin_inset Newline newline
13181 \end_inset
13182
13183
13184 \family default
13185 Instrucciones para el movimiento de cámara, p.
13186 \begin_inset space \thinspace{}
13187 \end_inset
13188
13189 ej.
13190 \begin_inset space ~
13191 \end_inset
13192
13193 CAMBIA A:
13194 \end_layout
13195
13196 \begin_layout Itemize
13197
13198 \family sans
13199 DESAPARICIÓN_GRADUAL:
13200 \begin_inset space \hfill{}
13201 \end_inset
13202
13203 M-z S-I
13204 \end_layout
13205
13206 \begin_layout Itemize
13207
13208 \family sans
13209 Autor
13210 \begin_inset space \hfill{}
13211 \end_inset
13212
13213 M-z S-A
13214 \end_layout
13215
13216 \begin_layout Itemize
13217
13218 \family sans
13219 Título
13220 \begin_inset space \hfill{}
13221 \end_inset
13222
13223 M-z S-T
13224 \end_layout
13225
13226 \begin_layout Itemize
13227
13228 \family sans
13229 Dirección_dcha
13230 \begin_inset space \hfill{}
13231 \end_inset
13232
13233 M-z r
13234 \end_layout
13235
13236 \begin_layout Subsection
13237 Jerga de un guión
13238 \end_layout
13239
13240 \begin_layout Itemize
13241 (O.S) — off screen (fuera de pantalla)
13242 \end_layout
13243
13244 \begin_layout Itemize
13245 (V.0) — voice over (voz en off)
13246 \end_layout
13247
13248 \begin_layout Itemize
13249 b.g.
13250  — background
13251 \end_layout
13252
13253 \begin_layout Itemize
13254 C.U.
13255  — close-up (primer plano)
13256 \end_layout
13257
13258 \begin_layout Itemize
13259 PAN — movimiento de cámara
13260 \end_layout
13261
13262 \begin_layout Itemize
13263 INSERT — pasa a primer plano
13264 \end_layout
13265
13266 \begin_layout Section
13267 ijmpc e ijmpd
13268 \end_layout
13269
13270 \begin_layout Standard
13271 por 
13272 \noun on
13273 Panayotis Papasotiriou
13274 \end_layout
13275
13276 \begin_layout Subsection
13277 Visión previa
13278 \end_layout
13279
13280 \begin_layout Standard
13281 El paquete 
13282 \family sans
13283 ijmpc
13284 \family default
13285  es una colección de macros que facilitan la presentación de manuscritos
13286  electrónicos para 
13287 \emph on
13288 International Journal of Modern Physics C
13289 \emph default
13290 .
13291  Igualmente, el paquete 
13292 \family sans
13293 ijmpd
13294 \family default
13295  sirve para escribir artículos para 
13296 \emph on
13297 International Journal of Modern Physics D
13298 \emph default
13299 .
13300  Ambas revistas son editadas por 
13301 \emph on
13302 World Scientific
13303 \emph default
13304 .
13305  Las correspondientes clases de documento se llaman 
13306 \family typewriter
13307 ws-ijmpc.cls
13308 \family default
13309  y 
13310 \family typewriter
13311 ws-ijmpd.cls
13312 \family default
13313 , respectivamente.
13314  Estos archivos, junto con las instrucciones de los autores, se pueden descargar
13315  de los sitios 
13316 \begin_inset Flex URL
13317 status collapsed
13318
13319 \begin_layout Plain Layout
13320
13321 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
13322 \end_layout
13323
13324 \end_inset
13325
13326  y 
13327 \begin_inset Flex URL
13328 status collapsed
13329
13330 \begin_layout Plain Layout
13331
13332 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
13333 \end_layout
13334
13335 \end_inset
13336
13337 .
13338  Ambos paquetes son versiones modificadas del paquete estándar 
13339 \family sans
13340 article
13341 \family default
13342 , y son casi idénticos.
13343  La mayor parte de sus características son soportadas en \SpecialChar LyX
13344 .
13345  He utilizado \SpecialChar LyX
13346  con éxito para escribir artículos para ambas revistas sin
13347  problemas.
13348 \end_layout
13349
13350 \begin_layout Subsection
13351 Escribir un artículo
13352 \end_layout
13353
13354 \begin_layout Standard
13355 Como es habitual, la forma más fácil de escribir un artículo es partiendo
13356  de una plantilla.
13357  Clic en 
13358 \family sans
13359 Archivo\SpecialChar menuseparator
13360 Nuevo desde plantilla
13361 \family default
13362 , y elige una plantilla 
13363 \family typewriter
13364 ijmpc.lyx
13365 \family default
13366  o 
13367 \family typewriter
13368 ijmpd.lyx
13369 \family default
13370 .
13371  Así se muestra un documento casi vacío que incluye los campos más habituales
13372  en un documento.
13373  Simplemente sobreescribe el texto (incluyendo abrazaderas <>) con el tuyo.
13374  Debes tener en cuenta los siguientes puntos:
13375 \end_layout
13376
13377 \begin_layout Enumerate
13378 \SpecialChar LyX
13379  no permite el cambio del tamaño de letra ni del estilo de página porque
13380  estos paquetes no lo permiten.
13381 \end_layout
13382
13383 \begin_layout Enumerate
13384 No debería cambiarse el lenguaje del documento.
13385  Antes de ver tu artículo, asegúrate 
13386 \family sans
13387 que no está cargado el paquete babel.
13388  
13389 \family default
13390 En
13391 \family sans
13392  Herramientas
13393 \family default
13394 \SpecialChar menuseparator
13395
13396 \family sans
13397 \lang english
13398 Language
13399 \lang spanish
13400  
13401 \family default
13402 selecciona
13403 \lang english
13404  
13405 \begin_inset Quotes eld
13406 \end_inset
13407
13408 None
13409 \begin_inset Quotes erd
13410 \end_inset
13411
13412  as 
13413 \family sans
13414 Language Package
13415 \family default
13416 .
13417 \end_layout
13418
13419 \begin_layout Enumerate
13420 El estilo 
13421 \begin_inset Quotes cld
13422 \end_inset
13423
13424 Keywords
13425 \begin_inset Quotes crd
13426 \end_inset
13427
13428  se debe utilizar para definir palabras-clave.
13429 \end_layout
13430
13431 \begin_layout Enumerate
13432 El paquete 
13433 \family sans
13434 ijmpc
13435 \family default
13436  provee un estilo llamado 
13437 \begin_inset Quotes cld
13438 \end_inset
13439
13440 Classification Codes
13441 \begin_inset Quotes crd
13442 \end_inset
13443
13444 , que se puede usar para definir códigos de clasificación, como números
13445  PACS.
13446  Esta facilidad no es soportada por el paquete 
13447 \family sans
13448 ijmpd
13449 \family default
13450 .
13451 \end_layout
13452
13453 \begin_layout Enumerate
13454 Hay varios entornos nuevos disponibles: 
13455 \begin_inset Quotes cld
13456 \end_inset
13457
13458 Definición
13459 \begin_inset Quotes crd
13460 \end_inset
13461
13462
13463 \begin_inset Quotes cld
13464 \end_inset
13465
13466 Paso
13467 \begin_inset Quotes crd
13468 \end_inset
13469
13470
13471 \begin_inset Quotes cld
13472 \end_inset
13473
13474 Ejemplo
13475 \begin_inset Quotes crd
13476 \end_inset
13477
13478
13479 \begin_inset Quotes cld
13480 \end_inset
13481
13482 Observación
13483 \begin_inset Quotes crd
13484 \end_inset
13485
13486
13487 \begin_inset Quotes cld
13488 \end_inset
13489
13490 Notación
13491 \begin_inset Quotes crd
13492 \end_inset
13493
13494
13495 \begin_inset Quotes cld
13496 \end_inset
13497
13498 Teorema
13499 \begin_inset Quotes crd
13500 \end_inset
13501
13502
13503 \begin_inset Quotes cld
13504 \end_inset
13505
13506 Demostración
13507 \begin_inset Quotes crd
13508 \end_inset
13509
13510
13511 \begin_inset Quotes cld
13512 \end_inset
13513
13514 Corolario
13515 \begin_inset Quotes crd
13516 \end_inset
13517
13518
13519 \begin_inset Quotes cld
13520 \end_inset
13521
13522 Lema
13523 \begin_inset Quotes crd
13524 \end_inset
13525
13526
13527 \begin_inset Quotes cld
13528 \end_inset
13529
13530 Proposición
13531 \begin_inset Quotes crd
13532 \end_inset
13533
13534
13535 \begin_inset Quotes cld
13536 \end_inset
13537
13538 Prop
13539 \begin_inset Quotes crd
13540 \end_inset
13541
13542
13543 \begin_inset Quotes cld
13544 \end_inset
13545
13546 Pregunta
13547 \begin_inset Quotes crd
13548 \end_inset
13549
13550
13551 \begin_inset Quotes cld
13552 \end_inset
13553
13554 Afirmación
13555 \begin_inset Quotes crd
13556 \end_inset
13557
13558  y 
13559 \begin_inset Quotes cld
13560 \end_inset
13561
13562 Conjetura
13563 \begin_inset Quotes crd
13564 \end_inset
13565
13566 .
13567  Su uso es más o menos obvio.
13568  \SpecialChar LyX
13569  soporta todos estos entornos; utilizará la etiqueta, estilo de texto y
13570  esquema de numeración más apropiados para cada caso.
13571 \end_layout
13572
13573 \begin_layout Enumerate
13574 Ambos paquetes usan citas básicas; el paquete 
13575 \family sans
13576 natbib
13577 \family default
13578  no debería usarse.
13579  En \SpecialChar LyX
13580  las referencias a citas se ven normalmente; en la salida se ven como
13581  voladitas.
13582  Si quieres usar una cita como texto normal, debes emplear el comando 
13583 \family typewriter
13584 refcite
13585 \family default
13586 , p.
13587 \begin_inset space \thinspace{}
13588 \end_inset
13589
13590 e., 
13591 \begin_inset Quotes cld
13592 \end_inset
13593
13594 Véase Ref.
13595 \begin_inset space ~
13596 \end_inset
13597
13598
13599 \family typewriter
13600
13601 \backslash
13602 refcite{key}
13603 \family default
13604
13605 \begin_inset Quotes crd
13606 \end_inset
13607
13608 .
13609 \end_layout
13610
13611 \begin_layout Enumerate
13612 No hay 
13613 \begin_inset Quotes cld
13614 \end_inset
13615
13616 Agradecimientos
13617 \begin_inset Quotes crd
13618 \end_inset
13619
13620  en ninguno de estos paquetes.
13621  Para ponerlo usa el entorno 
13622 \begin_inset Quotes cld
13623 \end_inset
13624
13625 Sección*
13626 \begin_inset Quotes crd
13627 \end_inset
13628
13629 .
13630 \end_layout
13631
13632 \begin_layout Enumerate
13633 Se pueden añadir apéndices 
13634 \emph on
13635 después
13636 \emph default
13637  de los Agradecimientos y 
13638 \emph on
13639 antes
13640 \emph default
13641  de las Referencias.
13642  \SpecialChar LyX
13643  provee un entorno especial, llamado 
13644 \begin_inset Quotes cld
13645 \end_inset
13646
13647 Appendices Section
13648 \begin_inset Quotes crd
13649 \end_inset
13650
13651  que marca el inicio de los apéndices.
13652  Este entorno debería dejarse en blanco; lo único que hace es enviar un
13653  comando \SpecialChar LaTeX
13654  pero realmente no se imprime nada.
13655  En \SpecialChar LyX
13656 , la palabra 
13657 \begin_inset Quotes cld
13658 \end_inset
13659
13660 Apéndice
13661 \begin_inset Quotes crd
13662 \end_inset
13663
13664  se imprime con letras azules, para indicar que todas las secciones posteriores
13665  son apéndices.
13666  Para escribir un apéndice usa el entorno 
13667 \begin_inset Quotes cld
13668 \end_inset
13669
13670 Apéndice
13671 \begin_inset Quotes crd
13672 \end_inset
13673
13674 .
13675  \SpecialChar LyX
13676  ordenará cada apéndice con letras mayúsculas, como requieren ambas revistas.
13677  Observa que 
13678 \begin_inset Quotes cld
13679 \end_inset
13680
13681 Appendices Section
13682 \begin_inset Quotes crd
13683 \end_inset
13684
13685  
13686 \emph on
13687 debe
13688 \emph default
13689  estar presente antes del primer apéndice; si no, los apéndices se numerarán
13690  como secciones normales.
13691 \end_layout
13692
13693 \begin_layout Enumerate
13694 Los paquetes 
13695 \family sans
13696 ijmpc
13697 \family default
13698  y 
13699 \family sans
13700 ijmpd
13701 \family default
13702  usan el comando 
13703 \family typewriter
13704 tbl
13705 \family default
13706  para implementar encabezados de cuadro.
13707  Como resultado, un cuadro creado por \SpecialChar LyX
13708  se imprime correctamente, pero se
13709  ignora su encabezado.
13710  Sin embargo puedes emplear código \SpecialChar TeX
13711  para sortear este problema, de forma
13712  que los encabezados se impriman como es de esperar.
13713  Para hacerlo crea un cuadro flotante de la manera habitual, quita el encabezado
13714  y reemplázalo por 
13715 \family typewriter
13716
13717 \backslash
13718 tbl{
13719 \emph on
13720 encabezado del cuadro
13721 \emph default
13722 }{
13723 \family default
13724  en código \SpecialChar TeX
13725  —atención a la llave de apertura 
13726 \begin_inset Quotes cld
13727 \end_inset
13728
13729 {
13730 \begin_inset Quotes crd
13731 \end_inset
13732
13733 —, y cierra inmediatamente detrás del contenido del cuadro con 
13734 \family typewriter
13735 }
13736 \family default
13737  en código \SpecialChar TeX
13738 .
13739  Estudia los ejemplos de cuadros incluidos en las plantillas para ver como
13740  se realiza este procedimiento.
13741  Alternativamente, si necesitas encabezados de cuadro, podrías construir
13742  el cuadro flotante completo en un archivo 
13743 \family typewriter
13744 .tex
13745 \family default
13746 , que después puedes incluir mediante 
13747 \family sans
13748 Insertar\SpecialChar menuseparator
13749 Archivo\SpecialChar menuseparator
13750 Documento
13751 \begin_inset space ~
13752 \end_inset
13753
13754 hijo
13755 \family default
13756 .
13757  En los archivos 
13758 \family typewriter
13759 ws-ijmpc.tex
13760 \family default
13761  y 
13762 \family typewriter
13763 ws-ijmpd.tex
13764 \family default
13765  puedes ver más detalles sobre la creación de cuadros flotantes.
13766 \end_layout
13767
13768 \begin_layout Subsection
13769 Preparar un artículo para su remisión
13770 \end_layout
13771
13772 \begin_layout Standard
13773 Antes de remitir un artículo debes exportarlo a \SpecialChar LaTeX
13774  (
13775 \family sans
13776 Archivo\SpecialChar menuseparator
13777 Exportar\SpecialChar menuseparator
13778 La
13779 \family default
13780 T
13781 \family sans
13782 eX
13783 \family default
13784 )
13785 \begin_inset Foot
13786 status collapsed
13787
13788 \begin_layout Plain Layout
13789 Realmente dispones de las opciones \SpecialChar LaTeX
13790  (simple) y pdflatex.
13791  Si piensas usar pdflatex para preparar el artículo,los gráficos incluidos
13792  estarán en formato PDF.
13793 \end_layout
13794
13795 \end_inset
13796
13797 , después haz los cambios siguientes en el resultante archivo 
13798 \family typewriter
13799 .tex
13800 \family default
13801 .
13802 \end_layout
13803
13804 \begin_layout Enumerate
13805 Elimina las líneas de comentarios anteriores al comando 
13806 \family typewriter
13807
13808 \backslash
13809 documentclass
13810 \family default
13811 .
13812 \end_layout
13813
13814 \begin_layout Enumerate
13815 Elimina los comandos 
13816 \family typewriter
13817
13818 \backslash
13819 makeatletter
13820 \family default
13821  y 
13822 \family typewriter
13823
13824 \backslash
13825 makeatother 
13826 \family default
13827 y todo lo que haya entre ambos, excepto aquellos comandos que hayas añadido
13828  expresamente al preámbulo \SpecialChar LaTeX
13829 .
13830 \end_layout
13831
13832 \begin_layout Standard
13833 El archivo 
13834 \family typewriter
13835 .tex
13836 \family default
13837  modificado debe ser guardado y procesado con \SpecialChar LaTeX
13838  tantas veces como sea necesario.
13839  Comprueba después el documento 
13840 \family typewriter
13841 .dvi
13842 \family default
13843  resultante.
13844 \end_layout
13845
13846 \begin_layout Section
13847 iopart
13848 \end_layout
13849
13850 \begin_layout Standard
13851 por 
13852 \noun on
13853 Uwe Stöhr
13854 \end_layout
13855
13856 \begin_layout Subsection
13857 Visión previa
13858 \end_layout
13859
13860 \begin_layout Standard
13861 El paquete 
13862 \family sans
13863 iopart
13864 \family default
13865  suministra una clase de documento para remitir documentos electrónicos
13866  a publicaciones del 
13867 \emph on
13868 Institute of Physics
13869 \emph default
13870 .
13871  Las instrucciones para los autores que quieran crear documentos de esta
13872  clase y el paquete 
13873 \family sans
13874 iopart 
13875 \family default
13876 se pueden descargar del sitio 
13877 \begin_inset Flex URL
13878 status collapsed
13879
13880 \begin_layout Plain Layout
13881
13882 ftp://ftp.iop.org/pub/journals/latex2e
13883 \end_layout
13884
13885 \end_inset
13886
13887 .
13888 \end_layout
13889
13890 \begin_layout Subsection
13891 Escribir un documento
13892 \end_layout
13893
13894 \begin_layout Standard
13895 La forma más sencilla de escribir un documento es empezar con el 
13896 \lang english
13897 template
13898 \lang spanish
13899  
13900 \emph on
13901 IOP-article.lyx
13902 \emph default
13903 , disponible
13904 \lang english
13905 via 
13906 \family sans
13907 File\SpecialChar menuseparator
13908 New From Template
13909 \family default
13910 \lang spanish
13911 .
13912  El 
13913 \lang english
13914 template
13915 \lang spanish
13916  de ejemplo explica cómo usar los entornos especiales de texto.
13917  Aquí están los consejos más importantes:
13918 \end_layout
13919
13920 \begin_layout Itemize
13921 Para poder compilar tu documento a PDF, PS o DVI, asegúrate de que
13922 \lang english
13923  no AMS packages are loaded in 
13924 \family sans
13925 Document\SpecialChar menuseparator
13926 Settings\SpecialChar menuseparator
13927 Math Options
13928 \family default
13929 !
13930 \end_layout
13931
13932 \begin_layout Itemize
13933 El entorno de título define la clase de tu documento.
13934  Por tanto usa uno de los siguientes entornos para el título:
13935 \end_layout
13936
13937 \begin_deeper
13938 \begin_layout Itemize
13939
13940 \family sans
13941 Title
13942 \family default
13943  para un artículo
13944 \end_layout
13945
13946 \begin_layout Itemize
13947
13948 \family sans
13949 Review
13950 \family default
13951  para una revista
13952 \end_layout
13953
13954 \begin_layout Itemize
13955
13956 \family sans
13957 Topical
13958 \family default
13959  para una reseña de actualidad
13960 \end_layout
13961
13962 \begin_layout Itemize
13963
13964 \family sans
13965 Comment
13966 \family default
13967  para un comentario
13968 \end_layout
13969
13970 \begin_layout Itemize
13971
13972 \family sans
13973 Note
13974 \family default
13975  para una nota
13976 \end_layout
13977
13978 \begin_layout Itemize
13979
13980 \family sans
13981 Paper
13982 \family default
13983  para un artículo (igual que Title)
13984 \end_layout
13985
13986 \begin_layout Itemize
13987
13988 \family sans
13989 Prelim
13990 \family default
13991  para una comunicación preliminar
13992 \end_layout
13993
13994 \begin_layout Itemize
13995
13996 \family sans
13997 Rapid
13998 \family default
13999  para una comunicación rápida
14000 \end_layout
14001
14002 \begin_layout Itemize
14003
14004 \family sans
14005 Letter
14006 \family default
14007  para una carta al editor
14008 \end_layout
14009
14010 \end_deeper
14011 \begin_layout Itemize
14012 Todos los entornos de título excepto 
14013 \family sans
14014 Letter
14015 \family default
14016  pueden tener un título breve opcional.
14017 \end_layout
14018
14019 \begin_layout Itemize
14020 Hay un entorno general de título 
14021 \family sans
14022 Article
14023 \family default
14024  que no es soportado directamente por \SpecialChar LyX
14025 .
14026  Puede usarse en código \SpecialChar TeX
14027  si tu documento no se adecúa a ninguno de los otros
14028  tipos de título.
14029 \end_layout
14030
14031 \begin_layout Standard
14032 Para más información, como consejos para formatos especiales de ecuaciones
14033  y cuadros, echa un vistazo a las pautas dadas por el autor de IOP.
14034 \end_layout
14035
14036 \begin_layout Section
14037 Kluwer
14038 \end_layout
14039
14040 \begin_layout Standard
14041 por 
14042 \noun on
14043 Panayotis Papasotiriou
14044 \end_layout
14045
14046 \begin_layout Subsection
14047 Visión previa
14048 \end_layout
14049
14050 \begin_layout Standard
14051 El paquete Kluwer es un conjunto de macros producido por 
14052 \emph on
14053 Kluwer Academic Publishers
14054 \emph default
14055  que facilita la confección de manuscritos electrónicos con destino a sus
14056  publicaciones.
14057  Las más conocidas (al menos en mi parcela de interés) son 
14058 \emph on
14059 Astrophysics and Space Science
14060 \emph default
14061  y 
14062 \emph on
14063 Solar Physics
14064 \emph default
14065 , aunque hay muchas otras (véase una lista completa en 
14066 \begin_inset Flex URL
14067 status collapsed
14068
14069 \begin_layout Plain Layout
14070
14071 http://www.wkap.nl/jrnllist.htm/JRNLHOME
14072 \end_layout
14073
14074 \end_inset
14075
14076 ).
14077  El paquete Kluwer puede ser descargado del sitio 
14078 \begin_inset Flex URL
14079 status collapsed
14080
14081 \begin_layout Plain Layout
14082
14083 http://www.wkap.nl/kaphtml.htm/STYLEFILES
14084 \end_layout
14085
14086 \end_inset
14087
14088 .
14089  Contiene una completa guía de uso, que también puede descargarse separadamente.
14090 \end_layout
14091
14092 \begin_layout Standard
14093 \SpecialChar LyX
14094  soporta muchas características del paquete pero no todas.
14095  No obstante, el código \SpecialChar TeX
14096  necesario se reduce a ciertos 
14097 \begin_inset Quotes cld
14098 \end_inset
14099
14100 peculiares
14101 \begin_inset Quotes crd
14102 \end_inset
14103
14104  comandos (véase
14105 \begin_inset space ~
14106 \end_inset
14107
14108
14109 \begin_inset CommandInset ref
14110 LatexCommand ref
14111 reference "subsec:kluwer_peculiaridades"
14112
14113 \end_inset
14114
14115 ).
14116  He usado \SpecialChar LyX
14117  recientemente para escribir un artículo para 
14118 \emph on
14119 Astrophysics and Space Science
14120 \emph default
14121  sin ningún problema.
14122 \end_layout
14123
14124 \begin_layout Subsection
14125 Escribir un artículo
14126 \end_layout
14127
14128 \begin_layout Standard
14129 La forma más sencilla de escribir un artículo es empezar con la plantilla
14130  de Kluwer.
14131  Abre 
14132 \family sans
14133 Archivo\SpecialChar menuseparator
14134 Nuevo
14135 \family default
14136
14137 \begin_inset space ~
14138 \end_inset
14139
14140
14141 \family sans
14142 desde
14143 \family default
14144
14145 \begin_inset space ~
14146 \end_inset
14147
14148
14149 \family sans
14150 plantilla
14151 \family default
14152 , y elige 
14153 \family typewriter
14154 kluwer.lyx
14155 \family default
14156 .
14157  Se trata de un documento casi vacío que incluye la mayoría de campos más
14158  habituales y una breve descripción de su uso.
14159  Como es habitual en las plantillas, simplemente debes sobreescribir el
14160  texto presente (incluidas las abrazaderas <>) con la información correcta.
14161 \end_layout
14162
14163 \begin_layout Subsection
14164 Preparar un artículo para su remisión
14165 \end_layout
14166
14167 \begin_layout Standard
14168 Como en el paquete AAS\SpecialChar TeX
14169 , antes de remitir tu trabajo a una publicación debes
14170  procesarlo como sigue:
14171 \end_layout
14172
14173 \begin_layout Enumerate
14174 Exporta tu documento a \SpecialChar LaTeX
14175
14176 \family sans
14177 Archivo\SpecialChar menuseparator
14178 Exportar\SpecialChar menuseparator
14179 LaTeX
14180 \family default
14181 .
14182  
14183 \end_layout
14184
14185 \begin_layout Enumerate
14186 Edita el archivo 
14187 \family typewriter
14188 .tex
14189 \family default
14190  resultante con un editor de texto y haz los siguientes cambios:
14191 \end_layout
14192
14193 \begin_deeper
14194 \begin_layout Enumerate
14195 borra las líneas de comentarios anteriores al comando 
14196 \family typewriter
14197
14198 \backslash
14199 documentclass
14200 \family default
14201 ,
14202 \end_layout
14203
14204 \begin_layout Enumerate
14205 quita todo entre los comandos 
14206 \family typewriter
14207
14208 \backslash
14209 makeatletter
14210 \family default
14211  y 
14212 \family typewriter
14213
14214 \backslash
14215 makeatother
14216 \family default
14217 , ellos incluidos, excepto aquellos específicamente añadidos al preámbulo
14218  \SpecialChar LaTeX
14219 .
14220 \end_layout
14221
14222 \begin_layout Standard
14223 Guarda el archivo 
14224 \family typewriter
14225 .tex
14226 \family default
14227  modificado.
14228 \end_layout
14229
14230 \end_deeper
14231 \begin_layout Enumerate
14232 Ejecuta el archivo 
14233 \family typewriter
14234 .tex
14235 \family default
14236  con \SpecialChar LaTeX
14237  tantas veces como sea necesario (generalmente hasta tres).
14238 \end_layout
14239
14240 \begin_layout Enumerate
14241 Mira el documento resultante 
14242 \family typewriter
14243 .dvi
14244 \family default
14245  , p.
14246 \begin_inset space \thinspace{}
14247 \end_inset
14248
14249 e., con 
14250 \family sans
14251 xdvi
14252 \family default
14253 , y comprueba si todo está bien (debería, si no has cometido algún error).
14254 \end_layout
14255
14256 \begin_layout Subsection
14257 «Peculiaridades» del paquete Kluwer
14258 \begin_inset CommandInset label
14259 LatexCommand label
14260 name "subsec:kluwer_peculiaridades"
14261
14262 \end_inset
14263
14264
14265 \end_layout
14266
14267 \begin_layout Standard
14268 El paquete Kluwer tiene algunas 
14269 \begin_inset Quotes cld
14270 \end_inset
14271
14272 peculiaridades
14273 \begin_inset Quotes crd
14274 \end_inset
14275
14276 .
14277 \end_layout
14278
14279 \begin_layout Enumerate
14280 Es posible escribir artículos múltiples en el mismo archivo \SpecialChar LaTeX
14281
14282 \begin_inset Foot
14283 status collapsed
14284
14285 \begin_layout Plain Layout
14286 No puedo imaginar una buena razón para hacer esto.
14287 \end_layout
14288
14289 \end_inset
14290
14291 .
14292  Cada artículo debe estar incluido en un entorno 
14293 \begin_inset Quotes cld
14294 \end_inset
14295
14296 article
14297 \begin_inset Quotes crd
14298 \end_inset
14299
14300 .
14301  Desafortunadamente, este entorno no se puede omitir, incluso si escribes
14302  un solo artículo.
14303  Por esto, cada artículo empieza con el comando 
14304 \family typewriter
14305
14306 \backslash
14307 begin{article}
14308 \family default
14309  y, termina, obviamente, con el comando 
14310 \family typewriter
14311
14312 \backslash
14313 end{article}
14314 \family default
14315 .
14316  Aunque esto se puede implementar en \SpecialChar LyX
14317 , no lo he incluido, puesto que se
14318  ve feo y puede confundir al novato.
14319  Así pues hay que introducirlo en código \SpecialChar LaTeX
14320  (
14321 \begin_inset Quotes cld
14322 \end_inset
14323
14324 código \SpecialChar TeX
14325
14326 \begin_inset Quotes crd
14327 \end_inset
14328
14329 ).
14330 \end_layout
14331
14332 \begin_layout Enumerate
14333 La información dada al principio del artículo (p.
14334 \begin_inset space \thinspace{}
14335 \end_inset
14336
14337 e., título, subtítulo, autor, institución, título corriente, autor corriente,
14338  resumen y palabras-clave) deben incluirse en un entorno llamado 
14339 \begin_inset Quotes cld
14340 \end_inset
14341
14342 opening
14343 \begin_inset Quotes crd
14344 \end_inset
14345
14346 .
14347  Esto no está implementado en \SpecialChar LyX
14348 , así que hay que introducir el título, subtítulo,
14349  etc., entre dos líneas en código \SpecialChar TeX
14350  (
14351 \family typewriter
14352
14353 \backslash
14354 begin{opening}
14355 \family default
14356  y 
14357 \family typewriter
14358
14359 \backslash
14360 end{opening}
14361 \family default
14362 ).
14363 \end_layout
14364
14365 \begin_layout Enumerate
14366 Según el manual de uso, la etiqueta de cada ítem de la bibliografía debe
14367  escribirse como 
14368 \family typewriter
14369
14370 \backslash
14371 protect
14372 \backslash
14373 citeauthoryear{
14374 \family default
14375 \emph on
14376 autor(es)
14377 \family typewriter
14378 \emph default
14379 }{
14380 \family default
14381 \emph on
14382 año
14383 \family typewriter
14384 \emph default
14385 }
14386 \family default
14387 .
14388 \end_layout
14389
14390 \begin_layout Standard
14391 La plantilla 
14392 \family typewriter
14393 kluwer.lyx
14394 \family default
14395  se cuida de todas estas 
14396 \begin_inset Quotes cld
14397 \end_inset
14398
14399 peculiaridades
14400 \begin_inset Quotes crd
14401 \end_inset
14402
14403 .
14404  Si empiezas un nuevo artículo a partir de esta plantilla no necesitas hacer
14405  nada especial.
14406  Ten en cuenta: 
14407 \end_layout
14408
14409 \begin_layout Enumerate
14410 no borrar el código \SpecialChar TeX
14411  incluido en el modelo, y
14412 \end_layout
14413
14414 \begin_layout Enumerate
14415 copia el ejemplo de ítem de bibliografía incluido en la plantilla y modifícalo
14416  como haga falta para introducir nuevas entradas.
14417 \end_layout
14418
14419 \begin_layout Section
14420 Koma-Script
14421 \end_layout
14422
14423 \begin_layout Standard
14424 por 
14425 \noun on
14426 Bernd Rellermeyer
14427 \end_layout
14428
14429 \begin_layout Subsection
14430 Visión previa
14431 \end_layout
14432
14433 \begin_layout Standard
14434 En \SpecialChar LyX
14435 , las clases de documento
14436 \family sans
14437 \emph on
14438  
14439 \emph default
14440 article (koma-script)
14441 \emph on
14442
14443 \emph default
14444 report (koma-script)
14445 \emph on
14446
14447 \emph default
14448 book
14449 \emph on
14450  
14451 \emph default
14452 (koma-script)
14453 \family default
14454 , y 
14455 \family sans
14456 letter
14457 \emph on
14458  
14459 \emph default
14460 (koma-script)
14461 \family default
14462  corresponden respectivamente a las clases de \SpecialChar LaTeX
14463  
14464 \family typewriter
14465 scrartcl.cls
14466 \family default
14467
14468 \family typewriter
14469 scrreprt.cls
14470 \family default
14471
14472 \family typewriter
14473 scrbook.cls
14474 \family default
14475 , y 
14476 \family typewriter
14477 scrlettr.cls
14478 \family default
14479 , de la familia Koma-Script.
14480  Son alternativas a las correspondientes clases estándar 
14481 \family typewriter
14482 article.cls
14483 \family default
14484
14485 \family typewriter
14486 report.cls
14487 \family default
14488
14489 \family typewriter
14490 book.cls
14491 \family default
14492  y 
14493 \family typewriter
14494 letter.cls
14495 \family default
14496 , y en ciertos aspectos
14497 \emph on
14498  
14499 \emph default
14500 se adaptan mejor a las convenciones tipográficas
14501 \family typewriter
14502  
14503 \family default
14504 europeas.
14505 \end_layout
14506
14507 \begin_layout Itemize
14508 El tamaño estándar de letra es 11
14509 \begin_inset space \thinspace{}
14510 \end_inset
14511
14512 pt en 
14513 \family sans
14514 article (koma-script)
14515 \emph on
14516
14517 \emph default
14518 report (koma-script)
14519 \family default
14520 , y 
14521 \family sans
14522 book (koma-script)
14523 \family default
14524 , y 12
14525 \begin_inset space \thinspace{}
14526 \end_inset
14527
14528 pt en 
14529 \family sans
14530 letter (koma-script)
14531 \family default
14532 .
14533 \end_layout
14534
14535 \begin_layout Itemize
14536 Los encabezados, los marcadores del entorno
14537 \family sans
14538  Descripción
14539 \family default
14540  y otros elementos de la clase 
14541 \family sans
14542 letter (koma-script)
14543 \family default
14544 \emph on
14545  
14546 \emph default
14547 se ponen en sans serif negrita.
14548 \begin_inset Foot
14549 status collapsed
14550
14551 \begin_layout Plain Layout
14552 Hay una gran diferencia entre las antiguas tipografías cm sans serif negrita
14553  y las nuevas tipografías ec, especialmente en cuanto al aspecto de los
14554  encabezados.
14555  En comparación, las tipografías ec sans serif negrita se ven algo más delgadas.
14556  El paquete \SpecialChar LaTeX
14557  
14558 \family typewriter
14559 cmsd.sty 
14560 \family default
14561 de 
14562 \shape smallcaps
14563 Walter Schmidt
14564 \shape default
14565  permite generar la apariencia 
14566 \begin_inset Quotes cld
14567 \end_inset
14568
14569 habitual
14570 \begin_inset Quotes crd
14571 \end_inset
14572
14573  cuando se emplean las tipografías ec.
14574 \end_layout
14575
14576 \end_inset
14577
14578  La numeración de los encabezados de capítulo se hace de la misma forma
14579  que la numeración de los encabezados de sección, o sea, sin la línea extra
14580  
14581 \begin_inset Quotes cld
14582 \end_inset
14583
14584 Capítulo\SpecialChar ldots
14585
14586 \begin_inset Quotes crd
14587 \end_inset
14588
14589 .
14590  Además, el aspecto de los encabezados se puede modificar mediante algunas
14591  opciones (en \SpecialChar LyX
14592  se introducen en el diálogo D
14593 \family sans
14594 ocumento\SpecialChar menuseparator
14595 Configuración
14596 \family default
14597 ).
14598  Se puede encontrar una completa descripción de estas opciones, en alemán,
14599  en la documentación de Koma-Script 
14600 \emph on
14601 scrguide
14602 \emph default
14603 .
14604 \end_layout
14605
14606 \begin_layout Itemize
14607 En las clases Koma-Script, los aspectos principales del diseño del área
14608  imprimible se controlan con las opciones 
14609 \family sans
14610 BCOR
14611 \family default
14612  y 
14613 \family sans
14614 DIV
14615 \family default
14616  (en \SpecialChar LyX
14617  se introducen en el campo de opciones de clase del diálogo 
14618 \family sans
14619 Documento\SpecialChar menuseparator
14620 Configuración
14621 \family default
14622 ).
14623  Dichas opciones permiten un ajuste más claro de los márgenes posibles de
14624  página.
14625  En la documentación de Koma-Script 
14626 \emph on
14627 scrguide
14628 \emph default
14629 , (en alemán), hay una detallada descripción de estas y otras opciones de
14630  configuración del área imprimible.
14631 \end_layout
14632
14633 \begin_layout Itemize
14634 Las clases \SpecialChar LaTeX
14635  de documentos de la familia Koma-Script definen un cierto número
14636  de comandos adicionales.
14637  Aquellos que tienen sentido en \SpecialChar LyX
14638  se implementan en los correspondientes
14639  tipos de párrafo.
14640 \end_layout
14641
14642 \begin_layout Standard
14643 En la documentación de Koma-Script, 
14644 \emph on
14645 scrguide
14646 \emph default
14647  (alemán) y 
14648 \emph on
14649 scrguien
14650 \emph default
14651  (inglés), hay una detallada descripción de las clases \SpecialChar LaTeX
14652  de la familia Koma-Scrip
14653 t.
14654 \end_layout
14655
14656 \begin_layout Subsection
14657 article (koma-script), report (koma-script), y book (koma-script)
14658 \end_layout
14659
14660 \begin_layout Standard
14661 Las clases de documento 
14662 \family sans
14663 article (koma-script)
14664 \emph on
14665
14666 \emph default
14667 report (koma-script)
14668 \family default
14669 , y 
14670 \family sans
14671 book
14672 \emph on
14673  
14674 \emph default
14675 (koma-script)
14676 \family default
14677  están implementadas en los archivos de formato 
14678 \family typewriter
14679 scrartcl.layout
14680 \family default
14681
14682 \family typewriter
14683 scrreprt.layout
14684 \family default
14685 , y 
14686 \family typewriter
14687 scrbook.layout
14688 \family default
14689 , respectivamente.
14690  Contienen todos los tipos de párrafo de las correspondientes clases estándar
14691  
14692 \family sans
14693 article
14694 \emph on
14695
14696 \emph default
14697 report
14698 \emph on
14699
14700 \family default
14701 \emph default
14702 y
14703 \family sans
14704 \emph on
14705  
14706 \emph default
14707 book
14708 \family default
14709 , parcialmente modificados, con la excepción del tipo 
14710 \family sans
14711 List
14712 \family default
14713 a, específico de \SpecialChar LyX
14714 , que es reemplazado por el nuevo tipo 
14715 \family sans
14716 Etiquetado
14717 \family default
14718 , que tiene la misma funcionalidad.
14719  Además del tipo 
14720 \family sans
14721 Etiquetado 
14722 \family default
14723 se han añadido otros nuevos tipos de párrafo.
14724  Pero 
14725 \emph on
14726 no 
14727 \emph default
14728 se encuentran en la clase 
14729 \family sans
14730 letter (koma-script)
14731 \family default
14732 .
14733 \end_layout
14734
14735 \begin_layout Itemize
14736
14737 \family sans
14738 Añadir_Parte, Añadir_Cap
14739 \family default
14740
14741 \family sans
14742 Añadir_Sec
14743 \family default
14744 : son los equivalentes respectivos a 
14745 \family sans
14746 Parte*, Capítulo*
14747 \family default
14748  y 
14749 \family sans
14750 Sección*
14751 \family default
14752 , pero además añaden una entrada en el índice general.
14753  
14754 \family sans
14755 Añadir_Parte
14756 \family default
14757  y 
14758 \family sans
14759 Añadir_Cap
14760 \family default
14761  no están en 
14762 \family sans
14763 article (koma-script)
14764 \family default
14765 .
14766 \end_layout
14767
14768 \begin_layout Itemize
14769
14770 \family sans
14771 Añadir_Cap
14772 \family default
14773 *, 
14774 \family sans
14775 Añadir_Sec*
14776 \family default
14777 : se comportan igual que 
14778 \family sans
14779 Añadir_Cap
14780 \family default
14781  y 
14782 \family sans
14783 Añadir_Sec
14784 \family default
14785  pero no indican la numeración del capítulo o sección.
14786  
14787 \family sans
14788 Añadir_Cap
14789 \family default
14790 * no está disponible en 
14791 \family sans
14792 article (koma-script)
14793 \family default
14794 .
14795 \begin_inset Foot
14796 status collapsed
14797
14798 \begin_layout Plain Layout
14799 En 
14800 \emph on
14801 book (koma-script)
14802 \emph default
14803  y en 
14804 \emph on
14805 report (koma-script)
14806 \emph default
14807 ,
14808 \emph on
14809  
14810 \emph default
14811 hay también un comando 
14812 \family typewriter
14813
14814 \backslash
14815 addpart*
14816 \family default
14817 , pero como es idéntico a 
14818 \family sans
14819 Parte*
14820 \family default
14821 , no ha sido implementado en \SpecialChar LyX
14822 .
14823 \end_layout
14824
14825 \end_inset
14826
14827
14828 \end_layout
14829
14830 \begin_layout Itemize
14831
14832 \family sans
14833 Mini
14834 \family default
14835 _S
14836 \family sans
14837 ec
14838 \family default
14839 : genera un encabezado directamente sobre el párrafo siguiente en el tamaño
14840  de carácter estándar sin afectar a la estructura del documento.
14841 \end_layout
14842
14843 \begin_layout Itemize
14844
14845 \family sans
14846 Encabezado_Arriba 
14847 \family default
14848
14849 \family sans
14850 Encabezado_Abajo
14851 \family default
14852  son encabezados especiales que respetan los espacios diferentes para encabezado
14853 s situados sobre y bajo un elemento (si sigues estrictamente las normas
14854  tipográficas, pondrás los encabezados de cuadro siempre sobre ellos).
14855  También puedes usar la opción de clase 
14856 \family typewriter
14857 tablecaptionsabove
14858 \family default
14859 , que cambiará 
14860 \family sans
14861 Encabezado
14862 \family default
14863  por 
14864 \family sans
14865 Encabezado_Arriba
14866 \family default
14867  para los cuadros y por 
14868 \family sans
14869 Encabezado_Abajo
14870 \family default
14871  para las figuras.
14872  Para usar esta opción necesitas al menos la versión Koma-Script 2.8q.
14873 \end_layout
14874
14875 \begin_layout Itemize
14876
14877 \family sans
14878 Sentencia
14879 \family default
14880 : sirve para poner una cita o un proverbio, por ejemplo, al principio de
14881  un capítulo.
14882  Si utilizas el parámetro opcional 
14883 \family sans
14884 Insertar\SpecialChar menuseparator
14885
14886 \lang english
14887 Dictum
14888 \begin_inset space ~
14889 \end_inset
14890
14891 Author
14892 \family default
14893 \lang spanish
14894 , puedes insertar aquí el nombre del autor de la sentencia.
14895  La sentencia y su autor se separan con una línea.
14896  Para esta posibilidad necesitas Koma-Script versión 2.8q o superior.
14897  
14898 \family sans
14899 Sentencia
14900 \family default
14901  no está incluido en 
14902 \family sans
14903 article (koma-script)
14904 \family default
14905 .
14906 \end_layout
14907
14908 \begin_layout Standard
14909 Los entornos siguientes, junto con los habituales 
14910 \family sans
14911 Título
14912 \family default
14913
14914 \family sans
14915 Autor
14916 \family default
14917 , y 
14918 \family sans
14919 Fecha
14920 \family default
14921 , forman la zona de título del documento.
14922  Deben introducirse sobre el primer párrafo 
14923 \begin_inset Quotes cld
14924 \end_inset
14925
14926 normal
14927 \begin_inset Quotes crd
14928 \end_inset
14929
14930 .
14931 \begin_inset Foot
14932 status collapsed
14933
14934 \begin_layout Plain Layout
14935 Los comandos \SpecialChar LaTeX
14936  correspondientes deben aparecer antes de 
14937 \family typewriter
14938
14939 \backslash
14940 maketitle
14941 \family default
14942 .
14943 \end_layout
14944
14945 \end_inset
14946
14947  Cuando este entorno se emplea más de una vez, el último anula a los anteriores,
14948  lo que implica que para cada tipo solo es válida la última entrada.
14949  El orden de los distintos entornos no influye en el documento final, lo
14950  mismo que sucede con 
14951 \family sans
14952 Título
14953 \family default
14954
14955 \family sans
14956 Autor
14957 \family default
14958 , y 
14959 \family sans
14960 Fecha
14961 \family default
14962 .
14963 \end_layout
14964
14965 \begin_layout Itemize
14966
14967 \family sans
14968 Tema
14969 \family default
14970 : genera un párrafo centrado sobre el título ordinario (
14971 \family sans
14972 Título
14973 \family default
14974
14975 \family sans
14976 Autor
14977 \family default
14978
14979 \family sans
14980 Fecha
14981 \family default
14982 ) para poner el tema del documento.
14983 \end_layout
14984
14985 \begin_layout Itemize
14986
14987 \family sans
14988 Editores
14989 \family default
14990 : genera un párrafo centrado bajo el título ordinario (
14991 \family sans
14992 Título
14993 \family default
14994
14995 \family sans
14996 Autor
14997 \family default
14998
14999 \family sans
15000 Fecha
15001 \family default
15002 ) para los nombres de los editores.
15003 \end_layout
15004
15005 \begin_layout Itemize
15006
15007 \family sans
15008 Dedicatoria
15009 \family default
15010 : en 
15011 \family sans
15012 report (koma-script)
15013 \family default
15014  y 
15015 \family sans
15016 book (koma-script)
15017 \family default
15018  produce un párrafo centrado en su propia página detrás de la de título,
15019  o en 
15020 \family sans
15021 article (koma-script)
15022 \family default
15023  produce un párrafo centrado bajo el título ordinario (
15024 \family sans
15025 Título
15026 \family default
15027
15028 \family sans
15029 Autor
15030 \family default
15031
15032 \family sans
15033 Fecha
15034 \family default
15035
15036 \family sans
15037 Editores
15038 \family default
15039 ).
15040 \end_layout
15041
15042 \begin_layout Itemize
15043
15044 \family sans
15045 Encabezado_Título
15046 \family default
15047 : produce un párrafo alineado a la izquierda sobre el título ordinario (
15048 \family sans
15049 Título
15050 \family default
15051
15052 \family sans
15053 Autor
15054 \family default
15055
15056 \family sans
15057 Fecha
15058 \family default
15059
15060 \family sans
15061 Tema
15062 \family default
15063 ).
15064 \end_layout
15065
15066 \begin_layout Itemize
15067
15068 \family sans
15069 Reverso_Título_Superior
15070 \family default
15071 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15072  en la parte superior del reverso de la página titular en 
15073 \family sans
15074 report (koma-script)
15075 \family default
15076  y 
15077 \family sans
15078 book (koma-script)
15079 \family default
15080 ; no afecta a documentos a una cara ni a
15081 \family sans
15082 \emph on
15083  
15084 \emph default
15085 article (koma-script)
15086 \family default
15087 .
15088 \end_layout
15089
15090 \begin_layout Itemize
15091
15092 \family sans
15093 Reverso_Título_Inferior
15094 \family default
15095 : genera, en documentos a dos caras, un párrafo alineado a la izquierda
15096  en la parte inferior del reverso de la página titular en 
15097 \family sans
15098 report (koma-script)
15099 \family default
15100  y 
15101 \family sans
15102 book (koma-script)
15103 \family default
15104 ; no afecta a documentos a una cara ni a 
15105 \family sans
15106 article (koma-script)
15107 \family default
15108 .
15109 \end_layout
15110
15111 \begin_layout Itemize
15112
15113 \family sans
15114 Extra_T
15115 \family default
15116 ítulo: produce una página especial al principio del documento con un párrafo
15117  sin formato.
15118 \end_layout
15119
15120 \begin_layout Standard
15121 Los archivos de formato para las clases 
15122 \family sans
15123 article (koma-script)
15124 \emph on
15125
15126 \emph default
15127 report (koma-script)
15128 \family default
15129 , y 
15130 \family sans
15131 book (koma-script)
15132 \family default
15133  incluyen el archivo 
15134 \family typewriter
15135 scrmacros.inc
15136 \family default
15137 .
15138  Este está pensado como un lugar para definir tus propios tipos.
15139  ¡Copia s
15140 \family typewriter
15141 crmacros.inc
15142 \family default
15143  en tu directorio personal y edítalo!
15144 \end_layout
15145
15146 \begin_layout Subsection
15147 letter (koma-script)
15148 \end_layout
15149
15150 \begin_layout Description
15151 \noindent
15152
15153 \lang english
15154 Note: This section discusses the obsolete 
15155 \family sans
15156 KOMA-Script-Letter (v.
15157 \begin_inset space ~
15158 \end_inset
15159
15160 1)
15161 \family default
15162 , which is not even included anymore in recent KOMA releases.
15163  Please refer to the next section for the current KOMA-Script-Letter class
15164  (v.
15165 \begin_inset space ~
15166 \end_inset
15167
15168 2)!
15169 \end_layout
15170
15171 \begin_layout Standard
15172 \noindent
15173 La clase de documento 
15174 \family sans
15175 letter (koma-script)
15176 \family default
15177  se implementa en el archivo de formato 
15178 \family typewriter
15179 scrlettr.layout
15180 \family default
15181 .
15182  Contiene todos los tipos de párrafo de la clase 
15183 \family sans
15184 letter
15185 \family default
15186 \emph on
15187  
15188 \emph default
15189 estándar, parcialmente modificados, excepto los específicos de \SpecialChar LyX
15190  
15191 \family sans
15192 Código-\SpecialChar LyX
15193
15194 \family default
15195  y 
15196 \family sans
15197 Comentario y el tipo
15198 \family default
15199  
15200 \family sans
15201 Lista
15202 \family default
15203 , que es reemplazado por el nuevo tipo 
15204 \family sans
15205 Etiquetado
15206 \family default
15207 .
15208  Además contiene, a diferencia de la clase estándar, los entornos estándar
15209  \SpecialChar LaTeX
15210
15211 \family sans
15212 Cita, Citar 
15213 \family default
15214 y
15215 \family sans
15216  Verso
15217 \family default
15218 , más un número de nuevos tipos específicos para cartas.
15219 \end_layout
15220
15221 \begin_layout Standard
15222 El aspecto de las cartas producidas por esta clase de documento se puede
15223  controlar mediante comandos \SpecialChar LaTeX
15224  que puedes poner en el preámbulo.
15225 \begin_inset Foot
15226 status collapsed
15227
15228 \begin_layout Plain Layout
15229 Por ejemplo, el aspecto estándar de la cabecera de una carta, nombres y
15230  direcciones, se consigue con estos comandos \SpecialChar LaTeX
15231  en el preámbulo:
15232 \end_layout
15233
15234 \begin_layout LyX-Code
15235
15236 \backslash
15237 firsthead{
15238 \backslash
15239 parbox[b]{
15240 \backslash
15241 textwidth}
15242 \end_layout
15243
15244 \begin_layout LyX-Code
15245   {
15246 \backslash
15247 ignorespaces 
15248 \backslash
15249 fromname
15250 \backslash
15251
15252 \backslash
15253  
15254 \backslash
15255 ignorespaces 
15256 \backslash
15257 fromaddress}} 
15258 \end_layout
15259
15260 \begin_layout LyX-Code
15261
15262 \backslash
15263 nexthead{
15264 \backslash
15265 parbox[b]{
15266 \backslash
15267 textwidth}
15268 \end_layout
15269
15270 \begin_layout LyX-Code
15271   {
15272 \backslash
15273 ignorespaces 
15274 \backslash
15275 fromname 
15276 \backslash
15277 hfill 
15278 \backslash
15279 ignorespaces 
15280 \backslash
15281 pagename
15282 \backslash
15283  
15284 \backslash
15285 thepage}}
15286 \end_layout
15287
15288 \end_inset
15289
15290  Hay una detallada descripción de ellos en la documentación de Koma-Script,
15291  
15292 \emph on
15293 scrguide
15294 \emph default
15295  (en alemán).
15296  Con su ayuda puedes producir formatos personalizados de cartas.
15297 \end_layout
15298
15299 \begin_layout Standard
15300 Los entornos 
15301 \family sans
15302 Carta
15303 \family default
15304  y 
15305 \family sans
15306 Apertura
15307 \family default
15308  definen el comienzo de la carta y deben ponerse en todas ellas.
15309  Se pueden escribir varias
15310 \family sans
15311  
15312 \family default
15313 cartas en el mismo archivo.
15314  Un entorno 
15315 \family sans
15316 Apertura 
15317 \family default
15318 da comienzo a una nueva carta para el mismo destinatario mientras que un
15319  entorno 
15320 \family sans
15321 Carta
15322 \family default
15323  da lugar a una nueva carta para distinto destinatario.
15324  Los tipos 
15325 \family sans
15326 Cierre
15327 \family default
15328
15329 \family sans
15330 PS
15331 \family default
15332
15333 \family sans
15334 CC
15335 \family default
15336 , y 
15337 \family sans
15338 Encl
15339 \family default
15340  son párrafos ordinarios y se pueden usar varias veces en la misma carta.
15341 \end_layout
15342
15343 \begin_layout Itemize
15344
15345 \family sans
15346 Carta
15347 \family default
15348 : produce un párrafo para poner el destinatario y define implícitamente
15349  el inicio de la carta.
15350 \end_layout
15351
15352 \begin_layout Itemize
15353
15354 \family sans
15355 Apertura
15356 \family default
15357 : produce un párrafo para poner el destinatario e inicia implícitamente
15358  una nueva carta.
15359 \end_layout
15360
15361 \begin_layout Itemize
15362
15363 \family sans
15364 Cierre
15365 \family default
15366 : da lugar a un párrafo para el cierre de la carta.
15367 \end_layout
15368
15369 \begin_layout Itemize
15370
15371 \family sans
15372 PS
15373 \family default
15374 : párrafo para poner una postdata.
15375 \end_layout
15376
15377 \begin_layout Itemize
15378
15379 \family sans
15380 CC
15381 \family default
15382 : párrafo para una lista de co-destinatarios.
15383 \end_layout
15384
15385 \begin_layout Itemize
15386
15387 \family sans
15388 Encl
15389 \family default
15390 : párrafo para documentos adjuntos.
15391 \end_layout
15392
15393 \begin_layout Standard
15394 Los tipos de entorno 
15395 \family sans
15396 Nombre
15397 \family default
15398
15399 \family sans
15400 Firma
15401 \family default
15402
15403 \family sans
15404 Dirección
15405 \family default
15406
15407 \family sans
15408 Teléfono
15409 \family default
15410
15411 \family sans
15412 Lugar
15413 \family default
15414
15415 \family sans
15416 Remite
15417 \family default
15418
15419 \family sans
15420 Correo
15421 \begin_inset space ~
15422 \end_inset
15423
15424 especial
15425 \family default
15426
15427 \family sans
15428 Localización
15429 \family default
15430
15431 \family sans
15432 Título
15433 \family default
15434 , y 
15435 \family sans
15436 Tema
15437 \family default
15438  son entradas provistas de una etiqueta para introducir información que
15439  será procesada por la clase de documento.
15440 \begin_inset Foot
15441 status collapsed
15442
15443 \begin_layout Plain Layout
15444 Podría ser inconsecuente que 
15445 \family sans
15446 Carta 
15447 \family default
15448
15449 \family sans
15450 Apertura
15451 \family default
15452 , descritos arriba, no sean también entornos con etiqueta de entrada.
15453  Sin embargo, debido al signifificado particular de estos tipos, los he
15454  implementado como párrafos ordinarios con una letra en el margen.
15455  Además, afectaría a mi sensación de simetría si los tipos 
15456 \family sans
15457 Apertura
15458 \family default
15459  y 
15460 \family sans
15461 Cierre
15462 \family default
15463  tuvieran aspectos muy distintos.
15464 \end_layout
15465
15466 \end_inset
15467
15468  Estos tipos deben ponerse antes de la 
15469 \family sans
15470 Apertura
15471 \family default
15472  correspondiente.
15473 \end_layout
15474
15475 \begin_layout Standard
15476 Una implementación de estos tipos en modo WYSIWYG no tendría sentido porque
15477  el aspecto real de la carta no solo depende del uso de un tipo particular,
15478  sino también de otros factores.
15479  Por ejemplo, en el comportamiento predeterminado, una firma introducida
15480  en el tipo 
15481 \family sans
15482 Firma 
15483 \family default
15484 solo aparecerá en la carta si se usa, además, el tipo 
15485 \family sans
15486 Cierre
15487 \family default
15488 .
15489  El valor introducido en 
15490 \family sans
15491 Teléfono 
15492 \family default
15493 tampoco aparece en la carta.
15494  La posibilidad de diseñar el encabezamiento de la carta ya se ha señalado
15495  antes en una nota al pie.
15496 \end_layout
15497
15498 \begin_layout Standard
15499 Los entornos para introducir datos también se pueden usar como párrafos
15500  vacíos.
15501  Esto tiene sentido, p.
15502 \begin_inset space \thinspace{}
15503 \end_inset
15504
15505 e., para el entorno 
15506 \family sans
15507 Firma
15508 \family default
15509 .
15510  Si no se pone 
15511 \family sans
15512 Firma
15513 \family default
15514 , en el comportamiento estándar se usará el valor de 
15515 \family sans
15516 Nombre 
15517 \family default
15518 como firma, mientras que si se define una 
15519 \family sans
15520 Firma 
15521 \family default
15522 vacía no saldrá ninguna.
15523 \end_layout
15524
15525 \begin_layout Standard
15526 Los entornos para introducir datos también pueden servir para escribir una
15527  plantilla, que contenga campos cumplimentados con tus datos personales
15528  (nombre, dirección, etc.), y campos vacíos listos para ser completados con
15529  otros datos.
15530 \end_layout
15531
15532 \begin_layout Itemize
15533
15534 \family sans
15535 Nombre
15536 \family default
15537 : nombre del remitente, en el comportamiento normal aparece en versalitas,
15538  en un párrafo centrado en el encabezado de la carta.
15539 \end_layout
15540
15541 \begin_layout Itemize
15542
15543 \family sans
15544 Firma
15545 \family default
15546 : firma del remitente, en el comportamiento normal aparece bajo el 
15547 \family sans
15548 Cierre
15549 \family default
15550 .
15551  Si no se utiliza el párrafo 
15552 \family sans
15553 Firma
15554 \family default
15555 , se escribe en su lugar el valor del campo 
15556 \family sans
15557 Nombre
15558 \family default
15559 .
15560 \end_layout
15561
15562 \begin_layout Itemize
15563
15564 \family sans
15565 Dirección
15566 \family default
15567 : dirección del remitente, en el comportamiento normal aparece en un párrafo
15568  centrado, en el encabezado, bajo el 
15569 \family sans
15570 Nombre
15571 \family default
15572  del remitente.
15573 \end_layout
15574
15575 \begin_layout Itemize
15576
15577 \family sans
15578 Teléfon
15579 \family default
15580 o: teléfono del remitente, en el comportamiento normal corresponde a la
15581  variable 
15582 \family typewriter
15583
15584 \backslash
15585 telephonenum
15586 \family default
15587  de \SpecialChar LaTeX
15588 .
15589 \end_layout
15590
15591 \begin_layout Itemize
15592
15593 \family sans
15594 Lugar
15595 \family default
15596 : lugar donde se ha escrito la carta.
15597 \end_layout
15598
15599 \begin_layout Itemize
15600
15601 \family sans
15602 Fecha
15603 \family default
15604 : fecha de escritura de la carta.
15605  
15606 \family sans
15607 Lugar
15608 \family default
15609  y 
15610 \family sans
15611 Fecha
15612 \family default
15613 , por omisión, aparecen en una línea a la derecha bajo el campo de dirección.
15614  Si el párrafo Fecha se deja vacío, no aparecen ni lugar ni fecha, independiente
15615 mente del valor puesto en 
15616 \family sans
15617 Lugar
15618 \family default
15619 .
15620  Si no se pone párrafo de 
15621 \family sans
15622 Fecha
15623 \family default
15624 , se usará la fecha del día.
15625 \end_layout
15626
15627 \begin_layout Itemize
15628
15629 \family sans
15630 Remite
15631 \family default
15632 : dirección para la respuesta, normalmente aparece sobre el campo del destinatar
15633 io (
15634 \family sans
15635 Carta
15636 \family default
15637 ) en tipografía sans serif pequeña, subrayado.
15638 \end_layout
15639
15640 \begin_layout Itemize
15641
15642 \family sans
15643 Correo_Especial
15644 \family default
15645 : información especial de correo, en el comportamiento normal aparece subrayado
15646  sobre la dirección y bajo el remite.
15647 \end_layout
15648
15649 \begin_layout Itemize
15650
15651 \family sans
15652 Loca
15653 \family default
15654 lizació
15655 \family sans
15656 n
15657 \family default
15658 : información adicional, en el comportamiento normal aparece a la derecha
15659  bajo el campo del destinatario (
15660 \family sans
15661 Carta
15662 \family default
15663 ).
15664 \end_layout
15665
15666 \begin_layout Itemize
15667
15668 \family sans
15669 Título
15670 \family default
15671 : título de la carta, en el comportamiento normal aparece en letra sans
15672  serif grande, en negrita, sobre el 
15673 \family sans
15674 Tema
15675 \family default
15676 .
15677 \end_layout
15678
15679 \begin_layout Itemize
15680
15681 \family sans
15682 Tema
15683 \family default
15684 : el tema de la carta, en el comportamiento normal aparece en negrita sobre
15685  el párrafo de 
15686 \family sans
15687 Apertura
15688 \family default
15689 .
15690 \end_layout
15691
15692 \begin_layout Standard
15693 Los tipos 
15694 \family sans
15695 Su_ref
15696 \family default
15697
15698 \family sans
15699 Su_Correo
15700 \family default
15701
15702 \family sans
15703 Mi_ref
15704 \family default
15705
15706 \family sans
15707 C
15708 \family default
15709 liente, y 
15710 \family sans
15711 Factura
15712 \family default
15713  generan, a la manera de las cartas comerciales, una línea sobre el 
15714 \family sans
15715 Título
15716 \family default
15717  con los campos 
15718 \begin_inset Quotes cld
15719 \end_inset
15720
15721 Su ref.
15722 \begin_inset Quotes crd
15723 \end_inset
15724
15725
15726 \begin_inset Quotes cld
15727 \end_inset
15728
15729 Su carta de
15730 \begin_inset Quotes crd
15731 \end_inset
15732
15733
15734 \begin_inset Quotes cld
15735 \end_inset
15736
15737 Nuestra ref.
15738 \begin_inset Quotes crd
15739 \end_inset
15740
15741
15742 \begin_inset Quotes cld
15743 \end_inset
15744
15745 Nº de Cliente
15746 \begin_inset Quotes crd
15747 \end_inset
15748
15749
15750 \begin_inset Quotes cld
15751 \end_inset
15752
15753 Nº de Factura:
15754 \begin_inset Quotes crd
15755 \end_inset
15756
15757 , y 
15758 \begin_inset Quotes cld
15759 \end_inset
15760
15761 Fecha
15762 \begin_inset Quotes crd
15763 \end_inset
15764
15765 .
15766  Para el campo 
15767 \begin_inset Quotes cld
15768 \end_inset
15769
15770 Fecha
15771 \begin_inset Quotes crd
15772 \end_inset
15773
15774  toma el valor del entorno 
15775 \family sans
15776 Fecha
15777 \family default
15778 .
15779  Si se utiliza uno de estos tipos para 
15780 \begin_inset Quotes cld
15781 \end_inset
15782
15783 cartas comerciales
15784 \begin_inset Quotes crd
15785 \end_inset
15786
15787 , el valor dado en 
15788 \family sans
15789 Lugar
15790 \family default
15791  no aparece, solo se define la variable \SpecialChar LaTeX
15792  
15793 \family typewriter
15794
15795 \backslash
15796 fromplace
15797 \family default
15798 .
15799  La salida ordinaria de lugar y fecha en una línea a la derecha bajo el
15800  campo del destinatario se suprime.
15801  Los tipos se implementan para introducción de datos, provistos con una
15802  etiqueta, y deben utilizarse antes del correspondiente tipo 
15803 \family sans
15804 Apertura
15805 \family default
15806 .
15807 \end_layout
15808
15809 \begin_layout Itemize
15810
15811 \family sans
15812 Su_ref
15813 \family default
15814 : su ref.
15815 \end_layout
15816
15817 \begin_layout Itemize
15818 Su
15819 \family sans
15820 _
15821 \family default
15822 Correo: su carta de.
15823 \end_layout
15824
15825 \begin_layout Itemize
15826
15827 \family sans
15828 Mi
15829 \family default
15830 _
15831 \family sans
15832 ref
15833 \family default
15834 : mi ref.
15835 \end_layout
15836
15837 \begin_layout Itemize
15838
15839 \family sans
15840 Cliente
15841 \family default
15842 : Nº de cliente.
15843 \end_layout
15844
15845 \begin_layout Itemize
15846
15847 \family sans
15848 Factura
15849 \family default
15850 : Nº de factura.
15851 \end_layout
15852
15853 \begin_layout Subsection
15854 La nueva clase de carta: letter (koma-script v.2)
15855 \end_layout
15856
15857 \begin_layout Standard
15858 por 
15859 \noun on
15860 Jürgen Spitzmüller
15861 \end_layout
15862
15863 \begin_layout Standard
15864 \begin_inset VSpace medskip
15865 \end_inset
15866
15867
15868 \end_layout
15869
15870 \begin_layout Standard
15871 \noindent
15872 Koma-Script versión 2.8 ha introducido una clase nueva 
15873 \family sans
15874 de 
15875 \family default
15876 cartas, 
15877 \family typewriter
15878 scrlttr2
15879 \family default
15880 , que reemplaza a 
15881 \family typewriter
15882 scrlettr
15883 \family default
15884 , que ya no se desarrolla.
15885  Tiene, en lo que respecta a \SpecialChar LaTeX
15886 , una interfaz completamente nueva incompatible
15887  con la clase antigua.
15888  \SpecialChar LyX
15889  soporta las dos, pero se recomienda usar la nueva.
15890 \end_layout
15891
15892 \begin_layout Standard
15893 Esta clase cubre las mismas funciones que 
15894 \family sans
15895 letter (koma-script)
15896 \family default
15897 \emph on
15898 ,
15899 \emph default
15900  y algunas más.
15901  Las funciones básicas son 
15902 \family sans
15903 Dirección
15904 \family default
15905  (dirección del destinatario, como
15906 \family sans
15907  Carta
15908 \family default
15909  en el formato antiguo), 
15910 \family sans
15911 Apertura
15912 \family default
15913 , y 
15914 \family sans
15915 Cierre
15916 \family default
15917 .
15918  
15919 \family sans
15920 Dirección
15921 \family default
15922 _
15923 \family sans
15924 Siguiente
15925 \family default
15926  comenzará una carta nueva (o sea, que puedes escribir varias cartas en
15927  el mismo documento).
15928  Los elementos nuevos de remitente son 
15929 \family sans
15930 Correo_Electrónico
15931 \family default
15932
15933 \family sans
15934 URL
15935 \family default
15936
15937 \family sans
15938 Fax
15939 \family default
15940
15941 \family sans
15942 Bank
15943 \family default
15944  y la posibilidad de usar un 
15945 \family sans
15946 Logotipo
15947 \family default
15948  (vía 
15949 \family sans
15950 Insertar\SpecialChar menuseparator
15951 Imagen
15952 \family default
15953 ) en el encabezado.
15954 \end_layout
15955
15956 \begin_layout Standard
15957 La mejora más importante es, creo, que el formato de la carta es configurable
15958  para casi cualquier necesidad.
15959  Esto se puede hacer en el preámbulo o con un archivo de estilo especial
15960  (extensión 
15961 \family typewriter
15962 .lco
15963 \family default
15964 , Letter Class Option), que será leído como una opción de clase.
15965 \begin_inset Foot
15966 status collapsed
15967
15968 \begin_layout Plain Layout
15969 El paquete KOMA viene con algunos archivos 
15970 \family typewriter
15971 .lco
15972 \family default
15973  predefinidos.
15974  Hay, por ejemplo, un archivo 
15975 \family typewriter
15976 DIN.lco
15977 \family default
15978  que sigue las normas tipográficas alemanas, o 
15979 \family typewriter
15980 KOMAold.lco
15981 \family default
15982  que proporciona el formato predefinido de la antigua clase 
15983 \family typewriter
15984 scrlettr
15985 \family default
15986 .
15987  Esta última puede cargarse como opción de clase 
15988 \family typewriter
15989 KOMAold
15990 \family default
15991 , en el campo 
15992 \family sans
15993 Opciones 
15994 \family default
15995 de 
15996 \family sans
15997 Documento\SpecialChar menuseparator
15998 Configuración\SpecialChar menuseparator
15999 Clase
16000 \begin_inset space ~
16001 \end_inset
16002
16003 de
16004 \begin_inset space ~
16005 \end_inset
16006
16007 documento
16008 \family default
16009 .
16010 \end_layout
16011
16012 \end_inset
16013
16014  Echa una ojeada a la plantilla 
16015 \emph on
16016 koma-letter2
16017 \emph default
16018  que se incluye como ejemplo en \SpecialChar LyX
16019 .
16020  En la documentación de Koma-Script (
16021 \emph on
16022 scrguide
16023 \emph default
16024 ) hay una descripción detallada.
16025 \end_layout
16026
16027 \begin_layout Subsection
16028 Problemas
16029 \end_layout
16030
16031 \begin_layout Standard
16032 En \SpecialChar LyX
16033 , la visualización de documentos de la clase Koma-Script ocasiona algunos
16034  problemas.
16035 \end_layout
16036
16037 \begin_layout Itemize
16038 El número de capítulo en un párrafo 
16039 \family sans
16040 Capítulo
16041 \family default
16042  aparece en una línea propia sobre la cabecera de capítulo en vez de aparecer
16043  delante en la misma línea.
16044  La causa de esto es el comportamiento interno de \SpecialChar LyX
16045  en relación a los marcadores
16046  del tipo 
16047 \family sans
16048 Counter_Chapter 
16049 \family default
16050 en el archivo de formato.
16051 \end_layout
16052
16053 \begin_layout Itemize
16054 Los encabezados de los entornos 
16055 \family sans
16056 Añadir_Cap
16057 \family default
16058  y 
16059 \family sans
16060 Añadir_Sec
16061 \family default
16062  solo se ponen en el índice generado por \SpecialChar LaTeX
16063 , no en el índice de \SpecialChar LyX
16064  (
16065 \family sans
16066 Documento\SpecialChar menuseparator
16067 Índice
16068 \begin_inset space ~
16069 \end_inset
16070
16071 general
16072 \family default
16073 ).
16074 \end_layout
16075
16076 \begin_layout Itemize
16077 Los párrafos en documentos de la clase 
16078 \emph on
16079 letter
16080 \emph default
16081  aparecen separados con espacio adicional entre ellos, no con sangrado.
16082  Este es el comportamiento normal, no hacen falta comandos \SpecialChar LaTeX
16083  para eso.
16084  Sin embargo, en el diálogo 
16085 \family sans
16086 Documento\SpecialChar menuseparator
16087 Configuración
16088 \family default
16089  el botón que aparece marcado es 
16090 \family sans
16091 Sangrado
16092 \family default
16093 .
16094  Si se introduce un valor de 
16095 \family sans
16096 Espacio
16097 \begin_inset space ~
16098 \end_inset
16099
16100 vertical
16101 \family default
16102  se insertan en el documento comandos \SpecialChar LaTeX
16103  adicionales para dar ese espacio,
16104  lo que en este caso no es lo que queremos.
16105 \end_layout
16106
16107 \begin_layout Section
16108 Memoir
16109 \end_layout
16110
16111 \begin_layout Standard
16112 por 
16113 \noun on
16114 Jürgen Spitzmüller
16115 \end_layout
16116
16117 \begin_layout Subsection
16118 Visión previa
16119 \end_layout
16120
16121 \begin_layout Standard
16122 Memoir es una clase poderosa y en continCarpeta sin títulouo desarrollo.
16123  Se ha diseñado para escribir literatura de ficción y de no ficción.
16124  Su objetivo es dar al usuario el máximo control sobre su documento.
16125  Memoir está basada en la clase estándar 
16126 \family sans
16127 book
16128 \family default
16129 , pero también puede emular la clase 
16130 \family sans
16131 article 
16132 \family default
16133 (véase más adelante).
16134 \end_layout
16135
16136 \begin_layout Standard
16137 Peter Wilson, el desarrollador de Memoir, es conocido como autor de muchos
16138  paquetes en el mundillo de \SpecialChar LaTeX
16139 .
16140  La mayoría de ellos se han combinado con Memoir.
16141  Por tanto, es mucho más sencillo diseñar los índices, apéndices, capítulos
16142  y demás.
16143  \SpecialChar LyX
16144 , no obstante, no soporta por sí mismo todas sus características.
16145  Algunas se podrán añadir en futuras versiones
16146 \begin_inset Foot
16147 status collapsed
16148
16149 \begin_layout Plain Layout
16150 Estás invitado a enviar sugerencias a 
16151 \begin_inset Flex URL
16152 status collapsed
16153
16154 \begin_layout Plain Layout
16155
16156 lyx-devel@lists.lyx.org
16157 \end_layout
16158
16159 \end_inset
16160
16161 .
16162 \end_layout
16163
16164 \end_inset
16165
16166 , muchas nunca, probablemente, debido a limitaciones estructurales de \SpecialChar LyX
16167 .
16168  Por supuesto, puedes usar todas las características con ayuda de comandos
16169  \SpecialChar LaTeX
16170  (código \SpecialChar TeX
16171
16172 \begin_inset Foot
16173 status collapsed
16174
16175 \begin_layout Plain Layout
16176 Consulta la sección
16177 \begin_inset space ~
16178 \end_inset
16179
16180
16181 \begin_inset CommandInset ref
16182 LatexCommand ref
16183 reference "sec:Insertar-Código-TeX"
16184
16185 \end_inset
16186
16187  para más detalles.
16188 \end_layout
16189
16190 \end_inset
16191
16192 ).
16193  En esta sección solo trataremos las características soportadas directamente
16194  por \SpecialChar LyX
16195 .
16196  Para una decripción más completa (y para el resto de características) recomenda
16197 mos la consulta del manual de Memoir
16198 \begin_inset Foot
16199 status collapsed
16200
16201 \begin_layout Plain Layout
16202 \begin_inset Flex URL
16203 status collapsed
16204
16205 \begin_layout Plain Layout
16206
16207 CTAN:/macros/latex/memoir/memman.pdf
16208 \end_layout
16209
16210 \end_inset
16211
16212 .
16213 \end_layout
16214
16215 \end_inset
16216
16217 , que es, no solo una guía de usuario, sino también una completa guía sobre
16218  normas tipográficas y un estupendo ejemplo en sí mismo de buena tipografía.
16219 \end_layout
16220
16221 \begin_layout Subsection
16222 Características básicas y restricciones
16223 \end_layout
16224
16225 \begin_layout Standard
16226 Memoir soporta básicamente todas las características de las clases estándar
16227  de 
16228 \family sans
16229 book
16230 \family default
16231 .
16232  Pero hay algunas diferencias:
16233 \end_layout
16234
16235 \begin_layout Description
16236 Tamaños
16237 \begin_inset space ~
16238 \end_inset
16239
16240 de
16241 \begin_inset space ~
16242 \end_inset
16243
16244 tipografía: Memoir tiene un amplio rango de tamaños de tipografía: 9, 10,
16245  11, 12, 14, 17
16246 \end_layout
16247
16248 \begin_layout Description
16249 Estilo
16250 \begin_inset space ~
16251 \end_inset
16252
16253 de
16254 \begin_inset space ~
16255 \end_inset
16256
16257 página: El estilo 
16258 \begin_inset Quotes cld
16259 \end_inset
16260
16261 fancy
16262 \begin_inset Quotes crd
16263 \end_inset
16264
16265  no está soportado, debido a un conflicto entre Memoir y el paquete 
16266 \family sans
16267 fancyhdr
16268 \family default
16269  (ambos definen un comando con el mismo nombre, lo que confunde a \SpecialChar LaTeX
16270 ).
16271  En su lugar, Memoir dispone de un puñado de estilos de página propios (véase
16272  
16273 \family sans
16274 \lang english
16275 Document\SpecialChar menuseparator
16276 Settings\SpecialChar menuseparator
16277 Page
16278 \begin_inset space ~
16279 \end_inset
16280
16281 Style
16282 \family default
16283 \lang spanish
16284 ).
16285  Si quieres usar estos para las páginas de capítulos, tienes que usar el
16286  comando 
16287 \family typewriter
16288
16289 \backslash
16290 chapterstyle
16291 \family default
16292  en el texto o en el preámbulo (p.
16293 \begin_inset space \thinspace{}
16294 \end_inset
16295
16296 ej.
16297 \begin_inset space ~
16298 \end_inset
16299
16300
16301 \family typewriter
16302
16303 \backslash
16304 chapterstyle{companion}
16305 \family default
16306 ).
16307 \end_layout
16308
16309 \begin_layout Description
16310 Seccionamiento: En las clases estándar, las secciones (capítulo, sección,
16311  subsección, etc.) van con un argumento opcional con el que puedes especificar
16312  una versión alternativa del título de la sección para el índice y para
16313  los encabezamientos de página, (por ejemplo, cuando el título es excesivamente
16314  largo).
16315  En \SpecialChar LyX
16316 , puedes hacerlo con la opción de menú 
16317 \family sans
16318 Insertar\SpecialChar menuseparator
16319 Título
16320 \begin_inset space ~
16321 \end_inset
16322
16323 breve
16324 \family default
16325  al principio de un capítulo/sección.
16326  
16327 \family sans
16328 Memoir
16329 \family default
16330  suministra un segundo argumento opcional para separar el índice del encabezamie
16331 nto.
16332  Con esto puedes definir tres variantes de un título: una para el texto
16333  principal, otra para el índice general y otra para los encabezamientos.
16334  
16335 \lang english
16336 \SpecialChar LyX
16337  makes these available in form of specific 
16338 \family sans
16339 Short Title
16340 \family default
16341  variants in the 
16342 \family sans
16343 Insert
16344 \family default
16345  menu.
16346 \end_layout
16347
16348 \begin_layout Description
16349 TOC/LOF/LOT: En las clases estándar (y en muchas otras), los índices general
16350  (IG, TOC), de figuras (LOF) y de cuadros (LOT) se inician automáticamente
16351  en página nueva.
16352  
16353 \family sans
16354 Memoir
16355 \family default
16356  no sigue esta regla.
16357  Si lo quieres, tienes que insertar a mano el salto de página.
16358 \end_layout
16359
16360 \begin_layout Description
16361 Página
16362 \begin_inset space ~
16363 \end_inset
16364
16365 de
16366 \begin_inset space ~
16367 \end_inset
16368
16369 Título: Por razones desconocidas, 
16370 \family sans
16371 Memoir
16372 \family default
16373  usa paginación en la página del título (en las clases estándar, las páginas
16374  de título van en estilo 
16375 \begin_inset Quotes cld
16376 \end_inset
16377
16378
16379 \family sans
16380 empty
16381 \family default
16382
16383 \begin_inset Quotes crd
16384 \end_inset
16385
16386 , sin número).
16387  Si quieres una página de título en dicho estilo, pon 
16388 \family typewriter
16389
16390 \backslash
16391 aliaspagestyle{title}{empty}
16392 \family default
16393  en el preámbulo.
16394 \end_layout
16395
16396 \begin_layout Description
16397 Article: Con la opción de clase 
16398 \emph on
16399 article
16400 \emph default
16401  (que se debe introducir en 
16402 \family sans
16403 Documento\SpecialChar menuseparator
16404 Configuración\SpecialChar menuseparator
16405 Clase
16406 \begin_inset space ~
16407 \end_inset
16408
16409 de
16410 \begin_inset space ~
16411 \end_inset
16412
16413 documento\SpecialChar menuseparator
16414
16415 \lang english
16416 Custom
16417 \begin_inset space ~
16418 \end_inset
16419
16420
16421 \lang spanish
16422 Opciones
16423 \family default
16424 ), puedes emular algunos comportamientos de estilo de la clase 
16425 \family sans
16426 article
16427 \family default
16428 : los contadores (de notas al pie, figuras, cuadros, etc.) no se reinician
16429  al cambiar de capítulo, los capítulos nuevos no comienzan en página nueva
16430  (aunque, a diferencia de las clases 
16431 \family sans
16432 article 
16433 \family default
16434
16435 \begin_inset Quotes cld
16436 \end_inset
16437
16438 de verdad
16439 \begin_inset Quotes crd
16440 \end_inset
16441
16442 , está permitido); sin embargo, las partes sí van en páginas nuevas, como
16443  en las clases 
16444 \family sans
16445 book
16446 \family default
16447 .
16448 \end_layout
16449
16450 \begin_layout Description
16451 Comandos
16452 \begin_inset space ~
16453 \end_inset
16454
16455 de
16456 \begin_inset space ~
16457 \end_inset
16458
16459 tipografía
16460 \begin_inset space ~
16461 \end_inset
16462
16463 antiguos: por omisión, 
16464 \family sans
16465 Memoir
16466 \family default
16467  no permite el uso de los comandos de tipografía obsoletos que se usaban
16468  en la antigua versión de \SpecialChar LaTeX
16469 , 2.09 (p.
16470 \begin_inset space \thinspace{}
16471 \end_inset
16472
16473 ej.
16474 \family typewriter
16475
16476 \begin_inset space ~
16477 \end_inset
16478
16479
16480 \backslash
16481 rm
16482 \family default
16483 ,
16484 \begin_inset space ~
16485 \end_inset
16486
16487
16488 \family typewriter
16489
16490 \backslash
16491 it
16492 \family default
16493 ).
16494  Si están presentes, generan errores y detienen el procesamiento de \SpecialChar LaTeX
16495 .
16496  La opción de clase 
16497 \emph on
16498 oldfontcommands
16499 \emph default
16500  readmite el uso de dichos comandos, (aunque escupe algunas advertencias,
16501  al menos no detiene a \SpecialChar LaTeX
16502 ).
16503  Puesto que algunos paquetes, en particular Bib\SpecialChar TeX
16504  en sus archivos de estilo,
16505  todavía utilizan estos comandos, hemos decidido mantener esta opción como
16506  predeterminada.
16507 \end_layout
16508
16509 \begin_layout Subsection
16510 Características adicionales
16511 \end_layout
16512
16513 \begin_layout Standard
16514 Solo indicaremos las soportadas por \SpecialChar LyX
16515  (que actualmente no son muchas).
16516  Consulta el manual de 
16517 \family sans
16518 Memoir
16519 \family default
16520  para más detalles.
16521 \begin_inset Foot
16522 status collapsed
16523
16524 \begin_layout Plain Layout
16525 \begin_inset Flex URL
16526 status collapsed
16527
16528 \begin_layout Plain Layout
16529
16530 CTAN:/macros/latex/memoir/memman.pdf
16531 \end_layout
16532
16533 \end_inset
16534
16535 .
16536 \end_layout
16537
16538 \end_inset
16539
16540
16541 \end_layout
16542
16543 \begin_layout Description
16544 Resumen: Te preguntarás por qué un resumen es un característica suplementaria.
16545  Bien, lo es en la clase 
16546 \family sans
16547 book
16548 \family default
16549 .
16550  Usualmente los libros no tienen resúmenes.
16551  
16552 \family sans
16553 Memoir
16554 \family default
16555 , sin embargo, sí.
16556  Puedes usarlo donde, como y cuantas veces quieras.
16557 \end_layout
16558
16559 \begin_layout Description
16560 Capítulo
16561 \begin_inset space ~
16562 \end_inset
16563
16564 conciso: Quizá conozcas esto de 
16565 \begin_inset Quotes cld
16566 \end_inset
16567
16568 belletristic
16569 \begin_inset Quotes crd
16570 \end_inset
16571
16572
16573 \begin_inset Foot
16574 status collapsed
16575
16576 \begin_layout Plain Layout
16577 Estilo de escritura en que se da más importancia a la bella apariencia que
16578  al contenido.
16579
16580 \emph on
16581  (N.
16582  del t.)
16583 \end_layout
16584
16585 \end_inset
16586
16587 : El contenido de un capítulo es brevemente descrito debajo del título y
16588  también en el índice general (p.
16589 \begin_inset space \thinspace{}
16590 \end_inset
16591
16592 ej.
16593 \begin_inset space ~
16594 \end_inset
16595
16596
16597 \emph on
16598 Nuestro héroe llega a Troya; pierde algunos compañeros; encuentra a otros
16599 \emph default
16600 ).
16601  Capítulo_Conciso hace precisamente eso.
16602  Por tanto solo tiene sentido bajo un título de un capítulo.
16603 \end_layout
16604
16605 \begin_layout Description
16606 Epígrafe: Un epígrafe es un texto breve o lema al principio de un capítulo.
16607  El entorno epígrafe lo presenta de manera elegante.
16608  El propio lema (texto) y su autor (origen) se separan con una línea corta.
16609  
16610 \lang english
16611 The author (source) can be inserted via 
16612 \family sans
16613 Insert\SpecialChar menuseparator
16614 Epigraph Source
16615 \family default
16616 \emph on
16617 .
16618 \end_layout
16619
16620 \begin_layout Description
16621 Título
16622 \begin_inset space ~
16623 \end_inset
16624
16625 poema: 
16626 \family sans
16627 Memoir
16628 \family default
16629  ofrece muchas posibilidades para escribir poesía (incluso complejos poemas
16630  figurativos).
16631  Lyx solo soporta unas pocas de ellas.
16632  Una es 
16633 \family sans
16634 Título_Poema
16635 \family default
16636 , que pone un título centrado para el poema y que también se añade al índice
16637  general.
16638  (
16639 \family sans
16640 Verso
16641 \family default
16642  es el entorno estándar para poesía.
16643  
16644 \family sans
16645 Memoir
16646 \family default
16647  dispone de algunas versiones mejoradas de 
16648 \family sans
16649 verse
16650 \family default
16651 , pero necesitas usar código \SpecialChar TeX
16652 , porque tienen que anidarse en entornos regulares
16653  de verso, lo que no es posible en \SpecialChar LyX
16654 ).
16655 \end_layout
16656
16657 \begin_layout Description
16658 Título
16659 \begin_inset space ~
16660 \end_inset
16661
16662 poema*: Igual que 
16663 \family sans
16664 Título
16665 \begin_inset space ~
16666 \end_inset
16667
16668 poema
16669 \family default
16670 , pero no añade entrada al índice general.
16671 \end_layout
16672
16673 \begin_layout Section
16674 Article (mwart), book (mwbk) y report (mwrep)
16675 \begin_inset Argument 1
16676 status collapsed
16677
16678 \begin_layout Plain Layout
16679 Las clases 
16680 \family typewriter
16681 mw
16682 \end_layout
16683
16684 \end_inset
16685
16686
16687 \end_layout
16688
16689 \begin_layout Standard
16690 por 
16691 \noun on
16692 Tomasz Luczak
16693 \end_layout
16694
16695 \begin_layout Standard
16696 Las clases de documento 
16697 \family sans
16698 article (mwart)
16699 \emph on
16700
16701 \emph default
16702 report (mwrep)
16703 \family default
16704  y 
16705 \family sans
16706 book
16707 \emph on
16708  
16709 \emph default
16710 (mwbk)
16711 \family default
16712  de \SpecialChar LyX
16713  corresponden a las clases de documentos \SpecialChar LaTeX
16714  
16715 \family typewriter
16716 mwart.cls
16717 \family default
16718
16719 \family typewriter
16720 mwrep.cls
16721 \family default
16722  y 
16723 \family typewriter
16724 mwbk.cls
16725 \family default
16726 , respectivamente.
16727  Son remodelaciones de las clases estándar de documentos 
16728 \family typewriter
16729 article.cls
16730 \family default
16731
16732 \family typewriter
16733 report.cls
16734 \family default
16735  y 
16736 \family typewriter
16737 book.cls
16738 \family default
16739 , respectivamente, y se adaptan mejor a las convenciones tipográficas polacas
16740  en varios aspectos.
16741  
16742 \end_layout
16743
16744 \begin_layout Standard
16745 Las diferencias fundamentales son:
16746 \end_layout
16747
16748 \begin_layout Itemize
16749 Encabezados no numerados (con asterisco, p.
16750 \begin_inset space \thinspace{}
16751 \end_inset
16752
16753 ej.
16754  
16755 \family sans
16756 Sección*
16757 \family default
16758 ) en el índice.
16759 \end_layout
16760
16761 \begin_layout Itemize
16762 Estilos de página adicionales:
16763 \end_layout
16764
16765 \begin_deeper
16766 \begin_layout Description
16767 uheadings encabezados en líneas separadas,
16768 \end_layout
16769
16770 \begin_layout Description
16771 myheadings encabezados personalizados con 
16772 \family typewriter
16773
16774 \backslash
16775 markright
16776 \family default
16777  y 
16778 \family typewriter
16779
16780 \backslash
16781 markboth
16782 \family default
16783 ,
16784 \end_layout
16785
16786 \begin_layout Description
16787 myuheadings encabezados personalizados en líneas separadas,
16788 \end_layout
16789
16790 \begin_layout Description
16791 outer el número de página se coloca en el lado exterior de la misma.
16792 \end_layout
16793
16794 \end_deeper
16795 \begin_layout Itemize
16796 Opciones 
16797 \end_layout
16798
16799 \begin_deeper
16800 \begin_layout Description
16801 rmheadings encabezados en serif (predeterminado),
16802 \end_layout
16803
16804 \begin_layout Description
16805 sfheadings encabezados en sans-serif,
16806 \end_layout
16807
16808 \begin_layout Description
16809 authortitle en la página del título se pone primero el autor y luego el
16810  título (predeterminado),
16811 \end_layout
16812
16813 \begin_layout Description
16814 titleauthor en la página del título se pone el título, después el autor,
16815 \end_layout
16816
16817 \begin_layout Description
16818 withmarginpar reservar sitio de la página para los márgenes.
16819 \end_layout
16820
16821 \end_deeper
16822 \begin_layout Section
16823 Paper
16824 \end_layout
16825
16826 \begin_layout Standard
16827 La clase de documento 
16828 \family sans
16829 paper
16830 \family default
16831  provee una alternativa a la clase estándar 
16832 \family sans
16833 article
16834 \family default
16835 .
16836  Tiene una funcionalidad similar, aunque quizá prefieras este formato con
16837  secciones en sans serif, encabezados, y más..
16838 \end_layout
16839
16840 \begin_layout Section
16841 Rev\SpecialChar TeX
16842 4
16843 \end_layout
16844
16845 \begin_layout Standard
16846 por 
16847 \noun on
16848 Amir Karger
16849 \end_layout
16850
16851 \begin_layout Standard
16852 \begin_inset VSpace bigskip
16853 \end_inset
16854
16855
16856 \end_layout
16857
16858 \begin_layout Standard
16859 \noindent
16860 La clase de texto 
16861 \family sans
16862 Revtex
16863 \begin_inset space ~
16864 \end_inset
16865
16866
16867 \family default
16868 trabaja con la clase Rev\SpecialChar TeX
16869  4.0 (versión 
16870 \begin_inset Formula $\beta$
16871 \end_inset
16872
16873  de mayo de 1999) de la 
16874 \emph on
16875 American Physical Society
16876 \emph default
16877 .
16878 \end_layout
16879
16880 \begin_layout Standard
16881 \SpecialChar LyX
16882  tiene la clase de texto 
16883 \family sans
16884 Revtex
16885 \family default
16886  que funciona con Rev\SpecialChar TeX
16887  3.1.
16888  Sin embargo, la versión 3.1 está obsoleta, porque trabaja con \SpecialChar LaTeX
16889  2.09.
16890  Esto quiere decir que no interactúa muy bien con \SpecialChar LyX
16891 , que requiere \SpecialChar LaTeX2e
16892 , aunque
16893  se haya parcheado.
16894  Puesto que Rev\SpecialChar TeX
16895  4.0 se ha diseñado para trabajar mucho mejor con \SpecialChar LaTeX2e
16896 , \SpecialChar LyX
16897  debería
16898  también funcionar mejor con la clase 
16899 \family sans
16900 Rev\SpecialChar TeX
16901
16902 \begin_inset space ~
16903 \end_inset
16904
16905 4
16906 \family default
16907 .
16908 \end_layout
16909
16910 \begin_layout Standard
16911 Esta documentación está pensada para ser usada 
16912 \emph on
16913 además de 
16914 \emph default
16915 la documentación de Rev\SpecialChar TeX
16916
16917 \begin_inset space ~
16918 \end_inset
16919
16920 4.0, por tanto no describiremos ninguna de las macros especiales de Rev\SpecialChar TeX
16921 ,
16922  y supondremos que sabes lo que hay que poner en el preámbulo, si fuera
16923  preciso.
16924 \end_layout
16925
16926 \begin_layout Subsection
16927 Instalación
16928 \end_layout
16929
16930 \begin_layout Standard
16931 Debes instalar Rev\SpecialChar TeX
16932
16933 \begin_inset space ~
16934 \end_inset
16935
16936 4 como se describe en el archivo README del paquete.
16937  El paquete se puede encontrar en el sitio web de Rev\SpecialChar TeX
16938  4: 
16939 \begin_inset Flex URL
16940 status collapsed
16941
16942 \begin_layout Plain Layout
16943
16944 http://publish.aps.org/revtex4/
16945 \end_layout
16946
16947 \end_inset
16948
16949 .
16950  Instálalo donde \SpecialChar LaTeX
16951  pueda encontrarlo.
16952  Compruébalo procesando con \SpecialChar LaTeX
16953  algún corto documento Rev\SpecialChar TeX
16954
16955 \begin_inset space ~
16956 \end_inset
16957
16958 4 en algún directorio casual (es decir, no en el directorio donde se ha
16959  instalado el archivo de clase).
16960  Luego, si reconfiguras \SpecialChar LyX
16961 , este reconocerá el archivo de clase Rev\SpecialChar TeX
16962
16963 \begin_inset space ~
16964 \end_inset
16965
16966 4 y lo podrás utilizar.
16967 \end_layout
16968
16969 \begin_layout Standard
16970 Probablemente la forma más fácil de empezar es importar un documento Rev\SpecialChar TeX
16971
16972 \begin_inset space ~
16973 \end_inset
16974
16975 4 usando re\SpecialChar LyX
16976 , o partir del modelo de la plantilla de Rev\SpecialChar TeX
16977
16978 \begin_inset space ~
16979 \end_inset
16980
16981
16982 \family sans
16983 4
16984 \family default
16985 , disponible en el directorio de plantillas (
16986 \emph on
16987 templates
16988 \emph default
16989 ).
16990 \end_layout
16991
16992 \begin_layout Subsection
16993 Preámbulo
16994 \end_layout
16995
16996 \begin_layout Standard
16997 Los argumentos opcionales a 
16998 \family typewriter
16999
17000 \backslash
17001 documentclass
17002 \family default
17003 , como 
17004 \begin_inset Quotes cld
17005 \end_inset
17006
17007 preprint
17008 \begin_inset Quotes crd
17009 \end_inset
17010
17011  y 
17012 \begin_inset Quotes cld
17013 \end_inset
17014
17015 aps
17016 \begin_inset Quotes crd
17017 \end_inset
17018
17019 , van en el campo 
17020 \family sans
17021 Opciones
17022 \family default
17023  del diálogo 
17024 \family sans
17025 Documento\SpecialChar menuseparator
17026 Configuración\SpecialChar menuseparator
17027 Clase
17028 \begin_inset space ~
17029 \end_inset
17030
17031 del
17032 \family default
17033
17034 \begin_inset space ~
17035 \end_inset
17036
17037
17038 \family sans
17039 documento
17040 \family default
17041 .
17042  ¡Recuerda que en Rev\SpecialChar TeX
17043 , se requiere, al menos, un argumento opcional! 
17044 \end_layout
17045
17046 \begin_layout Standard
17047 Otras cosas del preámbulo, como 
17048 \family typewriter
17049
17050 \backslash
17051 draft
17052 \family default
17053  etc., van en el diálogo 
17054 \family sans
17055 Preámbulo
17056 \begin_inset space ~
17057 \end_inset
17058
17059 La
17060 \family default
17061 \SpecialChar TeX
17062
17063 \family sans
17064
17065 \family default
17066 como de costumbre.
17067 \end_layout
17068
17069 \begin_layout Subsection
17070 Entornos de párrafo
17071 \end_layout
17072
17073 \begin_layout Standard
17074 En Rev\SpecialChar TeX
17075
17076 \begin_inset space ~
17077 \end_inset
17078
17079 4.0, los entornos de párrafo corresponden básicamente a comandos.
17080  Por ejemplo, el formato 
17081 \family sans
17082 CorreoE
17083 \family default
17084  corresponde a 
17085 \family typewriter
17086
17087 \backslash
17088 email{}
17089 \family default
17090 .
17091  Ten en cuenta que (al menos desde Rev\SpecialChar TeX
17092  4.0 Beta), los entornos 
17093 \family sans
17094 Dirección
17095 \family default
17096  y 
17097 \family sans
17098 Afiliación
17099 \family default
17100  son exactamente equivalentes, por lo que no tendrías que usar ambos.
17101 \begin_inset Foot
17102 status collapsed
17103
17104 \begin_layout Plain Layout
17105 Si tienes curiosidad, se incluyeron ambos para que 
17106 \family typewriter
17107 tex2\SpecialChar LyX
17108
17109 \family default
17110  puediera traducir ambos,
17111 \family typewriter
17112  
17113 \backslash
17114 address
17115 \family default
17116  y 
17117 \family typewriter
17118
17119 \backslash
17120 affiliation
17121 \family default
17122 .
17123 \end_layout
17124
17125 \end_inset
17126
17127
17128 \end_layout
17129
17130 \begin_layout Subsection
17131 Notas importantes
17132 \end_layout
17133
17134 \begin_layout Standard
17135 Hay un par de importantes aspectos únicos de Rev\SpecialChar TeX
17136  4 que podrían ocasionar
17137  fallos que serán incluso más confusos en \SpecialChar LyX
17138 .
17139 \end_layout
17140
17141 \begin_layout Standard
17142 En Rev\SpecialChar TeX
17143 , el comando 
17144 \family typewriter
17145
17146 \backslash
17147 thanks
17148 \family default
17149  va 
17150 \emph on
17151 fuera
17152 \emph default
17153  del comando 
17154 \family typewriter
17155
17156 \backslash
17157 author.
17158
17159 \family default
17160  El equivalente en \SpecialChar LyX
17161  es que hay un entorno 
17162 \family sans
17163 Gracias 
17164 \family default
17165 separado.
17166  
17167 \emph on
17168 No
17169 \emph default
17170  escribas notas al pie en el entorno 
17171 \family sans
17172 Autor
17173 \family default
17174 , o
17175 \family sans
17176  sucederán cosas raras
17177 \family default
17178 .
17179  Véase la documentación de Rev\SpecialChar TeX
17180  4 para más detalles.
17181 \end_layout
17182
17183 \begin_layout Standard
17184 Además, los entornos 
17185 \family sans
17186 Autor
17187 \begin_inset space ~
17188 \end_inset
17189
17190 CorreoE
17191 \family default
17192
17193 \family sans
17194 Autor
17195 \begin_inset space ~
17196 \end_inset
17197
17198 URL
17199 \family default
17200 , y 
17201 \family sans
17202 Gracias
17203 \family default
17204  deben situarse 
17205 \emph on
17206 entre
17207 \emph default
17208  el entorno 
17209 \family sans
17210 Autor
17211 \family default
17212  y el entorno correspondiente 
17213 \family sans
17214 Dirección
17215 \family default
17216  (o el equivalente 
17217 \family sans
17218 Afiliación
17219 \family default
17220 ).
17221  Si pones 
17222 \family sans
17223 Gracias
17224 \family default
17225  después de 
17226 \family sans
17227 Dirección
17228 \family default
17229 , \SpecialChar LaTeX
17230  no compilará.
17231 \end_layout
17232
17233 \begin_layout Section
17234 Publicaciones de Springer (
17235 \family sans
17236 svjour
17237 \family default
17238 )
17239 \end_layout
17240
17241 \begin_layout Standard
17242 por 
17243 \noun on
17244 Martin Vermeer
17245 \end_layout
17246
17247 \begin_layout Subsection
17248 Descripción
17249 \end_layout
17250
17251 \begin_layout Standard
17252 Estos son los archivos de formato para algunas de las publicaciones editadas
17253  por 
17254 \emph on
17255 Springer Verlag
17256 \emph default
17257 , las que se recogen en 
17258 \begin_inset Flex URL
17259 status collapsed
17260
17261 \begin_layout Plain Layout
17262
17263 http://www.springer.de/author/tex/help-journals.html
17264 \end_layout
17265
17266 \end_inset
17267
17268 , donde debes acudir para conseguir los archivos de la clase (¡sí, ahora
17269  son \SpecialChar LaTeX2e
17270 !).
17271  Es un sistema modular: las características comunes a todas las publicaciones
17272  se implementan en 
17273 \family typewriter
17274 svjour.inc
17275 \family default
17276 , y los archivos de formato específicos (tales como, p.
17277 \begin_inset space \thinspace{}
17278 \end_inset
17279
17280 ej., 
17281 \family typewriter
17282 svjog.layout
17283 \family default
17284  para 
17285 \emph on
17286 Journal of Geodesy
17287 \emph default
17288 ) pueden incluirlo.
17289 \end_layout
17290
17291 \begin_layout Standard
17292 Esto significa que implementar soporte para cualquier otra publicación de
17293  
17294 \emph on
17295 Springer 
17296 \emph default
17297 incluida en esa lista es tan sencillo como escribir tu propio archivo 
17298 \family typewriter
17299 sv
17300 \family default
17301 <la_publicación>
17302 \family typewriter
17303 .layout
17304 \family default
17305  siguiendo las pautas dadas en 
17306 \family typewriter
17307 svjog.layout
17308 \family default
17309 .
17310  
17311 \end_layout
17312
17313 \begin_layout Standard
17314 Está razonablemente bien probado solo en el caso de 
17315 \emph on
17316 Journal of Geodesy
17317 \emph default
17318 .
17319  
17320 \family typewriter
17321 svjour
17322 \family default
17323  y 
17324 \family typewriter
17325 svjog
17326 \family default
17327  vienen con la distribución estándar de \SpecialChar LyX
17328 .
17329  Instala el archivo de clase correspondiente (descargado del sitio de 
17330 \emph on
17331 Springer
17332 \emph default
17333 ) en un directorio adecuado, reconfigura \SpecialChar LaTeX
17334  —en el caso de te\SpecialChar TeX
17335  ejecutando 
17336 \family typewriter
17337 texhash
17338 \family default
17339 , como root si es necesario.
17340  (¿\SpecialChar LyX
17341  no se ocupa de esto?)—; reconfigura \SpecialChar LyX
17342  y ya debería funcionar.
17343 \end_layout
17344
17345 \begin_layout Subsection
17346 Estilos nuevos
17347 \end_layout
17348
17349 \begin_layout Standard
17350 Un gran número de estilos tipo teorema –
17351 \family sans
17352 Afirmación, Conjetura,
17353 \family default
17354  
17355 \family sans
17356 \SpecialChar ldots
17357 Teorem
17358 \family default
17359 a–.
17360 \end_layout
17361
17362 \begin_layout Standard
17363
17364 \family sans
17365 Nota_Encabezado, Dedicatoria, Subtítulo, Título_\SpecialChar LaTeX
17366 _Puesto, Autor_Puesto, Instituto
17367 , Correo, Separatas, Palabras_clave, Agradecimientos
17368 \family default
17369 .
17370  Véase la documentación de la clase Springer para más detalles.
17371 \end_layout
17372
17373 \begin_layout Subsection
17374 Publicaciones soportadas
17375 \end_layout
17376
17377 \begin_layout Itemize
17378
17379 \emph on
17380 Journal of Geodesy
17381 \emph default
17382
17383 \family typewriter
17384 svjog.layout
17385 \family default
17386  — Martin Vermeer
17387 \end_layout
17388
17389 \begin_layout Itemize
17390
17391 \emph on
17392 Probability Theory and Related Fields
17393 \emph default
17394
17395 \family typewriter
17396 svprobth.layout
17397 \family default
17398  — Jean-Marc Lasgouttes
17399 \end_layout
17400
17401 \begin_layout Standard
17402 ¡Añade el tuyo, no es tan duro!
17403 \end_layout
17404
17405 \begin_layout Subsection
17406 CréditosCarpeta sin título
17407 \end_layout
17408
17409 \begin_layout Standard
17410 Estos archivos están basados parcialmente en el antiguo 
17411 \family typewriter
17412 ejour2.layout
17413 \family default
17414 , basado a su vez en una versión modificada de un antiguo archivo de estilo
17415  de \SpecialChar LaTeX
17416  2.09 de 
17417 \emph on
17418 Springer
17419 \emph default
17420 .
17421  Todo esto, y el archivo 
17422 \family typewriter
17423 ejour2
17424 \family default
17425  layout, están obsoletos.
17426  Jean-Marc Lasgouttes me ayudó mucho a encontrar mi propio mecanismo para
17427  el archivo de formato de \SpecialChar LyX
17428 .
17429 \end_layout
17430
17431 \begin_layout Subsection
17432 Fallos
17433 \end_layout
17434
17435 \begin_layout Standard
17436 Probablemente.
17437  Pero probablemente menos que en el antiguo 
17438 \family typewriter
17439 ejour2
17440 \family default
17441  de \SpecialChar LaTeX
17442  modificado.
17443 \end_layout
17444
17445 \begin_layout Section
17446 Slides (antes 
17447 \noun on
17448 Sli
17449 \noun default
17450 \SpecialChar TeX
17451 )
17452 \begin_inset CommandInset label
17453 LatexCommand label
17454 name "sec:slitex"
17455
17456 \end_inset
17457
17458
17459 \end_layout
17460
17461 \begin_layout Standard
17462 por 
17463 \noun on
17464 John Weiss
17465 \noun default
17466  
17467 \end_layout
17468
17469 \begin_layout Subsection
17470 Introducción
17471 \end_layout
17472
17473 \begin_layout Standard
17474 Esta sección describe cómo usar \SpecialChar LyX
17475  para hacer transparencias para proyectores.
17476  Hay dos clases de documento que pueden hacer esto: la clase predeterminada
17477  
17478 \family sans
17479 slides
17480 \family default
17481  y la clase 
17482 \family sans
17483 Foil
17484 \family default
17485 \SpecialChar TeX
17486 .
17487  Esta sección se ocupa de la primera de ellas.
17488 \end_layout
17489
17490 \begin_layout Standard
17491 Lo voy a repetir alto y claro, para que no haya equívocos:
17492 \end_layout
17493
17494 \begin_layout Standard
17495 \begin_inset VSpace medskip
17496 \end_inset
17497
17498
17499 \end_layout
17500
17501 \begin_layout Standard
17502 \align center
17503
17504 \size large
17505 En esta sección se explica 
17506 \emph on
17507 solo
17508 \emph default
17509
17510 \begin_inset space ~
17511 \end_inset
17512
17513 la clase 
17514 \family sans
17515 slides (predeterminada)
17516 \family default
17517 \emph on
17518 .
17519 \end_layout
17520
17521 \begin_layout Standard
17522 \begin_inset VSpace medskip
17523 \end_inset
17524
17525
17526 \end_layout
17527
17528 \begin_layout Standard
17529 Si buscas la documentación para 
17530 \begin_inset Quotes cld
17531 \end_inset
17532
17533
17534 \family sans
17535 slides (Foil\SpecialChar TeX
17536 )
17537 \family default
17538
17539 \begin_inset Quotes crd
17540 \end_inset
17541
17542 , mira en la sección
17543 \begin_inset space ~
17544 \end_inset
17545
17546
17547 \begin_inset CommandInset ref
17548 LatexCommand ref
17549 reference "sec:foiltex"
17550
17551 \end_inset
17552
17553 .
17554  La clase 
17555 \family sans
17556 foils
17557 \family default
17558  (
17559 \begin_inset Quotes cld
17560 \end_inset
17561
17562
17563 \family sans
17564 slides (Foil\SpecialChar TeX
17565 )
17566 \family default
17567
17568 \begin_inset Quotes crd
17569 \end_inset
17570
17571 ) es realmente un poco mejor que la clase predeterminada 
17572 \family sans
17573 slides
17574 \family default
17575 ,
17576 \begin_inset Foot
17577 status collapsed
17578
17579 \begin_layout Plain Layout
17580 \SpecialChar ldots
17581 o eso se dice repetidamente por sus defensores.
17582  Puesto que no la he usado nunca, no tengo ni idea si es cierto o no.
17583 \end_layout
17584
17585 \end_inset
17586
17587  que se explica en esta sección.
17588 \end_layout
17589
17590 \begin_layout Standard
17591 Esta clase es una mejora del antiguo paquete 
17592 \noun on
17593 Sli
17594 \noun default
17595 \SpecialChar TeX
17596  de \SpecialChar LaTeX2e
17597 .
17598  Toda distribución de \SpecialChar LaTeX2e
17599  la incluye (nos referiremos desde ahora a 
17600 \begin_inset Quotes cld
17601 \end_inset
17602
17603
17604 \family sans
17605 slides
17606 \family default
17607
17608 \begin_inset Quotes crd
17609 \end_inset
17610
17611 ), así que lo tendrás.
17612  Como anoté antes, hay otras clases, como 
17613 \family sans
17614 foils
17615 \family default
17616 , que también produce transparencias y hace mejor su tarea.
17617  Sin embargo, hay ciertas cosas que 
17618 \family sans
17619 slides
17620 \family default
17621  puede hacer que los otros no pueden, como capas superpuestas.
17622  ¡Sigue leyendo para saber más!
17623 \end_layout
17624
17625 \begin_layout Subsection
17626 Para empezar
17627 \begin_inset CommandInset label
17628 LatexCommand label
17629 name "sec:slidesetup"
17630
17631 \end_inset
17632
17633
17634 \end_layout
17635
17636 \begin_layout Standard
17637 Obviamente, para usar esta clase debes escoger 
17638 \begin_inset Quotes cld
17639 \end_inset
17640
17641
17642 \family sans
17643 slides (default)
17644 \family default
17645
17646 \begin_inset Quotes crd
17647 \end_inset
17648
17649  en el diálogo 
17650 \family sans
17651 Documento\SpecialChar menuseparator
17652 Configuración
17653 \family default
17654 .
17655  Algunas cosas que debes saber sobre esta clase:
17656 \end_layout
17657
17658 \begin_layout Itemize
17659 No enredes con cambios en las opciones 
17660 \family sans
17661 Caras 
17662 \family default
17663 y
17664 \family sans
17665  Columnas
17666 \family default
17667 .
17668  No es soportado por 
17669 \family sans
17670 slides
17671 \family default
17672 .
17673 \end_layout
17674
17675 \begin_layout Itemize
17676 La opción 
17677 \family sans
17678 Diseño
17679 \begin_inset space ~
17680 \end_inset
17681
17682 de
17683 \begin_inset space ~
17684 \end_inset
17685
17686 página
17687 \family default
17688  se porta un poco distinto para esta clase.
17689  Las opciones disponibles y su efecto son:
17690 \end_layout
17691
17692 \begin_deeper
17693 \begin_layout Description
17694
17695 \family sans
17696 plain
17697 \family default
17698  La salida tiene números de página en la esquina inferior derecha.
17699 \end_layout
17700
17701 \begin_layout Description
17702
17703 \family sans
17704 headings
17705 \family default
17706  Como 
17707 \family sans
17708 plain
17709 \family default
17710 , pero además imprime los marcadores de tiempo que hayas puesto.
17711  Esta es la opción por omisión.
17712 \end_layout
17713
17714 \begin_layout Description
17715
17716 \family sans
17717 empty
17718 \family default
17719  La salida no imprime ni números de pàgina ni marcadores, nada.
17720 \end_layout
17721
17722 \end_deeper
17723 \begin_layout Itemize
17724 La clase 
17725 \family sans
17726 slides
17727 \family default
17728  tiene una opción extra: 
17729 \family typewriter
17730 clock
17731 \family default
17732 .
17733  Para usarla, pon 
17734 \begin_inset Quotes cld
17735 \end_inset
17736
17737
17738 \family typewriter
17739 clock
17740 \family default
17741
17742 \begin_inset Quotes crd
17743 \end_inset
17744
17745  en las opciones de la configuración de clase.
17746 \end_layout
17747
17748 \begin_deeper
17749 \begin_layout Standard
17750 Usar estas opciones te permite añadir marcadores de tiempo a las 
17751 \family sans
17752 Nota
17753 \family default
17754 s.
17755 \end_layout
17756
17757 \end_deeper
17758 \begin_layout Standard
17759 También puedes utilizar la plantilla 
17760 \begin_inset Quotes cld
17761 \end_inset
17762
17763
17764 \family typewriter
17765 slides.lyx
17766 \family default
17767
17768 \begin_inset Quotes crd
17769 \end_inset
17770
17771  para preparar un nuevo documento de esta clase, con 
17772 \family sans
17773 Archivo\SpecialChar menuseparator
17774 Nuevo
17775 \begin_inset space ~
17776 \end_inset
17777
17778 desde
17779 \begin_inset space ~
17780 \end_inset
17781
17782 plantilla
17783 \family default
17784 .
17785  La plantilla contiene algunos ejemplos de entornos de párrafo especiales
17786  de esta clase.
17787  Se describirán a continuación.
17788 \end_layout
17789
17790 \begin_layout Subsection
17791 Entornos de párrafo
17792 \end_layout
17793
17794 \begin_layout Subsubsection
17795 Entornos soportados
17796 \end_layout
17797
17798 \begin_layout Standard
17799 La primera cosa que observarás cuando inicies un documento 
17800 \family sans
17801 slides
17802 \family default
17803  es el tipo y tamaño de tipografía: 
17804 \family sans
17805 Sans
17806 \begin_inset space ~
17807 \end_inset
17808
17809 Serif
17810 \family default
17811  de tamaño 
17812 \family sans
17813 Grandísima
17814 \family default
17815 .
17816  Es también la tipografía que se utiliza en la salida.
17817  Interpreta esto como un 
17818 \begin_inset Quotes cld
17819 \end_inset
17820
17821 apunte visual
17822 \begin_inset Quotes crd
17823 \end_inset
17824
17825  que te recuerda que es una transparencia.
17826  En realidad las transparencias finales pueden usar una tipografía más grande,
17827  por tanto dispondrás de menos espacio.
17828  Es decir, la tipografía grande en pantalla no es WYSIWYG, es solo un recordator
17829 io.
17830 \end_layout
17831
17832 \begin_layout Standard
17833 La segunda cosa que llamará la atención es el cuadro desplegable de los
17834  entornos de párrafo ( a la izquierda de la barra de herramientas).
17835  La mayoría de los entornos que estás acostumbrado a ver ahí están ausentes.
17836  Y hay cinco nuevos.
17837  Esto se debe a que la clase 
17838 \family sans
17839 slides
17840 \family default
17841  por sí misma solo soporta un cierto número de entornos de párrafo:
17842 \end_layout
17843
17844 \begin_layout Itemize
17845
17846 \family sans
17847 Normal
17848 \end_layout
17849
17850 \begin_layout Itemize
17851
17852 \family sans
17853 Enumeración*
17854 \end_layout
17855
17856 \begin_layout Itemize
17857
17858 \family sans
17859 Enumeración
17860 \end_layout
17861
17862 \begin_layout Itemize
17863
17864 \family sans
17865 Descripción
17866 \end_layout
17867
17868 \begin_layout Itemize
17869
17870 \family sans
17871 Lista
17872 \end_layout
17873
17874 \begin_layout Itemize
17875
17876 \family sans
17877 Cita
17878 \end_layout
17879
17880 \begin_layout Itemize
17881
17882 \family sans
17883 Citar
17884 \end_layout
17885
17886 \begin_layout Itemize
17887
17888 \family sans
17889 Verso
17890 \end_layout
17891
17892 \begin_layout Itemize
17893
17894 \family sans
17895 Encabezado
17896 \end_layout
17897
17898 \begin_layout Itemize
17899
17900 \family sans
17901 Código-\SpecialChar LyX
17902
17903 \end_layout
17904
17905 \begin_layout Standard
17906 Todos los demás entornos estándar, incluyendo los de cabeceras de sección,
17907  no funcionan en la clase 
17908 \family sans
17909 slides
17910 \family default
17911 .
17912 \end_layout
17913
17914 \begin_layout Standard
17915 Por otra parte, verás los siguientes nuevos entornos:
17916 \end_layout
17917
17918 \begin_layout Itemize
17919
17920 \family sans
17921 Transparencia
17922 \end_layout
17923
17924 \begin_layout Itemize
17925
17926 \family sans
17927 Superpuesto
17928 \end_layout
17929
17930 \begin_layout Itemize
17931
17932 \family sans
17933 Nota
17934 \end_layout
17935
17936 \begin_layout Itemize
17937
17938 \family sans
17939 TextoInvisible
17940 \end_layout
17941
17942 \begin_layout Itemize
17943
17944 \family sans
17945 TextoVisible
17946 \end_layout
17947
17948 \begin_layout Standard
17949 Estos cinco tienen ciertas peculiaridades debido a una 
17950 \begin_inset Quotes cld
17951 \end_inset
17952
17953 característica
17954 \begin_inset Quotes crd
17955 \end_inset
17956
17957  de \SpecialChar LyX
17958 .
17959  Verás, \SpecialChar LyX
17960  no permite anidar ningún entorno de párrafo en un entorno vacío.
17961  Bien, esto es fino y elegante, pero significa que no podrás comenzar una
17962  transparencia con nada que no sea texto simple.
17963  Para evitar esto, he hecho un poco de 
17964 \begin_inset Quotes cld
17965 \end_inset
17966
17967 magia \SpecialChar LaTeX
17968
17969 \begin_inset Quotes crd
17970 \end_inset
17971
17972 .
17973 \end_layout
17974
17975 \begin_layout Subsubsection
17976 Peculiaridades de los nuevos entornos
17977 \begin_inset CommandInset label
17978 LatexCommand label
17979 name "sec:slide-Peculiaridades"
17980
17981 \end_inset
17982
17983
17984 \end_layout
17985
17986 \begin_layout Standard
17987 Los cinco entornos nuevos son un poco peculiares debido a limitaciones inherente
17988 s a \SpecialChar LyX
17989 .
17990  Como he dicho, \SpecialChar LyX
17991  prohibe los entornos que comienzan con otro entorno.
17992  Para obviar esto, el entorno 
17993 \family sans
17994 Transparencia
17995 \family default
17996  no se comporta como los entornos de párrafo típicos descritos en la 
17997 \emph on
17998 Guía del usuario
17999 \emph default
18000 .
18001  
18002 \end_layout
18003
18004 \begin_layout Standard
18005 Los entornos 
18006 \family sans
18007 Transparencia,
18008 \family default
18009  
18010 \family sans
18011 Superpuesto
18012 \family default
18013  y 
18014 \family sans
18015 Nota
18016 \family default
18017  deberían considerarse 
18018 \begin_inset Quotes cld
18019 \end_inset
18020
18021 pseudo-entornos
18022 \begin_inset Quotes crd
18023 \end_inset
18024
18025 .
18026  Tienen el aspecto de una cabecera de sección o de un 
18027 \begin_inset Quotes cld
18028 \end_inset
18029
18030
18031 \family sans
18032 Encabezado
18033 \family default
18034
18035 \begin_inset Quotes crd
18036 \end_inset
18037
18038 , pero realmente comienzan (y si es necesario finalizan el anterior) un
18039  entorno de párrafo.
18040  De igual manera, considera 
18041 \family sans
18042 TextoInvisible
18043 \family default
18044  y 
18045 \family sans
18046 TextoVisible
18047 \family default
18048  como 
18049 \begin_inset Quotes cld
18050 \end_inset
18051
18052 pseudo-comandos
18053 \begin_inset Quotes crd
18054 \end_inset
18055
18056 .
18057  Estos dos realizan acciones.
18058 \end_layout
18059
18060 \begin_layout Standard
18061 Una característica común a los cinco entornos, 
18062 \family sans
18063 Transparencia
18064 \family default
18065
18066 \family sans
18067 Superpuesto
18068 \family default
18069
18070 \family sans
18071 Nota
18072 \family default
18073
18074 \family sans
18075 TextoInvisible
18076 \family default
18077  y 
18078 \family sans
18079 TextoVisible
18080 \family default
18081 , es una etiqueta más bien larga.
18082  El texto que sigue a la etiqueta —generalmente los contenidos del entorno
18083  de párrafo— no es tenido en cuenta.
18084  \SpecialChar LyX
18085  lo ignora completamente.
18086  De hecho, puedes dejar estos cinco entornos totalmente vacíos.
18087  
18088 \end_layout
18089
18090 \begin_layout Standard
18091 Aunque no
18092 \emph on
18093  tengas 
18094 \emph default
18095 que poner texto tras la etiqueta, puedes hacerlo.
18096  Podría ser, por ejemplo, una breve descripción del contenido de la 
18097 \family sans
18098 Transparencia
18099 \family default
18100 .
18101  En ese caso, introduce tu texto y pulsa 
18102 \family sans
18103 Intro
18104 \family default
18105  como harías normalmente.
18106 \end_layout
18107
18108 \begin_layout Standard
18109 Si, por otra parte, no deseas introducir ningún texto descriptivo, puedes
18110  utilizar otra peculiaridad de \SpecialChar LyX
18111 .
18112  \SpecialChar LyX
18113 , como la naturaleza, siente horror al vacío, y no te permitirá iniciar
18114  un nuevo entorno de párrafo hasta que pongas algo en el anterior.
18115  En ese caso puedes hacer esto:
18116 \end_layout
18117
18118 \begin_layout Itemize
18119 Comienza introduciendo el texto que 
18120 \emph on
18121 seguirá 
18122 \emph default
18123 al nuevo párrafo 
18124 \family sans
18125 Transparencia
18126 \family default
18127
18128 \family sans
18129 Superpuesto
18130 \family default
18131
18132 \family sans
18133 Nota
18134 \family default
18135
18136 \family sans
18137 TextoInvisible
18138 \family default
18139  o 
18140 \family sans
18141 TextoVisible
18142 \family default
18143 .
18144  
18145 \end_layout
18146
18147 \begin_layout Itemize
18148 Sitúate ahora en el principio de ese párrafo.
18149  
18150 \end_layout
18151
18152 \begin_layout Itemize
18153 Pulsa 
18154 \family sans
18155 Retorno
18156 \family default
18157 .
18158  
18159 \end_layout
18160
18161 \begin_layout Itemize
18162 Por último, cambia este nuevo párrafo vacío a 
18163 \family sans
18164 Transparencia
18165 \family default
18166
18167 \family sans
18168 Superpuesto
18169 \family default
18170
18171 \family sans
18172 Nota
18173 \family default
18174
18175 \family sans
18176 TextoInvisible
18177 \family default
18178  o 
18179 \family sans
18180 TextoVisible
18181 \family default
18182 .
18183 \end_layout
18184
18185 \begin_layout Standard
18186 Confiemos en que alguna futura versión de \SpecialChar LyX
18187  resuelva esta peculiaridad\SpecialChar ldots
18188
18189 \end_layout
18190
18191 \begin_layout Subsection
18192 Hacer una presentación con 
18193 \family sans
18194 Diapositiva
18195 \family default
18196
18197 \family sans
18198 Superpuesto
18199 \family default
18200  y 
18201 \family sans
18202 Nota
18203 \end_layout
18204
18205 \begin_layout Subsubsection
18206 Utilizar el entorno 
18207 \family sans
18208 Diapositiva
18209 \end_layout
18210
18211 \begin_layout Standard
18212 Si esperas que esta sección te enseñe a realizar una presentación, te vas
18213  a decepcionar.
18214  Naturalmente, describiré todas las formas en que la clase 
18215 \family sans
18216 slides
18217 \family default
18218  te ayudará a preparar una presentación.
18219  Completar el contenido es tarea tuya.
18220  (Esta es, también, la filosofía de \SpecialChar LyX
18221 ).
18222  
18223 \end_layout
18224
18225 \begin_layout Standard
18226 Al escoger el entorno 
18227 \family sans
18228 Diapositiva
18229 \family default
18230  (como se indica en la sección
18231 \begin_inset space ~
18232 \end_inset
18233
18234
18235 \begin_inset CommandInset ref
18236 LatexCommand ref
18237 reference "sec:slide-Peculiaridades"
18238
18239 \end_inset
18240
18241 ) \SpecialChar LyX
18242  comienza una nueva.
18243  El marcador para este entorno/
18244 \begin_inset Quotes cld
18245 \end_inset
18246
18247 pseudo-comando
18248 \begin_inset Quotes crd
18249 \end_inset
18250
18251  es una 
18252 \begin_inset Quotes cld
18253 \end_inset
18254
18255 línea ASCII
18256 \begin_inset Quotes crd
18257 \end_inset
18258
18259  en azul con la etiqueta 
18260 \begin_inset Quotes cld
18261 \end_inset
18262
18263 Nueva Diap.:
18264 \begin_inset Quotes crd
18265 \end_inset
18266
18267 .
18268 \end_layout
18269
18270 \begin_layout Standard
18271 Cualquier texto o entorno de párrafo que siga a este irá en la nueva diapositiva.
18272  Es simple.
18273 \end_layout
18274
18275 \begin_layout Standard
18276 Probablemente, en las diapositivas necesitarás forzar saltos de página en
18277  \SpecialChar LyX
18278  (puede especificarse en el diálogo 
18279 \family sans
18280 Insertar\SpecialChar menuseparator
18281 Formato
18282 \family default
18283 ).
18284  De hecho, tendrás que hacerlo una vez acabes el contenido de una transparencia.
18285  Si has introducido más texto del que cabe en una transparencia, el sobrante
18286  irá a una nueva.
18287  Sin embargo no lo recomiendo, puesto que la diapositiva con el texto excedente
18288  no tendrá número de página.
18289  Además, puede interferir con algún 
18290 \family sans
18291 Superpuesto
18292 \family default
18293  que hayas incluido en la transparencia sobredimensionada.
18294 \end_layout
18295
18296 \begin_layout Standard
18297 Los entornos 
18298 \family sans
18299 Superpuesto
18300 \family default
18301  y 
18302 \family sans
18303 Nota
18304 \family default
18305  funcionan como el entorno 
18306 \family sans
18307 Diapositiva
18308 \family default
18309 .
18310  Ambos crean una 
18311 \begin_inset Quotes cld
18312 \end_inset
18313
18314 línea ASCII
18315 \begin_inset Quotes crd
18316 \end_inset
18317
18318  con los marcadores 
18319 \begin_inset Quotes cld
18320 \end_inset
18321
18322 Nuevo Superpuesto:
18323 \begin_inset Quotes crd
18324 \end_inset
18325
18326  y 
18327 \begin_inset Quotes cld
18328 \end_inset
18329
18330 Nueva Nota:
18331 \begin_inset Quotes crd
18332 \end_inset
18333
18334 , respectivamente.
18335  
18336 \family sans
18337 El
18338 \family default
18339  color es magenta en vez de azul, y la 
18340 \begin_inset Quotes cld
18341 \end_inset
18342
18343 línea ASCII
18344 \begin_inset Quotes crd
18345 \end_inset
18346
18347  tiene un aspecto diferente en estilo y longitud.
18348  La tipografía de las etiquetas de las tres también es diferente en cada
18349  una de ellas.
18350 \end_layout
18351
18352 \begin_layout Standard
18353 Igual que para 
18354 \family sans
18355 Diapositiva
18356 \family default
18357 , si los contenidos de una 
18358 \family sans
18359 Nota
18360 \family default
18361  o 
18362 \family sans
18363 Superpuesto
18364 \family default
18365  exceden el espacio físico de la diapositiva o del papel, el texto sobrante
18366  ocupa una nueva hoja.
18367  De nuevo lo desaconsejamos porque las 
18368 \family sans
18369 Nota
18370 \family default
18371 s y 
18372 \family sans
18373 Superpuesto
18374 \family default
18375 s carecerían de utilidad.
18376 \end_layout
18377
18378 \begin_layout Subsubsection
18379 Usar 
18380 \family sans
18381 Superpuesto
18382 \family default
18383  con 
18384 \family sans
18385 Diapositiva
18386 \end_layout
18387
18388 \begin_layout Standard
18389 La idea de un 
18390 \family sans
18391 Superpuesto 
18392 \family default
18393 es una transparencia que se superpone a otra.
18394  Supón que quieres presentar una figura en una diapositiva antes que el
18395  texto que la acompaña.
18396  Una forma de conseguirlo es ocultar con papel negro la parte que quieres
18397  que se muestre más tarde.
18398  Sin embargo, este método no sirve si quieres superponer un gráfico a otro,
18399  por ejemplo.
18400  Entonces tendrías que trastear con las transparencias, mientras sigues
18401  hablando, para superponerlas de manera que los gráficos queden correctamente
18402  alineados.
18403  Con el entorno 
18404 \family sans
18405 Superpuesto
18406 \family default
18407 , ambas cosas son mucho más sencillas.
18408 \end_layout
18409
18410 \begin_layout Standard
18411 Cada 
18412 \family sans
18413 Superpuesto 
18414 \family default
18415 tiene el mismo número de página que la 
18416 \family sans
18417 Diapositiva
18418 \family default
18419  
18420 \begin_inset Quotes cld
18421 \end_inset
18422
18423 madre
18424 \begin_inset Quotes crd
18425 \end_inset
18426
18427 , seguido de 
18428 \begin_inset Quotes cld
18429 \end_inset
18430
18431 -a
18432 \begin_inset Quotes crd
18433 \end_inset
18434
18435 .
18436 \begin_inset Foot
18437 status collapsed
18438
18439 \begin_layout Plain Layout
18440 Presumiblemente, múltiples 
18441 \family sans
18442 Superpuesto
18443 \family default
18444 s deberían tener 
18445 \begin_inset Quotes cld
18446 \end_inset
18447
18448
18449 \family typewriter
18450 -a
18451 \family default
18452
18453 \begin_inset Quotes crd
18454 \end_inset
18455
18456
18457 \begin_inset Quotes cld
18458 \end_inset
18459
18460
18461 \family typewriter
18462 -b
18463 \family default
18464
18465 \begin_inset Quotes crd
18466 \end_inset
18467
18468
18469 \begin_inset Quotes cld
18470 \end_inset
18471
18472
18473 \family typewriter
18474 -c
18475 \family default
18476
18477 \begin_inset Quotes crd
18478 \end_inset
18479
18480 , etc.
18481 \begin_inset space ~
18482 \end_inset
18483
18484 tras el número de página de la 
18485 \family sans
18486 Diapositiva
18487 \family default
18488  
18489 \begin_inset Quotes cld
18490 \end_inset
18491
18492 madre
18493 \begin_inset Quotes crd
18494 \end_inset
18495
18496 .
18497  
18498 \end_layout
18499
18500 \end_inset
18501
18502  ¡Efectivamente, quieres que la Diapositiva
18503 \family sans
18504  
18505 \family default
18506 y el 
18507 \family sans
18508 Superpuesto
18509 \family default
18510  cuenten como si fueran una sola página! Probablemente deberías considerar
18511  un 
18512 \family sans
18513 Superpuesto
18514 \family default
18515  
18516 \begin_inset Quotes cld
18517 \end_inset
18518
18519 parte de
18520 \begin_inset Quotes crd
18521 \end_inset
18522
18523  una 
18524 \family sans
18525 Diapositiva
18526 \family default
18527 .
18528  De hecho, la clase 
18529 \family sans
18530 slides
18531 \family default
18532  lo hace visible
18533 \family sans
18534  
18535 \family default
18536 en \SpecialChar LyX
18537 : la etiqueta al principio de un 
18538 \family sans
18539 Superpuesto
18540 \family default
18541  es más corta que la de comienzo de una 
18542 \family sans
18543 Diapositiva
18544 \family default
18545 .
18546  Por último, al generar salida impresa, verás marcas de alineación en las
18547  cuatro esquinas de las páginas de la 
18548 \family sans
18549 Diapositiva
18550 \family default
18551  y del 
18552 \family sans
18553 Superpuesto.
18554  
18555 \family default
18556 Esas marcas te ayudarán a alinear físicamente las dos transparencias.
18557 \end_layout
18558
18559 \begin_layout Standard
18560 El mayor problema para superponer dos transparencias es alinear sus contenidos.
18561  ¿Qué espacio habrá que dejar para tal gráfico en la segunda transparencia?
18562  Peor aún, ¿qué pasa si quieres un gráfico y una frase en la segunda transparenc
18563 ia, pero en la primera hay texto que debe aparecer entre ellos? Podrías
18564  probar a insertar un espacio vertical adecuado, pero el mejor método es
18565  utilizar 
18566 \family sans
18567 TextoInvisible
18568 \family default
18569  y 
18570 \family sans
18571 TextoVisible
18572 \family default
18573 .
18574 \end_layout
18575
18576 \begin_layout Standard
18577 Como su nombre indica, 
18578 \family sans
18579 TextoInvisible
18580 \family default
18581  y 
18582 \family sans
18583 TextoVisible
18584 \family default
18585  son entornos de párrafo que hacen invisible o visible, respectivamente,
18586  todo el texto siguiente.
18587  Sin embargo, ten en cuenta que no colocas nada 
18588 \emph on
18589 dentro 
18590 \emph default
18591 de estos entornos, recuerda la sección
18592 \begin_inset space ~
18593 \end_inset
18594
18595
18596 \begin_inset CommandInset ref
18597 LatexCommand ref
18598 reference "sec:slide-Peculiaridades"
18599
18600 \end_inset
18601
18602 .
18603  Cuando creas un 
18604 \family sans
18605 TextoInvisible
18606 \family default
18607 , se inserta una etiqueta en azul-cielo, centrada en la página con la leyenda
18608  <Invisible Text Follows>.
18609  Los párrafos que siguen a esta etiqueta en la 
18610 \family sans
18611 Diapositiva
18612 \family default
18613  o el 
18614 \family sans
18615 Superpuesto
18616 \family default
18617  (da lo mismo) se sustituyen por el espacio en blanco equivalente.
18618 \end_layout
18619
18620 \begin_layout Standard
18621 Para 
18622 \family sans
18623 TextoVisible
18624 \family default
18625 , la etiqueta tiene la leyenda <Visible Text Follows>
18626 \begin_inset space ~
18627 \end_inset
18628
18629  en color verde.
18630  Los párrafos que la siguen se comportan normalmente.
18631  Ten en cuenta que el inicio de 
18632 \family sans
18633 Diapositiva
18634 \family default
18635
18636 \family sans
18637 Superpuesto
18638 \family default
18639 , o 
18640 \family sans
18641 Nota
18642 \family default
18643  desactiva automáticamente la función 
18644 \family sans
18645 TextoInvisible
18646 \family default
18647 .
18648  No es necesario utilizar 
18649 \family sans
18650 TextoVisible
18651 \family default
18652  al final de una 
18653 \family sans
18654 Diapositiva
18655 \family default
18656 .
18657 \end_layout
18658
18659 \begin_layout Standard
18660 Ya deberíamos estar listos para crear transparencias superpuestas con la
18661  adecuada combinación de 
18662 \family sans
18663 TextoInvisible
18664 \family default
18665  y 
18666 \family sans
18667 TextoVisible
18668 \family default
18669  en los entornos 
18670 \family sans
18671 Diapositiva
18672 \family default
18673  y 
18674 \family sans
18675 Superpuesto
18676 \family default
18677 :
18678 \end_layout
18679
18680 \begin_layout Enumerate
18681 Crea una 
18682 \family sans
18683 Diapositiva
18684 \family default
18685 , incluyendo todo lo que debe aparecer en ella y en los 
18686 \family sans
18687 Superpuesto
18688 \family default
18689 s.
18690 \end_layout
18691
18692 \begin_layout Enumerate
18693 Antes de cada figura o párrafo que vaya a salir solo en un 
18694 \family sans
18695 Superpuesto
18696 \family default
18697 , inserta un entorno 
18698 \family sans
18699 TextoInvisible
18700 \family default
18701 .
18702  Si es necesario, inserta un entorno 
18703 \family sans
18704 TextoVisible
18705 \family default
18706  tras el texto que pertenece solo al 
18707 \family sans
18708 Superpuesto
18709 \family default
18710 .
18711 \end_layout
18712
18713 \begin_layout Enumerate
18714 Empieza un 
18715 \family sans
18716 Superpuesto 
18717 \family default
18718 inmediatamente detrás de la 
18719 \family sans
18720 Diapositiva
18721 \family default
18722 .
18723 \end_layout
18724
18725 \begin_layout Enumerate
18726 Copia los contenidos de esta 
18727 \family sans
18728 Diapositiva
18729 \family default
18730  en el 
18731 \family sans
18732 Superpuesto
18733 \family default
18734 .
18735 \end_layout
18736
18737 \begin_layout Enumerate
18738 Dentro del 
18739 \family sans
18740 Superpuesto
18741 \family default
18742 , cambia todas las líneas del 
18743 \family sans
18744 TextoInvisible
18745 \family default
18746  a 
18747 \family sans
18748 TextoVisible
18749 \family default
18750  y viceversa.
18751 \end_layout
18752
18753 \begin_layout Standard
18754 Eso es todo.
18755  Acabas de hacer una transparencia superpuesta.
18756 \end_layout
18757
18758 \begin_layout Standard
18759 Hay un problema con el procedimiento que he diseñado para la clase 
18760 \family sans
18761 slides
18762 \family default
18763  en \SpecialChar LyX
18764 : no puedes hacer invisible un texto en mitad de un párrafo, ni hacer
18765  visible un texto dentro de un párrafo invisible.
18766  Para conseguirlo necesitarás usar algo de código \SpecialChar LaTeX
18767 .
18768 \begin_inset Foot
18769 status collapsed
18770
18771 \begin_layout Plain Layout
18772 Los comandos de interés son: 
18773 \end_layout
18774
18775 \begin_layout Itemize
18776
18777 \family typewriter
18778 {
18779 \backslash
18780 invisible \SpecialChar ldots
18781  }
18782 \end_layout
18783
18784 \begin_layout Itemize
18785
18786 \family typewriter
18787 {
18788 \backslash
18789 visible \SpecialChar ldots
18790  }
18791 \end_layout
18792
18793 \begin_layout Plain Layout
18794 \SpecialChar ldots
18795 que deben marcarse como \SpecialChar TeX
18796 .
18797  El texto \SpecialChar ldots
18798
18799 \family typewriter
18800  
18801 \family default
18802 cuya 
18803 \begin_inset Quotes cld
18804 \end_inset
18805
18806 visibilidad
18807 \begin_inset Quotes crd
18808 \end_inset
18809
18810  quieres cambiar debe ir a continuación del comando 
18811 \family typewriter
18812
18813 \backslash
18814 invisible
18815 \family default
18816  o 
18817 \family typewriter
18818
18819 \backslash
18820 visible
18821 \family default
18822 , y todo ello entre llaves { }.
18823  Si no sabes cómo se marca un texto como \SpecialChar TeX
18824 , consulta la sección adecuada
18825  de la 
18826 \emph on
18827 Cuía del usuario
18828 \emph default
18829 .
18830 \end_layout
18831
18832 \end_inset
18833
18834
18835 \end_layout
18836
18837 \begin_layout Subsubsection
18838 Usar 
18839 \family sans
18840 Nota
18841 \family default
18842  con 
18843 \family sans
18844 Diapositiva
18845 \end_layout
18846
18847 \begin_layout Standard
18848 Como un 
18849 \family sans
18850 Superpuesto
18851 \family default
18852 , una 
18853 \family sans
18854 Nota
18855 \family default
18856  está asociada a una 
18857 \family sans
18858 Diapositiva
18859 \series bold
18860  
18861 \family default
18862 \series default
18863
18864 \begin_inset Quotes cld
18865 \end_inset
18866
18867 madre
18868 \begin_inset Quotes crd
18869 \end_inset
18870
18871 .
18872  También \SpecialChar LyX
18873  lo indica
18874 \family sans
18875  
18876 \family default
18877 visualmente: La etiqueta para una 
18878 \family sans
18879 Nota
18880 \family default
18881  es más corta que la de una 
18882 \family sans
18883 Diapositiva
18884 \family default
18885  pero más larga que la de 
18886 \family sans
18887 Superpuesto
18888 \family default
18889  y, como este, en color magenta.
18890  Además, la 
18891 \family sans
18892 Nota
18893 \family default
18894  tiene en la salida el número de página de la 
18895 \family sans
18896 Diapositiva
18897 \family default
18898  
18899 \begin_inset Quotes cld
18900 \end_inset
18901
18902 madre
18903 \begin_inset Quotes crd
18904 \end_inset
18905
18906  seguido de 
18907 \begin_inset Quotes cld
18908 \end_inset
18909
18910
18911 \family typewriter
18912 -
18913 \family default
18914 1
18915 \begin_inset Quotes crd
18916 \end_inset
18917
18918
18919 \begin_inset Quotes cld
18920 \end_inset
18921
18922
18923 \family typewriter
18924 -
18925 \family default
18926 2
18927 \begin_inset Quotes crd
18928 \end_inset
18929
18930
18931 \begin_inset Quotes cld
18932 \end_inset
18933
18934
18935 \family typewriter
18936 -
18937 \family default
18938 3
18939 \begin_inset Quotes crd
18940 \end_inset
18941
18942 , etc.
18943  Puedes poner varias 
18944 \family sans
18945 Nota
18946 \family default
18947 s asociadas a una 
18948 \family sans
18949 Diapositiva
18950 \family default
18951 , y, como con 
18952 \family sans
18953 Diapositiva
18954 \family default
18955  y 
18956 \family sans
18957 Superpuesto
18958 \family default
18959 , seguramente te interesará cortar las 
18960 \family sans
18961 Notas
18962 \family default
18963  largas para que quepan en una hoja.
18964 \end_layout
18965
18966 \begin_layout Standard
18967 El propósito de una 
18968 \family sans
18969 Nota
18970 \family default
18971  es evidente: hacer comentarios adicionales al contenido principal.
18972  También podría utilizarse como recordatorio en una 
18973 \family sans
18974 Diapositiva
18975 \family default
18976  determinada.
18977  En este caso, podrías hacer uso de marcadores de tiempo.
18978  Actualmente, la clase 
18979 \family sans
18980 slides
18981 \family default
18982  no tiene en \SpecialChar LyX
18983  soporte 
18984 \begin_inset Quotes cld
18985 \end_inset
18986
18987 nativo
18988 \begin_inset Quotes crd
18989 \end_inset
18990
18991  para marcadores de tiempo, una función de 
18992 \noun on
18993 Sli
18994 \noun default
18995 \SpecialChar TeX
18996 .
18997  Por tanto tendrías que usar código \SpecialChar LaTeX
18998 .
18999 \end_layout
19000
19001 \begin_layout Standard
19002 Para usar marcadores de tiempo debes especificar la opción extra de clase
19003  
19004 \begin_inset Quotes cld
19005 \end_inset
19006
19007
19008 \family typewriter
19009 clock
19010 \family default
19011
19012 \begin_inset Quotes crd
19013 \end_inset
19014
19015  (véase sección
19016 \begin_inset space ~
19017 \end_inset
19018
19019
19020 \begin_inset CommandInset ref
19021 LatexCommand ref
19022 reference "sec:slidesetup"
19023
19024 \end_inset
19025
19026 ).
19027  Esta opción habilita marcas de tiempo que se mostrarán en la esquina inferior
19028  izquierda de cada 
19029 \family sans
19030 Nota
19031 \family default
19032  que introduzcas.
19033  Para establecer lo que aparecerá en el marcador de tiempo, usa los comandos
19034  \SpecialChar LaTeX
19035  
19036 \begin_inset Quotes cld
19037 \end_inset
19038
19039
19040 \family typewriter
19041
19042 \backslash
19043 settime{}
19044 \family default
19045
19046 \begin_inset Quotes crd
19047 \end_inset
19048
19049  y 
19050 \begin_inset Quotes cld
19051 \end_inset
19052
19053
19054 \family typewriter
19055
19056 \backslash
19057 addtime{}
19058 \family default
19059
19060 \begin_inset Quotes crd
19061 \end_inset
19062
19063 .
19064  El argumento de ambos comandos es un tiempo expresado en segundos.
19065  
19066 \begin_inset Quotes cld
19067 \end_inset
19068
19069
19070 \family typewriter
19071
19072 \backslash
19073 settime{}
19074 \family default
19075
19076 \begin_inset Quotes crd
19077 \end_inset
19078
19079  fija el marcador en un instante dado.
19080  
19081 \begin_inset Quotes cld
19082 \end_inset
19083
19084
19085 \family typewriter
19086
19087 \backslash
19088 addtime{}
19089 \family default
19090
19091 \begin_inset Quotes crd
19092 \end_inset
19093
19094  incrementa el marcador en la cantidad de tiempo especificada.
19095  Usar los marcadores de tiempo y las 
19096 \family sans
19097 Notas
19098 \family default
19099  de esta manera te recordará cuanto tiempo emplear en una 
19100 \family sans
19101 Diapositiva
19102 \family default
19103  determinada.
19104 \end_layout
19105
19106 \begin_layout Standard
19107 Queda por describir una característica.
19108  Seguramente te gustaría imprimir todas tus 
19109 \family sans
19110 Diapositivas 
19111 \family default
19112
19113 \family sans
19114 Superpuestos 
19115 \family default
19116 en transparentes y las 
19117 \family sans
19118 Nota
19119 \family default
19120 s en papel.
19121  Sin embargo, las 
19122 \family sans
19123 Notas
19124 \family default
19125  
19126 \emph on
19127 deben
19128 \emph default
19129  seguir a la 
19130 \family sans
19131 Diapositiva
19132 \family default
19133  a la que están asociadas.
19134  ¿Qué hacer entonces?
19135 \end_layout
19136
19137 \begin_layout Standard
19138 Afortunadamente hay dos comandos \SpecialChar LaTeX
19139  que permiten seleccionar lo que se ha
19140  de imprimir.
19141  Se deben poner en el preámbulo del documento.
19142  El comando 
19143 \begin_inset Quotes cld
19144 \end_inset
19145
19146
19147 \family typewriter
19148
19149 \backslash
19150 onlyslides{
19151 \backslash
19152 slides}
19153 \family default
19154
19155 \begin_inset Quotes crd
19156 \end_inset
19157
19158  hará que la salida solo contenga las 
19159 \family sans
19160 Diapositivas 
19161 \family default
19162
19163 \family sans
19164 Superpuestos
19165 \family default
19166 .
19167  De igual manera, el comando 
19168 \begin_inset Quotes cld
19169 \end_inset
19170
19171
19172 \family typewriter
19173
19174 \backslash
19175 onlynotes{
19176 \backslash
19177 notes}
19178 \family default
19179
19180 \begin_inset Quotes crd
19181 \end_inset
19182
19183  imprimirá solo las 
19184 \family sans
19185 Nota
19186 \family default
19187 s.
19188  Aconsejo poner ambos comandos en el preámbulo pero desactivados mediante
19189  un comentario a principio de línea para que puedas ver preliminares de
19190  toda la presentación.
19191  A la hora de imprimir, puedes descomentar uno de ellos para imprimir esa
19192  parte.
19193  Tengo la costumbre de descomentar 
19194 \begin_inset Quotes cld
19195 \end_inset
19196
19197
19198 \family typewriter
19199
19200 \backslash
19201 onlyslides{
19202 \backslash
19203 slides}
19204 \family default
19205
19206 \begin_inset Quotes crd
19207 \end_inset
19208
19209 , exportar a un archivo con 
19210 \begin_inset Quotes cld
19211 \end_inset
19212
19213
19214 \family typewriter
19215 -slides
19216 \family default
19217
19218 \begin_inset Quotes crd
19219 \end_inset
19220
19221  en el nombre, comentarlo de nuevo, ahora descomentar 
19222 \begin_inset Quotes cld
19223 \end_inset
19224
19225
19226 \family typewriter
19227
19228 \backslash
19229 onlynotes{
19230 \backslash
19231 notes}
19232 \family default
19233
19234 \begin_inset Quotes crd
19235 \end_inset
19236
19237  y exportar a otro archivo con 
19238 \begin_inset Quotes cld
19239 \end_inset
19240
19241
19242 \family typewriter
19243 -notes
19244 \family default
19245
19246 \begin_inset Quotes crd
19247 \end_inset
19248
19249  en el nombre.
19250  Entonces puedo mandar ambos archivos a la impresora poniendo transparentes
19251  o papel según convenga.
19252 \end_layout
19253
19254 \begin_layout Standard
19255 También puedes poner otros argumentos a los comandos 
19256 \begin_inset Quotes cld
19257 \end_inset
19258
19259
19260 \family typewriter
19261
19262 \backslash
19263 onlyslides{}
19264 \family default
19265
19266 \begin_inset Quotes crd
19267 \end_inset
19268
19269  y 
19270 \begin_inset Quotes cld
19271 \end_inset
19272
19273
19274 \family typewriter
19275
19276 \backslash
19277 onlynotes{}
19278 \family default
19279
19280 \begin_inset Quotes crd
19281 \end_inset
19282
19283 .
19284  Consulta un buen libro sobre \SpecialChar LaTeX
19285  para más detalles.
19286 \end_layout
19287
19288 \begin_layout Subsection
19289 La plantilla para la clase 
19290 \family sans
19291 slides
19292 \end_layout
19293
19294 \begin_layout Standard
19295 He preparado también un archivo modelo, 
19296 \begin_inset Quotes cld
19297 \end_inset
19298
19299
19300 \family typewriter
19301 slides.lyx
19302 \family default
19303
19304 \begin_inset Quotes crd
19305 \end_inset
19306
19307 , para la clase 
19308 \family sans
19309 slides
19310 \family default
19311 .
19312  Para empezar tu presentación con él abrelo con 
19313 \family sans
19314 Archivo\SpecialChar menuseparator
19315 Nuevo
19316 \begin_inset space ~
19317 \end_inset
19318
19319 desde
19320 \begin_inset space ~
19321 \end_inset
19322
19323 plantilla
19324 \family default
19325 .
19326  Contiene un ejemplo de presentación con el trío 
19327 \family sans
19328 Diapositiva
19329 \family default
19330  – 
19331 \family sans
19332 Superpuesto
19333 \family default
19334  – 
19335 \family sans
19336 Nota
19337 \family default
19338 .
19339  La 
19340 \family sans
19341 Diapositiva
19342 \family default
19343  y el 
19344 \family sans
19345 Superpuesto
19346 \family default
19347  tienen además un ejemplo del uso de TextoI
19348 \family sans
19349 nvisible
19350 \family default
19351  y 
19352 \family sans
19353 TextoVisible
19354 \family default
19355 .
19356  Por último, el preámbulo contiene:
19357 \end_layout
19358
19359 \begin_layout LyX-Code
19360 % Uncomment to print out only slides and overlays
19361 \begin_inset Foot
19362 status collapsed
19363
19364 \begin_layout Plain Layout
19365 Descomenta (borra 
19366 \begin_inset Quotes cld
19367 \end_inset
19368
19369 %
19370 \begin_inset Quotes crd
19371 \end_inset
19372
19373 ) para imprimir solo diapositivas y superpuestos.
19374  
19375 \emph on
19376 (N.
19377  del T
19378 \emph default
19379 .)
19380 \end_layout
19381
19382 \end_inset
19383
19384
19385 \end_layout
19386
19387 \begin_layout LyX-Code
19388 %
19389 \end_layout
19390
19391 \begin_layout LyX-Code
19392 %
19393 \backslash
19394 onlyslides{
19395 \backslash
19396 slides}
19397 \begin_inset Newline newline
19398 \end_inset
19399
19400  
19401 \end_layout
19402
19403 \begin_layout LyX-Code
19404 % Uncomment to print out only notes
19405 \begin_inset Foot
19406 status collapsed
19407
19408 \begin_layout Plain Layout
19409 Descomenta (borra 
19410 \begin_inset Quotes cld
19411 \end_inset
19412
19413 %
19414 \begin_inset Quotes crd
19415 \end_inset
19416
19417 ) para imprimir solo las notas.
19418
19419 \emph on
19420  (N.
19421  del T
19422 \emph default
19423 .)
19424 \end_layout
19425
19426 \end_inset
19427
19428
19429 \end_layout
19430
19431 \begin_layout LyX-Code
19432 %
19433 \end_layout
19434
19435 \begin_layout LyX-Code
19436 %
19437 \backslash
19438 onlynotes{
19439 \backslash
19440 notes}
19441 \end_layout
19442
19443 \begin_layout Standard
19444 Un apunte final: He creado esta clase para dar soporte a la clase integrante
19445  de \SpecialChar LaTeX2e
19446  
19447 \begin_inset Quotes cld
19448 \end_inset
19449
19450 emulación de 
19451 \noun on
19452 Sli
19453 \noun default
19454 \SpecialChar TeX
19455
19456 \begin_inset Quotes crd
19457 \end_inset
19458
19459 .
19460  Ni yo ni el resto del equipo \SpecialChar LyX
19461  aprobamos o desaprobamos el empleo de esta
19462  clase.
19463  A tí te corresponde decidir si la necesitas.
19464  Hay otras clases de \SpecialChar LaTeX2e
19465  para crear presentaciones, como 
19466 \family sans
19467 Foils
19468 \family default
19469  (véase la sección
19470 \begin_inset space ~
19471 \end_inset
19472
19473
19474 \begin_inset CommandInset ref
19475 LatexCommand ref
19476 reference "sec:foiltex"
19477
19478 \end_inset
19479
19480 ) o el paquete 
19481 \begin_inset Quotes cld
19482 \end_inset
19483
19484
19485 \family typewriter
19486 seminar
19487 \family default
19488
19489 \begin_inset Quotes crd
19490 \end_inset
19491
19492  (presente en algunas distribuciones de \SpecialChar TeX
19493 ).
19494  Este último aún no es soportado por \SpecialChar LyX
19495 .
19496 \begin_inset Foot
19497 status collapsed
19498
19499 \begin_layout Plain Layout
19500 Quizá quieras abordar tú la tarea\SpecialChar ldots
19501
19502 \end_layout
19503
19504 \end_inset
19505
19506  No conozco estas otras clases.
19507  Puedes probarlas para ver qué alternativas te ofrecen.
19508 \end_layout
19509
19510 \begin_layout Chapter
19511 Características de \SpecialChar LyX
19512  que requieren software adicional
19513 \begin_inset Argument 1
19514 status collapsed
19515
19516 \begin_layout Plain Layout
19517 Software adicional
19518 \end_layout
19519
19520 \end_inset
19521
19522
19523 \end_layout
19524
19525 \begin_layout Section
19526 Comprobar \SpecialChar TeX
19527
19528 \end_layout
19529
19530 \begin_layout Standard
19531 por 
19532 \noun on
19533 Asger Alstrup
19534 \end_layout
19535
19536 \begin_layout Subsection
19537 Introducción
19538 \end_layout
19539
19540 \begin_layout Standard
19541 Si está instalado 
19542 \family typewriter
19543 chktex
19544 \family default
19545 ,
19546 \begin_inset Foot
19547 status collapsed
19548
19549 \begin_layout Plain Layout
19550 Aún no disponible en la distribución Mik\SpecialChar TeX
19551 .
19552 \end_layout
19553
19554 \end_inset
19555
19556  bajo el menú 
19557 \family sans
19558 Herramientas
19559 \family default
19560  encontrarás la opción 
19561 \family sans
19562 Comprobar
19563 \begin_inset space ~
19564 \end_inset
19565
19566 TeX
19567 \family default
19568 .
19569  Para que esté disponible necesitas instalar el programa 
19570 \family typewriter
19571 chktex
19572 \family default
19573 .
19574  Puedes obtenerlo de CTAN,
19575 \begin_inset Newline newline
19576 \end_inset
19577
19578
19579 \begin_inset CommandInset href
19580 LatexCommand href
19581 target "https://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
19582 literal "false"
19583
19584 \end_inset
19585
19586 .
19587 \end_layout
19588
19589 \begin_layout Standard
19590 El paquete 
19591 \family sans
19592 Chk\SpecialChar TeX
19593
19594 \family default
19595  fue escrito por 
19596 \noun on
19597 Jens T.
19598  Berger Thielemann
19599 \noun default
19600 , a causa de la frustración que generan algunas construcciones de \SpecialChar LaTeX
19601  poco
19602  intuitivas y fáciles de olvidar.
19603  El programa se ejecuta sobre el archivo \SpecialChar LaTeX
19604  y comprueba la integridad del
19605  mismo, identificando algunos errores comunes.
19606  En palabras técnicas, es como 
19607 \family typewriter
19608 Lint
19609 \family default
19610  para \SpecialChar LaTeX
19611 .
19612 \end_layout
19613
19614 \begin_layout Standard
19615 Bien, ¿qué pinta un revisor de sintaxis en \SpecialChar LyX
19616 , que se supone que siempre genera
19617  \SpecialChar LaTeX
19618  correcto? La respuesta es sencilla: Igual que 
19619 \family typewriter
19620 Lint
19621 \family default
19622  no solo comprueba la 
19623 \emph on
19624 sintaxis 
19625 \emph default
19626 de programas C, sino que también comprueba la 
19627 \emph on
19628 semántica 
19629 \emph default
19630 en
19631 \emph on
19632  
19633 \emph default
19634 busca de errores de tipografía, 
19635 \family sans
19636 Chk\SpecialChar TeX
19637
19638 \family default
19639  detecta, además de los errores sintácticos, errores 
19640 \emph on
19641 tipográficos 
19642 \emph default
19643 comunes, tales como
19644 \end_layout
19645
19646 \begin_layout Itemize
19647 Puntos suspensivos incorrectos:
19648 \begin_inset Newline newline
19649 \end_inset
19650
19651 Usa \SpecialChar ldots
19652  en vez de ...
19653 \end_layout
19654
19655 \begin_layout Itemize
19656 Espacio junto a los paréntesis:
19657 \begin_inset Newline newline
19658 \end_inset
19659
19660 ( espaciado incorrecto )
19661 \end_layout
19662
19663 \begin_layout Itemize
19664 Introducción de espacio normal tras abreviaciones:
19665 \begin_inset Newline newline
19666 \end_inset
19667
19668 p.
19669  ej.
19670  es un espacio demasiado grande.
19671 \end_layout
19672
19673 \begin_layout Itemize
19674 Colocación de un espacio fin-de-frase cuando la última frase acaba con mayúscula
19675 :
19676 \begin_inset Newline newline
19677 \end_inset
19678
19679 Esto es un TEST.
19680  Y esto un espacio incorrecto.
19681 \end_layout
19682
19683 \begin_layout Itemize
19684 Espacio ante etiquetas y otros comandos:
19685 \begin_inset Newline newline
19686 \end_inset
19687
19688 La etiqueta debe estar pegada al texto precedente para evitar un salto de
19689  línea o página en mal sitio.
19690  
19691 \begin_inset CommandInset label
19692 LatexCommand label
19693 name "sec:chktex"
19694
19695 \end_inset
19696
19697  
19698 \begin_inset Foot
19699 status collapsed
19700
19701 \begin_layout Plain Layout
19702 Esta nota podría salir en una página inadecuada.
19703 \end_layout
19704
19705 \end_inset
19706
19707  La etiqueta está demasiado separada.
19708 \end_layout
19709
19710 \begin_layout Itemize
19711 Espacio no protegido ante las referencias:
19712 \begin_inset Newline newline
19713 \end_inset
19714
19715 Si te despistas en esto, el texto podría saltar de línea justo entre él
19716  y el número de la referencia, lo que se ve feo.
19717  Véase la sección 
19718 \begin_inset CommandInset ref
19719 LatexCommand ref
19720 reference "sec:chktex"
19721
19722 \end_inset
19723
19724 .
19725 \end_layout
19726
19727 \begin_layout Itemize
19728 Uso de 
19729 \begin_inset Quotes eld
19730 \end_inset
19731
19732 x
19733 \begin_inset Quotes erd
19734 \end_inset
19735
19736  en vez de 
19737 \begin_inset Formula $\times$
19738 \end_inset
19739
19740  entre números:
19741 \begin_inset Newline newline
19742 \end_inset
19743
19744 2x2 se ve cutre comparado con 
19745 \begin_inset Formula $2\times2$
19746 \end_inset
19747
19748 .
19749 \end_layout
19750
19751 \begin_layout Standard
19752 y más\SpecialChar ldots
19753  Es una herramienta imprescindible una vez acabado tu documento y hecha
19754  la revisión ortográfica; antes de afinar la composición del documento e
19755  imprimirlo deberías ejecutar 
19756 \family sans
19757 Chk\SpecialChar TeX
19758
19759 \family default
19760 .
19761 \end_layout
19762
19763 \begin_layout Subsection
19764 Modo de empleo
19765 \end_layout
19766
19767 \begin_layout Standard
19768 Si el programa está instalado, se ejecuta con 
19769 \family sans
19770 Herramientas\SpecialChar menuseparator
19771 Comprobar
19772 \begin_inset space ~
19773 \end_inset
19774
19775 TeX
19776 \family default
19777 .
19778  \SpecialChar LyX
19779  genera entonces un archivo \SpecialChar LaTeX
19780  del documento, inicia 
19781 \family sans
19782 Chk\SpecialChar TeX
19783
19784 \family default
19785  para revisarlo, e inserta 
19786 \begin_inset Quotes cld
19787 \end_inset
19788
19789 cuadros de error
19790 \begin_inset Quotes crd
19791 \end_inset
19792
19793  con las advertencias de 
19794 \family sans
19795 Chk\SpecialChar TeX
19796
19797 \family default
19798 , si las hubiera.
19799  Las advertencias se situarán cerca del error, y puedes navegar entre ellas
19800  con la opción de menú 
19801 \family sans
19802 Navegar\SpecialChar menuseparator
19803 Error
19804 \family default
19805 , o con el atajo de teclado 
19806 \family sans
19807 C-g
19808 \family default
19809  del archivo 
19810 \family typewriter
19811 cua.bind
19812 \family default
19813 .
19814  Los cuadros de error se abren pulsando sobre ellos o con el atajo 
19815 \family sans
19816 C-i
19817 \family default
19818  (si usas atajos 
19819 \family typewriter
19820 cua
19821 \family default
19822 ), o 
19823 \family sans
19824 C-o
19825 \family default
19826  (si usas atajos 
19827 \family typewriter
19828 emacs)
19829 \family default
19830 .
19831  Lee las advertencias y corrige los errores.
19832  Si no tienes ni idea de qué va un mensaje puedes ignorarlo limpiamente.
19833  Recuerda que hay un estrato oculto entre el documento en pantalla y los
19834  detalles técnicos al ejecutar 
19835 \family sans
19836 Chk\SpecialChar TeX
19837
19838 \family default
19839 , por lo que pueden aparecer algunos avisos de aspecto misterioso o absurdo.
19840 \end_layout
19841
19842 \begin_layout Standard
19843 Este documento es un excelente banco de pruebas para esta característica,
19844  con el que comprobar la presencia de advertencias y enredar con ellas.
19845  Aunque, como los ordenadores son tan listos, confía en que la mayoría de
19846  advertencias serán falsas alarmas.
19847 \end_layout
19848
19849 \begin_layout Subsection
19850 Afinación
19851 \end_layout
19852
19853 \begin_layout Standard
19854 A veces observarás que con 
19855 \family sans
19856 Chk\SpecialChar TeX
19857
19858 \family default
19859  hay más ruido que nueces.
19860  Puedes elegir no usarlo, o intentar personalizar 
19861 \family sans
19862 Chk\SpecialChar TeX
19863
19864 \family default
19865  para adaptarlo a tus necesidades.
19866 \end_layout
19867
19868 \begin_layout Standard
19869 Aunque 
19870 \family sans
19871 Chk\SpecialChar TeX
19872
19873 \family default
19874  
19875 \emph on
19876 es
19877 \emph default
19878  muy configurable y ampliable, no esperes resolver todos los problemas de
19879  \SpecialChar LyX
19880  con 
19881 \family sans
19882 Chk\SpecialChar TeX
19883
19884 \family default
19885 .
19886  Como \SpecialChar LyX
19887  ha de generar un archivo \SpecialChar LaTeX
19888  un tanto especial para poder casar los
19889  números de línea de la salida de 
19890 \family sans
19891 Chk\SpecialChar TeX
19892
19893 \family default
19894  con la estructura interna del documento
19895 \begin_inset Foot
19896 status collapsed
19897
19898 \begin_layout Plain Layout
19899 Puedes inspeccionar la salida de 
19900 \family sans
19901 chktex
19902 \family default
19903  usando 
19904 \family sans
19905 Documento\SpecialChar menuseparator
19906 Registro
19907 \begin_inset space ~
19908 \end_inset
19909
19910 de
19911 \begin_inset space ~
19912 \end_inset
19913
19914 \SpecialChar LaTeX
19915
19916 \family default
19917  tras ejecutar 
19918 \family sans
19919 chktex
19920 \family default
19921 .
19922 \end_layout
19923
19924 \end_inset
19925
19926 , algunos de los avisos no estarán bien colocados.
19927  Puedes hacer dos cosas:
19928 \end_layout
19929
19930 \begin_layout Itemize
19931 Afinar la línea de comandos de 
19932 \family sans
19933 Chk\SpecialChar TeX
19934  
19935 \family default
19936 en 
19937 \family sans
19938 Preferencias
19939 \family default
19940  (
19941 \family sans
19942 Salidas\SpecialChar menuseparator
19943 \SpecialChar LaTeX
19944
19945 \family default
19946 ), o el archivo de configuración global de 
19947 \family sans
19948 Chk\SpecialChar TeX
19949
19950 \family default
19951  (normalmente se ubica en
19952 \begin_inset Newline newline
19953 \end_inset
19954
19955
19956 \family typewriter
19957 /usr/local/share/chktexrc
19958 \family default
19959 ).
19960  Véase más adelante qué advertencias se pueden activar o desactivar en la
19961  línea del comando.
19962  
19963 \end_layout
19964
19965 \begin_layout Itemize
19966 Exporta tu documento a un archivo \SpecialChar LaTeX
19967  simple con
19968 \family typewriter
19969  
19970 \family sans
19971 Archivo\SpecialChar menuseparator
19972 Exportar\SpecialChar menuseparator
19973 LaTeX
19974 \family default
19975  y ejecuta 
19976 \family typewriter
19977 chktex
19978 \family default
19979  a mano sobre él.
19980  Ejecutado así, puede ser peliagudo encontrar el lugar correspondiente en
19981  el documento \SpecialChar LyX
19982 , pero con un poco de paciencia lo lograrás.
19983 \end_layout
19984
19985 \begin_layout Standard
19986 A continuación se listan los mensajes de error que pueden ser activados
19987  o desactivados en 
19988 \family sans
19989 Preferencias
19990 \family default
19991 .
19992  Usa 
19993 \family typewriter
19994 -n#
19995 \family default
19996  para desactivar un aviso, y 
19997 \family typewriter
19998 -w#
19999 \family default
20000  para activarlo.
20001  Las entradas en énfasis están desactivadas por omisión, porque de forma
20002  predeterminada se ejecuta como "
20003 \family typewriter
20004 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
20005 \family default
20006 ".
20007 \end_layout
20008
20009 \begin_layout Standard
20010 Ten en cuenta que solo deberías usar las opciones que activan o desactivan
20011  avisos, porque las demás las usa \SpecialChar LyX
20012  de manera específica para comunicarse
20013  con 
20014 \family typewriter
20015 chktex
20016 \family default
20017 .
20018 \end_layout
20019
20020 \begin_layout Enumerate
20021
20022 \size small
20023 \emph on
20024 Command terminated with space.
20025  (Comando finalizado con un espacio
20026 \emph default
20027 .
20028 \emph on
20029 )
20030 \end_layout
20031
20032 \begin_layout Enumerate
20033
20034 \size small
20035 Non-breaking space (
20036 \begin_inset Quotes eld
20037 \end_inset
20038
20039
20040 \family typewriter
20041 ~
20042 \family default
20043
20044 \begin_inset Quotes erd
20045 \end_inset
20046
20047 ) should have been used.
20048  (Se
20049 \emph on
20050  
20051 \emph default
20052 debería haber usado un espacio protegido 
20053 \begin_inset Quotes cld
20054 \end_inset
20055
20056 ~
20057 \begin_inset Quotes crd
20058 \end_inset
20059
20060 )
20061 \end_layout
20062
20063 \begin_layout Enumerate
20064
20065 \size small
20066 \emph on
20067 You should enclose the previous parenthesis with 
20068 \begin_inset Quotes eld
20069 \end_inset
20070
20071
20072 \family typewriter
20073 {}
20074 \family default
20075
20076 \begin_inset Quotes erd
20077 \end_inset
20078
20079 .
20080  
20081 \shape italic
20082 \emph default
20083 (Deberías cerrar los paréntesis previos con
20084 \shape default
20085  
20086 \emph on
20087
20088 \begin_inset Quotes cld
20089 \end_inset
20090
20091 {}
20092 \begin_inset Quotes crd
20093 \end_inset
20094
20095 )
20096 \end_layout
20097
20098 \begin_layout Enumerate
20099
20100 \size small
20101 Italic correction (
20102 \begin_inset Quotes eld
20103 \end_inset
20104
20105
20106 \family typewriter
20107
20108 \backslash
20109 /
20110 \family default
20111
20112 \begin_inset Quotes erd
20113 \end_inset
20114
20115 ) found in non-italic buffer.
20116  (Corrección de cursiva (
20117 \begin_inset Quotes cld
20118 \end_inset
20119
20120
20121 \backslash
20122 /
20123 \begin_inset Quotes crd
20124 \end_inset
20125
20126 ) en un grupo que no está en cursiva)
20127 \end_layout
20128
20129 \begin_layout Enumerate
20130
20131 \size small
20132 Italic correction (
20133 \begin_inset Quotes eld
20134 \end_inset
20135
20136
20137 \family typewriter
20138
20139 \backslash
20140 /
20141 \family default
20142
20143 \begin_inset Quotes erd
20144 \end_inset
20145
20146 ) found more than once.
20147  (Corrección de cursiva (
20148 \begin_inset Quotes cld
20149 \end_inset
20150
20151
20152 \backslash
20153 /
20154 \begin_inset Quotes crd
20155 \end_inset
20156
20157 ) más de una vez)
20158 \end_layout
20159
20160 \begin_layout Enumerate
20161
20162 \size small
20163 \emph on
20164 No italic correction (
20165 \begin_inset Quotes eld
20166 \end_inset
20167
20168
20169 \family typewriter
20170
20171 \backslash
20172 /
20173 \family default
20174
20175 \begin_inset Quotes erd
20176 \end_inset
20177
20178 ) found.
20179  (Corrección de cursiva (
20180 \emph default
20181
20182 \begin_inset Quotes cld
20183 \end_inset
20184
20185
20186 \backslash
20187 /
20188 \begin_inset Quotes crd
20189 \end_inset
20190
20191
20192 \emph on
20193 )
20194 \emph default
20195  
20196 \emph on
20197 no encontrada)
20198 \end_layout
20199
20200 \begin_layout Enumerate
20201
20202 \size small
20203 Accent command 
20204 \begin_inset Quotes eld
20205 \end_inset
20206
20207
20208 \family typewriter
20209 cmd
20210 \family default
20211
20212 \begin_inset Quotes erd
20213 \end_inset
20214
20215  needs use of 
20216 \begin_inset Quotes eld
20217 \end_inset
20218
20219
20220 \family typewriter
20221 cmd
20222 \family default
20223
20224 \begin_inset Quotes erd
20225 \end_inset
20226
20227 .
20228  (El comando 
20229 \begin_inset Quotes cld
20230 \end_inset
20231
20232 cmd
20233 \begin_inset Quotes crd
20234 \end_inset
20235
20236  requiere el uso de 
20237 \begin_inset Quotes cld
20238 \end_inset
20239
20240 cmd
20241 \begin_inset Quotes crd
20242 \end_inset
20243
20244 )
20245 \end_layout
20246
20247 \begin_layout Enumerate
20248
20249 \size small
20250 Wrong length of dash may have been used.
20251  (Quizá se ha usado un guión de longitud inadecuada)
20252 \end_layout
20253
20254 \begin_layout Enumerate
20255
20256 \size small
20257 \emph on
20258 \begin_inset Quotes eld
20259 \end_inset
20260
20261
20262 \family typewriter
20263 %s
20264 \family default
20265
20266 \begin_inset Quotes erd
20267 \end_inset
20268
20269  expected, found 
20270 \begin_inset Quotes eld
20271 \end_inset
20272
20273
20274 \family typewriter
20275 %s
20276 \family default
20277
20278 \begin_inset Quotes erd
20279 \end_inset
20280
20281 .
20282  (Se esperaba 
20283 \begin_inset Quotes cld
20284 \end_inset
20285
20286 %s
20287 \begin_inset Quotes crd
20288 \end_inset
20289
20290 , se ha encontrado 
20291 \begin_inset Quotes cld
20292 \end_inset
20293
20294 %s
20295 \begin_inset Quotes crd
20296 \end_inset
20297
20298 )
20299 \end_layout
20300
20301 \begin_layout Enumerate
20302
20303 \size small
20304 Solo 
20305 \begin_inset Quotes eld
20306 \end_inset
20307
20308
20309 \family typewriter
20310 %s
20311 \family default
20312
20313 \begin_inset Quotes erd
20314 \end_inset
20315
20316  found.
20317  (Se ha encontrado un solo 
20318 \begin_inset Quotes cld
20319 \end_inset
20320
20321 %s
20322 \begin_inset Quotes crd
20323 \end_inset
20324
20325 )
20326 \end_layout
20327
20328 \begin_layout Enumerate
20329
20330 \size small
20331 You should use 
20332 \begin_inset Quotes eld
20333 \end_inset
20334
20335
20336 \family typewriter
20337 %s
20338 \family default
20339
20340 \begin_inset Quotes erd
20341 \end_inset
20342
20343  to achieve an ellipsis.
20344  (Deberías usar 
20345 \begin_inset Quotes cld
20346 \end_inset
20347
20348 %s
20349 \begin_inset Quotes crd
20350 \end_inset
20351
20352  para los puntos suspensivos)
20353 \end_layout
20354
20355 \begin_layout Enumerate
20356
20357 \size small
20358 Inter-word spacing (
20359 \begin_inset Quotes eld
20360 \end_inset
20361
20362
20363 \family typewriter
20364
20365 \backslash
20366
20367 \family default
20368  
20369 \begin_inset Quotes eld
20370 \end_inset
20371
20372 ) should perhaps be used.
20373  (Quizá tendría que ponerse un espacio entre palabras (
20374 \begin_inset Quotes cld
20375 \end_inset
20376
20377
20378 \backslash
20379
20380 \begin_inset Quotes crd
20381 \end_inset
20382
20383 )) 
20384 \end_layout
20385
20386 \begin_layout Enumerate
20387
20388 \size small
20389 Inter-sentence spacing (
20390 \begin_inset Quotes eld
20391 \end_inset
20392
20393
20394 \family typewriter
20395
20396 \backslash
20397 @
20398 \family default
20399
20400 \begin_inset Quotes erd
20401 \end_inset
20402
20403 ) should perhaps be used.
20404  (Quizá tendría que ponerse un espacio entre frases (
20405 \begin_inset Quotes cld
20406 \end_inset
20407
20408
20409 \backslash
20410 @
20411 \begin_inset Quotes crd
20412 \end_inset
20413
20414 )) 
20415 \end_layout
20416
20417 \begin_layout Enumerate
20418
20419 \size small
20420 Could not find argument for command.
20421  (Argumento de comando no encontrado)
20422 \end_layout
20423
20424 \begin_layout Enumerate
20425
20426 \size small
20427 No match found for 
20428 \begin_inset Quotes eld
20429 \end_inset
20430
20431
20432 \family typewriter
20433 %s
20434 \family default
20435
20436 \begin_inset Quotes erd
20437 \end_inset
20438
20439 .
20440  (Objetivo para 
20441 \begin_inset Quotes cld
20442 \end_inset
20443
20444 %s
20445 \begin_inset Quotes crd
20446 \end_inset
20447
20448  no encontrado)
20449 \end_layout
20450
20451 \begin_layout Enumerate
20452
20453 \size small
20454 Math mode still on at end of \SpecialChar LaTeX
20455  file.
20456  (El archivo \SpecialChar LaTeX
20457  termina en modo ecuación)
20458 \end_layout
20459
20460 \begin_layout Enumerate
20461
20462 \size small
20463 Number of 
20464 \begin_inset Quotes eld
20465 \end_inset
20466
20467
20468 \family typewriter
20469 char
20470 \family default
20471
20472 \begin_inset Quotes erd
20473 \end_inset
20474
20475  doesn't match the number of 
20476 \begin_inset Quotes eld
20477 \end_inset
20478
20479
20480 \family typewriter
20481 char
20482 \family default
20483
20484 \begin_inset Quotes erd
20485 \end_inset
20486
20487 .
20488  (El número de 
20489 \begin_inset Quotes cld
20490 \end_inset
20491
20492 char
20493 \begin_inset Quotes crd
20494 \end_inset
20495
20496  no corresponde con el número de 
20497 \begin_inset Quotes cld
20498 \end_inset
20499
20500 char
20501 \begin_inset Quotes crd
20502 \end_inset
20503
20504 )
20505 \end_layout
20506
20507 \begin_layout Enumerate
20508
20509 \size small
20510 You should use either 
20511 \family typewriter
20512
20513 \begin_inset Quotes eld
20514 \end_inset
20515
20516
20517 \family default
20518  or 
20519 \family typewriter
20520
20521 \begin_inset Quotes erd
20522 \end_inset
20523
20524
20525 \family default
20526  as an alternative to 
20527 \begin_inset Quotes eld
20528 \end_inset
20529
20530
20531 \family typewriter
20532 "
20533 \family default
20534
20535 \begin_inset Quotes erd
20536 \end_inset
20537
20538 .
20539  (Deberías usar 
20540 \begin_inset Quotes cld
20541 \end_inset
20542
20543 o
20544 \begin_inset Quotes crd
20545 \end_inset
20546
20547  mejor que 
20548 \size default
20549
20550 \begin_inset Quotes cld
20551 \end_inset
20552
20553
20554 \family typewriter
20555 \size small
20556 "
20557 \family default
20558 \size default
20559
20560 \begin_inset Quotes crd
20561 \end_inset
20562
20563
20564 \size small
20565 )
20566 \end_layout
20567
20568 \begin_layout Enumerate
20569
20570 \size small
20571 You should use "
20572 \family typewriter
20573 '
20574 \family default
20575 " (ASCII 39) instead of "
20576 \family typewriter
20577 ´
20578 \family default
20579 " (ASCII 180).
20580  (Deberías usar 
20581 \begin_inset Quotes cld
20582 \end_inset
20583
20584 '
20585 \begin_inset Quotes crd
20586 \end_inset
20587
20588  (ASCII 39) en lugar de 
20589 \begin_inset Quotes cld
20590 \end_inset
20591
20592 ´
20593 \begin_inset Quotes crd
20594 \end_inset
20595
20596  (ASCII 180))
20597 \end_layout
20598
20599 \begin_layout Enumerate
20600
20601 \size small
20602 User-specified pattern found.
20603  (Se ha encontrado un patrón definido por el usuario)
20604 \end_layout
20605
20606 \begin_layout Enumerate
20607
20608 \size small
20609 This command might not be intended.
20610  (Comando posiblemente no buscado)
20611 \end_layout
20612
20613 \begin_layout Enumerate
20614
20615 \size small
20616 \emph on
20617 Comment displayed.
20618  (Comentario mostrado)
20619 \end_layout
20620
20621 \begin_layout Enumerate
20622
20623 \size small
20624 Either 
20625 \family typewriter
20626 ''
20627 \backslash
20628 ,'
20629 \family default
20630  or 
20631 \family typewriter
20632 '
20633 \backslash
20634 ,''
20635 \family default
20636  will look better.
20637  (
20638 \family typewriter
20639 ''
20640 \backslash
20641 ,'
20642 \family default
20643  o 
20644 \family typewriter
20645 '
20646 \backslash
20647 ,''
20648 \family default
20649  quedaría mejor) 
20650 \end_layout
20651
20652 \begin_layout Enumerate
20653
20654 \size small
20655 Delete this space to maintain correct page references.
20656  (Borra este espacio para mantener las referencias de página)
20657 \end_layout
20658
20659 \begin_layout Enumerate
20660
20661 \size small
20662 \emph on
20663 You might wish to put this between a pair of 
20664 \begin_inset Quotes eld
20665 \end_inset
20666
20667
20668 \family typewriter
20669 {}
20670 \family default
20671
20672 \begin_inset Quotes erd
20673 \end_inset
20674
20675 .
20676  (Esto quizá estaría mejor entre llaves 
20677 \begin_inset Quotes cld
20678 \end_inset
20679
20680 {}
20681 \begin_inset Quotes crd
20682 \end_inset
20683
20684 )
20685 \end_layout
20686
20687 \begin_layout Enumerate
20688
20689 \size small
20690 You ought to remove spaces in front of punctuation.
20691  (Debes quitar espacios delante de la puntuación)
20692 \end_layout
20693
20694 \begin_layout Enumerate
20695
20696 \size small
20697 Could not execute \SpecialChar LaTeX
20698  command.
20699  (No se puede ejecutar comando \SpecialChar LaTeX
20700 )
20701 \end_layout
20702
20703 \begin_layout Enumerate
20704
20705 \size small
20706 Don't use 
20707 \family typewriter
20708
20709 \backslash
20710 /
20711 \family default
20712  in front of small punctuation.
20713  (No poner 
20714 \family typewriter
20715
20716 \backslash
20717 /
20718 \family default
20719  delante de un punto)
20720 \end_layout
20721
20722 \begin_layout Enumerate
20723
20724 \family typewriter
20725 \size small
20726 $
20727 \backslash
20728 times$
20729 \family default
20730  may look prettier here.
20731  (Aquí quedaría mejor 
20732 \family typewriter
20733 $
20734 \backslash
20735 times$
20736 \family default
20737 \emph on
20738 )
20739 \end_layout
20740
20741 \begin_layout Enumerate
20742
20743 \size small
20744 \emph on
20745 Multiple spaces detected in output.
20746  (Se detectan espacios múltiples en la salida)
20747 \end_layout
20748
20749 \begin_layout Enumerate
20750
20751 \size small
20752 This text may be ignored.
20753  (Este texto podría no tenerse en cuenta)
20754 \end_layout
20755
20756 \begin_layout Enumerate
20757
20758 \size small
20759 Use 
20760 \family typewriter
20761
20762 \begin_inset Quotes eld
20763 \end_inset
20764
20765
20766 \family default
20767  to begin quotation, not 
20768 \family typewriter
20769 '
20770 \family default
20771 .
20772  (Usa `` para comenzar una cita, no ')
20773 \end_layout
20774
20775 \begin_layout Enumerate
20776
20777 \size small
20778 Use 
20779 \family typewriter
20780 '
20781 \family default
20782  to end quotation, not 
20783 \family typewriter
20784
20785 \begin_inset Quotes eld
20786 \end_inset
20787
20788
20789 \family default
20790 .
20791  (Usa ' para finalizar una cita, no ``)
20792 \end_layout
20793
20794 \begin_layout Enumerate
20795
20796 \size small
20797 Don't mix quotes.
20798  (No mezcles distintos tipos de comillas)
20799 \end_layout
20800
20801 \begin_layout Enumerate
20802
20803 \size small
20804 You should perhaps use 
20805 \begin_inset Quotes eld
20806 \end_inset
20807
20808
20809 \family typewriter
20810 cmd
20811 \family default
20812
20813 \begin_inset Quotes erd
20814 \end_inset
20815
20816  instead.
20817  (Quizá sería mejor usar 
20818 \begin_inset Quotes cld
20819 \end_inset
20820
20821 cmd
20822 \begin_inset Quotes crd
20823 \end_inset
20824
20825 )
20826 \end_layout
20827
20828 \begin_layout Enumerate
20829
20830 \size small
20831 You should put a space in front of/after parenthesis.
20832  (Deberías poner un espacio delante/detrás de los paréntesis)
20833 \end_layout
20834
20835 \begin_layout Enumerate
20836
20837 \size small
20838 You should avoid spaces in front of/after parenthesis.
20839  (Deberías evitar espacios delante/detrás de los paréntesis)
20840 \end_layout
20841
20842 \begin_layout Enumerate
20843
20844 \size small
20845 \emph on
20846 You should not use punctuation in front of/after quotes.
20847  (No deberías usar puntuación delante/detrás de comillas)
20848 \end_layout
20849
20850 \begin_layout Enumerate
20851
20852 \size small
20853 Double space found.
20854  (Espacio doble encontrado)
20855 \end_layout
20856
20857 \begin_layout Enumerate
20858
20859 \size small
20860 You should put punctuation outside inner/inside display math mode.
20861  (Deberías poner la puntuación fuera del modo ecuación) 
20862 \end_layout
20863
20864 \begin_layout Enumerate
20865
20866 \size small
20867 You ought to not use primitive \SpecialChar TeX
20868  in \SpecialChar LaTeX
20869  code.
20870  (No debes usar primitivas de \SpecialChar TeX
20871  dentro de código \SpecialChar LaTeX
20872 )
20873 \end_layout
20874
20875 \begin_layout Enumerate
20876
20877 \size small
20878 You should remove spaces in front of 
20879 \begin_inset Quotes eld
20880 \end_inset
20881
20882
20883 \family typewriter
20884 %s
20885 \family default
20886
20887 \begin_inset Quotes erd
20888 \end_inset
20889
20890  (Deberías quitar los espacios delante de 
20891 \begin_inset Quotes cld
20892 \end_inset
20893
20894 %s
20895 \begin_inset Quotes crd
20896 \end_inset
20897
20898 )
20899 \end_layout
20900
20901 \begin_layout Enumerate
20902
20903 \size small
20904 \begin_inset Quotes eld
20905 \end_inset
20906
20907
20908 \family typewriter
20909 %s
20910 \family default
20911
20912 \begin_inset Quotes erd
20913 \end_inset
20914
20915  is normally not followed by 
20916 \begin_inset Quotes eld
20917 \end_inset
20918
20919
20920 \family typewriter
20921 %c
20922 \family default
20923
20924 \begin_inset Quotes erd
20925 \end_inset
20926
20927 .
20928  (
20929 \begin_inset Quotes cld
20930 \end_inset
20931
20932 %s
20933 \begin_inset Quotes crd
20934 \end_inset
20935
20936  normalmente no va seguido de 
20937 \begin_inset Quotes cld
20938 \end_inset
20939
20940 %c
20941 \begin_inset Quotes crd
20942 \end_inset
20943
20944 )
20945 \end_layout
20946
20947 \begin_layout Standard
20948 En las últimas versiones de \SpecialChar LyX
20949  esperamos proporcionar una interfaz más completa
20950  para esta herramienta (y su prima pequeña 
20951 \family typewriter
20952 lacheck
20953 \family default
20954 ) para aprovechar toda su potencia.
20955  Pero no deja de ser útil tal como está: prueba con alguno de tus documentos
20956  de cierta longitud y sorpréndete.
20957 \end_layout
20958
20959 \begin_layout Section
20960 Control de versiones en \SpecialChar LyX
20961
20962 \end_layout
20963
20964 \begin_layout Standard
20965 por
20966 \noun on
20967  Lars Gullik Bjønnes
20968 \noun default
20969  y 
20970 \noun on
20971 Pavel Sanda
20972 \end_layout
20973
20974 \begin_layout Subsection
20975 Introducción
20976 \end_layout
20977
20978 \begin_layout Standard
20979 \SpecialChar LyX
20980  soporta algunos comandos básicos de RCS/CVS/SVN/GIT.
20981  Si necesitas algo más sofisticado tendrás que hacerlo a mano en un terminal.
20982 \end_layout
20983
20984 \begin_layout Standard
20985 Además, hay que tener en cuenta que el soporte de CVS no es tan bueno como
20986  el de subversion, por lo que recomendamos SVN.
20987  Para empezar con Subversion es conveniente consultar el SVN Book.
20988 \begin_inset Foot
20989 status collapsed
20990
20991 \begin_layout Plain Layout
20992 \begin_inset CommandInset href
20993 LatexCommand href
20994 target "http://svnbook.red-bean.com/"
20995 literal "false"
20996
20997 \end_inset
20998
20999
21000 \end_layout
21001
21002 \end_inset
21003
21004  Para RCS deberías leer 
21005 \begin_inset Quotes cld
21006 \end_inset
21007
21008 rcsintro
21009 \begin_inset Quotes crd
21010 \end_inset
21011
21012  (archivo 
21013 \emph on
21014 man
21015 \emph default
21016  de manual).
21017  Este archivo describe todas las características básicas de RCS.
21018  Deberías fijarte especialmente en el comentario sobre el directorio RCS
21019  y las nociones sobre el archivo maestro RCS (el que acaba en 
21020 \family typewriter
21021 ,v
21022 \family default
21023 ).
21024 \end_layout
21025
21026 \begin_layout Standard
21027 Antes de usar el control de versiones en \SpecialChar LyX
21028  hay que conocer el uso de RCS/CVS/SVN/
21029 GIT.
21030  La implementación en \SpecialChar LyX
21031  asume el uso de versiones recientes de los paquetes
21032  GNU RCS o CVS/SVN —no hay garantías con versiones antiguas—.
21033  La mayoría de los mensajes de registro no son actualmente mostrados tras
21034  las operaciones —puedes comprobarlos en el panel Messages si no estás seguro.
21035  Los usuarios habituales de control de versiones apreciarán las herramientas
21036  VC, disponibles en 
21037 \family sans
21038 Ver\SpecialChar menuseparator
21039 Barras de herramientas\SpecialChar menuseparator
21040 Control de versiones
21041 \family default
21042 .
21043 \end_layout
21044
21045 \begin_layout Standard
21046 Para introducir tus propios comandos externos consulta 
21047 \family typewriter
21048 vc-command
21049 \family default
21050  en el manual 
21051 \emph on
21052 Funciones de \SpecialChar LyX
21053
21054 \emph default
21055 .
21056 \end_layout
21057
21058 \begin_layout Standard
21059 Es muy recomendable guardar los documentos sin comprimir si se usa control
21060  de versiones (desactiva 
21061 \family sans
21062 Documento\SpecialChar menuseparator
21063 Comprimido
21064 \family default
21065  si lo está): los documentos \SpecialChar LyX
21066  sin comprimir son archivos de texto y por
21067  tanto factibles de ser mezclados por sistemas de control de versiones.
21068  Los documentos \SpecialChar LyX
21069  comprimidos son archivos binarios, no manejables por sistemas
21070  de control de versiones.
21071  
21072 \end_layout
21073
21074 \begin_layout Subsection
21075 Comandos RCS en \SpecialChar LyX
21076
21077 \end_layout
21078
21079 \begin_layout Standard
21080 Las secciones siguientes describen los comandos RCS soportados por \SpecialChar LyX
21081 .
21082  Los puedes encontrar en el submenú 
21083 \family sans
21084 Archivo\SpecialChar menuseparator
21085 Control
21086 \begin_inset space ~
21087 \end_inset
21088
21089 de
21090 \begin_inset space ~
21091 \end_inset
21092
21093 versiones
21094 \family default
21095 .
21096  \SpecialChar LyX
21097  se ha probado con la versión RCS 5.7/5.8.
21098 \end_layout
21099
21100 \begin_layout Subsubsection
21101
21102 \family sans
21103 Registrar
21104 \end_layout
21105
21106 \begin_layout Standard
21107 Si tu documento no está sometido a control de versiones, este es el único
21108  ítem mostrado en el submenú.
21109  Y si está sometido a control de versiones, el ítem 
21110 \family sans
21111 Registrar
21112 \family default
21113  no aparece.
21114  
21115 \end_layout
21116
21117 \begin_layout Standard
21118 Este comando registra el documento con RCS\SpecialChar endofsentence
21119  Se te pide interactivamente una
21120  descripción inicial del documento.
21121  Por ahora, el documento está puesto en modo Solo-lectura y debes 
21122 \family sans
21123 Liberar para edición 
21124 \family default
21125 antes de hacer cambios en él.
21126  Un documento bajo control de revisión tiene un ítem 
21127 \begin_inset Quotes cld
21128 \end_inset
21129
21130 [RCS:<version> <locker>]
21131 \begin_inset Quotes crd
21132 \end_inset
21133
21134  junto al nombre de archivo en el búfer .
21135 \end_layout
21136
21137 \begin_layout Standard
21138 Comando
21139 \family sans
21140  
21141 \family default
21142 RCS ejecutado:
21143 \end_layout
21144
21145 \begin_layout LyX-Code
21146
21147 \family typewriter
21148 ci -q -u -i -t-"<descripción inicial>" <nombre-archivo>
21149 \end_layout
21150
21151 \begin_layout Standard
21152 Lee 
21153 \family typewriter
21154 man ci
21155 \family default
21156  para entender las opciones.
21157  
21158 \end_layout
21159
21160 \begin_layout Subsubsection
21161
21162 \family sans
21163 Liberar cambios
21164 \end_layout
21165
21166 \begin_layout Standard
21167 Cuando has acabado de editar un archivo liberas tus cambios.
21168  Al hacerlo
21169 \family sans
21170  
21171 \family default
21172 se te pide una descripción que se almacena en el historial.
21173  El número de versión es actualizado, tus cambios se aplican al archivo
21174  maestro RCS, el documento es desbloqueado y puesto en modo Solo-lectura.
21175  
21176 \end_layout
21177
21178 \begin_layout Itemize
21179 Comando RCS: 
21180 \family typewriter
21181 ci -q -u -m"<descripción>" <nombre-archivo>
21182 \end_layout
21183
21184 \begin_layout Subsubsection
21185
21186 \family sans
21187 Reservar para edición
21188 \end_layout
21189
21190 \begin_layout Standard
21191 Haciendo esto bloqueas el documento de manera que solo tú puedes editarlo.
21192  Además el documento será de Lectura-Escritura únicamente para ti.
21193  Generalmente continuarás la edición un rato más y al acabar liberarás los
21194  cambios.
21195  La línea de estado cambia para indicar que has bloqueado el archivo.
21196  
21197 \end_layout
21198
21199 \begin_layout Itemize
21200 Comando RCS: 
21201 \family typewriter
21202 co -q -l <nombre-archivo>
21203 \end_layout
21204
21205 \begin_layout Subsubsection
21206
21207 \family sans
21208 Volver a la 
21209 \family default
21210 versión del repositorio
21211 \end_layout
21212
21213 \begin_layout Standard
21214 Esto descartará todos los cambios hechos en el documento desde la última
21215  liberación de cambios.
21216  Recibes un mensaje de aviso antes de descartar los cambios.
21217
21218 \family typewriter
21219  
21220 \end_layout
21221
21222 \begin_layout Itemize
21223 Comando RCS: 
21224 \family typewriter
21225 co -f -u<version> <nombre-archivo>
21226 \end_layout
21227
21228 \begin_layout Subsubsection
21229 Copiar
21230 \end_layout
21231
21232 \begin_layout Standard
21233 Creará una copia del documento actual.
21234  Puesto que RCS no soporta nativamente operaciones de copia, el historial
21235  de versiones no se preserva y la copia se añade como archivo nuevo.
21236  Requiere un documento limpio sin ningún cambio desde la última liberación.
21237  Pedirá un nombre de archivo y una descripción de la operación de copia.
21238  Después se crea la copia localmente y en el repositorio.
21239  Si los directorios padre de los documentos original y copiado difieren,
21240  se ajustan todas las rutas relativas de los archivos incluidos en la copia
21241  (como en 
21242 \family sans
21243 Archivo\SpecialChar menuseparator
21244 Guardar como
21245 \family default
21246 \SpecialChar ldots
21247 ).
21248  Por último, se carga la copia en vez del documento original.
21249 \end_layout
21250
21251 \begin_layout Labeling
21252 \labelwidthstring 00.00.0000
21253 Comandos
21254 \begin_inset space ~
21255 \end_inset
21256
21257 RCS: 
21258 \begin_inset space ~
21259 \end_inset
21260
21261
21262 \begin_inset Newline newline
21263 \end_inset
21264
21265 Copiar 
21266 \begin_inset Flex Code
21267 status collapsed
21268
21269 \begin_layout Plain Layout
21270
21271 \family typewriter
21272 \lang english
21273 \begin_inset Quotes qld
21274 \end_inset
21275
21276
21277 \family default
21278 \lang spanish
21279 <nombre-archivo>
21280 \family typewriter
21281 \lang english
21282
21283 \begin_inset Quotes qld
21284 \end_inset
21285
21286
21287 \end_layout
21288
21289 \end_inset
21290
21291  a 
21292 \begin_inset Flex Code
21293 status collapsed
21294
21295 \begin_layout Plain Layout
21296
21297 \family typewriter
21298 \lang english
21299 \begin_inset Quotes qld
21300 \end_inset
21301
21302
21303 \family default
21304 \lang spanish
21305 <nuevo-nombre-archivo>
21306 \family typewriter
21307 \lang english
21308
21309 \begin_inset Quotes qld
21310 \end_inset
21311
21312
21313 \end_layout
21314
21315 \end_inset
21316
21317
21318 \begin_inset Newline newline
21319 \end_inset
21320
21321
21322 \begin_inset Flex Code
21323 status collapsed
21324
21325 \begin_layout Plain Layout
21326 ci -q -u -i 
21327 \family typewriter
21328 \lang english
21329
21330 \begin_inset Quotes qld
21331 \end_inset
21332
21333
21334 \family default
21335 \lang spanish
21336 <nuevo-nombre-archivo>
21337 \family typewriter
21338 \lang english
21339
21340 \begin_inset Quotes qld
21341 \end_inset
21342
21343
21344 \family default
21345 \lang spanish
21346
21347 \begin_inset Quotes erd
21348 \end_inset
21349
21350
21351 \end_layout
21352
21353 \end_inset
21354
21355
21356 \end_layout
21357
21358 \begin_layout Subsubsection
21359
21360 \family sans
21361 Deshacer última liberación
21362 \end_layout
21363
21364 \begin_layout Standard
21365 Esto es como si la última liberación de cambios no hubiera sucedido.
21366  No se hacen cambios al documento cargado en \SpecialChar LyX
21367 , pero la última versión es
21368  eliminada del archivo maestro RCS.
21369  
21370 \end_layout
21371
21372 \begin_layout Itemize
21373 Comando RCS: 
21374 \family typewriter
21375 rcs -o<versión> <nombre-archivo>
21376 \end_layout
21377
21378 \begin_layout Subsubsection
21379
21380 \family sans
21381 Mostrar historial
21382 \end_layout
21383
21384 \begin_layout Standard
21385 Muestra el registro completo del historial del documento RCS.
21386  La salida de 
21387 \family typewriter
21388 rlog
21389 \family default
21390  
21391 \family typewriter
21392 <nombre-archivo>
21393 \family default
21394  se muestra en un buscador.
21395  Véase 
21396 \family typewriter
21397 man rlog
21398 \family default
21399  para más información.
21400 \end_layout
21401
21402 \begin_layout Subsubsection
21403 Información de revisión
21404 \end_layout
21405
21406 \begin_layout Standard
21407 \SpecialChar LyX
21408  soporta información de número de versión, autor, fecha y hora del último
21409  ingreso.
21410  Se obtienen de 
21411 \family typewriter
21412 rlog -r <nombre-archivo>
21413 \family default
21414 .
21415  Véase 
21416 \begin_inset CommandInset ref
21417 LatexCommand ref
21418 reference "subsec:VCS-Información-de-revisión"
21419
21420 \end_inset
21421
21422  para detalles.
21423 \end_layout
21424
21425 \begin_layout Subsection
21426 Comandos CVS en \SpecialChar LyX
21427
21428 \end_layout
21429
21430 \begin_layout Standard
21431 Ahora \SpecialChar LyX
21432  soporta un subconjunto de operaciones CVS.
21433  Puedes ver los comandos en el submenú 
21434 \family sans
21435 Archivo\SpecialChar menuseparator
21436 Control de versiones
21437 \family default
21438 .
21439  El sistema de control de versiones SVN es más poderoso, por lo que úsalo
21440  en lugar de CVS, si es posible.
21441 \end_layout
21442
21443 \begin_layout Subsubsection
21444 Uso general de CVS
21445 \end_layout
21446
21447 \begin_layout Standard
21448 Si comienzas desde cero con CVS debes crear tu repositorio y reservar la
21449  copia de trabajo con herramientas externas.
21450  Si usas una configuración cliente-servidor puedes necesitar registrarte
21451  antes de hacer la primera reserva en el repositorio.
21452 \end_layout
21453
21454 \begin_layout Standard
21455 Si tus documentos están bajo control de revisión y otros usan el mismo repositor
21456 io surgen problemas cuando se hacen cambios en el mismo documento y en el
21457  mismo lugar.
21458  Los repositorios estándar CVS no operan con bloqueo de archivos.
21459  Esto puede sorprender, pero los conflictos solo suceden si la gente discrepa
21460  sobre el adecuado contenido de la misma parte de un documento.
21461  Por tanto, si los colaboradores acostumbran a comunicarse regularmente,
21462  los conflictos ocurren raramente.
21463  Si no se comunican, tienen un problema fundamental de todos modos.
21464  Con todo, algunos prefieren trabajar con las denominadas 
21465 \begin_inset Quotes cld
21466 \end_inset
21467
21468 reservas reservadas
21469 \begin_inset Quotes crd
21470 \end_inset
21471
21472 .
21473  Si lo hacen así, la copia de trabajo de todos los archivos es de solo lectura
21474  cuando reservan primero y el usuario comienza la edición después de usar
21475  un comando especial para hacer posible la escritura en la copia de trabajo.
21476  Cuando los cambios son liberados la copia de trabajo vuelve al estado solo
21477  lectura.
21478  Con \SpecialChar LyX
21479 , uno debe editar el archivo 
21480 \begin_inset Flex Code
21481 status collapsed
21482
21483 \begin_layout Plain Layout
21484 .cvsrc
21485 \end_layout
21486
21487 \end_inset
21488
21489  y añadir la línea 
21490 \begin_inset Flex Code
21491 status collapsed
21492
21493 \begin_layout Plain Layout
21494 cvs -r
21495 \end_layout
21496
21497 \end_inset
21498
21499  para trabajar con 
21500 \begin_inset Quotes cld
21501 \end_inset
21502
21503 reservas reservadas
21504 \begin_inset Quotes crd
21505 \end_inset
21506
21507 .
21508  El beneficio es la posibilidad de ver quién está usando una copia con acceso
21509  a escritura de algún documento.
21510  No está garantizado que solo un usuario hace copias con permiso de escritura.
21511 \end_layout
21512
21513 \begin_layout Standard
21514 \SpecialChar LyX
21515  intenta averiguar si estás usando reservas reservadas o no.
21516  Si la copia de trabajo es solo lectura asume que es reservada, si admite
21517  escritura y una copia adicional del documento existe en el subdirectorio
21518  CVS/Base, asume que es no reservada.
21519  Si se detecta una reservada debes usar 
21520 \begin_inset Flex Noun
21521 status collapsed
21522
21523 \begin_layout Plain Layout
21524 Reservar
21525 \end_layout
21526
21527 \end_inset
21528
21529  para poder escribir en ella.
21530  Después de hacerlo, la operación 
21531 \begin_inset Flex Noun
21532 status collapsed
21533
21534 \begin_layout Plain Layout
21535 Liberar
21536 \end_layout
21537
21538 \end_inset
21539
21540  es posible y esto hace que tu copia de trabajo se haga de nuevo solo lectura
21541  después de transferir los cambios al repositorio.
21542 \end_layout
21543
21544 \begin_layout Standard
21545 Más información sobre CVS se puede encontrar en 
21546 \begin_inset Flex URL
21547 status collapsed
21548
21549 \begin_layout Plain Layout
21550
21551 http://www.nongnu.org/cvs
21552 \end_layout
21553
21554 \end_inset
21555
21556  y en 
21557 \begin_inset Flex URL
21558 status collapsed
21559
21560 \begin_layout Plain Layout
21561
21562 http://ximbiot.com/cvs
21563 \end_layout
21564
21565 \end_inset
21566
21567 .
21568 \end_layout
21569
21570 \begin_layout Standard
21571 Consulta 
21572 \begin_inset Flex Code
21573 status collapsed
21574
21575 \begin_layout Plain Layout
21576 man cvs
21577 \end_layout
21578
21579 \end_inset
21580
21581  para comprender los sub-comandos y conmutadores mencionados abajo.
21582 \end_layout
21583
21584 \begin_layout Subsubsection
21585 Registrar
21586 \end_layout
21587
21588 \begin_layout Standard
21589 Si el documento no está bajo control de revisión, este es el único ítem
21590  mostrado en el menú.
21591  Y si está bajo control de revisión, el ítem
21592 \family sans
21593  
21594 \begin_inset Flex Noun
21595 status collapsed
21596
21597 \begin_layout Plain Layout
21598
21599 \family sans
21600 Registrar
21601 \end_layout
21602
21603 \end_inset
21604
21605
21606 \family default
21607  no está visible.
21608 \end_layout
21609
21610 \begin_layout Standard
21611 Este comando registra tu documento en CVS 
21612 \begin_inset Flex Emph
21613 status collapsed
21614
21615 \begin_layout Plain Layout
21616 \begin_inset Flex Strong
21617 status collapsed
21618
21619 \begin_layout Plain Layout
21620 solo
21621 \end_layout
21622
21623 \end_inset
21624
21625
21626 \end_layout
21627
21628 \end_inset
21629
21630  en el caso de que ya tengas el directorio de documentos bajo control CVS
21631  (en particular, existe el archivo 
21632 \family typewriter
21633 CVS/Entries
21634 \family default
21635 ).
21636  Esto significa que debes crear o reservar el archivo por ti mismo usando
21637  herramientas externas.
21638  (En caso de olvidar este paso, \SpecialChar LyX
21639  registra el documento con RCS).
21640 \end_layout
21641
21642 \begin_layout Standard
21643 Después se te pide interactivamente una descripción inicial del documento.
21644  No olvides que el archivo registrado todavía no está liberado.
21645 \end_layout
21646
21647 \begin_layout Standard
21648 El comando CVS que es ejecutado: 
21649 \family typewriter
21650 cvs -q add -m
21651 \begin_inset Quotes erd
21652 \end_inset
21653
21654 <entered message>" 
21655 \begin_inset Quotes eld
21656 \end_inset
21657
21658 <file-name>
21659 \begin_inset Quotes erd
21660 \end_inset
21661
21662
21663 \end_layout
21664
21665 \begin_layout Standard
21666 El término 
21667 \family typewriter
21668
21669 \begin_inset Quotes eld
21670 \end_inset
21671
21672 <file-name>
21673 \begin_inset Quotes erd
21674 \end_inset
21675
21676
21677 \family default
21678  anterior y en todos los demás comandos CVS es una abreviación para 
21679 \begin_inset Quotes cld
21680 \end_inset
21681
21682 cambiar el directorio de trabajo actual a la ubicación del archivo y usa
21683  el nombre de archivo sin el componente ruta como argumento
21684 \begin_inset Quotes crd
21685 \end_inset
21686
21687 .
21688 \end_layout
21689
21690 \begin_layout Subsubsection
21691 Liberar cambios
21692 \end_layout
21693
21694 \begin_layout Standard
21695 Cuando has terminado de editar un archivo se ingresan los cambios.
21696  Al hacerlo se te pide una descripción de los mismos.
21697  Después, los cambios son escritos en el repositorio.
21698  En caso de que no hayas cambiado el documento y se detecte una copia reservada
21699  se deshace la reserva hecha con 
21700 \begin_inset Flex Noun
21701 status collapsed
21702
21703 \begin_layout Plain Layout
21704 Reservar
21705 \end_layout
21706
21707 \end_inset
21708
21709 .
21710 \end_layout
21711
21712 \begin_layout Labeling
21713 \labelwidthstring 00.00.0000
21714 Comandos
21715 \begin_inset space ~
21716 \end_inset
21717
21718 CVS: 
21719 \begin_inset space ~
21720 \end_inset
21721
21722
21723 \begin_inset Newline newline
21724 \end_inset
21725
21726
21727 \family typewriter
21728
21729 \begin_inset Flex Code
21730 status collapsed
21731
21732 \begin_layout Plain Layout
21733
21734 \family typewriter
21735 cvs -q commit -m"<description>" <file-name>
21736 \end_layout
21737
21738 \end_inset
21739
21740  
21741 \family default
21742 o
21743 \begin_inset Newline newline
21744 \end_inset
21745
21746
21747 \begin_inset Flex Code
21748 status collapsed
21749
21750 \begin_layout Plain Layout
21751 cvs -q unedit "<file-name>"
21752 \end_layout
21753
21754 \end_inset
21755
21756
21757 \end_layout
21758
21759 \begin_layout Subsubsection
21760 Reservar cambios
21761 \end_layout
21762
21763 \begin_layout Standard
21764 Cuando estás compartiendo un repositorio con otros, puede que tengas que
21765  incorporar sus cambios en tu copia de trabajo.
21766 \end_layout
21767
21768 \begin_layout Standard
21769 Comando CVS: 
21770 \family typewriter
21771 cvs -q update "<file-name>"
21772 \end_layout
21773
21774 \begin_layout Standard
21775 Si se detecta una reserva solo lectura la copia se hace reservada y accesible
21776  a escritura.
21777 \end_layout
21778
21779 \begin_layout Standard
21780 Comando CVS: 
21781 \family typewriter
21782 cvs -q edit "<file-name>"
21783 \end_layout
21784
21785 \begin_layout Subsubsection
21786 Volver a la versión del repositorio
21787 \end_layout
21788
21789 \begin_layout Standard
21790 Esto descartará todos los cambios hechos en el documento desde la última
21791  liberación.
21792  Recibes un mensaje de aviso antes de descartar los cambios.
21793  Primero se borra el archivo y luego se ejecuta el comando CVS de actualización.
21794
21795 \family typewriter
21796  
21797 \end_layout
21798
21799 \begin_layout Standard
21800 Comando CVS: 
21801 \family typewriter
21802 cvs -q update 
21803 \begin_inset Quotes eld
21804 \end_inset
21805
21806 <file-name>
21807 \begin_inset Quotes erd
21808 \end_inset
21809
21810
21811 \end_layout
21812
21813 \begin_layout Standard
21814 Si se detecta una copia reservada y la copia de trabajo no tiene cambios
21815  solo se deshace la reserva.
21816 \end_layout
21817
21818 \begin_layout Standard
21819 Comando CVS: 
21820 \family typewriter
21821 cvs -q unedit 
21822 \begin_inset Quotes eld
21823 \end_inset
21824
21825 <file-name>
21826 \begin_inset Quotes erd
21827 \end_inset
21828
21829
21830 \end_layout
21831
21832 \begin_layout Subsubsection
21833 Copiar
21834 \end_layout
21835
21836 \begin_layout Standard
21837 Creará una copia del documento actual.
21838  Como CVS no soporta de forma nativa operaciones de copia, el historial
21839  de versiones no se preserva y la copia se añade como archivo nuevo.
21840  Requiere un documento limpio sin ningún cambio desde la última liberación.
21841  Pedirá un nombre de archivo y una descripción de la operación de copia.
21842  Después se crea la copia localmente y en el repositorio.
21843  Si los directorios padre de los documentos original y copiado difieren,
21844  se ajustan todas las rutas relativas de los archivos incluidos en la copia
21845  (como en 
21846 \family sans
21847 Archivo\SpecialChar menuseparator
21848 Guardar como
21849 \family default
21850 \SpecialChar ldots
21851 ).
21852  Por último, se carga la copia en vez del documento original.
21853 \end_layout
21854
21855 \begin_layout Labeling
21856 \labelwidthstring 00.00.0000
21857 Comandos
21858 \begin_inset space ~
21859 \end_inset
21860
21861 CVS: 
21862 \begin_inset space ~
21863 \end_inset
21864
21865
21866 \begin_inset Newline newline
21867 \end_inset
21868
21869 Copiar 
21870 \begin_inset Flex Code
21871 status collapsed
21872
21873 \begin_layout Plain Layout
21874
21875 \family typewriter
21876 \lang ngerman
21877 "
21878 \family default
21879 \lang spanish
21880 <file-name>
21881 \family typewriter
21882 \lang ngerman
21883 "
21884 \end_layout
21885
21886 \end_inset
21887
21888  a 
21889 \begin_inset Flex Code
21890 status collapsed
21891
21892 \begin_layout Plain Layout
21893
21894 \family typewriter
21895 \lang ngerman
21896 "
21897 \family default
21898 \lang spanish
21899 <new-file-name>
21900 \family typewriter
21901 \lang ngerman
21902 "
21903 \end_layout
21904
21905 \end_inset
21906
21907
21908 \begin_inset Newline newline
21909 \end_inset
21910
21911
21912 \begin_inset Flex Code
21913 status collapsed
21914
21915 \begin_layout Plain Layout
21916 cvs -q add 
21917 \family typewriter
21918 \lang ngerman
21919 "
21920 \family default
21921 \lang spanish
21922 <new-file-name>
21923 \family typewriter
21924 \lang ngerman
21925 "
21926 \end_layout
21927
21928 \end_inset
21929
21930
21931 \end_layout
21932
21933 \begin_layout Subsubsection
21934 Renombrar
21935 \end_layout
21936
21937 \begin_layout Standard
21938 Este comando renombra el documento actual.
21939  Como CVS no soporta de forma nativa operaciones de renombrado, el historial
21940  de versiones no se preserva, el documento renombrado se añade como archivo
21941  nuevo y el original se borra.
21942  Requiere un documento limpio sin ningún cambio desde la última liberación.
21943  Pedirá un nombre de archivo y una descripción de la operación.
21944  Después el documento se renombra localmente y en el repositorio.
21945  Si los directorios padre de los nombres de erchivo nuevo y antiguo difieren,
21946  se ajustan todas las rutas relativas de los archivos incluidos (como en
21947  
21948 \family sans
21949 Archivo\SpecialChar menuseparator
21950 Guardar como
21951 \family default
21952 \SpecialChar ldots
21953 ).
21954  Por último, se recarga el documento con el nuevo nombre.
21955 \end_layout
21956
21957 \begin_layout Labeling
21958 \labelwidthstring 00.00.0000
21959 Comandos
21960 \begin_inset space ~
21961 \end_inset
21962
21963 CVS: 
21964 \begin_inset space ~
21965 \end_inset
21966
21967
21968 \begin_inset Newline newline
21969 \end_inset
21970
21971 Renombrar 
21972 \begin_inset Flex Code
21973 status collapsed
21974
21975 \begin_layout Plain Layout
21976
21977 \family typewriter
21978 \lang ngerman
21979 "
21980 \family default
21981 \lang spanish
21982 <file-name>
21983 \family typewriter
21984 \lang ngerman
21985 "
21986 \end_layout
21987
21988 \end_inset
21989
21990  a 
21991 \begin_inset Flex Code
21992 status collapsed
21993
21994 \begin_layout Plain Layout
21995
21996 \family typewriter
21997 \lang ngerman
21998 "
21999 \family default
22000 \lang spanish
22001 <new-file-name>
22002 \family typewriter
22003 \lang ngerman
22004 "
22005 \end_layout
22006
22007 \end_inset
22008
22009
22010 \begin_inset Newline newline
22011 \end_inset
22012
22013
22014 \begin_inset Flex Code
22015 status collapsed
22016
22017 \begin_layout Plain Layout
22018 cvs -q add 
22019 \family typewriter
22020 \lang ngerman
22021 "
22022 \family default
22023 \lang spanish
22024 <new-file-name>
22025 \family typewriter
22026 \lang ngerman
22027 "
22028 \end_layout
22029
22030 \end_inset
22031
22032
22033 \begin_inset Newline newline
22034 \end_inset
22035
22036
22037 \begin_inset Flex Code
22038 status collapsed
22039
22040 \begin_layout Plain Layout
22041 cvs -q remove 
22042 \family typewriter
22043 \lang ngerman
22044 "
22045 \family default
22046 \lang spanish
22047 <file-name>
22048 \family typewriter
22049 \lang ngerman
22050 "
22051 \end_layout
22052
22053 \end_inset
22054
22055
22056 \end_layout
22057
22058 \begin_layout Subsubsection
22059 Actualizar la reserva del directorio local desde el repositorio
22060 \end_layout
22061
22062 \begin_layout Standard
22063 Conforme tus documentos son más complejos, conteniendo sub-documentos y
22064  figuras e incluyendo archivos externos 
22065 \family typewriter
22066 .tex
22067 \family default
22068  y demás, el uso de control de versiones se hace más complejo.
22069  \SpecialChar LyX
22070  soporta la actualización del árbol completo en el que reside el documento.
22071  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22072  detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22073  Tienes que organizar la estructura de archivos para que los archivos externos
22074  residan en el mismo directorio o subdirectorio del documento.
22075  Es una buena práctica de todos modos almacenar los documentos multi-parte
22076  en un directorio extra.
22077 \end_layout
22078
22079 \begin_layout Standard
22080 El comando 
22081 \begin_inset Flex Code
22082 status collapsed
22083
22084 \begin_layout Plain Layout
22085 Actualizar directorio local desde el repositorio
22086 \end_layout
22087
22088 \end_inset
22089
22090  actualiza el directorio completo.
22091  Si se detectan cambios locales el usuario es advertido antes de iniciar
22092  la actualización.
22093  En caso de conflictos en la fusión ambas versiones de las partes conflictivas
22094  se sitúan al final del documento.
22095  Debes revisar y corregir el resultado de la fusión.
22096  Los conflictos los verás encerrados entre pares de 
22097 \begin_inset Flex Code
22098 status collapsed
22099
22100 \begin_layout Plain Layout
22101 <<<<<<<
22102 \end_layout
22103
22104 \end_inset
22105
22106  y 
22107 \begin_inset Flex Code
22108 status collapsed
22109
22110 \begin_layout Plain Layout
22111 >>>>>>>
22112 \end_layout
22113
22114 \end_inset
22115
22116  separados por 
22117 \begin_inset Flex Code
22118 status collapsed
22119
22120 \begin_layout Plain Layout
22121 =======
22122 \end_layout
22123
22124 \end_inset
22125
22126 .
22127  La parte primera es tu versión antes de la operación de actualización con
22128  pecedida del nombre del documento.
22129  La segunda es la versión del repositorio con el número de la versión tras
22130  la secuencia de signos 
22131 \begin_inset Flex Code
22132 status collapsed
22133
22134 \begin_layout Plain Layout
22135 >
22136 \end_layout
22137
22138 \end_inset
22139
22140 .
22141 \end_layout
22142
22143 \begin_layout Labeling
22144 \labelwidthstring 00.00.0000
22145 Comandos
22146 \begin_inset space ~
22147 \end_inset
22148
22149 CVS: 
22150 \begin_inset space ~
22151 \end_inset
22152
22153
22154 \begin_inset Newline newline
22155 \end_inset
22156
22157
22158 \begin_inset Flex Code
22159 status collapsed
22160
22161 \begin_layout Plain Layout
22162 cd $path; cvs diff "."
22163 \end_layout
22164
22165 \end_inset
22166
22167  (Para ver si se detectan cambios)
22168 \begin_inset Newline newline
22169 \end_inset
22170
22171
22172 \begin_inset Flex Code
22173 status collapsed
22174
22175 \begin_layout Plain Layout
22176 cd $path; cvs -q update "."
22177 \end_layout
22178
22179 \end_inset
22180
22181
22182 \end_layout
22183
22184 \begin_layout Standard
22185 donde 
22186 \begin_inset Flex Code
22187 status collapsed
22188
22189 \begin_layout Plain Layout
22190 $path
22191 \end_layout
22192
22193 \end_inset
22194
22195  es la ruta al documento.
22196 \end_layout
22197
22198 \begin_layout Subsubsection
22199 Mostrar historial
22200 \end_layout
22201
22202 \begin_layout Standard
22203 Muestra el historial completo del documento CVS.
22204  La salida de
22205 \begin_inset Newline newline
22206 \end_inset
22207
22208
22209 \family typewriter
22210 cvs log 
22211 \begin_inset Quotes eld
22212 \end_inset
22213
22214 <file-name>
22215 \family default
22216
22217 \begin_inset Quotes erd
22218 \end_inset
22219
22220  se muestra en un buscador.
22221 \end_layout
22222
22223 \begin_layout Subsubsection
22224 Información de la revisión
22225 \end_layout
22226
22227 \begin_layout Standard
22228 \SpecialChar LyX
22229  soporta número de versión CVS, nombre de autor, fecha y hora del último
22230  ingreso.
22231  Toda esta información se obtiene de
22232 \family typewriter
22233  cvs log -r <file-name>
22234 \family default
22235 .
22236  Véase 
22237 \begin_inset CommandInset ref
22238 LatexCommand ref
22239 reference "subsec:VCS-Información-de-revisión"
22240
22241 \end_inset
22242
22243  para detalles.
22244 \end_layout
22245
22246 \begin_layout Subsection
22247 Comandos SVN en Lyx
22248 \end_layout
22249
22250 \begin_layout Standard
22251 Ahora \SpecialChar LyX
22252  soporta parcialmente SVN.
22253  Puedes encontrar los comandos en el submenú 
22254 \family sans
22255 Archivo\SpecialChar menuseparator
22256 Control de versiones
22257 \family default
22258 .
22259  Ten en cuenta que si utilizas acceso protegido con contraseña al repositorio
22260  vía ssh, se te pedirá en una ventana de terminal.
22261  \SpecialChar LyX
22262  se ha probado con SVN 1.5 y 1.6.
22263 \begin_inset Foot
22264 status open
22265
22266 \begin_layout Plain Layout
22267 La mayoría de los comandos funcionarán también con 1.4, véase 
22268 \begin_inset CommandInset ref
22269 LatexCommand ref
22270 reference "subsec:SVN-Actualizar-el-directorio"
22271
22272 \end_inset
22273
22274
22275 \end_layout
22276
22277 \end_inset
22278
22279
22280 \end_layout
22281
22282 \begin_layout Subsubsection
22283 Registrar
22284 \end_layout
22285
22286 \begin_layout Standard
22287 Si tu documento no está bajo control de revisión este es el único ítem mostrado
22288  en el menú.
22289  Y si está bajo control de revisión, el ítem 
22290 \family sans
22291 Registrar
22292 \family default
22293  no está visible.
22294 \end_layout
22295
22296 \begin_layout Standard
22297 Este comando registra tu documento en SVN 
22298 \series bold
22299 \emph on
22300 solo
22301 \series default
22302 \emph default
22303  en el caso de que ya tengas el directorio de documentos bajo control SVN
22304  ( en particular, existe el archivo 
22305 \family typewriter
22306 .svn/entries
22307 \family default
22308 ).
22309  Esto significa que debes reservar el archivo por ti mismo.
22310 \end_layout
22311
22312 \begin_layout Standard
22313 Después se te pide interactivamente una descripción inicial del documento.
22314  No olvides que el archivo registrado todavía no es definitivo.
22315 \end_layout
22316
22317 \begin_layout Standard
22318 El comando SVN que es ejecutado: 
22319 \family typewriter
22320 snv add -q 
22321 \lang english
22322
22323 \begin_inset Quotes qld
22324 \end_inset
22325
22326
22327 \lang spanish
22328 <file-name>
22329 \lang english
22330
22331 \begin_inset Quotes qld
22332 \end_inset
22333
22334
22335 \end_layout
22336
22337 \begin_layout Standard
22338 Lee 
22339 \family typewriter
22340 man svn
22341 \family default
22342  para comprender las alternativas.
22343 \end_layout
22344
22345 \begin_layout Subsubsection
22346 Liberar cambios
22347 \end_layout
22348
22349 \begin_layout Standard
22350 Cuando has terminado de editar un archivo, ingresas los cambios.
22351  Al hacerlo se te pide una descripción de los mismos.
22352  Después, los cambios son ingresados.
22353 \end_layout
22354
22355 \begin_layout Standard
22356 Comando SVN:
22357 \begin_inset Foot
22358 status collapsed
22359
22360 \begin_layout Plain Layout
22361 En el caso de que el bloqueo no esté habilitado.
22362  Véase la sección 
22363 \begin_inset CommandInset ref
22364 LatexCommand ref
22365 reference "subsec:SVN-Bloqueo-de-archivos"
22366
22367 \end_inset
22368
22369 .
22370 \end_layout
22371
22372 \end_inset
22373
22374  
22375 \family typewriter
22376 svn commit -q -m"<description>" <file-name>
22377 \end_layout
22378
22379 \begin_layout Subsubsection
22380 Reservar para edición
22381 \end_layout
22382
22383 \begin_layout Standard
22384 Actualiza los cambios de este archivo desde el repositorio.
22385  Asegúrate de que comprendes la mezcla y la resolución de conflictos de
22386  SVN antes de usar esta función, porque ¡todos los conflictos debes resolverlos
22387  tú mismo a mano!
22388 \end_layout
22389
22390 \begin_layout Standard
22391 Comando SVN:
22392 \begin_inset Foot
22393 status collapsed
22394
22395 \begin_layout Plain Layout
22396 Ídem.
22397 \end_layout
22398
22399 \end_inset
22400
22401  
22402 \family typewriter
22403 svn update 
22404 \family default
22405
22406 \begin_inset Flex Code
22407 status collapsed
22408
22409 \begin_layout Plain Layout
22410 --non-interactive 
22411 \lang english
22412
22413 \begin_inset Quotes qld
22414 \end_inset
22415
22416
22417 \lang spanish
22418 <file-name>
22419 \lang english
22420
22421 \begin_inset Quotes qld
22422 \end_inset
22423
22424
22425 \end_layout
22426
22427 \end_inset
22428
22429
22430 \end_layout
22431
22432 \begin_layout Subsubsection
22433 Volver a la versión del repositorio
22434 \end_layout
22435
22436 \begin_layout Standard
22437 Esto descartará todos los cambios hechos en el documento desde la última
22438  liberación de cambios.
22439  Recibes un mensaje de aviso antes de descartar los cambios.
22440 \end_layout
22441
22442 \begin_layout Standard
22443 Comando SVN: 
22444 \family typewriter
22445 svn revert -q 
22446 \lang english
22447
22448 \begin_inset Quotes qld
22449 \end_inset
22450
22451
22452 \lang spanish
22453 <file-name>
22454 \lang english
22455
22456 \begin_inset Quotes qld
22457 \end_inset
22458
22459
22460 \end_layout
22461
22462 \begin_layout Subsubsection
22463 Copiar
22464 \end_layout
22465
22466 \begin_layout Standard
22467 Creará una copia del documento actual incluyendo el historial de versiones.
22468  Requiere un documento limpio sin ningún cambio desde la última liberación.
22469  Pedirá un nombre de archivo y una descripción de la operación de copia.
22470  Después se crea la copia localmente y en el repositorio.
22471  Si los directorios padre de los documentos original y copiado difieren,
22472  se ajustan todas las rutas relativas de los archivos incluidos de la copia
22473  (como en 
22474 \family sans
22475 Archivo\SpecialChar menuseparator
22476 Guardar como
22477 \family default
22478 \SpecialChar ldots
22479 ).
22480  Por último, se carga la copia en vez del documento original
22481 \end_layout
22482
22483 \begin_layout Labeling
22484 \labelwidthstring 00.00.0000
22485 Comandos
22486 \begin_inset space ~
22487 \end_inset
22488
22489 SVN: 
22490 \begin_inset space ~
22491 \end_inset
22492
22493
22494 \begin_inset Newline newline
22495 \end_inset
22496
22497
22498 \begin_inset Flex Code
22499 status collapsed
22500
22501 \begin_layout Plain Layout
22502 svn copy -q 
22503 \family typewriter
22504 \lang english
22505
22506 \begin_inset Quotes qld
22507 \end_inset
22508
22509
22510 \family default
22511 \lang spanish
22512 <file-name>
22513 \family typewriter
22514 \lang english
22515
22516 \begin_inset Quotes qld
22517 \end_inset
22518
22519
22520 \family default
22521 \lang spanish
22522  
22523 \family typewriter
22524 \lang english
22525
22526 \begin_inset Quotes qld
22527 \end_inset
22528
22529
22530 \family default
22531 \lang spanish
22532 <new-file-name>
22533 \family typewriter
22534 \lang english
22535
22536 \begin_inset Quotes qld
22537 \end_inset
22538
22539
22540 \end_layout
22541
22542 \end_inset
22543
22544
22545 \begin_inset Newline newline
22546 \end_inset
22547
22548
22549 \begin_inset Flex Code
22550 status collapsed
22551
22552 \begin_layout Plain Layout
22553 svn commit
22554 \end_layout
22555
22556 \end_inset
22557
22558
22559 \end_layout
22560
22561 \begin_layout Subsubsection
22562 Renombrar
22563 \end_layout
22564
22565 \begin_layout Standard
22566 Renombrará el documento actual incluyendo el historial de versiones.
22567  Requiere un documento limpio sin ningún cambio desde la última liberación.
22568  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
22569  Después se renombra el documento localmente y en el repositorio.
22570  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
22571  se ajustan todas las rutas relativas de los archivos incluidos (como en
22572  
22573 \family sans
22574 Archivo\SpecialChar menuseparator
22575 Guardar como
22576 \family default
22577 \SpecialChar ldots
22578 ).
22579  Por último, se recarga el documento con su nuevo nombre.
22580 \end_layout
22581
22582 \begin_layout Labeling
22583 \labelwidthstring 00.00.0000
22584 Comandos
22585 \begin_inset space ~
22586 \end_inset
22587
22588 SVN: 
22589 \begin_inset space ~
22590 \end_inset
22591
22592
22593 \begin_inset Newline newline
22594 \end_inset
22595
22596
22597 \begin_inset Flex Code
22598 status collapsed
22599
22600 \begin_layout Plain Layout
22601 svn move -q 
22602 \family typewriter
22603 \lang english
22604
22605 \begin_inset Quotes qld
22606 \end_inset
22607
22608
22609 \family default
22610 \lang spanish
22611 <file-name>
22612 \family typewriter
22613 \lang english
22614
22615 \begin_inset Quotes qld
22616 \end_inset
22617
22618
22619 \family default
22620 \lang spanish
22621  
22622 \family typewriter
22623 \lang english
22624
22625 \begin_inset Quotes qld
22626 \end_inset
22627
22628
22629 \family default
22630 \lang spanish
22631 <new-file-name>
22632 \family typewriter
22633 \lang english
22634
22635 \begin_inset Quotes qld
22636 \end_inset
22637
22638
22639 \end_layout
22640
22641 \end_inset
22642
22643
22644 \begin_inset Newline newline
22645 \end_inset
22646
22647
22648 \begin_inset Flex Code
22649 status collapsed
22650
22651 \begin_layout Plain Layout
22652 svn commit
22653 \end_layout
22654
22655 \end_inset
22656
22657
22658 \end_layout
22659
22660 \begin_layout Subsubsection
22661 Actualizar la reserva del directorio local desde el repositio
22662 \begin_inset Foot
22663 status open
22664
22665 \begin_layout Plain Layout
22666 Ten en cuenta que este comando solo funcionará con 
22667 \begin_inset Formula $\geqq1.5$
22668 \end_inset
22669
22670
22671 \end_layout
22672
22673 \end_inset
22674
22675
22676 \begin_inset CommandInset label
22677 LatexCommand label
22678 name "subsec:SVN-Actualizar-el-directorio"
22679
22680 \end_inset
22681
22682
22683 \end_layout
22684
22685 \begin_layout Standard
22686 Todos los comandos anteriores tienen un defecto: solo negocian con el documento
22687  actual.
22688  Una vez que el documento contiene figuras, archivos externos 
22689 \family typewriter
22690 .tex
22691 \family default
22692 , etc., su administración se hace más complicada.
22693  Ahora \SpecialChar LyX
22694  soporta la actualización del árbol completo en el que reside el
22695  documento.
22696 \begin_inset Foot
22697 status open
22698
22699 \begin_layout Plain Layout
22700 Hay que organizar la estructura de archivos de modo que todos los archivos
22701  externos estén en el mismo directorio o subdirectorios del documento.
22702 \end_layout
22703
22704 \end_inset
22705
22706  Esto es especialmente útil cuando colaboras con gente que ni tiene conocimiento
22707  detallado de CVS ni tiene interés en ingresar material adicional al repositorio.
22708 \end_layout
22709
22710 \begin_layout Standard
22711 El comando 
22712 \begin_inset Flex Code
22713 status collapsed
22714
22715 \begin_layout Plain Layout
22716 Actualizar directorio local desde el repositorio
22717 \end_layout
22718
22719 \end_inset
22720
22721  actualiza el directorio completo y en caso de conflictos con la mezcla
22722  se deja la versión local de los archivos, para que no haya pérdida indeseada
22723  de datos.
22724  Si se detectan cambios locales se avisa al usuario antes de iniciar la
22725  actualización.
22726 \end_layout
22727
22728 \begin_layout Labeling
22729 \labelwidthstring 00.00.0000
22730 Comandos
22731 \begin_inset space ~
22732 \end_inset
22733
22734 SVN: 
22735 \begin_inset space ~
22736 \end_inset
22737
22738
22739 \begin_inset Newline newline
22740 \end_inset
22741
22742
22743 \begin_inset Flex Code
22744 status collapsed
22745
22746 \begin_layout Plain Layout
22747 svn diff $path
22748 \end_layout
22749
22750 \end_inset
22751
22752  (Para ver si se detectan cambios.)
22753 \begin_inset Newline newline
22754 \end_inset
22755
22756
22757 \begin_inset Flex Code
22758 status collapsed
22759
22760 \begin_layout Plain Layout
22761 svn update --accept mine-full $path
22762 \end_layout
22763
22764 \end_inset
22765
22766
22767 \end_layout
22768
22769 \begin_layout Standard
22770 donde 
22771 \family typewriter
22772 $path
22773 \family default
22774  es la ruta al documento.
22775 \end_layout
22776
22777 \begin_layout Subsubsection
22778 Mostrar historial
22779 \end_layout
22780
22781 \begin_layout Standard
22782 Muestra el historial completo del documento SVN.
22783  La salida de
22784 \begin_inset Newline newline
22785 \end_inset
22786
22787
22788 \family typewriter
22789 svn log 
22790 \lang english
22791
22792 \begin_inset Quotes qld
22793 \end_inset
22794
22795
22796 \lang spanish
22797 <file-name>
22798 \lang english
22799
22800 \begin_inset Quotes qld
22801 \end_inset
22802
22803
22804 \family default
22805 \lang spanish
22806  se muestra en un buscador.
22807 \end_layout
22808
22809 \begin_layout Subsubsection
22810 Bloqueo de archivos
22811 \begin_inset CommandInset label
22812 LatexCommand label
22813 name "subsec:SVN-Bloqueo-de-archivos"
22814
22815 \end_inset
22816
22817
22818 \end_layout
22819
22820 \begin_layout Standard
22821 El intercambio de archivos entre varios sistemas de control de revisiones
22822  tiene el problema de conflictos en las fusiones en el caso de que dos usuarios
22823  intenten editar el mismo documento (o partes de él).
22824  Cuando sucede un conflicto requiere una solución manual, y una alternativa
22825  razonable es proveer algún tipo de mecanismo de bloqueo que garantice que
22826  solo un usuario pueda editar el archivo al mismo tiempo.
22827 \end_layout
22828
22829 \begin_layout Standard
22830 SVN dispone de dos de estos mecanismos que garantizan exclusividad recíproca
22831  en el acceso a archivos,
22832 \lang english
22833  –
22834 \lang spanish
22835 bloqueos y configuración automática de permisos de escritura (véase la sec.
22836 \begin_inset space ~
22837 \end_inset
22838
22839
22840 \begin_inset CommandInset ref
22841 LatexCommand ref
22842 reference "subsec:SVN-Bloqueo-automático"
22843
22844 \end_inset
22845
22846 ), basados en la propiedad de los archivos svn 
22847 \begin_inset Flex Code
22848 status collapsed
22849
22850 \begin_layout Plain Layout
22851 svn:needs-lock
22852 \end_layout
22853
22854 \end_inset
22855
22856 .
22857 \begin_inset Foot
22858 status collapsed
22859
22860 \begin_layout Plain Layout
22861 \begin_inset CommandInset href
22862 LatexCommand href
22863 target "http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html"
22864 literal "false"
22865
22866 \end_inset
22867
22868
22869 \end_layout
22870
22871 \end_inset
22872
22873  Si esta propiedad se detecta para determinado documento, \SpecialChar LyX
22874  empieza automáticamen
22875 te a usar bloqueo SVN para la edición del documento, y el mecanismo completo
22876  de liberación/reserva conmuta al mismo régimen que para RCS.
22877  En particular, esto quiere decir que hay dos modos diferentes de uso archivos
22878  en \SpecialChar LyX
22879 :
22880 \end_layout
22881
22882 \begin_layout Itemize
22883 Estado no bloqueado.
22884  El archivo cargado está en modo solo lectura.
22885  Para editar hay que reservar.
22886  
22887 \emph on
22888 Reservar
22889 \emph default
22890  consiste en actualizar desde el repositorio y adquirir bloqueo de escritura.
22891  Si no es posible obtener el bloqueo permanece el estado no bloquedo.
22892 \end_layout
22893
22894 \begin_layout Itemize
22895 Estado bloqueado.
22896  El archivo cargado está en modo 
22897 \begin_inset Quotes cld
22898 \end_inset
22899
22900 normal
22901 \begin_inset Quotes crd
22902 \end_inset
22903
22904  de edición.
22905  Ningún otro usuario tiene permiso para editar el archivo.
22906  
22907 \emph on
22908 Liberar
22909 \emph default
22910  consiste en ingresar los cambios y liberar el bloqueo de escritura.
22911  Si no se han hecho cambios en el documento, no se producirá ningún ingreso
22912 \begin_inset Foot
22913 status collapsed
22914
22915 \begin_layout Plain Layout
22916 No te extrañe si de todas formas se te pide un mensaje de ingreso.
22917 \end_layout
22918
22919 \end_inset
22920
22921  y solo se realizará el desbloqueo de escritura.
22922 \end_layout
22923
22924 \begin_layout Standard
22925 Comandos SVN:
22926 \end_layout
22927
22928 \begin_layout Labeling
22929 \labelwidthstring 00.00.0000
22930 Liberar:
22931 \family typewriter
22932  svn commit -q -m"<description>" "<file-name>"
22933 \begin_inset Newline newline
22934 \end_inset
22935
22936 svn unlock "<file-name>"
22937 \end_layout
22938
22939 \begin_layout Labeling
22940 \labelwidthstring 00.00.0000
22941 Reservar
22942 \begin_inset Note Note
22943 status open
22944
22945 \begin_layout Plain Layout
22946 traduccion http://forum.wordreference.com/showthread.php?t=689994
22947 \end_layout
22948
22949 \end_inset
22950
22951
22952 \family typewriter
22953 svn update "<file-name>"
22954 \begin_inset Newline newline
22955 \end_inset
22956
22957 svn lock "<file-name>"
22958 \end_layout
22959
22960 \begin_layout Subsubsection
22961 Propiedad de bloqueo automático
22962 \begin_inset CommandInset label
22963 LatexCommand label
22964 name "subsec:SVN-Bloqueo-automático"
22965
22966 \end_inset
22967
22968
22969 \end_layout
22970
22971 \begin_layout Standard
22972 La configuración automática de los permisos de escritura del archivo .lyx
22973  se establece con 
22974 \begin_inset Flex Noun
22975 status collapsed
22976
22977 \begin_layout Plain Layout
22978 Archivo\SpecialChar menuseparator
22979 Control de versiones\SpecialChar menuseparator
22980 Use propiedad de bloqueo
22981 \end_layout
22982
22983 \end_inset
22984
22985 .
22986  Este comando está activo solo cuando el archivo no está bloqueado en el
22987  servidor svn (es decir, debes reservar antes de proceder).
22988 \end_layout
22989
22990 \begin_layout Labeling
22991 \labelwidthstring 00.00.0000
22992 Comandos
22993 \begin_inset space ~
22994 \end_inset
22995
22996 SVN:
22997 \end_layout
22998
22999 \begin_layout Labeling
23000 \labelwidthstring 00.00.0000
23001 Activar:
23002 \family typewriter
23003  svn propset svn:needs-lock ON "<file-name>"
23004 \end_layout
23005
23006 \begin_layout Labeling
23007 \labelwidthstring 00.00.0000
23008 Desactivar: 
23009 \family typewriter
23010 svn propdel svn:needs-lock "<file-name>"
23011 \end_layout
23012
23013 \begin_layout Subsubsection
23014 Información de revisión en documentos
23015 \begin_inset CommandInset label
23016 LatexCommand label
23017 name "subsec:VCS-Información-de-revisión"
23018
23019 \end_inset
23020
23021
23022 \end_layout
23023
23024 \begin_layout Standard
23025 Hay más posibilidades para activar la información de revisión en nuestro
23026  documento.
23027 \end_layout
23028
23029 \begin_layout Itemize
23030 \SpecialChar LyX
23031  lo soporta directamente.
23032 \end_layout
23033
23034 \begin_deeper
23035 \begin_layout Itemize
23036 Información de revisión del árbol (
23037 \begin_inset Flex Code
23038 status collapsed
23039
23040 \begin_layout Plain Layout
23041 vcs-tree-revision
23042 \end_layout
23043
23044 \end_inset
23045
23046 ).
23047  El resultado es la salida del comando 
23048 \begin_inset Flex Code
23049 status collapsed
23050
23051 \begin_layout Plain Layout
23052 svnversion
23053 \end_layout
23054
23055 \end_inset
23056
23057 ; el siguiente cuadro da una idea de la interpretación de los resultados.
23058 \end_layout
23059
23060 \begin_layout Standard
23061 \align center
23062 \begin_inset Tabular
23063 <lyxtabular version="3" rows="6" columns="2">
23064 <features tabularvalignment="middle">
23065 <column alignment="center" valignment="top">
23066 <column alignment="center" valignment="top">
23067 <row>
23068 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23069 \begin_inset Text
23070
23071 \begin_layout Plain Layout
23072 Salida
23073 \end_layout
23074
23075 \end_inset
23076 </cell>
23077 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23078 \begin_inset Text
23079
23080 \begin_layout Plain Layout
23081 Significado
23082 \end_layout
23083
23084 \end_inset
23085 </cell>
23086 </row>
23087 <row>
23088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23089 \begin_inset Text
23090
23091 \begin_layout Plain Layout
23092 4123:4168
23093 \end_layout
23094
23095 \end_inset
23096 </cell>
23097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23098 \begin_inset Text
23099
23100 \begin_layout Plain Layout
23101 revisión mezclada de la copia de trabajo
23102 \end_layout
23103
23104 \end_inset
23105 </cell>
23106 </row>
23107 <row>
23108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23109 \begin_inset Text
23110
23111 \begin_layout Plain Layout
23112 4168M
23113 \end_layout
23114
23115 \end_inset
23116 </cell>
23117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23118 \begin_inset Text
23119
23120 \begin_layout Plain Layout
23121 copia de trabajo modificada
23122 \end_layout
23123
23124 \end_inset
23125 </cell>
23126 </row>
23127 <row>
23128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23129 \begin_inset Text
23130
23131 \begin_layout Plain Layout
23132 4123S
23133 \end_layout
23134
23135 \end_inset
23136 </cell>
23137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23138 \begin_inset Text
23139
23140 \begin_layout Plain Layout
23141 copia de trabajo conmutada
23142 \end_layout
23143
23144 \end_inset
23145 </cell>
23146 </row>
23147 <row>
23148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23149 \begin_inset Text
23150
23151 \begin_layout Plain Layout
23152 4123P
23153 \end_layout
23154
23155 \end_inset
23156 </cell>
23157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23158 \begin_inset Text
23159
23160 \begin_layout Plain Layout
23161 copia de trabajo parcial, de una reserva dispersa
23162 \end_layout
23163
23164 \end_inset
23165 </cell>
23166 </row>
23167 <row>
23168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23169 \begin_inset Text
23170
23171 \begin_layout Plain Layout
23172 4123:4168MS
23173 \end_layout
23174
23175 \end_inset
23176 </cell>
23177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23178 \begin_inset Text
23179
23180 \begin_layout Plain Layout
23181 copia de trabajo de revisión mezclada, modificada, conmutada
23182 \end_layout
23183
23184 \end_inset
23185 </cell>
23186 </row>
23187 </lyxtabular>
23188
23189 \end_inset
23190
23191
23192 \end_layout
23193
23194 \begin_layout Itemize
23195 Información de revisión del archivo.
23196  El resultado del análisis de la salida de 
23197 \begin_inset Flex Code
23198 status collapsed
23199
23200 \begin_layout Plain Layout
23201 svn
23202 \begin_inset space ~
23203 \end_inset
23204
23205 info
23206 \begin_inset space ~
23207 \end_inset
23208
23209 --xml
23210 \begin_inset space ~
23211 \end_inset
23212
23213 file.lyx
23214 \end_layout
23215
23216 \end_inset
23217
23218 .
23219  Los argumentos soportados son:
23220 \end_layout
23221
23222 \begin_deeper
23223 \begin_layout Itemize
23224 número de versión del último ingreso (
23225 \begin_inset Flex Code
23226 status collapsed
23227
23228 \begin_layout Plain Layout
23229 vcs-revision
23230 \end_layout
23231
23232 \end_inset
23233
23234 )
23235 \end_layout
23236
23237 \begin_layout Itemize
23238 autordel último ingreso (
23239 \begin_inset Flex Code
23240 status collapsed
23241
23242 \begin_layout Plain Layout
23243 vcs-author
23244 \end_layout
23245
23246 \end_inset
23247
23248 )
23249 \end_layout
23250
23251 \begin_layout Itemize
23252 fecha del último ingreso (
23253 \begin_inset Flex Code
23254 status collapsed
23255
23256 \begin_layout Plain Layout
23257 vcs-date
23258 \end_layout
23259
23260 \end_inset
23261
23262 )
23263 \end_layout
23264
23265 \begin_layout Itemize
23266 hora del último ingreso (
23267 \begin_inset Flex Code
23268 status collapsed
23269
23270 \begin_layout Plain Layout
23271 vcs-time
23272 \end_layout
23273
23274 \end_inset
23275
23276 )
23277 \end_layout
23278
23279 \end_deeper
23280 \begin_layout Standard
23281 Puedes obtener esta información mediante InsetInfo (p.
23282 \begin_inset space \thinspace{}
23283 \end_inset
23284
23285 ej.
23286  
23287 \begin_inset Flex Code
23288 status collapsed
23289
23290 \begin_layout Plain Layout
23291 info-insert buffer vcs-date
23292 \end_layout
23293
23294 \end_inset
23295
23296 ).
23297  La información estará disponible solo cuando tengas el arvhivo almacenado
23298  bajo administración svn (es decir, el directorio 
23299 \begin_inset Flex Code
23300 status collapsed
23301
23302 \begin_layout Plain Layout
23303 .svn
23304 \end_layout
23305
23306 \end_inset
23307
23308  está disponible con tu documento).
23309 \end_layout
23310
23311 \end_deeper
23312 \begin_layout Itemize
23313 Otra posibilidad —de 
23314 \emph on
23315 hacker
23316 \emph default
23317 — es usar claves svn 
23318 \begin_inset Foot
23319 status collapsed
23320
23321 \begin_layout Plain Layout
23322 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
23323 \end_layout
23324
23325 \end_inset
23326
23327 .
23328  Estableces la propiedad de claves de archivo (p.
23329 \begin_inset space \thinspace{}
23330 \end_inset
23331
23332 ej.
23333  
23334 \family sans
23335 svn propset svn:keywords 'Rev' file.lyx
23336 \family default
23337 ) y luego pegas la clave en código \SpecialChar TeX
23338
23339 \begin_inset Foot
23340 status collapsed
23341
23342 \begin_layout Plain Layout
23343 Esta es una manera fácil de asegurar que \SpecialChar LyX
23344  no quiebre la línea en mitad de
23345  la clave.
23346 \end_layout
23347
23348 \end_inset
23349
23350  en tu documento (p.
23351 \begin_inset space \thinspace{}
23352 \end_inset
23353
23354 ej.
23355  
23356 \lang english
23357
23358 \begin_inset Flex Code
23359 status collapsed
23360
23361 \begin_layout Plain Layout
23362
23363 \lang english
23364 $Rev$
23365 \end_layout
23366
23367 \end_inset
23368
23369
23370 \lang spanish
23371 ).
23372  De esta manera el cliente svn sustituirá automáticamente el número de revisión
23373  (p.
23374 \begin_inset space \thinspace{}
23375 \end_inset
23376
23377 ej.
23378  
23379 \lang english
23380
23381 \begin_inset Flex Code
23382 status collapsed
23383
23384 \begin_layout Plain Layout
23385
23386 \lang english
23387 $Rev: 59 $
23388 \end_layout
23389
23390 \end_inset
23391
23392
23393 \lang spanish
23394 ) tras cada actualización e ingreso.
23395  Hay otros problemas con este enfoque.
23396  Primero, el carácter '$' se usa en \SpecialChar TeX
23397  para expresiones matemáticas, de modo
23398  que cualquier aparición de una fórmula 
23399 \begin_inset Formula $Rev$
23400 \end_inset
23401
23402  se convierte en 
23403 \begin_inset Formula $Rev:59$
23404 \end_inset
23405
23406  en tu documento \SpecialChar LyX
23407 .
23408  Lo mismo sucederá con otras claves como Id, Date, Author, etc.
23409  Segundo, la salida svn es dependiente del idioma, por lo que es fácil que
23410  svn produzca alguna cadena problemática al usar Date.
23411  Tercero, se obtiene la cadena completa 'Rev: 59' en tu documento en vez
23412  de solo el número.
23413  Hasta que subversion implemente claves personalizadas por el usuario será
23414  pesado usar este enfoque con fiabilidad o permitir a \SpecialChar LyX
23415  soportarlo directamente.
23416 \end_layout
23417
23418 \begin_layout Subsection
23419 SVN y entorno Windows
23420 \end_layout
23421
23422 \begin_layout Quote
23423 Mi inclinación es decir que si el usuario no es capaz por sí mismo de entender
23424  las operaciones en línea de comandos, sería recomendable que usara TortoiseSVN.
23425  —P.
23426 \begin_inset space \thinspace{}
23427 \end_inset
23428
23429 A.
23430 \begin_inset space \thinspace{}
23431 \end_inset
23432
23433 Rubin.
23434 \end_layout
23435
23436 \begin_layout Subsubsection
23437 Preparación
23438 \end_layout
23439
23440 \begin_layout Standard
23441 Además de instalar \SpecialChar LyX
23442  y tener acceso al repositorio de Subversion, el usuario
23443  deberá instalar el programa cliente de Subversion.
23444  En 
23445 \begin_inset CommandInset href
23446 LatexCommand href
23447 name "CollabNet"
23448 target "http://www.collab.net/nonav/downloads/subversion/"
23449 literal "false"
23450
23451 \end_inset
23452
23453  hay disponible un instalador para Windows.
23454  Además, al usuario le puede interesar instalar 
23455 \begin_inset CommandInset href
23456 LatexCommand href
23457 name "TortoiseSVN"
23458 target "http://tortoisesvn.tigris.org/"
23459 literal "false"
23460
23461 \end_inset
23462
23463 , que integra las operaciones de Subversion en el menú contextual (clic
23464  derecho) del Explorador de Windows.
23465  Las operaciones hechas fuera de \SpecialChar LyX
23466  generalmente son más convenientes en el
23467  menú contextual del Explorador.
23468  Hay que tener en cuenta que TortoiseSVN no es un reemplazo del programa
23469  cliente, que es lo que usa el propio \SpecialChar LyX
23470 .
23471 \end_layout
23472
23473 \begin_layout Subsubsection
23474 Poner un documento bajo control de Subversion
23475 \end_layout
23476
23477 \begin_layout Standard
23478 Antes de poner un documento \SpecialChar LyX
23479  bajo control de Subversion, su directorio padre
23480  debe estar bajo control de versiones.
23481  Si el documento se va a añadir a un proyecto ya en el repositorio, esto
23482  se lleva a cabo comprobando el directorio donde se incluirá el documento
23483  nuevo.
23484  Si el proyecto mismo no está ya bajo control de versión (por ejemplo, si
23485  el documento inicia un proyecto nuevo), hay que importar el directorio
23486  al repositorio.
23487  Esto se hace fuera de \SpecialChar LyX
23488 .
23489  Tanto la importación como la reserva se hacen fácilmente en el menú contextual
23490  del Explorador mediante TortoiseSVN, o bien usando un cliente de línea
23491  de comandos en DOS.
23492  El procedimiento para importar el proyecto con TortoiseSVN se describe
23493  abajo, suponiendo que hay un repositorio y un proyecto nuevo en 
23494 \family typewriter
23495 C:
23496 \backslash
23497 new project
23498 \family default
23499 .
23500  Para información sobre el uso del programa cliente de Subversion, ejecuta
23501  
23502 \family typewriter
23503 svn 
23504 \family default
23505
23506 \begin_inset Flex Code
23507 status collapsed
23508
23509 \begin_layout Plain Layout
23510 --help
23511 \end_layout
23512
23513 \end_inset
23514
23515  en línea de comandos de DOS.
23516 \end_layout
23517
23518 \begin_layout Enumerate
23519 Localiza 
23520 \family typewriter
23521 C:
23522 \backslash
23523 new project 
23524 \family default
23525 en el Explorador de Windows, clic derecho y selecciona 
23526 \family sans
23527 TortoiseSVN\SpecialChar menuseparator
23528 Repo-browser
23529 \family default
23530 .
23531  Si es preciso ajusta el URL para el repositorio, y pulsa OK.
23532 \end_layout
23533
23534 \begin_layout Enumerate
23535 Haz clic derecho en el nivel del repositorio bajo el que quieres situar
23536  la carpeta del nuevo proyecto (típicamente el nivel superior) y pulsa 
23537 \family sans
23538 Create folder
23539 \family default
23540  Da nombre a la carpeta y pulsa OK.
23541  Añade un mensaje para el registro, si quieres, y pulsa OK de nuevo.
23542  La carpeta del nuevo proyecto debería figurar en el repositorio.
23543  Por último, OK de nuevo para salir del navegador del repositorio.
23544 \end_layout
23545
23546 \begin_layout Enumerate
23547 Haz otra vez clic derecho en 
23548 \family typewriter
23549 C:
23550 \backslash
23551 new project
23552 \family default
23553 , esta vez seleccionando SVN Checkout Selecciona el URL de la carpeta que
23554  acabas de crear en el repositorio y ajusta el directorio a 
23555 \family typewriter
23556 C:
23557 \backslash
23558 new project.
23559
23560 \family default
23561  Pulsa OK.
23562  Serás avisado sobre una carpeta no vacía; OK para continuar.
23563  Ahora debería haber un directorio 
23564 \family typewriter
23565 .svn
23566 \family default
23567  bajo 
23568 \family typewriter
23569 C:
23570 \backslash
23571 new project.
23572 \end_layout
23573
23574 \begin_layout Enumerate
23575 Crea o abre tu documento en \SpecialChar LyX
23576  y abre 
23577 \family sans
23578 Archivo\SpecialChar menuseparator
23579 Control de versiones\SpecialChar menuseparator
23580 Registrar
23581 \family default
23582 .
23583  Añade un mensaje de registro y pulsa OK para someter el documento a control
23584  de versión.
23585 \end_layout
23586
23587 \begin_layout Standard
23588 De aquí en adelante deberías tener funcionalidad completa en el menú 
23589 \family sans
23590 Archivo\SpecialChar menuseparator
23591 Control de versiones
23592 \family default
23593 .
23594  Además tienes la opción de comprobar el documento entrante y saliente,
23595  ver su historial, etc., usando el menú contextual TortoiseSVN en el Explorador
23596  o en la línea de comandos del programa cliente de Subversion.
23597  
23598 \end_layout
23599
23600 \begin_layout Subsubsection
23601 SSH tunnel con SVN bajo Windows
23602 \end_layout
23603
23604 \begin_layout Standard
23605 Comparado con la configuración del cliente svn en Linux para comunicar sobre
23606  ssh, bajo Windows es una tarea es bastante más molesta.
23607  Al menos ofreceremos algunas indicaciones para configurar el cliente, pero
23608  hay que aclarar antes algo sobre ssh y la línea de comandos en Windows
23609  y estar preparados para grandes dosis de frustración\SpecialChar ldots
23610
23611 \end_layout
23612
23613 \begin_layout Enumerate
23614 Obtén un cliente svn para windows, como se describe en secciones anteriores.
23615  Si es una instalación nueva ejecuta algún comando para crear los archivos
23616  de configuración (p.
23617 \begin_inset space \thinspace{}
23618 \end_inset
23619
23620 ej.
23621  
23622 \begin_inset Flex Code
23623 status collapsed
23624
23625 \begin_layout Plain Layout
23626 svn --version
23627 \end_layout
23628
23629 \end_inset
23630
23631 ), que deberás cambiar más tarde.
23632 \end_layout
23633
23634 \begin_layout Enumerate
23635 Elige un cliente ssh para Windows.
23636  Hay varias opciones, aquí usaremos el de Putty tools
23637 \begin_inset Foot
23638 status open
23639
23640 \begin_layout Plain Layout
23641 \begin_inset Flex URL
23642 status collapsed
23643
23644 \begin_layout Plain Layout
23645
23646 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
23647 \end_layout
23648
23649 \end_inset
23650
23651
23652 \end_layout
23653
23654 \end_inset
23655
23656 .
23657  Tendrás que configurar la conexión para que el cliente no pia contraseña.
23658  Para facilitar las cosas usaremos solo claves sin ninguna protección adicional
23659  de contraseña, etc.
23660 \end_layout
23661
23662 \begin_deeper
23663 \begin_layout Enumerate
23664 Genera las claves con 
23665 \begin_inset Flex Code
23666 status collapsed
23667
23668 \begin_layout Plain Layout
23669 puttygen
23670 \end_layout
23671
23672 \end_inset
23673
23674 .
23675  Guarda tu clave privada .ppk y pon la pública en el servidor.
23676  Si el servidor SVN corre bajo Linux, ten en cuenta que el formato de la
23677  clave pública no es compatible con openssh Linux y tendrás que copiar y
23678  pegar directamente la clave desde el campo de edición “
23679 \emph on
23680 Public key for pasting into OpenSSH authorized_keys file
23681 \emph default
23682 :” en el archivo del servidor 
23683 \begin_inset Flex Code
23684 status collapsed
23685
23686 \begin_layout Plain Layout
23687 ~/.ssh/authorized_keys
23688 \end_layout
23689
23690 \end_inset
23691
23692
23693 \begin_inset Flex Code
23694 status collapsed
23695
23696 \begin_layout Plain Layout
23697 authorized_keys2
23698 \end_layout
23699
23700 \end_inset
23701
23702 .
23703 \end_layout
23704
23705 \begin_layout Enumerate
23706 Obtén el 
23707 \begin_inset Flex Code
23708 status collapsed
23709
23710 \begin_layout Plain Layout
23711 plink
23712 \end_layout
23713
23714 \end_inset
23715
23716  de Putty.
23717  En el archivo de configuración SVN
23718 \begin_inset Foot
23719 status collapsed
23720
23721 \begin_layout Plain Layout
23722 La ruta exacta depende de la versión de Windows, usualmente algo como 
23723 \begin_inset Flex Code
23724 status collapsed
23725
23726 \begin_layout Plain Layout
23727 c:
23728 \backslash
23729 Documents and Settings
23730 \backslash
23731 user
23732 \backslash
23733 Application Data
23734 \backslash
23735 Subversion
23736 \backslash
23737 config
23738 \end_layout
23739
23740 \end_inset
23741
23742  / 
23743 \begin_inset Flex Code
23744 status collapsed
23745
23746 \begin_layout Plain Layout
23747 AppData
23748 \backslash
23749 Roaming
23750 \backslash
23751 Subversion
23752 \end_layout
23753
23754 \end_inset
23755
23756 .
23757 \end_layout
23758
23759 \end_inset
23760
23761 , sección [tunnels], configura el comando ssh, p.
23762 \begin_inset space \thinspace{}
23763 \end_inset
23764
23765 ej.
23766  
23767 \begin_inset Flex Code
23768 status collapsed
23769
23770 \begin_layout Plain Layout
23771 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
23772 \end_layout
23773
23774 \end_inset
23775
23776 .
23777 \begin_inset Foot
23778 status open
23779
23780 \begin_layout Plain Layout
23781 Usualmente toma tiempo conseguir el comando exacto y depende de muchas cosas.
23782  Por ejemplo, no tener algún servidor remoto guardado como predeterminado
23783  en Putty etc.
23784  Si falla, intenta primero conectar vía plink sin SVN.
23785 \end_layout
23786
23787 \end_inset
23788
23789
23790 \end_layout
23791
23792 \end_deeper
23793 \begin_layout Enumerate
23794 Reserva el archivo SVN, p.
23795 \begin_inset space \thinspace{}
23796 \end_inset
23797
23798 ej.
23799 \begin_inset Newline newline
23800 \end_inset
23801
23802
23803 \begin_inset Flex Code
23804 status collapsed
23805
23806 \begin_layout Plain Layout
23807 svn co svn+ssh://user@server/repository_path
23808 \end_layout
23809
23810 \end_inset
23811
23812 .
23813 \end_layout
23814
23815 \begin_layout Subsubsection
23816 Conversiones de los finales de línea
23817 \end_layout
23818
23819 \begin_layout Standard
23820 Cuando los colaboradores mezclan entornos Linux y Windows, \SpecialChar LyX
23821  usará distintos
23822  finales de línea en los archivos .lyx.
23823  Esto no es un problema en lo que concierne a la funcionalidad de \SpecialChar LyX
23824 , pero
23825  los archivos diff de los ingresos serán enormes y propensos a conflictos
23826  de fusión.
23827  Afortunadamente SVN sabe por sí mismo
23828 \begin_inset Foot
23829 status open
23830
23831 \begin_layout Plain Layout
23832 \begin_inset Flex URL
23833 status collapsed
23834
23835 \begin_layout Plain Layout
23836
23837 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
23838 \end_layout
23839
23840 \end_inset
23841
23842
23843 \end_layout
23844
23845 \end_inset
23846
23847  como manejar problemas con retornos y saltos de línea (CR/LF) cuando cambia
23848  archivos .lyx al modo 
23849 \begin_inset Flex Code
23850 status collapsed
23851
23852 \begin_layout Plain Layout
23853 native
23854 \end_layout
23855
23856 \end_inset
23857
23858 .
23859 \begin_inset Foot
23860 status open
23861
23862 \begin_layout Plain Layout
23863 Para los perezosos: 
23864 \begin_inset Flex Code
23865 status collapsed
23866
23867 \begin_layout Plain Layout
23868 svn propset svn:eol-style native FILE_NAME
23869 \end_layout
23870
23871 \end_inset
23872
23873
23874 \end_layout
23875
23876 \end_inset
23877
23878
23879 \end_layout
23880
23881 \begin_layout Subsection
23882 Comandos GIT en \SpecialChar LyX
23883
23884 \end_layout
23885
23886 \begin_layout Standard
23887 \SpecialChar LyX
23888  soporta un conjunto mínimo de comandos GIT.
23889  Se encuentra en el submenú 
23890 \family sans
23891 Archivo\SpecialChar menuseparator
23892 Control de versiones
23893 \family default
23894 .
23895  Hay que tener en cuenta que si se usa acceso con contraseña al repositorio
23896  vía ssh, ésta se pedirá en una ventana de terminal.
23897  \SpecialChar LyX
23898  se ha probado con GIT 1.7.
23899  
23900 \end_layout
23901
23902 \begin_layout Standard
23903 Una gran diferencia entre GIT y los demás sistemas de control de versiones
23904  soportados es la naturaleza distribuida de GIT: con los sistemas de control
23905  de versiones tradicionales hay un servidor central que aloja el repositorio.
23906  Los usuarios envían sus cambios al servidor y obtienen de él actualizaciones
23907  hechas por otros.
23908  Con GIT, los usuarios remiten a un repositorio local, el cuál se puede
23909  sincronizar con uno o más repositorios remotos usando los comandos GIT
23910  
23911 \begin_inset Flex Code
23912 status collapsed
23913
23914 \begin_layout Plain Layout
23915 pull
23916 \end_layout
23917
23918 \end_inset
23919
23920  y 
23921 \begin_inset Flex Code
23922 status collapsed
23923
23924 \begin_layout Plain Layout
23925 push
23926 \end_layout
23927
23928 \end_inset
23929
23930 .
23931  \SpecialChar LyX
23932  no interactúa de ninguna forma con los repositorios GIT remotos.
23933  Trabaja exclusivamente con el repositorio local de manera similar a como
23934  con un repositorio CVS o SVN.
23935  Si usas repositorios GIT remotos debes hacer las operaciones 
23936 \begin_inset Flex Code
23937 status collapsed
23938
23939 \begin_layout Plain Layout
23940 pull
23941 \end_layout
23942
23943 \end_inset
23944
23945  y 
23946 \begin_inset Flex Code
23947 status collapsed
23948
23949 \begin_layout Plain Layout
23950 push
23951 \end_layout
23952
23953 \end_inset
23954
23955  con tu cliente GIT favorito.
23956 \end_layout
23957
23958 \begin_layout Subsubsection
23959 Registrar
23960 \end_layout
23961
23962 \begin_layout Standard
23963 Si el documento no está bajo control de versiones, éste es el único ítem
23964  mostrado en el menú.
23965  Si está bajo control de versiones 
23966 \family sans
23967 Registrar
23968 \family default
23969  no es visible.
23970 \end_layout
23971
23972 \begin_layout Standard
23973 Este comando registra el documento en GIT sólo en el caso de que el directorio
23974  de los documentos esté ya bajo control de GIT (en particular, existe el
23975  archivo 
23976 \family typewriter
23977 .git/index
23978 \family default
23979 ).
23980  Esto quiere decir que debes reservar
23981 \begin_inset Note Note
23982 status open
23983
23984 \begin_layout Plain Layout
23985 checkout
23986 \end_layout
23987
23988 \end_inset
23989
23990  el archivo por ti mismo.
23991 \end_layout
23992
23993 \begin_layout Standard
23994 Entonces se pedirá de forma interactiva una descripción inicial del documento.
23995  No olvides que el archivo registrado aún no ha sido ingresado.
23996 \end_layout
23997
23998 \begin_layout Standard
23999 El comando GIT que se ejecuta: 
24000 \family typewriter
24001 git add 
24002 \begin_inset Quotes eld
24003 \end_inset
24004
24005 <file-name>
24006 \end_layout
24007
24008 \begin_layout Standard
24009 Consulta 
24010 \family typewriter
24011 man git
24012 \family default
24013  para entender los conmutadores.
24014  
24015 \end_layout
24016
24017 \begin_layout Subsubsection
24018 Liberar cambios
24019 \end_layout
24020
24021 \begin_layout Standard
24022 Una vez editado un archivo hay que ingresar los cambios realizados en él.
24023  Al hacerlo se pedirá una descripción de los mismos y después se ingresan.
24024 \end_layout
24025
24026 \begin_layout Standard
24027 Comando GIT: 
24028 \family typewriter
24029 git commit -q -m"<description>" <file-name>
24030 \end_layout
24031
24032 \begin_layout Subsubsection
24033 Volver a la versión del repositorio
24034 \end_layout
24035
24036 \begin_layout Standard
24037 Descartará los cambios hechos en el documento desde la última liberación.
24038  Hay un aviso antes de descartar los cambios.
24039 \end_layout
24040
24041 \begin_layout Standard
24042 Comando GIT: 
24043 \family typewriter
24044 git checkout -q 
24045 \lang english
24046
24047 \begin_inset Quotes qld
24048 \end_inset
24049
24050
24051 \lang spanish
24052 <file-name>
24053 \lang english
24054
24055 \begin_inset Quotes qld
24056 \end_inset
24057
24058
24059 \end_layout
24060
24061 \begin_layout Subsubsection
24062 Renombrar
24063 \end_layout
24064
24065 \begin_layout Standard
24066 Renombrará el documento actual incluyendo el historial de versiones.
24067  Requiere un documento limpio sin ningún cambio desde la última liberación.
24068  Pedirá un nombre de archivo y una descripción de la operación de renombrado.
24069  Después se renombra el documento localmente y en el repositorio.
24070  Si los directorios padre de los nombres de archivo nuevo y antiguo difieren,
24071  se ajustan todas las rutas relativas de los archivos incluidos (como en
24072  
24073 \family sans
24074 Archivo\SpecialChar menuseparator
24075 Guardar como
24076 \family default
24077 \SpecialChar ldots
24078 ).
24079  Por último, se recarga el documento con su nuevo nombre.
24080 \end_layout
24081
24082 \begin_layout Labeling
24083 \labelwidthstring 00.00.0000
24084 Comandos
24085 \begin_inset space ~
24086 \end_inset
24087
24088 GIT: 
24089 \begin_inset space ~
24090 \end_inset
24091
24092
24093 \begin_inset Newline newline
24094 \end_inset
24095
24096
24097 \begin_inset Flex Code
24098 status collapsed
24099
24100 \begin_layout Plain Layout
24101 git mv 
24102 \family typewriter
24103 \lang english
24104
24105 \begin_inset Quotes qld
24106 \end_inset
24107
24108
24109 \family default
24110 \lang spanish
24111 <file-name>
24112 \family typewriter
24113 \lang english
24114
24115 \begin_inset Quotes qld
24116 \end_inset
24117
24118
24119 \family default
24120 \lang spanish
24121  
24122 \family typewriter
24123 \lang english
24124
24125 \begin_inset Quotes qld
24126 \end_inset
24127
24128
24129 \family default
24130 \lang spanish
24131 <new-file-name>
24132 \family typewriter
24133 \lang english
24134
24135 \begin_inset Quotes qld
24136 \end_inset
24137
24138
24139 \end_layout
24140
24141 \end_inset
24142
24143
24144 \begin_inset Newline newline
24145 \end_inset
24146
24147
24148 \begin_inset Flex Code
24149 status collapsed
24150
24151 \begin_layout Plain Layout
24152 git commit
24153 \end_layout
24154
24155 \end_inset
24156
24157
24158 \end_layout
24159
24160 \begin_layout Subsubsection
24161 Mostrar historial
24162 \end_layout
24163
24164 \begin_layout Standard
24165 Muestra el historial completo del documento GIT.
24166  La salida de 
24167 \family typewriter
24168 git log 
24169 \lang english
24170
24171 \begin_inset Quotes qld
24172 \end_inset
24173
24174
24175 \lang spanish
24176 <file-name>
24177 \lang english
24178
24179 \begin_inset Quotes qld
24180 \end_inset
24181
24182
24183 \family default
24184 \lang spanish
24185  se muestra en un buscador.
24186 \end_layout
24187
24188 \begin_layout Subsubsection
24189 Información de la versión
24190 \end_layout
24191
24192 \begin_layout Standard
24193 \SpecialChar LyX
24194  soporta número hash GIT del últim ingreso al archivo, autor, fecha y hora
24195  del último ingreso.
24196  Todos se obtienen de 
24197 \begin_inset Flex Code
24198 status collapsed
24199
24200 \begin_layout Plain Layout
24201 git log -n 1 --pretty=format:%H%n%an%n%ai
24202 \end_layout
24203
24204 \end_inset
24205
24206 .
24207  La información de l versión del árbol se obtiene vía 
24208 \begin_inset Flex Code
24209 status collapsed
24210
24211 \begin_layout Plain Layout
24212 git describe --abbrev --dirty --long
24213 \end_layout
24214
24215 \end_inset
24216
24217 .
24218  Véase 
24219 \begin_inset CommandInset ref
24220 LatexCommand ref
24221 reference "subsec:VCS-Información-de-revisión"
24222
24223 \end_inset
24224
24225  para otros detalles.
24226 \end_layout
24227
24228 \begin_layout Subsection
24229 Ajustes adicionales
24230 \end_layout
24231
24232 \begin_layout Standard
24233 Con la reciente adición de la función 
24234 \family typewriter
24235 vc-command
24236 \family default
24237 , los usuarios que exprimen la potencia de \SpecialChar LyX
24238  pueden crear sus propios comandos
24239  para el control de revisiones.
24240 \end_layout
24241
24242 \begin_layout Standard
24243 Como ejemplo puedes ver cómo integrar directamente dos comandos TortoiseSVN:
24244 \end_layout
24245
24246 \begin_layout Description
24247 Ingresar: 
24248 \begin_inset Flex Code
24249 status collapsed
24250
24251 \begin_layout Plain Layout
24252 vc-command DS "." "TortoiseProc /command:commit /path:$$p"
24253 \end_layout
24254
24255 \end_inset
24256
24257
24258 \end_layout
24259
24260 \begin_layout Description
24261 Revertir: 
24262 \begin_inset Flex Code
24263 status collapsed
24264
24265 \begin_layout Plain Layout
24266 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
24267 \end_layout
24268
24269 \end_inset
24270
24271
24272 \end_layout
24273
24274 \begin_layout Subsection
24275 Control de versiones y comparación de documentos
24276 \end_layout
24277
24278 \begin_layout Standard
24279 Uno de los usos típicos del control de versiones es inspeccionar los cambios
24280  entre revisiones, usualmente creando volcados 
24281 \begin_inset Flex Code
24282 status collapsed
24283
24284 \begin_layout Plain Layout
24285 diff
24286 \end_layout
24287
24288 \end_inset
24289
24290 .
24291  Aunque esto es útil para archivos de texto sencillo, es mucho menos útil
24292  en archivos de \SpecialChar LyX
24293 , que tienen una estructura más complicada.
24294  Por tanto, proporcionamos caminos para la característica de comparar documentos.
24295  Hay dos maneras de iniciar esta función, una por llamada directa a 
24296 \family typewriter
24297 \lang english
24298 vc-compare
24299 \family default
24300 \lang spanish
24301  (véase el manual Funciones de \SpecialChar LyX
24302  para detalles) y otra con el
24303 \lang english
24304  toolbar 
24305 \lang spanish
24306 icono o menú 
24307 \lang english
24308
24309 \begin_inset Info
24310 type  "menu"
24311 arg   "vc-compare"
24312 \end_inset
24313
24314
24315 \lang spanish
24316 .
24317  Se pueden comparar dos revisiones determinadas o se puede simplemente comparar
24318  la versión actual del texto editado con revisiones anteriores (donde '
24319 \begin_inset Flex Code
24320 status collapsed
24321
24322 \begin_layout Plain Layout
24323 0
24324 \end_layout
24325
24326 \end_inset
24327
24328 ' revisiones atrás quiere decir comparar el archivo en edición con la última
24329  revisión remitida).
24330  
24331 \end_layout
24332
24333 \begin_layout Standard
24334 Esta característica está soportada por SVN y RCS, aunque debido al esquema
24335  de versiones más complicado de RCS hay una restricción, en la dirección
24336  de las revisiones en el diálogo, los números siempre apuntan al último
24337  número en el número de revisión de RCS, es decir, '35' en '1.2.35'.
24338
24339 \lang english
24340  We don't currently support GIT addressing of revisions, one can just compare
24341  edited document with its revision X steps backs, where X is addressed as
24342  
24343 \begin_inset Flex Code
24344 status collapsed
24345
24346 \begin_layout Plain Layout
24347
24348 \lang english
24349 HEAD~X
24350 \end_layout
24351
24352 \end_inset
24353
24354 .
24355 \end_layout
24356
24357 \begin_layout Section
24358 Programación literaria
24359 \end_layout
24360
24361 \begin_layout Standard
24362 Actualizado por 
24363 \noun on
24364 Kayvan Sylvan 
24365 \noun default
24366 (kayvan@sylvan.com)
24367 \noun on
24368
24369 \noun default
24370 documentación original de 
24371 \noun on
24372 Edmar Wienskoski Jr.
24373
24374 \noun default
24375  (edmar-w-jr@technologist.com)
24376 \end_layout
24377
24378 \begin_layout Subsection
24379 Introducción
24380 \end_layout
24381
24382 \begin_layout Standard
24383 El propósito principal de esta documentación es mostrar el uso de \SpecialChar LyX
24384  para
24385  escribir programación literaria
24386 \series medium
24387
24388 \begin_inset Foot
24389 status collapsed
24390
24391 \begin_layout Plain Layout
24392 «Literate Programming», llamada también programación «ilustrada» o «letrada».
24393  
24394 \emph on
24395 (N.
24396 \begin_inset space \thinspace{}
24397 \end_inset
24398
24399 del t.)
24400 \end_layout
24401
24402 \end_inset
24403
24404
24405 \series default
24406 .
24407  Se supone que la técnica de la programación te resulta familiar y sabes
24408  lo que significan términos como 
24409 \begin_inset Quotes cld
24410 \end_inset
24411
24412 tangling
24413 \begin_inset Quotes crd
24414 \end_inset
24415
24416  y 
24417 \begin_inset Quotes cld
24418 \end_inset
24419
24420 weaving
24421 \begin_inset Quotes crd
24422 \end_inset
24423
24424
24425 \begin_inset Foot
24426 status collapsed
24427
24428 \begin_layout Plain Layout
24429 Generación del código y de la documentación, respectivamente.
24430  (
24431 \emph on
24432 N.
24433 \begin_inset space \thinspace{}
24434 \end_inset
24435
24436 del t.
24437 \emph default
24438 )
24439 \end_layout
24440
24441 \end_inset
24442
24443 .
24444  Si no es así, acude a los enlaces web mencionados en las siguientes secciones.
24445  Hay mucha y buena documentación que abarca desde la historia de los inicios
24446  de la programación hasta las últimas herramientas y trucos.
24447 \end_layout
24448
24449 \begin_layout Standard
24450 También se supone que estás familiarizado con el uso de \SpecialChar LyX
24451  hasta el punto
24452  de conocer cómo cambiar las preferencias y el archivo de recursos X.
24453  Si no es así acude al resto de documentación de \SpecialChar LyX
24454  en función de tus necesidades.
24455 \end_layout
24456
24457 \begin_layout Subsection
24458 Programación literaria
24459 \end_layout
24460
24461 \begin_layout Standard
24462 Extraído de las PUF: 
24463 \end_layout
24464
24465 \begin_layout Quotation
24466 En la programación literaria se combinan documentación y código fuente de
24467  manera legible para los seres humanos.
24468  ¡De hecho, la programación literaria debería ser de lectura agradable,
24469  incluso sugerente! (¡Lo siento Bob, no he podido resistirme\SpecialChar ldots
24470 !) En general,
24471  en la escritura de los programas se combinan código y documentación en
24472  el mismo archivo.
24473  Las herramientas de programación literaria analizan después el archivo
24474  y pueden generar la documentación o el código fuente compilable por separado.
24475  El estilo WEB de programación fue creado por 
24476 \noun on
24477 D.
24478 \begin_inset space \thinspace{}
24479 \end_inset
24480
24481 E.
24482 \begin_inset space \thinspace{}
24483 \end_inset
24484
24485 Knuth
24486 \noun default
24487  mientras desarrollaba su sistema de composición tipográfica \SpecialChar TeX
24488 .
24489 \end_layout
24490
24491 \begin_layout Standard
24492 Otro extracto:
24493 \end_layout
24494
24495 \begin_layout Quotation
24496
24497 \emph on
24498 ¿En qué se diferencian la programación literaria y 
24499 \emph default
24500 e
24501 \emph on
24502 l comentario literal?
24503 \end_layout
24504
24505 \begin_layout Quotation
24506 Hay tres rasgos distintivos, que son, por orden de importancia: 
24507 \end_layout
24508
24509 \begin_deeper
24510 \begin_layout Itemize
24511 orden de elaboración flexible 
24512 \end_layout
24513
24514 \begin_layout Itemize
24515 soporte automático de búsqueda 
24516 \end_layout
24517
24518 \begin_layout Itemize
24519 documentación bien presentada, especialmente los diagramas y las matemáticas.
24520  
24521 \end_layout
24522
24523 \end_deeper
24524 \begin_layout Standard
24525 Y ahora que he despertado tu curiosidad, veamos las referencias.
24526 \end_layout
24527
24528 \begin_layout Subsubsection
24529 Referencias
24530 \end_layout
24531
24532 \begin_layout Standard
24533 Las FAQ completas de 
24534 \begin_inset Quotes cld
24535 \end_inset
24536
24537 Literate Programming
24538 \begin_inset Quotes crd
24539 \end_inset
24540
24541  se encuentran en:
24542 \end_layout
24543
24544 \begin_layout Quote
24545 Literate Programming FAQ: 
24546 \begin_inset Flex URL
24547 status collapsed
24548
24549 \begin_layout Plain Layout
24550
24551 http://www.literateprogramming.com/lpfaq.pdf
24552 \end_layout
24553
24554 \end_inset
24555
24556
24557 \end_layout
24558
24559 \begin_layout Standard
24560 En las FAQ se describen 23 (¡23!) herramientas diferentes de programación
24561  literaria.
24562  Algunas son específicas de lenguajes de programación particulares, otras
24563  son de aplicación general.
24564  He seleccionado la herramienta 
24565 \noun on
24566 Noweb
24567 \noun default
24568  para mi uso personal por varias razones:
24569 \end_layout
24570
24571 \begin_layout Itemize
24572 Puede generar la documentación en \SpecialChar LaTeX
24573  o en HTML.
24574 \end_layout
24575
24576 \begin_layout Itemize
24577 Es de estructura abierta, es decir, es sencillo introducir filtros nuevos
24578 \lang english
24579
24580 \begin_inset Foot
24581 status open
24582
24583 \begin_layout Plain Layout
24584
24585 \emph on
24586 \lang english
24587 Filters 
24588 \emph default
24589 are programs that read a given data stream and output a manipulated data
24590  stream.
24591  That way, a WEB file (consisting of literate code) can be turned into a
24592  file consisting only of C program code or \SpecialChar LaTeX
24593  code.
24594 \end_layout
24595
24596 \end_inset
24597
24598
24599 \lang spanish
24600  y hacer procesamientos especiales según las necesidades.
24601  
24602 \end_layout
24603
24604 \begin_layout Itemize
24605 Ya hay una buena selección de filtros disponible (uno de ellos es HTML).
24606 \end_layout
24607
24608 \begin_layout Itemize
24609 Es libre.
24610 \end_layout
24611
24612 \begin_layout Standard
24613 La página web de Noweb es: 
24614 \end_layout
24615
24616 \begin_layout Quote
24617 Página de inicio de Noweb 
24618 \begin_inset Flex URL
24619 status collapsed
24620
24621 \begin_layout Plain Layout
24622
24623 https://www.cs.tufts.edu/~nr/noweb/
24624 \end_layout
24625
24626 \end_inset
24627
24628
24629 \end_layout
24630
24631 \begin_layout Standard
24632 Desde allí puedes acceder a muchos enlaces de interés y a ejemplos de programaci
24633 ón en formato literario.
24634 \end_layout
24635
24636 \begin_layout Subsection
24637 \SpecialChar LyX
24638  y la programación literaria con Noweb
24639 \end_layout
24640
24641 \begin_layout Standard
24642 \SpecialChar LyX
24643  soporta Programación Literaria mediante el mecanismo de gestión de convertidore
24644 s.
24645  Este soporte se proporciona 
24646 \begin_inset Quotes cld
24647 \end_inset
24648
24649 independiente de Noweb
24650 \begin_inset Quotes crd
24651 \end_inset
24652
24653 , es decir, podrás usar esta nueva función de \SpecialChar LyX
24654  con algunas otras herramientas
24655  de programación literaria, cuya elección puedes hacer en las preferencias
24656  de \SpecialChar LyX
24657 .
24658 \end_layout
24659
24660 \begin_layout Subsubsection
24661 Generación de documentos y de código («weaving and tangling»)
24662 \end_layout
24663
24664 \begin_layout Paragraph
24665 Usando el módulo noweb
24666 \end_layout
24667
24668 \begin_layout Standard
24669 Con \SpecialChar LyX
24670  y Noweb instalados, al abrir un documento nuevo y después de elegir
24671  la clase de documento selecciona el módulo 
24672 \begin_inset Quotes cld
24673 \end_inset
24674
24675 Noweb
24676 \begin_inset Quotes crd
24677 \end_inset
24678
24679  en 
24680 \family sans
24681 Documento\SpecialChar menuseparator
24682 Configuración\SpecialChar menuseparator
24683 Módulos
24684 \family default
24685 .
24686  Si Noweb está instalado correctamente podrás pulsar 
24687 \family sans
24688 Añadir
24689 \family default
24690  para usarlo en tu documento.
24691 \end_layout
24692
24693 \begin_layout Paragraph
24694 Escribiendo código
24695 \end_layout
24696
24697 \begin_layout Standard
24698 \SpecialChar LyX
24699  proporciona el 
24700 \lang english
24701 custom inset
24702 \lang spanish
24703  
24704 \lang english
24705
24706 \begin_inset Flex Noun
24707 status collapsed
24708
24709 \begin_layout Plain Layout
24710 Trozo
24711 \end_layout
24712
24713 \end_inset
24714
24715
24716 \family sans
24717 \lang spanish
24718  
24719 \family default
24720 para escribir código.
24721  Noweb delimita trozos como éste:
24722 \end_layout
24723
24724 \begin_layout LyX-Code
24725 <<Mi código>>=
24726 \end_layout
24727
24728 \begin_layout LyX-Code
24729   código
24730 \end_layout
24731
24732 \begin_layout LyX-Code
24733   más código
24734 \end_layout
24735
24736 \begin_layout LyX-Code
24737   aún más código
24738 \end_layout
24739
24740 \begin_layout LyX-Code
24741   @
24742 \end_layout
24743
24744 \begin_layout Standard
24745 El problema es que todo lo que se escriba entre <<
24746 \begin_inset space ~
24747 \end_inset
24748
24749  y 
24750 \family typewriter
24751 @
24752 \family default
24753  debe ser interpretado de forma literal, es decir, \SpecialChar LyX
24754  no debería hacer ninguna
24755  interpretación especial de lo que está ahí escrito.
24756  Esto es también manejado por el entorno 
24757 \begin_inset Flex Noun
24758 status collapsed
24759
24760 \begin_layout Plain Layout
24761 Trozo
24762 \end_layout
24763
24764 \end_inset
24765
24766 , que funciona como un 
24767 \lang english
24768 text inset
24769 \lang spanish
24770  normal excepto que admite espacios con libertad.
24771 \end_layout
24772
24773 \begin_layout Standard
24774 He de apuntar que también puedes usar la estructura 
24775 \begin_inset Quotes cld
24776 \end_inset
24777
24778
24779 \family typewriter
24780 %def
24781 \family default
24782
24783 \begin_inset Quotes crd
24784 \end_inset
24785
24786  de Noweb en tus trozos de código para añadir identificadores de referencias
24787  cruzadas:
24788 \end_layout
24789
24790 \begin_layout LyX-Code
24791 <<Mi trozo>>=
24792 \end_layout
24793
24794 \begin_layout LyX-Code
24795 def una_función(argumentos):
24796 \end_layout
24797
24798 \begin_layout LyX-Code
24799    "Esta es la documentación para esta función."
24800 \end_layout
24801
24802 \begin_layout LyX-Code
24803    print "Mis argumentos: ", argumentos
24804 \end_layout
24805
24806 \begin_layout LyX-Code
24807 @ %def una_función
24808 \end_layout
24809
24810 \begin_layout Standard
24811 Para ver un ejemplo de esta construcción y la salida con la referencia cruzada
24812  generada, puedes ver la programación literaria en python contenida en el
24813  archivo
24814 \begin_inset Newline newline
24815 \end_inset
24816
24817
24818 \family typewriter
24819 \emph on
24820 LIBDIR
24821 \emph default
24822 /examples/listerrors.lyx
24823 \family default
24824 \emph on
24825
24826 \emph default
24827 que debería aclarar esto.
24828 \end_layout
24829
24830 \begin_layout Paragraph
24831 Generación del documento
24832 \end_layout
24833
24834 \begin_layout Standard
24835 Ahora ya tienes un nuevo documento con su clase adecuada y con algo de código
24836  y de texto en él.
24837  ¿Cómo ver la salida impresa? La respuesta es simple, con 
24838 \family sans
24839 Ver\SpecialChar menuseparator
24840 DVI, 
24841 \family default
24842 etc.
24843  Igual que harías con cualquier otro documento.
24844  No hace falta ningún procedimiento especial.
24845 \end_layout
24846
24847 \begin_layout Standard
24848 Para aclarar las cosas explicaré lo que sucede en el interior de \SpecialChar LyX
24849 :
24850 \end_layout
24851
24852 \begin_layout Enumerate
24853 Al escoger la opción 
24854 \family sans
24855 Ver\SpecialChar menuseparator
24856 Actualizar\SpecialChar menuseparator
24857 DVI
24858 \family default
24859 , se genera un archivo \SpecialChar LaTeX
24860 .
24861  
24862 \end_layout
24863
24864 \begin_deeper
24865 \begin_layout Standard
24866 Si el documento es de cualquiera de las clases en formato 
24867 \begin_inset Quotes cld
24868 \end_inset
24869
24870 literate
24871 \begin_inset Quotes crd
24872 \end_inset
24873
24874 , el archivo generado será nombrado con una extensión definida por el formato
24875  
24876 \begin_inset Quotes cld
24877 \end_inset
24878
24879 literate
24880 \begin_inset Quotes crd
24881 \end_inset
24882
24883  (definido en el panel de 
24884 \family sans
24885 Preferencias
24886 \family default
24887 ), si no el archivo tendrá la extensión habitual 
24888 \family typewriter
24889 .tex
24890 \family default
24891 .
24892 \end_layout
24893
24894 \end_deeper
24895 \begin_layout Enumerate
24896 La única diferencia está en la extensión del archivo, no hace falta ninguna
24897  acción especial por parte de \SpecialChar LyX
24898 , puesto que has formateado el código con
24899  el 
24900 \lang english
24901 inset
24902 \lang spanish
24903  
24904 \begin_inset Flex Noun
24905 status collapsed
24906
24907 \begin_layout Plain Layout
24908 Trozo
24909 \end_layout
24910
24911 \end_inset
24912
24913 , que ya se cuida de ese aspecto.
24914 \end_layout
24915
24916 \begin_layout Enumerate
24917 Si el documento es de cualquier clase 
24918 \begin_inset Quotes cld
24919 \end_inset
24920
24921 literate
24922 \begin_inset Quotes crd
24923 \end_inset
24924
24925 , un convertidor interno se encarga de convertir el archivo \SpecialChar LyX
24926  a Noweb y luego
24927  otro convertidor
24928 \begin_inset Foot
24929 status collapsed
24930
24931 \begin_layout Plain Layout
24932 Definido en 
24933 \family sans
24934 Herramientas\SpecialChar menuseparator
24935 Preferencias
24936 \family default
24937 , apartado
24938 \family sans
24939  Convertidores
24940 \family default
24941 .
24942 \end_layout
24943
24944 \end_inset
24945
24946  convierte Noweb a \SpecialChar LaTeX
24947  para generar el archivo \SpecialChar LaTeX
24948 .
24949 \end_layout
24950
24951 \begin_deeper
24952 \begin_layout Standard
24953 Si no lo es, se salta este paso.
24954 \end_layout
24955
24956 \end_deeper
24957 \begin_layout Enumerate
24958 Finalmente, se ejecuta \SpecialChar LaTeX
24959  y continúa el proceso de la manera habitual.
24960 \end_layout
24961
24962 \begin_layout Standard
24963 La independencia de una particular herramienta de programación literaria
24964  se basa simplemente en el cambio de los comandos ejecutados por los distintos
24965  convertidores.
24966 \end_layout
24967
24968 \begin_layout Paragraph
24969 Generación del código
24970 \end_layout
24971
24972 \begin_layout Standard
24973 Al escoger la opción de menú o al pulsar el botón adecuado de la barra de
24974  herramientas, se genera un archivo \SpecialChar LaTeX
24975  como se describe en el paso 1 anterior.
24976  A continuación, \SpecialChar LyX
24977  ejecuta el convertidor 
24978 \family typewriter
24979 Noweb->Programa
24980 \family default
24981 .
24982  Habitualmente, este paso (igual que cualquier otro convertidor) se realiza
24983  en dos partes:
24984 \end_layout
24985
24986 \begin_layout Enumerate
24987 El programa convertidor propiamente dicho.
24988  Este programa realiza la conversión de un formato a otro (en este caso,
24989  desde el formato 
24990 \family typewriter
24991 Noweb
24992 \family default
24993  al pseudo-formato 
24994 \family typewriter
24995 Programa
24996 \family default
24997 ).
24998 \end_layout
24999
25000 \begin_layout Enumerate
25001 El analizador de registro de errores.
25002  Este es un programa cuyo único propósito es reescribir los mensajes de
25003  error en un formato comprensible para \SpecialChar LyX
25004 .
25005  Esto permite la colocación de los cuadros de error de \SpecialChar LyX
25006  en los lugares correctos.
25007 \end_layout
25008
25009 \begin_layout Standard
25010 La primera parte, que se especifica en el campo 
25011 \family sans
25012 Convertidor
25013 \family default
25014 , debería contener
25015 \end_layout
25016
25017 \begin_layout LyX-Code
25018
25019 \family typewriter
25020 build-script $$i
25021 \family default
25022  
25023 \end_layout
25024
25025 \begin_layout Standard
25026 Esto significa que \SpecialChar LyX
25027  invocará a 
25028 \begin_inset Quotes cld
25029 \end_inset
25030
25031
25032 \family typewriter
25033 build-script
25034 \family default
25035
25036 \begin_inset Quotes crd
25037 \end_inset
25038
25039  (un programa o una secuencia) con el nombre del archivo Noweb (
25040 \family typewriter
25041 $$i
25042 \family default
25043 , generalmente un archivo en el directorio temporal de \SpecialChar LyX
25044 ).
25045  
25046 \end_layout
25047
25048 \begin_layout Standard
25049 He aquí una implementación de 
25050 \family typewriter
25051 build-script
25052 \family default
25053  que puedes colocar en un directorio accesible para tu línea de comandos:
25054 \end_layout
25055
25056 \begin_layout LyX-Code
25057
25058 \family sans
25059 #!/bin/sh
25060 \end_layout
25061
25062 \begin_layout LyX-Code
25063
25064 \family sans
25065 #
25066 \end_layout
25067
25068 \begin_layout LyX-Code
25069
25070 \family sans
25071 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
25072 \end_layout
25073
25074 \begin_layout Standard
25075 La segunda parte de los ajustes del convertidor es el 
25076 \begin_inset Quotes cld
25077 \end_inset
25078
25079 indicador
25080 \begin_inset Quotes crd
25081 \end_inset
25082
25083 , establecido en
25084 \end_layout
25085
25086 \begin_layout LyX-Code
25087
25088 \family typewriter
25089 parselog=$$s/scripts/listerrors
25090 \end_layout
25091
25092 \begin_layout Standard
25093 Esto procesará cualquier error que se genere por el proceso 
25094 \begin_inset Quotes cld
25095 \end_inset
25096
25097
25098 \family typewriter
25099 build-script
25100 \family default
25101
25102 \begin_inset Quotes crd
25103 \end_inset
25104
25105  a través del programa 
25106 \begin_inset Quotes cld
25107 \end_inset
25108
25109 listerrors
25110 \begin_inset Quotes crd
25111 \end_inset
25112
25113 .
25114 \end_layout
25115
25116 \begin_layout Standard
25117 Normalmente, la compilación tendrá lugar en el directorio temporal de \SpecialChar LyX
25118 ,
25119  por tanto los archivos generados por la conversión estarán en ese directorio.
25120  \SpecialChar LyX
25121  copiará lo que considera como el archivo "principal", pero la conversión
25122 \family typewriter
25123  Noweb->Programa
25124 \family default
25125  puede generar varios arcivos, aunque la mayoría de ellos se borran al cerrar
25126  \SpecialChar LyX
25127 .
25128  Por eso pasamos la variable de entorno NOWEB_OUTPUT_DIR, para que el gragmento
25129  build-script pueda situar los archivos generados en su sitio.
25130 \end_layout
25131
25132 \begin_layout Paragraph
25133 Instrucciones de compilación en el documento
25134 \end_layout
25135
25136 \begin_layout Standard
25137 La última parte de la integración entre \SpecialChar LyX
25138  y noweb es el trozo 
25139 \begin_inset Quotes cld
25140 \end_inset
25141
25142 build-script
25143 \begin_inset Quotes crd
25144 \end_inset
25145
25146 .
25147  Generalmente, las instrucciones para compilar tu programa deberían incluirse
25148  en un trozo propio.
25149  El 
25150 \family typewriter
25151 build-script
25152 \family default
25153  específico de noweb visto antes usa el comando 
25154 \family typewriter
25155 notangle
25156 \family default
25157  para buscar ese trozo (llamado 
25158 \begin_inset Quotes cld
25159 \end_inset
25160
25161 build-script
25162 \begin_inset Quotes crd
25163 \end_inset
25164
25165 ) y procesa su contenido a través de 
25166 \family typewriter
25167 sh
25168 \family default
25169 .
25170 \end_layout
25171
25172 \begin_layout Standard
25173 Típicamente, un trozo 
25174 \begin_inset Quotes cld
25175 \end_inset
25176
25177 build-script
25178 \begin_inset Quotes crd
25179 \end_inset
25180
25181  se verá más o menos así:
25182 \end_layout
25183
25184 \begin_layout LyX-Code
25185 <<build-script>>=
25186 \end_layout
25187
25188 \begin_layout LyX-Code
25189 #!/bin/sh
25190 \begin_inset Newline newline
25191 \end_inset
25192
25193 if [ -z "${NOWEB_SOURCE}" ]
25194 \begin_inset Newline newline
25195 \end_inset
25196
25197 then
25198 \end_layout
25199
25200 \begin_layout LyX-Code
25201 NOWEB_SOURCE=myfile.nw
25202 \begin_inset Newline newline
25203 \end_inset
25204
25205 fi
25206 \begin_inset Newline newline
25207 \end_inset
25208
25209 [...
25210  code to extract files ...
25211  use NOWEB_OUTPUT_DIR here ...]
25212 \begin_inset Newline newline
25213 \end_inset
25214
25215 [...
25216  code to compile files ...]
25217 \begin_inset Newline newline
25218 \end_inset
25219
25220 @
25221 \end_layout
25222
25223 \begin_layout Standard
25224 Mira en 
25225 \family typewriter
25226 \emph on
25227 LIBDIR
25228 \emph default
25229 /examples/listerrors.lyx
25230 \family default
25231  o 
25232 \family typewriter
25233 \emph on
25234 LIBDIR
25235 \emph default
25236 /examples/Literate.lyx
25237 \family default
25238 , que implementan dos versiones del programa 
25239 \family typewriter
25240 listerrors
25241 \family default
25242 , para ver algunos ejemplos de cómo ensamblar todo esto, o en 
25243 \family typewriter
25244 \emph on
25245 LIBDIR
25246 \emph default
25247 /examples/noweb2lyx.lyx
25248 \family default
25249 \emph on
25250 .
25251
25252 \emph default
25253  Es interesante ver cómo estos tres archivos muestran la independencia del
25254  lenguaje de programación literaria utilizado en \SpecialChar LyX
25255 , puesto que están escritos,
25256  respectivamente, en Python, C y Perl.
25257 \end_layout
25258
25259 \begin_layout Subsubsection
25260 Configurar \SpecialChar LyX
25261
25262 \end_layout
25263
25264 \begin_layout Standard
25265 Todo el soporte de Programación Literaria se configura en el panel del menú
25266  
25267 \family sans
25268 Herramientas\SpecialChar menuseparator
25269 Preferencias
25270 \family default
25271  en las solapas 
25272 \family sans
25273 Formatos
25274 \family default
25275
25276 \begin_inset space ~
25277 \end_inset
25278
25279
25280 \family sans
25281 de
25282 \family default
25283
25284 \begin_inset space ~
25285 \end_inset
25286
25287 a
25288 \family sans
25289 rchivo 
25290 \family default
25291
25292 \family sans
25293 Convertidores
25294 \family default
25295 .
25296  Las partes importantes son:
25297 \end_layout
25298
25299 \begin_layout Description
25300 el
25301 \begin_inset space ~
25302 \end_inset
25303
25304 formato
25305 \begin_inset space ~
25306 \end_inset
25307
25308
25309 \begin_inset Quotes cld
25310 \end_inset
25311
25312 literario
25313 \begin_inset Quotes crd
25314 \end_inset
25315
25316  En la solapa 
25317 \family sans
25318 Formatos
25319 \begin_inset space ~
25320 \end_inset
25321
25322 de
25323 \begin_inset space ~
25324 \end_inset
25325
25326 archivo
25327 \family default
25328  se configuran las partes específicas de Noweb.
25329  En 
25330 \family sans
25331 Nombre
25332 \begin_inset space ~
25333 \end_inset
25334
25335 GUI
25336 \family default
25337  debe ponerse 
25338 \family typewriter
25339 NoWeb
25340 \family default
25341 , en
25342 \family sans
25343  Extensión
25344 \family default
25345  debe ponerse 
25346 \family typewriter
25347 nw
25348 \family default
25349 .
25350  Esto prepara a \SpecialChar LyX
25351  para generar un archivo con extensión 
25352 \family typewriter
25353 .nw
25354 \family default
25355  en el primer paso del proceso de conversión.
25356 \end_layout
25357
25358 \begin_layout Description
25359 el
25360 \begin_inset space ~
25361 \end_inset
25362
25363 formato
25364 \family sans
25365
25366 \begin_inset space ~
25367 \end_inset
25368
25369 Program
25370 \family default
25371 a Este es un formato ficticio cuyo único propósito es ser el punto final
25372  de una conversión (que luego nos permite establecer un convertidor que
25373  apunta a dicho 
25374 \family sans
25375 Programa
25376 \family default
25377 ).
25378 \end_layout
25379
25380 \begin_layout Description
25381
25382 \family sans
25383 NoWeb
25384 \family default
25385 ->
25386 \family sans
25387 \SpecialChar LaTeX
25388
25389 \family default
25390  Este convertidor realiza el 
25391 \begin_inset Quotes cld
25392 \end_inset
25393
25394 weaving
25395 \begin_inset Quotes crd
25396 \end_inset
25397
25398  (generación de la documentación) del documento literario.
25399  Para Noweb, hay que poner el 
25400 \family sans
25401 Convertidor
25402 \family default
25403  
25404 \begin_inset Quotes cld
25405 \end_inset
25406
25407
25408 \family typewriter
25409 noweave -delay -index $$i > $$o
25410 \family default
25411
25412 \begin_inset Quotes crd
25413 \end_inset
25414
25415
25416 \end_layout
25417
25418 \begin_layout Description
25419
25420 \family sans
25421 NoWeb
25422 \family default
25423 ->
25424 \family sans
25425 Program
25426 \family default
25427 a Este realiza el paso 
25428 \begin_inset Quotes cld
25429 \end_inset
25430
25431 tangling
25432 \begin_inset Quotes crd
25433 \end_inset
25434
25435  (generación del código).
25436  Como se dijo antes, el 
25437 \family sans
25438 Convertidor
25439 \family default
25440  en este caso es 
25441 \begin_inset Quotes cld
25442 \end_inset
25443
25444
25445 \family typewriter
25446 build-script $$i
25447 \family default
25448
25449 \begin_inset Quotes crd
25450 \end_inset
25451
25452 , con la 
25453 \family sans
25454 Opción
25455 \family default
25456 \series bold
25457
25458 \begin_inset space ~
25459 \end_inset
25460
25461
25462 \family sans
25463 \series default
25464 extra
25465 \family default
25466  
25467 \begin_inset Quotes cld
25468 \end_inset
25469
25470
25471 \family typewriter
25472 originaldir,parselog=listerrors
25473 \family default
25474
25475 \begin_inset Quotes crd
25476 \end_inset
25477
25478 .
25479 \end_layout
25480
25481 \begin_layout Subsubsection
25482 Extensiones de depuración
25483 \end_layout
25484
25485 \begin_layout Standard
25486 En el servidor \SpecialChar LyX
25487  también se ha implementado una nueva función, 
25488 \begin_inset Quotes cld
25489 \end_inset
25490
25491 server-goto-file-row
25492 \begin_inset Quotes crd
25493 \end_inset
25494
25495 , para ser utilizada con 
25496 \family typewriter
25497 ddd
25498 \family default
25499 /
25500 \family typewriter
25501 gdb
25502 \family default
25503  u otro depurador.
25504  
25505 \end_layout
25506
25507 \begin_layout Standard
25508 Cuando se depura código con 
25509 \family typewriter
25510 ddd
25511 \family default
25512 /
25513 \family typewriter
25514 gdb
25515 \family default
25516 , es posible invocar un editor de texto en la posición actual de ejecución
25517  con una sencilla pulsación de teclado.
25518  La configuración por omisión de 
25519 \family typewriter
25520 ddd
25521 \family default
25522  para esto es 
25523 \family sans
25524 shift-ctrl-V
25525 \family default
25526 .
25527  La línea de comando del editor utilizado por 
25528 \family typewriter
25529 ddd
25530 \family default
25531  se puede definir accediendo al diálogo 
25532 \family sans
25533 Editar\SpecialChar menuseparator
25534 Preferencias\SpecialChar menuseparator
25535 Helpers
25536 \family default
25537  cambiando la entrada 
25538 \family sans
25539 Edit Sources
25540 \family default
25541 .
25542 \end_layout
25543
25544 \begin_layout Standard
25545 He aprovechado las ventajas de la nueva función del servidor \SpecialChar LyX
25546  y esta característ
25547 ica de 
25548 \family typewriter
25549 ddd
25550 \family default
25551 , poniendo lo siguiente en 
25552 \family sans
25553 Edit Sources
25554 \family default
25555 :
25556 \end_layout
25557
25558 \begin_layout LyX-Code
25559
25560 \family sans
25561 echo "
25562 \family default
25563 \size footnotesize
25564 LYXCMD
25565 \family sans
25566 \size default
25567 :monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
25568 \end_layout
25569
25570 \begin_layout Standard
25571 Con esto, cuando estás usando 
25572 \family typewriter
25573 ddd
25574 \family default
25575  y encuentras una parte del programa que quieres editar, solo has de pulsar
25576  
25577 \family sans
25578 shift-ctrl-V
25579 \family default
25580  (en la ventana de 
25581 \family sans
25582 ddd
25583 \family default
25584 ), y 
25585 \family sans
25586 ddd
25587 \family default
25588  pasa esta información por medio del servidor \SpecialChar LyX
25589  a \SpecialChar LyX
25590 , en cuya ventana se verá
25591  el mismo archivo con el cursor en la posición apuntada por 
25592 \family sans
25593 ddd
25594 \family default
25595 .
25596  ¡Se acabaron las adivinanzas y los tediosos deslizamientos de pantalla
25597  para localizar los fallos del programa!
25598 \end_layout
25599
25600 \begin_layout Standard
25601 Sin embargo, ten en cuenta que debes habilitar el servidor \SpecialChar LyX
25602  para trabajar
25603  con él (por omisión está desactivado).
25604  
25605 \end_layout
25606
25607 \begin_layout Standard
25608
25609 \lang english
25610 Sec
25611 \lang spanish
25612 .
25613 \begin_inset space ~
25614 \end_inset
25615
25616
25617 \begin_inset CommandInset ref
25618 LatexCommand ref
25619 reference "sec:Iniciar-el-servidor"
25620
25621 \end_inset
25622
25623  
25624 \lang english
25625 explains how to do that
25626 \lang spanish
25627 .
25628 \end_layout
25629
25630 \begin_layout Subsubsection
25631 Ampliación de la barra de herramientas
25632 \end_layout
25633
25634 \begin_layout Standard
25635 Hay seis botones nuevos que pueden añadirse a la barra de herramientas de
25636  \SpecialChar LyX
25637 .
25638  Four de ellos son atajos a los tipos de párrafo: 
25639 \family sans
25640 Normal
25641 \family default
25642
25643 \family sans
25644 Sección
25645 \family default
25646
25647 \family sans
25648 \SpecialChar LaTeX
25649
25650 \family default
25651
25652 \family sans
25653 y Código-\SpecialChar LyX
25654
25655 \family default
25656
25657 \lang english
25658 one fpr the custom inset 
25659 \family sans
25660 \lang spanish
25661 Trozo
25662 \family default
25663 .
25664  El otro es un atajo a la entrada 
25665 \begin_inset Quotes cld
25666 \end_inset
25667
25668
25669 \family sans
25670 Compilar Programa
25671 \family default
25672
25673 \begin_inset Quotes crd
25674 \end_inset
25675
25676  del menú 
25677 \family sans
25678 Archivo
25679 \family default
25680 .
25681  
25682 \end_layout
25683
25684 \begin_layout Standard
25685 \SpecialChar LyX
25686  dispone de una colección de botones para personalizar la barra de herramientas.
25687  En mi barra de herramientas personal me gusta combinar los seis botones
25688  mencionados con otros dos para las entradas de menú 
25689 \family sans
25690 Documento
25691 \family default
25692 \SpecialChar menuseparator
25693
25694 \family sans
25695 Actualizar
25696 \family default
25697 \SpecialChar menuseparator
25698
25699 \family sans
25700 DVI
25701 \family default
25702  y 
25703 \family sans
25704 Documento\SpecialChar menuseparator
25705 DVI
25706 \family default
25707 .
25708  Así es como queda:
25709 \end_layout
25710
25711 \begin_layout LyX-Code
25712 Toolbar
25713 \end_layout
25714
25715 \begin_layout LyX-Code
25716   Layouts
25717 \end_layout
25718
25719 \begin_layout LyX-Code
25720   Icon "layout Standard"
25721 \end_layout
25722
25723 \begin_layout LyX-Code
25724   Icon "layout Section"
25725 \end_layout
25726
25727 \begin_layout LyX-Code
25728   Icon "layout \SpecialChar LaTeX
25729 "
25730 \end_layout
25731
25732 \begin_layout LyX-Code
25733   Icon "layout \SpecialChar LyX
25734 -Code"
25735 \end_layout
25736
25737 \begin_layout LyX-Code
25738   Icon "
25739 \lang english
25740 flex.insert
25741 \lang spanish
25742  Chunk"
25743 \end_layout
25744
25745 \begin_layout LyX-Code
25746   Separator
25747 \end_layout
25748
25749 \begin_layout LyX-Code
25750   Icon "buffer-view"
25751 \end_layout
25752
25753 \begin_layout LyX-Code
25754   Icon "buffer-typeset"
25755 \end_layout
25756
25757 \begin_layout LyX-Code
25758   Icon "build-program"
25759 \end_layout
25760
25761 \begin_layout LyX-Code
25762   Separator
25763 \end_layout
25764
25765 \begin_layout LyX-Code
25766 .
25767 \end_layout
25768
25769 \begin_layout LyX-Code
25770 .
25771 \end_layout
25772
25773 \begin_layout LyX-Code
25774 .
25775 \end_layout
25776
25777 \begin_layout LyX-Code
25778 End
25779 \end_layout
25780
25781 \begin_layout Subsubsection
25782 Personalización de los colores
25783 \end_layout
25784
25785 \begin_layout Standard
25786 Cierto número de colores usados en \SpecialChar LyX
25787  se pueden personalizar en el diálogo
25788  
25789 \family sans
25790 Preferencias
25791 \family default
25792 .
25793  Una de las cosas que más molesta a la gente es el color de la tipografía
25794  del código \SpecialChar LaTeX
25795 , que por omisión es rojo, y como el entorno 
25796 \lang english
25797
25798 \begin_inset Flex Noun
25799 status collapsed
25800
25801 \begin_layout Plain Layout
25802 Trozo
25803 \end_layout
25804
25805 \end_inset
25806
25807
25808 \family sans
25809 \lang spanish
25810  
25811 \family default
25812 utiliza código \SpecialChar LaTeX
25813  y hay mucho código en los documentos de programación literaria,
25814  puedes acabar harto de ver tanto rojo.
25815  Así pues, puedes cambiarlo si quieres en 
25816 \family sans
25817 Apariencia
25818 \family default
25819 \SpecialChar menuseparator
25820
25821 \family sans
25822 Colores.
25823 \end_layout
25824
25825 \begin_layout Standard
25826 El siguiente asunto es la presencia visible del carácter salto de línea
25827  en la pantalla.
25828  Puedes elegir el color de este carácter en particular para confundirlo
25829  con el fondo.
25830  Recomiendo escoger un color parecido al del fondo pero no idéntico, de
25831  esta forma lo seguirás viendo pero sin molestar tanto.
25832 \end_layout
25833
25834 \begin_layout Subsection
25835 \SpecialChar LyX
25836  y knitr/Sweave
25837 \end_layout
25838
25839 \begin_layout Standard
25840 El soporte para 
25841 \family sans
25842 knitr
25843 \family default
25844  y 
25845 \family sans
25846 Sweave
25847 \family default
25848  está documentado en el archivo de ejemplo 
25849 \emph on
25850 knitr.lyx
25851 \emph default
25852  y en el manual de Sweave (menú 
25853 \family sans
25854 Ayuda\SpecialChar menuseparator
25855 Manuales específicos
25856 \family default
25857 ).
25858 \end_layout
25859
25860 \begin_layout Chapter
25861 Características especiales
25862 \end_layout
25863
25864 \begin_layout Standard
25865 Con \SpecialChar LyX
25866  se puede hacer todo lo que se puede hacer con \SpecialChar LaTeX
25867 .
25868  Aunque \SpecialChar LyX
25869  no puede soportar directamente todas las características de \SpecialChar LaTeX
25870 , siempre
25871  es posible usar código \SpecialChar LaTeX
25872 .
25873  Este capítulo trata de algunas cosas especiales que podrían interesarte.
25874  Las características especiales relacionadas con figuras, cuadros, flotantes,
25875  marcos y notas, se pueden consultar en el manual 
25876 \emph on
25877 Objetos insertados
25878 \emph default
25879 .
25880  
25881 \end_layout
25882
25883 \begin_layout Section
25884 Texto en columnas
25885 \end_layout
25886
25887 \begin_layout Standard
25888 Esta característica es independiente de la opción 
25889 \family sans
25890 Documento con dos columnas
25891 \family default
25892  en 
25893 \family sans
25894 Diseño del texto
25895 \family default
25896  de la configuración del documento.
25897  Para tener dos columnas de texto en todo el documento se recomienda usar
25898  dicha opción.
25899  Para el resto de casos se usa la característica aquí descrita.
25900 \end_layout
25901
25902 \begin_layout Standard
25903 Para poner texto en varias columnas, hay que cargar el módulo 
25904 \family sans
25905 Columnas
25906 \family default
25907  (menú 
25908 \family sans
25909 Documento\SpecialChar menuseparator
25910 Configuración\SpecialChar menuseparator
25911 Módulos
25912 \family default
25913 ), y debe estar instalado el paquete \SpecialChar LaTeX
25914  
25915 \family typewriter
25916 multicol
25917 \family default
25918
25919 \begin_inset Index idx
25920 status collapsed
25921
25922 \begin_layout Plain Layout
25923 \SpecialChar LaTeX
25924 -paquetes ! multicol
25925 \end_layout
25926
25927 \end_inset
25928
25929 .
25930 \end_layout
25931
25932 \begin_layout Standard
25933 Las notas al pie en las columnas se colocarán al final de la página y no
25934  bajo cada columna.
25935  En las distintas columnas se puede usar todo, excepto que para flotantes
25936  hay que usar la opción 
25937 \family sans
25938 Extender columnas
25939 \family default
25940 .
25941 \end_layout
25942
25943 \begin_layout Subsection
25944 Conceptos básicos
25945 \end_layout
25946
25947 \begin_layout Standard
25948 Para poner un texto en dos columnas, usa el menú 
25949 \family sans
25950 Insertar\SpecialChar menuseparator
25951 Recuadro
25952 \begin_inset space ~
25953 \end_inset
25954
25955 personalizado\SpecialChar menuseparator
25956 Columnas
25957 \family default
25958  en el punto en que deben iniciarse las columnas.
25959  Escribe en el recuadro todo el texto que debe ir en dos columnas.
25960 \end_layout
25961
25962 \begin_layout Standard
25963 Un ejemplo:
25964 \end_layout
25965
25966 \begin_layout Standard
25967 \noindent
25968
25969 \lang english
25970 \begin_inset Flex Multiple Columns
25971 status open
25972
25973 \begin_layout Plain Layout
25974 \noindent
25975
25976 \series bold
25977 \size small
25978 \lang english
25979 The Adventure of the Empty House
25980 \series default
25981
25982 \begin_inset Newline newline
25983 \end_inset
25984
25985 by Sir Arthur Conan Doyle
25986 \end_layout
25987
25988 \begin_layout Plain Layout
25989
25990 \size small
25991 \lang english
25992 It was in the spring of the year 1894 that all London was interested, and
25993  the fashionable world dismayed, by the murder of the Honourable Ronald
25994  Adair under most unusual and inexplicable circumstances.
25995  The public has already learned those particulars of the crime which came
25996  out in the police investigation, but a good deal was suppressed upon that
25997  occasion, since the case for the prosecution was so overwhelmingly strong
25998  that it was not necessary to bring forward all the facts.
25999  Only now, at the end of nearly ten years, am I allowed to supply those
26000  missing links which make up the whole of that remarkable chain.
26001  The crime was of interest in itself, but that interest was as nothing to
26002  me compared to the inconceivable sequel, which afforded me the greatest
26003  shock and surprise of any event in my adventurous life.
26004  Even now, after this long interval, I find myself thrilling as I think
26005  of it, and feeling once more that sudden flood of joy, amazement, and increduli
26006 ty which utterly submerged my mind.
26007  Let me say to that public, which has shown some interest in those glimpses
26008  which I have occasionally given them of the thoughts and actions of a very
26009  remarkable man, that they are not to blame me if I have not shared my knowledge
26010  with them, for I should have considered it my first duty to do so, had
26011  I not been barred by a positive prohibition from his own lips, which was
26012  only withdrawn upon the third of last month.
26013 \end_layout
26014
26015 \end_inset
26016
26017
26018 \end_layout
26019
26020 \begin_layout Standard
26021 Para poner tres o más columnas coloca el cursor dentro del recuadro, usa
26022  el menú 
26023 \family sans
26024 Insertar\SpecialChar menuseparator
26025 Número de columnas
26026 \family default
26027  y escribe el número de columnas, por ejemplo "3".
26028 \begin_inset Newline newline
26029 \end_inset
26030
26031 Un ejemplo de texto en tres columnas:
26032 \end_layout
26033
26034 \begin_layout Standard
26035
26036 \lang english
26037 \begin_inset Flex Multiple Columns
26038 status open
26039
26040 \begin_layout Plain Layout
26041
26042 \size footnotesize
26043 \lang english
26044 \begin_inset Argument 1
26045 status open
26046
26047 \begin_layout Plain Layout
26048
26049 3
26050 \end_layout
26051
26052 \end_inset
26053
26054 It can be imagined that my close intimacy with Sherlock Holmes had interested
26055  me deeply in crime, and that after his disappearance I never failed to
26056  read with care the various problems which came before the public.
26057  And I even attempted, more than once, for my own private satisfaction,
26058  to employ his methods in their solution, though with indifferent success.
26059  There was none, however, which appealed to me like this tragedy of Ronald
26060  Adair.
26061  As I read the evidence at the inquest, which led up to a verdict of willful
26062  murder against some person or persons unknown, I realized more clearly
26063  than I had ever done the loss which the community had sustained by the
26064  death of Sherlock Holmes.
26065  There were points about this strange business which would, I was sure,
26066  have specially appealed to him, and the efforts of the police would have
26067  been supplemented, or more probably anticipated, by the trained observation
26068  and the alert mind of the first criminal agent in Europe.
26069  All day, as I drove upon my round, I turned over the case in my mind and
26070  found no explanation which appeared to me to be adequate.
26071  At the risk of telling a twice-told tale, I will recapitulate the facts
26072  as they were known to the public at the conclusion of the inquest.
26073 \end_layout
26074
26075 \end_inset
26076
26077
26078 \end_layout
26079
26080 \begin_layout Standard
26081 Se puede llegar hasta 10
26082 \begin_inset space ~
26083 \end_inset
26084
26085 columnas, aunque seguramente no será muy cómodo para los lectores.
26086 \end_layout
26087
26088 \begin_layout Standard
26089
26090 \lang english
26091 \begin_inset Newpage newpage
26092 \end_inset
26093
26094
26095 \end_layout
26096
26097 \begin_layout Subsection
26098 Columnas dentro de otras columnas
26099 \end_layout
26100
26101 \begin_layout Standard
26102 Es posible poner columnas dentro de otras:
26103 \end_layout
26104
26105 \begin_layout Standard
26106
26107 \lang english
26108 \begin_inset Flex Multiple Columns
26109 status open
26110
26111 \begin_layout Plain Layout
26112
26113 \size footnotesize
26114 \lang english
26115 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
26116  at that time governor of one of the Australian colonies.
26117  Adair's mother had returned from Australia to undergo the operation for
26118  cataract, and she, her son Ronald, and her daughter Hilda were living together
26119  at 427 Park Lane.
26120 \end_layout
26121
26122 \begin_layout Plain Layout
26123
26124 \lang english
26125 \begin_inset Flex Multiple Columns
26126 status open
26127
26128 \begin_layout Plain Layout
26129
26130 \size footnotesize
26131 \lang english
26132 The youth moved in the best society
26133 \begin_inset space ~
26134 \end_inset
26135
26136 – had, so far as was known, no enemies and no particular vices.
26137  He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
26138  had been broken off by mutual consent some months before, and there was
26139  no sign that it had left any very profound feeling behind it.
26140  For the rest {sic} the man's life moved in a narrow and conventional circle,
26141  for his habits were quiet and his nature unemotional.
26142  Yet it was upon this easy-going young aristocrat that death came, in most
26143  strange and unexpected form, between the hours of ten and eleven-twenty
26144  on the night of March 30, 1894.
26145 \end_layout
26146
26147 \end_inset
26148
26149
26150 \end_layout
26151
26152 \begin_layout Plain Layout
26153
26154 \size footnotesize
26155 \lang english
26156 Ronald Adair was fond of cards
26157 \begin_inset space ~
26158 \end_inset
26159
26160 – playing continually, but never for such stakes as would hurt him.
26161  He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
26162  It was shown that, after dinner on the day of his death, he had played
26163  a rubber of whist at the latter club.
26164  He had also played there in the afternoon.
26165
26166 \size default
26167  
26168 \size footnotesize
26169 The evidence of those who had played with him
26170 \begin_inset space ~
26171 \end_inset
26172
26173 – Mr.
26174  Murray, Sir John Hardy, and Colonel Moran
26175 \begin_inset space ~
26176 \end_inset
26177
26178 – showed that the game was whist, and that there was a fairly equal fall
26179  of the cards.
26180  Adair might have lost five pounds, but not more.
26181  His fortune was a considerable one, and such a loss could not in any way
26182  affect him.
26183  He had played nearly every day at one club or other, but he was a cautious
26184  player, and usually rose a winner.
26185  It came out in evidence that, in partnership with Colonel Moran, he had
26186  actually won as much as four hundred and twenty pounds in a sitting, some
26187  weeks before, from Godfrey Milner and Lord Balmoral.
26188  So much for his recent history as it came out at the inquest.
26189 \end_layout
26190
26191 \end_inset
26192
26193
26194 \end_layout
26195
26196 \begin_layout Subsection
26197 Ejemplos avanzados
26198 \end_layout
26199
26200 \begin_layout Standard
26201 Los ejemplos de esta sección muestran algunas características más avanzadas
26202  de las columnas.
26203 \end_layout
26204
26205 \begin_layout Standard
26206 Para ver más opciones de columnas echa un vistazo a la 
26207 \begin_inset CommandInset href
26208 LatexCommand href
26209 name "documentación"
26210 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
26211 literal "false"
26212
26213 \end_inset
26214
26215  del paquete \SpecialChar LaTeX
26216  
26217 \family typewriter
26218 multicol
26219 \family default
26220 .
26221 \end_layout
26222
26223 \begin_layout Subsubsection
26224 Prefacio
26225 \end_layout
26226
26227 \begin_layout Standard
26228 Para añadir un prefacio a las columnas coloca el cursor dentro del recuadro
26229  del texto en columnas y usa el menú 
26230 \family sans
26231 Insertar\SpecialChar menuseparator
26232 Prefacio
26233 \family default
26234 .
26235  Escribe en el marco que aparece el texto del prefacio.
26236 \begin_inset Newline newline
26237 \end_inset
26238
26239 Ejemplo con un texto de prefacio:
26240 \begin_inset VSpace bigskip
26241 \end_inset
26242
26243
26244 \end_layout
26245
26246 \begin_layout Standard
26247
26248 \lang english
26249 \begin_inset Flex Multiple Columns
26250 status open
26251
26252 \begin_layout Plain Layout
26253 \begin_inset Argument 2
26254 status open
26255
26256 \begin_layout Plain Layout
26257 Y la historia continúa\SpecialChar ldots
26258
26259 \end_layout
26260
26261 \end_inset
26262
26263
26264 \size small
26265 \lang english
26266 On the evening of the crime, he returned from the club exactly at ten.
26267  His mother and sister were out spending the evening with a relation.
26268  The servant deposed that she heard him enter the front room on the second
26269  floor, generally used as his sitting-room.
26270  She had lit a fire there, and as it smoked she had opened the window.
26271  No sound was heard from the room until eleven-twenty, the hour of the return
26272  of Lady Maynooth and her daughter.
26273  Desiring to say good-night, she attempted to enter her son's room.
26274  The door was locked on the inside, and no answer could be got to their
26275  cries and knocking.
26276  Help was obtained, and the door forced.
26277  The unfortunate young man was found lying near the table.
26278  His head had been horribly mutilated by an expanding revolver bullet, but
26279  no weapon of any sort was to be found in the room.
26280 \end_layout
26281
26282 \end_inset
26283
26284
26285 \end_layout
26286
26287 \begin_layout Standard
26288 También se puede usar un encabezado de sección como prefacio, poniendo un
26289  comando de sección en código \SpecialChar TeX
26290 .
26291  Por ejemplo, el comando
26292 \end_layout
26293
26294 \begin_layout Standard
26295
26296 \series bold
26297
26298 \backslash
26299 subsection{título de la subsección}
26300 \end_layout
26301
26302 \begin_layout Standard
26303 crea una subsección.
26304  En el siguiente ejemplo el título de la subsubsección hace de prefacio:
26305 \end_layout
26306
26307 \begin_layout Standard
26308
26309 \lang english
26310 \begin_inset Flex Multiple Columns
26311 status open
26312
26313 \begin_layout Plain Layout
26314 \begin_inset Argument 2
26315 status open
26316
26317 \begin_layout Plain Layout
26318 \begin_inset ERT
26319 status collapsed
26320
26321 \begin_layout Plain Layout
26322
26323
26324 \backslash
26325 subsubsection{
26326 \end_layout
26327
26328 \end_inset
26329
26330 Un encabezado de subsubsección como prefacio
26331 \begin_inset ERT
26332 status collapsed
26333
26334 \begin_layout Plain Layout
26335
26336 }
26337 \end_layout
26338
26339 \end_inset
26340
26341
26342 \end_layout
26343
26344 \end_inset
26345
26346
26347 \size small
26348 \lang english
26349 A minute examination of the circumstances served only to make the case more
26350  complex.
26351  In the first place, no reason could be given why the young man should have
26352  fastened the door upon the inside.
26353  There was the possibility that the murderer had done this, and had afterwards
26354  escaped by the window.
26355  The drop was at least twenty feet, however, and a bed of crocuses in full
26356  bloom lay beneath.
26357  Neither the flowers nor the earth showed any sign of having been disturbed,
26358  nor were there any marks upon the narrow strip of grass which separated
26359  the house from the road.
26360  Apparently, therefore, it was the young man himself who had fastened the
26361  door.
26362  But how did he come by his death? No one could have climbed up to the window
26363  without leaving traces.
26364  Suppose a man had fired through the window, he would indeed be a remarkable
26365  shot who could with a revolver inflict so deadly a wound.
26366  Again, Park Lane is a frequented thoroughfare; there is a cab stand within
26367  a hundred yards of the house.
26368  No one had heard a shot.
26369 \end_layout
26370
26371 \end_inset
26372
26373
26374 \end_layout
26375
26376 \begin_layout Standard
26377 Si al comenzar las columnas queda menos espacio vertical en la página que
26378  el correspondiente a 6 líneas de texto, se insertará un salto de página.
26379  Dependiendo del número de líneas del texto del prefacio, es posible cambiar
26380  ese espacio.
26381  Para ello se coloca el cursor detrás del prefacio (si lo hay), se usa el
26382  menú 
26383 \family sans
26384 Insertar\SpecialChar menuseparator
26385 Espacio
26386 \begin_inset space ~
26387 \end_inset
26388
26389 ante
26390 \begin_inset space ~
26391 \end_inset
26392
26393 salto
26394 \begin_inset space ~
26395 \end_inset
26396
26397 de
26398 \begin_inset space ~
26399 \end_inset
26400
26401 página
26402 \family default
26403  y se escribe en el marco el espacio deseado, por ej.
26404  "5cm".
26405 \begin_inset Newline newline
26406 \end_inset
26407
26408 En el siguiente ejemplo, el espacio establecido es de 7 líneas de texto
26409  mediante 
26410 \begin_inset Quotes cld
26411 \end_inset
26412
26413
26414 \family typewriter
26415 7
26416 \backslash
26417 baselineskip
26418 \family default
26419
26420 \begin_inset Quotes crd
26421 \end_inset
26422
26423  (con el comando 
26424 \family typewriter
26425
26426 \backslash
26427 baselineskip
26428 \family default
26429  en código \SpecialChar TeX
26430 ).
26431 \end_layout
26432
26433 \begin_layout Standard
26434
26435 \lang english
26436 \begin_inset Flex Multiple Columns
26437 status open
26438
26439 \begin_layout Plain Layout
26440 \begin_inset Argument 3
26441 status open
26442
26443 \begin_layout Plain Layout
26444 7
26445 \begin_inset ERT
26446 status collapsed
26447
26448 \begin_layout Plain Layout
26449
26450
26451 \backslash
26452 baselineskip
26453 \end_layout
26454
26455 \end_inset
26456
26457
26458 \end_layout
26459
26460 \end_inset
26461
26462
26463 \size small
26464 \lang english
26465 On the evening of the crime, he returned from the club exactly at ten.
26466  His mother and sister were out spending the evening with a relation.
26467  The servant deposed that she heard him enter the front room on the second
26468  floor, generally used as his sitting-room.
26469  She had lit a fire there, and as it smoked she had opened the window.
26470  No sound was heard from the room until eleven-twenty, the hour of the return
26471  of Lady Maynooth and her daughter.
26472  Desiring to say good-night, she attempted to enter her son's room.
26473  The door was locked on the inside, and no answer could be got to their
26474  cries and knocking.
26475  Help was obtained, and the door forced.
26476  The unfortunate young man was found lying near the table.
26477  His head had been horribly mutilated by an expanding revolver bullet, but
26478  no weapon of any sort was to be found in the room.
26479 \end_layout
26480
26481 \end_inset
26482
26483
26484 \end_layout
26485
26486 \begin_layout Subsubsection
26487 Espacio circundante
26488 \end_layout
26489
26490 \begin_layout Standard
26491 El espacio delante y detrás de las columnas se puede cambiar con el comando
26492  de longitud 
26493 \family typewriter
26494
26495 \backslash
26496 multicolsep
26497 \family default
26498 .
26499  Así, el comando
26500 \end_layout
26501
26502 \begin_layout LyX-Code
26503
26504 \family typewriter
26505
26506 \backslash
26507 setlength{
26508 \backslash
26509 multicolsep}{3cm}
26510 \end_layout
26511
26512 \begin_layout Standard
26513 en código \SpecialChar TeX
26514  establece un espacio de 3
26515 \begin_inset space \thinspace{}
26516 \end_inset
26517
26518 cm.
26519  El cambio debe hacerse antes del inicio de las columnas.
26520  El valor por omisión es de 13
26521 \begin_inset space \thinspace{}
26522 \end_inset
26523
26524 pt.
26525 \end_layout
26526
26527 \begin_layout Standard
26528 Para este ejemplo, 
26529 \family typewriter
26530
26531 \backslash
26532 multicolsep
26533 \family default
26534  se ha establecido en 2.5
26535 \begin_inset space \thinspace{}
26536 \end_inset
26537
26538 cm:
26539 \end_layout
26540
26541 \begin_layout Standard
26542 \begin_inset ERT
26543 status open
26544
26545 \begin_layout Plain Layout
26546
26547
26548 \backslash
26549 setlength{
26550 \backslash
26551 multicolsep}{2.5cm}
26552 \end_layout
26553
26554 \end_inset
26555
26556
26557 \end_layout
26558
26559 \begin_layout Standard
26560
26561 \lang english
26562 \begin_inset Flex Multiple Columns
26563 status open
26564
26565 \begin_layout Plain Layout
26566
26567 \size small
26568 \lang english
26569 All day I turned these facts over in my mind, endeavouring to hit upon some
26570  theory which could reconcile them all, and to find that line of least resistanc
26571 e which my poor friend had declared to be the starting-point of every investigat
26572 ion.
26573  I confess that I made little progress.
26574  In the evening I strolled across the Park, and found myself about six o'clock
26575  at the Oxford Street end of Park Lane.
26576  A group of loafers upon the pavements, all staring up at a particular window,
26577  directed me to the house which I had come to see.
26578  A tall, thin man with coloured glasses, whom I strongly suspected of being
26579  a plain-clothes detective, was pointing out some theory of his own, while
26580  the others crowded round to listen to what he said.
26581  I got as near him as I could, but his observations seemed to me to be absurd,
26582  so I withdrew again in some disgust.
26583  As I did so I struck against an elderly, deformed man, who had been behind
26584  me, and I knocked down several books which he was carrying.
26585 \end_layout
26586
26587 \end_inset
26588
26589
26590 \end_layout
26591
26592 \begin_layout Standard
26593 \begin_inset Note Greyedout
26594 status open
26595
26596 \begin_layout Plain Layout
26597
26598 \series bold
26599 Nota:
26600 \series default
26601  Los valores de 
26602 \family typewriter
26603
26604 \backslash
26605 setlength
26606 \family default
26607  serán válidos para todas las columnas siguientes hasta que se cambie de
26608  nuevo.
26609 \end_layout
26610
26611 \end_inset
26612
26613
26614 \end_layout
26615
26616 \begin_layout Standard
26617 \begin_inset ERT
26618 status collapsed
26619
26620 \begin_layout Plain Layout
26621
26622
26623 \backslash
26624 setlength{
26625 \backslash
26626 multicolsep}{13pt}
26627 \end_layout
26628
26629 \end_inset
26630
26631
26632 \begin_inset Note Note
26633 status collapsed
26634
26635 \begin_layout Plain Layout
26636 vuelta al valor predefinido
26637 \end_layout
26638
26639 \end_inset
26640
26641
26642 \end_layout
26643
26644 \begin_layout Standard
26645
26646 \lang english
26647 \begin_inset Newpage newpage
26648 \end_inset
26649
26650
26651 \end_layout
26652
26653 \begin_layout Subsubsection
26654 Saltos de columna
26655 \end_layout
26656
26657 \begin_layout Standard
26658 Se puede forzar un salto de columna insertando el comando
26659 \series bold
26660  
26661 \family typewriter
26662 \series default
26663
26664 \backslash
26665 columnbreak{}
26666 \family default
26667  en código \SpecialChar TeX
26668  en la posición del texto en la que se desee quebrar la columna.
26669  A tener en cuenta que, en la mayoría de los casos, esto genera espacios
26670  en el texto.
26671 \begin_inset Newline newline
26672 \end_inset
26673
26674 Un ejemplo:
26675 \end_layout
26676
26677 \begin_layout Standard
26678
26679 \lang english
26680 \begin_inset Flex Multiple Columns
26681 status open
26682
26683 \begin_layout Plain Layout
26684
26685 \size small
26686 \lang english
26687 \begin_inset Quotes eld
26688 \end_inset
26689
26690 You're surprised to see me, sir,
26691 \begin_inset Quotes erd
26692 \end_inset
26693
26694  said he, in a strange, croaking voice.
26695 \end_layout
26696
26697 \begin_layout Plain Layout
26698
26699 \size small
26700 \lang english
26701 I acknowledged that I was.
26702 \end_layout
26703
26704 \begin_layout Plain Layout
26705
26706 \size small
26707 \lang english
26708 \begin_inset Quotes eld
26709 \end_inset
26710
26711 Well, I've a conscience, sir, and when I chanced to see you go into this
26712  house, as I came hobbling after you, I thought to myself, I'll just step
26713  in and see that kind gentleman, and tell him that if I was a bit gruff
26714  in my manner there was not any harm meant, and that I am much obliged to
26715  him for picking up my books.
26716 \begin_inset Quotes erd
26717 \end_inset
26718
26719
26720 \end_layout
26721
26722 \begin_layout Plain Layout
26723
26724 \size small
26725 \lang english
26726 \begin_inset Quotes eld
26727 \end_inset
26728
26729 You make too much of a trifle,
26730 \begin_inset Quotes erd
26731 \end_inset
26732
26733  said I.
26734  
26735 \begin_inset Quotes eld
26736 \end_inset
26737
26738 May I ask how you knew who I was?
26739 \begin_inset Quotes erd
26740 \end_inset
26741
26742
26743 \lang spanish
26744  TRAS ESTA FRASE SE FUERZA UN SALTO DE COLUMNA.
26745 \begin_inset ERT
26746 status collapsed
26747
26748 \begin_layout Plain Layout
26749
26750
26751 \backslash
26752 columnbreak{}
26753 \end_layout
26754
26755 \end_inset
26756
26757
26758 \end_layout
26759
26760 \begin_layout Plain Layout
26761
26762 \size small
26763 \lang english
26764 \begin_inset Quotes eld
26765 \end_inset
26766
26767 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
26768  you'll find my little bookshop at the corner of Church Street, and very
26769  happy to see you, I am sure.
26770  Maybe you collect yourself, sir.
26771  Here's 
26772 \noun on
26773 British
26774 \begin_inset space ~
26775 \end_inset
26776
26777 Birds
26778 \noun default
26779 , and 
26780 \noun on
26781 Catullus
26782 \noun default
26783 , and 
26784 \noun on
26785 The Holy War
26786 \noun default
26787
26788 \begin_inset space ~
26789 \end_inset
26790
26791 – a bargain, every one of them.
26792  With five volumes you could just fill that gap on that second shelf.
26793  It looks untidy, does it not, sir?
26794 \begin_inset Quotes erd
26795 \end_inset
26796
26797
26798 \end_layout
26799
26800 \end_inset
26801
26802
26803 \end_layout
26804
26805 \begin_layout Subsubsection
26806 Separación de columnas
26807 \end_layout
26808
26809 \begin_layout Standard
26810 La anchura de las columnas se calcula automáticamente, pero la separación
26811  entre ellas se puede modificar mediante el comando 
26812 \family typewriter
26813
26814 \backslash
26815 columnsep
26816 \family default
26817 .
26818  El valor predeterminado es 10
26819 \begin_inset space \thinspace{}
26820 \end_inset
26821
26822 pt.
26823  A continuación hay un ejemplo en el que la longitud de 
26824 \family typewriter
26825
26826 \backslash
26827 columnsep
26828 \family default
26829  se ha establecido en 3
26830 \begin_inset space \thinspace{}
26831 \end_inset
26832
26833 cm:
26834 \end_layout
26835
26836 \begin_layout Standard
26837 \begin_inset ERT
26838 status open
26839
26840 \begin_layout Plain Layout
26841
26842
26843 \backslash
26844 setlength{
26845 \backslash
26846 columnsep}{3cm}
26847 \end_layout
26848
26849 \end_inset
26850
26851
26852 \end_layout
26853
26854 \begin_layout Standard
26855
26856 \lang english
26857 \begin_inset Flex Multiple Columns
26858 status open
26859
26860 \begin_layout Plain Layout
26861
26862 \size small
26863 \lang english
26864 My observations of No.
26865 \begin_inset space \space{}
26866 \end_inset
26867
26868 427 Park Lane did little to clear up the problem in which I was interested.
26869  The house was separated from the street by a low wall and railing, the
26870  whole not more than five feet high.
26871  It was perfectly easy, therefore, for anyone to get into the garden, but
26872  the window was entirely inaccessible, since there was no water pipe or
26873  anything which could help the most active man to climb it.
26874  More puzzled than ever, I retraced my steps to Kensington.
26875  I had not been in my study five minutes when the maid entered to say that
26876  a person desired to see me.
26877  To my astonishment it was none other than my strange old book collector,
26878  his sharp, wizened face peering out from a frame of white hair, and his
26879  precious volumes, a dozen of them at least, wedged under his right arm.
26880 \end_layout
26881
26882 \end_inset
26883
26884
26885 \end_layout
26886
26887 \begin_layout Standard
26888 \begin_inset ERT
26889 status collapsed
26890
26891 \begin_layout Plain Layout
26892
26893
26894 \backslash
26895 setlength{
26896 \backslash
26897 columnsep}{10pt}
26898 \end_layout
26899
26900 \end_inset
26901
26902
26903 \begin_inset Note Note
26904 status collapsed
26905
26906 \begin_layout Plain Layout
26907 vuelta al valor predefinido
26908 \end_layout
26909
26910 \end_inset
26911
26912
26913 \end_layout
26914
26915 \begin_layout Subsubsection
26916 Líneas verticales
26917 \end_layout
26918
26919 \begin_layout Standard
26920 Entre las columnas se dibuja una línea cuya anchura viene dada por 
26921 \family typewriter
26922
26923 \backslash
26924 columnseprule
26925 \family default
26926 .
26927  La anchura por omisión es de 0
26928 \begin_inset space \thinspace{}
26929 \end_inset
26930
26931 pt, no se dibuja ninguna línea.
26932  En el siguiente ejemplo la anchura de línea es 2
26933 \begin_inset space \thinspace{}
26934 \end_inset
26935
26936 pt.
26937 \end_layout
26938
26939 \begin_layout Standard
26940 \begin_inset ERT
26941 status open
26942
26943 \begin_layout Plain Layout
26944
26945
26946 \backslash
26947 setlength{
26948 \backslash
26949 columnseprule}{2pt}
26950 \end_layout
26951
26952 \end_inset
26953
26954
26955 \end_layout
26956
26957 \begin_layout Standard
26958
26959 \lang english
26960 \begin_inset Flex Multiple Columns
26961 status open
26962
26963 \begin_layout Plain Layout
26964
26965 \size small
26966 \lang english
26967 \begin_inset Quotes eld
26968 \end_inset
26969
26970 You're surprised to see me, sir,
26971 \begin_inset Quotes erd
26972 \end_inset
26973
26974  said he, in a strange, croaking voice.
26975 \end_layout
26976
26977 \begin_layout Plain Layout
26978
26979 \size small
26980 \lang english
26981 I acknowledged that I was.
26982 \end_layout
26983
26984 \begin_layout Plain Layout
26985
26986 \size small
26987 \lang english
26988 \begin_inset Quotes eld
26989 \end_inset
26990
26991 Well, I've a conscience, sir, and when I chanced to see you go into this
26992  house, as I came hobbling after you, I thought to myself, I'll just step
26993  in and see that kind gentleman, and tell him that if I was a bit gruff
26994  in my manner there was not any harm meant, and that I am much obliged to
26995  him for picking up my books.
26996 \begin_inset Quotes erd
26997 \end_inset
26998
26999
27000 \end_layout
27001
27002 \begin_layout Plain Layout
27003
27004 \size small
27005 \lang english
27006 \begin_inset Quotes eld
27007 \end_inset
27008
27009 You make too much of a trifle,
27010 \begin_inset Quotes erd
27011 \end_inset
27012
27013  said I.
27014  
27015 \begin_inset Quotes eld
27016 \end_inset
27017
27018 May I ask how you knew who I was?
27019 \begin_inset Quotes erd
27020 \end_inset
27021
27022
27023 \end_layout
27024
27025 \begin_layout Plain Layout
27026
27027 \size small
27028 \lang english
27029 \begin_inset Quotes eld
27030 \end_inset
27031
27032 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27033  you'll find my little bookshop at the corner of Church Street, and very
27034  happy to see you, I am sure.
27035  Maybe you collect yourself, sir.
27036  Here's 
27037 \noun on
27038 British
27039 \begin_inset space ~
27040 \end_inset
27041
27042 Birds
27043 \noun default
27044 , and 
27045 \noun on
27046 Catullus
27047 \noun default
27048 , and 
27049 \noun on
27050 The Holy War
27051 \noun default
27052
27053 \begin_inset space ~
27054 \end_inset
27055
27056 – a bargain, every one of them.
27057  With five volumes you could just fill that gap on that second shelf.
27058  It looks untidy, does it not, sir?
27059 \begin_inset Quotes erd
27060 \end_inset
27061
27062
27063 \end_layout
27064
27065 \end_inset
27066
27067
27068 \end_layout
27069
27070 \begin_layout Standard
27071 \begin_inset VSpace defskip
27072 \end_inset
27073
27074
27075 \end_layout
27076
27077 \begin_layout Standard
27078 La raya se puede colorear redefiniendo el comando
27079 \lang english
27080  
27081 \family typewriter
27082 \lang spanish
27083
27084 \backslash
27085 columnseprulecolor
27086 \family default
27087 .
27088  Esto se consigue insertando el comando
27089 \end_layout
27090
27091 \begin_layout LyX-Code
27092
27093 \family typewriter
27094
27095 \backslash
27096 renewcommand{
27097 \backslash
27098 columnseprulecolor}{
27099 \backslash
27100 color{red}}
27101 \end_layout
27102
27103 \begin_layout LyX-Code
27104 en código \SpecialChar TeX
27105  delante del recuadro columnas.
27106  Se puede poner el color deseado en lugar de red (rojo).
27107  Se puede usar cualquier color predefinido o personalizado.
27108  Véase el manual 
27109 \emph on
27110 Objetos insertados
27111 \emph default
27112 ,
27113 \emph on
27114  
27115 \emph default
27116 sección 
27117 \emph on
27118 Cuadros coloreados
27119 \emph default
27120  para más información sobre colores.
27121  Para volver al color por omisión inserta el comando
27122 \end_layout
27123
27124 \begin_layout LyX-Code
27125
27126 \backslash
27127 renewcommand{
27128 \backslash
27129 columnseprulecolor}{
27130 \backslash
27131 normalcolor}
27132 \end_layout
27133
27134 \begin_layout LyX-Code
27135 Aquí hay un ejemplo con una línea en color cian y 1
27136 \begin_inset space \thinspace{}
27137 \end_inset
27138
27139 cm de separación entre columnas:
27140 \end_layout
27141
27142 \begin_layout Standard
27143 \begin_inset ERT
27144 status open
27145
27146 \begin_layout Plain Layout
27147
27148
27149 \backslash
27150 setlength{
27151 \backslash
27152 columnsep}{1cm}
27153 \end_layout
27154
27155 \begin_layout Plain Layout
27156
27157
27158 \backslash
27159 renewcommand{
27160 \backslash
27161 columnseprulecolor}{
27162 \backslash
27163 color{cyan}}
27164 \end_layout
27165
27166 \end_inset
27167
27168
27169 \end_layout
27170
27171 \begin_layout Standard
27172
27173 \lang english
27174 \begin_inset Flex Multiple Columns
27175 status open
27176
27177 \begin_layout Plain Layout
27178
27179 \size small
27180 \lang english
27181 \begin_inset Quotes eld
27182 \end_inset
27183
27184 You're surprised to see me, sir,
27185 \begin_inset Quotes erd
27186 \end_inset
27187
27188  said he, in a strange, croaking voice.
27189 \end_layout
27190
27191 \begin_layout Plain Layout
27192
27193 \size small
27194 \lang english
27195 I acknowledged that I was.
27196 \end_layout
27197
27198 \begin_layout Plain Layout
27199
27200 \size small
27201 \lang english
27202 \begin_inset Quotes eld
27203 \end_inset
27204
27205 Well, I've a conscience, sir, and when I chanced to see you go into this
27206  house, as I came hobbling after you, I thought to myself, I'll just step
27207  in and see that kind gentleman, and tell him that if I was a bit gruff
27208  in my manner there was not any harm meant, and that I am much obliged to
27209  him for picking up my books.
27210 \begin_inset Quotes erd
27211 \end_inset
27212
27213
27214 \end_layout
27215
27216 \begin_layout Plain Layout
27217
27218 \size small
27219 \lang english
27220 \begin_inset Quotes eld
27221 \end_inset
27222
27223 You make too much of a trifle,
27224 \begin_inset Quotes erd
27225 \end_inset
27226
27227  said I.
27228  
27229 \begin_inset Quotes eld
27230 \end_inset
27231
27232 May I ask how you knew who I was?
27233 \begin_inset Quotes erd
27234 \end_inset
27235
27236
27237 \end_layout
27238
27239 \begin_layout Plain Layout
27240
27241 \size small
27242 \lang english
27243 \begin_inset Quotes eld
27244 \end_inset
27245
27246 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
27247  you'll find my little bookshop at the corner of Church Street, and very
27248  happy to see you, I am sure.
27249  Maybe you collect yourself, sir.
27250  Here's 
27251 \noun on
27252 British
27253 \begin_inset space ~
27254 \end_inset
27255
27256 Birds
27257 \noun default
27258 , and 
27259 \noun on
27260 Catullus
27261 \noun default
27262 , and 
27263 \noun on
27264 The Holy War
27265 \noun default
27266
27267 \begin_inset space ~
27268 \end_inset
27269
27270 – a bargain, every one of them.
27271  With five volumes you could just fill that gap on that second shelf.
27272  It looks untidy, does it not, sir?
27273 \begin_inset Quotes erd
27274 \end_inset
27275
27276
27277 \end_layout
27278
27279 \end_inset
27280
27281
27282 \end_layout
27283
27284 \begin_layout Standard
27285 \begin_inset ERT
27286 status collapsed
27287
27288 \begin_layout Plain Layout
27289
27290
27291 \backslash
27292 setlength{
27293 \backslash
27294 columnseprule}{0pt}
27295 \end_layout
27296
27297 \begin_layout Plain Layout
27298
27299
27300 \backslash
27301 renewcommand{
27302 \backslash
27303 columnseprulecolor}{
27304 \backslash
27305 normalcolor}
27306 \end_layout
27307
27308 \end_inset
27309
27310
27311 \begin_inset Note Note
27312 status collapsed
27313
27314 \begin_layout Plain Layout
27315 retornar a los valores por omisión.
27316 \end_layout
27317
27318 \end_inset
27319
27320
27321 \end_layout
27322
27323 \begin_layout Standard
27324 \begin_inset Newpage newpage
27325 \end_inset
27326
27327
27328 \end_layout
27329
27330 \begin_layout Section
27331 Párrafos con formas diversas
27332 \end_layout
27333
27334 \begin_layout Standard
27335 \SpecialChar LaTeX
27336  y cualquier procesador de texto usan por omisión párrafos rectangulares.
27337  Para casos especiales como posters, tarjetas o poemas, es posible modifcar
27338  la forma del párrafo.
27339  Esto se puede conseguir mediante el paquete \SpecialChar LaTeX
27340  
27341 \family typewriter
27342 shapepar
27343 \family default
27344 , que se carga con el módulo
27345 \family sans
27346  Párrafos conformados
27347 \family default
27348  en 
27349 \family sans
27350 Documento\SpecialChar menuseparator
27351 Configuración\SpecialChar menuseparator
27352 Módulos
27353 \family default
27354 .
27355 \end_layout
27356
27357 \begin_layout Subsection
27358 Formas predefinidas
27359 \end_layout
27360
27361 \begin_layout Standard
27362 El paquete 
27363 \series bold
27364 shapepar
27365 \series default
27366  proporciona las siguientes formas:
27367 \end_layout
27368
27369 \begin_layout Standard
27370 \begin_inset Tabular
27371 <lyxtabular version="3" rows="13" columns="3">
27372 <features booktabs="true" islongtable="true" longtabularalignment="center">
27373 <column alignment="center" valignment="middle" width="16col%">
27374 <column alignment="center" valignment="middle" width="40col%">
27375 <column alignment="center" valignment="middle" width="35col%">
27376 <row endhead="true">
27377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27378 \begin_inset Text
27379
27380 \begin_layout Plain Layout
27381 Nombre
27382 \end_layout
27383
27384 \end_inset
27385 </cell>
27386 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27387 \begin_inset Text
27388
27389 \begin_layout Plain Layout
27390 Descripción
27391 \end_layout
27392
27393 \end_inset
27394 </cell>
27395 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27396 \begin_inset Text
27397
27398 \begin_layout Plain Layout
27399 Observaciones
27400 \end_layout
27401
27402 \end_inset
27403 </cell>
27404 </row>
27405 <row>
27406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27407 \begin_inset Text
27408
27409 \begin_layout Plain Layout
27410 Carátula CD
27411 \end_layout
27412
27413 \end_inset
27414 </cell>
27415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27416 \begin_inset Text
27417
27418 \begin_layout Plain Layout
27419 Círculo con orificio central (tamaño de CD/DVD)
27420 \end_layout
27421
27422 \end_inset
27423 </cell>
27424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27425 \begin_inset Text
27426
27427 \begin_layout Plain Layout
27428 No se puede cambiar el tamaño; no debe contener demasiado texto
27429 \end_layout
27430
27431 \end_inset
27432 </cell>
27433 </row>
27434 <row>
27435 <cell alignment="center" valignment="top" topline="true" usebox="none">
27436 \begin_inset Text
27437
27438 \begin_layout Plain Layout
27439 Círculo
27440 \end_layout
27441
27442 \end_inset
27443 </cell>
27444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27445 \begin_inset Text
27446
27447 \begin_layout Plain Layout
27448 Círculo
27449 \end_layout
27450
27451 \end_inset
27452 </cell>
27453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27454 \begin_inset Text
27455
27456 \begin_layout Plain Layout
27457 Frágil, los cálculos
27458 \end_layout
27459
27460 \begin_layout Plain Layout
27461 pueden fallar
27462 \end_layout
27463
27464 \end_inset
27465 </cell>
27466 </row>
27467 <row>
27468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27469 \begin_inset Text
27470
27471 \begin_layout Plain Layout
27472 Diamante
27473 \end_layout
27474
27475 \end_inset
27476 </cell>
27477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27478 \begin_inset Text
27479
27480 \begin_layout Plain Layout
27481 Romboide (simbolizando
27482 \end_layout
27483
27484 \begin_layout Plain Layout
27485 un 
27486 \begin_inset Quotes cld
27487 \end_inset
27488
27489 diamante
27490 \begin_inset Quotes crd
27491 \end_inset
27492
27493 )
27494 \end_layout
27495
27496 \end_inset
27497 </cell>
27498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27499 \begin_inset Text
27500
27501 \begin_layout Plain Layout
27502 -
27503 \end_layout
27504
27505 \end_inset
27506 </cell>
27507 </row>
27508 <row>
27509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27510 \begin_inset Text
27511
27512 \begin_layout Plain Layout
27513 Corazón
27514 \end_layout
27515
27516 \end_inset
27517 </cell>
27518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27519 \begin_inset Text
27520
27521 \begin_layout Plain Layout
27522 Forma de corazón
27523 \end_layout
27524
27525 \end_inset
27526 </cell>
27527 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27528 \begin_inset Text
27529
27530 \begin_layout Plain Layout
27531 -
27532 \end_layout
27533
27534 \end_inset
27535 </cell>
27536 </row>
27537 <row>
27538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27539 \begin_inset Text
27540
27541 \begin_layout Plain Layout
27542 Hexágono
27543 \end_layout
27544
27545 \end_inset
27546 </cell>
27547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27548 \begin_inset Text
27549
27550 \begin_layout Plain Layout
27551 Hexágono
27552 \end_layout
27553
27554 \end_inset
27555 </cell>
27556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27557 \begin_inset Text
27558
27559 \begin_layout Plain Layout
27560 -
27561 \end_layout
27562
27563 \end_inset
27564 </cell>
27565 </row>
27566 <row>
27567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27568 \begin_inset Text
27569
27570 \begin_layout Plain Layout
27571 Tuerca
27572 \end_layout
27573
27574 \end_inset
27575 </cell>
27576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27577 \begin_inset Text
27578
27579 \begin_layout Plain Layout
27580 Tuerca de tornillo
27581 \end_layout
27582
27583 \begin_layout Plain Layout
27584 (hexágono con orificio circular)
27585 \end_layout
27586
27587 \end_inset
27588 </cell>
27589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27590 \begin_inset Text
27591
27592 \begin_layout Plain Layout
27593 -
27594 \end_layout
27595
27596 \end_inset
27597 </cell>
27598 </row>
27599 <row>
27600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27601 \begin_inset Text
27602
27603 \begin_layout Plain Layout
27604 Cuadrado
27605 \end_layout
27606
27607 \end_inset
27608 </cell>
27609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27610 \begin_inset Text
27611
27612 \begin_layout Plain Layout
27613 Cuadrado
27614 \end_layout
27615
27616 \end_inset
27617 </cell>
27618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27619 \begin_inset Text
27620
27621 \begin_layout Plain Layout
27622 -
27623 \end_layout
27624
27625 \end_inset
27626 </cell>
27627 </row>
27628 <row>
27629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27630 \begin_inset Text
27631
27632 \begin_layout Plain Layout
27633 Estrella
27634 \end_layout
27635
27636 \end_inset
27637 </cell>
27638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27639 \begin_inset Text
27640
27641 \begin_layout Plain Layout
27642 Estrella de 5 puntas
27643 \end_layout
27644
27645 \end_inset
27646 </cell>
27647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27648 \begin_inset Text
27649
27650 \begin_layout Plain Layout
27651 -
27652 \end_layout
27653
27654 \end_inset
27655 </cell>
27656 </row>
27657 <row>
27658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27659 \begin_inset Text
27660
27661 \begin_layout Plain Layout
27662 Vela
27663 \end_layout
27664
27665 \end_inset
27666 </cell>
27667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27668 \begin_inset Text
27669
27670 \begin_layout Plain Layout
27671 Cilindro con llama
27672 \end_layout
27673
27674 \end_inset
27675 </cell>
27676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27677 \begin_inset Text
27678
27679 \begin_layout Plain Layout
27680 -
27681 \end_layout
27682
27683 \end_inset
27684 </cell>
27685 </row>
27686 <row>
27687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27688 \begin_inset Text
27689
27690 \begin_layout Plain Layout
27691 Gota/Gota invertida
27692 \end_layout
27693
27694 \end_inset
27695 </cell>
27696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27697 \begin_inset Text
27698
27699 \begin_layout Plain Layout
27700 Forma de gota normal/invertida
27701 \end_layout
27702
27703 \end_inset
27704 </cell>
27705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27706 \begin_inset Text
27707
27708 \begin_layout Plain Layout
27709 Frágil, los cáculos
27710 \end_layout
27711
27712 \begin_layout Plain Layout
27713 pueden fallar
27714 \end_layout
27715
27716 \end_inset
27717 </cell>
27718 </row>
27719 <row>
27720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27721 \begin_inset Text
27722
27723 \begin_layout Plain Layout
27724 \SpecialChar TeX
27725
27726 \end_layout
27727
27728 \end_inset
27729 </cell>
27730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27731 \begin_inset Text
27732
27733 \begin_layout Plain Layout
27734 Logotipo de \SpecialChar TeX
27735
27736 \end_layout
27737
27738 \end_inset
27739 </cell>
27740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27741 \begin_inset Text
27742
27743 \begin_layout Plain Layout
27744 -
27745 \end_layout
27746
27747 \end_inset
27748 </cell>
27749 </row>
27750 <row>
27751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27752 \begin_inset Text
27753
27754 \begin_layout Plain Layout
27755 Triángulo
27756 \begin_inset Newline newline
27757 \end_inset
27758
27759 arriba/abajo
27760 \begin_inset Newline newline
27761 \end_inset
27762
27763 izquierda/derecha
27764 \end_layout
27765
27766 \end_inset
27767 </cell>
27768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27769 \begin_inset Text
27770
27771 \begin_layout Plain Layout
27772 Triángulos en diferentes orientaciones
27773 \end_layout
27774
27775 \end_inset
27776 </cell>
27777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27778 \begin_inset Text
27779
27780 \begin_layout Plain Layout
27781 -
27782 \end_layout
27783
27784 \end_inset
27785 </cell>
27786 </row>
27787 </lyxtabular>
27788
27789 \end_inset
27790
27791
27792 \end_layout
27793
27794 \begin_layout Standard
27795 Para elegir una determinada forma selecciónala en la lista desplegable de
27796  entornos de \SpecialChar LyX
27797  (primer botón de la barra de herramientas).
27798 \end_layout
27799
27800 \begin_layout Standard
27801 \begin_inset Newpage newpage
27802 \end_inset
27803
27804
27805 \end_layout
27806
27807 \begin_layout Standard
27808 Ejemplo de párrafo con forma de tuerca:
27809 \end_layout
27810
27811 \begin_layout Standard
27812 \begin_inset VSpace bigskip
27813 \end_inset
27814
27815
27816 \end_layout
27817
27818 \begin_layout Nut
27819 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27820  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27821  voluptua.
27822  At vero eos et accusam et justo duo dolores et ea rebum.
27823  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27824  sit amet.
27825  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27826  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27827  voluptua.
27828 \end_layout
27829
27830 \begin_layout Standard
27831 \begin_inset VSpace bigskip
27832 \end_inset
27833
27834
27835 \end_layout
27836
27837 \begin_layout Standard
27838 \begin_inset Note Greyedout
27839 status open
27840
27841 \begin_layout Plain Layout
27842
27843 \series bold
27844 Nota
27845 \series default
27846 : los párrafos conformados no pueden saltar de página.
27847 \end_layout
27848
27849 \end_inset
27850
27851
27852 \end_layout
27853
27854 \begin_layout Standard
27855 \begin_inset VSpace bigskip
27856 \end_inset
27857
27858
27859 \end_layout
27860
27861 \begin_layout Standard
27862 The package 
27863 \family typewriter
27864 shapepar
27865 \family default
27866  preserva siempre la forma independientemente de la cantidad de texto.
27867  Por tanto el tamaño del párrafo cambia en función del texto.
27868  Esto puede provocar desbordamiento de los márgenes.
27869  Para comprobar el efecto de ajuste del tamaño veamos el mismo ejemplo anterior
27870  con el doble de texto:
27871 \end_layout
27872
27873 \begin_layout Standard
27874 \begin_inset Newpage newpage
27875 \end_inset
27876
27877
27878 \end_layout
27879
27880 \begin_layout Nut
27881 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27882  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27883  voluptua.
27884  At vero eos et accusam et justo duo dolores et ea rebum.
27885  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27886  sit amet.
27887  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27888  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27889  voluptua.
27890  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27891  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27892  voluptua.
27893  At vero eos et accusam et justo duo dolores et ea rebum.
27894  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
27895  sit amet.
27896  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
27897  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
27898  voluptua.
27899 \end_layout
27900
27901 \begin_layout Standard
27902 \begin_inset VSpace bigskip
27903 \end_inset
27904
27905
27906 \end_layout
27907
27908 \begin_layout Standard
27909 La forma 
27910 \family sans
27911 Carátula CD 
27912 \family default
27913 es una excepción.
27914  No se puede hacer escala porque debe ajustarse al tamaño de un CD/DVD.
27915  Por tanto la cantidad de texto que admite esta forma es limitada.
27916 \begin_inset Newline newline
27917 \end_inset
27918
27919 Las formas 
27920 \family sans
27921 Gota
27922 \family default
27923  y
27924 \family sans
27925  Círculo
27926 \family default
27927  son frágiles, lo que significa que pueden fallar los cálculos de su tamaño,
27928  según la cantidad de texto.
27929  En esos casos se producirá el error de \SpecialChar LaTeX
27930  
27931 \begin_inset Quotes eld
27932 \end_inset
27933
27934 Arithmetic overflow
27935 \begin_inset Quotes erd
27936 \end_inset
27937
27938 .
27939  Se puede arreglar añadiendo o quitando algo de texto; si no funciona habrá
27940  que elegir otra forma.
27941 \end_layout
27942
27943 \begin_layout Standard
27944 \begin_inset VSpace bigskip
27945 \end_inset
27946
27947
27948 \end_layout
27949
27950 \begin_layout Standard
27951 En formas con puntas, la rutina de división silábica de \SpecialChar LaTeX
27952  puede fallar.
27953  Entonces habrá que añadir guiones protegidos 
27954 \family sans
27955 (
27956 \begin_inset Info
27957 type  "shortcut"
27958 arg   "specialchar-insert hyphenation"
27959 \end_inset
27960
27961
27962 \family default
27963 ) donde sea necesario.
27964 \end_layout
27965
27966 \begin_layout Standard
27967 \begin_inset VSpace bigskip
27968 \end_inset
27969
27970
27971 \end_layout
27972
27973 \begin_layout Standard
27974 Los párrafos conformados siempre van centrados en la página o ajustados
27975  al margen izquierdo, por tanto no se puede usar la alineación de la configuraci
27976 ón de párrafos.
27977  Una solución es poner el párrafo en una minipágina o en un marco y alinear
27978  éstos.
27979  En ese caso el problema es saber la anchura adecuada del marco: si es demasiado
27980  ancho y se centra, el párrafo no queda centrado porque se ajusta a la izquierda
27981  del marco.
27982  De modo que habrá que ir probando un poco para acertar con la anchura correcta.
27983  Aquí tenemos dos párrafos 
27984 \family sans
27985 Corazón
27986 \family default
27987 , el primero no alineado, el segundo a la derecha:
27988 \end_layout
27989
27990 \begin_layout Standard
27991 \begin_inset Newpage newpage
27992 \end_inset
27993
27994
27995 \end_layout
27996
27997 \begin_layout Heart
27998 \noindent
27999 Lo\SpecialChar softhyphen
28000 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28001  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28002  voluptua.
28003  At vero eos et accusam et justo duo dolores et ea rebum.
28004  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28005  sit amet.
28006 \end_layout
28007
28008 \begin_layout Standard
28009 \begin_inset VSpace bigskip
28010 \end_inset
28011
28012
28013 \end_layout
28014
28015 \begin_layout Standard
28016 \noindent
28017 \align right
28018 \begin_inset Box Frameless
28019 position "t"
28020 hor_pos "c"
28021 has_inner_box 1
28022 inner_pos "t"
28023 use_parbox 1
28024 use_makebox 0
28025 width "42col%"
28026 special "none"
28027 height "1in"
28028 height_special "totalheight"
28029 thickness "0.4pt"
28030 separation "3pt"
28031 shadowsize "4pt"
28032 framecolor "black"
28033 backgroundcolor "none"
28034 status open
28035
28036 \begin_layout Heart
28037 \noindent
28038 Lo\SpecialChar softhyphen
28039 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28040  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28041  voluptua.
28042  At vero eos et accusam et justo duo dolores et ea rebum.
28043  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28044  sit amet.
28045 \end_layout
28046
28047 \end_inset
28048
28049
28050 \end_layout
28051
28052 \begin_layout Subsection
28053 Formas personalizadas
28054 \end_layout
28055
28056 \begin_layout Standard
28057 Se puede definir cualquier forma.
28058  Hacerlo manualmente lleva mucho trabajo porque debe especificarse cada
28059  coordenada.
28060  Pero hay una forma de que el ordenador haga los cálculos:
28061 \end_layout
28062
28063 \begin_layout Enumerate
28064 Instala el programa 
28065 \begin_inset CommandInset href
28066 LatexCommand href
28067 name "Jpgfdraw"
28068 target "https://www.ctan.org/tex-archive/graphics/jpgfdraw"
28069 literal "false"
28070
28071 \end_inset
28072
28073 .
28074 \end_layout
28075
28076 \begin_layout Enumerate
28077 En 
28078 \family sans
28079 Jpgfdraw
28080 \family default
28081  ve al menú 
28082 \family sans
28083 TeX/LaTeX\SpecialChar menuseparator
28084 Settings\SpecialChar menuseparator
28085 Set Normal Size
28086 \family default
28087  y selecciona el tamaño de tipografía usado en el documento.
28088  Por ejemplo, este documento usa el tamaño 12
28089 \begin_inset space \thinspace{}
28090 \end_inset
28091
28092 pt.
28093 \end_layout
28094
28095 \begin_layout Enumerate
28096 Dibuja una forma.
28097 \end_layout
28098
28099 \begin_layout Enumerate
28100 Usa el menú 
28101 \family sans
28102 TeX/LaTeX\SpecialChar menuseparator
28103 Shapepar
28104 \family default
28105  para exportar la forma a coordenadas.
28106  En el diálogo que surge usa la descripción de la forma para las coordenadas
28107  o la ruta misma.
28108 \begin_inset Foot
28109 status collapsed
28110
28111 \begin_layout Plain Layout
28112 Más información en 
28113 \begin_inset CommandInset href
28114 LatexCommand href
28115 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
28116 literal "false"
28117
28118 \end_inset
28119
28120
28121 \end_layout
28122
28123 \end_inset
28124
28125
28126 \end_layout
28127
28128 \begin_layout Standard
28129 Las coordenadas se escriben en un archivo \SpecialChar TeX
28130 .
28131  Para incorporarlo a \SpecialChar LyX
28132 :
28133 \end_layout
28134
28135 \begin_layout Enumerate
28136 Coloca el cursor delante del primer carácter del párrafo (o en uno nuevo
28137  vacío).
28138 \end_layout
28139
28140 \begin_layout Enumerate
28141 En \SpecialChar LyX
28142  abre el menú 
28143 \family sans
28144 Insertar\SpecialChar menuseparator
28145 Archivo\SpecialChar menuseparator
28146 Documento
28147 \begin_inset space ~
28148 \end_inset
28149
28150 hijo\SpecialChar ldots
28151
28152 \family default
28153 , selecciona el archivo y elige 
28154 \family sans
28155 Incorporar
28156 \family default
28157  en 
28158 \family sans
28159 Tipo
28160 \begin_inset space ~
28161 \end_inset
28162
28163 de
28164 \begin_inset space ~
28165 \end_inset
28166
28167 inclusión.
28168 \end_layout
28169
28170 \begin_layout Standard
28171 \begin_inset VSpace defskip
28172 \end_inset
28173
28174
28175 \end_layout
28176
28177 \begin_layout Standard
28178 \begin_inset Note Greyedout
28179 status open
28180
28181 \begin_layout Plain Layout
28182
28183 \series bold
28184 Nota
28185 \series default
28186 : el cambio de forma sólo se aplica al párrafo actual; todo se restablece
28187  a normal para el párrafo siguiente.
28188  Por tanto la definición de forma debe aplicarse a cada párrafo por separado.
28189 \end_layout
28190
28191 \end_inset
28192
28193
28194 \end_layout
28195
28196 \begin_layout Standard
28197 \begin_inset VSpace bigskip
28198 \end_inset
28199
28200
28201 \end_layout
28202
28203 \begin_layout Standard
28204 Un ejemplo:
28205 \end_layout
28206
28207 \begin_layout Standard
28208 \begin_inset VSpace bigskip
28209 \end_inset
28210
28211
28212 \end_layout
28213
28214 \begin_layout Standard
28215 \begin_inset CommandInset include
28216 LatexCommand input
28217 filename "../SpecialParagraphShape.tex"
28218 literal "true"
28219
28220 \end_inset
28221
28222 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28223  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28224  voluptua.
28225  At vero eos et accusam et justo duo dolores et ea rebum.
28226  Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
28227  sit amet.
28228  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
28229  eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
28230  voluptua.
28231 \end_layout
28232
28233 \begin_layout Standard
28234 \begin_inset VSpace bigskip
28235 \end_inset
28236
28237
28238 \end_layout
28239
28240 \begin_layout Standard
28241
28242 \series bold
28243 Un consejo:
28244 \series default
28245  para dibujar formas complejas en 
28246 \family sans
28247 Jpgfdraw
28248 \family default
28249  puedes dibujar la forma con el programa que quieras e importar la imagen
28250  obtenida en 
28251 \family sans
28252 Jpgfdraw
28253 \family default
28254 .
28255  Después sólo tendrás que dibujar una línea o spline sobre el contorno de
28256  la imagen.
28257 \end_layout
28258
28259 \begin_layout Standard
28260 \begin_inset VSpace bigskip
28261 \end_inset
28262
28263
28264 \end_layout
28265
28266 \begin_layout Standard
28267 El módulo 
28268 \family sans
28269 Párrafos conformados
28270 \family default
28271  proporciona además el 
28272 \family sans
28273 Comando
28274 \family default
28275  
28276 \family sans
28277 shapepar
28278 \family default
28279  y el 
28280 \family sans
28281 Comando
28282 \family default
28283  
28284 \family sans
28285 Shapepar
28286 \family default
28287  que se pueden usar para definir formas coordenada a coordenada.
28288 \begin_inset Foot
28289 status collapsed
28290
28291 \begin_layout Plain Layout
28292 Estos comandos se usan internamente para todas las formas que se han descrito
28293  aquí.
28294 \end_layout
28295
28296 \end_inset
28297
28298  Para información sobre el uso de estos entornos de estilo y más posibilidades
28299  de personalización echa un vistazo a la 
28300 \begin_inset CommandInset href
28301 LatexCommand href
28302 name "documentación"
28303 target "https://www.ctan.org/tex-archive/macros/latex/contrib/shapepar/shapepar.pdf"
28304 literal "false"
28305
28306 \end_inset
28307
28308  del paquete 
28309 \family typewriter
28310 shapepar
28311 \family default
28312 .
28313 \end_layout
28314
28315 \end_body
28316 \end_document