]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
More sensible longtable caption handling (needed for bug #7412)
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index f50b28a977c5f231826dce2a5ef3eb4566fa98b9..060c7fbaf0ef450be1d3e5fff73236f37a355b2f 100644 (file)
  {\usepackage{lettrine}
   \setboolean{lettrine}{true}}
  {\setboolean{lettrine}{false}}
+
+% check for diagbox
+\newboolean{diagbox}
+\IfFileExists{diagbox.sty}
+ {\usepackage{diagbox}
+  \setboolean{diagbox}{true}}
+ {\setboolean{diagbox}{false}}
 \end_preamble
 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,usenames,dvipsnames
 \use_default_options false
@@ -224,11 +231,12 @@ initials
 \bullet 1 1 34 -1
 \bullet 2 2 35 -1
 \bullet 3 2 7 -1
-\tracking_changes false
+\tracking_changes true
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
+\author -195340706 "Georg Baum" 
 \end_header
 
 \begin_body
@@ -308,7 +316,7 @@ colortbl
 \series default
 , 
 \series bold
-lettrine, marginnote, picinpar
+diagbox, lettrine, marginnote, picinpar
 \series default
  and 
 \series bold
@@ -6111,467 +6119,42 @@ reference "sec:Longtables"
 \end_inset
 
 .
- Only one table row can contain the caption.
-\end_layout
-
-\begin_layout Standard
-Here is a short longtable to see how it works:
-\end_layout
-
-\begin_layout Standard
-\begin_inset Tabular
-<lyxtabular version="3" rows="6" columns="5">
-<features islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-Longtable with caption
-\begin_inset Argument
-status open
-
-\begin_layout Plain Layout
-Longtable
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" 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
-1
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-2
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-3
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-4
-\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
-5
-\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
-asd
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\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
-asd
-\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
-asd
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\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
-asd
-\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
-asd
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-s
-\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
-asd
-\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
-asd
-\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
-asd
-\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
-asd
-\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
-asd
-\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
-asd
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
-
-
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-Note
-\begin_inset space ~
-\end_inset
-
-1:
-\series default
- The table number is increased for 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
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-Table
-\begin_inset space ~
-\end_inset
-
-2.4 follows Table
-\begin_inset space ~
-\end_inset
-
-2.1 in the list of tables if there are two longtables without captions.
- To avoid this you can add the following command in TeX-Code after every
- longtable without a caption:
-\end_layout
-
-\begin_layout Plain Layout
-
-\series bold
-
-\backslash
-addtocounter{table}{-1}
-\end_layout
-
-\begin_layout Plain Layout
-This is not needed when none of your longtables have a caption and you add
- the following code to the document preamble:
-\end_layout
-
-\begin_layout Plain Layout
-
-\series bold
-
-\backslash
-let
-\backslash
-myEnd
-\backslash
-endlongtable
-\begin_inset Newline newline
-\end_inset
-
-
-\backslash
-renewcommand{
-\backslash
-endlongtable}{
-\backslash
-myEnd
-\backslash
-addtocounter{table}{-1}}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-Note
+\change_inserted -195340706 1324242393
+A caption must be put into one of 
+\family sans
+First
 \begin_inset space ~
 \end_inset
 
-2:
-\series default
- If you are using
-\series bold
- hyperref
-\series default
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! hyperref
-\end_layout
-
-\end_inset
-
- in the 
+header
+\family default
+, 
 \family sans
-PDF Properties
+Header
 \family default
- of the 
+, 
 \family sans
-Document Settings
+Footer
 \family default
- dialog to link cross-references, the link to a longtable caption will always
- point to the beginning of the document.
-\end_layout
-
+ and 
+\family sans
+Fast
+\begin_inset space ~
 \end_inset
 
-
-\end_layout
-
-\begin_layout Subsubsection
-References to Longtables
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Longtables ! References
+footer
+\family default
+.
+ Each kind of footer and header may only contain one 
+\change_deleted -195340706 1324242398
+Only one table row can contain the
+\change_unchanged
+ caption.
 \end_layout
 
-\end_inset
-
-
+\begin_layout Standard
+Here is a short longtable to see how it works:
 \end_layout
 
 \begin_layout Standard
@@ -6591,14 +6174,12 @@ Longtables ! References
 \begin_inset Caption
 
 \begin_layout Plain Layout
-Referenced longtable
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:RefExample"
-
-\end_inset
-
+Longtable with caption
+\begin_inset Argument
+status open
 
+\begin_layout Plain Layout
+Longtable
 \end_layout
 
 \end_inset
@@ -6607,11 +6188,16 @@ name "tab:RefExample"
 \end_layout
 
 \end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
 
 \end_layout
 
@@ -6847,7 +6433,7 @@ asd
 \begin_inset Text
 
 \begin_layout Plain Layout
-sad
+asd
 \end_layout
 
 \end_inset
@@ -6888,112 +6474,143 @@ asd
 \end_layout
 
 \begin_layout Standard
-To reference a longtable, insert a label into the caption.
-\end_layout
+\begin_inset VSpace medskip
+\end_inset
 
-\begin_layout Standard
-This is a reference to Table
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note
 \begin_inset space ~
 \end_inset
 
+1:
+\series default
+ The table number is increased for 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
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:RefExample"
+g.
+\begin_inset space \space{}
+\end_inset
 
+Table
+\begin_inset space ~
 \end_inset
 
-.
+2.4 follows Table
+\begin_inset space ~
+\end_inset
+
+2.1 in the list of tables if there are two longtables without captions.
+ To avoid this you can add the following command in TeX-Code after every
+ longtable without a caption:
 \end_layout
 
-\begin_layout Standard
-The caption layout can be set together with all other captions of your document
- using the LaTeX-package 
+\begin_layout Plain Layout
+
 \series bold
-caption
-\series default
 
-\begin_inset Index idx
-status collapsed
+\backslash
+addtocounter{table}{-1}
+\end_layout
 
 \begin_layout Plain Layout
-LaTeX-packages ! caption
+This is not needed when none of your longtables have a caption and you add
+ the following code to the document preamble:
 \end_layout
 
-\end_inset
+\begin_layout Plain Layout
 
-, see section
-\begin_inset space ~
+\series bold
+
+\backslash
+let
+\backslash
+myEnd
+\backslash
+endlongtable
+\begin_inset Newline newline
 \end_inset
 
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Caption-Formatting"
+\backslash
+renewcommand{
+\backslash
+endlongtable}{
+\backslash
+myEnd
+\backslash
+addtocounter{table}{-1}}
+\end_layout
 
 \end_inset
 
-.
+
 \end_layout
 
-\begin_layout Subsubsection
-Caption Width
-\begin_inset Index idx
-status collapsed
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
 
 \begin_layout Plain Layout
-Longtables ! Caption Width
-\end_layout
 
+\series bold
+Note
+\begin_inset space ~
 \end_inset
 
+2:
+\series default
+ If you are using
+\series bold
+ hyperref
+\series default
 
-\end_layout
+\begin_inset Index idx
+status collapsed
 
-\begin_layout Standard
-The maximal width of of caption lines is defined by the length 
-\series bold
+\begin_layout Plain Layout
+LaTeX-packages ! hyperref
+\end_layout
 
-\backslash
-LTcapwidth
-\series default
-.
- Its default value is 4
-\begin_inset space \thinspace{}
 \end_inset
 
-in.
- To change it add the following command to your document preamble or as
- TeX-Code into your document before the longtable that should be affected
+ in the 
+\family sans
+PDF Properties
+\family default
+ of the 
+\family sans
+Document Settings
+\family default
+ dialog to link cross-references, the link to a longtable caption will always
+ point to the beginning of the document.
 \end_layout
 
-\begin_layout Standard
+\end_inset
 
-\series bold
 
-\backslash
-setlength{
-\backslash
-LTcapwidth}{width}
 \end_layout
 
-\begin_layout Standard
-where the width could have one of the units listed in appendix
-\begin_inset space ~
-\end_inset
-
+\begin_layout Subsubsection
+References to Longtables
+\begin_inset Index idx
+status collapsed
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:Units-available-in"
+\begin_layout Plain Layout
+Longtables ! References
+\end_layout
 
 \end_inset
 
-.
-\end_layout
 
-\begin_layout Standard
-The following tables show the difference:
 \end_layout
 
 \begin_layout Standard
@@ -7013,14 +6630,10 @@ The following tables show the difference:
 \begin_inset Caption
 
 \begin_layout Plain Layout
-long full title with default width long full title with default width long
- full title with default width
-\begin_inset Argument
-status collapsed
-
-\begin_layout Plain Layout
-caption with default width
-\end_layout
+Referenced longtable
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:RefExample"
 
 \end_inset
 
@@ -7314,21 +6927,115 @@ asd
 \end_layout
 
 \begin_layout Standard
-\begin_inset ERT
+To reference a longtable, insert a label into the caption.
+\end_layout
+
+\begin_layout Standard
+This is a reference to Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:RefExample"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+The caption layout can be set together with all other captions of your document
+ using the LaTeX-package 
+\series bold
+caption
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! caption
+\end_layout
+
+\end_inset
+
+, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Caption-Formatting"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsubsection
+Caption Width
+\begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
+Longtables ! Caption Width
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The maximal width of of caption lines is defined by the length 
+\series bold
+
+\backslash
+LTcapwidth
+\series default
+.
+ Its default value is 4
+\begin_inset space \thinspace{}
+\end_inset
 
+in.
+ To change it add the following command to your document preamble or as
+ TeX-Code into your document before the longtable that should be affected
+\end_layout
+
+\begin_layout Standard
+
+\series bold
 
 \backslash
 setlength{
 \backslash
-LTcapwidth}{5cm}
+LTcapwidth}{width}
 \end_layout
 
+\begin_layout Standard
+where the width could have one of the units listed in appendix
+\begin_inset space ~
 \end_inset
 
 
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:Units-available-in"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+The following tables show the difference:
+\end_layout
+
+\begin_layout Standard
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="5">
 <features islongtable="true" longtabularalignment="center">
@@ -7345,36 +7052,368 @@ LTcapwidth}{5cm}
 \begin_inset Caption
 
 \begin_layout Plain Layout
-long full title with width set to 5
-\begin_inset space \thinspace{}
-\end_inset
-
-cm long full title with width set to 5
-\begin_inset space \thinspace{}
-\end_inset
-
-cm long full title with width set to 5
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
+long full title with default width long full title with default width long
+ full title with default width
 \begin_inset Argument
 status collapsed
 
 \begin_layout Plain Layout
-caption with width
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
-\end_inset
-
-5
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
+caption with default width
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" 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
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4
+\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
+5
+\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
+asd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\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
+asd
+\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
+asd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\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
+asd
+\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
+asd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+s
+\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
+asd
+\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
+asd
+\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
+sad
+\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
+asd
+\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
+asd
+\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
+asd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+LTcapwidth}{5cm}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="5">
+<features islongtable="true" longtabularalignment="center">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row caption="true">
+<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+long full title with width set to 5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm long full title with width set to 5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm long full title with width set to 5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm
+\begin_inset Argument
+status collapsed
+
+\begin_layout Plain Layout
+caption with width
+\begin_inset space \thinspace{}
+\end_inset
+
+=
+\begin_inset space \thinspace{}
+\end_inset
+
+5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm
 \end_layout
 
 \end_inset
@@ -7775,7 +7814,7 @@ Longtables ! Different Captions for Pages
 
 \begin_layout Standard
 When the table captions for the following pages should differ from the one
- of the first table page, insert a caption with the TeX code command
+ of the first table page, insert a caption with the TeX-Code command
 \end_layout
 
 \begin_layout Standard
@@ -11234,7 +11273,7 @@ Franz
 \end_layout
 
 \begin_layout Section
-Multiple Lines Columns and Rows
+Multiple Lines, Columns and Rows
 \end_layout
 
 \begin_layout Subsection
 Therefore be careful with forced line breaks.
 \end_layout
 
+\begin_layout Subsection
+Cells with diagonal line(s)
+\end_layout
+
+\begin_layout Standard
+To tell the reader what is meant by column and row headings in a table,
+ it is helpful to split the first cell of the table by one or two diagonal
+ lines.
+ This can be achieved by loading the LaTeX-package 
+\series bold
+diagbox
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! picinpar
+\end_layout
+
+\end_inset
+
+ in the document preamble.
+ The package provides the command 
+\series bold
+
+\backslash
+diagbox
+\series default
+ that is inserted as TeX-Code and that can take 2 or 3
+\begin_inset space ~
+\end_inset
+
+arguments:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[options]{lower left}{upper right}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[options]{lower left}{upper left}{upper right}
+\end_layout
+
+\begin_layout Standard
+The first scheme divides the cell by a single diagonal line and the arguments
+ are placed below and above this line.
+ The second scheme divides the cell by 2
+\begin_inset space ~
+\end_inset
+
+lines.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifdiagbox
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the LaTeX-package 
+\series bold
+diagbox
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Here is an example table where 
+\series bold
+
+\backslash
+diagbox 
+\series default
+is used in the 2-argument scheme in the first cell:
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox{
+\end_layout
+
+\end_inset
+
+Name
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Parameter
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\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
+Transparency in %
+\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
+Hardness in MPa
+\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
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+80
+\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
+504
+\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
+Dark Multi-P
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+60
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+72
+\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
+982
+\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
+Crystal Clear Pro
+\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
+18
+\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
+86
+\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
+374
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The 3-argument scheme is for example useful for cross-tables of sports leagues
+ or distances:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox{
+\end_layout
+
+\end_inset
+
+Team home
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Team away
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Tigers
+\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
+Panthers
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Falcons
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Tigers
+\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" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1:3
+\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
+0:1
+\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
+Panthers
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3:1
+\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
+0:0
+\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
+Falcons
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1:0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0:0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+---
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+For larger cross-tables one might use split cells in 2 or every corner of
+ the table like in this example:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox{
+\end_layout
+
+\end_inset
+
+Team home
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Team away
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Tigers
+\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
+Panthers
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Falcons
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[dir=NE]{
+\end_layout
+
+\end_inset
+
+Team home
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Team away
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\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
+Tigers
+\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" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1:3
+\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
+0:1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Tigers
+\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
+Panthers
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3:1
+\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
+0:0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Panthers
+\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
+Falcons
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1:0
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0:0
+\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>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Falcons
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[dir=SW]{
+\end_layout
+
+\end_inset
+
+Team home
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Team away
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Tigers
+\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
+Panthers
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Falcons
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[dir=SE]{
+\end_layout
+
+\end_inset
+
+Team home
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Team away
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To rotate the diagonal lines, the command option 
+\series bold
+dir=direction
+\series default
+ is used.
+\emph on
+direction
+\emph default
+ is either 
+\series bold
+NE
+\series default
+, 
+\series bold
+DE
+\series default
+, 
+\series bold
+SW
+\series default
+ or 
+\series bold
+NW
+\series default
+ and represent a point of a compass.
+\series bold
+SW
+\series default
+ is for example the south-west corner.
+ Thus in the lower left cell of the above table the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[dir=SW]{Team home}{Result}{Team away}
+\end_layout
+
+\begin_layout Standard
+is used.
+ If no direction is given, it will be NW.
+\end_layout
+
+\begin_layout Standard
+The necessary width of split cells is automatically calculated.
+ Thus if you set a fixed column width smaller than the calculated one, the
+ cell's content will protrude the cell borders:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="3cm">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox{
+\end_layout
+
+\end_inset
+
+Name
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Parameter
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you need a certain width for columns with a split cell, use the command
+ option 
+\series bold
+width=3cm
+\series default
+ (replace '3cm' by the width you need).
+ In the following table the width of the first column is set to 4
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ For 
+\series bold
+
+\backslash
+diagbox
+\series default
+ a width of 4
+\begin_inset space \thinspace{}
+\end_inset
+
+cm + 2
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\backslash
+tabcolsep is necessary because the overall width is the width for the text
+ (in this case the 4
+\begin_inset space \thinspace{}
+\end_inset
+
+cm) plus two times the separation of the text and the cell border.
+ The calculation of the width cannot be done in the command option of 
+\series bold
+
+\backslash
+diagbox
+\series default
+ so one needs to create a new length which can be used later.
+ This is done with the TeX-Code commands
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newlength{
+\backslash
+diagtest}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+setlength{
+\backslash
+diagtest}{4cm+2
+\backslash
+tabcolsep}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+newlength{
+\backslash
+diagtest}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+diagtest}{4cm+2
+\backslash
+tabcolsep}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To enable calculations in LaTeX one needs to load the package 
+\series bold
+calc
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! calc
+\end_layout
+
+\end_inset
+
+ in the document preamble.
+\end_layout
+
+\begin_layout Standard
+In this table you can now use the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[width=
+\backslash
+diagtest]{A}{B}
+\end_layout
+
+\begin_layout Standard
+in the first cell:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="4cm">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=
+\backslash
+diagtest]{
+\end_layout
+
+\end_inset
+
+A
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+B
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Note that the split cell needs to be the widest one in the column.
+ Otherwise the length of the diagonal line cannot be calculated correctly
+ like in this table:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox{
+\end_layout
+
+\end_inset
+
+A
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+B
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+In this case use the 
+\series bold
+width
+\series default
+ option of the 
+\series bold
+
+\backslash
+diagbox
+\series default
+ command.
+ It is then not necessary to add 2
+\backslash
+tabcolsep because the cell width is now the width of the column.
+ In this table a width of 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm is used:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=3cm]{
+\end_layout
+
+\end_inset
+
+A
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+B
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+For multiple text lines in split cells one needs some extra height to fit
+ the text to the cell.
+ This can be achieved with the 
+\series bold
+
+\backslash
+diagbox
+\series default
+ option 
+\series bold
+height=3cm
+\series default
+ (replace '3cm' by the height you need).
+ In the following table the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+diagbox[width=3cm,height=1.4cm]{A
+\backslash
+
+\backslash
+B}{C
+\backslash
+
+\backslash
+D}
+\end_layout
+
+\begin_layout Standard
+is used in the first cell.
+ The command 
+\series bold
+
+\backslash
+
+\backslash
+
+\series default
+ creates hereby the line break.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Breaking lines with 
+\family sans
+Ctrl+Return
+\family default
+ is only possible when the column has a fixed width.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=3cm,height=1.4cm]{
+\end_layout
+
+\end_inset
+
+A
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
+\end_layout
+
+\end_inset
+
+B
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+C
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
+\end_layout
+
+\end_inset
+
+D
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the LaTeX-package 
+\series bold
+diagbox
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the LaTeX-package 
+\series bold
+diagbox
+\series default
+ to see the following part 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 Standard
+For more info about the LaTeX-package 
+\series bold
+diagbox
+\series default
+, see its documentation, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "diagbox"
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Section
 Formal Tables
 \begin_inset CommandInset label
 \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
+\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
 
-\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
 
 
 \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
-
-
+hline}{
+\backslash
+myHlineC}
 \end_layout
 
 \end_inset
 
-{
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
+
 \end_layout
 
 \begin_layout Standard
@@ -16253,292 +18431,289 @@ status collapsed
 
 
 \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
+setlength{
 \backslash
-arrayrulecolor{black}}
+arrayrulewidth}{0.4pt}
 \end_layout
 
 \end_inset
 
 
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
+\end_layout
 
-\begin_layout Plain Layout
+\begin_layout Section
+Table Width Calculation
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Table-with-horizontal-colored"
-
-\end_inset
-
-Table with colored horizontal lines
-\end_layout
+name "sec:Table-Width-Calculation"
 
 \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
+\begin_layout Standard
+For wide tables it is sometimes difficult to assure that the table does
+ not protrude over the page margin.
+ Setting a fixed width for every column of the table is the solution, but
+ what amount of space is needed for each column?
 \end_layout
 
+\begin_layout Standard
+The table width 
+\begin_inset Formula $W_{\mathrm{table}}$
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-
-\end_layout
 
+ can be calculated: Every column has the width of the specified column width
+\begin_inset Formula $W_{\mathrm{column}}$
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
+ (that the content of the column can consume) plus two times the separation
+ between the column content and the column border (LaTeX length
+\series bold
+\backslash
+tabcolsep
+\series default
+, default 6
+\begin_inset space \thinspace{}
+\end_inset
 
-\end_layout
+pt) plus the width of a border line (LaTeX length 
+\series bold
 
+\backslash
+arrayrulewidth
+\series default
+, default 0.4
+\begin_inset space \thinspace{}
 \end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
+pt): So if all 
+\begin_inset Formula $n$
+\end_inset
 
-\end_layout
 
+\begin_inset space ~
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
-sd
-\end_layout
+columns have the same width, the table width is
+\begin_inset Formula 
+\begin{equation}
+W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
+\end{equation}
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
 
 \end_layout
 
+\begin_layout Standard
+The available width for a table is the space between the page margins or
+ the width of a text column (for a two-column document) (LaTeX length 
+\series bold
+
+\backslash
+columnwidth
+\series default
+).
+ If all table columns should have the same width and 
+\begin_inset Formula $W_{\mathrm{table}}$
 \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
+ should be 1
+\begin_inset space \thinspace{}
+\end_inset
 
-\end_layout
 
+\backslash
+columnwidth, 
+\begin_inset Formula $W_{\mathrm{column}}$
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
 
+ can easily be calculated.
 \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 Standard
+To be able to perform calculations you need to load the LaTeX-package 
+\series bold
+calc
+\series default
+
+\begin_inset Index idx
+status collapsed
 
 \begin_layout Plain Layout
-sd
+LaTeX-packages ! calc
 \end_layout
 
 \end_inset
-</cell>
-</row>
-</lyxtabular>
 
+ in the document preamble.
+ To set the width in the table dialog you have to use the field 
+\family sans
+LaTeX argument
+\family default
+.
+ The command scheme for this field is the same that is explained in section
+\begin_inset space ~
 \end_inset
 
 
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Multicolumn-Calculations"
 
 \end_inset
 
+.
+ For a table with 5
+\begin_inset space \thinspace{}
+\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:
+columns with an uniform width and centered text, enter there for each column
+ the command
 \end_layout
 
 \begin_layout Standard
 
 \series bold
-
-\backslash
-renewcommand{
+>{
 \backslash
-hline}{
+centering}p{(1
 \backslash
-myHlineC}
+columnwidth-62.4pt)/5}
 \end_layout
 
 \begin_layout Standard
-Table
-\begin_inset space ~
+For a table with 5
+\begin_inset space \thinspace{}
 \end_inset
 
+columns where 2 should have 0.75
+\begin_inset space ~
+\end_inset
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-colored"
+times the width than the 3 others, the calculation is
+\begin_inset Formula 
+\begin{align}
+\backslash\mbox{columnwidth} & =3\, W_{\mathrm{column}}+2\cdot0.75\, W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
+ & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
+ & =4.5\, W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
+W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
+\end{align}
 
 \end_inset
 
- 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
+In the table therefore the command
+\end_layout
 
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-with-colored"
+\begin_layout Standard
 
-\end_inset
+\series bold
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}}
+\end_layout
 
-Table with colored lines
+\begin_layout Standard
+is used for the wider columns and
 \end_layout
 
-\end_inset
+\begin_layout Standard
 
+\series bold
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}*
+\backslash
+real{0.75}}
+\end_layout
 
+\begin_layout Standard
+for the smaller ones:
 \end_layout
 
-\begin_layout Plain Layout
-\align center
+\begin_layout Standard
 \begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="5">
 <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="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
 <row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+1
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+2
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+3
 \end_layout
 
 \end_inset
 </cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+4
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+5
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+111111 1111111 111111 111111111 11111 11111 1111
 \end_layout
 
 \end_inset
 </cell>
-</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+2222 22222 222222 222222222 2222222 22 22222
 \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
-sd
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
 
 \end_layout
 
 \end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
 \begin_layout Plain Layout
-
-
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
+333333 333333 333333 33333 3333333 333
 \end_layout
 
 \end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
-\end_layout
+</cell>
+</row>
+</lyxtabular>
 
 \end_inset
 
@@ -16997,7 +19138,7 @@ If you are using font sizes larger than the normal size, the table borders
 \backslash
 strut
 \series default
- in TeX code at the beginning of a table row.
+ in TeX-Code at the beginning of a table row.
  Table
 \begin_inset space ~
 \end_inset
@@ -18047,7 +20188,18 @@ Table Customization ! Cell/Column Format
 \end_layout
 
 \begin_layout Standard
-Calculating the required width for spanned columns as in section
+Calculating the required width for normal columns as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Table-Width-Calculation"
+
+\end_inset
+
+ or for spanned columns as described in section
 \begin_inset space ~
 \end_inset
 
@@ -18058,9 +20210,9 @@ reference "sub:Multicolumn-Calculations"
 
 \end_inset
 
- is very annoying if you have several tables with multicolumn cells.
+ is very annoying if you have several tables where a calculation is necessary.
  To make life easier, you can define a cell/column format in the preamble,
so that it can be used in all tables of the document.
that can be used in all tables of the document.
  The format is defined with the command
 \end_layout
 
@@ -18155,7 +20307,11 @@ M{width}
 \end_layout
 
 \begin_layout Standard
-as LaTeX-argument in the table dialog to create a multicolumn.
+as 
+\family sans
+LaTeX-argument
+\family default
+ in the table dialog to create a multicolumn.
 \end_layout
 
 \begin_layout Standard
@@ -18870,15 +21026,411 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Table-with-horizontal"
-
-\end_inset
+name "tab:Table-with-horizontal"
+
+\end_inset
+
+Table with 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick 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
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHline}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+To set the line thickness to 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt only for vertical lines, 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{V}{!{
+\backslash
+vrule width 1.5pt}}
+\end_layout
+
+\begin_layout Standard
+For Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-vertical"
+
+\end_inset
+
+ the LaTeX-argument
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+VcV
+\end_layout
+
+\begin_layout Standard
+was used for the last column and
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+Vc
+\end_layout
+
+\begin_layout Standard
+for the other columns.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-vertical"
+
+\end_inset
+
+Table with 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick 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="Vc">
+<column alignment="center" valignment="top" width="0" special="Vc">
+<column alignment="center" valignment="top" width="0" special="VcV">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Dashed Lines
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization ! Dashed Lines
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifarydshln
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the LaTeX-package 
+\series bold
+arydshln
+\series default
+ is installed.
+\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-with-dashed"
 
-Table with 1.5
-\begin_inset space \thinspace{}
 \end_inset
 
-pt thick horizontal lines
+Table with dashed lines
 \end_layout
 
 \end_inset
@@ -18889,35 +21441,55 @@ pt thick horizontal lines
 \begin_layout Plain Layout
 \align center
 \begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="5" columns="5">
 <features tabularvalignment="middle">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0" special=":c">
+<column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+a
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+c
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+e
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+h
 \end_layout
 
 \end_inset
@@ -18937,7 +21527,7 @@ sd
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+i
 \end_layout
 
 \end_inset
 \begin_inset Text
 
 \begin_layout Plain Layout
-
+j
 \end_layout
 
 \end_inset
 </cell>
 </row>
 <row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hdashline 
+\end_layout
+
+\end_inset
 
+k
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
+l
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+m
 \end_layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
-sd
+n
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+o
 \end_layout
 
 \end_inset
 </cell>
 </row>
-</lyxtabular>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cdashline{4-5}
+\end_layout
+
+\end_inset
+
+p
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+q
+\end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
+\begin_inset Text
+
+\begin_layout Plain Layout
+r
+\end_layout
 
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+s
 \end_layout
 
 \end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
 
-\begin_inset ERT
-status collapsed
+\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
+t
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHline}
+\begin_layout Plain Layout
+u
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+v
+\end_layout
 
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Plain Layout
+w
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+x
 \end_layout
 
-\begin_layout Standard
-\begin_inset VSpace bigskip
 \end_inset
+</cell>
+</row>
+</lyxtabular>
 
-To set the line thickness to 1.5
-\begin_inset space \thinspace{}
 \end_inset
 
-pt only for vertical lines, create the following column format in the document
- preamble, according to the description in section
-\begin_inset space ~
+
+\end_layout
+
 \end_inset
 
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Customized-Format"
+\end_layout
+
+\begin_layout Standard
+LyX does not natively support dashed lines, so you have to use TeX-Code.
+ As a prerequisite the LaTeX-package 
+\series bold
+arydshln
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! arydshln
+\end_layout
 
 \end_inset
 
-:
+ must be loaded in the document preamble with the command
 \end_layout
 
 \begin_layout Standard
@@ -19038,188 +21743,240 @@ reference "sub:Customized-Format"
 \series bold
 
 \backslash
-newcolumntype{V}{!{
-\backslash
-vrule width 1.5pt}}
+usepackage{arydshln}
 \end_layout
 
 \begin_layout Standard
-For Table
-\begin_inset space ~
+To make a vertical line dashed, enter the colon 
+\begin_inset Quotes eld
+\end_inset
+
+:
+\begin_inset Quotes erd
 \end_inset
 
+ together with the character for the horizontal alignment as LaTeX-argument
+ in the table cell dialog.
+\end_layout
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-vertical"
+\begin_layout Standard
+For a horizontal dashed line add the command
+\end_layout
 
-\end_inset
+\begin_layout Standard
 
- the LaTeX-argument
+\series bold
+
+\backslash
+hdashline
+\end_layout
+
+\begin_layout Standard
+in TeX-Code as first element of the first cell in the table row.
+\end_layout
+
+\begin_layout Standard
+For dashed multicolumn lines use the command
 \end_layout
 
 \begin_layout Standard
 
 \series bold
-VcV
+
+\backslash
+cdashline{line number
+\series default
+}
 \end_layout
 
 \begin_layout Standard
-was used for the last column and
+in TeX-Code as the first element of the first cell in the table row.
+ If you have for example a multicolumn spanning columns 2 to 4 and you want
+ to have a dashed line above, add the command
 \end_layout
 
 \begin_layout Standard
 
 \series bold
-Vc
+
+\backslash
+cdashline{2-4}
 \end_layout
 
 \begin_layout Standard
-for the other columns.
+as the first element of the first cell in the row of the multicolumn.
 \end_layout
 
 \begin_layout Standard
-\begin_inset Float table
-wide false
-sideways false
-status open
+\begin_inset VSpace bigskip
+\end_inset
 
-\begin_layout Plain Layout
-\begin_inset Caption
 
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-with-vertical"
+\end_layout
 
+\begin_layout Standard
+Table
+\begin_inset space ~
 \end_inset
 
-Table with 1.5
-\begin_inset space \thinspace{}
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-dashed"
+
 \end_inset
 
-pt thick vertical lines
-\end_layout
+ was created using 
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+:c
+\series default
 
+\begin_inset Quotes erd
 \end_inset
 
+ as LaTeX-argument of the third column.
+ The TeX-Code command 
+\series bold
 
-\end_layout
+\backslash
+hdashline
+\series default
+ was inserted in the first cell of the third row and the TeX-Code command
+\begin_inset Newline newline
+\end_inset
 
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="VcV">
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+\series bold
 
-\begin_layout Plain Layout
-sd
+\backslash
+cdashline{4-5}
+\series default
+ was inserted in the first cell of the fourth row.
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
 
 \end_layout
 
+\begin_layout Standard
+Tables with dashed lines can also be colored as shown by Table
+\begin_inset space ~
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
 
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Colored-table-with"
 
 \end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1pt}
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Note Note
+status collapsed
 
 \begin_layout Plain Layout
-sd
+thicker lines for better visualization of the line color
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
 
 \end_layout
 
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
 
 \begin_layout Plain Layout
 
+
+\backslash
+dashgapcolor{green}
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
 
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+color gaps between dashes green
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Plain Layout
-sd
+
 \end_layout
 
-\end_inset
-</cell>
-</row>
-</lyxtabular>
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
 
-\end_inset
+\begin_layout Plain Layout
 
 
+\backslash
+let
+\backslash
+myHdashline
+\backslash
+hdashline
 \end_layout
 
-\end_inset
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hdashline}
+\end_layout
 
+\begin_layout Plain Layout
 
+ {
+\backslash
+arrayrulecolor{red}
+\backslash
+myHdashline
+\backslash
+arrayrulecolor{black}}
 \end_layout
 
-\begin_layout Subsection
-Dashed Lines
-\begin_inset Index idx
+\end_inset
+
+
+\begin_inset Note Note
 status collapsed
 
 \begin_layout Plain Layout
-Table Customization ! Dashed Lines
+color horizontal, dashed lines red
 \end_layout
 
 \end_inset
@@ -19235,21 +21992,41 @@ status collapsed
 
 
 \backslash
-ifarydshln
+let
+\backslash
+myCdashline
+\backslash
+cdashline
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+cdashline}[1]
+\end_layout
+
+\begin_layout Plain Layout
+
+ {
+\backslash
+arrayrulecolor{yellow}
+\backslash
+myCdashline{#1}
+\backslash
+arrayrulecolor{black}}
 \end_layout
 
 \end_inset
 
 
 \begin_inset Note Note
-status open
+status collapsed
 
 \begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package 
-\series bold
-arydshln
-\series default
- is installed.
+color partial horizontal, dashed lines yellow
 \end_layout
 
 \end_inset
@@ -19259,7 +22036,7 @@ arydshln
 
 \begin_layout Standard
 \begin_inset Float table
-placement H
+placement h
 wide false
 sideways false
 status open
@@ -19270,11 +22047,11 @@ status open
 \begin_layout Plain Layout
 \begin_inset CommandInset label
 LatexCommand label
-name "tab:Table-with-dashed"
+name "tab:Colored-table-with"
 
 \end_inset
 
-Table with dashed lines
+Colored table with dashed lines
 \end_layout
 
 \end_inset
@@ -19287,13 +22064,13 @@ Table with dashed lines
 \begin_inset Tabular
 <lyxtabular version="3" rows="5" columns="5">
 <features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0" special=":c">
+<column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt" special=":c">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 </cell>
 </row>
 <row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
@@ -19403,6 +22180,19 @@ hdashline
 
 \end_inset
 
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolor{Gray}
+\end_layout
+
+\end_inset
+
 k
 \end_layout
 
 
 \end_inset
 </cell>
-<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
 \begin_inset Text
 
 \begin_layout Plain Layout
 \begin_inset Text
 
 \begin_layout Plain Layout
-x
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cellcolor{Maroon}
+\end_layout
+
+\end_inset
+
+i
 \end_layout
 
 \end_inset
 \end_layout
 
 \begin_layout Standard
-LyX does not natively support dashed lines, so you have to use TeX-Code.
- As a prerequisite the LaTeX-package 
-\series bold
-arydshln
-\series default
+\begin_inset ERT
+status collapsed
 
-\begin_inset Index idx
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+hdashline}{
+\backslash
+myHdashline}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! arydshln
+reset to default
 \end_layout
 
 \end_inset
 
- must be loaded in the document preamble with the command
+
 \end_layout
 
 \begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
 
-\series bold
 
 \backslash
-usepackage{arydshln}
+renewcommand{
+\backslash
+cdashline}{
+\backslash
+myCdashline}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+reset to default
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
-To make a vertical line dashed, enter the colon 
-\begin_inset Quotes eld
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+nodashgapcolor
+\end_layout
+
 \end_inset
 
-:
-\begin_inset Quotes erd
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+reset to default
+\end_layout
+
 \end_inset
 
- together with the character for the horizontal alignment as LaTeX-argument
- in the table cell dialog.
+
 \end_layout
 
 \begin_layout Standard
-For a horizontal dashed line add the command
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+reset to default
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
+The coloring of lines, columns and lines works as decribed in section
+\begin_inset space ~
+\end_inset
 
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
+
+\end_inset
+
+.
+ Coloring horizontal lines works analogically as described there as well,
+ one only needs to replace in the commands 
+\series bold
+
+\backslash
+myHlineC
+\series default
+ by 
+\series bold
+
+\backslash
+myHdashline
+\series default
+ and 
+\backslash
+
+\series bold
+hline
+\series default
+ by 
 \series bold
 
 \backslash
 hdashline
+\series default
+; so one uses the command
 \end_layout
 
 \begin_layout Standard
-in TeX-Code as first element of the first cell in the table row.
+
+\series bold
+
+\backslash
+let
+\backslash
+myHdashline
+\backslash
+hdashline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+hdashline}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHdashline
+\backslash
+arrayrulecolor{black}}
 \end_layout
 
 \begin_layout Standard
-For dashed multicolumn lines use the command
+To color 
+\series bold
+
+\backslash
+cdashline
+\series default
+, the command is
 \end_layout
 
 \begin_layout Standard
@@ -19628,15 +22578,55 @@ For dashed multicolumn lines use the command
 \series bold
 
 \backslash
-cdashline{line number
-\series default
-}
+let
+\backslash
+myCdashline
+\backslash
+cdashline
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+cdashline}[1]
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myCdashline{#1}
+\backslash
+arrayrulecolor{black}}
 \end_layout
 
 \begin_layout Standard
-in TeX-Code as the first element of the first cell in the table row.
- If you have for example a multicolumn spanning columns 2 to 4 and you want
- to have a dashed line above, add the command
+To get back the black line color, one needs to insert the following commands
+ as TeX-Code behind the table:
+\end_layout
+
+\begin_layout Standard
+For 
+\series bold
+
+\backslash
+hdashline
 \end_layout
 
 \begin_layout Standard
@@ -19644,62 +22634,117 @@ in TeX-Code as the first element of the first cell in the table row.
 \series bold
 
 \backslash
-cdashline{2-4}
+renewcommand{
+\backslash
+hdashline}{
+\backslash
+myHdashline}
 \end_layout
 
 \begin_layout Standard
-as the first element of the first cell in the row of the multicolumn.
+and for 
+\series bold
+
+\backslash
+cdashline
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
 
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+cdashline}{
+\backslash
+myCdashline}
+\end_layout
+
+\begin_layout Standard
+To color the gaps between the dashes the command
+\end_layout
 
+\begin_layout Standard
+
+\series bold
+
+\backslash
+dashgapcolor{color}
 \end_layout
 
 \begin_layout Standard
-Table
-\begin_inset space ~
-\end_inset
+can be used in front of a table as TeX-Code.
+ color is hereby the name of a defined color.
+ The command
+\end_layout
 
+\begin_layout Standard
 
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-dashed"
+\series bold
 
-\end_inset
+\backslash
+nodashgapcolor
+\end_layout
 
- was created using 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+unsets the changes made by 
+\series bold
 
+\backslash
+dashgapcolor
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
 
 \series bold
-:c
+\color none
+Note
+\series default
+: If there are multiple commands in a cell, the command of 
+\series bold
+arydshln
 \series default
+ needs to be the first one in the cell.
+ Therefore in cell 
+\emph on
+k
+\emph default
+ of Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Colored-table-with"
 
-\begin_inset Quotes erd
 \end_inset
 
- as LaTeX-argument of the third column.
- The TeX-Code command 
+ the command 
 \series bold
 
 \backslash
 hdashline
 \series default
- was inserted in the first cell of the third row and the TeX-Code command
-\begin_inset Newline newline
-\end_inset
-
+ is before 
 \series bold
 
 \backslash
-cdashline{4-5}
+rowcolor
 \series default
- was inserted in the first cell of the fourth row.
+.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -19709,13 +22754,14 @@ status open
 \begin_layout Plain Layout
 
 \series bold
+\color none
 Note:
 \series default
  The LaTeX-package 
 \series bold
 arydshln
 \series default
is apparently not compatible with the LaTeX-package 
must be loaded in the document preamble before the LaTeX-package 
 \series bold
 colortbl
 \series default
@@ -19727,21 +22773,9 @@ status collapsed
 LaTeX-packages ! colortbl
 \end_layout
 
-\end_inset
-
- that is used for colored tables in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Tables"
-
 \end_inset
 
 .
- That means colored tables cannot have dashed lines.
 \end_layout
 
 \end_inset
 
 \end_layout
 
+\begin_layout Standard
+For more information about dashed lines see the documentation of 
+\series bold
+arydshln
+\series default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "arydshln"
+
+\end_inset
+
+.
+\end_layout
+
 \begin_layout Chapter
 Floats
 \begin_inset CommandInset label
@@ -33524,7 +36573,7 @@ begin{window}[2,c,{
 \end_layout
 
 \begin_layout Standard
-as TeX Code at the beginning of the paragraph.
+as TeX-Code at the beginning of the paragraph.
  The first parameter in the bracket, here '2', defines the number of lines
  above the object, the second, here 'c', the position of the object.
  The positions 'l', 'c' and 'r' (for left, center, right) are possible.
@@ -33757,12 +36806,12 @@ small caps
 \series bold
 }
 \series default
-' as TeX Code behind it.
+' as TeX-Code behind it.
  At the end of the style there must be an opening brace '
 \series bold
 {
 \series default
-' as TeX Code.
+' as TeX-Code.
 \end_layout
 
 \begin_layout Standard
@@ -34635,7 +37684,7 @@ Beamer
 \family sans
 EndFrame
 \family default
- environment and in a subsequent paragraph a TeX Code box containing the
+ environment and in a subsequent paragraph a TeX-Code box containing the
  command 
 \series bold
 
@@ -40946,6 +43995,39 @@ LaTeX: A Document Preparation System.
  Addison-Wesley, second edition, 1994
 \end_layout
 
+\begin_layout Bibliography
+\labelwidthstring Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "arydshln"
+
+\end_inset
+
+Documentation of the LaTeX-package 
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "arydshln"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! arydshln
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Bibliography
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
@@ -41010,6 +44092,39 @@ LaTeX-packages ! caption
 \end_inset
 
 
+\end_layout
+
+\begin_layout Bibliography
+\labelwidthstring Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "diagbox"
+
+\end_inset
+
+Documentation of the LaTeX-package 
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "diagbox"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! diagbox
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Bibliography
@@ -41181,7 +44296,7 @@ LaTeX-packages ! KOMA-Script
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "listings"
+key "lettrine"
 
 \end_inset
 
@@ -41190,19 +44305,27 @@ Documentation of the LaTeX-package
 
 \begin_inset CommandInset href
 LatexCommand href
-name "listings"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
+name "lettrine"
+target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
 
 \end_inset
 
 
 \series default
+ and an 
+\begin_inset CommandInset href
+LatexCommand href
+name "example"
+target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
+
+\end_inset
+
 
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! listings
+LaTeX-packages ! lettrine
 \end_layout
 
 \end_inset
@@ -41214,7 +44337,7 @@ LaTeX-packages ! listings
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "marginnote"
+key "listings"
 
 \end_inset
 
@@ -41223,8 +44346,8 @@ Documentation of the LaTeX-package
 
 \begin_inset CommandInset href
 LatexCommand href
-name "marginnote"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
+name "listings"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
 
 \end_inset
 
@@ -41235,7 +44358,7 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/margi
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! marginnote
+LaTeX-packages ! listings
 \end_layout
 
 \end_inset
@@ -41247,7 +44370,7 @@ LaTeX-packages ! marginnote
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "lettrine"
+key "marginnote"
 
 \end_inset
 
@@ -41256,27 +44379,19 @@ Documentation of the LaTeX-package
 
 \begin_inset CommandInset href
 LatexCommand href
-name "lettrine"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+name "marginnote"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
 
 \end_inset
 
 
 \series default
- and an 
-\begin_inset CommandInset href
-LatexCommand href
-name "example"
-target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
-
-\end_inset
-
 
 \begin_inset Index idx
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! lettrine
+LaTeX-packages ! marginnote
 \end_layout
 
 \end_inset
@@ -41288,17 +44403,17 @@ LaTeX-packages ! lettrine
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "pstricks"
+key "pdfpages"
 
 \end_inset
 
-Web page of the LaTeX-package 
+Documentation of the LaTeX-package 
 \series bold
 
 \begin_inset CommandInset href
 LatexCommand href
-name "PSTricks"
-target "http://tug.org/PSTricks/"
+name "pdfpages"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
 
 \end_inset
 
@@ -41309,7 +44424,7 @@ target "http://tug.org/PSTricks/"
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! PSTricks
+LaTeX-packages ! pdfpages
 \end_layout
 
 \end_inset
@@ -41321,7 +44436,7 @@ LaTeX-packages ! PSTricks
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "sidecap"
+key "prettyref"
 
 \end_inset
 
@@ -41330,8 +44445,8 @@ Documentation of the LaTeX-package
 
 \begin_inset CommandInset href
 LatexCommand href
-name "sidecap"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
+name "prettyref"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
 
 \end_inset
 
@@ -41342,7 +44457,7 @@ target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! sidecap
+LaTeX-packages ! prettyref
 \end_layout
 
 \end_inset
@@ -41354,17 +44469,17 @@ LaTeX-packages ! sidecap
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "pdfpages"
+key "pstricks"
 
 \end_inset
 
-Documentation of the LaTeX-package 
+Web page of the LaTeX-package 
 \series bold
 
 \begin_inset CommandInset href
 LatexCommand href
-name "pdfpages"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+name "PSTricks"
+target "http://tug.org/PSTricks/"
 
 \end_inset
 
@@ -41375,7 +44490,7 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.p
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! pdfpages
+LaTeX-packages ! PSTricks
 \end_layout
 
 \end_inset
@@ -41387,7 +44502,7 @@ LaTeX-packages ! pdfpages
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "prettyref"
+key "refstyle"
 
 \end_inset
 
@@ -41396,8 +44511,8 @@ Documentation of the LaTeX-package
 
 \begin_inset CommandInset href
 LatexCommand href
-name "prettyref"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+name "refstyle"
+target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
 
 \end_inset
 
@@ -41408,7 +44523,7 @@ target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! prettyref
+LaTeX-packages ! refstyle
 \end_layout
 
 \end_inset
@@ -41420,7 +44535,7 @@ LaTeX-packages ! prettyref
 \labelwidthstring Bibliography
 \begin_inset CommandInset bibitem
 LatexCommand bibitem
-key "refstyle"
+key "sidecap"
 
 \end_inset
 
@@ -41429,8 +44544,8 @@ Documentation of the LaTeX-package
 
 \begin_inset CommandInset href
 LatexCommand href
-name "refstyle"
-target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
+name "sidecap"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
 
 \end_inset
 
@@ -41441,7 +44556,7 @@ target "http://mirrors.ctan.org/macros/latex/contrib/refstyle/refstyle.pdf"
 status collapsed
 
 \begin_layout Plain Layout
-LaTeX-packages ! refstyle
+LaTeX-packages ! sidecap
 \end_layout
 
 \end_inset