\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}}{}
% 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
\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 botón
-\family sans
-
\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
\end_layout
\begin_layout Subsection
-
-\lang english
-Cells with diagonal line(s)
+Celdas con línea(s) diagonal(es)
\end_layout
\begin_layout Standard
-
-\lang english
-To tell the reader what is meant by column and row headings in a table,
- it is helpful to split the first cell of the table by one or two diagonal
- lines.
- This can be achieved by loading the LaTeX-package
+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
-\lang spanish
\begin_inset Index idx
status collapsed
\end_inset
-
-\lang english
- in the document preamble.
- The package provides the command
+ en el preámbulo del documento.
+ El paquete suministra el comando
\series bold
\backslash
diagbox
\series default
- that is inserted as TeX-Code and that can take 2 or 3
-\begin_inset space ~
-\end_inset
-
-arguments:
+, que se inserta en código TeX con dos o tres argumentos:
\end_layout
\begin_layout Standard
\series bold
-\lang english
\backslash
-diagbox[options]{lower left}{upper right}
+diagbox[options]{izquierda abajo}{derecha arriba}
\end_layout
\begin_layout Standard
\series bold
-\lang english
\backslash
-diagbox[options]{lower left}{upper left}{upper right}
+diagbox[options]{izquierda abajo}{izquierda arriba}{derecha arriba}
\end_layout
\begin_layout Standard
-
-\lang english
-The first scheme divides the cell by a single diagonal line and the arguments
- are placed below and above this line.
- The second scheme divides the cell by 2
-\begin_inset space ~
-\end_inset
-
-lines.
+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 Standard
\end_layout
\begin_layout Standard
-
-\lang english
-Here is an example table where
+Aquí hay un ejemplo de cuadro con
\series bold
\backslash
-diagbox
+diagbox
\series default
-is used in the 2-argument scheme in the first cell:
+ y dos argumentos:
+\end_layout
+
+\begin_layout Standard
\begin_inset VSpace medskip
\end_inset
\begin_layout Standard
\noindent
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status collapsed
\end_inset
-Name
+Nombre
\begin_inset ERT
status collapsed
\end_inset
-Parameter
+Parámetro
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Thickness in nm
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Transparency in %
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Hardness in MPa
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Perfect Green
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
45
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
80
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
504
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Dark Multi-P
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
60
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
72
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
982
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Crystal Clear Pro
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
18
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
86
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
374
\end_layout
\end_layout
\begin_layout Standard
-
-\lang english
-The 3-argument scheme is for example useful for cross-tables of sports leagues
- or distances:
+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
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status collapsed
\end_inset
-Team home
+Equipo local
\begin_inset ERT
status collapsed
\end_inset
-Result
+Resultado
\begin_inset ERT
status collapsed
\end_inset
-Team away
+Equipo visitante
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Tigers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Panthers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Falcons
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Tigers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
---
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
1:3
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
0:1
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Panthers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
3:1
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
---
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
0:0
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Falcons
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
1:0
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
0:0
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
---
\end_layout
\end_layout
\begin_layout Standard
-
-\lang english
-For larger cross-tables one might use split cells in 2 or every corner of
- the table like in this example:
+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
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status open
\end_inset
-Team home
+Equipo local
\begin_inset ERT
status collapsed
\end_inset
-Result
+Resultado
\begin_inset ERT
status collapsed
\end_inset
-Team away
+Equipo visitante
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Tigers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Panthers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Falcons
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status open
\end_inset
-Team home
+Equipo local
\begin_inset ERT
status collapsed
\end_inset
-Result
+Resultado
\begin_inset ERT
status collapsed
\end_inset
-Team away
+Equipo visitante
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Tigers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
---
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
1:3
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
0:1
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Tigers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Panthers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
3:1
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
---
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
0:0
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Panthers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Falcons
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
1:0
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
0:0
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
---
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Falcons
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status open
\end_inset
-Team home
+Equipo local
\begin_inset ERT
status collapsed
\end_inset
-Result
+Resultado
\begin_inset ERT
status collapsed
\end_inset
-Team away
+Equipo visitante
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Tigers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Panthers
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Falcons
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status open
\end_inset
-Team home
+Equipo local
\begin_inset ERT
status collapsed
\end_inset
-Result
+Resultado
\begin_inset ERT
status collapsed
\end_inset
-Team away
+Equipo visitante
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-
-\lang english
-To rotate the diagonal lines, the command option
+Para rotar las líneas diagonales se usa la opción
\series bold
dir=direction
\series default
- is used.
+.
\emph on
direction
\emph default
- is either
+ es
\series bold
NE
\series default
\series bold
SW
\series default
- or
+ o
\series bold
NW
\series default
- and represent a point of a compass.
-
+, que representan puntos en una brújula.
+ Por ejemplo,
\series bold
SW
\series default
- is for example the south-west corner.
- Thus in the lower left cell of the above table the command
+ es la orientación suroeste.
+ Así, en la celda inferior izquierda del cuadro anterior, se ha utilizado
+ el comando
\end_layout
\begin_layout Standard
\series bold
-\lang english
\backslash
-diagbox[dir=SW]{Team home}{Result}{Team away}
+diagbox[dir=SW]{Equipo local}{Resultado}{Equipo visitante}
\end_layout
\begin_layout Standard
-
-\lang english
-is used.
- If no direction is given, it will be NW.
+Si no se indica dirección se usa NW.
\end_layout
\begin_layout Standard
-
-\lang english
-The necessary width of split cells is automatically calculated.
- Thus if you set a fixed column width smaller than the calculated one, the
- cell's content will protrude the cell borders:
+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 Standard
\noindent
\align center
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\end_inset
-Name
+Nombre
\begin_inset ERT
status collapsed
\end_inset
-Parameter
+Parámetro
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Thickness in nm
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Perfect Green
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
45
\end_layout
\end_layout
\begin_layout Standard
-
-\lang english
-If you need a certain width for columns with a split cell, use the command
- option
+Si hace falta una determinada anchura para columnas con celdas divididas,
+ se usa la opción
\series bold
width=3cm
\series default
- (replace '3cm' by the width you need).
- In the following table the width of the first column is set to 4
+ (donde 3cm puede cambiarse por la cantidad deseada).
+ En el cuadro siguiente se ha puesto 4
\begin_inset space \thinspace{}
\end_inset
-cm.
- For
+cm de anchura para la primera columna.
+ Para
\series bold
\backslash
diagbox
\series default
- a width of 4
+ se necesita una anchura de 4
\begin_inset space \thinspace{}
\end_inset
\backslash
-tabcolsep is necessary because the overall width is the width for the text
- (in this case the 4
+tabcolsep, ya que la anchura total es la del texto (4
\begin_inset space \thinspace{}
\end_inset
-cm) plus two times the separation of the text and the cell border.
- The calculation of the width cannot be done in the command option of
+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
- so one needs to create a new length which can be used later.
- This is done with the TeX-Code commands
+, 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
\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-
-\lang english
-To enable calculations in LaTeX one needs to load the package
+Para habilitar cálculos en LaTeX hay que cargar el paquete
\series bold
calc
\series default
-\lang spanish
\begin_inset Index idx
status collapsed
\end_inset
-
-\lang english
- in the document preamble.
+ en el preámbulo del documento.
\end_layout
\begin_layout Standard
-
-\lang english
-In this table you can now use the command
+En este cuadro se puede usar ahora el comando
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-in the first cell:
+en la primera celda:
\end_layout
\begin_layout Standard
\noindent
\align center
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status open
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Thickness in nm
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Perfect Green
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
45
\end_layout
\end_layout
\begin_layout Standard
-
-\lang english
-Note that the split cell needs to be the widest one in the column.
- Otherwise the length of the diagonal line cannot be calculated correctly
- like in this table:
+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 Standard
\noindent
\align center
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status collapsed
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Thickness in nm
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Perfect Green
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
45
\end_layout
\end_layout
\begin_layout Standard
-
-\lang english
-In this case use the
+En este caso se usa la opción
\series bold
width
\series default
- option of the
+ del comando
\series bold
\backslash
diagbox
\series default
- command.
- It is then not necessary to add 2
+.
+ Ahora no es necesario añadir 2
\backslash
-tabcolsep because the cell width is now the width of the column.
- In this table a width of 3
+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 is used:
+cm:
\end_layout
\begin_layout Standard
\noindent
\align center
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status open
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Thickness in nm
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Perfect Green
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
45
\end_layout
\end_layout
\begin_layout Standard
-
-\lang english
-For multiple text lines in split cells one needs some extra height to fit
- the text to the cell.
- This can be achieved with the
-\series bold
-
-\backslash
-diagbox
-\series default
- option
+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
- (replace '3cm' by the height you need).
- In the following table the command
+ (se puede cambiar por el valor deseado).
+ En el cuadro siguiente se usa el comando
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-is used in the first cell.
- The command
+en la primera celda.
+ El comando
\series bold
\backslash
\backslash
\series default
- creates hereby the line break.
+ crea el salto de línea.
\begin_inset Foot
-status collapsed
+status open
\begin_layout Plain Layout
-
-\lang english
-Breaking lines with
+Saltos de línea con
\family sans
-Ctrl+Return
+Ctrl+Retorno
\family default
- is only possible when the column has a fixed width.
+ solo es posible si la columna tiene anchura fija.
\end_layout
\end_inset
\begin_layout Standard
\noindent
\align center
-
-\lang english
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
\begin_inset ERT
status open
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Thickness in nm
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
Perfect Green
\end_layout
\begin_inset Text
\begin_layout Plain Layout
-
-\lang english
45
\end_layout
\end_layout
\begin_layout Standard
-Debes instalar el paquete LaTeX
+Hay que instalar el paquete LaTeX
\series bold
diagbox
\series default
\end_layout
\begin_layout Standard
-
-\lang english
-For more info about the LaTeX-package
+Para más información sobre el paquete LaTeX
\series bold
diagbox
\series default
-, see its documentation
-\lang spanish
-,
+ consulta su documentación,
+\begin_inset space ~
+\end_inset
+
+
\begin_inset CommandInset citation
LatexCommand cite
key "diagbox"
\begin_inset Note Note
-status collapsed
+status open
\begin_layout Plain Layout
La siguiente sección sólo se mostrará en pantalla si está instalado el paquete
\end_layout
\begin_layout Standard
-
-\lang english
-If you add the options
+Si añades las opciones
\end_layout
\begin_layout Standard
\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
+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:List-of-dvips-colornames"
+reference "chap:Lista-de-colores-dvips"
\end_inset
.
- One of these colors,
+ Uno de estos colores,
\family sans
Maroon
\family default
-, is used as example in Table
-\lang spanish
-
-\begin_inset space ~
-\end_inset
-
-
+, se ha usado en el cuadro de ejemplo
\begin_inset CommandInset ref
LatexCommand ref
reference "tab:Cuadro-coloreado-con"
\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 Subsection
-Líneas coloreadas
+
+\lang english
+Colored Rows
+\lang spanish
+
\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-Cuadros ! Color ! en líneas
+Cuadros ! Color !
+\lang english
+for Rows
\end_layout
\end_inset
status collapsed
\begin_layout Plain Layout
-Color ! en bordes de cuadros
+Color !
+\lang english
+for Table Rows
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Como se describe en la sección
-\begin_inset space ~
+
+\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
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Grosor-de-Líneas"
+\end_layout
\end_inset
-, el grosor para todas las líneas en un cuadro puede ajustarse con el comando
-
+
+\lang english
+ in the document preamble with the command
+\end_layout
+
+\begin_layout Standard
+
\series bold
\backslash
-arrayrulewidth
+usepackage[table]{xcolor}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+xcolor
\series default
-.
- Se ha puesto 1.5
-\begin_inset space \thinspace{}
+ 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
-pt para todos los cuadros de esta sección.
+
+\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
\backslash
-setlength{
+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
-arrayrulewidth}{1.5pt}
+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
-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
+
+\lang english
+leads to the coloring scheme of Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Formato-Personalizado"
+reference "tab:Table-rowcolors"
\end_inset
-:
+.
+ The command
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcolumntype{W}{!{
-\backslash
-color{green}
+rowcolors[
\backslash
-vline}}
+hline]{1}{lightgray}{cyan}
\end_layout
\begin_layout Standard
-Para el cuadro
+
+\lang english
+leads to the coloring scheme of Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Cuadro-con-verticales-coloreadas"
+reference "tab:Table-rowcolors-2"
\end_inset
- se usó el argumento LaTeX
+.
+ 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
- WcW
-\series default
- para la última columna y
+
+\backslash
+rowcolors{1}{}{}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+deletes all colors.
+
\series bold
- Wc
+
+\backslash
+rowcolors
\series default
- para las demás.
+ affects all tables following that command.
\end_layout
\begin_layout Standard
-Si quieres tener varios colores, define más formatos de columna.
+\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 Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-con-verticales-coloreadas"
+name "tab:Table-rowcolors"
\end_inset
-Cuadro con líneas verticales coloreadas
+Table where every second row is colored light gray.
\end_layout
\end_inset
\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" 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="0pt">
<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
+X
\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
-
+Y
\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
-
+Z
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" 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" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+2
\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
-
+3
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<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" topline="true" bottomline="true" usebox="none">
+<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" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+6
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
-
+<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
-\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
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Cuadro-con-horizontales-coloreadas"
-
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-, inserta estos comandos en código TeX antes del cuadro o del flotante:
+\begin_layout Plain Layout
+9
\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
+</cell>
+</row>
+</lyxtabular>
-
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
\end_inset
\end_inset
-{
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
+
\end_layout
\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-let
-\backslash
-myHlineC
+rowcolors[
\backslash
-hline
+hline]{1}{lightgray}{cyan}
\end_layout
-\begin_layout Plain Layout
-
-
-\backslash
-renewcommand{
-\backslash
-hline}
-\end_layout
+\end_inset
-\begin_layout Plain Layout
- {
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
\end_layout
-\end_inset
-
-
+\begin_layout Standard
\begin_inset Float table
placement h
wide false
\begin_inset Caption
\begin_layout Plain Layout
+
+\lang english
\begin_inset CommandInset label
LatexCommand label
-name "tab:Cuadro-con-horizontales-coloreadas"
+name "tab:Table-rowcolors-2"
\end_inset
-Cuadro con líneas horizontales coloreadas
+Table where every second row is colored cyan and at which there is a line
+ between each row.
\end_layout
\end_inset
\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
-sd
+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
-
+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
-
+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
-
+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
-sd
+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
-
+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
-
+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
-
+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
-sd
+6
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
-
+<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
-\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:
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+9
+\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
+rowcolors{1}{}{}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+turns off the row coloring
+\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 collapsed
+
+\begin_layout Plain Layout
+Lo siguiente se mostrará en pantalla si no está instalado el paquete LaTeX
+
+\series bold
+colortbl
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Debes instalar el paquete LaTeX
+\series bold
+colortbl
+\series default
+ para ver la parte siguiente en la salida.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Líneas coloreadas
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Cuadros ! Color ! en líneas
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Color ! en bordes de cuadros
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Como se describe en la sección
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Grosor-de-Líneas"
+
+\end_inset
+
+, el grosor para todas las líneas en 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
+
+
+\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_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-verticales-coloreadas"
+
+\end_inset
+
+Cuadro con líneas verticales coloreadas
+\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="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 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 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
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-con-horizontales-coloreadas"
+
+\end_inset
+
+, inserta estos comandos en código TeX antes del cuadro o del flotante:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myHlineC
+\backslash
+hline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+let
+\backslash
+myHlineC
+\backslash
+hline
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hline}
+\end_layout
+
+\begin_layout Plain Layout
+
+ {
+\backslash
+arrayrulecolor{red}
+\backslash
+myHlineC
+\backslash
+arrayrulecolor{black}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Cuadro-con-horizontales-coloreadas"
+
+\end_inset
+
+Cuadro con líneas horizontales coloreadas
+\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
+
+
+\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:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
+\end_layout
+
+\begin_layout Standard
+El cuadro
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Cuadro-con-líneas-coloreadas"
+
+\end_inset
+
+ es un ejemplo con líneas verticales y horizontales coloreadas.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Cuadro-con-líneas-coloreadas"
+
+\end_inset
+
+Cuadro con líneas coloreadas
+\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="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 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 Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
renewcommand{
myHlineC}
\end_layout
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
-El cuadro
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\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 open
+
+\begin_layout Plain Layout
+Cuadros !
+\lang english
+Rotated Cells
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Material rotado
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\lang english
+Note:
+\series default
+ Not all DVI-viewers are able to display rotations.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Currently LyX only offers to rotate table cells by 90
+\begin_inset space \thinspace{}
+\end_inset
+
+° counter-clockwise.
+ To rotate cells by an angle of your choice, you have to add this to the
+ document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+@ifundefined{turnbox}{
+\backslash
+usepackage{rotating}}{}
+\end_layout
+
+\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
+
+\series bold
+
+\backslash
+begin{turn}{ángulo}
+\end_layout
+
+\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
+end{turn}
+\end_layout
+
+\begin_layout Standard
+
+\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-líneas-coloreadas"
+reference "tab:Table-with-rotated-multi"
\end_inset
- es un ejemplo con líneas verticales y horizontales coloreadas.
+ is an example where 3
+\begin_inset space ~
+\end_inset
+
+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-líneas-coloreadas"
+name "tab:Table-with-rotated"
\end_inset
-Cuadro con líneas 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 ERT
-status collapsed
+
+\lang english
+\begin_inset Note Greyedout
+status open
\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
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
+) are not allowed in rotated cells.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset ERT
+
+\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
+\lang english
+For more about these boxes
+\lang spanish
+ véase sección
+\begin_inset space ~
+\end_inset
+
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipáginas"
+
+\end_inset
+
+ y
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Marcos-de-Párrafo"
+
+\end_inset
+
+.
\end_layout
\end_inset
+ If you rotate this cell by 90
+\begin_inset space \thinspace{}
+\end_inset
+
+° the width of the box is the height of the cell.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\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 Section
+\begin_layout Standard
+
+\lang english
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+
+\lang english
+\begin_inset Caption
+
+\begin_layout Plain Layout
\lang english
-Table Width Calculation
\begin_inset CommandInset label
LatexCommand label
-name "sec:Table-Width-Calculation"
+name "tab:Table-with-rotated-multi"
+
+\end_inset
+
+Table with rotated multiline cell.
+\end_layout
\end_inset
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
+\noindent
+\align center
+
+\lang english
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" 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="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\lang english
-For wide tables it is sometimes difficult to assure that the table does
- not protrude over the page margin.
- Setting a fixed width for every column of the table is the solution, but
- what amount of space is needed for each column?
+a
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rotate="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\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
+
+\lang english
+rotated cell
+\begin_inset Newline newline
+\end_inset
+
+with line break
+\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
+
+\lang english
+e
+\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
+
+\lang english
+b
+\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
+
+\lang english
+c
+\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
\lang english
-The table width
-\begin_inset Formula $W_{\mathrm{table}}$
+d
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\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
+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
- can be calculated: Every column has the width of the specified column width
+ se puede calcular: cada columna tiene la anchura de la columna especificada
-\begin_inset Formula $W_{\mathrm{column}}$
+\begin_inset Formula $W_{\mathrm{columna}}$
\end_inset
- (that the content of the column can consume) plus two times the separation
- between the column content and the column border (LaTeX length
+ (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
-, default 6
+, predeterminada 6
\begin_inset space \thinspace{}
\end_inset
-pt) plus the width of a border line (LaTeX length
+pt), más la anchura del borde (longitud LaTeX
\series bold
\backslash
arrayrulewidth
\series default
-, default 0.4
+, predeterminada 0.4
\begin_inset space \thinspace{}
\end_inset
-pt): So if all
+pt): así, si las
\begin_inset Formula $n$
\end_inset
+ columnas tienen la misma anchura, la anchura del cuadro es
+\end_layout
-\begin_inset space ~
-\end_inset
-
-columns have the same width, the table width is
-\lang spanish
-
+\begin_layout Standard
\begin_inset Formula
\begin{equation}
-W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
+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
-
-\lang english
-The available width for a table is the space between the page margins or
- the width of a text column (for a two-column document) (LaTeX length
+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
columnwidth
\series default
).
- If all table columns should have the same width and
-\begin_inset Formula $W_{\mathrm{table}}$
+ Si todas las columnas del cuadro han de tener la misma anchura y
+\begin_inset Formula $W_{\mathrm{cuadro}}$
\end_inset
- should be 1
+ debe ser 1
\begin_inset space \thinspace{}
\end_inset
\backslash
columnwidth,
-\begin_inset Formula $W_{\mathrm{column}}$
+\begin_inset Formula $W_{\mathrm{columna}}$
\end_inset
- can easily be calculated.
+ puede calcularse fácilmente.
\end_layout
\begin_layout Standard
-
-\lang english
-To be able to perform calculations you need to load the LaTeX-package
+Para realizar cálculos hay que cargar el paquete LaTeX
\series bold
calc
\series default
-\lang spanish
\begin_inset Index idx
status collapsed
\end_inset
-
-\lang english
- in the document preamble.
- To set the width in the table dialog you have to use the field
+ 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
-LaTeX argument
+Argumento
+\begin_inset space ~
+\end_inset
+
+LaTeX
\family default
.
- The command scheme for this field is the same that is explained in section
+ El esquema del comando es el mismo que se explica en la sección
\begin_inset space ~
\end_inset
-\lang spanish
-
\begin_inset CommandInset ref
LatexCommand ref
reference "sub:Cálculos-en-Multicolumnas"
\end_inset
-
-\lang english
.
- For a table with 5
+ Para un cuadro con 5
\begin_inset space \thinspace{}
\end_inset
-columns with an uniform width and centered text, enter there for each column
- the command
+columnas de anchura uniforme y texto centrado, escribe el comando
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-For a table with 5
+Para un cuadro con 5
\begin_inset space \thinspace{}
\end_inset
-columns where 2 should have 0.75
+columnas en el que dos de ellas tengan 0.75
\begin_inset space ~
\end_inset
-times the width than the 3 others, the calculation is
-\lang spanish
-
+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 \\
\end_layout
\begin_layout Standard
-
-\lang english
-In the table therefore the command
+En el cuadro, por tanto, el comando
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-is used for the wider columns and
+se usa para las columnas más anchas y
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-for the smaller ones:
+para las más estrechas:
\end_layout
\begin_layout Standard
.
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
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Table-Width-Calculation"
+reference "sec:Cálculo-anchura-cuadros"
\end_inset
\end_layout
\begin_layout Standard
-
-\lang english
-Tables with dashed lines can also be colored as shown by
-\lang spanish
- cuadro
+Los cuadros con líneas a trazos también se pueden colorear, como se ve en
+ el cuadro
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Colored-table-with"
+reference "tab:Cuadro-trazos-color"
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-thicker lines for better visualization of the line color
+líneas más gruesas para ver mejor los colores
\end_layout
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-color gaps between dashes green
+huecos de color entre trazos verdes
\end_layout
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-color horizontal, dashed lines red
+color horizontal, líneas a trazos rojos
\end_layout
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-color partial horizontal, dashed lines yellow
+color parcial horizontal, líneas a trazos amarillos
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Colored-table-with"
+name "tab:Cuadro-trazos-color"
\end_inset
-
-\lang english
-Colored table with dashed lines
+Cuadro coloreado con líneas a trazos
\end_layout
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-reset to default
+volver a predeterminado
\end_layout
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-reset to default
+volver a predeterminado
\end_layout
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-reset to default
+volver a predeterminado
\end_layout
\end_inset
\end_inset
-\lang english
-
\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-\lang english
-reset to default
+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
-The coloring of lines, columns and lines works as decribed in section
+
\begin_inset space ~
\end_inset
\end_inset
-
-\lang english
-.
- Coloring horizontal lines works analogically as described there as well,
- one only needs to replace in the commands
+La coloración de líneas horizontales también funciona como se describe ahí,
+ solo hay que reemplazar en los comandos
\series bold
\backslash
myHlineC
\series default
- by
+ por
\series bold
\backslash
myHdashline
\series default
- and
+ y
\backslash
\series bold
hline
\series default
- by
+ por
\series bold
\backslash
hdashline
\series default
-; so one uses the command
+; así, los comandos usados son
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-To color
+Para colorear
\series bold
\backslash
cdashline
\series default
-, the command is
+, el comando es
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-To get back the black line color, one needs to insert the following commands
- as TeX-Code behind the table:
+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
-
-\lang english
-For
+Para
\series bold
\backslash
\end_layout
\begin_layout Standard
-
-\lang english
-and for
+y para
\series bold
\backslash
\end_layout
\begin_layout Standard
-
-\lang english
-To color the gaps between the dashes the command
+Para colorear los huecos entre los trazos, se puede usar
\end_layout
\begin_layout Standard
\series bold
-\lang english
\backslash
dashgapcolor{color}
\end_layout
\begin_layout Standard
-
-\lang english
-can be used in front of a table as TeX-Code.
- color is hereby the name of a defined color.
- The command
+delante del cuadro, en código TeX.
+ color es el nombre de un color definido.
+ El comando
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-
-\lang english
-unsets the changes made by
+deshace los cambios hechos por
\series bold
\backslash
\series bold
\color none
-\lang english
-Note
+Nota
\series default
-: If there are multiple commands in a cell, the command of
+: Si hay múltiples comandos en una celda, el comando de
\series bold
arydshln
\series default
- needs to be the first one in the cell.
- Therefore in cell
+ debe ser el primero.
+ Por eso, en la celda
\emph on
k
\emph default
- of Table
+ del cuadro
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Colored-table-with"
+reference "tab:Cuadro-trazos-color"
\end_inset
- the command
+ el comando
\series bold
\backslash
hdashline
\series default
- is before
+ está delante de
\series bold
\backslash
\series bold
\color none
-\lang english
-Note:
+Nota:
\series default
- The LaTeX-package
+ El paquete LaTeX
\series bold
arydshln
\series default
- must be loaded in the document preamble before the LaTeX-package
-\lang spanish
-
+ se debe cargar en el preámbulo del documento antes del paquete LaTeX
\series bold
colortbl
\series default
\end_layout
\begin_layout Standard
-
-\lang english
-For more information about dashed lines see the documentation of
-\lang spanish
-
+Para más información sobre líneas a trazos, véase la documentación de
\series bold
arydshln
\series default
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
\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
\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