]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Support for the new libertine package
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index 0a66065dac98e8ae5d16bdf364b1053655f1781c..d8c5a430f0330d5c16ac4c87dc202f0da9fee6f7 100644 (file)
@@ -81,6 +81,9 @@
   \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}}{}
  {\usepackage{diagbox}
   \setboolean{diagbox}{true}}
  {\setboolean{diagbox}{false}}
+
+% 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
@@ -412,15 +419,11 @@ name "sec:Graphics-Dialog"
 \begin_layout Standard
 To insert an image into your document, place the cursor at the text position
  you want and click on the toolbar icon 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "dialog-show-new-inset graphics"
 \end_inset
 
-
-\family default
  or use the menu 
 \family sans
 Insert\SpecialChar \menuseparator
@@ -816,15 +819,11 @@ reference "sec:FloatIntroduction"
 
 \begin_layout Standard
 The toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "float-insert figure"
 \end_inset
 
-
-\family default
  and the menu 
 \family sans
 Insert\SpecialChar \menuseparator
@@ -1002,15 +1001,11 @@ Insert\SpecialChar \menuseparator
 Label
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "label-insert"
 \end_inset
 
-
-\family default
 .
  You can now refer to the label using the menu 
 \family sans
@@ -1022,15 +1017,11 @@ Cross
 reference
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "dialog-show-new-inset ref"
 \end_inset
 
-
-\family default
 .
  It is important to use references to floats, rather than using vague references
  like 
@@ -2098,8 +2089,8 @@ reference "sub:Special-Cell-Alignment"
  When you have set a width you can also adjust the vertical alignment of
  the current row.
  A given width will allow the cell to have line breaks and multiple paragraphs
- of text, see section
-\begin_inset space ~
+ of text, see sec.
+\begin_inset space \thinspace{}
 \end_inset
 
 
@@ -2116,8 +2107,8 @@ reference "sub:Multiple-Lines-in"
 \end_inset
 
 Furthermore, you can mark one or multiple cells of one row as a multicolumn
- cell, see section
-\begin_inset space ~
+ cell, see sec.
+\begin_inset space \thinspace{}
 \end_inset
 
 
@@ -2127,8 +2118,8 @@ reference "sub:Multicolumns"
 
 \end_inset
 
- or the cells of one column as multirow cell, see section
-\begin_inset space ~
+ or the cells of one column as multirow cell, see sec.
+\begin_inset space \thinspace{}
 \end_inset
 
 
@@ -2143,8 +2134,24 @@ reference "sub:Multirows"
 \end_inset
 
 The rotate check boxes rotate the current cell, a selection, or the whole
- table counter-clockwise by 90°.
+ table counter-clockwise by 90
+\begin_inset space \thinspace{}
+\end_inset
+
+°.
  The rotation is not shown within LyX, only in the output.
+ For more information see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Rotated-Table-Cells"
+
+\end_inset
+
+.
 \begin_inset Newline newline
 \end_inset
 
@@ -2379,8 +2386,8 @@ A
 \end_inset
 
 It is also possible to enter a LaTeX-argument which is needed for special
- table formattings, see section
-\begin_inset space ~
+ table formattings, see sec.
+\begin_inset space \thinspace{}
 \end_inset
 
 
@@ -2413,8 +2420,8 @@ Using the style option
 \family sans
 Formal
 \family default
- will convert the table to a formal table as described in section
-\begin_inset space ~
+ will convert the table to a formal table as described in sec.
+\begin_inset space \thinspace{}
 \end_inset
 
 
@@ -2428,8 +2435,8 @@ reference "sec:Formal-Tables"
 \begin_inset Newline newline
 \end_inset
 
-You can also add space here to table rows as described in section
-\begin_inset space ~
+You can also add space here to table rows as described in sec.
+\begin_inset space \thinspace{}
 \end_inset
 
 
@@ -2510,297 +2517,213 @@ The toolbar has the following icons:
 
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
-
-\family sans
 \begin_inset Info
 type  "icon"
 arg   "inset-modify tabular append-row"
 \end_inset
 
-
-\family default
  adds a row below the current cell or selection
 \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
  adds a column right beside the current cell or selection
 \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
  deletes the current row or selection
 \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
  deletes the current column or selection
 \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
  adds a line at the top of the current cell / row or of a selection
 \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
  adds a line at the bottom of the current cell / row or of a selection
 \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
  adds a line at the left side of the current cell / row or of a selection
 \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
  adds a line at the right side of the current cell / row or of a selection
 \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
  adds lines around the current or selected cells - if the current cell no
  multicolumn cell this also affects the current row and column
 \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
  deletes all lines of the current or selected cells - if the current cell
  no multicolumn cell this also affects the current row and column
 \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
  left-aligns the content of the current cell / column
 \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
  centers the content of the current cell / column horizontally
 \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
  right-aligns the content of the current cell / column
 \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
  aligns the content of the current column at a character
 \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
  aligns the content of the current cell vertically to the top
 \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
  centers the content of the current cell vertically
 \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
  aligns the content of the current cell vertically to the bottom
 \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
  rotates the current cell or selection counter-clockwise by 90°
 \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
  rotates the whole table counter-clockwise by 90°
 \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
  sets the current cell or selection as a multicolumn
 \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
  sets the current cell or selection as a multirow
 \end_layout
 
@@ -3126,15 +3049,11 @@ Float\SpecialChar \menuseparator
 Table
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "float-insert table"
 \end_inset
 
-
-\family default
 .
 \end_layout
 
@@ -3272,15 +3191,11 @@ Insert\SpecialChar \menuseparator
 Label
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "label-insert"
 \end_inset
 
-
-\family default
 .
  You can now refer to the label using the menu 
 \family sans
@@ -3292,15 +3207,11 @@ Cross
 reference
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "dialog-show-new-inset ref"
 \end_inset
 
-
-\family default
 .
 \begin_inset Newline newline
 \end_inset
@@ -11792,15 +11703,11 @@ Multicolumn Basics
 \begin_layout Standard
 To merge cells over multiple columns, select as many cells within a row
  as you want to merge and use either the table-toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "inset-modify tabular multicolumn"
 \end_inset
 
-
-\family default
 , or the menu 
 \family sans
 Edit\SpecialChar \menuseparator
@@ -12562,15 +12469,11 @@ Table ! Multirows
 \begin_layout Standard
 To merge cells over multiple rows, select as many cells within a column
  as you want to merge and use either the table-toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "inset-modify tabular multirow"
 \end_inset
 
-
-\family default
 , or the menu 
 \family sans
 Edit\SpecialChar \menuseparator
 
 \begin_layout Standard
 If you only need colored text, mark the cells and choose a color in the
- menu 
 \family sans
-Edit\SpecialChar \menuseparator
 Text
 \begin_inset space ~
 \end_inset
 
 Style
 \family default
-.
+ dialog (toolbar button 
+\begin_inset Info
+type  "icon"
+arg   "dialog-show character"
+\end_inset
+
+).
  This was used to create Table
 \begin_inset space ~
 \end_inset
@@ -17403,16 +17311,15 @@ Both commands are inserted at the beginning of a cell as TeX-Code.
 \end_layout
 
 \begin_layout Standard
-To color characters in the table, mark the cells and use the LyX menu 
+To color characters in the table, mark the cells and use the 
 \family sans
-Edit\SpecialChar \menuseparator
 Text
 \begin_inset space ~
 \end_inset
 
 Style
 \family default
-.
+ dialog.
  If a cell contains TeX-Code mark only the characters, otherwise the colored
  TeX-Code will cause LaTeX-errors.
 \end_layout
 \end_layout
 
 \begin_layout Subsection
-Colored Lines
+Colored Rows
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Table Color ! for Lines
+Table Color ! for Rows
 \end_layout
 
 \end_inset
@@ -17770,7 +17677,7 @@ Table Color ! for Lines
 status collapsed
 
 \begin_layout Plain Layout
-Color ! for Table Lines
+Color ! for Table Rows
 \end_layout
 
 \end_inset
@@ -17779,30 +17686,73 @@ Color ! for Table Lines
 \end_layout
 
 \begin_layout Standard
-As described in section
-\begin_inset space ~
+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
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! 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:Line-Thickness"
+\end_layout
 
 \end_inset
 
-, the line thickness for all lines in a table can be adjusted with the length
+ 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
+xcolor
 \series default
-.
- It is set to 1.5
-\begin_inset space \thinspace{}
+ automatically loads also the package 
+\series bold
+colortbl
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! colortbl
+\end_layout
+
 \end_inset
 
-pt for all tables of this section.
+, 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
 
@@ -17810,30 +17760,77 @@ status collapsed
 
 
 \backslash
-setlength{
+ifcolortbl
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section part will only be displayed when the LaTeX-package
+\series bold
+colortbl
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The table rows are colored with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
 \backslash
-arrayrulewidth}{1.5pt}
+rowcolors[commands]{row number}{odd row color}{even row color}
 \end_layout
 
+\begin_layout Standard
+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
-To color vertical lines for example with green, create the following column
- format in the document preamble, according to the description in section
+leads to the coloring scheme of Table
 \begin_inset space ~
 \end_inset
 
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "sub:Customized-Format"
+reference "tab:Table-rowcolors"
 
 \end_inset
 
-:
+.
+ The command
 \end_layout
 
 \begin_layout Standard
@@ -17841,38 +17838,76 @@ reference "sub:Customized-Format"
 \series bold
 
 \backslash
-newcolumntype{W}{!{
-\backslash
-color{green}
+rowcolors[
 \backslash
-vline}}
+hline]{1}{lightgray}{cyan}
 \end_layout
 
 \begin_layout Standard
-For Table
+leads to the coloring scheme of Table
 \begin_inset space ~
 \end_inset
 
 
 \begin_inset CommandInset ref
 LatexCommand ref
-reference "tab:Table-with-vertical-colored"
+reference "tab:Table-rowcolors-2"
 
 \end_inset
 
- the LaTeX-argument
+.
+ 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
- was used for the last column and
+
+\backslash
+rowcolors{1}{}{}
+\end_layout
+
+\begin_layout Standard
+deletes all colors.
 \series bold
- Wc
+
+\backslash
+rowcolors
 \series default
for the other columns.
affects all tables following that command.
 \end_layout
 
 \begin_layout Standard
-If you want to have several colors, define more column formats.
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors{1}{white}{lightgray}
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -17888,11 +17923,11 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Table-with-vertical-colored"
+name "tab:Table-rowcolors"
 
 \end_inset
 
-Table with colored vertical lines
+Table where every second row is colored light gray.
 \end_layout
 
 \end_inset
@@ -17903,103 +17938,1110 @@ Table with colored vertical lines
 \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" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+Z
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<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
+2
+\end_layout
+
+\end_inset
+</cell>
+<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" 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" 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>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+7
 \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
+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
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors[
+\backslash
+hline]{1}{lightgray}{cyan}
+\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: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="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="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" 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" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+3
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+</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" 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>
+<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
+</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
+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 open
+
+\begin_layout Plain Layout
+The following will be displayed when the LaTeX-package 
+\series bold
+colortbl
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the package 
+\series bold
+colortbl
+\series default
+ to see the content of this section in the output.
+\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
+Colored Lines
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Table Color ! for Lines
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Color ! for Table Lines
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+As described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Line-Thickness"
+
+\end_inset
+
+, the line thickness for all lines in a table can be adjusted with the length
+\series bold
+
+\backslash
+arrayrulewidth
+\series default
+.
+ It is set to 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt for all tables of this section.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1.5pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To color vertical lines for example with green, create the following column
+ format in the document preamble, according to the description in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Customized-Format"
+
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcolumntype{W}{!{
+\backslash
+color{green}
+\backslash
+vline}}
+\end_layout
+
+\begin_layout Standard
+For Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-vertical-colored"
+
+\end_inset
+
+ the LaTeX-argument
+\series bold
+ WcW
+\series default
+ was used for the last column and
+\series bold
+ Wc
+\series default
+ for the other columns.
+\end_layout
+
+\begin_layout Standard
+If you want to have several colors, define more column formats.
+\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:Table-with-vertical-colored"
+
+\end_inset
+
+Table with colored vertical lines
+\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
+
+To color horizontal lines for example with red, as in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-horizontal-colored"
+
+\end_inset
+
+, insert these commands in TeX-Code before the table or table float:
+\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:Table-with-horizontal-colored"
+
+\end_inset
+
+Table with colored horizontal lines
+\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
+To return to the default line color black, insert this command in TeX-Code
+ after the table or table float:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
+\end_layout
+
+\begin_layout Standard
+Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-colored"
+
+\end_inset
+
+ is an example with colored vertical and horizontal lines.
+\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:Table-with-colored"
+
+\end_inset
+
+Table with colored lines
+\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 topspace="default">
+<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
+
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Rotated Table Cells
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Rotated-Table-Cells"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Table ! Rotated Cells
 \end_layout
 
 \end_inset
-</cell>
-</row>
-</lyxtabular>
 
-\end_inset
 
+\begin_inset Index idx
+status collapsed
 
+\begin_layout Plain Layout
+Rotated Material
 \end_layout
 
 \end_inset
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Not all DVI-viewers are able to display rotations.
+\end_layout
 
-To color horizontal lines for example with red, as in Table
-\begin_inset space ~
 \end_inset
 
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-horizontal-colored"
+\end_layout
 
+\begin_layout Standard
+Currently LyX only offers to rotate table cells by 90
+\begin_inset space \thinspace{}
 \end_inset
 
-, insert these commands in TeX-Code before the table or table float:
+° 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
@@ -18030,86 +19081,66 @@ reference "tab:Table-with-horizontal-colored"
 \series bold
 
 \backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-renewcommand{
+@ifundefined{turnbox}{
 \backslash
-hline}
-\begin_inset Newline newline
-\end_inset
-
+usepackage{rotating}}{}
+\end_layout
 
-\begin_inset Phantom HPhantom
-status open
+\begin_layout Standard
+In the table cell that should be rotated, add at the beginning this command
+ as TeX-code:
+\end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
 \series bold
-\begin_inset space ~
-\end_inset
-
-
-\end_layout
-
-\end_inset
 
-{
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
 \backslash
-arrayrulecolor{black}}
+begin{turn}{angle}
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+where angle is the rotation angle in °.
+ At the end of the cell the command
+\end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
 
+\series bold
 
 \backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
+end{turn}
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+is inserted as TeX-code.
+\end_layout
 
+\begin_layout Standard
+Table
+\begin_inset space ~
+\end_inset
 
-\backslash
-renewcommand{
-\backslash
-hline}
-\end_layout
 
-\begin_layout Plain Layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated-multi"
 
- {
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
-\end_layout
+\end_inset
 
+ 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
 \begin_inset Float table
-placement h
 wide false
 sideways false
 status open
@@ -18120,11 +19151,11 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Table-with-horizontal-colored"
+name "tab:Table-with-rotated"
 
 \end_inset
 
-Table with colored horizontal lines
+Table with rotated cells in the first row.
 \end_layout
 
 \end_inset
@@ -18133,66 +19164,113 @@ Table with colored horizontal lines
 \end_layout
 
 \begin_layout Plain Layout
+\noindent
 \align center
 \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">
+<cell alignment="center" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+\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" leftline="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" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+\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" leftline="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" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+\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" leftline="true" rightline="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
@@ -18203,7 +19281,7 @@ sd
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+45
 \end_layout
 
 \end_inset
@@ -18212,7 +19290,7 @@ sd
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+33
 \end_layout
 
 \end_inset
@@ -18221,7 +19299,7 @@ sd
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+21
 \end_layout
 
 \end_inset
 \end_layout
 
 \begin_layout Standard
-To return to the default line color black, insert this command in TeX-Code
- after the table or table float:
-\end_layout
+\begin_inset Note Greyedout
+status open
 
-\begin_layout Standard
+\begin_layout Plain Layout
 
 \series bold
+Note:
+\series default
+ Line breaks (shortcut 
+\begin_inset Info
+type  "shortcut"
+arg   "newline-insert newline"
+\end_inset
+
+) are not allowed in rotated cells.
+\end_layout
+
+\end_inset
+
 
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
 \end_layout
 
 \begin_layout Standard
-Table
+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
+For more about these boxes see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+ and 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Parboxes"
+
+\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-colored"
+reference "tab:Table-with-rotated-multi"
 
 \end_inset
 
- is an example with colored vertical and horizontal lines.
+ 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
 \begin_inset Float table
-placement h
 wide false
 sideways false
 status open
@@ -18284,11 +19406,11 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Table-with-colored"
+name "tab:Table-with-rotated-multi"
 
 \end_inset
 
-Table with colored lines
+Table with rotated multiline cell.
 \end_layout
 
 \end_inset
@@ -18297,95 +19419,90 @@ Table with colored lines
 \end_layout
 
 \begin_layout Plain Layout
+\noindent
 \align center
 \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" topline="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" 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" usebox="none">
-\begin_inset Text
+\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
-
+rotated cell
+\begin_inset Newline newline
 \end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="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" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
-sd
+
 \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
-
+e
 \end_layout
 
 \end_inset
 </cell>
 </row>
-<row topspace="default">
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<row>
+<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">
+<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" 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
+d
 \end_layout
 
 \end_inset
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Section
@@ -19532,11 +20611,9 @@ reference "tab:Table-cells-align"
 .
  This alignment is achieved by setting the cursor into the column and then
  either pressing the toolbar button 
-\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
 
  or setting the alignment in the table settings to 
@@ -22949,7 +24026,19 @@ To insert a float, use the menu
 Insert\SpecialChar \menuseparator
 Float
 \family default
-.
+ (toolbar button 
+\begin_inset Info
+type  "icon"
+arg   "float-insert figure"
+\end_inset
+
+ or 
+\begin_inset Info
+type  "icon"
+arg   "float-insert table"
+\end_inset
+
+).
  This inserts the 
 \family sans
 Caption
@@ -23490,15 +24579,11 @@ Insert\SpecialChar \menuseparator
 Label
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "label-insert"
 \end_inset
 
-
-\family default
 .
  A grey label box like this one: 
 \begin_inset Graphics
@@ -23533,15 +24618,11 @@ Insert\SpecialChar \menuseparator
 Cross-reference
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "dialog-show-new-inset ref"
 \end_inset
 
-
-\family default
 .
  The cross-reference window appears showing all labels of the document.
  If you have multiple LyX-documents opened, choose the one you are working
@@ -28051,15 +29132,11 @@ Notes ! LyX Notes
 
 \begin_layout Standard
 Notes are inserted with the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "note-insert"
 \end_inset
 
-
-\family default
  or the menu 
 \family sans
 Insert\SpecialChar \menuseparator
@@ -28268,15 +29345,11 @@ As you can see in the example, the first line of greyed out notes is a bit
 \end_inset
 
 When you use the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "note-insert"
 \end_inset
 
-
-\family default
  to insert notes, a 
 \family sans
 LyX
@@ -28356,15 +29429,11 @@ Footnotes
 
 \begin_layout Standard
 Footnotes can be inserted using the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "footnote-insert"
 \end_inset
 
-
-\family default
  or the menu 
 \family sans
 Insert\SpecialChar \menuseparator
@@ -29862,15 +30931,11 @@ Marginal
 Note
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "marginalnote-insert"
 \end_inset
 
-
-\family default
 .
  A grey 
 \family roman
@@ -30793,15 +31858,11 @@ Insert\SpecialChar \menuseparator
 Box
 \family default
  or the toolbar button 
-\family sans
-
 \begin_inset Info
 type  "icon"
 arg   "box-insert Frameless"
 \end_inset
 
-
-\family default
 .
  A grey box with the label 
 \family sans
@@ -34368,7 +35429,7 @@ status open
 \series bold
 Note:
 \series default
Some DVI-viewers can't display rotated or scaled material.
Not all DVI-viewers are able to display rotated or scaled material.
 \end_layout
 
 \end_inset
@@ -34385,7 +35446,7 @@ status open
 \series bold
 Note:
 \series default
- Floats mustn't be inside a rotated or scaled box.
+ Floats are not allowed inside a rotated or scaled box.
 \end_layout
 
 \end_inset
@@ -34409,27 +35470,7 @@ Boxes ! rotated
 status collapsed
 
 \begin_layout Plain Layout
-Rotated material
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Figures ! rotated
-\end_layout
-
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Table Customization ! Rotating
+Rotated Material
 \end_layout
 
 \end_inset
@@ -34740,15 +35781,11 @@ status collapsed
 \end_inset
 
  and table.
-\end_layout
-
-\begin_layout Subsection
-Scaled Boxes
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Boxes ! scaled
+Figures ! rotated
 \end_layout
 
 \end_inset
@@ -34758,17 +35795,21 @@ Boxes ! scaled
 status collapsed
 
 \begin_layout Plain Layout
-Scaled material
+Table Customization ! Rotating
 \end_layout
 
 \end_inset
 
 
+\end_layout
+
+\begin_layout Subsection
+Scaled Boxes
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-Figures ! scaled
+Boxes ! scaled
 \end_layout
 
 \end_inset
@@ -34778,7 +35819,7 @@ Figures ! scaled
 status collapsed
 
 \begin_layout Plain Layout
-Table Customization ! Scaling
+Scaled Material
 \end_layout
 
 \end_inset
@@ -35338,6 +36379,26 @@ status collapsed
 \end_inset
 
 
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Figures ! scaled
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization ! Scaling
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -35489,19 +36550,6 @@ status collapsed
 
 \begin_layout Plain Layout
 LaTeX-packages ! wrapfig
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-vspace{4mm}
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \end_inset
@@ -38637,6 +39685,27 @@ reference "lst:Example-Listing"
 \end_inset
 
 
+\change_inserted -195340706 1334604968
+.
+ A list of listings which contains all listings with captions can be created
+ via the 
+\family sans
+Insert\SpecialChar \menuseparator
+List
+\begin_inset space ~
+\end_inset
+
+/
+\begin_inset space ~
+\end_inset
+
+TOC\SpecialChar \menuseparator
+List of Listings
+\family default
+ submenu.
+ The list entries are the listing caption and the listing number.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Standard
@@ -40031,15 +41100,7 @@ Postscript
 \family sans
 View
 \family default
- menu or by using the toolbar button 
-\begin_inset Graphics
-       filename ../images/buffer-view_ps.png
-       scale 85
-       scaleBeforeRotation
-
-\end_inset
-
-.
+ menu.
 \end_layout
 
 \begin_layout Section
@@ -40246,27 +41307,7 @@ You can view your document as PDF via the
 \family sans
 View
 \family default
- menu or by using the toolbar button 
-\begin_inset Graphics
-       filename ../images/buffer-view_pdf2.png
-       scale 85
-       scaleBeforeRotation
-
-\end_inset
-
-\family sans
-(
-\family default
-that uses 
-\family sans
-PDF
-\begin_inset space ~
-\end_inset
-
-(pdflatex)
-\family default
-).
+ menu or by using a toolbar button.
 \end_layout
 
 \begin_layout Chapter