#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/ \lyxformat 338 \begin_document \begin_header \textclass scrbook \begin_preamble % if pdflatex is used \usepackage{ifpdf} \ifpdf % set fonts for nicer pdf view \IfFileExists{lmodern.sty} {\usepackage{lmodern}}{} \fi % end if pdflatex is used % that links to image floats jumps % to the beginning of the float and % not to its caption \usepackage[figure]{hypcap} % provides caption formatting \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16] % provides commands to set caption % beside tables/images \usepackage{sidecap} \newcommand{\TabBesBeg}{% \let\MyTable\table \let\MyEndtable\endtable \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}} \newcommand{\TabBesEnd}{% \let\table\MyTable \let\endtable\MyEndtable} \newcommand{\FigBesBeg}{% \let\MyFigure\figure \let\MyEndfigure\endfigure \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}} \newcommand{\FigBesEnd}{% \let\figure\MyFigure \let\endfigure\MyEndfigure} % enables calculation of values, \usepackage{calc} % provides special table cell alignments \usepackage{dcolumn} % increase the bottom float placement fraction \renewcommand{\bottomfraction}{0.5} % avoids that floats are placed before their % corresponding section starts \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection} % speed up the longtable calculation \setcounter{LTchunksize}{100} % used for scaled and rotated boxes \@ifundefined{rotatebox}{\usepackage{graphicx}}{} % used for colored tables \@ifundefined{textcolor} {\usepackage{color}}{} \definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5} \definecolor{grisclaro}{gray}{0.8} % check for package colortbl % used for colored table cells \newboolean{colortbl} \IfFileExists{colortbl.sty} {\usepackage{colortbl} \setboolean{colortbl}{true}} {\setboolean{colortbl}{false}} % used for multirows \usepackage{multirow} %\renewcommand{\multirowsetup}{\centering} % used for book-style tables \usepackage{booktabs} % used to have extra space in table cells \@ifundefined{extrarowheight} {\usepackage{array}}{} \setlength{\extrarowheight}{2pt} % used for customized tables % --- \newcolumntype{M}[1] {>{\centering\hspace{0pt}}m{#1}} \newcolumntype{S}[2] {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}} \newcolumntype{K}[1] {>{\columncolor{#1}\hspace{0pt}}c} \newcolumntype{V}{!{\vrule width 1.5pt}} \newcolumntype{W}{!{\color{green}\vline}} % --- % the pages of the TOC are numbered roman % and a PDF-bookmark for the TOC is added \let\myTOC\tableofcontents \renewcommand\tableofcontents{% \frontmatter \pdfbookmark[1]{\contentsname}{} \myTOC \mainmatter } % insert additional vertical space of % 1.5 mm between footnotes \let\myFoot\footnote \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}} % number algorithm floats within chapters \numberwithin{algorithm}{chapter} % en español \floatname{algorithm}{Algoritmo} % redefine the greyed out note \renewenvironment{lyxgreyedout} {\textcolor{blue}\bgroup}{\egroup} % ------------------------------------ % used to check for needed LaTeX packages \usepackage{ifthen} % check for package arydshln % used for tables with dashed lines \newboolean{arydshln} \IfFileExists{arydshln.sty} {\usepackage{arydshln} \setboolean{arydshln}{true}} {\setboolean{arydshln}{false}} % check for package marginnote % used for margin notes \newboolean{marginnote} \IfFileExists{marginnote.sty} {\usepackage{marginnote} \let\marginpar\marginnote \setboolean{marginnote}{true}} {\setboolean{marginnote}{false}} % check for package sidecap % used for captions on the side \newboolean{sidecap} \IfFileExists{sidecap.sty} {\usepackage{sidecap} \let\marginpar\marginnote \setboolean{sidecap}{true}} {\setboolean{sidecap}{false}} % redefine the \LyX macro for PDF bookmarks \def\LyX{\texorpdfstring{% L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@} {LyX }} % to translate the listing label % para traducir la etiqueta listing \renewcommand{\lstlistingname}{Listado} \end_preamble \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove \language spanish \inputencoding auto \font_roman default \font_sans default \font_typewriter default \font_default_family default \font_sc false \font_osf false \font_sf_scale 100 \font_tt_scale 100 \graphics default \paperfontsize 12 \spacing single \use_hyperref true \pdf_title "Manual detallado de Figuras, Tablas, Flotantes, Notas, Cuadros y Archivos en LyX" \pdf_author "LyX Team, Uwe Stöhr, Spanish translation: Ignacio Garcia" \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxe" \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes" \pdf_bookmarks true \pdf_bookmarksnumbered true \pdf_bookmarksopen true \pdf_bookmarksopenlevel 1 \pdf_breaklinks false \pdf_pdfborder false \pdf_colorlinks true \pdf_backref false \pdf_pagebackref false \pdf_pdfusetitle false \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels" \papersize default \use_geometry false \use_amsmath 2 \use_esint 0 \cite_engine basic \use_bibtopic false \paperorientation portrait \secnumdepth 3 \tocdepth 3 \paragraph_separation skip \defskip medskip \quotes_language english \papercolumns 1 \papersides 2 \paperpagestyle default \bullet 1 1 34 -1 \bullet 2 2 35 -1 \bullet 3 2 7 -1 \tracking_changes false \output_changes false \author "" \author "" \end_header \begin_body \begin_layout Title Manual detallado de Figuras, Tablas, Flotantes, Notas, Cuadros y Archivos en LyX \end_layout \begin_layout Author por el Equipo LyX \begin_inset Foot status collapsed \begin_layout Plain Layout \noindent Si tienes comentarios o correcciones, por favor, escribe a la lista de correo de Documentación de LyX: \begin_inset CommandInset href LatexCommand href name "lyx-docs@lists.lyx.org" target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual" type "mailto:" \end_inset \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout autor original: Uwe Stöhr \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Traducción de: Ignacio García \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \family sans Versión 1.6svn \end_layout \begin_layout Standard \begin_inset CommandInset toc LatexCommand tableofcontents \end_inset \end_layout \begin_layout Standard \begin_inset Note Note status open \begin_layout Plain Layout Para exportar todas las partes de este documento a PDF, PS, o DVI, deben estar instalados los paquetes LaTeX \series bold arydshln \series default , \series bold colortbl \series default , \series bold marginnote \series default y \series bold sidecap \series default . Si no están instalados, también podrás exportar el documento, pero las secciones en que dichos paquetes son necesarios no aparecen en la salida. \end_layout \begin_layout Plain Layout La última versión en PDF de este documento puede encontrarse aquí: \series bold \begin_inset Newline newline \end_inset http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects \end_layout \end_inset \end_layout \begin_layout Chapter Figuras \begin_inset CommandInset label LatexCommand label name "cha:Figuras" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Gráficos|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Figuras \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section Diálogo de gráficos \begin_inset CommandInset label LatexCommand label name "sec:Diálogo-Gráficos" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras ! Diálogo de gráficos \end_layout \end_inset \end_layout \begin_layout Standard Para insertar una imagen en un documento, sitúa el cursor en el lugar del texto que desees y haz clic en el icono \begin_inset Graphics filename ../../images/dialog-show-new-inset_graphics.png scale 85 \end_inset o en el menú \family sans Insertar\SpecialChar \menuseparator Imagen \family default . Aparecerá un diálogo para escoger el archivo a cargar. La imagen aparecerá en el archivo de salida exactamente en la misma posición en la que la has colocado. \end_layout \begin_layout Standard El diálogo Gráficos puede lanzarse en cualquier momento haciendo clic-derecha sobre una imagen. Este diálogo tiene tres pestañas: \end_layout \begin_layout Description Gráficos Aquí puedes elegir tu archivo gráfico y ajustar separadamente su presentación en LyX y en la salida. En el apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unidades-disponibles-en" \end_inset se detallan las unidades disponibles para el tamaño del gráfico. \begin_inset Newline newline \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras ! Rotar \end_layout \end_inset Puedes girar los gráficos en el sentido de las agujas de reloj estableciendo un ángulo y un origen de rotación. La imagen también gira en LyX. \begin_inset Newline newline \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras ! Escalar \end_layout \end_inset Las imágenes se pueden escalar mediante un porcentaje o fijando explícitamente la altura y la anchura. Si fijas sólo la anchura o sólo la altura, la otra dimensión se establece automáticamente. Si fijas ambas dimensiones \family sans , \family default la imagen se adaptará a ellas, posiblemente distorsionada. Para evitar distorsión en la imagen marca la opción \family sans Mantener \begin_inset space ~ \end_inset proporción \family default . En ese caso la imagen será escalada de forma que su anchura y su altura no excedan de las dimensiones especificadas. \begin_inset Newline newline \end_inset Las imágenes se pueden abrir con un programa de tu elección pulsando el botón \family sans Editar \family default . Los programas visor y editor para cada formato de imagen se pueden establecer en la configuración de los formatos de archivo de las preferencias de LyX. \end_layout \begin_layout Description Recorte Alternativamente al escalado, es posible establecer las coordenadas de la imagen para ajustar su altura y anchura en la salida. Además, las coordenadas se pueden calcular automáticamente pinchando el botón \family sans Obtener \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset archivo \family default . El botón \family sans Recortar \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset cuadro \begin_inset space ~ \end_inset delimitador \family default imprimirá sólo la región de la imagen comprendida en las coordenadas introducid as. Normalmente no necesitarás preocuparte por esto y puedes ignorar esta solapa. \end_layout \begin_layout Description Opciones \begin_inset space ~ \end_inset extra En esta solapa puedes modificar la apariencia de la imagen en LyX, y poner la imagen como subfigura de una figura flotante con su propio título. Las subfiguras se explican en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Figuras-Flotantes" \end_inset . \begin_inset Newline newline \end_inset Los expertos en LaTeX pueden especificar aquí opciones LaTeX adicionales. \begin_inset Newline newline \end_inset La opción \family sans Modo \begin_inset space ~ \end_inset borrador \family default hace que en la salida se muestre sólo un marco con el tamaño de la imagen. \begin_inset Newline newline \end_inset La opción \family sans No \begin_inset space ~ \end_inset descomprimir \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset exportar \family default sólo afecta a los gráficos EPS comprimidos, p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset \emph on x.eps.gz \emph default . Si se usa esta opción, las imágenes no serán descomprimidas al exportar, puesto que LaTeX puede manejarlas como están. \begin_inset Newline newline \end_inset Los gráficos EPS comprimidos sirven para ahorrar espacio de disco si se utiliza PostScript como formato de salida, ver apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:PostScript" \end_inset . Para comprimir gráficos EPS, usa los siguientes comandos en un UNIX-shell o en consola de Windows: \begin_inset Newline newline \end_inset \series bold gzip x.eps \series default \begin_inset Newline newline \end_inset \series bold zgrep %%Bounding x.eps.gz > x.eps.bb \series default \begin_inset Newline newline \end_inset El segundo comando crea un archivo de cuadro delimitador \begin_inset Quotes eld \end_inset x.eps.bb \begin_inset Quotes erd \end_inset que necesita LaTeX para gráficos comprimidos. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Esto es un ejemplo de imagen en formato EPS \begin_inset Foot status collapsed \begin_layout Plain Layout Los formatos de imagen se explica en el sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Formatos-de-imagen" \end_inset . \end_layout \end_inset en un párrafo separado centrado horizontalmente: \end_layout \begin_layout Standard \align center \begin_inset Graphics filename ../clipart/mobius.eps scale 70 clip rotateOrigin center \end_inset \end_layout \begin_layout Standard Esta es la misma imagen pero en modo borrador: \end_layout \begin_layout Standard \align center \begin_inset Graphics filename ../clipart/mobius.eps scale 70 draft rotateOrigin center \end_inset \end_layout \begin_layout Section Figuras flotantes \begin_inset CommandInset label LatexCommand label name "sec:Figuras-Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Figuras \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras ! Flotantes \end_layout \end_inset \end_layout \begin_layout Standard Para información general sobre flotantes, echa una ojeada a la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Introducción-Flotantes" \end_inset . \end_layout \begin_layout Standard El botón \begin_inset Graphics filename ../../images/float-insert_figure.png scale 85 \end_inset y el menú \family sans Insertar\SpecialChar \menuseparator Flotante\SpecialChar \menuseparator Figura \family default insertan un flotante con la etiqueta «Figura #:» (# es el número actual). La imagen se puede insertar sobre la leyenda, como en la figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:kill-plat" \end_inset , o bajo ella, como en la figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:escher" \end_inset . Más información sobre ubicación de leyendas en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Colocación-de-leyendas" \end_inset . \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/platypus.eps width 50col% rotateOrigin center \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:kill-plat" \end_inset Un platypus muy distorsionado en un flotante. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:escher" \end_inset M.C. Escher en ácido. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/escher-lsd.eps scale 80 rotateOrigin center \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Index status collapsed \begin_layout Plain Layout Referencias ! a figuras \end_layout \end_inset Las figuras \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:kill-plat" \end_inset y \begin_inset CommandInset ref LatexCommand ref reference "fig:escher" \end_inset son ejemplos de figuras con referencias cruzadas. Las figuras pueden tener referencias cruzadas en el documento mediante referencia a su etiqueta. Para hacerlo inserta una etiqueta en la leyenda usando el menú \family sans Insertar\SpecialChar \menuseparator Etiqueta \family default o el botón \begin_inset Graphics filename ../../images/label-insert.png scale 85 \end_inset . Ahora puedes referirte a la etiqueta usando el menú \family sans Insertar\SpecialChar \menuseparator Referencia \begin_inset space ~ \end_inset cruzada \family default o el botón \begin_inset Graphics filename ../../images/dialog-show-new-inset_ref.png scale 85 \end_inset . Es importante emplear referencias a flotantes, mejor que alusiones vagas como «la figura de arriba», porque como LaTeX recolocará los flotantes en el documento final, podría no quedar «arriba» precisamente. \begin_inset Newline newline \end_inset Las referencias se explican con detalle en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencias-a-Flotantes" \end_inset . \end_layout \begin_layout Standard Normalmente sólo se inserta una imagen en un flotante, pero es posible que en alguna ocasión queramos poner dos imágenes cada una con su leyenda. Esto se puede hacer insertando imágenes flotantes dentro de un flotante existente. La figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Dos-imágenes-distorsionadas" \end_inset es un ejemplo de figura flotante con dos imágenes adosadas. También se pueden poner una sobre otra. Las subfiguras son \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Estructura-indefinible" \end_inset y \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Platypus" \end_inset . \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset space \hfill{} \end_inset \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Estructura-indefinible" \end_inset Estructura indefinible \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/escher-lsd.eps width 45col% \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Platypus" \end_inset Platypus \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 60 width 45col% \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Dos-imágenes-distorsionadas" \end_inset Dos imágenes distorsionadas. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section Formatos de imagen \begin_inset CommandInset label LatexCommand label name "sec:Formatos-de-imagen" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Formatos de imagen \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras ! Formatos de imagen \end_layout \end_inset \end_layout \begin_layout Standard Puedes insertar imágenes en cualquier formato. Pero como se explica en el apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Formatos-de-Archivos-de-Salida" \end_inset , cada formato de archivo del documento de salida permite sólo ciertos formatos de archivo de imagen. Por eso LyX usa el programa \family sans Imagemagick \family default en segundo plano para convertir imágenes al formato adecuado. Para aumentar el rendimiento evitando estas conversiones, puedes usar sólo los formatos de imagen admitidos en el formato de archivo de salida. Los formatos de salida se explican en el apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Formatos-de-Archivos-de-Salida" \end_inset . \end_layout \begin_layout Standard Como en el caso de las fuentes, hay dos tipos de formatos de imagen: \end_layout \begin_layout Description Imágenes \begin_inset space ~ \end_inset mapa \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset bits \begin_inset space ~ \end_inset (Bitmap) formadas por mapas de puntos (píxeles), generalmente comprimidos. Por tanto no son totalmente escalables y se ven pixeladas a valores altos de zoom. Formatos de imágenes en bitmap bien conocidos son «Graphics Interchange Format» (GIF, extensión «.gif») \begin_inset Index status collapsed \begin_layout Plain Layout GIF|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de imagen \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , «Portable Network Graphics» (PNG, extensión «.png») \begin_inset Index status collapsed \begin_layout Plain Layout PNG|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de imagen \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , y «Joint Photographic Experts Group» (JPG, extensión «.jpg» o «.jpeg») \begin_inset Index status collapsed \begin_layout Plain Layout JPG|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de imagen \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset . \end_layout \begin_layout Description Imágenes \begin_inset space ~ \end_inset vectoriales se generan mediante una descripción de una serie de trazos (vectores ) y por tanto pueden escalarse a cualquier tamaño sin pérdidas. La posibilidad de escalado hace falta para crear presentaciones, porque éstas siempre son escaladas por el proyector. El escalado también es útil en los documentos en línea para permitir el zoom en diagramas. \begin_inset Newline newline \end_inset Formatos de imagen escalables pueden ser «Scalable Vector Graphics» (SVG, extensión «.svg») \begin_inset Index status collapsed \begin_layout Plain Layout SVG|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de imagen \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , «Encapsulated PostScript» (EPS, extensión «.eps») \begin_inset Index status collapsed \begin_layout Plain Layout EPS|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de imagen \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , «Portable Document Format» (PDF, extensión «.pdf») \begin_inset Index status collapsed \begin_layout Plain Layout PDF|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de imagen \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset , y «Windows Metafile» (WMF, extensión «.wmf») \begin_inset Index status collapsed \begin_layout Plain Layout WMF|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de imagen \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset . Escribimos «pueden ser» porque se puede convertir cualquier imagen bitmap a PDF o EPS y el resultado será todavía una imagen bitmap. En estos casos sólo se añade una cabecera con las propiedades de la imagen a la imagen original. \begin_inset Foot status collapsed \begin_layout Plain Layout En el caso de PDF, además se comprime la imagen original. \end_layout \end_inset Por ejemplo, los archivos PDF generados por \family sans Adobe Photoshop \family default son imágenes bitmap. \end_layout \begin_layout Standard Normalmente no es posible convertir una imagen bitmap a escalable pero sí al contrario. Sólo los formatos de imagen PDF y EPS pueden empotrarse directamente en archivos de salida PDF y PostScript, respectivamente. Las imágenes SVG y WMF son recalculadas a bitmaps cuando se genera el archivo de salida porque actualmente no hay convertidores adecuados WMF/SVG \begin_inset Formula $\to$ \end_inset PDF/EPS. \end_layout \begin_layout Chapter Tablas \begin_inset CommandInset label LatexCommand label name "cha:Tablas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas \end_layout \end_inset \end_layout \begin_layout Section Introducción \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Introducción \end_layout \end_inset \end_layout \begin_layout Standard Puede insertarse una tabla mediante el botón \begin_inset Graphics filename ../../images/tabular-insert.png scale 85 \end_inset o el menú \family sans Insertar\SpecialChar \menuseparator Tabla \family default . El botón ofrece una selección gráfica: moviendo el puntero se puede definir el número de filas y de columnas de la tabla. Si usas el menú aparece un diálogo en el que se pide el número de filas y columnas. \begin_inset Newline newline \end_inset Por omisión, la tabla tiene líneas que enmarcan cada celda y la primera fila aparece separada por una línea doble: la línea inferior de la primera fila y la línea superior de la segunda fila. Ejemplo de tabla: \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none B \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \size normal \noun off \color none \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none C \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \begin_layout Section Diálogo de tablas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Diálogo \end_layout \end_inset \end_layout \begin_layout Standard Una tabla se puede cambiar mediante el cuadro de diálogo que aparece al pinchar sobre ella con el botón derecho del ratón. Se pueden ajustar los parámetros de la celda y fila/columna en la que se encuentra el cursor. La mayoría de opciones también trabajan sobre una selección de celdas, de filas o de columnas. Observa que hay que diferenciar entre seleccionar una celda o seleccionar su \emph on contenido \emph default . En el cuadro de diálogo aparecen las siguientes solapas: \end_layout \begin_layout Description \family sans Configuración \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset tabla \family default Aquí puedes establecer la alineación horizontal y la anchura de la columna actual. Una vez puesta la anchura puedes ajustar también el alineamiento vertical. Una anchura determinada permite tener saltos de línea y distintos párrafos de texto, ver sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Líneas-Múltiples-en" \end_inset . Si no estableces anchura, la columna será tan ancha como el contenido de la celda más ancha. \begin_inset Newline newline \end_inset Además, puedes marcar una o más celdas de una fila como una celda multicolumna, ver sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Multicolumnas" \end_inset . \begin_inset Newline newline \end_inset Las casillas de giro rotan la celda actual, una selección o toda la tabla 90º en el sentido de las agujas del reloj. La rotación no se ve en LyX, sí en la salida. \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default no todos los visores DVI pueden mostrar rotaciones. \end_layout \end_inset \begin_inset Newline newline \end_inset También es posible introducir argumentos LaTeX necesarios para formatos especiales, véanse las secciones \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Cálculos-en-Multicolumnas" \end_inset y \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Coloreadas" \end_inset . \end_layout \begin_layout Description \family sans Bordes \family default En esta solapa puedes añadir y quitar bordes para la fila/columna actual. \end_layout \begin_layout Description \family sans Tabla \begin_inset space ~ \end_inset larga \family default Para hacer \emph on tablas largas \emph default que pueden extenderse por varias páginas. La sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Largas" \end_inset describe su uso en detalle. \end_layout \begin_layout Standard Si la barra de herramientas de tabla está abierta, puedes mover el cursor con las teclas de flecha de celda en celda y la propiedad de la celda actual aparecerá inmediatamente en el diálogo. \end_layout \begin_layout Section Barra de herramientas de tabla \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Barra de herramientas \end_layout \end_inset \end_layout \begin_layout Standard La barra de herramientas de tabla es una alternativa al cuadro de diálogo para cambiar las tablas de manera más rápida. Normalmente debería aparecer en la parte inferior de la ventana principal de LyX cuando el cursor está dentro de una tabla. En cualquier momento se puede presentar esta barra pinchando con el botón derecho del ratón en cualquier punto de la barra principal de menú. \end_layout \begin_layout Standard La barra de herramientas tiene los siguientes iconos: \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_append-row.png \end_inset añade una fila bajo la celda actual o selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_append-column.png \end_inset añade una columna a la derecha de la celda actual o selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_delete-row.png \end_inset borra la fila actual o selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_delete-column.png \end_inset borra la columna actual o selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_toggle-line-top.png \end_inset añade una línea sobre la celda/fila actual o la selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_toggle-line-bottom.png \end_inset añade una línea bajo la celda/fila actual o la selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_toggle-line-left.png \end_inset añade una línea a la izquierda de la celda/fila actual o la selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_toggle-line-right.png \end_inset añade una línea a la derecha de la celda/fila actual o la selección \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_set-all-lines.png \end_inset añade líneas alrededor de la celda actual o seleccionadas (si la celda actual no es multicolumna esto afecta también a la fila y a la columna) \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_unset-all-lines.png \end_inset borra todas las líneas de la celda o celdas seleccionadas (si la celda actual no es multicolumna esto afecta también a la fila y a la columna) \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_align-left.png \end_inset alinea a la izquierda el contenido de la celda/columna \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_align-center.png \end_inset centra el contenido de la celda/columna horizontalmente \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_align-right.png \end_inset alinea a la derecha el contenido de la celda/columna \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_valign-top.png \end_inset alinea arriba el contenido de la celda \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_valign-middle.png \end_inset centra verticalmente el contenido de la celda \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_valign-bottom.png \end_inset alinea abajo el contenido de la celda \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_set-rotate-cell.png \end_inset gira la celda o selección 90° como las agujas de reloj \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_set-rotate-tabular.png \end_inset gira toda la tabla 90° como agujas del reloj \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \begin_inset Graphics filename ../../images/tabular-feature_multicolumn.png \end_inset establece la celda actual o selección como multicolumna \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default En la salida se emplea la alineación vertical de la primera celda de una fila para todas las celdas restantes de la fila. \end_layout \end_inset \end_layout \begin_layout Section Menú Editar Tabla \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Editar \end_layout \end_inset \end_layout \begin_layout Standard Además del diálogo y la barra de herramientas, el menú \family sans Editar\SpecialChar \menuseparator Tabla \family default permite añadir y borrar bordes para la fila/columna actual y establecer la selección como multicolumna. El menú sólo está disponible si el cursor está en la tabla. \end_layout \begin_layout Section Tablas flotantes \begin_inset CommandInset label LatexCommand label name "sec:Tablas-Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Tablas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Flotantes \end_layout \end_inset \end_layout \begin_layout Standard Para una explicación general sobre flotantes, echa un vistazo a la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Introducción-Flotantes" \end_inset . \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:una tabla flotante" \end_inset Una tabla flotante. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none Pepe \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none Mari \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none Teo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \begin_inset Formula $\int x^{2}dx$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \begin_inset Formula $\left[\begin{array}{cc} a & b\\ c & d\end{array}\right]$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none \begin_inset Formula $1+1=2$ \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Las tablas flotantes pueden insertarse con el menú \family sans Insertar\SpecialChar \menuseparator Flotante\SpecialChar \menuseparator Tabla \family default o con el botón \begin_inset Graphics filename ../../images/float-insert_table.png scale 85 \end_inset . \end_layout \begin_layout Standard El flotante se muestra como un cuadro desplegable con la etiqueta «Tabla \begin_inset space ~ \end_inset #:» (# es el número actual). El texto que sigue a dicha etiqueta es la leyenda de la tabla. Para insertar una tabla en el flotante se sitúa el cursor al final del texto del encabezado y se pulsa \family sans Retorno \family default . La leyenda se imprime encima de la tabla. \end_layout \begin_layout Standard La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:una tabla flotante" \end_inset es un ejemplo de tabla flotante. \end_layout \begin_layout Standard Lo habitual es poner la leyenda sobre la tabla, lo que desafortunadamente no es soportado en las clases estándar de LaTeX. Esto significa que si estás usando las clases de documento \family sans article \family default , \family sans book \family default , \family sans letter \family default o \family sans report \family default no habrá espacio entre la leyenda y la tabla. Para añadir un espacio entre ellos hay que poner en el preámbulo LaTeX del documento la siguiente opción al comando del paquete LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! caption \end_layout \end_inset : \begin_inset Foot status collapsed \begin_layout Plain Layout Para más información ve a la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Colocación-de-leyendas" \end_inset . \end_layout \end_inset \end_layout \begin_layout Standard \series bold tableposition=top \end_layout \begin_layout Standard El formato de la leyenda se puede controlar mediante el paquete de LaTeX \series bold caption \series default como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Formato-de-leyendas" \end_inset . \end_layout \begin_layout Standard \begin_inset Index status collapsed \begin_layout Plain Layout Referencias ! a tablas \end_layout \end_inset Las tablas pueden tener referencias cruzadas en el texto referenciando su etiqueta. Para hacerlo inserta una etiqueta en la leyenda con el menú \family sans Insertar\SpecialChar \menuseparator Etiqueta \family default o con el botón \begin_inset Graphics filename ../../images/label-insert.png scale 85 \end_inset . Ahora puedes referenciar la etiqueta con el menú \family sans Insertar\SpecialChar \menuseparator Referencia \begin_inset space ~ \end_inset cruzada \family default o con el botón \begin_inset Graphics filename ../../images/dialog-show-new-inset_ref.png scale 85 \end_inset . \begin_inset Newline newline \end_inset Las referencias se explican con detalle en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencias-a-Flotantes" \end_inset . \end_layout \begin_layout Section Tablas largas \begin_inset CommandInset label LatexCommand label name "sec:Tablas-Largas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Largas \end_layout \end_inset \end_layout \begin_layout Standard Si la tabla es demasiado larga para una página, puedes usar la opción \family sans Usar \begin_inset space ~ \end_inset tabla \begin_inset space ~ \end_inset larga \family default en la solapa \family sans Tabla \begin_inset space ~ \end_inset larga \family default del diálogo de tablas, para repartir automáticamente la tabla en varias páginas. Al hacerlo se habilitan diversos botones opcionales en los que puedes definir: \end_layout \begin_layout Description \family sans Encabezado: \family default La fila actual y todas las de arriba, que no tienen ninguna opción especial definida, se definen como filas de encabezado para todas las páginas de la tabla, excepto para la primera página si \family sans Primer \begin_inset space ~ \end_inset encabezado \family default está definido. Este se denomina encabezado principal. \end_layout \begin_layout Description \family sans Primer \begin_inset space ~ \end_inset encabezado: \family default La fila actual y superiores, que no tienen ninguna opción especial definida, se definen como filas cabeceras de la primera página de la tabla. \end_layout \begin_layout Description \family sans Pie: \family default La fila actual y todas las siguientes, que no tienen ninguna opción especial definida, se definen como filas de pie de todas las páginas de la tabla, excepto para la última página si se define \family sans Último \begin_inset space ~ \end_inset pie. \end_layout \begin_layout Description \family sans Último \begin_inset space ~ \end_inset pie: L \family default a fila actual y siguientes, que no tienen ninguna opción especial definida, se definen como filas de pie de la última página de la tabla. \end_layout \begin_layout Standard También se puede especificar en qué fila se ha de cortar la tabla. Si se establece más de una opción en la misma fila, habría que tener en cuenta que sólo la primera de ellas se usa en la fila dada. Las otras quedarán definidas como \emph on vacías \emph default . En este contexto, primera significa primero en este orden: \family sans Encabezado, Primer \begin_inset space ~ \end_inset encabezado \family default , \family sans Pie, Último \begin_inset space ~ \end_inset pie \family default . La siguiente tabla muestra cómo funciona: \end_layout \begin_layout Standard \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \series bold Ejemplo de lista telefónica (ignore los nombres) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOMBRE \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Ejemplo de lista telefónica \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOMBRE \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout continúa en la página siguiente \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 999 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout fin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \begin_inset ERT status open \begin_layout Plain Layout \backslash addtocounter{table}{-1} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Para comprender el uso de este comando, lee al final de la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Leyendas-en-Tablas" \end_inset la primera nota resaltada en gris. \end_layout \end_inset \end_layout \begin_layout Subsection Notas al pie en tablas largas \begin_inset CommandInset label LatexCommand label name "sub:Notas-al-pie-en-Tablas-Largas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Notas al pie \end_layout \end_inset \end_layout \begin_layout Standard Se pueden insertar notas al pie en cada celda de una tabla larga. Las notas se muestran en la parte inferior de la página en la que esté la celda con la nota. La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:DifLeyendas" \end_inset tiene un ejemplo de nota al pie. \end_layout \begin_layout Subsection Alineación de tablas largas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Alineación \end_layout \end_inset \end_layout \begin_layout Standard Las tablas largas se centran por omisión. Al contrario de la alineación de filas y columnas, la alineación de una tabla no se puede cambiar por ahora en el diálogo de tablas. Para cambiar la alineación de tablas largas debes cambiar el valor de las longitudes \series bold \backslash LTleft \series default y \series bold \backslash LTright \series default insertando la línea siguiente en código TeX antes de la correspondiente tabla larga: \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash LTleft}{valor} \end_layout \begin_layout Standard donde el valor puede tener cualquiera de las unidades listadas en el cuadro \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Unidades" \end_inset . \series bold \backslash LTlent \series default controla la distancia entre el borde izquierdo de la página y la tabla. \series bold \backslash LTright \series default la distancia desde el lado derecho. El valor predeterminado para ambas longitudes es \series bold \backslash fill \series default , que en este caso es lo mismo que un relleno horizontal en LyX. \end_layout \begin_layout Standard La siguiente tabla larga se ha alineado a la izquierda poniendo \series bold \backslash LTleft \series default 0 pt. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTleft}{0pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTleft}{ \backslash fill} \end_layout \end_inset \end_layout \begin_layout Subsection Leyendas en tablas largas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Leyendas \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sub:Leyendas-en-Tablas" \end_inset \end_layout \begin_layout Standard Una tabla larga no se puede poner flotante porque los flotantes sólo pueden estar en una página, aunque el entorno leyendas de flotantes sí puede usarse para tablas largas. \end_layout \begin_layout Standard LyX todavía no soporta totalmente leyendas en tablas largas, de modo que hay que crearlos de la sigiente forma: \end_layout \begin_layout Enumerate Crea una tabla larga. \end_layout \begin_layout Enumerate Marca la primera fila y deshabilita su línea superior. \end_layout \begin_layout Enumerate Inserta una leyenda con el menú \family sans Insertar\SpecialChar \menuseparator Leyenda \family default en la primera celda. \begin_inset Newline newline \end_inset También puedes añadir un \family sans título breve \family default para la leyenda . \end_layout \begin_layout Enumerate Inserta un « \series bold \backslash \backslash % \series default » en código TeX detrás de la leyenda. \end_layout \begin_layout Standard En la Lista de tablas aparecerá el título breve en vez del título completo. El « \series bold \backslash \backslash % \series default » detrás de la leyenda elimina las líneas verticales entre las siguientes celdas de la fila. Ahora, la primera fila de la tabla es sólo una fila postiza para la leyenda, la tabla real comienza en la segunda fila. \end_layout \begin_layout Standard He aquí una pequeña tabla larga para mostrar cómo funciona: \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Tabla larga con leyenda \begin_inset OptArg status open \begin_layout Plain Layout Tabla larga \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota \series default : El número de la tabla se incrementa para cada tabla larga, aunque no pongas leyenda en alguna de ellas. Por esto podría suceder que, p. \begin_inset space \thinspace{} \end_inset e., la tabla \begin_inset space ~ \end_inset 2.4 siga a la tabla \begin_inset space ~ \end_inset 2.1 en la lista de tablas debido a que hay dos tablas largas sin leyenda. Para evitarlo, añade detrás de cada tabla larga sin leyenda este comando en código TeX: \end_layout \begin_layout Plain Layout \series bold \backslash addtocounter{table}{-1} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Si utilizas el paquete LaTeX \series bold hyperref \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! hyperref \end_layout \end_inset para enlazar referencias cruzadas en la salida, los enlaces a tablas largas llevan siempre al principio del documento. \end_layout \end_inset \end_layout \begin_layout Subsubsection Referencias a tablas largas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Referencias a \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Tabla larga referenciada \begin_inset CommandInset label LatexCommand label name "tab:RefEjemplo" \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sad \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \end_layout \begin_layout Standard Para referenciar una tabla larga, inserta una etiqueta en la leyenda. Observa que tienes que añadir el prefijo « \emph on tab \emph default :» manualmente en el campo de etiqueta. \end_layout \begin_layout Standard Esto es una referencia a la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:RefEjemplo" \end_inset . \end_layout \begin_layout Standard El formato de la leyenda puede configurarse junto con todos las demás leyendas del documento mediante el paquete LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! caption \end_layout \end_inset , véase sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Formato-de-leyendas" \end_inset . \end_layout \begin_layout Subsubsection Anchura de la leyenda \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Anchura de la leyenda \end_layout \end_inset \end_layout \begin_layout Standard La anchura máxima se define por la longitud \series bold \backslash LTcapwidth \series default . Por omisión es 4 \begin_inset space \thinspace{} \end_inset in (4 \begin_inset space ~ \end_inset pulgadas). Para cambiarla añade el siguiente comando al preámbulo o en código TeX en el documento antes de la tabla larga a la que afecta \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash LTcapwidth}{anchura} \end_layout \begin_layout Standard donde la anchura puede ser una de las unidades listadas en el apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unidades-disponibles-en" \end_inset . \end_layout \begin_layout Standard Las tablas siguientes muestran la diferencia: \end_layout \begin_layout Standard \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Leyenda larga completa con anchura predeterminada leyenda larga completa con anchura predeterminada \begin_inset OptArg status open \begin_layout Plain Layout Leyenda con anchura predeterminada \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sad \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTcapwidth}{5cm} \end_layout \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Leyenda larga completa con anchura de 5 \begin_inset space \thinspace{} \end_inset cm leyenda larga completa con anchura de 5 \begin_inset space \thinspace{} \end_inset cm leyenda larga completa con anchura de 5 \begin_inset space \thinspace{} \end_inset cm \begin_inset OptArg status open \begin_layout Plain Layout Leyenda con anchura \begin_inset space \thinspace{} \end_inset = \begin_inset space \thinspace{} \end_inset 5 \begin_inset space \thinspace{} \end_inset cm \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 5 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sad \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout asd \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash LTcapwidth}{4in} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status collapsed \begin_layout Plain Layout \series bold Nota: \series default Si se usa el paquete LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! caption \end_layout \end_inset , como en este documento, se usa la anchura de toda la página para el pie si utilizas el valor por omisión de 4 \begin_inset space \thinspace{} \end_inset in para \series bold \backslash LTcapwidth \series default . En este caso, para conseguir exactamente un pie de 4 \begin_inset space \thinspace{} \end_inset in, puedes poner un valor ligeramente diferente de 4.0 \begin_inset space \thinspace{} \end_inset in, p. \begin_inset space \thinspace{} \end_inset e. 3.99 \begin_inset space \thinspace{} \end_inset in, o el comando de LaTeX \series bold \backslash captionsetup{width=valor} \series default , suministrado por el paquete \series bold caption \series default . \end_layout \end_inset \end_layout \begin_layout Subsubsection Leyendas distintas para cada página \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Leyendas distintas para cada página \end_layout \end_inset \end_layout \begin_layout Standard Si otras leyendas debieran ser diferentes de la leyenda de la primera página, inserta una leyenda con un título breve no vacío en una fila postiza marcada como primer encabezado. La leyenda para las restantes páginas se inserta sin título breve en una fila postiza de leyenda marcada como primer encabezado. Si este encabezado no ha de incluir el número de tabla, usa el comando \end_layout \begin_layout Standard \series bold \backslash caption*{texto de la leyenda} \end_layout \begin_layout Standard en vez del recuadro de leyenda de LyX. La etiqueta para referenciar la tabla se inserta en el primer encabezado. La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:DifLeyendas" \end_inset es un ejemplo de tabla larga con encabezados distintos donde el segundo no incluye número de tabla. \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Ejemplo de lista telefónica \begin_inset CommandInset label LatexCommand label name "tab:DifLeyendas" \end_inset \begin_inset OptArg status collapsed \begin_layout Plain Layout Ejemplo de lista telefónica \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Ejemplo de lista telefónica (ignore los nombres) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOMBRE \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status open \begin_layout Plain Layout \backslash caption*{Continúa Ejemplo de lista telefónica} \backslash \backslash % \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Ejemplo de lista telefónica \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOMBRE \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout continúa en página siguiente \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \series default \begin_inset Foot status open \begin_layout Plain Layout Ejemplo de nota al pie \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 555 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \begin_inset Newpage newpage \end_inset \end_layout \begin_layout Section Particularidades de las tablas largas \end_layout \begin_layout Subsection Cálculos \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Cálculos \end_layout \end_inset \end_layout \begin_layout Standard LaTeX calcula la altura de las páginas con tabla y sus saltos de página utilizando los denominados «trozos», que son partes de la tabla presentes en la memoria de LaTeX. El valor predeterminado está establecido a sólo 20 filas. Si estás usando tablas largas con muchas páginas, la generación del documento puede hacerse muy lenta. No hay problema en aumentar el tamaño de los trozos hasta 100-1000 añadiendo el siguiente comando en el preámbulo del documento: \end_layout \begin_layout Standard \series bold \backslash setcounter{LTchunksize}{100} \end_layout \begin_layout Subsection Flotantes y tablas largas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Flotantes \end_layout \end_inset \end_layout \begin_layout Standard Podría haber problemas si un flotante aparece en la misma página donde comienza una tabla larga. Para evitarlo, añade el comando \series bold \backslash clearpage \series default en código TeX antes de la tabla. \end_layout \begin_layout Subsection Saltos de página forzados \begin_inset Index status collapsed \begin_layout Plain Layout Tablas largas ! Saltos de página forzados \end_layout \end_inset \end_layout \begin_layout Standard Por omisión, las tablas sólo se cortan entre filas. Si tienes una celda con líneas múltiples y necesitas un salto de página dentro de la celda, inserta el comando de nueva línea « \series bold \backslash \backslash \series default » en código TeX en el punto en que quieras cortar. Antes del comando « \series bold \backslash \backslash \series default » debes insertar en código TeX tantos caracteres « \series bold & \series default » como columnas siguientes de la tabla. \series bold & \series default es el carácter para separar celdas. Escribe en código TeX después de cada \series bold & \series default el contenido de la celda siguiente correspondiente y borra el contenido de esas celdas. \begin_inset Newline newline \end_inset Detrás del comando \series bold \backslash \backslash \series default , inserta tantos \series bold & \series default como columnas haya delante de la actual. En la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Saltos de Página Forzados" \end_inset la celda que debería cortarse está en la segunda columna seguida de otra columna. Por eso el siguiente comando se inserta en la celda en código TeX detrás de « \emph on Castelchiodato, \emph default »: \end_layout \begin_layout Standard \series bold & 111 \backslash \backslash \begin_inset Newline newline \end_inset & \end_layout \begin_layout Standard El «111» en la tercera columna de la fila se ha borrado. Si la fila más baja de la tabla larga no tiene, por alguna razón, línea superior pero quisieras una línea horizontal donde se corta la celda, usa este comando alternativo: \end_layout \begin_layout Standard \series bold & 111 \backslash \backslash \begin_inset Newline newline \end_inset \backslash hline & \end_layout \begin_layout Standard Cuando la celda a cortar está en la última columna, el comando \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash parfillskip}{0pt} \end_layout \begin_layout Standard debe insertarse en código TeX al principio de la celda. Esto garantiza que la parte de la celda que será mostrada en la nueva página aparecerá con toda su anchura. \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout Tabla con salto de página forzado en celda \begin_inset CommandInset label LatexCommand label name "tab:Saltos de Página Forzados" \end_inset \begin_inset OptArg status collapsed \begin_layout Plain Layout Tabla con salto de página forzado en celda \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Ejemplo de lista telefónica (ignore los nombres) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOMBRE \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash caption*{Continúa tabla con salto de página forzado en celda} \backslash \backslash % \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Ejemplo de lista telefónica \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold NOMBRE \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold TEL. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout continúa en página siguiente \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Annovi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Silvia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bertoli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Stefano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Bozzi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Walter \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cachia \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Cinquemani \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giusi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Colin \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Bernard \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Concli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Gianfranco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dal Bosco \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Carolina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Dalpiaz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Annamaria \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Feliciello \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Domenico \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Focarelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paola \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Galletti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oreste \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Gasparini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franca \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Lassini \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Giancarlo, 11. Fürst von Montecompatri, 11. Fürst von Sulmona und Vivaro, 10. Fürst von Rossano, 5. Herzog von Canemorte, 11. Herzog von Palombara, 5. Herzog von Castelchiodato, \begin_inset ERT status open \begin_layout Plain Layout & 111 \backslash \backslash \end_layout \begin_layout Plain Layout & \end_layout \end_inset 11. Herzog von Poggionativo, 11. Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11. Graf von Valinfreda, 11. Baron von Cropalati, 11. Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Luciano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Malfatti \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Valeriano \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Meneguzzo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Mezzadra \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Roberto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pirpamer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Erich \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Pochiesa \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111, 222 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Radina \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Claudio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Rizzardi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Paolo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Stuffer \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Oskar \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tacchelli \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Ugo \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Tezzele \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Margit \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Unterkalmsteiner \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Frieda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vieider \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Hilde \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Vigna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Jürgen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Weber \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Maurizio \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \series bold Winkler \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Franz \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 111 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \begin_layout Section Líneas múltiples en columnas y filas \end_layout \begin_layout Subsection Líneas múltiples en celdas \begin_inset CommandInset label LatexCommand label name "sub:Líneas-Múltiples-en" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Líneas múltiples en celdas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Saltos de línea \end_layout \end_inset \end_layout \begin_layout Standard \align center \begin_inset Float table placement H wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-múltiples" \end_inset Tabla con líneas múltiples en celda \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout líneas \begin_inset Newline linebreak \end_inset múltiples \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Al ajustar anchura fija en una columna se habilita la entrada de texto como párrafos con varias líneas y guionado. \end_layout \begin_layout Standard Para generar la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-múltiples" \end_inset , crea una tabla 3×3, marca la primera celda y clic-derecha sobre ella. En el diálogo que surge establece una anchura de 2.5 \begin_inset space \thinspace{} \end_inset cm y escoge centro en alineación vertical y horizontal. La alineación vertical se utiliza para todas las celdas de la fila. Como nuestro texto es menor de 2.5 \begin_inset space \thinspace{} \end_inset cm, sólo aparece una línea. Para poner dos añadimos un salto de línea justificado, (atajo \family sans Ctrl-Mayúsculas-Retorno \family default ). Si el texto es más ancho que la celda será automáticamente dividido en líneas. \end_layout \begin_layout Standard Si hay una palabra larga en una celda con anchura fija, LaTeX no puede cortarla con guión si es la primera entrada. Por eso hay que insertar algo para que dicha palabra no sea la primera entrada: añade un espacio horizontal de 0 \begin_inset space \thinspace{} \end_inset pt delante de la palabra. Como el espacio es 0 la salida no cambia. La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-y" \end_inset muestra el efecto. \end_layout \begin_layout Standard \begin_inset Float table placement b wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-y" \end_inset Tablas con y sin guión \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout celdaconpalabramuylarga \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset space \hspace{} \length 0pt \end_inset celdaconpalabramuylarga \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \end_layout \end_inset \begin_inset Newpage newpage \end_inset \end_layout \begin_layout Subsection Multicolumnas \begin_inset CommandInset label LatexCommand label name "sub:Multicolumnas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Multicolumnas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Multicolumnas \end_layout \end_inset \end_layout \begin_layout Subsubsection Fundamentos de multicolumna \end_layout \begin_layout Standard Para extender una celda sobre varias columnas, se marcan las celdas que se desee combinar y se usa el botón \begin_inset Graphics filename ../../images/tabular-feature_multicolumn.png scale 85 \end_inset , el menú \family sans Editar\SpecialChar \menuseparator Tabla\SpecialChar \menuseparator Multicolumna \family default , o clic-derecha sobre las celdas marcadas y se selecciona en el diálogo, bajo la solapa \family sans Configuración \family default , la casilla Multicolumna. \end_layout \begin_layout Standard Las multicolumnas tienen su propia configuración de celdas. Esto es, los cambios de bordes, alineación y anchura sólo afectan a la multicolumna. Aquí hay un ejemplo de tabla con una multicolumna en la primera fila y otra en la última fila sin borde superior: \end_layout \begin_layout Standard \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout abc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout def ghi \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout jkl \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family roman \series medium \shape up \size normal \emph off \bar no \noun off \color none A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout B \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout C \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout D \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \end_inset \end_layout \begin_layout Subsubsection Cálculos en multicolumnas \begin_inset CommandInset label LatexCommand label name "sub:Cálculos-en-Multicolumnas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Multicolumnas ! Cálculos \end_layout \end_inset \end_layout \begin_layout Standard LyX soporta multicolumnas directamente, pero hay que prestar atención a la anchura de celda de las columnas combinadas en la celda multicolumna. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-centrado" \end_inset Tabla con texto centrado en multicolumna sobre dos columnas que tienen exactamen te la mitad de anchura que la celda multicolumna \begin_inset OptArg status collapsed \begin_layout Plain Layout Tabla multicolumna perfecta \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout multicolumna línea múltiple \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Por ejemplo, para crear la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-centrado" \end_inset , marca las dos primeras celdas en la primera fila de una tabla 3×3 y haz clic-derecha. En el diálogo marca \emph on multicolumna \emph default , \emph on alineación centro \emph default y una anchura de 2.5 \begin_inset space \thinspace{} \end_inset cm. Las columnas combinadas deberían tener exactamente la mitad de la anchura de la celda multicolumna, así que deberías ajustar 1.25 \begin_inset space \thinspace{} \end_inset cm para la primera columna. La segunda columna tendrá entonces automáticamente 1.25 \begin_inset space \thinspace{} \end_inset cm de anchura. Para la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-sin-mitad" \end_inset se ha procedido de la siguiente manera: \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-sin-mitad" \end_inset Tabla en la que las columnas combinadas no tienen exactamente la mitad de anchura que la celda multicolumna \begin_inset OptArg status open \begin_layout Plain Layout Tabla multicolumna imperfecta \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout multicolumna línea múltiple \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Se ve que la primera columna no tiene la mitad de ancho que la celda multicolumn a, es un poco mayor. La razón es que la anchura dada para una celda \begin_inset Formula $W_{g}$ \end_inset no es su anchura total \begin_inset Formula $W_{\mathrm{tot}}$ \end_inset porque una celda es siempre algo mayor que la anchura dada. El apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref reference "cha:Explicación-de-la-Ecuación" \end_inset lo explica con detalle. \end_layout \begin_layout Standard La anchura dada necesaria, \begin_inset Formula $W_{g\, n}$ \end_inset para combinar \emph on n \emph default columnas puede calcularse de manera que cada columna tenga una anchura total de \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$ \end_inset : \begin_inset Formula \begin{equation} W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation} \end_inset \end_layout \begin_layout Standard En nuestro caso tenemos \begin_inset Formula $n=2$ \end_inset , \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$ \end_inset \begin_inset space \thinspace{} \end_inset cm y los valores predeterminados para longitudes, así la ecuación \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "eq:Wgn" \end_inset queda \begin_inset Formula \begin{equation} W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation} \end_inset \end_layout \begin_layout Standard Para habilitar cálculos en LaTeX, debe cargarse en el preámbulo el paquete \series bold calc \series default con la línea \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! calc \end_layout \end_inset \end_layout \begin_layout Standard \series bold \backslash usepackage{calc} \end_layout \begin_layout Standard LyX no permite calcular longitudes en el campo Ancho del cuadro de diálogo. Por tanto hay que insertar un argumento LaTeX en el diálogo. He aquí un repaso de los argumentos: \end_layout \begin_layout Itemize \series bold p{ancho} \series default crea celdas con anchura fija, el texto alineado arriba \end_layout \begin_layout Itemize \series bold m{ancho} \series default crea celdas con anchura fija, el texto con alineación vertical centrada \end_layout \begin_layout Itemize \series bold b{ancho} \series default crea celdas con anchura fija, el texto alineado abajo \end_layout \begin_layout Standard Al introducir un argumento LaTeX, todas las propiedades de celda puestas en el diálogo se ignoran. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Debido a un error, LyX muestra de todas formas estas propiedades. \end_layout \end_inset \end_layout \begin_layout Standard El comando \series bold \backslash centering \series default centra horizontalmente el texto. Puedes entonces introducir el siguiente argumento de LaTeX para la primera columna extendida: \end_layout \begin_layout Standard \series bold >{ \backslash centering}m{1.25cm-6.2pt} \end_layout \begin_layout Standard El comando \series bold >{ } \series default significa que los comandos entre llaves se aplican antes de crear la celda. \end_layout \begin_layout Standard Aunque hemos escogido alineación centrada para el texto de la celda multicolumna , aún está alineado a la izquierda. Esto se debe a que LyX sólo aplica alineado a columnas simples. Así que para multicolumnas hemos de usar el argumento de LaTeX \end_layout \begin_layout Standard \series bold >{ \backslash centering}m{2.5cm} \end_layout \begin_layout Subsection Multifilas \begin_inset Index status collapsed \begin_layout Plain Layout Multifilas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Multifilas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! multirow \end_layout \end_inset \end_layout \begin_layout Standard A diferencia de multicolumnas, LyX aún no soporta multifilas por lo que hace falta un poco de código TeX. Hay que cargar el paquete de LaTeX \series bold multirow \series default en el preámbulo del documento con el comando \end_layout \begin_layout Standard \series bold \backslash usepackage{multirow} \end_layout \begin_layout Standard Las multifilas se crean con el comando \end_layout \begin_layout Standard \series bold \backslash multirow{número de filas}{ancho de celda}{entrada de celda} \end_layout \begin_layout Standard Para crear la siguiente tabla: \end_layout \begin_layout Standard \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash multirowsetup}{ \backslash centering} \end_layout \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash multirow{2}{2.5cm}{ \end_layout \end_inset entrada multifila \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash multirowsetup}{ \backslash raggedright} \end_layout \end_inset \end_layout \begin_layout Standard crea una tabla 3×3. Para quitar la línea sobre la última celda en la primera columna, se marca la celda como multicolumna y se quita el borde superior. Ahora se crea la multifila en la segunda fila de la primera columna insertando ahí el comando \end_layout \begin_layout Standard \series bold \backslash multirow{2}{2.5cm}{ \end_layout \begin_layout Standard en código TeX. Según los parámetros del comando la multifila se expande a dos filas y tiene de ancho 2.5 \begin_inset space \thinspace{} \end_inset cm. El contenido de la celda multifila sigue fuera del cuadro de código TeX y el comando finaliza con llave derecha \series bold } \series default en otro cuadro de código TeX tras el texto. \end_layout \begin_layout Standard \series bold \backslash multirow \series default alinea su contenido a la izquierda por omisión. Para cambiarlo renombra el comando \series bold \backslash multirowsetup \series default con el comando \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash multirowsetup}{ \backslash centering} \end_layout \begin_layout Standard en el preámbulo del documento. Entonces se centran todas las entradas de celdas multifila en el documento. Si sólo queremos centrar en algunas tablas, se puede renombrar el comando en código TeX justo antes de la tabla en lugar de en el preámbulo. Si el texto debe estar alineado a la derecha, reemplaza \series bold \backslash centering \series default por \series bold \backslash raggedleft \series default . Para volver a alineado a la izquierda usa \series bold \backslash raggedright \series default . \end_layout \begin_layout Section Tablas formales \begin_inset CommandInset label LatexCommand label name "sec:Tablas-Formales" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas Formales \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Estilo formal \end_layout \end_inset \end_layout \begin_layout Standard En los libros, las tablas se suelen presentar en un formato como el de la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Ejemplo-tabla-formal" \end_inset . Se denominan tablas \emph on formales \emph default . Para hacer tablas con este diseño, elige \family sans Estilo \family default \begin_inset space ~ \end_inset \family sans Formal \family default en la solapa \family sans Bordes \family default del cuadro de diálogo de tablas. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Ejemplo-tabla-formal" \end_inset Ejemplo de tabla formal \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout System \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Medipix \begin_inset Formula $\,$ \end_inset 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Medipix \begin_inset Formula $\,$ \end_inset 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule(r){2-2} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule(l){3-4} \end_layout \end_inset Detector thickness [µm] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 700 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Edge angle [°] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3.55 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2.71 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 7.99 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Spatial resolution [µm] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4.26 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.17 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.56 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout MTF at \begin_inset Formula $f_{\mathrm{max}}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.53 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.37 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.39 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule(l{10pt}){1-1} \end_layout \end_inset LSF-spatial resolution \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout in µm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 129.7 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 52.75 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 50.78 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout in % of pixel size \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 76.3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 95.9 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 92.3 \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Se puede añadir espacio adicional a las filas de la tabla mediante los botones correspondientes que se encuentran en la solapa \family sans Bordes \family default del diálogo \family sans Configuración \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset tabla \family default , como se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Espacio-adicional" \end_inset \end_layout \begin_layout Standard A diferencia de las tablas normales, las tablas formales no tienen líneas verticales. Las líneas horizontales se pueden poner o no como en las tablas normales, pero en la salida se mostrarán con distinto grosor: \begin_inset Newline newline \end_inset Las líneas primera y última tienen un grosor predeterminado de 0.08 \begin_inset space \thinspace{} \end_inset em, las demás tienen un grosor predeterminado de 0.05 \begin_inset space \thinspace{} \end_inset em. \end_layout \begin_layout Standard Estos valores predeterminados se pueden cambiar \series bold \series default con las líneas de preámbulo: \end_layout \begin_layout Standard \series bold \backslash let \backslash mytoprule \backslash toprule \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash toprule}{ \backslash mytoprule[grosor]} \end_layout \begin_layout Standard Este ejemplo es para la primera línea, la denominada \series bold toprule \series default . Si quieres cambiar el grosor de la última línea, reemplaza \series bold toprule \series default por \series bold bottomrule \series default . Y para cambiar el grosor de las demás líneas cambia \series bold toprule \series default por \series bold midrule \series default . Puedes usar cualquiera de las unidades listadas en el apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unidades-disponibles-en" \end_inset para establecer el grosor. \end_layout \begin_layout Standard Para dibujar líneas que no se extiendan a todas las columnas de la tabla, puedes marcarlas como celdas multicolumna y entonces ponerles borde. LyX empleará internamente el comando \series bold \backslash cmidrule \series default para dibujar la línea. El esquema completo es \end_layout \begin_layout Standard \series bold \backslash cmidrule[grosor](recorte){inicol-fincol} \end_layout \begin_layout Standard Por el momento, LyX no soporta las opciones de \series bold \backslash cmidrule \series default , así que para usarlas hay que emplear código TeX. Las líneas \series bold \backslash cmidrule \series default se pueden insertar manualmente con el comando en código TeX como primera entrada de la primera celda de una fila. En la salida se dibujará la línea sobre dicha fila. \end_layout \begin_layout Standard El grosor predeterminado es 0.03 \begin_inset space \thinspace{} \end_inset em. \series bold inicol \series default es el número de la columna en la que comienza la línea y \series bold fincol \series default es el número de la columna en la que acaba la línea. El valor \series bold fincol \series default debe especificarse siempre, aunque la línea se extienda sobre una sola columna. El parámetro opcional \series bold recorte \series default debe ser \emph on l{recorte} \emph default o \emph on r{recorte} \emph default , donde \emph on recorte \emph default también es opcional. Por ejemplo, el parámetro \emph on l{2pt} \emph default significa que la línea se recorta 2 \begin_inset space \thinspace{} \end_inset pt por su izquierda. Si no se especifica el tamaño las líneas se recortan por omisión en 0.5 \begin_inset space \thinspace{} \end_inset em. \series bold \end_layout \begin_layout Standard \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Ejemplo-tabla-formal" \end_inset se ha creado con los comandos \end_layout \begin_layout Standard \series bold \backslash cmidrule(r){2-2} \backslash cmidrule(l){3-4} \end_layout \begin_layout Standard en la segunda fila, \series bold \backslash midrule \series default en la tercera, y \end_layout \begin_layout Standard \series bold \backslash cmidrule(l{10pt}){1-1} \end_layout \begin_layout Standard en la sexta fila. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Quizá quieras superponer líneas \series bold \backslash cmidrules \series default como en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-formal-especial" \end_inset . Esto se consigue con el comando en código TeX \end_layout \begin_layout Standard \series bold \backslash morecmidrules \end_layout \begin_layout Standard El comando que se ha utilizado para la segunda fila de la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-formal-especial" \end_inset es \end_layout \begin_layout Standard \series bold \backslash cmidrule(r){2-2} \backslash cmidrule(l){3-4} \backslash morecmidrules \backslash cmidrule{2-4} \end_layout \begin_layout Standard El comando para la sexta fila es \end_layout \begin_layout Standard \series bold \backslash midrule \backslash morecmidrules \backslash cmidrule{3-4} \series default \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Si de todas formas no te satisface el espaciado de los bordes, puedes usar el siguiente comando para dibujar líneas que se extienden sobre todas las columnas \end_layout \begin_layout Standard \series bold \backslash specialrule{anchura}{espacio superior}{espacio inferior} \end_layout \begin_layout Standard Para más información sobre estas características especiales, acude al manual del paquete LaTeX \series bold booktabs \series default \begin_inset CommandInset citation LatexCommand cite key "booktabs" \end_inset . \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! booktabs \end_layout \end_inset \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-formal-especial" \end_inset Tabla formal especial \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout System \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Medipix \begin_inset space \thinspace{} \end_inset 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Medipix \begin_inset space \thinspace{} \end_inset 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule(r){2-2} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule(l){3-4} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash morecmidrules \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule{2-4} \end_layout \end_inset Detector thickness [µm] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 300 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 700 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Edge angle [°] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3.55 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2.71 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 7.99 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Spatial resolution [µm] \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4.26 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.17 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 10.56 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout MTF at \begin_inset Formula $f_{\mathrm{max}}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.53 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.37 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0.39 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash morecmidrules \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cmidrule{3-4} \end_layout \end_inset LSF-spatial resolution \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout in µm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 129.7 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 52.75 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 50.78 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout in % of pixel size \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 76.3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 95.9 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 92.3 \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Section Alineación vertical de tablas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Alineación vertical \end_layout \end_inset \end_layout \begin_layout Standard Para alinear tablas verticalmente en una línea de texto la tabla debe estar en un cuadro. Entonces el cuadro se puede alinear verticalmente como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Diálogo-Cuadros" \end_inset . \end_layout \begin_layout Standard En el ejemplo siguiente las tablas están en un cuadro de minipágina \begin_inset Foot status collapsed \begin_layout Plain Layout Las minipáginas se describen en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipáginas" \end_inset . \end_layout \end_inset que tiene una anchura del 15 \begin_inset space \thinspace{} \end_inset % de columna: \end_layout \begin_layout Itemize test \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "15col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset test \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{0.85 \backslash baselineskip}{ \end_layout \end_inset \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "15col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Itemize test \begin_inset Box Frameless position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "15col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Itemize test \begin_inset Box Frameless position "b" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "15col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset test \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{-0.32 \backslash baselineskip}{ \end_layout \end_inset \begin_inset Box Frameless position "b" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "15col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard Como ves, los contenidos de la primera y última filas no se alinean correctament e con la línea de texto donde está la tabla. Para conseguir esta alineación, el cuadro (minipágina) debe ponerse en un cuadro elevado («raisebox» \begin_inset Foot status collapsed \begin_layout Plain Layout El uso del comando \series bold \backslash raisebox \series default se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Alineación-Vertical" \end_inset . \end_layout \end_inset ). En el ejemplo anterior, la segunda tabla del primer ítem está alineada usando el comando en código TeX \end_layout \begin_layout Standard \series bold \backslash raisebox{0.85 \backslash baselineskip}{ \end_layout \begin_layout Standard antes del cuadro. Tras él, se pone la llave de cierre \series bold } \series default también en código TeX. Para la segunda tabla en el tercer ítem se usa el comando \end_layout \begin_layout Standard \series bold \backslash raisebox{-0.32 \backslash baselineskip}{ \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Not \series default a: La alineación del contenido de la fila con la línea del texto adyacente no es exacta. El factor necesario del comando \series bold \backslash raisebox \series default para este alineamiento depende de la fuente del documento, del tamaño de la fuente y del grosor de línea de la tabla. \end_layout \end_inset \end_layout \begin_layout Section Tablas coloreadas \begin_inset CommandInset label LatexCommand label name "sec:Tablas-Coloreadas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Coloreadas \end_layout \end_inset \end_layout \begin_layout Subsection Celdas coloreadas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas coloreadas ! Celdas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Color ! en celdas de tablas \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-coloreada-sin" \end_inset Tabla coloreada sin usar el paquete \series bold colortbl \series default \begin_inset OptArg status collapsed \begin_layout Plain Layout Tabla sin colortbl \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \color green a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color red b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color red c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color green d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color green g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Si sólo necesitas color en el texto, marca las celdas y elige un color en el menú \family sans Editar\SpecialChar \menuseparator Estilo \begin_inset space ~ \end_inset del \begin_inset space ~ \end_inset Texto \family default . Esto se ha hecho en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-coloreada-sin" \end_inset . En cualquier otro caso hay que usar el paquete LaTeX \series bold colortbl \series default . \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! colortbl \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifcolortbl \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La siguiente sección sólo se mostrará en pantalla si está instalado el paquete LaTeX \series bold colortbl \series default . \end_layout \end_inset \end_layout \begin_layout Standard Para crear tablas coloreadas, \series bold colortbl \series default debe cargarse en el preámbulo con la línea \end_layout \begin_layout Standard \series bold \backslash usepackage{colortbl} \end_layout \begin_layout Standard El color de una columna se define con el comando \end_layout \begin_layout Standard \series bold \backslash columncolor{nombre del color} \end_layout \begin_layout Standard dentro del comando \series bold >{ } \series default . Más sobre el comando \series bold >{} \series default se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Cálculos-en-Multicolumnas" \end_inset . \end_layout \begin_layout Standard Los siguientes nombres de color están predefinidos: \end_layout \begin_layout Standard \family sans red \family default , \family sans green \family default , \family sans yellow, blue \family default , \family sans cyan \family default \series bold , \series default \family sans magenta, black \family default , \family sans white \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard Puedes definir tus propios colores con el comando \end_layout \begin_layout Standard \series bold \backslash definecolor{nombre del color}{modelo de color}{valores de color} \end_layout \begin_layout Standard El modelo de color puede ser \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 cmyk: cyan, magenta, yellow, black \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 rgb: red, green, blue \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 gray: gray \end_layout \begin_layout Standard y los valores de color son números separados por comas entre 0 y 1 que describen el factor para el color correspondiente del modelo de color. \end_layout \begin_layout Standard Por ejemplo, puedes definir el color \series bold \series default « \emph on verde oscuro \emph default » en el preámbulo con \end_layout \begin_layout Standard \series bold \backslash definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5} \end_layout \begin_layout Standard y el color « \emph on gris claro \emph default » con \end_layout \begin_layout Standard \series bold \backslash definecolor{grisclaro}{gray}{0.8} \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard Las líneas se colorean con el comando \end_layout \begin_layout Standard \series bold \backslash rowcolor{nombre del color} \end_layout \begin_layout Standard y las celdas se colorean con el comando \end_layout \begin_layout Standard \series bold \backslash cellcolor{nombre del color} \end_layout \begin_layout Standard Ambos comandos se insertan al principio de una celda en código TeX. \end_layout \begin_layout Standard Para colorear caracteres en la tabla marca las celdas y usa el menú \family sans Editar\SpecialChar \menuseparator Estilo \begin_inset space ~ \end_inset del \begin_inset space ~ \end_inset Texto \family default . Si una celda contiene código TeX marca sólo los caracteres, si no el código TeX en color puede ocasionar errores de LaTeX. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Para crear la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-coloreada-con" \end_inset haz lo siguiente: el color de la primera columna debe ser \emph on verde oscuro \emph default , entonces inserta \end_layout \begin_layout Standard \series bold >{ \backslash columncolor{verdeoscuro} \backslash centering}c \end_layout \begin_layout Standard como argumento LaTeX para esta columna. La primera fila debe ser azul, por tanto inserta el comando en código TeX \end_layout \begin_layout Standard \series bold \backslash rowcolow{cyan} \end_layout \begin_layout Standard en la primera celda de esta fila. Observa que esto sobreescribe el color de la columna para la primera celda. La última celda de la última fila se colorea magenta insertando el comando en código TeX \end_layout \begin_layout Standard \series bold \backslash cellcolor{magenta} \end_layout \begin_layout Standard Ahora podrían colorearse los caracteres usando el menú \family sans Editar\SpecialChar \menuseparator Estilo \begin_inset space ~ \end_inset del \begin_inset space ~ \end_inset Texto \family default . \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-coloreada-con" \end_inset Tabla coloreada con el paquete \series bold colortbl \series default \begin_inset OptArg status open \begin_layout Plain Layout Tabla con \series bold colortbl \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rowcolor{cyan} \end_layout \end_inset \color magenta a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color red b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color red c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color yellow d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color yellow g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \color blue h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cellcolor{magenta} \end_layout \end_inset \color green i \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash else \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX \series bold colortbl \series default . \end_layout \end_inset \end_layout \begin_layout Standard Debes instalar el paquete LaTeX \series bold colortbl \series default para ver la parte siguiente en la salida. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fi \end_layout \end_inset \end_layout \begin_layout Subsection Líneas coloreadas \begin_inset Index status collapsed \begin_layout Plain Layout Tablas coloreadas ! Líneas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Color ! en bordes de tabla \end_layout \end_inset \end_layout \begin_layout Standard Como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Grosor-de-Líneas" \end_inset , el grosor para todas las líneas en una tabla puede ajustarse con el comando \series bold \backslash arrayrulewidth \series default . Se ha puesto 1.5 \begin_inset space \thinspace{} \end_inset pt para todas las tablas de esta sección. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{1.5pt} \end_layout \end_inset \end_layout \begin_layout Standard Por ejemplo, para colorear todas las líneas verticales en verde, crea en el preámbulo del documento el siguiente formato de columna, de acuerdo a lo descrito en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Formato-Personalizado" \end_inset : \end_layout \begin_layout Standard \series bold \backslash newcolumntype{W}{!{ \backslash color{green} \backslash vline}} \end_layout \begin_layout Standard Para la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-verticales-coloreadas" \end_inset se usó el argumento LaTeX \series bold WcW \series default para la última columna y \series bold Wc \series default para las demás. \end_layout \begin_layout Standard Si quieres tener varios colores, define más formatos de columna. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-verticales-coloreadas" \end_inset Tabla con líneas verticales coloreadas \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Para colorear líneas horizontales, por ejemplo en rojo, como en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-horizontales-coloreadas" \end_inset , inserta estos comandos en código TeX antes de la tabla o del flotante: \end_layout \begin_layout Standard \series bold \backslash let \backslash myHlineC \backslash hline \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash hline} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash arrayrulecolor{red} \backslash myHlineC \backslash arrayrulecolor{black}} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash let \backslash myHlineC \backslash hline \end_layout \begin_layout Plain Layout \backslash renewcommand{ \backslash hline} \end_layout \begin_layout Plain Layout { \backslash arrayrulecolor{red} \backslash myHlineC \backslash arrayrulecolor{black}} \end_layout \end_inset \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-horizontales-coloreadas" \end_inset Tabla con líneas horizontales coloreadas \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Para volver al color de línea negro predeterminado inserta este comando en código TeX detrás de la tabla o el flotante: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash hline}{ \backslash myHlineC} \end_layout \begin_layout Standard La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-líneas-coloreadas" \end_inset es un ejemplo con líneas verticales y horizontales coloreadas. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-líneas-coloreadas" \end_inset Tabla con líneas coloreadas \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash hline}{ \backslash myHlineC} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{0.4pt} \end_layout \end_inset \end_layout \begin_layout Section Personalización de tablas \begin_inset Index status collapsed \begin_layout Plain Layout Personalización de tablas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Personalización \end_layout \end_inset \end_layout \begin_layout Subsection Espacio adicional en filas \begin_inset CommandInset label LatexCommand label name "sub:Espacio-adicional" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Personalización de tablas ! Espacio adicional en filas \end_layout \end_inset \end_layout \begin_layout Standard Es posible añadir espacio vertical a las filas de una tabla en la solapa \family sans Bordes, \family default del diálogo de configuración de tablas. En el marco \family sans Espacio \begin_inset space ~ \end_inset adicional \family default dispones de tres posibilidades: \end_layout \begin_layout Description Superior \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset fila añade espacio sobre los caracteres de la fila. Si la tabla es de estilo formal \begin_inset Foot status collapsed \begin_layout Plain Layout Las tablas formales se explican en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Formales" \end_inset \end_layout \end_inset LyX insertará 0.5 \begin_inset space \thinspace{} \end_inset em por omisión. Si la tabla es de estilo normal el espacio adicional destruirá las líneas verticales, como se ve en la tabla siguiente: \begin_inset VSpace medskip \end_inset \begin_inset Newline newline \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \begin_inset space \thinspace{} \end_inset mm sobre la fila \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout C \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \begin_inset VSpace medskip \end_inset \begin_inset Newline newline \end_inset Así pues, insertar espacio superior en tablas normales sólo es útil en tablas sin líneas verticales. \end_layout \begin_layout Description Inferior \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset fila añade espacio bajo los caracteres de la fila. Si la tabla es formal LyX inserta por omisión 0.5 \begin_inset space \thinspace{} \end_inset em; si la tabla es normal inserta 2 \begin_inset space \thinspace{} \end_inset pt. \end_layout \begin_layout Description Entre \begin_inset space ~ \end_inset las \begin_inset space ~ \end_inset filas añade espacio entre la fila actual y la siguiente. Si la tabla es formal LyX inserta 0.5 \begin_inset space \thinspace{} \end_inset em por omisión. En tablas normales, el espacio adicional destruirá las líneas verticales de la tabla, como se ve en la siguiente: \begin_inset VSpace medskip \end_inset \begin_inset Newline newline \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout A \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\downarrow$ \end_inset 3 \begin_inset space \thinspace{} \end_inset mm entre las filas \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\uparrow$ \end_inset 3 \begin_inset space \thinspace{} \end_inset mm entre las filas \begin_inset Formula $\uparrow$ \end_inset \end_layout \end_inset \end_inset \begin_inset space \hfill{} \end_inset \begin_inset space \hspace*{} \length 0pt \end_inset \begin_inset VSpace medskip \end_inset \begin_inset Newline newline \end_inset Así pues, los espacios adicionales entre filas de tablas normales sólo sirven para tablas sin líneas verticales. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Para añadir altura vertical extra a todas las celdas de todas las tablas, utiliza los siguientes comandos en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash @ifundefined{extrarowheight} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash usepackage{array}}{} \begin_inset Newline newline \end_inset \backslash setlength{ \backslash extrarowheight}{altura} \end_layout \begin_layout Standard Esto tiene el inconveniente de que el texto de las celdas no estará exactamente centrado en vertical. (Lyx cargará automáticamente el paquete \series bold array \series default cuando uses formatos de tabla autodefinidos. Para evitar que sea cargado dos veces se pone al principio el comando \series bold \backslash @ifundefined \series default .) \end_layout \begin_layout Standard \end_layout \begin_layout Subsection Alineación especial de celdas \begin_inset Index status collapsed \begin_layout Plain Layout Personalización de tablas ! Alineación especial de celdas \end_layout \end_inset \end_layout \begin_layout Standard A veces mejora la presentación si las entradas en las celdas de una columna se alinean con un carácter determinado, p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset el separador decimal, como en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-celdas-de" \end_inset . \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-celdas-de" \end_inset Tabla con celdas alineadas con el separador decimal. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout leyenda \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 6 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 68 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout -123. \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 0 \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Esta es una tabla 4×2. La leyenda es una multicolumna centrada. La primera columna está alineada a la derecha y contiene el punto decimal y los dígitos anteriores. La segunda columna está alineada a la izquierda y contiene los dígitos posteriores al punto decimal. Para omitir el espacio que hay normalmente entre dos columnas usa el siguiente argumento LaTeX para la segunda columna: \end_layout \begin_layout Standard \series bold @{}l \end_layout \begin_layout Standard La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Varias-alineaciones" \end_inset muestra varios ejemplos de alineación. Para alinear con el signo de relación debes añadir el segundo espacio matemátic o más pequeño al comienzo de la última columna para conseguir el espacio adecuado alrededor del signo. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Varias-alineaciones" \end_inset Tabla con varias alineaciones. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout unidades \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout exponentes \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout relaciones \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12× \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 24 \begin_inset space \thinspace{} \end_inset bottles \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10\cdot$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10^{\mbox{-}17}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\Gamma(t)\propto$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\:\Upsilon(t)$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024× \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 768 \begin_inset space \thinspace{} \end_inset Pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $5.78\cdot$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10^{7}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $A\ne$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\: B_{\mathrm{red}}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32× \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 6 \begin_inset space \thinspace{} \end_inset cm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout - \begin_inset Formula $33.5\cdot$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $10^{4}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\sin(\alpha)\ge$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset Formula $\:\sin(\beta)$ \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset También hay un paquete LaTeX, \series bold dcolumn \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! dcolumn \end_layout \end_inset , que permite alinear el contenido de las celdas. Pero desgraciadamente trata las entradas de celda en modo matemático y no permite fórmulas en celdas: la primera columna de la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Varias-alineaciones" \end_inset se verá con \series bold dcolumn \series default como la primera columna en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Alineaciones-con-el" \end_inset y sólo con algunos trucos se consigue lo que se espera. La alineación de la segunda y tercera columnas de la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Varias-alineaciones" \end_inset no es posible con \series bold dcolumn \series default . \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Alineaciones-con-el" \end_inset \begin_inset OptArg status open \begin_layout Plain Layout Tabla alineada con \series bold dcolumn \end_layout \end_inset Alineaciones con el paquete LaTeX \series bold dcolumn \series default . Se han tenido que usar unos trucos para la alineación de las columnas en la salida. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout unidades \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout unidades \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout unidades \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12x24 \begin_inset space \thinspace{} \end_inset bottles \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12x24 \begin_inset space \thinspace{} \end_inset \begin_inset Formula $\mbox{bottles}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 12 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash times \end_layout \end_inset 24~ \begin_inset Formula $\mbox{bottles}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024x768 \begin_inset space \thinspace{} \end_inset Pixels \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024x768 \begin_inset space \thinspace{} \end_inset \begin_inset Formula $\mbox{Pixels}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1024 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash times \end_layout \end_inset 768~ \begin_inset Formula $\mbox{Pixels}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32x6 \begin_inset space \thinspace{} \end_inset cm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32x6 \begin_inset space \thinspace{} \end_inset \begin_inset Formula $\mbox{cm}$ \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 32 \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash times \end_layout \end_inset 6~ \begin_inset Formula $\mbox{cm}$ \end_inset \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Subsection Formato personalizado de celda/columna \begin_inset CommandInset label LatexCommand label name "sub:Formato-Personalizado" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Personalización de tablas ! Formato de celda/columna \end_layout \end_inset \end_layout \begin_layout Standard El cálculo de la anchura necesaria para columnas extendidas descrito en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Cálculos-en-Multicolumnas" \end_inset es muy pesado si tienes varias tablas con multicolumnas. Para hacerlo más fácil, puedes definir en el preámbulo un formato de celda/colu mna aplicable a todas las tablas del documento. El formato se define con el comando \end_layout \begin_layout Standard \series bold \backslash newcolumntype{nombre del formato}[número de argumentos]{comandos} \end_layout \begin_layout Standard El nombre de formato puede ser una sola letra. Las letras \emph on b, c, l, m, p \emph default y \emph on r \emph default están predefinidas y no pueden usarse. Pero se permiten todas las mayúsculas. \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard Para celdas multicolumna vertical y horizontalmente centradas con una anchura fija puedes definir el formato de celda \end_layout \begin_layout Standard \series bold \backslash newcolumntype{M}[1]{>{ \backslash centering \backslash hspace{0pt}}m{#1}} \end_layout \begin_layout Standard donde \series bold \backslash hspace{0pt} \series default evita el problema de partir con guión la primera palabra, como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Líneas-Múltiples-en" \end_inset . Ahora puedes introducir simplemente \end_layout \begin_layout Standard \series bold M{ancho} \end_layout \begin_layout Standard como argumento LaTeX en el diálogo de tabla para crear una multicolumna. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Para celdas extendidas en una celda multicolumna, puedes definir el formato \end_layout \begin_layout Standard \series bold \backslash newcolumntype{S}[2]{>{ \backslash centering \backslash hspace{0pt}} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash phantom{ \end_layout \end_inset \backslash newcolumntype \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset m{(#1+(2 \backslash tabcolsep+ \backslash arrayrulewidth)*(1-#2))/#2}} \end_layout \begin_layout Standard Este formato usa la ecuación \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wgn" \end_inset para calcular la anchura necesaria para que cada celda extendida tenga la misma anchura. \end_layout \begin_layout Standard Ahora puedes introducir \end_layout \begin_layout Standard \series bold S{ancho de la celda multicolumna}{número de columnas extendidas} \end_layout \begin_layout Standard como argumento LaTeX de la columna. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Para columnas coloreadas puedes definir \end_layout \begin_layout Standard \series bold \backslash newcolumntype{K}[1]{>{ \backslash columncolor{#1} \backslash hspace{0pt}}c} \end_layout \begin_layout Standard La «c» al final crea una columna con anchura flexible cuyo texto está centrado horizontalmente. Ahora puedes introducir \end_layout \begin_layout Standard \series bold K{nombre del color} \end_layout \begin_layout Standard como argumento LaTeX. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Para crear la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-formatos-definidos-por" \end_inset usa los argumentos LaTeX \end_layout \begin_layout Standard \series bold M{2.5cm} \end_layout \begin_layout Standard para la primera columna y la multicolumna, \end_layout \begin_layout Standard \series bold K{red} \end_layout \begin_layout Standard para la última columna y \end_layout \begin_layout Standard \series bold S{2.5cm}{2} \end_layout \begin_layout Standard para las celdas en la segunda columna. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-formatos-definidos-por" \end_inset Tabla con formatos definidos por el usuario \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout palabramuylargaenceldadetabla \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout multicolumna línea múltiple \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout k \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Subsection Grosor de líneas \begin_inset CommandInset label LatexCommand label name "sub:Grosor-de-Líneas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Personalización de tablas ! Grosor de línea \end_layout \end_inset \end_layout \begin_layout Standard El grosor para todas las líneas de una tabla puede ajustarse con la longitud \series bold \backslash arrayrulewidth \series default . Por ejemplo, para poner un grosor de línea de 1.5 \begin_inset space \thinspace{} \end_inset pt, como en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-líneas" \end_inset , inserta el comando \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash arrayrulewidth}{1.5pt} \end_layout \begin_layout Standard en código TeX antes de la tabla o flotante. Este cambio es válido para todas las siguientes tablas. Para volver al valor predeterminado, define \series bold \backslash arrayrulewidth \series default a 0.4 \begin_inset space \thinspace{} \end_inset pt en código TeX detrás de la tabla o flotante. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{1.5pt} \end_layout \end_inset \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-líneas" \end_inset Tabla con líneas de grosor 1.5 \begin_inset space \thinspace{} \end_inset pt \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash arrayrulewidth}{0.4pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Para definir un grosor de 1.5 \begin_inset space \thinspace{} \end_inset pt sólo para líneas horizontales, como en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-horizontales" \end_inset , inserta estos comandos en código TeX antes de la tabla o flotante: \end_layout \begin_layout Standard \series bold \backslash let \backslash myHline \backslash hline \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash hline} \begin_inset Newline newline \end_inset { \backslash noalign{ \backslash global \backslash arrayrulewidth 1.5pt} \begin_inset Newline newline \end_inset \backslash myHline \backslash noalign{ \backslash global \backslash arrayrulewidth 0.4pt}} \end_layout \begin_layout Standard Para volver al grosor predeterminado, inserta este comando en código TeX detrás de la tabla o flotante: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash hline}{ \backslash myHline} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash let \backslash myHline \backslash hline \end_layout \begin_layout Plain Layout \backslash renewcommand{ \backslash hline} \end_layout \begin_layout Plain Layout { \backslash noalign{ \backslash global \backslash arrayrulewidth 1.5pt} \end_layout \begin_layout Plain Layout \backslash myHline \backslash noalign{ \backslash global \backslash arrayrulewidth 0.4pt}} \end_layout \end_inset \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-horizontales" \end_inset Tabla con líneas horizontales de 1.5 \begin_inset space \thinspace{} \end_inset pt \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash hline}{ \backslash myHline} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Para establecer un grosor de 1.5 pt sólo para líneas verticales, crea el siguiente formato de columna en el preámbulo del documento, de acuerdo con lo descrito en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Formato-Personalizado" \end_inset : \end_layout \begin_layout Standard \series bold \backslash newcolumntype{V}{!{ \backslash vrule width 1.5pt}} \end_layout \begin_layout Standard Para la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-verticales" \end_inset se usó el argumento LaTeX \end_layout \begin_layout Standard \series bold VcV \end_layout \begin_layout Standard para la última columna y \end_layout \begin_layout Standard \series bold Vc \end_layout \begin_layout Standard para las otras. \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-verticales" \end_inset Tabla con líneas verticales de 1.5 \begin_inset space \thinspace{} \end_inset pt de grosor \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sd \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Subsection Líneas de trazos \begin_inset Index status collapsed \begin_layout Plain Layout Personalización de tablas ! Líneas de trazos \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifarydshln \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La siguiente sección sólo se mostrará en pantalla si está instalado el paquete LaTeX \series bold arydshln \series default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement H wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-con-trazos" \end_inset Tabla con líneas de trazos \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hdashline \end_layout \end_inset k \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout l \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout m \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout n \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout o \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cdashline{4-5} \end_layout \end_inset p \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout q \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout r \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout s \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout t \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout u \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout v \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout w \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout x \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard En principio LyX no soporta líneas de trazos, hay que usar código TeX. Hay que cargar antes en el preámbulo del documento el paquete LaTeX \series bold arydshln \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! arydshln \end_layout \end_inset \end_layout \begin_layout Standard \series bold \backslash usepackage{arydshln} \end_layout \begin_layout Standard Para hacer una línea vertical a trazos, introduce dos puntos « \series bold : \series default » junto con el carácter para alineación horizontal como argumento LaTeX en el diálogo de celda de tabla. \end_layout \begin_layout Standard Para una línea de trazos horizontal añade el comando \end_layout \begin_layout Standard \series bold \backslash hdashline \end_layout \begin_layout Standard en código TeX como primer elemento de la primera celda en la fila. \end_layout \begin_layout Standard Para líneas de trazos en multicolumna usa el comando \end_layout \begin_layout Standard \series bold \backslash cdashline{número de líneas} \end_layout \begin_layout Standard en código TeX como primer elemento de la primera celda en la fila. Si por ejemplo tienes una multicolumna extendida sobre las columnas 2 a 4 y quieres una línea de trazos por encima, añade el comando \end_layout \begin_layout Standard \series bold \backslash cdashline{2-4} \end_layout \begin_layout Standard como primer elemento de la primera celda en la fila de la multicolumna. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard La tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-con-trazos" \end_inset se ha hecho usando « \series bold :c \series default » como argumento LaTeX de la tercera columna. El comando en código TeX \series bold \backslash hdashline \series default se ha insertado en la primera celda de la tercera fila y el comando en código TeX \begin_inset Newline newline \end_inset \series bold \backslash cdashline{4-5} \series default en la primera celda de la cuarta fila. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Aparentemente el paquete LaTeX \series bold arydshln \series default no es compatible con el paquete LaTeX \series bold colortbl \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! colortbl \end_layout \end_inset que se usa para tablas coloreadas en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Coloreadas" \end_inset . Esto implica que las tablas coloreadas no pueden tener líneas de trazos. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash else \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX \series bold arydshln \series default . \end_layout \end_inset \end_layout \begin_layout Standard Debes instalar el paquete LaTeX \series bold arydshln \series default para ver la parte siguiente en la salida. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fi \end_layout \end_inset \end_layout \begin_layout Chapter Flotantes \begin_inset CommandInset label LatexCommand label name "cha:Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes \end_layout \end_inset \end_layout \begin_layout Section Introducción \begin_inset CommandInset label LatexCommand label name "sec:Introducción-Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Introducción \end_layout \end_inset \end_layout \begin_layout Standard Un flotante es un bloque de texto asociado con algún tipo de etiqueta que no tiene posición fija. Puede «flotar» adelante o atrás una o dos páginas, donde encaje mejor. Las \family sans Notas \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset pie \family default y \family sans Notas \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset margen \family default también son flotantes, porque pueden flotar a la página siguiente cuando hay demasiadas notas en la página. \end_layout \begin_layout Standard Los flotantes permiten composiciones de alta calidad. Imágenes y tablas se pueden distribuir equitativamente en las páginas para impedir espacios en blanco y páginas sin texto. Como el flotante destruye a menudo el contexto entre texto e imagen o tabla, cada flotante puede ser referenciado en el texto. Por lo tanto los flotantes están numerados. Las referencias se describen en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencias-a-Flotantes" \end_inset . \end_layout \begin_layout Standard Para insertar un flotante, usa el menú \family sans Insertar\SpecialChar \menuseparator Flotante \family default . Esto inserta una \family sans Leyenda, \family default un cuadro con una etiqueta. La etiqueta se traducirá automáticamente al idioma del documento. Tras la etiqueta puedes insertar el texto de la leyenda. La imagen o tabla se inserta encima o debajo de la leyenda en un párrafo separado dentro del flotante. La colocación de leyendas se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Colocación-de-leyendas" \end_inset . Para mantener legible el documento LyX, puedes abrir y cerrar el flotante con clic-izquierdo sobre él. Un cuadro cerrado se muestra así: \begin_inset Graphics filename clipart/flotanteQt4.png scale 70 \end_inset ---un cuadro gris con etiqueta en rojo---. \end_layout \begin_layout Standard Se recomienda insertar flotantes como párrafos separados para evitar posibles errores de LaTeX si el texto circundante se formatea de modo especial. \end_layout \begin_layout Standard Figuras o tablas ya existentes pueden ponerse en un flotante marcándolas y pinchando el botón correspondiente de la barra de herramientas para un flotante nuevo. \end_layout \begin_layout Section Tipos de flotantes \end_layout \begin_layout Standard Además de los flotantes de imagen y de tabla que se describen en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Figuras-Flotantes" \end_inset y \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Flotantes" \end_inset , respectivamente, LyX ofrece los tipos \series bold Algoritmo \series default y \series bold \lang english Wrap \series default \lang spanish . \end_layout \begin_layout Subsection Algoritmos flotantes \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Algoritmos \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sub:Algoritmos-Flotantes" \end_inset \end_layout \begin_layout Standard \begin_inset Float algorithm placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "alg:Ejemplo-de-Algoritmo-flotante" \end_inset Ejemplo de algoritmo flotante \end_layout \end_inset \end_layout \begin_layout LyX-Code for I in 1..N loop \begin_inset Newline newline \end_inset Sum:= Sum + A(I); /*comment*/ \begin_inset Newline newline \end_inset end loop \begin_inset VSpace -4mm \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Este tipo de flotante se inserta con el menú \family sans Insertar\SpecialChar \menuseparator Flotante\SpecialChar \menuseparator Algoritmo \family default . Se usa para códigos y descripciones de algoritmos. Un posible entorno para algoritmos es \family sans Código-LyX \family default , descrito en la \emph on Guía del usuario \emph default de LyX. El algoritmo \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "alg:Ejemplo-de-Algoritmo-flotante" \end_inset es un ejemplo de algoritmo flotante en el que se ha añadido un espacio vertical de -4 \begin_inset space \thinspace{} \end_inset mm al final para tener la línea inferior exactamente bajo la última línea de texto. \end_layout \begin_layout Standard La etiqueta de flotante no se traduce automáticamente al lenguaje del documento. Hay que hacerlo manualmente añadiendo al preámbulo del documento la línea: \end_layout \begin_layout Standard \series bold \backslash floatname{algorithm}{nombre} \end_layout \begin_layout Standard donde \family sans nombre \family default es la palabra « \emph on algorithm \emph default » en el lenguaje deseado. \end_layout \begin_layout Standard En estos casos, para insertar la lista de algoritmos no puedes usar el menú \family sans Insertar\SpecialChar \menuseparator Lista/IG\SpecialChar \menuseparator Lista de algoritmos \family default como en documentos en inglés. Para documentos en otro idioma usa en su lugar el comando en código TeX: \end_layout \begin_layout Standard \series bold \backslash listof{algorithm}{nombre} \end_layout \begin_layout Standard donde \family sans nombre \family default es « \emph on List of algorithms \emph default » en tu idioma. \end_layout \begin_layout Standard Los algoritmos flotantes no se numeran por omisión según el esquema habitual para tablas e imágenes flotantes en muchas clases de documento, «capítulo.algori tmo». Para numerarlos con ese esquema, añade este comando en el preámbulo del documento: \end_layout \begin_layout Standard \series bold \backslash numberwithin{algorithm}{chapter} \end_layout \begin_layout Standard Para poder usar el comando \series bold \backslash numberwithin \series default , marca la opción \family sans Usar \begin_inset space ~ \end_inset el \begin_inset space ~ \end_inset paquete \begin_inset space ~ \end_inset AMS \family default en el menú \family sans Documento\SpecialChar \menuseparator Configuración\SpecialChar \menuseparator Ecuaciones \family default . \end_layout \begin_layout Subsection Flotantes envueltos en texto \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Envueltos en texto \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sub:Flotante-envuelto" \end_inset \end_layout \begin_layout Standard \begin_inset Wrap figure lines 0 placement l overhang 1cm width "40col%" status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/mobius.eps width 35col% rotateOrigin center \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Figura-envuelta" \end_inset Figura envuelta en el texto. \end_layout \end_inset \end_layout \end_inset Este tipo de flotante se usa para adosar una figura o una tabla al texto, de modo que ocupe sólo una parte del ancho de columna. Se inserta con el menú \family sans Insertar\SpecialChar \menuseparator Flotante\SpecialChar \menuseparator Flotante \begin_inset space ~ \end_inset adosado \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset texto \family default si está instalado el paquete LaTeX \series bold wrapfig \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! wrapfig \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash vspace{4mm} \end_layout \end_inset \end_layout \end_inset . \begin_inset Foot status collapsed \begin_layout Plain Layout La instalación de paquetes LaTeX se explica en el manual \emph on Configuración de LaTeX \emph default . \end_layout \end_inset La anchura y posición del flotante se ajusta en el diálogo de configuración que se muestra con clic-derecha sobre el cuadro del flotante. La figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Figura-envuelta" \end_inset es un ejemplo de flotante envuelto en texto con una anchura de columna del 40 \begin_inset space \thinspace{} \end_inset %. \begin_inset Foot status collapsed \begin_layout Plain Layout Ver unidades disponibles en el apéndice \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Unidades-disponibles-en" \end_inset . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default ¡Los flotantes adosados a texto son frágiles! P. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset si una figura está demasiado cerca de la parte inferior de la página se pueden perder cosas en el proceso de salida: el flotante puede no aparecer o situarse junto a otro texto. \end_layout \end_inset \end_layout \begin_layout Standard En general: \end_layout \begin_layout Itemize Los flotantes envueltos no deberían situarse en párrafos que van sobre un salto de página. Esto implica que lo mejor es insertarlos en el sitio exacto cuando el documento esté casi listo y puedas prever los saltos de página. \end_layout \begin_layout Itemize Los flotantes envueltos deberían situarse, bien en un párrafo propio antes del párrafo al que deben ajustarse, o bien dentro de un párrafo. \end_layout \begin_layout Itemize Los flotantes envueltos en párrafos consecutivos pueden dar problemas, así que asegura que hay un párrafo de texto entre ellos. \end_layout \begin_layout Itemize Los flotantes envueltos no están permitidos en cabeceras de sección o tablas. \end_layout \begin_layout Section Numeración de flotantes \begin_inset CommandInset label LatexCommand label name "sec:Numeración-de-flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Numeración \end_layout \end_inset \end_layout \begin_layout Standard En general, los flotantes se numeran independientemente de las secciones en las que se encuentran o según el esquema «capítulo.número» o «sección.número», dependiendo de la clase de documento utilizada. \end_layout \begin_layout Standard Para cambiar la numeración independiente de la sección, puedes usar el siguiente comando en el preámbulo del documento: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash thetable}{ \backslash roman{table}} \end_layout \begin_layout Standard \series bold \backslash thetable \series default es el comando que imprime el número de la tabla, para figuras flotantes el comando sería \series bold \backslash thefigure \series default . El comando \series bold \backslash roman \series default imprime el número de tabla en números romanos en minúscula. \end_layout \begin_layout Standard Para cambiar el esquema de numeración, por ejemplo a «subsección.número», usa este comando en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash numberwithin{table}{subsection} \end_layout \begin_layout Standard Para poder usar el comando \series bold \backslash numberwithin \series default , debes marcar la opción \family sans Usar \begin_inset space ~ \end_inset el \begin_inset space ~ \end_inset paquete \begin_inset space ~ \end_inset AMS \family default en el apartado \family sans Ecuaciones \family default de las preferencias del documento. \end_layout \begin_layout Standard Puedes ver más detalles y notas importantes sobre comandos de numeración en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Numeración-de-Notas-al-Pie" \end_inset . \end_layout \begin_layout Section Referencias a flotantes \begin_inset CommandInset label LatexCommand label name "sec:Referencias-a-Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Referencias \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Referencias \end_layout \end_inset \end_layout \begin_layout Standard Para referirse a un flotante, inserta una etiqueta en su leyenda con el menú \family sans Insertar\SpecialChar \menuseparator Etiqueta \family default o el botón \begin_inset Graphics filename ../../images/label-insert.png scale 85 \end_inset . Aparece una ventana esperando la introducción del texto de la etiqueta y se inserta un cuadro gris como este: \begin_inset Graphics filename clipart/etiquetaQt4.png scale 85 \end_inset . LyX ofrece como texto las primeras palabras de la leyenda con un prefijo. El prefijo depende del tipo de flotante, p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset para figuras el prefijo será « \family sans fig: \family default ». \end_layout \begin_layout Standard La etiqueta se usa como ancla y el nombre para la referencia. Puedes referenciar la etiqueta usando el menú \family sans Insertar\SpecialChar \menuseparator Referencia \family default \begin_inset space ~ \end_inset \family sans cruzada \family default o el botón \begin_inset Graphics filename ../../images/dialog-show-new-inset_ref.png scale 85 \end_inset . Aparece una ventana de referencia cruzada con todas las etiquetas del documento. Si tienes abiertos varios documentos LyX, escoge aquel con el que estás trabajando de la lista desplegable de la parte superior del diálogo. Puedes ordenar las etiquetas alfabéticamente y elegir una. Se inserta un cuadro gris como este: \begin_inset Graphics filename clipart/referenciaQt4.png scale 85 \end_inset . En la salida, en lugar de este cuadro aparecerá el número de la referencia. \end_layout \begin_layout Standard Se recomienda poner un espacio protegido entre el nombre de la referencia cruzada y su número para evitar saltos de línea entre ellos. Si una referencia cruzada corresponde a una etiqueta inexistente verás dos interrogaciones en la salida. \end_layout \begin_layout Standard En cualquier momento puedes cambiar etiquetas pulsando sobre el cuadro. Las referencias a las etiquetas cambiadas cambian automáticamente su enlace al texto de la etiqueta nueva, no te ocupes por eso. \end_layout \begin_layout Standard El botón \family sans Ir \begin_inset space ~ \end_inset a \begin_inset space ~ \end_inset la \begin_inset space ~ \end_inset etiqueta \family default en la ventana de referencia cruzada lleva el cursor hasta dicha etiqueta, y el texto del botón cambia a \family sans Volver \family default , con el que se puede retornar a la referencia. Clic-derecho sobre el cuadro de la referencia también lleva el cursor hasta la etiqueta pero sin opción de volver. \end_layout \begin_layout Subsection Formatos de referencia cruzada \begin_inset CommandInset label LatexCommand label name "sub:Formatos-referencia-cruzada" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Referencias ! Formatos \end_layout \end_inset \end_layout \begin_layout Standard Hay seis variedades de referencias cruzadas: \end_layout \begin_layout Description : imprime el número flotante, esta es la opción predeterminada: \begin_inset CommandInset ref LatexCommand ref reference "fig:Dos-imágenes-distorsionadas" \end_inset \end_layout \begin_layout Description (): imprime el número flotante entre paréntesis, es el estilo habitual para referirse a fórmulas, especialmente si se omite el nombre «Ecuación»: \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wgn" \end_inset \end_layout \begin_layout Description : imprime el número de página: Página \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand pageref reference "fig:Dos-imágenes-distorsionadas" \end_inset \end_layout \begin_layout Description en \begin_inset space ~ \end_inset página \begin_inset space ~ \end_inset : imprime el texto «en la página» y el número de página: \begin_inset CommandInset ref LatexCommand vpageref reference "fig:Dos-imágenes-distorsionadas" \end_inset \end_layout \begin_layout Description \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset página \begin_inset space ~ \end_inset : imprime el número flotante, el texto «en la página» y el número de página: \begin_inset CommandInset ref LatexCommand vref reference "fig:Dos-imágenes-distorsionadas" \end_inset \end_layout \begin_layout Description Referencia \begin_inset space ~ \end_inset con \begin_inset space ~ \end_inset formato: imprime un formato personalizado. \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Esta característica sólo está disponible si está instalado el paquete LaTeX \series bold prettyref \series default . \end_layout \end_inset \end_layout \begin_layout Standard Ten en cuenta que el estilo \begin_inset space \thinspace{} \end_inset no imprime el número si la etiqueta está en la misma página, en la anterior o en la siguiente. En su lugar verás p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset el texto « \family sans en esta página \family default ». \end_layout \begin_layout Standard El número y página actual de la parte del documento referida es automáticamente calculado por LaTeX en la salida. Las variedades se ajustan en el campo \family sans Formato \family default de la ventana de referencia cruzada, que aparece al pinchar sobre el cuadro. \end_layout \begin_layout Subsection Designación automática de referencias \begin_inset Index status collapsed \begin_layout Plain Layout Referencias ! Designación automática \end_layout \end_inset \end_layout \begin_layout Standard El paquete LaTeX \series bold hyperref \series default dispone de una característica muy útil que permite incluir automáticamente en las referencias cruzadas el nombre de los flotantes referidos (o partes de texto como secciones). Quieres p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset escribir la palabra «Figura» antes de cada cuadro de referencia. Para conseguirlo debes cargar el paquete LaTeX \series bold hyperref \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! hyperref \end_layout \end_inset en el preámbulo del documento con \end_layout \begin_layout Standard \series bold \backslash usepackage[pdfborder={0 0 0}]{hyperref} \begin_inset Newline newline \end_inset \backslash AtBeginDocument{ \backslash renewcommand{ \backslash ref}[1]{ \backslash mbox{ \backslash autoref{#1}}}} \end_layout \begin_layout Standard \series bold hyperref \series default se utiliza para enlazar referencias cruzadas en las salidas DVI y PDF, esto significa que el lector del documento podrá pinchar sobre una entrada de Índice o una referencia y será inmediatamente dirigido a esa parte del documento. \series bold hyperref \series default también crea marcadores PDF para cada sección para facilitar al lector la navegación por el documento. Esto también se ha usado en este documento pero si echas una ojeada al preámbulo encontrarás varias opciones en la carga de \series bold hyperref \series default . Para aprender más sobre ello acude a la documentación del paquete \begin_inset CommandInset citation LatexCommand cite key "hyperref" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default La designación automática de referencias no puede usarse en el estilo \family sans Referencia \begin_inset space ~ \end_inset con \begin_inset space ~ \end_inset formato \family default , descrita en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Formatos-referencia-cruzada" \end_inset . \end_layout \end_inset \end_layout \begin_layout Subsection Colocación de referencias \begin_inset CommandInset label LatexCommand label name "sub:Colocación-de-Referencias" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Referencias ! Colocación \end_layout \end_inset \end_layout \begin_layout Standard Si usas \series bold hyperref \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! hyperref \end_layout \end_inset para enlazar referencias cruzadas en la salida, verás que al pinchar sobre la referencia de una imagen flotante te lleva hasta la etiqueta de la imagen. La leyenda será la primera parte del texto en pantalla, de forma que para ver la imagen debes deslizar. Se debe a que el ancla de enlace de la referencia se sitúa en la etiqueta. Usando el paquete \series bold hypcap \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! hypcap \end_layout \end_inset , que forma parte del paquete LaTeX \series bold oberdiek \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! oberdiek \end_layout \end_inset , el ancla de enlace se sitúa al comienzo de un flotante. Para usar esta característica para figuras flotantes carga \series bold hypcap \series default en el preámbulo con \end_layout \begin_layout Standard \series bold \backslash usepackage[figure]{hypcap} \end_layout \begin_layout Standard Puedes usar \series bold hypcap \series default para todos los flotantes aunque no se recomienda por razones de estabilidad. Más información en el manual de \series bold hypcap \series default \begin_inset CommandInset citation LatexCommand cite key "hypcap" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: hypcap \series default debe cargarse después de \series bold hyperref \series default en el preámbulo \series bold . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default La colocación de referencias no afecta a las referencias a subfiguras. \end_layout \end_inset \end_layout \begin_layout Section Colocación de flotantes \begin_inset CommandInset label LatexCommand label name "sec:Colocación-de-Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Colocación \end_layout \end_inset \end_layout \begin_layout Standard Pulsando con el botón derecho del ratón sobre un cuadro de flotante se abre un diálogo en el que pueden cambiarse las opciones de LaTeX para situar los flotantes. \begin_inset Newline newline \end_inset La opción \family sans Extender \begin_inset space ~ \end_inset columnas \family default sólo es aplicable a documentos de dos columnas: Si lo seleccionas, el flotante abarcará ambas columnas en lugar de una sola. \begin_inset Newline newline \end_inset La opción \family sans Girar \begin_inset space ~ \end_inset a \begin_inset space ~ \end_inset un \begin_inset space ~ \end_inset lado \family default sirve para girar flotantes, ver sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Rotación-de-Flotantes" \end_inset . \end_layout \begin_layout Standard Puedes usar una o más de las siguientes opciones en el diálogo para establecer la posición de un flotante si desmarcas la opción \family sans Usar \begin_inset space ~ \end_inset ubicación \begin_inset space ~ \end_inset predeterminada \family default : \end_layout \begin_layout Description \family sans \series bold Aquí \begin_inset space ~ \end_inset si \begin_inset space ~ \end_inset es \begin_inset space ~ \end_inset posible \family default \series default intenta situar el flotante en la posición en la que se inserta \end_layout \begin_layout Description \family sans \series bold Principio \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset página \family default \series default intenta situar el flotante al principio de la página actual \end_layout \begin_layout Description \family sans \series bold Fin \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset página \family default \series default intenta situar el flotante al final de la página actual \end_layout \begin_layout Description \family sans \series bold Página \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset flotantes \family default \series default intenta situar el flotante en una página propia \end_layout \begin_layout Standard LaTeX usa \emph on siempre \emph default ese orden de opciones. Significa que si usas la colocación predeterminada, LaTeX probará en primer lugar \family sans Aquí \begin_inset space ~ \end_inset si \begin_inset space ~ \end_inset es \begin_inset space ~ \end_inset posible \family default , luego \family sans Principio \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset página \family default , y después las otras. Si no usas la predeterminada, LaTeX sólo probará las opciones marcadas pero en dicho orden. Si no es posible ninguna de las 4 ubicaciones el proceso se repite internamente pero intenta poner el flotante en la página siguiente. \end_layout \begin_layout Standard De forma predeterminada cada una de las opciones tiene sus propias reglas: \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \family sans Principio \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset página: \family default sólo si el flotante ocupa menos del 70 \begin_inset space \thinspace{} \end_inset % de la página puede ubicarse al principio de página ( \series bold \backslash topfraction \series default ) \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \family sans Fin \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset página: \family default sólo si el flotante ocupa menos del 30 \begin_inset space \thinspace{} \end_inset % de la página puede ubicarse al fin de página. ( \series bold \backslash bottomfraction \series default ) \end_layout \begin_layout Labeling \labelwidthstring 00.00.0000 \family sans Página \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset flotantes: \family default sólo si más del 50 \begin_inset space \thinspace{} \end_inset % de la página se ocupa por flotantes puede haber varios juntos en la misma página. ( \series bold \backslash floatpagefraction \series default ) \end_layout \begin_layout Standard Si no te agradan estas reglas puedes ignorarlas marcando la opción adicional \family sans Ignorar \begin_inset space ~ \end_inset reglas \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset LaTeX \family default . \begin_inset Newline newline \end_inset También puedes redefinir las reglas con los comandos LaTeX que van entre paréntesis tras la descripción de las reglas anteriores. Por ejemplo, para aumentar el valor predeterminado, quizás pequeño, de la regla \family sans Fin \family default \begin_inset space ~ \end_inset \family sans de \family default \begin_inset space ~ \end_inset \family sans página \family default al 50 \begin_inset space \thinspace{} \end_inset %, añade esta línea en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash bottomfraction}{0.5} \end_layout \begin_layout Standard En determinados casos podrías necesitar ubicar un flotante exactamente en la posición en la que se inserta. Para esto puedes usar la opción \family sans Aquí \begin_inset space ~ \end_inset definitivamente \family default . Usa esta opción esporádicamente y sólo cuando el documento esté casi listo, porque el flotante ya no podrá «flotar» y si haces cambios al documento se podría estropear el diseño de la página. \end_layout \begin_layout Standard No hay opciones de ubicación para flotantes ajustados a texto porque siempre están rodeados por texto de un párrafo determinado. \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard A veces surge el problema de que un flotante se sitúa al principio de la página mientras que su sección correspondiente empieza en mitad de la página, así que el lector podría creer que el flotante forma parte de la sección anterior. Para evitarlo puede emplearse el comando LaTeX \series bold \backslash suppressfloats \series default , que suprime la ubicación de un flotante dado en la página donde se inserta y además puede servir para evitar que el flotante se coloque antes del inicio de sección. Para ello, añade estos comandos al preámbulo: \end_layout \begin_layout Standard \series bold \backslash let \backslash mySection \backslash section \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash section}{ \backslash suppressfloats[t] \backslash mySection} \end_layout \begin_layout Standard Se puede hacer lo mismo para todas las cabeceras de sección, capítulos y subsecciones. No es recomendable para partes pequeñas de texto como subsubsecciones porque LaTeX podría tener problemas para encontrar una ubicación adecuada. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset En ciertos casos se quieren tener todas las figuras/tablas al final del documento. Para estos casos está el paquete LaTeX \series bold endfloat \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! endfloat \end_layout \end_inset . Pone todas las figuras y tablas flotantes al final del documento en secciones propias. En la posición original del flotante se inserta una indicación como « \family sans [Figure \begin_inset space ~ \end_inset 3.2 about here.] \family default ». El paquete \series bold endfloat \series default se carga en el preámbulo con la línea \end_layout \begin_layout Standard \series bold \backslash usepackage[options]{endfloat} \end_layout \begin_layout Standard Hay varias opciones para diseñar las secciones figura/tabla creadas. Para más información ver la documentación de \begin_inset CommandInset citation LatexCommand cite key "endfloat" \end_inset . \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: endfloat \series default no traduce automáticamente la indicación, hay que hacerlo manualmente, ver sección \begin_inset space ~ \end_inset 4 en \begin_inset CommandInset citation LatexCommand cite key "endfloat" \end_inset . \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Actualmente hay un error en \series bold endfloat \series default cuando la leyenda contiene el carácter alemán «ß». Usa en ese caso el comando « \series bold \backslash ss \series default » en código TeX en vez de «ß». \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Más detalles sobre ubicación de flotantes en libros sobre LaTeX como \begin_inset CommandInset citation LatexCommand cite key "latexcompanion,latexguide,latexbook" \end_inset . \end_layout \begin_layout Section Rotación de flotantes \begin_inset CommandInset label LatexCommand label name "sec:Rotación-de-Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Rotación \end_layout \end_inset \end_layout \begin_layout Standard Podrías necesitar girar flotantes, especialmente con tablas grandes. Para girar todo el flotante y su leyenda, pincha sobre su cuadro y marca la opción \family sans Girar \begin_inset space ~ \end_inset a \begin_inset space ~ \end_inset un \begin_inset space ~ \end_inset lado \family default . \end_layout \begin_layout Standard Los flotantes girados son puestos siempre en su propia página (o columna si el documento es de dos columnas). Se rotan de forma que puedes leerlos desde el margen externo. Para forzar determinada dirección de rotación para todas las páginas, puedes añadir una de las opciones \series bold figuresleft \series default o \series bold figuresright \series default a las opciones de clase del documento. \end_layout \begin_layout Standard Los flotantes girados se refieren igual que los normales, y el formato de la leyenda también es el mismo: un ejemplo es la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Tabla-girada" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default No todos los visores DVI pueden mostrar tablas giradas. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table wide false sideways true status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Tabla-girada" \end_inset Tabla girada \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout test \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Section Flotantes adosados \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Adosados \end_layout \end_inset \end_layout \begin_layout Standard Para colocar flotantes unos junto a otros, como en la figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Flotante-izquierda" \end_inset y \begin_inset CommandInset ref LatexCommand ref reference "fig:Flotante-derecha" \end_inset , se pone \emph on un \emph default solo flotante. En él se insertan dos cuadros tipo minipágina. \begin_inset Foot status open \begin_layout Plain Layout Las minipáginas se explican en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipáginas" \end_inset . \end_layout \end_inset La anchura de la columna se establece en 45-50 \begin_inset space \thinspace{} \end_inset % y la alineación en \family sans Inferior \family default para cada minipágina. Las minipáginas contienen la imagen y su título, de igual forma que en los flotantes. La única diferencia es que el \family sans Ancho \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset columna \begin_inset space ~ \end_inset % \family default de la imagen se calcula en este caso en relación a la anchura de la minipágina. \end_layout \begin_layout Standard \begin_inset Float figure placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Box Frameless position "b" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 width "45col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/mobius.eps lyxscale 50 width 100col% scaleBeforeRotation \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Flotante-izquierda" \end_inset Flotante en el lado izquierdo. \end_layout \end_inset \end_layout \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Box Frameless position "b" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 width "45col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 100col% scaleBeforeRotation \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Flotante-derecha" \end_inset Flotante en el lado derecho. \end_layout \end_inset \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section Formato de las leyendas \begin_inset Index status collapsed \begin_layout Plain Layout Leyendas ! Formato \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Formato de las leyendas \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! caption \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sec:Formato-de-leyendas" \end_inset \end_layout \begin_layout Standard El entorno \family sans Leyenda \family default es el predeterminado para los \family sans Flotantes \family default . En LyX las leyendas se muestran como etiqueta, p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset « \family sans Figura # \family default :» seguida por el texto. «#» es el número real de referencia. Por omisión la etiqueta y el número usan la misma fuente que el texto de la leyenda y el signo dos puntos sigue al número para separar la etiqueta del texto. El entorno leyenda no es apropiado para todos los tipos de documento. \end_layout \begin_layout Standard Para cambiar el formato predeterminado carga el paquete LaTeX \series bold caption \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! caption \end_layout \end_inset en el preámbulo del documento con la línea: \end_layout \begin_layout Standard \series bold \backslash usepackage[definición de formato]{caption} \end_layout \begin_layout Standard Para poner, por ejemplo, la etiqueta y el número en sans-serif negrita y las leyendas de tabla siempre sobre ella como en este documento, usa el comando: \end_layout \begin_layout Standard \series bold \backslash usepackage[labelfont={bf,sf}, tableposition=top]{caption} \end_layout \begin_layout Standard También puedes definir distintos formatos de leyenda para los distintos tipos de flotantes. En ese caso carga el paquete \series bold caption \series default sin opciones específicas y define los distintos formatos con ayuda del comando \end_layout \begin_layout Standard \series bold \backslash captionsetup[tipo de flotante]{definición de formato} \end_layout \begin_layout Standard en el preámbulo del documento. Por ejemplo las leyendas de la Figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Esto-es-una-fig" \end_inset y la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Esto-es-una-tab" \end_inset pueden crearse usando los siguientes comandos en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash usepackage[tableposition=top]{caption} \series default \begin_inset Newline newline \end_inset \series bold \backslash captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ \backslash \backslash captionsetup[figure] \backslash {} \end_layout \end_inset labelsep=period} \begin_inset Newline newline \end_inset \backslash captionsetup[table]{labelfont={bf,sf}} \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default La opción \series bold tableposition=top \series default no tiene efecto si se usa una clase de documento \series bold koma-script \series default . En este caso debe utilizarse la opción de clase de documento \series bold tablecaptionabove \series default . \end_layout \end_inset \end_layout \begin_layout Standard Para más información sobre el paquete \series bold caption \series default acude a su documentación \begin_inset CommandInset citation LatexCommand cite key "caption" \end_inset . \end_layout \begin_layout Standard Para cambiar el nombre de la etiqueta de «Figura» a «Imagen», p. \begin_inset space \thinspace{} \end_inset e., usa el siguiente comando de preámbulo: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash fnum@figure}{Imagen~ \backslash thefigure} \end_layout \begin_layout Standard donde \series bold \backslash thefigure \series default inserta el número de figura y «~» genera un espacio protegido. \series bold \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Si estás usando la clase de documento \series bold koma-script \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! koma-script \end_layout \end_inset ( \family sans article (koma-script) \family default , \family sans book (koma-script) \family default , \family sans letter (koma-script) \family default , o \family sans report (koma-script) \family default \begin_inset space \thinspace{} \end_inset ), puedes emplear en vez del paquete \series bold caption \series default el comando \series bold \backslash setkomafont \series default incluido en \series bold koma-script \series default . Por ejemplo, para poner en negrita la etiqueta de la leyenda añade este comando en el preámbulo del documento: \end_layout \begin_layout Standard \series bold \backslash setkomafont{captionlabel}{ \backslash bfseries} \end_layout \begin_layout Standard Más información sobre \series bold \backslash setkomafont \series default en la documentación de \series bold koma-script \series default \begin_inset CommandInset citation LatexCommand cite key "koma-script" \end_inset . \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period } \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout El formato de la leyenda se ha cambiado sólo para este ejemplo. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement !p wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset Graphics filename ../clipart/mobius.eps lyxscale 50 scale 50 \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Esto-es-una-fig" \end_inset \begin_inset OptArg status collapsed \begin_layout Plain Layout Figura con leyenda muy larga \end_layout \end_inset Este es un ejemplo de figura con una leyenda que es mayor de una línea para mostrar el formato diferente. Aquí se usa una leyenda personalizada. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col on} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table placement !p wide false sideways false status collapsed \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Esto-es-una-tab" \end_inset \begin_inset OptArg status collapsed \begin_layout Plain Layout Tabla con leyenda muy larga \end_layout \end_inset Este es un ejemplo de leyenda de tabla mayor que una línea para mostrar el formato diferente. Aquí se usa el formato de leyenda estándar para las tablas. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Section Colocación de leyendas \begin_inset Index status collapsed \begin_layout Plain Layout Leyendas ! Colocación \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Colocación de leyendas \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "sec:Colocación-de-leyendas" \end_inset \end_layout \begin_layout Standard La norma habitual para colocar las leyendas es: \end_layout \begin_layout Description Figura: La leyenda al pie de la figura \end_layout \begin_layout Description Tabla: La leyenda sobre la tabla \end_layout \begin_layout Standard Desafortunadamente, las clases estándar de LaTeX no soportan leyendas sobre la tabla. Esto implica que si usas las clases de documento \family sans article \family default , \family sans book \family default , \family sans letter \family default , o \family sans report \family default no habrá espacio entre la leyenda y la tabla. Para insertar el espacio adecuado añade la siguiente opción al comando del paquete LaTeX \series bold caption \series default en el preámbulo del documento: \begin_inset Foot status collapsed \begin_layout Plain Layout Ver la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Formato-de-leyendas" \end_inset para más información sobre el paquete \series bold caption \series default . \end_layout \end_inset \end_layout \begin_layout Standard \series bold tableposition=top \end_layout \begin_layout Standard Si estás usando la clase \series bold koma-script \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! koma-script \end_layout \end_inset ( \family sans article (koma-script) \family default , \family sans book (koma-script) \family default , \family sans letter (koma-script) \family default , o \family sans report (koma-script) \family default \begin_inset space \thinspace{} \end_inset ), en vez de \series bold caption \series default puedes poner la opción \series bold tablecaptionabove \series default de la clase de documento. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset También es posible poner la leyenda junto a una figura o tabla. Para conseguirlo hay que cargar el paquete LaTeX \series bold sidecap \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! sidecap \end_layout \end_inset añadiendo en el preámbulo del documento la línea \end_layout \begin_layout Standard \series bold \backslash usepackage[option]{sidecap} \end_layout \begin_layout Standard Si no se especifica opción, la leyenda se ubica del lado del margen externo de la página ---a la derecha en páginas impares, a la izquierda en las pares---. Puedes cambiar la colocación al margen interno con la opción \series bold innercaption \series default . Para forzar la ubicación siempre a la derecha o a la izquierda, usa las opciones \series bold rightcaption \series default o \series bold leftcaption \series default , respectivamente. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifsidecap \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La siguiente sección sólo se mostrará en pantalla si está instalado el paquete LaTeX \series bold sidecap \series default . \end_layout \end_inset \end_layout \begin_layout Standard Para situar en LyX la leyenda de un flotante al lado, es necesario añadir estos comandos al preámbulo del documento: \end_layout \begin_layout Standard \lyxline \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash TabBesBeg}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyTable \backslash table \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyEndtable \backslash endtable \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash renewenvironment{table}{ \backslash begin{SCtable}}{ \backslash end{SCtable}}} \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash TabBesEnd}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash table \backslash MyTable \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash endtable \backslash MyEndtable \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash FigBesBeg}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyFigure \backslash figure \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash MyEndfigure \backslash endfigure \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash renewenvironment{figure}{ \backslash begin{SCfigure}}{ \backslash end{SCfigure}}} \end_layout \begin_layout Standard \series bold \backslash newcommand{ \backslash FigBesEnd}{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash figure \backslash MyFigure \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash let \backslash endfigure \backslash MyEndfigure} \end_layout \begin_layout Standard \lyxline \end_layout \begin_layout Standard Estos comandos permiten redefinir los flotantes de modo que la leyenda aparezca en un lado. Para figuras flotantes usa el comando \end_layout \begin_layout Standard \series bold \backslash FigBesBeg \end_layout \begin_layout Standard en código TeX antes del flotante. Detrás del flotante inserta \end_layout \begin_layout Standard \series bold \backslash FigBesEnd \end_layout \begin_layout Standard en código TeX para volver a la definición original de flotantes. \end_layout \begin_layout Standard Para tablas flotantes usa los comandos correspondientes \end_layout \begin_layout Standard \series bold \backslash TabBesBeg \series default y \series bold \backslash TabBesEnd \end_layout \begin_layout Standard La figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:encab-al-lado" \end_inset y la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:encab-al-lado" \end_inset son ejemplos en los que el título se sitúa al lado. \end_layout \begin_layout Standard En los ejemplos puedes ver que el texto del título aparece encima del flotante en tablas flotantes y debajo en las figuras flotantes. Para cambiarlo, puedes usar el comando \end_layout \begin_layout Standard \series bold \backslash sidecaptionvpos{tipo de flotante}{colocación} \end_layout \begin_layout Standard en el preámbulo o en código TeX antes del flotante. El tipo de flotante es \family sans figure \family default o \family sans table \family default , la colocación puede ser « \family sans t \family default » por «top» (arriba), « \family sans c \family default » por «center» (centro), o « \family sans b \family default » por «bottom» (abajo). Para tener, por ejemplo, el título de figuras flotantes verticalmente centrado, usa el comando \end_layout \begin_layout Standard \series bold \backslash sidecaptionvpos{figure}{c} \end_layout \begin_layout Standard Esto se ha hecho en la figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:encab-al-lado-de-fig" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Más información sobre el paquete \series bold sidecap \series default en su documentación \begin_inset CommandInset citation LatexCommand cite key "sidecap" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default El paquete LaTeX \series bold hypcap \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! hypcap \end_layout \end_inset , descrito en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Colocación-de-Referencias" \end_inset , no afecta a flotantes con la leyenda al lado. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FigBesBeg \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/escher-lsd.eps scale 75 \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:encab-al-lado" \end_inset Leyenda al lado de una figura. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash TabBesBeg \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float table wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:encab-al-lado" \end_inset Leyenda al lado de una tabla. \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout i \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout j \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash TabBesEnd \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash sidecaptionvpos{figure}{c} \end_layout \end_inset \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \begin_inset Graphics filename ../clipart/escher-lsd.eps scale 75 \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:encab-al-lado-de-fig" \end_inset Leyenda centrada verticalmente junto a una figura. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FigBesEnd \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash else \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX \series bold sidecap \series default . \end_layout \end_inset \end_layout \begin_layout Standard Debes instalar el paquete LaTeX \series bold sidecap \series default para ver la parte siguiente en la salida. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fi \end_layout \end_inset \end_layout \begin_layout Section Lista de flotantes \begin_inset CommandInset label LatexCommand label name "sec:Lista-de-Flotantes" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Lista de \end_layout \end_inset \end_layout \begin_layout Standard Igual que en el índice general se listan las secciones del documento, hay listas para todos los tipos de flotantes, como las figuras. Se pueden insertar mediante los submenús \family sans Insertar\SpecialChar \menuseparator Lista / IG \family default . \end_layout \begin_layout Standard Las entradas de la lista son los títulos del flotante o su título corto, el número de flotante, y el número de la página del documento en la que aparecen. \end_layout \begin_layout Standard Puedes encontrar las listas de figuras y tablas al final de este documento. \end_layout \begin_layout Chapter Notas \end_layout \begin_layout Section Notas en LyX \begin_inset CommandInset label LatexCommand label name "sec:Notas-en-LyX" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Notas ! Notas en LyX \end_layout \end_inset \end_layout \begin_layout Standard Las notas se insertan con el botón \begin_inset Graphics filename ../../images/note-insert.png scale 85 \end_inset o con el menú \family sans Insertar\SpecialChar \menuseparator Nota \family default . Hay cinco tipos de notas: \end_layout \begin_layout Description Nota \begin_inset space ~ \end_inset LyX Este tipo es para notas internas que no han de aparecer en la salida. Su cuadro se muestra como este: \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Graphics filename clipart/NotaLyXImagenQt4.png display false scale 85 \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Este es un texto en un recuadro que no se muestra en la salida. \end_layout \end_inset \end_layout \begin_layout Description Comentario Esta nota tampoco se muestra en la salida pero aparece como un comentario de LaTeX, cuando exportas el documento a LaTeX vía menú \family sans Archivo\SpecialChar \menuseparator Exportar\SpecialChar \menuseparator LaTeX (pdflatex) / (plain) \family default . Su recuadro se ve así: \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Graphics filename clipart/ComentNotaImagenQt4.png display false scale 85 \end_inset \begin_inset Note Comment status collapsed \begin_layout Plain Layout Una nota comentario que sólo aparece como comentario en archivos LaTeX. \end_layout \end_inset \end_layout \begin_layout Description Resaltado \begin_inset space ~ \end_inset en \begin_inset space ~ \end_inset gris Esta nota aparece en la salida como texto resaltado en gris. Su recuadro se parece a este: \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Graphics filename clipart/GrisNotaImagenQt4.png display false scale 85 \end_inset \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewenvironment{lyxgreyedout} \end_layout \begin_layout Plain Layout { \backslash textcolor[gray]{0.8} \backslash bgroup}{ \backslash egroup} \end_layout \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout Este es el texto \begin_inset Foot status open \begin_layout Plain Layout Esto es un ejemplo de nota al pie en una nota resaltada en gris. \end_layout \end_inset de un comentario que se muestra resaltado en gris. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewenvironment{lyxgreyedout} \end_layout \begin_layout Plain Layout { \backslash textcolor{blue} \backslash bgroup}{ \backslash egroup} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout La nota resaltada en gris se ha redefinido aquí para mostrarla con la definición original de LyX, ya que en el preámbulo de este documento se han redefinido estas notas para que salgan en azul, como se indica más adelante. \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset Como se ve en el ejemplo, la primera línea de las notas resaltadas en gris está un poco sangrada, y por otra parte pueden tener notas al pie. \end_layout \begin_layout Description Enmarcado Este tipo de notas aparecerá en la salida como un texto enmarcado. Su recuadro se verá como este: \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \family roman \series medium \begin_inset Graphics filename clipart/NotaEnmarcadaImg.png display false \end_inset \family default \series default \family roman \series medium \begin_inset Box Framed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \family roman Este texto en un cuadro de nota se verá enmarcado en la salida. \end_layout \end_inset \family default \series default \family roman \series medium A \family default \series default diferencia de los cuadros enmarcados, \begin_inset Foot status collapsed \begin_layout Plain Layout Los cuadros enmarcados se describen en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Cuadros-Enmarcados" \end_inset \end_layout \end_inset este marco emplea siempre la anchura total de página y la nota va en su propio párrafo. \end_layout \begin_layout Description Sombreado Este tipo de nota se verá en la salida con un fondo de color rojo. Su recuadro se verá como este: \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \family roman \series medium \begin_inset Graphics filename clipart/NotaSombreadaImg.png display false \end_inset \begin_inset Box Shaded position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \family roman Este texto en un cuadro de nota se verá en la salida sobre fondo en rojo. \end_layout \end_inset A diferencia de los cuadros coloreados \family default \series default \begin_inset Foot status open \begin_layout Plain Layout Los cuadros coloreados se describen en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Cuadros-Coloreados" \end_inset . \end_layout \end_inset , este cuadro de nota siempre usa toda la anchura de página y va en su propio párrafo. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Si usas el botón de la barra de herramientas \begin_inset Graphics filename ../../images/note-insert.png scale 85 \end_inset para insertar notas, se inserta una \family sans Nota \begin_inset space ~ \end_inset LyX \family default . Puedes cambiar entre los cinco tipos de nota con clic-derecho sobre el recuadro. \family roman \series medium \bar no Si quieres convertir un texto presente a nota, márcalo y pincha sobre el botón de herramienta \family sans \series default \bar default Nota \family default . Para cambiar una nota a texto, pulsa la tecla \family sans Retroceso \family default cuando el cursor está en la primera posición de una nota, o la tecla \family sans Supr \family default cuando el cursor está en la última posición de la nota, respectivamente. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Se puede cambiar el color del \family sans Resaltado en gris \family default poniendo en el preámbulo el comando: \end_layout \begin_layout Standard \series bold \backslash renewenvironment{lyxgreyedout} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash textcolor{color} \backslash bgroup}{ \backslash egroup} \end_layout \begin_layout Standard Los colores disponibles y el método para definir nuestros propios colores se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Coloreadas" \end_inset . \end_layout \begin_layout Standard Las notas en azul en este documento se han hecho con notas del tipo \family sans Resaltado en gris \family default pero definiendo el color del texto en azul. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard El estilo de texto en las notas de tipo \family sans Enmarcado \family default y \family sans Sombreado \family default se puede establecer en el diálogo \family sans Estilo del texto. \end_layout \begin_layout Standard El grosor predeterminado del marco en las notas \family sans Enmarcadas \family default es 0.4 \begin_inset space \thinspace{} \end_inset pt; se puede cambiar con el comando \backslash \series bold FrameRule \series default . El espacio entre el contenido y el marco es 9 \series bold \begin_inset space \thinspace{} \end_inset \series default pt por omisión; se puede cambiar con \series bold \backslash FrameSep \series default . Por ejemplo, el marco de la siguiente nota \family sans Enmarcada \family default está hecho con los comandos en código TeX \series bold \end_layout \begin_layout Standard \series bold \backslash FrameRule 5pt \backslash FrameSep 0.5cm \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FrameRule 5pt \backslash FrameSep 0.5cm \end_layout \end_inset \begin_inset Box Framed position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout Texto en una nota \family sans Enmarcada \family default . \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash FrameRule 0.4pt \backslash FrameSep 9pt \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Para las notas \family sans Sombreadas \family default el espacio entre el contenido y el borde es 3 \begin_inset space \thinspace{} \end_inset pt por omisión; se puede cambiar con \series bold \backslash fboxsep \series default . \begin_inset Newline newline \end_inset El color rojo predeterminado se puede cambiar con el comando \series bold \backslash definecolor{shadebox} \series default . El esquema del comando \series bold \backslash definecolor \series default se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Coloreadas" \end_inset . \begin_inset Foot status collapsed \begin_layout Plain Layout \series bold \backslash definecolor \series default requiere el paquete LaTeX \series bold color \series default en el preámbulo, véase la sección \series bold \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Cuadros-Coloreados" \end_inset \series default . \series bold \end_layout \end_inset \end_layout \begin_layout Standard Por ejemplo, la siguiente nota \family sans Sombreada \family default se ha hecho con los comandos en código TeX \end_layout \begin_layout Standard \series bold \backslash fboxsep 0.5cm \begin_inset Newline newline \end_inset \backslash definecolor{shadecolor}{cmyk}{0.5,0,1,0.5} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxsep 0.5cm \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash definecolor{shadecolor}{cmyk}{0.5,0,1,0.5} \end_layout \end_inset \begin_inset Box Shaded position "t" hor_pos "c" has_inner_box 0 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \color yellow Texto amarillo en una nota \family sans Sombreada \family default \begin_inset space ~ \end_inset con fondo verde oscuro. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxsep 3pt \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash definecolor{shadecolor}{rgb}{1,0,0} \end_layout \end_inset \end_layout \begin_layout Section Notas al pie \begin_inset CommandInset label LatexCommand label name "sec:Notas-al-pie" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Notas ! al pie \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Notas al pie \end_layout \end_inset \end_layout \begin_layout Standard Las notas al pie se insertan con el botón \begin_inset Graphics filename ../../images/footnote-insert.png scale 85 \end_inset o el menú \family sans Insertar\SpecialChar \menuseparator Nota \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset pie \family default . \family roman \series medium \bar no Aparece un recuadro como este: \family default \series default \bar default \begin_inset Graphics filename clipart/notapieQt4.png scale 80 \end_inset \family roman \series medium \bar no donde puedes introducir el texto. Si quieres convertir un texto existente en nota al pie, márcalo y pincha sobre el \family default \series default \bar default \family roman \series medium \bar no botón \family default \series default \bar default . Para cambiar una nota al pie a texto, pulsa la tecla \family sans Retroceso \family default cuando el cursor está en la primera posición de la nota al pie, o la tecla \family sans Supr \family default cuando el cursor está en la última posición de la nota, respectivamente. \end_layout \begin_layout Standard Aquí hay un ejemplo de nota al pie: \family roman \series medium \bar no \begin_inset Foot status open \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "pie:Esto-es-una" \end_inset Ejemplo de nota al pie. \end_layout \end_inset \family default \series default \bar default \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash newcounter{MyRepeatFoot} \end_layout \begin_layout Plain Layout \backslash setcounter{MyRepeatFoot}{ \backslash thefootnote} \end_layout \end_inset \end_layout \begin_layout Standard En la salida, el pie se muestra como número voladito en el lugar del texto donde se coloca el recuadro. El texto se coloca al final de la página actual. Los números de las notas son calculados por LaTeX, y son consecutivos. Si comienza o no el recuento en cada capítulo depende de la clase de documento. \end_layout \begin_layout Standard Las notas al pie pueden referenciarse como flotantes: inserta una etiqueta en la nota y pon una referencia cruzada a esa etiqueta en el texto como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Referencias-a-Flotantes" \end_inset . \begin_inset Newline newline \end_inset Esto es una referencia cruzada a la Nota al pie \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "pie:Esto-es-una" \end_inset . \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default LyX no suministra prefijos para etiquetas en notas al pie, así que has de insertar un prefijo, p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset « \family sans pie: \family default » manualmente cuando quieras usar el estilo \family sans Referencia \begin_inset space ~ \end_inset con \begin_inset space ~ \end_inset formato \family default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace defskip \end_inset Para poner notas al pie en tablas, tienes que usar minipáginas, ver sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipáginas" \end_inset . Los pies en tablas largas en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Notas-al-pie-en-Tablas-Largas" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace defskip \end_inset Para crear sólo una marca para una nota al pie, puedes usar el comando \series bold \backslash footnotemark[número] \series default en código TeX. Esto se emplea si tienes la misma anotación varias veces en el texto pero no quieres imprimir el pie cada vez. \begin_inset Newline newline \end_inset Como no sabes el número del pie que se repite mientras escribes el texto, tienes que guardarlo. Para el siguiente ejemplo de marca de pie, se han insertado estos comandos en código TeX detrás de Nota \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset pie \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "pie:Esto-es-una" \end_inset para guardar el número de pie: \end_layout \begin_layout Standard \series bold \backslash newcounter{MyRepeatFoot} \begin_inset Newline newline \end_inset \backslash setcounter{MyRepeatFoot}{ \backslash thefootnote} \end_layout \begin_layout Standard La marca de pie se crea entonces con el comando: \end_layout \begin_layout Standard \series bold \backslash footnotemark[ \backslash theMyRepeatFoot] \end_layout \begin_layout Standard Aquí hay un ejemplo de marca de pie: \family roman \series medium \bar no \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash footnotemark[ \backslash theMyRepeatFoot] \end_layout \end_inset \end_layout \begin_layout Subsection Numeración de notas al pie \begin_inset CommandInset label LatexCommand label name "sub:Numeración-de-Notas-al-Pie" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Notas al pie ! Numeración \end_layout \end_inset \end_layout \begin_layout Standard Para reiniciar el número de pie a 1 en cada sección añade este \family roman comando en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash @addtoreset{footnote}{section} \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset El siguiente comando en el preámbulo cambia el estilo de numeración del pie a números romanos en minúsculas: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash thefootnote}{ \backslash roman{footnote}} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash thefootnote}{ \backslash roman{footnote}} \end_layout \end_inset Nota al pie en números romanos: \begin_inset Foot status open \begin_layout Plain Layout Ejemplo de nota al pie en números romanos. \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash thefootnote}{ \backslash arabic{footnote}} \end_layout \end_inset \end_layout \begin_layout Standard Para cambiar el estilo de número a romanos en mayúscula cambia el comando \series bold \backslash roman \series default por \series bold \backslash Roman \series default . Para ordenar las notas al pie con letras mayúsculas o minúsculas usa \series bold \backslash Alph \series default o \series bold \backslash alph \series default , respectivamente. Para ordenar las notas al pie con símbolos usa \series bold \backslash fnsymbol \series default . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default sólo puedes ordenar hasta 26 pies con letras, porque está limitado a letras simples. \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default sólo puedes ordenar hasta 9 pies con símbolos. \end_layout \end_inset \end_layout \begin_layout Standard Para volver al estilo de numeración predeterminado cuando has cambiado a otro estilo, usa \series bold \backslash arabic \series default en vez de \series bold \backslash roman \series default en el comando anterior. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash thefootnote}{ \backslash arabic{footnote}} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Si quieres numerar notas al pie en el esquema «capítulo.nota», añade el siguiente comando al preámbulo del documento: \end_layout \begin_layout Standard \series bold \backslash numberwithin{footnote}{chapter} \end_layout \begin_layout Standard Para poder usar el comando \series bold \backslash numberwithin \series default , marca la opción \family sans Usar \family default \begin_inset space ~ \end_inset \family sans el \family default \begin_inset space ~ \end_inset \family sans paquete \family default \begin_inset space ~ \end_inset \family sans AMS \family default en la solapa \family sans Ecuaciones \family default de la configuración del documento. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash numberwithin{footnote}{chapter} \end_layout \end_inset Esto es otro ejemplo de nota al pie: \series bold \begin_inset Foot status open \begin_layout Plain Layout Nota al pie numerada en el esquema \begin_inset Quotes eld \end_inset capítulo.nota \begin_inset Quotes erd \end_inset . \end_layout \end_inset \series default \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash thefootnote}{ \backslash arabic{footnote}} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \backslash numberwithin \series default siempre imprime el número de nota al pie en números arábigos; las redefiniciones previas para obtener números no arábigos se sobreescriben. \end_layout \end_inset \end_layout \begin_layout Standard Así, para obtener por ejemplo el esquema «capítulo. \backslash Roman{footnote}», usa este comando en vez de \series bold \backslash numberwithin \series default : \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash thefootnote}{ \backslash thechapter. \backslash Roman{footnote}} \end_layout \begin_layout Subsection Colocación de notas al pie \begin_inset Index status collapsed \begin_layout Plain Layout Notas al pie ! Colocación \end_layout \end_inset \end_layout \begin_layout Standard Si tienes varias notas al pie de una página, se muestran sin espacio vertical entre ellas al final de la página. Para hacerlas más legibles puedes añadir p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset 1.5 \begin_inset space \thinspace{} \end_inset mm con el comando siguiente en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash let \backslash myFoot \backslash footnote \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash footnote}[1]{ \backslash myFoot{#1 \backslash vspace{1.5mm}}} \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset En documentos a dos columnas la nota al pie aparece al final de cada columna, ver la figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Colocación-standard-del-pie" \end_inset . Si las notas debieran mostrarse sólo al final de la columna derecha, como en la figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Colocación-del-pie-en" \end_inset , usa el paquete LaTeX \series bold ftnright \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! ftnright \end_layout \end_inset con este comando en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash usepackage{ftnright} \end_layout \begin_layout Standard \begin_inset Float figure placement !h wide false sideways false status open \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash framebox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/without_fntright.pdf width 100col% \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Colocación-standard-del-pie" \end_inset Colocación estándar de notas al pie en documentos a dos columnas. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Float figure placement !h wide false sideways false status open \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash framebox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/with_fntright.pdf width 100col% \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Colocación-del-pie-en" \end_inset Colocación de la nota al pie en documentos a dos columnas cuando se usa el paquete LaTeX \series bold ftnright \series default . \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset En alguna literatura científica es habitual reunir las notas para imprimirlas en un párrafo separado al final de la sección, como en la figura \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "fig:Notas-al-pie-al-final" \end_inset . Para usar notas finales \begin_inset Index status collapsed \begin_layout Plain Layout Notas finales \end_layout \end_inset en vez de notas al pie, carga el paquete LaTeX \series bold endnotes \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! endnotes \end_layout \end_inset con las siguientes líneas en el preámbulo de tu documento: \end_layout \begin_layout Standard \series bold \backslash usepackage{endnotes} \begin_inset Newline newline \end_inset \backslash let \backslash footnote \backslash endnote \end_layout \begin_layout Standard Para insertar la colección de notas, escribe el comando \end_layout \begin_layout Standard \series bold \backslash theendnotes \end_layout \begin_layout Standard en código TeX al final de una sección o capítulo. \end_layout \begin_layout Standard \begin_inset Float figure wide false sideways false status open \begin_layout Plain Layout \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash framebox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/endnotes.pdf \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "fig:Notas-al-pie-al-final" \end_inset Notas al final: notas impresas en párrafo separado al final de la sección o del capítulo. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset La cabecera de párrafo para las notas finales no se traduce automáticamente al lenguaje del documento, hay que hacerlo manualmente. El siguiente comando de preámbulo traduce el nombre en inglés «Notes» al español «Notas»: \end_layout \begin_layout Standard \series bold \backslash renewcommand{ \backslash notesname}{Notas} \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset La numeración de notas finales puede cambiarse como la de las notas al pie, como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Numeración-de-Notas-al-Pie" \end_inset ; sólo hay que reemplazar el comando \series bold \backslash thefootnote \series default por \series bold \backslash theendnote \series default . Para restablecer la numeración usa el comando \series bold \backslash @addtoreset \series default como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Numeración-de-Notas-al-Pie" \end_inset y sustituye el parámetro de comando \series bold footnote \series default por \series bold endnote \series default . \end_layout \begin_layout Standard Para crear sólo una marca para una nota final, usa el comando \series bold \backslash endnotemark[número] \series default similar al comando \series bold \backslash footnotemark \series default , descrito en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Notas-al-pie" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Las notas al pie también pueden colocarse al margen de la página y la alineación del texto del pie también puede cambiarse, véase el paquete LaTeX \series bold footmisc \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! footmisc \end_layout \end_inset \begin_inset CommandInset citation LatexCommand cite key "footmisc" \end_inset para más información. \end_layout \begin_layout Standard Para otras posibilidades de diseño de notas al pie mira en libros de LaTeX, \begin_inset CommandInset citation LatexCommand cite key "latexcompanion,latexguide,latexbook" \end_inset . \end_layout \begin_layout Section Notas al margen \begin_inset Index status collapsed \begin_layout Plain Layout Notas ! al margen \end_layout \end_inset \end_layout \begin_layout Standard Las notas al margen se ven y se comportan en LyX como notas al pie. Se insertan con el menú \family sans Insertar\SpecialChar \menuseparator Nota \begin_inset space ~ \end_inset al \begin_inset space ~ \end_inset margen \family default o con el botón \begin_inset Graphics filename ../../images/marginalnote-insert.png scale 85 \end_inset . Aparece un cuadro gris con la etiqueta \family roman \series medium «margen» en color rojo y un marco en el que puedes escribir el texto de la nota. \end_layout \begin_layout Standard Al lado hay un ejemplo de nota al margen. \family roman \series medium \begin_inset Marginal status open \begin_layout Plain Layout Esto es una nota al margen. \end_layout \end_inset \end_layout \begin_layout Standard Estas notas salen en el margen derecho en documentos a una cara. En documentos a doble cara se muestran en el margen externo ---margen izquierdo en páginas pares, derecho en páginas impares---. El texto de las notas se ajusta a la parte opuesta al margen ---se ajusta a la derecha si la nota aparece en el margen izquierdo---. La primera línea de la nota se sitúa en la posición de la línea del texto en la que se inserta en el documento. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Para colocar la nota en el margen interno añade el comando \end_layout \begin_layout Standard \series bold \backslash reversemarginpar \end_layout \begin_layout Standard en código TeX antes de la nota. La nueva colocación es válida para todas las siguientes notas al margen. \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash reversemarginpar \end_layout \end_inset \begin_inset Marginal status open \begin_layout Plain Layout Esto es una nota en el margen interno. \end_layout \end_inset \series bold \begin_inset Newline newline \end_inset \series default \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default A veces no hay espacio suficiente en el margen interno, por lo que la nota no se mostrará correctamente en la salida. \end_layout \end_inset \end_layout \begin_layout Standard Para volver a la ubicación predeterminada inserta en código TeX el comando \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash normalmarginpar \end_layout \end_inset \end_layout \begin_layout Standard \series bold \backslash normalmarginpar \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default El comando se ignora si en el mismo párrafo está también presente el comando \series bold \backslash reversemarginpar \series default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \family roman \series medium \begin_inset Marginal status open \begin_layout Plain Layout PalabraMuyLargaAlMargen no partida con guión. \end_layout \end_inset \family default \series default Como en el caso descrito en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Líneas-Múltiples-en" \end_inset , una palabra larga no puede partirse con guión cuando es la primera en la nota al margen. Para evitar esto, inserta un espacio horizontal de 0 \begin_inset space \thinspace{} \end_inset pt antes de la palabra \family roman \series medium . \begin_inset Marginal status open \begin_layout Plain Layout \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hspace{0pt} \end_layout \end_inset PalabraMuyLargaAlMargen partida con guión. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Normalmente no pueden utilizarse notas al margen en tablas, flotantes y notas al pie. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash ifmarginnote \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout La siguiente sección sólo se mostrará en pantalla si está instalado el paquete LaTeX \series bold marginnote \series default . \end_layout \end_inset \end_layout \begin_layout Standard Esta restricción se puede salvar con el paquete LaTeX \series bold marginnote \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! marginnote \end_layout \end_inset . Poniendo estas dos líneas en el preámbulo, el comando usado por LyX para notas al margen es redefinido para usar el comando proporcionado por el paquete \series bold marginnote \series default : \end_layout \begin_layout Standard \series bold \backslash usepackage{marginnote} \begin_inset Newline newline \end_inset \backslash let \backslash marginpar \backslash marginnote \end_layout \begin_layout Standard Esto se ha utilizado en el presente documento porque \series bold marginnote \series default tiene una característica adicional útil: Puedes establecer un desplazamiento vertical a la nota. A veces esto hace falta si hay demasiadas notas juntas o para mejorar el diseño de la página. En LyX, el desplazamiento se escribe directamente tras la nota al margen, en código TeX \end_layout \begin_layout Standard \series bold [desplazamiento] \end_layout \begin_layout Standard donde desplazamiento es una longitud en una de las unidades de la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Unidades" \end_inset . Un valor negativo desplaza la nota hacia arriba, un valor positivo hacia abajo. \family roman \series medium Por ejemplo la nota adjunta a esta línea de texto está desplazada 1.5 \begin_inset space \thinspace{} \end_inset cm arriba con el comando en código TeX \begin_inset Quotes eld \end_inset \family default \series bold [-1.5cm] \family roman \series medium \begin_inset Quotes erd \end_inset \begin_inset Marginal status collapsed \begin_layout Plain Layout Esta nota está 1.5 \begin_inset space \thinspace{} \end_inset cm por encima de su posición original. \end_layout \end_inset \family default \series default \begin_inset ERT status open \begin_layout Plain Layout [-1.5cm] \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Con \series bold marginnote \series default también puedes cambiar la alineación del texto en el margen. Por ejemplo los comandos \end_layout \begin_layout Standard \series bold \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash centering} \begin_inset Newline newline \end_inset \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash centering} \end_layout \begin_layout Standard producen alineación centrada. \series bold \backslash raggedleftmarginnote \series default identifica las notas que aparecen al lado izquierdo. \family roman \series medium \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash centering} \end_layout \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash centering} \end_layout \end_inset \begin_inset Marginal status open \begin_layout Plain Layout El texto de esta nota está centrado. \end_layout \end_inset \family default \series default El valor predeterminado es \end_layout \begin_layout Standard \series bold \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash raggedleft} \begin_inset Newline newline \end_inset \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash raggedright} \family roman \series medium \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedleftmarginnote}{ \backslash raggedleft} \end_layout \begin_layout Plain Layout \backslash renewcommand*{ \backslash raggedrightmarginnote}{ \backslash raggedright} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Para otras características de \series bold marginnote \series default mira en su documentación \begin_inset CommandInset citation LatexCommand cite key "marginnote" \end_inset . \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset El diseño de las notas al margen puede ser redefinido. Por ejemplo, para crear una cabecera para todas las notas con el texto \begin_inset Quotes eld \end_inset \series bold \bar under ¡ \family sans Atención \family default ! \series default \bar default \begin_inset Quotes erd \end_inset , subrayado, sans-serif en negrita, añade lo siguiente en el preámbulo: \end_layout \begin_layout Standard \series bold \backslash let \backslash myMarginpar \backslash marginpar \begin_inset Newline newline \end_inset \backslash renewcommand{ \backslash marginpar}[1]{ \backslash myMarginpar{% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash hspace{0pt} \backslash textsf{ \backslash textbf{ \backslash underbar{¡Atención!}}}% \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset \backslash vspace{1.5mm} \backslash \backslash #1}} \end_layout \begin_layout Standard \family roman \series medium \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash let \backslash myMarginpar \backslash marginpar \end_layout \begin_layout Plain Layout \backslash renewcommand{ \backslash marginpar}[1]{ \backslash myMarginpar{% \end_layout \begin_layout Plain Layout \backslash textsf{ \backslash textbf{ \backslash underbar{¡Atención!}}}% \end_layout \begin_layout Plain Layout \backslash vspace{1.5mm} \backslash \backslash #1}} \end_layout \end_inset \begin_inset Marginal status open \begin_layout Plain Layout Esta es una nota con una cabecera definida. \end_layout \end_inset \family default \series default \begin_inset ERT status collapsed \begin_layout Plain Layout [-1.5cm] \end_layout \end_inset \family roman \series medium \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash renewcommand{ \backslash marginpar}[1]{ \backslash myMarginpar{#1}} \end_layout \end_inset \family default \series default \begin_inset Note Note status collapsed \begin_layout Plain Layout El formato de la nota al margen se ha cambiado sólo para este ejemplo. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash else \end_layout \end_inset \begin_inset Note Note status open \begin_layout Plain Layout Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX \series bold marginnote \series default . \end_layout \end_inset \end_layout \begin_layout Standard Debes instalar el paquete LaTeX \series bold marginnote \series default para ver la parte siguiente en la salida. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fi \end_layout \end_inset \end_layout \begin_layout Chapter Cuadros \end_layout \begin_layout Section Introducción \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Introducción \end_layout \end_inset \end_layout \begin_layout Standard Los cuadros se emplean para dar formato a bloques de texto. Se pueden usar para escribir documentos con varios lenguajes, véase sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipáginas" \end_inset , enmarcar textos, véase sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Cuadros-Enmarcados" \end_inset , evitar la división de palabras, véase sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Evitar-la-Partición" \end_inset , alinear texto, véase sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Alineación-Vertical" \end_inset , o para poner color de fondo a un texto, véase sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Cuadros-Coloreados" \end_inset . \end_layout \begin_layout Standard Se insertan con el menú \family sans Insertar\SpecialChar \menuseparator Cuadro \family default o con el botón \begin_inset Graphics filename ../../images/box-insert.png scale 85 \end_inset . Surge un recuadro gris con la etiqueta \family sans Cuadro (Minipágina) \family default : \begin_inset Graphics filename clipart/CuadroMinipagQt4.png scale 75 keepAspectRatio \end_inset . El tipo de cuadro se puede elegir al hacer clic-derecho sobre él. Sale un diálogo en el que \family sans Cuadro \family default \begin_inset space ~ \end_inset \family sans interior \family default permite escoger los tipos \family sans Párrafo \family default y \family sans Minipágina \family default . \family sans Minipágina \family default es el predeterminado para nuevos cuadros y se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Minipáginas" \end_inset ; el tipo \family sans Párrafo \family default se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Cuadros-de-Párrafo" \end_inset . \end_layout \begin_layout Standard Los cuadros no se numeran y por tanto no se pueden referenciar como los flotantes o las notas al pie. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Los cuadros no deben ser el ítem en un entorno \family sans Enumeración* \family default o \family sans Descripción \family default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Por razones desconocidas sólo se puede poner el tipo \family sans Cuadro \begin_inset space ~ \end_inset interior \family default en \family sans Ninguno \family default cuando se emplea un cuadro enmarcado. Los cuadros sin ningún tipo de \family sans Cuadro \begin_inset space ~ \end_inset interior \family default y sin marcos se explican en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Evitar-la-Partición" \end_inset . \end_layout \end_inset \end_layout \begin_layout Section Diálogo de cuadros \begin_inset CommandInset label LatexCommand label name "sec:Diálogo-Cuadros" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Configuración \end_layout \end_inset \end_layout \begin_layout Subsection Tamaño \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Tamaño \end_layout \end_inset \end_layout \begin_layout Standard En el diálogo puedes ajustar la geometría del cuadro en los campos \family sans Ancho \family default y \family sans Alto \family default . Las unidades disponibles para la geometría se describen en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Unidades" \end_inset . El campo \family sans Alto \family default ofrece los siguientes tamaños adicionales: \end_layout \begin_layout Description Profundidad Este es el texto plano «alto». Ignora la profundidad total cuando hay múltiples líneas de texto en el cuadro: \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "12col%" special "none" height "1in" height_special "depth" status open \begin_layout Plain Layout \align center Cuadro con altura establecida en 1 \begin_inset space \thinspace{} \end_inset Profundidad \end_layout \end_inset \begin_inset Newline newline \end_inset \begin_inset Newline newline \end_inset \end_layout \begin_layout Description Alto Es la altura del texto que está dentro del cuadro. Un valor de, p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset 2 para este tamaño fijará la altura del cuadro a 2 veces la altura del texto: \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "20col%" special "none" height "2in" height_special "height" status open \begin_layout Plain Layout \align center Cuadro con altura puesta en 2 \begin_inset space \thinspace{} \end_inset Alto \end_layout \end_inset \end_layout \begin_layout Description Alto \begin_inset space ~ \end_inset total Esto es el Alto \begin_inset space \thinspace{} \end_inset + \begin_inset space \thinspace{} \end_inset Profundidad: \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "20col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Cuadro con altura puesta a 1 \begin_inset space \thinspace{} \end_inset Alto \begin_inset space ~ \end_inset total \end_layout \end_inset \end_layout \begin_layout Description Ancho Esto determina al ancho del cuadro como altura: \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "12col%" special "none" height "1in" height_special "width" status open \begin_layout Plain Layout \align center Cuadro con altura puesta en 1 \begin_inset space \thinspace{} \end_inset Ancho \end_layout \end_inset \end_layout \begin_layout Subsection Alineación \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Alineación \end_layout \end_inset \end_layout \begin_layout Standard Si has elegido un \family sans Cuadro \begin_inset space ~ \end_inset interior \family default , la alineación vertical del cuadro puede ser: \end_layout \begin_layout Description Superior Ejemplo de línea de texto. \begin_inset Box Boxed position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "12col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align center Cuadro alineado arriba. \end_layout \end_inset Ejemplo de línea de texto. \end_layout \begin_layout Description Medio Ejemplo de línea de texto. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "12col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align center Cuadro alineado en medio. \end_layout \end_inset Ejemplo de línea de texto. \end_layout \begin_layout Description Inferior Ejemplo de línea de texto. \begin_inset Box Boxed position "b" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "12col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align center Cuadro alineado abajo. \end_layout \end_inset Ejemplo de línea de texto. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default La alineación vertical puede desaparecer en la salida si hay dos cuadros en una línea y, p. \begin_inset space \thinspace{} \end_inset e., uno de ellos tiene sombreado y el otro no. \end_layout \end_inset \end_layout \begin_layout Standard La alineación horizontal del cuadro puede establecerse en el diálogo de configuración de párrafo de LyX si colocas el cuadro en su propio párrafo. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Si has escogido un \family sans Cuadro \begin_inset space ~ \end_inset interior \family default , el contenido puede alinearse verticalmente a: \end_layout \begin_layout Description Superior Ejemplo de línea de texto. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align center Cuadro con texto alineado arriba. \end_layout \end_inset Ejemplo de línea de texto. \end_layout \begin_layout Description Medio Ejemplo de línea de texto. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align center Cuadro con texto alineado en medio. \end_layout \end_inset Ejemplo de línea de texto. \end_layout \begin_layout Description Inferior Ejemplo de línea de texto. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "b" use_parbox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align center Cuadro con texto alineado abajo. \end_layout \end_inset Ejemplo de línea de texto. \end_layout \begin_layout Description Estirado Ejemplo de línea de texto. \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "s" use_parbox 0 width "12col%" special "none" height "1.5in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align center Este texto \end_layout \begin_layout Plain Layout \align center está \end_layout \begin_layout Plain Layout \align center estirado. \end_layout \end_inset Ejemplo de línea de texto. \end_layout \begin_layout Standard Para estirar el contenido debe tener más de un párrafo. En el ejemplo anterior cada línea de texto está en un párrafo propio. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Para estirar horizontalmente el contenido usa el diálogo de párrafos de LyX cuando hayas escogido un \family sans Cuadro \begin_inset space ~ \end_inset interior \family default . \end_layout \begin_layout Standard \align center \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "s" use_parbox 0 width "15col%" special "none" height "1.25in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align left Cuadro \end_layout \begin_layout Plain Layout \align center con texto \end_layout \begin_layout Plain Layout \align right estirado \end_layout \end_inset \end_layout \begin_layout Standard Si no has establecido un \family sans Cuadro \begin_inset space ~ \end_inset interior \family default , puedes alinear horizontalmente el contenido del cuadro en el diálogo de cuadro. \end_layout \begin_layout Standard \align center \begin_inset Box Boxed position "c" hor_pos "s" has_inner_box 0 inner_pos "s" use_parbox 0 width "90col%" special "none" height "1.25in" height_special "totalheight" status collapsed \begin_layout Plain Layout \align left Texto estirado horizontalmente. \end_layout \end_inset \end_layout \begin_layout Subsection Cuadros enmarcados \begin_inset CommandInset label LatexCommand label name "sec:Cuadros-Enmarcados" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Marcos \end_layout \end_inset \end_layout \begin_layout Standard El estilo de marco del cuadro se puede determinar en la lista desplegable \family sans Tipo \family default del diálogo de cuadros. Son posibles los siguientes marcos: \end_layout \begin_layout Description Marco \begin_inset space ~ \end_inset rectangular Dibuja un marco rectangular alrededor del cuadro. El grosor del marco depende de \series bold \backslash fboxrule \series default . \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "25col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Cuadro rectangular \end_layout \end_inset \end_layout \begin_layout Description Marco \begin_inset space ~ \end_inset ovalado, \begin_inset space ~ \end_inset fino Dibuja un marco ovalado cuya línea tiene un grosor de 0.4 \begin_inset space \thinspace{} \end_inset pt. \begin_inset Box ovalbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "25col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Marco ovalado, fino \end_layout \end_inset \end_layout \begin_layout Description Marco \begin_inset space ~ \end_inset ovalado, \begin_inset space ~ \end_inset grueso Dibuja un marco ovalado cuya línea tiene un grosor de 0.8 \begin_inset space \thinspace{} \end_inset pt. \begin_inset Box Ovalbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "30col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Cuadro ovalado, grueso \end_layout \end_inset \end_layout \begin_layout Description Marco \begin_inset space ~ \end_inset con \begin_inset space ~ \end_inset sombra Dibuja un cuadro rectangular con sombra alrededor del cuadro. El grosor de la línea tiene el tamaño dado por \series bold \backslash fboxrule \series default , la sombra tiene una anchura de 4 \begin_inset space \thinspace{} \end_inset pt. \begin_inset Box Shadowbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "20col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Marco sombrado \end_layout \end_inset \end_layout \begin_layout Description Marco \begin_inset space ~ \end_inset doble Dibuja un rectángulo de línea doble alrededor del cuadro. El grosor de la línea interior es 0.75 \begin_inset space \thinspace{} \end_inset \series bold \backslash fboxrule \series default , el de la línea exterior es 1.5 \begin_inset space \thinspace{} \end_inset \series bold \backslash fboxrule \series default . La distancia entre líneas es 1.5 \begin_inset space \thinspace{} \end_inset \series bold \backslash fboxrule \series default \begin_inset space \thinspace{} \end_inset + \begin_inset space \thinspace{} \end_inset 0.5 \begin_inset space \thinspace{} \end_inset pt. \begin_inset Box Doublebox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "20col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Marco doble \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset La etiqueta del recuadro en LyX cambiará según el estilo de marco elegido. Para poder utilizar los distintos marcos, debe estar instalado el paquete LaTeX \series bold fancybox \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! fancybox \end_layout \end_inset . \end_layout \begin_layout Section \lang english Box customization \begin_inset Index status open \begin_layout Plain Layout Cuadros ! \lang english Customization \end_layout \end_inset \end_layout \begin_layout Standard El valor predeterminado por \series bold \backslash fboxrule \series default es 0.4 \begin_inset space \thinspace{} \end_inset pt. Puede cambiarse con el siguiente comando en código TeX, p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset a \begin_inset space ~ \end_inset 2 \begin_inset space \thinspace{} \end_inset pt: \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash fboxrule}{2pt} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxrule}{2pt} \end_layout \end_inset \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "25col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Cuadro rectangular con \series bold \backslash fboxrule \series default \begin_inset space \thinspace{} \end_inset = \begin_inset space \thinspace{} \end_inset 2 \begin_inset space \thinspace{} \end_inset pt \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxrule}{0.4pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset El espacio entre el marco y el contenido del cuadro es 3 \begin_inset space \thinspace{} \end_inset pt por omisión para todos los estilos. Se puede cambiar mediante la longitud \series bold \backslash fboxsep \series default . Por ejemplo el comando \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash fboxsep}{10pt} \end_layout \begin_layout Standard determina un valor de 10 \begin_inset space \thinspace{} \end_inset pt, como en el siguiente cuadro: \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxsep}{10pt} \end_layout \end_inset \begin_inset Box Boxed position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "25col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Cuadro rectangular con \series bold \backslash fboxsep \series default \begin_inset space \thinspace{} \end_inset = \begin_inset space \thinspace{} \end_inset 10 \begin_inset space \thinspace{} \end_inset pt \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash fboxsep}{3pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset El diámetro de las esquinas de los cuadros ovalados se puede modificar con el comando \series bold \backslash cornersize \series default . El comando \end_layout \begin_layout Standard \series bold \backslash cornersize*{1cm} \end_layout \begin_layout Standard establece un diámetro de 1 \begin_inset space \thinspace{} \end_inset cm. El comando \end_layout \begin_layout Standard \series bold \backslash cornersize{num} \end_layout \begin_layout Standard fija el diámetro en \family sans num \begin_inset space \thinspace{} \end_inset × \begin_inset space \thinspace{} \end_inset mínimo \family default \family sans (ancho y alto del cuadro) \family default . Por omisión es \series bold \backslash cornersize{0.5} \series default . \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cornersize*{1.5cm} \end_layout \end_inset \begin_inset Box Ovalbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "28col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Cuadro ovalado con \series bold \backslash cornersize \series default \begin_inset space \thinspace{} \end_inset = \begin_inset space \thinspace{} \end_inset 1.5 \begin_inset space \thinspace{} \end_inset cm \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash cornersize{0.5} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset El tamaño de la sombra se puede ajustar cambiando la longitud \series bold \backslash shadowsize \series default . Este comando la ajusta a 2 \begin_inset space \thinspace{} \end_inset pt en el cuadro siguiente: \end_layout \begin_layout Standard \series bold \backslash setlength{ \backslash shadowsize}{2pt} \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash shadowsize}{2pt} \end_layout \end_inset \begin_inset Box Shadowbox position "c" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "28col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center Cuadro sombreado con \series bold \backslash shadowsize \series default \begin_inset space \thinspace{} \end_inset = \begin_inset space \thinspace{} \end_inset 2 \begin_inset space \thinspace{} \end_inset pt \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash setlength{ \backslash shadowsize}{4pt} \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Los cambios en las dimensiones son válidos para todos los cuadros que siguen a los comandos. \end_layout \begin_layout Section Minipáginas \begin_inset CommandInset label LatexCommand label name "sec:Minipáginas" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Minipáginas \end_layout \end_inset \end_layout \begin_layout Standard Las minipáginas son tratadas por LaTeX como páginas dentro de páginas y por tanto pueden tener, por ejemplo, sus propias notas al pie. \end_layout \begin_layout Standard Las minipáginas son útiles para escribir documentos con distintos lenguajes. \end_layout \begin_layout Standard A continuación hay dos ejemplos de minipáginas adosadas. Su anchura está puesta en 45 \begin_inset space \thinspace{} \end_inset % y separadas por un relleno horizontal, insertado vía el menú \family sans Insertar\SpecialChar \menuseparator Formato\SpecialChar \menuseparator Relleno \begin_inset space ~ \end_inset horizontal \family default . \end_layout \begin_layout Standard \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "45col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \lang german Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text. Dies ist ein deutscher Text \begin_inset Foot status collapsed \begin_layout Plain Layout \lang german Dies ist eine deutsche Fußnote. \end_layout \end_inset . Dies ist ein deutscher Text. Dies ist ein deutscher Text. \end_layout \end_inset \begin_inset space \hfill{} \end_inset \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "45col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. This is an English Text. \begin_inset Foot status collapsed \begin_layout Plain Layout This is an English footnote. \end_layout \end_inset This is an English Text. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Otra aplicación de los cuadros son las notas a pie en tablas. Debido a una restricción de LaTeX las notas a pie en tablas no aparecen al final de la página actual. Pero si pones la tabla con notas al pie en una minipágina, las notas aparecen en la parte inferior, ordenadas con letras. La ordenación de las notas al pie se restablece en cada minipágina pero no fuera de las minipáginas. \end_layout \begin_layout Standard La nota al pie en esta tabla no aparece: \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \begin_inset Foot status open \begin_layout Plain Layout Nota al pie en una tabla. \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \end_inset \end_layout \begin_layout Standard \align center \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "c" use_parbox 0 width "30col%" special "none" height "1in" height_special "totalheight" status open \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 2 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \begin_inset Foot status open \begin_layout Plain Layout Nota al pie en una tabla.. \end_layout \end_inset \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 4 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout d \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout f \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout g \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout h \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset La configuración global de párrafos se ignora en las minipáginas. Esto significa que en las mismas no habrá espacio entre párrafos aunque pongas p. \begin_inset space \thinspace{} \end_inset e. \begin_inset space ~ \end_inset \family sans Salto \begin_inset space ~ \end_inset medio \family default en la configuración del documento. \end_layout \begin_layout Standard Las minipáginas también sirven para poner un color de fondo para partes de texto, ver sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Color-en-Párrafos" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default No puedes tener flotantes o notas al margen en minipáginas pero sí puedes tener minipáginas en tablas, flotantes, y otros cuadros. \end_layout \end_inset \end_layout \begin_layout Section Cuadros de párrafo \begin_inset CommandInset label LatexCommand label name "sec:Cuadros-de-Párrafo" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! de párrafo \end_layout \end_inset \end_layout \begin_layout Standard Los cuadros de párrafo son similares a las minipáginas con la diferencia de que no pueden contener notas al pie. La diferencia principal es que las minipáginas no son verdaderos cuadros sino entornos de LaTeX. \end_layout \begin_layout Standard \align center \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 1 width "33col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout Texto en un cuadro de párrafo. Texto en un cuadro de párrafo. Esta nota no aparece: \begin_inset Foot status open \begin_layout Plain Layout Esta es una nota en cuadro de párrafo y por eso no aparecerá. \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Section Cuadros para palabras y caracteres \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! para palabras y caracteres \end_layout \end_inset \end_layout \begin_layout Subsection Evitar la partición de palabras \begin_inset CommandInset label LatexCommand label name "sec:Evitar-la-Partición" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! para evitar la partición de palabras \end_layout \end_inset \end_layout \begin_layout Standard Hay un tipo especial de cuadro para impedir que una palabra sea partida con guión. \begin_inset Newline newline \end_inset He aquí un ejemplo: \end_layout \begin_layout Standard Esta línea es un ejemplo para mostrar cómo evitar la división de «estalarguísima palabra». \end_layout \begin_layout Standard Para evitar su división usa el comando \end_layout \begin_layout Standard \series bold \backslash mbox{ \end_layout \begin_layout Standard en código TeX antes de la palabra. Tras ella inserta una llave de cierre « \series bold } \series default » en código TeX. \end_layout \begin_layout Standard Este es el resultado: \end_layout \begin_layout Standard Esta línea es un ejemplo para mostrar cómo prevenir la división de \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash mbox{ \end_layout \end_inset «estalarguísimapalabra». \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard Como alternativa puedes poner el comando « \series bold \backslash - \series default » en código TeX directamente antes de la palabra: \end_layout \begin_layout Standard Esta línea es un ejemplo para mostrar cómo prevenir la división de « \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash - \end_layout \end_inset estalarguísimapalabra». \end_layout \begin_layout Standard Por supuesto, la palabra sobresale del margen. Para evitarlo añade, con el menú \family sans Insertar\SpecialChar \menuseparator Formato\SpecialChar \menuseparator Salto \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset \family default línea (atajo \series bold Ctrl-Retorno \series default ), un salto de línea antes de la palabra: \end_layout \begin_layout Standard Esta línea es un ejemplo para mostrar cómo prevenir la división de \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash mbox{ \end_layout \end_inset «estalarguísimapalabra». \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Subsection Alineación vertical \begin_inset CommandInset label LatexCommand label name "sub:Alineación-Vertical" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! para alineación vertical \end_layout \end_inset \end_layout \begin_layout Standard Con ayuda del comando \series bold \backslash raisebox \series default puedes alinear verticalmente con el texto circundante palabras o caracteres. \series bold \backslash raisebox \series default se utiliza según el esquema: \end_layout \begin_layout Standard \series bold \backslash raisebox{elevación}[altura][profundidad]{contenido del cuadro} \end_layout \begin_layout Standard La elevación puede ser un valor positivo para subir el cuadro o negativo para bajarlo. \end_layout \begin_layout Standard Para alinear una palabra, p. \begin_inset space \thinspace{} \end_inset e \begin_inset space ~ \end_inset «prevención» para que la parte inferior de la letra más «profunda» «p» esté en la línea de base, inserta el comando \end_layout \begin_layout Standard \series bold \backslash raisebox{ \backslash depth}{ \end_layout \begin_layout Standard en código TeX antes de la palabra. Detrás de la palabra inserta una llave de cierre « \series bold } \series default » en código TeX. \begin_inset Newline newline \end_inset Este es el resultado: \end_layout \begin_layout Standard Esto es una línea de texto con la palabra \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{ \backslash depth}{ \end_layout \end_inset «prevención» \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset elevada. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Al subir o bajar caracteres en una línea, se modifica el espacio entre líneas: \end_layout \begin_layout Standard Esto es una línea de texto con la palabra \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{- \backslash depth}{ \end_layout \end_inset «prevención» \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset como palabra más baja. \begin_inset Newline newline \end_inset Esto es una línea de texto con la palabra \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{0.5cm}{ \end_layout \end_inset «testigo» \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset como palabra más alta. \end_layout \begin_layout Standard Si por alguna razón quieres impedir esto, pon la altura de cuadro a cero. Por ejemplo \end_layout \begin_layout Standard \series bold \backslash raisebox{- \backslash depth}[0pt]{ \end_layout \begin_layout Standard Esto es una línea de texto con la palabra \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{- \backslash depth}[0pt]{ \end_layout \end_inset «prevención» \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset como palabra más baja. \begin_inset Newline newline \end_inset Esto es una línea de texto con la palabra \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash raisebox{0.5cm}[0pt]{ \end_layout \end_inset «testigo» \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset como palabra más alta. \end_layout \begin_layout Section Cuadros coloreados \begin_inset CommandInset label LatexCommand label name "sec:Cuadros-Coloreados" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Color \end_layout \end_inset \end_layout \begin_layout Subsection Color en texto \begin_inset Index status collapsed \begin_layout Plain Layout Color ! en texto \end_layout \end_inset \end_layout \begin_layout Standard Para colorear el fondo de un texto, éste debe ponerse en un cuadro coloreado. Esto requiere cargar el paquete LaTeX \series bold color \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! color \end_layout \end_inset en el preámbulo del documento con \end_layout \begin_layout Standard \series bold \backslash @ifundef\SpecialChar \textcompwordmark{} ined{textcolor} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash usepackage{color}}{} \end_layout \begin_layout Standard LyX cargará automáticamente el paquete \series bold color \series default cuando colorees texto. \begin_inset Foot status collapsed \begin_layout Plain Layout Para evitar cargarlo dos veces se usa el comando \series bold \backslash @ifundef\SpecialChar \textcompwordmark{} ined \series default . \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace medskip \end_inset Los cuadros coloreados se crean con el comando \series bold \backslash colorbox \series default , de acuerdo con el siguiente esquema: \end_layout \begin_layout Standard \series bold \backslash colorbox{color}{contenido del cuadro} \end_layout \begin_layout Standard El contenido también puede ser un cuadro y los cuadros coloreados también pueden estar en otros cuadros. \end_layout \begin_layout Standard Los siguientes colores están predefinidos: \begin_inset Newline newline \end_inset \family sans red \family default , \family sans green \family default , \family sans yellow, blue \family default , \family sans cyan \family default \series bold , \series default \family sans magenta, black \family default , \family sans white \family default . \begin_inset Newline newline \end_inset También puedes definir tus propios colores según se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Tablas-Coloreadas" \end_inset . \end_layout \begin_layout Standard Por ejemplo, para poner fondo rojo a una palabra, inserta el comando \end_layout \begin_layout Standard \series bold \backslash colorbox{red}{ \end_layout \begin_layout Standard en código TeX antes de la palabra. Tras la palabra inserta una llave de cierre « \series bold } \series default » en código TeX. \begin_inset Newline newline \end_inset Este es el resultado: \end_layout \begin_layout Standard Línea en la que la palabra \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash colorbox{red}{ \end_layout \end_inset «¡Atención!» \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset tiene fondo rojo. \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Si quieres un marco de distinto color, puedes emplear el comando \series bold \backslash fcolorbox \series default con el esquema siguiente: \end_layout \begin_layout Standard \series bold \backslash fcolorbox{color del marco}{color del cuadro}{contenido del cuadro} \end_layout \begin_layout Standard \series bold \backslash fcolorbox \series default es una extensión de \series bold \backslash colorbox \series default . El grosor del marco y el espacio entre él y el contenido se puede ajustar con las longitudes \series bold \backslash fboxrule \series default y \series bold \backslash fboxsep \series default , respectivamente, como se describe en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Cuadros-Enmarcados" \end_inset . \end_layout \begin_layout Standard Para el ejemplo siguiente se ha utilizado el comando \end_layout \begin_layout Standard \series bold \backslash fcolorbox{cyan}{magenta}{ \end_layout \begin_layout Standard Este es un ejemplo en el que se ha puesto un grosor de 1 \begin_inset space \thinspace{} \end_inset mm para la línea del marco: \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxrule 1mm \backslash fboxsep 1mm \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{cyan}{magenta}{ \end_layout \end_inset Texto en un marco coloreado y enmarcado. \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset Por supuesto también puedes colorear el texto en un marco coloreado: \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fcolorbox{cyan}{magenta}{ \end_layout \end_inset \color yellow Texto coloreado en un marco sombreado y coloreado. \color none \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash fboxrule 0.4pt \backslash fboxsep 3pt \end_layout \end_inset \end_layout \begin_layout Standard \series bold \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default El texto en cuadros coloreados no puede tener saltos de línea. Para colorear líneas o párrafos múltiples, usa un cuadro dentro de un cuadro coloreado como se describe a continuación. \end_layout \end_inset \end_layout \begin_layout Subsection Color en párrafos \begin_inset CommandInset label LatexCommand label name "sub:Color-en-Párrafos" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Color ! en párrafos \end_layout \end_inset \end_layout \begin_layout Standard Para poner color de fondo en más de una línea, pon el texto en una minipágina. Antes de la minipágina inserta el comando \series bold \backslash colorbox \end_layout \begin_layout Standard \series bold \backslash colorbox{color}{ \end_layout \begin_layout Standard en código TeX. Detrás de la minipágina inserta una llave de cierre « \series bold } \series default » en código TeX. \end_layout \begin_layout Standard \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash colorbox{grisclaro}{ \end_layout \end_inset \begin_inset Box Frameless position "t" hor_pos "c" has_inner_box 1 inner_pos "t" use_parbox 0 width "100col%" special "none" height "1in" height_special "totalheight" status collapsed \begin_layout Plain Layout Texto con color de fondo. Texto con color de fondo. \end_layout \begin_layout Plain Layout \begin_inset VSpace defskip \end_inset El texto puede tener notas al pie \begin_inset Foot status open \begin_layout Plain Layout Otro ejemplo de nota \end_layout \end_inset y puede incluir tablas y figuras. \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout a \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ! \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 3 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout < \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout b2 \begin_inset Quotes erd \end_inset | \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout > \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout 1 \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout § \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout c \end_layout \end_inset \end_inset \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Section Cuadros rotados y escalados \end_layout \begin_layout Standard Para poder usar los comandos descritos en esta sección hay que cargar el paquete LaTeX \series bold graphicx \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! graphicx \end_layout \end_inset \series default en el preámbulo del documento, con el comando \end_layout \begin_layout Standard \series bold \backslash @ifundefined{rotatebox} \begin_inset Newline newline \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash hphantom{ } \end_layout \end_inset { \backslash usepackage{graphicx}}{} \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Algunos visores DVI no pueden mostrar material rotado o escalado. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Los cuadros rotados o escalados no pueden contener flotantes. \end_layout \end_inset \end_layout \begin_layout Subsection Cuadros rotados \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Rotar \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Material rotado \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras ! Rotar \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Rotar \end_layout \end_inset \end_layout \begin_layout Standard Para rotar material debes ponerlo en un cuadro rotado. Los cuadros rotados se crean con el comando \series bold \backslash rotatebox \series default en código TeX, según el esquema: \end_layout \begin_layout Standard \series bold \backslash rotatebox[origen de rotación]{ángulo de rotación}{contenido del cuadro} \end_layout \begin_layout Standard El origen de rotación se especifica en la forma \series bold origin=position \series default . Son posibles las posiciones siguientes: \emph on c \emph default (center), \emph on l \emph default (left), \emph on r \emph default (right), \emph on b \emph default (bottom), \emph on t \emph default (top), así como combinaciones adecuadas de las posiciones básicas. Por ejemplo, \emph on lt \emph default significa que el origen de rotación es la esquina superior izquierda del cuadro. Si no se especifica origen de rotación se usará la posición \emph on l \emph default . El ángulo de rotación es un número de grados, y puede ser negativo. El sentido de giro es contrario al de las agujas del reloj. \end_layout \begin_layout Standard En el siguiente ejemplo se ha insertado el comando \series bold \backslash rotatebox[origin=c]{60}{ \series default como código TeX delante del texto «con rotación»; después del texto, el cuadro se ha cerrado con llave de cierre en código TeX. \end_layout \begin_layout Standard Esta línea contiene texto \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{60}{ \end_layout \end_inset con rotación \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset . \end_layout \begin_layout Standard El contenido del cuadro puede ser también otro cuadro o una ecuación en línea: \end_layout \begin_layout Standard En esta línea hay texto enmarcado \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=r]{-60}{ \end_layout \end_inset \begin_inset Box Doublebox position "c" hor_pos "c" has_inner_box 0 inner_pos "c" use_parbox 0 width "1in" special "width" height "1in" height_special "totalheight" status open \begin_layout Plain Layout con rotación \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset y \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=lb]{60}{ \end_layout \end_inset \begin_inset Formula $\int A\,\mathrm{d}x=B$ \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset una ecuación. \end_layout \begin_layout Standard O una imagen o una tabla: \end_layout \begin_layout Standard Aquí hay una imagen girada \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=lb]{90}{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 25col% \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset y una tabla girada \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=l]{-90}{ \end_layout \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout q \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout w \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout r \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Subsection Cuadros escalados \begin_inset Index status collapsed \begin_layout Plain Layout Cuadros ! Escalar \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Material escalado \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Figuras ! Escalar \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Tablas ! Escalar \end_layout \end_inset \end_layout \begin_layout Standard Para escalar material se pueden usar los comandos \series bold \backslash scalebox \series default y \series bold \backslash resizebox \series default en código TeX. \end_layout \begin_layout Standard \series bold \backslash scalebox \series default se usa con el esquema siguiente: \end_layout \begin_layout Standard \series bold \backslash scalebox{horizontal}[vertical]{contenido del cuadro} \end_layout \begin_layout Standard Horizontal y vertical son los factores de escala correspondientes. Si no se especifica factor vertical, su valor será el mismo que el factor de escala horizontal. \end_layout \begin_layout Standard Por ejemplo, el comando \series bold \backslash scalebox{2}{Hola} \series default crea un \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{2}{ \end_layout \end_inset Hola \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset de doble tamaño que el texto normal del documento. \end_layout \begin_layout Standard El comando \series bold \backslash scalebox{2}[1]{Hola} \series default distorsiona el \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{2}[1]{ \end_layout \end_inset Hola \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset . \end_layout \begin_layout Standard Si un factor de escala es negativo el contenido del cuadro es reflejado. Por eso el comando \series bold \backslash scalebox{-1}[1]{Hola} \series default puede usarse para reflejar un texto: \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{-1}[1]{ \end_layout \end_inset Hola \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset . \end_layout \begin_layout Standard \series bold \backslash scalebox{1}[-1]{Hola} \series default refleja el \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash scalebox{1}[-1]{ \end_layout \end_inset Hola \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset sobre la base. \end_layout \begin_layout Standard El comando \series bold \backslash scalebox{-1}[1]{contenido del cuadro} \series default puede sustituirse por \series bold \begin_inset Newline newline \end_inset \backslash reflectbox{contenido del cuadro} \begin_inset VSpace defskip \end_inset \end_layout \begin_layout Standard El comando \series bold \backslash resizebox \series default sirve para escalar el cuadro a una altura y anchura definidas, según el esquema: \end_layout \begin_layout Standard \series bold \backslash resizebox{anchura}{altura}{contenido del cuadro} \end_layout \begin_layout Standard Si uno de los argumentos del comando es un signo de exclamación, \series bold ! \series default , la escala se produce de forma que se mantiene la relación de las dimensiones originales del contenido del cuadro. \end_layout \begin_layout Standard El comando \series bold \backslash resizebox{2cm}{1cm}{Hola} \series default genera: \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash resizebox{2cm}{1cm}{ \end_layout \end_inset Hola \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \begin_inset Newline newline \end_inset El comando \series bold \backslash resizebox{2cm}{!}{Hola} \series default genera: \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash resizebox{2cm}{!}{ \end_layout \end_inset Hola \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace defskip \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Si los argumentos de \series bold \backslash scalebox \series default o \series bold \backslash resizebox \series default son cero, no se generan errores de LaTeX al exportar el documento, pero puede suceder que la salida no se muestre o que sea incompleta. \end_layout \end_inset \begin_inset VSpace defskip \end_inset \end_layout \begin_layout Standard Los cuadros se pueden combinar en cualquier orden. Por ejemplo, el comando \series bold \begin_inset Newline newline \end_inset \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{Hola}}} \begin_inset Newline newline \end_inset \series default genera: \end_layout \begin_layout Standard \noindent \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \end_layout \end_inset Hola \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \end_layout \end_inset \end_layout \begin_layout Standard \noindent Un cuadro puede contener imágenes, tablas y ecuaciones en línea: \end_layout \begin_layout Standard \noindent \end_layout \begin_layout Standard \align center \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-30}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \end_layout \end_inset \begin_inset Graphics filename ../clipart/platypus.eps lyxscale 50 width 25col% \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \end_layout \end_inset \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout q \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout w \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout e \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout r \end_layout \end_inset \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \end_layout \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash rotatebox[origin=c]{-45}{ \backslash resizebox{2cm}{!}{ \backslash reflectbox{ \end_layout \end_inset \begin_inset Formula $\int A\,\mathrm{d}x=B$ \end_inset \begin_inset ERT status collapsed \begin_layout Plain Layout }}} \end_layout \end_inset \end_layout \begin_layout Standard Si se usa el estilo global \series bold fleqn \series default para las ecuaciones del documento, \begin_inset Foot status collapsed \begin_layout Plain Layout Si «fleqn» se añade a las opciones de clase del documento. \end_layout \end_inset también pueden escalarse las ecuaciones en estilo presentación. \end_layout \begin_layout Chapter Archivo \begin_inset Index status collapsed \begin_layout Plain Layout Archivo, insertar \end_layout \end_inset \end_layout \begin_layout Standard Con el menú \family sans Insertar\SpecialChar \menuseparator Archivo \family default se pueden insertar archivos externos en un documento. Estos pueden ser: \end_layout \begin_layout Description Documento \begin_inset space ~ \end_inset LyX Otro documento LyX; su contenido se inserta directamente en tu documento. \end_layout \begin_layout Description Texto \begin_inset space ~ \end_inset simple \begin_inset space ~ \end_inset como \begin_inset space ~ \end_inset líneas Un documento de texto; cada línea del mismo se inserta en tu documento como un nuevo párrafo. \end_layout \begin_layout Description Texto \begin_inset space ~ \end_inset simple \begin_inset space ~ \end_inset como \begin_inset space ~ \end_inset párrafos Un documento de texto; cada línea del texto se inserta tal como está, formando un solo párrafo. Las líneas vacías generan un nuevo párrafo en tu documento. \end_layout \begin_layout Description Material \begin_inset space ~ \end_inset externo Archivos en diversos formatos. \end_layout \begin_layout Description Documento \begin_inset space ~ \end_inset hijo Documentos LyX, LaTeX o texto simple. \end_layout \begin_layout Section Material externo \begin_inset Index status collapsed \begin_layout Plain Layout Material externo \end_layout \end_inset \end_layout \begin_layout Standard Esta característica te permite insertar archivos en tu documento sin convertirlo s previamente a un formato legible en la salida, ya que LyX se ocupa de las necesarias conversiones. Esto es parecido a la inserción de imágenes en diversos formatos en los documentos LyX. \end_layout \begin_layout Standard El material externo se puede insertar mediante el diálogo que surge a partir del menú \family sans Insertar\SpecialChar \menuseparator Archivo\SpecialChar \menuseparator Material \begin_inset space ~ \end_inset externo \family default . Actualmente se permiten los siguientes tipos de archivo ( \family sans Plantillas \family default ): \end_layout \begin_layout Description Diagrama \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset ajedrez Esta plantilla soporta diagramas posicionales de ajedrez hechos con el programa \series bold \begin_inset CommandInset href LatexCommand href name "XBoard" target "http://en.wikipedia.org/wiki/XBoard" \end_inset \series default . \end_layout \begin_layout Description Fecha Esta inserta la fecha en el formato \emph on Día-Mes-Año. \emph default A continuación hay una fecha insertada como material externo: \begin_inset External template Date filename ... \end_inset \lang english \begin_inset space ~ \end_inset \begin_inset Note Note status open \begin_layout Plain Layout \lang english Remove the protected space when bug 4398 is fixed! \end_layout \end_inset \lang spanish \begin_inset Newline newline \end_inset La fecha no se muestra en LyX, sólo en la salida. Hay otros dos métodos de insertar una fecha, con el menú \family sans Insertar\SpecialChar \menuseparator Fecha \family default y con el comando LaTeX \series bold \backslash today \series default en código TeX. Los distintos métodos se comparan en la tabla \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Comparación-de" \end_inset . \end_layout \begin_layout Description LilyPond Esta plantilla sirve para tipografiar notación musical con el programa \begin_inset Newline linebreak \end_inset \series bold \begin_inset CommandInset href LatexCommand href name "LilyPond" target "http://en.wikipedia.org/wiki/LilyPond" \end_inset \series default . \end_layout \begin_layout Description RasterImage Sirve para insertar imágenes bitmap. Casi todos los formatos populares de imágenes están soportados. Las imágenes se pueden tratar en el diálogo \family sans Material Externo \family default como las que habitualmente se incluyen mediante el diálogo \family sans Gráficos \family default , tal como se explica en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Diálogo-Gráficos" \end_inset . La diferencia es que sólo se permiten imágenes bitmap, por tanto las imágenes PDF y EPS no están soportadas. \end_layout \begin_layout Description XFig Esta plantilla soporta imágenes creadas con el programa \series bold \begin_inset CommandInset href LatexCommand href name "Xfig" target "http://en.wikipedia.org/wiki/Xfig" \end_inset \series default . \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Comparación-de" \end_inset Comparación de los métodos de inserción de fecha. \end_layout \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout Tipo del Documento \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family sans Material Externo\SpecialChar \menuseparator Fecha \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout \family sans Insertar\SpecialChar \menuseparator Fecha \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout comando \series bold \backslash today \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout LyX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como cuadro \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como fecha \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como cuadro en código TeX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout LaTeX \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como fecha \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como fecha \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como comando \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout DVI, PDF, PS \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como fecha \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como fecha \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout como fecha \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Si utilizas la opción \family sans Borrador \family default en la solapa \family sans Archivo \family default del diálogo \family sans Material Externo \family default , en el documento de salida sólo se muestra la ruta al archivo insertado. \family sans \begin_inset Newline newline \end_inset \family default El material externo se muestra en LyX como un cuadro del tipo: \family sans \family default \begin_inset Graphics filename clipart/MaterialExternoQt4.png scale 80 \end_inset o como imagen, según la configuración elegida en la solapa \family sans Vista \begin_inset space ~ \end_inset LyX \family default del diálogo \family sans Material Externo. \end_layout \begin_layout Standard En el manual \emph on Personalización \emph default se explica cómo definir tus propias plantillas. \end_layout \begin_layout Section Documento hijo \begin_inset CommandInset label LatexCommand label name "sec:Documento-Hijo" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Documento hijo \end_layout \end_inset \end_layout \begin_layout Standard Los documentos hijos se emplean en el caso de tener un documento extenso compuesto por varias partes o secciones más grandes. Para trabajar en este tipo de documentos es útil, y a veces obligado, dividirlo en varios archivos que pueden ser revisados por separado. Estos archivos se conocen como documentos hijos, y el llamado documento maestro los conecta con el fin de imprimirlos como un todo o por partes. \end_layout \begin_layout Standard Los documentos incluidos como hijos se muestran en la pantalla de LyX como cuadros del tipo: \begin_inset Graphics filename clipart/DocumentoHijoQt4.png scale 80 \end_inset . Para incluir documentos hijos en un documento maestro utiliza el menú \family sans Insertar \family default \SpecialChar \menuseparator \family sans Archivo \family default \SpecialChar \menuseparator \family sans Documento \begin_inset space ~ \end_inset hijo \family default . Surge un diálogo en el que puedes elegir entre cuatro métodos de inclusión: \end_layout \begin_layout Description Incluir Puedes incluir documentos LyX y documentos LaTeX. Al pulsar el botón \family sans Cargar \family default en el diálogo \family sans Documento hijo \family default , los documentos incluidos se abrirán en una nueva solapa de archivo en la ventana de LyX y así puedes modificarlos si quieres. \end_layout \begin_layout Standard Aquí hay un archivo insertado con el método \family sans Incluir \family default : \begin_inset CommandInset include LatexCommand include filename "DocumentoPostizo1.lyx" \end_inset \end_layout \begin_layout Standard La numeración de secciones tiene en cuenta las secciones de los archivos incluidos en el orden en que están insertados en el documento maestro. El documento incluido de ejemplo tiene una subsección que se numera como subsección de la presente sección. Las etiquetas de los documentos incluidos se pueden referenciar: Subsección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Subsección-Externa-1" \end_inset . \end_layout \begin_layout Standard El preámbulo del documento hijo se ignora, sólo se utiliza el preámbulo del documento maestro. Los documentos incluidos se insertan comenzando una página nueva y acabando con un salto de página. \end_layout \begin_layout Standard Con el comando LaTeX \series bold \backslash includeonly \series default puedes determinar qué documentos hijos serán procesados al generar la salida. Esto es útil si, por ejemplo, estás trabajando sólo cierto capítulo de un extenso documento y quieres ahorrar tiempo de compilación. \series bold \backslash includeonly \series default se inserta en el preámbulo del documento maestro, poniendo como argumento una lista de los nombres de archivo separados con comas, p. \begin_inset space \thinspace{} \end_inset e. la orden: \end_layout \begin_layout Standard \series bold \backslash includeonly{capítulo1,capítulo5} \end_layout \begin_layout Standard hará que sólo se procesen los archivos incluidos cuyos nombres son «capítulo1.lyx » (o «capítulo1.tex») y «capítulo5.lyx». \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Si has incluido un archivo LyX o LaTeX cuya clase de documento es distinta a la del documento maestro, recibirás una advertencia al exportar/ver el documento, ya que esto podría dar resultados inesperados. \end_layout \end_inset \end_layout \begin_layout Description Entrada Este método es muy parecido al método \family sans Incluir \family default . Las diferencias son: \end_layout \begin_deeper \begin_layout Itemize Los archivos del tipo Entrada no comienzan en página nueva ni acaban con un salto de página. \end_layout \begin_layout Itemize Los archivos del tipo Entrada se pueden visualizar en LyX si la \family sans Vista \begin_inset space ~ \end_inset preliminar \begin_inset space ~ \end_inset inmediata \family default está activada en el diálogo \family sans Herramientas\SpecialChar \menuseparator Preferencias \family default , apartado \family sans Apariencia\SpecialChar \menuseparator Gráficos \family default . \end_layout \begin_layout Itemize No se puede utilizar el comando LaTeX \series bold \backslash includeonly \series default . \end_layout \end_deeper \begin_layout Standard Aquí hay un documento hijo insertado con el método \family sans Entrada \family default : \end_layout \begin_layout Standard \begin_inset CommandInset include LatexCommand input filename "DocumentoPostizo2.lyx" \end_inset \end_layout \begin_layout Description Literal Con este método se puede incluir todo archivo de texto. El archivo aparece en la salida con su código fuente, y si contiene comandos no se ejecutan. Con la opción \family sans Marcar espacios en la salida \family default cada espacio en el código fuente se muestra en la salida con el carácter « \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash textvisiblespace \end_layout \end_inset ». La diferencia con el método de inserción mediante el menú \family sans Insertar \family default \SpecialChar \menuseparator \family sans Archivo \family default \SpecialChar \menuseparator \family sans Texto \begin_inset space ~ \end_inset simple \family default es que en este caso el contenido del archivo se ve en LyX, mientras que en modo \family sans Literal \family default no se muestra el contenido, sino un recuadro con el nombre. \family sans \end_layout \begin_layout Standard Aquí se inserta un documento hijo en modo Literal: \begin_inset CommandInset include LatexCommand verbatiminput filename "DocumentoTextoPostizo.txt" \end_inset \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Aquí se inserta un documento hijo en modo Literal con la opción \family sans Marcar espacios en la salida \family default : \begin_inset CommandInset include LatexCommand verbatiminput* filename "DocumentoTextoPostizo.txt" \end_inset \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Como puedes ver en los ejemplos anteriores, el texto de los documentos incluidos en modo \family sans literal \family default no contiene saltos de línea, a no ser que se incluyan expresamente en el archivo de texto. \end_layout \end_inset \end_layout \begin_layout Description Listado \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset programa Este tipo se describe en el capítulo \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "cha:Listado-de-programa" \end_inset . \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Incluir el mismo documento dos veces con métodos diferentes podría causar problemas en LaTeX. \end_layout \end_inset \end_layout \begin_layout Chapter Listado de programa \begin_inset CommandInset label LatexCommand label name "cha:Listado-de-programa" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Listado de programa \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Listado de programa ! list@ \emph on listings \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Flotantes ! Listado de programa \end_layout \end_inset \end_layout \begin_layout Standard Para incluir y tipografiar código de programación puedes usar la opción de menú disponible en \family sans Insertar\SpecialChar \menuseparator Listado \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset programa. \family default El paquete LaTeX \series bold listings \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! listings \end_layout \end_inset provee un mecanismo potente y flexible para insertar código fuente en tu documento. \end_layout \begin_layout Standard Al hacer clic-derecho sobre un recuadro de listado surge un cuadro de diálogo en el que puedes establecer el formato del mismo. \end_layout \begin_layout Standard Por omisión, al insertar un listado de programa se inicia un párrafo nuevo. La opción de ubicación \family sans Listado \begin_inset space ~ \end_inset insertado \family default lo imprime en la línea, como este ejemplo: \begin_inset listings lstparams "language={C++}" inline true status open \begin_layout Plain Layout int a=5; \end_layout \end_inset \family sans \begin_inset Newline newline \end_inset \family default La opción \family sans Flotante \family default crea un listado flotante cuya colocación se puede especificar mediante las opciones « \family sans h \family default », « \family sans t \family default », « \family sans b \family default » y « \family sans p \family default », correspondientes a las opciones de colocación de flotantes descritas en la sección \family sans \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Colocación-de-Flotantes" \end_inset \family default . Las opciones de colocación se pueden mezclar y se escriben sin separación, p. \family sans \begin_inset space \thinspace{} \end_inset \family default e. \begin_inset space ~ \end_inset « \family sans htbp \family default ». La opción « \family sans h \family default » a veces no tiene efecto, pero no necesitas usar la opción \family sans Flotante \family default en ese caso puesto que los listados de programa no flotantes también pueden tener leyendas y ser referenciadas. \end_layout \begin_layout Standard Se puede añadir una leyenda a un listado de programa con el menú \family sans Insertar\SpecialChar \menuseparator Leyenda \family default \begin_inset Foot status open \begin_layout Plain Layout Para traducir la etiqueta \begin_inset Quotes eld \end_inset Listado \begin_inset Quotes erd \end_inset de la leyenda, se añade al preámbulo del documento el comando \series bold \backslash renewcommand{ \backslash lstlistingname}{Listado} \series default . ( \emph on N. \begin_inset space \thinspace{} \end_inset del t. \emph default ) \end_layout \end_inset . Los listados de programa se pueden referenciar como los flotantes: Listado \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "lst:Ejemplo-de-listado-de-programa" \end_inset \end_layout \begin_layout Standard \begin_inset listings lstparams "language=Python" inline false status collapsed \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "lst:Ejemplo-de-listado-de-programa" \end_inset Ejemplo de listado de programa flotante \end_layout \end_inset # Ejemplo de listado flotante \end_layout \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'this is a python function' \end_layout \begin_layout Plain Layout pass \end_layout \end_inset \end_layout \begin_layout Standard Una vez que has escogido un lenguaje de programación en el cuadro de diálogo de listado de programa, las palabras clave de ese lenguaje serán reconocidas y tipografiadas de manera especial en la salida. En el ejemplo, la clave de Python «def» es reconocida y se imprimirá en negrita. \end_layout \begin_layout Standard \begin_inset Note Greyedout status collapsed \begin_layout Plain Layout \series bold Nota: \series default Si no consigues caracteres en negrita cuando usas fuentes typewriter, se debe probablemente a que dicha fuente no suministra negritas. En este caso selecciona una fuente distinta en el menú \family sans Documento \family default \SpecialChar \menuseparator \family sans Configuración \family default \SpecialChar \menuseparator \family sans Fuentes. \family default (Las fuentes \emph on LuxiMono, BeraMono \emph default y \emph on Courier \emph default suministran negritas.) \end_layout \end_inset \end_layout \begin_layout Standard En la sección \family sans Numeración \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset líneas \family default del diálogo puedes elegir el estilo de numeración de las líneas. En el campo \family sans Paso \family default puedes insertar un número para determinar qué líneas se numeran. Por ejemplo, si pones «3», se numera sólo una de cada tres líneas. \end_layout \begin_layout Standard Además, puedes especificar un rango de líneas para que sólo éstas aparezcan en la salida. La opción \family sans Tabla \begin_inset space ~ \end_inset de \begin_inset space ~ \end_inset caracteres \begin_inset space ~ \end_inset extendida \family default debería emplearse si se usan en el código caracteres nacionales como la diéresis alemana. \begin_inset Newline newline \end_inset A continuación hay un ejemplo con numeración de líneas a la izquierda, paso «3», lenguaje «Python», opciones de estilo «Tabla de caracteres extendida» y «Espacio como símbolo», rango de líneas 3-8: \begin_inset listings lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3" inline false status collapsed \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'this is a python function' \end_layout \begin_layout Plain Layout pass \end_layout \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'This is a German word: Tschüß' \end_layout \begin_layout Plain Layout pass \end_layout \begin_layout Plain Layout def func(param): \end_layout \begin_layout Plain Layout 'this is a python function' \end_layout \begin_layout Plain Layout pass \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Debido a un error en el paquete \series bold listings \series default la numeración de líneas cambia en una línea por cada listado previo. Por esto en el ejemplo de arriba se numeran las líneas 2 y 5 y no las líneas 3 y 6. \end_layout \end_inset \end_layout \begin_layout Standard \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard También es posible imprimir como listado de programa líneas de un archivo. Para hacer esto, usa el menú \family sans Insertar\SpecialChar \menuseparator Archivo\SpecialChar \menuseparator Documento \begin_inset space ~ \end_inset hijo \family default y elige el tipo \family sans Listado de programa \family default . \begin_inset Foot status collapsed \begin_layout Plain Layout Los restantes tipos de documento hijo se describen en la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sec:Documento-Hijo" \end_inset . \end_layout \end_inset En el diálogo de documento hijo puedes especificar los parámetros del listado en el cuadro de texto. Para ver una lista de los parámetros disponibles teclea una interrogación «?» en el cuadro. \end_layout \begin_layout Standard Para referenciar un documento hijo tipo listado, escribe el texto de la etiqueta en el campo correspondiente del diálogo de documento hijo. Después se puede referenciar la etiqueta con el menú \family sans Insertar\SpecialChar \menuseparator Referencia cruzada. \end_layout \begin_layout Standard A continuación hay un ejemplo, Listado \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "lst:archivo-listado" \end_inset , de inserción de líneas de un archivo; en él se incluye el rango de las líneas 10 \begin_inset space \thinspace{} \end_inset - \begin_inset space \thinspace{} \end_inset 15 de este archivo LyX. \end_layout \begin_layout Standard \begin_inset CommandInset include LatexCommand lstinputlisting filename "EmbeddedObjects.lyx" lstparams "breaklines=true,caption={Líneas 10 - 15 de este archivo LyX},firstline=10,label={lst:archivo-listado},language={[LaTeX]TeX},lastline=15" \end_inset \begin_inset VSpace bigskip \end_inset \end_layout \begin_layout Standard Las preferencias globales se pueden establecer en el diálogo \family sans Documento\SpecialChar \menuseparator Configuración\SpecialChar \menuseparator Diseño \begin_inset space ~ \end_inset del \begin_inset space ~ \end_inset texto. \family default Para ver ahí una lista de las opciones disponibles, escribe una interrogación «?» en el campo de texto. \end_layout \begin_layout Standard Para más información sobre el paquete \series bold listings \series default , consulta su documentación \begin_inset space ~ \end_inset \begin_inset CommandInset citation LatexCommand cite key "listings" \end_inset . \end_layout \begin_layout Standard \begin_inset Newpage newpage \end_inset \end_layout \begin_layout Chapter \start_of_appendix Unidades disponibles en LyX \begin_inset Index status collapsed \begin_layout Plain Layout Unidades \end_layout \end_inset \begin_inset CommandInset label LatexCommand label name "cha:Unidades-disponibles-en" \end_inset \end_layout \begin_layout Standard Para comprender las unidades utilizadas en este manual, el cuadro \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "tab:Unidades" \end_inset describe todas las unidades disponibles en LyX. \end_layout \begin_layout Standard \begin_inset Float table placement h wide false sideways false status open \begin_layout Plain Layout \begin_inset Caption \begin_layout Plain Layout \begin_inset CommandInset label LatexCommand label name "tab:Unidades" \end_inset Unidades \end_layout \end_inset \end_layout \begin_layout Plain Layout \begin_inset VSpace medskip \end_inset \end_layout \begin_layout Plain Layout \align center \begin_inset Tabular \begin_inset Text \begin_layout Plain Layout unidad \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout nombre/descripción \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout mm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout milímetro \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout cm \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout centímetro \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout in \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pulgada \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pt \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout punto (72.27 \begin_inset space \thinspace{} \end_inset pt = 1 \begin_inset space \thinspace{} \end_inset in) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pica (1 \begin_inset space \thinspace{} \end_inset pc = 12 \begin_inset space \thinspace{} \end_inset pt) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout sp \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout punto escalado (65536 \begin_inset space \thinspace{} \end_inset sp = 1 \begin_inset space \thinspace{} \end_inset pt) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout bp \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout punto grande (72 \begin_inset space \thinspace{} \end_inset bp = 1 \begin_inset space \thinspace{} \end_inset in) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout dd \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout didot (1 \begin_inset space \thinspace{} \end_inset dd \begin_inset Formula $\approx$ \end_inset 0.376 \begin_inset space \thinspace{} \end_inset mm) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout cc \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout cicero (1 \begin_inset space \thinspace{} \end_inset cc = 12 \begin_inset space \thinspace{} \end_inset dd) \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout Scale% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de anchura original de la imagen \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout text% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de anchura de texto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout col% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de anchura de columna \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout page% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de anchura de página \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout line% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de anchura de línea \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout theight% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de altura de texto \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout pheight% \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout % de altura de página \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout ex \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout altura de la letra \emph on x \emph default en la fuente actual \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout em \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout anchura de la letra \emph on M \emph default en la fuente actual \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout mu \end_layout \end_inset \begin_inset Text \begin_layout Plain Layout unidad matemática (1 \begin_inset space \thinspace{} \end_inset mu = 1/18 \begin_inset space \thinspace{} \end_inset em) \end_layout \end_inset \end_inset \end_layout \end_inset \end_layout \begin_layout Chapter Formatos de archivos de salida con gráficos \begin_inset CommandInset label LatexCommand label name "cha:Formatos-de-Archivos-de-Salida" \end_inset \end_layout \begin_layout Section DVI \begin_inset Index status collapsed \begin_layout Plain Layout Formatos de archivo ! DVI \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout DVI|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de archivo \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Este tipo de archivo tiene la extensión « \family typewriter .dvi \family default ». Se denomina «device-independent» (DVI), porque es completamente portable; se pueden mover de una máquina a otra sin necesidad de conversión alguna. En la época en que se desarrolló este formato, esto no era un asunto baladí. Los DVI se usan para vistas preliminares rápidas y como preparación para otros formatos de salida como PostScript. \end_layout \begin_layout Standard \begin_inset Note Greyedout status open \begin_layout Plain Layout \series bold Nota: \series default Los archivos DVI no contienen imágenes, sino enlaces a ellas. \end_layout \end_inset Por tanto no debes olvidar esto si mueves archivos \family typewriter .dvi \family default a otro ordenador. Esta característica también puede retardar la visualización del archivo, porque el visor DVI tiene que convertir la imagen en segundo plano para hacerla visible al deslizar el visor. Así pues recomendamos usar PDF para archivos con muchas imágenes. \end_layout \begin_layout Standard Un documento se exporta a DVI con el menú \family sans Archivo\SpecialChar \menuseparator Exportar\SpecialChar \menuseparator DVI \family default . Puedes ver la salida del documento en DVI con el menú \family sans Ver\SpecialChar \menuseparator DVI \family default o con el botón \begin_inset space ~ \end_inset \begin_inset Graphics filename ../../images/buffer-view_dvi.png scale 85 \end_inset . \end_layout \begin_layout Section PostScript \begin_inset CommandInset label LatexCommand label name "sec:PostScript" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Formatos de archivo ! PostScript \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout PostScript|see \begin_inset ERT status collapsed \begin_layout Plain Layout { \end_layout \end_inset Formatos de archivo \begin_inset ERT status collapsed \begin_layout Plain Layout } \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Standard Este tipo de archivo tiene la extensión « \family typewriter .ps \family default ». PostScript fue desarrollado por la compañía \family typewriter Adobe \family default como lenguaje para impresoras. Por eso estos archivos contienen comandos que usa la impresora para imprimirlos. PostScript puede considerarse como un «lenguaje de programación»; con él puedes calcular y dibujar imágenes y diagramas. \begin_inset Foot status collapsed \begin_layout Plain Layout Si estás interesado en este tema acude al paquete LaTeX \series bold PSTricks \series default \begin_inset CommandInset citation LatexCommand cite key "pstricks" \end_inset . \end_layout \end_inset Por esto los archivos suelen ser más grandes que los PDF. \end_layout \begin_layout Standard Los archivos PostScript sólo pueden contener imágenes en el formato «Encapsulate d PostScript» (EPS, extensión « \family typewriter .eps \family default »). Como LyX permite usar cualquier formato de imagen conocido, tiene que trabajar en segundo plano para convertir las imágenes a EPS. Si por ejemplo, el documento tiene 50 imágenes, LyX ha de hacer 50 conversiones cada vez que veas o exportes el documento. Esto ralentizará mucho el trabajo, así que si piensas usar PostScript, puedes evitar el problema insertando las imágenes directamente en EPS. \end_layout \begin_layout Standard El documento se puede exportar a PostScript con el menú \family sans Archivo\SpecialChar \menuseparator Exportar\SpecialChar \menuseparator Postscript \family default . Se puede ver la salida en PostScript con el menú \family sans Ver\SpecialChar \menuseparator Postscript \family default o con el botón \begin_inset space ~ \end_inset \begin_inset Graphics filename ../../images/buffer-view_ps.png \end_inset . \end_layout \begin_layout Section PDF \begin_inset CommandInset label LatexCommand label name "sec:PDF" \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout Formatos de archivo ! PDF \end_layout \end_inset \begin_inset Index status collapsed \begin_layout Plain Layout PDF \end_layout \end_inset \end_layout \begin_layout Standard Este tipo de archivo tiene la extensión « \family typewriter .pdf \family default ». El formato «Portable Document Format» (PDF) fue desarrollado por \family typewriter Adobe \family default como derivado de PostScript. Es más comprimido y utiliza muchos menos comandos que PostScript. Como su nombre «portable» indica, puede ser procesado por cualquier sistema operativo y la salida impresa se muestra exactamente igual. \end_layout \begin_layout Standard PDF puede contener imágenes en su propio formato PDF, en el formato «Joint Photographic Experts Group» (JPG, extensión « \family typewriter .jpg \family default » o « \family typewriter .jpeg \family default »), y en el formato «Portable Network Graphics» (PNG, extensión « \family typewriter .png \family default »). Aunque puedes poner cualquier otro formato de imagen, porque LyX los convierte en segundo plano a alguno de los anteriores. Pero como se ha comentado en la sección sobre PostScript, la conversión de gráficos ralentiza el trabajo. Por tanto se recomienda utilizar alguno de los tres formatos de imagen mencionados. \end_layout \begin_layout Standard Un documento se puede exportar a PDF con el menú \family sans Archivo\SpecialChar \menuseparator Exportar \family default en tres modos diferentes: \end_layout \begin_layout Description PDF \begin_inset space ~ \end_inset (ps2pdf) Este utiliza el programa \family typewriter ps2pdf \family default que crea un PDF a partir de una versión PostScript del archivo. La versión PostScript es producida por el programa \family typewriter dvips \family default que usa una versión DVI como paso intermedio. Así que este modo de exportación consta de tres conversiones. \end_layout \begin_layout Description PDF \begin_inset space ~ \end_inset (dvipdfm) Este utiliza el programa \family typewriter dvipdfm \family default que convierte el archivo a DVI en segundo plano y en un segundo paso a PDF. \end_layout \begin_layout Description PDF \begin_inset space ~ \end_inset (pdflatex) Este utiliza el programa \family typewriter pdftex \family default que convierte directamente el archivo a PDF. \end_layout \begin_layout Standard Se recomienda usar \family sans PDF \begin_inset space ~ \end_inset (pdflatex) \family default porque \family typewriter pdftex \family default soporta todas las características de las versiones actuales de PDF, es rápido y estable. El programa \family typewriter dvipdfm \family default ya no se desarrolla y está un poco obsoleto. \end_layout \begin_layout Standard La salida en formato PDF se puede ver con el menú \family sans Ver \family default o con el botón \begin_inset space ~ \end_inset \begin_inset Graphics filename ../../images/buffer-view_pdf2.png scale 85 \end_inset (que usa \family sans PDF \begin_inset space ~ \end_inset (pdflatex) \family default ). \end_layout \begin_layout Chapter Explicación de la ecuación \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wgn" \end_inset \begin_inset CommandInset label LatexCommand label name "cha:Explicación-de-la-Ecuación" \end_inset \end_layout \begin_layout Standard La anchura total de \emph on n \emph default celdas de una tabla \begin_inset Formula $W_{\mathrm{tot\, n}}$ \end_inset puede calcularse con \end_layout \begin_layout Standard \begin_inset Formula \begin{equation} 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} \end_inset \end_layout \begin_layout Standard donde \begin_inset Formula $W_{g\, n}$ \end_inset es el ancho dado de todas las celdas. \series bold \backslash tabcolsep \series default es la longitud LaTeX entre el texto y el borde de la celda, 6 \begin_inset space \thinspace{} \end_inset pt por omisión. \series bold \backslash arrayrulewidth \series default es el grosor de línea del borde, 0.4 \begin_inset space \thinspace{} \end_inset pt por omisión. \end_layout \begin_layout Standard Procediendo como en la ecuación \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wtot_n" \end_inset , el ancho total de una multicolumna, \begin_inset Formula $W_{\mathrm{tot\, mult}}$ \end_inset es \end_layout \begin_layout Standard \begin_inset Formula \begin{equation} W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation} \end_inset \end_layout \begin_layout Standard Igualando las ecuaciones \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wtot_n" \end_inset y \begin_inset CommandInset ref LatexCommand eqref reference "eq:Wtot_mult" \end_inset podemos calcular el ancho dado necesario \begin_inset Formula $W_{g\, n}$ \end_inset cuando se expanden \emph on n \emph default columnas, de forma que cada una de ellas tiene una anchura total \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$ \end_inset : \end_layout \begin_layout Standard \begin_inset Formula \begin{equation} W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation} \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexcompanion" \end_inset Frank Mittelbach and Michel Goossens: \emph on The LaTeX Companion Second Edition. \emph default Addison-Wesley, 2004 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexguide" \end_inset Helmut Kopka and Patrick W. Daly: \emph on A Guide to LaTeX Fourth Edition. \emph default Addison-Wesley, 2003 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "latexbook" \end_inset Leslie Lamport: \emph on LaTeX: A Document Preparation System. \emph default Addison-Wesley, second edition, 1994 \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "booktabs" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "booktabs" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! booktabs \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "caption" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "caption" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! caption \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "endfloat" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "endfloat" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! endfloat \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "wrapfig" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "wrapfig" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! wrapfig \begin_inset ERT status collapsed \begin_layout Plain Layout \backslash vspace{4mm} \end_layout \end_inset \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "footmisc" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "footmisc" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! footmisc \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "hypcap" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "hypcap" target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! hyperref \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "hyperref" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "hyperref" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! hyperref \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "koma-script" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "koma-script" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! koma-script \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "listings" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "listings" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! listings \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "marginnote" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "marginnote" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! marginnote \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "pstricks" \end_inset Página web del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "PSTricks" target "http://tug.org/PSTricks/" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! PSTricks \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "sidecap" \end_inset Documentación del paquete LaTeX \series bold \begin_inset CommandInset href LatexCommand href name "sidecap" target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf" \end_inset \series default \begin_inset Index status collapsed \begin_layout Plain Layout LaTeX-paquetes ! sidecap \end_layout \end_inset \end_layout \begin_layout Bibliography \begin_inset CommandInset bibitem LatexCommand bibitem key "NewInLyX16" \end_inset \begin_inset CommandInset href LatexCommand href name "Página wiki" target "http://wiki.lyx.org/LyX/NewInLyX16" \end_inset sobre características nuevas para la versión \family sans LyX \begin_inset space ~ \end_inset 1.6.0 \family default . \end_layout \begin_layout Standard \begin_inset CommandInset index_print LatexCommand printindex \end_inset \end_layout \begin_layout Standard \begin_inset FloatList figure \end_inset \end_layout \begin_layout Standard \begin_inset FloatList table \end_inset \end_layout \begin_layout Standard \begin_inset ERT status open \begin_layout Plain Layout \backslash listof{algorithm}{Lista de algoritmos} \end_layout \end_inset \begin_inset Note Note status collapsed \begin_layout Plain Layout Véase la sección \begin_inset space ~ \end_inset \begin_inset CommandInset ref LatexCommand ref reference "sub:Algoritmos-Flotantes" \end_inset para una descripción. \end_layout \end_inset \end_layout \end_body \end_document