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
18977 \begin_inset space ~
18981 \begin_inset space ~
18989 \begin_layout Subsection
18990 Algoritmos flotantes
18994 \begin_layout Plain Layout
18995 Flotantes ! Algoritmos
19001 \begin_inset CommandInset label
19003 name "sub:Algoritmos-Flotantes"
19010 \begin_layout Standard
19011 \begin_inset Float algorithm
19017 \begin_layout Plain Layout
19018 \begin_inset Caption
19020 \begin_layout Plain Layout
19021 \begin_inset CommandInset label
19023 name "alg:Ejemplo-de-Algoritmo-flotante"
19027 Ejemplo de algoritmo flotante
19035 \begin_layout LyX-Code
19037 \begin_inset Newline newline
19040 Sum:= Sum + A(I); /*comment*/
19041 \begin_inset Newline newline
19045 \begin_inset VSpace -4mm
19056 \begin_layout Standard
19057 Este tipo de flotante se inserta con el menú
19059 Insertar\SpecialChar \menuseparator
19060 Flotante\SpecialChar \menuseparator
19064 Se usa para códigos y descripciones de algoritmos.
19065 Un posible entorno para algoritmos es
19075 \begin_inset space ~
19079 \begin_inset CommandInset ref
19081 reference "alg:Ejemplo-de-Algoritmo-flotante"
19085 es un ejemplo de algoritmo flotante en el que se ha añadido un espacio
19087 \begin_inset space \thinspace{}
19090 mm al final para tener la línea inferior exactamente bajo la última línea
19094 \begin_layout Standard
19095 La etiqueta de flotante no se traduce automáticamente al lenguaje del documento.
19096 Hay que hacerlo manualmente añadiendo al preámbulo del documento la línea:
19099 \begin_layout Standard
19104 floatname{algorithm}{nombre}
19107 \begin_layout Standard
19116 » en el lenguaje deseado.
19119 \begin_layout Standard
19120 En estos casos, para insertar la lista de algoritmos no puedes usar el menú
19123 Insertar\SpecialChar \menuseparator
19124 Lista/IG\SpecialChar \menuseparator
19125 Lista de algoritmos
19127 como en documentos en inglés.
19128 Para documentos en otro idioma usa en su lugar el comando en código TeX:
19131 \begin_layout Standard
19136 listof{algorithm}{nombre}
19139 \begin_layout Standard
19151 \begin_layout Standard
19152 Los algoritmos flotantes no se numeran por omisión según el esquema habitual
19153 para tablas e imágenes flotantes en muchas clases de documento, «capítulo.algori
19155 Para numerarlos con ese esquema, añade este comando en el preámbulo del
19159 \begin_layout Standard
19164 numberwithin{algorithm}{chapter}
19167 \begin_layout Standard
19168 Para poder usar el comando
19177 \begin_inset space ~
19181 \begin_inset space ~
19185 \begin_inset space ~
19192 Documento\SpecialChar \menuseparator
19193 Configuración\SpecialChar \menuseparator
19199 \begin_layout Subsection
19200 Flotantes envueltos en texto
19204 \begin_layout Plain Layout
19205 Flotantes ! Envueltos en texto
19211 \begin_inset CommandInset label
19213 name "sub:Flotante-envuelto"
19220 \begin_layout Standard
19221 \begin_inset Wrap figure
19228 \begin_layout Plain Layout
19229 \begin_inset Graphics
19230 filename ../clipart/mobius.eps
19232 rotateOrigin center
19239 \begin_layout Plain Layout
19240 \begin_inset Caption
19242 \begin_layout Plain Layout
19243 \begin_inset CommandInset label
19245 name "fig:Figura-envuelta"
19249 Figura envuelta en el texto con su genial leyenda.
19250 \begin_inset VSpace medskip
19263 Este tipo de flotante se usa para adosar una figura o una tabla al texto,
19264 de modo que ocupe sólo una parte del ancho de columna.
19265 Se inserta con el menú
19267 Insertar\SpecialChar \menuseparator
19268 Flotante\SpecialChar \menuseparator
19270 \begin_inset space ~
19274 \begin_inset space ~
19278 \begin_inset space ~
19283 si está instalado el paquete LaTeX
19291 \begin_layout Plain Layout
19292 LaTeX-paquetes ! wrapfig
19296 \begin_layout Plain Layout
19314 \begin_layout Plain Layout
19315 La instalación de paquetes LaTeX se explica en el manual
19317 Configuración de LaTeX
19324 La anchura y posición del flotante se ajusta en el diálogo de configuración
19325 que se muestra con clic-derecha sobre el cuadro del flotante.
19327 \begin_inset space ~
19331 \begin_inset CommandInset ref
19333 reference "fig:Figura-envuelta"
19337 es un ejemplo de flotante envuelto en texto con una anchura de columna
19339 \begin_inset space \thinspace{}
19346 \begin_layout Plain Layout
19347 Ver unidades disponibles en el apéndice
19348 \begin_inset space ~
19352 \begin_inset CommandInset ref
19354 reference "cha:Unidades-disponibles-en"
19363 Se ha añadido un espacio vertical bajo la leyenda para separarla mejor
19364 del texto envolvente.
19367 \begin_layout Standard
19368 \begin_inset Note Greyedout
19371 \begin_layout Plain Layout
19376 ¡Los flotantes adosados a texto son frágiles! P.
19377 \begin_inset space \thinspace{}
19381 \begin_inset space ~
19384 si una figura está demasiado cerca de la parte inferior de la página se
19385 pueden perder cosas en el proceso de salida: el flotante puede no aparecer
19386 o situarse junto a otro texto.
19394 \begin_layout Standard
19398 \begin_layout Itemize
19399 Los flotantes envueltos no deberían situarse en párrafos que van sobre un
19401 Esto implica que lo mejor es insertarlos en el sitio exacto cuando el documento
19402 esté casi listo y puedas prever los saltos de página.
19405 \begin_layout Itemize
19406 Los flotantes envueltos deberían situarse, bien en un párrafo propio antes
19407 del párrafo al que deben ajustarse, o bien dentro de un párrafo.
19410 \begin_layout Itemize
19411 Los flotantes envueltos en párrafos consecutivos pueden dar problemas, así
19412 que asegura que hay un párrafo de texto entre ellos.
19415 \begin_layout Itemize
19416 Los flotantes envueltos no están permitidos en cabeceras de sección o tablas.
19419 \begin_layout Section
19420 Numeración de flotantes
19421 \begin_inset CommandInset label
19423 name "sec:Numeración-de-flotantes"
19431 \begin_layout Plain Layout
19432 Flotantes ! Numeración
19440 \begin_layout Standard
19441 En general, los flotantes se numeran independientemente de las secciones
19442 en las que se encuentran o según el esquema «capítulo.número» o «sección.número»,
19443 dependiendo de la clase de documento utilizada.
19446 \begin_layout Standard
19447 Para cambiar la numeración independiente de la sección, puedes usar el siguiente
19448 comando en el preámbulo del documento:
19451 \begin_layout Standard
19463 \begin_layout Standard
19470 es el comando que imprime el número de la tabla, para figuras flotantes
19484 imprime el número de tabla en números romanos en minúscula.
19487 \begin_layout Standard
19488 Para cambiar el esquema de numeración, por ejemplo a «subsección.número»,
19489 usa este comando en el preámbulo:
19492 \begin_layout Standard
19497 numberwithin{table}{subsection}
19500 \begin_layout Standard
19501 Para poder usar el comando
19507 , debes marcar la opción
19510 \begin_inset space ~
19514 \begin_inset space ~
19518 \begin_inset space ~
19527 de las preferencias del documento.
19530 \begin_layout Standard
19531 Puedes ver más detalles y notas importantes sobre comandos de numeración
19533 \begin_inset space ~
19537 \begin_inset CommandInset ref
19539 reference "sub:Numeración-de-Notas-al-Pie"
19546 \begin_layout Section
19547 Referencias a flotantes
19548 \begin_inset CommandInset label
19550 name "sec:Referencias-a-Flotantes"
19558 \begin_layout Plain Layout
19559 Flotantes ! Referencias
19568 \begin_layout Plain Layout
19577 \begin_layout Standard
19578 Para referirse a un flotante, inserta una etiqueta en su leyenda con el
19581 Insertar\SpecialChar \menuseparator
19585 \begin_inset Graphics
19586 filename ../../images/label-insert.png
19592 Aparece una ventana esperando la introducción del texto de la etiqueta
19593 y se inserta un cuadro gris como este:
19594 \begin_inset Graphics
19595 filename clipart/etiquetaQt4.png
19601 LyX ofrece como texto las primeras palabras de la leyenda con un prefijo.
19602 El prefijo depende del tipo de flotante, p.
19603 \begin_inset space \thinspace{}
19607 \begin_inset space ~
19610 para figuras el prefijo será «
19617 \begin_layout Standard
19618 La etiqueta se usa como ancla y el nombre para la referencia.
19619 Puedes referenciar la etiqueta usando el menú
19621 Insertar\SpecialChar \menuseparator
19625 \begin_inset space ~
19633 \begin_inset Graphics
19634 filename ../../images/dialog-show-new-inset_ref.png
19640 Aparece una ventana de referencia cruzada con todas las etiquetas del documento.
19641 Si tienes abiertos varios documentos LyX, escoge aquel con el que estás
19642 trabajando de la lista desplegable de la parte superior del diálogo.
19643 Puedes ordenar las etiquetas alfabéticamente y elegir una.
19644 Se inserta un cuadro gris como este:
19645 \begin_inset Graphics
19646 filename clipart/referenciaQt4.png
19652 En la salida, en lugar de este cuadro aparecerá el número de la referencia.
19655 \begin_layout Standard
19656 Se recomienda poner un espacio protegido entre el nombre de la referencia
19657 cruzada y su número para evitar saltos de línea entre ellos.
19658 Si una referencia cruzada corresponde a una etiqueta inexistente verás
19659 dos interrogaciones en la salida.
19662 \begin_layout Standard
19663 En cualquier momento puedes cambiar etiquetas pulsando sobre el cuadro.
19664 Las referencias a las etiquetas cambiadas cambian automáticamente su enlace
19665 al texto de la etiqueta nueva, no te ocupes por eso.
19668 \begin_layout Standard
19672 \begin_inset space ~
19676 \begin_inset space ~
19680 \begin_inset space ~
19685 en la ventana de referencia cruzada lleva el cursor hasta dicha etiqueta,
19686 y el texto del botón cambia a
19690 , con el que se puede retornar a la referencia.
19691 Clic-derecho sobre el cuadro de la referencia también lleva el cursor hasta
19692 la etiqueta pero sin opción de volver.
19695 \begin_layout Subsection
19696 Formatos de referencia cruzada
19697 \begin_inset CommandInset label
19699 name "sub:Formatos-referencia-cruzada"
19707 \begin_layout Plain Layout
19708 Referencias ! Formatos
19716 \begin_layout Standard
19717 Hay seis variedades de referencias cruzadas:
19720 \begin_layout Description
19721 <referencia>: imprime el número flotante, esta es la opción predeterminada:
19723 \begin_inset CommandInset ref
19725 reference "fig:Dos-imágenes-distorsionadas"
19732 \begin_layout Description
19733 (<referencia>): imprime el número flotante entre paréntesis, es el estilo
19734 habitual para referirse a fórmulas, especialmente si se omite el nombre
19736 \begin_inset CommandInset ref
19745 \begin_layout Description
19746 <página>: imprime el número de página: Página
19747 \begin_inset space ~
19751 \begin_inset CommandInset ref
19752 LatexCommand pageref
19753 reference "fig:Dos-imágenes-distorsionadas"
19760 \begin_layout Description
19762 \begin_inset space ~
19766 \begin_inset space ~
19769 <página>: imprime el texto «en la página» y el número de página:
19770 \begin_inset CommandInset ref
19771 LatexCommand vpageref
19772 reference "fig:Dos-imágenes-distorsionadas"
19779 \begin_layout Description
19781 \begin_inset space ~
19785 \begin_inset space ~
19789 \begin_inset space ~
19792 <página>: imprime el número flotante, el texto «en la página» y el número
19794 \begin_inset CommandInset ref
19796 reference "fig:Dos-imágenes-distorsionadas"
19803 \begin_layout Description
19805 \begin_inset space ~
19809 \begin_inset space ~
19812 formato: imprime un formato personalizado.
19814 \begin_inset Note Greyedout
19817 \begin_layout Plain Layout
19822 Esta característica sólo está disponible si está instalado el paquete LaTeX
19835 \begin_layout Standard
19836 Ten en cuenta que el estilo <página>
19837 \begin_inset space \thinspace{}
19840 no imprime el número si la etiqueta está en la misma página, en la anterior
19842 En su lugar verás p.
19843 \begin_inset space \thinspace{}
19847 \begin_inset space ~
19857 \begin_layout Standard
19858 El número y página actual de la parte del documento referida es automáticamente
19859 calculado por LaTeX en la salida.
19860 Las variedades se ajustan en el campo
19864 de la ventana de referencia cruzada, que aparece al pinchar sobre el cuadro.
19867 \begin_layout Subsection
19868 Designación automática de referencias
19872 \begin_layout Plain Layout
19873 Referencias ! Designación automática
19881 \begin_layout Standard
19886 dispone de una característica muy útil que permite incluir automáticamente
19887 en las referencias cruzadas el nombre de los flotantes referidos (o partes
19888 de texto como secciones).
19890 \begin_inset space \thinspace{}
19894 \begin_inset space ~
19897 escribir la palabra «Figura» antes de cada cuadro de referencia.
19898 Para conseguirlo debes cargar el paquete LaTeX
19906 \begin_layout Plain Layout
19907 LaTeX-paquetes ! hyperref
19912 en el preámbulo del documento con
19915 \begin_layout Standard
19920 usepackage[pdfborder={0 0 0}]{hyperref}
19921 \begin_inset Newline newline
19937 \begin_layout Standard
19942 se utiliza para enlazar referencias cruzadas en las salidas DVI y PDF,
19943 esto significa que el lector del documento podrá pinchar sobre una entrada
19944 de Índice o una referencia y será inmediatamente dirigido a esa parte del
19950 también crea marcadores PDF para cada sección para facilitar al lector
19951 la navegación por el documento.
19952 Esto también se ha usado en este documento pero si echas una ojeada al
19953 preámbulo encontrarás varias opciones en la carga de
19958 Para aprender más sobre ello acude a la documentación del paquete
19959 \begin_inset CommandInset citation
19968 \begin_layout Standard
19969 \begin_inset Note Greyedout
19972 \begin_layout Plain Layout
19977 La designación automática de referencias no puede usarse en el estilo
19980 \begin_inset space ~
19984 \begin_inset space ~
19989 , descrita en la sección
19990 \begin_inset space ~
19994 \begin_inset CommandInset ref
19996 reference "sub:Formatos-referencia-cruzada"
20008 \begin_layout Subsection
20009 Colocación de referencias
20010 \begin_inset CommandInset label
20012 name "sub:Colocación-de-Referencias"
20020 \begin_layout Plain Layout
20021 Referencias ! Colocación
20029 \begin_layout Standard
20038 \begin_layout Plain Layout
20039 LaTeX-paquetes ! hyperref
20044 para enlazar referencias cruzadas en la salida, verás que al pinchar sobre
20045 la referencia de una imagen flotante te lleva hasta la etiqueta de la imagen.
20046 La leyenda será la primera parte del texto en pantalla, de forma que para
20047 ver la imagen debes deslizar.
20048 Se debe a que el ancla de enlace de la referencia se sitúa en la etiqueta.
20057 \begin_layout Plain Layout
20058 LaTeX-paquetes ! hypcap
20063 , que forma parte del paquete LaTeX
20071 \begin_layout Plain Layout
20072 LaTeX-paquetes ! oberdiek
20077 , el ancla de enlace se sitúa al comienzo de un flotante.
20078 Para usar esta característica para figuras flotantes carga
20082 en el preámbulo con
20085 \begin_layout Standard
20090 usepackage[figure]{hypcap}
20093 \begin_layout Standard
20098 para todos los flotantes aunque no se recomienda por razones de estabilidad.
20099 Más información en el manual de
20104 \begin_inset CommandInset citation
20113 \begin_layout Standard
20114 \begin_inset Note Greyedout
20117 \begin_layout Plain Layout
20122 debe cargarse después de
20136 \begin_layout Standard
20137 \begin_inset Note Greyedout
20140 \begin_layout Plain Layout
20145 La colocación de referencias no afecta a las referencias a subfiguras.
20153 \begin_layout Section
20154 Colocación de flotantes
20155 \begin_inset CommandInset label
20157 name "sec:Colocación-de-Flotantes"
20165 \begin_layout Plain Layout
20166 Flotantes ! Colocación
20174 \begin_layout Standard
20175 Pulsando con el botón derecho del ratón sobre un cuadro de flotante se abre
20176 un diálogo en el que pueden cambiarse las opciones de LaTeX para situar
20178 \begin_inset Newline newline
20184 \begin_inset space ~
20189 sólo es aplicable a documentos de dos columnas: Si lo seleccionas, el flotante
20190 abarcará ambas columnas en lugar de una sola.
20191 \begin_inset Newline newline
20197 \begin_inset space ~
20201 \begin_inset space ~
20205 \begin_inset space ~
20210 sirve para girar flotantes, ver sección
20211 \begin_inset space ~
20215 \begin_inset CommandInset ref
20217 reference "sec:Rotación-de-Flotantes"
20225 \begin_layout Standard
20226 Puedes usar una o más de las siguientes opciones en el diálogo para establecer
20227 la posición de un flotante si desmarcas la opción
20230 \begin_inset space ~
20234 \begin_inset space ~
20242 \begin_layout Description
20247 \begin_inset space ~
20251 \begin_inset space ~
20255 \begin_inset space ~
20261 intenta situar el flotante en la posición en la que se inserta
20264 \begin_layout Description
20269 \begin_inset space ~
20273 \begin_inset space ~
20279 intenta situar el flotante al principio de la página actual
20282 \begin_layout Description
20287 \begin_inset space ~
20291 \begin_inset space ~
20297 intenta situar el flotante al final de la página actual
20300 \begin_layout Description
20305 \begin_inset space ~
20309 \begin_inset space ~
20315 intenta situar el flotante en una página propia
20318 \begin_layout Standard
20323 ese orden de opciones.
20324 Significa que si usas la colocación predeterminada, LaTeX probará en primer
20328 \begin_inset space ~
20332 \begin_inset space ~
20336 \begin_inset space ~
20344 \begin_inset space ~
20348 \begin_inset space ~
20353 , y después las otras.
20354 Si no usas la predeterminada, LaTeX sólo probará las opciones marcadas
20355 pero en dicho orden.
20356 Si no es posible ninguna de las 4 ubicaciones el proceso se repite internamente
20357 pero intenta poner el flotante en la página siguiente.
20360 \begin_layout Standard
20361 De forma predeterminada cada una de las opciones tiene sus propias reglas:
20364 \begin_layout Labeling
20365 \labelwidthstring 00.00.0000
20369 \begin_inset space ~
20373 \begin_inset space ~
20378 sólo si el flotante ocupa menos del 70
20379 \begin_inset space \thinspace{}
20382 % de la página puede ubicarse al principio de página (
20391 \begin_layout Labeling
20392 \labelwidthstring 00.00.0000
20396 \begin_inset space ~
20400 \begin_inset space ~
20405 sólo si el flotante ocupa menos del 30
20406 \begin_inset space \thinspace{}
20409 % de la página puede ubicarse al fin de página.
20419 \begin_layout Labeling
20420 \labelwidthstring 00.00.0000
20424 \begin_inset space ~
20428 \begin_inset space ~
20434 \begin_inset space \thinspace{}
20437 % de la página se ocupa por flotantes puede haber varios juntos en la misma
20448 \begin_layout Standard
20449 Si no te agradan estas reglas puedes ignorarlas marcando la opción adicional
20453 \begin_inset space ~
20457 \begin_inset space ~
20461 \begin_inset space ~
20467 \begin_inset Newline newline
20470 También puedes redefinir las reglas con los comandos LaTeX que van entre
20471 paréntesis tras la descripción de las reglas anteriores.
20472 Por ejemplo, para aumentar el valor predeterminado, quizás pequeño, de
20478 \begin_inset space ~
20486 \begin_inset space ~
20494 \begin_inset space \thinspace{}
20497 %, añade esta línea en el preámbulo:
20500 \begin_layout Standard
20507 bottomfraction}{0.5}
20510 \begin_layout Standard
20511 En determinados casos podrías necesitar ubicar un flotante exactamente en
20512 la posición en la que se inserta.
20513 Para esto puedes usar la opción
20516 \begin_inset space ~
20522 Usa esta opción esporádicamente y sólo cuando el documento esté casi listo,
20523 porque el flotante ya no podrá «flotar» y si haces cambios al documento
20524 se podría estropear el diseño de la página.
20527 \begin_layout Standard
20528 No hay opciones de ubicación para flotantes ajustados a texto porque siempre
20529 están rodeados por texto de un párrafo determinado.
20530 \begin_inset VSpace bigskip
20536 \begin_layout Standard
20537 A veces surge el problema de que un flotante se sitúa al principio de la
20538 página mientras que su sección correspondiente empieza en mitad de la página,
20539 así que el lector podría creer que el flotante forma parte de la sección
20541 Para evitarlo puede emplearse el comando LaTeX
20547 , que suprime la ubicación de un flotante dado en la página donde se inserta
20548 y además puede servir para evitar que el flotante se coloque antes del
20550 Para ello, añade estos comandos al preámbulo:
20553 \begin_layout Standard
20563 \begin_inset Newline newline
20577 \begin_layout Standard
20578 Se puede hacer lo mismo para todas las cabeceras de sección, capítulos y
20580 No es recomendable para partes pequeñas de texto como subsubsecciones porque
20581 LaTeX podría tener problemas para encontrar una ubicación adecuada.
20584 \begin_layout Standard
20585 \begin_inset VSpace bigskip
20588 En ciertos casos se quieren tener todas las figuras/tablas al final del
20590 Para estos casos está el paquete LaTeX
20598 \begin_layout Plain Layout
20599 LaTeX-paquetes ! endfloat
20605 Pone todas las figuras y tablas flotantes al final del documento en secciones
20607 En la posición original del flotante se inserta una indicación como «
20610 \begin_inset space ~
20620 se carga en el preámbulo con la línea
20623 \begin_layout Standard
20628 usepackage[options]{endfloat}
20631 \begin_layout Standard
20632 Hay varias opciones para diseñar las secciones figura/tabla creadas.
20633 Para más información ver la documentación de
20634 \begin_inset CommandInset citation
20641 \begin_inset Newline newline
20645 \begin_inset Note Greyedout
20648 \begin_layout Plain Layout
20653 no traduce automáticamente la indicación, hay que hacerlo manualmente,
20655 \begin_inset space ~
20659 \begin_inset CommandInset citation
20671 \begin_inset Newline newline
20675 \begin_inset Note Greyedout
20678 \begin_layout Plain Layout
20683 Actualmente hay un error en
20687 cuando la leyenda contiene el carácter alemán «ß».
20688 Usa en ese caso el comando «
20694 » en código TeX en vez de «ß».
20702 \begin_layout Standard
20703 \begin_inset VSpace bigskip
20706 Más detalles sobre ubicación de flotantes en libros sobre LaTeX como
20707 \begin_inset CommandInset citation
20709 key "latexcompanion,latexguide,latexbook"
20716 \begin_layout Section
20717 Rotación de flotantes
20718 \begin_inset CommandInset label
20720 name "sec:Rotación-de-Flotantes"
20728 \begin_layout Plain Layout
20729 Flotantes ! Rotación
20737 \begin_layout Standard
20738 Podrías necesitar girar flotantes, especialmente con tablas grandes.
20739 Para girar todo el flotante y su leyenda, pincha sobre su cuadro y marca
20743 \begin_inset space ~
20747 \begin_inset space ~
20751 \begin_inset space ~
20759 \begin_layout Standard
20760 Los flotantes girados son puestos siempre en su propia página (o columna
20761 si el documento es de dos columnas).
20762 Se rotan de forma que puedes leerlos desde el margen externo.
20763 Para forzar determinada dirección de rotación para todas las páginas, puedes
20764 añadir una de las opciones
20772 a las opciones de clase del documento.
20775 \begin_layout Standard
20776 Los flotantes girados se refieren igual que los normales, y el formato de
20777 la leyenda también es el mismo: un ejemplo es la tabla
20778 \begin_inset space ~
20782 \begin_inset CommandInset ref
20784 reference "tab:Tabla-girada"
20791 \begin_layout Standard
20792 \begin_inset Note Greyedout
20795 \begin_layout Plain Layout
20800 No todos los visores DVI pueden mostrar tablas giradas.
20808 \begin_layout Standard
20809 \begin_inset Float table
20814 \begin_layout Plain Layout
20815 \begin_inset Caption
20817 \begin_layout Plain Layout
20818 \begin_inset CommandInset label
20820 name "tab:Tabla-girada"
20832 \begin_layout Plain Layout
20834 \begin_inset Tabular
20835 <lyxtabular version="3" rows="1" columns="5">
20837 <column alignment="center" valignment="top" width="0">
20838 <column alignment="center" valignment="top" width="0">
20839 <column alignment="center" valignment="top" width="0">
20840 <column alignment="center" valignment="top" width="0">
20841 <column alignment="center" valignment="top" width="0">
20843 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20846 \begin_layout Plain Layout
20852 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20855 \begin_layout Plain Layout
20861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20864 \begin_layout Plain Layout
20870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20873 \begin_layout Plain Layout
20879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20882 \begin_layout Plain Layout
20901 \begin_layout Section
20906 \begin_layout Plain Layout
20907 Flotantes ! Adosados
20915 \begin_layout Standard
20916 Para colocar flotantes unos junto a otros, como en la figura
20917 \begin_inset space ~
20921 \begin_inset CommandInset ref
20923 reference "fig:Flotante-izquierda"
20928 \begin_inset CommandInset ref
20930 reference "fig:Flotante-derecha"
20939 En él se insertan dos cuadros tipo minipágina.
20943 \begin_layout Plain Layout
20944 Las minipáginas se explican en la sección
20945 \begin_inset space ~
20949 \begin_inset CommandInset ref
20951 reference "sec:Minipáginas"
20960 La anchura de la columna se establece en 45-50
20961 \begin_inset space \thinspace{}
20964 % y la alineación en
20968 para cada minipágina.
20969 Las minipáginas contienen la imagen y su título, de igual forma que en
20971 La única diferencia es que el
20974 \begin_inset space ~
20978 \begin_inset space ~
20982 \begin_inset space ~
20987 de la imagen se calcula en este caso en relación a la anchura de la minipágina.
20990 \begin_layout Standard
20991 \begin_inset Float figure
20997 \begin_layout Plain Layout
20998 \begin_inset Box Frameless
21007 height_special "totalheight"
21010 \begin_layout Plain Layout
21012 \begin_inset Graphics
21013 filename ../clipart/mobius.eps
21016 scaleBeforeRotation
21023 \begin_layout Plain Layout
21024 \begin_inset Caption
21026 \begin_layout Plain Layout
21027 \begin_inset CommandInset label
21029 name "fig:Flotante-izquierda"
21033 Flotante en el lado izquierdo.
21044 \begin_inset space \hfill{}
21048 \begin_inset Box Frameless
21057 height_special "totalheight"
21060 \begin_layout Plain Layout
21062 \begin_inset Graphics
21063 filename ../clipart/platypus.eps
21066 scaleBeforeRotation
21073 \begin_layout Plain Layout
21074 \begin_inset Caption
21076 \begin_layout Plain Layout
21077 \begin_inset CommandInset label
21079 name "fig:Flotante-derecha"
21083 Flotante en el lado derecho.
21101 \begin_layout Section
21102 Formato de las leyendas
21106 \begin_layout Plain Layout
21116 \begin_layout Plain Layout
21117 Flotantes ! Formato de las leyendas
21126 \begin_layout Plain Layout
21127 LaTeX-paquetes ! caption
21133 \begin_inset CommandInset label
21135 name "sec:Formato-de-leyendas"
21142 \begin_layout Standard
21147 es el predeterminado para los
21152 En LyX las leyendas se muestran como etiqueta, p.
21153 \begin_inset space \thinspace{}
21157 \begin_inset space ~
21164 :» seguida por el texto.
21165 «#» es el número real de referencia.
21166 Por omisión la etiqueta y el número usan la misma fuente que el texto de
21167 la leyenda y el signo dos puntos sigue al número para separar la etiqueta
21169 El entorno leyenda no es apropiado para todos los tipos de documento.
21173 \begin_layout Standard
21174 Para cambiar el formato predeterminado carga el paquete LaTeX
21182 \begin_layout Plain Layout
21183 LaTeX-paquetes ! caption
21188 en el preámbulo del documento con la línea:
21191 \begin_layout Standard
21196 usepackage[definición de formato]{caption}
21199 \begin_layout Standard
21200 Para poner, por ejemplo, la etiqueta y el número en sans-serif negrita y
21201 las leyendas de tabla siempre sobre ella como en este documento, usa el
21205 \begin_layout Standard
21210 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
21213 \begin_layout Standard
21214 También puedes definir distintos formatos de leyenda para los distintos
21215 tipos de flotantes.
21216 En ese caso carga el paquete
21220 sin opciones específicas y define los distintos formatos con ayuda del
21224 \begin_layout Standard
21229 captionsetup[tipo de flotante]{definición de formato}
21232 \begin_layout Standard
21233 en el preámbulo del documento.
21234 Por ejemplo las leyendas de la Figura
21235 \begin_inset space ~
21239 \begin_inset CommandInset ref
21241 reference "fig:Esto-es-una-fig"
21246 \begin_inset space ~
21250 \begin_inset CommandInset ref
21252 reference "tab:Esto-es-una-tab"
21256 pueden crearse usando los siguientes comandos en el preámbulo:
21259 \begin_layout Standard
21264 usepackage[tableposition=top]{caption}
21267 \begin_inset Newline newline
21274 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
21275 \begin_inset Newline newline
21282 \begin_layout Plain Layout
21290 captionsetup[figure]
21298 \begin_inset Newline newline
21303 captionsetup[table]{labelfont={bf,sf}}
21306 \begin_layout Standard
21307 \begin_inset Note Greyedout
21310 \begin_layout Plain Layout
21319 no tiene efecto si se usa una clase de documento
21324 En este caso debe utilizarse la opción de clase de documento
21337 \begin_layout Standard
21338 Para más información sobre el paquete
21342 acude a su documentación
21343 \begin_inset CommandInset citation
21352 \begin_layout Standard
21353 Para cambiar el nombre de la etiqueta de «Figura» a «Imagen», p.
21354 \begin_inset space \thinspace{}
21357 e., usa el siguiente comando de preámbulo:
21360 \begin_layout Standard
21367 fnum@figure}{Imagen~
21372 \begin_layout Standard
21379 inserta el número de figura y «~» genera un espacio protegido.
21385 \begin_layout Standard
21386 \begin_inset VSpace bigskip
21389 Si estás usando la clase de documento
21397 \begin_layout Plain Layout
21398 LaTeX-paquetes ! koma-script
21405 article (koma-script)
21413 letter (koma-script)
21417 report (koma-script)
21420 \begin_inset space \thinspace{}
21423 ), puedes emplear en vez del paquete
21438 Por ejemplo, para poner en negrita la etiqueta de la leyenda añade este
21439 comando en el preámbulo del documento:
21442 \begin_layout Standard
21447 setkomafont{captionlabel}{
21452 \begin_layout Standard
21453 Más información sobre
21459 en la documentación de
21464 \begin_inset CommandInset citation
21473 \begin_layout Standard
21477 \begin_layout Plain Layout
21481 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
21488 \begin_inset Note Note
21491 \begin_layout Plain Layout
21492 El formato de la leyenda se ha cambiado sólo para este ejemplo.
21500 \begin_layout Standard
21501 \begin_inset Float figure
21507 \begin_layout Plain Layout
21509 \begin_inset Graphics
21510 filename ../clipart/mobius.eps
21519 \begin_layout Plain Layout
21520 \begin_inset Caption
21522 \begin_layout Plain Layout
21523 \begin_inset CommandInset label
21525 name "fig:Esto-es-una-fig"
21530 \begin_inset OptArg
21533 \begin_layout Plain Layout
21534 Figura con leyenda muy larga
21539 Este es un ejemplo de figura con una leyenda que es mayor de una línea para
21540 mostrar el formato diferente.
21541 Aquí se usa una leyenda personalizada.
21554 \begin_layout Standard
21558 \begin_layout Plain Layout
21562 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
21571 \begin_layout Standard
21572 \begin_inset Float table
21578 \begin_layout Plain Layout
21579 \begin_inset Caption
21581 \begin_layout Plain Layout
21582 \begin_inset CommandInset label
21584 name "tab:Esto-es-una-tab"
21589 \begin_inset OptArg
21592 \begin_layout Plain Layout
21593 Tabla con leyenda muy larga
21598 Este es un ejemplo de leyenda de tabla mayor que una línea para mostrar
21599 el formato diferente.
21600 Aquí se usa el formato de leyenda estándar para las tablas.
21608 \begin_layout Plain Layout
21610 \begin_inset Tabular
21611 <lyxtabular version="3" rows="1" columns="5">
21613 <column alignment="center" valignment="top" width="0">
21614 <column alignment="center" valignment="top" width="0">
21615 <column alignment="center" valignment="top" width="0">
21616 <column alignment="center" valignment="top" width="0">
21617 <column alignment="center" valignment="top" width="0">
21619 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21622 \begin_layout Plain Layout
21628 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21631 \begin_layout Plain Layout
21637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21640 \begin_layout Plain Layout
21646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21649 \begin_layout Plain Layout
21655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21658 \begin_layout Plain Layout
21677 \begin_layout Section
21678 Colocación de leyendas
21682 \begin_layout Plain Layout
21683 Leyendas ! Colocación
21692 \begin_layout Plain Layout
21693 Flotantes ! Colocación de leyendas
21699 \begin_inset CommandInset label
21701 name "sec:Colocación-de-leyendas"
21708 \begin_layout Standard
21709 La norma habitual para colocar las leyendas es:
21712 \begin_layout Description
21713 Figura: La leyenda al pie de la figura
21716 \begin_layout Description
21717 Tabla: La leyenda sobre la tabla
21720 \begin_layout Standard
21721 Desafortunadamente, las clases estándar de LaTeX no soportan leyendas sobre
21723 Esto implica que si usas las clases de documento
21739 no habrá espacio entre la leyenda y la tabla.
21740 Para insertar el espacio adecuado añade la siguiente opción al comando
21745 en el preámbulo del documento:
21749 \begin_layout Plain Layout
21751 \begin_inset space ~
21755 \begin_inset CommandInset ref
21757 reference "sec:Formato-de-leyendas"
21761 para más información sobre el paquete
21773 \begin_layout Standard
21779 \begin_layout Standard
21780 Si estás usando la clase
21788 \begin_layout Plain Layout
21789 LaTeX-paquetes ! koma-script
21796 article (koma-script)
21804 letter (koma-script)
21808 report (koma-script)
21811 \begin_inset space \thinspace{}
21818 puedes poner la opción
21822 de la clase de documento.
21825 \begin_layout Standard
21826 \begin_inset VSpace bigskip
21829 También es posible poner la leyenda junto a una figura o tabla.
21830 Para conseguirlo hay que cargar el paquete LaTeX
21838 \begin_layout Plain Layout
21839 LaTeX-paquetes ! sidecap
21844 añadiendo en el preámbulo del documento la línea
21847 \begin_layout Standard
21852 usepackage[option]{sidecap}
21855 \begin_layout Standard
21856 Si no se especifica opción, la leyenda se ubica del lado del margen externo
21857 de la página ---a la derecha en páginas impares, a la izquierda en las
21859 Puedes cambiar la colocación al margen interno con la opción
21864 Para forzar la ubicación siempre a la derecha o a la izquierda, usa las
21876 \begin_layout Standard
21880 \begin_layout Plain Layout
21890 \begin_inset Note Note
21893 \begin_layout Plain Layout
21894 La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
21907 \begin_layout Standard
21908 Para situar en LyX la leyenda de un flotante al lado, es necesario añadir
21909 estos comandos al preámbulo del documento:
21912 \begin_layout Standard
21918 \begin_layout Standard
21926 \begin_inset Newline newline
21933 \begin_layout Plain Layout
21949 \begin_inset Newline newline
21956 \begin_layout Plain Layout
21972 \begin_inset Newline newline
21979 \begin_layout Plain Layout
21990 renewenvironment{table}{
21997 \begin_layout Standard
22005 \begin_inset Newline newline
22012 \begin_layout Plain Layout
22028 \begin_inset Newline newline
22035 \begin_layout Plain Layout
22053 \begin_layout Standard
22061 \begin_inset Newline newline
22068 \begin_layout Plain Layout
22084 \begin_inset Newline newline
22091 \begin_layout Plain Layout
22107 \begin_inset Newline newline
22114 \begin_layout Plain Layout
22125 renewenvironment{figure}{
22132 \begin_layout Standard
22140 \begin_inset Newline newline
22147 \begin_layout Plain Layout
22163 \begin_inset Newline newline
22170 \begin_layout Plain Layout
22188 \begin_layout Standard
22194 \begin_layout Standard
22195 Estos comandos permiten redefinir los flotantes de modo que la leyenda aparezca
22197 Para figuras flotantes usa el comando
22200 \begin_layout Standard
22208 \begin_layout Standard
22209 en código TeX antes del flotante.
22210 Detrás del flotante inserta
22213 \begin_layout Standard
22221 \begin_layout Standard
22222 en código TeX para volver a la definición original de flotantes.
22225 \begin_layout Standard
22226 Para tablas flotantes usa los comandos correspondientes
22229 \begin_layout Standard
22243 \begin_layout Standard
22245 \begin_inset space ~
22249 \begin_inset CommandInset ref
22251 reference "fig:encab-al-lado"
22256 \begin_inset space ~
22260 \begin_inset CommandInset ref
22262 reference "tab:encab-al-lado"
22266 son ejemplos en los que el título se sitúa al lado.
22269 \begin_layout Standard
22270 En los ejemplos puedes ver que el texto del título aparece encima del flotante
22271 en tablas flotantes y debajo en las figuras flotantes.
22272 Para cambiarlo, puedes usar el comando
22275 \begin_layout Standard
22280 sidecaptionvpos{tipo de flotante}{colocación}
22283 \begin_layout Standard
22284 en el preámbulo o en código TeX antes del flotante.
22285 El tipo de flotante es
22293 , la colocación puede ser «
22297 » por «top» (arriba), «
22301 » por «center» (centro), o «
22305 » por «bottom» (abajo).
22306 Para tener, por ejemplo, el título de figuras flotantes verticalmente centrado,
22310 \begin_layout Standard
22315 sidecaptionvpos{figure}{c}
22318 \begin_layout Standard
22319 Esto se ha hecho en la figura
22320 \begin_inset space ~
22324 \begin_inset CommandInset ref
22326 reference "fig:encab-al-lado-de-fig"
22333 \begin_layout Standard
22334 \begin_inset VSpace medskip
22337 Más información sobre el paquete
22341 en su documentación
22342 \begin_inset CommandInset citation
22351 \begin_layout Standard
22352 \begin_inset Note Greyedout
22355 \begin_layout Plain Layout
22368 \begin_layout Plain Layout
22369 LaTeX-paquetes ! hypcap
22374 , descrito en la sección
22375 \begin_inset space ~
22379 \begin_inset CommandInset ref
22381 reference "sub:Colocación-de-Referencias"
22385 , no afecta a flotantes con la leyenda al lado.
22393 \begin_layout Standard
22397 \begin_layout Plain Layout
22409 \begin_layout Standard
22410 \begin_inset Float figure
22415 \begin_layout Plain Layout
22416 \begin_inset Graphics
22417 filename ../clipart/escher-lsd.eps
22425 \begin_layout Plain Layout
22426 \begin_inset Caption
22428 \begin_layout Plain Layout
22429 \begin_inset CommandInset label
22431 name "fig:encab-al-lado"
22435 Leyenda al lado de una figura.
22448 \begin_layout Standard
22452 \begin_layout Plain Layout
22464 \begin_layout Standard
22465 \begin_inset Float table
22470 \begin_layout Plain Layout
22471 \begin_inset Caption
22473 \begin_layout Plain Layout
22474 \begin_inset CommandInset label
22476 name "tab:encab-al-lado"
22480 Leyenda al lado de una tabla.
22488 \begin_layout Plain Layout
22489 \begin_inset Tabular
22490 <lyxtabular version="3" rows="4" columns="5">
22492 <column alignment="center" valignment="top" width="0">
22493 <column alignment="center" valignment="top" width="0">
22494 <column alignment="center" valignment="top" width="0">
22495 <column alignment="center" valignment="top" width="0">
22496 <column alignment="center" valignment="top" width="0">
22498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22501 \begin_layout Plain Layout
22507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22510 \begin_layout Plain Layout
22516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22519 \begin_layout Plain Layout
22525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22528 \begin_layout Plain Layout
22534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22537 \begin_layout Plain Layout
22545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22548 \begin_layout Plain Layout
22554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22557 \begin_layout Plain Layout
22563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22566 \begin_layout Plain Layout
22572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22575 \begin_layout Plain Layout
22581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22584 \begin_layout Plain Layout
22592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22595 \begin_layout Plain Layout
22601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22604 \begin_layout Plain Layout
22610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22613 \begin_layout Plain Layout
22619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22622 \begin_layout Plain Layout
22628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22631 \begin_layout Plain Layout
22639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22642 \begin_layout Plain Layout
22648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22651 \begin_layout Plain Layout
22657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22660 \begin_layout Plain Layout
22666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22669 \begin_layout Plain Layout
22675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22678 \begin_layout Plain Layout
22697 \begin_layout Standard
22701 \begin_layout Plain Layout
22713 \begin_layout Standard
22717 \begin_layout Plain Layout
22721 sidecaptionvpos{figure}{c}
22727 \begin_inset Float figure
22732 \begin_layout Plain Layout
22733 \begin_inset Graphics
22734 filename ../clipart/escher-lsd.eps
22742 \begin_layout Plain Layout
22743 \begin_inset Caption
22745 \begin_layout Plain Layout
22746 \begin_inset CommandInset label
22748 name "fig:encab-al-lado-de-fig"
22752 Leyenda centrada verticalmente junto a una figura.
22765 \begin_layout Standard
22769 \begin_layout Plain Layout
22781 \begin_layout Standard
22785 \begin_layout Plain Layout
22795 \begin_inset Note Note
22798 \begin_layout Plain Layout
22799 Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
22812 \begin_layout Standard
22813 Debes instalar el paquete LaTeX
22817 para ver la parte siguiente en la salida.
22820 \begin_layout Standard
22824 \begin_layout Plain Layout
22836 \begin_layout Section
22838 \begin_inset CommandInset label
22840 name "sec:Lista-de-Flotantes"
22848 \begin_layout Plain Layout
22849 Flotantes ! Lista de
22857 \begin_layout Standard
22858 Igual que en el índice general se listan las secciones del documento, hay
22859 listas para todos los tipos de flotantes, como las figuras.
22860 Se pueden insertar mediante los submenús
22862 Insertar\SpecialChar \menuseparator
22868 \begin_layout Standard
22869 Las entradas de la lista son los títulos del flotante o su título corto,
22870 el número de flotante, y el número de la página del documento en la que
22874 \begin_layout Standard
22875 Puedes encontrar las listas de figuras y tablas al final de este documento.
22878 \begin_layout Chapter
22882 \begin_layout Section
22884 \begin_inset CommandInset label
22886 name "sec:Notas-en-LyX"
22894 \begin_layout Plain Layout
22895 Notas ! Notas en LyX
22903 \begin_layout Standard
22904 Las notas se insertan con el botón
22905 \begin_inset Graphics
22906 filename ../../images/note-insert.png
22913 Insertar\SpecialChar \menuseparator
22917 Hay cinco tipos de notas:
22920 \begin_layout Description
22922 \begin_inset space ~
22925 LyX Este tipo es para notas internas que no han de aparecer en la salida.
22926 Su cuadro se muestra como este:
22927 \begin_inset Newline newline
22931 \begin_inset Newline newline
22935 \begin_inset Graphics
22936 filename clipart/NotaLyXImagenQt4.png
22943 \begin_inset Note Note
22946 \begin_layout Plain Layout
22947 Este es un texto en un recuadro que no se muestra en la salida.
22955 \begin_layout Description
22956 Comentario Esta nota tampoco se muestra en la salida pero aparece como un
22957 comentario de LaTeX, cuando exportas el documento a LaTeX vía menú
22959 Archivo\SpecialChar \menuseparator
22960 Exportar\SpecialChar \menuseparator
22961 LaTeX (pdflatex) / (plain)
22964 Su recuadro se ve así:
22965 \begin_inset Newline newline
22969 \begin_inset Newline newline
22973 \begin_inset Graphics
22974 filename clipart/ComentNotaImagenQt4.png
22981 \begin_inset Note Comment
22984 \begin_layout Plain Layout
22985 Una nota comentario que sólo aparece como comentario en archivos LaTeX.
22993 \begin_layout Description
22995 \begin_inset space ~
22999 \begin_inset space ~
23002 gris Esta nota aparece en la salida como texto resaltado en gris.
23003 Su recuadro se parece a este:
23004 \begin_inset Newline newline
23008 \begin_inset Newline newline
23012 \begin_inset Graphics
23013 filename clipart/GrisNotaImagenQt4.png
23020 \begin_inset Newline newline
23027 \begin_layout Plain Layout
23031 renewenvironment{lyxgreyedout}
23034 \begin_layout Plain Layout
23038 textcolor[gray]{0.8}
23048 \begin_inset Note Greyedout
23051 \begin_layout Plain Layout
23056 \begin_layout Plain Layout
23057 Esto es un ejemplo de nota al pie en una nota resaltada en gris.
23062 de un comentario que se muestra resaltado en gris.
23071 \begin_layout Plain Layout
23075 renewenvironment{lyxgreyedout}
23078 \begin_layout Plain Layout
23092 \begin_inset Note Note
23095 \begin_layout Plain Layout
23096 La nota resaltada en gris se ha redefinido aquí para mostrarla con la definición
23097 original de LyX, ya que en el preámbulo de este documento se han redefinido
23098 estas notas para que salgan en azul, como se indica más adelante.
23104 \begin_inset Newline newline
23108 \begin_inset Newline newline
23111 Como se ve en el ejemplo, la primera línea de las notas resaltadas en gris
23112 está un poco sangrada, y por otra parte pueden tener notas al pie.
23115 \begin_layout Description
23116 Enmarcado Este tipo de notas aparecerá en la salida como un texto enmarcado.
23117 Su recuadro se verá como este:
23118 \begin_inset Newline newline
23122 \begin_inset Newline newline
23129 \begin_inset Graphics
23130 filename clipart/NotaEnmarcadaImg.png
23142 \begin_inset Box Framed
23151 height_special "totalheight"
23154 \begin_layout Plain Layout
23157 Este texto en un cuadro de nota se verá enmarcado en la salida.
23171 diferencia de los cuadros enmarcados,
23175 \begin_layout Plain Layout
23176 Los cuadros enmarcados se describen en la sección
23177 \begin_inset space ~
23181 \begin_inset CommandInset ref
23183 reference "sec:Cuadros-Enmarcados"
23192 este marco emplea siempre la anchura total de página y la nota va en su
23196 \begin_layout Description
23197 Sombreado Este tipo de nota se verá en la salida con un fondo de color rojo.
23198 Su recuadro se verá como este:
23199 \begin_inset Newline newline
23203 \begin_inset Newline newline
23210 \begin_inset Graphics
23211 filename clipart/NotaSombreadaImg.png
23217 \begin_inset Box Shaded
23226 height_special "totalheight"
23229 \begin_layout Plain Layout
23232 Este texto en un cuadro de nota se verá en la salida sobre fondo en rojo.
23237 A diferencia de los cuadros coloreados
23244 \begin_layout Plain Layout
23245 Los cuadros coloreados se describen en la sección
23246 \begin_inset space ~
23250 \begin_inset CommandInset ref
23252 reference "sec:Cuadros-Coloreados"
23261 , este cuadro de nota siempre usa toda la anchura de página y va en su propio
23265 \begin_layout Standard
23266 \begin_inset VSpace bigskip
23269 Si usas el botón de la barra de herramientas
23270 \begin_inset Graphics
23271 filename ../../images/note-insert.png
23276 para insertar notas, se inserta una
23279 \begin_inset space ~
23285 Puedes cambiar entre los cinco tipos de nota con clic-derecho sobre el
23291 Si quieres convertir un texto presente a nota, márcalo y pincha sobre el
23292 botón de herramienta
23299 Para cambiar una nota a texto, pulsa la tecla
23303 cuando el cursor está en la primera posición de una nota, o la tecla
23307 cuando el cursor está en la última posición de la nota, respectivamente.
23310 \begin_layout Standard
23311 \begin_inset VSpace bigskip
23314 Se puede cambiar el color del
23318 poniendo en el preámbulo el comando:
23321 \begin_layout Standard
23326 renewenvironment{lyxgreyedout}
23327 \begin_inset Newline newline
23334 \begin_layout Plain Layout
23352 \begin_layout Standard
23353 Los colores disponibles y el método para definir nuestros propios colores
23354 se explica en la sección
23355 \begin_inset space ~
23359 \begin_inset CommandInset ref
23361 reference "sec:Tablas-Coloreadas"
23368 \begin_layout Standard
23369 Las notas en azul en este documento se han hecho con notas del tipo
23373 pero definiendo el color del texto en azul.
23376 \begin_layout Standard
23377 \begin_inset VSpace bigskip
23383 \begin_layout Standard
23384 El estilo de texto en las notas de tipo
23392 se puede establecer en el diálogo
23397 \begin_layout Standard
23398 El grosor predeterminado del marco en las notas
23403 \begin_inset space \thinspace{}
23406 pt; se puede cambiar con el comando
23413 El espacio entre el contenido y el marco es 9
23416 \begin_inset space \thinspace{}
23421 pt por omisión; se puede cambiar con
23428 Por ejemplo, el marco de la siguiente nota
23432 está hecho con los comandos en código TeX
23437 \begin_layout Standard
23447 \begin_layout Standard
23451 \begin_layout Plain Layout
23463 \begin_inset Box Framed
23472 height_special "totalheight"
23475 \begin_layout Plain Layout
23489 \begin_layout Plain Layout
23503 \begin_layout Standard
23504 \begin_inset VSpace bigskip
23510 \begin_layout Standard
23515 el espacio entre el contenido y el borde es 3
23516 \begin_inset space \thinspace{}
23519 pt por omisión; se puede cambiar con
23526 \begin_inset Newline newline
23529 El color rojo predeterminado se puede cambiar con el comando
23533 def\SpecialChar \textcompwordmark{}
23537 El esquema del comando
23541 def\SpecialChar \textcompwordmark{}
23544 se explica en la sección
23545 \begin_inset space ~
23549 \begin_inset CommandInset ref
23551 reference "sec:Tablas-Coloreadas"
23559 \begin_layout Plain Layout
23564 def\SpecialChar \textcompwordmark{}
23567 requiere el paquete LaTeX
23571 en el preámbulo, véase la sección
23574 \begin_inset space ~
23578 \begin_inset CommandInset ref
23580 reference "sec:Cuadros-Coloreados"
23597 \begin_layout Standard
23598 Por ejemplo, la siguiente nota
23602 se ha hecho con los comandos en código TeX
23605 \begin_layout Standard
23611 \begin_inset Newline newline
23616 def\SpecialChar \textcompwordmark{}
23617 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23620 \begin_layout Standard
23624 \begin_layout Plain Layout
23637 \begin_layout Plain Layout
23641 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
23647 \begin_inset Box Shaded
23656 height_special "totalheight"
23659 \begin_layout Plain Layout
23662 Texto amarillo en una nota
23667 \begin_inset space ~
23670 con fondo verde oscuro.
23679 \begin_layout Plain Layout
23692 \begin_layout Plain Layout
23696 definecolor{shadecolor}{rgb}{1,0,0}
23704 \begin_layout Section
23706 \begin_inset CommandInset label
23708 name "sec:Notas-al-pie"
23716 \begin_layout Plain Layout
23726 \begin_layout Plain Layout
23735 \begin_layout Standard
23736 Las notas al pie se insertan con el botón
23737 \begin_inset Graphics
23738 filename ../../images/footnote-insert.png
23745 Insertar\SpecialChar \menuseparator
23747 \begin_inset space ~
23751 \begin_inset space ~
23761 Aparece un recuadro como este:
23766 \begin_inset Graphics
23767 filename clipart/notapieQt4.png
23776 donde puedes introducir el texto.
23777 Si quieres convertir un texto existente en nota al pie, márcalo y pincha
23791 Para cambiar una nota al pie a texto, pulsa la tecla
23795 cuando el cursor está en la primera posición de la nota al pie, o la tecla
23800 cuando el cursor está en la última posición de la nota, respectivamente.
23803 \begin_layout Standard
23804 Aquí hay un ejemplo de nota al pie:
23812 \begin_layout Plain Layout
23813 \begin_inset CommandInset label
23815 name "pie:Esto-es-una"
23819 Ejemplo de nota al pie.
23832 \begin_layout Plain Layout
23836 newcounter{MyRepeatFoot}
23839 \begin_layout Plain Layout
23843 setcounter{MyRepeatFoot}{
23853 \begin_layout Standard
23854 En la salida, el pie se muestra como número voladito en el lugar del texto
23855 donde se coloca el recuadro.
23856 El texto se coloca al final de la página actual.
23857 Los números de las notas son calculados por LaTeX, y son consecutivos.
23858 Si comienza o no el recuento en cada capítulo depende de la clase de documento.
23861 \begin_layout Standard
23862 Las notas al pie pueden referenciarse como flotantes: inserta una etiqueta
23863 en la nota y pon una referencia cruzada a esa etiqueta en el texto como
23864 se describe en la sección
23865 \begin_inset space ~
23869 \begin_inset CommandInset ref
23871 reference "sec:Referencias-a-Flotantes"
23876 \begin_inset Newline newline
23879 Esto es una referencia cruzada a la Nota al pie
23880 \begin_inset space ~
23884 \begin_inset CommandInset ref
23886 reference "pie:Esto-es-una"
23891 \begin_inset Newline newline
23895 \begin_inset Note Greyedout
23898 \begin_layout Plain Layout
23903 LyX no suministra prefijos para etiquetas en notas al pie, así que has
23904 de insertar un prefijo, p.
23905 \begin_inset space \thinspace{}
23909 \begin_inset space ~
23916 » manualmente cuando quieras usar el estilo
23919 \begin_inset space ~
23923 \begin_inset space ~
23936 \begin_layout Standard
23937 \begin_inset VSpace defskip
23940 Para poner notas al pie en tablas, tienes que usar minipáginas, ver sección
23941 \begin_inset space ~
23945 \begin_inset CommandInset ref
23947 reference "sec:Minipáginas"
23952 Los pies en tablas largas en la sección
23953 \begin_inset space ~
23957 \begin_inset CommandInset ref
23959 reference "sub:Notas-al-pie-en-Tablas-Largas"
23966 \begin_layout Standard
23967 \begin_inset VSpace defskip
23970 Para crear sólo una marca para una nota al pie, puedes usar el comando
23974 footnotemark[número]
23977 Esto se emplea si tienes la misma anotación varias veces en el texto pero
23978 no quieres imprimir el pie cada vez.
23979 \begin_inset Newline newline
23982 Como no sabes el número del pie que se repite mientras escribes el texto,
23983 tienes que guardarlo.
23984 Para el siguiente ejemplo de marca de pie, se han insertado estos comandos
23985 en código TeX detrás de Nota
23986 \begin_inset space ~
23990 \begin_inset space ~
23994 \begin_inset space ~
23998 \begin_inset CommandInset ref
24000 reference "pie:Esto-es-una"
24004 para guardar el número de pie:
24007 \begin_layout Standard
24012 newcounter{MyRepeatFoot}
24013 \begin_inset Newline newline
24018 setcounter{MyRepeatFoot}{
24023 \begin_layout Standard
24024 La marca de pie se crea entonces con el comando:
24027 \begin_layout Standard
24037 \begin_layout Standard
24038 Aquí hay un ejemplo de marca de pie:
24046 \begin_layout Plain Layout
24060 \begin_layout Subsection
24061 Numeración de notas al pie
24062 \begin_inset CommandInset label
24064 name "sub:Numeración-de-Notas-al-Pie"
24072 \begin_layout Plain Layout
24073 Notas al pie ! Numeración
24081 \begin_layout Standard
24082 Para reiniciar el número de pie a 1 en cada sección añade este
24084 comando en el preámbulo:
24087 \begin_layout Standard
24092 @addtoreset{footnote}{section}
24095 \begin_layout Standard
24096 \begin_inset VSpace bigskip
24099 El siguiente comando en el preámbulo cambia el estilo de numeración del
24100 pie a números romanos en minúsculas:
24103 \begin_layout Standard
24115 \begin_layout Standard
24119 \begin_layout Plain Layout
24132 Nota al pie en números romanos:
24136 \begin_layout Plain Layout
24137 Ejemplo de nota al pie en números romanos.
24146 \begin_layout Plain Layout
24162 \begin_layout Standard
24163 Para cambiar el estilo de número a romanos en mayúscula cambia el comando
24177 Para ordenar las notas al pie con letras mayúsculas o minúsculas usa
24190 Para ordenar las notas al pie con símbolos usa
24199 \begin_layout Standard
24200 \begin_inset Note Greyedout
24203 \begin_layout Plain Layout
24208 sólo puedes ordenar hasta 26 pies con letras, porque está limitado a letras
24215 \begin_inset Newline newline
24219 \begin_inset Note Greyedout
24222 \begin_layout Plain Layout
24227 sólo puedes ordenar hasta 9 pies con símbolos.
24235 \begin_layout Standard
24236 Para volver al estilo de numeración predeterminado cuando has cambiado a
24249 en el comando anterior.
24253 \begin_layout Plain Layout
24269 \begin_layout Standard
24270 \begin_inset VSpace bigskip
24276 \begin_layout Standard
24277 Si quieres numerar notas al pie en el esquema «capítulo.nota», añade el siguiente
24278 comando al preámbulo del documento:
24281 \begin_layout Standard
24286 numberwithin{footnote}{chapter}
24289 \begin_layout Standard
24290 Para poder usar el comando
24301 \begin_inset space ~
24309 \begin_inset space ~
24317 \begin_inset space ~
24328 de la configuración del documento.
24331 \begin_layout Standard
24335 \begin_layout Plain Layout
24339 numberwithin{footnote}{chapter}
24344 Esto es otro ejemplo de nota al pie:
24350 \begin_layout Plain Layout
24351 Nota al pie numerada en el esquema
24352 \begin_inset Quotes eld
24356 \begin_inset Quotes erd
24370 \begin_layout Plain Layout
24386 \begin_layout Standard
24387 \begin_inset Note Greyedout
24390 \begin_layout Plain Layout
24397 siempre imprime el número de nota al pie en números arábigos; las redefiniciones
24398 previas para obtener números no arábigos se sobreescriben.
24406 \begin_layout Standard
24407 Así, para obtener por ejemplo el esquema «capítulo.
24409 Roman{footnote}», usa este comando en vez de
24418 \begin_layout Standard
24432 \begin_layout Subsection
24433 Colocación de notas al pie
24437 \begin_layout Plain Layout
24438 Notas al pie ! Colocación
24446 \begin_layout Standard
24447 Si tienes varias notas al pie de una página, se muestran sin espacio vertical
24448 entre ellas al final de la página.
24449 Para hacerlas más legibles puedes añadir p.
24450 \begin_inset space \thinspace{}
24454 \begin_inset space ~
24458 \begin_inset space \thinspace{}
24461 mm con el comando siguiente en el preámbulo:
24464 \begin_layout Standard
24474 \begin_inset Newline newline
24488 \begin_layout Standard
24489 \begin_inset VSpace bigskip
24492 En documentos a dos columnas la nota al pie aparece al final de cada columna,
24494 \begin_inset space ~
24498 \begin_inset CommandInset ref
24500 reference "fig:Colocación-standard-del-pie"
24505 Si las notas debieran mostrarse sólo al final de la columna derecha, como
24507 \begin_inset space ~
24511 \begin_inset CommandInset ref
24513 reference "fig:Colocación-del-pie-en"
24517 , usa el paquete LaTeX
24525 \begin_layout Plain Layout
24526 LaTeX-paquetes ! ftnright
24531 con este comando en el preámbulo:
24534 \begin_layout Standard
24539 usepackage{ftnright}
24542 \begin_layout Standard
24543 \begin_inset Float figure
24549 \begin_layout Plain Layout
24553 \begin_layout Plain Layout
24563 \begin_inset Graphics
24564 filename ../clipart/without_fntright.pdf
24573 \begin_layout Plain Layout
24583 \begin_layout Plain Layout
24584 \begin_inset Caption
24586 \begin_layout Plain Layout
24587 \begin_inset CommandInset label
24589 name "fig:Colocación-standard-del-pie"
24593 Colocación estándar de notas al pie en documentos a dos columnas.
24606 \begin_layout Standard
24607 \begin_inset Float figure
24613 \begin_layout Plain Layout
24617 \begin_layout Plain Layout
24627 \begin_inset Graphics
24628 filename ../clipart/with_fntright.pdf
24637 \begin_layout Plain Layout
24647 \begin_layout Plain Layout
24648 \begin_inset Caption
24650 \begin_layout Plain Layout
24651 \begin_inset CommandInset label
24653 name "fig:Colocación-del-pie-en"
24657 Colocación de la nota al pie en documentos a dos columnas cuando se usa
24675 \begin_layout Standard
24676 \begin_inset VSpace bigskip
24679 En alguna literatura científica es habitual reunir las notas para imprimirlas
24680 en un párrafo separado al final de la sección, como en la figura
24681 \begin_inset space ~
24685 \begin_inset CommandInset ref
24687 reference "fig:Notas-al-pie-al-final"
24692 Para usar notas finales
24696 \begin_layout Plain Layout
24702 en vez de notas al pie, carga el paquete LaTeX
24710 \begin_layout Plain Layout
24711 LaTeX-paquetes ! endnotes
24716 con las siguientes líneas en el preámbulo de tu documento:
24719 \begin_layout Standard
24724 usepackage{endnotes}
24725 \begin_inset Newline newline
24737 \begin_layout Standard
24738 Para insertar la colección de notas, escribe el comando
24741 \begin_layout Standard
24749 \begin_layout Standard
24750 en código TeX al final de una sección o capítulo.
24753 \begin_layout Standard
24754 \begin_inset Float figure
24759 \begin_layout Plain Layout
24764 \begin_layout Plain Layout
24774 \begin_inset Graphics
24775 filename ../clipart/endnotes.pdf
24783 \begin_layout Plain Layout
24793 \begin_layout Plain Layout
24794 \begin_inset Caption
24796 \begin_layout Plain Layout
24797 \begin_inset CommandInset label
24799 name "fig:Notas-al-pie-al-final"
24803 Notas al final: notas impresas en párrafo separado al final de la sección
24817 \begin_layout Standard
24818 \begin_inset VSpace medskip
24821 La cabecera de párrafo para las notas finales no se traduce automáticamente
24822 al lenguaje del documento, hay que hacerlo manualmente.
24823 El siguiente comando de preámbulo traduce el nombre en inglés «Notes»
24824 al español «Notas»:
24827 \begin_layout Standard
24837 \begin_layout Standard
24838 \begin_inset VSpace medskip
24841 La numeración de notas finales puede cambiarse como la de las notas al pie,
24842 como se describe en la sección
24843 \begin_inset space ~
24847 \begin_inset CommandInset ref
24849 reference "sub:Numeración-de-Notas-al-Pie"
24853 ; sólo hay que reemplazar el comando
24866 Para restablecer la numeración usa el comando
24872 como se describe en la sección
24873 \begin_inset space ~
24877 \begin_inset CommandInset ref
24879 reference "sub:Numeración-de-Notas-al-Pie"
24883 y sustituye el parámetro de comando
24894 \begin_layout Standard
24895 Para crear sólo una marca para una nota final, usa el comando
24899 endnotemark[número]
24907 , descrito en la sección
24908 \begin_inset space ~
24912 \begin_inset CommandInset ref
24914 reference "sec:Notas-al-pie"
24921 \begin_layout Standard
24922 \begin_inset VSpace bigskip
24925 Las notas al pie también pueden colocarse al margen de la página y la alineación
24926 del texto del pie también puede cambiarse, véase el paquete LaTeX
24934 \begin_layout Plain Layout
24935 LaTeX-paquetes ! footmisc
24941 \begin_inset CommandInset citation
24947 para más información.
24950 \begin_layout Standard
24951 Para otras posibilidades de diseño de notas al pie mira en libros de LaTeX,
24953 \begin_inset CommandInset citation
24955 key "latexcompanion,latexguide,latexbook"
24962 \begin_layout Section
24967 \begin_layout Plain Layout
24976 \begin_layout Standard
24977 Las notas al margen se ven y se comportan en LyX como notas al pie.
24978 Se insertan con el menú
24980 Insertar\SpecialChar \menuseparator
24982 \begin_inset space ~
24986 \begin_inset space ~
24992 \begin_inset Graphics
24993 filename ../../images/marginalnote-insert.png
24999 Aparece un cuadro gris con la etiqueta
25002 «margen» en color rojo y un marco en el que puedes escribir el texto de
25006 \begin_layout Standard
25007 Al lado hay un ejemplo de nota al margen.
25012 \begin_inset Marginal
25015 \begin_layout Plain Layout
25016 Esto es una nota al margen.
25024 \begin_layout Standard
25025 Estas notas salen en el margen derecho en documentos a una cara.
25026 En documentos a doble cara se muestran en el margen externo ---margen izquierdo
25027 en páginas pares, derecho en páginas impares---.
25028 El texto de las notas se ajusta a la parte opuesta al margen ---se ajusta
25029 a la derecha si la nota aparece en el margen izquierdo---.
25030 La primera línea de la nota se sitúa en la posición de la línea del texto
25031 en la que se inserta en el documento.
25034 \begin_layout Standard
25035 \begin_inset VSpace bigskip
25038 Para colocar la nota en el margen interno añade el comando
25041 \begin_layout Standard
25049 \begin_layout Standard
25050 en código TeX antes de la nota.
25051 La nueva colocación es válida para todas las siguientes notas al margen.
25056 \begin_layout Plain Layout
25066 \begin_inset Marginal
25069 \begin_layout Plain Layout
25070 Esto es una nota en el margen interno.
25078 \begin_inset Newline newline
25084 \begin_inset Note Greyedout
25087 \begin_layout Plain Layout
25092 A veces no hay espacio suficiente en el margen interno, por lo que la nota
25093 no se mostrará correctamente en la salida.
25101 \begin_layout Standard
25102 Para volver a la ubicación predeterminada inserta en código TeX el comando
25106 \begin_layout Plain Layout
25118 \begin_layout Standard
25126 \begin_layout Standard
25127 \begin_inset Note Greyedout
25130 \begin_layout Plain Layout
25135 El comando se ignora si en el mismo párrafo está también presente el comando
25150 \begin_layout Standard
25151 \begin_inset VSpace bigskip
25158 \begin_inset Marginal
25161 \begin_layout Plain Layout
25162 PalabraMuyLargaAlMargen no partida con guión.
25170 Como en el caso descrito en la sección
25171 \begin_inset space ~
25175 \begin_inset CommandInset ref
25177 reference "sub:Líneas-Múltiples-en"
25181 , una palabra larga no puede partirse con guión cuando es la primera en
25183 Para evitar esto, inserta un espacio horizontal de 0
25184 \begin_inset space \thinspace{}
25187 pt antes de la palabra
25192 \begin_inset Marginal
25195 \begin_layout Plain Layout
25199 \begin_layout Plain Layout
25208 PalabraMuyLargaAlMargen partida con guión.
25216 \begin_layout Standard
25217 \begin_inset VSpace bigskip
25223 \begin_layout Standard
25224 \begin_inset Note Greyedout
25227 \begin_layout Plain Layout
25232 Normalmente no pueden utilizarse notas al margen en tablas, flotantes y
25241 \begin_layout Standard
25242 \begin_inset VSpace bigskip
25248 \begin_layout Standard
25252 \begin_layout Plain Layout
25262 \begin_inset Note Note
25265 \begin_layout Plain Layout
25266 La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
25279 \begin_layout Standard
25280 Esta restricción se puede salvar con el paquete LaTeX
25288 \begin_layout Plain Layout
25289 LaTeX-paquetes ! marginnote
25295 Poniendo estas dos líneas en el preámbulo, el comando usado por LyX para
25296 notas al margen es redefinido para usar el comando proporcionado por el
25304 \begin_layout Standard
25309 usepackage{marginnote}
25310 \begin_inset Newline newline
25322 \begin_layout Standard
25323 Esto se ha utilizado en el presente documento porque
25327 tiene una característica adicional útil: Puedes establecer un desplazamiento
25328 vertical a la nota.
25329 A veces esto hace falta si hay demasiadas notas juntas o para mejorar el
25330 diseño de la página.
25331 En LyX, el desplazamiento se escribe directamente tras la nota al margen,
25335 \begin_layout Standard
25341 \begin_layout Standard
25342 donde desplazamiento es una longitud en una de las unidades de la tabla
25343 \begin_inset space ~
25347 \begin_inset CommandInset ref
25349 reference "tab:Unidades"
25354 Un valor negativo desplaza la nota hacia arriba, un valor positivo hacia
25359 Por ejemplo la nota adjunta a esta línea de texto está desplazada 1.5
25360 \begin_inset space \thinspace{}
25363 cm arriba con el comando en código TeX
25364 \begin_inset Quotes eld
25374 \begin_inset Quotes erd
25378 \begin_inset Marginal
25381 \begin_layout Plain Layout
25383 \begin_inset space \thinspace{}
25386 cm por encima de su posición original.
25398 \begin_layout Plain Layout
25408 \begin_layout Standard
25409 \begin_inset VSpace medskip
25416 también puedes cambiar la alineación del texto en el margen.
25417 Por ejemplo los comandos
25420 \begin_layout Standard
25427 raggedleftmarginnote}{
25430 \begin_inset Newline newline
25437 raggedrightmarginnote}{
25442 \begin_layout Standard
25443 producen alineación centrada.
25448 raggedleftmarginnote
25450 identifica las notas que aparecen al lado izquierdo.
25457 \begin_layout Plain Layout
25463 raggedleftmarginnote}{
25468 \begin_layout Plain Layout
25474 raggedrightmarginnote}{
25482 \begin_inset Marginal
25485 \begin_layout Plain Layout
25486 El texto de esta nota está centrado.
25494 El valor predeterminado es
25497 \begin_layout Standard
25504 raggedleftmarginnote}{
25507 \begin_inset Newline newline
25514 raggedrightmarginnote}{
25523 \begin_layout Plain Layout
25529 raggedleftmarginnote}{
25534 \begin_layout Plain Layout
25540 raggedrightmarginnote}{
25550 \begin_layout Standard
25551 \begin_inset VSpace medskip
25554 Para otras características de
25558 mira en su documentación
25559 \begin_inset CommandInset citation
25568 \begin_layout Standard
25569 \begin_inset VSpace bigskip
25572 El diseño de las notas al margen puede ser redefinido.
25573 Por ejemplo, para crear una cabecera para todas las notas con el texto
25575 \begin_inset Quotes eld
25589 \begin_inset Quotes erd
25592 , subrayado, sans-serif en negrita, añade lo siguiente en el preámbulo:
25595 \begin_layout Standard
25605 \begin_inset Newline newline
25615 \begin_inset Newline newline
25622 \begin_layout Plain Layout
25639 underbar{¡Atención!}}}%
25640 \begin_inset Newline newline
25647 \begin_layout Plain Layout
25665 \begin_layout Standard
25672 \begin_layout Plain Layout
25683 \begin_layout Plain Layout
25694 \begin_layout Plain Layout
25702 underbar{¡Atención!}}}%
25705 \begin_layout Plain Layout
25719 \begin_inset Marginal
25722 \begin_layout Plain Layout
25723 Esta es una nota con una cabecera definida.
25735 \begin_layout Plain Layout
25749 \begin_layout Plain Layout
25766 \begin_inset Note Note
25769 \begin_layout Plain Layout
25770 El formato de la nota al margen se ha cambiado sólo para este ejemplo.
25778 \begin_layout Standard
25782 \begin_layout Plain Layout
25792 \begin_inset Note Note
25795 \begin_layout Plain Layout
25796 Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
25809 \begin_layout Standard
25810 Debes instalar el paquete LaTeX
25814 para ver la parte siguiente en la salida.
25817 \begin_layout Standard
25821 \begin_layout Plain Layout
25833 \begin_layout Chapter
25837 \begin_layout Section
25842 \begin_layout Plain Layout
25843 Cuadros ! Introducción
25851 \begin_layout Standard
25852 Los cuadros se emplean para dar formato a bloques de texto.
25853 Se pueden usar para escribir documentos con varios lenguajes, véase sección
25854 \begin_inset space ~
25858 \begin_inset CommandInset ref
25860 reference "sec:Minipáginas"
25864 , enmarcar textos, véase sección
25865 \begin_inset space ~
25869 \begin_inset CommandInset ref
25871 reference "sec:Cuadros-Enmarcados"
25875 , evitar la división de palabras, véase sección
25876 \begin_inset space ~
25880 \begin_inset CommandInset ref
25882 reference "sec:Evitar-la-Partición"
25886 , alinear texto, véase sección
25887 \begin_inset space ~
25891 \begin_inset CommandInset ref
25893 reference "sub:Alineación-Vertical"
25897 , o para poner color de fondo a un texto, véase sección
25898 \begin_inset space ~
25902 \begin_inset CommandInset ref
25904 reference "sec:Cuadros-Coloreados"
25911 \begin_layout Standard
25912 Se insertan con el menú
25914 Insertar\SpecialChar \menuseparator
25918 \begin_inset Graphics
25919 filename ../../images/box-insert.png
25925 Surge un recuadro gris con la etiqueta
25927 Cuadro (Minipágina)
25930 \begin_inset Graphics
25931 filename clipart/CuadroMinipagQt4.png
25938 El tipo de cuadro se puede elegir al hacer clic-derecho sobre él.
25939 Sale un diálogo en el que
25944 \begin_inset space ~
25951 permite escoger los tipos
25964 es el predeterminado para nuevos cuadros y se explica en la sección
25965 \begin_inset space ~
25969 \begin_inset CommandInset ref
25971 reference "sec:Minipáginas"
25979 se describe en la sección
25980 \begin_inset space ~
25984 \begin_inset CommandInset ref
25986 reference "sec:Cuadros-de-Párrafo"
25993 \begin_layout Standard
25994 Los cuadros no se numeran y por tanto no se pueden referenciar como los
25995 flotantes o las notas al pie.
25998 \begin_layout Standard
25999 \begin_inset Note Greyedout
26002 \begin_layout Plain Layout
26007 Los cuadros no deben ser el ítem en un entorno
26023 \begin_layout Standard
26024 \begin_inset Note Greyedout
26027 \begin_layout Plain Layout
26032 Por razones desconocidas sólo se puede poner el tipo
26035 \begin_inset space ~
26044 cuando se emplea un cuadro enmarcado.
26045 Los cuadros sin ningún tipo de
26048 \begin_inset space ~
26053 y sin marcos se explican en la sección
26054 \begin_inset space ~
26058 \begin_inset CommandInset ref
26060 reference "sec:Evitar-la-Partición"
26072 \begin_layout Section
26074 \begin_inset CommandInset label
26076 name "sec:Diálogo-Cuadros"
26084 \begin_layout Plain Layout
26085 Cuadros ! Configuración
26093 \begin_layout Subsection
26098 \begin_layout Plain Layout
26107 \begin_layout Standard
26108 En el diálogo puedes ajustar la geometría del cuadro en los campos
26117 Las unidades disponibles para la geometría se describen en la tabla
26118 \begin_inset space ~
26122 \begin_inset CommandInset ref
26124 reference "tab:Unidades"
26133 ofrece los siguientes tamaños adicionales:
26136 \begin_layout Description
26137 Profundidad Este es el texto plano «alto».
26138 Ignora la profundidad total cuando hay múltiples líneas de texto en el
26140 \begin_inset Newline newline
26144 \begin_inset Newline newline
26148 \begin_inset Newline newline
26152 \begin_inset Box Boxed
26161 height_special "depth"
26164 \begin_layout Plain Layout
26166 Cuadro con altura establecida en 1
26167 \begin_inset space \thinspace{}
26176 \begin_inset Newline newline
26180 \begin_inset Newline newline
26186 \begin_layout Description
26187 Alto Es la altura del texto que está dentro del cuadro.
26189 \begin_inset space \thinspace{}
26193 \begin_inset space ~
26196 2 para este tamaño fijará la altura del cuadro a 2 veces la altura del texto:
26198 \begin_inset Box Boxed
26207 height_special "height"
26210 \begin_layout Plain Layout
26212 Cuadro con altura puesta en 2
26213 \begin_inset space \thinspace{}
26224 \begin_layout Description
26226 \begin_inset space ~
26229 total Esto es el Alto
26230 \begin_inset space \thinspace{}
26234 \begin_inset space \thinspace{}
26238 \begin_inset Box Boxed
26247 height_special "totalheight"
26250 \begin_layout Plain Layout
26252 Cuadro con altura puesta a 1
26253 \begin_inset space \thinspace{}
26257 \begin_inset space ~
26268 \begin_layout Description
26269 Ancho Esto determina al ancho del cuadro como altura:
26270 \begin_inset Box Boxed
26279 height_special "width"
26282 \begin_layout Plain Layout
26284 Cuadro con altura puesta en 1
26285 \begin_inset space \thinspace{}
26296 \begin_layout Subsection
26301 \begin_layout Plain Layout
26302 Cuadros ! Alineación
26310 \begin_layout Standard
26314 \begin_inset space ~
26319 , la alineación vertical del cuadro puede ser:
26322 \begin_layout Description
26323 Superior Ejemplo de línea de texto.
26325 \begin_inset Box Boxed
26334 height_special "totalheight"
26337 \begin_layout Plain Layout
26339 Cuadro alineado arriba.
26344 Ejemplo de línea de texto.
26347 \begin_layout Description
26348 Medio Ejemplo de línea de texto.
26350 \begin_inset Box Boxed
26359 height_special "totalheight"
26362 \begin_layout Plain Layout
26364 Cuadro alineado en medio.
26369 Ejemplo de línea de texto.
26372 \begin_layout Description
26373 Inferior Ejemplo de línea de texto.
26375 \begin_inset Box Boxed
26384 height_special "totalheight"
26387 \begin_layout Plain Layout
26389 Cuadro alineado abajo.
26394 Ejemplo de línea de texto.
26397 \begin_layout Standard
26398 \begin_inset Note Greyedout
26401 \begin_layout Plain Layout
26406 La alineación vertical puede desaparecer en la salida si hay dos cuadros
26408 \begin_inset space \thinspace{}
26411 e., uno de ellos tiene sombreado y el otro no.
26419 \begin_layout Standard
26420 La alineación horizontal del cuadro puede establecerse en el diálogo de
26421 configuración de párrafo de LyX si colocas el cuadro en su propio párrafo.
26424 \begin_layout Standard
26425 \begin_inset VSpace bigskip
26431 \begin_inset space ~
26436 , el contenido puede alinearse verticalmente a:
26439 \begin_layout Description
26440 Superior Ejemplo de línea de texto.
26442 \begin_inset Box Boxed
26451 height_special "totalheight"
26454 \begin_layout Plain Layout
26456 Cuadro con texto alineado arriba.
26461 Ejemplo de línea de texto.
26464 \begin_layout Description
26465 Medio Ejemplo de línea de texto.
26467 \begin_inset Box Boxed
26476 height_special "totalheight"
26479 \begin_layout Plain Layout
26481 Cuadro con texto alineado en medio.
26486 Ejemplo de línea de texto.
26489 \begin_layout Description
26490 Inferior Ejemplo de línea de texto.
26492 \begin_inset Box Boxed
26501 height_special "totalheight"
26504 \begin_layout Plain Layout
26506 Cuadro con texto alineado abajo.
26511 Ejemplo de línea de texto.
26514 \begin_layout Description
26515 Estirado Ejemplo de línea de texto.
26517 \begin_inset Box Boxed
26526 height_special "totalheight"
26529 \begin_layout Plain Layout
26534 \begin_layout Plain Layout
26539 \begin_layout Plain Layout
26546 Ejemplo de línea de texto.
26549 \begin_layout Standard
26550 Para estirar el contenido debe tener más de un párrafo.
26551 En el ejemplo anterior cada línea de texto está en un párrafo propio.
26554 \begin_layout Standard
26555 \begin_inset VSpace bigskip
26558 Para estirar horizontalmente el contenido usa el diálogo de párrafos de
26559 LyX cuando hayas escogido un
26562 \begin_inset space ~
26570 \begin_layout Standard
26572 \begin_inset Box Boxed
26581 height_special "totalheight"
26584 \begin_layout Plain Layout
26589 \begin_layout Plain Layout
26594 \begin_layout Plain Layout
26604 \begin_layout Standard
26605 Si no has establecido un
26608 \begin_inset space ~
26613 , puedes alinear horizontalmente el contenido del cuadro en el diálogo de
26617 \begin_layout Standard
26619 \begin_inset Box Boxed
26628 height_special "totalheight"
26631 \begin_layout Plain Layout
26633 Texto estirado horizontalmente.
26641 \begin_layout Section
26643 \begin_inset CommandInset label
26645 name "sec:Cuadros-Enmarcados"
26653 \begin_layout Plain Layout
26662 \begin_layout Standard
26663 El estilo de marco del cuadro se puede determinar en la lista desplegable
26668 del diálogo de cuadros.
26669 Son posibles los siguientes marcos:
26672 \begin_layout Description
26674 \begin_inset space ~
26677 rectangular Dibuja un marco rectangular alrededor del cuadro.
26678 El grosor del marco depende de
26686 \begin_inset Box Boxed
26695 height_special "totalheight"
26698 \begin_layout Plain Layout
26708 \begin_layout Description
26710 \begin_inset space ~
26714 \begin_inset space ~
26717 fino Dibuja un marco ovalado cuya línea tiene un grosor de 0.4
26718 \begin_inset space \thinspace{}
26723 \begin_inset Box ovalbox
26732 height_special "totalheight"
26735 \begin_layout Plain Layout
26737 Marco ovalado, fino
26745 \begin_layout Description
26747 \begin_inset space ~
26751 \begin_inset space ~
26754 grueso Dibuja un marco ovalado cuya línea tiene un grosor de 0.8
26755 \begin_inset space \thinspace{}
26760 \begin_inset Box Ovalbox
26769 height_special "totalheight"
26772 \begin_layout Plain Layout
26774 Cuadro ovalado, grueso
26782 \begin_layout Description
26784 \begin_inset space ~
26788 \begin_inset space ~
26791 sombra Dibuja un cuadro rectangular con sombra alrededor del cuadro.
26792 El grosor de la línea tiene el tamaño dado por
26798 , la sombra tiene una anchura de 4
26799 \begin_inset space \thinspace{}
26804 \begin_inset Box Shadowbox
26813 height_special "totalheight"
26816 \begin_layout Plain Layout
26826 \begin_layout Description
26828 \begin_inset space ~
26831 doble Dibuja un rectángulo de línea doble alrededor del cuadro.
26832 El grosor de la línea interior es 0.75
26833 \begin_inset space \thinspace{}
26842 , el de la línea exterior es 1.5
26843 \begin_inset space \thinspace{}
26853 La distancia entre líneas es 1.5
26854 \begin_inset space \thinspace{}
26864 \begin_inset space \thinspace{}
26868 \begin_inset space \thinspace{}
26872 \begin_inset space \thinspace{}
26877 \begin_inset Box Doublebox
26886 height_special "totalheight"
26889 \begin_layout Plain Layout
26899 \begin_layout Standard
26900 \begin_inset VSpace bigskip
26903 La etiqueta del recuadro en LyX cambiará según el estilo de marco elegido.
26904 Para poder utilizar los distintos marcos, debe estar instalado el paquete
26913 \begin_layout Plain Layout
26914 LaTeX-paquetes ! fancybox
26922 \begin_layout Standard
26923 \begin_inset VSpace bigskip
26926 El valor predeterminado por
26933 \begin_inset space \thinspace{}
26937 Puede cambiarse con el siguiente comando en código TeX, p.
26938 \begin_inset space \thinspace{}
26942 \begin_inset space ~
26946 \begin_inset space ~
26950 \begin_inset space \thinspace{}
26956 \begin_layout Standard
26966 \begin_layout Standard
26970 \begin_layout Plain Layout
26982 \begin_inset Box Boxed
26991 height_special "totalheight"
26994 \begin_layout Plain Layout
26996 Cuadro rectangular con
27003 \begin_inset space \thinspace{}
27007 \begin_inset space \thinspace{}
27011 \begin_inset space \thinspace{}
27023 \begin_layout Plain Layout
27037 \begin_layout Standard
27038 \begin_inset VSpace bigskip
27041 El espacio entre el marco y el contenido del cuadro es 3
27042 \begin_inset space \thinspace{}
27045 pt por omisión para todos los estilos.
27046 Se puede cambiar mediante la longitud
27053 Por ejemplo el comando
27056 \begin_layout Standard
27066 \begin_layout Standard
27067 determina un valor de 10
27068 \begin_inset space \thinspace{}
27071 pt, como en el siguiente cuadro:
27074 \begin_layout Standard
27078 \begin_layout Plain Layout
27090 \begin_inset Box Boxed
27099 height_special "totalheight"
27102 \begin_layout Plain Layout
27104 Cuadro rectangular con
27111 \begin_inset space \thinspace{}
27115 \begin_inset space \thinspace{}
27119 \begin_inset space \thinspace{}
27131 \begin_layout Plain Layout
27145 \begin_layout Standard
27146 \begin_inset VSpace bigskip
27149 El diámetro de las esquinas de los cuadros ovalados se puede modificar con
27160 \begin_layout Standard
27168 \begin_layout Standard
27169 establece un diámetro de 1
27170 \begin_inset space \thinspace{}
27177 \begin_layout Standard
27185 \begin_layout Standard
27186 fija el diámetro en
27189 \begin_inset space \thinspace{}
27193 \begin_inset space \thinspace{}
27200 (ancho y alto del cuadro)
27212 \begin_layout Standard
27216 \begin_layout Plain Layout
27226 \begin_inset Box Ovalbox
27235 height_special "totalheight"
27238 \begin_layout Plain Layout
27247 \begin_inset space \thinspace{}
27251 \begin_inset space \thinspace{}
27255 \begin_inset space \thinspace{}
27267 \begin_layout Plain Layout
27279 \begin_layout Standard
27280 \begin_inset VSpace bigskip
27283 El tamaño de la sombra se puede ajustar cambiando la longitud
27290 Este comando la ajusta a 2
27291 \begin_inset space \thinspace{}
27294 pt en el cuadro siguiente:
27297 \begin_layout Standard
27307 \begin_layout Standard
27311 \begin_layout Plain Layout
27323 \begin_inset Box Shadowbox
27332 height_special "totalheight"
27335 \begin_layout Plain Layout
27337 Cuadro sombreado con
27344 \begin_inset space \thinspace{}
27348 \begin_inset space \thinspace{}
27352 \begin_inset space \thinspace{}
27364 \begin_layout Plain Layout
27378 \begin_layout Standard
27379 \begin_inset VSpace bigskip
27382 Los cambios en las dimensiones son válidos para todos los cuadros que siguen
27386 \begin_layout Section
27388 \begin_inset CommandInset label
27390 name "sec:Minipáginas"
27398 \begin_layout Plain Layout
27399 Cuadros ! Minipáginas
27407 \begin_layout Standard
27408 Las minipáginas son tratadas por LaTeX como páginas dentro de páginas y
27409 por tanto pueden tener, por ejemplo, sus propias notas al pie.
27412 \begin_layout Standard
27413 Las minipáginas son útiles para escribir documentos con distintos lenguajes.
27416 \begin_layout Standard
27417 A continuación hay dos ejemplos de minipáginas adosadas.
27418 Su anchura está puesta en 45
27419 \begin_inset space \thinspace{}
27422 % y separadas por un relleno horizontal, insertado vía el menú
27424 Insertar\SpecialChar \menuseparator
27425 Formato\SpecialChar \menuseparator
27427 \begin_inset space ~
27435 \begin_layout Standard
27436 \begin_inset Box Frameless
27445 height_special "totalheight"
27448 \begin_layout Plain Layout
27451 Dies ist ein deutscher Text.
27452 Dies ist ein deutscher Text.
27453 Dies ist ein deutscher Text.
27454 Dies ist ein deutscher Text.
27455 Dies ist ein deutscher Text.
27456 Dies ist ein deutscher Text.
27457 Dies ist ein deutscher Text.
27458 Dies ist ein deutscher Text.
27459 Dies ist ein deutscher Text.
27460 Dies ist ein deutscher Text.
27461 Dies ist ein deutscher Text.
27462 Dies ist ein deutscher Text.
27463 Dies ist ein deutscher Text
27467 \begin_layout Plain Layout
27470 Dies ist eine deutsche Fußnote.
27476 Dies ist ein deutscher Text.
27477 Dies ist ein deutscher Text.
27483 \begin_inset space \hfill{}
27487 \begin_inset Box Frameless
27496 height_special "totalheight"
27499 \begin_layout Plain Layout
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.
27505 This is an English Text.
27506 This is an English Text.
27507 This is an English Text.
27508 This is an English Text.
27509 This is an English Text.
27510 This is an English Text.
27511 This is an English Text.
27512 This is an English Text.
27513 This is an English Text.
27514 This is an English Text.
27515 This is an English Text.
27519 \begin_layout Plain Layout
27520 This is an English footnote.
27525 This is an English Text.
27534 \begin_layout Standard
27535 \begin_inset VSpace bigskip
27538 Otra aplicación de los cuadros son las notas a pie en tablas.
27539 Debido a una restricción de LaTeX las notas a pie en tablas no aparecen
27540 al final de la página actual.
27541 Pero si pones la tabla con notas al pie en una minipágina, las notas aparecen
27542 en la parte inferior, ordenadas con letras.
27543 La ordenación de las notas al pie se restablece en cada minipágina pero
27544 no fuera de las minipáginas.
27547 \begin_layout Standard
27548 La nota al pie en esta tabla no aparece:
27549 \begin_inset Tabular
27550 <lyxtabular version="3" rows="3" columns="4">
27552 <column alignment="center" valignment="top" width="0pt">
27553 <column alignment="center" valignment="top" width="0pt">
27554 <column alignment="center" valignment="top" width="0pt">
27555 <column alignment="center" valignment="top" width="0pt">
27557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27560 \begin_layout Plain Layout
27566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27569 \begin_layout Plain Layout
27575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27578 \begin_layout Plain Layout
27583 \begin_layout Plain Layout
27584 Nota al pie en una tabla.
27594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27597 \begin_layout Plain Layout
27605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27608 \begin_layout Plain Layout
27614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27617 \begin_layout Plain Layout
27623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27626 \begin_layout Plain Layout
27632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27635 \begin_layout Plain Layout
27643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27646 \begin_layout Plain Layout
27652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27655 \begin_layout Plain Layout
27661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27664 \begin_layout Plain Layout
27670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27673 \begin_layout Plain Layout
27687 \begin_layout Standard
27689 \begin_inset Box Frameless
27698 height_special "totalheight"
27701 \begin_layout Plain Layout
27703 \begin_inset Tabular
27704 <lyxtabular version="3" rows="3" columns="4">
27706 <column alignment="center" valignment="top" width="0pt">
27707 <column alignment="center" valignment="top" width="0pt">
27708 <column alignment="center" valignment="top" width="0pt">
27709 <column alignment="center" valignment="top" width="0pt">
27711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27714 \begin_layout Plain Layout
27720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27723 \begin_layout Plain Layout
27729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27732 \begin_layout Plain Layout
27737 \begin_layout Plain Layout
27738 Nota al pie en una tabla..
27748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27751 \begin_layout Plain Layout
27759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27762 \begin_layout Plain Layout
27768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27771 \begin_layout Plain Layout
27777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27780 \begin_layout Plain Layout
27786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27789 \begin_layout Plain Layout
27797 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27800 \begin_layout Plain Layout
27806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27809 \begin_layout Plain Layout
27815 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27818 \begin_layout Plain Layout
27824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27827 \begin_layout Plain Layout
27846 \begin_layout Standard
27847 \begin_inset VSpace bigskip
27850 La configuración global de párrafos se ignora en las minipáginas.
27851 Esto significa que en las mismas no habrá espacio entre párrafos aunque
27853 \begin_inset space \thinspace{}
27857 \begin_inset space ~
27863 \begin_inset space ~
27868 en la configuración del documento.
27871 \begin_layout Standard
27872 Las minipáginas también sirven para poner un color de fondo para partes
27873 de texto, ver sección
27874 \begin_inset space ~
27878 \begin_inset CommandInset ref
27880 reference "sub:Color-en-Párrafos"
27887 \begin_layout Standard
27888 \begin_inset Note Greyedout
27891 \begin_layout Plain Layout
27896 No puedes tener flotantes o notas al margen en minipáginas pero sí puedes
27897 tener minipáginas en tablas, flotantes, y otros cuadros.
27905 \begin_layout Section
27907 \begin_inset CommandInset label
27909 name "sec:Cuadros-de-Párrafo"
27917 \begin_layout Plain Layout
27918 Cuadros ! de párrafo
27926 \begin_layout Standard
27927 Los cuadros de párrafo son similares a las minipáginas con la diferencia
27928 de que no pueden contener notas al pie.
27929 La diferencia principal es que las minipáginas no son verdaderos cuadros
27930 sino entornos de LaTeX.
27933 \begin_layout Standard
27935 \begin_inset Box Frameless
27944 height_special "totalheight"
27947 \begin_layout Plain Layout
27948 Texto en un cuadro de párrafo.
27949 Texto en un cuadro de párrafo.
27950 Esta nota no aparece:
27954 \begin_layout Plain Layout
27955 Esta es una nota en cuadro de párrafo y por eso no aparecerá.
27968 \begin_layout Section
27969 Cuadros para palabras y caracteres
27973 \begin_layout Plain Layout
27974 Cuadros ! para palabras y caracteres
27982 \begin_layout Subsection
27983 Evitar la partición de palabras
27984 \begin_inset CommandInset label
27986 name "sec:Evitar-la-Partición"
27994 \begin_layout Plain Layout
27995 Cuadros ! para evitar la partición de palabras
28003 \begin_layout Standard
28004 Hay un tipo especial de cuadro para impedir que una palabra sea partida
28006 \begin_inset Newline newline
28009 He aquí un ejemplo:
28012 \begin_layout Standard
28013 Esta línea es un ejemplo para mostrar cómo evitar la división de «estalarguísima
28017 \begin_layout Standard
28018 Para evitar su división usa el comando
28021 \begin_layout Standard
28029 \begin_layout Standard
28030 en código TeX antes de la palabra.
28031 Tras ella inserta una llave de cierre «
28038 \begin_layout Standard
28039 Este es el resultado:
28042 \begin_layout Standard
28043 Esta línea es un ejemplo para mostrar cómo prevenir la división de
28047 \begin_layout Plain Layout
28056 «estalarguísimapalabra».
28060 \begin_layout Plain Layout
28070 \begin_layout Standard
28071 Como alternativa puedes poner el comando «
28077 » en código TeX directamente antes de la palabra:
28080 \begin_layout Standard
28081 Esta línea es un ejemplo para mostrar cómo prevenir la división de «
28085 \begin_layout Plain Layout
28094 estalarguísimapalabra».
28097 \begin_layout Standard
28098 Por supuesto, la palabra sobresale del margen.
28099 Para evitarlo añade, con el menú
28101 Insertar\SpecialChar \menuseparator
28102 Formato\SpecialChar \menuseparator
28104 \begin_inset space ~
28108 \begin_inset space ~
28117 ), un salto de línea antes de la palabra:
28120 \begin_layout Standard
28121 Esta línea es un ejemplo para mostrar cómo prevenir la división de
28122 \begin_inset Newline newline
28129 \begin_layout Plain Layout
28138 «estalarguísimapalabra».
28142 \begin_layout Plain Layout
28152 \begin_layout Subsection
28153 Alineación vertical
28154 \begin_inset CommandInset label
28156 name "sub:Alineación-Vertical"
28164 \begin_layout Plain Layout
28165 Cuadros ! para alineación vertical
28173 \begin_layout Standard
28174 Con ayuda del comando
28180 puedes alinear verticalmente con el texto circundante palabras o caracteres.
28187 se utiliza según el esquema:
28190 \begin_layout Standard
28195 raisebox{elevación}[altura][profundidad]{contenido del cuadro}
28198 \begin_layout Standard
28199 La elevación puede ser un valor positivo para subir el cuadro o negativo
28203 \begin_layout Standard
28204 Para alinear una palabra, p.
28205 \begin_inset space \thinspace{}
28209 \begin_inset space ~
28212 «prevención» para que la parte inferior de la letra más «profunda» «p» esté
28213 en la línea de base, inserta el comando
28216 \begin_layout Standard
28226 \begin_layout Standard
28227 en código TeX antes de la palabra.
28228 Detrás de la palabra inserta una llave de cierre «
28233 \begin_inset Newline newline
28236 Este es el resultado:
28239 \begin_layout Standard
28240 Esto es una línea de texto con la palabra
28244 \begin_layout Plain Layout
28259 \begin_layout Plain Layout
28269 \begin_layout Standard
28270 \begin_inset VSpace bigskip
28273 Al subir o bajar caracteres en una línea, se modifica el espacio entre líneas:
28276 \begin_layout Standard
28277 Esto es una línea de texto con la palabra
28281 \begin_layout Plain Layout
28296 \begin_layout Plain Layout
28303 como palabra más baja.
28304 \begin_inset Newline newline
28307 Esto es una línea de texto con la palabra
28311 \begin_layout Plain Layout
28324 \begin_layout Plain Layout
28331 como palabra más alta.
28334 \begin_layout Standard
28335 Si por alguna razón quieres impedir esto, pon la altura de cuadro a cero.
28339 \begin_layout Standard
28349 \begin_layout Standard
28350 Esto es una línea de texto con la palabra
28354 \begin_layout Plain Layout
28369 \begin_layout Plain Layout
28376 como palabra más baja.
28377 \begin_inset Newline newline
28380 Esto es una línea de texto con la palabra
28384 \begin_layout Plain Layout
28388 raisebox{0.5cm}[0pt]{
28397 \begin_layout Plain Layout
28404 como palabra más alta.
28407 \begin_layout Section
28409 \begin_inset CommandInset label
28411 name "sec:Cuadros-Coloreados"
28419 \begin_layout Plain Layout
28428 \begin_layout Subsection
28433 \begin_layout Plain Layout
28442 \begin_layout Standard
28443 Para colorear el fondo de un texto, éste debe ponerse en un cuadro coloreado.
28444 Esto requiere cargar el paquete LaTeX
28452 \begin_layout Plain Layout
28453 LaTeX-paquetes ! color
28458 en el preámbulo del documento con
28461 \begin_layout Standard
28466 @ifundef\SpecialChar \textcompwordmark{}
28468 \begin_inset Newline newline
28475 \begin_layout Plain Layout
28486 usepackage{color}}{}
28489 \begin_layout Standard
28490 LyX cargará automáticamente el paquete
28494 cuando colorees texto.
28498 \begin_layout Plain Layout
28499 Para evitar cargarlo dos veces se usa el comando
28503 @ifundef\SpecialChar \textcompwordmark{}
28514 \begin_layout Standard
28515 \begin_inset VSpace medskip
28518 Los cuadros coloreados se crean con el comando
28524 , de acuerdo con el siguiente esquema:
28527 \begin_layout Standard
28532 colorbox{color}{contenido del cuadro}
28535 \begin_layout Standard
28536 El contenido también puede ser un cuadro y los cuadros coloreados también
28537 pueden estar en otros cuadros.
28540 \begin_layout Standard
28541 Los siguientes colores están predefinidos:
28542 \begin_inset Newline newline
28573 \begin_inset Newline newline
28576 También puedes definir tus propios colores según se explica en la sección
28577 \begin_inset space ~
28581 \begin_inset CommandInset ref
28583 reference "sec:Tablas-Coloreadas"
28590 \begin_layout Standard
28591 Por ejemplo, para poner fondo rojo a una palabra, inserta el comando
28594 \begin_layout Standard
28602 \begin_layout Standard
28603 en código TeX antes de la palabra.
28604 Tras la palabra inserta una llave de cierre «
28609 \begin_inset Newline newline
28612 Este es el resultado:
28615 \begin_layout Standard
28616 Línea en la que la palabra
28620 \begin_layout Plain Layout
28633 \begin_layout Plain Layout
28643 \begin_layout Standard
28644 \begin_inset VSpace bigskip
28647 Si quieres un marco de distinto color, puedes emplear el comando
28653 con el esquema siguiente:
28656 \begin_layout Standard
28661 fcolorbox{color del marco}{color del cuadro}{contenido del cuadro}
28664 \begin_layout Standard
28671 es una extensión de
28678 El grosor del marco y el espacio entre él y el contenido se puede ajustar
28691 , respectivamente, como se describe en la sección
28692 \begin_inset space ~
28696 \begin_inset CommandInset ref
28698 reference "sec:Cuadros-Enmarcados"
28705 \begin_layout Standard
28706 Para el ejemplo siguiente se ha utilizado el comando
28709 \begin_layout Standard
28714 fcolorbox{cyan}{magenta}{
28717 \begin_layout Standard
28718 Este es un ejemplo en el que se ha puesto un grosor de 1
28719 \begin_inset space \thinspace{}
28722 mm para la línea del marco:
28723 \begin_inset Newline newline
28730 \begin_layout Plain Layout
28745 \begin_layout Plain Layout
28749 fcolorbox{cyan}{magenta}{
28754 Texto en un marco coloreado y enmarcado.
28758 \begin_layout Plain Layout
28768 \begin_layout Standard
28769 \begin_inset VSpace bigskip
28772 Por supuesto también puedes colorear el texto en un marco coloreado:
28773 \begin_inset Newline newline
28780 \begin_layout Plain Layout
28784 fcolorbox{cyan}{magenta}{
28791 Texto coloreado en un marco sombreado y coloreado.
28797 \begin_layout Plain Layout
28808 \begin_layout Plain Layout
28822 \begin_layout Standard
28825 \begin_inset VSpace medskip
28831 \begin_layout Standard
28832 \begin_inset Note Greyedout
28835 \begin_layout Plain Layout
28840 El texto en cuadros coloreados no puede tener saltos de línea.
28841 Para colorear líneas o párrafos múltiples, usa un cuadro dentro de un cuadro
28842 coloreado como se describe a continuación.
28850 \begin_layout Subsection
28852 \begin_inset CommandInset label
28854 name "sub:Color-en-Párrafos"
28862 \begin_layout Plain Layout
28863 Color ! en párrafos
28871 \begin_layout Standard
28872 Para poner color de fondo en más de una línea, pon el texto en una minipágina.
28873 Antes de la minipágina inserta el comando
28880 \begin_layout Standard
28888 \begin_layout Standard
28890 Detrás de la minipágina inserta una llave de cierre «
28897 \begin_layout Standard
28901 \begin_layout Plain Layout
28905 colorbox{grisclaro}{
28911 \begin_inset Box Frameless
28920 height_special "totalheight"
28923 \begin_layout Plain Layout
28924 Texto con color de fondo.
28925 Texto con color de fondo.
28928 \begin_layout Plain Layout
28929 \begin_inset VSpace defskip
28932 El texto puede tener notas al pie
28936 \begin_layout Plain Layout
28937 Otro ejemplo de nota
28942 y puede incluir tablas y figuras.
28945 \begin_layout Plain Layout
28947 \begin_inset Tabular
28948 <lyxtabular version="3" rows="3" columns="3">
28950 <column alignment="center" valignment="top" width="0">
28951 <column alignment="center" valignment="top" width="0">
28952 <column alignment="center" valignment="top" width="0">
28954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28957 \begin_layout Plain Layout
28963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28966 \begin_layout Plain Layout
28972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28975 \begin_layout Plain Layout
28983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28986 \begin_layout Plain Layout
28992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28995 \begin_layout Plain Layout
28997 \begin_inset Quotes erd
29005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29008 \begin_layout Plain Layout
29016 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29019 \begin_layout Plain Layout
29025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29028 \begin_layout Plain Layout
29034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29037 \begin_layout Plain Layout
29057 \begin_layout Plain Layout
29067 \begin_layout Section
29068 Cuadros rotados y escalados
29071 \begin_layout Standard
29072 Para poder usar los comandos descritos en esta sección hay que cargar el
29079 \begin_layout Plain Layout
29080 LaTeX-paquetes ! graphicx
29087 en el preámbulo del documento, con el comando
29090 \begin_layout Standard
29095 @ifundefined{rotatebox}
29096 \begin_inset Newline newline
29103 \begin_layout Plain Layout
29114 usepackage{graphicx}}{}
29117 \begin_layout Standard
29118 \begin_inset Note Greyedout
29121 \begin_layout Plain Layout
29126 Algunos visores DVI no pueden mostrar material rotado o escalado.
29134 \begin_layout Standard
29135 \begin_inset Note Greyedout
29138 \begin_layout Plain Layout
29143 Los cuadros rotados o escalados no pueden contener flotantes.
29151 \begin_layout Subsection
29156 \begin_layout Plain Layout
29166 \begin_layout Plain Layout
29176 \begin_layout Plain Layout
29186 \begin_layout Plain Layout
29195 \begin_layout Standard
29196 Para rotar material debes ponerlo en un cuadro rotado.
29197 Los cuadros rotados se crean con el comando
29203 en código TeX, según el esquema:
29206 \begin_layout Standard
29211 rotatebox[origen de rotación]{ángulo de rotación}{contenido del cuadro}
29214 \begin_layout Standard
29215 El origen de rotación se especifica en la forma
29220 Son posibles las posiciones siguientes:
29240 (top), así como combinaciones adecuadas de las posiciones básicas.
29245 significa que el origen de rotación es la esquina superior izquierda del
29247 Si no se especifica origen de rotación se usará la posición
29252 El ángulo de rotación es un número de grados, y puede ser negativo.
29253 El sentido de giro es contrario al de las agujas del reloj.
29256 \begin_layout Standard
29257 En el siguiente ejemplo se ha insertado el comando
29261 rotatebox[origin=c]{60}{
29263 como código TeX delante del texto «con rotación»; después del texto, el
29264 cuadro se ha cerrado con llave de cierre en código TeX.
29267 \begin_layout Standard
29268 Esta línea contiene texto
29272 \begin_layout Plain Layout
29276 rotatebox[origin=c]{60}{
29285 \begin_layout Plain Layout
29295 \begin_layout Standard
29296 El contenido del cuadro puede ser también otro cuadro o una ecuación en
29300 \begin_layout Standard
29301 En esta línea hay texto enmarcado
29305 \begin_layout Plain Layout
29309 rotatebox[origin=r]{-60}{
29315 \begin_inset Box Doublebox
29324 height_special "totalheight"
29327 \begin_layout Plain Layout
29337 \begin_layout Plain Layout
29348 \begin_layout Plain Layout
29352 rotatebox[origin=lb]{60}{
29358 \begin_inset Formula $\int A\,\mathrm{d}x=B$
29365 \begin_layout Plain Layout
29375 \begin_layout Standard
29376 O una imagen o una tabla:
29379 \begin_layout Standard
29380 Aquí hay una imagen girada
29384 \begin_layout Plain Layout
29388 rotatebox[origin=lb]{90}{
29394 \begin_inset Graphics
29395 filename ../clipart/platypus.eps
29405 \begin_layout Plain Layout
29416 \begin_layout Plain Layout
29420 rotatebox[origin=l]{-90}{
29426 \begin_inset Tabular
29427 <lyxtabular version="3" rows="2" columns="2">
29429 <column alignment="center" valignment="top" width="0">
29430 <column alignment="center" valignment="top" width="0">
29432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29435 \begin_layout Plain Layout
29441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29444 \begin_layout Plain Layout
29452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29455 \begin_layout Plain Layout
29461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29464 \begin_layout Plain Layout
29479 \begin_layout Plain Layout
29489 \begin_layout Subsection
29494 \begin_layout Plain Layout
29504 \begin_layout Plain Layout
29514 \begin_layout Plain Layout
29524 \begin_layout Plain Layout
29533 \begin_layout Standard
29534 Para escalar material se pueden usar los comandos
29549 \begin_layout Standard
29556 se usa con el esquema siguiente:
29559 \begin_layout Standard
29564 scalebox{horizontal}[vertical]{contenido del cuadro}
29567 \begin_layout Standard
29568 Horizontal y vertical son los factores de escala correspondientes.
29569 Si no se especifica factor vertical, su valor será el mismo que el factor
29570 de escala horizontal.
29574 \begin_layout Standard
29575 Por ejemplo, el comando
29585 \begin_layout Plain Layout
29598 \begin_layout Plain Layout
29605 de doble tamaño que el texto normal del documento.
29608 \begin_layout Standard
29613 scalebox{2}[1]{Hola}
29619 \begin_layout Plain Layout
29632 \begin_layout Plain Layout
29642 \begin_layout Standard
29643 Si un factor de escala es negativo el contenido del cuadro es reflejado.
29648 scalebox{-1}[1]{Hola}
29650 puede usarse para reflejar un texto:
29654 \begin_layout Plain Layout
29667 \begin_layout Plain Layout
29677 \begin_layout Standard
29682 scalebox{1}[-1]{Hola}
29688 \begin_layout Plain Layout
29701 \begin_layout Plain Layout
29711 \begin_layout Standard
29716 scalebox{-1}[1]{contenido del cuadro}
29718 puede sustituirse por
29721 \begin_inset Newline newline
29726 reflectbox{contenido del cuadro}
29727 \begin_inset VSpace defskip
29733 \begin_layout Standard
29740 sirve para escalar el cuadro a una altura y anchura definidas, según el
29744 \begin_layout Standard
29749 resizebox{anchura}{altura}{contenido del cuadro}
29752 \begin_layout Standard
29753 Si uno de los argumentos del comando es un signo de exclamación,
29757 , la escala se produce de forma que se mantiene la relación de las dimensiones
29758 originales del contenido del cuadro.
29762 \begin_layout Standard
29767 resizebox{2cm}{1cm}{Hola}
29773 \begin_layout Plain Layout
29777 resizebox{2cm}{1cm}{
29786 \begin_layout Plain Layout
29794 \begin_inset Newline newline
29801 resizebox{2cm}{!}{Hola}
29807 \begin_layout Plain Layout
29820 \begin_layout Plain Layout
29830 \begin_layout Standard
29831 \begin_inset VSpace defskip
29837 \begin_layout Standard
29838 \begin_inset Note Greyedout
29841 \begin_layout Plain Layout
29846 Si los argumentos de
29858 son cero, no se generan errores de LaTeX al exportar el documento, pero
29859 puede suceder que la salida no se muestre o que sea incompleta.
29866 \begin_inset VSpace defskip
29872 \begin_layout Standard
29873 Los cuadros se pueden combinar en cualquier orden.
29874 Por ejemplo, el comando
29877 \begin_inset Newline newline
29882 rotatebox[origin=c]{-45}{
29887 \begin_inset Newline newline
29895 \begin_layout Standard
29901 \begin_layout Plain Layout
29905 rotatebox[origin=c]{-45}{
29918 \begin_layout Plain Layout
29928 \begin_layout Standard
29930 Un cuadro puede contener imágenes, tablas y ecuaciones en línea:
29933 \begin_layout Standard
29938 \begin_layout Standard
29943 \begin_layout Plain Layout
29947 rotatebox[origin=c]{-30}{
29957 \begin_inset Graphics
29958 filename ../clipart/platypus.eps
29968 \begin_layout Plain Layout
29979 \begin_layout Plain Layout
29983 rotatebox[origin=c]{-45}{
29993 \begin_inset Tabular
29994 <lyxtabular version="3" rows="2" columns="2">
29996 <column alignment="center" valignment="top" width="0">
29997 <column alignment="center" valignment="top" width="0">
29999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30002 \begin_layout Plain Layout
30008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30011 \begin_layout Plain Layout
30019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30022 \begin_layout Plain Layout
30028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30031 \begin_layout Plain Layout
30046 \begin_layout Plain Layout
30057 \begin_layout Plain Layout
30061 rotatebox[origin=c]{-45}{
30071 \begin_inset Formula $\int A\,\mathrm{d}x=B$
30078 \begin_layout Plain Layout
30088 \begin_layout Standard
30089 Si se usa el estilo global
30093 para las ecuaciones del documento,
30097 \begin_layout Plain Layout
30098 Si «fleqn» se añade a las opciones de clase del documento.
30103 también pueden escalarse las ecuaciones en estilo presentación.
30106 \begin_layout Chapter
30111 \begin_layout Plain Layout
30120 \begin_layout Standard
30123 Insertar\SpecialChar \menuseparator
30126 se pueden insertar archivos externos en un documento.
30130 \begin_layout Description
30132 \begin_inset space ~
30135 LyX Otro documento LyX; su contenido se inserta directamente en tu documento.
30138 \begin_layout Description
30140 \begin_inset space ~
30144 \begin_inset space ~
30148 \begin_inset space ~
30151 líneas Un documento de texto; cada línea del mismo se inserta en tu documento
30152 como un nuevo párrafo.
30155 \begin_layout Description
30157 \begin_inset space ~
30161 \begin_inset space ~
30165 \begin_inset space ~
30168 párrafos Un documento de texto; cada línea del texto se inserta tal como
30169 está, formando un solo párrafo.
30170 Las líneas vacías generan un nuevo párrafo en tu documento.
30173 \begin_layout Description
30175 \begin_inset space ~
30178 externo Archivos en diversos formatos.
30181 \begin_layout Description
30183 \begin_inset space ~
30186 hijo Documentos LyX, LaTeX o texto simple.
30189 \begin_layout Section
30194 \begin_layout Plain Layout
30203 \begin_layout Standard
30204 Esta característica te permite insertar archivos en tu documento sin convertirlo
30205 s previamente a un formato legible en la salida, ya que LyX se ocupa de
30206 las necesarias conversiones.
30207 Esto es parecido a la inserción de imágenes en diversos formatos en los
30211 \begin_layout Standard
30212 El material externo se puede insertar mediante el diálogo que surge a partir
30215 Insertar\SpecialChar \menuseparator
30216 Archivo\SpecialChar \menuseparator
30218 \begin_inset space ~
30224 Actualmente se permiten los siguientes tipos de archivo (
30231 \begin_layout Description
30233 \begin_inset space ~
30237 \begin_inset space ~
30240 ajedrez Esta plantilla soporta diagramas posicionales de ajedrez hechos
30244 \begin_inset CommandInset href
30247 target "http://en.wikipedia.org/wiki/XBoard"
30256 \begin_layout Description
30257 Fecha Esta inserta la fecha en el formato
30262 A continuación hay una fecha insertada como material externo:
30263 \begin_inset External
30272 \begin_inset space ~
30276 \begin_inset Note Note
30279 \begin_layout Plain Layout
30282 Remove the protected space when bug 4398 is fixed!
30290 \begin_inset Newline newline
30293 La fecha no se muestra en LyX, sólo en la salida.
30294 Hay otros dos métodos de insertar una fecha, con el menú
30296 Insertar\SpecialChar \menuseparator
30299 y con el comando LaTeX
30306 Los distintos métodos se comparan en la tabla
30307 \begin_inset space ~
30311 \begin_inset CommandInset ref
30313 reference "tab:Comparación-de"
30320 \begin_layout Description
30321 LilyPond Esta plantilla sirve para tipografiar notación musical con el programa
30322 \begin_inset Newline linebreak
30328 \begin_inset CommandInset href
30331 target "http://en.wikipedia.org/wiki/LilyPond"
30340 \begin_layout Description
30341 RasterImage Sirve para insertar imágenes bitmap.
30342 Casi todos los formatos populares de imágenes están soportados.
30343 Las imágenes se pueden tratar en el diálogo
30347 como las que habitualmente se incluyen mediante el diálogo
30351 , tal como se explica en la sección
30352 \begin_inset space ~
30356 \begin_inset CommandInset ref
30358 reference "sec:Diálogo-Gráficos"
30363 La diferencia es que sólo se permiten imágenes bitmap, por tanto las imágenes
30364 PDF y EPS no están soportadas.
30367 \begin_layout Description
30368 XFig Esta plantilla soporta imágenes creadas con el programa
30371 \begin_inset CommandInset href
30374 target "http://en.wikipedia.org/wiki/Xfig"
30383 \begin_layout Standard
30384 \begin_inset Float table
30390 \begin_layout Plain Layout
30391 \begin_inset Caption
30393 \begin_layout Plain Layout
30394 \begin_inset CommandInset label
30396 name "tab:Comparación-de"
30400 Comparación de los métodos de inserción de fecha.
30408 \begin_layout Plain Layout
30410 \begin_inset Tabular
30411 <lyxtabular version="3" rows="4" columns="4">
30413 <column alignment="center" valignment="top" width="0">
30414 <column alignment="center" valignment="top" width="0">
30415 <column alignment="center" valignment="top" width="0">
30416 <column alignment="center" valignment="top" width="0">
30418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30421 \begin_layout Plain Layout
30427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30430 \begin_layout Plain Layout
30433 Material Externo\SpecialChar \menuseparator
30439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30442 \begin_layout Plain Layout
30445 Insertar\SpecialChar \menuseparator
30451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30454 \begin_layout Plain Layout
30466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30469 \begin_layout Plain Layout
30475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30478 \begin_layout Plain Layout
30484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30487 \begin_layout Plain Layout
30493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30496 \begin_layout Plain Layout
30497 como cuadro en código TeX
30504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30507 \begin_layout Plain Layout
30513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30516 \begin_layout Plain Layout
30522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30525 \begin_layout Plain Layout
30531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30534 \begin_layout Plain Layout
30542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30545 \begin_layout Plain Layout
30551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30554 \begin_layout Plain Layout
30560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30563 \begin_layout Plain Layout
30569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30572 \begin_layout Plain Layout
30591 \begin_layout Standard
30592 Si utilizas la opción
30604 , en el documento de salida sólo se muestra la ruta al archivo insertado.
30607 \begin_inset Newline newline
30612 El material externo se muestra en LyX como un cuadro del tipo:
30617 \begin_inset Graphics
30618 filename clipart/MaterialExternoQt4.png
30623 o como imagen, según la configuración elegida en la solapa
30626 \begin_inset space ~
30636 \begin_layout Standard
30641 se explica cómo definir tus propias plantillas.
30644 \begin_layout Section
30646 \begin_inset CommandInset label
30648 name "sec:Documento-Hijo"
30656 \begin_layout Plain Layout
30665 \begin_layout Standard
30666 Los documentos hijos se emplean en el caso de tener un documento extenso
30667 compuesto por varias partes o secciones más grandes.
30668 Para trabajar en este tipo de documentos es útil, y a veces obligado, dividirlo
30669 en varios archivos que pueden ser revisados por separado.
30670 Estos archivos se conocen como documentos hijos, y el llamado documento
30671 maestro los conecta con el fin de imprimirlos como un todo o por partes.
30675 \begin_layout Standard
30676 Los documentos incluidos como hijos se muestran en la pantalla de LyX como
30678 \begin_inset Graphics
30679 filename clipart/DocumentoHijoQt4.png
30685 Para incluir documentos hijos en un documento maestro utiliza el menú
30689 \SpecialChar \menuseparator
30694 \SpecialChar \menuseparator
30698 \begin_inset space ~
30704 Surge un diálogo en el que puedes elegir entre cuatro métodos de inclusión:
30707 \begin_layout Description
30708 Incluir Puedes incluir documentos LyX y documentos LaTeX.
30717 , los documentos incluidos se abrirán en una nueva solapa de archivo en
30718 la ventana de LyX y así puedes modificarlos si quieres.
30721 \begin_layout Standard
30722 Aquí hay un archivo insertado con el método
30727 \begin_inset CommandInset include
30728 LatexCommand include
30729 filename "DocumentoPostizo1.lyx"
30736 \begin_layout Standard
30737 La numeración de secciones tiene en cuenta las secciones de los archivos
30738 incluidos en el orden en que están insertados en el documento maestro.
30739 El documento incluido de ejemplo tiene una subsección que se numera como
30740 subsección de la presente sección.
30741 Las etiquetas de los documentos incluidos se pueden referenciar: Subsección
30742 \begin_inset space ~
30746 \begin_inset CommandInset ref
30748 reference "sub:Subsección-Externa-1"
30755 \begin_layout Standard
30756 El preámbulo del documento hijo se ignora, sólo se utiliza el preámbulo
30757 del documento maestro.
30758 Los documentos incluidos se insertan comenzando una página nueva y acabando
30759 con un salto de página.
30762 \begin_layout Standard
30763 Con el comando LaTeX
30769 puedes determinar qué documentos hijos serán procesados al generar la salida.
30770 Esto es útil si, por ejemplo, estás trabajando sólo cierto capítulo de
30771 un extenso documento y quieres ahorrar tiempo de compilación.
30778 se inserta en el preámbulo del documento maestro, poniendo como argumento
30779 una lista de los nombres de archivo separados con comas, p.
30780 \begin_inset space \thinspace{}
30787 \begin_layout Standard
30792 includeonly{capítulo1,capítulo5}
30795 \begin_layout Standard
30796 hará que sólo se procesen los archivos incluidos cuyos nombres son «capítulo1.lyx
30797 » (o «capítulo1.tex») y «capítulo5.lyx».
30800 \begin_layout Standard
30801 \begin_inset Note Greyedout
30804 \begin_layout Plain Layout
30809 Si has incluido un archivo LyX o LaTeX cuya clase de documento es distinta
30810 a la del documento maestro, recibirás una advertencia al exportar/ver el
30811 documento, ya que esto podría dar resultados inesperados.
30819 \begin_layout Description
30820 Entrada Este método es muy parecido al método
30825 Las diferencias son:
30829 \begin_layout Itemize
30830 Los archivos del tipo Entrada no comienzan en página nueva ni acaban con
30831 un salto de página.
30834 \begin_layout Itemize
30835 Los archivos del tipo Entrada se pueden visualizar en LyX si la
30838 \begin_inset space ~
30842 \begin_inset space ~
30847 está activada en el diálogo
30849 Herramientas\SpecialChar \menuseparator
30854 Apariencia\SpecialChar \menuseparator
30860 \begin_layout Itemize
30861 No se puede utilizar el comando LaTeX
30871 \begin_layout Standard
30872 Aquí hay un documento hijo insertado con el método
30879 \begin_layout Standard
30880 \begin_inset CommandInset include
30882 filename "DocumentoPostizo2.lyx"
30889 \begin_layout Description
30890 Literal Con este método se puede incluir todo archivo de texto.
30891 El archivo aparece en la salida con su código fuente, y si contiene comandos
30895 Marcar espacios en la salida
30897 cada espacio en el código fuente se muestra en la salida con el carácter
30902 \begin_layout Plain Layout
30912 La diferencia con el método de inserción mediante el menú
30916 \SpecialChar \menuseparator
30921 \SpecialChar \menuseparator
30925 \begin_inset space ~
30930 es que en este caso el contenido del archivo se ve en LyX, mientras que
30935 no se muestra el contenido, sino un recuadro con el nombre.
30941 \begin_layout Standard
30942 Aquí se inserta un documento hijo en modo Literal:
30943 \begin_inset CommandInset include
30944 LatexCommand verbatiminput
30945 filename "DocumentoTextoPostizo.txt"
30950 \begin_inset VSpace bigskip
30956 \begin_layout Standard
30957 Aquí se inserta un documento hijo en modo Literal con la opción
30959 Marcar espacios en la salida
30962 \begin_inset CommandInset include
30963 LatexCommand verbatiminput*
30964 filename "DocumentoTextoPostizo.txt"
30969 \begin_inset VSpace bigskip
30975 \begin_layout Standard
30976 \begin_inset Note Greyedout
30979 \begin_layout Plain Layout
30984 Como puedes ver en los ejemplos anteriores, el texto de los documentos
30989 no contiene saltos de línea, a no ser que se incluyan expresamente en el
30998 \begin_layout Description
31000 \begin_inset space ~
31004 \begin_inset space ~
31007 programa Este tipo se describe en el capítulo
31008 \begin_inset space ~
31012 \begin_inset CommandInset ref
31014 reference "cha:Listado-de-programa"
31021 \begin_layout Standard
31022 \begin_inset Note Greyedout
31025 \begin_layout Plain Layout
31030 Incluir el mismo documento dos veces con métodos diferentes podría causar
31031 problemas en LaTeX.
31039 \begin_layout Chapter
31040 Listado de programa
31041 \begin_inset CommandInset label
31043 name "cha:Listado-de-programa"
31051 \begin_layout Plain Layout
31052 Listado de programa
31061 \begin_layout Plain Layout
31062 Listado de programa ! list@
31073 \begin_layout Plain Layout
31074 Flotantes ! Listado de programa
31082 \begin_layout Standard
31083 Para incluir y tipografiar código de programación puedes usar la opción
31084 de menú disponible en
31086 Insertar\SpecialChar \menuseparator
31088 \begin_inset space ~
31092 \begin_inset space ~
31106 \begin_layout Plain Layout
31107 LaTeX-paquetes ! listings
31112 provee un mecanismo potente y flexible para insertar código fuente en tu
31116 \begin_layout Standard
31117 Al hacer clic-derecho sobre un recuadro de listado surge un cuadro de diálogo
31118 en el que puedes establecer el formato del mismo.
31121 \begin_layout Standard
31122 Por omisión, al insertar un listado de programa se inicia un párrafo nuevo.
31123 La opción de ubicación
31126 \begin_inset space ~
31131 lo imprime en la línea, como este ejemplo:
31132 \begin_inset listings
31133 lstparams "language={C++}"
31137 \begin_layout Plain Layout
31148 \begin_inset Newline newline
31157 crea un listado flotante cuya colocación se puede especificar mediante
31174 », correspondientes a las opciones de colocación de flotantes descritas
31178 \begin_inset space ~
31182 \begin_inset CommandInset ref
31184 reference "sec:Colocación-de-Flotantes"
31191 Las opciones de colocación se pueden mezclar y se escriben sin separación,
31195 \begin_inset space \thinspace{}
31201 \begin_inset space ~
31213 » a veces no tiene efecto, pero no necesitas usar la opción
31217 en ese caso puesto que los listados de programa no flotantes también pueden
31218 tener leyendas y ser referenciadas.
31221 \begin_layout Standard
31222 Se puede añadir una leyenda a un listado de programa con el menú
31224 Insertar\SpecialChar \menuseparator
31231 \begin_layout Plain Layout
31232 Para traducir la etiqueta
31233 \begin_inset Quotes eld
31237 \begin_inset Quotes erd
31240 de la leyenda, se añade al preámbulo del documento el comando
31246 lstlistingname}{Listado}
31252 \begin_inset space \thinspace{}
31263 Los listados de programa se pueden referenciar como los flotantes: Listado
31264 \begin_inset space ~
31268 \begin_inset CommandInset ref
31270 reference "lst:Ejemplo-de-listado-de-programa"
31277 \begin_layout Standard
31278 \begin_inset listings
31279 lstparams "language=Python"
31283 \begin_layout Plain Layout
31286 \begin_inset Caption
31288 \begin_layout Plain Layout
31289 \begin_inset CommandInset label
31291 name "lst:Ejemplo-de-listado-de-programa"
31295 Ejemplo de listado de programa flotante
31300 # Ejemplo de listado flotante
31303 \begin_layout Plain Layout
31309 \begin_layout Plain Layout
31312 'this is a python function'
31315 \begin_layout Plain Layout
31326 \begin_layout Standard
31327 Una vez que has escogido un lenguaje de programación en el cuadro de diálogo
31328 de listado de programa, las palabras clave de ese lenguaje serán reconocidas
31329 y tipografiadas de manera especial en la salida.
31330 En el ejemplo, la clave de Python «def» es reconocida y se imprimirá en
31334 \begin_layout Standard
31335 \begin_inset Note Greyedout
31338 \begin_layout Plain Layout
31343 Si no consigues caracteres en negrita cuando usas fuentes typewriter, se
31344 debe probablemente a que dicha fuente no suministra negritas.
31345 En este caso selecciona una fuente distinta en el menú
31349 \SpecialChar \menuseparator
31354 \SpecialChar \menuseparator
31368 suministran negritas.)
31376 \begin_layout Standard
31380 \begin_inset space ~
31384 \begin_inset space ~
31389 del diálogo puedes elegir el estilo de numeración de las líneas.
31394 puedes insertar un número para determinar qué líneas se numeran.
31395 Por ejemplo, si pones «3», se numera sólo una de cada tres líneas.
31399 \begin_layout Standard
31400 Además, puedes especificar un rango de líneas para que sólo éstas aparezcan
31405 \begin_inset space ~
31409 \begin_inset space ~
31413 \begin_inset space ~
31418 debería emplearse si se usan en el código caracteres nacionales como la
31420 \begin_inset Newline newline
31423 A continuación hay un ejemplo con numeración de líneas a la izquierda, paso
31424 «3», lenguaje «Python», opciones de estilo «Tabla de caracteres extendida»
31425 y «Espacio como símbolo», rango de líneas 3-8:
31426 \begin_inset listings
31427 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
31431 \begin_layout Plain Layout
31437 \begin_layout Plain Layout
31440 'this is a python function'
31443 \begin_layout Plain Layout
31449 \begin_layout Plain Layout
31455 \begin_layout Plain Layout
31458 'This is a German word: Tschüß'
31461 \begin_layout Plain Layout
31467 \begin_layout Plain Layout
31473 \begin_layout Plain Layout
31476 'this is a python function'
31479 \begin_layout Plain Layout
31490 \begin_layout Standard
31491 \begin_inset Note Greyedout
31494 \begin_layout Plain Layout
31499 Debido a un error en el paquete
31503 la numeración de líneas cambia en una línea por cada listado previo.
31504 Por esto en el ejemplo de arriba se numeran las líneas 2 y 5 y no las líneas
31513 \begin_layout Standard
31514 \begin_inset VSpace bigskip
31520 \begin_layout Standard
31521 También es posible imprimir como listado de programa líneas de un archivo.
31522 Para hacer esto, usa el menú
31524 Insertar\SpecialChar \menuseparator
31525 Archivo\SpecialChar \menuseparator
31527 \begin_inset space ~
31534 Listado de programa
31540 \begin_layout Plain Layout
31541 Los restantes tipos de documento hijo se describen en la sección
31542 \begin_inset space ~
31546 \begin_inset CommandInset ref
31548 reference "sec:Documento-Hijo"
31557 En el diálogo de documento hijo puedes especificar los parámetros del listado
31558 en el cuadro de texto.
31559 Para ver una lista de los parámetros disponibles teclea una interrogación
31563 \begin_layout Standard
31564 Para referenciar un documento hijo tipo listado, escribe el texto de la
31565 etiqueta en el campo correspondiente del diálogo de documento hijo.
31566 Después se puede referenciar la etiqueta con el menú
31568 Insertar\SpecialChar \menuseparator
31569 Referencia cruzada.
31572 \begin_layout Standard
31573 A continuación hay un ejemplo, Listado
31574 \begin_inset space ~
31578 \begin_inset CommandInset ref
31580 reference "lst:archivo-listado"
31584 , de inserción de líneas de un archivo; en él se incluye el rango de las
31586 \begin_inset space \thinspace{}
31590 \begin_inset space \thinspace{}
31593 15 de este archivo LyX.
31596 \begin_layout Standard
31597 \begin_inset CommandInset include
31598 LatexCommand lstinputlisting
31599 filename "EmbeddedObjects.lyx"
31600 lstparams "breaklines=true,caption={Líneas 10 - 15 de este archivo LyX},firstline=10,label={lst:archivo-listado},language={[LaTeX]TeX},lastline=15"
31605 \begin_inset VSpace bigskip
31611 \begin_layout Standard
31612 Las preferencias globales se pueden establecer en el diálogo
31614 Documento\SpecialChar \menuseparator
31615 Configuración\SpecialChar \menuseparator
31617 \begin_inset space ~
31621 \begin_inset space ~
31627 Para ver ahí una lista de las opciones disponibles, escribe una interrogación
31628 «?» en el campo de texto.
31631 \begin_layout Standard
31632 Para más información sobre el paquete
31636 , consulta su documentación
31637 \begin_inset space ~
31641 \begin_inset CommandInset citation
31650 \begin_layout Standard
31651 \begin_inset Newpage newpage
31657 \begin_layout Chapter
31659 Unidades disponibles en LyX
31663 \begin_layout Plain Layout
31670 \begin_inset CommandInset label
31672 name "cha:Unidades-disponibles-en"
31679 \begin_layout Standard
31680 Para comprender las unidades utilizadas en este manual, el cuadro
31681 \begin_inset space ~
31685 \begin_inset CommandInset ref
31687 reference "tab:Unidades"
31691 describe todas las unidades disponibles en LyX.
31694 \begin_layout Standard
31695 \begin_inset Float table
31701 \begin_layout Plain Layout
31702 \begin_inset Caption
31704 \begin_layout Plain Layout
31705 \begin_inset CommandInset label
31707 name "tab:Unidades"
31719 \begin_layout Plain Layout
31720 \begin_inset VSpace medskip
31726 \begin_layout Plain Layout
31728 \begin_inset Tabular
31729 <lyxtabular version="3" rows="20" columns="2">
31731 <column alignment="center" valignment="top" width="0">
31732 <column alignment="center" valignment="top" width="0">
31734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31737 \begin_layout Plain Layout
31743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31746 \begin_layout Plain Layout
31754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31757 \begin_layout Plain Layout
31763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31766 \begin_layout Plain Layout
31774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31777 \begin_layout Plain Layout
31783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31786 \begin_layout Plain Layout
31794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31797 \begin_layout Plain Layout
31803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31806 \begin_layout Plain Layout
31814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31817 \begin_layout Plain Layout
31823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31826 \begin_layout Plain Layout
31828 \begin_inset space \thinspace{}
31832 \begin_inset space \thinspace{}
31842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31845 \begin_layout Plain Layout
31851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31854 \begin_layout Plain Layout
31856 \begin_inset space \thinspace{}
31860 \begin_inset space \thinspace{}
31870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31873 \begin_layout Plain Layout
31879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31882 \begin_layout Plain Layout
31883 punto escalado (65536
31884 \begin_inset space \thinspace{}
31888 \begin_inset space \thinspace{}
31898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31901 \begin_layout Plain Layout
31907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31910 \begin_layout Plain Layout
31912 \begin_inset space \thinspace{}
31916 \begin_inset space \thinspace{}
31926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31929 \begin_layout Plain Layout
31935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31938 \begin_layout Plain Layout
31940 \begin_inset space \thinspace{}
31944 \begin_inset Formula $\approx$
31948 \begin_inset space \thinspace{}
31958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31961 \begin_layout Plain Layout
31967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31970 \begin_layout Plain Layout
31972 \begin_inset space \thinspace{}
31976 \begin_inset space \thinspace{}
31986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31989 \begin_layout Plain Layout
31995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31998 \begin_layout Plain Layout
31999 % de anchura original de la imagen
32006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32009 \begin_layout Plain Layout
32015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32018 \begin_layout Plain Layout
32019 % de anchura de texto
32026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32029 \begin_layout Plain Layout
32035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32038 \begin_layout Plain Layout
32039 % de anchura de columna
32046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32049 \begin_layout Plain Layout
32055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32058 \begin_layout Plain Layout
32059 % de anchura de página
32066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32069 \begin_layout Plain Layout
32075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32078 \begin_layout Plain Layout
32079 % de anchura de línea
32086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32089 \begin_layout Plain Layout
32095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32098 \begin_layout Plain Layout
32099 % de altura de texto
32106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32109 \begin_layout Plain Layout
32115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32118 \begin_layout Plain Layout
32119 % de altura de página
32126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32129 \begin_layout Plain Layout
32135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32138 \begin_layout Plain Layout
32143 en la fuente actual
32150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32153 \begin_layout Plain Layout
32159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32162 \begin_layout Plain Layout
32163 anchura de la letra
32167 en la fuente actual
32174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32177 \begin_layout Plain Layout
32183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32186 \begin_layout Plain Layout
32187 unidad matemática (1
32188 \begin_inset space \thinspace{}
32192 \begin_inset space \thinspace{}
32213 \begin_layout Chapter
32214 Formatos de archivos de salida con gráficos
32215 \begin_inset CommandInset label
32217 name "cha:Formatos-de-Archivos-de-Salida"
32224 \begin_layout Section
32229 \begin_layout Plain Layout
32230 Formatos de archivo ! DVI
32239 \begin_layout Plain Layout
32244 \begin_layout Plain Layout
32251 Formatos de archivo
32255 \begin_layout Plain Layout
32270 \begin_layout Standard
32271 Este tipo de archivo tiene la extensión «
32276 Se denomina «device-independent» (DVI), porque es completamente portable;
32277 se pueden mover de una máquina a otra sin necesidad de conversión alguna.
32278 En la época en que se desarrolló este formato, esto no era un asunto baladí.
32279 Los DVI se usan para vistas preliminares rápidas y como preparación para
32280 otros formatos de salida como PostScript.
32283 \begin_layout Standard
32284 \begin_inset Note Greyedout
32287 \begin_layout Plain Layout
32292 Los archivos DVI no contienen imágenes, sino enlaces a ellas.
32297 Por tanto no debes olvidar esto si mueves archivos
32302 Esta característica también puede retardar la visualización del archivo,
32303 porque el visor DVI tiene que convertir la imagen en segundo plano para
32304 hacerla visible al deslizar el visor.
32305 Así pues recomendamos usar PDF para archivos con muchas imágenes.
32308 \begin_layout Standard
32309 Un documento se exporta a DVI con el menú
32311 Archivo\SpecialChar \menuseparator
32312 Exportar\SpecialChar \menuseparator
32316 Puedes ver la salida del documento en DVI con el menú
32318 Ver\SpecialChar \menuseparator
32322 \begin_inset space ~
32326 \begin_inset Graphics
32327 filename ../../images/buffer-view_dvi.png
32335 \begin_layout Section
32337 \begin_inset CommandInset label
32339 name "sec:PostScript"
32347 \begin_layout Plain Layout
32348 Formatos de archivo ! PostScript
32357 \begin_layout Plain Layout
32362 \begin_layout Plain Layout
32369 Formatos de archivo
32373 \begin_layout Plain Layout
32388 \begin_layout Standard
32389 Este tipo de archivo tiene la extensión «
32394 PostScript fue desarrollado por la compañía
32398 como lenguaje para impresoras.
32399 Por eso estos archivos contienen comandos que usa la impresora para imprimirlos.
32400 PostScript puede considerarse como un «lenguaje de programación»; con él
32401 puedes calcular y dibujar imágenes y diagramas.
32405 \begin_layout Plain Layout
32406 Si estás interesado en este tema acude al paquete LaTeX
32411 \begin_inset CommandInset citation
32422 Por esto los archivos suelen ser más grandes que los PDF.
32425 \begin_layout Standard
32426 Los archivos PostScript sólo pueden contener imágenes en el formato «Encapsulate
32427 d PostScript» (EPS, extensión «
32432 Como LyX permite usar cualquier formato de imagen conocido, tiene que trabajar
32433 en segundo plano para convertir las imágenes a EPS.
32434 Si por ejemplo, el documento tiene 50 imágenes, LyX ha de hacer 50 conversiones
32435 cada vez que veas o exportes el documento.
32436 Esto ralentizará mucho el trabajo, así que si piensas usar PostScript,
32437 puedes evitar el problema insertando las imágenes directamente en EPS.
32440 \begin_layout Standard
32441 El documento se puede exportar a PostScript con el menú
32443 Archivo\SpecialChar \menuseparator
32444 Exportar\SpecialChar \menuseparator
32448 Se puede ver la salida en PostScript con el menú
32450 Ver\SpecialChar \menuseparator
32454 \begin_inset space ~
32458 \begin_inset Graphics
32459 filename ../../images/buffer-view_ps.png
32466 \begin_layout Section
32468 \begin_inset CommandInset label
32478 \begin_layout Plain Layout
32479 Formatos de archivo ! PDF
32488 \begin_layout Plain Layout
32497 \begin_layout Standard
32498 Este tipo de archivo tiene la extensión «
32503 El formato «Portable Document Format» (PDF) fue desarrollado por
32507 como derivado de PostScript.
32508 Es más comprimido y utiliza muchos menos comandos que PostScript.
32509 Como su nombre «portable» indica, puede ser procesado por cualquier sistema
32510 operativo y la salida impresa se muestra exactamente igual.
32513 \begin_layout Standard
32514 PDF puede contener imágenes en su propio formato PDF, en el formato «Joint
32515 Photographic Experts Group» (JPG, extensión «
32523 »), y en el formato «Portable Network Graphics» (PNG, extensión «
32528 Aunque puedes poner cualquier otro formato de imagen, porque LyX los convierte
32529 en segundo plano a alguno de los anteriores.
32530 Pero como se ha comentado en la sección sobre PostScript, la conversión
32531 de gráficos ralentiza el trabajo.
32532 Por tanto se recomienda utilizar alguno de los tres formatos de imagen
32536 \begin_layout Standard
32537 Un documento se puede exportar a PDF con el menú
32539 Archivo\SpecialChar \menuseparator
32542 en tres modos diferentes:
32545 \begin_layout Description
32547 \begin_inset space ~
32550 (ps2pdf) Este utiliza el programa
32554 que crea un PDF a partir de una versión PostScript del archivo.
32555 La versión PostScript es producida por el programa
32559 que usa una versión DVI como paso intermedio.
32560 Así que este modo de exportación consta de tres conversiones.
32563 \begin_layout Description
32565 \begin_inset space ~
32568 (dvipdfm) Este utiliza el programa
32572 que convierte el archivo a DVI en segundo plano y en un segundo paso a
32576 \begin_layout Description
32578 \begin_inset space ~
32581 (pdflatex) Este utiliza el programa
32585 que convierte directamente el archivo a PDF.
32588 \begin_layout Standard
32592 \begin_inset space ~
32601 soporta todas las características de las versiones actuales de PDF, es
32607 ya no se desarrolla y está un poco obsoleto.
32610 \begin_layout Standard
32611 La salida en formato PDF se puede ver con el menú
32616 \begin_inset space ~
32620 \begin_inset Graphics
32621 filename ../../images/buffer-view_pdf2.png
32629 \begin_inset space ~
32637 \begin_layout Chapter
32638 Explicación de la ecuación
32639 \begin_inset space ~
32643 \begin_inset CommandInset ref
32650 \begin_inset CommandInset label
32652 name "cha:Explicación-de-la-Ecuación"
32659 \begin_layout Standard
32660 La anchura total de
32664 celdas de una tabla
32665 \begin_inset Formula $W_{\mathrm{tot\, n}}$
32668 puede calcularse con
32671 \begin_layout Standard
32672 \begin_inset Formula \begin{equation}
32673 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}
32680 \begin_layout Standard
32682 \begin_inset Formula $W_{g\, n}$
32685 es el ancho dado de todas las celdas.
32692 es la longitud LaTeX entre el texto y el borde de la celda, 6
32693 \begin_inset space \thinspace{}
32703 es el grosor de línea del borde, 0.4
32704 \begin_inset space \thinspace{}
32710 \begin_layout Standard
32711 Procediendo como en la ecuación
32712 \begin_inset space ~
32716 \begin_inset CommandInset ref
32718 reference "eq:Wtot_n"
32722 , el ancho total de una multicolumna,
32723 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
32729 \begin_layout Standard
32730 \begin_inset Formula \begin{equation}
32731 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
32738 \begin_layout Standard
32739 Igualando las ecuaciones
32740 \begin_inset space ~
32744 \begin_inset CommandInset ref
32746 reference "eq:Wtot_n"
32751 \begin_inset CommandInset ref
32753 reference "eq:Wtot_mult"
32757 podemos calcular el ancho dado necesario
32758 \begin_inset Formula $W_{g\, n}$
32765 columnas, de forma que cada una de ellas tiene una anchura total
32766 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
32772 \begin_layout Standard
32773 \begin_inset Formula \begin{equation}
32774 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
32781 \begin_layout Bibliography
32782 \begin_inset CommandInset bibitem
32783 LatexCommand bibitem
32784 key "latexcompanion"
32788 Frank Mittelbach and Michel Goossens:
32790 The LaTeX Companion Second Edition.
32793 Addison-Wesley, 2004
32796 \begin_layout Bibliography
32797 \begin_inset CommandInset bibitem
32798 LatexCommand bibitem
32803 Helmut Kopka and Patrick W.
32806 A Guide to LaTeX Fourth Edition.
32809 Addison-Wesley, 2003
32812 \begin_layout Bibliography
32813 \begin_inset CommandInset bibitem
32814 LatexCommand bibitem
32821 LaTeX: A Document Preparation System.
32824 Addison-Wesley, second edition, 1994
32827 \begin_layout Bibliography
32828 \begin_inset CommandInset bibitem
32829 LatexCommand bibitem
32834 Documentación del paquete LaTeX
32837 \begin_inset CommandInset href
32840 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
32850 \begin_layout Plain Layout
32851 LaTeX-paquetes ! booktabs
32859 \begin_layout Bibliography
32860 \begin_inset CommandInset bibitem
32861 LatexCommand bibitem
32866 Documentación del paquete LaTeX
32869 \begin_inset CommandInset href
32872 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
32882 \begin_layout Plain Layout
32883 LaTeX-paquetes ! caption
32891 \begin_layout Bibliography
32892 \begin_inset CommandInset bibitem
32893 LatexCommand bibitem
32898 Documentación del paquete LaTeX
32901 \begin_inset CommandInset href
32904 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
32914 \begin_layout Plain Layout
32915 LaTeX-paquetes ! endfloat
32923 \begin_layout Bibliography
32924 \begin_inset CommandInset bibitem
32925 LatexCommand bibitem
32930 Documentación del paquete LaTeX
32933 \begin_inset CommandInset href
32936 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
32946 \begin_layout Plain Layout
32947 LaTeX-paquetes ! wrapfig
32951 \begin_layout Plain Layout
32968 \begin_layout Bibliography
32969 \begin_inset CommandInset bibitem
32970 LatexCommand bibitem
32975 Documentación del paquete LaTeX
32978 \begin_inset CommandInset href
32981 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
32991 \begin_layout Plain Layout
32992 LaTeX-paquetes ! footmisc
33000 \begin_layout Bibliography
33001 \begin_inset CommandInset bibitem
33002 LatexCommand bibitem
33007 Documentación del paquete LaTeX
33010 \begin_inset CommandInset href
33013 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
33023 \begin_layout Plain Layout
33024 LaTeX-paquetes ! hyperref
33032 \begin_layout Bibliography
33033 \begin_inset CommandInset bibitem
33034 LatexCommand bibitem
33039 Documentación del paquete LaTeX
33042 \begin_inset CommandInset href
33045 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
33055 \begin_layout Plain Layout
33056 LaTeX-paquetes ! hyperref
33064 \begin_layout Bibliography
33065 \begin_inset CommandInset bibitem
33066 LatexCommand bibitem
33071 Documentación del paquete LaTeX
33074 \begin_inset CommandInset href
33077 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
33087 \begin_layout Plain Layout
33088 LaTeX-paquetes ! koma-script
33096 \begin_layout Bibliography
33097 \begin_inset CommandInset bibitem
33098 LatexCommand bibitem
33103 Documentación del paquete LaTeX
33106 \begin_inset CommandInset href
33109 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
33119 \begin_layout Plain Layout
33120 LaTeX-paquetes ! listings
33128 \begin_layout Bibliography
33129 \begin_inset CommandInset bibitem
33130 LatexCommand bibitem
33135 Documentación del paquete LaTeX
33138 \begin_inset CommandInset href
33141 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
33151 \begin_layout Plain Layout
33152 LaTeX-paquetes ! marginnote
33160 \begin_layout Bibliography
33161 \begin_inset CommandInset bibitem
33162 LatexCommand bibitem
33167 Página web del paquete LaTeX
33170 \begin_inset CommandInset href
33173 target "http://tug.org/PSTricks/"
33183 \begin_layout Plain Layout
33184 LaTeX-paquetes ! PSTricks
33192 \begin_layout Bibliography
33193 \begin_inset CommandInset bibitem
33194 LatexCommand bibitem
33199 Documentación del paquete LaTeX
33202 \begin_inset CommandInset href
33205 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
33215 \begin_layout Plain Layout
33216 LaTeX-paquetes ! sidecap
33224 \begin_layout Bibliography
33225 \begin_inset CommandInset bibitem
33226 LatexCommand bibitem
33232 \begin_inset CommandInset href
33235 target "http://wiki.lyx.org/LyX/NewInLyX16"
33239 sobre características nuevas para la versión
33242 \begin_inset space ~
33250 \begin_layout Standard
33251 \begin_inset CommandInset index_print
33252 LatexCommand printindex
33259 \begin_layout Standard
33260 \begin_inset FloatList figure
33267 \begin_layout Standard
33268 \begin_inset FloatList table
33275 \begin_layout Standard
33279 \begin_layout Plain Layout
33283 listof{algorithm}{Lista de algoritmos}
33289 \begin_inset Note Note
33292 \begin_layout Plain Layout
33294 \begin_inset space ~
33298 \begin_inset CommandInset ref
33300 reference "sub:Algoritmos-Flotantes"
33304 para una descripción.