]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Support for the new libertine package
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index 060c7fbaf0ef450be1d3e5fff73236f37a355b2f..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
@@ -552,7 +555,7 @@ bounding
 box
 \family default
  will only print the image region within the given coordinates.
- Normally you don't need to take care about image coordinates and can ignore
+ Normally you don't need to worry about image coordinates and can ignore
  this tab.
 \end_layout
 
@@ -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 
@@ -1301,8 +1292,8 @@ ImageMagick
 \family default
  in the background to convert the images to the right format.
  To increase your work flow by avoiding these conversions in the background,
- you can use only the image formats that can directly be embedded in the
- output file format.
+ you could choose to use only the image formats that can directly be embedded
in the output file format.
  The output file formats are explained in appendix
 \begin_inset space ~
 \end_inset
@@ -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 here space 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
 
@@ -2837,7 +2760,7 @@ Table ! Edit Menu
 \end_layout
 
 \begin_layout Standard
-Additionally to the table dialog and toolbar, the menu 
+In addition to the table dialog and toolbar, the menu 
 \family sans
 Edit\SpecialChar \menuseparator
 Table
@@ -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
@@ -6490,8 +6401,8 @@ Note
 
 1:
 \series default
- The table number is increased for for every longtable, even if you did
not set a caption for it.
+ The table number is increased for every longtable, even if you did not
+ set a caption for it.
  For this reason you could have the case that e.
 \begin_inset space \thinspace{}
 \end_inset
@@ -6522,7 +6433,7 @@ addtocounter{table}{-1}
 \end_layout
 
 \begin_layout Plain Layout
-This is not needed when none of your longtables have a caption and you add
+This is not needed when none of your longtables has a caption and you add
  the following code to the document preamble:
 \end_layout
 
@@ -6990,7 +6901,7 @@ Longtables ! Caption Width
 \end_layout
 
 \begin_layout Standard
-The maximal width of of caption lines is defined by the length 
+The maximal width of caption lines is defined by the length 
 \series bold
 
 \backslash
@@ -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
@@ -15584,8 +15487,8 @@ cmidrule{3-4}
 \end_layout
 
 \begin_layout Standard
-If you are anyway not satisfied with the border line spacing, you can use
- the following command to produce lines that span over all table columns
+If you are in any way not satisfied with the border line spacing, you can
use the following command to produce lines that span over all table columns
 \series bold
 :
 \end_layout
@@ -16077,7 +15980,7 @@ Table ! Alignment
 \end_layout
 
 \begin_layout Standard
-To align tables vertically in a text line the table must be inside a box.
+To align tables vertically in a text line, the table must be inside a box.
  The box can then be vertically aligned as described in section
 \begin_inset space ~
 \end_inset
 
 \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,93 +17938,122 @@ 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" 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" 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" bottomline="true" usebox="none">
+</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" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+9
 \end_layout
 
 \end_inset
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors[
+\backslash
+hline]{1}{lightgray}{cyan}
+\end_layout
+
 \end_inset
 
-To color horizontal lines for example with red, as in Table
-\begin_inset space ~
+
+\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
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-horizontal-colored"
+\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
 
-, insert these commands in TeX-Code before the table or table float:
+\begin_layout Plain Layout
+Y
 \end_layout
 
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-\series bold
+\begin_layout Plain Layout
+Z
+\end_layout
 
-\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\begin_inset Newline newline
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+1
+\end_layout
 
-\backslash
-renewcommand{
-\backslash
-hline}
-\begin_inset Newline newline
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+2
+\end_layout
 
-\begin_inset Phantom HPhantom
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
+3
+\end_layout
 
-\series bold
-\begin_inset space ~
 \end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+5
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
-{
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
+\begin_layout Plain Layout
+6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+8
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+9
+\end_layout
+
+\end_inset
+</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
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Rotated Material
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\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
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+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
+In the table cell that should be rotated, add at the beginning this command
+ as TeX-code:
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
 
+\series bold
 
 \backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
+begin{turn}{angle}
 \end_layout
 
-\begin_layout Plain Layout
+\begin_layout Standard
+where angle is the rotation angle in °.
+ At the end of the cell the command
+\end_layout
 
+\begin_layout Standard
+
+\series bold
 
 \backslash
-renewcommand{
-\backslash
-hline}
+end{turn}
 \end_layout
 
-\begin_layout Plain Layout
-
- {
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
+\begin_layout Standard
+is inserted as TeX-code.
 \end_layout
 
+\begin_layout Standard
+Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated-multi"
+
+\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 
@@ -22918,13 +23995,13 @@ Margin
 
 Notes
 \family default
- are also floats, because they can float to the next page when there are
+ are also floats because they can float to the next page when there are
  too many notes on the page.
 \end_layout
 
 \begin_layout Standard
 Floats allow a high quality layout.
- Images and tables can be spread evenly to the pages to avoid white space
+ Images and tables can be spread evenly among the pages to avoid white space
  and pages without text.
  As the floating often destroys the context between the text and the image/table
 , every float can be referenced in the text.
@@ -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
@@ -22986,7 +24075,7 @@ reference "sec:Caption-Placement"
 \end_layout
 
 \begin_layout Standard
-It is recommended that you insert floats as a separate standard paragraph
+It is recommended that you insert floats as separate standard paragraphs
  to avoid possible LaTeX-errors that can occur when the surrounding text
  is specially formatted.
 \end_layout
@@ -23106,7 +24195,7 @@ end loop
 This float type is inserted with the menu 
 \family sans
 Insert\SpecialChar \menuseparator
-Floats\SpecialChar \menuseparator
+Float\SpecialChar \menuseparator
 Algorithm
 \family default
 .
@@ -23366,8 +24455,8 @@ roman{table}}
 \backslash
 thetable
 \series default
- is the command that prints the table number, for figure floats, the command
- would be 
+ is the command that prints the table number.
For figure floats, the command would be 
 \series bold
 
 \backslash
@@ -23380,7 +24469,7 @@ thefigure
 \backslash
 roman
 \series default
- in the command above prints the table number as small roman number.
+ in the command above prints the table number as small roman number.
 \end_layout
 
 \begin_layout Standard
@@ -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,16 +24618,16 @@ 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
+ on from the drop-list at the top of the dialog.
+ You can now sort the labels alphabetically and then choose one.
  A grey cross-reference box like this one: 
 \begin_inset Graphics
        filename clipart/referenceQt4.png
@@ -23551,11 +24636,7 @@ arg   "dialog-show-new-inset ref"
 
 \end_inset
 
- will be inserted and the cross-reference window appear showing all labels
- of the document.
- If you have multiple LyX-documents opened, choose the one you are working
- on from the drop-list at the top of the dialog.
- You can now sort the labels alphabetically and then choose one.
+ will be inserted.
  At the position of the cross-reference box the float number will appear
  in the output.
 \end_layout
@@ -23569,8 +24650,8 @@ It is recommended that you use a protected space between the cross-reference
 
 \begin_layout Standard
 You can change labels at any time by clicking on the label box.
- References to the changed label will automatically change its link to the
new label text, so that you don't need to take care about this.
+ References to the changed label will automatically update their links to
the new label text.
 \end_layout
 
 \begin_layout Standard
@@ -23592,8 +24673,6 @@ Label
 \end_inset
 
 Back and you can use it to set the cursor back to the cross-reference.
- Right-clicking on a cross-reference box also sets the cursor before the
- referenced label but without the possibility of going back.
 \end_layout
 
 \begin_layout Subsection
@@ -24160,55 +25239,14 @@ To get automatic names, but not for certain reference types, for example
 
 \series bold
 
-\backslash
-newlength{
-\backslash
-abc}
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-settowidth{
-\backslash
-abc}{
-\backslash
-space}
-\begin_inset Newline newline
-\end_inset
-
-
 \backslash
 addto
 \backslash
 extrasenglish{
 \backslash
-renewcommand{
-\backslash
-equationautorefname}
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-{
-\backslash
-hspace{-
+renewcommand*{
 \backslash
-abc}}
+equationautorefname}[1]{}}
 \end_layout
 
 \begin_layout Standard
@@ -24428,8 +25466,12 @@ Floats ! Placement
 \end_layout
 
 \begin_layout Standard
-Right-clicking on a float-box opens a dialog where you can alter the placement
- options that LaTeX uses for positioning the float.
+Right-clicking on a float-box and clicking on 
+\family sans
+Settings
+\family default
+ opens a dialog where you can alter the placement options that LaTeX uses
+ for positioning the float.
 \begin_inset Newline newline
 \end_inset
 
@@ -24465,7 +25507,7 @@ reference "sec:Rotated-Floats"
 \end_layout
 
 \begin_layout Standard
-You can use one ore more of the following options in the float dialog to
+You can use one or more of the following options in the float dialog to
  set the placement for a particular float when you uncheck the option 
 \family sans
 Use
@@ -24567,8 +25609,8 @@ page
 \begin_inset space ~
 \end_inset
 
-placements are possible the procedure is internally repeated but it is tried
- to put the float on the following page.
+placements is possible the procedure is internally repeated trying to put
+ the float on the following page.
 \end_layout
 
 \begin_layout Standard
@@ -24648,7 +25690,7 @@ floats
 \begin_inset space \thinspace{}
 \end_inset
 
-% of the page are occupied by floats, several floats can be set together
+% of the page is occupied by floats, several floats can be set together
  on a page.
  (
 \series bold
@@ -24830,7 +25872,7 @@ usepackage[options]{endfloat}
 
 \begin_layout Standard
 There are various package options to format the created figure/table sections.
- For more information we refer to the 
+ For more information we refer you to the 
 \series bold
 endfloat
 \series default
@@ -25866,7 +26908,7 @@ Caption
 Floats
 \family default
 .
- On the LyX screen captions appear as label, e.
+ On the LyX screen captions appear as label, e.
 \begin_inset space \thinspace{}
 \end_inset
 
@@ -28090,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
@@ -28307,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
@@ -28325,7 +29359,7 @@ LyX
 Note
 \family default
  is inserted.
- You can switch between the five note types by right-clicking on the note-box.
+ You can switch between the three note types by right-clicking on the note-box.
  
 \family roman
 \series medium
@@ -28395,30 +29429,18 @@ 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
 Footnote
 \family default
 .
-\family roman
-\series medium
-\bar no
-You'll see
-\family default
-\series default
-\bar default
- then the following footnote-box: 
+ You will then see the following footnote-box: 
 \begin_inset Graphics
        filename clipart/footnoteQt4.png
        scale 80
@@ -28535,8 +29557,8 @@ The footnote will appear in the output as a superscript number at the text
  position where the footnote box is placed.
  The footnote text is placed at the bottom of the current page.
  The footnote number is calculated by LaTeX; the numbers are consecutive.
- It depends on your document-class, whether the footnote number is reset
for every chapter.
+ Whether the footnote number is reset for every chapter depends on your
document class.
 \end_layout
 
 \begin_layout Standard
@@ -29909,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
@@ -30840,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
@@ -32879,7 +33893,7 @@ status open
 
 \begin_layout Plain Layout
 
-\lang german
+\lang ngerman
 Dies ist ein deutscher Text.
  Dies ist ein deutscher Text.
  Dies ist ein deutscher Text.
@@ -32898,7 +33912,7 @@ status collapsed
 
 \begin_layout Plain Layout
 
-\lang german
+\lang ngerman
 Dies ist eine deutsche Fußnote.
 \end_layout
 
@@ -32956,7 +33970,6 @@ This is an English footnote.
 \end_inset
 
  This is an English Text.
 \end_layout
 
 \end_inset
@@ -33058,7 +34071,7 @@ width "33col%"
 special "none"
 height "1in"
 height_special "totalheight"
-status collapsed
+status open
 
 \begin_layout Plain Layout
 This a text within a parbox.
@@ -34416,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
@@ -34433,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
@@ -34457,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
@@ -34788,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
@@ -34806,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
@@ -34826,7 +35819,7 @@ Figures ! scaled
 status collapsed
 
 \begin_layout Plain Layout
-Table Customization ! Scaling
+Scaled Material
 \end_layout
 
 \end_inset
@@ -35386,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
@@ -35537,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
@@ -37252,7 +38252,7 @@ With the menu
 Insert\SpecialChar \menuseparator
 File
 \family default
- you can insert external material to your document.
+ you can insert external material into your document.
  This can be:
 \end_layout
 
@@ -37322,7 +38322,7 @@ External Document Parts ! External Material
 \end_layout
 
 \begin_layout Standard
-The external material feature allows you to insert files in to your document
+The external material feature allows you to insert files into your document
  without converting them to a format that can be read by the document output
  format.
  LyX takes care of the necessary conversions.
@@ -38068,7 +39068,7 @@ child documents
 
 , and a master document connects them to print the full document or parts
  of it.
- A child document inherits elements of its master, for example the LaTeX
+ A child document inherits elements from its master, for example the LaTeX
  preamble, the bibliography, and labels for cross-references.
 \end_layout
 
@@ -38116,14 +39116,14 @@ Documents
 Include You can include LyX- and LaTeX-documents.
  When you press the 
 \family sans
-Load
+Edit
 \family default
  button in the 
 \family sans
 Child Document
 \family default
- dialog, the included documents will be opened in LyX in a new file tab
so that you can modify them.
+ dialog, the included document will be opened in LyX in a new file tab so
that you can modify it.
 \begin_inset Newline newline
 \end_inset
 
@@ -38685,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
@@ -40079,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
@@ -40294,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