1 #LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13 {\usepackage{lmodern}}{}
15 \fi % end if pdflatex is used
17 % that links to image floats jumps
18 % to the beginning of the float and
20 \usepackage[figure]{hypcap}
22 % provides caption formatting
23 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
25 % provides commands to set caption
26 % beside tables/images
29 \newcommand{\TabBesBeg}{%
31 \let\MyEndtable\endtable
32 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
34 \newcommand{\TabBesEnd}{%
36 \let\endtable\MyEndtable}
38 \newcommand{\FigBesBeg}{%
40 \let\MyEndfigure\endfigure
41 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
43 \newcommand{\FigBesEnd}{%
45 \let\endfigure\MyEndfigure}
47 % enables calculation of values,
50 % provides special table cell alignments
53 % increase the bottom float placement fraction
54 \renewcommand{\bottomfraction}{0.5}
56 % avoids that floats are placed before their
57 % corresponding section starts
58 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
60 % speed up the longtable calculation
61 \setcounter{LTchunksize}{100}
63 % used for scaled and rotated boxes
64 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
66 % used for colored tables
67 \@ifundefined{textcolor}
68 {\usepackage{color}}{}
69 \definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5}
70 \definecolor{grisclaro}{gray}{0.8}
72 % check for package colortbl
73 % used for colored table cells
75 \IfFileExists{colortbl.sty}
76 {\usepackage{colortbl}
77 \setboolean{colortbl}{true}}
78 {\setboolean{colortbl}{false}}
82 %\renewcommand{\multirowsetup}{\centering}
84 % used for book-style tables
87 % used to have extra space in table cells
88 \@ifundefined{extrarowheight}
89 {\usepackage{array}}{}
90 \setlength{\extrarowheight}{2pt}
92 % used for customized tables
95 {>{\centering\hspace{0pt}}m{#1}}
98 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
101 {>{\columncolor{#1}\hspace{0pt}}c}
103 \newcolumntype{V}{!{\vrule width 1.5pt}}
105 \newcolumntype{W}{!{\color{green}\vline}}
108 % the pages of the TOC are numbered roman
109 % and a PDF-bookmark for the TOC is added
110 \let\myTOC\tableofcontents
111 \renewcommand\tableofcontents{%
113 \pdfbookmark[1]{\contentsname}{}
117 % insert additional vertical space of
118 % 1.5 mm between footnotes
120 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
122 % number algorithm floats within chapters
123 \numberwithin{algorithm}{chapter}
125 \floatname{algorithm}{Algoritmo}
128 % redefine the greyed out note
129 \renewenvironment{lyxgreyedout}
130 {\textcolor{blue}\bgroup}{\egroup}
132 % ------------------------------------
133 % used to check for needed LaTeX packages
136 % check for package arydshln
137 % used for tables with dashed lines
138 \newboolean{arydshln}
139 \IfFileExists{arydshln.sty}
140 {\usepackage{arydshln}
141 \setboolean{arydshln}{true}}
142 {\setboolean{arydshln}{false}}
144 % check for package marginnote
145 % used for margin notes
146 \newboolean{marginnote}
147 \IfFileExists{marginnote.sty}
148 {\usepackage{marginnote}
149 \let\marginpar\marginnote
150 \setboolean{marginnote}{true}}
151 {\setboolean{marginnote}{false}}
153 % check for package sidecap
154 % used for captions on the side
156 \IfFileExists{sidecap.sty}
157 {\usepackage{sidecap}
158 \let\marginpar\marginnote
159 \setboolean{sidecap}{true}}
160 {\setboolean{sidecap}{false}}
162 % redefine the \LyX macro for PDF bookmarks
163 \def\LyX{\texorpdfstring{%
164 L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
167 % to translate the listing label
168 % para traducir la etiqueta listing
169 \renewcommand{\lstlistingname}{Listado}
171 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
176 \font_typewriter default
177 \font_default_family default
187 \pdf_title "Manual detallado de Figuras, Tablas, Flotantes, Notas, Cuadros y Archivos en LyX"
188 \pdf_author "LyX Team, Uwe Stöhr, Spanish translation: Ignacio Garcia"
189 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxe"
190 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
192 \pdf_bookmarksnumbered true
193 \pdf_bookmarksopen true
194 \pdf_bookmarksopenlevel 1
195 \pdf_breaklinks false
199 \pdf_pagebackref false
200 \pdf_pdfusetitle false
201 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
208 \paperorientation portrait
211 \paragraph_separation skip
213 \quotes_language english
216 \paperpagestyle default
220 \tracking_changes false
221 \output_changes false
229 Manual detallado de Figuras, Tablas, Flotantes, Notas, Cuadros y Archivos
238 \begin_layout Plain Layout
240 Si tienes comentarios o correcciones, por favor, escribe a la lista de correo
241 de Documentación de LyX:
242 \begin_inset CommandInset href
244 name "lyx-docs@lists.lyx.org"
245 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
256 \begin_inset Note Note
259 \begin_layout Plain Layout
260 autor original: Uwe Stöhr
266 \begin_inset Note Note
269 \begin_layout Plain Layout
270 Traducción de: Ignacio García
276 \begin_inset Newline newline
280 \begin_inset Newline newline
288 \begin_layout Standard
289 \begin_inset CommandInset toc
290 LatexCommand tableofcontents
297 \begin_layout Standard
298 \begin_inset Note Note
301 \begin_layout Plain Layout
302 Para exportar todas las partes de este documento a PDF, PS, o DVI, deben
303 estar instalados los paquetes LaTeX
320 Si no están instalados, también podrás exportar el documento, pero las
321 secciones en que dichos paquetes son necesarios no aparecen en la salida.
324 \begin_layout Plain Layout
325 La última versión en PDF de este documento puede encontrarse aquí:
328 \begin_inset Newline newline
331 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
339 \begin_layout Chapter
341 \begin_inset CommandInset label
351 \begin_layout Plain Layout
361 \begin_layout Plain Layout
366 \begin_layout Plain Layout
377 \begin_layout Plain Layout
392 \begin_layout Section
394 \begin_inset CommandInset label
396 name "sec:Diálogo-Gráficos"
404 \begin_layout Plain Layout
405 Figuras ! Diálogo de gráficos
413 \begin_layout Standard
414 Para insertar una imagen en un documento, sitúa el cursor en el lugar del
415 texto que desees y haz clic en el icono
416 \begin_inset Graphics
417 filename ../../images/dialog-show-new-inset_graphics.png
424 Insertar\SpecialChar \menuseparator
428 Aparecerá un diálogo para escoger el archivo a cargar.
429 La imagen aparecerá en el archivo de salida exactamente en la misma posición
430 en la que la has colocado.
433 \begin_layout Standard
434 El diálogo Gráficos puede lanzarse en cualquier momento haciendo clic-derecha
436 Este diálogo tiene tres pestañas:
439 \begin_layout Description
440 Gráficos Aquí puedes elegir tu archivo gráfico y ajustar separadamente su
441 presentación en LyX y en la salida.
447 \begin_inset CommandInset ref
449 reference "cha:Unidades-disponibles-en"
453 se detallan las unidades disponibles para el tamaño del gráfico.
454 \begin_inset Newline newline
461 \begin_layout Plain Layout
467 Puedes girar los gráficos en el sentido de las agujas de reloj estableciendo
468 un ángulo y un origen de rotación.
469 La imagen también gira en LyX.
470 \begin_inset Newline newline
477 \begin_layout Plain Layout
483 Las imágenes se pueden escalar mediante un porcentaje o fijando explícitamente
484 la altura y la anchura.
485 Si fijas sólo la anchura o sólo la altura, la otra dimensión se establece
487 Si fijas ambas dimensiones
491 la imagen se adaptará a ellas, posiblemente distorsionada.
492 Para evitar distorsión en la imagen marca la opción
501 En ese caso la imagen será escalada de forma que su anchura y su altura
502 no excedan de las dimensiones especificadas.
503 \begin_inset Newline newline
506 Las imágenes se pueden abrir con un programa de tu elección pulsando el
512 Los programas visor y editor para cada formato de imagen se pueden establecer
513 en la configuración de los formatos de archivo de las preferencias de LyX.
516 \begin_layout Description
517 Recorte Alternativamente al escalado, es posible establecer las coordenadas
518 de la imagen para ajustar su altura y anchura en la salida.
519 Además, las coordenadas se pueden calcular automáticamente pinchando el
549 imprimirá sólo la región de la imagen comprendida en las coordenadas introducid
551 Normalmente no necesitarás preocuparte por esto y puedes ignorar esta solapa.
554 \begin_layout Description
559 extra En esta solapa puedes modificar la apariencia de la imagen en LyX,
560 y poner la imagen como subfigura de una figura flotante con su propio título.
561 Las subfiguras se explican en la sección
566 \begin_inset CommandInset ref
568 reference "sec:Figuras-Flotantes"
573 \begin_inset Newline newline
576 Los expertos en LaTeX pueden especificar aquí opciones LaTeX adicionales.
577 \begin_inset Newline newline
588 hace que en la salida se muestre sólo un marco con el tamaño de la imagen.
589 \begin_inset Newline newline
608 sólo afecta a los gráficos EPS comprimidos, p.
609 \begin_inset space \thinspace{}
621 Si se usa esta opción, las imágenes no serán descomprimidas al exportar,
622 puesto que LaTeX puede manejarlas como están.
623 \begin_inset Newline newline
626 Los gráficos EPS comprimidos sirven para ahorrar espacio de disco si se
627 utiliza PostScript como formato de salida, ver apéndice
632 \begin_inset CommandInset ref
634 reference "sec:PostScript"
639 Para comprimir gráficos EPS, usa los siguientes comandos en un UNIX-shell
640 o en consola de Windows:
641 \begin_inset Newline newline
649 \begin_inset Newline newline
654 zgrep %%Bounding x.eps.gz > x.eps.bb
657 \begin_inset Newline newline
660 El segundo comando crea un archivo de cuadro delimitador
661 \begin_inset Quotes eld
665 \begin_inset Quotes erd
668 que necesita LaTeX para gráficos comprimidos.
671 \begin_layout Standard
672 \begin_inset VSpace bigskip
678 \begin_layout Standard
679 Esto es un ejemplo de imagen en formato EPS
683 \begin_layout Plain Layout
684 Los formatos de imagen se explica en el sección
689 \begin_inset CommandInset ref
691 reference "sec:Formatos-de-imagen"
700 en un párrafo separado centrado horizontalmente:
703 \begin_layout Standard
705 \begin_inset Graphics
706 filename ../clipart/mobius.eps
716 \begin_layout Standard
717 Esta es la misma imagen pero en modo borrador:
720 \begin_layout Standard
722 \begin_inset Graphics
723 filename ../clipart/mobius.eps
733 \begin_layout Section
735 \begin_inset CommandInset label
737 name "sec:Figuras-Flotantes"
745 \begin_layout Plain Layout
755 \begin_layout Plain Layout
764 \begin_layout Standard
765 Para información general sobre flotantes, echa una ojeada a la sección
770 \begin_inset CommandInset ref
772 reference "sec:Introducción-Flotantes"
779 \begin_layout Standard
781 \begin_inset Graphics
782 filename ../../images/float-insert_figure.png
789 Insertar\SpecialChar \menuseparator
790 Flotante\SpecialChar \menuseparator
793 insertan un flotante con la etiqueta «Figura #:» (# es el número actual).
794 La imagen se puede insertar sobre la leyenda, como en la figura
799 \begin_inset CommandInset ref
801 reference "fig:kill-plat"
805 , o bajo ella, como en la figura
810 \begin_inset CommandInset ref
812 reference "fig:escher"
817 Más información sobre ubicación de leyendas en la sección
822 \begin_inset CommandInset ref
824 reference "sec:Colocación-de-leyendas"
831 \begin_layout Standard
832 \begin_inset Float figure
837 \begin_layout Plain Layout
839 \begin_inset Graphics
840 filename ../clipart/platypus.eps
849 \begin_layout Plain Layout
852 \begin_layout Plain Layout
853 \begin_inset CommandInset label
859 Un platypus muy distorsionado en un flotante.
872 \begin_layout Standard
873 \begin_inset Float figure
878 \begin_layout Plain Layout
881 \begin_layout Plain Layout
882 \begin_inset CommandInset label
897 \begin_layout Plain Layout
899 \begin_inset Graphics
900 filename ../clipart/escher-lsd.eps
914 \begin_layout Standard
918 \begin_layout Plain Layout
919 Referencias ! a figuras
929 \begin_inset CommandInset ref
931 reference "fig:kill-plat"
936 \begin_inset CommandInset ref
938 reference "fig:escher"
942 son ejemplos de figuras con referencias cruzadas.
943 Las figuras pueden tener referencias cruzadas en el documento mediante
944 referencia a su etiqueta.
945 Para hacerlo inserta una etiqueta en la leyenda usando el menú
947 Insertar\SpecialChar \menuseparator
951 \begin_inset Graphics
952 filename ../../images/label-insert.png
958 Ahora puedes referirte a la etiqueta usando el menú
960 Insertar\SpecialChar \menuseparator
968 \begin_inset Graphics
969 filename ../../images/dialog-show-new-inset_ref.png
975 Es importante emplear referencias a flotantes, mejor que alusiones vagas
976 como «la figura de arriba», porque como LaTeX recolocará los flotantes
977 en el documento final, podría no quedar «arriba» precisamente.
978 \begin_inset Newline newline
981 Las referencias se explican con detalle en la sección
986 \begin_inset CommandInset ref
988 reference "sec:Referencias-a-Flotantes"
995 \begin_layout Standard
996 Normalmente sólo se inserta una imagen en un flotante, pero es posible que
997 en alguna ocasión queramos poner dos imágenes cada una con su leyenda.
998 Esto se puede hacer insertando imágenes flotantes dentro de un flotante
1001 \begin_inset space ~
1005 \begin_inset CommandInset ref
1007 reference "fig:Dos-imágenes-distorsionadas"
1011 es un ejemplo de figura flotante con dos imágenes adosadas.
1012 También se pueden poner una sobre otra.
1014 \begin_inset space ~
1018 \begin_inset CommandInset ref
1020 reference "fig:Estructura-indefinible"
1025 \begin_inset space ~
1029 \begin_inset CommandInset ref
1031 reference "fig:Platypus"
1038 \begin_layout Standard
1039 \begin_inset Float figure
1044 \begin_layout Plain Layout
1045 \begin_inset space \hfill{}
1049 \begin_inset Float figure
1054 \begin_layout Plain Layout
1055 \begin_inset Caption
1057 \begin_layout Plain Layout
1058 \begin_inset CommandInset label
1060 name "fig:Estructura-indefinible"
1064 Estructura indefinible
1072 \begin_layout Plain Layout
1073 \begin_inset Graphics
1074 filename ../clipart/escher-lsd.eps
1085 \begin_inset space \hfill{}
1089 \begin_inset Float figure
1094 \begin_layout Plain Layout
1095 \begin_inset Caption
1097 \begin_layout Plain Layout
1098 \begin_inset CommandInset label
1112 \begin_layout Plain Layout
1113 \begin_inset Graphics
1114 filename ../clipart/platypus.eps
1126 \begin_inset space \hfill{}
1132 \begin_layout Plain Layout
1133 \begin_inset Caption
1135 \begin_layout Plain Layout
1136 \begin_inset CommandInset label
1138 name "fig:Dos-imágenes-distorsionadas"
1142 Dos imágenes distorsionadas.
1155 \begin_layout Section
1157 \begin_inset CommandInset label
1159 name "sec:Formatos-de-imagen"
1167 \begin_layout Plain Layout
1177 \begin_layout Plain Layout
1178 Figuras ! Formatos de imagen
1186 \begin_layout Standard
1187 Puedes insertar imágenes en cualquier formato.
1188 Pero como se explica en el apéndice
1189 \begin_inset space ~
1193 \begin_inset CommandInset ref
1195 reference "cha:Formatos-de-Archivos-de-Salida"
1199 , cada formato de archivo del documento de salida permite sólo ciertos formatos
1200 de archivo de imagen.
1201 Por eso LyX usa el programa
1205 en segundo plano para convertir imágenes al formato adecuado.
1206 Para aumentar el rendimiento evitando estas conversiones, puedes usar sólo
1207 los formatos de imagen admitidos en el formato de archivo de salida.
1208 Los formatos de salida se explican en el apéndice
1209 \begin_inset space ~
1213 \begin_inset CommandInset ref
1215 reference "cha:Formatos-de-Archivos-de-Salida"
1222 \begin_layout Standard
1223 Como en el caso de las fuentes, hay dos tipos de formatos de imagen:
1226 \begin_layout Description
1228 \begin_inset space ~
1232 \begin_inset space ~
1236 \begin_inset space ~
1240 \begin_inset space ~
1243 (Bitmap) formadas por mapas de puntos (píxeles), generalmente comprimidos.
1244 Por tanto no son totalmente escalables y se ven pixeladas a valores altos
1246 Formatos de imágenes en bitmap bien conocidos son «Graphics Interchange
1247 Format» (GIF, extensión «.gif»)
1251 \begin_layout Plain Layout
1256 \begin_layout Plain Layout
1267 \begin_layout Plain Layout
1279 , «Portable Network Graphics» (PNG, extensión «.png»)
1283 \begin_layout Plain Layout
1288 \begin_layout Plain Layout
1299 \begin_layout Plain Layout
1311 , y «Joint Photographic Experts Group» (JPG, extensión «.jpg» o «.jpeg»)
1315 \begin_layout Plain Layout
1320 \begin_layout Plain Layout
1331 \begin_layout Plain Layout
1346 \begin_layout Description
1348 \begin_inset space ~
1351 vectoriales se generan mediante una descripción de una serie de trazos (vectores
1352 ) y por tanto pueden escalarse a cualquier tamaño sin pérdidas.
1353 La posibilidad de escalado hace falta para crear presentaciones, porque
1354 éstas siempre son escaladas por el proyector.
1355 El escalado también es útil en los documentos en línea para permitir el
1357 \begin_inset Newline newline
1360 Formatos de imagen escalables pueden ser «Scalable Vector Graphics» (SVG,
1365 \begin_layout Plain Layout
1370 \begin_layout Plain Layout
1381 \begin_layout Plain Layout
1393 , «Encapsulated PostScript» (EPS, extensión «.eps»)
1397 \begin_layout Plain Layout
1402 \begin_layout Plain Layout
1413 \begin_layout Plain Layout
1425 , «Portable Document Format» (PDF, extensión «.pdf»)
1429 \begin_layout Plain Layout
1434 \begin_layout Plain Layout
1445 \begin_layout Plain Layout
1457 , y «Windows Metafile» (WMF, extensión «.wmf»)
1461 \begin_layout Plain Layout
1466 \begin_layout Plain Layout
1477 \begin_layout Plain Layout
1490 Escribimos «pueden ser» porque se puede convertir cualquier imagen bitmap
1491 a PDF o EPS y el resultado será todavía una imagen bitmap.
1492 En estos casos sólo se añade una cabecera con las propiedades de la imagen
1493 a la imagen original.
1497 \begin_layout Plain Layout
1498 En el caso de PDF, además se comprime la imagen original.
1503 Por ejemplo, los archivos PDF generados por
1507 son imágenes bitmap.
1510 \begin_layout Standard
1511 Normalmente no es posible convertir una imagen bitmap a escalable pero sí
1513 Sólo los formatos de imagen PDF y EPS pueden empotrarse directamente en
1514 archivos de salida PDF y PostScript, respectivamente.
1515 Las imágenes SVG y WMF son recalculadas a bitmaps cuando se genera el archivo
1516 de salida porque actualmente no hay convertidores adecuados WMF/SVG
1517 \begin_inset Formula $\to$
1523 \begin_layout Chapter
1525 \begin_inset CommandInset label
1535 \begin_layout Plain Layout
1544 \begin_layout Section
1549 \begin_layout Plain Layout
1550 Tablas ! Introducción
1558 \begin_layout Standard
1559 Puede insertarse una tabla mediante el botón
1560 \begin_inset Graphics
1561 filename ../../images/tabular-insert.png
1568 Insertar\SpecialChar \menuseparator
1572 El botón ofrece una selección gráfica: moviendo el puntero se puede definir
1573 el número de filas y de columnas de la tabla.
1574 Si usas el menú aparece un diálogo en el que se pide el número de filas
1577 \begin_inset Newline newline
1580 Por omisión, la tabla tiene líneas que enmarcan cada celda y la primera
1581 fila aparece separada por una línea doble: la línea inferior de la primera
1582 fila y la línea superior de la segunda fila.
1586 \begin_layout Standard
1588 \begin_inset Tabular
1589 <lyxtabular version="3" rows="4" columns="4">
1591 <column alignment="center" valignment="top" width="0">
1592 <column alignment="center" valignment="top" width="0pt">
1593 <column alignment="center" valignment="top" width="0in">
1594 <column alignment="center" valignment="top" width="0pt">
1596 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1599 \begin_layout Plain Layout
1605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1608 \begin_layout Plain Layout
1623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1626 \begin_layout Plain Layout
1632 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1635 \begin_layout Plain Layout
1643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1646 \begin_layout Plain Layout
1661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1664 \begin_layout Plain Layout
1670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1673 \begin_layout Plain Layout
1679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1682 \begin_layout Plain Layout
1690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1693 \begin_layout Plain Layout
1708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1711 \begin_layout Plain Layout
1717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1720 \begin_layout Plain Layout
1730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1733 \begin_layout Plain Layout
1741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1744 \begin_layout Plain Layout
1759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1762 \begin_layout Plain Layout
1768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1771 \begin_layout Plain Layout
1777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1780 \begin_layout Plain Layout
1794 \begin_layout Section
1799 \begin_layout Plain Layout
1808 \begin_layout Standard
1809 Una tabla se puede cambiar mediante el cuadro de diálogo que aparece al
1810 pinchar sobre ella con el botón derecho del ratón.
1811 Se pueden ajustar los parámetros de la celda y fila/columna en la que se
1812 encuentra el cursor.
1813 La mayoría de opciones también trabajan sobre una selección de celdas,
1814 de filas o de columnas.
1815 Observa que hay que diferenciar entre seleccionar una celda o seleccionar
1821 En el cuadro de diálogo aparecen las siguientes solapas:
1824 \begin_layout Description
1828 \begin_inset space ~
1832 \begin_inset space ~
1836 \begin_inset space ~
1841 Aquí puedes establecer la alineación horizontal y la anchura de la columna
1843 Una vez puesta la anchura puedes ajustar también el alineamiento vertical.
1844 Una anchura determinada permite tener saltos de línea y distintos párrafos
1845 de texto, ver sección
1846 \begin_inset space ~
1850 \begin_inset CommandInset ref
1852 reference "sub:Líneas-Múltiples-en"
1857 Si no estableces anchura, la columna será tan ancha como el contenido de
1859 \begin_inset Newline newline
1862 Además, puedes marcar una o más celdas de una fila como una celda multicolumna,
1864 \begin_inset space ~
1868 \begin_inset CommandInset ref
1870 reference "sub:Multicolumnas"
1875 \begin_inset Newline newline
1878 Las casillas de giro rotan la celda actual, una selección o toda la tabla
1879 90º en el sentido de las agujas del reloj.
1880 La rotación no se ve en LyX, sí en la salida.
1881 \begin_inset Newline newline
1885 \begin_inset Note Greyedout
1888 \begin_layout Plain Layout
1893 no todos los visores DVI pueden mostrar rotaciones.
1899 \begin_inset Newline newline
1902 También es posible introducir argumentos LaTeX necesarios para formatos
1903 especiales, véanse las secciones
1904 \begin_inset space ~
1908 \begin_inset CommandInset ref
1910 reference "sub:Cálculos-en-Multicolumnas"
1915 \begin_inset space ~
1919 \begin_inset CommandInset ref
1921 reference "sec:Tablas-Coloreadas"
1928 \begin_layout Description
1933 En esta solapa puedes añadir y quitar bordes para la fila/columna actual.
1936 \begin_layout Description
1940 \begin_inset space ~
1949 que pueden extenderse por varias páginas.
1951 \begin_inset space ~
1955 \begin_inset CommandInset ref
1957 reference "sec:Tablas-Largas"
1961 describe su uso en detalle.
1964 \begin_layout Standard
1965 Si la barra de herramientas de tabla está abierta, puedes mover el cursor
1966 con las teclas de flecha de celda en celda y la propiedad de la celda actual
1967 aparecerá inmediatamente en el diálogo.
1970 \begin_layout Section
1971 Barra de herramientas de tabla
1975 \begin_layout Plain Layout
1976 Tablas ! Barra de herramientas
1984 \begin_layout Standard
1985 La barra de herramientas de tabla es una alternativa al cuadro de diálogo
1986 para cambiar las tablas de manera más rápida.
1987 Normalmente debería aparecer en la parte inferior de la ventana principal
1988 de LyX cuando el cursor está dentro de una tabla.
1989 En cualquier momento se puede presentar esta barra pinchando con el botón
1990 derecho del ratón en cualquier punto de la barra principal de menú.
1993 \begin_layout Standard
1994 La barra de herramientas tiene los siguientes iconos:
1997 \begin_layout Labeling
1998 \labelwidthstring 00.00.0000
1999 \begin_inset Graphics
2000 filename ../../images/tabular-feature_append-row.png
2004 añade una fila bajo la celda actual o selección
2007 \begin_layout Labeling
2008 \labelwidthstring 00.00.0000
2009 \begin_inset Graphics
2010 filename ../../images/tabular-feature_append-column.png
2014 añade una columna a la derecha de la celda actual o selección
2017 \begin_layout Labeling
2018 \labelwidthstring 00.00.0000
2019 \begin_inset Graphics
2020 filename ../../images/tabular-feature_delete-row.png
2024 borra la fila actual o selección
2027 \begin_layout Labeling
2028 \labelwidthstring 00.00.0000
2029 \begin_inset Graphics
2030 filename ../../images/tabular-feature_delete-column.png
2034 borra la columna actual o selección
2037 \begin_layout Labeling
2038 \labelwidthstring 00.00.0000
2039 \begin_inset Graphics
2040 filename ../../images/tabular-feature_toggle-line-top.png
2044 añade una línea sobre la celda/fila actual o la selección
2047 \begin_layout Labeling
2048 \labelwidthstring 00.00.0000
2049 \begin_inset Graphics
2050 filename ../../images/tabular-feature_toggle-line-bottom.png
2054 añade una línea bajo la celda/fila actual o la selección
2057 \begin_layout Labeling
2058 \labelwidthstring 00.00.0000
2059 \begin_inset Graphics
2060 filename ../../images/tabular-feature_toggle-line-left.png
2064 añade una línea a la izquierda de la celda/fila actual o la selección
2067 \begin_layout Labeling
2068 \labelwidthstring 00.00.0000
2069 \begin_inset Graphics
2070 filename ../../images/tabular-feature_toggle-line-right.png
2074 añade una línea a la derecha de la celda/fila actual o la selección
2077 \begin_layout Labeling
2078 \labelwidthstring 00.00.0000
2079 \begin_inset Graphics
2080 filename ../../images/tabular-feature_set-all-lines.png
2084 añade líneas alrededor de la celda actual o seleccionadas (si la celda
2085 actual no es multicolumna esto afecta también a la fila y a la columna)
2088 \begin_layout Labeling
2089 \labelwidthstring 00.00.0000
2090 \begin_inset Graphics
2091 filename ../../images/tabular-feature_unset-all-lines.png
2095 borra todas las líneas de la celda o celdas seleccionadas (si la celda
2096 actual no es multicolumna esto afecta también a la fila y a la columna)
2099 \begin_layout Labeling
2100 \labelwidthstring 00.00.0000
2101 \begin_inset Graphics
2102 filename ../../images/tabular-feature_align-left.png
2106 alinea a la izquierda el contenido de la celda/columna
2109 \begin_layout Labeling
2110 \labelwidthstring 00.00.0000
2111 \begin_inset Graphics
2112 filename ../../images/tabular-feature_align-center.png
2116 centra el contenido de la celda/columna horizontalmente
2119 \begin_layout Labeling
2120 \labelwidthstring 00.00.0000
2121 \begin_inset Graphics
2122 filename ../../images/tabular-feature_align-right.png
2126 alinea a la derecha el contenido de la celda/columna
2129 \begin_layout Labeling
2130 \labelwidthstring 00.00.0000
2131 \begin_inset Graphics
2132 filename ../../images/tabular-feature_valign-top.png
2136 alinea arriba el contenido de la celda
2139 \begin_layout Labeling
2140 \labelwidthstring 00.00.0000
2141 \begin_inset Graphics
2142 filename ../../images/tabular-feature_valign-middle.png
2146 centra verticalmente el contenido de la celda
2149 \begin_layout Labeling
2150 \labelwidthstring 00.00.0000
2151 \begin_inset Graphics
2152 filename ../../images/tabular-feature_valign-bottom.png
2156 alinea abajo el contenido de la celda
2159 \begin_layout Labeling
2160 \labelwidthstring 00.00.0000
2161 \begin_inset Graphics
2162 filename ../../images/tabular-feature_set-rotate-cell.png
2166 gira la celda o selección 90° como las agujas de reloj
2169 \begin_layout Labeling
2170 \labelwidthstring 00.00.0000
2171 \begin_inset Graphics
2172 filename ../../images/tabular-feature_set-rotate-tabular.png
2176 gira toda la tabla 90° como agujas del reloj
2179 \begin_layout Labeling
2180 \labelwidthstring 00.00.0000
2181 \begin_inset Graphics
2182 filename ../../images/tabular-feature_multicolumn.png
2186 establece la celda actual o selección como multicolumna
2189 \begin_layout Standard
2190 \begin_inset Note Greyedout
2193 \begin_layout Plain Layout
2198 En la salida se emplea la alineación vertical de la primera celda de una
2199 fila para todas las celdas restantes de la fila.
2207 \begin_layout Section
2212 \begin_layout Plain Layout
2221 \begin_layout Standard
2222 Además del diálogo y la barra de herramientas, el menú
2224 Editar\SpecialChar \menuseparator
2227 permite añadir y borrar bordes para la fila/columna actual y establecer
2228 la selección como multicolumna.
2229 El menú sólo está disponible si el cursor está en la tabla.
2232 \begin_layout Section
2234 \begin_inset CommandInset label
2236 name "sec:Tablas-Flotantes"
2244 \begin_layout Plain Layout
2254 \begin_layout Plain Layout
2263 \begin_layout Standard
2264 Para una explicación general sobre flotantes, echa un vistazo a la sección
2265 \begin_inset space ~
2269 \begin_inset CommandInset ref
2271 reference "sec:Introducción-Flotantes"
2278 \begin_layout Standard
2279 \begin_inset Float table
2285 \begin_layout Plain Layout
2286 \begin_inset Caption
2288 \begin_layout Plain Layout
2289 \begin_inset CommandInset label
2291 name "tab:una tabla flotante"
2303 \begin_layout Plain Layout
2305 \begin_inset Tabular
2306 <lyxtabular version="3" rows="3" columns="3">
2308 <column alignment="center" valignment="top" width="0pt">
2309 <column alignment="center" valignment="top" width="0pt">
2310 <column alignment="center" valignment="top" width="0pt">
2312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2315 \begin_layout Plain Layout
2330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2333 \begin_layout Plain Layout
2348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2351 \begin_layout Plain Layout
2368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2371 \begin_layout Plain Layout
2386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2389 \begin_layout Plain Layout
2404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2407 \begin_layout Plain Layout
2424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2427 \begin_layout Plain Layout
2437 \begin_inset Formula $\int x^{2}dx$
2445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2448 \begin_layout Plain Layout
2458 \begin_inset Formula $\left[\begin{array}{cc}
2460 c & d\end{array}\right]$
2468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2471 \begin_layout Plain Layout
2481 \begin_inset Formula $1+1=2$
2502 \begin_layout Standard
2503 Las tablas flotantes pueden insertarse con el menú
2505 Insertar\SpecialChar \menuseparator
2506 Flotante\SpecialChar \menuseparator
2510 \begin_inset Graphics
2511 filename ../../images/float-insert_table.png
2519 \begin_layout Standard
2520 El flotante se muestra como un cuadro desplegable con la etiqueta «Tabla
2521 \begin_inset space ~
2524 #:» (# es el número actual).
2525 El texto que sigue a dicha etiqueta es la leyenda de la tabla.
2526 Para insertar una tabla en el flotante se sitúa el cursor al final del
2527 texto del encabezado y se pulsa
2532 La leyenda se imprime encima de la tabla.
2535 \begin_layout Standard
2537 \begin_inset space ~
2541 \begin_inset CommandInset ref
2543 reference "tab:una tabla flotante"
2547 es un ejemplo de tabla flotante.
2550 \begin_layout Standard
2551 Lo habitual es poner la leyenda sobre la tabla, lo que desafortunadamente
2552 no es soportado en las clases estándar de LaTeX.
2553 Esto significa que si estás usando las clases de documento
2569 no habrá espacio entre la leyenda y la tabla.
2570 Para añadir un espacio entre ellos hay que poner en el preámbulo LaTeX
2571 del documento la siguiente opción al comando del paquete LaTeX
2579 \begin_layout Plain Layout
2580 LaTeX-paquetes ! caption
2589 \begin_layout Plain Layout
2590 Para más información ve a la sección
2591 \begin_inset space ~
2595 \begin_inset CommandInset ref
2597 reference "sec:Colocación-de-leyendas"
2609 \begin_layout Standard
2615 \begin_layout Standard
2616 El formato de la leyenda se puede controlar mediante el paquete de LaTeX
2621 como se describe en la sección
2622 \begin_inset space ~
2626 \begin_inset CommandInset ref
2628 reference "sec:Formato-de-leyendas"
2636 \begin_layout Standard
2640 \begin_layout Plain Layout
2641 Referencias ! a tablas
2646 Las tablas pueden tener referencias cruzadas en el texto referenciando su
2648 Para hacerlo inserta una etiqueta en la leyenda con el menú
2650 Insertar\SpecialChar \menuseparator
2654 \begin_inset Graphics
2655 filename ../../images/label-insert.png
2661 Ahora puedes referenciar la etiqueta con el menú
2663 Insertar\SpecialChar \menuseparator
2665 \begin_inset space ~
2671 \begin_inset Graphics
2672 filename ../../images/dialog-show-new-inset_ref.png
2678 \begin_inset Newline newline
2681 Las referencias se explican con detalle en la sección
2682 \begin_inset space ~
2686 \begin_inset CommandInset ref
2688 reference "sec:Referencias-a-Flotantes"
2695 \begin_layout Section
2697 \begin_inset CommandInset label
2699 name "sec:Tablas-Largas"
2707 \begin_layout Plain Layout
2717 \begin_layout Plain Layout
2726 \begin_layout Standard
2727 Si la tabla es demasiado larga para una página, puedes usar la opción
2730 \begin_inset space ~
2734 \begin_inset space ~
2742 \begin_inset space ~
2747 del diálogo de tablas, para repartir automáticamente la tabla en varias
2749 Al hacerlo se habilitan diversos botones opcionales en los que puedes definir:
2752 \begin_layout Description
2757 La fila actual y todas las de arriba, que no tienen ninguna opción especial
2758 definida, se definen como filas de encabezado para todas las páginas de
2759 la tabla, excepto para la primera página si
2762 \begin_inset space ~
2768 Este se denomina encabezado principal.
2771 \begin_layout Description
2775 \begin_inset space ~
2780 La fila actual y superiores, que no tienen ninguna opción especial definida,
2781 se definen como filas cabeceras de la primera página de la tabla.
2784 \begin_layout Description
2789 La fila actual y todas las siguientes, que no tienen ninguna opción especial
2790 definida, se definen como filas de pie de todas las páginas de la tabla,
2791 excepto para la última página si se define
2794 \begin_inset space ~
2800 \begin_layout Description
2804 \begin_inset space ~
2809 a fila actual y siguientes, que no tienen ninguna opción especial definida,
2810 se definen como filas de pie de la última página de la tabla.
2813 \begin_layout Standard
2814 También se puede especificar en qué fila se ha de cortar la tabla.
2815 Si se establece más de una opción en la misma fila, habría que tener en
2816 cuenta que sólo la primera de ellas se usa en la fila dada.
2817 Las otras quedarán definidas como
2822 En este contexto, primera significa primero en este orden:
2825 \begin_inset space ~
2833 \begin_inset space ~
2839 La siguiente tabla muestra cómo funciona:
2842 \begin_layout Standard
2846 \begin_layout Standard
2848 \begin_inset Tabular
2849 <lyxtabular version="3" rows="69" columns="3">
2850 <features islongtable="true">
2851 <column alignment="left" valignment="top" width="0cm">
2852 <column alignment="left" valignment="top" width="0pt">
2853 <column alignment="right" valignment="top" width="0pt">
2854 <row endfirsthead="true">
2855 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2858 \begin_layout Plain Layout
2861 Ejemplo de lista telefónica (ignore los nombres)
2866 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2869 \begin_layout Plain Layout
2875 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2878 \begin_layout Plain Layout
2885 <row endfirsthead="true">
2886 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2889 \begin_layout Plain Layout
2897 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2900 \begin_layout Plain Layout
2906 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2909 \begin_layout Plain Layout
2918 <row endhead="true">
2919 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2922 \begin_layout Plain Layout
2925 Ejemplo de lista telefónica
2930 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2933 \begin_layout Plain Layout
2939 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2942 \begin_layout Plain Layout
2949 <row endhead="true">
2950 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2953 \begin_layout Plain Layout
2961 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2964 \begin_layout Plain Layout
2970 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2973 \begin_layout Plain Layout
2982 <row endfoot="true">
2983 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2986 \begin_layout Plain Layout
2987 continúa en la página siguiente
2992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2995 \begin_layout Plain Layout
3001 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3004 \begin_layout Plain Layout
3012 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3015 \begin_layout Plain Layout
3023 <cell alignment="center" valignment="top" usebox="none">
3026 \begin_layout Plain Layout
3032 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3035 \begin_layout Plain Layout
3043 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3046 \begin_layout Plain Layout
3054 <cell alignment="center" valignment="top" usebox="none">
3057 \begin_layout Plain Layout
3063 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3066 \begin_layout Plain Layout
3074 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3077 \begin_layout Plain Layout
3085 <cell alignment="center" valignment="top" usebox="none">
3088 \begin_layout Plain Layout
3094 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3097 \begin_layout Plain Layout
3105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3108 \begin_layout Plain Layout
3116 <cell alignment="center" valignment="top" usebox="none">
3119 \begin_layout Plain Layout
3125 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3128 \begin_layout Plain Layout
3136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3139 \begin_layout Plain Layout
3147 <cell alignment="center" valignment="top" usebox="none">
3150 \begin_layout Plain Layout
3156 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3159 \begin_layout Plain Layout
3167 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3170 \begin_layout Plain Layout
3178 <cell alignment="center" valignment="top" usebox="none">
3181 \begin_layout Plain Layout
3187 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3190 \begin_layout Plain Layout
3198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3201 \begin_layout Plain Layout
3209 <cell alignment="center" valignment="top" usebox="none">
3212 \begin_layout Plain Layout
3218 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3221 \begin_layout Plain Layout
3229 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3232 \begin_layout Plain Layout
3240 <cell alignment="center" valignment="top" usebox="none">
3243 \begin_layout Plain Layout
3249 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3252 \begin_layout Plain Layout
3260 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3263 \begin_layout Plain Layout
3271 <cell alignment="center" valignment="top" usebox="none">
3274 \begin_layout Plain Layout
3280 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3283 \begin_layout Plain Layout
3291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3294 \begin_layout Plain Layout
3302 <cell alignment="center" valignment="top" usebox="none">
3305 \begin_layout Plain Layout
3311 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3314 \begin_layout Plain Layout
3322 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3325 \begin_layout Plain Layout
3333 <cell alignment="center" valignment="top" usebox="none">
3336 \begin_layout Plain Layout
3342 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3345 \begin_layout Plain Layout
3353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3356 \begin_layout Plain Layout
3364 <cell alignment="center" valignment="top" usebox="none">
3367 \begin_layout Plain Layout
3373 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3376 \begin_layout Plain Layout
3384 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3387 \begin_layout Plain Layout
3395 <cell alignment="center" valignment="top" usebox="none">
3398 \begin_layout Plain Layout
3404 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3407 \begin_layout Plain Layout
3415 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3418 \begin_layout Plain Layout
3426 <cell alignment="center" valignment="top" usebox="none">
3429 \begin_layout Plain Layout
3435 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3438 \begin_layout Plain Layout
3446 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3449 \begin_layout Plain Layout
3457 <cell alignment="center" valignment="top" usebox="none">
3460 \begin_layout Plain Layout
3466 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3469 \begin_layout Plain Layout
3477 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3480 \begin_layout Plain Layout
3488 <cell alignment="center" valignment="top" usebox="none">
3491 \begin_layout Plain Layout
3497 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3500 \begin_layout Plain Layout
3508 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3511 \begin_layout Plain Layout
3519 <cell alignment="center" valignment="top" usebox="none">
3522 \begin_layout Plain Layout
3528 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3531 \begin_layout Plain Layout
3539 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3542 \begin_layout Plain Layout
3550 <cell alignment="center" valignment="top" usebox="none">
3553 \begin_layout Plain Layout
3559 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3562 \begin_layout Plain Layout
3570 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3573 \begin_layout Plain Layout
3581 <cell alignment="center" valignment="top" usebox="none">
3584 \begin_layout Plain Layout
3590 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3593 \begin_layout Plain Layout
3601 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3604 \begin_layout Plain Layout
3612 <cell alignment="center" valignment="top" usebox="none">
3615 \begin_layout Plain Layout
3621 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3624 \begin_layout Plain Layout
3632 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3635 \begin_layout Plain Layout
3643 <cell alignment="center" valignment="top" usebox="none">
3646 \begin_layout Plain Layout
3652 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3655 \begin_layout Plain Layout
3663 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3666 \begin_layout Plain Layout
3674 <cell alignment="center" valignment="top" usebox="none">
3677 \begin_layout Plain Layout
3683 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3686 \begin_layout Plain Layout
3694 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3697 \begin_layout Plain Layout
3705 <cell alignment="center" valignment="top" usebox="none">
3708 \begin_layout Plain Layout
3714 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3717 \begin_layout Plain Layout
3725 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3728 \begin_layout Plain Layout
3736 <cell alignment="center" valignment="top" usebox="none">
3739 \begin_layout Plain Layout
3745 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3748 \begin_layout Plain Layout
3756 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3759 \begin_layout Plain Layout
3767 <cell alignment="center" valignment="top" usebox="none">
3770 \begin_layout Plain Layout
3776 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3779 \begin_layout Plain Layout
3787 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3790 \begin_layout Plain Layout
3798 <cell alignment="center" valignment="top" usebox="none">
3801 \begin_layout Plain Layout
3807 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3810 \begin_layout Plain Layout
3818 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3821 \begin_layout Plain Layout
3829 <cell alignment="center" valignment="top" usebox="none">
3832 \begin_layout Plain Layout
3838 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3841 \begin_layout Plain Layout
3849 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3852 \begin_layout Plain Layout
3860 <cell alignment="center" valignment="top" usebox="none">
3863 \begin_layout Plain Layout
3869 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3872 \begin_layout Plain Layout
3880 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3883 \begin_layout Plain Layout
3891 <cell alignment="center" valignment="top" usebox="none">
3894 \begin_layout Plain Layout
3900 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3903 \begin_layout Plain Layout
3911 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3914 \begin_layout Plain Layout
3922 <cell alignment="center" valignment="top" usebox="none">
3925 \begin_layout Plain Layout
3931 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3934 \begin_layout Plain Layout
3942 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3945 \begin_layout Plain Layout
3953 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
3956 \begin_layout Plain Layout
3962 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3965 \begin_layout Plain Layout
3973 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3976 \begin_layout Plain Layout
3982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3985 \begin_layout Plain Layout
3991 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3994 \begin_layout Plain Layout
4002 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4005 \begin_layout Plain Layout
4013 <cell alignment="center" valignment="top" usebox="none">
4016 \begin_layout Plain Layout
4022 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4025 \begin_layout Plain Layout
4033 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4036 \begin_layout Plain Layout
4044 <cell alignment="center" valignment="top" usebox="none">
4047 \begin_layout Plain Layout
4053 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4056 \begin_layout Plain Layout
4064 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4067 \begin_layout Plain Layout
4075 <cell alignment="center" valignment="top" usebox="none">
4078 \begin_layout Plain Layout
4084 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4087 \begin_layout Plain Layout
4095 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4098 \begin_layout Plain Layout
4106 <cell alignment="center" valignment="top" usebox="none">
4109 \begin_layout Plain Layout
4115 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4118 \begin_layout Plain Layout
4126 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4129 \begin_layout Plain Layout
4137 <cell alignment="center" valignment="top" usebox="none">
4140 \begin_layout Plain Layout
4146 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4149 \begin_layout Plain Layout
4157 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4160 \begin_layout Plain Layout
4168 <cell alignment="center" valignment="top" usebox="none">
4171 \begin_layout Plain Layout
4177 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4180 \begin_layout Plain Layout
4188 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4191 \begin_layout Plain Layout
4199 <cell alignment="center" valignment="top" usebox="none">
4202 \begin_layout Plain Layout
4208 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4211 \begin_layout Plain Layout
4219 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4222 \begin_layout Plain Layout
4230 <cell alignment="center" valignment="top" usebox="none">
4233 \begin_layout Plain Layout
4239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4242 \begin_layout Plain Layout
4250 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4253 \begin_layout Plain Layout
4261 <cell alignment="center" valignment="top" usebox="none">
4264 \begin_layout Plain Layout
4270 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4273 \begin_layout Plain Layout
4281 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4284 \begin_layout Plain Layout
4292 <cell alignment="center" valignment="top" usebox="none">
4295 \begin_layout Plain Layout
4301 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4304 \begin_layout Plain Layout
4312 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4315 \begin_layout Plain Layout
4323 <cell alignment="center" valignment="top" usebox="none">
4326 \begin_layout Plain Layout
4332 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4335 \begin_layout Plain Layout
4343 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4346 \begin_layout Plain Layout
4354 <cell alignment="center" valignment="top" usebox="none">
4357 \begin_layout Plain Layout
4363 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4366 \begin_layout Plain Layout
4374 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4377 \begin_layout Plain Layout
4385 <cell alignment="center" valignment="top" usebox="none">
4388 \begin_layout Plain Layout
4394 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4397 \begin_layout Plain Layout
4405 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4408 \begin_layout Plain Layout
4416 <cell alignment="center" valignment="top" usebox="none">
4419 \begin_layout Plain Layout
4425 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4428 \begin_layout Plain Layout
4436 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4439 \begin_layout Plain Layout
4447 <cell alignment="center" valignment="top" usebox="none">
4450 \begin_layout Plain Layout
4456 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4459 \begin_layout Plain Layout
4467 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4470 \begin_layout Plain Layout
4478 <cell alignment="center" valignment="top" usebox="none">
4481 \begin_layout Plain Layout
4487 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4490 \begin_layout Plain Layout
4498 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4501 \begin_layout Plain Layout
4509 <cell alignment="center" valignment="top" usebox="none">
4512 \begin_layout Plain Layout
4518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4521 \begin_layout Plain Layout
4529 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4532 \begin_layout Plain Layout
4540 <cell alignment="center" valignment="top" usebox="none">
4543 \begin_layout Plain Layout
4549 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4552 \begin_layout Plain Layout
4560 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4563 \begin_layout Plain Layout
4571 <cell alignment="center" valignment="top" usebox="none">
4574 \begin_layout Plain Layout
4580 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4583 \begin_layout Plain Layout
4591 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4594 \begin_layout Plain Layout
4602 <cell alignment="center" valignment="top" usebox="none">
4605 \begin_layout Plain Layout
4611 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4614 \begin_layout Plain Layout
4622 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4625 \begin_layout Plain Layout
4633 <cell alignment="center" valignment="top" usebox="none">
4636 \begin_layout Plain Layout
4642 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4645 \begin_layout Plain Layout
4653 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4656 \begin_layout Plain Layout
4664 <cell alignment="center" valignment="top" usebox="none">
4667 \begin_layout Plain Layout
4673 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4676 \begin_layout Plain Layout
4684 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4687 \begin_layout Plain Layout
4695 <cell alignment="center" valignment="top" usebox="none">
4698 \begin_layout Plain Layout
4704 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4707 \begin_layout Plain Layout
4715 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4718 \begin_layout Plain Layout
4726 <cell alignment="center" valignment="top" usebox="none">
4729 \begin_layout Plain Layout
4735 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4738 \begin_layout Plain Layout
4746 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4749 \begin_layout Plain Layout
4757 <cell alignment="center" valignment="top" usebox="none">
4760 \begin_layout Plain Layout
4766 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4769 \begin_layout Plain Layout
4777 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4780 \begin_layout Plain Layout
4788 <cell alignment="center" valignment="top" usebox="none">
4791 \begin_layout Plain Layout
4797 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4800 \begin_layout Plain Layout
4808 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4811 \begin_layout Plain Layout
4819 <cell alignment="center" valignment="top" usebox="none">
4822 \begin_layout Plain Layout
4828 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4831 \begin_layout Plain Layout
4839 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4842 \begin_layout Plain Layout
4850 <cell alignment="center" valignment="top" usebox="none">
4853 \begin_layout Plain Layout
4859 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4862 \begin_layout Plain Layout
4870 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4873 \begin_layout Plain Layout
4881 <cell alignment="center" valignment="top" usebox="none">
4884 \begin_layout Plain Layout
4890 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4893 \begin_layout Plain Layout
4901 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4904 \begin_layout Plain Layout
4912 <cell alignment="center" valignment="top" usebox="none">
4915 \begin_layout Plain Layout
4921 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4924 \begin_layout Plain Layout
4932 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4935 \begin_layout Plain Layout
4943 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4946 \begin_layout Plain Layout
4952 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4955 \begin_layout Plain Layout
4962 <row endlastfoot="true">
4963 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4966 \begin_layout Plain Layout
4972 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4975 \begin_layout Plain Layout
4981 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4984 \begin_layout Plain Layout
4999 \begin_layout Plain Layout
5003 addtocounter{table}{-1}
5009 \begin_inset Note Note
5012 \begin_layout Plain Layout
5013 Para comprender el uso de este comando, lee al final de la sección
5014 \begin_inset space ~
5018 \begin_inset CommandInset ref
5020 reference "sub:Leyendas-en-Tablas"
5024 la primera nota resaltada en gris.
5033 \begin_layout Subsection
5034 Notas al pie en tablas largas
5035 \begin_inset CommandInset label
5037 name "sub:Notas-al-pie-en-Tablas-Largas"
5045 \begin_layout Plain Layout
5046 Tablas largas ! Notas al pie
5054 \begin_layout Standard
5055 Se pueden insertar notas al pie en cada celda de una tabla larga.
5056 Las notas se muestran en la parte inferior de la página en la que esté
5057 la celda con la nota.
5059 \begin_inset space ~
5063 \begin_inset CommandInset ref
5065 reference "tab:DifLeyendas"
5069 tiene un ejemplo de nota al pie.
5072 \begin_layout Subsection
5073 Alineación de tablas largas
5077 \begin_layout Plain Layout
5078 Tablas largas ! Alineación
5086 \begin_layout Standard
5087 Las tablas largas se centran por omisión.
5088 Al contrario de la alineación de filas y columnas, la alineación de una
5089 tabla no se puede cambiar por ahora en el diálogo de tablas.
5090 Para cambiar la alineación de tablas largas debes cambiar el valor de las
5103 insertando la línea siguiente en código TeX antes de la correspondiente
5107 \begin_layout Standard
5117 \begin_layout Standard
5118 donde el valor puede tener cualquiera de las unidades listadas en el cuadro
5119 \begin_inset space ~
5123 \begin_inset CommandInset ref
5125 reference "tab:Unidades"
5136 controla la distancia entre el borde izquierdo de la página y la tabla.
5143 la distancia desde el lado derecho.
5144 El valor predeterminado para ambas longitudes es
5150 , que en este caso es lo mismo que un relleno horizontal en LyX.
5153 \begin_layout Standard
5154 La siguiente tabla larga se ha alineado a la izquierda poniendo
5164 \begin_layout Plain Layout
5178 \begin_layout Standard
5179 \begin_inset Tabular
5180 <lyxtabular version="3" rows="5" columns="5">
5181 <features islongtable="true">
5182 <column alignment="center" valignment="top" width="0">
5183 <column alignment="center" valignment="top" width="0">
5184 <column alignment="center" valignment="top" width="0">
5185 <column alignment="center" valignment="top" width="0">
5186 <column alignment="center" valignment="top" width="0">
5188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5191 \begin_layout Plain Layout
5197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5200 \begin_layout Plain Layout
5206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5209 \begin_layout Plain Layout
5215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5218 \begin_layout Plain Layout
5224 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5227 \begin_layout Plain Layout
5235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5238 \begin_layout Plain Layout
5244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5247 \begin_layout Plain Layout
5253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5256 \begin_layout Plain Layout
5262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5265 \begin_layout Plain Layout
5271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5274 \begin_layout Plain Layout
5282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5285 \begin_layout Plain Layout
5291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5294 \begin_layout Plain Layout
5300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5303 \begin_layout Plain Layout
5309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5312 \begin_layout Plain Layout
5318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5321 \begin_layout Plain Layout
5329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5332 \begin_layout Plain Layout
5338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5341 \begin_layout Plain Layout
5347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5350 \begin_layout Plain Layout
5356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5359 \begin_layout Plain Layout
5365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5368 \begin_layout Plain Layout
5376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5379 \begin_layout Plain Layout
5385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5388 \begin_layout Plain Layout
5394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5397 \begin_layout Plain Layout
5403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5406 \begin_layout Plain Layout
5412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5415 \begin_layout Plain Layout
5430 \begin_layout Plain Layout
5446 \begin_layout Subsection
5447 Leyendas en tablas largas
5451 \begin_layout Plain Layout
5452 Tablas largas ! Leyendas
5458 \begin_inset CommandInset label
5460 name "sub:Leyendas-en-Tablas"
5467 \begin_layout Standard
5468 Una tabla larga no se puede poner flotante porque los flotantes sólo pueden
5469 estar en una página, aunque el entorno leyendas de flotantes sí puede usarse
5473 \begin_layout Standard
5474 LyX todavía no soporta totalmente leyendas en tablas largas, de modo que
5475 hay que crearlos de la sigiente forma:
5478 \begin_layout Enumerate
5479 Crea una tabla larga.
5482 \begin_layout Enumerate
5483 Marca la primera fila y deshabilita su línea superior.
5486 \begin_layout Enumerate
5487 Inserta una leyenda con el menú
5489 Insertar\SpecialChar \menuseparator
5492 en la primera celda.
5493 \begin_inset Newline newline
5496 También puedes añadir un
5503 \begin_layout Enumerate
5512 » en código TeX detrás de la leyenda.
5515 \begin_layout Standard
5516 En la Lista de tablas aparecerá el título breve en vez del título completo.
5525 » detrás de la leyenda elimina las líneas verticales entre las siguientes
5527 Ahora, la primera fila de la tabla es sólo una fila postiza para la leyenda,
5528 la tabla real comienza en la segunda fila.
5531 \begin_layout Standard
5532 He aquí una pequeña tabla larga para mostrar cómo funciona:
5535 \begin_layout Standard
5536 \begin_inset Tabular
5537 <lyxtabular version="3" rows="6" columns="5">
5538 <features islongtable="true">
5539 <column alignment="center" valignment="top" width="0">
5540 <column alignment="center" valignment="top" width="0">
5541 <column alignment="center" valignment="top" width="0">
5542 <column alignment="center" valignment="top" width="0">
5543 <column alignment="center" valignment="top" width="0">
5544 <row caption="true">
5545 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5548 \begin_layout Plain Layout
5549 \begin_inset Caption
5551 \begin_layout Plain Layout
5552 Tabla larga con leyenda
5556 \begin_layout Plain Layout
5572 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5575 \begin_layout Plain Layout
5581 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5584 \begin_layout Plain Layout
5590 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5593 \begin_layout Plain Layout
5599 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5602 \begin_layout Plain Layout
5610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5613 \begin_layout Plain Layout
5619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5622 \begin_layout Plain Layout
5628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5631 \begin_layout Plain Layout
5637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5640 \begin_layout Plain Layout
5646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5649 \begin_layout Plain Layout
5657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_layout Plain Layout
5666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5669 \begin_layout Plain Layout
5675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5678 \begin_layout Plain Layout
5684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5687 \begin_layout Plain Layout
5693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5696 \begin_layout Plain Layout
5704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5707 \begin_layout Plain Layout
5713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5716 \begin_layout Plain Layout
5722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5725 \begin_layout Plain Layout
5731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5734 \begin_layout Plain Layout
5740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5743 \begin_layout Plain Layout
5751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5754 \begin_layout Plain Layout
5760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5763 \begin_layout Plain Layout
5769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5772 \begin_layout Plain Layout
5778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5781 \begin_layout Plain Layout
5787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5790 \begin_layout Plain Layout
5798 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5801 \begin_layout Plain Layout
5807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5810 \begin_layout Plain Layout
5816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5819 \begin_layout Plain Layout
5825 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5828 \begin_layout Plain Layout
5834 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5837 \begin_layout Plain Layout
5851 \begin_layout Standard
5852 \begin_inset VSpace medskip
5856 \begin_inset Note Greyedout
5859 \begin_layout Plain Layout
5864 : El número de la tabla se incrementa para cada tabla larga, aunque no pongas
5865 leyenda en alguna de ellas.
5866 Por esto podría suceder que, p.
5867 \begin_inset space \thinspace{}
5871 \begin_inset space ~
5875 \begin_inset space ~
5878 2.1 en la lista de tablas debido a que hay dos tablas largas sin leyenda.
5879 Para evitarlo, añade detrás de cada tabla larga sin leyenda este comando
5883 \begin_layout Plain Layout
5888 addtocounter{table}{-1}
5896 \begin_layout Standard
5897 \begin_inset Note Greyedout
5900 \begin_layout Plain Layout
5905 Si utilizas el paquete LaTeX
5913 \begin_layout Plain Layout
5914 LaTeX-paquetes ! hyperref
5919 para enlazar referencias cruzadas en la salida, los enlaces a tablas largas
5920 llevan siempre al principio del documento.
5928 \begin_layout Subsubsection
5929 Referencias a tablas largas
5933 \begin_layout Plain Layout
5934 Tablas largas ! Referencias a
5942 \begin_layout Standard
5943 \begin_inset Tabular
5944 <lyxtabular version="3" rows="6" columns="5">
5945 <features islongtable="true">
5946 <column alignment="center" valignment="top" width="0">
5947 <column alignment="center" valignment="top" width="0">
5948 <column alignment="center" valignment="top" width="0">
5949 <column alignment="center" valignment="top" width="0">
5950 <column alignment="center" valignment="top" width="0">
5951 <row caption="true">
5952 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
5955 \begin_layout Plain Layout
5956 \begin_inset Caption
5958 \begin_layout Plain Layout
5959 Tabla larga referenciada
5960 \begin_inset CommandInset label
5962 name "tab:RefEjemplo"
5976 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5979 \begin_layout Plain Layout
5985 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5988 \begin_layout Plain Layout
5994 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
5997 \begin_layout Plain Layout
6003 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6006 \begin_layout Plain Layout
6014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6017 \begin_layout Plain Layout
6023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6026 \begin_layout Plain Layout
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6035 \begin_layout Plain Layout
6041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6044 \begin_layout Plain Layout
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6053 \begin_layout Plain Layout
6061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6064 \begin_layout Plain Layout
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6073 \begin_layout Plain Layout
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6082 \begin_layout Plain Layout
6088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6091 \begin_layout Plain Layout
6097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6100 \begin_layout Plain Layout
6108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6111 \begin_layout Plain Layout
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6120 \begin_layout Plain Layout
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6129 \begin_layout Plain Layout
6135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6138 \begin_layout Plain Layout
6144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6147 \begin_layout Plain Layout
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6158 \begin_layout Plain Layout
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6167 \begin_layout Plain Layout
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6176 \begin_layout Plain Layout
6182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6185 \begin_layout Plain Layout
6191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6194 \begin_layout Plain Layout
6202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6205 \begin_layout Plain Layout
6211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6214 \begin_layout Plain Layout
6220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6223 \begin_layout Plain Layout
6229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6232 \begin_layout Plain Layout
6238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6241 \begin_layout Plain Layout
6255 \begin_layout Standard
6256 Para referenciar una tabla larga, inserta una etiqueta en la leyenda.
6257 Observa que tienes que añadir el prefijo «
6261 :» manualmente en el campo de etiqueta.
6265 \begin_layout Standard
6266 Esto es una referencia a la tabla
6267 \begin_inset space ~
6271 \begin_inset CommandInset ref
6273 reference "tab:RefEjemplo"
6280 \begin_layout Standard
6281 El formato de la leyenda puede configurarse junto con todos las demás leyendas
6282 del documento mediante el paquete LaTeX
6290 \begin_layout Plain Layout
6291 LaTeX-paquetes ! caption
6297 \begin_inset space ~
6301 \begin_inset CommandInset ref
6303 reference "sec:Formato-de-leyendas"
6310 \begin_layout Subsubsection
6311 Anchura de la leyenda
6315 \begin_layout Plain Layout
6316 Tablas largas ! Anchura de la leyenda
6324 \begin_layout Standard
6325 La anchura máxima se define por la longitud
6333 \begin_inset space \thinspace{}
6337 \begin_inset space ~
6341 Para cambiarla añade el siguiente comando al preámbulo o en código TeX
6342 en el documento antes de la tabla larga a la que afecta
6345 \begin_layout Standard
6352 LTcapwidth}{anchura}
6355 \begin_layout Standard
6356 donde la anchura puede ser una de las unidades listadas en el apéndice
6357 \begin_inset space ~
6361 \begin_inset CommandInset ref
6363 reference "cha:Unidades-disponibles-en"
6370 \begin_layout Standard
6371 Las tablas siguientes muestran la diferencia:
6374 \begin_layout Standard
6375 \begin_inset Tabular
6376 <lyxtabular version="3" rows="6" columns="5">
6377 <features islongtable="true">
6378 <column alignment="center" valignment="top" width="0">
6379 <column alignment="center" valignment="top" width="0">
6380 <column alignment="center" valignment="top" width="0">
6381 <column alignment="center" valignment="top" width="0">
6382 <column alignment="center" valignment="top" width="0">
6383 <row caption="true">
6384 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6387 \begin_layout Plain Layout
6388 \begin_inset Caption
6390 \begin_layout Plain Layout
6391 Leyenda larga completa con anchura predeterminada leyenda larga completa
6392 con anchura predeterminada
6396 \begin_layout Plain Layout
6397 Leyenda con anchura predeterminada
6412 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6415 \begin_layout Plain Layout
6421 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6424 \begin_layout Plain Layout
6430 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6433 \begin_layout Plain Layout
6439 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6442 \begin_layout Plain Layout
6450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6453 \begin_layout Plain Layout
6459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6462 \begin_layout Plain Layout
6468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6471 \begin_layout Plain Layout
6477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6480 \begin_layout Plain Layout
6486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6489 \begin_layout Plain Layout
6497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6500 \begin_layout Plain Layout
6506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6509 \begin_layout Plain Layout
6515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6518 \begin_layout Plain Layout
6524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6527 \begin_layout Plain Layout
6533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6536 \begin_layout Plain Layout
6544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6547 \begin_layout Plain Layout
6553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6556 \begin_layout Plain Layout
6562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6565 \begin_layout Plain Layout
6571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6574 \begin_layout Plain Layout
6580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6583 \begin_layout Plain Layout
6591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6594 \begin_layout Plain Layout
6600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6603 \begin_layout Plain Layout
6609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6612 \begin_layout Plain Layout
6618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6621 \begin_layout Plain Layout
6627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6630 \begin_layout Plain Layout
6638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6641 \begin_layout Plain Layout
6647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6650 \begin_layout Plain Layout
6656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6659 \begin_layout Plain Layout
6665 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6668 \begin_layout Plain Layout
6674 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6677 \begin_layout Plain Layout
6691 \begin_layout Standard
6695 \begin_layout Plain Layout
6707 \begin_inset Tabular
6708 <lyxtabular version="3" rows="6" columns="5">
6709 <features islongtable="true">
6710 <column alignment="center" valignment="top" width="0">
6711 <column alignment="center" valignment="top" width="0">
6712 <column alignment="center" valignment="top" width="0">
6713 <column alignment="center" valignment="top" width="0">
6714 <column alignment="center" valignment="top" width="0">
6715 <row caption="true">
6716 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6719 \begin_layout Plain Layout
6720 \begin_inset Caption
6722 \begin_layout Plain Layout
6723 Leyenda larga completa con anchura de 5
6724 \begin_inset space \thinspace{}
6727 cm leyenda larga completa con anchura de 5
6728 \begin_inset space \thinspace{}
6731 cm leyenda larga completa con anchura de 5
6732 \begin_inset space \thinspace{}
6739 \begin_layout Plain Layout
6741 \begin_inset space \thinspace{}
6745 \begin_inset space \thinspace{}
6749 \begin_inset space \thinspace{}
6767 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6770 \begin_layout Plain Layout
6776 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6779 \begin_layout Plain Layout
6785 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6788 \begin_layout Plain Layout
6794 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6797 \begin_layout Plain Layout
6805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6808 \begin_layout Plain Layout
6814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6817 \begin_layout Plain Layout
6823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6826 \begin_layout Plain Layout
6832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6835 \begin_layout Plain Layout
6841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6844 \begin_layout Plain Layout
6852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6855 \begin_layout Plain Layout
6861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6864 \begin_layout Plain Layout
6870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6873 \begin_layout Plain Layout
6879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6882 \begin_layout Plain Layout
6888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6891 \begin_layout Plain Layout
6899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6902 \begin_layout Plain Layout
6908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6911 \begin_layout Plain Layout
6917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6920 \begin_layout Plain Layout
6926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6929 \begin_layout Plain Layout
6935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6938 \begin_layout Plain Layout
6946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6949 \begin_layout Plain Layout
6955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6958 \begin_layout Plain Layout
6964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6967 \begin_layout Plain Layout
6973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6976 \begin_layout Plain Layout
6982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6985 \begin_layout Plain Layout
6993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6996 \begin_layout Plain Layout
7002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7005 \begin_layout Plain Layout
7011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7014 \begin_layout Plain Layout
7020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7023 \begin_layout Plain Layout
7029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7032 \begin_layout Plain Layout
7047 \begin_layout Plain Layout
7061 \begin_layout Standard
7062 \begin_inset Note Greyedout
7065 \begin_layout Plain Layout
7070 Si se usa el paquete LaTeX
7078 \begin_layout Plain Layout
7079 LaTeX-paquetes ! caption
7084 , como en este documento, se usa la anchura de toda la página para el pie
7085 si utilizas el valor por omisión de 4
7086 \begin_inset space \thinspace{}
7096 En este caso, para conseguir exactamente un pie de 4
7097 \begin_inset space \thinspace{}
7100 in, puedes poner un valor ligeramente diferente de 4.0
7101 \begin_inset space \thinspace{}
7105 \begin_inset space \thinspace{}
7110 \begin_inset space \thinspace{}
7113 in, o el comando de LaTeX
7117 captionsetup{width=valor}
7119 , suministrado por el paquete
7131 \begin_layout Subsubsection
7132 Leyendas distintas para cada página
7136 \begin_layout Plain Layout
7137 Tablas largas ! Leyendas distintas para cada página
7145 \begin_layout Standard
7146 Si otras leyendas debieran ser diferentes de la leyenda de la primera página,
7147 inserta una leyenda con un título breve no vacío en una fila postiza marcada
7148 como primer encabezado.
7149 La leyenda para las restantes páginas se inserta sin título breve en una
7150 fila postiza de leyenda marcada como primer encabezado.
7151 Si este encabezado no ha de incluir el número de tabla, usa el comando
7154 \begin_layout Standard
7159 caption*{texto de la leyenda}
7162 \begin_layout Standard
7163 en vez del recuadro de leyenda de LyX.
7164 La etiqueta para referenciar la tabla se inserta en el primer encabezado.
7166 \begin_inset space ~
7170 \begin_inset CommandInset ref
7172 reference "tab:DifLeyendas"
7176 es un ejemplo de tabla larga con encabezados distintos donde el segundo
7177 no incluye número de tabla.
7180 \begin_layout Standard
7182 \begin_inset Tabular
7183 <lyxtabular version="3" rows="60" columns="3">
7184 <features islongtable="true">
7185 <column alignment="left" valignment="top" width="0cm">
7186 <column alignment="left" valignment="top" width="0pt">
7187 <column alignment="right" valignment="top" width="0pt">
7188 <row endfirsthead="true" caption="true">
7189 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7192 \begin_layout Plain Layout
7193 \begin_inset Caption
7195 \begin_layout Plain Layout
7196 Ejemplo de lista telefónica
7197 \begin_inset CommandInset label
7199 name "tab:DifLeyendas"
7207 \begin_layout Plain Layout
7208 Ejemplo de lista telefónica
7223 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
7226 \begin_layout Plain Layout
7232 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
7235 \begin_layout Plain Layout
7242 <row endfirsthead="true">
7243 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7246 \begin_layout Plain Layout
7249 Ejemplo de lista telefónica (ignore los nombres)
7254 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7257 \begin_layout Plain Layout
7263 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7266 \begin_layout Plain Layout
7273 <row endfirsthead="true">
7274 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7277 \begin_layout Plain Layout
7285 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7288 \begin_layout Plain Layout
7294 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7297 \begin_layout Plain Layout
7306 <row endhead="true" caption="true">
7307 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7310 \begin_layout Plain Layout
7314 \begin_layout Plain Layout
7318 caption*{Continúa Ejemplo de lista telefónica}
7332 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
7335 \begin_layout Plain Layout
7341 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
7344 \begin_layout Plain Layout
7351 <row endhead="true">
7352 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7355 \begin_layout Plain Layout
7358 Ejemplo de lista telefónica
7363 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7366 \begin_layout Plain Layout
7372 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7375 \begin_layout Plain Layout
7382 <row endhead="true">
7383 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7386 \begin_layout Plain Layout
7394 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7397 \begin_layout Plain Layout
7403 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7406 \begin_layout Plain Layout
7415 <row endfoot="true">
7416 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
7419 \begin_layout Plain Layout
7420 continúa en página siguiente
7425 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7428 \begin_layout Plain Layout
7434 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7437 \begin_layout Plain Layout
7445 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7448 \begin_layout Plain Layout
7456 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7459 \begin_layout Plain Layout
7465 <cell alignment="right" valignment="top" rightline="true" usebox="none">
7468 \begin_layout Plain Layout
7476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7479 \begin_layout Plain Layout
7487 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7490 \begin_layout Plain Layout
7496 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7499 \begin_layout Plain Layout
7507 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7510 \begin_layout Plain Layout
7518 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7521 \begin_layout Plain Layout
7527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7530 \begin_layout Plain Layout
7538 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7541 \begin_layout Plain Layout
7549 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7552 \begin_layout Plain Layout
7558 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7561 \begin_layout Plain Layout
7569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7572 \begin_layout Plain Layout
7580 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7583 \begin_layout Plain Layout
7589 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7592 \begin_layout Plain Layout
7600 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7603 \begin_layout Plain Layout
7611 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7614 \begin_layout Plain Layout
7620 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7623 \begin_layout Plain Layout
7631 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7634 \begin_layout Plain Layout
7642 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7645 \begin_layout Plain Layout
7651 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7654 \begin_layout Plain Layout
7662 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7665 \begin_layout Plain Layout
7673 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7676 \begin_layout Plain Layout
7682 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7685 \begin_layout Plain Layout
7693 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7696 \begin_layout Plain Layout
7704 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7707 \begin_layout Plain Layout
7713 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7716 \begin_layout Plain Layout
7724 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7727 \begin_layout Plain Layout
7735 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7738 \begin_layout Plain Layout
7744 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7747 \begin_layout Plain Layout
7755 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7758 \begin_layout Plain Layout
7766 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7769 \begin_layout Plain Layout
7775 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7778 \begin_layout Plain Layout
7786 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7789 \begin_layout Plain Layout
7797 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7800 \begin_layout Plain Layout
7806 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7809 \begin_layout Plain Layout
7817 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7820 \begin_layout Plain Layout
7828 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7831 \begin_layout Plain Layout
7837 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7840 \begin_layout Plain Layout
7848 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7851 \begin_layout Plain Layout
7859 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7862 \begin_layout Plain Layout
7868 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7871 \begin_layout Plain Layout
7879 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7882 \begin_layout Plain Layout
7891 \begin_layout Plain Layout
7892 Ejemplo de nota al pie
7902 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7905 \begin_layout Plain Layout
7911 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7914 \begin_layout Plain Layout
7922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7925 \begin_layout Plain Layout
7933 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7936 \begin_layout Plain Layout
7942 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7945 \begin_layout Plain Layout
7953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7956 \begin_layout Plain Layout
7964 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7967 \begin_layout Plain Layout
7973 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7976 \begin_layout Plain Layout
7984 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7987 \begin_layout Plain Layout
7995 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7998 \begin_layout Plain Layout
8004 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8007 \begin_layout Plain Layout
8015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8018 \begin_layout Plain Layout
8026 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8029 \begin_layout Plain Layout
8035 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8038 \begin_layout Plain Layout
8046 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8049 \begin_layout Plain Layout
8057 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8060 \begin_layout Plain Layout
8066 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8069 \begin_layout Plain Layout
8077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8080 \begin_layout Plain Layout
8088 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8091 \begin_layout Plain Layout
8097 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8100 \begin_layout Plain Layout
8108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8111 \begin_layout Plain Layout
8119 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8122 \begin_layout Plain Layout
8128 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8131 \begin_layout Plain Layout
8139 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8142 \begin_layout Plain Layout
8150 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8153 \begin_layout Plain Layout
8159 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8162 \begin_layout Plain Layout
8170 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8173 \begin_layout Plain Layout
8181 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8184 \begin_layout Plain Layout
8190 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8193 \begin_layout Plain Layout
8201 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8204 \begin_layout Plain Layout
8212 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8215 \begin_layout Plain Layout
8221 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8224 \begin_layout Plain Layout
8232 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8235 \begin_layout Plain Layout
8243 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8246 \begin_layout Plain Layout
8252 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8255 \begin_layout Plain Layout
8263 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8266 \begin_layout Plain Layout
8274 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8277 \begin_layout Plain Layout
8283 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8286 \begin_layout Plain Layout
8294 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8297 \begin_layout Plain Layout
8305 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8308 \begin_layout Plain Layout
8314 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8317 \begin_layout Plain Layout
8325 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8328 \begin_layout Plain Layout
8336 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8339 \begin_layout Plain Layout
8345 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8348 \begin_layout Plain Layout
8356 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8359 \begin_layout Plain Layout
8367 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8370 \begin_layout Plain Layout
8376 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8379 \begin_layout Plain Layout
8387 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8390 \begin_layout Plain Layout
8398 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
8401 \begin_layout Plain Layout
8407 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
8410 \begin_layout Plain Layout
8418 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8421 \begin_layout Plain Layout
8427 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8430 \begin_layout Plain Layout
8436 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8439 \begin_layout Plain Layout
8447 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8450 \begin_layout Plain Layout
8458 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8461 \begin_layout Plain Layout
8467 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8470 \begin_layout Plain Layout
8478 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8481 \begin_layout Plain Layout
8489 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8492 \begin_layout Plain Layout
8498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8501 \begin_layout Plain Layout
8509 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8512 \begin_layout Plain Layout
8520 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8523 \begin_layout Plain Layout
8529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8532 \begin_layout Plain Layout
8540 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8543 \begin_layout Plain Layout
8551 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8554 \begin_layout Plain Layout
8560 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8563 \begin_layout Plain Layout
8571 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8574 \begin_layout Plain Layout
8582 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8585 \begin_layout Plain Layout
8591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8594 \begin_layout Plain Layout
8602 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8605 \begin_layout Plain Layout
8613 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8616 \begin_layout Plain Layout
8622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8625 \begin_layout Plain Layout
8633 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8636 \begin_layout Plain Layout
8644 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8647 \begin_layout Plain Layout
8653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8656 \begin_layout Plain Layout
8664 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8667 \begin_layout Plain Layout
8675 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8678 \begin_layout Plain Layout
8684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8687 \begin_layout Plain Layout
8695 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8698 \begin_layout Plain Layout
8706 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8709 \begin_layout Plain Layout
8715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8718 \begin_layout Plain Layout
8726 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8729 \begin_layout Plain Layout
8737 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8740 \begin_layout Plain Layout
8746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8749 \begin_layout Plain Layout
8757 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8760 \begin_layout Plain Layout
8768 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8771 \begin_layout Plain Layout
8777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8780 \begin_layout Plain Layout
8788 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8791 \begin_layout Plain Layout
8799 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8802 \begin_layout Plain Layout
8808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8811 \begin_layout Plain Layout
8819 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8822 \begin_layout Plain Layout
8830 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8833 \begin_layout Plain Layout
8839 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8842 \begin_layout Plain Layout
8850 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8853 \begin_layout Plain Layout
8861 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8864 \begin_layout Plain Layout
8870 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8873 \begin_layout Plain Layout
8881 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8884 \begin_layout Plain Layout
8892 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8895 \begin_layout Plain Layout
8901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8904 \begin_layout Plain Layout
8912 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8915 \begin_layout Plain Layout
8923 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8926 \begin_layout Plain Layout
8932 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8935 \begin_layout Plain Layout
8943 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8946 \begin_layout Plain Layout
8954 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8957 \begin_layout Plain Layout
8963 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8966 \begin_layout Plain Layout
8974 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8977 \begin_layout Plain Layout
8985 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8988 \begin_layout Plain Layout
8994 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8997 \begin_layout Plain Layout
9005 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9008 \begin_layout Plain Layout
9016 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9019 \begin_layout Plain Layout
9025 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9028 \begin_layout Plain Layout
9036 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9039 \begin_layout Plain Layout
9047 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9050 \begin_layout Plain Layout
9056 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9059 \begin_layout Plain Layout
9066 <row endlastfoot="true">
9067 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9070 \begin_layout Plain Layout
9076 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9079 \begin_layout Plain Layout
9085 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9088 \begin_layout Plain Layout
9102 \begin_layout Standard
9103 \begin_inset Newpage newpage
9109 \begin_layout Section
9110 Particularidades de las tablas largas
9113 \begin_layout Subsection
9118 \begin_layout Plain Layout
9119 Tablas largas ! Cálculos
9127 \begin_layout Standard
9128 LaTeX calcula la altura de las páginas con tabla y sus saltos de página
9129 utilizando los denominados «trozos», que son partes de la tabla presentes
9130 en la memoria de LaTeX.
9131 El valor predeterminado está establecido a sólo 20 filas.
9132 Si estás usando tablas largas con muchas páginas, la generación del documento
9133 puede hacerse muy lenta.
9134 No hay problema en aumentar el tamaño de los trozos hasta 100-1000 añadiendo
9135 el siguiente comando en el preámbulo del documento:
9138 \begin_layout Standard
9143 setcounter{LTchunksize}{100}
9146 \begin_layout Subsection
9147 Flotantes y tablas largas
9151 \begin_layout Plain Layout
9152 Tablas largas ! Flotantes
9160 \begin_layout Standard
9161 Podría haber problemas si un flotante aparece en la misma página donde comienza
9163 Para evitarlo, añade el comando
9169 en código TeX antes de la tabla.
9172 \begin_layout Subsection
9173 Saltos de página forzados
9177 \begin_layout Plain Layout
9178 Tablas largas ! Saltos de página forzados
9186 \begin_layout Standard
9187 Por omisión, las tablas sólo se cortan entre filas.
9188 Si tienes una celda con líneas múltiples y necesitas un salto de página
9189 dentro de la celda, inserta el comando de nueva línea «
9197 » en código TeX en el punto en que quieras cortar.
9206 » debes insertar en código TeX tantos caracteres «
9210 » como columnas siguientes de la tabla.
9215 es el carácter para separar celdas.
9216 Escribe en código TeX después de cada
9220 el contenido de la celda siguiente correspondiente y borra el contenido
9222 \begin_inset Newline newline
9237 como columnas haya delante de la actual.
9239 \begin_inset space ~
9243 \begin_inset CommandInset ref
9245 reference "tab:Saltos de Página Forzados"
9249 la celda que debería cortarse está en la segunda columna seguida de otra
9251 Por eso el siguiente comando se inserta en la celda en código TeX detrás
9259 \begin_layout Standard
9267 \begin_inset Newline newline
9273 \begin_layout Standard
9274 El «111» en la tercera columna de la fila se ha borrado.
9275 Si la fila más baja de la tabla larga no tiene, por alguna razón, línea
9276 superior pero quisieras una línea horizontal donde se corta la celda, usa
9277 este comando alternativo:
9280 \begin_layout Standard
9288 \begin_inset Newline newline
9296 \begin_layout Standard
9297 Cuando la celda a cortar está en la última columna, el comando
9300 \begin_layout Standard
9310 \begin_layout Standard
9311 debe insertarse en código TeX al principio de la celda.
9312 Esto garantiza que la parte de la celda que será mostrada en la nueva página
9313 aparecerá con toda su anchura.
9316 \begin_layout Standard
9318 \begin_inset Tabular
9319 <lyxtabular version="3" rows="39" columns="3">
9320 <features islongtable="true">
9321 <column alignment="left" valignment="top" width="0cm">
9322 <column alignment="left" valignment="top" width="3cm">
9323 <column alignment="right" valignment="top" width="0pt">
9324 <row endfirsthead="true" caption="true">
9325 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
9328 \begin_layout Plain Layout
9329 \begin_inset Caption
9331 \begin_layout Plain Layout
9332 Tabla con salto de página forzado en celda
9333 \begin_inset CommandInset label
9335 name "tab:Saltos de Página Forzados"
9343 \begin_layout Plain Layout
9344 Tabla con salto de página forzado en celda
9359 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
9362 \begin_layout Plain Layout
9368 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
9371 \begin_layout Plain Layout
9378 <row endfirsthead="true">
9379 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9382 \begin_layout Plain Layout
9385 Ejemplo de lista telefónica (ignore los nombres)
9390 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9393 \begin_layout Plain Layout
9399 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9402 \begin_layout Plain Layout
9409 <row endfirsthead="true">
9410 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9413 \begin_layout Plain Layout
9421 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9424 \begin_layout Plain Layout
9430 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9433 \begin_layout Plain Layout
9442 <row endhead="true" caption="true">
9443 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
9446 \begin_layout Plain Layout
9450 \begin_layout Plain Layout
9454 caption*{Continúa tabla con salto de página forzado en celda}
9468 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9471 \begin_layout Plain Layout
9477 <cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9480 \begin_layout Plain Layout
9487 <row endhead="true">
9488 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9491 \begin_layout Plain Layout
9494 Ejemplo de lista telefónica
9499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9502 \begin_layout Plain Layout
9508 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9511 \begin_layout Plain Layout
9518 <row endhead="true">
9519 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9522 \begin_layout Plain Layout
9530 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9533 \begin_layout Plain Layout
9539 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9542 \begin_layout Plain Layout
9551 <row endfoot="true">
9552 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
9555 \begin_layout Plain Layout
9556 continúa en página siguiente
9561 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9564 \begin_layout Plain Layout
9570 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9573 \begin_layout Plain Layout
9581 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9584 \begin_layout Plain Layout
9592 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9595 \begin_layout Plain Layout
9601 <cell alignment="right" valignment="top" rightline="true" usebox="none">
9604 \begin_layout Plain Layout
9612 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9615 \begin_layout Plain Layout
9623 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9626 \begin_layout Plain Layout
9632 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9635 \begin_layout Plain Layout
9643 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9646 \begin_layout Plain Layout
9654 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9657 \begin_layout Plain Layout
9663 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9666 \begin_layout Plain Layout
9674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9677 \begin_layout Plain Layout
9685 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9688 \begin_layout Plain Layout
9694 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9697 \begin_layout Plain Layout
9705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9708 \begin_layout Plain Layout
9716 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9719 \begin_layout Plain Layout
9725 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9728 \begin_layout Plain Layout
9736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9739 \begin_layout Plain Layout
9747 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9750 \begin_layout Plain Layout
9756 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9759 \begin_layout Plain Layout
9767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9770 \begin_layout Plain Layout
9778 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9781 \begin_layout Plain Layout
9787 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9790 \begin_layout Plain Layout
9798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9801 \begin_layout Plain Layout
9809 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9812 \begin_layout Plain Layout
9818 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9821 \begin_layout Plain Layout
9829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9832 \begin_layout Plain Layout
9840 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9843 \begin_layout Plain Layout
9849 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9852 \begin_layout Plain Layout
9860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9863 \begin_layout Plain Layout
9871 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9874 \begin_layout Plain Layout
9880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9883 \begin_layout Plain Layout
9891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9894 \begin_layout Plain Layout
9902 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9905 \begin_layout Plain Layout
9911 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9914 \begin_layout Plain Layout
9922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9925 \begin_layout Plain Layout
9933 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9936 \begin_layout Plain Layout
9942 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9945 \begin_layout Plain Layout
9953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9956 \begin_layout Plain Layout
9964 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9967 \begin_layout Plain Layout
9973 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9976 \begin_layout Plain Layout
9984 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9987 \begin_layout Plain Layout
9995 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9998 \begin_layout Plain Layout
10004 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10007 \begin_layout Plain Layout
10015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10018 \begin_layout Plain Layout
10026 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10029 \begin_layout Plain Layout
10031 Fürst von Montecompatri, 11.
10032 Fürst von Sulmona und Vivaro, 10.
10033 Fürst von Rossano, 5.
10034 Herzog von Canemorte, 11.
10035 Herzog von Palombara, 5.
10036 Herzog von Castelchiodato,
10040 \begin_layout Plain Layout
10049 \begin_layout Plain Layout
10057 Herzog von Poggionativo, 11.
10058 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10059 Graf von Valinfreda, 11.
10060 Baron von Cropalati, 11.
10061 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10066 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10069 \begin_layout Plain Layout
10077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10080 \begin_layout Plain Layout
10088 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10091 \begin_layout Plain Layout
10097 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10100 \begin_layout Plain Layout
10108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10111 \begin_layout Plain Layout
10119 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10122 \begin_layout Plain Layout
10128 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10131 \begin_layout Plain Layout
10139 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10142 \begin_layout Plain Layout
10150 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10153 \begin_layout Plain Layout
10159 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10162 \begin_layout Plain Layout
10170 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10173 \begin_layout Plain Layout
10181 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10184 \begin_layout Plain Layout
10190 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10193 \begin_layout Plain Layout
10201 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10204 \begin_layout Plain Layout
10212 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10215 \begin_layout Plain Layout
10221 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10224 \begin_layout Plain Layout
10232 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10235 \begin_layout Plain Layout
10243 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10246 \begin_layout Plain Layout
10252 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10255 \begin_layout Plain Layout
10263 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10266 \begin_layout Plain Layout
10274 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10277 \begin_layout Plain Layout
10283 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10286 \begin_layout Plain Layout
10294 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10297 \begin_layout Plain Layout
10305 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10308 \begin_layout Plain Layout
10314 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10317 \begin_layout Plain Layout
10325 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10328 \begin_layout Plain Layout
10336 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10339 \begin_layout Plain Layout
10345 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10348 \begin_layout Plain Layout
10356 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10359 \begin_layout Plain Layout
10367 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10370 \begin_layout Plain Layout
10376 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10379 \begin_layout Plain Layout
10387 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10390 \begin_layout Plain Layout
10398 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10401 \begin_layout Plain Layout
10407 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10410 \begin_layout Plain Layout
10418 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10421 \begin_layout Plain Layout
10429 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10432 \begin_layout Plain Layout
10438 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10441 \begin_layout Plain Layout
10449 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10452 \begin_layout Plain Layout
10460 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10463 \begin_layout Plain Layout
10469 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10472 \begin_layout Plain Layout
10480 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10483 \begin_layout Plain Layout
10491 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10494 \begin_layout Plain Layout
10500 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10503 \begin_layout Plain Layout
10511 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10514 \begin_layout Plain Layout
10522 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10525 \begin_layout Plain Layout
10531 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10534 \begin_layout Plain Layout
10542 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10545 \begin_layout Plain Layout
10553 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10556 \begin_layout Plain Layout
10562 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10565 \begin_layout Plain Layout
10572 <row endlastfoot="true">
10573 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10576 \begin_layout Plain Layout
10582 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10585 \begin_layout Plain Layout
10591 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10594 \begin_layout Plain Layout
10608 \begin_layout Section
10609 Líneas múltiples en columnas y filas
10612 \begin_layout Subsection
10613 Líneas múltiples en celdas
10614 \begin_inset CommandInset label
10616 name "sub:Líneas-Múltiples-en"
10624 \begin_layout Plain Layout
10625 Líneas múltiples en celdas
10634 \begin_layout Plain Layout
10635 Tablas ! Saltos de línea
10643 \begin_layout Standard
10645 \begin_inset Float table
10651 \begin_layout Plain Layout
10652 \begin_inset Caption
10654 \begin_layout Plain Layout
10655 \begin_inset CommandInset label
10657 name "tab:Tabla-con-múltiples"
10661 Tabla con líneas múltiples en celda
10669 \begin_layout Plain Layout
10671 \begin_inset Tabular
10672 <lyxtabular version="3" rows="3" columns="3">
10674 <column alignment="center" valignment="middle" width="2.5cm">
10675 <column alignment="center" valignment="middle" width="0">
10676 <column alignment="center" valignment="middle" width="0">
10678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10681 \begin_layout Plain Layout
10683 \begin_inset Newline linebreak
10691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10694 \begin_layout Plain Layout
10700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10703 \begin_layout Plain Layout
10711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10714 \begin_layout Plain Layout
10720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10723 \begin_layout Plain Layout
10729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10732 \begin_layout Plain Layout
10740 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10743 \begin_layout Plain Layout
10749 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10752 \begin_layout Plain Layout
10758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10761 \begin_layout Plain Layout
10780 \begin_layout Standard
10781 Al ajustar anchura fija en una columna se habilita la entrada de texto como
10782 párrafos con varias líneas y guionado.
10785 \begin_layout Standard
10786 Para generar la tabla
10787 \begin_inset space ~
10791 \begin_inset CommandInset ref
10793 reference "tab:Tabla-con-múltiples"
10797 , crea una tabla 3×3, marca la primera celda y clic-derecha sobre ella.
10798 En el diálogo que surge establece una anchura de 2.5
10799 \begin_inset space \thinspace{}
10802 cm y escoge centro en alineación vertical y horizontal.
10803 La alineación vertical se utiliza para todas las celdas de la fila.
10804 Como nuestro texto es menor de 2.5
10805 \begin_inset space \thinspace{}
10808 cm, sólo aparece una línea.
10809 Para poner dos añadimos un salto de línea justificado, (atajo
10811 Ctrl-Mayúsculas-Retorno
10814 Si el texto es más ancho que la celda será automáticamente dividido en
10818 \begin_layout Standard
10819 Si hay una palabra larga en una celda con anchura fija, LaTeX no puede cortarla
10820 con guión si es la primera entrada.
10821 Por eso hay que insertar algo para que dicha palabra no sea la primera
10822 entrada: añade un espacio horizontal de 0
10823 \begin_inset space \thinspace{}
10826 pt delante de la palabra.
10827 Como el espacio es 0 la salida no cambia.
10829 \begin_inset space ~
10833 \begin_inset CommandInset ref
10835 reference "tab:Tabla-con-y"
10842 \begin_layout Standard
10843 \begin_inset Float table
10849 \begin_layout Plain Layout
10850 \begin_inset Caption
10852 \begin_layout Plain Layout
10853 \begin_inset CommandInset label
10855 name "tab:Tabla-con-y"
10859 Tablas con y sin guión
10867 \begin_layout Plain Layout
10868 \begin_inset space \hfill{}
10872 \begin_inset Tabular
10873 <lyxtabular version="3" rows="3" columns="3">
10875 <column alignment="center" valignment="middle" width="2.5cm">
10876 <column alignment="center" valignment="middle" width="0">
10877 <column alignment="center" valignment="middle" width="0">
10879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10882 \begin_layout Plain Layout
10883 celdaconpalabramuylarga
10888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10891 \begin_layout Plain Layout
10897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10900 \begin_layout Plain Layout
10908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10911 \begin_layout Plain Layout
10917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10920 \begin_layout Plain Layout
10926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10929 \begin_layout Plain Layout
10937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10940 \begin_layout Plain Layout
10946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10949 \begin_layout Plain Layout
10955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10958 \begin_layout Plain Layout
10970 \begin_inset space \hfill{}
10974 \begin_inset Tabular
10975 <lyxtabular version="3" rows="3" columns="3">
10977 <column alignment="center" valignment="middle" width="2.5cm">
10978 <column alignment="center" valignment="middle" width="0">
10979 <column alignment="center" valignment="middle" width="0">
10981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10984 \begin_layout Plain Layout
10985 \begin_inset space \hspace{}
10989 celdaconpalabramuylarga
10994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10997 \begin_layout Plain Layout
11003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11006 \begin_layout Plain Layout
11014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11017 \begin_layout Plain Layout
11023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11026 \begin_layout Plain Layout
11032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11035 \begin_layout Plain Layout
11043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11046 \begin_layout Plain Layout
11052 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11055 \begin_layout Plain Layout
11061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11064 \begin_layout Plain Layout
11076 \begin_inset space \hfill{}
11085 \begin_inset Newpage newpage
11091 \begin_layout Subsection
11093 \begin_inset CommandInset label
11095 name "sub:Multicolumnas"
11103 \begin_layout Plain Layout
11113 \begin_layout Plain Layout
11114 Tablas ! Multicolumnas
11122 \begin_layout Subsubsection
11123 Fundamentos de multicolumna
11126 \begin_layout Standard
11127 Para extender una celda sobre varias columnas, se marcan las celdas que
11128 se desee combinar y se usa el botón
11129 \begin_inset Graphics
11130 filename ../../images/tabular-feature_multicolumn.png
11137 Editar\SpecialChar \menuseparator
11138 Tabla\SpecialChar \menuseparator
11141 , o clic-derecha sobre las celdas marcadas y se selecciona en el diálogo,
11146 , la casilla Multicolumna.
11149 \begin_layout Standard
11150 Las multicolumnas tienen su propia configuración de celdas.
11151 Esto es, los cambios de bordes, alineación y anchura sólo afectan a la
11153 Aquí hay un ejemplo de tabla con una multicolumna en la primera fila y
11154 otra en la última fila sin borde superior:
11157 \begin_layout Standard
11159 \begin_inset Tabular
11160 <lyxtabular version="3" rows="3" columns="4">
11161 <features firstHeadTopDL="true" firstHeadBottomDL="true">
11162 <column alignment="center" valignment="top" width="0pt">
11163 <column alignment="center" valignment="middle" width="0">
11164 <column alignment="center" valignment="top" width="0in">
11165 <column alignment="center" valignment="top" width="0pt">
11167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11170 \begin_layout Plain Layout
11176 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11179 \begin_layout Plain Layout
11185 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11188 \begin_layout Plain Layout
11194 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11197 \begin_layout Plain Layout
11205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11208 \begin_layout Plain Layout
11223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11226 \begin_layout Plain Layout
11232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11235 \begin_layout Plain Layout
11241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11244 \begin_layout Plain Layout
11252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11255 \begin_layout Plain Layout
11261 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11264 \begin_layout Plain Layout
11270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11273 \begin_layout Plain Layout
11279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11282 \begin_layout Plain Layout
11296 \begin_layout Subsubsection
11297 Cálculos en multicolumnas
11298 \begin_inset CommandInset label
11300 name "sub:Cálculos-en-Multicolumnas"
11308 \begin_layout Plain Layout
11309 Multicolumnas ! Cálculos
11317 \begin_layout Standard
11318 LyX soporta multicolumnas directamente, pero hay que prestar atención a
11319 la anchura de celda de las columnas combinadas en la celda multicolumna.
11322 \begin_layout Standard
11323 \begin_inset Float table
11329 \begin_layout Plain Layout
11330 \begin_inset Caption
11332 \begin_layout Plain Layout
11333 \begin_inset CommandInset label
11335 name "tab:Tabla-con-centrado"
11339 Tabla con texto centrado en multicolumna sobre dos columnas que tienen exactamen
11340 te la mitad de anchura que la celda multicolumna
11341 \begin_inset OptArg
11344 \begin_layout Plain Layout
11345 Tabla multicolumna perfecta
11358 \begin_layout Plain Layout
11360 \begin_inset Tabular
11361 <lyxtabular version="3" rows="3" columns="3">
11363 <column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11364 <column alignment="center" valignment="middle" width="0">
11365 <column alignment="center" valignment="top" width="0">
11367 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11370 \begin_layout Plain Layout
11371 multicolumna línea múltiple
11376 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11379 \begin_layout Plain Layout
11385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11388 \begin_layout Plain Layout
11396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11399 \begin_layout Plain Layout
11405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11408 \begin_layout Plain Layout
11414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11417 \begin_layout Plain Layout
11425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11428 \begin_layout Plain Layout
11434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11437 \begin_layout Plain Layout
11443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11446 \begin_layout Plain Layout
11465 \begin_layout Standard
11466 Por ejemplo, para crear la tabla
11467 \begin_inset space ~
11471 \begin_inset CommandInset ref
11473 reference "tab:Tabla-con-centrado"
11477 , marca las dos primeras celdas en la primera fila de una tabla 3×3 y haz
11479 En el diálogo marca
11487 y una anchura de 2.5
11488 \begin_inset space \thinspace{}
11492 Las columnas combinadas deberían tener exactamente la mitad de la anchura
11493 de la celda multicolumna, así que deberías ajustar 1.25
11494 \begin_inset space \thinspace{}
11497 cm para la primera columna.
11498 La segunda columna tendrá entonces automáticamente 1.25
11499 \begin_inset space \thinspace{}
11504 \begin_inset space ~
11508 \begin_inset CommandInset ref
11510 reference "tab:Tabla-sin-mitad"
11514 se ha procedido de la siguiente manera:
11517 \begin_layout Standard
11518 \begin_inset Float table
11523 \begin_layout Plain Layout
11524 \begin_inset Caption
11526 \begin_layout Plain Layout
11527 \begin_inset CommandInset label
11529 name "tab:Tabla-sin-mitad"
11533 Tabla en la que las columnas combinadas no tienen exactamente la mitad de
11534 anchura que la celda multicolumna
11535 \begin_inset OptArg
11538 \begin_layout Plain Layout
11539 Tabla multicolumna imperfecta
11552 \begin_layout Plain Layout
11554 \begin_inset Tabular
11555 <lyxtabular version="3" rows="3" columns="3">
11557 <column alignment="center" valignment="top" width="1.25cm">
11558 <column alignment="center" valignment="top" width="0">
11559 <column alignment="center" valignment="top" width="0">
11561 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11564 \begin_layout Plain Layout
11565 multicolumna línea múltiple
11570 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11573 \begin_layout Plain Layout
11579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11582 \begin_layout Plain Layout
11590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11593 \begin_layout Plain Layout
11599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11602 \begin_layout Plain Layout
11608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11611 \begin_layout Plain Layout
11619 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11622 \begin_layout Plain Layout
11628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11631 \begin_layout Plain Layout
11637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11640 \begin_layout Plain Layout
11659 \begin_layout Standard
11660 Se ve que la primera columna no tiene la mitad de ancho que la celda multicolumn
11661 a, es un poco mayor.
11662 La razón es que la anchura dada para una celda
11663 \begin_inset Formula $W_{g}$
11666 no es su anchura total
11667 \begin_inset Formula $W_{\mathrm{tot}}$
11670 porque una celda es siempre algo mayor que la anchura dada.
11672 \begin_inset space ~
11676 \begin_inset CommandInset ref
11678 reference "cha:Explicación-de-la-Ecuación"
11682 lo explica con detalle.
11685 \begin_layout Standard
11686 La anchura dada necesaria,
11687 \begin_inset Formula $W_{g\, n}$
11694 columnas puede calcularse de manera que cada columna tenga una anchura
11696 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11700 \begin_inset Formula \begin{equation}
11701 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11708 \begin_layout Standard
11709 En nuestro caso tenemos
11710 \begin_inset Formula $n=2$
11714 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11718 \begin_inset space \thinspace{}
11721 cm y los valores predeterminados para longitudes, así la ecuación
11722 \begin_inset space ~
11726 \begin_inset CommandInset ref
11733 \begin_inset Formula \begin{equation}
11734 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11741 \begin_layout Standard
11742 Para habilitar cálculos en LaTeX, debe cargarse en el preámbulo el paquete
11751 \begin_layout Plain Layout
11752 LaTeX-paquetes ! calc
11760 \begin_layout Standard
11768 \begin_layout Standard
11769 LyX no permite calcular longitudes en el campo Ancho del cuadro de diálogo.
11770 Por tanto hay que insertar un argumento LaTeX en el diálogo.
11771 He aquí un repaso de los argumentos:
11774 \begin_layout Itemize
11779 crea celdas con anchura fija, el texto alineado arriba
11782 \begin_layout Itemize
11787 crea celdas con anchura fija, el texto con alineación vertical centrada
11791 \begin_layout Itemize
11796 crea celdas con anchura fija, el texto alineado abajo
11799 \begin_layout Standard
11800 Al introducir un argumento LaTeX, todas las propiedades de celda puestas
11801 en el diálogo se ignoran.
11804 \begin_layout Standard
11805 \begin_inset Note Greyedout
11808 \begin_layout Plain Layout
11813 Debido a un error, LyX muestra de todas formas estas propiedades.
11821 \begin_layout Standard
11828 centra horizontalmente el texto.
11829 Puedes entonces introducir el siguiente argumento de LaTeX para la primera
11833 \begin_layout Standard
11838 centering}m{1.25cm-6.2pt}
11841 \begin_layout Standard
11846 significa que los comandos entre llaves se aplican antes de crear la celda.
11849 \begin_layout Standard
11850 Aunque hemos escogido alineación centrada para el texto de la celda multicolumna
11851 , aún está alineado a la izquierda.
11852 Esto se debe a que LyX sólo aplica alineado a columnas simples.
11853 Así que para multicolumnas hemos de usar el argumento de LaTeX
11856 \begin_layout Standard
11864 \begin_layout Subsection
11869 \begin_layout Plain Layout
11879 \begin_layout Plain Layout
11880 Tablas ! Multifilas
11889 \begin_layout Plain Layout
11890 LaTeX-paquetes ! multirow
11898 \begin_layout Standard
11899 A diferencia de multicolumnas, LyX aún no soporta multifilas por lo que
11900 hace falta un poco de código TeX.
11901 Hay que cargar el paquete de LaTeX
11905 en el preámbulo del documento con el comando
11908 \begin_layout Standard
11913 usepackage{multirow}
11916 \begin_layout Standard
11917 Las multifilas se crean con el comando
11920 \begin_layout Standard
11925 multirow{número de filas}{ancho de celda}{entrada de celda}
11928 \begin_layout Standard
11929 Para crear la siguiente tabla:
11932 \begin_layout Standard
11937 \begin_layout Plain Layout
11951 \begin_inset Tabular
11952 <lyxtabular version="3" rows="3" columns="3">
11954 <column alignment="center" valignment="top" width="0">
11955 <column alignment="center" valignment="top" width="0">
11956 <column alignment="center" valignment="top" width="0">
11958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11961 \begin_layout Plain Layout
11967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11970 \begin_layout Plain Layout
11976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11979 \begin_layout Plain Layout
11987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11990 \begin_layout Plain Layout
11994 \begin_layout Plain Layout
11998 multirow{2}{2.5cm}{
12007 \begin_layout Plain Layout
12019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12022 \begin_layout Plain Layout
12028 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12031 \begin_layout Plain Layout
12039 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12042 \begin_layout Plain Layout
12048 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12051 \begin_layout Plain Layout
12057 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12060 \begin_layout Plain Layout
12075 \begin_layout Plain Layout
12091 \begin_layout Standard
12092 crea una tabla 3×3.
12093 Para quitar la línea sobre la última celda en la primera columna, se marca
12094 la celda como multicolumna y se quita el borde superior.
12095 Ahora se crea la multifila en la segunda fila de la primera columna insertando
12099 \begin_layout Standard
12104 multirow{2}{2.5cm}{
12107 \begin_layout Standard
12109 Según los parámetros del comando la multifila se expande a dos filas y
12111 \begin_inset space \thinspace{}
12115 El contenido de la celda multifila sigue fuera del cuadro de código TeX
12116 y el comando finaliza con llave derecha
12120 en otro cuadro de código TeX tras el texto.
12123 \begin_layout Standard
12130 alinea su contenido a la izquierda por omisión.
12131 Para cambiarlo renombra el comando
12140 \begin_layout Standard
12152 \begin_layout Standard
12153 en el preámbulo del documento.
12154 Entonces se centran todas las entradas de celdas multifila en el documento.
12155 Si sólo queremos centrar en algunas tablas, se puede renombrar el comando
12156 en código TeX justo antes de la tabla en lugar de en el preámbulo.
12157 Si el texto debe estar alineado a la derecha, reemplaza
12170 Para volver a alineado a la izquierda usa
12179 \begin_layout Section
12181 \begin_inset CommandInset label
12183 name "sec:Tablas-Formales"
12191 \begin_layout Plain Layout
12201 \begin_layout Plain Layout
12202 Tablas ! Estilo formal
12210 \begin_layout Standard
12211 En los libros, las tablas se suelen presentar en un formato como el de la
12213 \begin_inset space ~
12217 \begin_inset CommandInset ref
12219 reference "tab:Ejemplo-tabla-formal"
12224 Se denominan tablas
12229 Para hacer tablas con este diseño, elige
12234 \begin_inset space ~
12245 del cuadro de diálogo de tablas.
12248 \begin_layout Standard
12249 \begin_inset Float table
12255 \begin_layout Plain Layout
12256 \begin_inset Caption
12258 \begin_layout Plain Layout
12259 \begin_inset CommandInset label
12261 name "tab:Ejemplo-tabla-formal"
12265 Ejemplo de tabla formal
12273 \begin_layout Plain Layout
12275 \begin_inset Tabular
12276 <lyxtabular version="3" rows="8" columns="4">
12277 <features booktabs="true">
12278 <column alignment="center" valignment="top" width="0">
12279 <column alignment="center" valignment="top" width="0">
12280 <column alignment="center" valignment="top" width="0">
12281 <column alignment="center" valignment="top" width="0">
12283 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12286 \begin_layout Plain Layout
12292 <cell alignment="center" valignment="top" topline="true" usebox="none">
12295 \begin_layout Plain Layout
12297 \begin_inset Formula $\,$
12305 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
12308 \begin_layout Plain Layout
12310 \begin_inset Formula $\,$
12318 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12321 \begin_layout Plain Layout
12329 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12332 \begin_layout Plain Layout
12336 \begin_layout Plain Layout
12349 \begin_layout Plain Layout
12358 Detector thickness [µm]
12363 <cell alignment="center" valignment="top" usebox="none">
12366 \begin_layout Plain Layout
12372 <cell alignment="center" valignment="top" usebox="none">
12375 \begin_layout Plain Layout
12381 <cell alignment="center" valignment="top" usebox="none">
12384 \begin_layout Plain Layout
12392 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
12395 \begin_layout Plain Layout
12401 <cell alignment="center" valignment="top" topline="true" usebox="none">
12404 \begin_layout Plain Layout
12410 <cell alignment="center" valignment="top" topline="true" usebox="none">
12413 \begin_layout Plain Layout
12419 <cell alignment="center" valignment="top" topline="true" usebox="none">
12422 \begin_layout Plain Layout
12429 <row topspace="default">
12430 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12433 \begin_layout Plain Layout
12434 Spatial resolution [µm]
12439 <cell alignment="center" valignment="top" usebox="none">
12442 \begin_layout Plain Layout
12448 <cell alignment="center" valignment="top" usebox="none">
12451 \begin_layout Plain Layout
12457 <cell alignment="center" valignment="top" usebox="none">
12460 \begin_layout Plain Layout
12467 <row topspace="default">
12468 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12471 \begin_layout Plain Layout
12473 \begin_inset Formula $f_{\mathrm{max}}$
12481 <cell alignment="center" valignment="top" usebox="none">
12484 \begin_layout Plain Layout
12490 <cell alignment="center" valignment="top" usebox="none">
12493 \begin_layout Plain Layout
12499 <cell alignment="center" valignment="top" usebox="none">
12502 \begin_layout Plain Layout
12509 <row topspace="default">
12510 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12513 \begin_layout Plain Layout
12517 \begin_layout Plain Layout
12521 cmidrule(l{10pt}){1-1}
12526 LSF-spatial resolution
12531 <cell alignment="center" valignment="top" usebox="none">
12534 \begin_layout Plain Layout
12540 <cell alignment="center" valignment="top" usebox="none">
12543 \begin_layout Plain Layout
12549 <cell alignment="center" valignment="top" usebox="none">
12552 \begin_layout Plain Layout
12560 <cell alignment="center" valignment="top" rightline="true" usebox="none">
12563 \begin_layout Plain Layout
12569 <cell alignment="center" valignment="top" usebox="none">
12572 \begin_layout Plain Layout
12578 <cell alignment="center" valignment="top" usebox="none">
12581 \begin_layout Plain Layout
12587 <cell alignment="center" valignment="top" usebox="none">
12590 \begin_layout Plain Layout
12598 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
12601 \begin_layout Plain Layout
12607 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12610 \begin_layout Plain Layout
12616 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12619 \begin_layout Plain Layout
12625 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
12628 \begin_layout Plain Layout
12647 \begin_layout Standard
12648 Se puede añadir espacio adicional a las filas de la tabla mediante los botones
12649 correspondientes que se encuentran en la solapa
12656 \begin_inset space ~
12660 \begin_inset space ~
12664 \begin_inset space ~
12669 , como se explica en la sección
12670 \begin_inset space ~
12674 \begin_inset CommandInset ref
12676 reference "sub:Espacio-adicional"
12683 \begin_layout Standard
12684 A diferencia de las tablas normales, las tablas formales no tienen líneas
12686 Las líneas horizontales se pueden poner o no como en las tablas normales,
12687 pero en la salida se mostrarán con distinto grosor:
12688 \begin_inset Newline newline
12691 Las líneas primera y última tienen un grosor predeterminado de 0.08
12692 \begin_inset space \thinspace{}
12695 em, las demás tienen un grosor predeterminado de 0.05
12696 \begin_inset space \thinspace{}
12702 \begin_layout Standard
12703 Estos valores predeterminados se pueden cambiar
12707 con las líneas de preámbulo:
12710 \begin_layout Standard
12720 \begin_inset Newline newline
12732 \begin_layout Standard
12733 Este ejemplo es para la primera línea, la denominada
12738 Si quieres cambiar el grosor de la última línea, reemplaza
12747 Y para cambiar el grosor de las demás líneas cambia
12756 Puedes usar cualquiera de las unidades listadas en el apéndice
12757 \begin_inset space ~
12761 \begin_inset CommandInset ref
12763 reference "cha:Unidades-disponibles-en"
12767 para establecer el grosor.
12770 \begin_layout Standard
12771 Para dibujar líneas que no se extiendan a todas las columnas de la tabla,
12772 puedes marcarlas como celdas multicolumna y entonces ponerles borde.
12773 LyX empleará internamente el comando
12779 para dibujar la línea.
12780 El esquema completo es
12783 \begin_layout Standard
12788 cmidrule[grosor](recorte){inicol-fincol}
12791 \begin_layout Standard
12792 Por el momento, LyX no soporta las opciones de
12798 , así que para usarlas hay que emplear código TeX.
12805 se pueden insertar manualmente con el comando en código TeX como primera
12806 entrada de la primera celda de una fila.
12807 En la salida se dibujará la línea sobre dicha fila.
12810 \begin_layout Standard
12811 El grosor predeterminado es 0.03
12812 \begin_inset space \thinspace{}
12820 es el número de la columna en la que comienza la línea y
12824 es el número de la columna en la que acaba la línea.
12829 debe especificarse siempre, aunque la línea se extienda sobre una sola
12831 El parámetro opcional
12847 también es opcional.
12848 Por ejemplo, el parámetro
12852 significa que la línea se recorta 2
12853 \begin_inset space \thinspace{}
12856 pt por su izquierda.
12857 Si no se especifica el tamaño las líneas se recortan por omisión en 0.5
12858 \begin_inset space \thinspace{}
12867 \begin_layout Standard
12871 \begin_layout Standard
12872 \begin_inset VSpace bigskip
12878 \begin_layout Standard
12880 \begin_inset space ~
12884 \begin_inset CommandInset ref
12886 reference "tab:Ejemplo-tabla-formal"
12890 se ha creado con los comandos
12893 \begin_layout Standard
12903 \begin_layout Standard
12904 en la segunda fila,
12913 \begin_layout Standard
12918 cmidrule(l{10pt}){1-1}
12921 \begin_layout Standard
12925 \begin_layout Standard
12926 \begin_inset VSpace bigskip
12932 \begin_layout Standard
12933 Quizá quieras superponer líneas
12940 \begin_inset space ~
12944 \begin_inset CommandInset ref
12946 reference "tab:Tabla-formal-especial"
12951 Esto se consigue con el comando en código TeX
12954 \begin_layout Standard
12962 \begin_layout Standard
12963 El comando que se ha utilizado para la segunda fila de la tabla
12964 \begin_inset space ~
12968 \begin_inset CommandInset ref
12970 reference "tab:Tabla-formal-especial"
12977 \begin_layout Standard
12991 \begin_layout Standard
12992 El comando para la sexta fila es
12995 \begin_layout Standard
13007 \begin_inset VSpace bigskip
13013 \begin_layout Standard
13014 Si de todas formas no te satisface el espaciado de los bordes, puedes usar
13015 el siguiente comando para dibujar líneas que se extienden sobre todas las
13019 \begin_layout Standard
13024 specialrule{anchura}{espacio superior}{espacio inferior}
13027 \begin_layout Standard
13028 Para más información sobre estas características especiales, acude al manual
13034 \begin_inset CommandInset citation
13044 \begin_layout Plain Layout
13045 LaTeX-paquetes ! booktabs
13051 \begin_inset VSpace bigskip
13057 \begin_layout Standard
13058 \begin_inset Float table
13064 \begin_layout Plain Layout
13065 \begin_inset Caption
13067 \begin_layout Plain Layout
13068 \begin_inset CommandInset label
13070 name "tab:Tabla-formal-especial"
13074 Tabla formal especial
13082 \begin_layout Plain Layout
13084 \begin_inset Tabular
13085 <lyxtabular version="3" rows="8" columns="4">
13086 <features booktabs="true">
13087 <column alignment="center" valignment="top" width="0">
13088 <column alignment="center" valignment="top" width="0">
13089 <column alignment="center" valignment="top" width="0">
13090 <column alignment="center" valignment="top" width="0">
13092 <cell alignment="center" valignment="top" topline="true" usebox="none">
13095 \begin_layout Plain Layout
13101 <cell alignment="center" valignment="top" topline="true" usebox="none">
13104 \begin_layout Plain Layout
13106 \begin_inset space \thinspace{}
13114 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
13117 \begin_layout Plain Layout
13119 \begin_inset space \thinspace{}
13127 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13130 \begin_layout Plain Layout
13138 <cell alignment="center" valignment="top" usebox="none">
13141 \begin_layout Plain Layout
13145 \begin_layout Plain Layout
13158 \begin_layout Plain Layout
13171 \begin_layout Plain Layout
13184 \begin_layout Plain Layout
13193 Detector thickness [µm]
13198 <cell alignment="center" valignment="top" usebox="none">
13201 \begin_layout Plain Layout
13207 <cell alignment="center" valignment="top" usebox="none">
13210 \begin_layout Plain Layout
13216 <cell alignment="center" valignment="top" usebox="none">
13219 \begin_layout Plain Layout
13227 <cell alignment="center" valignment="top" topline="true" usebox="none">
13230 \begin_layout Plain Layout
13236 <cell alignment="center" valignment="top" topline="true" usebox="none">
13239 \begin_layout Plain Layout
13245 <cell alignment="center" valignment="top" topline="true" usebox="none">
13248 \begin_layout Plain Layout
13254 <cell alignment="center" valignment="top" topline="true" usebox="none">
13257 \begin_layout Plain Layout
13264 <row topspace="default">
13265 <cell alignment="center" valignment="top" usebox="none">
13268 \begin_layout Plain Layout
13269 Spatial resolution [µm]
13274 <cell alignment="center" valignment="top" usebox="none">
13277 \begin_layout Plain Layout
13283 <cell alignment="center" valignment="top" usebox="none">
13286 \begin_layout Plain Layout
13292 <cell alignment="center" valignment="top" usebox="none">
13295 \begin_layout Plain Layout
13302 <row topspace="default">
13303 <cell alignment="center" valignment="top" usebox="none">
13306 \begin_layout Plain Layout
13308 \begin_inset Formula $f_{\mathrm{max}}$
13316 <cell alignment="center" valignment="top" usebox="none">
13319 \begin_layout Plain Layout
13325 <cell alignment="center" valignment="top" usebox="none">
13328 \begin_layout Plain Layout
13334 <cell alignment="center" valignment="top" usebox="none">
13337 \begin_layout Plain Layout
13345 <cell alignment="center" valignment="top" topline="true" usebox="none">
13348 \begin_layout Plain Layout
13352 \begin_layout Plain Layout
13365 \begin_layout Plain Layout
13374 LSF-spatial resolution
13379 <cell alignment="center" valignment="top" topline="true" usebox="none">
13382 \begin_layout Plain Layout
13388 <cell alignment="center" valignment="top" topline="true" usebox="none">
13391 \begin_layout Plain Layout
13397 <cell alignment="center" valignment="top" topline="true" usebox="none">
13400 \begin_layout Plain Layout
13408 <cell alignment="center" valignment="top" usebox="none">
13411 \begin_layout Plain Layout
13417 <cell alignment="center" valignment="top" usebox="none">
13420 \begin_layout Plain Layout
13426 <cell alignment="center" valignment="top" usebox="none">
13429 \begin_layout Plain Layout
13435 <cell alignment="center" valignment="top" usebox="none">
13438 \begin_layout Plain Layout
13446 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13449 \begin_layout Plain Layout
13455 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13458 \begin_layout Plain Layout
13464 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13467 \begin_layout Plain Layout
13473 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
13476 \begin_layout Plain Layout
13495 \begin_layout Section
13496 Alineación vertical de tablas
13500 \begin_layout Plain Layout
13501 Tablas ! Alineación vertical
13509 \begin_layout Standard
13510 Para alinear tablas verticalmente en una línea de texto la tabla debe estar
13512 Entonces el cuadro se puede alinear verticalmente como se describe en la
13514 \begin_inset space ~
13518 \begin_inset CommandInset ref
13520 reference "sec:Diálogo-Cuadros"
13528 \begin_layout Standard
13529 En el ejemplo siguiente las tablas están en un cuadro de minipágina
13533 \begin_layout Plain Layout
13534 Las minipáginas se describen en la sección
13535 \begin_inset space ~
13539 \begin_inset CommandInset ref
13541 reference "sec:Minipáginas"
13550 que tiene una anchura del 15
13551 \begin_inset space \thinspace{}
13557 \begin_layout Itemize
13559 \begin_inset Box Frameless
13568 height_special "totalheight"
13571 \begin_layout Plain Layout
13572 \begin_inset Tabular
13573 <lyxtabular version="3" rows="3" columns="3">
13575 <column alignment="center" valignment="top" width="0">
13576 <column alignment="center" valignment="top" width="0">
13577 <column alignment="center" valignment="top" width="0">
13579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13582 \begin_layout Plain Layout
13588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13591 \begin_layout Plain Layout
13597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13600 \begin_layout Plain Layout
13608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13611 \begin_layout Plain Layout
13617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13620 \begin_layout Plain Layout
13626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13629 \begin_layout Plain Layout
13637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13640 \begin_layout Plain Layout
13646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13649 \begin_layout Plain Layout
13655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13658 \begin_layout Plain Layout
13678 \begin_layout Plain Layout
13690 \begin_inset Box Frameless
13699 height_special "totalheight"
13702 \begin_layout Plain Layout
13703 \begin_inset Tabular
13704 <lyxtabular version="3" rows="3" columns="3">
13706 <column alignment="center" valignment="top" width="0">
13707 <column alignment="center" valignment="top" width="0">
13708 <column alignment="center" valignment="top" width="0">
13710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13713 \begin_layout Plain Layout
13719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13722 \begin_layout Plain Layout
13728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13731 \begin_layout Plain Layout
13739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13742 \begin_layout Plain Layout
13748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13751 \begin_layout Plain Layout
13757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13760 \begin_layout Plain Layout
13768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13771 \begin_layout Plain Layout
13777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13780 \begin_layout Plain Layout
13786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13789 \begin_layout Plain Layout
13809 \begin_layout Plain Layout
13819 \begin_layout Itemize
13821 \begin_inset Box Frameless
13830 height_special "totalheight"
13833 \begin_layout Plain Layout
13834 \begin_inset Tabular
13835 <lyxtabular version="3" rows="3" columns="3">
13837 <column alignment="center" valignment="top" width="0">
13838 <column alignment="center" valignment="top" width="0">
13839 <column alignment="center" valignment="top" width="0">
13841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13844 \begin_layout Plain Layout
13850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13853 \begin_layout Plain Layout
13859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13862 \begin_layout Plain Layout
13870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13873 \begin_layout Plain Layout
13879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13882 \begin_layout Plain Layout
13888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13891 \begin_layout Plain Layout
13899 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13902 \begin_layout Plain Layout
13908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13911 \begin_layout Plain Layout
13917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13920 \begin_layout Plain Layout
13939 \begin_layout Itemize
13941 \begin_inset Box Frameless
13950 height_special "totalheight"
13953 \begin_layout Plain Layout
13954 \begin_inset Tabular
13955 <lyxtabular version="3" rows="3" columns="3">
13957 <column alignment="center" valignment="top" width="0">
13958 <column alignment="center" valignment="top" width="0">
13959 <column alignment="center" valignment="top" width="0">
13961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13964 \begin_layout Plain Layout
13970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13973 \begin_layout Plain Layout
13979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13982 \begin_layout Plain Layout
13990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13993 \begin_layout Plain Layout
13999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14002 \begin_layout Plain Layout
14008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14011 \begin_layout Plain Layout
14019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14022 \begin_layout Plain Layout
14028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14031 \begin_layout Plain Layout
14037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14040 \begin_layout Plain Layout
14060 \begin_layout Plain Layout
14072 \begin_inset Box Frameless
14081 height_special "totalheight"
14084 \begin_layout Plain Layout
14085 \begin_inset Tabular
14086 <lyxtabular version="3" rows="3" columns="3">
14088 <column alignment="center" valignment="top" width="0">
14089 <column alignment="center" valignment="top" width="0">
14090 <column alignment="center" valignment="top" width="0">
14092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14095 \begin_layout Plain Layout
14101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14104 \begin_layout Plain Layout
14110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14113 \begin_layout Plain Layout
14121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14124 \begin_layout Plain Layout
14130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14133 \begin_layout Plain Layout
14139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14142 \begin_layout Plain Layout
14150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14153 \begin_layout Plain Layout
14159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14162 \begin_layout Plain Layout
14168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14171 \begin_layout Plain Layout
14191 \begin_layout Plain Layout
14201 \begin_layout Standard
14202 Como ves, los contenidos de la primera y última filas no se alinean correctament
14203 e con la línea de texto donde está la tabla.
14204 Para conseguir esta alineación, el cuadro (minipágina) debe ponerse en
14205 un cuadro elevado («raisebox»
14209 \begin_layout Plain Layout
14216 se explica en la sección
14217 \begin_inset space ~
14221 \begin_inset CommandInset ref
14223 reference "sub:Alineación-Vertical"
14233 En el ejemplo anterior, la segunda tabla del primer ítem está alineada
14234 usando el comando en código TeX
14237 \begin_layout Standard
14247 \begin_layout Standard
14249 Tras él, se pone la llave de cierre
14253 también en código TeX.
14254 Para la segunda tabla en el tercer ítem se usa el comando
14257 \begin_layout Standard
14267 \begin_layout Standard
14268 \begin_inset Note Greyedout
14271 \begin_layout Plain Layout
14276 a: La alineación del contenido de la fila con la línea del texto adyacente
14278 El factor necesario del comando
14284 para este alineamiento depende de la fuente del documento, del tamaño de
14285 la fuente y del grosor de línea de la tabla.
14293 \begin_layout Section
14295 \begin_inset CommandInset label
14297 name "sec:Tablas-Coloreadas"
14305 \begin_layout Plain Layout
14306 Tablas ! Coloreadas
14314 \begin_layout Subsection
14319 \begin_layout Plain Layout
14320 Tablas coloreadas ! Celdas
14329 \begin_layout Plain Layout
14330 Color ! en celdas de tablas
14338 \begin_layout Standard
14339 \begin_inset Float table
14345 \begin_layout Plain Layout
14346 \begin_inset Caption
14348 \begin_layout Plain Layout
14349 \begin_inset CommandInset label
14351 name "tab:Tabla-coloreada-sin"
14355 Tabla coloreada sin usar el paquete
14360 \begin_inset OptArg
14363 \begin_layout Plain Layout
14377 \begin_layout Plain Layout
14379 \begin_inset Tabular
14380 <lyxtabular version="3" rows="3" columns="3">
14382 <column alignment="center" valignment="top" width="0">
14383 <column alignment="center" valignment="top" width="0">
14384 <column alignment="center" valignment="top" width="0">
14386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14389 \begin_layout Plain Layout
14397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14400 \begin_layout Plain Layout
14408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14411 \begin_layout Plain Layout
14421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14424 \begin_layout Plain Layout
14432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14435 \begin_layout Plain Layout
14443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14446 \begin_layout Plain Layout
14456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14459 \begin_layout Plain Layout
14467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14470 \begin_layout Plain Layout
14478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14481 \begin_layout Plain Layout
14502 \begin_layout Standard
14503 Si sólo necesitas color en el texto, marca las celdas y elige un color en
14506 Editar\SpecialChar \menuseparator
14508 \begin_inset space ~
14512 \begin_inset space ~
14518 Esto se ha hecho en la tabla
14519 \begin_inset space ~
14523 \begin_inset CommandInset ref
14525 reference "tab:Tabla-coloreada-sin"
14530 En cualquier otro caso hay que usar el paquete LaTeX
14538 \begin_layout Plain Layout
14539 LaTeX-paquetes ! colortbl
14547 \begin_layout Standard
14551 \begin_layout Plain Layout
14561 \begin_inset Note Note
14564 \begin_layout Plain Layout
14565 La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
14578 \begin_layout Standard
14579 Para crear tablas coloreadas,
14583 debe cargarse en el preámbulo con la línea
14586 \begin_layout Standard
14591 usepackage{colortbl}
14594 \begin_layout Standard
14595 El color de una columna se define con el comando
14598 \begin_layout Standard
14603 columncolor{nombre del color}
14606 \begin_layout Standard
14612 Más sobre el comando
14616 se explica en la sección
14617 \begin_inset space ~
14621 \begin_inset CommandInset ref
14623 reference "sub:Cálculos-en-Multicolumnas"
14630 \begin_layout Standard
14631 Los siguientes nombres de color están predefinidos:
14634 \begin_layout Standard
14663 \begin_layout Standard
14664 \begin_inset VSpace medskip
14670 \begin_layout Standard
14671 Puedes definir tus propios colores con el comando
14674 \begin_layout Standard
14679 definecolor{nombre del color}{modelo de color}{valores de color}
14682 \begin_layout Standard
14683 El modelo de color puede ser
14686 \begin_layout Labeling
14687 \labelwidthstring 00.00.0000
14688 cmyk: cyan, magenta, yellow, black
14691 \begin_layout Labeling
14692 \labelwidthstring 00.00.0000
14693 rgb: red, green, blue
14696 \begin_layout Labeling
14697 \labelwidthstring 00.00.0000
14701 \begin_layout Standard
14702 y los valores de color son números separados por comas entre 0 y 1 que describen
14703 el factor para el color correspondiente del modelo de color.
14706 \begin_layout Standard
14707 Por ejemplo, puedes definir el color
14715 » en el preámbulo con
14718 \begin_layout Standard
14723 definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5}
14726 \begin_layout Standard
14734 \begin_layout Standard
14739 definecolor{grisclaro}{gray}{0.8}
14742 \begin_layout Standard
14743 \begin_inset VSpace medskip
14749 \begin_layout Standard
14750 Las líneas se colorean con el comando
14753 \begin_layout Standard
14758 rowcolor{nombre del color}
14761 \begin_layout Standard
14762 y las celdas se colorean con el comando
14765 \begin_layout Standard
14770 cellcolor{nombre del color}
14773 \begin_layout Standard
14774 Ambos comandos se insertan al principio de una celda en código TeX.
14777 \begin_layout Standard
14778 Para colorear caracteres en la tabla marca las celdas y usa el menú
14780 Editar\SpecialChar \menuseparator
14782 \begin_inset space ~
14786 \begin_inset space ~
14792 Si una celda contiene código TeX marca sólo los caracteres, si no el código
14793 TeX en color puede ocasionar errores de LaTeX.
14796 \begin_layout Standard
14797 \begin_inset VSpace bigskip
14803 \begin_layout Standard
14804 Para crear la tabla
14805 \begin_inset space ~
14809 \begin_inset CommandInset ref
14811 reference "tab:Tabla-coloreada-con"
14815 haz lo siguiente: el color de la primera columna debe ser
14822 \begin_layout Standard
14827 columncolor{verdeoscuro}
14832 \begin_layout Standard
14833 como argumento LaTeX para esta columna.
14834 La primera fila debe ser azul, por tanto inserta el comando en código TeX
14837 \begin_layout Standard
14845 \begin_layout Standard
14846 en la primera celda de esta fila.
14847 Observa que esto sobreescribe el color de la columna para la primera celda.
14848 La última celda de la última fila se colorea magenta insertando el comando
14852 \begin_layout Standard
14860 \begin_layout Standard
14861 Ahora podrían colorearse los caracteres usando el menú
14863 Editar\SpecialChar \menuseparator
14865 \begin_inset space ~
14869 \begin_inset space ~
14877 \begin_layout Standard
14878 \begin_inset Float table
14884 \begin_layout Plain Layout
14885 \begin_inset Caption
14887 \begin_layout Plain Layout
14888 \begin_inset CommandInset label
14890 name "tab:Tabla-coloreada-con"
14894 Tabla coloreada con el paquete
14899 \begin_inset OptArg
14902 \begin_layout Plain Layout
14918 \begin_layout Plain Layout
14920 \begin_inset Tabular
14921 <lyxtabular version="3" rows="3" columns="3">
14923 <column alignment="center" valignment="top" width="0" special=">{\columncolor{verdeoscuro}\centering}c">
14924 <column alignment="center" valignment="top" width="0">
14925 <column alignment="center" valignment="top" width="0">
14927 <cell alignment="center" valignment="top" usebox="none">
14930 \begin_layout Plain Layout
14934 \begin_layout Plain Layout
14950 <cell alignment="center" valignment="top" usebox="none">
14953 \begin_layout Plain Layout
14961 <cell alignment="center" valignment="top" usebox="none">
14964 \begin_layout Plain Layout
14974 <cell alignment="center" valignment="top" usebox="none">
14977 \begin_layout Plain Layout
14985 <cell alignment="center" valignment="top" usebox="none">
14988 \begin_layout Plain Layout
14996 <cell alignment="center" valignment="top" usebox="none">
14999 \begin_layout Plain Layout
15009 <cell alignment="center" valignment="top" usebox="none">
15012 \begin_layout Plain Layout
15020 <cell alignment="center" valignment="top" usebox="none">
15023 \begin_layout Plain Layout
15031 <cell alignment="center" valignment="top" usebox="none">
15034 \begin_layout Plain Layout
15038 \begin_layout Plain Layout
15067 \begin_layout Standard
15071 \begin_layout Plain Layout
15081 \begin_inset Note Note
15084 \begin_layout Plain Layout
15085 Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
15098 \begin_layout Standard
15099 Debes instalar el paquete LaTeX
15103 para ver la parte siguiente en la salida.
15106 \begin_layout Standard
15110 \begin_layout Plain Layout
15122 \begin_layout Subsection
15127 \begin_layout Plain Layout
15128 Tablas coloreadas ! Líneas
15137 \begin_layout Plain Layout
15138 Color ! en bordes de tabla
15146 \begin_layout Standard
15147 Como se describe en la sección
15148 \begin_inset space ~
15152 \begin_inset CommandInset ref
15154 reference "sub:Grosor-de-Líneas"
15158 , el grosor para todas las líneas en una tabla puede ajustarse con el comando
15167 \begin_inset space \thinspace{}
15170 pt para todas las tablas de esta sección.
15174 \begin_layout Plain Layout
15180 arrayrulewidth}{1.5pt}
15188 \begin_layout Standard
15189 Por ejemplo, para colorear todas las líneas verticales en verde, crea en
15190 el preámbulo del documento el siguiente formato de columna, de acuerdo
15191 a lo descrito en la sección
15192 \begin_inset space ~
15196 \begin_inset CommandInset ref
15198 reference "sub:Formato-Personalizado"
15205 \begin_layout Standard
15210 newcolumntype{W}{!{
15217 \begin_layout Standard
15219 \begin_inset space ~
15223 \begin_inset CommandInset ref
15225 reference "tab:Tabla-con-verticales-coloreadas"
15229 se usó el argumento LaTeX
15233 para la última columna y
15240 \begin_layout Standard
15241 Si quieres tener varios colores, define más formatos de columna.
15244 \begin_layout Standard
15245 \begin_inset Float table
15251 \begin_layout Plain Layout
15252 \begin_inset Caption
15254 \begin_layout Plain Layout
15255 \begin_inset CommandInset label
15257 name "tab:Tabla-con-verticales-coloreadas"
15261 Tabla con líneas verticales coloreadas
15269 \begin_layout Plain Layout
15271 \begin_inset Tabular
15272 <lyxtabular version="3" rows="3" columns="3">
15274 <column alignment="center" valignment="top" width="0" special="Wc">
15275 <column alignment="center" valignment="top" width="0" special="Wc">
15276 <column alignment="center" valignment="top" width="0" special="WcW">
15278 <cell alignment="center" valignment="top" topline="true" usebox="none">
15281 \begin_layout Plain Layout
15287 <cell alignment="center" valignment="top" topline="true" usebox="none">
15290 \begin_layout Plain Layout
15296 <cell alignment="center" valignment="top" topline="true" usebox="none">
15299 \begin_layout Plain Layout
15307 <cell alignment="center" valignment="top" topline="true" usebox="none">
15310 \begin_layout Plain Layout
15316 <cell alignment="center" valignment="top" topline="true" usebox="none">
15319 \begin_layout Plain Layout
15325 <cell alignment="center" valignment="top" topline="true" usebox="none">
15328 \begin_layout Plain Layout
15336 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15339 \begin_layout Plain Layout
15345 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15348 \begin_layout Plain Layout
15354 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15357 \begin_layout Plain Layout
15376 \begin_layout Standard
15377 \begin_inset VSpace bigskip
15380 Para colorear líneas horizontales, por ejemplo en rojo, como en la tabla
15381 \begin_inset space ~
15385 \begin_inset CommandInset ref
15387 reference "tab:Tabla-con-horizontales-coloreadas"
15391 , inserta estos comandos en código TeX antes de la tabla o del flotante:
15394 \begin_layout Standard
15404 \begin_inset Newline newline
15412 \begin_inset Newline newline
15419 \begin_layout Plain Layout
15430 arrayrulecolor{red}
15434 arrayrulecolor{black}}
15437 \begin_layout Standard
15441 \begin_layout Plain Layout
15452 \begin_layout Plain Layout
15461 \begin_layout Plain Layout
15465 arrayrulecolor{red}
15469 arrayrulecolor{black}}
15475 \begin_inset Float table
15481 \begin_layout Plain Layout
15482 \begin_inset Caption
15484 \begin_layout Plain Layout
15485 \begin_inset CommandInset label
15487 name "tab:Tabla-con-horizontales-coloreadas"
15491 Tabla con líneas horizontales coloreadas
15499 \begin_layout Plain Layout
15501 \begin_inset Tabular
15502 <lyxtabular version="3" rows="3" columns="3">
15504 <column alignment="center" valignment="top" width="0">
15505 <column alignment="center" valignment="top" width="0">
15506 <column alignment="center" valignment="top" width="0">
15508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15511 \begin_layout Plain Layout
15517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15520 \begin_layout Plain Layout
15526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15529 \begin_layout Plain Layout
15537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15540 \begin_layout Plain Layout
15546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15549 \begin_layout Plain Layout
15555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15558 \begin_layout Plain Layout
15566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15569 \begin_layout Plain Layout
15575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15578 \begin_layout Plain Layout
15584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15587 \begin_layout Plain Layout
15606 \begin_layout Standard
15607 Para volver al color de línea negro predeterminado inserta este comando
15608 en código TeX detrás de la tabla o el flotante:
15611 \begin_layout Standard
15623 \begin_layout Standard
15625 \begin_inset space ~
15629 \begin_inset CommandInset ref
15631 reference "tab:Tabla-con-líneas-coloreadas"
15635 es un ejemplo con líneas verticales y horizontales coloreadas.
15638 \begin_layout Standard
15639 \begin_inset Float table
15645 \begin_layout Plain Layout
15646 \begin_inset Caption
15648 \begin_layout Plain Layout
15649 \begin_inset CommandInset label
15651 name "tab:Tabla-con-líneas-coloreadas"
15655 Tabla con líneas coloreadas
15663 \begin_layout Plain Layout
15665 \begin_inset Tabular
15666 <lyxtabular version="3" rows="3" columns="3">
15668 <column alignment="center" valignment="top" width="0" special="Wc">
15669 <column alignment="center" valignment="top" width="0" special="Wc">
15670 <column alignment="center" valignment="top" width="0" special="WcW">
15672 <cell alignment="center" valignment="top" topline="true" usebox="none">
15675 \begin_layout Plain Layout
15681 <cell alignment="center" valignment="top" topline="true" usebox="none">
15684 \begin_layout Plain Layout
15690 <cell alignment="center" valignment="top" topline="true" usebox="none">
15693 \begin_layout Plain Layout
15701 <cell alignment="center" valignment="top" topline="true" usebox="none">
15704 \begin_layout Plain Layout
15710 <cell alignment="center" valignment="top" topline="true" usebox="none">
15713 \begin_layout Plain Layout
15719 <cell alignment="center" valignment="top" topline="true" usebox="none">
15722 \begin_layout Plain Layout
15730 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15733 \begin_layout Plain Layout
15739 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15742 \begin_layout Plain Layout
15748 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
15751 \begin_layout Plain Layout
15770 \begin_layout Standard
15774 \begin_layout Plain Layout
15790 \begin_layout Standard
15794 \begin_layout Plain Layout
15800 arrayrulewidth}{0.4pt}
15808 \begin_layout Section
15809 Personalización de tablas
15813 \begin_layout Plain Layout
15814 Personalización de tablas
15823 \begin_layout Plain Layout
15824 Tablas ! Personalización
15832 \begin_layout Subsection
15833 Espacio adicional en filas
15834 \begin_inset CommandInset label
15836 name "sub:Espacio-adicional"
15844 \begin_layout Plain Layout
15845 Personalización de tablas ! Espacio adicional en filas
15853 \begin_layout Standard
15854 Es posible añadir espacio vertical a las filas de una tabla en la solapa
15859 del diálogo de configuración de tablas.
15863 \begin_inset space ~
15868 dispones de tres posibilidades:
15871 \begin_layout Description
15873 \begin_inset space ~
15877 \begin_inset space ~
15881 \begin_inset space ~
15884 fila añade espacio sobre los caracteres de la fila.
15885 Si la tabla es de estilo formal
15889 \begin_layout Plain Layout
15890 Las tablas formales se explican en la sección
15891 \begin_inset space ~
15895 \begin_inset CommandInset ref
15897 reference "sec:Tablas-Formales"
15907 \begin_inset space \thinspace{}
15911 Si la tabla es de estilo normal el espacio adicional destruirá las líneas
15912 verticales, como se ve en la tabla siguiente:
15913 \begin_inset VSpace medskip
15917 \begin_inset Newline newline
15921 \begin_inset space \hspace*{}
15926 \begin_inset space \hfill{}
15930 \begin_inset Tabular
15931 <lyxtabular version="3" rows="3" columns="1">
15933 <column alignment="center" valignment="top" width="0">
15935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15938 \begin_layout Plain Layout
15945 <row topspace="3mm">
15946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15949 \begin_layout Plain Layout
15951 \begin_inset space \thinspace{}
15961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15964 \begin_layout Plain Layout
15976 \begin_inset space \hfill{}
15980 \begin_inset space \hspace*{}
15985 \begin_inset VSpace medskip
15989 \begin_inset Newline newline
15992 Así pues, insertar espacio superior en tablas normales sólo es útil en tablas
15993 sin líneas verticales.
15996 \begin_layout Description
15998 \begin_inset space ~
16002 \begin_inset space ~
16006 \begin_inset space ~
16009 fila añade espacio bajo los caracteres de la fila.
16010 Si la tabla es formal LyX inserta por omisión 0.5
16011 \begin_inset space \thinspace{}
16014 em; si la tabla es normal inserta 2
16015 \begin_inset space \thinspace{}
16022 \begin_layout Description
16024 \begin_inset space ~
16028 \begin_inset space ~
16031 filas añade espacio entre la fila actual y la siguiente.
16032 Si la tabla es formal LyX inserta 0.5
16033 \begin_inset space \thinspace{}
16037 En tablas normales, el espacio adicional destruirá las líneas verticales
16038 de la tabla, como se ve en la siguiente:
16039 \begin_inset VSpace medskip
16043 \begin_inset Newline newline
16047 \begin_inset space \hspace*{}
16052 \begin_inset space \hfill{}
16056 \begin_inset Tabular
16057 <lyxtabular version="3" rows="3" columns="1">
16059 <column alignment="center" valignment="top" width="0">
16061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16064 \begin_layout Plain Layout
16071 <row interlinespace="3mm">
16072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16075 \begin_layout Plain Layout
16076 \begin_inset Formula $\downarrow$
16080 \begin_inset space \thinspace{}
16090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16093 \begin_layout Plain Layout
16094 \begin_inset Formula $\uparrow$
16098 \begin_inset space \thinspace{}
16102 \begin_inset Formula $\uparrow$
16116 \begin_inset space \hfill{}
16120 \begin_inset space \hspace*{}
16125 \begin_inset VSpace medskip
16129 \begin_inset Newline newline
16132 Así pues, los espacios adicionales entre filas de tablas normales sólo sirven
16133 para tablas sin líneas verticales.
16136 \begin_layout Standard
16137 \begin_inset VSpace bigskip
16140 Para añadir altura vertical extra a todas las celdas de todas las tablas,
16141 utiliza los siguientes comandos en el preámbulo:
16144 \begin_layout Standard
16149 @ifundefined{extrarowheight}
16150 \begin_inset Newline newline
16157 \begin_layout Plain Layout
16168 usepackage{array}}{}
16169 \begin_inset Newline newline
16176 extrarowheight}{altura}
16179 \begin_layout Standard
16180 Esto tiene el inconveniente de que el texto de las celdas no estará exactamente
16181 centrado en vertical.
16182 (Lyx cargará automáticamente el paquete
16186 cuando uses formatos de tabla autodefinidos.
16187 Para evitar que sea cargado dos veces se pone al principio el comando
16196 \begin_layout Standard
16200 \begin_layout Subsection
16201 Alineación especial de celdas
16205 \begin_layout Plain Layout
16206 Personalización de tablas ! Alineación especial de celdas
16214 \begin_layout Standard
16215 A veces mejora la presentación si las entradas en las celdas de una columna
16216 se alinean con un carácter determinado, p.
16217 \begin_inset space \thinspace{}
16221 \begin_inset space ~
16224 el separador decimal, como en la tabla
16225 \begin_inset space ~
16229 \begin_inset CommandInset ref
16231 reference "tab:Tabla-con-celdas-de"
16238 \begin_layout Standard
16239 \begin_inset Float table
16244 \begin_layout Plain Layout
16245 \begin_inset Caption
16247 \begin_layout Plain Layout
16248 \begin_inset CommandInset label
16250 name "tab:Tabla-con-celdas-de"
16254 Tabla con celdas alineadas con el separador decimal.
16262 \begin_layout Plain Layout
16264 \begin_inset Tabular
16265 <lyxtabular version="3" rows="4" columns="2">
16267 <column alignment="right" valignment="top" width="0">
16268 <column alignment="left" valignment="top" width="0" special="@{}l">
16270 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16273 \begin_layout Plain Layout
16279 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16282 \begin_layout Plain Layout
16290 <cell alignment="center" valignment="top" usebox="none">
16293 \begin_layout Plain Layout
16299 <cell alignment="center" valignment="top" usebox="none">
16302 \begin_layout Plain Layout
16310 <cell alignment="center" valignment="top" usebox="none">
16313 \begin_layout Plain Layout
16319 <cell alignment="center" valignment="top" usebox="none">
16322 \begin_layout Plain Layout
16330 <cell alignment="center" valignment="top" usebox="none">
16333 \begin_layout Plain Layout
16339 <cell alignment="center" valignment="top" usebox="none">
16342 \begin_layout Plain Layout
16361 \begin_layout Standard
16362 Esta es una tabla 4×2.
16363 La leyenda es una multicolumna centrada.
16364 La primera columna está alineada a la derecha y contiene el punto decimal
16365 y los dígitos anteriores.
16366 La segunda columna está alineada a la izquierda y contiene los dígitos
16367 posteriores al punto decimal.
16368 Para omitir el espacio que hay normalmente entre dos columnas usa el siguiente
16369 argumento LaTeX para la segunda columna:
16372 \begin_layout Standard
16378 \begin_layout Standard
16380 \begin_inset space ~
16384 \begin_inset CommandInset ref
16386 reference "tab:Varias-alineaciones"
16390 muestra varios ejemplos de alineación.
16391 Para alinear con el signo de relación debes añadir el segundo espacio matemátic
16392 o más pequeño al comienzo de la última columna para conseguir el espacio
16393 adecuado alrededor del signo.
16396 \begin_layout Standard
16397 \begin_inset Float table
16402 \begin_layout Plain Layout
16403 \begin_inset Caption
16405 \begin_layout Plain Layout
16406 \begin_inset CommandInset label
16408 name "tab:Varias-alineaciones"
16412 Tabla con varias alineaciones.
16420 \begin_layout Plain Layout
16422 \begin_inset Tabular
16423 <lyxtabular version="3" rows="4" columns="6">
16425 <column alignment="right" valignment="top" width="0">
16426 <column alignment="left" valignment="top" width="0" special="@{}l">
16427 <column alignment="right" valignment="top" width="0">
16428 <column alignment="left" valignment="top" width="0" special="@{}l">
16429 <column alignment="right" valignment="top" width="0">
16430 <column alignment="left" valignment="top" width="0" special="@{}l">
16432 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16435 \begin_layout Plain Layout
16441 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16444 \begin_layout Plain Layout
16450 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16453 \begin_layout Plain Layout
16459 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16462 \begin_layout Plain Layout
16468 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16471 \begin_layout Plain Layout
16477 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16480 \begin_layout Plain Layout
16488 <cell alignment="center" valignment="top" usebox="none">
16491 \begin_layout Plain Layout
16497 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16500 \begin_layout Plain Layout
16502 \begin_inset space \thinspace{}
16510 <cell alignment="center" valignment="top" usebox="none">
16513 \begin_layout Plain Layout
16514 \begin_inset Formula $10\cdot$
16522 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16525 \begin_layout Plain Layout
16526 \begin_inset Formula $10^{\mbox{-}17}$
16534 <cell alignment="center" valignment="top" usebox="none">
16537 \begin_layout Plain Layout
16538 \begin_inset Formula $\Gamma(t)\propto$
16546 <cell alignment="center" valignment="top" usebox="none">
16549 \begin_layout Plain Layout
16550 \begin_inset Formula $\:\Upsilon(t)$
16560 <cell alignment="center" valignment="top" usebox="none">
16563 \begin_layout Plain Layout
16569 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16572 \begin_layout Plain Layout
16574 \begin_inset space \thinspace{}
16582 <cell alignment="center" valignment="top" usebox="none">
16585 \begin_layout Plain Layout
16586 \begin_inset Formula $5.78\cdot$
16594 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16597 \begin_layout Plain Layout
16598 \begin_inset Formula $10^{7}$
16606 <cell alignment="center" valignment="top" usebox="none">
16609 \begin_layout Plain Layout
16610 \begin_inset Formula $A\ne$
16618 <cell alignment="center" valignment="top" usebox="none">
16621 \begin_layout Plain Layout
16622 \begin_inset Formula $\: B_{\mathrm{red}}$
16632 <cell alignment="center" valignment="top" usebox="none">
16635 \begin_layout Plain Layout
16641 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16644 \begin_layout Plain Layout
16646 \begin_inset space \thinspace{}
16654 <cell alignment="center" valignment="top" usebox="none">
16657 \begin_layout Plain Layout
16659 \begin_inset Formula $33.5\cdot$
16667 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16670 \begin_layout Plain Layout
16671 \begin_inset Formula $10^{4}$
16679 <cell alignment="center" valignment="top" usebox="none">
16682 \begin_layout Plain Layout
16683 \begin_inset Formula $\sin(\alpha)\ge$
16691 <cell alignment="center" valignment="top" usebox="none">
16694 \begin_layout Plain Layout
16695 \begin_inset Formula $\:\sin(\beta)$
16716 \begin_layout Standard
16717 \begin_inset VSpace bigskip
16720 También hay un paquete LaTeX,
16728 \begin_layout Plain Layout
16729 LaTeX-paquetes ! dcolumn
16734 , que permite alinear el contenido de las celdas.
16735 Pero desgraciadamente trata las entradas de celda en modo matemático y
16736 no permite fórmulas en celdas: la primera columna de la tabla
16737 \begin_inset space ~
16741 \begin_inset CommandInset ref
16743 reference "tab:Varias-alineaciones"
16751 como la primera columna en la tabla
16752 \begin_inset space ~
16756 \begin_inset CommandInset ref
16758 reference "tab:Alineaciones-con-el"
16762 y sólo con algunos trucos se consigue lo que se espera.
16763 La alineación de la segunda y tercera columnas de la tabla
16764 \begin_inset space ~
16768 \begin_inset CommandInset ref
16770 reference "tab:Varias-alineaciones"
16781 \begin_layout Standard
16782 \begin_inset Float table
16788 \begin_layout Plain Layout
16789 \begin_inset Caption
16791 \begin_layout Plain Layout
16792 \begin_inset CommandInset label
16794 name "tab:Alineaciones-con-el"
16799 \begin_inset OptArg
16802 \begin_layout Plain Layout
16810 Alineaciones con el paquete LaTeX
16815 Se han tenido que usar unos trucos para la alineación de las columnas en
16824 \begin_layout Plain Layout
16826 \begin_inset Tabular
16827 <lyxtabular version="3" rows="4" columns="3">
16829 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16830 <column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
16831 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16833 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16836 \begin_layout Plain Layout
16842 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16845 \begin_layout Plain Layout
16851 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16854 \begin_layout Plain Layout
16862 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16865 \begin_layout Plain Layout
16867 \begin_inset space \thinspace{}
16875 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16878 \begin_layout Plain Layout
16880 \begin_inset space \thinspace{}
16884 \begin_inset Formula $\mbox{bottles}$
16892 <cell alignment="center" valignment="top" usebox="none">
16895 \begin_layout Plain Layout
16900 \begin_layout Plain Layout
16910 \begin_inset Formula $\mbox{bottles}$
16920 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16923 \begin_layout Plain Layout
16925 \begin_inset space \thinspace{}
16933 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16936 \begin_layout Plain Layout
16938 \begin_inset space \thinspace{}
16942 \begin_inset Formula $\mbox{Pixels}$
16950 <cell alignment="center" valignment="top" usebox="none">
16953 \begin_layout Plain Layout
16958 \begin_layout Plain Layout
16968 \begin_inset Formula $\mbox{Pixels}$
16978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16981 \begin_layout Plain Layout
16983 \begin_inset space \thinspace{}
16991 <cell alignment="center" valignment="top" rightline="true" usebox="none">
16994 \begin_layout Plain Layout
16996 \begin_inset space \thinspace{}
17000 \begin_inset Formula $\mbox{cm}$
17008 <cell alignment="center" valignment="top" usebox="none">
17011 \begin_layout Plain Layout
17016 \begin_layout Plain Layout
17026 \begin_inset Formula $\mbox{cm}$
17047 \begin_layout Subsection
17048 Formato personalizado de celda/columna
17049 \begin_inset CommandInset label
17051 name "sub:Formato-Personalizado"
17059 \begin_layout Plain Layout
17060 Personalización de tablas ! Formato de celda/columna
17068 \begin_layout Standard
17069 El cálculo de la anchura necesaria para columnas extendidas descrito en
17071 \begin_inset space ~
17075 \begin_inset CommandInset ref
17077 reference "sub:Cálculos-en-Multicolumnas"
17081 es muy pesado si tienes varias tablas con multicolumnas.
17082 Para hacerlo más fácil, puedes definir en el preámbulo un formato de celda/colu
17083 mna aplicable a todas las tablas del documento.
17084 El formato se define con el comando
17087 \begin_layout Standard
17092 newcolumntype{nombre del formato}[número de argumentos]{comandos}
17095 \begin_layout Standard
17096 El nombre de formato puede ser una sola letra.
17105 están predefinidas y no pueden usarse.
17106 Pero se permiten todas las mayúsculas.
17109 \begin_layout Standard
17110 \begin_inset VSpace medskip
17116 \begin_layout Standard
17117 Para celdas multicolumna vertical y horizontalmente centradas con una anchura
17118 fija puedes definir el formato de celda
17121 \begin_layout Standard
17126 newcolumntype{M}[1]{>{
17133 \begin_layout Standard
17140 evita el problema de partir con guión la primera palabra, como se describe
17142 \begin_inset space ~
17146 \begin_inset CommandInset ref
17148 reference "sub:Líneas-Múltiples-en"
17153 Ahora puedes introducir simplemente
17156 \begin_layout Standard
17162 \begin_layout Standard
17163 como argumento LaTeX en el diálogo de tabla para crear una multicolumna.
17166 \begin_layout Standard
17167 \begin_inset VSpace bigskip
17173 \begin_layout Standard
17174 Para celdas extendidas en una celda multicolumna, puedes definir el formato
17177 \begin_layout Standard
17182 newcolumntype{S}[2]{>{
17187 \begin_inset Newline newline
17194 \begin_layout Plain Layout
17209 \begin_layout Plain Layout
17220 arrayrulewidth)*(1-#2))/#2}}
17223 \begin_layout Standard
17224 Este formato usa la ecuación
17225 \begin_inset CommandInset ref
17231 para calcular la anchura necesaria para que cada celda extendida tenga
17235 \begin_layout Standard
17236 Ahora puedes introducir
17239 \begin_layout Standard
17242 S{ancho de la celda multicolumna}{número de columnas extendidas}
17245 \begin_layout Standard
17246 como argumento LaTeX de la columna.
17249 \begin_layout Standard
17250 \begin_inset VSpace bigskip
17256 \begin_layout Standard
17257 Para columnas coloreadas puedes definir
17260 \begin_layout Standard
17265 newcolumntype{K}[1]{>{
17272 \begin_layout Standard
17273 La «c» al final crea una columna con anchura flexible cuyo texto está centrado
17275 Ahora puedes introducir
17278 \begin_layout Standard
17281 K{nombre del color}
17284 \begin_layout Standard
17285 como argumento LaTeX.
17288 \begin_layout Standard
17289 \begin_inset VSpace bigskip
17295 \begin_layout Standard
17296 Para crear la tabla
17297 \begin_inset space ~
17301 \begin_inset CommandInset ref
17303 reference "tab:Tabla-con-formatos-definidos-por"
17307 usa los argumentos LaTeX
17310 \begin_layout Standard
17316 \begin_layout Standard
17317 para la primera columna y la multicolumna,
17320 \begin_layout Standard
17326 \begin_layout Standard
17327 para la última columna y
17330 \begin_layout Standard
17336 \begin_layout Standard
17337 para las celdas en la segunda columna.
17340 \begin_layout Standard
17341 \begin_inset Float table
17347 \begin_layout Plain Layout
17348 \begin_inset Caption
17350 \begin_layout Plain Layout
17351 \begin_inset CommandInset label
17353 name "tab:Tabla-con-formatos-definidos-por"
17357 Tabla con formatos definidos por el usuario
17365 \begin_layout Plain Layout
17367 \begin_inset Tabular
17368 <lyxtabular version="3" rows="3" columns="4">
17370 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
17371 <column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
17372 <column alignment="center" valignment="middle" width="0">
17373 <column alignment="center" valignment="middle" width="0" special="K{red}">
17375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17378 \begin_layout Plain Layout
17379 palabramuylargaenceldadetabla
17384 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
17387 \begin_layout Plain Layout
17388 multicolumna línea múltiple
17393 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17396 \begin_layout Plain Layout
17402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17405 \begin_layout Plain Layout
17413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17416 \begin_layout Plain Layout
17422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17425 \begin_layout Plain Layout
17431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17434 \begin_layout Plain Layout
17440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17443 \begin_layout Plain Layout
17451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17454 \begin_layout Plain Layout
17460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17463 \begin_layout Plain Layout
17469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17472 \begin_layout Plain Layout
17478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17481 \begin_layout Plain Layout
17500 \begin_layout Subsection
17502 \begin_inset CommandInset label
17504 name "sub:Grosor-de-Líneas"
17512 \begin_layout Plain Layout
17513 Personalización de tablas ! Grosor de línea
17521 \begin_layout Standard
17522 El grosor para todas las líneas de una tabla puede ajustarse con la longitud
17530 Por ejemplo, para poner un grosor de línea de 1.5
17531 \begin_inset space \thinspace{}
17534 pt, como en la tabla
17535 \begin_inset space ~
17539 \begin_inset CommandInset ref
17541 reference "tab:Tabla-con-líneas"
17545 , inserta el comando
17548 \begin_layout Standard
17555 arrayrulewidth}{1.5pt}
17558 \begin_layout Standard
17559 en código TeX antes de la tabla o flotante.
17560 Este cambio es válido para todas las siguientes tablas.
17561 Para volver al valor predeterminado, define
17568 \begin_inset space \thinspace{}
17571 pt en código TeX detrás de la tabla o flotante.
17574 \begin_layout Standard
17578 \begin_layout Plain Layout
17584 arrayrulewidth}{1.5pt}
17590 \begin_inset Float table
17595 \begin_layout Plain Layout
17596 \begin_inset Caption
17598 \begin_layout Plain Layout
17599 \begin_inset CommandInset label
17601 name "tab:Tabla-con-líneas"
17605 Tabla con líneas de grosor 1.5
17606 \begin_inset space \thinspace{}
17617 \begin_layout Plain Layout
17619 \begin_inset Tabular
17620 <lyxtabular version="3" rows="3" columns="3">
17622 <column alignment="center" valignment="top" width="0">
17623 <column alignment="center" valignment="top" width="0">
17624 <column alignment="center" valignment="top" width="0">
17626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17629 \begin_layout Plain Layout
17635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17638 \begin_layout Plain Layout
17644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17647 \begin_layout Plain Layout
17655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17658 \begin_layout Plain Layout
17664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17667 \begin_layout Plain Layout
17673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17676 \begin_layout Plain Layout
17684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17687 \begin_layout Plain Layout
17693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17696 \begin_layout Plain Layout
17702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17705 \begin_layout Plain Layout
17725 \begin_layout Plain Layout
17731 arrayrulewidth}{0.4pt}
17739 \begin_layout Standard
17740 \begin_inset VSpace bigskip
17743 Para definir un grosor de 1.5
17744 \begin_inset space \thinspace{}
17747 pt sólo para líneas horizontales, como en la tabla
17748 \begin_inset space ~
17752 \begin_inset CommandInset ref
17754 reference "tab:Tabla-con-horizontales"
17758 , inserta estos comandos en código TeX antes de la tabla o flotante:
17761 \begin_layout Standard
17771 \begin_inset Newline newline
17779 \begin_inset Newline newline
17788 arrayrulewidth 1.5pt}
17789 \begin_inset Newline newline
17800 arrayrulewidth 0.4pt}}
17803 \begin_layout Standard
17804 Para volver al grosor predeterminado, inserta este comando en código TeX
17805 detrás de la tabla o flotante:
17808 \begin_layout Standard
17820 \begin_layout Standard
17824 \begin_layout Plain Layout
17835 \begin_layout Plain Layout
17844 \begin_layout Plain Layout
17852 arrayrulewidth 1.5pt}
17855 \begin_layout Plain Layout
17865 arrayrulewidth 0.4pt}}
17871 \begin_inset Float table
17876 \begin_layout Plain Layout
17877 \begin_inset Caption
17879 \begin_layout Plain Layout
17880 \begin_inset CommandInset label
17882 name "tab:Tabla-con-horizontales"
17886 Tabla con líneas horizontales de 1.5
17887 \begin_inset space \thinspace{}
17898 \begin_layout Plain Layout
17900 \begin_inset Tabular
17901 <lyxtabular version="3" rows="3" columns="3">
17903 <column alignment="center" valignment="top" width="0">
17904 <column alignment="center" valignment="top" width="0">
17905 <column alignment="center" valignment="top" width="0">
17907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17910 \begin_layout Plain Layout
17916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17919 \begin_layout Plain Layout
17925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17928 \begin_layout Plain Layout
17936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17939 \begin_layout Plain Layout
17945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17948 \begin_layout Plain Layout
17954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17957 \begin_layout Plain Layout
17965 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17968 \begin_layout Plain Layout
17974 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17977 \begin_layout Plain Layout
17983 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17986 \begin_layout Plain Layout
18006 \begin_layout Plain Layout
18022 \begin_layout Standard
18023 \begin_inset VSpace bigskip
18026 Para establecer un grosor de 1.5 pt sólo para líneas verticales, crea el
18027 siguiente formato de columna en el preámbulo del documento, de acuerdo
18028 con lo descrito en la sección
18029 \begin_inset space ~
18033 \begin_inset CommandInset ref
18035 reference "sub:Formato-Personalizado"
18042 \begin_layout Standard
18047 newcolumntype{V}{!{
18049 vrule width 1.5pt}}
18052 \begin_layout Standard
18054 \begin_inset space ~
18058 \begin_inset CommandInset ref
18060 reference "tab:Tabla-con-verticales"
18064 se usó el argumento LaTeX
18067 \begin_layout Standard
18073 \begin_layout Standard
18074 para la última columna y
18077 \begin_layout Standard
18083 \begin_layout Standard
18087 \begin_layout Standard
18088 \begin_inset Float table
18093 \begin_layout Plain Layout
18094 \begin_inset Caption
18096 \begin_layout Plain Layout
18097 \begin_inset CommandInset label
18099 name "tab:Tabla-con-verticales"
18103 Tabla con líneas verticales de 1.5
18104 \begin_inset space \thinspace{}
18115 \begin_layout Plain Layout
18117 \begin_inset Tabular
18118 <lyxtabular version="3" rows="3" columns="3">
18120 <column alignment="center" valignment="top" width="0" special="Vc">
18121 <column alignment="center" valignment="top" width="0" special="Vc">
18122 <column alignment="center" valignment="top" width="0" special="VcV">
18124 <cell alignment="center" valignment="top" topline="true" usebox="none">
18127 \begin_layout Plain Layout
18133 <cell alignment="center" valignment="top" topline="true" usebox="none">
18136 \begin_layout Plain Layout
18142 <cell alignment="center" valignment="top" topline="true" usebox="none">
18145 \begin_layout Plain Layout
18153 <cell alignment="center" valignment="top" topline="true" usebox="none">
18156 \begin_layout Plain Layout
18162 <cell alignment="center" valignment="top" topline="true" usebox="none">
18165 \begin_layout Plain Layout
18171 <cell alignment="center" valignment="top" topline="true" usebox="none">
18174 \begin_layout Plain Layout
18182 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18185 \begin_layout Plain Layout
18191 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18194 \begin_layout Plain Layout
18200 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18203 \begin_layout Plain Layout
18222 \begin_layout Subsection
18227 \begin_layout Plain Layout
18228 Personalización de tablas ! Líneas de trazos
18236 \begin_layout Standard
18240 \begin_layout Plain Layout
18250 \begin_inset Note Note
18253 \begin_layout Plain Layout
18254 La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
18267 \begin_layout Standard
18268 \begin_inset Float table
18274 \begin_layout Plain Layout
18275 \begin_inset Caption
18277 \begin_layout Plain Layout
18278 \begin_inset CommandInset label
18280 name "tab:Tabla-con-trazos"
18284 Tabla con líneas de trazos
18292 \begin_layout Plain Layout
18294 \begin_inset Tabular
18295 <lyxtabular version="3" rows="5" columns="5">
18297 <column alignment="center" valignment="top" width="0">
18298 <column alignment="center" valignment="top" width="0">
18299 <column alignment="center" valignment="top" width="0" special=":c">
18300 <column alignment="center" valignment="top" width="0">
18301 <column alignment="center" valignment="top" width="0">
18303 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18306 \begin_layout Plain Layout
18312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18315 \begin_layout Plain Layout
18321 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18324 \begin_layout Plain Layout
18330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18333 \begin_layout Plain Layout
18339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18342 \begin_layout Plain Layout
18350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18353 \begin_layout Plain Layout
18359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18362 \begin_layout Plain Layout
18368 <cell alignment="center" valignment="top" topline="true" usebox="none">
18371 \begin_layout Plain Layout
18377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18380 \begin_layout Plain Layout
18386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18389 \begin_layout Plain Layout
18397 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18400 \begin_layout Plain Layout
18404 \begin_layout Plain Layout
18418 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18421 \begin_layout Plain Layout
18427 <cell alignment="center" valignment="top" usebox="none">
18430 \begin_layout Plain Layout
18436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
18439 \begin_layout Plain Layout
18445 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
18448 \begin_layout Plain Layout
18456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18459 \begin_layout Plain Layout
18463 \begin_layout Plain Layout
18477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18480 \begin_layout Plain Layout
18486 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
18489 \begin_layout Plain Layout
18495 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
18498 \begin_layout Plain Layout
18504 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18507 \begin_layout Plain Layout
18515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18518 \begin_layout Plain Layout
18524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18527 \begin_layout Plain Layout
18533 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18536 \begin_layout Plain Layout
18542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18545 \begin_layout Plain Layout
18551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18554 \begin_layout Plain Layout
18573 \begin_layout Standard
18574 En principio LyX no soporta líneas de trazos, hay que usar código TeX.
18575 Hay que cargar antes en el preámbulo del documento el paquete LaTeX
18583 \begin_layout Plain Layout
18584 LaTeX-paquetes ! arydshln
18592 \begin_layout Standard
18597 usepackage{arydshln}
18600 \begin_layout Standard
18601 Para hacer una línea vertical a trazos, introduce dos puntos «
18605 » junto con el carácter para alineación horizontal como argumento LaTeX
18606 en el diálogo de celda de tabla.
18609 \begin_layout Standard
18610 Para una línea de trazos horizontal añade el comando
18613 \begin_layout Standard
18621 \begin_layout Standard
18622 en código TeX como primer elemento de la primera celda en la fila.
18625 \begin_layout Standard
18626 Para líneas de trazos en multicolumna usa el comando
18629 \begin_layout Standard
18634 cdashline{número de líneas}
18637 \begin_layout Standard
18638 en código TeX como primer elemento de la primera celda en la fila.
18639 Si por ejemplo tienes una multicolumna extendida sobre las columnas 2 a
18640 4 y quieres una línea de trazos por encima, añade el comando
18643 \begin_layout Standard
18651 \begin_layout Standard
18652 como primer elemento de la primera celda en la fila de la multicolumna.
18655 \begin_layout Standard
18656 \begin_inset VSpace bigskip
18662 \begin_layout Standard
18664 \begin_inset space ~
18668 \begin_inset CommandInset ref
18670 reference "tab:Tabla-con-trazos"
18674 se ha hecho usando «
18678 » como argumento LaTeX de la tercera columna.
18679 El comando en código TeX
18685 se ha insertado en la primera celda de la tercera fila y el comando en
18687 \begin_inset Newline newline
18696 en la primera celda de la cuarta fila.
18699 \begin_layout Standard
18700 \begin_inset Note Greyedout
18703 \begin_layout Plain Layout
18708 Aparentemente el paquete LaTeX
18712 no es compatible con el paquete LaTeX
18720 \begin_layout Plain Layout
18721 LaTeX-paquetes ! colortbl
18726 que se usa para tablas coloreadas en la sección
18727 \begin_inset space ~
18731 \begin_inset CommandInset ref
18733 reference "sec:Tablas-Coloreadas"
18738 Esto implica que las tablas coloreadas no pueden tener líneas de trazos.
18746 \begin_layout Standard
18750 \begin_layout Plain Layout
18760 \begin_inset Note Note
18763 \begin_layout Plain Layout
18764 Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
18777 \begin_layout Standard
18778 Debes instalar el paquete LaTeX
18782 para ver la parte siguiente en la salida.
18785 \begin_layout Standard
18789 \begin_layout Plain Layout
18801 \begin_layout Chapter
18803 \begin_inset CommandInset label
18805 name "cha:Flotantes"
18813 \begin_layout Plain Layout
18822 \begin_layout Section
18824 \begin_inset CommandInset label
18826 name "sec:Introducción-Flotantes"
18834 \begin_layout Plain Layout
18835 Flotantes ! Introducción
18843 \begin_layout Standard
18844 Un flotante es un bloque de texto asociado con algún tipo de etiqueta que
18845 no tiene posición fija.
18846 Puede «flotar» adelante o atrás una o dos páginas, donde encaje mejor.
18850 \begin_inset space ~
18854 \begin_inset space ~
18862 \begin_inset space ~
18866 \begin_inset space ~
18871 también son flotantes, porque pueden flotar a la página siguiente cuando
18872 hay demasiadas notas en la página.
18875 \begin_layout Standard
18876 Los flotantes permiten composiciones de alta calidad.
18877 Imágenes y tablas se pueden distribuir equitativamente en las páginas para
18878 impedir espacios en blanco y páginas sin texto.
18879 Como el flotante destruye a menudo el contexto entre texto e imagen o tabla,
18880 cada flotante puede ser referenciado en el texto.
18881 Por lo tanto los flotantes están numerados.
18882 Las referencias se describen en la sección
18883 \begin_inset space ~
18887 \begin_inset CommandInset ref
18889 reference "sec:Referencias-a-Flotantes"
18896 \begin_layout Standard
18897 Para insertar un flotante, usa el menú
18899 Insertar\SpecialChar \menuseparator
18907 un cuadro con una etiqueta.
18908 La etiqueta se traducirá automáticamente al idioma del documento.
18909 Tras la etiqueta puedes insertar el texto de la leyenda.
18910 La imagen o tabla se inserta encima o debajo de la leyenda en un párrafo
18911 separado dentro del flotante.
18912 La colocación de leyendas se describe en la sección
18913 \begin_inset space ~
18917 \begin_inset CommandInset ref
18919 reference "sec:Colocación-de-leyendas"
18924 Para mantener legible el documento LyX, puedes abrir y cerrar el flotante
18925 con clic-izquierdo sobre él.
18926 Un cuadro cerrado se muestra así:
18927 \begin_inset Graphics
18928 filename clipart/flotanteQt4.png
18933 ---un cuadro gris con etiqueta en rojo---.
18936 \begin_layout Standard
18937 Se recomienda insertar flotantes como párrafos separados para evitar posibles
18938 errores de LaTeX si el texto circundante se formatea de modo especial.
18941 \begin_layout Standard
18942 Figuras o tablas ya existentes pueden ponerse en un flotante marcándolas
18943 y pinchando el botón correspondiente de la barra de herramientas para un
18947 \begin_layout Section
18951 \begin_layout Standard
18952 Además de los flotantes de imagen y de tabla que se describen en la sección
18953 \begin_inset space ~
18957 \begin_inset CommandInset ref
18959 reference "sec:Figuras-Flotantes"
18964 \begin_inset CommandInset ref
18966 reference "sec:Tablas-Flotantes"
18970 , respectivamente, LyX ofrece los tipos
18983 \begin_layout Subsection
18984 Algoritmos flotantes
18988 \begin_layout Plain Layout
18989 Flotantes ! Algoritmos
18995 \begin_inset CommandInset label
18997 name "sub:Algoritmos-Flotantes"
19004 \begin_layout Standard
19005 \begin_inset Float algorithm
19011 \begin_layout Plain Layout
19012 \begin_inset Caption
19014 \begin_layout Plain Layout
19015 \begin_inset CommandInset label
19017 name "alg:Ejemplo-de-Algoritmo-flotante"
19021 Ejemplo de algoritmo flotante
19029 \begin_layout LyX-Code
19031 \begin_inset Newline newline
19034 Sum:= Sum + A(I); /*comment*/
19035 \begin_inset Newline newline
19039 \begin_inset VSpace -4mm
19050 \begin_layout Standard
19051 Este tipo de flotante se inserta con el menú
19053 Insertar\SpecialChar \menuseparator
19054 Flotante\SpecialChar \menuseparator
19058 Se usa para códigos y descripciones de algoritmos.
19059 Un posible entorno para algoritmos es
19069 \begin_inset space ~
19073 \begin_inset CommandInset ref
19075 reference "alg:Ejemplo-de-Algoritmo-flotante"
19079 es un ejemplo de algoritmo flotante en el que se ha añadido un espacio
19081 \begin_inset space \thinspace{}
19084 mm al final para tener la línea inferior exactamente bajo la última línea
19088 \begin_layout Standard
19089 La etiqueta de flotante no se traduce automáticamente al lenguaje del documento.
19090 Hay que hacerlo manualmente añadiendo al preámbulo del documento la línea:
19093 \begin_layout Standard
19098 floatname{algorithm}{nombre}
19101 \begin_layout Standard
19110 » en el lenguaje deseado.
19113 \begin_layout Standard
19114 En estos casos, para insertar la lista de algoritmos no puedes usar el menú
19117 Insertar\SpecialChar \menuseparator
19118 Lista/IG\SpecialChar \menuseparator
19119 Lista de algoritmos
19121 como en documentos en inglés.
19122 Para documentos en otro idioma usa en su lugar el comando en código TeX:
19125 \begin_layout Standard
19130 listof{algorithm}{nombre}
19133 \begin_layout Standard
19145 \begin_layout Standard
19146 Los algoritmos flotantes no se numeran por omisión según el esquema habitual
19147 para tablas e imágenes flotantes en muchas clases de documento, «capítulo.algori
19149 Para numerarlos con ese esquema, añade este comando en el preámbulo del
19153 \begin_layout Standard
19158 numberwithin{algorithm}{chapter}
19161 \begin_layout Standard
19162 Para poder usar el comando
19171 \begin_inset space ~
19175 \begin_inset space ~
19179 \begin_inset space ~
19186 Documento\SpecialChar \menuseparator
19187 Configuración\SpecialChar \menuseparator
19193 \begin_layout Subsection
19194 Flotantes envueltos en texto
19198 \begin_layout Plain Layout
19199 Flotantes ! Envueltos en texto
19205 \begin_inset CommandInset label
19207 name "sub:Flotante-envuelto"
19214 \begin_layout Standard
19215 \begin_inset Wrap figure
19222 \begin_layout Plain Layout
19223 \begin_inset Graphics
19224 filename ../clipart/mobius.eps
19226 rotateOrigin center
19233 \begin_layout Plain Layout
19234 \begin_inset Caption
19236 \begin_layout Plain Layout
19237 \begin_inset CommandInset label
19239 name "fig:Figura-envuelta"
19243 Figura envuelta en el texto.
19253 Este tipo de flotante se usa para adosar una figura o una tabla al texto,
19254 de modo que ocupe sólo una parte del ancho de columna.
19255 Se inserta con el menú
19257 Insertar\SpecialChar \menuseparator
19258 Flotante\SpecialChar \menuseparator
19260 \begin_inset space ~
19264 \begin_inset space ~
19268 \begin_inset space ~
19273 si está instalado el paquete LaTeX
19281 \begin_layout Plain Layout
19282 LaTeX-paquetes ! wrapfig
19286 \begin_layout Plain Layout
19304 \begin_layout Plain Layout
19305 La instalación de paquetes LaTeX se explica en el manual
19307 Configuración de LaTeX
19314 La anchura y posición del flotante se ajusta en el diálogo de configuración
19315 que se muestra con clic-derecha sobre el cuadro del flotante.
19317 \begin_inset space ~
19321 \begin_inset CommandInset ref
19323 reference "fig:Figura-envuelta"
19327 es un ejemplo de flotante envuelto en texto con una anchura de columna
19329 \begin_inset space \thinspace{}
19336 \begin_layout Plain Layout
19337 Ver unidades disponibles en el apéndice
19338 \begin_inset space ~
19342 \begin_inset CommandInset ref
19344 reference "cha:Unidades-disponibles-en"
19356 \begin_layout Standard
19357 \begin_inset Note Greyedout
19360 \begin_layout Plain Layout
19365 ¡Los flotantes adosados a texto son frágiles! P.
19366 \begin_inset space \thinspace{}
19370 \begin_inset space ~
19373 si una figura está demasiado cerca de la parte inferior de la página se
19374 pueden perder cosas en el proceso de salida: el flotante puede no aparecer
19375 o situarse junto a otro texto.
19383 \begin_layout Standard
19387 \begin_layout Itemize
19388 Los flotantes envueltos no deberían situarse en párrafos que van sobre un
19390 Esto implica que lo mejor es insertarlos en el sitio exacto cuando el documento
19391 esté casi listo y puedas prever los saltos de página.
19394 \begin_layout Itemize
19395 Los flotantes envueltos deberían situarse, bien en un párrafo propio antes
19396 del párrafo al que deben ajustarse, o bien dentro de un párrafo.
19399 \begin_layout Itemize
19400 Los flotantes envueltos en párrafos consecutivos pueden dar problemas, así
19401 que asegura que hay un párrafo de texto entre ellos.
19404 \begin_layout Itemize
19405 Los flotantes envueltos no están permitidos en cabeceras de sección o tablas.
19408 \begin_layout Section
19409 Numeración de flotantes
19410 \begin_inset CommandInset label
19412 name "sec:Numeración-de-flotantes"
19420 \begin_layout Plain Layout
19421 Flotantes ! Numeración
19429 \begin_layout Standard
19430 En general, los flotantes se numeran independientemente de las secciones
19431 en las que se encuentran o según el esquema «capítulo.número» o «sección.número»,
19432 dependiendo de la clase de documento utilizada.
19435 \begin_layout Standard
19436 Para cambiar la numeración independiente de la sección, puedes usar el siguiente
19437 comando en el preámbulo del documento:
19440 \begin_layout Standard
19452 \begin_layout Standard
19459 es el comando que imprime el número de la tabla, para figuras flotantes
19473 imprime el número de tabla en números romanos en minúscula.
19476 \begin_layout Standard
19477 Para cambiar el esquema de numeración, por ejemplo a «subsección.número»,
19478 usa este comando en el preámbulo:
19481 \begin_layout Standard
19486 numberwithin{table}{subsection}
19489 \begin_layout Standard
19490 Para poder usar el comando
19496 , debes marcar la opción
19499 \begin_inset space ~
19503 \begin_inset space ~
19507 \begin_inset space ~
19516 de las preferencias del documento.
19519 \begin_layout Standard
19520 Puedes ver más detalles y notas importantes sobre comandos de numeración
19522 \begin_inset space ~
19526 \begin_inset CommandInset ref
19528 reference "sub:Numeración-de-Notas-al-Pie"
19535 \begin_layout Section
19536 Referencias a flotantes
19537 \begin_inset CommandInset label
19539 name "sec:Referencias-a-Flotantes"
19547 \begin_layout Plain Layout
19548 Flotantes ! Referencias
19557 \begin_layout Plain Layout
19566 \begin_layout Standard
19567 Para referirse a un flotante, inserta una etiqueta en su leyenda con el
19570 Insertar\SpecialChar \menuseparator
19574 \begin_inset Graphics
19575 filename ../../images/label-insert.png
19581 Aparece una ventana esperando la introducción del texto de la etiqueta
19582 y se inserta un cuadro gris como este:
19583 \begin_inset Graphics
19584 filename clipart/etiquetaQt4.png
19590 LyX ofrece como texto las primeras palabras de la leyenda con un prefijo.
19591 El prefijo depende del tipo de flotante, p.
19592 \begin_inset space \thinspace{}
19596 \begin_inset space ~
19599 para figuras el prefijo será «
19606 \begin_layout Standard
19607 La etiqueta se usa como ancla y el nombre para la referencia.
19608 Puedes referenciar la etiqueta usando el menú
19610 Insertar\SpecialChar \menuseparator
19614 \begin_inset space ~
19622 \begin_inset Graphics
19623 filename ../../images/dialog-show-new-inset_ref.png
19629 Aparece una ventana de referencia cruzada con todas las etiquetas del documento.
19630 Si tienes abiertos varios documentos LyX, escoge aquel con el que estás
19631 trabajando de la lista desplegable de la parte superior del diálogo.
19632 Puedes ordenar las etiquetas alfabéticamente y elegir una.
19633 Se inserta un cuadro gris como este:
19634 \begin_inset Graphics
19635 filename clipart/referenciaQt4.png
19641 En la salida, en lugar de este cuadro aparecerá el número de la referencia.
19644 \begin_layout Standard
19645 Se recomienda poner un espacio protegido entre el nombre de la referencia
19646 cruzada y su número para evitar saltos de línea entre ellos.
19647 Si una referencia cruzada corresponde a una etiqueta inexistente verás
19648 dos interrogaciones en la salida.
19651 \begin_layout Standard
19652 En cualquier momento puedes cambiar etiquetas pulsando sobre el cuadro.
19653 Las referencias a las etiquetas cambiadas cambian automáticamente su enlace
19654 al texto de la etiqueta nueva, no te ocupes por eso.
19657 \begin_layout Standard
19661 \begin_inset space ~
19665 \begin_inset space ~
19669 \begin_inset space ~
19674 en la ventana de referencia cruzada lleva el cursor hasta dicha etiqueta,
19675 y el texto del botón cambia a
19679 , con el que se puede retornar a la referencia.
19680 Clic-derecho sobre el cuadro de la referencia también lleva el cursor hasta
19681 la etiqueta pero sin opción de volver.
19684 \begin_layout Subsection
19685 Formatos de referencia cruzada
19686 \begin_inset CommandInset label
19688 name "sub:Formatos-referencia-cruzada"
19696 \begin_layout Plain Layout
19697 Referencias ! Formatos
19705 \begin_layout Standard
19706 Hay seis variedades de referencias cruzadas:
19709 \begin_layout Description
19710 <referencia>: imprime el número flotante, esta es la opción predeterminada:
19712 \begin_inset CommandInset ref
19714 reference "fig:Dos-imágenes-distorsionadas"
19721 \begin_layout Description
19722 (<referencia>): imprime el número flotante entre paréntesis, es el estilo
19723 habitual para referirse a fórmulas, especialmente si se omite el nombre
19725 \begin_inset CommandInset ref
19734 \begin_layout Description
19735 <página>: imprime el número de página: Página
19736 \begin_inset space ~
19740 \begin_inset CommandInset ref
19741 LatexCommand pageref
19742 reference "fig:Dos-imágenes-distorsionadas"
19749 \begin_layout Description
19751 \begin_inset space ~
19755 \begin_inset space ~
19758 <página>: imprime el texto «en la página» y el número de página:
19759 \begin_inset CommandInset ref
19760 LatexCommand vpageref
19761 reference "fig:Dos-imágenes-distorsionadas"
19768 \begin_layout Description
19770 \begin_inset space ~
19774 \begin_inset space ~
19778 \begin_inset space ~
19781 <página>: imprime el número flotante, el texto «en la página» y el número
19783 \begin_inset CommandInset ref
19785 reference "fig:Dos-imágenes-distorsionadas"
19792 \begin_layout Description
19794 \begin_inset space ~
19798 \begin_inset space ~
19801 formato: imprime un formato personalizado.
19803 \begin_inset Note Greyedout
19806 \begin_layout Plain Layout
19811 Esta característica sólo está disponible si está instalado el paquete LaTeX
19824 \begin_layout Standard
19825 Ten en cuenta que el estilo <página>
19826 \begin_inset space \thinspace{}
19829 no imprime el número si la etiqueta está en la misma página, en la anterior
19831 En su lugar verás p.
19832 \begin_inset space \thinspace{}
19836 \begin_inset space ~
19846 \begin_layout Standard
19847 El número y página actual de la parte del documento referida es automáticamente
19848 calculado por LaTeX en la salida.
19849 Las variedades se ajustan en el campo
19853 de la ventana de referencia cruzada, que aparece al pinchar sobre el cuadro.
19856 \begin_layout Subsection
19857 Designación automática de referencias
19861 \begin_layout Plain Layout
19862 Referencias ! Designación automática
19870 \begin_layout Standard
19875 dispone de una característica muy útil que permite incluir automáticamente
19876 en las referencias cruzadas el nombre de los flotantes referidos (o partes
19877 de texto como secciones).
19879 \begin_inset space \thinspace{}
19883 \begin_inset space ~
19886 escribir la palabra «Figura» antes de cada cuadro de referencia.
19887 Para conseguirlo debes cargar el paquete LaTeX
19895 \begin_layout Plain Layout
19896 LaTeX-paquetes ! hyperref
19901 en el preámbulo del documento con
19904 \begin_layout Standard
19909 usepackage[pdfborder={0 0 0}]{hyperref}
19910 \begin_inset Newline newline
19926 \begin_layout Standard
19931 se utiliza para enlazar referencias cruzadas en las salidas DVI y PDF,
19932 esto significa que el lector del documento podrá pinchar sobre una entrada
19933 de Índice o una referencia y será inmediatamente dirigido a esa parte del
19939 también crea marcadores PDF para cada sección para facilitar al lector
19940 la navegación por el documento.
19941 Esto también se ha usado en este documento pero si echas una ojeada al
19942 preámbulo encontrarás varias opciones en la carga de
19947 Para aprender más sobre ello acude a la documentación del paquete
19948 \begin_inset CommandInset citation
19957 \begin_layout Standard
19958 \begin_inset Note Greyedout
19961 \begin_layout Plain Layout
19966 La designación automática de referencias no puede usarse en el estilo
19969 \begin_inset space ~
19973 \begin_inset space ~
19978 , descrita en la sección
19979 \begin_inset space ~
19983 \begin_inset CommandInset ref
19985 reference "sub:Formatos-referencia-cruzada"
19997 \begin_layout Subsection
19998 Colocación de referencias
19999 \begin_inset CommandInset label
20001 name "sub:Colocación-de-Referencias"
20009 \begin_layout Plain Layout
20010 Referencias ! Colocación
20018 \begin_layout Standard
20027 \begin_layout Plain Layout
20028 LaTeX-paquetes ! hyperref
20033 para enlazar referencias cruzadas en la salida, verás que al pinchar sobre
20034 la referencia de una imagen flotante te lleva hasta la etiqueta de la imagen.
20035 La leyenda será la primera parte del texto en pantalla, de forma que para
20036 ver la imagen debes deslizar.
20037 Se debe a que el ancla de enlace de la referencia se sitúa en la etiqueta.
20046 \begin_layout Plain Layout
20047 LaTeX-paquetes ! hypcap
20052 , que forma parte del paquete LaTeX
20060 \begin_layout Plain Layout
20061 LaTeX-paquetes ! oberdiek
20066 , el ancla de enlace se sitúa al comienzo de un flotante.
20067 Para usar esta característica para figuras flotantes carga
20071 en el preámbulo con
20074 \begin_layout Standard
20079 usepackage[figure]{hypcap}
20082 \begin_layout Standard
20087 para todos los flotantes aunque no se recomienda por razones de estabilidad.
20088 Más información en el manual de
20093 \begin_inset CommandInset citation
20102 \begin_layout Standard
20103 \begin_inset Note Greyedout
20106 \begin_layout Plain Layout
20111 debe cargarse después de
20125 \begin_layout Standard
20126 \begin_inset Note Greyedout
20129 \begin_layout Plain Layout
20134 La colocación de referencias no afecta a las referencias a subfiguras.
20142 \begin_layout Section
20143 Colocación de flotantes
20144 \begin_inset CommandInset label
20146 name "sec:Colocación-de-Flotantes"
20154 \begin_layout Plain Layout
20155 Flotantes ! Colocación
20163 \begin_layout Standard
20164 Pulsando con el botón derecho del ratón sobre un cuadro de flotante se abre
20165 un diálogo en el que pueden cambiarse las opciones de LaTeX para situar
20167 \begin_inset Newline newline
20173 \begin_inset space ~
20178 sólo es aplicable a documentos de dos columnas: Si lo seleccionas, el flotante
20179 abarcará ambas columnas en lugar de una sola.
20180 \begin_inset Newline newline
20186 \begin_inset space ~
20190 \begin_inset space ~
20194 \begin_inset space ~
20199 sirve para girar flotantes, ver sección
20200 \begin_inset space ~
20204 \begin_inset CommandInset ref
20206 reference "sec:Rotación-de-Flotantes"
20214 \begin_layout Standard
20215 Puedes usar una o más de las siguientes opciones en el diálogo para establecer
20216 la posición de un flotante si desmarcas la opción
20219 \begin_inset space ~
20223 \begin_inset space ~
20231 \begin_layout Description
20236 \begin_inset space ~
20240 \begin_inset space ~
20244 \begin_inset space ~
20250 intenta situar el flotante en la posición en la que se inserta
20253 \begin_layout Description
20258 \begin_inset space ~
20262 \begin_inset space ~
20268 intenta situar el flotante al principio de la página actual
20271 \begin_layout Description
20276 \begin_inset space ~
20280 \begin_inset space ~
20286 intenta situar el flotante al final de la página actual
20289 \begin_layout Description
20294 \begin_inset space ~
20298 \begin_inset space ~
20304 intenta situar el flotante en una página propia
20307 \begin_layout Standard
20312 ese orden de opciones.
20313 Significa que si usas la colocación predeterminada, LaTeX probará en primer
20317 \begin_inset space ~
20321 \begin_inset space ~
20325 \begin_inset space ~
20333 \begin_inset space ~
20337 \begin_inset space ~
20342 , y después las otras.
20343 Si no usas la predeterminada, LaTeX sólo probará las opciones marcadas
20344 pero en dicho orden.
20345 Si no es posible ninguna de las 4 ubicaciones el proceso se repite internamente
20346 pero intenta poner el flotante en la página siguiente.
20349 \begin_layout Standard
20350 De forma predeterminada cada una de las opciones tiene sus propias reglas:
20353 \begin_layout Labeling
20354 \labelwidthstring 00.00.0000
20358 \begin_inset space ~
20362 \begin_inset space ~
20367 sólo si el flotante ocupa menos del 70
20368 \begin_inset space \thinspace{}
20371 % de la página puede ubicarse al principio de página (
20380 \begin_layout Labeling
20381 \labelwidthstring 00.00.0000
20385 \begin_inset space ~
20389 \begin_inset space ~
20394 sólo si el flotante ocupa menos del 30
20395 \begin_inset space \thinspace{}
20398 % de la página puede ubicarse al fin de página.
20408 \begin_layout Labeling
20409 \labelwidthstring 00.00.0000
20413 \begin_inset space ~
20417 \begin_inset space ~
20423 \begin_inset space \thinspace{}
20426 % de la página se ocupa por flotantes puede haber varios juntos en la misma
20437 \begin_layout Standard
20438 Si no te agradan estas reglas puedes ignorarlas marcando la opción adicional
20442 \begin_inset space ~
20446 \begin_inset space ~
20450 \begin_inset space ~
20456 \begin_inset Newline newline
20459 También puedes redefinir las reglas con los comandos LaTeX que van entre
20460 paréntesis tras la descripción de las reglas anteriores.
20461 Por ejemplo, para aumentar el valor predeterminado, quizás pequeño, de
20467 \begin_inset space ~
20475 \begin_inset space ~
20483 \begin_inset space \thinspace{}
20486 %, añade esta línea en el preámbulo:
20489 \begin_layout Standard
20496 bottomfraction}{0.5}
20499 \begin_layout Standard
20500 En determinados casos podrías necesitar ubicar un flotante exactamente en
20501 la posición en la que se inserta.
20502 Para esto puedes usar la opción
20505 \begin_inset space ~
20511 Usa esta opción esporádicamente y sólo cuando el documento esté casi listo,
20512 porque el flotante ya no podrá «flotar» y si haces cambios al documento
20513 se podría estropear el diseño de la página.
20516 \begin_layout Standard
20517 No hay opciones de ubicación para flotantes ajustados a texto porque siempre
20518 están rodeados por texto de un párrafo determinado.
20519 \begin_inset VSpace bigskip
20525 \begin_layout Standard
20526 A veces surge el problema de que un flotante se sitúa al principio de la
20527 página mientras que su sección correspondiente empieza en mitad de la página,
20528 así que el lector podría creer que el flotante forma parte de la sección
20530 Para evitarlo puede emplearse el comando LaTeX
20536 , que suprime la ubicación de un flotante dado en la página donde se inserta
20537 y además puede servir para evitar que el flotante se coloque antes del
20539 Para ello, añade estos comandos al preámbulo:
20542 \begin_layout Standard
20552 \begin_inset Newline newline
20566 \begin_layout Standard
20567 Se puede hacer lo mismo para todas las cabeceras de sección, capítulos y
20569 No es recomendable para partes pequeñas de texto como subsubsecciones porque
20570 LaTeX podría tener problemas para encontrar una ubicación adecuada.
20573 \begin_layout Standard
20574 \begin_inset VSpace bigskip
20577 En ciertos casos se quieren tener todas las figuras/tablas al final del
20579 Para estos casos está el paquete LaTeX
20587 \begin_layout Plain Layout
20588 LaTeX-paquetes ! endfloat
20594 Pone todas las figuras y tablas flotantes al final del documento en secciones
20596 En la posición original del flotante se inserta una indicación como «
20599 \begin_inset space ~
20609 se carga en el preámbulo con la línea
20612 \begin_layout Standard
20617 usepackage[options]{endfloat}
20620 \begin_layout Standard
20621 Hay varias opciones para diseñar las secciones figura/tabla creadas.
20622 Para más información ver la documentación de
20623 \begin_inset CommandInset citation
20630 \begin_inset Newline newline
20634 \begin_inset Note Greyedout
20637 \begin_layout Plain Layout
20642 no traduce automáticamente la indicación, hay que hacerlo manualmente,
20644 \begin_inset space ~
20648 \begin_inset CommandInset citation
20660 \begin_inset Newline newline
20664 \begin_inset Note Greyedout
20667 \begin_layout Plain Layout
20672 Actualmente hay un error en
20676 cuando la leyenda contiene el carácter alemán «ß».
20677 Usa en ese caso el comando «
20683 » en código TeX en vez de «ß».
20691 \begin_layout Standard
20692 \begin_inset VSpace bigskip
20695 Más detalles sobre ubicación de flotantes en libros sobre LaTeX como
20696 \begin_inset CommandInset citation
20698 key "latexcompanion,latexguide,latexbook"
20705 \begin_layout Section
20706 Rotación de flotantes
20707 \begin_inset CommandInset label
20709 name "sec:Rotación-de-Flotantes"
20717 \begin_layout Plain Layout
20718 Flotantes ! Rotación
20726 \begin_layout Standard
20727 Podrías necesitar girar flotantes, especialmente con tablas grandes.
20728 Para girar todo el flotante y su leyenda, pincha sobre su cuadro y marca
20732 \begin_inset space ~
20736 \begin_inset space ~
20740 \begin_inset space ~
20748 \begin_layout Standard
20749 Los flotantes girados son puestos siempre en su propia página (o columna
20750 si el documento es de dos columnas).
20751 Se rotan de forma que puedes leerlos desde el margen externo.
20752 Para forzar determinada dirección de rotación para todas las páginas, puedes
20753 añadir una de las opciones
20761 a las opciones de clase del documento.
20764 \begin_layout Standard
20765 Los flotantes girados se refieren igual que los normales, y el formato de
20766 la leyenda también es el mismo: un ejemplo es la tabla
20767 \begin_inset space ~
20771 \begin_inset CommandInset ref
20773 reference "tab:Tabla-girada"
20780 \begin_layout Standard
20781 \begin_inset Note Greyedout
20784 \begin_layout Plain Layout
20789 No todos los visores DVI pueden mostrar tablas giradas.
20797 \begin_layout Standard
20798 \begin_inset Float table
20803 \begin_layout Plain Layout
20804 \begin_inset Caption
20806 \begin_layout Plain Layout
20807 \begin_inset CommandInset label
20809 name "tab:Tabla-girada"
20821 \begin_layout Plain Layout
20823 \begin_inset Tabular
20824 <lyxtabular version="3" rows="1" columns="5">
20826 <column alignment="center" valignment="top" width="0">
20827 <column alignment="center" valignment="top" width="0">
20828 <column alignment="center" valignment="top" width="0">
20829 <column alignment="center" valignment="top" width="0">
20830 <column alignment="center" valignment="top" width="0">
20832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20835 \begin_layout Plain Layout
20841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20844 \begin_layout Plain Layout
20850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20853 \begin_layout Plain Layout
20859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20862 \begin_layout Plain Layout
20868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20871 \begin_layout Plain Layout
20890 \begin_layout Section
20895 \begin_layout Plain Layout
20896 Flotantes ! Adosados
20904 \begin_layout Standard
20905 Para colocar flotantes unos junto a otros, como en la figura
20906 \begin_inset space ~
20910 \begin_inset CommandInset ref
20912 reference "fig:Flotante-izquierda"
20917 \begin_inset CommandInset ref
20919 reference "fig:Flotante-derecha"
20928 En él se insertan dos cuadros tipo minipágina.
20932 \begin_layout Plain Layout
20933 Las minipáginas se explican en la sección
20934 \begin_inset space ~
20938 \begin_inset CommandInset ref
20940 reference "sec:Minipáginas"
20949 La anchura de la columna se establece en 45-50
20950 \begin_inset space \thinspace{}
20953 % y la alineación en
20957 para cada minipágina.
20958 Las minipáginas contienen la imagen y su título, de igual forma que en
20960 La única diferencia es que el
20963 \begin_inset space ~
20967 \begin_inset space ~
20971 \begin_inset space ~
20976 de la imagen se calcula en este caso en relación a la anchura de la minipágina.
20979 \begin_layout Standard
20980 \begin_inset Float figure
20986 \begin_layout Plain Layout
20987 \begin_inset Box Frameless
20996 height_special "totalheight"
20999 \begin_layout Plain Layout
21001 \begin_inset Graphics
21002 filename ../clipart/mobius.eps
21005 scaleBeforeRotation
21012 \begin_layout Plain Layout
21013 \begin_inset Caption
21015 \begin_layout Plain Layout
21016 \begin_inset CommandInset label
21018 name "fig:Flotante-izquierda"
21022 Flotante en el lado izquierdo.
21033 \begin_inset space \hfill{}
21037 \begin_inset Box Frameless
21046 height_special "totalheight"
21049 \begin_layout Plain Layout
21051 \begin_inset Graphics
21052 filename ../clipart/platypus.eps
21055 scaleBeforeRotation
21062 \begin_layout Plain Layout
21063 \begin_inset Caption
21065 \begin_layout Plain Layout
21066 \begin_inset CommandInset label
21068 name "fig:Flotante-derecha"
21072 Flotante en el lado derecho.
21090 \begin_layout Section
21091 Formato de las leyendas
21095 \begin_layout Plain Layout
21105 \begin_layout Plain Layout
21106 Flotantes ! Formato de las leyendas
21115 \begin_layout Plain Layout
21116 LaTeX-paquetes ! caption
21122 \begin_inset CommandInset label
21124 name "sec:Formato-de-leyendas"
21131 \begin_layout Standard
21136 es el predeterminado para los
21141 En LyX las leyendas se muestran como etiqueta, p.
21142 \begin_inset space \thinspace{}
21146 \begin_inset space ~
21153 :» seguida por el texto.
21154 «#» es el número real de referencia.
21155 Por omisión la etiqueta y el número usan la misma fuente que el texto de
21156 la leyenda y el signo dos puntos sigue al número para separar la etiqueta
21158 El entorno leyenda no es apropiado para todos los tipos de documento.
21162 \begin_layout Standard
21163 Para cambiar el formato predeterminado carga el paquete LaTeX
21171 \begin_layout Plain Layout
21172 LaTeX-paquetes ! caption
21177 en el preámbulo del documento con la línea:
21180 \begin_layout Standard
21185 usepackage[definición de formato]{caption}
21188 \begin_layout Standard
21189 Para poner, por ejemplo, la etiqueta y el número en sans-serif negrita y
21190 las leyendas de tabla siempre sobre ella como en este documento, usa el
21194 \begin_layout Standard
21199 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21202 \begin_layout Standard
21203 También puedes definir distintos formatos de leyenda para los distintos
21204 tipos de flotantes.
21205 En ese caso carga el paquete
21209 sin opciones específicas y define los distintos formatos con ayuda del
21213 \begin_layout Standard
21218 captionsetup[tipo de flotante]{definición de formato}
21221 \begin_layout Standard
21222 en el preámbulo del documento.
21223 Por ejemplo las leyendas de la Figura
21224 \begin_inset space ~
21228 \begin_inset CommandInset ref
21230 reference "fig:Esto-es-una-fig"
21235 \begin_inset space ~
21239 \begin_inset CommandInset ref
21241 reference "tab:Esto-es-una-tab"
21245 pueden crearse usando los siguientes comandos en el preámbulo:
21248 \begin_layout Standard
21253 usepackage[tableposition=top]{caption}
21256 \begin_inset Newline newline
21263 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21264 \begin_inset Newline newline
21271 \begin_layout Plain Layout
21279 captionsetup[figure]
21287 \begin_inset Newline newline
21292 captionsetup[table]{labelfont={bf,sf}}
21295 \begin_layout Standard
21296 \begin_inset Note Greyedout
21299 \begin_layout Plain Layout
21308 no tiene efecto si se usa una clase de documento
21313 En este caso debe utilizarse la opción de clase de documento
21326 \begin_layout Standard
21327 Para más información sobre el paquete
21331 acude a su documentación
21332 \begin_inset CommandInset citation
21341 \begin_layout Standard
21342 Para cambiar el nombre de la etiqueta de «Figura» a «Imagen», p.
21343 \begin_inset space \thinspace{}
21346 e., usa el siguiente comando de preámbulo:
21349 \begin_layout Standard
21356 fnum@figure}{Imagen~
21361 \begin_layout Standard
21368 inserta el número de figura y «~» genera un espacio protegido.
21374 \begin_layout Standard
21375 \begin_inset VSpace bigskip
21378 Si estás usando la clase de documento
21386 \begin_layout Plain Layout
21387 LaTeX-paquetes ! koma-script
21394 article (koma-script)
21402 letter (koma-script)
21406 report (koma-script)
21409 \begin_inset space \thinspace{}
21412 ), puedes emplear en vez del paquete
21427 Por ejemplo, para poner en negrita la etiqueta de la leyenda añade este
21428 comando en el preámbulo del documento:
21431 \begin_layout Standard
21436 setkomafont{captionlabel}{
21441 \begin_layout Standard
21442 Más información sobre
21448 en la documentación de
21453 \begin_inset CommandInset citation
21462 \begin_layout Standard
21466 \begin_layout Plain Layout
21470 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21477 \begin_inset Note Note
21480 \begin_layout Plain Layout
21481 El formato de la leyenda se ha cambiado sólo para este ejemplo.
21489 \begin_layout Standard
21490 \begin_inset Float figure
21496 \begin_layout Plain Layout
21498 \begin_inset Graphics
21499 filename ../clipart/mobius.eps
21508 \begin_layout Plain Layout
21509 \begin_inset Caption
21511 \begin_layout Plain Layout
21512 \begin_inset CommandInset label
21514 name "fig:Esto-es-una-fig"
21519 \begin_inset OptArg
21522 \begin_layout Plain Layout
21523 Figura con leyenda muy larga
21528 Este es un ejemplo de figura con una leyenda que es mayor de una línea para
21529 mostrar el formato diferente.
21530 Aquí se usa una leyenda personalizada.
21543 \begin_layout Standard
21547 \begin_layout Plain Layout
21551 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21560 \begin_layout Standard
21561 \begin_inset Float table
21567 \begin_layout Plain Layout
21568 \begin_inset Caption
21570 \begin_layout Plain Layout
21571 \begin_inset CommandInset label
21573 name "tab:Esto-es-una-tab"
21578 \begin_inset OptArg
21581 \begin_layout Plain Layout
21582 Tabla con leyenda muy larga
21587 Este es un ejemplo de leyenda de tabla mayor que una línea para mostrar
21588 el formato diferente.
21589 Aquí se usa el formato de leyenda estándar para las tablas.
21597 \begin_layout Plain Layout
21599 \begin_inset Tabular
21600 <lyxtabular version="3" rows="1" columns="5">
21602 <column alignment="center" valignment="top" width="0">
21603 <column alignment="center" valignment="top" width="0">
21604 <column alignment="center" valignment="top" width="0">
21605 <column alignment="center" valignment="top" width="0">
21606 <column alignment="center" valignment="top" width="0">
21608 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21611 \begin_layout Plain Layout
21617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21620 \begin_layout Plain Layout
21626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21629 \begin_layout Plain Layout
21635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21638 \begin_layout Plain Layout
21644 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21647 \begin_layout Plain Layout
21666 \begin_layout Section
21667 Colocación de leyendas
21671 \begin_layout Plain Layout
21672 Leyendas ! Colocación
21681 \begin_layout Plain Layout
21682 Flotantes ! Colocación de leyendas
21688 \begin_inset CommandInset label
21690 name "sec:Colocación-de-leyendas"
21697 \begin_layout Standard
21698 La norma habitual para colocar las leyendas es:
21701 \begin_layout Description
21702 Figura: La leyenda al pie de la figura
21705 \begin_layout Description
21706 Tabla: La leyenda sobre la tabla
21709 \begin_layout Standard
21710 Desafortunadamente, las clases estándar de LaTeX no soportan leyendas sobre
21712 Esto implica que si usas las clases de documento
21728 no habrá espacio entre la leyenda y la tabla.
21729 Para insertar el espacio adecuado añade la siguiente opción al comando
21734 en el preámbulo del documento:
21738 \begin_layout Plain Layout
21740 \begin_inset space ~
21744 \begin_inset CommandInset ref
21746 reference "sec:Formato-de-leyendas"
21750 para más información sobre el paquete
21762 \begin_layout Standard
21768 \begin_layout Standard
21769 Si estás usando la clase
21777 \begin_layout Plain Layout
21778 LaTeX-paquetes ! koma-script
21785 article (koma-script)
21793 letter (koma-script)
21797 report (koma-script)
21800 \begin_inset space \thinspace{}
21807 puedes poner la opción
21811 de la clase de documento.
21814 \begin_layout Standard
21815 \begin_inset VSpace bigskip
21818 También es posible poner la leyenda junto a una figura o tabla.
21819 Para conseguirlo hay que cargar el paquete LaTeX
21827 \begin_layout Plain Layout
21828 LaTeX-paquetes ! sidecap
21833 añadiendo en el preámbulo del documento la línea
21836 \begin_layout Standard
21841 usepackage[option]{sidecap}
21844 \begin_layout Standard
21845 Si no se especifica opción, la leyenda se ubica del lado del margen externo
21846 de la página ---a la derecha en páginas impares, a la izquierda en las
21848 Puedes cambiar la colocación al margen interno con la opción
21853 Para forzar la ubicación siempre a la derecha o a la izquierda, usa las
21865 \begin_layout Standard
21869 \begin_layout Plain Layout
21879 \begin_inset Note Note
21882 \begin_layout Plain Layout
21883 La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
21896 \begin_layout Standard
21897 Para situar en LyX la leyenda de un flotante al lado, es necesario añadir
21898 estos comandos al preámbulo del documento:
21901 \begin_layout Standard
21907 \begin_layout Standard
21915 \begin_inset Newline newline
21922 \begin_layout Plain Layout
21938 \begin_inset Newline newline
21945 \begin_layout Plain Layout
21961 \begin_inset Newline newline
21968 \begin_layout Plain Layout
21979 renewenvironment{table}{
21986 \begin_layout Standard
21994 \begin_inset Newline newline
22001 \begin_layout Plain Layout
22017 \begin_inset Newline newline
22024 \begin_layout Plain Layout
22042 \begin_layout Standard
22050 \begin_inset Newline newline
22057 \begin_layout Plain Layout
22073 \begin_inset Newline newline
22080 \begin_layout Plain Layout
22096 \begin_inset Newline newline
22103 \begin_layout Plain Layout
22114 renewenvironment{figure}{
22121 \begin_layout Standard
22129 \begin_inset Newline newline
22136 \begin_layout Plain Layout
22152 \begin_inset Newline newline
22159 \begin_layout Plain Layout
22177 \begin_layout Standard
22183 \begin_layout Standard
22184 Estos comandos permiten redefinir los flotantes de modo que la leyenda aparezca
22186 Para figuras flotantes usa el comando
22189 \begin_layout Standard
22197 \begin_layout Standard
22198 en código TeX antes del flotante.
22199 Detrás del flotante inserta
22202 \begin_layout Standard
22210 \begin_layout Standard
22211 en código TeX para volver a la definición original de flotantes.
22214 \begin_layout Standard
22215 Para tablas flotantes usa los comandos correspondientes
22218 \begin_layout Standard
22232 \begin_layout Standard
22234 \begin_inset space ~
22238 \begin_inset CommandInset ref
22240 reference "fig:encab-al-lado"
22245 \begin_inset space ~
22249 \begin_inset CommandInset ref
22251 reference "tab:encab-al-lado"
22255 son ejemplos en los que el título se sitúa al lado.
22258 \begin_layout Standard
22259 En los ejemplos puedes ver que el texto del título aparece encima del flotante
22260 en tablas flotantes y debajo en las figuras flotantes.
22261 Para cambiarlo, puedes usar el comando
22264 \begin_layout Standard
22269 sidecaptionvpos{tipo de flotante}{colocación}
22272 \begin_layout Standard
22273 en el preámbulo o en código TeX antes del flotante.
22274 El tipo de flotante es
22282 , la colocación puede ser «
22286 » por «top» (arriba), «
22290 » por «center» (centro), o «
22294 » por «bottom» (abajo).
22295 Para tener, por ejemplo, el título de figuras flotantes verticalmente centrado,
22299 \begin_layout Standard
22304 sidecaptionvpos{figure}{c}
22307 \begin_layout Standard
22308 Esto se ha hecho en la figura
22309 \begin_inset space ~
22313 \begin_inset CommandInset ref
22315 reference "fig:encab-al-lado-de-fig"
22322 \begin_layout Standard
22323 \begin_inset VSpace medskip
22326 Más información sobre el paquete
22330 en su documentación
22331 \begin_inset CommandInset citation
22340 \begin_layout Standard
22341 \begin_inset Note Greyedout
22344 \begin_layout Plain Layout
22357 \begin_layout Plain Layout
22358 LaTeX-paquetes ! hypcap
22363 , descrito en la sección
22364 \begin_inset space ~
22368 \begin_inset CommandInset ref
22370 reference "sub:Colocación-de-Referencias"
22374 , no afecta a flotantes con la leyenda al lado.
22382 \begin_layout Standard
22386 \begin_layout Plain Layout
22398 \begin_layout Standard
22399 \begin_inset Float figure
22404 \begin_layout Plain Layout
22405 \begin_inset Graphics
22406 filename ../clipart/escher-lsd.eps
22414 \begin_layout Plain Layout
22415 \begin_inset Caption
22417 \begin_layout Plain Layout
22418 \begin_inset CommandInset label
22420 name "fig:encab-al-lado"
22424 Leyenda al lado de una figura.
22437 \begin_layout Standard
22441 \begin_layout Plain Layout
22453 \begin_layout Standard
22454 \begin_inset Float table
22459 \begin_layout Plain Layout
22460 \begin_inset Caption
22462 \begin_layout Plain Layout
22463 \begin_inset CommandInset label
22465 name "tab:encab-al-lado"
22469 Leyenda al lado de una tabla.
22477 \begin_layout Plain Layout
22478 \begin_inset Tabular
22479 <lyxtabular version="3" rows="4" columns="5">
22481 <column alignment="center" valignment="top" width="0">
22482 <column alignment="center" valignment="top" width="0">
22483 <column alignment="center" valignment="top" width="0">
22484 <column alignment="center" valignment="top" width="0">
22485 <column alignment="center" valignment="top" width="0">
22487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22490 \begin_layout Plain Layout
22496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22499 \begin_layout Plain Layout
22505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22508 \begin_layout Plain Layout
22514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22517 \begin_layout Plain Layout
22523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22526 \begin_layout Plain Layout
22534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22537 \begin_layout Plain Layout
22543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22546 \begin_layout Plain Layout
22552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22555 \begin_layout Plain Layout
22561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22564 \begin_layout Plain Layout
22570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22573 \begin_layout Plain Layout
22581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22584 \begin_layout Plain Layout
22590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22593 \begin_layout Plain Layout
22599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22602 \begin_layout Plain Layout
22608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22611 \begin_layout Plain Layout
22617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22620 \begin_layout Plain Layout
22628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22631 \begin_layout Plain Layout
22637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22640 \begin_layout Plain Layout
22646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22649 \begin_layout Plain Layout
22655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22658 \begin_layout Plain Layout
22664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22667 \begin_layout Plain Layout
22686 \begin_layout Standard
22690 \begin_layout Plain Layout
22702 \begin_layout Standard
22706 \begin_layout Plain Layout
22710 sidecaptionvpos{figure}{c}
22716 \begin_inset Float figure
22721 \begin_layout Plain Layout
22722 \begin_inset Graphics
22723 filename ../clipart/escher-lsd.eps
22731 \begin_layout Plain Layout
22732 \begin_inset Caption
22734 \begin_layout Plain Layout
22735 \begin_inset CommandInset label
22737 name "fig:encab-al-lado-de-fig"
22741 Leyenda centrada verticalmente junto a una figura.
22754 \begin_layout Standard
22758 \begin_layout Plain Layout
22770 \begin_layout Standard
22774 \begin_layout Plain Layout
22784 \begin_inset Note Note
22787 \begin_layout Plain Layout
22788 Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
22801 \begin_layout Standard
22802 Debes instalar el paquete LaTeX
22806 para ver la parte siguiente en la salida.
22809 \begin_layout Standard
22813 \begin_layout Plain Layout
22825 \begin_layout Section
22827 \begin_inset CommandInset label
22829 name "sec:Lista-de-Flotantes"
22837 \begin_layout Plain Layout
22838 Flotantes ! Lista de
22846 \begin_layout Standard
22847 Igual que en el índice general se listan las secciones del documento, hay
22848 listas para todos los tipos de flotantes, como las figuras.
22849 Se pueden insertar mediante los submenús
22851 Insertar\SpecialChar \menuseparator
22857 \begin_layout Standard
22858 Las entradas de la lista son los títulos del flotante o su título corto,
22859 el número de flotante, y el número de la página del documento en la que
22863 \begin_layout Standard
22864 Puedes encontrar las listas de figuras y tablas al final de este documento.
22867 \begin_layout Chapter
22871 \begin_layout Section
22873 \begin_inset CommandInset label
22875 name "sec:Notas-en-LyX"
22883 \begin_layout Plain Layout
22884 Notas ! Notas en LyX
22892 \begin_layout Standard
22893 Las notas se insertan con el botón
22894 \begin_inset Graphics
22895 filename ../../images/note-insert.png
22902 Insertar\SpecialChar \menuseparator
22906 Hay cinco tipos de notas:
22909 \begin_layout Description
22911 \begin_inset space ~
22914 LyX Este tipo es para notas internas que no han de aparecer en la salida.
22915 Su cuadro se muestra como este:
22916 \begin_inset Newline newline
22920 \begin_inset Newline newline
22924 \begin_inset Graphics
22925 filename clipart/NotaLyXImagenQt4.png
22932 \begin_inset Note Note
22935 \begin_layout Plain Layout
22936 Este es un texto en un recuadro que no se muestra en la salida.
22944 \begin_layout Description
22945 Comentario Esta nota tampoco se muestra en la salida pero aparece como un
22946 comentario de LaTeX, cuando exportas el documento a LaTeX vía menú
22948 Archivo\SpecialChar \menuseparator
22949 Exportar\SpecialChar \menuseparator
22950 LaTeX (pdflatex) / (plain)
22953 Su recuadro se ve así:
22954 \begin_inset Newline newline
22958 \begin_inset Newline newline
22962 \begin_inset Graphics
22963 filename clipart/ComentNotaImagenQt4.png
22970 \begin_inset Note Comment
22973 \begin_layout Plain Layout
22974 Una nota comentario que sólo aparece como comentario en archivos LaTeX.
22982 \begin_layout Description
22984 \begin_inset space ~
22988 \begin_inset space ~
22991 gris Esta nota aparece en la salida como texto resaltado en gris.
22992 Su recuadro se parece a este:
22993 \begin_inset Newline newline
22997 \begin_inset Newline newline
23001 \begin_inset Graphics
23002 filename clipart/GrisNotaImagenQt4.png
23009 \begin_inset Newline newline
23016 \begin_layout Plain Layout
23020 renewenvironment{lyxgreyedout}
23023 \begin_layout Plain Layout
23027 textcolor[gray]{0.8}
23037 \begin_inset Note Greyedout
23040 \begin_layout Plain Layout
23045 \begin_layout Plain Layout
23046 Esto es un ejemplo de nota al pie en una nota resaltada en gris.
23051 de un comentario que se muestra resaltado en gris.
23060 \begin_layout Plain Layout
23064 renewenvironment{lyxgreyedout}
23067 \begin_layout Plain Layout
23081 \begin_inset Note Note
23084 \begin_layout Plain Layout
23085 La nota resaltada en gris se ha redefinido aquí para mostrarla con la definición
23086 original de LyX, ya que en el preámbulo de este documento se han redefinido
23087 estas notas para que salgan en azul, como se indica más adelante.
23093 \begin_inset Newline newline
23097 \begin_inset Newline newline
23100 Como se ve en el ejemplo, la primera línea de las notas resaltadas en gris
23101 está un poco sangrada, y por otra parte pueden tener notas al pie.
23104 \begin_layout Description
23105 Enmarcado Este tipo de notas aparecerá en la salida como un texto enmarcado.
23106 Su recuadro se verá como este:
23107 \begin_inset Newline newline
23111 \begin_inset Newline newline
23118 \begin_inset Graphics
23119 filename clipart/NotaEnmarcadaImg.png
23131 \begin_inset Box Framed
23140 height_special "totalheight"
23143 \begin_layout Plain Layout
23146 Este texto en un cuadro de nota se verá enmarcado en la salida.
23160 diferencia de los cuadros enmarcados,
23164 \begin_layout Plain Layout
23165 Los cuadros enmarcados se describen en la sección
23166 \begin_inset space ~
23170 \begin_inset CommandInset ref
23172 reference "sec:Cuadros-Enmarcados"
23181 este marco emplea siempre la anchura total de página y la nota va en su
23185 \begin_layout Description
23186 Sombreado Este tipo de nota se verá en la salida con un fondo de color rojo.
23187 Su recuadro se verá como este:
23188 \begin_inset Newline newline
23192 \begin_inset Newline newline
23199 \begin_inset Graphics
23200 filename clipart/NotaSombreadaImg.png
23206 \begin_inset Box Shaded
23215 height_special "totalheight"
23218 \begin_layout Plain Layout
23221 Este texto en un cuadro de nota se verá en la salida sobre fondo en rojo.
23226 A diferencia de los cuadros coloreados
23233 \begin_layout Plain Layout
23234 Los cuadros coloreados se describen en la sección
23235 \begin_inset space ~
23239 \begin_inset CommandInset ref
23241 reference "sec:Cuadros-Coloreados"
23250 , este cuadro de nota siempre usa toda la anchura de página y va en su propio
23254 \begin_layout Standard
23255 \begin_inset VSpace bigskip
23258 Si usas el botón de la barra de herramientas
23259 \begin_inset Graphics
23260 filename ../../images/note-insert.png
23265 para insertar notas, se inserta una
23268 \begin_inset space ~
23274 Puedes cambiar entre los cinco tipos de nota con clic-derecho sobre el
23280 Si quieres convertir un texto presente a nota, márcalo y pincha sobre el
23281 botón de herramienta
23288 Para cambiar una nota a texto, pulsa la tecla
23292 cuando el cursor está en la primera posición de una nota, o la tecla
23296 cuando el cursor está en la última posición de la nota, respectivamente.
23299 \begin_layout Standard
23300 \begin_inset VSpace bigskip
23303 Se puede cambiar el color del
23307 poniendo en el preámbulo el comando:
23310 \begin_layout Standard
23315 renewenvironment{lyxgreyedout}
23316 \begin_inset Newline newline
23323 \begin_layout Plain Layout
23341 \begin_layout Standard
23342 Los colores disponibles y el método para definir nuestros propios colores
23343 se explica en la sección
23344 \begin_inset space ~
23348 \begin_inset CommandInset ref
23350 reference "sec:Tablas-Coloreadas"
23357 \begin_layout Standard
23358 Las notas en azul en este documento se han hecho con notas del tipo
23362 pero definiendo el color del texto en azul.
23365 \begin_layout Standard
23366 \begin_inset VSpace bigskip
23372 \begin_layout Standard
23373 El estilo de texto en las notas de tipo
23381 se puede establecer en el diálogo
23386 \begin_layout Standard
23387 El grosor predeterminado del marco en las notas
23392 \begin_inset space \thinspace{}
23395 pt; se puede cambiar con el comando
23402 El espacio entre el contenido y el marco es 9
23405 \begin_inset space \thinspace{}
23410 pt por omisión; se puede cambiar con
23417 Por ejemplo, el marco de la siguiente nota
23421 está hecho con los comandos en código TeX
23426 \begin_layout Standard
23436 \begin_layout Standard
23440 \begin_layout Plain Layout
23452 \begin_inset Box Framed
23461 height_special "totalheight"
23464 \begin_layout Plain Layout
23478 \begin_layout Plain Layout
23492 \begin_layout Standard
23493 \begin_inset VSpace bigskip
23499 \begin_layout Standard
23504 el espacio entre el contenido y el borde es 3
23505 \begin_inset space \thinspace{}
23508 pt por omisión; se puede cambiar con
23515 \begin_inset Newline newline
23518 El color rojo predeterminado se puede cambiar con el comando
23522 def\SpecialChar \textcompwordmark{}
23526 El esquema del comando
23530 def\SpecialChar \textcompwordmark{}
23533 se explica en la sección
23534 \begin_inset space ~
23538 \begin_inset CommandInset ref
23540 reference "sec:Tablas-Coloreadas"
23548 \begin_layout Plain Layout
23553 def\SpecialChar \textcompwordmark{}
23556 requiere el paquete LaTeX
23560 en el preámbulo, véase la sección
23563 \begin_inset space ~
23567 \begin_inset CommandInset ref
23569 reference "sec:Cuadros-Coloreados"
23586 \begin_layout Standard
23587 Por ejemplo, la siguiente nota
23591 se ha hecho con los comandos en código TeX
23594 \begin_layout Standard
23600 \begin_inset Newline newline
23605 def\SpecialChar \textcompwordmark{}
23606 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23609 \begin_layout Standard
23613 \begin_layout Plain Layout
23626 \begin_layout Plain Layout
23630 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23636 \begin_inset Box Shaded
23645 height_special "totalheight"
23648 \begin_layout Plain Layout
23651 Texto amarillo en una nota
23656 \begin_inset space ~
23659 con fondo verde oscuro.
23668 \begin_layout Plain Layout
23681 \begin_layout Plain Layout
23685 definecolor{shadecolor}{rgb}{1,0,0}
23693 \begin_layout Section
23695 \begin_inset CommandInset label
23697 name "sec:Notas-al-pie"
23705 \begin_layout Plain Layout
23715 \begin_layout Plain Layout
23724 \begin_layout Standard
23725 Las notas al pie se insertan con el botón
23726 \begin_inset Graphics
23727 filename ../../images/footnote-insert.png
23734 Insertar\SpecialChar \menuseparator
23736 \begin_inset space ~
23740 \begin_inset space ~
23750 Aparece un recuadro como este:
23755 \begin_inset Graphics
23756 filename clipart/notapieQt4.png
23765 donde puedes introducir el texto.
23766 Si quieres convertir un texto existente en nota al pie, márcalo y pincha
23780 Para cambiar una nota al pie a texto, pulsa la tecla
23784 cuando el cursor está en la primera posición de la nota al pie, o la tecla
23789 cuando el cursor está en la última posición de la nota, respectivamente.
23792 \begin_layout Standard
23793 Aquí hay un ejemplo de nota al pie:
23801 \begin_layout Plain Layout
23802 \begin_inset CommandInset label
23804 name "pie:Esto-es-una"
23808 Ejemplo de nota al pie.
23821 \begin_layout Plain Layout
23825 newcounter{MyRepeatFoot}
23828 \begin_layout Plain Layout
23832 setcounter{MyRepeatFoot}{
23842 \begin_layout Standard
23843 En la salida, el pie se muestra como número voladito en el lugar del texto
23844 donde se coloca el recuadro.
23845 El texto se coloca al final de la página actual.
23846 Los números de las notas son calculados por LaTeX, y son consecutivos.
23847 Si comienza o no el recuento en cada capítulo depende de la clase de documento.
23850 \begin_layout Standard
23851 Las notas al pie pueden referenciarse como flotantes: inserta una etiqueta
23852 en la nota y pon una referencia cruzada a esa etiqueta en el texto como
23853 se describe en la sección
23854 \begin_inset space ~
23858 \begin_inset CommandInset ref
23860 reference "sec:Referencias-a-Flotantes"
23865 \begin_inset Newline newline
23868 Esto es una referencia cruzada a la Nota al pie
23869 \begin_inset space ~
23873 \begin_inset CommandInset ref
23875 reference "pie:Esto-es-una"
23880 \begin_inset Newline newline
23884 \begin_inset Note Greyedout
23887 \begin_layout Plain Layout
23892 LyX no suministra prefijos para etiquetas en notas al pie, así que has
23893 de insertar un prefijo, p.
23894 \begin_inset space \thinspace{}
23898 \begin_inset space ~
23905 » manualmente cuando quieras usar el estilo
23908 \begin_inset space ~
23912 \begin_inset space ~
23925 \begin_layout Standard
23926 \begin_inset VSpace defskip
23929 Para poner notas al pie en tablas, tienes que usar minipáginas, ver sección
23930 \begin_inset space ~
23934 \begin_inset CommandInset ref
23936 reference "sec:Minipáginas"
23941 Los pies en tablas largas en la sección
23942 \begin_inset space ~
23946 \begin_inset CommandInset ref
23948 reference "sub:Notas-al-pie-en-Tablas-Largas"
23955 \begin_layout Standard
23956 \begin_inset VSpace defskip
23959 Para crear sólo una marca para una nota al pie, puedes usar el comando
23963 footnotemark[número]
23966 Esto se emplea si tienes la misma anotación varias veces en el texto pero
23967 no quieres imprimir el pie cada vez.
23968 \begin_inset Newline newline
23971 Como no sabes el número del pie que se repite mientras escribes el texto,
23972 tienes que guardarlo.
23973 Para el siguiente ejemplo de marca de pie, se han insertado estos comandos
23974 en código TeX detrás de Nota
23975 \begin_inset space ~
23979 \begin_inset space ~
23983 \begin_inset space ~
23987 \begin_inset CommandInset ref
23989 reference "pie:Esto-es-una"
23993 para guardar el número de pie:
23996 \begin_layout Standard
24001 newcounter{MyRepeatFoot}
24002 \begin_inset Newline newline
24007 setcounter{MyRepeatFoot}{
24012 \begin_layout Standard
24013 La marca de pie se crea entonces con el comando:
24016 \begin_layout Standard
24026 \begin_layout Standard
24027 Aquí hay un ejemplo de marca de pie:
24035 \begin_layout Plain Layout
24049 \begin_layout Subsection
24050 Numeración de notas al pie
24051 \begin_inset CommandInset label
24053 name "sub:Numeración-de-Notas-al-Pie"
24061 \begin_layout Plain Layout
24062 Notas al pie ! Numeración
24070 \begin_layout Standard
24071 Para reiniciar el número de pie a 1 en cada sección añade este
24073 comando en el preámbulo:
24076 \begin_layout Standard
24081 @addtoreset{footnote}{section}
24084 \begin_layout Standard
24085 \begin_inset VSpace bigskip
24088 El siguiente comando en el preámbulo cambia el estilo de numeración del
24089 pie a números romanos en minúsculas:
24092 \begin_layout Standard
24104 \begin_layout Standard
24108 \begin_layout Plain Layout
24121 Nota al pie en números romanos:
24125 \begin_layout Plain Layout
24126 Ejemplo de nota al pie en números romanos.
24135 \begin_layout Plain Layout
24151 \begin_layout Standard
24152 Para cambiar el estilo de número a romanos en mayúscula cambia el comando
24166 Para ordenar las notas al pie con letras mayúsculas o minúsculas usa
24179 Para ordenar las notas al pie con símbolos usa
24188 \begin_layout Standard
24189 \begin_inset Note Greyedout
24192 \begin_layout Plain Layout
24197 sólo puedes ordenar hasta 26 pies con letras, porque está limitado a letras
24204 \begin_inset Newline newline
24208 \begin_inset Note Greyedout
24211 \begin_layout Plain Layout
24216 sólo puedes ordenar hasta 9 pies con símbolos.
24224 \begin_layout Standard
24225 Para volver al estilo de numeración predeterminado cuando has cambiado a
24238 en el comando anterior.
24242 \begin_layout Plain Layout
24258 \begin_layout Standard
24259 \begin_inset VSpace bigskip
24265 \begin_layout Standard
24266 Si quieres numerar notas al pie en el esquema «capítulo.nota», añade el siguiente
24267 comando al preámbulo del documento:
24270 \begin_layout Standard
24275 numberwithin{footnote}{chapter}
24278 \begin_layout Standard
24279 Para poder usar el comando
24290 \begin_inset space ~
24298 \begin_inset space ~
24306 \begin_inset space ~
24317 de la configuración del documento.
24320 \begin_layout Standard
24324 \begin_layout Plain Layout
24328 numberwithin{footnote}{chapter}
24333 Esto es otro ejemplo de nota al pie:
24339 \begin_layout Plain Layout
24340 Nota al pie numerada en el esquema
24341 \begin_inset Quotes eld
24345 \begin_inset Quotes erd
24359 \begin_layout Plain Layout
24375 \begin_layout Standard
24376 \begin_inset Note Greyedout
24379 \begin_layout Plain Layout
24386 siempre imprime el número de nota al pie en números arábigos; las redefiniciones
24387 previas para obtener números no arábigos se sobreescriben.
24395 \begin_layout Standard
24396 Así, para obtener por ejemplo el esquema «capítulo.
24398 Roman{footnote}», usa este comando en vez de
24407 \begin_layout Standard
24421 \begin_layout Subsection
24422 Colocación de notas al pie
24426 \begin_layout Plain Layout
24427 Notas al pie ! Colocación
24435 \begin_layout Standard
24436 Si tienes varias notas al pie de una página, se muestran sin espacio vertical
24437 entre ellas al final de la página.
24438 Para hacerlas más legibles puedes añadir p.
24439 \begin_inset space \thinspace{}
24443 \begin_inset space ~
24447 \begin_inset space \thinspace{}
24450 mm con el comando siguiente en el preámbulo:
24453 \begin_layout Standard
24463 \begin_inset Newline newline
24477 \begin_layout Standard
24478 \begin_inset VSpace bigskip
24481 En documentos a dos columnas la nota al pie aparece al final de cada columna,
24483 \begin_inset space ~
24487 \begin_inset CommandInset ref
24489 reference "fig:Colocación-standard-del-pie"
24494 Si las notas debieran mostrarse sólo al final de la columna derecha, como
24496 \begin_inset space ~
24500 \begin_inset CommandInset ref
24502 reference "fig:Colocación-del-pie-en"
24506 , usa el paquete LaTeX
24514 \begin_layout Plain Layout
24515 LaTeX-paquetes ! ftnright
24520 con este comando en el preámbulo:
24523 \begin_layout Standard
24528 usepackage{ftnright}
24531 \begin_layout Standard
24532 \begin_inset Float figure
24538 \begin_layout Plain Layout
24542 \begin_layout Plain Layout
24552 \begin_inset Graphics
24553 filename ../clipart/without_fntright.pdf
24562 \begin_layout Plain Layout
24572 \begin_layout Plain Layout
24573 \begin_inset Caption
24575 \begin_layout Plain Layout
24576 \begin_inset CommandInset label
24578 name "fig:Colocación-standard-del-pie"
24582 Colocación estándar de notas al pie en documentos a dos columnas.
24595 \begin_layout Standard
24596 \begin_inset Float figure
24602 \begin_layout Plain Layout
24606 \begin_layout Plain Layout
24616 \begin_inset Graphics
24617 filename ../clipart/with_fntright.pdf
24626 \begin_layout Plain Layout
24636 \begin_layout Plain Layout
24637 \begin_inset Caption
24639 \begin_layout Plain Layout
24640 \begin_inset CommandInset label
24642 name "fig:Colocación-del-pie-en"
24646 Colocación de la nota al pie en documentos a dos columnas cuando se usa
24664 \begin_layout Standard
24665 \begin_inset VSpace bigskip
24668 En alguna literatura científica es habitual reunir las notas para imprimirlas
24669 en un párrafo separado al final de la sección, como en la figura
24670 \begin_inset space ~
24674 \begin_inset CommandInset ref
24676 reference "fig:Notas-al-pie-al-final"
24681 Para usar notas finales
24685 \begin_layout Plain Layout
24691 en vez de notas al pie, carga el paquete LaTeX
24699 \begin_layout Plain Layout
24700 LaTeX-paquetes ! endnotes
24705 con las siguientes líneas en el preámbulo de tu documento:
24708 \begin_layout Standard
24713 usepackage{endnotes}
24714 \begin_inset Newline newline
24726 \begin_layout Standard
24727 Para insertar la colección de notas, escribe el comando
24730 \begin_layout Standard
24738 \begin_layout Standard
24739 en código TeX al final de una sección o capítulo.
24742 \begin_layout Standard
24743 \begin_inset Float figure
24748 \begin_layout Plain Layout
24753 \begin_layout Plain Layout
24763 \begin_inset Graphics
24764 filename ../clipart/endnotes.pdf
24772 \begin_layout Plain Layout
24782 \begin_layout Plain Layout
24783 \begin_inset Caption
24785 \begin_layout Plain Layout
24786 \begin_inset CommandInset label
24788 name "fig:Notas-al-pie-al-final"
24792 Notas al final: notas impresas en párrafo separado al final de la sección
24806 \begin_layout Standard
24807 \begin_inset VSpace medskip
24810 La cabecera de párrafo para las notas finales no se traduce automáticamente
24811 al lenguaje del documento, hay que hacerlo manualmente.
24812 El siguiente comando de preámbulo traduce el nombre en inglés «Notes»
24813 al español «Notas»:
24816 \begin_layout Standard
24826 \begin_layout Standard
24827 \begin_inset VSpace medskip
24830 La numeración de notas finales puede cambiarse como la de las notas al pie,
24831 como se describe en la sección
24832 \begin_inset space ~
24836 \begin_inset CommandInset ref
24838 reference "sub:Numeración-de-Notas-al-Pie"
24842 ; sólo hay que reemplazar el comando
24855 Para restablecer la numeración usa el comando
24861 como se describe en la sección
24862 \begin_inset space ~
24866 \begin_inset CommandInset ref
24868 reference "sub:Numeración-de-Notas-al-Pie"
24872 y sustituye el parámetro de comando
24883 \begin_layout Standard
24884 Para crear sólo una marca para una nota final, usa el comando
24888 endnotemark[número]
24896 , descrito en la sección
24897 \begin_inset space ~
24901 \begin_inset CommandInset ref
24903 reference "sec:Notas-al-pie"
24910 \begin_layout Standard
24911 \begin_inset VSpace bigskip
24914 Las notas al pie también pueden colocarse al margen de la página y la alineación
24915 del texto del pie también puede cambiarse, véase el paquete LaTeX
24923 \begin_layout Plain Layout
24924 LaTeX-paquetes ! footmisc
24930 \begin_inset CommandInset citation
24936 para más información.
24939 \begin_layout Standard
24940 Para otras posibilidades de diseño de notas al pie mira en libros de LaTeX,
24942 \begin_inset CommandInset citation
24944 key "latexcompanion,latexguide,latexbook"
24951 \begin_layout Section
24956 \begin_layout Plain Layout
24965 \begin_layout Standard
24966 Las notas al margen se ven y se comportan en LyX como notas al pie.
24967 Se insertan con el menú
24969 Insertar\SpecialChar \menuseparator
24971 \begin_inset space ~
24975 \begin_inset space ~
24981 \begin_inset Graphics
24982 filename ../../images/marginalnote-insert.png
24988 Aparece un cuadro gris con la etiqueta
24991 «margen» en color rojo y un marco en el que puedes escribir el texto de
24995 \begin_layout Standard
24996 Al lado hay un ejemplo de nota al margen.
25001 \begin_inset Marginal
25004 \begin_layout Plain Layout
25005 Esto es una nota al margen.
25013 \begin_layout Standard
25014 Estas notas salen en el margen derecho en documentos a una cara.
25015 En documentos a doble cara se muestran en el margen externo ---margen izquierdo
25016 en páginas pares, derecho en páginas impares---.
25017 El texto de las notas se ajusta a la parte opuesta al margen ---se ajusta
25018 a la derecha si la nota aparece en el margen izquierdo---.
25019 La primera línea de la nota se sitúa en la posición de la línea del texto
25020 en la que se inserta en el documento.
25023 \begin_layout Standard
25024 \begin_inset VSpace bigskip
25027 Para colocar la nota en el margen interno añade el comando
25030 \begin_layout Standard
25038 \begin_layout Standard
25039 en código TeX antes de la nota.
25040 La nueva colocación es válida para todas las siguientes notas al margen.
25045 \begin_layout Plain Layout
25055 \begin_inset Marginal
25058 \begin_layout Plain Layout
25059 Esto es una nota en el margen interno.
25067 \begin_inset Newline newline
25073 \begin_inset Note Greyedout
25076 \begin_layout Plain Layout
25081 A veces no hay espacio suficiente en el margen interno, por lo que la nota
25082 no se mostrará correctamente en la salida.
25090 \begin_layout Standard
25091 Para volver a la ubicación predeterminada inserta en código TeX el comando
25095 \begin_layout Plain Layout
25107 \begin_layout Standard
25115 \begin_layout Standard
25116 \begin_inset Note Greyedout
25119 \begin_layout Plain Layout
25124 El comando se ignora si en el mismo párrafo está también presente el comando
25139 \begin_layout Standard
25140 \begin_inset VSpace bigskip
25147 \begin_inset Marginal
25150 \begin_layout Plain Layout
25151 PalabraMuyLargaAlMargen no partida con guión.
25159 Como en el caso descrito en la sección
25160 \begin_inset space ~
25164 \begin_inset CommandInset ref
25166 reference "sub:Líneas-Múltiples-en"
25170 , una palabra larga no puede partirse con guión cuando es la primera en
25172 Para evitar esto, inserta un espacio horizontal de 0
25173 \begin_inset space \thinspace{}
25176 pt antes de la palabra
25181 \begin_inset Marginal
25184 \begin_layout Plain Layout
25188 \begin_layout Plain Layout
25197 PalabraMuyLargaAlMargen partida con guión.
25205 \begin_layout Standard
25206 \begin_inset VSpace bigskip
25212 \begin_layout Standard
25213 \begin_inset Note Greyedout
25216 \begin_layout Plain Layout
25221 Normalmente no pueden utilizarse notas al margen en tablas, flotantes y
25230 \begin_layout Standard
25231 \begin_inset VSpace bigskip
25237 \begin_layout Standard
25241 \begin_layout Plain Layout
25251 \begin_inset Note Note
25254 \begin_layout Plain Layout
25255 La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
25268 \begin_layout Standard
25269 Esta restricción se puede salvar con el paquete LaTeX
25277 \begin_layout Plain Layout
25278 LaTeX-paquetes ! marginnote
25284 Poniendo estas dos líneas en el preámbulo, el comando usado por LyX para
25285 notas al margen es redefinido para usar el comando proporcionado por el
25293 \begin_layout Standard
25298 usepackage{marginnote}
25299 \begin_inset Newline newline
25311 \begin_layout Standard
25312 Esto se ha utilizado en el presente documento porque
25316 tiene una característica adicional útil: Puedes establecer un desplazamiento
25317 vertical a la nota.
25318 A veces esto hace falta si hay demasiadas notas juntas o para mejorar el
25319 diseño de la página.
25320 En LyX, el desplazamiento se escribe directamente tras la nota al margen,
25324 \begin_layout Standard
25330 \begin_layout Standard
25331 donde desplazamiento es una longitud en una de las unidades de la tabla
25332 \begin_inset space ~
25336 \begin_inset CommandInset ref
25338 reference "tab:Unidades"
25343 Un valor negativo desplaza la nota hacia arriba, un valor positivo hacia
25348 Por ejemplo la nota adjunta a esta línea de texto está desplazada 1.5
25349 \begin_inset space \thinspace{}
25352 cm arriba con el comando en código TeX
25353 \begin_inset Quotes eld
25363 \begin_inset Quotes erd
25367 \begin_inset Marginal
25370 \begin_layout Plain Layout
25372 \begin_inset space \thinspace{}
25375 cm por encima de su posición original.
25387 \begin_layout Plain Layout
25397 \begin_layout Standard
25398 \begin_inset VSpace medskip
25405 también puedes cambiar la alineación del texto en el margen.
25406 Por ejemplo los comandos
25409 \begin_layout Standard
25416 raggedleftmarginnote}{
25419 \begin_inset Newline newline
25426 raggedrightmarginnote}{
25431 \begin_layout Standard
25432 producen alineación centrada.
25437 raggedleftmarginnote
25439 identifica las notas que aparecen al lado izquierdo.
25446 \begin_layout Plain Layout
25452 raggedleftmarginnote}{
25457 \begin_layout Plain Layout
25463 raggedrightmarginnote}{
25471 \begin_inset Marginal
25474 \begin_layout Plain Layout
25475 El texto de esta nota está centrado.
25483 El valor predeterminado es
25486 \begin_layout Standard
25493 raggedleftmarginnote}{
25496 \begin_inset Newline newline
25503 raggedrightmarginnote}{
25512 \begin_layout Plain Layout
25518 raggedleftmarginnote}{
25523 \begin_layout Plain Layout
25529 raggedrightmarginnote}{
25539 \begin_layout Standard
25540 \begin_inset VSpace medskip
25543 Para otras características de
25547 mira en su documentación
25548 \begin_inset CommandInset citation
25557 \begin_layout Standard
25558 \begin_inset VSpace bigskip
25561 El diseño de las notas al margen puede ser redefinido.
25562 Por ejemplo, para crear una cabecera para todas las notas con el texto
25564 \begin_inset Quotes eld
25578 \begin_inset Quotes erd
25581 , subrayado, sans-serif en negrita, añade lo siguiente en el preámbulo:
25584 \begin_layout Standard
25594 \begin_inset Newline newline
25604 \begin_inset Newline newline
25611 \begin_layout Plain Layout
25628 underbar{¡Atención!}}}%
25629 \begin_inset Newline newline
25636 \begin_layout Plain Layout
25654 \begin_layout Standard
25661 \begin_layout Plain Layout
25672 \begin_layout Plain Layout
25683 \begin_layout Plain Layout
25691 underbar{¡Atención!}}}%
25694 \begin_layout Plain Layout
25708 \begin_inset Marginal
25711 \begin_layout Plain Layout
25712 Esta es una nota con una cabecera definida.
25724 \begin_layout Plain Layout
25738 \begin_layout Plain Layout
25755 \begin_inset Note Note
25758 \begin_layout Plain Layout
25759 El formato de la nota al margen se ha cambiado sólo para este ejemplo.
25767 \begin_layout Standard
25771 \begin_layout Plain Layout
25781 \begin_inset Note Note
25784 \begin_layout Plain Layout
25785 Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
25798 \begin_layout Standard
25799 Debes instalar el paquete LaTeX
25803 para ver la parte siguiente en la salida.
25806 \begin_layout Standard
25810 \begin_layout Plain Layout
25822 \begin_layout Chapter
25826 \begin_layout Section
25831 \begin_layout Plain Layout
25832 Cuadros ! Introducción
25840 \begin_layout Standard
25841 Los cuadros se emplean para dar formato a bloques de texto.
25842 Se pueden usar para escribir documentos con varios lenguajes, véase sección
25843 \begin_inset space ~
25847 \begin_inset CommandInset ref
25849 reference "sec:Minipáginas"
25853 , enmarcar textos, véase sección
25854 \begin_inset space ~
25858 \begin_inset CommandInset ref
25860 reference "sec:Cuadros-Enmarcados"
25864 , evitar la división de palabras, véase sección
25865 \begin_inset space ~
25869 \begin_inset CommandInset ref
25871 reference "sec:Evitar-la-Partición"
25875 , alinear texto, véase sección
25876 \begin_inset space ~
25880 \begin_inset CommandInset ref
25882 reference "sub:Alineación-Vertical"
25886 , o para poner color de fondo a un texto, véase sección
25887 \begin_inset space ~
25891 \begin_inset CommandInset ref
25893 reference "sec:Cuadros-Coloreados"
25900 \begin_layout Standard
25901 Se insertan con el menú
25903 Insertar\SpecialChar \menuseparator
25907 \begin_inset Graphics
25908 filename ../../images/box-insert.png
25914 Surge un recuadro gris con la etiqueta
25916 Cuadro (Minipágina)
25919 \begin_inset Graphics
25920 filename clipart/CuadroMinipagQt4.png
25927 El tipo de cuadro se puede elegir al hacer clic-derecho sobre él.
25928 Sale un diálogo en el que
25933 \begin_inset space ~
25940 permite escoger los tipos
25953 es el predeterminado para nuevos cuadros y se explica en la sección
25954 \begin_inset space ~
25958 \begin_inset CommandInset ref
25960 reference "sec:Minipáginas"
25968 se describe en la sección
25969 \begin_inset space ~
25973 \begin_inset CommandInset ref
25975 reference "sec:Cuadros-de-Párrafo"
25982 \begin_layout Standard
25983 Los cuadros no se numeran y por tanto no se pueden referenciar como los
25984 flotantes o las notas al pie.
25987 \begin_layout Standard
25988 \begin_inset Note Greyedout
25991 \begin_layout Plain Layout
25996 Los cuadros no deben ser el ítem en un entorno
26012 \begin_layout Standard
26013 \begin_inset Note Greyedout
26016 \begin_layout Plain Layout
26021 Por razones desconocidas sólo se puede poner el tipo
26024 \begin_inset space ~
26033 cuando se emplea un cuadro enmarcado.
26034 Los cuadros sin ningún tipo de
26037 \begin_inset space ~
26042 y sin marcos se explican en la sección
26043 \begin_inset space ~
26047 \begin_inset CommandInset ref
26049 reference "sec:Evitar-la-Partición"
26061 \begin_layout Section
26063 \begin_inset CommandInset label
26065 name "sec:Diálogo-Cuadros"
26073 \begin_layout Plain Layout
26074 Cuadros ! Configuración
26082 \begin_layout Subsection
26087 \begin_layout Plain Layout
26096 \begin_layout Standard
26097 En el diálogo puedes ajustar la geometría del cuadro en los campos
26106 Las unidades disponibles para la geometría se describen en la tabla
26107 \begin_inset space ~
26111 \begin_inset CommandInset ref
26113 reference "tab:Unidades"
26122 ofrece los siguientes tamaños adicionales:
26125 \begin_layout Description
26126 Profundidad Este es el texto plano «alto».
26127 Ignora la profundidad total cuando hay múltiples líneas de texto en el
26129 \begin_inset Newline newline
26133 \begin_inset Newline newline
26137 \begin_inset Newline newline
26141 \begin_inset Box Boxed
26150 height_special "depth"
26153 \begin_layout Plain Layout
26155 Cuadro con altura establecida en 1
26156 \begin_inset space \thinspace{}
26165 \begin_inset Newline newline
26169 \begin_inset Newline newline
26175 \begin_layout Description
26176 Alto Es la altura del texto que está dentro del cuadro.
26178 \begin_inset space \thinspace{}
26182 \begin_inset space ~
26185 2 para este tamaño fijará la altura del cuadro a 2 veces la altura del texto:
26187 \begin_inset Box Boxed
26196 height_special "height"
26199 \begin_layout Plain Layout
26201 Cuadro con altura puesta en 2
26202 \begin_inset space \thinspace{}
26213 \begin_layout Description
26215 \begin_inset space ~
26218 total Esto es el Alto
26219 \begin_inset space \thinspace{}
26223 \begin_inset space \thinspace{}
26227 \begin_inset Box Boxed
26236 height_special "totalheight"
26239 \begin_layout Plain Layout
26241 Cuadro con altura puesta a 1
26242 \begin_inset space \thinspace{}
26246 \begin_inset space ~
26257 \begin_layout Description
26258 Ancho Esto determina al ancho del cuadro como altura:
26259 \begin_inset Box Boxed
26268 height_special "width"
26271 \begin_layout Plain Layout
26273 Cuadro con altura puesta en 1
26274 \begin_inset space \thinspace{}
26285 \begin_layout Subsection
26290 \begin_layout Plain Layout
26291 Cuadros ! Alineación
26299 \begin_layout Standard
26303 \begin_inset space ~
26308 , la alineación vertical del cuadro puede ser:
26311 \begin_layout Description
26312 Superior Ejemplo de línea de texto.
26314 \begin_inset Box Boxed
26323 height_special "totalheight"
26326 \begin_layout Plain Layout
26328 Cuadro alineado arriba.
26333 Ejemplo de línea de texto.
26336 \begin_layout Description
26337 Medio Ejemplo de línea de texto.
26339 \begin_inset Box Boxed
26348 height_special "totalheight"
26351 \begin_layout Plain Layout
26353 Cuadro alineado en medio.
26358 Ejemplo de línea de texto.
26361 \begin_layout Description
26362 Inferior Ejemplo de línea de texto.
26364 \begin_inset Box Boxed
26373 height_special "totalheight"
26376 \begin_layout Plain Layout
26378 Cuadro alineado abajo.
26383 Ejemplo de línea de texto.
26386 \begin_layout Standard
26387 \begin_inset Note Greyedout
26390 \begin_layout Plain Layout
26395 La alineación vertical puede desaparecer en la salida si hay dos cuadros
26397 \begin_inset space \thinspace{}
26400 e., uno de ellos tiene sombreado y el otro no.
26408 \begin_layout Standard
26409 La alineación horizontal del cuadro puede establecerse en el diálogo de
26410 configuración de párrafo de LyX si colocas el cuadro en su propio párrafo.
26413 \begin_layout Standard
26414 \begin_inset VSpace bigskip
26420 \begin_inset space ~
26425 , el contenido puede alinearse verticalmente a:
26428 \begin_layout Description
26429 Superior Ejemplo de línea de texto.
26431 \begin_inset Box Boxed
26440 height_special "totalheight"
26443 \begin_layout Plain Layout
26445 Cuadro con texto alineado arriba.
26450 Ejemplo de línea de texto.
26453 \begin_layout Description
26454 Medio Ejemplo de línea de texto.
26456 \begin_inset Box Boxed
26465 height_special "totalheight"
26468 \begin_layout Plain Layout
26470 Cuadro con texto alineado en medio.
26475 Ejemplo de línea de texto.
26478 \begin_layout Description
26479 Inferior Ejemplo de línea de texto.
26481 \begin_inset Box Boxed
26490 height_special "totalheight"
26493 \begin_layout Plain Layout
26495 Cuadro con texto alineado abajo.
26500 Ejemplo de línea de texto.
26503 \begin_layout Description
26504 Estirado Ejemplo de línea de texto.
26506 \begin_inset Box Boxed
26515 height_special "totalheight"
26518 \begin_layout Plain Layout
26523 \begin_layout Plain Layout
26528 \begin_layout Plain Layout
26535 Ejemplo de línea de texto.
26538 \begin_layout Standard
26539 Para estirar el contenido debe tener más de un párrafo.
26540 En el ejemplo anterior cada línea de texto está en un párrafo propio.
26543 \begin_layout Standard
26544 \begin_inset VSpace bigskip
26547 Para estirar horizontalmente el contenido usa el diálogo de párrafos de
26548 LyX cuando hayas escogido un
26551 \begin_inset space ~
26559 \begin_layout Standard
26561 \begin_inset Box Boxed
26570 height_special "totalheight"
26573 \begin_layout Plain Layout
26578 \begin_layout Plain Layout
26583 \begin_layout Plain Layout
26593 \begin_layout Standard
26594 Si no has establecido un
26597 \begin_inset space ~
26602 , puedes alinear horizontalmente el contenido del cuadro en el diálogo de
26606 \begin_layout Standard
26608 \begin_inset Box Boxed
26617 height_special "totalheight"
26620 \begin_layout Plain Layout
26622 Texto estirado horizontalmente.
26630 \begin_layout Section
26632 \begin_inset CommandInset label
26634 name "sec:Cuadros-Enmarcados"
26642 \begin_layout Plain Layout
26651 \begin_layout Standard
26652 El estilo de marco del cuadro se puede determinar en la lista desplegable
26657 del diálogo de cuadros.
26658 Son posibles los siguientes marcos:
26661 \begin_layout Description
26663 \begin_inset space ~
26666 rectangular Dibuja un marco rectangular alrededor del cuadro.
26667 El grosor del marco depende de
26675 \begin_inset Box Boxed
26684 height_special "totalheight"
26687 \begin_layout Plain Layout
26697 \begin_layout Description
26699 \begin_inset space ~
26703 \begin_inset space ~
26706 fino Dibuja un marco ovalado cuya línea tiene un grosor de 0.4
26707 \begin_inset space \thinspace{}
26712 \begin_inset Box ovalbox
26721 height_special "totalheight"
26724 \begin_layout Plain Layout
26726 Marco ovalado, fino
26734 \begin_layout Description
26736 \begin_inset space ~
26740 \begin_inset space ~
26743 grueso Dibuja un marco ovalado cuya línea tiene un grosor de 0.8
26744 \begin_inset space \thinspace{}
26749 \begin_inset Box Ovalbox
26758 height_special "totalheight"
26761 \begin_layout Plain Layout
26763 Cuadro ovalado, grueso
26771 \begin_layout Description
26773 \begin_inset space ~
26777 \begin_inset space ~
26780 sombra Dibuja un cuadro rectangular con sombra alrededor del cuadro.
26781 El grosor de la línea tiene el tamaño dado por
26787 , la sombra tiene una anchura de 4
26788 \begin_inset space \thinspace{}
26793 \begin_inset Box Shadowbox
26802 height_special "totalheight"
26805 \begin_layout Plain Layout
26815 \begin_layout Description
26817 \begin_inset space ~
26820 doble Dibuja un rectángulo de línea doble alrededor del cuadro.
26821 El grosor de la línea interior es 0.75
26822 \begin_inset space \thinspace{}
26831 , el de la línea exterior es 1.5
26832 \begin_inset space \thinspace{}
26842 La distancia entre líneas es 1.5
26843 \begin_inset space \thinspace{}
26853 \begin_inset space \thinspace{}
26857 \begin_inset space \thinspace{}
26861 \begin_inset space \thinspace{}
26866 \begin_inset Box Doublebox
26875 height_special "totalheight"
26878 \begin_layout Plain Layout
26888 \begin_layout Standard
26889 \begin_inset VSpace bigskip
26892 La etiqueta del recuadro en LyX cambiará según el estilo de marco elegido.
26893 Para poder utilizar los distintos marcos, debe estar instalado el paquete
26902 \begin_layout Plain Layout
26903 LaTeX-paquetes ! fancybox
26911 \begin_layout Standard
26912 \begin_inset VSpace bigskip
26915 El valor predeterminado por
26922 \begin_inset space \thinspace{}
26926 Puede cambiarse con el siguiente comando en código TeX, p.
26927 \begin_inset space \thinspace{}
26931 \begin_inset space ~
26935 \begin_inset space ~
26939 \begin_inset space \thinspace{}
26945 \begin_layout Standard
26955 \begin_layout Standard
26959 \begin_layout Plain Layout
26971 \begin_inset Box Boxed
26980 height_special "totalheight"
26983 \begin_layout Plain Layout
26985 Cuadro rectangular con
26992 \begin_inset space \thinspace{}
26996 \begin_inset space \thinspace{}
27000 \begin_inset space \thinspace{}
27012 \begin_layout Plain Layout
27026 \begin_layout Standard
27027 \begin_inset VSpace bigskip
27030 El espacio entre el marco y el contenido del cuadro es 3
27031 \begin_inset space \thinspace{}
27034 pt por omisión para todos los estilos.
27035 Se puede cambiar mediante la longitud
27042 Por ejemplo el comando
27045 \begin_layout Standard
27055 \begin_layout Standard
27056 determina un valor de 10
27057 \begin_inset space \thinspace{}
27060 pt, como en el siguiente cuadro:
27063 \begin_layout Standard
27067 \begin_layout Plain Layout
27079 \begin_inset Box Boxed
27088 height_special "totalheight"
27091 \begin_layout Plain Layout
27093 Cuadro rectangular con
27100 \begin_inset space \thinspace{}
27104 \begin_inset space \thinspace{}
27108 \begin_inset space \thinspace{}
27120 \begin_layout Plain Layout
27134 \begin_layout Standard
27135 \begin_inset VSpace bigskip
27138 El diámetro de las esquinas de los cuadros ovalados se puede modificar con
27149 \begin_layout Standard
27157 \begin_layout Standard
27158 establece un diámetro de 1
27159 \begin_inset space \thinspace{}
27166 \begin_layout Standard
27174 \begin_layout Standard
27175 fija el diámetro en
27178 \begin_inset space \thinspace{}
27182 \begin_inset space \thinspace{}
27189 (ancho y alto del cuadro)
27201 \begin_layout Standard
27205 \begin_layout Plain Layout
27215 \begin_inset Box Ovalbox
27224 height_special "totalheight"
27227 \begin_layout Plain Layout
27236 \begin_inset space \thinspace{}
27240 \begin_inset space \thinspace{}
27244 \begin_inset space \thinspace{}
27256 \begin_layout Plain Layout
27268 \begin_layout Standard
27269 \begin_inset VSpace bigskip
27272 El tamaño de la sombra se puede ajustar cambiando la longitud
27279 Este comando la ajusta a 2
27280 \begin_inset space \thinspace{}
27283 pt en el cuadro siguiente:
27286 \begin_layout Standard
27296 \begin_layout Standard
27300 \begin_layout Plain Layout
27312 \begin_inset Box Shadowbox
27321 height_special "totalheight"
27324 \begin_layout Plain Layout
27326 Cuadro sombreado con
27333 \begin_inset space \thinspace{}
27337 \begin_inset space \thinspace{}
27341 \begin_inset space \thinspace{}
27353 \begin_layout Plain Layout
27367 \begin_layout Standard
27368 \begin_inset VSpace bigskip
27371 Los cambios en las dimensiones son válidos para todos los cuadros que siguen
27375 \begin_layout Section
27377 \begin_inset CommandInset label
27379 name "sec:Minipáginas"
27387 \begin_layout Plain Layout
27388 Cuadros ! Minipáginas
27396 \begin_layout Standard
27397 Las minipáginas son tratadas por LaTeX como páginas dentro de páginas y
27398 por tanto pueden tener, por ejemplo, sus propias notas al pie.
27401 \begin_layout Standard
27402 Las minipáginas son útiles para escribir documentos con distintos lenguajes.
27405 \begin_layout Standard
27406 A continuación hay dos ejemplos de minipáginas adosadas.
27407 Su anchura está puesta en 45
27408 \begin_inset space \thinspace{}
27411 % y separadas por un relleno horizontal, insertado vía el menú
27413 Insertar\SpecialChar \menuseparator
27414 Formato\SpecialChar \menuseparator
27416 \begin_inset space ~
27424 \begin_layout Standard
27425 \begin_inset Box Frameless
27434 height_special "totalheight"
27437 \begin_layout Plain Layout
27440 Dies ist ein deutscher Text.
27441 Dies ist ein deutscher Text.
27442 Dies ist ein deutscher Text.
27443 Dies ist ein deutscher Text.
27444 Dies ist ein deutscher Text.
27445 Dies ist ein deutscher Text.
27446 Dies ist ein deutscher Text.
27447 Dies ist ein deutscher Text.
27448 Dies ist ein deutscher Text.
27449 Dies ist ein deutscher Text.
27450 Dies ist ein deutscher Text.
27451 Dies ist ein deutscher Text.
27452 Dies ist ein deutscher Text
27456 \begin_layout Plain Layout
27459 Dies ist eine deutsche Fußnote.
27465 Dies ist ein deutscher Text.
27466 Dies ist ein deutscher Text.
27472 \begin_inset space \hfill{}
27476 \begin_inset Box Frameless
27485 height_special "totalheight"
27488 \begin_layout Plain Layout
27489 This is an English Text.
27490 This is an English Text.
27491 This is an English Text.
27492 This is an English Text.
27493 This is an English Text.
27494 This is an English Text.
27495 This is an English Text.
27496 This is an English Text.
27497 This is an English Text.
27498 This is an English Text.
27499 This is an English Text.
27500 This is an English Text.
27501 This is an English Text.
27502 This is an English Text.
27503 This is an English Text.
27504 This is an English Text.
27508 \begin_layout Plain Layout
27509 This is an English footnote.
27514 This is an English Text.
27523 \begin_layout Standard
27524 \begin_inset VSpace bigskip
27527 Otra aplicación de los cuadros son las notas a pie en tablas.
27528 Debido a una restricción de LaTeX las notas a pie en tablas no aparecen
27529 al final de la página actual.
27530 Pero si pones la tabla con notas al pie en una minipágina, las notas aparecen
27531 en la parte inferior, ordenadas con letras.
27532 La ordenación de las notas al pie se restablece en cada minipágina pero
27533 no fuera de las minipáginas.
27536 \begin_layout Standard
27537 La nota al pie en esta tabla no aparece:
27538 \begin_inset Tabular
27539 <lyxtabular version="3" rows="3" columns="4">
27541 <column alignment="center" valignment="top" width="0pt">
27542 <column alignment="center" valignment="top" width="0pt">
27543 <column alignment="center" valignment="top" width="0pt">
27544 <column alignment="center" valignment="top" width="0pt">
27546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27549 \begin_layout Plain Layout
27555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27558 \begin_layout Plain Layout
27564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27567 \begin_layout Plain Layout
27572 \begin_layout Plain Layout
27573 Nota al pie en una tabla.
27583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27586 \begin_layout Plain Layout
27594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27597 \begin_layout Plain Layout
27603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27606 \begin_layout Plain Layout
27612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27615 \begin_layout Plain Layout
27621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27624 \begin_layout Plain Layout
27632 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27635 \begin_layout Plain Layout
27641 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27644 \begin_layout Plain Layout
27650 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27653 \begin_layout Plain Layout
27659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27662 \begin_layout Plain Layout
27676 \begin_layout Standard
27678 \begin_inset Box Frameless
27687 height_special "totalheight"
27690 \begin_layout Plain Layout
27692 \begin_inset Tabular
27693 <lyxtabular version="3" rows="3" columns="4">
27695 <column alignment="center" valignment="top" width="0pt">
27696 <column alignment="center" valignment="top" width="0pt">
27697 <column alignment="center" valignment="top" width="0pt">
27698 <column alignment="center" valignment="top" width="0pt">
27700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27703 \begin_layout Plain Layout
27709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27712 \begin_layout Plain Layout
27718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27721 \begin_layout Plain Layout
27726 \begin_layout Plain Layout
27727 Nota al pie en una tabla..
27737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27740 \begin_layout Plain Layout
27748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27751 \begin_layout Plain Layout
27757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27760 \begin_layout Plain Layout
27766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27769 \begin_layout Plain Layout
27775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27778 \begin_layout Plain Layout
27786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27789 \begin_layout Plain Layout
27795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27798 \begin_layout Plain Layout
27804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27807 \begin_layout Plain Layout
27813 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27816 \begin_layout Plain Layout
27835 \begin_layout Standard
27836 \begin_inset VSpace bigskip
27839 La configuración global de párrafos se ignora en las minipáginas.
27840 Esto significa que en las mismas no habrá espacio entre párrafos aunque
27842 \begin_inset space \thinspace{}
27846 \begin_inset space ~
27852 \begin_inset space ~
27857 en la configuración del documento.
27860 \begin_layout Standard
27861 Las minipáginas también sirven para poner un color de fondo para partes
27862 de texto, ver sección
27863 \begin_inset space ~
27867 \begin_inset CommandInset ref
27869 reference "sub:Color-en-Párrafos"
27876 \begin_layout Standard
27877 \begin_inset Note Greyedout
27880 \begin_layout Plain Layout
27885 No puedes tener flotantes o notas al margen en minipáginas pero sí puedes
27886 tener minipáginas en tablas, flotantes, y otros cuadros.
27894 \begin_layout Section
27896 \begin_inset CommandInset label
27898 name "sec:Cuadros-de-Párrafo"
27906 \begin_layout Plain Layout
27907 Cuadros ! de párrafo
27915 \begin_layout Standard
27916 Los cuadros de párrafo son similares a las minipáginas con la diferencia
27917 de que no pueden contener notas al pie.
27918 La diferencia principal es que las minipáginas no son verdaderos cuadros
27919 sino entornos de LaTeX.
27922 \begin_layout Standard
27924 \begin_inset Box Frameless
27933 height_special "totalheight"
27936 \begin_layout Plain Layout
27937 Texto en un cuadro de párrafo.
27938 Texto en un cuadro de párrafo.
27939 Esta nota no aparece:
27943 \begin_layout Plain Layout
27944 Esta es una nota en cuadro de párrafo y por eso no aparecerá.
27957 \begin_layout Section
27958 Cuadros para palabras y caracteres
27962 \begin_layout Plain Layout
27963 Cuadros ! para palabras y caracteres
27971 \begin_layout Subsection
27972 Evitar la partición de palabras
27973 \begin_inset CommandInset label
27975 name "sec:Evitar-la-Partición"
27983 \begin_layout Plain Layout
27984 Cuadros ! para evitar la partición de palabras
27992 \begin_layout Standard
27993 Hay un tipo especial de cuadro para impedir que una palabra sea partida
27995 \begin_inset Newline newline
27998 He aquí un ejemplo:
28001 \begin_layout Standard
28002 Esta línea es un ejemplo para mostrar cómo evitar la división de «estalarguísima
28006 \begin_layout Standard
28007 Para evitar su división usa el comando
28010 \begin_layout Standard
28018 \begin_layout Standard
28019 en código TeX antes de la palabra.
28020 Tras ella inserta una llave de cierre «
28027 \begin_layout Standard
28028 Este es el resultado:
28031 \begin_layout Standard
28032 Esta línea es un ejemplo para mostrar cómo prevenir la división de
28036 \begin_layout Plain Layout
28045 «estalarguísimapalabra».
28049 \begin_layout Plain Layout
28059 \begin_layout Standard
28060 Como alternativa puedes poner el comando «
28066 » en código TeX directamente antes de la palabra:
28069 \begin_layout Standard
28070 Esta línea es un ejemplo para mostrar cómo prevenir la división de «
28074 \begin_layout Plain Layout
28083 estalarguísimapalabra».
28086 \begin_layout Standard
28087 Por supuesto, la palabra sobresale del margen.
28088 Para evitarlo añade, con el menú
28090 Insertar\SpecialChar \menuseparator
28091 Formato\SpecialChar \menuseparator
28093 \begin_inset space ~
28097 \begin_inset space ~
28106 ), un salto de línea antes de la palabra:
28109 \begin_layout Standard
28110 Esta línea es un ejemplo para mostrar cómo prevenir la división de
28111 \begin_inset Newline newline
28118 \begin_layout Plain Layout
28127 «estalarguísimapalabra».
28131 \begin_layout Plain Layout
28141 \begin_layout Subsection
28142 Alineación vertical
28143 \begin_inset CommandInset label
28145 name "sub:Alineación-Vertical"
28153 \begin_layout Plain Layout
28154 Cuadros ! para alineación vertical
28162 \begin_layout Standard
28163 Con ayuda del comando
28169 puedes alinear verticalmente con el texto circundante palabras o caracteres.
28176 se utiliza según el esquema:
28179 \begin_layout Standard
28184 raisebox{elevación}[altura][profundidad]{contenido del cuadro}
28187 \begin_layout Standard
28188 La elevación puede ser un valor positivo para subir el cuadro o negativo
28192 \begin_layout Standard
28193 Para alinear una palabra, p.
28194 \begin_inset space \thinspace{}
28198 \begin_inset space ~
28201 «prevención» para que la parte inferior de la letra más «profunda» «p» esté
28202 en la línea de base, inserta el comando
28205 \begin_layout Standard
28215 \begin_layout Standard
28216 en código TeX antes de la palabra.
28217 Detrás de la palabra inserta una llave de cierre «
28222 \begin_inset Newline newline
28225 Este es el resultado:
28228 \begin_layout Standard
28229 Esto es una línea de texto con la palabra
28233 \begin_layout Plain Layout
28248 \begin_layout Plain Layout
28258 \begin_layout Standard
28259 \begin_inset VSpace bigskip
28262 Al subir o bajar caracteres en una línea, se modifica el espacio entre líneas:
28265 \begin_layout Standard
28266 Esto es una línea de texto con la palabra
28270 \begin_layout Plain Layout
28285 \begin_layout Plain Layout
28292 como palabra más baja.
28293 \begin_inset Newline newline
28296 Esto es una línea de texto con la palabra
28300 \begin_layout Plain Layout
28313 \begin_layout Plain Layout
28320 como palabra más alta.
28323 \begin_layout Standard
28324 Si por alguna razón quieres impedir esto, pon la altura de cuadro a cero.
28328 \begin_layout Standard
28338 \begin_layout Standard
28339 Esto es una línea de texto con la palabra
28343 \begin_layout Plain Layout
28358 \begin_layout Plain Layout
28365 como palabra más baja.
28366 \begin_inset Newline newline
28369 Esto es una línea de texto con la palabra
28373 \begin_layout Plain Layout
28377 raisebox{0.5cm}[0pt]{
28386 \begin_layout Plain Layout
28393 como palabra más alta.
28396 \begin_layout Section
28398 \begin_inset CommandInset label
28400 name "sec:Cuadros-Coloreados"
28408 \begin_layout Plain Layout
28417 \begin_layout Subsection
28422 \begin_layout Plain Layout
28431 \begin_layout Standard
28432 Para colorear el fondo de un texto, éste debe ponerse en un cuadro coloreado.
28433 Esto requiere cargar el paquete LaTeX
28441 \begin_layout Plain Layout
28442 LaTeX-paquetes ! color
28447 en el preámbulo del documento con
28450 \begin_layout Standard
28455 @ifundef\SpecialChar \textcompwordmark{}
28457 \begin_inset Newline newline
28464 \begin_layout Plain Layout
28475 usepackage{color}}{}
28478 \begin_layout Standard
28479 LyX cargará automáticamente el paquete
28483 cuando colorees texto.
28487 \begin_layout Plain Layout
28488 Para evitar cargarlo dos veces se usa el comando
28492 @ifundef\SpecialChar \textcompwordmark{}
28503 \begin_layout Standard
28504 \begin_inset VSpace medskip
28507 Los cuadros coloreados se crean con el comando
28513 , de acuerdo con el siguiente esquema:
28516 \begin_layout Standard
28521 colorbox{color}{contenido del cuadro}
28524 \begin_layout Standard
28525 El contenido también puede ser un cuadro y los cuadros coloreados también
28526 pueden estar en otros cuadros.
28529 \begin_layout Standard
28530 Los siguientes colores están predefinidos:
28531 \begin_inset Newline newline
28562 \begin_inset Newline newline
28565 También puedes definir tus propios colores según se explica en la sección
28566 \begin_inset space ~
28570 \begin_inset CommandInset ref
28572 reference "sec:Tablas-Coloreadas"
28579 \begin_layout Standard
28580 Por ejemplo, para poner fondo rojo a una palabra, inserta el comando
28583 \begin_layout Standard
28591 \begin_layout Standard
28592 en código TeX antes de la palabra.
28593 Tras la palabra inserta una llave de cierre «
28598 \begin_inset Newline newline
28601 Este es el resultado:
28604 \begin_layout Standard
28605 Línea en la que la palabra
28609 \begin_layout Plain Layout
28622 \begin_layout Plain Layout
28632 \begin_layout Standard
28633 \begin_inset VSpace bigskip
28636 Si quieres un marco de distinto color, puedes emplear el comando
28642 con el esquema siguiente:
28645 \begin_layout Standard
28650 fcolorbox{color del marco}{color del cuadro}{contenido del cuadro}
28653 \begin_layout Standard
28660 es una extensión de
28667 El grosor del marco y el espacio entre él y el contenido se puede ajustar
28680 , respectivamente, como se describe en la sección
28681 \begin_inset space ~
28685 \begin_inset CommandInset ref
28687 reference "sec:Cuadros-Enmarcados"
28694 \begin_layout Standard
28695 Para el ejemplo siguiente se ha utilizado el comando
28698 \begin_layout Standard
28703 fcolorbox{cyan}{magenta}{
28706 \begin_layout Standard
28707 Este es un ejemplo en el que se ha puesto un grosor de 1
28708 \begin_inset space \thinspace{}
28711 mm para la línea del marco:
28712 \begin_inset Newline newline
28719 \begin_layout Plain Layout
28734 \begin_layout Plain Layout
28738 fcolorbox{cyan}{magenta}{
28743 Texto en un marco coloreado y enmarcado.
28747 \begin_layout Plain Layout
28757 \begin_layout Standard
28758 \begin_inset VSpace bigskip
28761 Por supuesto también puedes colorear el texto en un marco coloreado:
28762 \begin_inset Newline newline
28769 \begin_layout Plain Layout
28773 fcolorbox{cyan}{magenta}{
28780 Texto coloreado en un marco sombreado y coloreado.
28786 \begin_layout Plain Layout
28797 \begin_layout Plain Layout
28811 \begin_layout Standard
28814 \begin_inset VSpace medskip
28820 \begin_layout Standard
28821 \begin_inset Note Greyedout
28824 \begin_layout Plain Layout
28829 El texto en cuadros coloreados no puede tener saltos de línea.
28830 Para colorear líneas o párrafos múltiples, usa un cuadro dentro de un cuadro
28831 coloreado como se describe a continuación.
28839 \begin_layout Subsection
28841 \begin_inset CommandInset label
28843 name "sub:Color-en-Párrafos"
28851 \begin_layout Plain Layout
28852 Color ! en párrafos
28860 \begin_layout Standard
28861 Para poner color de fondo en más de una línea, pon el texto en una minipágina.
28862 Antes de la minipágina inserta el comando
28869 \begin_layout Standard
28877 \begin_layout Standard
28879 Detrás de la minipágina inserta una llave de cierre «
28886 \begin_layout Standard
28890 \begin_layout Plain Layout
28894 colorbox{grisclaro}{
28900 \begin_inset Box Frameless
28909 height_special "totalheight"
28912 \begin_layout Plain Layout
28913 Texto con color de fondo.
28914 Texto con color de fondo.
28917 \begin_layout Plain Layout
28918 \begin_inset VSpace defskip
28921 El texto puede tener notas al pie
28925 \begin_layout Plain Layout
28926 Otro ejemplo de nota
28931 y puede incluir tablas y figuras.
28934 \begin_layout Plain Layout
28936 \begin_inset Tabular
28937 <lyxtabular version="3" rows="3" columns="3">
28939 <column alignment="center" valignment="top" width="0">
28940 <column alignment="center" valignment="top" width="0">
28941 <column alignment="center" valignment="top" width="0">
28943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28946 \begin_layout Plain Layout
28952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28955 \begin_layout Plain Layout
28961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28964 \begin_layout Plain Layout
28972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28975 \begin_layout Plain Layout
28981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28984 \begin_layout Plain Layout
28986 \begin_inset Quotes erd
28994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28997 \begin_layout Plain Layout
29005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29008 \begin_layout Plain Layout
29014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29017 \begin_layout Plain Layout
29023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29026 \begin_layout Plain Layout
29046 \begin_layout Plain Layout
29056 \begin_layout Section
29057 Cuadros rotados y escalados
29060 \begin_layout Standard
29061 Para poder usar los comandos descritos en esta sección hay que cargar el
29068 \begin_layout Plain Layout
29069 LaTeX-paquetes ! graphicx
29076 en el preámbulo del documento, con el comando
29079 \begin_layout Standard
29084 @ifundefined{rotatebox}
29085 \begin_inset Newline newline
29092 \begin_layout Plain Layout
29103 usepackage{graphicx}}{}
29106 \begin_layout Standard
29107 \begin_inset Note Greyedout
29110 \begin_layout Plain Layout
29115 Algunos visores DVI no pueden mostrar material rotado o escalado.
29123 \begin_layout Standard
29124 \begin_inset Note Greyedout
29127 \begin_layout Plain Layout
29132 Los cuadros rotados o escalados no pueden contener flotantes.
29140 \begin_layout Subsection
29145 \begin_layout Plain Layout
29155 \begin_layout Plain Layout
29165 \begin_layout Plain Layout
29175 \begin_layout Plain Layout
29184 \begin_layout Standard
29185 Para rotar material debes ponerlo en un cuadro rotado.
29186 Los cuadros rotados se crean con el comando
29192 en código TeX, según el esquema:
29195 \begin_layout Standard
29200 rotatebox[origen de rotación]{ángulo de rotación}{contenido del cuadro}
29203 \begin_layout Standard
29204 El origen de rotación se especifica en la forma
29209 Son posibles las posiciones siguientes:
29229 (top), así como combinaciones adecuadas de las posiciones básicas.
29234 significa que el origen de rotación es la esquina superior izquierda del
29236 Si no se especifica origen de rotación se usará la posición
29241 El ángulo de rotación es un número de grados, y puede ser negativo.
29242 El sentido de giro es contrario al de las agujas del reloj.
29245 \begin_layout Standard
29246 En el siguiente ejemplo se ha insertado el comando
29250 rotatebox[origin=c]{60}{
29252 como código TeX delante del texto «con rotación»; después del texto, el
29253 cuadro se ha cerrado con llave de cierre en código TeX.
29256 \begin_layout Standard
29257 Esta línea contiene texto
29261 \begin_layout Plain Layout
29265 rotatebox[origin=c]{60}{
29274 \begin_layout Plain Layout
29284 \begin_layout Standard
29285 El contenido del cuadro puede ser también otro cuadro o una ecuación en
29289 \begin_layout Standard
29290 En esta línea hay texto enmarcado
29294 \begin_layout Plain Layout
29298 rotatebox[origin=r]{-60}{
29304 \begin_inset Box Doublebox
29313 height_special "totalheight"
29316 \begin_layout Plain Layout
29326 \begin_layout Plain Layout
29337 \begin_layout Plain Layout
29341 rotatebox[origin=lb]{60}{
29347 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29354 \begin_layout Plain Layout
29364 \begin_layout Standard
29365 O una imagen o una tabla:
29368 \begin_layout Standard
29369 Aquí hay una imagen girada
29373 \begin_layout Plain Layout
29377 rotatebox[origin=lb]{90}{
29383 \begin_inset Graphics
29384 filename ../clipart/platypus.eps
29394 \begin_layout Plain Layout
29405 \begin_layout Plain Layout
29409 rotatebox[origin=l]{-90}{
29415 \begin_inset Tabular
29416 <lyxtabular version="3" rows="2" columns="2">
29418 <column alignment="center" valignment="top" width="0">
29419 <column alignment="center" valignment="top" width="0">
29421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29424 \begin_layout Plain Layout
29430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29433 \begin_layout Plain Layout
29441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29444 \begin_layout Plain Layout
29450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29453 \begin_layout Plain Layout
29468 \begin_layout Plain Layout
29478 \begin_layout Subsection
29483 \begin_layout Plain Layout
29493 \begin_layout Plain Layout
29503 \begin_layout Plain Layout
29513 \begin_layout Plain Layout
29522 \begin_layout Standard
29523 Para escalar material se pueden usar los comandos
29538 \begin_layout Standard
29545 se usa con el esquema siguiente:
29548 \begin_layout Standard
29553 scalebox{horizontal}[vertical]{contenido del cuadro}
29556 \begin_layout Standard
29557 Horizontal y vertical son los factores de escala correspondientes.
29558 Si no se especifica factor vertical, su valor será el mismo que el factor
29559 de escala horizontal.
29563 \begin_layout Standard
29564 Por ejemplo, el comando
29574 \begin_layout Plain Layout
29587 \begin_layout Plain Layout
29594 de doble tamaño que el texto normal del documento.
29597 \begin_layout Standard
29602 scalebox{2}[1]{Hola}
29608 \begin_layout Plain Layout
29621 \begin_layout Plain Layout
29631 \begin_layout Standard
29632 Si un factor de escala es negativo el contenido del cuadro es reflejado.
29637 scalebox{-1}[1]{Hola}
29639 puede usarse para reflejar un texto:
29643 \begin_layout Plain Layout
29656 \begin_layout Plain Layout
29666 \begin_layout Standard
29671 scalebox{1}[-1]{Hola}
29677 \begin_layout Plain Layout
29690 \begin_layout Plain Layout
29700 \begin_layout Standard
29705 scalebox{-1}[1]{contenido del cuadro}
29707 puede sustituirse por
29710 \begin_inset Newline newline
29715 reflectbox{contenido del cuadro}
29716 \begin_inset VSpace defskip
29722 \begin_layout Standard
29729 sirve para escalar el cuadro a una altura y anchura definidas, según el
29733 \begin_layout Standard
29738 resizebox{anchura}{altura}{contenido del cuadro}
29741 \begin_layout Standard
29742 Si uno de los argumentos del comando es un signo de exclamación,
29746 , la escala se produce de forma que se mantiene la relación de las dimensiones
29747 originales del contenido del cuadro.
29751 \begin_layout Standard
29756 resizebox{2cm}{1cm}{Hola}
29762 \begin_layout Plain Layout
29766 resizebox{2cm}{1cm}{
29775 \begin_layout Plain Layout
29783 \begin_inset Newline newline
29790 resizebox{2cm}{!}{Hola}
29796 \begin_layout Plain Layout
29809 \begin_layout Plain Layout
29819 \begin_layout Standard
29820 \begin_inset VSpace defskip
29826 \begin_layout Standard
29827 \begin_inset Note Greyedout
29830 \begin_layout Plain Layout
29835 Si los argumentos de
29847 son cero, no se generan errores de LaTeX al exportar el documento, pero
29848 puede suceder que la salida no se muestre o que sea incompleta.
29855 \begin_inset VSpace defskip
29861 \begin_layout Standard
29862 Los cuadros se pueden combinar en cualquier orden.
29863 Por ejemplo, el comando
29866 \begin_inset Newline newline
29871 rotatebox[origin=c]{-45}{
29876 \begin_inset Newline newline
29884 \begin_layout Standard
29890 \begin_layout Plain Layout
29894 rotatebox[origin=c]{-45}{
29907 \begin_layout Plain Layout
29917 \begin_layout Standard
29919 Un cuadro puede contener imágenes, tablas y ecuaciones en línea:
29922 \begin_layout Standard
29927 \begin_layout Standard
29932 \begin_layout Plain Layout
29936 rotatebox[origin=c]{-30}{
29946 \begin_inset Graphics
29947 filename ../clipart/platypus.eps
29957 \begin_layout Plain Layout
29968 \begin_layout Plain Layout
29972 rotatebox[origin=c]{-45}{
29982 \begin_inset Tabular
29983 <lyxtabular version="3" rows="2" columns="2">
29985 <column alignment="center" valignment="top" width="0">
29986 <column alignment="center" valignment="top" width="0">
29988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29991 \begin_layout Plain Layout
29997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30000 \begin_layout Plain Layout
30008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30011 \begin_layout Plain Layout
30017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30020 \begin_layout Plain Layout
30035 \begin_layout Plain Layout
30046 \begin_layout Plain Layout
30050 rotatebox[origin=c]{-45}{
30060 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30067 \begin_layout Plain Layout
30077 \begin_layout Standard
30078 Si se usa el estilo global
30082 para las ecuaciones del documento,
30086 \begin_layout Plain Layout
30087 Si «fleqn» se añade a las opciones de clase del documento.
30092 también pueden escalarse las ecuaciones en estilo presentación.
30095 \begin_layout Chapter
30100 \begin_layout Plain Layout
30109 \begin_layout Standard
30112 Insertar\SpecialChar \menuseparator
30115 se pueden insertar archivos externos en un documento.
30119 \begin_layout Description
30121 \begin_inset space ~
30124 LyX Otro documento LyX; su contenido se inserta directamente en tu documento.
30127 \begin_layout Description
30129 \begin_inset space ~
30133 \begin_inset space ~
30137 \begin_inset space ~
30140 líneas Un documento de texto; cada línea del mismo se inserta en tu documento
30141 como un nuevo párrafo.
30144 \begin_layout Description
30146 \begin_inset space ~
30150 \begin_inset space ~
30154 \begin_inset space ~
30157 párrafos Un documento de texto; cada línea del texto se inserta tal como
30158 está, formando un solo párrafo.
30159 Las líneas vacías generan un nuevo párrafo en tu documento.
30162 \begin_layout Description
30164 \begin_inset space ~
30167 externo Archivos en diversos formatos.
30170 \begin_layout Description
30172 \begin_inset space ~
30175 hijo Documentos LyX, LaTeX o texto simple.
30178 \begin_layout Section
30183 \begin_layout Plain Layout
30192 \begin_layout Standard
30193 Esta característica te permite insertar archivos en tu documento sin convertirlo
30194 s previamente a un formato legible en la salida, ya que LyX se ocupa de
30195 las necesarias conversiones.
30196 Esto es parecido a la inserción de imágenes en diversos formatos en los
30200 \begin_layout Standard
30201 El material externo se puede insertar mediante el diálogo que surge a partir
30204 Insertar\SpecialChar \menuseparator
30205 Archivo\SpecialChar \menuseparator
30207 \begin_inset space ~
30213 Actualmente se permiten los siguientes tipos de archivo (
30220 \begin_layout Description
30222 \begin_inset space ~
30226 \begin_inset space ~
30229 ajedrez Esta plantilla soporta diagramas posicionales de ajedrez hechos
30233 \begin_inset CommandInset href
30236 target "http://en.wikipedia.org/wiki/XBoard"
30245 \begin_layout Description
30246 Fecha Esta inserta la fecha en el formato
30251 A continuación hay una fecha insertada como material externo:
30252 \begin_inset External
30261 \begin_inset space ~
30265 \begin_inset Note Note
30268 \begin_layout Plain Layout
30271 Remove the protected space when bug 4398 is fixed!
30279 \begin_inset Newline newline
30282 La fecha no se muestra en LyX, sólo en la salida.
30283 Hay otros dos métodos de insertar una fecha, con el menú
30285 Insertar\SpecialChar \menuseparator
30288 y con el comando LaTeX
30295 Los distintos métodos se comparan en la tabla
30296 \begin_inset space ~
30300 \begin_inset CommandInset ref
30302 reference "tab:Comparación-de"
30309 \begin_layout Description
30310 LilyPond Esta plantilla sirve para tipografiar notación musical con el programa
30311 \begin_inset Newline linebreak
30317 \begin_inset CommandInset href
30320 target "http://en.wikipedia.org/wiki/LilyPond"
30329 \begin_layout Description
30330 RasterImage Sirve para insertar imágenes bitmap.
30331 Casi todos los formatos populares de imágenes están soportados.
30332 Las imágenes se pueden tratar en el diálogo
30336 como las que habitualmente se incluyen mediante el diálogo
30340 , tal como se explica en la sección
30341 \begin_inset space ~
30345 \begin_inset CommandInset ref
30347 reference "sec:Diálogo-Gráficos"
30352 La diferencia es que sólo se permiten imágenes bitmap, por tanto las imágenes
30353 PDF y EPS no están soportadas.
30356 \begin_layout Description
30357 XFig Esta plantilla soporta imágenes creadas con el programa
30360 \begin_inset CommandInset href
30363 target "http://en.wikipedia.org/wiki/Xfig"
30372 \begin_layout Standard
30373 \begin_inset Float table
30379 \begin_layout Plain Layout
30380 \begin_inset Caption
30382 \begin_layout Plain Layout
30383 \begin_inset CommandInset label
30385 name "tab:Comparación-de"
30389 Comparación de los métodos de inserción de fecha.
30397 \begin_layout Plain Layout
30399 \begin_inset Tabular
30400 <lyxtabular version="3" rows="4" columns="4">
30402 <column alignment="center" valignment="top" width="0">
30403 <column alignment="center" valignment="top" width="0">
30404 <column alignment="center" valignment="top" width="0">
30405 <column alignment="center" valignment="top" width="0">
30407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30410 \begin_layout Plain Layout
30416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30419 \begin_layout Plain Layout
30422 Material Externo\SpecialChar \menuseparator
30428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30431 \begin_layout Plain Layout
30434 Insertar\SpecialChar \menuseparator
30440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30443 \begin_layout Plain Layout
30455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30458 \begin_layout Plain Layout
30464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30467 \begin_layout Plain Layout
30473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30476 \begin_layout Plain Layout
30482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30485 \begin_layout Plain Layout
30486 como cuadro en código TeX
30493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30496 \begin_layout Plain Layout
30502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30505 \begin_layout Plain Layout
30511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30514 \begin_layout Plain Layout
30520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30523 \begin_layout Plain Layout
30531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30534 \begin_layout Plain Layout
30540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30543 \begin_layout Plain Layout
30549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30552 \begin_layout Plain Layout
30558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30561 \begin_layout Plain Layout
30580 \begin_layout Standard
30581 Si utilizas la opción
30593 , en el documento de salida sólo se muestra la ruta al archivo insertado.
30596 \begin_inset Newline newline
30601 El material externo se muestra en LyX como un cuadro del tipo:
30606 \begin_inset Graphics
30607 filename clipart/MaterialExternoQt4.png
30612 o como imagen, según la configuración elegida en la solapa
30615 \begin_inset space ~
30625 \begin_layout Standard
30630 se explica cómo definir tus propias plantillas.
30633 \begin_layout Section
30635 \begin_inset CommandInset label
30637 name "sec:Documento-Hijo"
30645 \begin_layout Plain Layout
30654 \begin_layout Standard
30655 Los documentos hijos se emplean en el caso de tener un documento extenso
30656 compuesto por varias partes o secciones más grandes.
30657 Para trabajar en este tipo de documentos es útil, y a veces obligado, dividirlo
30658 en varios archivos que pueden ser revisados por separado.
30659 Estos archivos se conocen como documentos hijos, y el llamado documento
30660 maestro los conecta con el fin de imprimirlos como un todo o por partes.
30664 \begin_layout Standard
30665 Los documentos incluidos como hijos se muestran en la pantalla de LyX como
30667 \begin_inset Graphics
30668 filename clipart/DocumentoHijoQt4.png
30674 Para incluir documentos hijos en un documento maestro utiliza el menú
30678 \SpecialChar \menuseparator
30683 \SpecialChar \menuseparator
30687 \begin_inset space ~
30693 Surge un diálogo en el que puedes elegir entre cuatro métodos de inclusión:
30696 \begin_layout Description
30697 Incluir Puedes incluir documentos LyX y documentos LaTeX.
30706 , los documentos incluidos se abrirán en una nueva solapa de archivo en
30707 la ventana de LyX y así puedes modificarlos si quieres.
30710 \begin_layout Standard
30711 Aquí hay un archivo insertado con el método
30716 \begin_inset CommandInset include
30717 LatexCommand include
30718 filename "DocumentoPostizo1.lyx"
30725 \begin_layout Standard
30726 La numeración de secciones tiene en cuenta las secciones de los archivos
30727 incluidos en el orden en que están insertados en el documento maestro.
30728 El documento incluido de ejemplo tiene una subsección que se numera como
30729 subsección de la presente sección.
30730 Las etiquetas de los documentos incluidos se pueden referenciar: Subsección
30731 \begin_inset space ~
30735 \begin_inset CommandInset ref
30737 reference "sub:Subsección-Externa-1"
30744 \begin_layout Standard
30745 El preámbulo del documento hijo se ignora, sólo se utiliza el preámbulo
30746 del documento maestro.
30747 Los documentos incluidos se insertan comenzando una página nueva y acabando
30748 con un salto de página.
30751 \begin_layout Standard
30752 Con el comando LaTeX
30758 puedes determinar qué documentos hijos serán procesados al generar la salida.
30759 Esto es útil si, por ejemplo, estás trabajando sólo cierto capítulo de
30760 un extenso documento y quieres ahorrar tiempo de compilación.
30767 se inserta en el preámbulo del documento maestro, poniendo como argumento
30768 una lista de los nombres de archivo separados con comas, p.
30769 \begin_inset space \thinspace{}
30776 \begin_layout Standard
30781 includeonly{capítulo1,capítulo5}
30784 \begin_layout Standard
30785 hará que sólo se procesen los archivos incluidos cuyos nombres son «capítulo1.lyx
30786 » (o «capítulo1.tex») y «capítulo5.lyx».
30789 \begin_layout Standard
30790 \begin_inset Note Greyedout
30793 \begin_layout Plain Layout
30798 Si has incluido un archivo LyX o LaTeX cuya clase de documento es distinta
30799 a la del documento maestro, recibirás una advertencia al exportar/ver el
30800 documento, ya que esto podría dar resultados inesperados.
30808 \begin_layout Description
30809 Entrada Este método es muy parecido al método
30814 Las diferencias son:
30818 \begin_layout Itemize
30819 Los archivos del tipo Entrada no comienzan en página nueva ni acaban con
30820 un salto de página.
30823 \begin_layout Itemize
30824 Los archivos del tipo Entrada se pueden visualizar en LyX si la
30827 \begin_inset space ~
30831 \begin_inset space ~
30836 está activada en el diálogo
30838 Herramientas\SpecialChar \menuseparator
30843 Apariencia\SpecialChar \menuseparator
30849 \begin_layout Itemize
30850 No se puede utilizar el comando LaTeX
30860 \begin_layout Standard
30861 Aquí hay un documento hijo insertado con el método
30868 \begin_layout Standard
30869 \begin_inset CommandInset include
30871 filename "DocumentoPostizo2.lyx"
30878 \begin_layout Description
30879 Literal Con este método se puede incluir todo archivo de texto.
30880 El archivo aparece en la salida con su código fuente, y si contiene comandos
30884 Marcar espacios en la salida
30886 cada espacio en el código fuente se muestra en la salida con el carácter
30891 \begin_layout Plain Layout
30901 La diferencia con el método de inserción mediante el menú
30905 \SpecialChar \menuseparator
30910 \SpecialChar \menuseparator
30914 \begin_inset space ~
30919 es que en este caso el contenido del archivo se ve en LyX, mientras que
30924 no se muestra el contenido, sino un recuadro con el nombre.
30930 \begin_layout Standard
30931 Aquí se inserta un documento hijo en modo Literal:
30932 \begin_inset CommandInset include
30933 LatexCommand verbatiminput
30934 filename "DocumentoTextoPostizo.txt"
30939 \begin_inset VSpace bigskip
30945 \begin_layout Standard
30946 Aquí se inserta un documento hijo en modo Literal con la opción
30948 Marcar espacios en la salida
30951 \begin_inset CommandInset include
30952 LatexCommand verbatiminput*
30953 filename "DocumentoTextoPostizo.txt"
30958 \begin_inset VSpace bigskip
30964 \begin_layout Standard
30965 \begin_inset Note Greyedout
30968 \begin_layout Plain Layout
30973 Como puedes ver en los ejemplos anteriores, el texto de los documentos
30978 no contiene saltos de línea, a no ser que se incluyan expresamente en el
30987 \begin_layout Description
30989 \begin_inset space ~
30993 \begin_inset space ~
30996 programa Este tipo se describe en el capítulo
30997 \begin_inset space ~
31001 \begin_inset CommandInset ref
31003 reference "cha:Listado-de-programa"
31010 \begin_layout Standard
31011 \begin_inset Note Greyedout
31014 \begin_layout Plain Layout
31019 Incluir el mismo documento dos veces con métodos diferentes podría causar
31020 problemas en LaTeX.
31028 \begin_layout Chapter
31029 Listado de programa
31030 \begin_inset CommandInset label
31032 name "cha:Listado-de-programa"
31040 \begin_layout Plain Layout
31041 Listado de programa
31050 \begin_layout Plain Layout
31051 Listado de programa ! list@
31062 \begin_layout Plain Layout
31063 Flotantes ! Listado de programa
31071 \begin_layout Standard
31072 Para incluir y tipografiar código de programación puedes usar la opción
31073 de menú disponible en
31075 Insertar\SpecialChar \menuseparator
31077 \begin_inset space ~
31081 \begin_inset space ~
31095 \begin_layout Plain Layout
31096 LaTeX-paquetes ! listings
31101 provee un mecanismo potente y flexible para insertar código fuente en tu
31105 \begin_layout Standard
31106 Al hacer clic-derecho sobre un recuadro de listado surge un cuadro de diálogo
31107 en el que puedes establecer el formato del mismo.
31110 \begin_layout Standard
31111 Por omisión, al insertar un listado de programa se inicia un párrafo nuevo.
31112 La opción de ubicación
31115 \begin_inset space ~
31120 lo imprime en la línea, como este ejemplo:
31121 \begin_inset listings
31122 lstparams "language={C++}"
31126 \begin_layout Plain Layout
31136 \begin_inset Newline newline
31145 crea un listado flotante cuya colocación se puede especificar mediante
31162 », correspondientes a las opciones de colocación de flotantes descritas
31166 \begin_inset space ~
31170 \begin_inset CommandInset ref
31172 reference "sec:Colocación-de-Flotantes"
31179 Las opciones de colocación se pueden mezclar y se escriben sin separación,
31183 \begin_inset space \thinspace{}
31189 \begin_inset space ~
31201 » a veces no tiene efecto, pero no necesitas usar la opción
31205 en ese caso puesto que los listados de programa no flotantes también pueden
31206 tener leyendas y ser referenciadas.
31209 \begin_layout Standard
31210 Se puede añadir una leyenda a un listado de programa con el menú
31212 Insertar\SpecialChar \menuseparator
31219 \begin_layout Plain Layout
31220 Para traducir la etiqueta
31221 \begin_inset Quotes eld
31225 \begin_inset Quotes erd
31228 de la leyenda, se añade al preámbulo del documento el comando
31234 lstlistingname}{Listado}
31240 \begin_inset space \thinspace{}
31251 Los listados de programa se pueden referenciar como los flotantes: Listado
31252 \begin_inset space ~
31256 \begin_inset CommandInset ref
31258 reference "lst:Ejemplo-de-listado-de-programa"
31265 \begin_layout Standard
31266 \begin_inset listings
31267 lstparams "language=Python"
31271 \begin_layout Plain Layout
31273 \begin_inset Caption
31275 \begin_layout Plain Layout
31276 \begin_inset CommandInset label
31278 name "lst:Ejemplo-de-listado-de-programa"
31282 Ejemplo de listado de programa flotante
31287 # Ejemplo de listado flotante
31290 \begin_layout Plain Layout
31295 \begin_layout Plain Layout
31297 'this is a python function'
31300 \begin_layout Plain Layout
31310 \begin_layout Standard
31311 Una vez que has escogido un lenguaje de programación en el cuadro de diálogo
31312 de listado de programa, las palabras clave de ese lenguaje serán reconocidas
31313 y tipografiadas de manera especial en la salida.
31314 En el ejemplo, la clave de Python «def» es reconocida y se imprimirá en
31318 \begin_layout Standard
31319 \begin_inset Note Greyedout
31322 \begin_layout Plain Layout
31327 Si no consigues caracteres en negrita cuando usas fuentes typewriter, se
31328 debe probablemente a que dicha fuente no suministra negritas.
31329 En este caso selecciona una fuente distinta en el menú
31333 \SpecialChar \menuseparator
31338 \SpecialChar \menuseparator
31352 suministran negritas.)
31360 \begin_layout Standard
31364 \begin_inset space ~
31368 \begin_inset space ~
31373 del diálogo puedes elegir el estilo de numeración de las líneas.
31378 puedes insertar un número para determinar qué líneas se numeran.
31379 Por ejemplo, si pones «3», se numera sólo una de cada tres líneas.
31383 \begin_layout Standard
31384 Además, puedes especificar un rango de líneas para que sólo éstas aparezcan
31389 \begin_inset space ~
31393 \begin_inset space ~
31397 \begin_inset space ~
31402 debería emplearse si se usan en el código caracteres nacionales como la
31404 \begin_inset Newline newline
31407 A continuación hay un ejemplo con numeración de líneas a la izquierda, paso
31408 «3», lenguaje «Python», opciones de estilo «Tabla de caracteres extendida»
31409 y «Espacio como símbolo», rango de líneas 3-8:
31410 \begin_inset listings
31411 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
31415 \begin_layout Plain Layout
31420 \begin_layout Plain Layout
31422 'this is a python function'
31425 \begin_layout Plain Layout
31430 \begin_layout Plain Layout
31435 \begin_layout Plain Layout
31437 'This is a German word: Tschüß'
31440 \begin_layout Plain Layout
31445 \begin_layout Plain Layout
31450 \begin_layout Plain Layout
31452 'this is a python function'
31455 \begin_layout Plain Layout
31465 \begin_layout Standard
31466 \begin_inset Note Greyedout
31469 \begin_layout Plain Layout
31474 Debido a un error en el paquete
31478 la numeración de líneas cambia en una línea por cada listado previo.
31479 Por esto en el ejemplo de arriba se numeran las líneas 2 y 5 y no las líneas
31488 \begin_layout Standard
31489 \begin_inset VSpace bigskip
31495 \begin_layout Standard
31496 También es posible imprimir como listado de programa líneas de un archivo.
31497 Para hacer esto, usa el menú
31499 Insertar\SpecialChar \menuseparator
31500 Archivo\SpecialChar \menuseparator
31502 \begin_inset space ~
31509 Listado de programa
31515 \begin_layout Plain Layout
31516 Los restantes tipos de documento hijo se describen en la sección
31517 \begin_inset space ~
31521 \begin_inset CommandInset ref
31523 reference "sec:Documento-Hijo"
31532 En el diálogo de documento hijo puedes especificar los parámetros del listado
31533 en el cuadro de texto.
31534 Para ver una lista de los parámetros disponibles teclea una interrogación
31538 \begin_layout Standard
31539 Para referenciar un documento hijo tipo listado, escribe el texto de la
31540 etiqueta en el campo correspondiente del diálogo de documento hijo.
31541 Después se puede referenciar la etiqueta con el menú
31543 Insertar\SpecialChar \menuseparator
31544 Referencia cruzada.
31547 \begin_layout Standard
31548 A continuación hay un ejemplo, Listado
31549 \begin_inset space ~
31553 \begin_inset CommandInset ref
31555 reference "lst:archivo-listado"
31559 , de inserción de líneas de un archivo; en él se incluye el rango de las
31561 \begin_inset space \thinspace{}
31565 \begin_inset space \thinspace{}
31568 15 de este archivo LyX.
31571 \begin_layout Standard
31572 \begin_inset CommandInset include
31573 LatexCommand lstinputlisting
31574 filename "EmbeddedObjects.lyx"
31575 lstparams "breaklines=true,caption={Líneas 10 - 15 de este archivo LyX},firstline=10,label={lst:archivo-listado},language={[LaTeX]TeX},lastline=15"
31580 \begin_inset VSpace bigskip
31586 \begin_layout Standard
31587 Las preferencias globales se pueden establecer en el diálogo
31589 Documento\SpecialChar \menuseparator
31590 Configuración\SpecialChar \menuseparator
31592 \begin_inset space ~
31596 \begin_inset space ~
31602 Para ver ahí una lista de las opciones disponibles, escribe una interrogación
31603 «?» en el campo de texto.
31606 \begin_layout Standard
31607 Para más información sobre el paquete
31611 , consulta su documentación
31612 \begin_inset space ~
31616 \begin_inset CommandInset citation
31625 \begin_layout Standard
31626 \begin_inset Newpage newpage
31632 \begin_layout Chapter
31634 Unidades disponibles en LyX
31638 \begin_layout Plain Layout
31645 \begin_inset CommandInset label
31647 name "cha:Unidades-disponibles-en"
31654 \begin_layout Standard
31655 Para comprender las unidades utilizadas en este manual, el cuadro
31656 \begin_inset space ~
31660 \begin_inset CommandInset ref
31662 reference "tab:Unidades"
31666 describe todas las unidades disponibles en LyX.
31669 \begin_layout Standard
31670 \begin_inset Float table
31676 \begin_layout Plain Layout
31677 \begin_inset Caption
31679 \begin_layout Plain Layout
31680 \begin_inset CommandInset label
31682 name "tab:Unidades"
31694 \begin_layout Plain Layout
31695 \begin_inset VSpace medskip
31701 \begin_layout Plain Layout
31703 \begin_inset Tabular
31704 <lyxtabular version="3" rows="20" columns="2">
31706 <column alignment="center" valignment="top" width="0">
31707 <column alignment="center" valignment="top" width="0">
31709 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31712 \begin_layout Plain Layout
31718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31721 \begin_layout Plain Layout
31729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31732 \begin_layout Plain Layout
31738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31741 \begin_layout Plain Layout
31749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31752 \begin_layout Plain Layout
31758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31761 \begin_layout Plain Layout
31769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31772 \begin_layout Plain Layout
31778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31781 \begin_layout Plain Layout
31789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31792 \begin_layout Plain Layout
31798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31801 \begin_layout Plain Layout
31803 \begin_inset space \thinspace{}
31807 \begin_inset space \thinspace{}
31817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31820 \begin_layout Plain Layout
31826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31829 \begin_layout Plain Layout
31831 \begin_inset space \thinspace{}
31835 \begin_inset space \thinspace{}
31845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31848 \begin_layout Plain Layout
31854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31857 \begin_layout Plain Layout
31858 punto escalado (65536
31859 \begin_inset space \thinspace{}
31863 \begin_inset space \thinspace{}
31873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31876 \begin_layout Plain Layout
31882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31885 \begin_layout Plain Layout
31887 \begin_inset space \thinspace{}
31891 \begin_inset space \thinspace{}
31901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31904 \begin_layout Plain Layout
31910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31913 \begin_layout Plain Layout
31915 \begin_inset space \thinspace{}
31919 \begin_inset Formula $\approx$
31923 \begin_inset space \thinspace{}
31933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31936 \begin_layout Plain Layout
31942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31945 \begin_layout Plain Layout
31947 \begin_inset space \thinspace{}
31951 \begin_inset space \thinspace{}
31961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31964 \begin_layout Plain Layout
31970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31973 \begin_layout Plain Layout
31974 % de anchura original de la imagen
31981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31984 \begin_layout Plain Layout
31990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31993 \begin_layout Plain Layout
31994 % de anchura de texto
32001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32004 \begin_layout Plain Layout
32010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32013 \begin_layout Plain Layout
32014 % de anchura de columna
32021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32024 \begin_layout Plain Layout
32030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32033 \begin_layout Plain Layout
32034 % de anchura de página
32041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32044 \begin_layout Plain Layout
32050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32053 \begin_layout Plain Layout
32054 % de anchura de línea
32061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32064 \begin_layout Plain Layout
32070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32073 \begin_layout Plain Layout
32074 % de altura de texto
32081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32084 \begin_layout Plain Layout
32090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32093 \begin_layout Plain Layout
32094 % de altura de página
32101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32104 \begin_layout Plain Layout
32110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32113 \begin_layout Plain Layout
32118 en la fuente actual
32125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32128 \begin_layout Plain Layout
32134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32137 \begin_layout Plain Layout
32138 anchura de la letra
32142 en la fuente actual
32149 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32152 \begin_layout Plain Layout
32158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32161 \begin_layout Plain Layout
32162 unidad matemática (1
32163 \begin_inset space \thinspace{}
32167 \begin_inset space \thinspace{}
32188 \begin_layout Chapter
32189 Formatos de archivos de salida con gráficos
32190 \begin_inset CommandInset label
32192 name "cha:Formatos-de-Archivos-de-Salida"
32199 \begin_layout Section
32204 \begin_layout Plain Layout
32205 Formatos de archivo ! DVI
32214 \begin_layout Plain Layout
32219 \begin_layout Plain Layout
32226 Formatos de archivo
32230 \begin_layout Plain Layout
32245 \begin_layout Standard
32246 Este tipo de archivo tiene la extensión «
32251 Se denomina «device-independent» (DVI), porque es completamente portable;
32252 se pueden mover de una máquina a otra sin necesidad de conversión alguna.
32253 En la época en que se desarrolló este formato, esto no era un asunto baladí.
32254 Los DVI se usan para vistas preliminares rápidas y como preparación para
32255 otros formatos de salida como PostScript.
32258 \begin_layout Standard
32259 \begin_inset Note Greyedout
32262 \begin_layout Plain Layout
32267 Los archivos DVI no contienen imágenes, sino enlaces a ellas.
32272 Por tanto no debes olvidar esto si mueves archivos
32277 Esta característica también puede retardar la visualización del archivo,
32278 porque el visor DVI tiene que convertir la imagen en segundo plano para
32279 hacerla visible al deslizar el visor.
32280 Así pues recomendamos usar PDF para archivos con muchas imágenes.
32283 \begin_layout Standard
32284 Un documento se exporta a DVI con el menú
32286 Archivo\SpecialChar \menuseparator
32287 Exportar\SpecialChar \menuseparator
32291 Puedes ver la salida del documento en DVI con el menú
32293 Ver\SpecialChar \menuseparator
32297 \begin_inset space ~
32301 \begin_inset Graphics
32302 filename ../../images/buffer-view_dvi.png
32310 \begin_layout Section
32312 \begin_inset CommandInset label
32314 name "sec:PostScript"
32322 \begin_layout Plain Layout
32323 Formatos de archivo ! PostScript
32332 \begin_layout Plain Layout
32337 \begin_layout Plain Layout
32344 Formatos de archivo
32348 \begin_layout Plain Layout
32363 \begin_layout Standard
32364 Este tipo de archivo tiene la extensión «
32369 PostScript fue desarrollado por la compañía
32373 como lenguaje para impresoras.
32374 Por eso estos archivos contienen comandos que usa la impresora para imprimirlos.
32375 PostScript puede considerarse como un «lenguaje de programación»; con él
32376 puedes calcular y dibujar imágenes y diagramas.
32380 \begin_layout Plain Layout
32381 Si estás interesado en este tema acude al paquete LaTeX
32386 \begin_inset CommandInset citation
32397 Por esto los archivos suelen ser más grandes que los PDF.
32400 \begin_layout Standard
32401 Los archivos PostScript sólo pueden contener imágenes en el formato «Encapsulate
32402 d PostScript» (EPS, extensión «
32407 Como LyX permite usar cualquier formato de imagen conocido, tiene que trabajar
32408 en segundo plano para convertir las imágenes a EPS.
32409 Si por ejemplo, el documento tiene 50 imágenes, LyX ha de hacer 50 conversiones
32410 cada vez que veas o exportes el documento.
32411 Esto ralentizará mucho el trabajo, así que si piensas usar PostScript,
32412 puedes evitar el problema insertando las imágenes directamente en EPS.
32415 \begin_layout Standard
32416 El documento se puede exportar a PostScript con el menú
32418 Archivo\SpecialChar \menuseparator
32419 Exportar\SpecialChar \menuseparator
32423 Se puede ver la salida en PostScript con el menú
32425 Ver\SpecialChar \menuseparator
32429 \begin_inset space ~
32433 \begin_inset Graphics
32434 filename ../../images/buffer-view_ps.png
32441 \begin_layout Section
32443 \begin_inset CommandInset label
32453 \begin_layout Plain Layout
32454 Formatos de archivo ! PDF
32463 \begin_layout Plain Layout
32472 \begin_layout Standard
32473 Este tipo de archivo tiene la extensión «
32478 El formato «Portable Document Format» (PDF) fue desarrollado por
32482 como derivado de PostScript.
32483 Es más comprimido y utiliza muchos menos comandos que PostScript.
32484 Como su nombre «portable» indica, puede ser procesado por cualquier sistema
32485 operativo y la salida impresa se muestra exactamente igual.
32488 \begin_layout Standard
32489 PDF puede contener imágenes en su propio formato PDF, en el formato «Joint
32490 Photographic Experts Group» (JPG, extensión «
32498 »), y en el formato «Portable Network Graphics» (PNG, extensión «
32503 Aunque puedes poner cualquier otro formato de imagen, porque LyX los convierte
32504 en segundo plano a alguno de los anteriores.
32505 Pero como se ha comentado en la sección sobre PostScript, la conversión
32506 de gráficos ralentiza el trabajo.
32507 Por tanto se recomienda utilizar alguno de los tres formatos de imagen
32511 \begin_layout Standard
32512 Un documento se puede exportar a PDF con el menú
32514 Archivo\SpecialChar \menuseparator
32517 en tres modos diferentes:
32520 \begin_layout Description
32522 \begin_inset space ~
32525 (ps2pdf) Este utiliza el programa
32529 que crea un PDF a partir de una versión PostScript del archivo.
32530 La versión PostScript es producida por el programa
32534 que usa una versión DVI como paso intermedio.
32535 Así que este modo de exportación consta de tres conversiones.
32538 \begin_layout Description
32540 \begin_inset space ~
32543 (dvipdfm) Este utiliza el programa
32547 que convierte el archivo a DVI en segundo plano y en un segundo paso a
32551 \begin_layout Description
32553 \begin_inset space ~
32556 (pdflatex) Este utiliza el programa
32560 que convierte directamente el archivo a PDF.
32563 \begin_layout Standard
32567 \begin_inset space ~
32576 soporta todas las características de las versiones actuales de PDF, es
32582 ya no se desarrolla y está un poco obsoleto.
32585 \begin_layout Standard
32586 La salida en formato PDF se puede ver con el menú
32591 \begin_inset space ~
32595 \begin_inset Graphics
32596 filename ../../images/buffer-view_pdf2.png
32604 \begin_inset space ~
32612 \begin_layout Chapter
32613 Explicación de la ecuación
32614 \begin_inset space ~
32618 \begin_inset CommandInset ref
32625 \begin_inset CommandInset label
32627 name "cha:Explicación-de-la-Ecuación"
32634 \begin_layout Standard
32635 La anchura total de
32639 celdas de una tabla
32640 \begin_inset Formula $W_{\mathrm{tot\, n}}$
32643 puede calcularse con
32646 \begin_layout Standard
32647 \begin_inset Formula \begin{equation}
32648 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
32655 \begin_layout Standard
32657 \begin_inset Formula $W_{g\, n}$
32660 es el ancho dado de todas las celdas.
32667 es la longitud LaTeX entre el texto y el borde de la celda, 6
32668 \begin_inset space \thinspace{}
32678 es el grosor de línea del borde, 0.4
32679 \begin_inset space \thinspace{}
32685 \begin_layout Standard
32686 Procediendo como en la ecuación
32687 \begin_inset space ~
32691 \begin_inset CommandInset ref
32693 reference "eq:Wtot_n"
32697 , el ancho total de una multicolumna,
32698 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
32704 \begin_layout Standard
32705 \begin_inset Formula \begin{equation}
32706 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
32713 \begin_layout Standard
32714 Igualando las ecuaciones
32715 \begin_inset space ~
32719 \begin_inset CommandInset ref
32721 reference "eq:Wtot_n"
32726 \begin_inset CommandInset ref
32728 reference "eq:Wtot_mult"
32732 podemos calcular el ancho dado necesario
32733 \begin_inset Formula $W_{g\, n}$
32740 columnas, de forma que cada una de ellas tiene una anchura total
32741 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
32747 \begin_layout Standard
32748 \begin_inset Formula \begin{equation}
32749 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
32756 \begin_layout Bibliography
32757 \begin_inset CommandInset bibitem
32758 LatexCommand bibitem
32759 key "latexcompanion"
32763 Frank Mittelbach and Michel Goossens:
32765 The LaTeX Companion Second Edition.
32768 Addison-Wesley, 2004
32771 \begin_layout Bibliography
32772 \begin_inset CommandInset bibitem
32773 LatexCommand bibitem
32778 Helmut Kopka and Patrick W.
32781 A Guide to LaTeX Fourth Edition.
32784 Addison-Wesley, 2003
32787 \begin_layout Bibliography
32788 \begin_inset CommandInset bibitem
32789 LatexCommand bibitem
32796 LaTeX: A Document Preparation System.
32799 Addison-Wesley, second edition, 1994
32802 \begin_layout Bibliography
32803 \begin_inset CommandInset bibitem
32804 LatexCommand bibitem
32809 Documentación del paquete LaTeX
32812 \begin_inset CommandInset href
32815 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
32825 \begin_layout Plain Layout
32826 LaTeX-paquetes ! booktabs
32834 \begin_layout Bibliography
32835 \begin_inset CommandInset bibitem
32836 LatexCommand bibitem
32841 Documentación del paquete LaTeX
32844 \begin_inset CommandInset href
32847 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
32857 \begin_layout Plain Layout
32858 LaTeX-paquetes ! caption
32866 \begin_layout Bibliography
32867 \begin_inset CommandInset bibitem
32868 LatexCommand bibitem
32873 Documentación del paquete LaTeX
32876 \begin_inset CommandInset href
32879 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
32889 \begin_layout Plain Layout
32890 LaTeX-paquetes ! endfloat
32898 \begin_layout Bibliography
32899 \begin_inset CommandInset bibitem
32900 LatexCommand bibitem
32905 Documentación del paquete LaTeX
32908 \begin_inset CommandInset href
32911 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
32921 \begin_layout Plain Layout
32922 LaTeX-paquetes ! wrapfig
32926 \begin_layout Plain Layout
32943 \begin_layout Bibliography
32944 \begin_inset CommandInset bibitem
32945 LatexCommand bibitem
32950 Documentación del paquete LaTeX
32953 \begin_inset CommandInset href
32956 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
32966 \begin_layout Plain Layout
32967 LaTeX-paquetes ! footmisc
32975 \begin_layout Bibliography
32976 \begin_inset CommandInset bibitem
32977 LatexCommand bibitem
32982 Documentación del paquete LaTeX
32985 \begin_inset CommandInset href
32988 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
32998 \begin_layout Plain Layout
32999 LaTeX-paquetes ! hyperref
33007 \begin_layout Bibliography
33008 \begin_inset CommandInset bibitem
33009 LatexCommand bibitem
33014 Documentación del paquete LaTeX
33017 \begin_inset CommandInset href
33020 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
33030 \begin_layout Plain Layout
33031 LaTeX-paquetes ! hyperref
33039 \begin_layout Bibliography
33040 \begin_inset CommandInset bibitem
33041 LatexCommand bibitem
33046 Documentación del paquete LaTeX
33049 \begin_inset CommandInset href
33052 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
33062 \begin_layout Plain Layout
33063 LaTeX-paquetes ! koma-script
33071 \begin_layout Bibliography
33072 \begin_inset CommandInset bibitem
33073 LatexCommand bibitem
33078 Documentación del paquete LaTeX
33081 \begin_inset CommandInset href
33084 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
33094 \begin_layout Plain Layout
33095 LaTeX-paquetes ! listings
33103 \begin_layout Bibliography
33104 \begin_inset CommandInset bibitem
33105 LatexCommand bibitem
33110 Documentación del paquete LaTeX
33113 \begin_inset CommandInset href
33116 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
33126 \begin_layout Plain Layout
33127 LaTeX-paquetes ! marginnote
33135 \begin_layout Bibliography
33136 \begin_inset CommandInset bibitem
33137 LatexCommand bibitem
33142 Página web del paquete LaTeX
33145 \begin_inset CommandInset href
33148 target "http://tug.org/PSTricks/"
33158 \begin_layout Plain Layout
33159 LaTeX-paquetes ! PSTricks
33167 \begin_layout Bibliography
33168 \begin_inset CommandInset bibitem
33169 LatexCommand bibitem
33174 Documentación del paquete LaTeX
33177 \begin_inset CommandInset href
33180 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
33190 \begin_layout Plain Layout
33191 LaTeX-paquetes ! sidecap
33199 \begin_layout Bibliography
33200 \begin_inset CommandInset bibitem
33201 LatexCommand bibitem
33207 \begin_inset CommandInset href
33210 target "http://wiki.lyx.org/LyX/NewInLyX16"
33214 sobre características nuevas para la versión
33217 \begin_inset space ~
33225 \begin_layout Standard
33226 \begin_inset CommandInset index_print
33227 LatexCommand printindex
33234 \begin_layout Standard
33235 \begin_inset FloatList figure
33242 \begin_layout Standard
33243 \begin_inset FloatList table
33250 \begin_layout Standard
33254 \begin_layout Plain Layout
33258 listof{algorithm}{Lista de algoritmos}
33264 \begin_inset Note Note
33267 \begin_layout Plain Layout
33269 \begin_inset space ~
33273 \begin_inset CommandInset ref
33275 reference "sub:Algoritmos-Flotantes"
33279 para una descripción.