\setboolean{colortbl}{true}}
{\setboolean{colortbl}{false}}
+% used for colored table rows
+\usepackage[table]{xcolor}
+
% used to have extra space in table cells
\@ifundefined{extrarowheight}
{\usepackage{array}}{}
\setboolean{lettrine}{true}}
{\setboolean{lettrine}{false}}
+% check for diagbox
+\newboolean{diagbox}
+\IfFileExists{diagbox.sty}
+ {\usepackage{diagbox}
+ \setboolean{diagbox}{true}}
+ {\setboolean{diagbox}{false}}
+
% to translate the listing label
% para traducir la etiqueta listing
\renewcommand{\lstlistingname}{Listado}
+
+% workaround for a bug in KOMA-script 3.10a
+% remove this if a newer KOMA-script version is released!
+\usepackage{everysel,sidecap}
\end_preamble
\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
\use_default_options false
\series default
,
\series bold
-lettrine, marginnote, picinpar
+diagbox, lettrine, marginnote, picinpar
\series default
y
\series bold
\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
-\family sans
-
+ texto que desees y haz clic en el botón
\begin_inset Info
type "icon"
arg "dialog-show-new-inset graphics"
\end_inset
-
-\family default
o en el menú
\family sans
Insertar\SpecialChar \menuseparator
\begin_layout Standard
El botón
-\family sans
-
\begin_inset Info
type "icon"
arg "float-insert figure"
\end_inset
-
-\family default
y el menú
\family sans
Insertar\SpecialChar \menuseparator
Etiqueta
\family default
o el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "label-insert"
\end_inset
-
-\family default
.
Ahora puedes referirte a la etiqueta usando el menú
\family sans
cruzada
\family default
o el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "dialog-show-new-inset ref"
\end_inset
-
-\family default
.
Es importante emplear referencias a flotantes, mejor que alusiones vagas
como «la figura de arriba», porque como LaTeX recolocará los flotantes
Las casillas de giro rotan la celda actual, una selección o toda el cuadro
90º en el sentido de las agujas del reloj.
La rotación no se ve en LyX, sí en la salida.
+ Para más información véase sección
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Rotated-Table-Cells"
+
+\end_inset
+
+.
\begin_inset Newline newline
\end_inset
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular append-row"
\end_inset
-
-\family default
añade una fila bajo la celda actual o selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular append-column"
\end_inset
-
-\family default
añade una columna a la derecha de la celda actual o selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular delete-row"
\end_inset
-
-\family default
borra la fila actual o selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular delete-column"
\end_inset
-
-\family default
borra la columna actual o selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-top"
\end_inset
-
-\family default
añade un borde superior en la celda/fila actual o la selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-bottom"
\end_inset
-
-\family default
añade un borde inferior en la celda/fila actual o la selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-left"
\end_inset
-
-\family default
añade un borde a la izquierda en la celda/fila actual o la selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular toggle-line-right"
\end_inset
-
-\family default
añade un borde a la derecha en la celda/fila actual o la selección
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular set-all-lines"
\end_inset
-
-\family default
añade bordes en la celda actual o en las 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
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular unset-all-lines"
\end_inset
-
-\family default
quita todos los bordes 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
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-align-left"
\end_inset
-
-\family default
alinea a la izquierda el contenido de la celda/columna
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-align-center"
\end_inset
-
-\family default
centra el contenido de la celda/columna horizontalmente
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-align-right"
\end_inset
-
-\family default
alinea a la derecha el contenido de la celda/columna
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular align-decimal"
\end_inset
-
-\family default
alinea el contenido de la celda/columna a un carácter
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-valign-top"
\end_inset
-
-\family default
alinea arriba el contenido de la celda
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-valign-middle"
\end_inset
-
-\family default
centra verticalmente el contenido de la celda
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular m-valign-bottom"
\end_inset
-
-\family default
alinea abajo el contenido de la celda
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular set-rotate-cell"
\end_inset
-
-\family default
gira la celda o selección 90° como las agujas de reloj
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular set-rotate-tabular"
\end_inset
-
-\family default
gira todo el cuadro 90° como agujas del reloj
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular multicolumn"
\end_inset
-
-\family default
establece la celda actual o selección como multicolumna
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-
-\family sans
\begin_inset Info
type "icon"
arg "inset-modify tabular multirow"
\end_inset
-
-\family default
establece la celda actual o selección como multifila
\end_layout
Cuadro
\family default
o con el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "float-insert table"
\end_inset
-
-\family default
.
\end_layout
Etiqueta
\family default
o con el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "label-insert"
\end_inset
-
-\family default
.
Ahora puedes referenciar la etiqueta con el menú
\family sans
cruzada
\family default
o con el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "dialog-show-new-inset ref"
\end_inset
-
-\family default
.
\begin_inset Newline newline
\end_inset
\begin_layout Standard
Para extender una celda sobre varias columnas, se marcan las celdas que
se desee combinar y se usa el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "inset-modify tabular multicolumn"
\end_inset
-
-\family default
, el menú
\family sans
Editar\SpecialChar \menuseparator
\begin_layout Standard
Para extender una celda sobre varias filas, se marcan las celdas que se
desee combinar y se usa el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "inset-modify tabular multirow"
\end_inset
-
-\family default
, el menú
\family sans
Editar\SpecialChar \menuseparator
Por tanto, hay que usar con cuidado los saltos forzados.
\end_layout
-\begin_layout Section
-Cuadros formales
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Cuadros-Formales"
-
-\end_inset
+\begin_layout Subsection
+Celdas con línea(s) diagonal(es)
+\end_layout
+\begin_layout Standard
+Para que el lector distinga los encabezados de filas y columnas, es útil
+ dividir la primera celda del cuadro con una o dos líneas diagonales.
+ Esto es posible cargando el paquete LaTeX
+\series bold
+diagbox
+\series default
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Cuadros ! Formales
+LaTeX-paquetes ! diagbox
\end_layout
\end_inset
-
+ en el preámbulo del documento.
+ El paquete suministra el comando
+\series bold
+
+\backslash
+diagbox
+\series default
+, que se inserta en código TeX con dos o tres argumentos:
\end_layout
\begin_layout Standard
-En los libros, los cuadros se suelen presentar en un formato como el del
- cuadro
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Ejemplo-cuadro-formal"
-\end_inset
+\series bold
-.
- Se denominan cuadros
-\emph on
-formales
-\emph default
-.
- Para hacer cuadros con este diseño, elige
-\family sans
-Estilo
-\family default
+\backslash
+diagbox[options]{izquierda abajo}{derecha arriba}
+\end_layout
-\begin_inset space ~
-\end_inset
+\begin_layout Standard
+\series bold
-\family sans
-Formal
-\family default
- en la solapa
-\family sans
-Bordes
-\family default
- del diálogo de cuadros.
+\backslash
+diagbox[options]{izquierda abajo}{izquierda arriba}{derecha arriba}
\end_layout
\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+En el primer caso, la celda se divide con una línea diagonal y los argumentos
+ se colocan debajo y encima de dicha línea.
+ En el segundo la celda se divide con dos líneas.
+\end_layout
-\begin_layout Plain Layout
-\begin_inset Caption
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Ejemplo-cuadro-formal"
-\end_inset
-Ejemplo de cuadro formal
+\backslash
+ifdiagbox
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_inset Note Note
+status open
\begin_layout Plain Layout
-System
+La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
+ LaTeX
+\series bold
+diagbox
+\series default
+.
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-1
\end_layout
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Standard
+Aquí hay un ejemplo de cuadro con
+\series bold
-2
+\backslash
+diagbox
+\series default
+ y dos argumentos:
\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
-\end_inset
-</cell>
-</row>
+\begin_layout Standard
+\noindent
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
-cmidrule(r){2-2}
+diagbox{
\end_layout
\end_inset
-
+Nombre
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+}{
+\end_layout
+
+\end_inset
-\backslash
-cmidrule(l){3-4}
+Parámetro
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
\end_inset
-Detector thickness in µm
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+Thickness in nm
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+Transparency in %
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-700
+Hardness in MPa
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Edge angle in °
+Perfect Green
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3.55
+45
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-2.71
+80
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-7.99
+504
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Spatial resolution in µm
+Dark Multi-P
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-4.26
+60
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.17
+72
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.56
+982
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-MTF at
-\begin_inset Formula $f_{\mathrm{max}}$
-\end_inset
-
-
+Crystal Clear Pro
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.53
+18
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.37
+86
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.39
+374
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+El esquema con tres argumentos puede ser útil, por ejemplo, para cuadros
+ de ligas deportivas o distancias:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
-cmidrule(l{10pt}){1-1}
+diagbox{
\end_layout
\end_inset
-LSF-spatial resolution
+Equipo local
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+
+Resultado
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Equipo visitante
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+Panthers
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+Falcons
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-in µm
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-129.7
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-52.75
+1:3
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-50.78
+0:1
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-in % of pixel size
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-76.3
+3:1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-95.9
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-92.3
+0:0
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
-
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+Falcons
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+1:0
\end_layout
-\begin_layout Standard
-Se puede añadir espacio adicional a las filas del cuadro 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
-
-del
-\begin_inset space ~
-\end_inset
-
-cuadro
-\family default
-, como se explica en la sección
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Espacio-adicional"
+\begin_layout Plain Layout
+0:0
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+---
\end_layout
-\begin_layout Standard
-A diferencia de los cuadros normales, los cuadros formales no tienen líneas
- verticales.
- Las líneas horizontales se pueden poner o no como en los cuadros normales,
- pero en la salida se mostrarán con distinto grosor:
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+</lyxtabular>
-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:
+Para cuadros más grandes con datos cruzados se pueden usar celdas divididas
+ en cada esquina del cuadro, como en el siguiente ejemplo:
\end_layout
\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\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 "cap: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 del cuadro,
- 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
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-El cuadro
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Ejemplo-cuadro-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 enl cuadro
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Cuadro-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 del cuadro
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Cuadro-formal-especial"
-
-\end_inset
-
- es
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-cmidrule(r){2-2}
-\backslash
-cmidrule(l){3-4}
-\backslash
-morecmidrules
-\backslash
-cmidrule{2-4}
+diagbox{
\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
+Equipo local
+\begin_inset ERT
+status collapsed
-\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
+\begin_layout Plain Layout
-\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 idx
+Resultado
+\begin_inset ERT
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
+\end_inset
-\begin_layout Plain Layout
-\begin_inset Caption
+Equipo visitante
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Cuadro-formal-especial"
-\end_inset
-
-Cuadro formal especial
+}
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-System
-\end_layout
-
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-
-1
+Tigers
\end_layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-
-2
+Panthers
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Falcons
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-cmidrule(r){2-2}
+diagbox[dir=NE]{
\end_layout
\end_inset
-
+Equipo local
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule(l){3-4}
+}{
\end_layout
\end_inset
-
+Resultado
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-morecmidrules
+}{
\end_layout
\end_inset
-
+Equipo visitante
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule{2-4}
+}
\end_layout
\end_inset
-Detector thickness in µm
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-700
+1:3
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Edge angle in °
+0:1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3.55
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-2.71
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-7.99
+3:1
\end_layout
\end_inset
</cell>
-</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Spatial resolution in µm
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-4.26
+0:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.17
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.56
+Falcons
\end_layout
\end_inset
</cell>
-</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-MTF at
-\begin_inset Formula $f_{\mathrm{max}}$
-\end_inset
-
-
+1:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.53
+0:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.37
+---
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.39
+Falcons
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-morecmidrules
+diagbox[dir=SW]{
\end_layout
\end_inset
-
+Equipo local
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule{3-4}
+}{
\end_layout
\end_inset
-LSF-spatial resolution
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+Resultado
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+Equipo visitante
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-in µm
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-129.7
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-52.75
+Falcons
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-50.78
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-in % of pixel size
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-76.3
+\backslash
+diagbox[dir=SE]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-95.9
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+Equipo local
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-92.3
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+Resultado
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
+}{
\end_layout
\end_inset
-
-\end_layout
-
-\begin_layout Section
-Alineación vertical de cuadros
-\begin_inset Index idx
+Equipo visitante
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Cuadros ! Alineación vertical
+
+}
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-Para alinear cuadros verticalmente en una línea de texto, el cuadro debe
- estar en un marco.
- Después el marco se puede alinear verticalmente como se describe en la
- sección
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Diálogo-Marcos"
-\end_inset
+\end_layout
+\begin_layout Standard
+Para rotar las líneas diagonales se usa la opción
+\series bold
+dir=direction
+\series default
.
+\emph on
+direction
+\emph default
+ es
+\series bold
+NE
+\series default
+,
+\series bold
+DE
+\series default
+,
+\series bold
+SW
+\series default
+ o
+\series bold
+NW
+\series default
+, que representan puntos en una brújula.
+ Por ejemplo,
+\series bold
+SW
+\series default
+ es la orientación suroeste.
+ Así, en la celda inferior izquierda del cuadro anterior, se ha utilizado
+ el comando
\end_layout
\begin_layout Standard
-En el ejemplo siguiente los cuadros están en un marco tipo minipágina
-\begin_inset Foot
-status open
-
-\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
+\series bold
-.
+\backslash
+diagbox[dir=SW]{Equipo local}{Resultado}{Equipo visitante}
\end_layout
-\end_inset
-
- que tiene una anchura del 15
-\begin_inset space \thinspace{}
-\end_inset
-
-% de columna:
+\begin_layout Standard
+Si no se indica dirección se usa NW.
\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
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\begin_layout Standard
+La anchura adecuada para las celdas divididas se calcula automáticamente.
+ Si estableces una anchura fija de columna menor que la calculada, el contenido
+ sobrepasará los bordes de la celda:
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+\noindent
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+Nombre
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+Parámetro
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
+Perfect Green
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-f
+45
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+</row>
+</lyxtabular>
+
+\end_inset
+
-\begin_layout Plain Layout
-i
\end_layout
+\begin_layout Standard
+Si hace falta una determinada anchura para columnas con celdas divididas,
+ se usa la opción
+\series bold
+width=3cm
+\series default
+ (donde 3cm puede cambiarse por la cantidad deseada).
+ En el cuadro siguiente se ha puesto 4
+\begin_inset space \thinspace{}
+\end_inset
+
+cm de anchura para la primera columna.
+ Para
+\series bold
+
+\backslash
+diagbox
+\series default
+ se necesita una anchura de 4
+\begin_inset space \thinspace{}
+\end_inset
+
+cm + 2
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-</row>
-</lyxtabular>
+
+\backslash
+tabcolsep, ya que la anchura total es la del texto (4
+\begin_inset space \thinspace{}
\end_inset
+cm en este caso) más dos veces la separación del texto y el borde.
+ El cálculo de la anchura no puede hacerse en la opciones del comando
+\series bold
+\backslash
+diagbox
+\series default
+, hay que crear una nueva longitud que se puede usar después.
+ Esto se hace con los comandos en código TeX
\end_layout
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newlength{
+\backslash
+diagtest}
+\begin_inset Newline newline
\end_inset
- test
+
+\backslash
+setlength{
+\backslash
+diagtest}{4cm+2
+\backslash
+tabcolsep}
+\end_layout
+
+\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-raisebox{0.85
+newlength{
\backslash
-baselineskip}{
+diagtest}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+diagtest}{4cm+2
+\backslash
+tabcolsep}
\end_layout
\end_inset
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\end_layout
+
+\begin_layout Standard
+Para habilitar cálculos en LaTeX hay que cargar el paquete
+\series bold
+calc
+\series default
+
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
+LaTeX-paquetes ! calc
+\end_layout
+
+\end_inset
+
+ en el preámbulo del documento.
+\end_layout
+
+\begin_layout Standard
+En este cuadro se puede usar ahora el comando
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[width=
+\backslash
+diagtest]{A}{B}
+\end_layout
+
+\begin_layout Standard
+en la primera celda:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="4cm">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox[width=
+\backslash
+diagtest]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+45
\end_layout
\end_inset
\end_layout
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
+\begin_layout Standard
+Hay que tener en cuenta que la celda dividida ha de ser la más ancha en
+ la columna.
+ De otro modo, la longitud de la diagonal no puede calcularse correctamente,
+ como en este caso:
\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
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\noindent
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+45
\end_layout
\end_inset
\end_layout
-\end_inset
+\begin_layout Standard
+En este caso se usa la opción
+\series bold
+width
+\series default
+ del comando
+\series bold
+\backslash
+diagbox
+\series default
+.
+ Ahora no es necesario añadir 2
+\backslash
+tabcolsep porque la anchura de la celda es la anchura de la columna.
+ En este cuadro se usa una anchura de 3
+\begin_inset space \thinspace{}
+\end_inset
+cm:
\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
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\noindent
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=3cm]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-d
+
+}{
+\end_layout
+
+\end_inset
+
+B
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-g
+Thickness in nm
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+Perfect Green
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Para múltiples líneas de texto en celdas divididas se necesita una altura
+ adicional para adaptar el texto a la celda.
+ Esto se consigue con la opción
+\series bold
+height=3cm
+\series default
+ (se puede cambiar por el valor deseado).
+ En el cuadro siguiente se usa el comando
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[width=3cm,height=1.4cm]{A
+\backslash
+
+\backslash
+B}{C
+\backslash
+
+\backslash
+D}
+\end_layout
+
+\begin_layout Standard
+en la primera celda.
+ El comando
+\series bold
+
+\backslash
+
+\backslash
+
+\series default
+ crea el salto de línea.
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Saltos de línea con
+\family sans
+Ctrl+Retorno
+\family default
+ solo es posible si la columna tiene anchura fija.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=3cm,height=1.4cm]{
+\end_layout
+
+\end_inset
+
+A
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
+\end_layout
+
+\end_inset
+
+B
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+C
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
+\end_layout
+
+\end_inset
+
+D
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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
+diagbox
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Hay que instalar el paquete LaTeX
+\series bold
+diagbox
+\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 Standard
+Para más información sobre el paquete LaTeX
+\series bold
+diagbox
+\series default
+ consulta su documentación,
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset citation
+LatexCommand cite
+key "diagbox"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+Cuadros formales
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Cuadros-Formales"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Cuadros ! Formales
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+En los libros, los cuadros se suelen presentar en un formato como el del
+ cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Ejemplo-cuadro-formal"
+
+\end_inset
+
+.
+ Se denominan cuadros
+\emph on
+formales
+\emph default
+.
+ Para hacer cuadros 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 diálogo de cuadros.
+\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-cuadro-formal"
+
+\end_inset
+
+Ejemplo de cuadro formal
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="8" columns="4">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+System
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\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 in µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+300
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+300
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+700
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Edge angle in °
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3.55
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2.71
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7.99
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Spatial resolution in µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4.26
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+10.17
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+10.56
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+MTF at
+\begin_inset Formula $f_{\mathrm{max}}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.53
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.37
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.39
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\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
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+in µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+129.7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+52.75
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+50.78
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+in % of pixel size
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+76.3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+95.9
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+92.3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Se puede añadir espacio adicional a las filas del cuadro 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
+
+del
+\begin_inset space ~
+\end_inset
+
+cuadro
+\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 los cuadros normales, los cuadros formales no tienen líneas
+ verticales.
+ Las líneas horizontales se pueden poner o no como en los cuadros 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 "cap: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 del cuadro,
+ 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
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+El cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Ejemplo-cuadro-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 enl cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-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 del cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-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 idx
+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:Cuadro-formal-especial"
+
+\end_inset
+
+Cuadro formal especial
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="8" columns="4">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+System
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\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 in µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+300
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+300
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+700
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Edge angle in °
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3.55
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2.71
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7.99
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Spatial resolution in µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4.26
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+10.17
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+10.56
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+MTF at
+\begin_inset Formula $f_{\mathrm{max}}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.53
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.37
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.39
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\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
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+in µm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+129.7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+52.75
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+50.78
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+in % of pixel size
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+76.3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+95.9
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+92.3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Alineación vertical de cuadros
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Cuadros ! Alineación vertical
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Para alinear cuadros verticalmente en una línea de texto, el cuadro debe
+ estar en un marco.
+ Después el marco 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-Marcos"
+
+\end_inset
+
+.
+
+\end_layout
+
+\begin_layout Standard
+En el ejemplo siguiente los cuadros están en un marco tipo 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
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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á el cuadro.
+ 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, el segundo marco del primer ítem está alineado
+ 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 marco.
+ Tras él, se pone la llave de cierre
+\series bold
+}
+\series default
+ también en código TeX.
+ Para el segundo marco 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 tipografía del documento, del tamaño
+ de letra y del grosor de línea del cuadro.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Cuadros coloreados
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Cuadros-Coloreados"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Celdas coloreadas
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Cuadros ! Color ! en celdas
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Color ! en celdas de cuadros
+\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:Cuadro-coloreado-sin"
+
+\end_inset
+
+Cuadro coloreado sin usar el paquete
+\series bold
+colortbl
+\series default
+
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+Cuadro sin colortbl
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color green
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color green
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+f
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color green
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+h
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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 enl cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-coloreado-sin"
+
+\end_inset
+
+.
+ En cualquier otro caso hay que usar el paquete LaTeX
+\series bold
+colortbl
+\series default
+.
+\begin_inset Index idx
+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 cuadros coloreados,
+\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
+Si añades las opciones
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+usenames,dvipsnames
+\end_layout
+
+\begin_layout Standard
+en las opciones de clase en la configuración del documento, es posible usar
+ hasta 61 colores más.
+ Estos colores se listan en el apéndice
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "chap:Lista-de-colores-dvips"
+
+\end_inset
+
+.
+ Uno de estos colores,
+\family sans
+Maroon
+\family default
+, se ha usado en el cuadro de ejemplo
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-coloreado-con"
+
+\end_inset
+
+.
+\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 enl cuadro 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 Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Nota:
+\series default
+ No todos los visores DVI pueden mostrar colores definidos por el usuario.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Para crear el cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-coloreado-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 celeste, por tanto inserta el comando en código
+ TeX
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rowcolor{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 castaño insertando el comando
+ en código TeX
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cellcolor{Maroon}
+\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:Cuadro-coloreado-con"
+
+\end_inset
+
+Cuadro coloreado con el paquete
+\series bold
+colortbl
+\series default
+
+\begin_inset Argument
+status collapsed
+
+\begin_layout Plain Layout
+Cuadro con
+\series bold
+colortbl
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special=">{\columncolor{verdeoscuro}\centering}c">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\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
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color red
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color yellow
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
e
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color blue
+f
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\color yellow
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+
+\color blue
h
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cellcolor{Maroon}
+\end_layout
+
+\end_inset
+
+
+\color green
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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
+
+\lang english
+Colored Rows
+\lang spanish
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Cuadros ! Color !
+\lang english
+for Rows
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Color !
+\lang english
+for Table Rows
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In case every second table row needs to be colored there is an alternative
+ to the method described in the previous section: One loads the package
+
+\series bold
+xcolor
+\series default
+\lang spanish
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-paquetes ! xcolor
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{4mm}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\lang english
+ in the document preamble with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[table]{xcolor}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+xcolor
+\series default
+ automatically loads also the package
+\series bold
+colortbl
+\series default
+\lang spanish
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-paquetes ! colortbl
+\end_layout
+
+\end_inset
+
+
+\lang english
+, so
+\series bold
+colortbl
+\series default
+ must be installed in your LaTeX-distribution, otherwise you get LaTeX-errors.
+\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
+
+\lang english
+The table rows are colored with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+rowcolors[commands]{row number}{odd row color}{even row color}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+that is either inserted in the document preamble or as TeX-Code before the
+ first table to be colored.
+ row
+\begin_inset space ~
+\end_inset
+
+number is the number of the first row which should be colored according
+ to the odd row color.
+ commands can be additional commands that are executed before every table
+ row.
+ So for example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rowcolors{1}{white}{lightgray}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+leads to the coloring scheme of Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-rowcolors"
+
+\end_inset
+
+.
+ The command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rowcolors[
+\backslash
+hline]{1}{lightgray}{cyan}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+leads to the coloring scheme of Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-rowcolors-2"
+
+\end_inset
+
+.
+ If odd
+\begin_inset space ~
+\end_inset
+
+row
+\begin_inset space ~
+\end_inset
+
+color and/or even
+\begin_inset space ~
+\end_inset
+
+row
+\begin_inset space ~
+\end_inset
+
+color are left empty, no color will be used so that the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rowcolors{1}{}{}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+deletes all colors.
+
+\series bold
+
+\backslash
+rowcolors
+\series default
+ affects all tables following that command.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors{1}{white}{lightgray}
+\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
+
+\lang english
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-rowcolors"
+
+\end_inset
+
+Table where every second row is colored light gray.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+X
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Y
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Z
+\end_layout
+
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-f
+2
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-i
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+5
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+8
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+9
\end_layout
\end_inset
\end_inset
- test
+
+\end_layout
+
+\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-raisebox{-0.32
+rowcolors[
\backslash
-baselineskip}{
+hline]{1}{lightgray}{cyan}
\end_layout
\end_inset
-\begin_inset Box Frameless
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\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
+
+\lang english
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-rowcolors-2"
+
+\end_inset
+
+Table where every second row is colored cyan and at which there is a line
+ between each row.
+\end_layout
+
+\end_inset
+
+
+\end_layout
\begin_layout Plain Layout
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="4" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+X
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+Y
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-g
+Z
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+2
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-h
+3
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+4
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-f
+5
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-i
+6
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\end_inset
+\begin_layout Plain Layout
+7
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+8
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+9
+\end_layout
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
-\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á el cuadro.
- Para conseguir esta alineación, el cuadro (minipágina) debe ponerse en
- un cuadro elevado («raisebox»
-\begin_inset Foot
+\begin_inset ERT
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 ~
+rowcolors{1}{}{}
+\end_layout
+
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Alineación-Vertical"
+\begin_inset Note Note
+status collapsed
-\end_inset
+\begin_layout Plain Layout
-.
+\lang english
+turns off the row coloring
\end_layout
\end_inset
-).
- En el ejemplo anterior, el segundo marco del primer ítem está alineado
- usando el comando en código TeX
+
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-raisebox{0.85
-\backslash
-baselineskip}{
+else
\end_layout
-\begin_layout Standard
-antes del marco.
- Tras él, se pone la llave de cierre
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
+
\series bold
-}
+colortbl
\series default
- también en código TeX.
- Para el segundo marco en el tercer ítem se usa el comando
+.
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-raisebox{-0.32
-\backslash
-baselineskip}{
\end_layout
\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+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
-\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 tipografía del documento, del tamaño
- de letra y del grosor de línea del cuadro.
+fi
\end_layout
\end_inset
\end_layout
-\begin_layout Section
-Cuadros coloreados
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Cuadros-Coloreados"
+\begin_layout Subsection
+Líneas coloreadas
+\begin_inset Index idx
+status collapsed
-\end_inset
+\begin_layout Plain Layout
+Cuadros ! Color ! en líneas
+\end_layout
+\end_inset
-\end_layout
-\begin_layout Subsection
-Celdas coloreadas
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Cuadros ! Color ! en celdas
+Color ! en bordes de cuadros
\end_layout
\end_inset
-\begin_inset Index idx
+\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 un cuadro puede ajustarse con el comando
+
+\series bold
+
+\backslash
+arrayrulewidth
+\series default
+.
+ Se ha puesto 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt para todos los cuadros de esta sección.
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Color ! en celdas de cuadros
+
+
+\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 el cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-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_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-coloreado-sin"
-
-\end_inset
-
-Cuadro coloreado sin usar el paquete
-\series bold
-colortbl
-\series default
-
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-Cuadro sin colortbl
-\end_layout
+name "tab:Cuadro-con-verticales-coloreadas"
\end_inset
-
+Cuadro con líneas verticales coloreadas
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color green
-a
+sd
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color red
-b
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color red
-c
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color green
-d
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-e
+sd
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color blue
-f
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color green
-g
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color blue
-h
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-i
+sd
\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 ~
+\begin_inset VSpace bigskip
\end_inset
-Texto
-\family default
-.
- Esto se ha hecho enl cuadro
+Para colorear líneas horizontales, por ejemplo en rojo, como en el cuadro
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Cuadro-coloreado-sin"
-
-\end_inset
-
-.
- En cualquier otro caso hay que usar el paquete LaTeX
-\series bold
-colortbl
-\series default
-.
-\begin_inset Index idx
-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 collapsed
-
-\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
+reference "tab:Cuadro-con-horizontales-coloreadas"
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-Para crear cuadros coloreados,
-\series bold
-colortbl
-\series default
- debe cargarse en el preámbulo con la línea
+, inserta estos comandos en código TeX antes del cuadro o del flotante:
\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
-
+let
\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
-
-\lang english
-If you add the options
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-usenames,dvipsnames
-\end_layout
-
-\begin_layout Standard
-
-\lang english
-to the document class options in the document settings, you can additionally
- use further 61
-\begin_inset space ~
-\end_inset
-
-colors.
- These colors are listed in appendix
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "chap:List-of-dvips-colornames"
-
+myHlineC
+\backslash
+hline
+\begin_inset Newline newline
\end_inset
-.
- One of these colors,
-\family sans
-Maroon
-\family default
-, is used as example in Table
-\lang spanish
-\begin_inset space ~
+\backslash
+renewcommand{
+\backslash
+hline}
+\begin_inset Newline newline
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Cuadro-coloreado-con"
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
\end_inset
-.
+
\end_layout
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
-
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
\end_layout
\begin_layout Standard
-Puedes definir tus propios colores con el comando
-\end_layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-definecolor{nombre del color}{modelo de color}{valores de color}
-\end_layout
-
-\begin_layout Standard
-El modelo de color puede ser
+let
+\backslash
+myHlineC
+\backslash
+hline
\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-cmyk: cyan, magenta, yellow, black
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-rgb: red, green, blue
-\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-gray: gray
+\backslash
+renewcommand{
+\backslash
+hline}
\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 Plain 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
+ {
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5}
-\end_layout
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
-\begin_layout Standard
-y el color «
-\emph on
-gris claro
-\emph default
-» con
-\end_layout
+\begin_layout Plain Layout
+\begin_inset Caption
-\begin_layout Standard
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Cuadro-con-horizontales-coloreadas"
-\series bold
+\end_inset
-\backslash
-definecolor{grisclaro}{gray}{0.8}
+Cuadro con líneas horizontales coloreadas
\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 Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
+sd
+\end_layout
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\backslash
-rowcolor{nombre del color}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-y las celdas se colorean con el comando
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\backslash
-cellcolor{nombre del color}
-\end_layout
+\begin_layout Plain 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 enl cuadro marca las celdas y usa el menú
-\family sans
-Editar\SpecialChar \menuseparator
-Estilo
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-del
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-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 Note Greyedout
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\series bold
-Nota:
-\series default
- No todos los visores DVI pueden mostrar colores definidos por el usuario.
+sd
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-Para crear el cuadro
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Cuadro-coloreado-con"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
- haz lo siguiente: el color de la primera columna debe ser
-\emph on
-verde oscuro
-\emph default
-, entonces inserta
+\begin_layout Plain Layout
+sd
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
-\series bold
->{
-\backslash
-columncolor{verdeoscuro}
-\backslash
-centering}c
-\end_layout
-\begin_layout Standard
-como argumento LaTeX para esta columna.
- La primera fila debe ser celeste, por tanto inserta el comando en código
- TeX
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-rowcolor{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 castaño insertando el comando
- en código TeX
+Para volver al color de línea negro predeterminado inserta este comando
+ en código TeX detrás del cuadro o el flotante:
\end_layout
\begin_layout Standard
\series bold
\backslash
-cellcolor{Maroon}
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
\end_layout
\begin_layout Standard
-Ahora podrían colorearse los caracteres usando el menú
-\family sans
-Editar\SpecialChar \menuseparator
-Estilo
+El cuadro
\begin_inset space ~
\end_inset
-del
-\begin_inset space ~
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-con-líneas-coloreadas"
+
\end_inset
-Texto
-\family default
-.
+ es un ejemplo con líneas verticales y horizontales coloreadas.
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-coloreado-con"
-
-\end_inset
-
-Cuadro coloreado con el paquete
-\series bold
-colortbl
-\series default
-
-\begin_inset Argument
-status collapsed
-
-\begin_layout Plain Layout
-Cuadro con
-\series bold
-colortbl
-\end_layout
+name "tab:Cuadro-con-líneas-coloreadas"
\end_inset
-
+Cuadro con líneas coloreadas
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special=">{\columncolor{verdeoscuro}\centering}c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\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
+sd
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color red
-b
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color red
-c
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color yellow
-d
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-e
+sd
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color blue
-f
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color yellow
-g
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color blue
-h
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-cellcolor{Maroon}
-\end_layout
-
-\end_inset
-
-
-\color green
-i
+sd
\end_layout
\end_inset
\backslash
-else
-\end_layout
-
-\end_inset
-
-
-\begin_inset Note Note
-status collapsed
-
-\begin_layout Plain Layout
-Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
-
-\series bold
-colortbl
-\series default
-.
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
\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
\backslash
-fi
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Líneas coloreadas
+\begin_layout Section
+
+\lang english
+Rotated Table Cells
+\lang spanish
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Rotated-Table-Cells"
+
+\end_inset
+
+
\begin_inset Index idx
-status collapsed
+status open
\begin_layout Plain Layout
-Cuadros ! Color ! en líneas
+Cuadros !
+\lang english
+Rotated Cells
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-Color ! en bordes de cuadros
+Material rotado
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Como se describe en la sección
-\begin_inset space ~
-\end_inset
+\lang english
+\begin_inset Note Greyedout
+status open
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Grosor-de-Líneas"
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ Not all DVI-viewers are able to display rotations.
+\end_layout
\end_inset
-, el grosor para todas las líneas en un cuadro puede ajustarse con el comando
-
-\series bold
-\backslash
-arrayrulewidth
-\series default
-.
- Se ha puesto 1.5
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Currently LyX only offers to rotate table cells by 90
\begin_inset space \thinspace{}
\end_inset
-pt para todos los cuadros de esta sección.
-\begin_inset ERT
-status collapsed
+° counter-clockwise.
+ To rotate cells by an angle of your choice, you have to add this to the
+ document preamble:
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+\series bold
\backslash
-setlength{
+@ifundefined{turnbox}{
\backslash
-arrayrulewidth}{1.5pt}
+usepackage{rotating}}{}
\end_layout
-\end_inset
-
+\begin_layout Standard
+\lang english
+In the table cell that should be rotated, add at the beginning this command
+ as TeX-code:
\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
+\series bold
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Formato-Personalizado"
+\backslash
+begin{turn}{ángulo}
+\end_layout
-\end_inset
+\begin_layout Standard
-:
+\lang english
+where ángulo is the rotation angle in °.
+ At the end of the cell the command
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcolumntype{W}{!{
-\backslash
-color{green}
-\backslash
-vline}}
+end{turn}
\end_layout
\begin_layout Standard
-Para el cuadro
+
+\lang english
+is inserted as TeX-code.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Cuadro-con-verticales-coloreadas"
+reference "tab:Table-with-rotated-multi"
\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
+ is an example where 3
+\begin_inset space ~
+\end_inset
-\begin_layout Standard
-Si quieres tener varios colores, define más formatos de columna.
+cells were rotated by 45
+\begin_inset space \thinspace{}
+\end_inset
+
+°.
\end_layout
\begin_layout Standard
+
+\lang english
\begin_inset Float table
-placement h
wide false
sideways false
status open
\begin_layout Plain Layout
+
+\lang english
\begin_inset Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-con-verticales-coloreadas"
+name "tab:Table-with-rotated"
\end_inset
-Cuadro con líneas verticales coloreadas
+Table with rotated cells in the first row.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
+\noindent
\align center
+
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{turn}{45}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+cups
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+end{turn}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{turn}{45}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+plates
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+end{turn}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{turn}{45}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+saucers
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+end{turn}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+45
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\lang english
+33
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+21
\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 el cuadro
-\begin_inset space ~
-\end_inset
+\lang english
+\begin_inset Note Greyedout
+status open
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Cuadro-con-horizontales-coloreadas"
+\begin_layout Plain Layout
+\series bold
+\lang english
+Note:
+\series default
+ Line breaks (shortcut
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
\end_inset
-, inserta estos comandos en código TeX antes del cuadro o del flotante:
+) are not allowed in rotated cells.
\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
+\end_layout
+\begin_layout Standard
-\begin_inset Phantom HPhantom
-status open
+\lang english
+If you want to rotate table cells containing line breaks, you have to put
+ the cell content into a minipage or a parbox.
+\begin_inset Foot
+status collapsed
\begin_layout Plain Layout
-\series bold
+\lang english
+For more about these boxes
+\lang spanish
+ véase sección
\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipáginas"
\end_inset
-{
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+ y
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Marcos-de-Párrafo"
+\end_inset
-\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
+.
\end_layout
-\begin_layout Plain Layout
+\end_inset
+ If you rotate this cell by 90
+\begin_inset space \thinspace{}
+\end_inset
-\backslash
-renewcommand{
-\backslash
-hline}
-\end_layout
+° the width of the box is the height of the cell.
+ Table
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
- {
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated-multi"
+
+\end_inset
+ is an example for a rotated multiline cell where the box width was set
+ to 3
+\begin_inset space \thinspace{}
\end_inset
+cm.
+\end_layout
+
+\begin_layout Standard
+\lang english
\begin_inset Float table
-placement h
wide false
sideways false
status open
\begin_layout Plain Layout
+
+\lang english
\begin_inset Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-con-horizontales-coloreadas"
+name "tab:Table-with-rotated-multi"
\end_inset
-Cuadro con líneas horizontales coloreadas
+Table with rotated multiline cell.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
+\noindent
\align center
+
+\lang english
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+a
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rotate="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\lang english
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "3cm"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
\begin_layout Plain Layout
-\end_layout
-
+\lang english
+rotated cell
+\begin_inset Newline newline
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
+with line break
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+
\end_layout
\end_inset
\begin_layout Plain Layout
+\lang english
+e
\end_layout
\end_inset
\begin_layout Plain Layout
+\lang english
+b
\end_layout
\end_inset
\begin_layout Plain Layout
+\lang english
+c
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sd
+
+\lang english
+d
\end_layout
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Section
+Cálculo de la anchura de cuadros
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Cálculo-anchura-cuadros"
+
+\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 del cuadro o el flotante:
+A veces es difícil garantizar que los cuadros extensos no sobrepasen los
+ márgenes de la página.
+ La solución es establecer una anchura fija para cada columna del cuadro,
+ pero ¿qué espacio necesita cada columna?
\end_layout
\begin_layout Standard
+La anchura del cuadro
+\begin_inset Formula $W_{\mathrm{cuadro}}$
+\end_inset
+
+ se puede calcular: cada columna tiene la anchura de la columna especificada
+
+\begin_inset Formula $W_{\mathrm{columna}}$
+\end_inset
+
+ (contenido de la columna), más dos veces la separación entre el contenido
+ y el borde (longitud LaTeX
+\series bold
+
+\backslash
+tabcolsep
+\series default
+, predeterminada 6
+\begin_inset space \thinspace{}
+\end_inset
+pt), más la anchura del borde (longitud LaTeX
\series bold
\backslash
-renewcommand{
+arrayrulewidth
+\series default
+, predeterminada 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt): así, si las
+\begin_inset Formula $n$
+\end_inset
+
+ columnas tienen la misma anchura, la anchura del cuadro es
+\end_layout
+
+\begin_layout Standard
+\begin_inset Formula
+\begin{equation}
+W_{\mathrm{cuadro}}=n\left(W_{\mathrm{columna}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
+\end{equation}
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+La anchura disponible para un cuadro es el espacio entre los márgenes de
+ página o la anchura de la columna de texto (en documentos a dos columnas;
+ longitud LaTeX
+\series bold
+
\backslash
-hline}{
+columnwidth
+\series default
+).
+ Si todas las columnas del cuadro han de tener la misma anchura y
+\begin_inset Formula $W_{\mathrm{cuadro}}$
+\end_inset
+
+ debe ser 1
+\begin_inset space \thinspace{}
+\end_inset
+
+
\backslash
-myHlineC}
+columnwidth,
+\begin_inset Formula $W_{\mathrm{columna}}$
+\end_inset
+
+ puede calcularse fácilmente.
\end_layout
\begin_layout Standard
-El cuadro
+Para realizar cálculos hay que cargar el paquete LaTeX
+\series bold
+calc
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-paquetes ! calc
+\end_layout
+
+\end_inset
+
+ en el preámbulo del documento.
+ Para establecer la anchura en la ventana de configuración de cuadros hay
+ que usar el campo
+\family sans
+Argumento
+\begin_inset space ~
+\end_inset
+
+LaTeX
+\family default
+.
+ El esquema del comando es el mismo que se explica en la sección
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Cuadro-con-líneas-coloreadas"
+reference "sub:Cálculos-en-Multicolumnas"
\end_inset
- es un ejemplo con líneas verticales y horizontales coloreadas.
+.
+ Para un cuadro con 5
+\begin_inset space \thinspace{}
+\end_inset
+
+columnas de anchura uniforme y texto centrado, escribe el comando
\end_layout
\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-\begin_layout Plain Layout
-\begin_inset Caption
+\series bold
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/5}
+\end_layout
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Cuadro-con-líneas-coloreadas"
+\begin_layout Standard
+Para un cuadro con 5
+\begin_inset space \thinspace{}
+\end_inset
+columnas en el que dos de ellas tengan 0.75
+\begin_inset space ~
\end_inset
-Cuadro con líneas coloreadas
-\end_layout
+veces la anchura de las otras, el cálculo es
+\begin_inset Formula
+\begin{align}
+\backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
+ & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
+ & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
+W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
+\end{align}
\end_inset
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+En el cuadro, por tanto, el comando
+\end_layout
-\begin_layout Plain Layout
-sd
+\begin_layout Standard
+
+\series bold
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}}
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_layout Standard
+se usa para las columnas más anchas y
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}*
+\backslash
+real{0.75}}
+\end_layout
+
+\begin_layout Standard
+para las más estrechas:
+\end_layout
+
+\begin_layout Standard
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+2
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+3
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+4
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+5
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+111111 1111111 111111 111111111 11111 11111 1111
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+2222 22222 222222 222222222 2222222 22 22222
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
-
-\end_inset
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
+333333 333333 333333 33333 3333333 333
\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
+</cell>
+</row>
+</lyxtabular>
\end_inset
.
Esta alineación se obtiene poniendo el cursor en la columna y pulsando
el botón
-\begin_inset Graphics
- filename ../../images/tabular-feature_align-decimal.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "inset-modify tabular align-decimal"
\end_inset
de la barra de herramientas o eligiendo la alineación
\end_layout
\begin_layout Standard
-El cálculo de la anchura necesaria para columnas extendidas descrito en
- la sección
+El cálculo de la anchura necesaria para columnas estándar descrito en la
+ sección
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Cálculo-anchura-cuadros"
+
+\end_inset
+
+ y para columnas extendidas descrito en la sección
\begin_inset space ~
\end_inset
\end_inset
- es muy pesado si tienes varios cuadros con multicolumnas.
+ es muy pesado si tienes varios cuadros.
Para hacerlo más fácil, puedes definir en el preámbulo un formato de celda/colu
mna aplicable a todos los cuadros del documento.
El formato se define con el comando
\begin_inset Index idx
-status open
+status collapsed
\begin_layout Plain Layout
Cuadros ! Personalización ! Grosor de línea
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-con-horizontales"
-
-\end_inset
+name "tab:Cuadro-con-horizontales"
+
+\end_inset
+
+Cuadro 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
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\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 el cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-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:Cuadro-con-verticales"
+
+\end_inset
+
+Cuadro 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
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0" special="Vc">
+<column alignment="center" valignment="top" width="0" special="Vc">
+<column alignment="center" valignment="top" width="0" special="VcV">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Líneas de trazos
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Cuadros ! Personalización ! 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:Cuadro-con-trazos"
-Cuadro con líneas horizontales de 1.5
-\begin_inset space \thinspace{}
\end_inset
-pt
+Cuadro con líneas de trazos
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="5" columns="5">
<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0" special=":c">
+<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+a
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+c
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+e
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+h
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sd
+i
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+j
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\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
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+l
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+m
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+n
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+o
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\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
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+q
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
+\begin_inset Text
+\begin_layout Plain Layout
+r
\end_layout
\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+s
+\end_layout
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+\end_layout
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHline}
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+t
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+u
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+v
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+w
+\end_layout
-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
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+x
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Formato-Personalizado"
+\end_inset
+</cell>
+</row>
+</lyxtabular>
\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.
+ Antes hay que cargar en el preámbulo del documento el paquete LaTeX
+\series bold
+arydshln
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-paquetes ! arydshln
+\end_layout
+
+\end_inset
+
+ con el comando
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcolumntype{V}{!{
-\backslash
-vrule width 1.5pt}}
+usepackage{arydshln}
\end_layout
\begin_layout Standard
-Para el cuadro
-\begin_inset space ~
-\end_inset
+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 celdas de cuadros.
+\end_layout
+\begin_layout Standard
+Para una línea de trazos horizontal añade el comando
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Cuadro-con-verticales"
+\begin_layout Standard
-\end_inset
+\series bold
- se usó el argumento LaTeX
+\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
-VcV
+
+\backslash
+cdashline{número de líneas}
\end_layout
\begin_layout Standard
-para la última columna y
+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
-Vc
+
+\backslash
+cdashline{2-4}
\end_layout
\begin_layout Standard
-para las otras.
+como primer elemento de la primera celda en la fila de la multicolumna.
\end_layout
\begin_layout Standard
-\begin_inset Float table
-wide false
-sideways false
-status open
+\begin_inset VSpace bigskip
+\end_inset
-\begin_layout Plain Layout
-\begin_inset Caption
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Cuadro-con-verticales"
+\end_layout
+\begin_layout Standard
+El cuadro
+\begin_inset space ~
\end_inset
-Cuadro con líneas verticales de 1.5
-\begin_inset space \thinspace{}
-\end_inset
-pt de grosor
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-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
-\end_layout
+\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
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="VcV">
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+\series bold
+
+\backslash
+cdashline{4-5}
+\series default
+ en la primera celda de la cuarta fila.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
+\begin_layout Standard
+Los cuadros con líneas a trazos también se pueden colorear, como se ve en
+ el cuadro
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-trazos-color"
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1pt}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Note Note
+status collapsed
\begin_layout Plain Layout
-sd
+líneas más gruesas para ver mejor los colores
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+
+\backslash
+dashgapcolor{green}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+huecos de color entre trazos verdes
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-sd
+
\end_layout
-\end_inset
-</cell>
-</row>
-</lyxtabular>
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
+\backslash
+let
+\backslash
+myHdashline
+\backslash
+hdashline
\end_layout
-\end_inset
+\begin_layout Plain Layout
+\backslash
+renewcommand{
+\backslash
+hdashline}
\end_layout
-\begin_layout Subsection
-Líneas de trazos
-\begin_inset Index idx
-status open
+\begin_layout Plain Layout
+
+ {
+\backslash
+arrayrulecolor{red}
+\backslash
+myHdashline
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
\begin_layout Plain Layout
-Cuadros ! Personalización ! Líneas de trazos
+color horizontal, líneas a trazos rojos
\end_layout
\end_inset
\backslash
-ifarydshln
+let
+\backslash
+myCdashline
+\backslash
+cdashline
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+cdashline}[1]
+\end_layout
+
+\begin_layout Plain Layout
+
+ {
+\backslash
+arrayrulecolor{yellow}
+\backslash
+myCdashline{#1}
+\backslash
+arrayrulecolor{black}}
\end_layout
\end_inset
status collapsed
\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
-.
+color parcial horizontal, líneas a trazos amarillos
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float table
-placement H
+placement h
wide false
sideways false
status open
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-con-trazos"
+name "tab:Cuadro-trazos-color"
\end_inset
-Cuadro con líneas de trazos
+Cuadro coloreado con líneas a trazos
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0" special=":c">
+<column alignment="center" valignment="top" width="0pt" special=">{\columncolor{verdeoscuro}\centering}c">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt" special=":c">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolor{Gray}
+\end_layout
+
+\end_inset
+
k
\end_layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset Text
\begin_layout Plain Layout
-x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cellcolor{Maroon}
+\end_layout
+
+\end_inset
+
+i
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-En principio LyX no soporta líneas de trazos, hay que usar código TeX.
- Antes hay que cargar en el preámbulo del documento el paquete LaTeX
-\series bold
-arydshln
-\series default
+\begin_inset ERT
+status collapsed
-\begin_inset Index idx
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hdashline}{
+\backslash
+myHdashline}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! arydshln
+volver a predeterminado
\end_layout
\end_inset
- con el comando
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+cdashline}{
+\backslash
+myCdashline}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+volver a predeterminado
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+nodashgapcolor
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+volver a predeterminado
+\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
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+volver a predeterminado
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+La coloración de líneas y columnas funciona como se describe en la sección
+\lang english
+
+\begin_inset space ~
+\end_inset
+
+
+\lang spanish
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Cuadros-Coloreados"
+
+\end_inset
+
+La coloración de líneas horizontales también funciona como se describe ahí,
+ solo hay que reemplazar en los comandos
\series bold
\backslash
-usepackage{arydshln}
+myHlineC
+\series default
+ por
+\series bold
+
+\backslash
+myHdashline
+\series default
+ y
+\backslash
+
+\series bold
+hline
+\series default
+ por
+\series bold
+
+\backslash
+hdashline
+\series default
+; así, los comandos usados son
\end_layout
\begin_layout Standard
-Para hacer una línea vertical a trazos, introduce dos puntos «
+
\series bold
-:
+
+\backslash
+let
+\backslash
+myHdashline
+\backslash
+hdashline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+hdashline}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHdashline
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\begin_layout Standard
+Para colorear
+\series bold
+
+\backslash
+cdashline
\series default
-» junto con el carácter para alineación horizontal como argumento LaTeX
- en el diálogo de celdas de cuadros.
+, el comando es
\end_layout
\begin_layout Standard
-Para una línea de trazos horizontal añade el comando
+
+\series bold
+
+\backslash
+let
+\backslash
+myCdashline
+\backslash
+cdashline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+cdashline}[1]
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myCdashline{#1}
+\backslash
+arrayrulecolor{black}}
\end_layout
\begin_layout Standard
+Para recuperar el color negro de las líneas, hay que insertar detrás del
+ cuadro los comandos siguientes en código TeX:
+\end_layout
+\begin_layout Standard
+Para
\series bold
\backslash
\end_layout
\begin_layout Standard
-en código TeX como primer elemento de la primera celda en la fila.
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+hdashline}{
+\backslash
+myHdashline}
\end_layout
\begin_layout Standard
-Para líneas de trazos en multicolumna usa el comando
+y para
+\series bold
+
+\backslash
+cdashline
\end_layout
\begin_layout Standard
\series bold
\backslash
-cdashline{número de líneas}
+renewcommand{
+\backslash
+cdashline}{
+\backslash
+myCdashline}
\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
+Para colorear los huecos entre los trazos, se puede usar
\end_layout
\begin_layout Standard
\series bold
\backslash
-cdashline{2-4}
+dashgapcolor{color}
\end_layout
\begin_layout Standard
-como primer elemento de la primera celda en la fila de la multicolumna.
+delante del cuadro, en código TeX.
+ color es el nombre de un color definido.
+ El comando
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\series bold
+
+\backslash
+nodashgapcolor
+\end_layout
+
+\begin_layout Standard
+deshace los cambios hechos por
+\series bold
+\backslash
+dashgapcolor
+\series default
+.
\end_layout
\begin_layout Standard
-El cuadro
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\color none
+Nota
+\series default
+: Si hay múltiples comandos en una celda, el comando de
+\series bold
+arydshln
+\series default
+ debe ser el primero.
+ Por eso, en la celda
+\emph on
+k
+\emph default
+ del cuadro
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Cuadro-con-trazos"
+reference "tab:Cuadro-trazos-color"
\end_inset
- se ha hecho usando «
-\series bold
-:c
-\series default
-» como argumento LaTeX de la tercera columna.
- El comando en código TeX
+ el comando
\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
-
-
+ está delante de
\series bold
\backslash
-cdashline{4-5}
+rowcolor
\series default
- en la primera celda de la cuarta fila.
+.
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
+
+\lang english
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
\series bold
+\color none
Nota:
\series default
- Aparentemente el paquete LaTeX
+ El paquete LaTeX
\series bold
arydshln
\series default
- no es compatible con el paquete LaTeX
+ se debe cargar en el preámbulo del documento antes del paquete LaTeX
\series bold
colortbl
\series default
+\color inherit
\begin_inset Index idx
status collapsed
LaTeX-paquetes ! colortbl
\end_layout
-\end_inset
-
- que se usa para cuadros coloreados en la sección
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Cuadros-Coloreados"
-
-\end_inset
-
+\color none
.
- Esto implica que los cuadros coloreados no pueden tener líneas de trazos.
\end_layout
\end_inset
\begin_inset Note Note
-status collapsed
+status open
\begin_layout Plain Layout
Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
\end_layout
+\begin_layout Standard
+Para más información sobre líneas a trazos, véase la documentación de
+\series bold
+arydshln
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "arydshln"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Chapter
Flotantes
\begin_inset CommandInset label
Insertar\SpecialChar \menuseparator
Flotante
\family default
-.
+ (botón
+\begin_inset Info
+type "icon"
+arg "float-insert figure"
+\end_inset
+
+ o
+\begin_inset Info
+type "icon"
+arg "float-insert table"
+\end_inset
+
+).
Esto inserta una
\family sans
Leyenda,
Etiqueta
\family default
o el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "label-insert"
\end_inset
-
-\family default
.
Aparece una ventana esperando la introducción del texto de la etiqueta
y se inserta un cuadro gris como este:
cruzada
\family default
o el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "dialog-show-new-inset ref"
\end_inset
-
-\family default
.
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
Volver
\family default
, con el que se puede retornar a la referencia.
- Un 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
\backslash
addto
\backslash
-extrasenglish{
+extrasspanish{
\backslash
renewcommand{
\backslash
\end_layout
\begin_layout Standard
-Si estás usando un idioma de documento distinto del inglés, reemplaza
+Si estás usando un idioma de documento distinto del español, reemplaza
\begin_inset Newline newline
\end_inset
\series bold
\backslash
-extrasenglish
+extrasspanish
\series default
por
\series bold
\series bold
-\backslash
-newlength{
-\backslash
-abc}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-settowidth{
-\backslash
-abc}{
-\backslash
-space}
-\begin_inset Newline newline
-\end_inset
-
-
\backslash
addto
\backslash
-extrasenglish{
-\backslash
-renewcommand{
-\backslash
-equationautorefname}
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-{
+extrasspanish{
\backslash
-hspace{-
+renewcommand*{
\backslash
-abc}}
+equationautorefname}[1]{}}
\end_layout
\begin_layout Standard
\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.
+Al pulsar con el botón derecho del ratón sobre un cuadro de flotante y elegir
+
+\family sans
+Configuración
+\family default
+, se abre un diálogo en el que pueden cambiarse las opciones de LaTeX para
+ situar los flotantes.
\begin_inset Newline newline
\end_inset
\begin_layout Standard
Las notas se insertan con el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "note-insert"
\end_inset
-
-\family default
o con el menú
\family sans
Insertar\SpecialChar \menuseparator
\end_inset
Si usas el botón de la barra de herramientas
-\family sans
-
\begin_inset Info
type "icon"
arg "note-insert"
\end_inset
-
-\family default
para insertar notas, se inserta una
\family sans
Nota
LyX
\family default
.
- Puedes cambiar entre los cinco tipos de nota con clic derecho sobre el
- recuadro.
+ Puedes cambiar entre los tres tipos de nota con clic derecho sobre el recuadro.
\family roman
\series medium
\begin_layout Standard
Las notas al pie se insertan con el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "footnote-insert"
\end_inset
-
-\family default
o el menú
\family sans
Insertar\SpecialChar \menuseparator
margen
\family default
o con el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "marginalnote-insert"
\end_inset
-
-\family default
.
Aparece un cuadro gris con la etiqueta
\family roman
Marco
\family default
o con el botón
-\family sans
-
\begin_inset Info
type "icon"
arg "box-insert Frameless"
\end_inset
-
-\family default
.
Surge un recuadro gris con la etiqueta
\family sans
\begin_layout Plain Layout
-\lang german
+\lang ngerman
Dies ist ein deutscher Text.
Dies ist ein deutscher Text.
Dies ist ein deutscher Text.
\begin_layout Plain Layout
-\lang german
+\lang ngerman
Dies ist eine deutsche Fußnote.
\end_layout
\end_inset
This is an English Text.
-
\end_layout
\end_inset
\begin_layout Plain Layout
\series bold
-Nota:
+Nota:
\series default
-Algunos visores DVI no pueden mostrar material girado o a escala.
+ no todos los visores DVI pueden mostrar rotaciones o escalas.
\end_layout
\end_inset
\end_inset
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Figuras ! Rotar
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Cuadros ! Girar
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
special "width"
height "1in"
height_special "totalheight"
-status open
+status collapsed
\begin_layout Plain Layout
con rotación
\end_inset
-\end_layout
-
-\begin_layout Subsection
-Marcos para variar la escala
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Marcos ! para variar la escala
+Figuras ! Rotar
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-Material a escala
+Cuadros ! Girar
\end_layout
\end_inset
+\end_layout
+
+\begin_layout Subsection
+Marcos para variar la escala
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Figuras ! a escala
+Marcos ! para variar la escala
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-Cuadros ! a escala
+Material a escala
\end_layout
\end_inset
\end_inset
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Figuras ! a escala
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Cuadros ! a escala
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\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
Opciones de LaTeX y LyX
\family default
.
-
-\lang english
-The argument of this option is a comma separated list, containing page numbers
- (insert as option
+ El argumento de esta opción es una lista separada con comas que contiene
+ números de páginas (opción
\series bold
pages={3,5,6,8}
\series default
-), ranges of page numbers (
+), rangos de números de páginas (
\series bold
pages={4-9}
\series default
-) or any combination.
- To insert empty pages use {}.
- E.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
+) o cualquier combinación.
+ Para insertar páginas vacías usa {}.
+ Por ej.,
\begin_inset space ~
\end_inset
\series bold
pages={3,{},8-11,15}
\series default
- will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
- Page ranges are specified in the syntax
+ insertará la página 3, una página vacía y las páginas 8, 9, 10, 11 y 15.
+ Los rangos de páginas se especifican según el esquema
\emph on
-start
+inicial
\emph default
-
\emph on
-stop
+final.
+
\emph default
-.
- This selects all pages from
+ Así se seleccionan todas las páginas desde
\emph on
-start
+inicial
\emph default
- to
+ a
\emph on
-stop
+final
\emph default
.
- Omitting
+ Si se omite
\emph on
-start
+inicial
\emph default
- defaults to the first page; omitting
+ comienza en la primera página; si se omite
\emph on
-stop
+final
\emph default
- defaults to the last page of the document.
- The last page can also be selected with the keyword
+ termina en la última.
+ La última página también se puede seleccionar con la clave
\series bold
last
\series default
.
- (This is only permitted in a page range.) So
+ (Solo está permitido en rangos de páginas).
+ Así,
\series bold
pages=-
\series default
- will insert all pages of the document and
+ insertará todas las páginas del documento y
\series bold
pages=last-1
\series default
- will insert all pages in reverse order.
-
-\lang spanish
+ insertará todas las páginas en orden inverso.
Si no se usa la opción pages, sólo se inserta la primera página del PDF.
\begin_inset Newline newline
\end_inset
-
-\lang english
-The option
+La opción
\series bold
noautoscale
\series default
- inserts the pages with their original size, if this option is not given,
- the pages will be resized to fith the width of the page of your document.
- In the tab
+ inserta las páginas a tamaño original; si esta opción no se especifica,
+ el tamaño de las páginas se adaptará a la anchura de página del documento.
+ En la pestaña
\family sans
-Size and Rotation
+Tamaño y rotación
\family default
- you can specify the width and height of the input pages and their rotation.
- If another width than 100
+ se puede especificar la anchura, la altura y la rotación de las páginas
+ introducidas.
+ Si se usa una anchura distinta de 100
\begin_inset space \thinspace{}
\end_inset
-Scale% is used, the option
+% Escala, la opción
\series bold
noautoscale
\series default
- will be overwritten.
- For more info and possible options, have a look into the documentation
- of the LaTeX-package
+ será ignorada.
+ Para más información y otras opciones posibles, consulta la documentación
+ del paquete LaTeX
\series bold
pdfpages
\series default
-\lang spanish
\begin_inset CommandInset citation
LatexCommand cite
\begin_inset Newline newline
\end_inset
-
-\lang english
-To use this template in a
+Para usar esta plantilla en una presentación
\family sans
Beamer
\family default
- presentation you need to first insert an
+, hay que insertar primero un entorno
\family sans
-EndFrame
+Fin de fotograma
\family default
- environment and in a subsequent paragraph a TeX Code box containing the
- command
+ y, en un párrafo siguiente, un recuadro de código TeX con el comando
\series bold
\backslash
setbeamertemplate{background canvas}{}
\series default
.
- Then you can insert as many paragraphs containing the PDFPages template
- as you wish.
- Behind the included PDF pages you can resume the Beamer presentation by
- beginning a new frame or by starting a new section.
- To avoid stray blank pages prior to the PDF pages, make sure to use the
-
+ Después puedes insertar tantos párrafos que contengan plantillas PDFPages
+ como quieras.
+ Después de las páginas PDF incluidas puedes reanudar la presentación Beamer
+ comenzando una nueva diapositiva o una nueva sección.
+ Para evitar páginas en blanco delante de las páginas PDF, asegúrate de
+ usar alineación
\family sans
-Default
+Predeterminada
\family default
- alignment for the paragraph containing the template.
+ para el párrafo que contiene la plantilla.
\begin_inset Newline newline
\end_inset
-Here is an included PDF which is rotated by -5°:
-\lang spanish
-
+Un PDF incluido girado -5°:
\begin_inset External
template PDFPages
filename ../clipart/Abstract.pdf
\end_inset
.
- La diferencia
-\lang english
-to the normal image input
-\lang spanish
- es que sólo se permiten imágenes bitmap, por tanto las imágenes PDF y EPS
- no están soportadas.
-
-\lang english
-Here is an inserted raster image:
-\lang spanish
-
+ La diferencia con la inserción normal es que sólo se permiten imágenes
+ bitmap, por tanto las imágenes PDF y EPS no están soportadas.
+ Aquí se ha insertado una imagen
+\emph on
+raster
+\emph default
+:
\begin_inset External
template RasterImage
filename ../clipart/ToolbarEnvBox.png
Anexar Puedes incluir documentos LyX y documentos LaTeX.
Al pulsar el botón
\family sans
-Aceptar
+Editar
\family default
en el diálogo
\family sans
Se puede ver la salida en PostScript con el menú
\family sans
Ver\SpecialChar \menuseparator
-Postscript
+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
\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
-).
+o con un botón.
\end_layout
\begin_layout Chapter
-
-\lang english
-List of dvips color names
+Lista de colores dvips
\begin_inset CommandInset label
LatexCommand label
-name "chap:List-of-dvips-colornames"
+name "chap:Lista-de-colores-dvips"
\end_inset
\end_inset
-
-\lang english
Color
-\lang spanish
-
\begin_inset ERT
status collapsed
\end_inset
-
-\lang english
-Color name
+ Nombre
\end_layout
\end_inset
\end_inset
-
-\lang english
Color
-\lang spanish
-
\begin_inset ERT
status collapsed
\end_inset
-
-\lang english
-Color name
+ Nombre
\end_layout
\end_inset
\end_inset
-
-\lang english
Color
-\lang spanish
-
\begin_inset ERT
status collapsed
\end_inset
-
-\lang english
-Color name
+ Nombre
\end_layout
\end_inset
\end_inset
-
-\lang english
Color
-\lang spanish
-
\begin_inset ERT
status collapsed
\end_inset
-
-\lang english
-Color name
+ Nombre
\end_layout
\end_inset
Addison-Wesley, second edition, 1994
\end_layout
+\begin_layout Bibliography
+\labelwidthstring Bibliografía
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "arydshln"
+
+\end_inset
+
+Documentación del paquete LaTeX
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "arydshln"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-paquetes ! arydshln
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Bibliography
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
\end_inset
+\end_layout
+
+\begin_layout Bibliography
+\labelwidthstring Bibliografía
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "diagbox"
+
+\end_inset
+
+Documentación del paquete LaTeX
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "diagbox"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-paquetes ! diagbox
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Bibliography
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "listings"
+key "lettrine"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "listings"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
+name "lettrine"
+target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
\end_inset
\series default
+ y un
+\begin_inset CommandInset href
+LatexCommand href
+name "ejemplo"
+target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
+
+\end_inset
+
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! listings
+LaTeX-paquetes ! lettrine
\end_layout
\end_inset
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "marginnote"
+key "listings"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "marginnote"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
+name "listings"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! marginnote
+LaTeX-paquetes ! listings
\end_layout
\end_inset
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "lettrine"
+key "marginnote"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "lettrine"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+name "marginnote"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
\end_inset
\series default
- y un
-\begin_inset CommandInset href
-LatexCommand href
-name "ejemplo"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
-
-\end_inset
-
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! lettrine
+LaTeX-paquetes ! marginnote
\end_layout
\end_inset
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "pstricks"
+key "pdfpages"
\end_inset
-Página web del paquete LaTeX
+Documentación del paquete LaTeX
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "PSTricks"
-target "http://tug.org/PSTricks/"
+name "pdfpages"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! PSTricks
+LaTeX-paquetes ! pdfpages
\end_layout
\end_inset
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "sidecap"
+key "prettyref"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "sidecap"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
+name "prettyref"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! sidecap
+LaTeX-paquetes ! prettyref
\end_layout
\end_inset
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "pdfpages"
+key "pstricks"
\end_inset
-Documentación del paquete LaTeX
+Página web del paquete LaTeX
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "pdfpages"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+name "PSTricks"
+target "http://tug.org/PSTricks/"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! pdfpages
+LaTeX-paquetes ! PSTricks
\end_layout
\end_inset
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "prettyref"
+key "refstyle"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "prettyref"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+name "refstyle"
+target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! prettyref
+LaTeX-paquetes ! refstyle
\end_layout
\end_inset
\labelwidthstring Bibliografía
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "refstyle"
+key "sidecap"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "refstyle"
-target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
+name "sidecap"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-paquetes ! refstyle
+LaTeX-paquetes ! sidecap
\end_layout
\end_inset