]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
EmbeddedObjects: add ligature breaks, spotted by Hartmut
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index dd8067d4619f72c0ab4a985490bd8807b61fa222..f30df0013a370a97d19cb46e9b3e7ea0cc1f690e 100644 (file)
@@ -1,14 +1,58 @@
 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 256
+\lyxformat 274
 \begin_document
 \begin_header
 \textclass scrbook
 \begin_preamble
-% provides missing characters,
-\usepackage{textcomp}
+% if pdflatex is used
+\usepackage{ifpdf}
+\ifpdf
+
+% set fonts for nicer pdf view
+\IfFileExists{lmodern.sty}
+ {\usepackage{lmodern}} % if it exists
+ {% if it exists not
+  \usepackage[scaled=0.92]{helvet}
+  \usepackage{mathptmx}
+  \usepackage{courier}
+ } % end if it exists not
+
+% link all cross references and URLs
+% in pdf output
+ \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
+  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
+  pdfpagelayout=OneColumn, pdfnewwindow=true,
+  pdfstartview=XYZ, plainpages=false, pdfpagelabels,
+  pdfauthor={LyX Team}, pdftex,
+  pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
+  pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
+  pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
+\else % if dvi or ps is produced
+
+ % link all cross references and URLs in DVI output
+ \usepackage[ps2pdf, colorlinks=true,
+  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
+
+\fi % end if pdflatex is used
+
+% that links to image floats jumps
+% to the beginning of the float and 
+% not to its caption
+\usepackage[figure]{hypcap}
+
+% the pages of the TOC are numbered roman
+% and a PDF-bookmark for the TOC is added
+\pagenumbering{roman}
+\let\myTOC\tableofcontents
+\renewcommand{\tableofcontents}{%
+ \pdfbookmark[1]{Contents}{}
+ \myTOC
+ \cleardoublepage
+ \pagenumbering{arabic}}
 
 % provides caption formatting
-\usepackage[labelfont={bf,sf}, tableposition=top]{caption}
+\usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
 
 % provides commands to set caption
 % beside tables/images
  \let\figure\MyFigure
  \let\endfigure\MyEndfigure}
 
-% use the marginnote package for margin notes
-\usepackage{marginnote}
-\let\marginpar\marginnote
-
 % enables calculation of values,
 \usepackage{calc}
 
 % speed up the longtable calculation
 \setcounter{LTchunksize}{100}
 
-% define a new reference format
-\newrefformat{fig}
- {Figure~float~\ref{#1} printed on page~\pageref{#1}}
-
-% if pdflatex is used
-\usepackage{ifpdf}
-\ifpdf
-
-% set fonts for nicer pdf view
-\IfFileExists{lmodern.sty}
- {\usepackage{lmodern}} % if it exists
- {% if it exists not
-  \usepackage[scaled=0.92]{helvet}
-  \usepackage{mathptmx}
-  \usepackage{courier}
- } % end if it exists not
-
-% link all cross references and URLs
-% in pdf output
- \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
-  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
-  pdfpagelayout=OneColumn, pdfnewwindow=true,
-  pdfstartview=XYZ, plainpages=false, pdfpagelabels,
-  pdfauthor={LyX Team}, pdftex,
-  pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
-  pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
-  pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
-\else % if dvi or ps is produced
-
- % link all cross references and URLs in DVI output
- \usepackage[ps2pdf, colorlinks=true,
-  linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
-
-\fi % end if pdflatex is used
-
-% that links to image floats jumps
-% to the beginning of the float and 
-% not to its caption
-\usepackage[figure]{hypcap}
-
 % used for colored tables
 \@ifundefined{textcolor}
  {\usepackage{color}}{}
 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
 \definecolor{lightgrey}{gray}{0.8}
 
-% used for tables with dashed lines
-\usepackage{arydshln}
-
 % used for multirows
 \usepackage{multirow}
 %\renewcommand{\multirowsetup}{\centering}
 \newcolumntype{W}{!{\color{green}\vline}}
 % ---
 
-% To be able to enter the characters ±, ° , · and × directly in LyX
-\DeclareInputText{177}{\ifmmode\pm\else\textpm\fi}
+% To be able to enter the characters ° and · directly in LyX
 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
-\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi}
-
-% the pages of the TOC are numbered roman
-% and a PDF-bookmark for the TOC is added
-\pagenumbering{roman}
-\let\myTOC\tableofcontents
-\renewcommand{\tableofcontents}{%
- \pdfbookmark[1]{Contents}{}
- \myTOC}
- \clearpage
- \pagenumbering{arabic}
-
-% increase link area for cross-references
-% and autoname them
-%\AtBeginDocument{\renewcommand{\ref}[1]
-% {\mbox{\autoref{#1}}}}
-%\newlength{\abc}
-%\settowidth{\abc}{\space}
-%\renewcommand{\equationautorefname}
-% {\hspace{-\abc}}
 
 % insert additional vertical space of
 % 1.5 mm between footnotes
 % redefine the greyed out note
 \renewenvironment{lyxgreyedout}
  {\textcolor{blue}\bgroup}{\egroup}
+
+% ------------------------------------
+% used to check for needed LaTeX packages
+\usepackage{ifthen}
+
+% check for package arydshln
+% used for tables with dashed lines
+\newboolean{arydshln}
+\IfFileExists{arydshln.sty}
+ {\usepackage{arydshln}
+  \setboolean{arydshln}{true}}
+ {\setboolean{arydshln}{false}}
+
+% check for package marginnote
+% used for margin notes
+\newboolean{marginnote}
+\IfFileExists{marginnote.sty}
+ {\usepackage{marginnote}
+  \let\marginpar\marginnote
+  \setboolean{marginnote}{true}}
+ {\setboolean{marginnote}{false}}
 \end_preamble
-\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
+\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
 \language english
 \inputencoding auto
 \font_roman default
 \bullet 2 2 35 -1
 \bullet 3 2 7 -1
 \tracking_changes false
-\output_changes true
+\output_changes false
 \author "usti" 
+\author "Bo Peng" 
+\author "muso" 
+\author "Uwe Stöhr" 
 \end_header
 
 \begin_body
 
 \begin_layout Title
-LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
+LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
+ manual
 \end_layout
 
 \begin_layout Author
@@ -260,7 +260,7 @@ status collapsed
 status collapsed
 
 \begin_layout Standard
-original author: Uwe Stöhr <uwestoehr@web.de>
+original author: Uwe Stöhr
 \end_layout
 
 \end_inset
@@ -282,6 +282,38 @@ Version 1.5.0-
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Note
+status open
+
+\begin_layout Standard
+To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
+\series bold
+arydshln
+\series default
+ and 
+\series bold
+marginnote
+\series default
+ must be installed.
+ If they are not installed you can export the document anyway but the sections
+ where the packages are required won't appear in the output.
+\end_layout
+
+\begin_layout Standard
+The latest PDF-version of this document can be found here:
+\newline
+
+\series bold
+http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Chapter
@@ -293,7 +325,13 @@ name "cha:Figures"
 
 
 \begin_inset LatexCommand index
-name "Figure"
+name "Figures"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Graphics|see{Figures}"
 
 \end_inset
 
@@ -303,7 +341,13 @@ name "Figure"
 \begin_layout Section
 Graphics Dialog
 \begin_inset LatexCommand index
-name "Figure ! Graphics Dialog"
+name "Figures ! Graphics Dialog"
+
+\end_inset
+
+
+\begin_inset LatexCommand label
+name "sec:Graphics-Dialog"
 
 \end_inset
 
@@ -353,6 +397,29 @@ reference "cha:Units-available-in"
 You can rotate images counter-clockwise by setting a rotation angle and
  a rotation origin.
  The image will also be rotated inside LyX.
+\newline
+Images can be scaled by using
+ a percentage value or by setting the width and height explicitly.
+ If you set only the width or only the height, the other size will be determined
+ automatically.
+ If you set both, then the image will be transformed to the given size,
+ possibly distorting it.
+ To prevent the image from distortion, use the option 
+\family sans
+Maintain aspect ratio
+\family default
+.
+ The image will then be scaled so that its width and height don't exceed
+ the specified dimensions.
+\newline
+Images can be opened in a program of your choice
+ when pressing the 
+\family sans
+Edit
+\family default
+ button.
+ The program can be set for every image format in the file format settings
+ in LyX's preferences.
 \end_layout
 
 \begin_layout Description
@@ -463,17 +530,22 @@ x.eps.bb
 \end_layout
 
 \begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
 
-\newpage
-This is an example image in PDF format
+
+\end_layout
+
+\begin_layout Standard
+This is an example image in EPS format
 \begin_inset Foot
 status collapsed
 
 \begin_layout Standard
-The PDF format is explained in appendix\InsetSpace ~
+Image formats are explained in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
-reference "sec:PDF"
+reference "sec:Image-Formats"
 
 \end_inset
 
@@ -488,7 +560,7 @@ reference "sec:PDF"
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-       filename mobius.eps
+       filename clipart/mobius.eps
        display color
        scale 70
        rotateOrigin center
@@ -505,7 +577,7 @@ This is the same image like the one above but in draft mode:
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-       filename mobius.eps
+       filename clipart/mobius.eps
        display color
        scale 70
        draft
@@ -525,13 +597,13 @@ name "sec:Figure-Floats"
 
 
 \begin_inset LatexCommand index
-name "Floats ! Figure Floats"
+name "Floats ! Figures"
 
 \end_inset
 
 
 \begin_inset LatexCommand index
-name "Figure ! Floats"
+name "Figures ! Floats"
 
 \end_inset
 
@@ -561,35 +633,26 @@ The toolbar button
 \family sans
 Insert\SpecialChar \menuseparator
 Float\SpecialChar \menuseparator
-Figure 
+Figure
 \family default
-inserts a float with the label 
+ inserts a float with a caption that has the label 
 \begin_inset Quotes eld
 \end_inset
 
-
-\series bold
 Figure\InsetSpace ~
 #:
-\series default
-
 \begin_inset Quotes erd
 \end_inset
 
-.
- Set the cursor behind this label, press Enter and insert the image as described
- above to get the caption printed below the image.
- This was done for Figure\InsetSpace ~
+ (# is the actual number).
+ You can insert the image above the caption, like in Figure\InsetSpace ~
 
 \begin_inset LatexCommand ref
 reference "fig:kill-plat"
 
 \end_inset
 
-.
- If you want the caption to be above the image, set the cursor at the end
- of the caption, press enter and insert the image.
- This was done in Figure\InsetSpace ~
+ or below the caption, like in Figure\InsetSpace ~
 
 \begin_inset LatexCommand ref
 reference "fig:escher"
@@ -616,7 +679,7 @@ status open
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-       filename platypus.eps
+       filename clipart/platypus.eps
        display color
        width 50col%
        rotateOrigin center
@@ -626,7 +689,10 @@ status open
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:kill-plat"
 
@@ -638,6 +704,11 @@ A severely distorted platypus in a float.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -646,7 +717,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:escher"
 
@@ -656,10 +730,15 @@ M.C.
  Escher on acid.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-       filename escher-lsd.eps
+       filename clipart/escher-lsd.eps
        display color
        scale 80
        rotateOrigin center
@@ -693,8 +772,8 @@ reference "fig:escher"
 
 \end_inset
 
- are an example of cross-referenced figures.
- Figures can be cross-referenced in the text by referencing their label.
+ are examples of referenced figures.
+ Figures can be referenced in the text by referencing their label.
  To do this insert a label in the caption using the menu 
 \family sans
 Insert\SpecialChar \menuseparator
@@ -741,14 +820,23 @@ above
 \end_inset
 
  at all.
+\newline
+Referencing is explained in detail in section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sec:Referencing-Floats"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
 Normally only one image is inserted to a figure float, but sometimes you
  might want to use two images with separate subcaptions.
- This can be set in the tab
+ This can be set in the tab 
 \family sans
- Extra\InsetSpace ~
+Extra\InsetSpace ~
 options
 \family default
  of the graphics dialog.
@@ -758,6 +846,16 @@ Subfigure
 \family default
  and enter the subcaption for the image in the caption field.
  Note that only the main caption of the float is added to the List of Figures.
+\newline
+Ref
+erencing subfigures is explained in section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sub:Referencing-Subfigures"
+
+\end_inset
+
+.
 \end_layout
 
 \begin_layout Standard
@@ -783,7 +881,7 @@ status open
 \hfill
 
 \begin_inset Graphics
-       filename escher-lsd.eps
+       filename clipart/escher-lsd.eps
        width 45col%
        subcaption
        subcaptionText "Undefinable structure"
@@ -794,11 +892,11 @@ status open
 \hfill
 
 \begin_inset Graphics
-       filename platypus.eps
+       filename clipart/platypus.eps
        lyxscale 60
        width 45col%
        subcaption
-       subcaptionText "Platypus"
+       subcaptionText "\label{fig:Platypus} Platypus"
 
 \end_inset
 
@@ -807,7 +905,10 @@ status open
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:Two-distorted-images"
 
@@ -819,6 +920,11 @@ Two distorted images.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
@@ -836,7 +942,7 @@ name "Image Formats"
 
 
 \begin_inset LatexCommand index
-name "Figure ! Image Formats"
+name "Figures ! Image Formats"
 
 \end_inset
 
@@ -980,8 +1086,8 @@ images consist of vectors and can therefore be scaled to any size
  presentations are always scaled by the video projector.
  Scaling is also useful for online documents to let the user zoom into diagrams.
 \newline
-S
-calable image formats can b
+W
+ell-known scalable image formats ar
 \begin_inset Quotes eld
 \end_inset
 
@@ -1418,10 +1524,10 @@ contents
 Table\InsetSpace ~
 Settings
 \family default
- Here you can set the horizontal alignment for the current row and the width
of the current column.
+ Here you can set the horizontal alignment and the width of the current
+ column.
  When you have set a width you can also adjust the vertical alignment of
- the current column.
+ the current row.
  A given width will allow the cell to have line breaks and multiple paragraphs
  of text, see section\InsetSpace ~
 
@@ -1767,6 +1873,24 @@ The toolbar has the following icons:
  sets the current cell or selection as a multicolumn
 \end_layout
 
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ For the output the vertical alignment of the first cell in a row is used
+ for all following cells in the row.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Section
 Edit Table Menu
 \begin_inset LatexCommand index
@@ -1828,7 +1952,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:a table float"
 
@@ -1837,6 +1964,11 @@ name "tab:a table float"
 A table float.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -2054,24 +2186,18 @@ Table
 \end_layout
 
 \begin_layout Standard
-The float appears as a collapsible box with the label 
+The float appears as a collapsible box with a caption that has the label
 \begin_inset Quotes eld
 \end_inset
 
-
-\series bold
 Table\InsetSpace ~
 #:
-\series default
-
 \begin_inset Quotes erd
 \end_inset
 
- inside it.
- The text following the label is the caption of the table.
- To insert a table to the the float set the cursor at the end of the caption
- text, press enter and insert the table.
- The caption is now printed above the table.
+ (# is the actual table number).
+ You can insert tables to the float above or below the caption.
 \end_layout
 
 \begin_layout Standard
@@ -2191,10 +2317,15 @@ reference
 \end_inset
 
 .
-\end_layout
+\newline
+Referencing is explained in detail in section\InsetSpace ~
 
-\begin_layout Standard
+\begin_inset LatexCommand ref
+reference "sec:Referencing-Floats"
+
+\end_inset
 
+.
 \end_layout
 
 \begin_layout Section
@@ -2295,24 +2426,17 @@ empty
 \emph default
 .
  In this context, first means first in this order: 
-\family sans
-Footer, Last\InsetSpace ~
-footer,
-\family default
 \family sans
 Header,
 \family default
  
 \family sans
 First\InsetSpace ~
-header.
+header, Footer, Last\InsetSpace ~
+footer.
 
 \family default
-\emph on
-\emph default
-See the following longtable to see how it works:
+ See the following longtable to see how it works:
 \end_layout
 
 \begin_layout Standard
@@ -4465,25 +4589,48 @@ end
 \end_inset
 
 
-\end_layout
+\begin_inset ERT
+status collapsed
 
-\begin_layout Subsection
-Footnotes in Longtables
-\begin_inset LatexCommand label
-name "sub:Footnotes-in-Longtables"
+\begin_layout Standard
+
+
+\backslash
+addtocounter{table}{-1}
+\end_layout
 
 \end_inset
 
 
-\begin_inset LatexCommand index
-name "Longtables ! Footnotes"
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Standard
+See greyed-out note in section 2.6.2 for an explanation of this command.
+\end_layout
 
 \end_inset
 
 
 \end_layout
 
-\begin_layout Standard
+\begin_layout Subsection
+Footnotes in Longtables
+\begin_inset LatexCommand label
+name "sub:Footnotes-in-Longtables"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Longtables ! Footnotes"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 Footnotes can be inserted to every longtable cell.
  They appear at the bottom of the page where the table cell with the footnote
  appears.
@@ -4509,34 +4656,34 @@ name "Longtables ! Captions"
 
 \begin_layout Standard
 A longtable cannot be put into a table float because floats can only be
- on one page.
Therefore the caption layout cannot be used for longtables.
+ on one page but the caption environment of floats can also be used for
+ longtables.
 \end_layout
 
 \begin_layout Standard
-To add a caption, a dirty hack is needed:
+As LyX does not yet fully support captions in longtables, a hack is needed
+ to create them:
 \end_layout
 
 \begin_layout Enumerate
 Create a longtable
+\family sans
+.
 \end_layout
 
 \begin_layout Enumerate
-Mark the first row an disable its upper line
+Mark the first row and disable its upper line.
 \end_layout
 
 \begin_layout Enumerate
-Insert the following command as ERT into the first table cell:
+Insert a caption via the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Caption
+\family default
+ into the first table cell.
 \newline
-
-\series bold
-
-\backslash
-caption[short title]{full title}
-\backslash
-
-\backslash
-%
+You can also add a short title for the caption.
 \end_layout
 
 \begin_layout Enumerate
@@ -4546,29 +4693,31 @@ Insert a
 
 
 \series bold
+
+\backslash
+
+\backslash
 %
 \series default
 
 \begin_inset Quotes erd
 \end_inset
 
- as ERT into every cell of the first row
+ as ERT behind the caption.
 \end_layout
 
 \begin_layout Standard
-The 
+A short title that will appear in the LOT instead of the full title.
+ The 
 \series bold
 
 \backslash
-caption
-\series default
- command is used like for normal captions, the short title that will appear
- in the LOT instead of the full title is optional.
- The 
-\series bold
+
+\backslash
 %
 \series default
- in the table cells omits the vertical line between the the cells.
+ behind the caption omits the vertical lines between the following cells
+ in the row.
  The first table row is now only a dummy row for the caption, the actual
  table starts with the second row.
 \end_layout
@@ -4591,18 +4740,15 @@ Here is a short longtable to see how it works:
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Caption
 
 \begin_layout Standard
+Longtable with caption
+\begin_inset OptArg
+status open
 
-
-\backslash
-caption[Longtable]{Longtable with caption}
-\backslash
-
-\backslash
-%
+\begin_layout Standard
+Longtable
 \end_layout
 
 \end_inset
@@ -4611,16 +4757,17 @@ caption[Longtable]{Longtable with caption}
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+
 \begin_inset ERT
 status collapsed
 
 \begin_layout Standard
 
+
+\backslash
+
+\backslash
 %
 \end_layout
 
@@ -4635,16 +4782,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -4653,17 +4790,16 @@ status collapsed
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
 \begin_layout Standard
 
-%
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Standard
 
 \end_layout
 
@@ -4673,16 +4809,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -4941,6 +5067,39 @@ status open
 
 \begin_layout Standard
 
+\series bold
+Note:
+\series default
+ The table number is increased for every longtable, also if you didn't set
+ a caption for it.
+ For this reason you could have the case that e.g.
+ Table\InsetSpace ~
+2.4 follows on Table\InsetSpace ~
+2.1 in the list of tables if there are two longtables
+ without captions.
+ To avoid this you can add the following command in ERT behind every longtable
+ without a caption:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+addtocounter{table}{-1}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
 \series bold
 Note:
 \series default
@@ -4987,21 +5146,17 @@ name "Longtables ! References"
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Caption
 
 \begin_layout Standard
-
-
-\backslash
-caption{Referenced longtable
-\end_layout
+Referenced longtable
+\begin_inset LatexCommand label
+name "tab:RefExample"
 
 \end_inset
 
 
-\begin_inset LatexCommand label
-name "tab:RefExample"
+\end_layout
 
 \end_inset
 
@@ -5011,7 +5166,7 @@ status collapsed
 
 \begin_layout Standard
 
-}
+
 \backslash
 
 \backslash
@@ -5029,16 +5184,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5047,18 +5192,8 @@ status collapsed
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
 \begin_layout Standard
 
-%
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \end_inset
@@ -5067,16 +5202,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5086,16 +5211,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5345,27 +5460,7 @@ asd
 \end_layout
 
 \begin_layout Standard
-To reference a longtable, insert a label into the 
-\series bold
-
-\backslash
-caption
-\series default
- command.
- This is done by splitting the ERT of the caption command.
- The part of the caption command before the last closing brace
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-caption[short title]{full title
-\end_layout
-
-\begin_layout Standard
-is in the first ERT box, the label is inserted behind it.
+To reference a longtable, insert a label into the caption.
  Note that you have to add the label prefix 
 \begin_inset Quotes eld
 \end_inset
@@ -5379,23 +5474,10 @@ tab:
 \end_inset
 
  manually in the label field.
- The second ERT box contains the rest of the 
-\backslash
-caption command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-}
-\backslash
-
-\backslash
-%
 \end_layout
 
 \begin_layout Standard
-and is inserted behind the label box, see Table\InsetSpace ~
+This is a reference to Table\InsetSpace ~
 
 \begin_inset LatexCommand ref
 reference "tab:RefExample"
@@ -5445,7 +5527,7 @@ The maximal width of of caption lines is defined by the length
 LTcapwidth
 \series default
 .
- It default value is 4\InsetSpace \thinspace{}
+ Its default value is 4\InsetSpace \thinspace{}
 in.
  To change it add the following command to your document preamble or as
  ERT into your document before the longtable that should be affected
@@ -5490,23 +5572,16 @@ The following tables show the difference:
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Caption
 
 \begin_layout Standard
-
-
-\backslash
-caption[caption with default width]{long full title with default width
-\end_layout
+long full title with default width long full title with default width long
+ full title with default width
+\begin_inset OptArg
+status collapsed
 
 \begin_layout Standard
-
-long full title with default width long full title with default width}
-\backslash
-
-\backslash
-%
+caption with default width
 \end_layout
 
 \end_inset
@@ -5515,16 +5590,17 @@ long full title with default width long full title with default width}
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+
 \begin_inset ERT
 status collapsed
 
 \begin_layout Standard
 
+
+\backslash
+
+\backslash
 %
 \end_layout
 
@@ -5539,16 +5615,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5557,17 +5623,16 @@ status collapsed
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
 \begin_layout Standard
 
-%
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Standard
 
 \end_layout
 
@@ -5577,16 +5642,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5864,53 +5919,41 @@ LTcapwidth}{5cm}
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
+\begin_inset Caption
+
+\begin_layout Standard
+long full title with width set to 5\InsetSpace \thinspace{}
+cm long full title with width set to
+ 5\InsetSpace \thinspace{}
+cm long full title with width set to 5\InsetSpace \thinspace{}
+cm
+\begin_inset OptArg
 status collapsed
 
 \begin_layout Standard
+caption with width\InsetSpace \thinspace{}
+=\InsetSpace \thinspace{}
+5\InsetSpace \thinspace{}
+cm
+\end_layout
 
+\end_inset
 
-\backslash
-caption[caption with width
-\backslash
-,=
-\backslash
-,15
-\backslash
-,cm]{long full title with width set to 5
-\backslash
-,cm
-\end_layout
-
-\begin_layout Standard
 
-long full title with width set to 15
-\backslash
-,cm long full title with width set to 5
-\backslash
-,cm}
-\backslash
-
-\backslash
-%
 \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 Standard
 \begin_inset ERT
 status collapsed
 
 \begin_layout Standard
 
+
+\backslash
+
+\backslash
 %
 \end_layout
 
@@ -5925,16 +5968,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5943,17 +5976,16 @@ status collapsed
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
 \begin_layout Standard
 
-%
 \end_layout
 
 \end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Standard
 
 \end_layout
 
@@ -5963,16 +5995,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -6219,6 +6241,9 @@ asd
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
 \begin_inset ERT
 status collapsed
 
@@ -6237,6 +6262,53 @@ LTcapwidth}{4in}
 \end_layout
 
 \begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ When the LaTeX-package 
+\series bold
+caption
+\series default
+
+\begin_inset LatexCommand index
+name "LaTeX-packages ! caption"
+
+\end_inset
+
+ is used, as in this document, the full page width is used for the caption
+ when you use the default value of 4\InsetSpace \thinspace{}
+in for 
+\series bold
+
+\backslash
+LTcapwidth
+\series default
+.
+ To get in this case exactly a 4\InsetSpace \thinspace{}
+in wide caption, you can either use a value
+ slightly different from 4.0\InsetSpace \thinspace{}
+in, e.g.
+ 3.99\InsetSpace \thinspace{}
+in, or the LaTeX-command 
+\series bold
+
+\backslash
+captionsetup{width=value}
+\series default
+ that is provided by the 
+\series bold
+caption
+\series default
+-package.
+\end_layout
+
+\end_inset
+
 
 \end_layout
 
@@ -6252,35 +6324,23 @@ name "Longtables ! Different Captions for Pages"
 
 \begin_layout Standard
 When the other captions should differ from the one of the first table page,
- insert the 
-\series bold
+ insert a caption with a non-empty short title in a dummy caption row marked
+ as first header.
+ The caption used for the other table pages is inserted as caption without
+ a short title in a dummy caption row that is marked as main header.
+ When this caption shouldn't include the table number, use the command
+\end_layout
 
-\backslash
-caption
-\series default
- command with a non-empty short title in a dummy caption row marked as first
- header.
- The caption used for the other table pages is inserted as 
-\series bold
+\begin_layout Standard
 
-\backslash
-caption
-\series default
- command without a short title in a dummy caption row that is marked as
- main header.
- When this caption shouldn't include the table number, use the command 
 \series bold
 
 \backslash
-caption*
-\series default
- instead of 
-\series bold
+caption*{caption text}
+\end_layout
 
-\backslash
-caption
-\series default
-.
+\begin_layout Standard
+instead of LyX's caption box.
  The label to reference the table is inserted into the caption of the first
  header.
  Table\InsetSpace ~
@@ -6307,21 +6367,27 @@ reference "tab:DiffCaptions"
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Caption
 
 \begin_layout Standard
+Example Phone List
+\begin_inset LatexCommand label
+name "tab:DiffCaptions"
 
+\end_inset
 
-\backslash
-caption[Example Phone List]{Example Phone List 
+
+\begin_inset OptArg
+status collapsed
+
+\begin_layout Standard
+Example Phone List
 \end_layout
 
 \end_inset
 
 
-\begin_inset LatexCommand label
-name "tab:DiffCaptions"
+\end_layout
 
 \end_inset
 
@@ -6331,7 +6397,7 @@ status collapsed
 
 \begin_layout Standard
 
-}
+
 \backslash
 
 \backslash
@@ -6349,16 +6415,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -6368,16 +6424,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -6478,16 +6524,6 @@ caption*{Continued Example Phone List}
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -6497,16 +6533,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -8502,22 +8528,27 @@ must be inserted as ERT at the beginning of the cell.
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Caption
 
 \begin_layout Standard
+Table with forced page break in table cell
+\begin_inset LatexCommand label
+name "tab:ForcedPagebreak"
+
+\end_inset
 
 
-\backslash
-caption[Table with forced page break in table cell]{Table with forced page
- break in table cell 
+\begin_inset OptArg
+status collapsed
+
+\begin_layout Standard
+Table with forced page break in table cell
 \end_layout
 
 \end_inset
 
 
-\begin_inset LatexCommand label
-name "tab:ForcedPagebreak"
+\end_layout
 
 \end_inset
 
@@ -8527,7 +8558,7 @@ status collapsed
 
 \begin_layout Standard
 
-}
+
 \backslash
 
 \backslash
@@ -8545,16 +8576,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -8564,16 +8585,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -8656,7 +8667,7 @@ status collapsed
 
 
 \backslash
-caption{Continued table with forced page break in table cell}
+caption*{Continued table with forced page break in table cell}
 \backslash
 
 \backslash
@@ -8674,16 +8685,6 @@ caption{Continued table with forced page break in table cell}
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -8693,16 +8694,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -8714,9 +8705,9 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-
 \series bold
- Example Phone List
+Example Phone List
 \end_layout
 
 \end_inset
@@ -9862,9 +9853,12 @@ name "Table ! Linebreaks"
 placement H
 wide false
 sideways false
-status collapsed
+status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-multiple"
 
@@ -9873,14 +9867,19 @@ name "tab:Table-with-multiple"
 Table with multiple lines in cells
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="3">
 <features>
 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
-<column alignment="center" valignment="middle" leftline="true" width="0.5cm">
-<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
+<column alignment="center" valignment="middle" leftline="true" width="0">
+<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
 <row topline="true">
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
@@ -10010,6 +10009,7 @@ reference "tab:Table-with-multiple"
  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
 cm and choose centered
  for the vertical and horizontal alignment.
+ The vertical alignment is used for all cells of the row.
  As our text is smaller than than 2.5\InsetSpace \thinspace{}
 cm, only one line will appear.
  To get two lines, we add a line break with the command
@@ -10029,14 +10029,6 @@ in ERT.
  to several lines.
 \end_layout
 
-\begin_layout Standard
-To center the text inside the two other cells of the first row vertically,
- right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
-cm and choose
- centered alignments.
- Then do the same for the third cell of the row.
-\end_layout
-
 \begin_layout Standard
 If you have a long word in a cell with a fixed width, it cannot be hyphenated
  by LaTeX if it is the first entry.
@@ -10067,11 +10059,15 @@ reference "tab:Table-with-and"
 
 \begin_layout Standard
 \begin_inset Float table
+placement h
 wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-and"
 
@@ -10080,6 +10076,11 @@ name "tab:Table-with-and"
 Table with and without hyphenation
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 
 \hfill
@@ -10088,8 +10089,8 @@ Table with and without hyphenation
 <lyxtabular version="3" rows="3" columns="3">
 <features>
 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
-<column alignment="center" valignment="middle" leftline="true" width="0.5cm">
-<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
+<column alignment="center" valignment="middle" leftline="true" width="0">
+<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
 <row topline="true">
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
 <lyxtabular version="3" rows="3" columns="3">
 <features>
 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
-<column alignment="center" valignment="middle" leftline="true" width="0.5cm">
-<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
+<column alignment="center" valignment="middle" leftline="true" width="0">
+<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
 <row topline="true">
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
@@ -10389,11 +10390,7 @@ abc
 \begin_inset Text
 
 \begin_layout Standard
-def
-\lang ngerman
-\lang english
-ghi
+def ghi
 \end_layout
 
 \end_inset
@@ -10536,7 +10533,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-centered"
 
@@ -10554,6 +10554,11 @@ Perfect multicolumn table
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -10561,11 +10566,11 @@ Perfect multicolumn table
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="3">
 <features>
-<column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
+<column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
 <column alignment="center" valignment="middle" leftline="true" width="0">
 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
 <row topline="true">
-<cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
+<cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
 \begin_inset Text
 
 \begin_layout Standard
@@ -10671,7 +10676,7 @@ reference "tab:Table-with-centered"
 
 \end_inset
 
-, mark the first two cells in the first row a 3×3 table and right-click
+, mark the first two cells in the first row of a 3×3 table and right-click
  on them.
  Now choose for this cell 
 \emph on
@@ -10705,7 +10710,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-without-half"
 
@@ -10723,6 +10731,11 @@ Imperfect multicolumn table
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -10863,8 +10876,8 @@ The needed given width
 \emph on
 n
 \emph default
- columns are spanned columns can be calculated, so that each column has
a total width of 
+ columns are spanned can be calculated, so that each column has a total
+ width of 
 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
 \end_inset
 
@@ -10985,25 +10998,13 @@ centering
 \begin_layout Standard
 
 \series bold
-|>{
+>{
 \backslash
 centering}m{1.25cm-6.2pt}
 \end_layout
 
 \begin_layout Standard
-The bar 
-\begin_inset Quotes eld
-\end_inset
-
-
-\series bold
-|
-\series default
-
-\begin_inset Quotes erd
-\end_inset
-
- at the beginning draws the border line and the command 
+The command 
 \series bold
 >{ }
 \series default
@@ -11021,9 +11022,9 @@ Although we have chosen centered alignment for the text of the multicolumn
 \begin_layout Standard
 
 \series bold
-|>{
+>{
 \backslash
-centering}m{2.5cm}|
+centering}m{2.5cm}
 \end_layout
 
 \begin_layout Subsection
@@ -11382,7 +11383,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Example-booktabs-table"
 
@@ -11391,6 +11395,11 @@ name "tab:Example-booktabs-table"
 Example booktabs-table
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -11476,20 +11485,7 @@ cmidrule(l){3-4}
 
 \end_inset
 
-Detector thickness [
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-textmu m
-\end_layout
-
-\end_inset
-
-]
+Detector thickness [µm]
 \end_layout
 
 \end_inset
@@ -11565,20 +11561,7 @@ Edge angle [°]
 \begin_inset Text
 
 \begin_layout Standard
-Spatial resolution [
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-textmu m
-\end_layout
-
-\end_inset
-
-]
+Spatial resolution [µm]
 \end_layout
 
 \end_inset
@@ -11708,20 +11691,7 @@ LSF-spatial resolution
 \begin_inset Text
 
 \begin_layout Standard
-in 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-textmu m
-\end_layout
-
-\end_inset
-
-
+in µm
 \end_layout
 
 \end_inset
@@ -12027,7 +11997,7 @@ reference "tab:Special-booktabs-table"
 \series bold
 
 \backslash
-moremidrules
+morecmidrules
 \end_layout
 
 \begin_layout Standard
@@ -12050,7 +12020,7 @@ cmidrule(r){2-2}
 \backslash
 cmidrule(l){3-4}
 \backslash
-moremidrules
+morecmidrules
 \backslash
 cmidrule{2-4}
 \end_layout
@@ -12066,7 +12036,7 @@ The command for the sixth row is
 \backslash
 midrule
 \backslash
-moremidrules
+morecmidrules
 \backslash
 cmidrule{3-4}
 \end_layout
@@ -12121,7 +12091,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Special-booktabs-table"
 
@@ -12130,6 +12103,11 @@ name "tab:Special-booktabs-table"
 Special booktabs-table
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -12235,20 +12213,7 @@ cmidrule{2-4}
 
 \end_inset
 
-Detector thickness [
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-textmu m
-\end_layout
-
-\end_inset
-
-]
+Detector thickness [µm]
 \end_layout
 
 \end_inset
@@ -12324,20 +12289,7 @@ Edge angle [°]
 \begin_inset Text
 
 \begin_layout Standard
-Spatial resolution [
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-textmu m
-\end_layout
-
-\end_inset
-
-]
+Spatial resolution [µm]
 \end_layout
 
 \end_inset
@@ -12480,20 +12432,7 @@ LSF-spatial resolution
 \begin_inset Text
 
 \begin_layout Standard
-in 
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-textmu m
-\end_layout
-
-\end_inset
-
-
+in µm
 \end_layout
 
 \end_inset
@@ -13330,10 +13269,10 @@ status open
 \begin_layout Standard
 
 \series bold
-Note: 
+Note:
 \series default
-The alignment of the table row content to the surrounding text line is not
- exact.
+ The alignment of the table row content to the surrounding text line is
not exact.
  The needed factor of the 
 \series bold
 
@@ -13388,7 +13327,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-colored-without"
 
@@ -13409,6 +13351,11 @@ Table without colortbl
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -13856,7 +13803,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-colored-using"
 
@@ -13877,6 +13827,11 @@ Table with colortbl
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -13884,7 +13839,7 @@ Table with colortbl
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="3">
 <features>
-<column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
+<column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
 <column alignment="center" valignment="top" width="0">
 <column alignment="center" valignment="top" width="0">
 <row>
@@ -14144,7 +14099,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-vertical-colored"
 
@@ -14153,14 +14111,19 @@ name "tab:Table-with-vertical-colored"
 Table with colored vertical lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="3">
 <features>
-<column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
 <column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
 <row topline="true">
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
@@ -14336,7 +14299,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-horizontal-colored"
 
@@ -14345,6 +14311,11 @@ name "tab:Table-with-horizontal-colored"
 Table with colored horizontal lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -14502,7 +14473,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-colored"
 
@@ -14511,14 +14485,19 @@ name "tab:Table-with-colored"
 Table with colored lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="3">
 <features>
-<column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
 <column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
+<column alignment="center" valignment="top" width="0" special="Wc">
+<column alignment="center" valignment="top" width="0" special="WcW">
 <row topline="true">
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
@@ -14721,7 +14700,28 @@ reference "sec:Formal-Tables"
  LyX will insert as default 0.5\InsetSpace \thinspace{}
 em space.
  For normal tables the inserted space will unfortunately destroy the vertical
- table lines as in the following table: 
+ table lines as in the following table:
+\begin_inset VSpace defskip
+\end_inset
+
+
+\newline
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+hspace*{0pt}
+\end_layout
+
+\end_inset
+
+
+\hfill
+
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="1">
 <features>
 \end_inset
 
 
+\hfill
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+hspace*{0pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset VSpace defskip
+\end_inset
+
+
 \newline
 So inserting space to the top of row for normal tables is only useful when
  you don't have vertical lines.
@@ -14782,13 +14801,32 @@ pt.
 
 \begin_layout Description
 Between\InsetSpace ~
-rows only has an effect when you have selected the whole table row
- before.
- The space is added between the current and the following row.
+rows adds space between the current and the following row.
  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
 em space.
  For normal tables the inserted space will unfortunately destroy the vertical
- table lines as in the following table: 
+ table lines as in the following table:
+\begin_inset VSpace defskip
+\end_inset
+
+
+\newline
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+hspace*{0pt}
+\end_layout
+
+\end_inset
+
+
+\hfill
+
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="1">
 <features>
@@ -14847,9 +14885,28 @@ mm space between row
 \end_inset
 
 
+\hfill
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+hspace*{0pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset VSpace defskip
+\end_inset
+
+
 \newline
-So inserting space to the top of row for normal tables is only useful when
you don't have vertical lines.
+So inserting space between rows for normal tables is only useful when you
+ don't have vertical lines.
 \end_layout
 
 \begin_layout Standard
@@ -14903,7 +14960,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-cells-of"
 
@@ -14912,6 +14972,11 @@ name "tab:Table-cells-of"
 Table cells of a column aligned with the decimal separator.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -15028,13 +15093,6 @@ This table was created with a 4×2 table.
 @{}l
 \end_layout
 
-\begin_layout Standard
-If you need a vertical line right beside the second column, use this LaTeX-argum
-ent instead: 
-\series bold
-@{}l|
-\end_layout
-
 \begin_layout Standard
 Table\InsetSpace ~
 
@@ -15055,7 +15113,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Several-table-cell"
 
@@ -15064,17 +15125,22 @@ name "tab:Several-table-cell"
 Several table cell alignments.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="6">
 <features>
 <column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
+<column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
 <column alignment="right" valignment="top" width="0">
 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
+<column alignment="right" valignment="top" width="0">
+<column alignment="left" valignment="top" width="0" special="@{}l">
 <row bottomline="true">
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
 \begin_inset Text
@@ -15407,14 +15473,22 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Alignments-when"
 
 \end_inset
 
 Alignments when LaTeX-package dcolumn is used.
- For the second and third alignment some tricks were used.
+ For all column alignments tricks have to be used to get the output.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -15422,9 +15496,9 @@ Alignments when LaTeX-package dcolumn is used.
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="3">
 <features>
-<column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
-<column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
-<column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
+<column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
+<column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
+<column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
 <row bottomline="true">
 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
 \begin_inset Text
@@ -15459,7 +15533,7 @@ units
 \begin_inset Text
 
 \begin_layout Standard
-12×24\InsetSpace \thinspace{}
+12x24\InsetSpace \thinspace{}
 bottles
 \end_layout
 
@@ -15469,7 +15543,7 @@ bottles
 \begin_inset Text
 
 \begin_layout Standard
-12×24\InsetSpace \thinspace{}
+12x24\InsetSpace \thinspace{}
 
 \begin_inset Formula $\mbox{bottles}$
 \end_inset
@@ -15483,7 +15557,20 @@ bottles
 \begin_inset Text
 
 \begin_layout Standard
-12×24~
+12
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+times 
+\end_layout
+
+\end_inset
+
+24~
 \begin_inset Formula $\mbox{bottles}$
 \end_inset
 
@@ -15498,7 +15585,7 @@ bottles
 \begin_inset Text
 
 \begin_layout Standard
-1024×768\InsetSpace \thinspace{}
+1024x768\InsetSpace \thinspace{}
 Pixels
 \end_layout
 
@@ -15508,7 +15595,7 @@ Pixels
 \begin_inset Text
 
 \begin_layout Standard
-1024×768\InsetSpace \thinspace{}
+1024x768\InsetSpace \thinspace{}
 
 \begin_inset Formula $\mbox{Pixels}$
 \end_inset
@@ -15522,7 +15609,20 @@ Pixels
 \begin_inset Text
 
 \begin_layout Standard
-1024×768~
+1024
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+times 
+\end_layout
+
+\end_inset
+
+768~
 \begin_inset Formula $\mbox{Pixels}$
 \end_inset
 
@@ -15537,7 +15637,7 @@ Pixels
 \begin_inset Text
 
 \begin_layout Standard
-32×6\InsetSpace \thinspace{}
+32x6\InsetSpace \thinspace{}
 cm
 \end_layout
 
@@ -15547,7 +15647,7 @@ cm
 \begin_inset Text
 
 \begin_layout Standard
-32×6\InsetSpace \thinspace{}
+32x6\InsetSpace \thinspace{}
 
 \begin_inset Formula $\mbox{cm}$
 \end_inset
 \begin_inset Text
 
 \begin_layout Standard
-32×6~
+32
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+times 
+\end_layout
+
+\end_inset
+
+6~
 \begin_inset Formula $\mbox{cm}$
 \end_inset
 
@@ -15696,7 +15809,7 @@ reference "sub:Multiple-Lines-in"
 \begin_layout Standard
 
 \series bold
-|M{width}
+M{width}
 \end_layout
 
 \begin_layout Standard
@@ -15775,7 +15888,7 @@ You can now enter
 \begin_layout Standard
 
 \series bold
-|S{width of multicolumn cell}{number of spanned columns}
+S{width of multicolumn cell}{number of spanned columns}
 \end_layout
 
 \begin_layout Standard
@@ -15850,7 +15963,7 @@ reference "tab:Table-using-user-defined"
 \begin_layout Standard
 
 \series bold
-|M{2.5cm}
+M{2.5cm}
 \end_layout
 
 \begin_layout Standard
@@ -15860,7 +15973,7 @@ for the first column and the multicolumn,
 \begin_layout Standard
 
 \series bold
-|K{red}|
+K{red}
 \end_layout
 
 \begin_layout Standard
@@ -15870,7 +15983,7 @@ for the the last column, and
 \begin_layout Standard
 
 \series bold
-|S{2.5cm}{2}
+S{2.5cm}{2}
 \end_layout
 
 \begin_layout Standard
@@ -15884,7 +15997,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-using-user-defined"
 
@@ -15893,15 +16009,20 @@ name "tab:Table-using-user-defined"
 Table using user-defined table formats
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="4">
 <features>
-<column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
-<column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
+<column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
+<column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
 <column alignment="center" valignment="middle" leftline="true" width="0">
-<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
+<column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
 <row topline="true">
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
@@ -15912,7 +16033,7 @@ verylongtablecellword
 
 \end_inset
 </cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
 \begin_inset Text
 
 \begin_layout Standard
@@ -16108,7 +16229,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-1.5"
 
@@ -16118,6 +16242,11 @@ Table with 1.5\InsetSpace \thinspace{}
 pt thick lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -16364,7 +16493,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-horizontal"
 
@@ -16374,6 +16506,11 @@ Table with 1.5\InsetSpace \thinspace{}
 pt thick horizontal lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -16562,7 +16699,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-vertical"
 
@@ -16572,14 +16712,19 @@ Table with 1.5\InsetSpace \thinspace{}
 pt thick vertical lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 <lyxtabular version="3" rows="3" columns="3">
 <features>
-<column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
-<column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
-<column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
+<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 topline="true">
 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
 \begin_inset Text
@@ -16687,6 +16832,37 @@ name "Table Customization ! Dashed Lines"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+ifarydshln
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Standard
+The following section will only be displayed when you have the LaTeX-package
+\series bold
+arydshln
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -16696,7 +16872,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-dashed"
 
@@ -16705,6 +16884,11 @@ name "tab:Table-with-dashed"
 Table with dashed lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -17153,6 +17337,60 @@ reference "sec:Colored-Tables"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Standard
+The following will be displayed when the LaTeX-package 
+\series bold
+arydshln
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the package 
+\series bold
+arydshln
+\series default
+ to see the contents of this section in the output.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Chapter
@@ -17233,41 +17471,14 @@ reference "sec:Referencing-Floats"
 To insert a float, use the menu 
 \family sans
 Insert\SpecialChar \menuseparator
-Floats
+Float
 \family default
 .
- This inserts a box with a label in the 
-\family sans
-Caption
-\family default
- environment
-\begin_inset Foot
-status collapsed
-
-\begin_layout Standard
-The 
+ This inserts the 
 \family sans
 Caption
 \family default
- environment is described in LyX's 
-\emph on
-Userguide
-\emph default
-.
-\end_layout
-
-\end_inset
-
- into your document.
- Every label ends with the character 
-\begin_inset Quotes eld
-\end_inset
-
-#
-\begin_inset Quotes erd
-\end_inset
-
- as placeholder for the float number in the output.
+ inset, a box with a label.
  The label will automatically be translated to the document language in
  the output.
  Behind the label you can insert the caption text.
@@ -17285,7 +17496,7 @@ reference "sec:Caption-Placement"
  by left-clicking on the box label.
  A closed float box looks like this: 
 \begin_inset Graphics
-       filename ../clipart/floatQt4.png
+       filename clipart/floatQt4.png
        scale 70
 
 \end_inset
@@ -17337,7 +17548,7 @@ Float
 \begin_layout Subsection
 Algorithm Floats
 \begin_inset LatexCommand index
-name "Floats ! Algorithm Floats"
+name "Floats ! Algorithms"
 
 \end_inset
 
@@ -17351,7 +17562,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "alg:Example-Algorithm-float"
 
@@ -17360,6 +17574,11 @@ name "alg:Example-Algorithm-float"
 Example Algorithm float
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout LyX-Code
 for I in 1..N loop
 \newline
@@ -17411,11 +17630,7 @@ mm vertical space was added
 \begin_layout Standard
 The float label is not automatically translated into the document language.
  If your document is not in English, you have to do this manually by adding
- the following line
-\series bold
-\series default
-to the document preamble
+ the following line to the document preamble
 \series bold
 :
 \end_layout
@@ -17655,7 +17870,7 @@ status open
 
 \begin_layout Standard
 \begin_inset Graphics
-       filename mobius.eps
+       filename clipart/mobius.eps
        display color
        width 40col%
        rotateOrigin center
@@ -17665,7 +17880,10 @@ status open
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:This-is-a"
 
@@ -17677,6 +17895,11 @@ This is a wrapped figure, and this is the brilliant caption that describes
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -17691,7 +17914,9 @@ Float
 \family default
  if the LaTeX-package 
 \series bold
-floatflt
+f\SpecialChar \textcompwordmark{}
+loatf\SpecialChar \textcompwordmark{}
+lt
 \series default
 
 \begin_inset LatexCommand index
@@ -17750,12 +17975,16 @@ ng text.
 \begin_layout Standard
 The LaTeX-package 
 \series bold
-floatflt
+f\SpecialChar \textcompwordmark{}
+loatf\SpecialChar \textcompwordmark{}
+lt
 \series default
  also supports table wrap floats, but they are not yet supported by LyX.
  If you need this, read the documentation of 
 \series bold
-floatflt
+f\SpecialChar \textcompwordmark{}
+loatf\SpecialChar \textcompwordmark{}
+lt
 \series default
  
 \begin_inset LatexCommand cite
@@ -17798,7 +18027,8 @@ name "LaTeX-packages ! wrapfig\\vspace{4mm}"
 
  instead of 
 \series bold
-floatf\SpecialChar \textcompwordmark{}
+f\SpecialChar \textcompwordmark{}
+loatf\SpecialChar \textcompwordmark{}
 lt
 \series default
 , but it is currently not supported by LyX.
@@ -17821,8 +18051,8 @@ In general:
 \begin_layout Itemize
 Wrap floats should not be placed in paragraphs that run over a page break.
  That means that wrap floats should better be inserted to the exact place
- when the document is nearly ready and you are able to estimate where page
- breaks will appear.
+ when the document is nearly finished and you are able to estimate where
page breaks will appear.
 \end_layout
 
 \begin_layout Itemize
@@ -17840,21 +18070,15 @@ Wrap floats are not allowed in section headings or tables.
 \end_layout
 
 \begin_layout Section
-Referencing Floats
+Float Numbering
 \begin_inset LatexCommand label
-name "sec:Referencing-Floats"
-
-\end_inset
-
-
-\begin_inset LatexCommand index
-name "Floats ! References"
+name "sec:Float-Numbering"
 
 \end_inset
 
 
 \begin_inset LatexCommand index
-name "References"
+name "Floats ! Numbering"
 
 \end_inset
 
@@ -17862,42 +18086,180 @@ name "References"
 \end_layout
 
 \begin_layout Standard
-To reference a float, insert a label into its caption using the menu 
-\family sans
-Insert\SpecialChar \menuseparator
-Label
-\family default
- or the toolbar button 
-\begin_inset Graphics
-       filename ../images/label-insert.xpm
-       scale 85
+Floats are usually numbered either independent from the sections the floats
+ are in, or in the scheme 
+\begin_inset Quotes eld
+\end_inset
 
+chapter.number
+\begin_inset Quotes erd
 \end_inset
 
-.
- A grey label box like this one: 
-\begin_inset Graphics
-       filename ../clipart/labelQt4.png
-       scale 85
+ or 
+\begin_inset Quotes eld
+\end_inset
 
+section.number
+\begin_inset Quotes erd
 \end_inset
 
- will be inserted and the label window pops up asking for the label text.
- LyX offers as text the first words of the caption with a prefix.
- The prefix depends on the float type, e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-for figure floats the prefix will
- be "
-\family sans
-fig:
-\family default
-".
+.
+ This depends on the used document class.
 \end_layout
 
 \begin_layout Standard
-The label is used as anchor and name for the reference.
- You can refer to the label using the menu 
-\family sans
+To change the section independent numbering, you can use this command in
+ the document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+thetable}{
+\backslash
+roman{table}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+thetable
+\series default
+ is the command that prints the table number, for figure floats, the command
+ would be 
+\series bold
+
+\backslash
+thefigure
+\series default
+.
+ The command 
+\series bold
+
+\backslash
+roman
+\series default
+ prints in the command above the table number as small roman number.
+\end_layout
+
+\begin_layout Standard
+To change the numbering scheme for example to 
+\begin_inset Quotes eld
+\end_inset
+
+subsection.number
+\begin_inset Quotes erd
+\end_inset
+
+, use this command in the preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+numberwithin{table}{subsection}
+\end_layout
+
+\begin_layout Standard
+To be able to use the command 
+\series bold
+
+\backslash
+numberwithin
+\series default
+, set in the tab 
+\family sans
+Math\InsetSpace ~
+Options
+\family default
+ in the document settings the option 
+\family sans
+Use\InsetSpace ~
+AMS\InsetSpace ~
+math\InsetSpace ~
+package
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+Please also have a look at section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sub:Footnote-Numbering"
+
+\end_inset
+
+ for the details and important notes about the numbering commands.
+\end_layout
+
+\begin_layout Section
+Referencing Floats
+\begin_inset LatexCommand label
+name "sec:Referencing-Floats"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Floats ! References"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "References"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To reference a float, insert a label into its caption using the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Label
+\family default
+ or the toolbar button 
+\begin_inset Graphics
+       filename ../images/label-insert.xpm
+       scale 85
+
+\end_inset
+
+.
+ A grey label box like this one: 
+\begin_inset Graphics
+       filename clipart/labelQt4.png
+       scale 85
+
+\end_inset
+
+ will be inserted and the label window pops up asking for the label text.
+ LyX offers as text the first words of the caption with a prefix.
+ The prefix depends on the float type, e.\InsetSpace \thinspace{}
+g.\InsetSpace ~
+for figure floats the prefix will
+ be "
+\family sans
+fig:
+\family default
+".
+\end_layout
+
+\begin_layout Standard
+The label is used as anchor and name for the reference.
+ You can refer to the label using the menu 
+\family sans
 Insert\SpecialChar \menuseparator
 Cross-reference
 \family default
@@ -17911,7 +18273,7 @@ Cross-reference
 .
  A grey cross-reference box like this one: 
 \begin_inset Graphics
-       filename ../clipart/referenceQt4.png
+       filename clipart/referenceQt4.png
        scale 85
 
 \end_inset
@@ -17954,9 +18316,9 @@ Back and you can use it to set the cursor
 \end_layout
 
 \begin_layout Subsection
-Cross-reference formats
+Cross-Reference Formats
 \begin_inset LatexCommand label
-name "sub:Cross-reference-formats"
+name "sub:Cross-Reference-Formats"
 
 \end_inset
 
@@ -18042,11 +18404,22 @@ reference "fig:Two-distorted-images"
 
 \begin_layout Description
 Formatted\InsetSpace ~
-reference: prints a self defined cross-reference format:
-\newline
+reference: prints a self defined cross-reference format.
+\begin_inset Note Greyedout
+status open
 
-\begin_inset LatexCommand prettyref
-reference "fig:Two-distorted-images"
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ This feature is only available when you have the LaTeX-package 
+\series bold
+prettyref
+\series default
+ installed.
+\end_layout
 
 \end_inset
 
@@ -18082,19 +18455,28 @@ Format
 \family default
  of the cross-reference window, that appear when you click on the cross-referenc
 e box.
-\begin_inset VSpace bigskip
+\end_layout
+
+\begin_layout Subsection
+Referencing Subfigures
+\begin_inset LatexCommand label
+name "sub:Referencing-Subfigures"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "References ! to Subfigures"
+
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
-To define a format for the 
-\family sans
-Formatted\InsetSpace ~
-reference
-\family default
- style, you have to use the following command in the document preamble:
+Currently referencing subfigures is not supported by LyX, so you have to
+ use LaTeX-commands.
+ The label is the created with the command
 \end_layout
 
 \begin_layout Standard
@@ -18102,17 +18484,12 @@ reference
 \series bold
 
 \backslash
-newrefformat{prefix}{text}
+label{fig:YourLabelName}
 \end_layout
 
 \begin_layout Standard
-This formatting command affects all references to labels with the same prefix.
- To get the format of the 
-\family sans
-Formatted\InsetSpace ~
-reference
-\family default
- example above, this command was used:
+that is directly inserted into the subfigure caption field.
+ To reference the label add this command in ERT
 \end_layout
 
 \begin_layout Standard
@@ -18120,8 +18497,12 @@ reference
 \series bold
 
 \backslash
-newrefformat{fig}
-\newline
+ref{fig:YourLabelName}
+\end_layout
+
+\begin_layout Standard
+to the position in your document where the reference should be placed.
+ Here is a reference to a subfigure: Subfigure\InsetSpace ~
 
 \begin_inset ERT
 status collapsed
@@ -18130,33 +18511,12 @@ status collapsed
 
 
 \backslash
-hphantom{ }
+ref{fig:Platypus}
 \end_layout
 
 \end_inset
 
-{Figure~float~
-\backslash
-ref{#1} printed on page~
-\backslash
-pageref{#1}}
-\end_layout
-
-\begin_layout Standard
-The tilde "~" is the LaTeX equivalent for the protected space.
- The command 
-\series bold
-
-\backslash
-ref{#1}
-\series default
- refers to the float number, the command 
-\series bold
-
-\backslash
-pageref{#1}
-\series default
- to the page number.
+.
 \end_layout
 
 \begin_layout Subsection
@@ -18273,12 +18633,11 @@ reference
  style, described in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
-reference "sub:Cross-reference-formats"
+reference "sub:Cross-Reference-Formats"
 
 \end_inset
 
 .
- That is the reason why it is not used in this document.
 \end_layout
 
 \end_inset
@@ -18398,6 +18757,27 @@ hyperref
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+\series bold
+hypcap
+\series default
+ has no effect for references to subfigures.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
@@ -18505,7 +18885,7 @@ page
 \end_layout
 
 \begin_layout Standard
-By default, each options has its own rules:
+By default, each option has its own rules:
 \end_layout
 
 \begin_layout Labeling
@@ -18857,6 +19237,16 @@ Rotated floats are always placed on its own page (or column, when you have
  a two-column document).
  They are normally rotated so that you can read them from the outside margin
  -- to the left on even pages, to the right on odd pages.
+ To force a certain rotation direction for all pages, you can add either
+ the option 
+\series bold
+figuresleft
+\series default
+ or 
+\series bold
+figuresright
+\series default
+ to the document class options.
 \end_layout
 
 \begin_layout Standard
@@ -18894,7 +19284,10 @@ wide false
 sideways true
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Rotated-table"
 
@@ -18903,6 +19296,11 @@ name "tab:Rotated-table"
  Rotated table
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -19025,7 +19423,7 @@ Figure #:
 \end_inset
 
  followed by the caption text.
- The number sign 
 \begin_inset Quotes eld
 \end_inset
 
@@ -19033,9 +19431,9 @@ Figure #:
 \begin_inset Quotes erd
 \end_inset
 
- is substituted in the printed output by the actual reference number.
+ is the actual reference number.
  By default the label and the number are in the same font as the caption
- text and a colon follows the number to divide then label from the text.
+ text and a colon follows the number to divide the label from the text.
  This caption format is not suitable for all document formats.
  
 \end_layout
@@ -19155,6 +19553,42 @@ captionsetup[figure]
 captionsetup[table]{labelfont={bf,sf}}
 \end_layout
 
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ The option 
+\series bold
+tableposition=top
+\series default
+ has no effect when a 
+\series bold
+koma-script
+\series default
+
+\begin_inset LatexCommand index
+name "LaTeX-packages ! koma-script"
+
+\end_inset
+
+ document class is used.
+ In this case the document class option 
+\series bold
+tablecaptionabove
+\series default
+ must be used.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 For more information about the package 
 \series bold
@@ -19170,8 +19604,63 @@ key "caption,caption-de"
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+To change the label name from e.g.
+\begin_inset Quotes eld
+\end_inset
+
+Figure
+\begin_inset Quotes erd
+\end_inset
+
+ to 
+\begin_inset Quotes eld
+\end_inset
+
+Image
+\begin_inset Quotes erd
+\end_inset
+
+ use this preamble command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+fnum@figure}{Image~
+\backslash
+thefigure}
+\end_layout
+
+\begin_layout Standard
+where 
+\series bold
+
+\backslash
+thefigure
+\series default
+ inserts the figure number and
+\series bold
+\begin_inset Quotes eld
+\end_inset
+
+~
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ creates a protected space.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
 
 If you are using a 
 \series bold
@@ -19286,7 +19775,7 @@ status open
 \begin_layout Standard
 \align center
 \begin_inset Graphics
-       filename mobius.eps
+       filename clipart/mobius.eps
        lyxscale 50
        scale 50
 
@@ -19295,7 +19784,10 @@ status open
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:This-is-an-fig"
 
@@ -19309,6 +19801,11 @@ This is an example figure caption that is longer than one line to show the
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -19335,7 +19832,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:This-is-an-tab"
 
@@ -19346,6 +19846,11 @@ This is an example table caption that is longer than one line to show the
  Here the standard caption format for tables in this document is used.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -20100,7 +20605,7 @@ status open
 
 \begin_layout Standard
 \begin_inset Graphics
-       filename escher-lsd.eps
+       filename clipart/escher-lsd.eps
        scale 75
 
 \end_inset
@@ -20108,7 +20613,10 @@ status open
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:cap-beside-fig"
 
@@ -20120,6 +20628,11 @@ This is a caption beside a figure.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -20144,7 +20657,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:cap-beside-tab"
 
@@ -20153,6 +20669,11 @@ name "tab:cap-beside-tab"
 This is a caption beside a table.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="5">
@@ -20399,7 +20920,7 @@ status open
 
 \begin_layout Standard
 \begin_inset Graphics
-       filename escher-lsd.eps
+       filename clipart/escher-lsd.eps
        scale 75
 
 \end_inset
@@ -20407,7 +20928,10 @@ status open
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:cap-beside-fig-2"
 
@@ -20419,6 +20943,11 @@ This is a vertically centered caption beside a figure.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -20446,7 +20975,7 @@ name "sec:Listings-of-Floats"
 
 
 \begin_inset LatexCommand index
-name "Floats ! Listings"
+name "Floats ! Float Lists"
 
 \end_inset
 
@@ -20553,7 +21082,7 @@ Insert\SpecialChar \menuseparator
 Note
 \family default
 .
- There are three types of notes:
+ There are five types of notes:
 \end_layout
 
 \begin_layout Description
@@ -20565,7 +21094,7 @@ Note This note type is for internal notes that won't appear in the output.
 \newline
 
 \begin_inset Graphics
-       filename ../clipart/LyXNoteImageQt4.png
+       filename clipart/LyXNoteImageQt4.png
        display none
        scale 85
 
@@ -20599,7 +21128,7 @@ LaTeX (pdflatex) / LaTeX (plain)
 \newline
 
 \begin_inset Graphics
-       filename ../clipart/CommentNoteImageQt4.png
+       filename clipart/CommentNoteImageQt4.png
        display none
        scale 85
 
@@ -20627,7 +21156,7 @@ Out This note will appear in the output as grey text.
 \newline
 
 \begin_inset Graphics
-       filename ../clipart/GreyedOutNoteImageQt4.png
+       filename clipart/GreyedOutNoteImageQt4.png
        display none
        scale 85
 
@@ -20731,7 +21260,7 @@ Framed This note will appear in the output as framed text.
 \newline
 
 \begin_inset Graphics
-       filename ../clipart/FramedNoteImageQt4.png
+       filename clipart/FramedNoteImageQt4.png
        display none
        scale 85
 
@@ -20776,7 +21305,7 @@ Shaded This note will appear in the output with red background color.
 \newline
 
 \begin_inset Graphics
-       filename ../clipart/ShadedNoteImageQt4.png
+       filename clipart/ShadedNoteImageQt4.png
        display none
        scale 85
 
@@ -20823,17 +21352,17 @@ LyX\InsetSpace ~
 Note
 \family default
  is inserted.
- You can switch between the three note types by right-clicking on the note-box.
+ You can switch between the five note types by right-clicking on the note-box.
  
 \family roman
 \series medium
 \bar no
 If you want to turn existing text into a note, mark it and click on the
- note 
+ note
 \family default
 \series default
 \bar default
-toolbar 
+ toolbar 
 \family roman
 \series medium
 \bar no
@@ -21144,11 +21673,17 @@ status open
 \begin_layout Standard
 
 \color yellow
-This is yellow text in a 
+This is yellow text in a
+\color none
 \family sans
+\color yellow
 Shaded
 \family default
- note with darkgreen background.
+\color none
+\color yellow
+note with darkgreen background.
 \end_layout
 
 \end_inset
@@ -21222,28 +21757,28 @@ Footnote
 \family roman
 \series medium
 \bar no
-You'll see 
+You'll see
 \family default
 \series default
 \bar default
-then the following footnote-box: 
+ then the following footnote-box: 
 \begin_inset Graphics
-       filename ../clipart/footnoteQt4.png
+       filename clipart/footnoteQt4.png
        scale 80
 
 \end_inset
 
-
 \family roman
 \series medium
 \bar no
- where you can enter the footnote text.
+where you can enter the footnote text.
  If you want to turn existing text into a footnote, mark it and click on
- the footnote 
+ the footnote
 \family default
 \series default
 \bar default
-toolbar 
+ toolbar 
 \family roman
 \series medium
 \bar no
@@ -21325,48 +21860,12 @@ reference "sec:Referencing-Floats"
 \newline
 This is a cross-reference of Footnote\InsetSpace ~
 
-\begin_inset LatexCommand prettyref
+\begin_inset LatexCommand ref
 reference "foot:This-is-an"
 
 \end_inset
 
 .
-\newline
-
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Standard
-
-\series bold
-Note:
-\series default
- LyX doesn't provide a prefix for labels in footnotes, so you have to insert
- e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-the prefix 
-\family sans
-
-\begin_inset Quotes eld
-\end_inset
-
-foot:
-\family default
-
-\begin_inset Quotes erd
-\end_inset
-
- manually when you want to use the reference style 
-\family sans
-Formatted\InsetSpace ~
-reference
-\family default
-.
-\end_layout
-
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -21484,106 +21983,6 @@ name "Footnotes ! Numbering"
 \end_inset
 
 
-\end_layout
-
-\begin_layout Standard
-If you want to have footnotes numbered in the scheme 
-\begin_inset Quotes eld
-\end_inset
-
-chapter.footnote
-\begin_inset Quotes erd
-\end_inset
-
-, add the following command to your document preamble:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-numberwithin{footnote}{chapter}
-\end_layout
-
-\begin_layout Standard
-To be able to use the command 
-\series bold
-
-\backslash
-numberwithin
-\series default
-, set in the tab 
-\family sans
-Math\InsetSpace ~
-Options
-\family default
- in the document settings the option 
-\family sans
-Use\InsetSpace ~
-AMS\InsetSpace ~
-math\InsetSpace ~
-package
-\family default
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-numberwithin{footnote}{chapter}
-\end_layout
-
-\end_inset
-
-This is another example footnote:
-\series bold
-
-\begin_inset Foot
-status open
-
-\begin_layout Standard
-This is a footnote numbered in the scheme 
-\begin_inset Quotes eld
-\end_inset
-
-chapter.footnote
-\begin_inset Quotes erd
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
-
-\series default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-
-\backslash
-numberwithin{footnote}{part}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
 \end_layout
 
 \begin_layout Standard
@@ -21728,10 +22127,8 @@ status open
 
 \series bold
 Note:
-\series medium
 \series default
-You can only number 26 footnotes with Latin letters, because this numbering
+ You can only number 26 footnotes with Latin letters, because this numbering
  is limited to single letters.
 \end_layout
 
@@ -21773,24 +22170,23 @@ roman
  in the command above.
 \end_layout
 
-\begin_layout Subsection
-Footnote Placement
-\begin_inset LatexCommand index
-name "Footnotes ! Placement"
-
+\begin_layout Standard
+\begin_inset VSpace bigskip
 \end_inset
 
 
 \end_layout
 
 \begin_layout Standard
-If you have several footnotes in one page, they appear without vertical
- space between them at the bottom of the page.
- To make them better readable you can e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
-add 1.5\InsetSpace \thinspace{}
-mm space with the following
- preamble command:
+If you want to have footnotes numbered in the scheme 
+\begin_inset Quotes eld
+\end_inset
+
+chapter.footnote
+\begin_inset Quotes erd
+\end_inset
+
+, add the following command to your document preamble:
 \end_layout
 
 \begin_layout Standard
@@ -21798,9 +22194,172 @@ mm space with the following
 \series bold
 
 \backslash
-let
-\backslash
-myFoot
+numberwithin{footnote}{chapter}
+\end_layout
+
+\begin_layout Standard
+To be able to use the command 
+\series bold
+
+\backslash
+numberwithin
+\series default
+, set in the tab 
+\family sans
+Math\InsetSpace ~
+Options
+\family default
+ in the document settings the option 
+\family sans
+Use\InsetSpace ~
+AMS\InsetSpace ~
+math\InsetSpace ~
+package
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+numberwithin{footnote}{chapter}
+\end_layout
+
+\end_inset
+
+This is another example footnote:
+\series bold
+
+\begin_inset Foot
+status open
+
+\begin_layout Standard
+This is a footnote numbered in the scheme 
+\begin_inset Quotes eld
+\end_inset
+
+chapter.footnote
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+arabic{footnote}}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+\series bold
+
+\backslash
+numberwithin
+\series default
+ always prints out the footnote number as arabic number; previous redefinitions
+ to get non-arabic numbers are overwritten.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+So to get for example the scheme 
+\begin_inset Quotes eld
+\end_inset
+
+chapter.
+\backslash
+Roman{footnote}
+\begin_inset Quotes erd
+\end_inset
+
+, use this command instead of 
+\series bold
+
+\backslash
+numberwithin
+\series default
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+thechapter.
+\backslash
+Roman{footnote}}
+\end_layout
+
+\begin_layout Subsection
+Footnote Placement
+\begin_inset LatexCommand index
+name "Footnotes ! Placement"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you have several footnotes in one page, they appear without vertical
+ space between them at the bottom of the page.
+ To make them better readable you can e.\InsetSpace \thinspace{}
+g.\InsetSpace ~
+add 1.5\InsetSpace \thinspace{}
+mm space with the following
+ preamble command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myFoot
 \backslash
 footnote
 \newline
@@ -21879,7 +22438,7 @@ framebox{
 
 
 \begin_inset Graphics
-       filename ../clipart/without_fntright.pdf
+       filename clipart/without_fntright.pdf
        width 100col%
 
 \end_inset
@@ -21898,7 +22457,10 @@ status collapsed
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:Standard-footnote-placement"
 
@@ -21910,6 +22472,11 @@ Standard footnote placement in two-column documents.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -21934,7 +22501,7 @@ framebox{
 
 
 \begin_inset Graphics
-       filename ../clipart/with_fntright.pdf
+       filename clipart/with_fntright.pdf
        width 100col%
 
 \end_inset
@@ -21953,7 +22520,10 @@ status collapsed
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:Footnote-placement-in"
 
@@ -21969,6 +22539,11 @@ ftnright
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -22061,7 +22636,7 @@ framebox{
 
 
 \begin_inset Graphics
-       filename ../clipart/endnotes.pdf
+       filename clipart/endnotes.pdf
 
 \end_inset
 
@@ -22079,7 +22654,10 @@ status collapsed
 
 \end_layout
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "fig:Endnotes----footnotes"
 
@@ -22092,6 +22670,11 @@ Endnotes -- footnotes are printed in a separate paragraph at the end of
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -22158,9 +22741,9 @@ theendnote
 \series bold
 
 \backslash
-@addtoreset 
+@addtoreset
 \series default
-as described in section\InsetSpace ~
+ as described in section\InsetSpace ~
 
 \begin_inset LatexCommand ref
 reference "sub:Footnote-Numbering"
@@ -22262,19 +22845,13 @@ Note
 \end_inset
 
 .
- A
-\family roman
-\series medium
-\family default
-\series default
-grey
+ A grey 
 \family roman
 \series medium
- box with the 
+box with the
 \family default
 \series default
-red 
+ red 
 \family roman
 \series medium
 label 
@@ -22520,6 +23097,44 @@ Note:
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+ifmarginnote
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Standard
+The following section will only be displayed when you have the LaTeX-package
+\series bold
+marginnote
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -22586,10 +23201,10 @@ reference "tab:Units"
 
 .
  A negative value shifts the note up, a positive value shifts it down.
-
 \family roman
 \series medium
- For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
+For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
 cm with
  the ERT-command 
 \begin_inset Quotes eld
@@ -22714,10 +23329,10 @@ The text of this margin note is centered.
 
 \end_inset
 
+
 \family default
 \series default
-The default is
+ The default is
 \end_layout
 
 \begin_layout Standard
@@ -22979,7 +23594,7 @@ myMarginpar{#1}}
 \series default
 
 \begin_inset Note Note
-status open
+status collapsed
 
 \begin_layout Standard
 The margin note format is changed only for this example.
@@ -22990,26 +23605,84 @@ The margin note format is changed only for this example.
 
 \end_layout
 
-\begin_layout Chapter
-Boxes
-\end_layout
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
 
-\begin_layout Section
-Introduction
-\begin_inset LatexCommand index
-name "Boxes ! Introduction"
+\begin_layout Standard
+
+
+\backslash
+else
+\end_layout
 
 \end_inset
 
 
-\end_layout
+\begin_inset Note Note
+status open
 
 \begin_layout Standard
-Boxes are used to format a block of text.
- Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
-
-\begin_inset LatexCommand ref
-reference "sec:Minipages"
+The following will be displayed when the LaTeX-package 
+\series bold
+marginnote
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the LaTeX-package 
+\series bold
+marginnote
+\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 Standard
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\end_layout
+
+\begin_layout Chapter
+Boxes
+\end_layout
+
+\begin_layout Section
+Introduction
+\begin_inset LatexCommand index
+name "Boxes ! Introduction"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Boxes are used to format a block of text.
+ Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sec:Minipages"
 
 \end_inset
 
@@ -23057,7 +23730,7 @@ Box (Minipage)
 \family default
 : 
 \begin_inset Graphics
-       filename ../clipart/BoxInsetDefaultQt4.png
+       filename clipart/BoxInsetDefaultQt4.png
        scale 85
 
 \end_inset
@@ -25461,9 +26134,10 @@ blue
 cyan
 \family default
 \series bold
-, 
-\family sans
+,
 \series default
+\family sans
 green
 \family default
 , 
@@ -26046,224 +26720,1626 @@ LinuxDoc
 \begin_inset Quotes erd
 \end_inset
 
-.
+.
+\end_layout
+
+\begin_layout Standard
+You cannot change the style of the link text.
+ The text of the 
+\family sans
+Name
+\family default
+ field will have the default text style of the document while the text of
+ the 
+\family sans
+URL
+\family default
+ field will have the style 
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+Typewriter
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+When you use the LaTeX-package 
+\series bold
+hyperref
+\series default
+
+\begin_inset LatexCommand index
+name "LaTeX-packages ! hyperref"
+
+\end_inset
+
+ to link cross-references in the output, URLs will automatically become
+ clickable hyperlinks in DVI and PDF-output.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ When you use the following characters: "%", "#", "^", you have to write
+ them with a preceding backslash, e.\InsetSpace \thinspace{}
+g.\InsetSpace ~
+
+\begin_inset Quotes eld
+\end_inset
+
+
+\backslash
+#
+\begin_inset Quotes erd
+\end_inset
+
+.
+ URLs must not end with a backslash.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+To create real hyperlinks without the force to write the link location to
+ the text, you can use the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+href{link location}{link text}
+\end_layout
+
+\begin_layout Standard
+in ERT.
+ To get for example a link to LyX's web page, write the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+href{http://www.lyx.org}{
+\end_layout
+
+\begin_layout Standard
+in ERT.
+ Insert after the command the link text 
+\begin_inset Quotes eld
+\end_inset
+
+LyX's homepage
+\begin_inset Quotes erd
+\end_inset
+
+ as normal text followed by a closing brace 
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+}
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ in ERT.
+ This is the result: 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+href{http://www.lyx.org}{
+\end_layout
+
+\end_inset
+
+LyX's homepage
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To link to email addresses, add the prefix 
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+mailto:
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ to the link location:
+\newline
+Email to 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
+\end_layout
+
+\end_inset
+
+lyx-docs mailing list
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Using 
+\series bold
+
+\backslash
+href
+\series default
+ instead of LyX's URL box has the advantage that you can specify the text
+ style of the link text like for all other text parts.
+ You can therefore set hyphenation points and forced linebreaks to have
+ long link text broken at the page margin.
+ You are furthermore able to change the text style for all URLs in your
+ document with an option in 
+\series bold
+hyperref
+\series default
+'s load command and the restrictions mentioned above doesn't apply for 
+\series bold
+
+\backslash
+href
+\series default
+.
+\end_layout
+
+\begin_layout Chapter
+External Stuff
+\begin_inset LatexCommand index
+name "External Stuff"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+With the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File
+\family default
+ you can insert external material to your document.
+ This can be:
+\end_layout
+
+\begin_layout Description
+LyX\InsetSpace ~
+Document Another LyX document; its content is directly inserted to your
+ document.
+\end_layout
+
+\begin_layout Description
+Plain\InsetSpace ~
+Text A text document; every of its text lines is inserted to your document
+ as own paragraph.
+\end_layout
+
+\begin_layout Description
+Plain\InsetSpace ~
+Text,\InsetSpace ~
+Join\InsetSpace ~
+Lines A text document; its text lines are inserted as they
+ are.
+ Empty text lines creates a new paragraph in your document.
+\end_layout
+
+\begin_layout Description
+External\InsetSpace ~
+Material Files in various formats.
+\end_layout
+
+\begin_layout Description
+Child\InsetSpace ~
+Document LyX or LaTeX-documents.
+\end_layout
+
+\begin_layout Section
+External Material
+\begin_inset LatexCommand index
+name "External Stuff ! External Material"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The external material feature allows you to insert files to your document
+ without converting them previously to a format that can be read by the
+ document output format because LyX takes care of needed conversions.
+ This is similar to images that can be inserted in various image formats
+ to LyX documents.
+\end_layout
+
+\begin_layout Standard
+External material can be inserted via the 
+\family sans
+External Material
+\family default
+ dialog that is accessible with the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+External\InsetSpace ~
+Material
+\family default
+.
+ Currently the following file types (
+\family sans
+Templates
+\family default
+) are allowed:
+\end_layout
+
+\begin_layout Description
+ChessDiagram This template supports chess position diagrams made with the
+ program 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+href{http://en.wikipedia.org/wiki/XBoard}{
+\end_layout
+
+\end_inset
+
+
+\series bold
+XBoard
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+Date This inserts the date in the form 
+\emph on
+Day-Month-Year
+\emph default
+.
+ This is a date inserted as external material: 
+\begin_inset External
+       template Date
+       filename .
+
+\end_inset
+
+
+\newline
+The date is not shown within LyX, only in the output.
+ There are two other methods of inserting a date, via menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Date
+\family default
+ and with the LaTeX command 
+\series bold
+
+\backslash
+today
+\series default
+ as ERT.
+ The different methods are compared in Table\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "tab:Comparison-of-the"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Description
+LilyPond This template is used for music notation typeset with the program
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+linebreak 
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+href{http://en.wikipedia.org/wiki/LilyPond}{
+\end_layout
+
+\end_inset
+
+
+\series bold
+LilyPond
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+.
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Standard
+The command 
+\series bold
+
+\backslash
+linebreak
+\series default
+ breaks the line while the remaining text in the line is stretched to the
+ page margin.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+RasterImage This can be used for bitmap images.
+ Nearly all popular image formats are supported.
+ The image can be treated in the 
+\family sans
+External material
+\family default
+ dialog like the images that are usually included via the 
+\family sans
+Graphics
+\family default
+ dialog as described in section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sec:Graphics-Dialog"
+
+\end_inset
+
+.
+ The difference is that only raster images are allowed, that means that
+ PDF and EPS-images are not supported.
+\end_layout
+
+\begin_layout Description
+XFig This template supports images created with the program 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+href{http://en.wikipedia.org/wiki/Xfig}{
+\end_layout
+
+\end_inset
+
+
+\series bold
+Xfig
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "tab:Comparison-of-the"
+
+\end_inset
+
+Comparison of the date input methods.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features>
+<column alignment="center" valignment="top" leftline="true" width="0">
+<column alignment="center" valignment="top" leftline="true" width="0">
+<column alignment="center" valignment="top" leftline="true" width="0">
+<column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+Document format
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\family sans
+External Material\SpecialChar \menuseparator
+Date
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+
+\family sans
+Insert\SpecialChar \menuseparator
+Date
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+command 
+\series bold
+
+\backslash
+today
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+LyX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as inset box
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as date
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as ERT inset box
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+LaTeX
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as date
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as date
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as command
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topline="true" bottomline="true">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+DVI, PDF, PS
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as date
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as date
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Standard
+as date
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+When you use the option 
+\family sans
+Draft
+\family default
+ in the 
+\family sans
+File
+\family default
+ tab of the 
+\family sans
+External Material
+\family default
+ dialog, only the path to the inserted file is shown in the output.
+\newline
+External
+ material is displayed in LyX either as box like this: 
+\begin_inset Graphics
+       filename clipart/ExternalMaterialQt4.png
+       scale 85
+
+\end_inset
+
+ or as image, depending on the setting in the 
+\family sans
+LyX\InsetSpace ~
+View
+\family default
+ tab of the 
+\family sans
+External Material
+\family default
+ dialog.
+\end_layout
+
+\begin_layout Standard
+The 
+\family sans
+\emph on
+Customization
+\family default
+\emph default
+ manual explains how you can define your own templates.
+\end_layout
+
+\begin_layout Section
+Child Documents
+\begin_inset LatexCommand label
+name "sec:Child-Documents"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "External Stuff ! Child Documents"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Files ! Include"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Child documents are used when you have a long document consisting of several
+ larger parts or sections.
+ For maintenance it is often useful and sometimes even required to split
+ the document in several files that can be revised separately.
+ The different documents are then the so called child documents and a master
+ document connects them to print the full document or parts of it.
+\end_layout
+
+\begin_layout Standard
+Included documents are displayed in LyX as a box like this: 
+\begin_inset Graphics
+       filename clipart/ChildDocumentQt4.png
+       scale 85
+
+\end_inset
+
+ To include child documents to a master document use the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child\InsetSpace ~
+Documents
+\family default
+.
+ A dialog pops up where you can choose between four include methods:
+\end_layout
+
+\begin_layout Description
+Include You can include LyX and LaTeX-documents.
+ When you press the 
+\family sans
+Load
+\family default
+ button in the 
+\family sans
+Child Document
+\family default
+ dialog, the included documents will be opened in LyX in a new file tab
+ so that you can modify it.
+\newline
+
+\end_layout
+
+\begin_layout Standard
+Here is a child document inserted using 
+\family sans
+Include
+\family default
+: 
+\begin_inset Include \include{DummyDocument1.lyx}
+preview false
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The section numbering includes the sections of the included files in the
+ order they are inserted in the master document.
+ The included example document has for example a subsection that is numbered
+ as subsection of this section.
+ Labels of included documents can be referenced: Subsection\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sub:External-Subsection-1"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The preamble of the child document is ignored, only the preamble of the
+ master document is used.
+ Included documents are inserted starting on a new page and end with a pagebreak.
+\end_layout
+
+\begin_layout Standard
+With the LaTeX-command 
+\series bold
+
+\backslash
+includeonly 
+\series default
+you can specify which included child documents are processed when the output
+ is generated.
+ This is useful when you are perhaps only working on a certain chapter of
+ your large document as this saves compiling time.
+\series bold
+
+\backslash
+includeonly
+\series default
+ is inserted to the master document preamble.
+ It takes a comma-separated list of the filenames as argument, e.g.
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+includeonly{chapter1,chapter5}
+\end_layout
+
+\begin_layout Standard
+will only process the included files named 
+\begin_inset Quotes eld
+\end_inset
+
+chapter1.lyx
+\begin_inset Quotes erd
+\end_inset
+
+ (or 
+\begin_inset Quotes eld
+\end_inset
+
+chapter1.tex
+\begin_inset Quotes erd
+\end_inset
+
+) and 
+\begin_inset Quotes eld
+\end_inset
+
+chapter5.lyx
+\begin_inset Quotes erd
+\end_inset
+
+ .
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ When you have included a LyX- or LaTeX-file, you are warned when you export/vie
+w the document in case that the child document uses another document class
+ than the master document as this will lead to unexpected outputs.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Input This method is very similar to the Include method.
+ The differences are:
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+Input files don't start with a new page and don't end with a pagebreak.
+\end_layout
+
+\begin_layout Itemize
+Input files can be previewed in LyX when 
+\family sans
+Instant\InsetSpace ~
+Preview
+\family default
+ is enabled in LyX's preferences under 
+\family sans
+Look\InsetSpace ~
+and\InsetSpace ~
+feel\SpecialChar \menuseparator
+Graphics
+\family default
+.
+\end_layout
+
+\begin_layout Itemize
+The LaTeX-command 
+\series bold
+
+\backslash
+includeonly
+\series default
+ cannot be used.
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+Here is a child document inserted using 
+\family sans
+Input
+\family default
+: 
+\begin_inset Include \input{DummyDocument2.lyx}
+preview false
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Verbatim With this method every text file can be included.
+ The file is shown in the output with its source code, no command used in
+ the text is invoked.
+ You can use the option 
+\family sans
+Mark spaces in output
+\family default
+ that displays the character 
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+textvisiblespace 
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ for every space character in the source code.
+ The difference to the method via the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Plain\InsetSpace ~
+Text
+\family default
+ is that the document content is not shown in LyX.
+\end_layout
+
+\begin_layout Standard
+Here is a child document inserted as Verbatim: 
+\begin_inset Include \verbatiminput{DummyTextDocument.txt}
+preview false
+
+\end_inset
+
+
+\begin_inset VSpace bigskip
+\end_inset
+
+Here is a child document inserted as Verbatim using the 
+\family sans
+Mark spaces in output
+\family default
+ option: 
+\begin_inset Include \verbatiminput*{DummyTextDocument.txt}
+preview false
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ As you can see in the examples above, the text of the documents included
+ as verbatim is not broken at the end of the document lines.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Listings This type is described in chapter\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "cha:Program-Code-Listings"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
+\series bold
+Note:
+\series default
+ Including the same document twice in a document using different methods
+ could cause LaTeX-problems.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Chapter
+Program Code Listings
+\begin_inset LatexCommand label
+name "cha:Program-Code-Listings"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Listings"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Program Code"
+
+\end_inset
+
+
+\begin_inset LatexCommand index
+name "Floats ! Listings"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To include and typeset program code you can use the 
+\family sans
+Listings
+\family default
+ inset that can be inserted via the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Program Listing
+\family default
+.
+ The LaTeX-package 
+\series bold
+listings
+\series default
+
+\begin_inset LatexCommand index
+name "LaTeX-packages ! listings"
+
+\end_inset
+
+ provides a powerful and flexible way to insert program source code to your
+ document.
+\end_layout
+
+\begin_layout Standard
+When right-clicking on a listings inset a dialog pops up where you can set
+ the listings format.
+\end_layout
+
+\begin_layout Standard
+By default, a listing starts a new paragraph in the output.
+ The placement option 
+\family sans
+Inline\InsetSpace ~
+listing
+\family default
+ prints the listing inline like this: 
+\begin_inset listings
+lstparams "language={C++}"
+inline true
+status open
+
+\begin_layout Standard
+
+int a=5;
+\end_layout
+
+\end_inset
+
+
+\newline
+The option 
+\family sans
+Float
+\family default
+ creates a listings float where you can specify the placement options 
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+h
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+, 
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+t
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+, 
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+b
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+, and 
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+p
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ corresponding to the float placement options described in section\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "sec:Float-Placement"
+
+\end_inset
+
+.
+ The placement options can be mixed and are inserted without any separation,
+ e.\InsetSpace \thinspace{}
+g.\InsetSpace ~
+
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+htbp
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+.
+ The option 
+\begin_inset Quotes eld
+\end_inset
+
+h
+\begin_inset Quotes erd
+\end_inset
+
+ has sometimes no effect, but you don't need to use the 
+\family sans
+Float
+\family default
+ option in this case as also non-float listings can have captions and be
+ referenced.
+\end_layout
+
+\begin_layout Standard
+You can add captions to listings with the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Caption
+\family default
+.
+ Listings can be referenced like floats: Listing\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "lst:Example-Listing"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset listings
+lstparams "language=Python"
+inline false
+status open
+
+\begin_layout Standard
+
+\begin_inset Caption
+
+\begin_layout Standard
+\begin_inset LatexCommand label
+name "lst:Example-Listing"
+
+\end_inset
+
+Example Listing float
+\end_layout
+
+\end_inset
+
+# Example listing float
+\end_layout
+
+\begin_layout Standard
+
+def func(param):
+\end_layout
+
+\begin_layout Standard
+
+    'this is a python function'
+\end_layout
+
+\begin_layout Standard
+
+    pass
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+When you have set a programming language in the listings dialog, the keywords
+ of this language will be recognized and specially typeset in the output.
+ In the example listings the Python keyword 
+\begin_inset Quotes eld
+\end_inset
+
+def
+\begin_inset Quotes erd
+\end_inset
+
+ is recognized and printed bold in the output.
+\end_layout
+
+\begin_layout Standard
+In section 
+\family sans
+Line\InsetSpace ~
+numbering
+\family default
+ of the listings dialog you can specify the line numbering style.
+ You can insert a number to specify which lines are numbered to the field
+\family sans
+Step
+\family default
+.
+ When you insert e.g.
+\begin_inset Quotes eld
+\end_inset
+
+3
+\begin_inset Quotes erd
+\end_inset
+
+, only every 3rd line will be numbered.
 \end_layout
 
 \begin_layout Standard
-You cannot change the style of the link text.
- The text of the 
-\family sans
-Name
-\family default
- field will have the default text style of the document while the text of
- the 
+You can furthermore specify a range of lines, only these will then appear
+ in the output.
+ The option 
 \family sans
-URL
+Extended\InsetSpace ~
+chars
 \family default
- field will have the style 
+ should be used when you use national characters like the German umlauts
+ in the listing.
+\newline
+Here is an example listing with left line numbering, step
 \begin_inset Quotes eld
 \end_inset
 
+3
+\begin_inset Quotes erd
+\end_inset
 
-\family sans
-Typewriter
-\family default
+, language 
+\begin_inset Quotes eld
+\end_inset
 
+Python
 \begin_inset Quotes erd
 \end_inset
 
-.
-\end_layout
+, options 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout Standard
-When you use the LaTeX-package 
-\series bold
-hyperref
-\series default
+Extended\InsetSpace ~
+chars
+\begin_inset Quotes erd
+\end_inset
 
-\begin_inset LatexCommand index
-name "LaTeX-packages ! hyperref"
+ and 
+\begin_inset Quotes eld
+\end_inset
 
+Space\InsetSpace ~
+as\InsetSpace ~
+Symbol
+\begin_inset Quotes erd
 \end_inset
 
- to link cross-references in the output, URLs will automatically become
- clickable hyperlinks in DVI and PDF-output.
+, range lines 3\InsetSpace \thinspace{}
+-\InsetSpace \thinspace{}
+8:
 \end_layout
 
 \begin_layout Standard
-\begin_inset Note Greyedout
+\begin_inset listings
+lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
+inline false
 status open
 
 \begin_layout Standard
 
-\series bold
-Note: 
-\series default
-When you use the following characters: "%", "#", "^", you have to write
- them with a preceding backslash, e.\InsetSpace \thinspace{}
-g.\InsetSpace ~
+def func(param):
+\end_layout
 
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
 
+    'this is a python function'
+\end_layout
 
-\backslash
-#
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
 
-.
- URLs must not end with a backslash.
+    pass
 \end_layout
 
-\end_inset
-
+\begin_layout Standard
 
+def func(param):
 \end_layout
 
 \begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
 
-To create real hyperlinks without the force to write the link location to
- the text, you can use the command
+'This is a German word: Tschüß'
 \end_layout
 
 \begin_layout Standard
 
-\series bold
-
-\backslash
-href{link location}{link text}
+pass
 \end_layout
 
 \begin_layout Standard
-in ERT.
- To get for example a link to LyX's web page, write the command
+
+def func(param):
 \end_layout
 
 \begin_layout Standard
 
-\series bold
-
-\backslash
-href{http://www.lyx.org}{
+'this is a python function'
 \end_layout
 
 \begin_layout Standard
-in ERT.
- Insert after the command the link text 
-\begin_inset Quotes eld
-\end_inset
 
-LyX's homepage
-\begin_inset Quotes erd
-\end_inset
+pass
+\end_layout
 
- as normal text followed by a closing brace 
-\begin_inset Quotes eld
 \end_inset
 
 
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Standard
+
 \series bold
-}
+Note:
 \series default
+ The line numbering is shifted by a line by every previous listing.
+ That's the reason why the lines 2 and 5 are numbered in the above listing
+ and not the lines 3 and 6.
+\end_layout
 
-\begin_inset Quotes erd
 \end_inset
 
- in ERT.
- This is the result: 
-\begin_inset ERT
-status collapsed
+
+\end_layout
 
 \begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
 
 
-\backslash
-href{http://www.lyx.org}{
 \end_layout
 
-\end_inset
-
-LyX's homepage
-\begin_inset ERT
+\begin_layout Standard
+It is also possible to print lines from a file as listing.
+ To do this, use the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+File\SpecialChar \menuseparator
+Child Document
+\family default
+ and choose the type 
+\family sans
+Listings
+\family default
+.
+\begin_inset Foot
 status collapsed
 
 \begin_layout Standard
+The other child document types are described in section\InsetSpace ~
 
-}
-\end_layout
+\begin_inset LatexCommand ref
+reference "sec:Child-Documents"
 
 \end_inset
 
-
+.
 \end_layout
 
-\begin_layout Standard
-To link to email addresses, add the prefix 
+\end_inset
+
+ In the child document dialog you can specify the listing parameters in
+ a text box.
+ To show a list of all available parameters, type in a question mark 
 \begin_inset Quotes eld
 \end_inset
 
+?
+\begin_inset Quotes erd
+\end_inset
+
+ in the text box.
+\end_layout
 
+\begin_layout Standard
+To reference child document listings, write a label text into the corresponding
+ field of the child document dialog.
+ The label can then be referenced using the menu 
 \family sans
-mailto:
+Insert\SpecialChar \menuseparator
+Cross-Reference
 \family default
+.
+\end_layout
+
+\begin_layout Standard
+Listing\InsetSpace ~
+
+\begin_inset LatexCommand ref
+reference "lst:file-listing"
 
-\begin_inset Quotes erd
 \end_inset
 
- to the link location:
-\newline
-Email to 
-\begin_inset ERT
-status collapsed
+ is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
+-\InsetSpace \thinspace{}
+15 of this LyX
+ file are listed.
+\end_layout
 
 \begin_layout Standard
+\begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15]
+preview false
+
+\end_inset
 
 
-\backslash
-href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
 \end_layout
 
+\begin_layout Standard
+\begin_inset VSpace bigskip
 \end_inset
 
-lyx-docs mailing list
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
 
-}
 \end_layout
 
+\begin_layout Standard
+Global listings settings can be set in the 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Text Layout
+\family default
+ dialog.
+ To get there a list of available options, type in a question mark 
+\begin_inset Quotes eld
+\end_inset
+
+?
+\begin_inset Quotes erd
 \end_inset
 
-.
+ in the 
+\family sans
+Listings\InsetSpace ~
+settings
+\family default
+ field.
 \end_layout
 
 \begin_layout Standard
-Using 
-\series bold
-
-\backslash
-href
-\series default
- instead of LyX's URL box has the advantage that you can specify the text
- style of the link text like for all other text parts.
- You can therefore set hyphenation points and forced linebreaks to have
- long link text broken at the page margin.
- You are furthermore able to change the text style for all URLs in your
- document with an option in 
+For more information about the 
 \series bold
-hyperref
+listings
 \series default
-'s load command and the restrictions mentioned above doesn't apply for 
-\series bold
+ package, we refer to its documentation 
+\begin_inset LatexCommand cite
+key "listings"
+
+\end_inset
 
-\backslash
-href
-\series default
 .
 \end_layout
 
@@ -26352,7 +28428,10 @@ wide false
 sideways false
 status open
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Units"
 
@@ -26361,6 +28440,11 @@ name "tab:Units"
 Units
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \begin_inset VSpace medskip
 \end_inset
 \begin_inset Text
 
 \begin_layout Standard
-didot (72\InsetSpace \thinspace{}
+didot (1\InsetSpace \thinspace{}
 dd 
 \begin_inset Formula $\approx$
 \end_inset
 
37.6\InsetSpace \thinspace{}
0.376\InsetSpace \thinspace{}
 mm)
 \end_layout
 
@@ -26902,7 +28986,7 @@ Export\SpecialChar \menuseparator
 DVI
 \family default
 .
- You can view your document as PostScript via the 
+ You can view your document as DVI via the 
 \family sans
 View
 \family default
@@ -26925,7 +29009,7 @@ name "sec:PostScript"
 
 
 \begin_inset LatexCommand index
-name "File Formats ! PostScript\\protect\\pagebreak"
+name "File Formats ! PostScript"
 
 \end_inset
 
@@ -27161,7 +29245,7 @@ Portable Network Graphics
 \end_inset
 
 ).
You can although use any other image format, because LyX converts them
Nevertheless you can use any other image format, because LyX converts them
  in the background to one of these formats.
  But as described in the section about PostScript, the image conversion
  will slow down your work flow.
@@ -27178,7 +29262,8 @@ Export
 \end_layout
 
 \begin_layout Description
-PDF This uses the program 
+PDF\InsetSpace ~
+(ps2pdf) This uses the program 
 \family typewriter
 ps2pdf
 \family default
@@ -27387,9 +29472,9 @@ key "latexcompanion"
 Frank Mittelbach and Michel Goossens: 
 \emph on
 The LaTeX Companion Second Edition.
+
 \emph default
-Addison-Wesley, 2004
+ Addison-Wesley, 2004
 \end_layout
 
 \begin_layout Bibliography
@@ -27402,9 +29487,9 @@ Helmut Kopka and Patrick W.
  Daly: 
 \emph on
 A Guide to LaTeX Fourth Edition.
+
 \emph default
-Addison-Wesley, 2003
+ Addison-Wesley, 2003
 \end_layout
 
 \begin_layout Bibliography
@@ -27416,9 +29501,9 @@ key "latexbook"
 Leslie Lamport: 
 \emph on
 LaTeX: A Document Preparation System.
+
 \emph default
-Addison-Wesley, second edition, 1994
+ Addison-Wesley, second edition, 1994
 \end_layout
 
 \begin_layout Bibliography
@@ -27622,7 +29707,8 @@ status collapsed
 
  of the LaTeX-package 
 \series bold
-floatf\SpecialChar \textcompwordmark{}
+f\SpecialChar \textcompwordmark{}
+loatf\SpecialChar \textcompwordmark{}
 lt
 \series default
 
@@ -27851,6 +29937,50 @@ name "LaTeX-packages ! koma-script"
 \end_inset
 
 
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset LatexCommand bibitem
+key "listings"
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
+{
+\end_layout
+
+\end_inset
+
+Documentation
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+}
+\end_layout
+
+\end_inset
+
+ of the LaTeX-package 
+\series bold
+listings
+\series default
+
+\begin_inset LatexCommand index
+name "LaTeX-packages ! listings"
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Bibliography
@@ -28017,7 +30147,7 @@ status collapsed
 \family sans
 LyX 1.5
 \family default
-.
+.0.
 \end_layout
 
 \begin_layout Standard