]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Spanish updates from Ignacio
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index dd8067d4619f72c0ab4a985490bd8807b61fa222..f94c3c969fe356eaea979cc4b427413b74e18db9 100644 (file)
@@ -1,14 +1,58 @@
 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 256
+\lyxformat 258
 \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}
 
 \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
 \language english
 \bullet 3 2 7 -1
 \tracking_changes false
 \output_changes true
-\author "usti
+\author "" 
 \end_header
 
 \begin_body
@@ -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
@@ -465,15 +497,15 @@ x.eps.bb
 \begin_layout Standard
 
 \newpage
-This is an example image in PDF format
+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
 
@@ -626,7 +658,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 +673,11 @@ A severely distorted platypus in a float.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -646,7 +686,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,6 +699,11 @@ M.C.
  Escher on acid.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Graphics
@@ -693,7 +741,7 @@ reference "fig:escher"
 
 \end_inset
 
- are an example of cross-referenced figures.
+ are examples of cross-referenced figures.
  Figures can be cross-referenced in the text by referencing their label.
  To do this insert a label in the caption using the menu 
 \family sans
@@ -807,7 +855,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 +870,11 @@ Two distorted images.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
@@ -980,8 +1036,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
 
@@ -1828,7 +1884,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 +1896,11 @@ name "tab:a table float"
 A table float.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -4465,6 +4529,29 @@ end
 \end_inset
 
 
+\begin_inset ERT
+status collapsed
+
+\begin_layout Standard
+
+
+\backslash
+addtocounter{table}{-1}
+\end_layout
+
+\end_inset
+
+
+\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 Subsection
@@ -4509,34 +4596,37 @@ 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 an disable its upper line.
 \end_layout
 
 \begin_layout Enumerate
-Insert the following command as ERT into the first table cell:
-\newline
-
+Insert a caption via the menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Caption
+\family default
 \series bold
-
-\backslash
-caption[short title]{full title}
-\backslash
-
-\backslash
-%
+\series default
+into the first table cell.
+\newline
+You can also add a short title for the caption.
 \end_layout
 
 \begin_layout Enumerate
@@ -4546,29 +4636,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 +4683,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 +4700,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 +4725,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 +4733,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 +4752,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -4944,10 +5013,43 @@ status open
 \series bold
 Note:
 \series default
- If you are using the LaTeX-package 
-\series bold
-hyperref
-\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
+ If you are using the LaTeX-package 
+\series bold
+hyperref
+\series default
 
 \begin_inset LatexCommand index
 name "LaTeX-packages ! hyperref"
@@ -4987,21 +5089,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 +5109,7 @@ status collapsed
 
 \begin_layout Standard
 
-}
+
 \backslash
 
 \backslash
@@ -5028,18 +5126,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
@@ -5048,16 +5136,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5066,18 +5144,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
@@ -5086,16 +5154,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 +5403,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 +5417,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 +5470,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 +5515,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 +5533,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 +5558,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 +5566,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 +5585,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5864,35 +5862,22 @@ LTcapwidth}{5cm}
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Caption
 
 \begin_layout Standard
-
-
-\backslash
-caption[caption with width
-\backslash
-,=
-\backslash
-,15
-\backslash
-,cm]{long full title with width set to 5
-\backslash
-,cm
-\end_layout
+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
-
-long full title with width set to 15
-\backslash
-,cm long full title with width set to 5
-\backslash
-,cm}
-\backslash
-
-\backslash
-%
+caption with width\InsetSpace \thinspace{}
+=\InsetSpace \thinspace{}
+5\InsetSpace \thinspace{}
+cm
 \end_layout
 
 \end_inset
@@ -5901,16 +5886,17 @@ long full title with width set to 15
 \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 +5911,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -5944,16 +5920,15 @@ status collapsed
 \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
 
@@ -5962,18 +5937,8 @@ status collapsed
 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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
@@ -6252,35 +6217,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 +6260,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 +6290,7 @@ status collapsed
 
 \begin_layout Standard
 
-}
+
 \backslash
 
 \backslash
@@ -6349,16 +6308,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 +6317,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -6477,18 +6416,8 @@ caption*{Continued Example Phone List}
 <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
@@ -6496,18 +6425,8 @@ status collapsed
 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="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
@@ -8502,36 +8421,21 @@ 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
-
-
-\backslash
-caption[Table with forced page break in table cell]{Table with forced page
- break in table cell 
-\end_layout
-
-\end_inset
-
-
+Table with forced page break in table cell
 \begin_inset LatexCommand label
 name "tab:ForcedPagebreak"
 
 \end_inset
 
 
-\begin_inset ERT
+\begin_inset OptArg
 status collapsed
 
 \begin_layout Standard
-
-}
-\backslash
-
-\backslash
-%
+Table with forced page break in table cell
 \end_layout
 
 \end_inset
@@ -8540,16 +8444,17 @@ status collapsed
 \end_layout
 
 \end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
-\begin_inset Text
 
-\begin_layout Standard
+
 \begin_inset ERT
 status collapsed
 
 \begin_layout Standard
 
+
+\backslash
+
+\backslash
 %
 \end_layout
 
@@ -8560,20 +8465,19 @@ status collapsed
 
 \end_inset
 </cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="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" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
 
+\begin_layout Standard
 
 \end_layout
 
@@ -8656,7 +8560,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 +8578,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 +8587,6 @@ status collapsed
 \begin_inset Text
 
 \begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Standard
-
-%
-\end_layout
-
-\end_inset
-
 
 \end_layout
 
@@ -9864,7 +9748,10 @@ wide false
 sideways false
 status collapsed
 
-\begin_layout Caption
+\begin_layout Standard
+\begin_inset Caption
+
+\begin_layout Standard
 \begin_inset LatexCommand label
 name "tab:Table-with-multiple"
 
@@ -9873,6 +9760,11 @@ 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
@@ -10071,7 +9963,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-and"
 
@@ -10080,6 +9975,11 @@ name "tab:Table-with-and"
 Table with and without hyphenation
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 
 \hfill
@@ -10536,7 +10436,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 +10457,11 @@ Perfect multicolumn table
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -10705,7 +10613,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 +10634,11 @@ Imperfect multicolumn table
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -11382,7 +11298,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 +11310,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 +11400,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 +11476,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 +11606,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 +11912,7 @@ reference "tab:Special-booktabs-table"
 \series bold
 
 \backslash
-moremidrules
+morecmidrules
 \end_layout
 
 \begin_layout Standard
@@ -12050,7 +11935,7 @@ cmidrule(r){2-2}
 \backslash
 cmidrule(l){3-4}
 \backslash
-moremidrules
+morecmidrules
 \backslash
 cmidrule{2-4}
 \end_layout
@@ -12066,7 +11951,7 @@ The command for the sixth row is
 \backslash
 midrule
 \backslash
-moremidrules
+morecmidrules
 \backslash
 cmidrule{3-4}
 \end_layout
@@ -12121,7 +12006,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 +12018,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 +12128,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 +12204,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 +12347,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
@@ -13388,7 +13242,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 +13266,11 @@ Table without colortbl
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -13856,7 +13718,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 +13742,11 @@ Table with colortbl
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -14144,7 +14014,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,6 +14026,11 @@ 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
@@ -14336,7 +14214,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 +14226,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 +14388,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,6 +14400,11 @@ name "tab:Table-with-colored"
 Table with colored lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -14903,7 +14797,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 +14809,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
@@ -15055,7 +14957,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,6 +14969,11 @@ name "tab:Several-table-cell"
 Several table cell alignments.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -15407,7 +15317,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:Alignments-when"
 
@@ -15417,6 +15330,11 @@ Alignments when LaTeX-package dcolumn is used.
  For the second and third alignment some tricks were used.
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -15884,7 +15802,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,6 +15814,11 @@ 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
@@ -16108,7 +16034,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 +16047,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 +16298,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 +16311,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 +16504,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,6 +16517,11 @@ Table with 1.5\InsetSpace \thinspace{}
 pt thick vertical lines
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
 </row>
 </lyxtabular>
 
-\end_inset
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Dashed Lines
+\begin_inset LatexCommand index
+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
 
 
-\end_layout
+\begin_inset Note Note
+status open
 
-\begin_layout Subsection
-Dashed Lines
-\begin_inset LatexCommand index
-name "Table Customization ! Dashed Lines"
+\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
 
@@ -16696,7 +16677,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 +16689,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 +17142,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
@@ -17351,7 +17394,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 +17406,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
@@ -17665,7 +17716,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 +17731,11 @@ This is a wrapped figure, and this is the brilliant caption that describes
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \end_inset
@@ -18894,7 +18953,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 +18965,11 @@ name "tab:Rotated-table"
  Rotated table
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \align center
 \begin_inset Tabular
@@ -19295,7 +19362,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 +19379,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 +19410,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 +19424,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
@@ -20108,7 +20191,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 +20206,11 @@ This is a caption beside a figure.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -20144,7 +20235,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 +20247,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">
@@ -20407,7 +20506,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 +20521,11 @@ This is a vertically centered caption beside a figure.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -21898,7 +22005,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 +22020,11 @@ Standard footnote placement in two-column documents.
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -21953,7 +22068,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 +22087,11 @@ ftnright
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -22079,7 +22202,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 +22218,11 @@ Endnotes -- footnotes are printed in a separate paragraph at the end of
 \end_inset
 
 
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Standard
@@ -22520,6 +22651,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
@@ -22979,7 +23148,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.
@@ -22988,6 +23157,60 @@ The margin note format is changed only for this example.
 \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
+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 Chapter
@@ -26352,7 +26575,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 +26587,11 @@ name "tab:Units"
 Units
 \end_layout
 
+\end_inset
+
+
+\end_layout
+
 \begin_layout Standard
 \begin_inset VSpace medskip
 \end_inset