-#LyX 2.0.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 401
+#LyX 2.4 created this file. For more info see https://www.lyx.org/
+\lyxformat 610
\begin_document
\begin_header
+\save_transient_properties true
+\origin /systemlyxdir/doc/
\textclass scrbook
\begin_preamble
-% if pdflatex is used
-\usepackage{ifpdf}
-\ifpdf
-
-% set fonts for nicer pdf view
-\IfFileExists{lmodern.sty}
- {\usepackage{lmodern}}{}
-
-\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 is numbered roman
+% the pages of the TOC are numbered roman
% and a PDF-bookmark for the TOC is added
\let\myTOC\tableofcontents
\renewcommand\tableofcontents{%
\mainmatter }
% provides caption formatting
-\usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
+\usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
% provides commands to set caption
% beside tables/images
-\usepackage{sidecap}
-
-\newcommand{\TabBesBeg}{%
+\newcommand{\TabBesBeg}[1][1.0]{%
\let\MyTable\table
\let\MyEndtable\endtable
- \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
+ \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
\newcommand{\TabBesEnd}{%
\let\table\MyTable
\let\endtable\MyEndtable}
-\newcommand{\FigBesBeg}{%
+\newcommand{\FigBesBeg}[1][1.0]{%
\let\MyFigure\figure
\let\MyEndfigure\endfigure
- \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
+ \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
\newcommand{\FigBesEnd}{%
\let\figure\MyFigure
% enables calculation of values,
\usepackage{calc}
-% provides special table cell alignments
-\usepackage{dcolumn}
-
% increase the bottom float placement fraction
\renewcommand{\bottomfraction}{0.5}
% speed up the longtable calculation
\setcounter{LTchunksize}{100}
-% used for scaled and rotated boxes
-\@ifundefined{rotatebox}{\usepackage{graphicx}}{}
-
% used for colored tables
\@ifundefined{textcolor}
{\usepackage{color}}{}
\setboolean{colortbl}{true}}
{\setboolean{colortbl}{false}}
-% used for multirows
-\usepackage{multirow}
-%\renewcommand{\multirowsetup}{\centering}
-
-% used for book-style tables
-\usepackage{booktabs}
-
% used to have extra space in table cells
\@ifundefined{extrarowheight}
{\usepackage{array}}{}
% number algorithm floats within chapters
\numberwithin{algorithm}{chapter}
-% redefine the greyed out note
-\renewenvironment{lyxgreyedout}
- {\textcolor{blue}\bgroup}{\egroup}
-
% ------------------------------------
% used to check for needed LaTeX packages
\usepackage{ifthen}
\setboolean{sidecap}{true}}
{\setboolean{sidecap}{false}}
-% redefine the \LyX macro for PDF bookmarks
-\def\LyX{\texorpdfstring{%
- L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
- {LyX}}
+% check for picinpar
+% used for surrounded fixed objects
+\newboolean{picinpar}
+\IfFileExists{picinpar.sty}
+ {\usepackage{picinpar}
+ \setboolean{picinpar}{true}}
+ {\setboolean{picinpar}{false}}
+
+% check for lettrine
+\newboolean{lettrine}
+\IfFileExists{lettrine.sty}
+ {\usepackage{lettrine}
+ \setboolean{lettrine}{true}}
+ {\setboolean{lettrine}{false}}
+
+% check for diagbox
+\newboolean{diagbox}
+\IfFileExists{diagbox.sty}
+ {\usepackage{diagbox}
+ \setboolean{diagbox}{true}}
+ {\setboolean{diagbox}{false}}
+% Added by lyx2lyx
+\setlength{\parskip}{\medskipamount}
+\setlength{\parindent}{0pt}
\end_preamble
-\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
\use_default_options false
-\maintain_unincluded_children false
+\begin_modules
+initials
+graphicboxes
+varwidth
+\end_modules
+\maintain_unincluded_children no
\language english
-\inputencoding auto
-\fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
+\language_package default
+\inputencoding utf8
+\fontencoding auto
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
+\font_math "auto" "auto"
\font_default_family default
-\use_xetex false
+\use_non_tex_fonts false
\font_sc false
-\font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
-
+\font_roman_osf false
+\font_sans_osf false
+\font_typewriter_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures true
\graphics default
-\default_output_format default
+\default_output_format pdf2
\output_sync 0
\bibtex_command default
-\index_command default
+\index_command makeindex
\paperfontsize 12
\spacing single
\use_hyperref true
\pdf_colorlinks true
\pdf_backref false
\pdf_pdfusetitle false
-\pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
+\pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default
\use_geometry false
-\use_amsmath 2
-\use_esint 0
-\use_mhchem 1
-\use_mathdots 1
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 1
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 1
+\use_package mhchem 1
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
+\justification true
+\use_refstyle 0
+\use_minted 0
+\use_lineno 0
+\notefontcolor #0000ff
\index Index
\shortcut idx
\color #008000
\end_index
\secnumdepth 3
\tocdepth 3
-\paragraph_separation skip
-\defskip medskip
-\quotes_language english
+\paragraph_separation indent
+\paragraph_indentation default
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle default
-\bullet 1 1 34 -1
-\bullet 2 2 35 -1
-\bullet 3 2 7 -1
-\tracking_changes false
+\tablestyle default
+\tracking_changes true
\output_changes false
+\change_bars false
+\postpone_fragile_content false
\html_math_output 0
+\html_css_as_file 0
\html_be_strict false
+\docbook_table_output 0
+\docbook_mathml_prefix 1
+\author -1382599118 "Daniel"
+\author -712698321 "Jürgen Spitzmüller"
+\author 177693 "x"
+\author 274215730 "scott"
+\author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
\end_header
\begin_body
\begin_layout Title
-LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
- manual
+\SpecialChar LyX
+'s detailed Figure, Table, Floats, Notes, Boxes and External Material manual
\end_layout
\begin_layout Author
-by the LyX Team
+by the \SpecialChar LyX
+ Team
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\noindent
-If you have comments or error corrections, please send them to the LyX Documenta
-tion mailing list:
+If you have comments or error corrections, please send them to the \SpecialChar LyX
+ Documentatio
+n mailing list:
\begin_inset CommandInset href
LatexCommand href
name "lyx-docs@lists.lyx.org"
target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
type "mailto:"
+literal "false"
\end_inset
\begin_inset Note Note
-status collapsed
+status open
\begin_layout Plain Layout
author: Uwe Stöhr
\family sans
-Version 2.0.x
+Version 2.4.x
\end_layout
\begin_layout Standard
status open
\begin_layout Plain Layout
-To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
-
+To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
+ packages
\series bold
arydshln
\series default
\series default
,
\series bold
-marginnote
+diagbox, lettrine, marginnote, picinpar
\series default
-, and
+ and
\series bold
sidecap
\series default
\series bold
-http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
+https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
\end_layout
\end_inset
\begin_layout Chapter
Figures
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Graphics|see
-\begin_inset ERT
-status collapsed
+Graphics
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Figures
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\begin_layout Section
Graphics Dialog
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! Graphics Dialog
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Graphics Dialog
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
To insert an image into your document, place the cursor at the text position
you want and click on the toolbar icon
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
\end_inset
or use the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Graphics
\family default
.
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! rotated
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+rotated
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
You can rotate images counter-clockwise by setting a rotation angle and
a rotation origin.
- The image will also be rotated inside LyX.
+ The image will also be rotated inside \SpecialChar LyX
+.
\begin_inset Newline newline
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! scaled
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+scaled
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family default
in the context menu.
The program can be set for every image format in the file format settings
- in LyX's preferences.
+ in \SpecialChar LyX
+'s preferences.
\end_layout
\begin_layout Description
\family sans
+Coordinates
+\begin_inset space ~
+\end_inset
+
+and
+\begin_inset space ~
+\end_inset
+
Clipping
\family default
Alternatively to the usage of scaling units it is possible to set image
box
\family default
will only print the image region within the given coordinates.
- Normally you don't need to take care about image coordinates and can ignore
+ Normally you don't need to worry about image coordinates and can ignore
this tab.
\end_layout
options
\family default
- In this tab you can modify the appearance of the image within LyX and LaTeX
- experts can specify additional LaTeX options.
+ In this tab you can modify the appearance of the image within \SpecialChar LyX
+ and \SpecialChar LaTeX
+ experts
+ can specify additional \SpecialChar LaTeX
+ options.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
-The
+In the section
\family sans
-Don't
-\begin_inset space ~
-\end_inset
-
-unzip
-\begin_inset space ~
-\end_inset
-
-on
+Graphics
\begin_inset space ~
\end_inset
-export
+Group
\family default
- option only affects zipped EPS-graphics, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-
-\emph on
-x.eps.gz
-\emph default
-.
- When the option is used the images will not be unzipped on export, since
- LaTeX can handle them as they are.
-\begin_inset Newline newline
-\end_inset
-
-Zipped EPS-graphics are useful to save disk space when you choose PostScript
- as output format, see appendix
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:PostScript"
-
-\end_inset
-
-.
- To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
- console:
-\begin_inset Newline newline
-\end_inset
-
-
-\series bold
-gzip x.eps
-\series default
-
-\begin_inset Newline newline
-\end_inset
-
-
-\series bold
-zgrep %%Bounding x.eps.gz > x.eps.bb
-\series default
-
-\begin_inset Newline newline
-\end_inset
-
-The second command creates the bounding box file
-\begin_inset Quotes eld
-\end_inset
-
-x.eps.bb
-\begin_inset Quotes erd
-\end_inset
+ you can define or join an image settings group.
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
- that is needed by LaTeX for zipped graphics.
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
+Figures
+\begin_inset IndexMacro subentry
+status open
-The field
-\family sans
-Initialize
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
+Settings grouping
+\end_layout
-Group
-\begin_inset space ~
\end_inset
-Name
-\family default
- allows you define or join an image settings group.
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-Figures ! Settings grouping
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-This is an example image in EPS format
+This is an example image in PDF format
\begin_inset Foot
status collapsed
\begin_layout Standard
\align center
\begin_inset Graphics
- filename clipart/mobius.eps
- scale 70
+ filename clipart/2D-intensity-plot.pdf
scaleBeforeRotation
rotateOrigin center
\begin_layout Standard
\align center
\begin_inset Graphics
- filename clipart/mobius.eps
- scale 70
+ filename clipart/2D-intensity-plot.pdf
draft
scaleBeforeRotation
rotateOrigin center
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Figures
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Figures
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! Floats
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
The toolbar button
-\begin_inset Graphics
- filename ../images/float-insert_figure.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "float-insert figure"
\end_inset
and the menu
\family sans
-Insert\SpecialChar \menuseparator
-Float\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Float\SpecialChar menuseparator
Figure
\family default
inserts a float with a caption that has the label
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:kill-plat"
+reference "fig:A-star-in"
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:escher"
+reference "fig:A-3D-object"
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
+ lyxscale 60
width 50col%
scaleBeforeRotation
rotateOrigin center
\end_layout
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:kill-plat"
+name "fig:A-star-in"
\end_inset
-A severely distorted platypus in a float.
+A star in a float.
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:escher"
+name "fig:A-3D-object"
\end_inset
-M.C.
- Escher on acid.
+A 3D object.
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Graphics
- filename clipart/escher-lsd.eps
+ filename clipart/3D-structure-distort.pdf
+ lyxscale 60
scale 80
scaleBeforeRotation
rotateOrigin center
\begin_layout Standard
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-References ! to Figures
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Figures
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:kill-plat"
+reference "fig:A-star-in"
\end_inset
and
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:escher"
+reference "fig:A-3D-object"
\end_inset
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
+Insert\SpecialChar menuseparator
Label
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/label-insert.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "label-insert"
\end_inset
.
You can now refer to the label using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Cross
\begin_inset space ~
\end_inset
reference
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_ref.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset ref"
\end_inset
.
\begin_inset Quotes erd
\end_inset
-, because LaTeX will reposition the floats in the final document and it
- might not be
+, because \SpecialChar LaTeX
+ will reposition the floats in the final document and it might
+ not be
\begin_inset Quotes eld
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Undefinable-structure"
+reference "fig:Pink-object"
\end_inset
and
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:A-Platypus"
+reference "fig:A-star"
\end_inset
\begin_layout Standard
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status open
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:Undefinable-structure"
+name "fig:Pink-object"
\end_inset
-Undefinable structure.
+Pink object.
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/escher-lsd.eps
+ filename clipart/3D-structure-distort.pdf
width 45col%
scaleBeforeRotation
groupId distorted
\begin_inset Float figure
+placement document
+alignment document
wide false
sideways false
status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:A-Platypus"
+name "fig:A-star"
\end_inset
-A Platypus.
+A star.
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
- filename clipart/platypus.eps
+ filename clipart/Star-structure.pdf
width 45col%
scaleBeforeRotation
groupId distorted
\end_layout
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Figures ! Image Formats
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Image Formats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_inset
, each output document format allows only a few image formats.
- LyX uses therefore the program
+ \SpecialChar LyX
+ uses therefore the program
\family typewriter
ImageMagick
\family default
in the background to convert the images to the right format.
To increase your work flow by avoiding these conversions in the background,
- you can use only the image formats that can directly be embedded in the
- output file format.
+ you could choose to use only the image formats that can directly be embedded
+ in the output file format.
The output file formats are explained in appendix
\begin_inset space ~
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-GIF|see
-\begin_inset ERT
-status collapsed
+GIF
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-PNG|see
-\begin_inset ERT
-status collapsed
+PNG
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-JPG|see
-\begin_inset ERT
-status collapsed
+JPG
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-SVG|see
-\begin_inset ERT
-status collapsed
+SVG
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-EPS|see
-\begin_inset ERT
-status collapsed
+EPS
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
)
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-SVG|see
-\begin_inset ERT
-status collapsed
+WMF
+\begin_inset IndexMacro see
+status open
\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
Image formats
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\begin_layout Chapter
Tables
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_layout Section
Introduction
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Introduction
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Introduction
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
You can insert a table using either the toolbar button
-\begin_inset Graphics
- filename ../images/tabular-insert.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-insert"
\end_inset
or the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Table
\family default
.
set the column/row number of the table that should be created and then
press a mouse button.
When you use the menu to create a table, a dialog will appear, asking you
- for the number of rows and columns.
+ for the number of rows and columns
+\change_inserted -712698321 1554289643
+, and you can select a specific (border) style
+\change_unchanged
+.
+\change_deleted -712698321 1554289644
+
\begin_inset Newline newline
\end_inset
- The default table has lines around any cell and the first row appears separated
+
+\change_inserted -712698321 1554289645
+
+\end_layout
+
+\begin_layout Standard
+The default table has lines around any cell and the first row appears separated
from the rest of the table.
This separation occurs due to a double line: The cells of the first row
have a line below them and the cells of the second row have a line above
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\end_layout
+\begin_layout Standard
+
+\change_inserted -712698321 1554289664
+This corresponds to the
+\begin_inset Quotes eld
+\end_inset
+
+Grid with Head
+\begin_inset Quotes erd
+\end_inset
+
+ table style listed in the style selection.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1554289664
+Other available styles include:
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1554289664
+A
+\begin_inset Quotes eld
+\end_inset
+
+simple grid
+\begin_inset Quotes erd
+\end_inset
+
+ which looks line the above table, but without the first row being separated
+ via double line,
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1554289664
+a border-less table with no lines at all,
+\end_layout
+
+\begin_layout Itemize
+
+\change_inserted -712698321 1554289664
+and a so-called
+\begin_inset Quotes eld
+\end_inset
+
+formal table
+\begin_inset Quotes erd
+\end_inset
+
+ as often used in professional publishing with horizontal lines only and
+ bold top/bottom lines (see
+\emph on
+Embedded Objects
+\emph default
+ manual, section
+\emph on
+Formal Tables
+\emph default
+).
+
+\change_inserted 630872221 1622640694
+ It is also possible to have an horizontal (thin) Footline above the last
+ line.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1554289664
+The default style used in the dialog as well as the style used by the toolbar
+ button can be changed in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Text Layout
+\family default
+.
+ So if the default style above is not the one you need, you should alter
+ this setting.
+\end_layout
+
\begin_layout Section
Table Dialog
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Dialog
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Dialog
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
You can alter a table by clicking on it with the right mouse button, which
- brings up the table dialog.
- Here you can adjust the settings of that cell and row/column respectively
- where the cursor is currently placed.
+ brings up the context menu.
+ Under the menu entry
+\family sans
+More
+\family default
+ you can adjust the settings of that cell and row/column respectively where
+ the cursor is currently placed.
+ The context menu
+\family sans
+More\SpecialChar menuseparator
+Settings
+\family default
+ opens the table dialog where you can adjust more things.
Most of the dialog options also work on selections.
This means if you select more cells, columns or rows, the action is done
for the whole selection.
contents
\emph default
of the cell, and the cell itself.
- You can alter tables with the following tabs of the table dialog:
+\begin_inset Newline newline
+\end_inset
+
+With the dialog option
+\family sans
+Immediate
+\begin_inset space ~
+\end_inset
+
+Apply
+\family default
+ every change you make in the dialog is directly applied.
+ If you move the cursor to another table cell the dialog will then also
+ be updated with the parameters of the new cell.
+ If you change length values in the dialog you must press
+\family sans
+Return
+\family default
+ to get the change applied.
+\begin_inset Newline newline
+\end_inset
+
+You can alter tables with the following tabs of the table dialog:
\end_layout
\begin_layout Description
+Table
+\begin_inset space ~
+\end_inset
-\family sans
+Settings Here you can set the table width
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Width
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+, and the horizontal alignment and the width of the current column.
+ The alignment
+\family sans
+At
\begin_inset space ~
\end_inset
-Settings
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
\family default
- Here you can set the horizontal alignment and the width of the current
- column.
+ is described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Special-Cell-Alignment"
+
+\end_inset
+
+.
When you have set a width you can also adjust the vertical alignment of
the current row.
A given width will allow the cell to have line breaks and multiple paragraphs
- of text, see section
-\begin_inset space ~
+ of text, see sec.
+\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multiple-Lines-in"
+reference "subsec:Multiple-Lines-in"
\end_inset
.
- If you set no width, the column is as wide as the content of the widest
+ If you set no width, the column is as wide as the content of its widest
cell.
\begin_inset Newline newline
\end_inset
Furthermore, you can mark one or multiple cells of one row as a multicolumn
- cell, see section
-\begin_inset space ~
+ cell, see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Multicolumns"
+
+\end_inset
+
+ or the cells of one column as multirow cell, see sec.
+\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumns"
+reference "subsec:Multirows"
\end_inset
\end_inset
The rotate check boxes rotate the current cell, a selection, or the whole
- table counter-clockwise by 90°.
- The rotation is not shown within LyX, only in the output.
+ table counter-clockwise by 90
+\begin_inset space \thinspace{}
+\end_inset
+
+°.
+ The rotation is not shown within \SpecialChar LyX
+, only in the output.
+ For more information see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Rotated-Table-Cells"
+
+\end_inset
+
+.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
-It is also possible to enter a LaTeX-argument which is needed for special
- table formattings, see section
-\begin_inset space ~
+The table-wide vertical alignment is used for tables within text lines:
+\begin_inset Newline newline
+\end_inset
+
+A line with tables with different alignments:
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+1
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+A
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+1
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+A
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="bottom">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+1
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\family roman
+\series medium
+\shape up
+\size normal
+\emph off
+\bar no
+\noun off
+\color none
+A
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+It is also possible to enter a \SpecialChar LaTeX
+-argument which is needed for special table
+ formattings, see sec.
+\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumn-Calculations"
+reference "subsec:Multicolumn-Calculations"
\end_inset
\end_layout
\begin_layout Description
-
-\family sans
-Borders
-\family default
- In this tab you can add and delete border lines for the current row/column.
+Borders In this tab you can add and delete border lines for the current
+ row/column.
\begin_inset Newline newline
\end_inset
\family sans
Formal
\family default
- will convert the table to a formal table as described in section
-\begin_inset space ~
+ will convert the table to a formal table as described in sec.
+\begin_inset space \thinspace{}
\end_inset
\begin_inset Newline newline
\end_inset
-You can also add here space to table rows as described in section
-\begin_inset space ~
+You can also add space here to table rows as described in sec.
+\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Row-Spacing"
+reference "subsec:Row-Spacing"
\end_inset
\end_layout
\begin_layout Description
-
-\family sans
-Longtable
-\family default
- This tab is to make a table a so called
-\begin_inset Quotes eld
-\end_inset
-
-
-\emph on
-longtable
-\emph default
-
-\begin_inset Quotes erd
+Multi-page
+\begin_inset space ~
\end_inset
- that can run over several pages.
+table This tab is to make a table a multi-page table that can run over several
+ pages.
Sections
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Longtables"
+reference "sec:Multi-page-Tables"
\end_inset
\end_inset
- describe the longtable features in detail.
-\end_layout
-
-\begin_layout Standard
-When the table dialog is open, you can move the cursor with the arrow keys
- from cell to cell and the property of the current cell will immediately
- be displayed in the dialog.
+ describe the multi-page table features in detail.
\end_layout
\begin_layout Section
Table Toolbar
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Toolbar
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Toolbar
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
The table toolbar is an alternative to the table dialog to be able to alter
tables faster.
- It should normally appear at the bottom of LyX's main window when the cursor
+ It should normally appear at the bottom of \SpecialChar LyX
+'s main window when the cursor
is inside a table.
You can alternatively switch it on to appear always, by right-clicking
- in LyX's main menu bar.
+ in \SpecialChar LyX
+'s main menu bar.
\end_layout
\begin_layout Standard
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_append-row.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature append-row"
\end_inset
adds a row below the current cell or selection
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_append-column.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature append-column"
\end_inset
adds a column right beside the current cell or selection
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_delete-row.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature delete-row"
\end_inset
deletes the current row or selection
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_delete-column.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature delete-column"
\end_inset
deletes the current column or selection
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_toggle-line-top.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature move-row-up"
\end_inset
- adds a line at the top of the current cell / row or of a selection
+ moves the row up
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_toggle-line-bottom.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature move-column-left"
\end_inset
- adds a line at the bottom of the current cell / row or of a selection
+ moves the column to the left
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_toggle-line-left.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature move-row-down"
\end_inset
- adds a line at the left side of the current cell / row or of a selection
+ moves the row down
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_toggle-line-right.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature move-column-right"
\end_inset
- adds a line at the right side of the current cell / row or of a selection
+ moves the column to the right
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_set-all-lines.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-line-top"
\end_inset
- adds lines around the current or selected cells - if the current cell no
- multicolumn cell this also affects the current row and column
+
+\change_deleted -1382599118 1647157945
+adds
+\change_inserted -1382599118 1647157946
+toggles
+\change_unchanged
+ a line at the top of
+\change_inserted -1382599118 1647158116
+ every cell for
+\change_unchanged
+ the current
+\change_inserted -1382599118 1647157889
+ly
+\change_deleted -1382599118 1647157917
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647157923
+ion
+\change_inserted -1382599118 1647157925
+ed cells
+\change_unchanged
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_unset-all-lines.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-line-bottom"
\end_inset
- deletes all lines of the current or selected cells - if the current cell
- no multicolumn cell this also affects the current row and column
+
+\change_deleted -1382599118 1647157963
+adds
+\change_inserted -1382599118 1647157964
+toggles
+\change_unchanged
+ a line at the bottom of
+\change_inserted -1382599118 1647158114
+every cell for
+\change_unchanged
+the current
+\change_inserted -1382599118 1647157991
+ly
+\change_deleted -1382599118 1647158003
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647158007
+ion
+\change_inserted -1382599118 1647158009
+ed cells
+\change_unchanged
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_m-align-left.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-line-left"
\end_inset
- left-aligns the content of the current cell / column
+
+\change_deleted -1382599118 1647157971
+adds
+\change_inserted -1382599118 1647157972
+toggles
+\change_unchanged
+ a line at the left side of
+\change_inserted -1382599118 1647158111
+every cell for
+\change_unchanged
+the current
+\change_inserted -1382599118 1647158027
+ly
+\change_deleted -1382599118 1647158069
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647158043
+ion
+\change_inserted -1382599118 1647158044
+ed cells
+\change_unchanged
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_m-align-center.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-line-right"
\end_inset
- centers the content of the current cell / column horizontally
+
+\change_deleted -1382599118 1647157974
+adds
+\change_inserted -1382599118 1647157975
+toggles
+\change_unchanged
+ a line at the right side of
+\change_inserted -1382599118 1647158109
+every cell for
+\change_unchanged
+the current
+\change_inserted -1382599118 1647158061
+ly
+\change_deleted -1382599118 1647158072
+ cell / row or of a
+\change_unchanged
+ select
+\change_deleted -1382599118 1647158078
+ion
+\change_inserted -1382599118 1647158082
+ed cells
+\change_inserted -712698321 1554289731
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_m-align-right.png
- scaleBeforeRotation
+\change_inserted -712698321 1554289910
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-border-lines"
\end_inset
- right-aligns the content of the current cell / column
+
+\change_deleted -1382599118 1647157966
+adds
+\change_inserted -1382599118 1647157967
+toggles
+\change_inserted -712698321 1554289910
+ a border around the currently selected cells
+\change_inserted -1382599118 1647040213
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_m-valign-top.png
- scaleBeforeRotation
+\change_inserted -1382599118 1647158092
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-inner-lines"
\end_inset
- aligns the content of the current cell vertically to the top
+ toggles inner lines for the currently selected cells
+\change_unchanged
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_m-valign-middle.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature toggle-all-lines"
\end_inset
- centers the content of the current cell vertically
+ adds lines around the current or selected cells - if the current cell is
+ not a multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_m-valign-bottom.png
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature unset-all-lines"
\end_inset
- aligns the content of the current cell vertically to the bottom
+ deletes all lines of the current or selected cells - if the current cell
+ is not a multicolumn cell this also affects the current row and column
+\change_inserted -712698321 1554289920
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_set-rotate-cell.png
- scaleBeforeRotation
+\change_inserted -712698321 1554292586
+\begin_inset Info
+type "icon"
+arg "tabular-feature reset-formal-default"
\end_inset
- rotates the current cell or selection counter-clockwise by 90°
+ If using a formal table, this resets the border to its default (only horizontal
+ lines in top and bottom rows)
+\change_unchanged
+
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_set-rotate-tabular.png
- scaleBeforeRotation
+\begin_inset Info
+type "icon"
+arg "tabular-feature m-align-left"
+\end_inset
+ left-aligns the content of the current cell / column
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature m-align-center"
\end_inset
- rotates the whole table counter-clockwise by 90°
+ centers the content of the current cell / column horizontally
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
-\begin_inset Graphics
- filename ../images/tabular-feature_multicolumn.png
- scaleBeforeRotation
+\begin_inset Info
+type "icon"
+arg "tabular-feature m-align-right"
+\end_inset
+
+ right-aligns the content of the current cell / column
+\end_layout
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature align-decimal"
+\end_inset
+
+ aligns the content of the current column at a character
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature m-valign-top"
+\end_inset
+
+ aligns the content of the current cell vertically to the top
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature m-valign-middle"
+\end_inset
+
+ centers the content of the current cell vertically
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature m-valign-bottom"
+\end_inset
+
+ aligns the content of the current cell vertically to the bottom
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature set-rotate-cell"
+\end_inset
+
+ rotates the current cell or selection counter-clockwise by 90°
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature set-rotate-tabular"
+\end_inset
+
+ rotates the whole table counter-clockwise by 90°
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature multicolumn"
\end_inset
sets the current cell or selection as a multicolumn
\end_layout
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Info
+type "icon"
+arg "tabular-feature multirow"
+\end_inset
+
+ sets the current cell or selection as a multirow
+\end_layout
+
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Section
Edit Table Menu
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Edit Menu
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Edit Menu
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Additionally to the table dialog and toolbar, the menu
+In addition to the table dialog and toolbar, the menu
\family sans
-Edit\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
Table
\family default
allows you to add and delete border lines for the current row/column and
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Tables
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Tables
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Floats
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
\begin_layout Standard
Table floats can be inserted using the menu
\family sans
-Insert\SpecialChar \menuseparator
-Float\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Float\SpecialChar menuseparator
Table
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/float-insert_table.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "float-insert table"
\end_inset
.
\begin_layout Standard
Having the caption above the table is the common rule that is unfortunately
- not supported in LaTeX's standard classes.
+ not supported in \SpecialChar LaTeX
+'s standard classes.
This means that, if you are using the document classes
\family sans
article
\family default
, there will be no space between the caption and the table.
To insert the needed space, add the following option to the load command
- of the LaTeX-package
+ of the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
\end_layout
\end_inset
- in your document preamble
+
+\end_layout
+
+\end_inset
+
+ in your document preamble:
\begin_inset Foot
status collapsed
\end_inset
-:
+
\end_layout
\begin_layout Standard
\begin_layout Standard
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-References ! to Tables
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Tables
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
Tables 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
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Label
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/label-insert.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "label-insert"
\end_inset
.
You can now refer to the label using the menu
\family sans
-Insert\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
Cross
\begin_inset space ~
\end_inset
reference
\family default
or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_ref.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset ref"
\end_inset
.
\end_layout
\begin_layout Section
-Longtables
+
+\family sans
+Multi-page Table
+\family default
+s
\begin_inset CommandInset label
LatexCommand label
-name "sec:Longtables"
+name "sec:Multi-page-Tables"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables
+Multi-page Table
\end_layout
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Longtables
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset space ~
\end_inset
-long
+multi-page
+\family default
+ table in the tab
+\family sans
+Multi-page
\begin_inset space ~
\end_inset
table
-\family default
- in the tab
-\family sans
-Longtable
\family default
of the table dialog to split the table automatically over more pages.
Doing this enables the following options:
\begin_layout Description
Header: The current row is defined to be a header row that appears on all
- pages of the longtable; except for the first page, if
+ pages of the multi-page table; except for the first page, if
\family sans
First
\begin_inset space ~
\end_inset
header: The current row is defined to be a header row that appears on the
- first page of the longtable.
+ first page of the multi-page table.
\end_layout
\begin_layout Description
Footer: The current row is defined to be a footer row that appears on all
- pages of the longtable; except for the last page, if
+ pages of the multi-page table; except for the last page, if
\family sans
Last
\begin_inset space ~
\end_inset
footer: The current row is defined to be a footer row that appears on the
- last page of the longtable.
+ last page of the multi-page table.
\end_layout
\begin_layout Description
Caption: The current row contains the table caption.
The row is reset as single column and a caption is inserted.
- More about longtable captions is explained in sec.
+ More about multi-page table captions is explained in sec.
\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Longtable-Captions"
+reference "subsec:Multi-page-Table-Captions"
\end_inset
\begin_layout Standard
You can also specify a row where the table is split.
- See the following longtable to see how it works:
+ See the following multi-page table to see how it works:
\end_layout
\begin_layout Standard
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Longtable-Captions"
+reference "subsec:Multi-page-Table-Captions"
\end_inset
\end_layout
\begin_layout Subsection
-Footnotes in Longtables
+Footnotes in Multi-page tables
\begin_inset CommandInset label
LatexCommand label
-name "sub:Footnotes-in-Longtables"
+name "subsec:Footnotes-in-Multi-page"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Footnotes
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Footnotes
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Footnotes can be inserted to every longtable cell.
+Footnotes can be inserted to every Multi-page table cell.
They appear at the bottom of the page where the table cell with the footnote
appears.
Table
\end_layout
\begin_layout Subsection
-Longtable Alignment
+Multi-page Table Alignment
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Alignment
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Alignment
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Longtables are by default centered.
- Unlike the alignment of the table columns and rows, the table alignment
- can currently not be changed in the table dialog.
- To change the alignment of longtables you have to change the value of the
- lengths
+The horizontal alignment of multi-page tables can be set in the table settings
+ dialog.
+ For left- and right-alignment the table will be directly at the page border.
+ To add space between the table and the border one has to set the alignment
+ to center and change the value of the \SpecialChar LaTeX
+-lengths
\series bold
\backslash
LTleft
\series default
-and
+or
\series bold
\backslash
LTright
\series default
- by inserting this line as TeX-Code before the corresponding longtable:
+ by inserting this line as \SpecialChar TeX
+ Code before the multi-page table:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-where the value can have any of the units listed in Table
+The value can have any of the units listed in Table
\begin_inset space ~
\end_inset
\backslash
LTleft
\series default
- controls the horizontal distance from the left page border to the longtable,
-
+ controls the horizontal distance from the left page border to the multi-page
+ table,
\series bold
\backslash
\backslash
fill
\series default
-, which is in this case the same as an horizontal fill in LyX.
+, which is in this case the same as an horizontal fill in \SpecialChar LyX
+.
\end_layout
\begin_layout Standard
-The following longtable was left-aligned by setting
+The following multi-page table was centered and
\series bold
\backslash
LTleft
\series default
- to 0
-\begin_inset space \thinspace{}
-\end_inset
-
-pt.
+ set to
+\family sans
+0.1
+\backslash
+columnwidth
+\family default
+:
\begin_inset ERT
status collapsed
\backslash
setlength{
\backslash
-LTleft}{0pt}
+LTleft}{0.1
+\backslash
+columnwidth}
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
<features islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Longtable-Captions"
+reference "subsec:Multi-page-Table-Captions"
\end_inset
\end_layout
\begin_layout Subsection
-Longtable Captions
+Multi-page Table Captions
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Captions
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Captions
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset CommandInset label
LatexCommand label
-name "sub:Longtable-Captions"
+name "subsec:Multi-page-Table-Captions"
\end_inset
\end_layout
\begin_layout Standard
-A longtable cannot be put into a table float because floats can only be
- on one page.
- But the caption environment of floats can also be used for longtables when
- you use the longtable option
+A multi-page table cannot be put into a table float because floats can only
+ be on one page.
+ But the caption environment of floats can also be used for multi-page tables
+ when you use the multi-page table option
\family sans
Caption
\family default
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Longtables"
+reference "sec:Multi-page-Tables"
\end_inset
.
- Only one table row can contain the caption.
+ Only one table row should contain a caption, either a header or a footer
+ row.
\end_layout
\begin_layout Standard
-Here is a short longtable to see how it works:
+Here is a short multi-page table to see how it works:
\end_layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
<features islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row caption="true">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
-Longtable with caption
-\begin_inset Argument
+Multi-page table with caption
+\begin_inset Argument 1
status open
\begin_layout Plain Layout
-Longtable
+Multi-page table
\end_layout
\end_inset
1:
\series default
- The table number is increased for for every longtable, even if you did
+ The table number is increased for every multi-page table, even if you did
not set a caption for it.
For this reason you could have the case that e.
\begin_inset space \thinspace{}
\begin_inset space ~
\end_inset
-2.1 in the list of tables if there are two longtables without captions.
- To avoid this you can add the following command in TeX-Code after every
- longtable without a caption:
+2.1 in the list of tables if there are two multi-page tables without captions.
+ To avoid this you can add the following command in \SpecialChar TeX
+ Code after every multi-page
+ table without a caption:
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
-This is not needed when none of your longtables have a caption and you add
- the following code to the document preamble:
+This is not needed when none of your multi-page tables has a caption and
+ you add the following code to the document preamble:
\end_layout
\begin_layout Plain Layout
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\family sans
Document Settings
\family default
- dialog to link cross-references, the link to a longtable caption will always
- point to the beginning of the document.
+ dialog to link cross-references, the link to a multi-page table caption
+ will always point to the beginning of the document.
\end_layout
\end_inset
\end_layout
\begin_layout Subsubsection
-References to Longtables
+References to multi-page tables
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! References
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+References
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
<features islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row caption="true">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
-Referenced longtable
+Referenced multi-page table
\begin_inset CommandInset label
LatexCommand label
-name "tab:RefExample"
+name "tab:Referenced-multi-page-table"
\end_inset
\end_layout
\begin_layout Standard
-To reference a longtable, insert a label into the caption.
+To reference a multi-page table, insert a label into the caption.
\end_layout
\begin_layout Standard
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:RefExample"
+reference "tab:Referenced-multi-page-table"
\end_inset
\begin_layout Standard
The caption layout can be set together with all other captions of your document
- using the LaTeX-package
+ using the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Subsubsection
Caption Width
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Caption Width
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Caption Width
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The maximal width of of caption lines is defined by the length
+The maximal width of caption lines is defined by the length
\series bold
\backslash
in.
To change it add the following command to your document preamble or as
- TeX-Code into your document before the longtable that should be affected
+ \SpecialChar TeX
+ Code into your document before the multi-page table that should be affected
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-where the width could have one of the units listed in appendix
+where the
+\family sans
+width
+\family default
+ can have one of the units listed in appendix
\begin_inset space ~
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
<features islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row caption="true">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
-long full title with default width long full title with default width long
+Long full title with default width long full title with default width long
full title with default width
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
<features islongtable="true" longtabularalignment="center">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row caption="true">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
-long full title with width set to 5
+Long full title with width set to 5
\begin_inset space \thinspace{}
\end_inset
\end_inset
cm
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
\series bold
Note:
\series default
- When the LaTeX-package
+ When the \SpecialChar LaTeX
+-package
\series bold
caption
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset space \thinspace{}
\end_inset
-in, or the LaTeX-command
+in, or the \SpecialChar LaTeX
+-command
\series bold
\backslash
\begin_layout Subsubsection
Different Captions for Table Pages
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Different Captions for Pages
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
\end_layout
\end_inset
-\end_layout
+\begin_inset IndexMacro subentry
+status open
-\begin_layout Standard
-When the table captions for the following pages should differ from the one
- of the first table page, insert a caption with the TeX code command
+\begin_layout Plain Layout
+Different Captions for Pages
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-caption*{caption text}
-\backslash
+\end_layout
+
+\end_inset
+
-\backslash
-%
\end_layout
\begin_layout Standard
-in a dummy caption row that is marked as a header.
+When the table captions for the following pages should differ from the one
+ of the first table page, mark a empty row as header which contains a caption.
+ Then right-click on the caption and select in the context menu
+\family sans
+Caption
+\begin_inset space ~
+\end_inset
+
+(Unnumbered)
+\family default
+.
Table
\begin_inset space ~
\end_inset
\end_inset
- is an example of a longtable with different heading where the second caption
- doesn't include the table number.
+ is an example of a multi-page table with different heading where the second
+ caption does not include the table number.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="59" columns="3">
-<features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
+<features islongtable="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
-<row caption="true">
+<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
Example Phone List
\end_inset
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
\end_inset
</cell>
</row>
-<row endhead="true">
-<cell alignment="left" valignment="top" leftline="true" usebox="none">
+<row endhead="true" caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status open
+\begin_inset Caption Unnumbered
\begin_layout Plain Layout
-
-
-\backslash
-caption*{Continued Example Phone List}
-\backslash
-
-\backslash
-%
+Continued Example Phone List
\end_layout
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\begin_layout Section
-Special Longtable Issues
+Special Multi-page Table Issues
\begin_inset CommandInset label
LatexCommand label
name "sec:Special-Longtable-Issues"
\end_layout
\begin_layout Subsection
-Longtable Calculation
+Multi-page Table Calculation
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Calculation
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Calculation
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-LaTeX calculates the height of table pages and their page breaks using so
- called chunks.
- Chunks are parts of tables that held at the same time in LaTeX's memory.
- The default value was historically set to only 20 table rows.
- If you are using longtables with many pages this may slow down the creation
- of your document.
- You can safely increase the chunk size to values of 100-1000 by adding
- this command line to your document preamble:
+\SpecialChar LaTeX
+ calculates the height of table pages and their page breaks using so called
+ chunks.
+ Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
+'s memory.
+ The default value was historically set to only 20
+\begin_inset space ~
+\end_inset
+
+table rows.
+ If you are using multi-page tables with many pages this may slow down the
+ creation of your document.
+ You can safely increase the chunk size to values of 100
+\begin_inset space \thinspace{}
+\end_inset
+
+--
+\begin_inset space \thinspace{}
+\end_inset
+
+1000 by adding this command line to your document preamble:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsection
-Floats and Longtables
+Floats and Multi-page Tables
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Floats
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Floats
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-There might be problems when a float appears on the same page where a longtable
- starts.
+There might be problems when a float appears on the same page where a multi-page
+ table starts.
To avoid such a situation, insert a
\begin_inset Quotes eld
\end_inset
(menu
\family sans
-Insert\SpecialChar \menuseparator
-Formatting\SpecialChar \menuseparator
+Insert\SpecialChar menuseparator
+Formatting\SpecialChar menuseparator
Clear
\begin_inset space ~
\end_inset
Page
\family default
-) before your longtable.
+) before your multi-page table.
\end_layout
\begin_layout Subsection
Forced Page Breaks
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Longtables ! Forced Page Breaks
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multi-page Table
+\end_layout
+
+\end_inset
+
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Forced Page Breaks
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Quotes erd
\end_inset
- as TeX-Code at the point of the cell where it can be broken.
+ as \SpecialChar TeX
+ Code at the point of the cell where it can be broken.
Before the
\series bold
\backslash
\series default
- command you have to insert in TeX-Code as many
+ command you have to insert in \SpecialChar TeX
+ Code as many
\begin_inset Quotes eld
\end_inset
&
\series default
is the character to separate table cells.
- Write in TeX-Code after each
+ Write in \SpecialChar TeX
+ Code after each
\series bold
&
\series default
the cell that should be broken is in the second column followed by another
column.
- Therefore the following command was inserted in the cell as TeX-Code after
+ Therefore the following command was inserted in the cell as \SpecialChar TeX
+ Code after
\begin_inset Quotes eld
\end_inset
\series default
is only needed when a page break should definitely occur at this position,
otherwise it would be a conditional break.
- If your footer row of the longtable has for a certain reason no upper line
- but you would have a horizontal line where the cell is broken, use this
- command instead:
+ If your footer row of the multi-page table has for a certain reason no
+ upper line but you would have a horizontal line where the cell is broken,
+ use this command instead:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-must be inserted as TeX-Code at the beginning of the cell.
+must be inserted as \SpecialChar TeX
+ Code at the beginning of the cell.
This ensures that the part of the cell that will be displayed on the new
page appears with the full width.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="38" columns="3">
-<features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
+<features islongtable="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0pt">
-<row caption="true">
+<row endfirsthead="true" caption="true">
<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
Table with forced page break in table cell
\end_inset
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
\end_inset
</cell>
</row>
-<row endhead="true">
-<cell alignment="left" valignment="top" leftline="true" usebox="none">
+<row endhead="true" caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\begin_inset Caption Unnumbered
\begin_layout Plain Layout
-
-
-\backslash
-caption*{Continued Example Phone List}
-\backslash
-
-\backslash
-%
+Continued Example Phone List
\end_layout
\end_inset
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\begin_layout Section
-Multiple Lines Columns and Rows
+Multiple Lines, Columns and Rows
\end_layout
\begin_layout Subsection
Multiple Lines in Table Cells
\begin_inset CommandInset label
LatexCommand label
-name "sub:Multiple-Lines-in"
+name "subsec:Multiple-Lines-in"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Linebreaks
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Linebreaks
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\noindent
\begin_inset Float table
placement H
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="2.5cm">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\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.
+ by \SpecialChar LaTeX
+ if it is the first entry.
Therefore you need to insert something to prevent the word not being the
first entry.
So add a horizontal space of 0
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="2.5cm">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="middle" width="2.5cm">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
Multicolumns
\begin_inset CommandInset label
LatexCommand label
-name "sub:Multicolumns"
+name "subsec:Multicolumns"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Multicolumns
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multicolumns
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\begin_layout Standard
To merge cells over multiple columns, select as many cells within a row
as you want to merge and use either the table-toolbar button
-\begin_inset Graphics
- filename ../images/tabular-feature_multicolumn.png
- scale 85
- scaleBeforeRotation
-
+\begin_inset Info
+type "icon"
+arg "tabular-feature multicolumn"
\end_inset
, or the menu
\family sans
-Edit\SpecialChar \menuseparator
-Table\SpecialChar \menuseparator
+Edit\SpecialChar menuseparator
+Table\SpecialChar menuseparator
Multicolumn
\family default
, or right click on the marked cells and choose
\family sans
Multicolumn
\family default
- in the appearing context menu.
+ in the context menu.
\end_layout
\begin_layout Standard
-Multicolumns have there own cell settings.
+Multicolumns have their own cell settings.
That means changing cell borders, cell alignment, and the width only affects
the multicolumn.
Here is an example table with a multicolumn cell in the first row and one
<lyxtabular version="3" rows="3" columns="4">
<features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
-<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle">
<column alignment="center" valignment="top" width="0in">
<column alignment="center" valignment="top" width="0pt">
<row>
Multicolumn Calculations
\begin_inset CommandInset label
LatexCommand label
-name "sub:Multicolumn-Calculations"
+name "subsec:Multicolumn-Calculations"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Multicolumns ! Calculations
+Multicolumns
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Calculations
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-LyX supports multicolumns directly, but we have to take account of the cell
+\SpecialChar LyX
+ supports multicolumns directly, but we have to take account of the cell
width of the columns spanned by the multicolumn cell.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
Table with centered multicolumn text above two columns that have exactly
half the width of the multicolumn cell
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="0" special=">{\centering}m{1.25cm-6.2pt}">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="top">
<row>
<cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
\begin_inset Text
\begin_layout Standard
\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
Table where the spanned table columns are not exactly half the width of
the multicolumn cell
-\begin_inset Argument
+\begin_inset Argument 1
status collapsed
\begin_layout Plain Layout
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="1.25cm">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
\begin_inset Text
\begin_inset CommandInset ref
-LatexCommand eqref
+LatexCommand ref
reference "cha:Explanation-of-Equation"
\end_inset
\begin_layout Standard
The width
-\begin_inset Formula $W_{g\, n}$
+\begin_inset Formula $W_{g\,n}$
\end_inset
which the user needs to set when
\emph default
columns are spanned can be calculated, so that each column has a total
width of
-\begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
+\begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
\end_inset
:
-\begin_inset Formula \begin{equation}
-W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
+\begin_inset Formula
+\begin{equation}
+W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
+\end{equation}
\end_inset
\end_inset
becomes
-\begin_inset Formula \begin{equation}
-W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
+\begin_inset Formula
+\begin{equation}
+W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
+\end{equation}
\end_inset
\end_layout
\begin_layout Standard
-To enable calculations in LaTeX, the LaTeX-package
+To enable calculations in \SpecialChar LaTeX
+, the \SpecialChar LaTeX
+-package
\series bold
calc
\series default
must be loaded with the document preamble line
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! calc
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+calc
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-LyX does not allow you to calculate lengths in the
+\SpecialChar LyX
+ does not allow you to calculate lengths in the
\family sans
Width
\family default
field of the table dialog.
- Therefore you have to format the column by inserting a LaTeX-argument in
- the dialog.
+ Therefore you have to format the column by inserting a \SpecialChar LaTeX
+-argument in the
+ dialog.
Here is an overview about the arguments:
\end_layout
\end_layout
\begin_layout Standard
-By entering a LaTeX-argument, all cell settings set in the table dialog
- are overwritten.
+By entering a \SpecialChar LaTeX
+-argument, all cell settings set in the table dialog are overwritt
+en.
\end_layout
\begin_layout Standard
\series bold
Note:
\series default
- Due to a bug, LyX shows the overwritten settings anyway.
+ Due to a bug, \SpecialChar LyX
+ shows the overwritten settings anyway.
\end_layout
\end_inset
centering
\series default
is added.
- You can now enter the following LaTeX-argument for the first spanned column:
+ You can now enter the following \SpecialChar LaTeX
+-argument for the first spanned column:
\end_layout
\begin_layout Standard
\begin_layout Standard
Although we have chosen centered alignment for the text of the multicolumn
cell, it is still left aligned.
- This is because LyX only applies the alignment to single columns.
- So for the multicolumn cell we have to use the LaTeX-argument
+ This is because \SpecialChar LyX
+ only applies the alignment to single columns.
+ So for the multicolumn cell we have to use the \SpecialChar LaTeX
+-argument
\end_layout
\begin_layout Standard
\begin_layout Subsection
Multirows
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Multirows"
+
+\end_inset
+
+
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Multirows
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Multirows
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Unlike multicolumns multirows are not yet supported by LyX; so a bit of
- TeX-Code needs to be used.
- To use multirows load the LaTeX-package
-\series bold
+To merge cells over multiple rows, select as many cells within a column
+ as you want to merge and use either the table-toolbar button
+\begin_inset Info
+type "icon"
+arg "tabular-feature multirow"
+\end_inset
+
+, or the menu
+\family sans
+Edit\SpecialChar menuseparator
+Table\SpecialChar menuseparator
+Multirow
+\family default
+, or right click on the marked cells and choose
+\family sans
+Multirow
+\family default
+ in the context menu.
+\end_layout
+
+\begin_layout Standard
+Here is an example table with a multirow in the first column:
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a long cell entry
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
multirow
-\series default
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-LaTeX-packages ! multirow
+e
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
- in your document preamble with the command
\end_layout
\begin_layout Standard
+The width of multirow cells is set by setting the width and alignment for
+ the whole column.
+ The
+\family sans
+Vertical Offset
+\family default
+ shifts the content of the multirow up/down if the offset is positive/negative.
+\end_layout
+\begin_layout Standard
+If the column of a multirow cell has no explicit width, the multirow cell
+ inherits the alignment of the column.
+ Otherwise it is by default left-aligned.
+ To override the default, renew the command
\series bold
\backslash
-usepackage{multirow}
+multirowsetup
+\series default
+ with the command
\end_layout
\begin_layout Standard
-Multirows are created with the command
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+multirowsetup}{
+\backslash
+centering}
\end_layout
\begin_layout Standard
+in the document preamble.
+ Then all entries of multirow cells in the document are centered.
+ If centering is only needed for several tables, you can renew the command
+ in a \SpecialChar TeX
+ Code box just before the table instead of the preamble.
+ If the text should be right-aligned, replace
+\series bold
+
+\backslash
+centering
+\series default
+ by
+\series bold
+\backslash
+raggedleft
+\series default
+.
+ To return to left-alignment
\series bold
\backslash
-multirow{number of rows}{cell width}{cell entry}
+raggedright
+\series default
+ is used.
\end_layout
\begin_layout Standard
-To create the following table:
+This is an example table with a right-aligned multirow cell that has a vertical
+ offset of -4
+\begin_inset space \thinspace{}
+\end_inset
+
+mm and is in a 3
+\begin_inset space \thinspace{}
+\end_inset
+
+cm wide column:
\end_layout
\begin_layout Standard
+\noindent
\align center
\begin_inset ERT
status collapsed
\backslash
multirowsetup}{
\backslash
-centering}
+raggedleft}
\end_layout
\end_inset
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="4" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="3cm">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+a long cell entry
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+t
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\backslash
-multirow{2}{2.5cm}{
+\begin_layout Plain Layout
+n
\end_layout
\end_inset
-
-multirow entry
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-}
+m
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+multirow
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-create a 3×3 table.
- Unset the upper border of the last cell in the first column.
- The multirow is now created in the second row of the first column by inserting
- there the command
+To start a new line in a multirow you can use a forced line break (shortcut
+
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+) but this will not respect the cell lines as demonstrated in this table:
\end_layout
\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="middle" width="2cm">
+<column alignment="center" valignment="top">
+<row>
+<cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
+aaa
+\begin_inset Newline newline
+\end_inset
-\backslash
-multirow{2}{2.5cm}{
+aaa
+\begin_inset Newline newline
+\end_inset
+
+wrong cell
\end_layout
-\begin_layout Standard
-as TeX-Code.
- According to the command parameters the multirow spans now two rows and
- has a width of 2.5
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-cm.
- The content of the multirow cell follows outside the TeX-Code box and the
- command is finished with a right brace
-\series bold
-}
-\series default
- in another TeX-Code-box after the text.
+\begin_layout Plain Layout
+ccc
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+<row>
+<cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
-\backslash
-multirow
-\series default
- left-aligns its content by default.
- To override the default, renew the command
-\series bold
+\end_layout
-\backslash
-multirowsetup
-\series default
- with the command
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+ddd
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
+bbb
+\end_layout
-\backslash
-renewcommand{
-\backslash
-multirowsetup}{
-\backslash
-centering}
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+eee
\end_layout
-\begin_layout Standard
-in TeX-Code in the document preamble.
- Then all entries of multirow cells in the document are centered.
- If centering is only needed for several tables, you can renew the command
- in a TeX-Code box just before the table instead of the preamble.
- If the text should be right-aligned, replace
-\series bold
+\end_inset
+</cell>
+</row>
+</lyxtabular>
-\backslash
-centering
-\series default
- by
-\series bold
+\end_inset
-\backslash
-raggedleft
-\series default
-.
- To return to left-alignment
-\series bold
-\backslash
-raggedright
-\series default
- is used.
\end_layout
-\begin_layout Section
-Formal Tables
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Formal-Tables"
+\begin_layout Standard
+Therefore be careful with forced line breaks.
+\end_layout
-\end_inset
+\begin_layout Subsection
+Cells with diagonal line(s)
+\end_layout
+\begin_layout Standard
+To tell the reader what is meant by column and row headings in a table,
+ it is helpful to split the first cell of the table by one or two diagonal
+ lines.
+ This can be achieved by loading the \SpecialChar LaTeX
+ package
+\series bold
+diagbox
+\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Formal
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+picinpar
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-Tables are often typeset in books similar to Table
-\begin_inset space ~
\end_inset
+ in the document preamble.
+ The package provides the command
+\series bold
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Example-booktabs-table"
-
-\end_inset
-
-.
- This kind of tables is called
-\begin_inset Quotes eld
+\backslash
+diagbox
+\series default
+ that is inserted as \SpecialChar TeX
+ Code and that can take 2 or 3
+\begin_inset space ~
\end_inset
+arguments:
+\end_layout
-\emph on
-formal
-\emph default
+\begin_layout Standard
-\begin_inset Quotes erd
-\end_inset
+\series bold
-.
- To make a table a formal table use the option
-\family sans
-Formal
-\family default
- in the
-\family sans
-Borders
-\family default
- tab of the table dialog.
+\backslash
+diagbox[options]{lower left}{upper right}
\end_layout
\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Example-booktabs-table"
-\end_inset
+\series bold
-Example booktabs-table
+\backslash
+diagbox[options]{lower left}{upper left}{upper right}
\end_layout
+\begin_layout Standard
+The first scheme divides the cell by a single diagonal line and the arguments
+ are placed below and above this line.
+ The second scheme divides the cell by 2
+\begin_inset space ~
\end_inset
-
+lines.
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-System
+
+
+\backslash
+ifdiagbox
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-1
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+diagbox
+\series default
+ is installed.
\end_layout
\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-2
\end_layout
+\begin_layout Standard
+Here is an example table where
+\series bold
+
+\backslash
+diagbox
+\series default
+is used in the 2-argument scheme in the first cell:
+\begin_inset VSpace medskip
\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
-\end_inset
-</cell>
-</row>
+\begin_layout Standard
+\noindent
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
-cmidrule(r){2-2}
+diagbox{
\end_layout
\end_inset
-
+Name
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+}{
+\end_layout
+
+\end_inset
-\backslash
-cmidrule(l){3-4}
+Parameter
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
\end_inset
-Detector thickness in µm
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+Thickness in nm
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+Transparency in %
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-700
+Hardness in MPa
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Edge angle in °
+Perfect Green
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3.55
+45
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-2.71
+80
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-7.99
+504
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Spatial resolution in µm
+Dark Multi-P
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-4.26
+60
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.17
+72
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.56
+982
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-MTF at
-\begin_inset Formula $f_{\mathrm{max}}$
-\end_inset
-
-
+Crystal Clear Pro
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.53
+18
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.37
+86
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.39
+374
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The 3-argument scheme is for example useful for cross-tables of sports leagues
+ or distances:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
-cmidrule(l{10pt}){1-1}
+diagbox{
\end_layout
\end_inset
-LSF-spatial resolution
+Team home
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
+
+\end_inset
+
+Result
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+
+Team away
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+}
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+Panthers
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+Falcons
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-in µm
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-129.7
+—
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-52.75
+1:3
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-50.78
+0:1
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-in % of pixel size
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-76.3
+3:1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-95.9
+—
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-92.3
+0:0
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
-
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+Falcons
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+1:0
\end_layout
-\begin_layout Standard
-Spaces to table rows can be added using the
-\family sans
-Borders
-\family default
- tab of the table dialog as described in section
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Row-Spacing"
+\begin_layout Plain Layout
+0:0
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+—
\end_layout
-\begin_layout Standard
-Unlike normal tables, formal tables have no vertical table lines.
- The horizontal table lines can be set as for normal tables but they appear
- with different widths in the output:
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+</lyxtabular>
-The first and the last table line have a default width of 0.08
-\begin_inset space \thinspace{}
\end_inset
-em while the other lines have a default width of 0.05
-\begin_inset space \thinspace{}
-\end_inset
-em.
\end_layout
\begin_layout Standard
-The default widths can be changed with the following preamble lines
+For larger cross-tables one might use split cells in 2 or every corner of
+ the table like in this example:
\end_layout
\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
-\series bold
\backslash
-let
-\backslash
-mytoprule
-\backslash
-toprule
-\begin_inset Newline newline
+diagbox{
+\end_layout
+
\end_inset
+Team home
+\begin_inset ERT
+status collapsed
-\backslash
-renewcommand{
-\backslash
-toprule}{
-\backslash
-mytoprule[width]}
+\begin_layout Plain Layout
+
+}{
\end_layout
-\begin_layout Standard
-This example is for the first line, the so called
-\series bold
-toprule
-\series default
-.
- If you want to change the width for the last line, replace
-\series bold
-toprule
-\series default
- by
-\series bold
-bottomrule
-\series default
-.
- To change the width for the other lines replace
-\series bold
-toprule
-\series default
- by
-\series bold
-midrule
-\series default
-.
- You can use all units listed in appendix
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:Units-available-in"
-
-\end_inset
-
- to set the width.
-\end_layout
-
-\begin_layout Standard
-Lines that do not span all table columns can be created by setting a table
- line for multicolumn cells.
- LyX will then internally use the command
-\series bold
-
-\backslash
-cmidrule
-\series default
- to create this line.
- Its full scheme is
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule[width](trim){startcol-endcol}
-\end_layout
-
-\begin_layout Standard
-The options of
-\series bold
-
-\backslash
-cmidrule
-\series default
- are currently not supported by LyX so you have to use TeX-Code to be able
- to use them.
-
-\series bold
-
-\backslash
-cmidrule
-\series default
-s can manually be created by inserting the command as TeX-Code as the first
- cell entry of the first cell of a row.
- The line is then drawn in the output above the current row.
-\end_layout
-
-\begin_layout Standard
-The default for the width is 0.03
-\begin_inset space \thinspace{}
-\end_inset
-
-em.
- Startcol is the number of the column where the line starts and endcol the
- column number where the line ends.
- The endcol always needs to be specified, also when the line should span
- only one column.
- The optional parameter trim could be either
-\emph on
-l{trimwidth}
-\emph default
-, or
-\emph on
-r{trimwidth}
-\emph default
- where the trimwidth is also optional.
- Using for example the parameter
-\emph on
-l{2pt}
-\emph default
- means that the line is trimmed from its left end by 2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt.
- If you don't specify the trimwidth the lines are trimmed by the default
- of 0.5
-\begin_inset space \thinspace{}
-\end_inset
-
-em.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Example-booktabs-table"
-
-\end_inset
-
- was created using the commands
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule(r){2-2}
-\backslash
-cmidrule(l){3-4}
-\end_layout
-
-\begin_layout Standard
-at the beginning of the second row and
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule(l{10pt}){1-1}
-\end_layout
-
-\begin_layout Standard
-in the sixth row.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-You might want to have overlapping
-\series bold
-
-\backslash
-cmidrule
-\series default
-s as in in Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Special-booktabs-table"
-
-\end_inset
-
-.
- This can be achieved with the TeX-Code command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-morecmidrules
-\end_layout
-
-\begin_layout Standard
-The command that was used for the second row of Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Special-booktabs-table"
-
-\end_inset
-
- is
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-cmidrule(r){2-2}
-\backslash
-cmidrule(l){3-4}
-\backslash
-morecmidrules
-\backslash
-cmidrule{2-4}
-\end_layout
-
-\begin_layout Standard
-The command for the sixth row is
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-midrule
-\backslash
-morecmidrules
-\backslash
-cmidrule{3-4}
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-If you are anyway not satisfied with the border line spacing, you can use
- the following command to produce lines that span over all table columns
-\series bold
-:
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-specialrule{width}{space above}{space below}
-\end_layout
-
-\begin_layout Standard
-For more information about these features, refer to the manual of the LaTeX-pack
-age
-\series bold
-booktabs
-\series default
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "booktabs"
-
\end_inset
-.
-\begin_inset Index idx
+Result
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! booktabs
-\end_layout
-
-\end_inset
-
+}{
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+\end_inset
-\begin_layout Plain Layout
-\begin_inset Caption
+Team away
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Special-booktabs-table"
-
-\end_inset
-Special booktabs-table
+}
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true" tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-System
-\end_layout
-
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-
-1
+Tigers
\end_layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Chip
-\begin_inset space \thinspace{}
-\end_inset
-
-2
+Panthers
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Falcons
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-cmidrule(r){2-2}
+diagbox[dir=NE]{
\end_layout
\end_inset
-
+Team home
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule(l){3-4}
+}{
\end_layout
\end_inset
-
+Result
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-morecmidrules
+}{
\end_layout
\end_inset
-
+Team away
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule{2-4}
+}
\end_layout
\end_inset
-Detector thickness in µm
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-300
+—
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-700
+1:3
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Edge angle in °
+0:1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3.55
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-2.71
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-7.99
+3:1
\end_layout
\end_inset
</cell>
-</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Spatial resolution in µm
+—
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-4.26
+0:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.17
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-10.56
+Falcons
\end_layout
\end_inset
</cell>
-</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-MTF at
-\begin_inset Formula $f_{\mathrm{max}}$
-\end_inset
-
-
+1:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.53
+0:0
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.37
+—
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-0.39
+Falcons
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-morecmidrules
+diagbox[dir=SW]{
\end_layout
\end_inset
-
+Team home
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-cmidrule{3-4}
+}{
\end_layout
\end_inset
-LSF-spatial resolution
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+Result
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
+
+Team away
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-in µm
+Tigers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-129.7
+Panthers
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-52.75
+Falcons
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-50.78
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[dir=SE]{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+
+Team home
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-in % of pixel size
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+
+Result
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-76.3
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+
+Team away
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-95.9
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-92.3
+
\end_layout
\end_inset
\end_layout
-\end_inset
+\begin_layout Standard
+To rotate the diagonal lines, the command option
+\series bold
+dir=direction
+\series default
+ is used.
+
+\emph on
+direction
+\emph default
+ is either
+\series bold
+NE
+\series default
+,
+\series bold
+SE
+\series default
+,
+\series bold
+SW
+\series default
+ or
+\series bold
+NW
+\series default
+ and represent a point of a compass.
+
+\series bold
+SW
+\series default
+ is for example the south-west corner.
+ Thus in the lower left cell of the above table the command
+\end_layout
+
+\begin_layout Standard
+\series bold
+\backslash
+diagbox[dir=SW]{Team home}{Result}{Team away}
\end_layout
-\begin_layout Section
-Vertical Table Alignment
-\begin_inset Index idx
+\begin_layout Standard
+is used.
+ If no direction is given, it will be NW.
+\end_layout
+
+\begin_layout Standard
+The necessary width of split cells is automatically calculated.
+ Thus if you set a fixed column width smaller than the calculated one, the
+ cell's content will protrude the cell borders:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="3cm">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Table ! Alignment
+
+
+\backslash
+diagbox{
\end_layout
\end_inset
+Name
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\end_layout
-\begin_layout Standard
-To align tables vertically in a text line the table must be inside a box.
- The box can then be vertically aligned as described in section
-\begin_inset space ~
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Box-Dialog"
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Standard
-In the following example the tables are inside a minipage
-\begin_inset Foot
+Parameter
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Minipages are described in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
-
-\end_inset
-.
+}
\end_layout
\end_inset
- box that has a width of 15
-\begin_inset space \thinspace{}
-\end_inset
-
-col%:
-\end_layout
-
-\begin_layout Itemize
-test
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-d
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-g
+Thickness in nm
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+Perfect Green
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+45
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-h
-\end_layout
+</row>
+</lyxtabular>
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-c
+
\end_layout
+\begin_layout Standard
+If you need a certain width for columns with a split cell, use the command
+ option
+\series bold
+width=3cm
+\series default
+ (replace '3cm' by the width you need).
+ In the following table the width of the first column is set to 4
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-f
-\end_layout
+cm.
+ For
+\series bold
+\backslash
+diagbox
+\series default
+ a width of 4
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-i
-\end_layout
+cm + 2
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-</row>
-</lyxtabular>
+
+\backslash
+tabcolsep is necessary because the overall width is the width for the text
+ (in this case the 4
+\begin_inset space \thinspace{}
\end_inset
+cm) plus two times the separation of the text and the cell border.
+ The calculation of the width cannot be done in the command option of
+\series bold
+\backslash
+diagbox
+\series default
+ so one needs to create a new length which can be used later.
+ This is done with the \SpecialChar TeX
+ Code commands
\end_layout
-\end_inset
+\begin_layout Standard
- test
-\begin_inset ERT
-status collapsed
+\series bold
-\begin_layout Plain Layout
+\backslash
+newlength{
+\backslash
+diagtest}
+\begin_inset Newline newline
+\end_inset
\backslash
-raisebox{0.85
+setlength{
\backslash
-baselineskip}{
+diagtest}{4cm+2
+\backslash
+tabcolsep}
\end_layout
-\end_inset
-
-
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\begin_layout Standard
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-a
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-d
+\backslash
+newlength{
+\backslash
+diagtest}
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
\begin_layout Plain Layout
-g
-\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-b
+\backslash
+setlength{
+\backslash
+diagtest}{4cm+2
+\backslash
+tabcolsep}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-e
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-h
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-c
-\end_layout
+\begin_layout Standard
+To enable calculations in \SpecialChar LaTeX
+ one needs to load the package
+\series bold
+calc
+\series default
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
-f
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-i
+calc
\end_layout
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
\end_inset
\end_inset
+ in the document preamble.
+\end_layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+\begin_layout Standard
+In this table you can now use the command
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+\backslash
+diagbox[width=
+\backslash
+diagtest]{A}{B}
\end_layout
-\begin_layout Itemize
-test
-\begin_inset Box Frameless
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\begin_layout Standard
+in the first cell:
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+\noindent
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="4cm">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox[width=
+\backslash
+diagtest]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+45
\end_layout
\end_inset
\end_layout
-\end_inset
-
-
+\begin_layout Standard
+Note that the split cell needs to be the widest one in the column.
+ Otherwise the length of the diagonal line cannot be calculated correctly
+ like in this table:
\end_layout
-\begin_layout Itemize
-test
-\begin_inset Box Frameless
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\noindent
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+45
\end_layout
\end_inset
\end_layout
-\end_inset
-
- test
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+\begin_layout Standard
+In this case use the
+\series bold
+width
+\series default
+ option of the
+\series bold
\backslash
-raisebox{-0.32
+diagbox
+\series default
+ command.
+ It is then not necessary to add 2
\backslash
-baselineskip}{
-\end_layout
-
+tabcolsep because the cell width is now the width of the column.
+ In this table a width of 3
+\begin_inset space \thinspace{}
\end_inset
+cm is used:
+\end_layout
-\begin_inset Box Frameless
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\noindent
+\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
+<lyxtabular version="3" rows="2" columns="2">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-d
+
+
+\backslash
+diagbox[width=3cm]{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+A
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-g
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+B
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-h
+Thickness in nm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
+Perfect Green
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+45
\end_layout
\end_inset
\end_layout
-\end_inset
+\begin_layout Standard
+For multiple text lines in split cells one needs some extra height to fit
+ the text to the cell.
+ This can be achieved with the
+\series bold
+\backslash
+diagbox
+\series default
+ option
+\series bold
+height=3cm
+\series default
+ (replace '3cm' by the height you need).
+ In the following table the command
+\end_layout
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
-\begin_layout Plain Layout
+\series bold
-}
+\backslash
+diagbox[width=3cm,height=1.4cm]{A
+\backslash
+
+\backslash
+B}{C
+\backslash
+
+\backslash
+D}
+\end_layout
+
+\begin_layout Standard
+is used in the first cell.
+ The command
+\series bold
+
+\backslash
+
+\backslash
+
+\series default
+ creates hereby the line break.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Breaking lines with
+\family sans
+Ctrl+Return
+\family default
+ is only possible when the column has a fixed width.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-As you will see, the content of the first and last table row is not correctly
- aligned.
- To get this alignment, the minipage box must be set into a raisebox
-\begin_inset Foot
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+diagbox[width=3cm,height=1.4cm]{
+\end_layout
+
+\end_inset
+
+A
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Raiseboxes are described in section
-\begin_inset space ~
+
+
+\backslash
+
+\backslash
+
+\end_layout
+
\end_inset
+B
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Vertical-Alignment"
+\begin_layout Plain Layout
+
+}{
+\end_layout
\end_inset
-.
+C
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
\end_layout
\end_inset
-.
- In the example above the second table in the first item is aligned using
- the TeX-Code-command
+D
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Thickness in nm
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Perfect Green
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+45
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-raisebox{0.85
-\backslash
-baselineskip}{
+else
\end_layout
-\begin_layout Standard
-before the box.
- After the box the closing brace
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
\series bold
-}
+diagbox
\series default
- is inserted as TeX-Code.
- For the second table in the last item the command
+ is not installed:
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-raisebox{-0.32
-\backslash
-baselineskip}{
\end_layout
\begin_layout Standard
-is used.
+You need to install the \SpecialChar LaTeX
+-package
+\series bold
+diagbox
+\series default
+ to see the following part of this section in the output.
\end_layout
\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- The alignment of the table row content to the surrounding text line is
- not exact.
- The required value for the
-\series bold
\backslash
-raisebox
-\series default
- command for this alignment depends on the document font, the font size,
- and the table line thickness.
+fi
\end_layout
\end_inset
\end_layout
+\begin_layout Standard
+For more info about the \SpecialChar LaTeX
+-package
+\series bold
+diagbox
+\series default
+, see its documentation,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "diagbox"
+literal "true"
+
+\end_inset
+
+.
+\end_layout
+
\begin_layout Section
-Colored Tables
+Formal Tables
\begin_inset CommandInset label
LatexCommand label
-name "sec:Colored-Tables"
+name "sec:Formal-Tables"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Table ! Color
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Formal
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Colored Cells
-\begin_inset Index idx
-status collapsed
+\end_inset
+
-\begin_layout Plain Layout
-Table Color ! for Cells
\end_layout
+\begin_layout Standard
+Tables are often typeset in books similar to Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Example-booktabs-table"
+
\end_inset
+.
+ This kind of tables is called
+\begin_inset Quotes eld
+\end_inset
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-Color ! for Table Cells
-\end_layout
+\emph on
+formal
+\emph default
+
+\begin_inset Quotes erd
+\end_inset
+.
+ To make a table a formal table
+\change_inserted -712698321 1554290084
+, select the table style
+\begin_inset Quotes eld
\end_inset
+Formal
+\change_deleted 630872221 1622707670
+ Table
+\change_inserted 630872221 1622707670
+\SpecialChar ldots
+
+\change_inserted -712698321 1554290084
+
+\begin_inset Quotes erd
+\end_inset
+ in the Table Creation dialog or
+\change_unchanged
+ use the option
+\family sans
+Formal
+\family default
+ in the
+\family sans
+Borders
+\family default
+ tab of the table dialog
+\change_inserted -712698321 1554290131
+ (if you additionally check the option
+\family sans
+Use Default Formal Style
+\family default
+, the border lines are adapted to a sensible default)
+\change_unchanged
+.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-colored-without"
-
-\end_inset
-
-Table colored without using the package
-\series bold
-colortbl
-\series default
-
-\begin_inset Argument
-status collapsed
-
-\begin_layout Plain Layout
-Table without colortbl
-\end_layout
+name "tab:Example-booktabs-table"
\end_inset
-
+Example
+\change_deleted -712698321 1554292310
+booktabs-
+\change_inserted -712698321 1554292311
+formal
+\change_unchanged
+table
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="8" columns="4">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+System
+\end_layout
-\color green
-a
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
+
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
-\color red
-b
+2
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color red
-c
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color green
-d
+\change_deleted -712698321 1554290161
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule(r){2-2}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cmidrule(l){3-4}
+\end_layout
+
+\end_inset
+
+
+\change_unchanged
+Detector thickness in µm
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-e
+300
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+300
+\end_layout
-\color blue
-f
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+700
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color green
-g
+Edge angle in °
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
-\color blue
-h
+3.55
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+2.71
+\end_layout
-\color blue
-i
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7.99
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-\end_inset
+\begin_layout Plain Layout
+Spatial resolution in µm
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+4.26
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+10.17
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+10.56
\end_layout
-\begin_layout Standard
-If you only need colored text, mark the cells and choose a color in the
- menu
-\family sans
-Edit\SpecialChar \menuseparator
-Text
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-Style
-\family default
-.
- This was used to create Table
-\begin_inset space ~
+\begin_layout Plain Layout
+MTF at
+\begin_inset Formula $f_{\mathrm{max}}$
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-colored-without"
+\end_layout
\end_inset
-
-.
- In any other case you have to use the LaTeX-package
-\series bold
-colortbl
-\series default
-.
-\begin_inset Index idx
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-LaTeX-packages ! colortbl
+0.53
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.37
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+0.39
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\change_deleted -712698321 1554290260
\begin_inset ERT
status collapsed
\backslash
-ifcolortbl
+cmidrule[2pt](l{10pt}){1-1}
\end_layout
\end_inset
-\begin_inset Note Note
-status open
-
-\begin_layout Plain Layout
-The following section part will only be displayed when the LaTeX-package
-
-\series bold
-colortbl
-\series default
- is installed.
+\change_unchanged
+LSF-spatial resolution
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-To create colored tables,
-\series bold
-colortbl
-\series default
- must be loaded in the preamble with the line
-\end_layout
-
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
-\backslash
-usepackage{colortbl}
\end_layout
-\begin_layout Standard
-The color of a column is adjusted with the command
-\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
+\end_layout
-\backslash
-columncolor{name of color}
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+in µm
\end_layout
-\begin_layout Standard
-inside the command
-\series bold
->{ }
-\series default
-.
- More about the command
-\series bold
->{}
-\series default
- is contained in section
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+129.7
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+52.75
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+50.78
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+in % of pixel size
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+76.3
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+95.9
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+92.3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Spaces to table rows can be added using the
+\family sans
+Borders
+\family default
+ tab of the table dialog as described in section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Multicolumn-Calculations"
+reference "subsec:Row-Spacing"
\end_inset
\end_layout
\begin_layout Standard
-The following color names are predefined:
+Unlike normal tables, formal tables have no vertical table lines.
+ The horizontal table lines can be set as for normal tables but they appear
+ with different widths in the output:
+\begin_inset Newline newline
+\end_inset
+
+The first and the last table line have a default width of 0.08
+\begin_inset space \thinspace{}
+\end_inset
+
+em while the other lines have a default width of 0.05
+\begin_inset space \thinspace{}
+\end_inset
+
+em.
\end_layout
\begin_layout Standard
-
-\family sans
-red
-\family default
-,
-\family sans
-green
-\family default
-,
-\family sans
-yellow
-\family default
-,
-\family sans
-blue
-\family default
-,
-\family sans
-cyan
-\family default
-,
-\family sans
-magenta
-\family default
-,
-\family sans
-black
-\family default
- and
-\family sans
-white
+The default widths can be changed with the following preamble lines
\end_layout
\begin_layout Standard
-\begin_inset VSpace medskip
+
+\series bold
+
+\backslash
+let
+\backslash
+mytoprule
+\backslash
+toprule
+\begin_inset Newline newline
\end_inset
+\backslash
+renewcommand{
+\backslash
+toprule}{
+\backslash
+mytoprule[width]}
\end_layout
\begin_layout Standard
-You can also define your own color with the command
+This example is for the first line, the so called
+\series bold
+toprule
+\series default
+.
+ If you want to change the width for the last line, replace
+\series bold
+toprule
+\series default
+ by
+\series bold
+bottomrule
+\series default
+.
+ To change the width for the other lines replace
+\series bold
+toprule
+\series default
+ by
+\series bold
+midrule
+\series default
+.
+ You can use all units listed in appendix
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:Units-available-in"
+
+\end_inset
+
+ to set the width.
\end_layout
\begin_layout Standard
+\change_deleted -712698321 1554290929
+Lines that do not span all table columns can be created by setting a table
+ line for multicolumn cells.
+ \SpecialChar LyX
+ will then internally use the command
\series bold
\backslash
-definecolor{color name}{color model}{color values}
+cmidrule
+\series default
+ to create this line.
+ Its full scheme is
+\change_inserted -712698321 1554291959
+As in table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Example-booktabs-table"
+
+\end_inset
+
+, formal tables often use shortened lines to group columns.
+ This can be done in the borders widget of the table dialog.
+ With formal tables, the top and bottom borders have to small offset lines
+ to the left and the right.
+ Clicking on these will trim the line respectively.
+\change_unchanged
+
\end_layout
\begin_layout Standard
-The color model can be
-\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-cmyk: cyan, magenta, yellow, black
-\end_layout
+\change_inserted -712698321 1554291403
+If you need to adjust the length of the trimming or the height of the rules,
+ you have to resort to \SpecialChar TeX
+ Code.
+ The respective command (which is also used for the trimmed mid rules) is
+ this:
+\change_unchanged
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-rgb: red, green blue
\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-gray gray
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cmidrule[height](trim){startcol-endcol}
\end_layout
\begin_layout Standard
-and the color values are comma separated numbers between 0 and 1 describing
- the factor for the corresponding color of the color model.
+
+\change_deleted -712698321 1554292020
+The options of
+\series bold
+
+\backslash
+cmidrule
+\series default
+ are currently not supported by \SpecialChar LyX
+ so you have to use \SpecialChar TeX
+ Code to be able to
+ use them.
+
+\series bold
+
+\backslash
+cmidrule
+\series default
+s can manually be created by inserting the command as \SpecialChar TeX
+ Code as the first
+ cell entry of the first cell of a row.
+ The line is then drawn in the output above the current row.
+\change_unchanged
+
\end_layout
\begin_layout Standard
-You can e.
+The default for the optional
+\series bold
+height
+\series default
+ is 0.03
\begin_inset space \thinspace{}
\end_inset
-g.
-\begin_inset space \space{}
+em.
+
+\series bold
+startcol
+\series default
+ is the number of the column where the line starts and
+\series bold
+endcol
+\series default
+ the column number where the line ends.
+ The
+\series bold
+endcol
+\series default
+ always needs to be specified, also when the line should span only one column.
+ The optional parameter
+\series bold
+trim
+\series default
+ could either be
+\emph on
+l{trimwidth}
+\emph default
+ or
+\emph on
+r{trimwidth}
+\emph default
+ where the
+\emph on
+trimwidth
+\emph default
+ is also optional.
+ Using for example the parameter
+\emph on
+l{2pt}
+\emph default
+ means that the line is trimmed from its left end by 2
+\begin_inset space \thinspace{}
\end_inset
-define the color "
+pt.
+ If you don't specify the
\emph on
-darkgreen
+trimwidth
\emph default
-" in the preamble with
+ the line is trimmed by the default of 0.5
+\begin_inset space \thinspace{}
+\end_inset
+
+em
+\change_inserted -712698321 1554291561
+ (this is what is done if you use trimming from the dialog)
+\change_unchanged
+.
+\change_inserted -712698321 1554292039
+
\end_layout
\begin_layout Standard
+\change_inserted -712698321 1554292207
+The
+\emph on
+height
+\emph default
+ option of
\series bold
\backslash
-definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
-\end_layout
-
-\begin_layout Standard
-and the color "
+cmidrule
+\series default
+ is currently not supported by \SpecialChar LyX
+, and neither are the
\emph on
-lightgray
+trimwidth
\emph default
-" with
-\end_layout
-
-\begin_layout Standard
-
+ parameters.
+ If you need this you can manually insert a
\series bold
\backslash
-definecolor{lightgray}{gray}{0.8}
-\end_layout
+cmidrule
+\series default
+ with the respective settings as \SpecialChar TeX
+ Code as the first cell entry of the first
+ cell of a row.
+ The line is then drawn in the output above the current row.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Special-booktabs-table"
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
+ exemplifies this (in the sixth row).
+\change_unchanged
\end_layout
\begin_layout Standard
-Lines are colored with the command
+
+\change_deleted -712698321 1554291078
+\begin_inset VSpace bigskip
+\end_inset
+
+Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Example-booktabs-table"
+
+\end_inset
+
+ was created using the commands
\end_layout
\begin_layout Standard
+\change_deleted -712698321 1554291077
+
\series bold
\backslash
-rowcolor{name of color}
+cmidrule(r){2-2}
+\backslash
+cmidrule(l){3-4}
\end_layout
\begin_layout Standard
-and cells are colored with the command
+
+\change_deleted -712698321 1554291077
+at the beginning of the second row and
\end_layout
\begin_layout Standard
+\change_deleted -712698321 1554291077
+
\series bold
\backslash
-cellcolor{name of color}
+cmidrule[2pt](l{10pt}){1-1}
\end_layout
\begin_layout Standard
-Both commands are inserted at the beginning of a cell as TeX-Code.
+
+\change_deleted -712698321 1554291077
+in the sixth row.
+\change_unchanged
+
\end_layout
\begin_layout Standard
-To color characters in the table, mark the cells and use the LyX menu
-\family sans
-Edit\SpecialChar \menuseparator
-Text
-\begin_inset space ~
+
+\change_deleted -712698321 1554292212
+\begin_inset VSpace bigskip
\end_inset
-Style
-\family default
-.
- If a cell contains TeX-Code mark only the characters, otherwise the colored
- TeX-Code will cause LaTeX-errors.
-\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\change_unchanged
-\begin_layout Plain Layout
+\end_layout
+\begin_layout Standard
+You
+\change_inserted -712698321 1554291573
+also
+\change_unchanged
+might want to have overlapping
\series bold
-Note:
+
+\backslash
+cmidrule
\series default
- Not all DVI-viewers are able to display self-defined colors.
-\end_layout
+s as
+\change_deleted -712698321 1554296804
+in
+\change_inserted -712698321 1554296808
+exemplified as well
+\change_unchanged
+ in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Special-booktabs-table"
\end_inset
+\change_inserted -712698321 1554291601
+, even though this is considered bad style (so only use it if you really
+ need to)
+\change_unchanged
+.
+ This can be achieved with the \SpecialChar TeX
+ Code command
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\series bold
+\backslash
+morecmidrules
\end_layout
\begin_layout Standard
-To create Table
+The command that was used for the second row of Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Table-colored-using"
+reference "tab:Special-booktabs-table"
\end_inset
- do the following: The color of the first column should be
-\emph on
-darkgreen
-\emph default
-.
- So insert
+ is
\end_layout
\begin_layout Standard
+\change_deleted -712698321 1554291798
+
\series bold
->{
+
\backslash
-columncolor{darkgreen}
+cmidrule(r){2-2}
\backslash
-centering}c
+cmidrule(l){3-4}
+\change_unchanged
+
+\backslash
+morecmidrules
+\backslash
+cmidrule{2-4}
\end_layout
\begin_layout Standard
-as LaTeX-argument for this column.
- The first row should be blue, therefore the TeX-Code command
+The command for the sixth row is
\end_layout
\begin_layout Standard
+\change_deleted -712698321 1554291810
+
\series bold
\backslash
-rowcolor{cyan}
+midrule
+\change_unchanged
+
+\backslash
+morecmidrules
+\backslash
+cmidrule{3-4}
\end_layout
\begin_layout Standard
-is inserted to the first cell of this row.
- Note that this overwrites the column color for the first cell.
- The last cell of the last row is colored magenta by inserting the TeX-Code
- command
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you are in any way not satisfied with the border line spacing, you can
+ use the following command to produce lines that span over all table columns
+\series bold
+:
\end_layout
\begin_layout Standard
\series bold
\backslash
-cellcolor{magenta}
+specialrule{width}{space above}{space below}
\end_layout
\begin_layout Standard
-The characters could now be colored using the menu
-\family sans
-Edit\SpecialChar \menuseparator
-Text
-\begin_inset space ~
+For more information about these features, refer to the manual of the \SpecialChar LaTeX
+-package
+
+\series bold
+booktabs
+\series default
+
+\begin_inset CommandInset citation
+LatexCommand cite
+key "booktabs"
+literal "true"
+
\end_inset
-Style
-\family default
.
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+booktabs
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-colored-using"
-
-\end_inset
-
-Table colored using the package
-\series bold
-colortbl
-\series default
-
-\begin_inset Argument
-status collapsed
-
-\begin_layout Plain Layout
-Table with colortbl
-\end_layout
+name "tab:Special-booktabs-table"
\end_inset
-
+Special
+\change_inserted -712698321 1554292295
+(ugly)
+\change_deleted -712698321 1554292304
+booktabs
+\change_inserted -712698321 1554292305
+formal
+\change_deleted -712698321 1554292300
+-
+\change_unchanged
+table
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="8" columns="4">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
<row>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-rowcolor{cyan}
+System
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
-\color magenta
-a
+1
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+Chip
+\begin_inset space \thinspace{}
+\end_inset
-\color red
-b
+2
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\color red
-c
\end_layout
\end_inset
\begin_layout Plain Layout
-\color yellow
-d
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\change_deleted -712698321 1554291732
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\color blue
-e
+
+\backslash
+cmidrule(r){2-2}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\color blue
-f
+
+\backslash
+cmidrule(l){3-4}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\color yellow
-g
-\end_layout
+\change_unchanged
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\color blue
-h
+
+\backslash
+morecmidrules
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
+
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-cellcolor{magenta}
+cmidrule{2-4}
\end_layout
\end_inset
-
-\color green
-i
+Detector thickness in µm
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+300
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+300
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-
-\backslash
-else
+700
\end_layout
\end_inset
-
-
-\begin_inset Note Note
-status open
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
-\series bold
-colortbl
-\series default
- is not installed:
+Edge angle in °
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-
-\end_layout
-
-\begin_layout Standard
-You need to install the package
-\series bold
-colortbl
-\series default
- to see the content of this section in the output.
+\begin_layout Plain Layout
+3.55
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-
-\backslash
-fi
+2.71
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+7.99
\end_layout
-\begin_layout Subsection
-Colored Lines
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Table Color ! for Lines
+Spatial resolution in µm
\end_layout
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Color ! for Table Lines
+4.26
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+10.17
\end_layout
-\begin_layout Standard
-As described in section
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Line-Thickness"
+\begin_layout Plain Layout
+10.56
+\end_layout
\end_inset
+</cell>
+</row>
+<row topspace="default">
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-, the line thickness for all lines in a table can be adjusted with the length
-
-\series bold
-
-\backslash
-arrayrulewidth
-\series default
-.
- It is set to 1.5
-\begin_inset space \thinspace{}
+\begin_layout Plain Layout
+MTF at
+\begin_inset Formula $f_{\mathrm{max}}$
\end_inset
-pt for all tables of this section.
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{1.5pt}
+\begin_layout Plain Layout
+0.53
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+0.37
\end_layout
-\begin_layout Standard
-To color vertical lines for example with green, create the following column
- format in the document preamble, according to the description in section
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Customized-Format"
+\begin_layout Plain Layout
+0.39
+\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-:
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-newcolumntype{W}{!{
-\backslash
-color{green}
-\backslash
-vline}}
+morecmidrules
\end_layout
-\begin_layout Standard
-For Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-vertical-colored"
-
\end_inset
- the LaTeX-argument
-\series bold
- WcW
-\series default
- was used for the last column and
-\series bold
- Wc
-\series default
- for the other columns.
-\end_layout
-
-\begin_layout Standard
-If you want to have several colors, define more column formats.
-\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
+\begin_inset ERT
status open
\begin_layout Plain Layout
-\begin_inset Caption
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-with-vertical-colored"
-\end_inset
-
-Table with colored vertical lines
+\backslash
+cmidrule
+\change_inserted -712698321 1554291896
+[2pt](l{7pt})
+\change_unchanged
+{3-4}
\end_layout
\end_inset
-
+LSF-spatial resolution
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
-<row>
+\end_inset
+</cell>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+in µm
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+129.7
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+52.75
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+50.78
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+in % of pixel size
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+76.3
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+95.9
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+92.3
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-To color horizontal lines for example with red, as in Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-horizontal-colored"
+\begin_layout Section
+Vertical Table Alignment
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
-\end_inset
+\begin_layout Plain Layout
+Table
+\begin_inset IndexMacro subentry
+status open
-, insert these commands in TeX-Code before the table or table float:
+\begin_layout Plain Layout
+Alignment
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\begin_inset Newline newline
\end_inset
-\backslash
-renewcommand{
-\backslash
-hline}
-\begin_inset Newline newline
-\end_inset
+\end_layout
+\end_inset
-\begin_inset Phantom HPhantom
-status open
-\begin_layout Plain Layout
+\end_layout
-\series bold
+\begin_layout Standard
+To align tables vertically in a text line, the table must be inside a box.
+ The box can then be vertically aligned as described in section
\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Box-Dialog"
\end_inset
-{
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
+.
\end_layout
\begin_layout Standard
-\begin_inset ERT
+In the following example the tables are inside a minipage
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-
-
-\backslash
-let
-\backslash
-myHlineC
-\backslash
-hline
-\end_layout
-
-\begin_layout Plain Layout
-
-
-\backslash
-renewcommand{
-\backslash
-hline}
-\end_layout
-
-\begin_layout Plain Layout
-
- {
-\backslash
-arrayrulecolor{red}
-\backslash
-myHlineC
-\backslash
-arrayrulecolor{black}}
-\end_layout
-
+Minipages are described in section
+\begin_inset space ~
\end_inset
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-with-horizontal-colored"
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
\end_inset
-Table with colored horizontal lines
+.
\end_layout
\end_inset
+ box that has a width of 15
+\begin_inset space \thinspace{}
+\end_inset
+col%:
\end_layout
+\begin_layout Itemize
+test
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
\begin_layout Plain Layout
-\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+a
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+d
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+g
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+b
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sd
+e
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+h
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+c
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+f
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-sd
+i
\end_layout
\end_inset
\end_inset
+ test
+\begin_inset ERT
+status collapsed
-\end_layout
-
-\begin_layout Standard
-To return to the default line color black, insert this command in TeX-Code
- after the table or table float:
-\end_layout
-
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-renewcommand{
-\backslash
-hline}{
+raisebox{0.85
\backslash
-myHlineC}
+baselineskip}{
\end_layout
-\begin_layout Standard
-Table
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-colored"
-
-\end_inset
-
- is an example with colored vertical and horizontal lines.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-with-colored"
-
-\end_inset
-
-Table with colored lines
-\end_layout
-
-\end_inset
-
-
-\end_layout
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
\begin_layout Plain Layout
-\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="Wc">
-<column alignment="center" valignment="top" width="0" special="WcW">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+a
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+d
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+g
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+b
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+e
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+h
\end_layout
\end_inset
</cell>
</row>
-<row topspace="default">
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+c
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+f
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-sd
+i
\end_layout
\end_inset
\end_inset
-\end_layout
-
-\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHlineC}
+}
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset ERT
+\begin_layout Itemize
+test
+\begin_inset Box Frameless
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
status collapsed
\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
+\begin_layout Plain Layout
+a
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+d
\end_layout
-\begin_layout Section
-Table Customization
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Table Customization
+g
\end_layout
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Table ! Customization
+b
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+e
\end_layout
-\begin_layout Subsection
-Row Spacing
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Row-Spacing"
-
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Table Customization ! Row Spacing
+h
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\end_layout
-
-\begin_layout Standard
-You can add vertical space to table rows in the
-\family sans
-Borders
-\family default
- tab of the table dialog.
- You find there three possibilities:
+\begin_layout Plain Layout
+c
\end_layout
-\begin_layout Description
-Top
-\begin_inset space ~
-\end_inset
-
-of
-\begin_inset space ~
\end_inset
-
-row will add space above the characters of the table row.
- If the table is a formal table
-\begin_inset Foot
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Formal tables are explained in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Formal-Tables"
+f
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+i
\end_layout
\end_inset
+</cell>
+</row>
+</lyxtabular>
- LyX will insert as default 0.5
-\begin_inset space \thinspace{}
-\end_inset
-
-em space.
- For normal tables the inserted space will unfortunately destroy the vertical
- table lines as in the following table:
-\begin_inset VSpace medskip
\end_inset
-\begin_inset Newline newline
-\end_inset
-
+\end_layout
-\begin_inset space \hspace*{}
-\length 0pt
\end_inset
-\begin_inset space \hfill{}
-\end_inset
+\end_layout
+\begin_layout Itemize
+test
+\begin_inset Box Frameless
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+\begin_layout Plain Layout
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="1">
+<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-A
+a
\end_layout
\end_inset
</cell>
-</row>
-<row topspace="3mm">
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3
-\begin_inset space \thinspace{}
+d
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-mm space top of row
+\begin_layout Plain Layout
+g
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-C
+b
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
-
-\end_inset
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+e
+\end_layout
-\begin_inset space \hfill{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+h
+\end_layout
-\begin_inset space \hspace*{}
-\length 0pt
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+c
+\end_layout
-\begin_inset VSpace medskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+f
+\end_layout
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-So inserting space in the top of row for normal tables is only useful when
- you don't have vertical lines.
+\begin_layout Plain Layout
+i
\end_layout
-\begin_layout Description
-Bottom
-\begin_inset space ~
-\end_inset
-
-of
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+</lyxtabular>
-row will add space below the characters of the table row.
- If the table is a formal table LyX will insert as default 0.5
-\begin_inset space \thinspace{}
\end_inset
-em space, for normal tables the default size is 2
-\begin_inset space \thinspace{}
-\end_inset
-pt.
\end_layout
-\begin_layout Description
-Between
-\begin_inset space ~
-\end_inset
-
-rows adds space between the current and the following row.
- If the table is a formal table LyX will insert as default 0.5
-\begin_inset space \thinspace{}
\end_inset
-em space.
- For normal tables the inserted space will unfortunately destroy the vertical
- table lines as in the following table:
-\begin_inset VSpace medskip
-\end_inset
+ test
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\begin_inset Newline newline
-\end_inset
+\backslash
+raisebox{-0.32
+\backslash
+baselineskip}{
+\end_layout
-\begin_inset space \hspace*{}
-\length 0pt
\end_inset
-\begin_inset space \hfill{}
-\end_inset
-
+\begin_inset Box Frameless
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+\begin_layout Plain Layout
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="1">
+<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-A
+a
\end_layout
\end_inset
</cell>
-</row>
-<row interlinespace="3mm">
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\downarrow$
+d
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
- 3
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
-mm space between row
-\begin_inset Formula $\downarrow$
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+h
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\uparrow$
-\end_inset
+c
+\end_layout
- 3
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-mm space between row
-\begin_inset Formula $\uparrow$
-\end_inset
+\begin_layout Plain Layout
+f
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+i
\end_layout
\end_inset
\end_inset
-\begin_inset space \hfill{}
-\end_inset
-
+\end_layout
-\begin_inset space \hspace*{}
-\length 0pt
\end_inset
-\begin_inset VSpace medskip
-\end_inset
-
+\begin_inset ERT
+status collapsed
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
-So inserting space between rows for normal tables is only useful when you
- don't have vertical lines.
+}
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-When you want to add extra height to all cells of all tables, you can do
- this with the following preamble lines:
+
\end_layout
\begin_layout Standard
+As you will see, the content of the first and last table row is not correctly
+ aligned.
+ To get this alignment, the minipage box must be set into a raisebox.
+\begin_inset Foot
+status collapsed
-\series bold
-
-\backslash
-@ifundefined{extrarowheight}
-\begin_inset Newline newline
+\begin_layout Plain Layout
+Raiseboxes are described in section
+\begin_inset space ~
\end_inset
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Vertical-Alignment"
-\series bold
-\begin_inset space ~
\end_inset
-
+.
\end_layout
\end_inset
-{
-\backslash
-usepackage{array}}{}
-\begin_inset Newline newline
-\end_inset
+ In the example above the second table in the first item is aligned using
+ the \SpecialChar TeX
+ Code command
+\end_layout
+
+\begin_layout Standard
+\series bold
\backslash
-setlength{
+raisebox{0.85
\backslash
-extrarowheight}{height}
+baselineskip}{
\end_layout
\begin_layout Standard
-But this has the disadvantage that the cell texts are no longer exactly
- vertically centered.
- (The package
-\series bold
-array
-\series default
- will be loaded automatically by LyX when you use self defined table formats.
- To avoid that it being loaded twice the command
+before the box.
+ After the box the closing brace
\series bold
-
-\backslash
-@ifundefined
+}
\series default
- is used in the above command.)
+ is inserted as \SpecialChar TeX
+ Code.
+ For the second table in the last item the command
\end_layout
\begin_layout Standard
-If you are using font sizes larger than the normal size, the table borders
- are often too close to the letters.
- This can be corrected by inserting the command
+
\series bold
\backslash
-strut
-\series default
- in TeX code at the beginning of a table row.
- Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Vertical-alignment-of"
-
-\end_inset
+raisebox{-0.32
+\backslash
+baselineskip}{
+\end_layout
- illustrates the effect.
+\begin_layout Standard
+is used.
\end_layout
\begin_layout Standard
-\noindent
-\begin_inset Float table
-placement h
-wide false
-sideways false
+\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Vertical-alignment-of"
-\end_inset
+\series bold
+Note:
+\series default
+ The alignment of the table row content to the surrounding text line is
+ not exact.
+ The required value for the
+\series bold
-Vertical alignment of text with large font sizes.
+\backslash
+raisebox
+\series default
+ command for this alignment depends on the document font, the font size,
+ and the table line thickness.
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\begin_inset space \hfill{}
+\begin_layout Section
+Colored Tables
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Colored-Tables"
+
\end_inset
-\begin_inset Float table
-wide false
-sideways false
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
+Table
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-Normal table.
+Color
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\noindent
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="6" columns="1">
-<features tabularvalignment="middle">
-<column alignment="left" valignment="top" width="0">
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-Normal, g
-\end_layout
-
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\size large
-Large
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Subsection
+Colored Cells
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
+Table Color
+\begin_inset IndexMacro subentry
+status open
-\size larger
-Larger
+\begin_layout Plain Layout
+for Cells
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\size largest
-Largest
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-
-\size huge
-Huge
-\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
+Color
+\begin_inset IndexMacro subentry
+status open
-\size huge
-Huger
+\begin_layout Plain Layout
+for Table Cells
\end_layout
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
\end_inset
\end_inset
-\begin_inset space \hfill{}
-\end_inset
-
+\end_layout
+\begin_layout Standard
\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
-status collapsed
+status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
-Table using the command
-\series bold
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-colored-without"
-\backslash
-strut
+\end_inset
+
+Table colored without using the package
+\series bold
+colortbl
\series default
-.
+
+\begin_inset Argument 1
+status collapsed
+
+\begin_layout Plain Layout
+Table without colortbl
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
-\noindent
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="6" columns="1">
+<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="left" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Normal, g
+
+\color green
+a
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\size large
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-strut
+\color red
+b
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-Large
+\begin_layout Plain Layout
+
+\color red
+c
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\size larger
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-strut
-\end_layout
-
-\end_inset
-
-Larger
+\color green
+d
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\size largest
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-strut
+\color blue
+e
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-Largest
+\begin_layout Plain Layout
+
+\color blue
+f
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\size huge
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-strut
-\end_layout
-
-\end_inset
-
-Huge
+\color green
+g
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\size giant
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-strut
+\color blue
+h
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\size huge
-Huger
+\color blue
+i
\end_layout
\end_inset
\end_inset
-\begin_inset space \hfill{}
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Subsection
-Special Cell Alignment
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Table Customization ! Special Cell Alignment
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
-Sometimes it looks better when the cell entries of a column are aligned
- with a special character, e.
-\begin_inset space \thinspace{}
+If you only need colored text, mark the cells and choose a color in the
+
+\family sans
+Text
+\begin_inset space ~
\end_inset
-g.
-\begin_inset space \space{}
+Style
+\family default
+ dialog (toolbar button
+\begin_inset Info
+type "icon"
+arg "dialog-show character"
\end_inset
-with the decimal separator as in Table
+).
+ This was used to create Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Table-cells-of"
+reference "tab:Table-colored-without"
\end_inset
.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+ In any other case you have to use the \SpecialChar LaTeX
+-package
+\series bold
+colortbl
+\series default
+.
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-cells-of"
+colortbl
+\end_layout
\end_inset
-Table cells of a column aligned with the decimal separator.
+
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="2">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-heading
-\end_layout
-
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
+\backslash
+ifcolortbl
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-12.
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_inset Note Note
+status open
\begin_layout Plain Layout
-6
+The following section part will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+colortbl
+\series default
+ is installed.
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-0.
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\end_layout
-\begin_layout Plain Layout
-68
+\begin_layout Standard
+To create colored tables,
+\series bold
+colortbl
+\series default
+ must be loaded in the preamble with the line
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
--123.
+\series bold
+
+\backslash
+usepackage{colortbl}
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+The color of a column is adjusted with the command
+\end_layout
-\begin_layout Plain Layout
-0
+\begin_layout Standard
+
+\series bold
+
+\backslash
+columncolor{name of color}
\end_layout
+\begin_layout Standard
+inside the command
+\series bold
+>{ }
+\series default
+.
+ More about the command
+\series bold
+>{}
+\series default
+ is contained in section
+\begin_inset space ~
\end_inset
-</cell>
-</row>
-</lyxtabular>
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Multicolumn-Calculations"
\end_inset
+.
+\end_layout
+
+\begin_layout Standard
+The following color names are predefined:
+\end_layout
+
+\begin_layout Standard
+\family sans
+red
+\family default
+,
+\family sans
+green
+\family default
+,
+\family sans
+yellow
+\family default
+,
+\family sans
+blue
+\family default
+,
+\family sans
+cyan
+\family default
+,
+\family sans
+magenta
+\family default
+,
+\family sans
+black
+\family default
+ and
+\family sans
+white
\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
\end_layout
\begin_layout Standard
-This table was created with a 4×2 table.
- The heading is a centered multicolumn.
- The first column is right-aligned and contains the digits before the decimal
- point and the decimal point.
- The second column is left aligned and contains the digits after the decimal
- point.
- To omit the space that is normally between two table columns, the following
- LaTeX-argument was used for the second column:
+If you add the option
\end_layout
\begin_layout Standard
\series bold
-@{}l
+dvipsnames
\end_layout
\begin_layout Standard
-Table
+to the document class options in the document settings, you can additionally
+ use further 61
+\begin_inset space ~
+\end_inset
+
+colors.
+ These colors are listed in appendix
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Several-table-cell"
+reference "chap:List-of-dvips-colornames"
\end_inset
- shows some example alignments.
- For the alignment with the relation sign, you must add the second smallest
- math-space at the beginning of the last column to get the correct space
- surrounding the relation sign.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+.
+ One of these colors,
+\family sans
+Maroon
+\family default
+, is used as example in Table
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-\begin_inset Caption
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Several-table-cell"
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-colored-using"
\end_inset
-Several table cell alignments.
+.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="6">
-<features tabularvalignment="middle">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+You can also define your own color with the command
+\end_layout
-\begin_layout Plain Layout
-units
+\begin_layout Standard
+
+\series bold
+
+\backslash
+definecolor{color name}{color model}{color values}
\end_layout
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+The color model can be
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+cmyk: cyan, magenta, yellow, black
+\end_layout
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+rgb: red, green blue
\end_layout
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+gray gray
+\end_layout
-\begin_layout Plain Layout
-exponents
+\begin_layout Standard
+and the color values are comma separated numbers between 0 and 1 describing
+ the factor for the corresponding color of the color model.
\end_layout
+\begin_layout Standard
+You can e.
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
+g.
+\begin_inset space \space{}
+\end_inset
+define the color "
+\emph on
+darkgreen
+\emph default
+" in the preamble with
\end_layout
-\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
-relations
+\series bold
+
+\backslash
+definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
\end_layout
-\end_inset
-</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+and the color "
+\emph on
+lightgray
+\emph default
+" with
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+
+\series bold
+\backslash
+definecolor{lightgray}{gray}{0.8}
\end_layout
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-12×
+
+\end_layout
+
+\begin_layout Standard
+Lines are colored with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rowcolor{name of color}
\end_layout
+\begin_layout Standard
+and cells are colored with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cellcolor{name of color}
+\end_layout
+
+\begin_layout Standard
+Both commands are inserted at the beginning of a cell as \SpecialChar TeX
+ Code.
+\end_layout
+
+\begin_layout Standard
+To color characters in the table, mark the cells and use the
+\family sans
+Text
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+
+Style
+\family default
+ dialog.
+ If a cell contains \SpecialChar TeX
+ Code mark only the characters, otherwise the colored
+ \SpecialChar TeX
+ Code will cause \SpecialChar LaTeX
+ errors.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
\begin_layout Plain Layout
-24
-\begin_inset space \thinspace{}
-\end_inset
-bottles
+\series bold
+Note:
+\series default
+ Not all DVI-viewers are able to display self-defined colors.
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\begin_inset Formula $10\cdot$
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
\end_layout
+\begin_layout Standard
+To create Table
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\begin_inset Formula $10^{\mbox{-}17}$
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-colored-using"
+
\end_inset
+ do the following: The color of the first column should be
+\emph on
+darkgreen
+\emph default
+.
+ So insert
+\end_layout
+
+\begin_layout Standard
+\series bold
+>{
+\backslash
+columncolor{darkgreen}
+\backslash
+centering}c
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+as \SpecialChar LaTeX
+-argument for this column.
+ The first row should be light blue, therefore the \SpecialChar TeX
+ Code command
+\end_layout
-\begin_layout Plain Layout
-\begin_inset Formula $\Gamma(t)\propto$
-\end_inset
+\begin_layout Standard
+\series bold
+\backslash
+rowcolor{cyan}
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+is inserted to the first cell of this row.
+ Note that this overwrites the column color for the first cell.
+ The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
+ Code
+ command
+\end_layout
-\begin_layout Plain Layout
-\begin_inset Formula $\:\Upsilon(t)$
-\end_inset
+\begin_layout Standard
+\series bold
+\backslash
+cellcolor{Maroon}
\end_layout
+\begin_layout Standard
+The characters could now be colored using the menu
+\family sans
+Edit\SpecialChar menuseparator
+Text
+\begin_inset space ~
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-1024×
+Style
+\family default
+.
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+\begin_inset Float table
+placement h
+alignment document
+wide false
+sideways false
+status open
\begin_layout Plain Layout
-768
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset Caption Standard
-Pixels
-\end_layout
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-colored-using"
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
+
+Table colored using the package
+\series bold
+colortbl
+\series default
+
+\begin_inset Argument 1
+status collapsed
\begin_layout Plain Layout
-\begin_inset Formula $5.78\cdot$
+Table with colortbl
+\end_layout
+
\end_inset
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $10^{7}$
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolor{cyan}
+\end_layout
+
\end_inset
+\color magenta
+a
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $A\ne$
-\end_inset
-
+\color red
+b
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\: B_{\mathrm{red}}$
-\end_inset
-
+\color red
+c
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-32×
+
+\color yellow
+d
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-6
-\begin_inset space \thinspace{}
-\end_inset
-cm
+\color blue
+e
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--
-\begin_inset Formula $33.5\cdot$
-\end_inset
-
+\color blue
+f
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $10^{4}$
-\end_inset
-
+\color yellow
+g
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\sin(\alpha)\ge$
-\end_inset
-
+\color blue
+h
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Formula $\:\sin(\beta)$
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cellcolor{Maroon}
+\end_layout
+
\end_inset
+\color green
+i
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-There is also the LaTeX-package
-\series bold
-dcolumn
-\series default
-
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! dcolumn
+
+
+\backslash
+else
\end_layout
\end_inset
- that provides table cell alignments.
- But this unfortunately treats the cell entries as math and does not allow
- formulas in table cells: The first column of Table
-\begin_inset space ~
-\end_inset
+\begin_inset Note Note
+status open
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Several-table-cell"
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+colortbl
+\series default
+ is not installed:
+\end_layout
\end_inset
- will look with
+
+\end_layout
+
+\begin_layout Standard
+You need to install the package
\series bold
-dcolumn
+colortbl
\series default
- like the first column in Table
-\begin_inset space ~
-\end_inset
+ to see the content of this section in the output.
+\end_layout
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Alignments-when"
+\begin_layout Plain Layout
-\end_inset
- and only with some tricks as you would want.
- The alignment of the second and third column of Table
-\begin_inset space ~
+\backslash
+fi
+\end_layout
+
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Several-table-cell"
+\end_layout
-\end_inset
+\begin_layout Subsection
+Colored Rows
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
- is not possible with
-\series bold
-dcolumn
-\series default
-.
+\begin_layout Plain Layout
+Table Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Rows
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
+Color
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Alignments-when"
+for Table Rows
+\end_layout
\end_inset
-Alignments when LaTeX-package dcolumn is used.
- For all column alignments tricks have to be used to get the output.
+
\end_layout
\end_inset
\end_layout
+\begin_layout Standard
+In case every second table row needs to be colored there is an alternative
+ to the method described in the previous section: One loads the package
+
+\series bold
+xcolor
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
-<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
-<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-units
+xcolor
\end_layout
\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-units
+
\end_layout
\end_inset
-</cell>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-units
+ in the document preamble with the command
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
+\series bold
-bottles
+\backslash
+usepackage[table]{xcolor}
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
+
+\series bold
+xcolor
+\series default
+ automatically loads also the package
+\series bold
+colortbl
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+\begin_layout Plain Layout
+colortbl
+\end_layout
-\begin_inset Formula $\mbox{bottles}$
\end_inset
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-12
+, so
+\series bold
+colortbl
+\series default
+ must be installed in your \SpecialChar LaTeX
+-distribution, otherwise you get \SpecialChar LaTeX
+-errors.
+\end_layout
+
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-times
+ifcolortbl
\end_layout
\end_inset
-24+
-\begin_inset Formula $\mbox{bottles}$
-\end_inset
+\begin_inset Note Note
+status open
+\begin_layout Plain Layout
+The following section part will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+colortbl
+\series default
+ is installed.
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-Pixels
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024x768
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
+\begin_layout Standard
+The table rows are colored with the command
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1024
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\series bold
\backslash
-times
+rowcolors[commands]{row number}{odd row color}{even row color}
\end_layout
+\begin_layout Standard
+that is either inserted in the document preamble or as \SpecialChar TeX
+ Code before the
+ first table to be colored.
+ row
+\begin_inset space ~
\end_inset
-768+
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
+number is the number of the first row which should be colored according
+ to the odd row color.
+ commands can be additional commands that are executed before every table
+ row.
+ So for example the command
\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
+\begin_layout Standard
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
+\series bold
-cm
+\backslash
+rowcolors{1}{white}{lightgray}
\end_layout
+\begin_layout Standard
+leads to the coloring scheme of Table
+\begin_inset space ~
\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-rowcolors"
-\begin_inset Formula $\mbox{cm}$
\end_inset
-
+.
+ The command
\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Standard
+\series bold
\backslash
-times
-\end_layout
-
-\end_inset
-
-6+
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
+rowcolors[
+\backslash
+hline]{1}{lightgray}{cyan}
\end_layout
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
+\begin_layout Standard
+leads to the coloring scheme of Table
+\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-rowcolors-2"
\end_inset
-
-\end_layout
-
-\begin_layout Subsection
-Customized Cell/Column Format
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Customized-Format"
-
+.
+ If odd
+\begin_inset space ~
\end_inset
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Table Customization ! Cell/Column Format
-\end_layout
-
+row
+\begin_inset space ~
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-Calculating the required width for spanned columns as in section
+color and/or even
\begin_inset space ~
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Multicolumn-Calculations"
-
+row
+\begin_inset space ~
\end_inset
- is very annoying if you have several tables with multicolumn cells.
- To make life easier, you can define a cell/column format in the preamble,
- so that it can be used in all tables of the document.
- The format is defined with the command
+color are left empty, no color will be used so that the command
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcolumntype{name of format}[number of arguments]{commands}
-\end_layout
-
-\begin_layout Standard
-The format name may only consist of one letter.
- The letters
-\emph on
-b
-\emph default
-,
-\emph on
-c
-\emph default
-,
-\emph on
-l
-\emph default
-,
-\emph on
-m
-\emph default
-,
-\emph on
-p
-\emph default
- and
-\emph on
-r
-\emph default
- are predefined and cannot be used.
- But all letters are allowed as capitals.
+rowcolors{1}{}{}
\end_layout
\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
-
+deletes all colors.
+
+\series bold
+\backslash
+rowcolors
+\series default
+ affects all tables following that command.
\end_layout
\begin_layout Standard
-For vertically and horizontally centered multicolumn cells with a fixed
- width you can define the cell format
-\end_layout
+\begin_inset ERT
+status open
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-newcolumntype{M}[1]{>{
-\backslash
-centering
-\backslash
-hspace{0pt}}m{#1}}
+rowcolors{1}{white}{lightgray}
\end_layout
-\begin_layout Standard
-where
-\series bold
-
-\backslash
-hspace{0pt}
-\series default
- avoids the problem of hyphenating the first word, as described in section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Multiple-Lines-in"
-
-\end_inset
-
-.
- Now you can simply enter
\end_layout
\begin_layout Standard
+\begin_inset Float table
+placement h
+alignment document
+wide false
+sideways false
+status open
-\series bold
-M{width}
-\end_layout
+\begin_layout Plain Layout
+\begin_inset Caption Standard
-\begin_layout Standard
-as LaTeX-argument in the table dialog to create a multicolumn.
-\end_layout
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-rowcolors"
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-For cells spanned by a multicolumn cell, you can define the format
+Table where every second row is colored light gray.
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-newcolumntype{S}[2]{>{
-\backslash
-centering
-\backslash
-hspace{0pt}}
-\begin_inset Newline newline
\end_inset
-\begin_inset Phantom HPhantom
-status open
+\end_layout
\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\series bold
-
-\backslash
-newcolumntype
+\begin_layout Plain Layout
+X
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-m{(#1+(2
-\backslash
-tabcolsep+
-\backslash
-arrayrulewidth)*(1-#2))/#2}}
+\begin_layout Plain Layout
+Y
\end_layout
-\begin_layout Standard
-This format uses equation
-\begin_inset CommandInset ref
-LatexCommand eqref
-reference "eq:Wgn"
-
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
- to calculate the required width so that each spanned cell has the same
- width.
-\end_layout
-
-\begin_layout Standard
-You can now enter
+\begin_layout Plain Layout
+Z
\end_layout
-\begin_layout Standard
-
-\series bold
-S{width of multicolumn cell}{number of spanned columns}
-\end_layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\begin_layout Standard
-as LaTeX-argument of the column.
+\begin_layout Plain Layout
+1
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
-\end_layout
-
-\begin_layout Standard
-For colored columns, you can define
+\begin_layout Plain Layout
+2
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-newcolumntype{K}[1]{>{
-\backslash
-columncolor{#1}
-\backslash
-hspace{0pt}}c}
+\begin_layout Plain Layout
+3
\end_layout
-\begin_layout Standard
-The
-\begin_inset Quotes eld
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4
+\end_layout
-c
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
- at the end creates a column with a flexible width whose text is horizontally
- centered.
- You can now enter
+\begin_layout Plain Layout
+5
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\series bold
-K{color name}
+\begin_layout Plain Layout
+6
\end_layout
-\begin_layout Standard
-as LaTeX-argument.
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+7
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+8
\end_layout
-\begin_layout Standard
-To create Table
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+9
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-using-user-defined"
+\end_inset
+</cell>
+</row>
+</lyxtabular>
\end_inset
- use the LaTeX-arguments
+
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-M{2.5cm}
-\end_layout
-\begin_layout Standard
-for the first column and the multicolumn,
\end_layout
\begin_layout Standard
+\begin_inset ERT
+status open
-\series bold
-K{red}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-for the last column, and
+
+\backslash
+rowcolors[
+\backslash
+hline]{1}{lightgray}{cyan}
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-S{2.5cm}{2}
-\end_layout
-\begin_layout Standard
-for the cells in the second column.
\end_layout
\begin_layout Standard
\begin_inset Float table
placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-using-user-defined"
+name "tab:Table-rowcolors-2"
\end_inset
-Table using user-defined table formats
+Table where every second row is colored cyan and at which there is a line
+ between each row.
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="4">
+<lyxtabular version="3" rows="4" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
-<column alignment="center" valignment="middle" width="0" special="S{2.5cm}{2}">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0" special="K{red}">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-verylongtablecellword
+X
\end_layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-multiple lines multicolumn
+Y
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+Z
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+1
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+2
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+3
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-f
+4
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-g
+5
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-h
+6
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-i
+7
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-j
+8
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-k
+9
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Line Thickness
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Line-Thickness"
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rowcolors{1}{}{}
+\end_layout
\end_inset
-\begin_inset Index idx
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-Table Customization ! Line Thickness
+turns off the row coloring
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The line thickness for all lines in a table can be adjusted with the length
-
-\series bold
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
\backslash
-arrayrulewidth
-\series default
-.
- To set for example a line thickness of 1.5
-\begin_inset space \thinspace{}
-\end_inset
+else
+\end_layout
-pt, as in Table
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-1.5"
-
-\end_inset
+\begin_inset Note Note
+status open
-, insert the command
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+colortbl
+\series default
+ is not installed:
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{1.5pt}
\end_layout
\begin_layout Standard
-in TeX-Code before the table or table float.
- The changed thickness is valid for all subsequent tables.
- To use the default value again, set
+You need to install the package
\series bold
-
-\backslash
-arrayrulewidth
+colortbl
\series default
- to 0.4
-\begin_inset space \thinspace{}
-\end_inset
-
-pt in TeX-Code after the table or table float.
+ to see the content of this section in the output.
\end_layout
\begin_layout Standard
\backslash
-setlength{
-\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Colored Lines
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Lines
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Color
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Table Lines
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+As described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Line-Thickness"
+
+\end_inset
+
+, the line thickness for all lines in a table can be adjusted with the length
+
+\series bold
+
+\backslash
+arrayrulewidth
+\series default
+.
+ It is set to 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt for all tables of this section.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
arrayrulewidth}{1.5pt}
\end_layout
\end_inset
+\end_layout
+
+\begin_layout Standard
+To color vertical lines for example with green, create the following column
+ format in the document preamble, according to the description in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Customized-Format"
+
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcolumntype{W}{!{
+\backslash
+color{green}
+\backslash
+vline}}
+\end_layout
+
+\begin_layout Standard
+For Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-vertical-colored"
+
+\end_inset
+
+ the \SpecialChar LaTeX
+-argument
+\series bold
+ WcW
+\series default
+ was used for the last column and
+\series bold
+ Wc
+\series default
+ for the other columns.
+\end_layout
+
+\begin_layout Standard
+If you want to have several colors, define more column formats.
+\end_layout
+
+\begin_layout Standard
\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-with-1.5"
-
-\end_inset
+name "tab:Table-with-vertical-colored"
-Table with 1.5
-\begin_inset space \thinspace{}
\end_inset
-pt thick lines
+Table with colored vertical lines
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="WcW">
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-arrayrulewidth}{0.4pt}
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
-To set the line thickness to 1.5
-\begin_inset space \thinspace{}
-\end_inset
-
-pt only for horizontal lines, as in Table
+To color all horizontal lines for example with red, as in Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Table-with-horizontal"
+reference "tab:Table-with-horizontal-colored"
\end_inset
-, insert these commands in TeX-Code before the table or table float:
+, insert these commands in \SpecialChar TeX
+ code before the table or table float:
\end_layout
\begin_layout Standard
\backslash
let
\backslash
-myHline
+myHlineC
\backslash
hline
\begin_inset Newline newline
\begin_inset Newline newline
\end_inset
- {
-\backslash
-noalign{
-\backslash
-global
-\backslash
-arrayrulewidth 1.5pt}
-\begin_inset Newline newline
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
\end_inset
-
-\backslash
-myHline
-\backslash
-noalign{
-\backslash
-global
-\backslash
-arrayrulewidth 0.4pt}}
-\end_layout
-\begin_layout Standard
-To return to the default line thickness, insert this command in TeX-Code
- after the table or table float:
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+{
\backslash
-renewcommand{
+arrayrulecolor{red}
\backslash
-hline}{
+myHlineC
\backslash
-myHline}
+arrayrulecolor{black}}
\end_layout
\begin_layout Standard
\backslash
let
\backslash
-myHline
+myHlineC
\backslash
hline
\end_layout
{
\backslash
-noalign{
-\backslash
-global
-\backslash
-arrayrulewidth 1.5pt}
-\end_layout
-
-\begin_layout Plain Layout
-
-
-\backslash
-myHline
-\backslash
-noalign{
+arrayrulecolor{red}
\backslash
-global
+myHlineC
\backslash
-arrayrulewidth 0.4pt}}
+arrayrulecolor{black}}
\end_layout
\end_inset
\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-with-horizontal"
-
-\end_inset
+name "tab:Table-with-horizontal-colored"
-Table with 1.5
-\begin_inset space \thinspace{}
\end_inset
-pt thick horizontal lines
+Table with colored horizontal lines
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-renewcommand{
-\backslash
-hline}{
-\backslash
-myHline}
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-To set the line thickness to 1.5
-\begin_inset space \thinspace{}
-\end_inset
-
-pt only for vertical lines, create the following column format in the document
- preamble, according to the description in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Customized-Format"
-
-\end_inset
-
-:
+To return to the default line color black, insert this command in \SpecialChar TeX
+ code
+ after the table or table float:
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcolumntype{V}{!{
+renewcommand{
\backslash
-vrule width 1.5pt}}
+hline}{
+\backslash
+myHlineC}
\end_layout
\begin_layout Standard
-For Table
+Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Table-with-vertical"
+reference "tab:Table-with-colored"
\end_inset
- the LaTeX-argument
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-VcV
-\end_layout
-
-\begin_layout Standard
-was used for the last column and
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-Vc
-\end_layout
-
-\begin_layout Standard
-for the other columns.
+ is an example with colored vertical and horizontal lines.
\end_layout
\begin_layout Standard
\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-with-vertical"
-
-\end_inset
+name "tab:Table-with-colored"
-Table with 1.5
-\begin_inset space \thinspace{}
\end_inset
-pt thick vertical lines
+Table with colored lines
\end_layout
\end_inset
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="Vc">
-<column alignment="center" valignment="top" width="0" special="VcV">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="Wc">
+<column alignment="center" valignment="top" special="WcW">
<row>
<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\end_inset
</cell>
</row>
-<row>
+<row topspace="default">
<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\end_layout
-\begin_layout Subsection
-Dashed Lines
-\begin_inset Index idx
+\begin_layout Standard
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Table Customization ! Dashed Lines
+
+
+\backslash
+renewcommand{
+\backslash
+hline}{
+\backslash
+myHlineC}
\end_layout
\end_inset
\backslash
-ifarydshln
+setlength{
+\backslash
+arrayrulewidth}{1.2pt}
\end_layout
\end_inset
-\begin_inset Note Note
-status open
+\end_layout
+
+\begin_layout Standard
+To color only some of the table lines another strategy is necessary.
+ To color all following horizontal lines, insert this command as \SpecialChar TeX
+ code as
+ last thing in the row that should be above the first colored line:
+\end_layout
+
+\begin_layout Standard
-\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
\series bold
-arydshln
-\series default
- is installed.
+
+\backslash
+
+\backslash
+
+\backslash
+arrayrulecolor{blue}%
\end_layout
+\begin_layout Standard
+To go back to black lines, add this command as first thing in the row that
+ is above the black lines:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+arrayrulecolor{black}
+\end_layout
+
+\begin_layout Standard
+With this one can color table lines like in Table
+\begin_inset space ~
\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-different-hor"
+
+\end_inset
+
+.
+ However, with this method it is not possible to color the line above the
+ first row of a table.
\end_layout
\begin_layout Standard
\begin_inset Float table
-placement H
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-with-dashed"
+name "tab:Table-with-different-hor"
\end_inset
-Table with dashed lines
+Table with different horizontal line colors.
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="5" columns="5">
+<lyxtabular version="3" rows="6" columns="7">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0" special=":c">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-f
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-g
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+
+\backslash
+
+\backslash
+arrayrulecolor{blue}%
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-h
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-i
+Y
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-j
+
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hdashline
-\end_layout
-
-\end_inset
-k
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-l
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-m
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-n
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-o
+Y
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
\backslash
-cdashline{4-5}
+arrayrulecolor{black}
\end_layout
\end_inset
-p
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-q
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-r
+
\end_layout
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none" special="c:">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-s
+
\end_layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-t
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-u
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-v
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-w
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-x
+
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-LyX does not natively support dashed lines, so you have to use TeX-Code.
- As a prerequisite the LaTeX-package
-\series bold
-arydshln
-\series default
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-\begin_inset Index idx
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! arydshln
-\end_layout
-
-\end_inset
- must be loaded in the document preamble with the command
-\end_layout
-\begin_layout Standard
+\backslash
-\series bold
+\backslash
\backslash
-usepackage{arydshln}
+arrayrulecolor{green}%
\end_layout
-\begin_layout Standard
-To make a vertical line dashed, enter the colon
-\begin_inset Quotes eld
-\end_inset
-
-:
-\begin_inset Quotes erd
\end_inset
- together with the character for the horizontal alignment as LaTeX-argument
- in the table cell dialog.
-\end_layout
-\begin_layout Standard
-For a horizontal dashed line add the command
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-hdashline
-\end_layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\begin_layout Standard
-in TeX-Code as first element of the first cell in the table row.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-For dashed multicolumn lines use the command
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-\backslash
-cdashline{line number
-\series default
-}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-in TeX-Code as the first element of the first cell in the table row.
- If you have for example a multicolumn spanning columns 2 to 4 and you want
- to have a dashed line above, add the command
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-\backslash
-cdashline{2-4}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-as the first element of the first cell in the row of the multicolumn.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-Table
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-dashed"
-
-\end_inset
+\end_layout
- was created using
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\series bold
-:c
-\series default
-
-\begin_inset Quotes erd
-\end_inset
-
- as LaTeX-argument of the third column.
- The TeX-Code command
-\series bold
+\end_layout
-\backslash
-hdashline
-\series default
- was inserted in the first cell of the third row and the TeX-Code command
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
-
-\series bold
+\begin_layout Plain Layout
-\backslash
-cdashline{4-5}
-\series default
- was inserted in the first cell of the fourth row.
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- The LaTeX-package
-\series bold
-arydshln
-\series default
- is apparently not compatible with the LaTeX-package
-\series bold
-colortbl
-\series default
-
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! colortbl
-\end_layout
-
-\end_inset
-
- that is used for colored tables in section
-\begin_inset space ~
-\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Tables"
+\backslash
+arrayrulecolor{black}
+\end_layout
\end_inset
-.
- That means colored tables cannot have dashed lines.
+B
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-else
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset Note Note
-status open
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
-\series bold
-arydshln
-\series default
- is not installed:
+
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-You need to install the package
-\series bold
-arydshln
-\series default
- to see the content of this section in the output.
-\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-fi
-\end_layout
-
-\end_inset
-
-\end_layout
-
-\begin_layout Chapter
-Floats
-\begin_inset Index idx
-status collapsed
+\backslash
-\begin_layout Plain Layout
-Floats
+\backslash
+arrayrulecolor{blue}%
\end_layout
\end_inset
\end_layout
-\begin_layout Section
-Introduction
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:FloatIntroduction"
-
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Floats ! Introduction
-\end_layout
+</cell>
+</row>
+</lyxtabular>
\end_inset
\end_layout
-\begin_layout Standard
-A float is a block of text associated with some sort of label, which doesn't
- have a fixed location.
- It can
-\begin_inset Quotes eld
-\end_inset
-
-float
-\begin_inset Quotes erd
\end_inset
- forward or backward a page or two, to wherever it fits best.
-
-\family sans
-Footnotes
-\family default
- and
-\family sans
-Margin
-\begin_inset space ~
-\end_inset
-Notes
-\family default
- are also floats, because they can float to the next page when there are
- too many notes on the page.
\end_layout
\begin_layout Standard
-Floats allow a high quality layout.
- Images and tables can be spread evenly to the pages to avoid white space
- and pages without text.
- As the floating often destroys the context between the text and the image/table
-, every float can be referenced in the text.
- Floats are therefore numbered.
- Referencing is described in section
+To change the color of vertical lines within a row, like in Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Referencing-Floats"
+reference "tab:Table-with-different-ver"
\end_inset
-.
+, one needs to use multicolumns.
+ At first one needs to remove all vertical lines that don't run along the
+ whole column.
+ Now one colors all lines using the command
\end_layout
\begin_layout Standard
-To insert a float, use the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Float
-\family default
-.
- This inserts the
-\family sans
-Caption
-\family default
- inset, a box with a label.
- The label will automatically be translated to the document language in
- the output.
- After the label you can insert the caption text.
- The image or table is inserted above or below the caption in a separate
- paragraph within the float.
- More about the caption placement is contained in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Caption-Placement"
-\end_inset
+\series bold
-.
- To keep your LyX-document readable, you can open and close the float box
- by left-clicking on the box label.
- A closed float box looks like this:
-\begin_inset Graphics
- filename clipart/floatQt4.png
- scale 70
- scaleBeforeRotation
+\backslash
-\end_inset
+\backslash
- – a gray button with a red label.
+\backslash
+arrayrulecolor{blue}%
\end_layout
\begin_layout Standard
-It is recommended that you insert floats as a separate standard paragraph
- to avoid possible LaTeX-errors that can occur when the surrounding text
- is specially formatted.
+as above.
+ Finally one inserts this command as \SpecialChar TeX
+ code to every cell in the row where
+ one needs a vertical line in a different color:
\end_layout
\begin_layout Standard
-Existing figures or tables can be put into a float by highlighting them
- and then pressing the corresponding toolbar button for a new float.
-\end_layout
-\begin_layout Section
-Float Types
+\series bold
+
+\backslash
+multicolumn{1}{!{
+\backslash
+color{green}
+\backslash
+vline}c!{
+\backslash
+color{red}
+\backslash
+vline}}{
\end_layout
\begin_layout Standard
-Besides figure and table floats that are described in sections
-\begin_inset space ~
-\end_inset
-
+This adds a vertical line to both sides of the cell.
+ The left one will be green, the right one red.
+ If no color change is necessary one can omit the
+\series bold
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Figure-Floats"
+\backslash
+color
+\series default
+ command in the above command.
+ To get for example a black left line and a blue right line you can write:
+\end_layout
-\end_inset
+\begin_layout Standard
- and
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Table-Floats"
+\series bold
-\end_inset
+\backslash
+multicolumn{1}{!{
+\backslash
+color{black}
+\backslash
+vline}c|}{
+\end_layout
- respectively, LyX offers the float types
+\begin_layout Standard
+because the color blue was already set for all lines.
+ The
\series bold
-Algorithm
+|
\series default
- and
+ creates hereby the vertical line while
\series bold
-Wrap
-\series default
-.
-\end_layout
-\begin_layout Subsection
-Algorithm Floats
-\begin_inset Index idx
-status collapsed
+\backslash
+vline
+\series default
+ does this when
+\series bold
-\begin_layout Plain Layout
-Floats ! Algorithms
+\backslash
+color
+\series default
+ is used.
+ To set vertical lines without changing any color use
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+\backslash
+multicolumn{1}{|c|}{
\end_layout
\begin_layout Standard
-\begin_inset Float algorithm
-placement h
+After this command insert the cell content the normal way and end the cell
+ with a closing brace
+\series bold
+}
+\series default
+ in \SpecialChar TeX
+ code.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "alg:Example-Algorithm-float"
+name "tab:Table-with-different-ver"
\end_inset
-Example Algorithm float
+Table with different vertical line colors in one row.
\end_layout
\end_inset
\end_layout
-\begin_layout LyX-Code
-for I in 1..N loop
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="7">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
- Sum:= Sum + A(I); /*comment*/
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
+
+\end_layout
-end loop
-\begin_inset VSpace -4mm
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-This float type is inserted with the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Floats\SpecialChar \menuseparator
-Algorithm
-\family default
-.
- It is used for program codes and descriptions of algorithms and can be
- seen as an alternative to program code listings that are explained in chapter
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:Program-Code-Listings"
-
-\end_inset
+\end_layout
-.
- A possible environment for algorithms is the
-\family sans
-LyX-Code
-\family default
-, described in LyX's
-\emph on
-Userguide
-\emph default
-.
- Algorithm
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "alg:Example-Algorithm-float"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
- is an example of an algorithm float where -4
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-mm vertical space was added at the end of the float to have the bottom rule
- exactly below the last text line.
\end_layout
-\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 to the document preamble
-\series bold
-:
-\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
-\series bold
\backslash
-floatname{algorithm}{your
-\begin_inset space ~
-\end_inset
-name}
-\end_layout
+\backslash
-\begin_layout Standard
-where
-\family sans
-your
-\begin_inset space ~
-\end_inset
+\backslash
+arrayrulecolor{red}%
+\end_layout
-name
-\family default
- is the word
-\begin_inset Quotes eld
\end_inset
-\emph on
-algorithm
-\emph default
+\end_layout
-\begin_inset Quotes erd
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
- in your language.
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
-\begin_layout Standard
-To insert the list of algorithms you can use the menu
-\family sans
-Insert\SpecialChar \menuseparator
-List
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-/
-\begin_inset space \thinspace{}
-\end_inset
-TOC\SpecialChar \menuseparator
-List of Algorithms
-\family default
- when your document has the same language as LyX's menu names.
- In other cases use this command in TeX-Code instead:
+\backslash
+multicolumn{1}{!{
+\backslash
+color{black}
+\backslash
+vline}c|}{
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
+Y
+\begin_inset ERT
+status collapsed
-\backslash
-listof{algorithm}{your
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-name}
+}
\end_layout
-\begin_layout Standard
-where
-\family sans
-your
-\begin_inset space ~
\end_inset
-name
-\family default
- is the word
-\begin_inset Quotes eld
-\end_inset
+\end_layout
-\emph on
-List of Algorithm
-\emph default
-s
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
- in your language.
\end_layout
-\begin_layout Standard
-Algorithm floats are not by default numbered in the scheme
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-chapter.algorithm
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
- as is the case for table and figure floats in many document-classes.
- To number algorithm floats in the same scheme, add this command to your
- document preamble:
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
-\backslash
-numberwithin{algorithm}{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
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-Options
-\family default
- in the document settings the option
-\family sans
-Use
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-AMS
-\begin_inset space ~
-\end_inset
+\end_layout
-math
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-package
-\family default
-.
-\end_layout
-
-\begin_layout Subsection
-Wrap Floats
-\begin_inset Index idx
-status collapsed
+\begin_layout Plain Layout
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-Floats ! Wrap Floats
+
+
+\backslash
+multicolumn{1}{c|}{
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Wrap figure
-lines 0
-placement l
-overhang 1cm
-width "40col%"
-status open
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset Graphics
- filename clipart/mobius.eps
- width 40col%
- scaleBeforeRotation
- rotateOrigin center
+
+}
+\end_layout
\end_inset
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset ERT
+status open
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:This-is-a"
-\end_inset
-This is a figure wrap float.
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{black}
+\backslash
+vline}}{
\end_layout
\end_inset
+Y
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}
\end_layout
\end_inset
- This float type is used if you want to wrap text around a figure or table
- so that it only occupies some fraction of the column width.
- It can be inserted using the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Floats\SpecialChar \menuseparator
-Figure
-\begin_inset space ~
-\end_inset
-
-Wrap
-\begin_inset space ~
-\end_inset
-Float
-\family default
- or
-\family sans
-Table
-\begin_inset space ~
-\end_inset
+\end_layout
-Wrap
-\begin_inset space ~
\end_inset
-
-Float
-\family default
- if the LaTeX-package
-\series bold
-wrapfig
-\series default
-
-\begin_inset Index idx
-status collapsed
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-LaTeX-packages ! wrapfig
\begin_inset ERT
status collapsed
\backslash
-vspace{4mm}
+arrayrulecolor{black}
\end_layout
\end_inset
\end_layout
\end_inset
-
- is installed.
-\begin_inset Foot
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Installing a LaTeX-package is explained it in the
-\emph on
-LaTeX
-\begin_inset space ~
-\end_inset
-Configuration
-\emph default
- manual.
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
- The settings of the float can be modified by right-clicking on the float
- box.
- The mandatory settings are the float
-\family sans
-Placement
-\family default
- and its
-\family sans
-Width
-\family default
-.
- Optional are the
-\family sans
-Overhang
-\family default
- that specifies how much the float is set into the paragraph
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-/
-\begin_inset space \thinspace{}
-\end_inset
+\end_layout
-page margin, and the
-\family sans
-Line
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
-span
-\family default
- that specifies how many text lines the float will approximately need.
- The line span is often hard to approximate; so it is better only to use
- it when you encounter float placement problems.
- You can furthermore decide if LaTeX is allowed to let the float float within
- the paragraph or to surrounding paragraphs.
- Figure
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "fig:This-is-a"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
- is an example text wrap float with a width of 40
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
+
+\end_layout
-col%, 1
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-cm overhang, set to the left.
-\begin_inset Foot
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Available units are explained in appendix
-\begin_inset space ~
-\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:Units-available-in"
+\backslash
-\end_inset
+\backslash
-.
+\backslash
+arrayrulecolor{magenta}%
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\series bold
-Note:
-\series default
- Text
-\begin_inset space ~
-\end_inset
-
-wrap float floats are fragile! E.
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-g.
-\begin_inset space \space{}
-\end_inset
-having a figure too close to the bottom of the page can mess things up in
- such a way that the float does not appear in the output or that it is placed
- over some other text.
+\backslash
+multicolumn{1}{|c!{
+\backslash
+color{red}
+\backslash
+vline}}{
\end_layout
\end_inset
-\end_layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
-In general:
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Itemize
-Wrap floats should not be placed in paragraphs that run over a page break.
- That means that wrap floats are better inserted in their exact place when
- the document is almost finished and you are able to estimate where page
- breaks will appear.
+}
\end_layout
-\begin_layout Itemize
-Wrap floats should either be placed in their own paragraph before the paragraph
- where they should wrap into or within a paragraph.
-\end_layout
+\end_inset
-\begin_layout Itemize
-Wrap floats in consecutive paragraphs may cause troubles, so ensure that
- there is a text paragraph between them as separator.
-\end_layout
-\begin_layout Itemize
-Wrap floats are not allowed in section headings or tables.
\end_layout
-\begin_layout Section
-Float Numbering
-\begin_inset Index idx
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Floats ! Numbering
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{green}
+\backslash
+vline}}{
\end_layout
\end_inset
-\end_layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
-Floats are usually numbered either independently from the sections the floats
- are in, or in the scheme
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
-chapter.number
-\begin_inset Quotes erd
-\end_inset
+}
+\end_layout
- or
-\begin_inset Quotes eld
\end_inset
-section.number
-\begin_inset Quotes erd
-\end_inset
-.
- This depends on the document class used.
\end_layout
-\begin_layout Standard
-To change section-independent numbering, you can use this command in the
- document preamble:
-\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-\begin_layout Standard
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-renewcommand{
+multicolumn{1}{c!{
\backslash
-thetable}{
+color{yellow}
\backslash
-roman{table}}
+vline}}{
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-thetable
-\series default
- is the command that prints the table number, for figure floats, the command
- would be
-\series bold
+\begin_inset ERT
+status collapsed
-\backslash
-thefigure
-\series default
-.
-
-\series bold
+\begin_layout Plain Layout
-\backslash
-roman
-\series default
- in the command above prints 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
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\backslash
-numberwithin{table}{subsection}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-To be able to use the command
-\series bold
\backslash
-numberwithin
-\series default
-, set in the tab
-\family sans
-Math
-\begin_inset space ~
-\end_inset
+multicolumn{1}{c!{
+\backslash
+color{blue}
+\backslash
+vline}}{
+\end_layout
-Options
-\family default
- in the document settings the option
-\family sans
-Use
-\begin_inset space ~
\end_inset
-AMS
-\begin_inset space ~
-\end_inset
-math
-\begin_inset space ~
-\end_inset
+\begin_inset ERT
+status collapsed
-package
-\family default
-.
+\begin_layout Plain Layout
+
+}
\end_layout
-\begin_layout Standard
-Please also have a look at section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-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 CommandInset label
-LatexCommand label
-name "sec:Referencing-Floats"
-
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-
-\begin_inset Index idx
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Floats ! References
+
+
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{cyan}
+\backslash
+vline}}{
\end_layout
\end_inset
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-References ! to Floats
+
+}
\end_layout
\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.png
- scale 85
- scaleBeforeRotation
-
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
-.
- A grey label box like this one:
-\begin_inset Graphics
- filename clipart/labelQt4.png
- scale 85
- scaleBeforeRotation
-
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
- 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.
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-g.
-\begin_inset space \space{}
-\end_inset
-for figure floats the prefix will be "
-\family sans
-fig:
-\family default
-".
+\backslash
+multicolumn{1}{c!{
+\backslash
+color{black}
+\backslash
+vline}}{
\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
- or the toolbar button
-\begin_inset Graphics
- filename ../images/dialog-show-new-inset_ref.png
- scale 85
- scaleBeforeRotation
-
\end_inset
-.
- A grey cross-reference box like this one:
-\begin_inset Graphics
- filename clipart/referenceQt4.png
- scale 85
- scaleBeforeRotation
-\end_inset
+\begin_inset ERT
+status collapsed
- will be inserted and the cross-reference window appear showing all labels
- of the document.
- If you have multiple LyX-documents opened, choose the one you are working
- on from the drop-list at the top of the dialog.
- You can now sort the labels alphabetically and then choose one.
- At the position of the cross-reference box the float number will appear
- in the output.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-It is recommended that you use a protected space between the cross-reference
- name and its number to avoid line breaks between them.
- If a cross-reference refers to a non-existing label, you will see two question
- marks in the output instead of the reference.
+}
\end_layout
-\begin_layout Standard
-You can change labels at any time by clicking on the label box.
- References to the changed label will automatically change its link to the
- new label text, so that you don't need to take care about this.
+\end_inset
+
+
\end_layout
-\begin_layout Standard
-The button
-\family sans
-Go
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-to
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-Label
-\family default
- in the cross-reference window sets the cursor before the referred label.
- The button text changes then to Go
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-Back and you can use it to set the cursor back to the cross-reference.
- Right-clicking on a cross-reference box also sets the cursor before the
- referenced label but without the possibility of going back.
-\end_layout
-\begin_layout Subsection
-Cross-Reference Formats
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Cross-Reference-Formats"
+\backslash
+multicolumn{1}{c|}{
+\end_layout
\end_inset
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-References ! Formats
+
+}
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-There are six varieties of cross-references:
-\end_layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\begin_layout Description
-<reference>: prints the float number, this is the default:
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "fig:Two-distorted-images"
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
+\backslash
+arrayrulecolor{black}
\end_layout
-\begin_layout Description
-(<reference>): prints the float number within two parentheses, this is the
- style normally used to reference formulas, especially when the reference
- name
-\begin_inset Quotes eld
\end_inset
-Equation
-\begin_inset Quotes erd
+B
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
- is omitted:
-\begin_inset CommandInset ref
-LatexCommand eqref
-reference "eq:Wgn"
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Description
-<page>: prints the page number: Page
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand pageref
-reference "fig:Two-distorted-images"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Description
-on
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
-page
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-<page>: prints the text "on page" and the page number:
-\begin_inset CommandInset ref
-LatexCommand vpageref
-reference "fig:Two-distorted-images"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Description
-<reference>
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+</lyxtabular>
-on
-\begin_inset space ~
\end_inset
-page
-\begin_inset space ~
-\end_inset
-<page>: prints the float number, the text "on page", and the page number:
-
-\begin_inset CommandInset ref
-LatexCommand vref
-reference "fig:Two-distorted-images"
+\end_layout
\end_inset
\end_layout
-\begin_layout Description
-Formatted
-\begin_inset space ~
-\end_inset
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
+\end_layout
-reference: prints a self defined cross-reference format.
-\begin_inset Newline newline
\end_inset
-\begin_inset Note Greyedout
-status open
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Section
+Rotated Table Cells
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Rotated-Table-Cells"
+
+\end_inset
-\series bold
-Note:
-\series default
- This feature is only available when you have the LaTeX-package
-\series bold
-prettyref
-\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! prettyref
-\end_layout
-
-\end_inset
+Table
+\begin_inset IndexMacro subentry
+status open
- installed.
+\begin_layout Plain Layout
+Rotated Cells
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-
-\family sans
-<page>
-\family default
- will not print the page number if the label is on the previous, the same,
- or the next page.
- You will e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
\end_inset
-see the text
-\begin_inset Quotes eld
-\end_inset
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
-\family sans
-on this page
-\family default
+\begin_layout Plain Layout
+Rotated Material
+\end_layout
-\begin_inset Quotes erd
\end_inset
- instead.
- The style
-\family sans
-<reference> on page <page>
-\family default
- will not print anything about the page if the label is on the same page.
-\end_layout
-\begin_layout Standard
-The number and current page of the part of the document referred to in the
- output is automatically calculated by LaTeX.
- The varieties are adjusted in the field
-\family sans
-Format
-\family default
- of the cross-reference window that appears when you click on the cross-referenc
-e box.
\end_layout
\begin_layout Standard
\series bold
Note:
\series default
- The LaTeX-package
-\series bold
-prettyref
-\series default
+ Not all DVI-viewers are able to display rotations.
+\end_layout
+
+\end_inset
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-LaTeX-packages ! prettyref
\end_layout
+\begin_layout Standard
+Table
+\begin_inset space ~
\end_inset
- does not know all of LyX's possible label shortcuts
-\begin_inset Foot
-status collapsed
-\begin_layout Plain Layout
-\begin_inset Quotes eld
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated"
+plural "false"
+caps "false"
+noprefix "false"
+
\end_inset
-fig:
-\begin_inset Quotes erd
+ is an example where 3
+\begin_inset space ~
\end_inset
- is for example LyX's shortcut for labels in figure captions.
+cells were rotated by 45
+\begin_inset space \thinspace{}
+\end_inset
+
+°.
\end_layout
-\end_inset
+\begin_layout Standard
+\begin_inset Float table
+placement h
+alignment document
+wide false
+sideways false
+status open
- and is not internationalized.
- To find out how to tell
-\series bold
-prettyref
-\series default
- new shortcuts and translations, have a look at its documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "prettyref"
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-rotated"
\end_inset
-.
+Table with rotated cells in the first row.
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" rotate="45" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+cups
+\end_layout
-\series bold
-Note:
-\series default
- Due to a bug in the LaTeX-package
-\series bold
-varioref
-\series default
- version 1.4w, some cross-reference formats will cause LaTeX errors for document
- languages that make the period character active (like French).
- For a workaround, see
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rotate="45" usebox="none">
+\begin_inset Text
-
-\begin_inset CommandInset href
-LatexCommand href
-target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
+\begin_layout Plain Layout
+plates
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rotate="45" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+saucers
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+45
\end_layout
-\begin_layout Subsection
-Automatic Reference Naming
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-References ! Automatic Reference Naming
+33
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+21
\end_layout
-\begin_layout Standard
-The LaTeX-package
-\series bold
-hyperref
-\series default
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-LaTeX-packages ! hyperref
\end_layout
\end_inset
-, that is enabled in the
-\family sans
-PDF Properties
-\family default
- of the
-\family sans
-Document Settings
-\family default
- dialog, provides a very useful feature that cross-references automatically
- include the name of the referenced floats (or text parts like
-\emph on
-section
-\emph default
-).
- So you will save having to write e.
-\begin_inset space \thinspace{}
-\end_inset
-g.
-\begin_inset space \space{}
-\end_inset
+\end_layout
-the name
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
-Figure
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
- before every reference to a figure.
- To use this feature, enable
\series bold
-hyperref
+Note:
\series default
- and insert this line to the LaTeX preamble:
+ Line breaks (shortcut
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+) are not allowed in rotated cells.
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-AtBeginDocument{
-\backslash
-renewcommand{
-\backslash
-ref}[1]{
-\backslash
-mbox{
-\backslash
-autoref{#1}}}}
\end_layout
\begin_layout Standard
-When you prefer other reference names than the default ones, for example
- you want instead of
-\begin_inset Quotes eld
-\end_inset
+If you want to rotate table cells containing line breaks, you have to put
+ the cell content into a minipage or a parbox.
+\begin_inset Foot
+status collapsed
-section
-\begin_inset Quotes erd
+\begin_layout Plain Layout
+For more about these boxes see sec.
+\begin_inset space \thinspace{}
\end_inset
- the name
-\begin_inset Quotes eld
-\end_inset
-sec.
-\begin_inset space \thinspace{}
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
\end_inset
+ and
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Parboxes"
-\begin_inset Quotes eld
\end_inset
-, you can redefine the name by inserting this in the preamble:
+.
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
+ If you rotate this cell by 90
+\begin_inset space \thinspace{}
+\end_inset
-\backslash
-addto
-\backslash
-extrasenglish{
-\backslash
-renewcommand{
-\backslash
-sectionautorefname}
-\begin_inset Newline newline
+° the width of the box is the height of the cell.
+ To avoid to estimate a suitable box width one can use a minipage with a
+ variable width.
+ Such a box is inserted by loading the module
+\family sans
+Variable-width
+\begin_inset space ~
\end_inset
+Minipages
+\family default
+ in the document settings.
+ Then one can use the menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom
+\begin_inset space ~
+\end_inset
-\begin_inset Phantom HPhantom
-status open
+Insets\SpecialChar menuseparator
+Minipage
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-\series bold
+\family default
+(Var.
\begin_inset space ~
\end_inset
+Width).
+ Table
+\begin_inset space ~
+\end_inset
-\end_layout
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-rotated-multi"
\end_inset
-{sec.
-\backslash
-negthinspace}}
+ is an example for a rotated multiline cell where a variable width minipage
+ is used.
\end_layout
\begin_layout Standard
-When you are using another document language than English, replace
-\begin_inset Newline newline
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-rotated-multi"
+
\end_inset
+Table with rotated multiline cell.
+\end_layout
-\series bold
+\end_inset
-\backslash
-extrasenglish
-\series default
- by
-\series bold
-
-\backslash
-extras***
-\series default
-, where *** is the name of the language used.
-\end_layout
-\begin_layout Standard
-To get automatic names, but not for certain reference types, for example
- not for equations, use this preamble code:
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
+a
+\end_layout
-\backslash
-newlength{
-\backslash
-abc}
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset Flex Minipage (Var. Width)
+status open
-\backslash
-settowidth{
-\backslash
-abc}{
-\backslash
-space}
+\begin_layout Plain Layout
+rotated cell
\begin_inset Newline newline
\end_inset
-
-\backslash
-addto
-\backslash
-extrasenglish{
-\backslash
-renewcommand{
-\backslash
-equationautorefname}
-\begin_inset Newline newline
+with line break
+\begin_inset space ~
\end_inset
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
+\end_layout
-\series bold
-\begin_inset space ~
\end_inset
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-{
-\backslash
-hspace{-
-\backslash
-abc}}
+\begin_layout Plain Layout
+e
\end_layout
-\begin_layout Standard
-More about this topic can be found in
-\series bold
-hyperref
-\series default
-'s documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "hyperref"
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+c
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+d
+\end_layout
-\series bold
-Note:
-\series default
- Automatic reference naming cannot be used when you use cross-references
- in the
-\family sans
-Formatted
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+</lyxtabular>
-reference
-\family default
- style, as described in section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Cross-Reference-Formats"
+\end_layout
\end_inset
-.
+
\end_layout
+\begin_layout Section
+Table Width Calculation
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Table-Width-Calculation"
+
\end_inset
\end_layout
\begin_layout Standard
-The
-\emph on
-Math
-\emph default
- manual is an example where automatic reference naming is used.
+For wide tables it is sometimes difficult to assure that the table does
+ not protrude over the page margin.
+ Setting a fixed width for every column of the table is the solution, but
+ what amount of space is needed for each column?
\end_layout
-\begin_layout Subsection
-Reference Position
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Reference-Position"
+\begin_layout Standard
+The table width
+\begin_inset Formula $W_{\mathrm{table}}$
+\end_inset
+ can be calculated: Every column has the width of the specified column width
+
+\begin_inset Formula $W_{\mathrm{column}}$
\end_inset
+ (that the content of the column can consume) plus two times the separation
+ between the column content and the column border (\SpecialChar LaTeX
+ length
+\series bold
+
+\backslash
+tabcolsep
+\series default
+, default 6
+\begin_inset space \thinspace{}
+\end_inset
-\begin_inset Index idx
-status collapsed
+pt) plus the width of a border line (\SpecialChar LaTeX
+ length
+\series bold
-\begin_layout Plain Layout
-References ! Reference Position
-\end_layout
+\backslash
+arrayrulewidth
+\series default
+, default 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt): So if all
+\begin_inset Formula $n$
+\end_inset
+
+
+\begin_inset space ~
+\end_inset
+
+columns have the same width, the table width is
+\begin_inset Formula
+\begin{equation}
+W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
+\end{equation}
\end_inset
\end_layout
\begin_layout Standard
-If you use
+The available width for a table is the space between the page margins or
+ the width of a text column (for a two-column document) (\SpecialChar LaTeX
+ length
\series bold
-hyperref
+
+\backslash
+columnwidth
\series default
+).
+ If all table columns should have the same width and
+\begin_inset Formula $W_{\mathrm{table}}$
+\end_inset
-\begin_inset Index idx
-status collapsed
+ should be 1
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Plain Layout
-LaTeX-packages ! hyperref
-\end_layout
+\backslash
+columnwidth,
+\begin_inset Formula $W_{\mathrm{column}}$
\end_inset
- in the
-\family sans
-PDF Properties
-\family default
- of the
-\family sans
-Document Settings
-\family default
- dialog to link cross-references in the output, you will see that clicking
- on an image float reference jumps to the image label.
- The caption will be the first text part on the screen, so that you cannot
- see the image without scrolling.
- This is because the reference link anchor is placed at the position of
- the label.
- With the use of the package
+ can easily be calculated.
+\end_layout
+
+\begin_layout Standard
+To be able to perform calculations you need to load the \SpecialChar LaTeX
+-package
\series bold
-hypcap
+calc
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hypcap
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+calc
\end_layout
\end_inset
-, which is part of the LaTeX-package
-\series bold
-oberdiek
-\series default
-
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-LaTeX-packages ! oberdiek
\end_layout
\end_inset
-, the link anchor is placed at the beginning of a float.
- To use this feature for figure floats, load
-\series bold
-hypcap
-\series default
- in the document preamble with the line
+ in the document preamble.
+ To set the width in the table dialog you have to use the field
+\family sans
+\SpecialChar LaTeX
+ argument
+\family default
+.
+ The command scheme for this field is the same that is explained in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Multicolumn-Calculations"
+
+\end_inset
+
+.
+ For a table with 5
+\begin_inset space \thinspace{}
+\end_inset
+
+columns with an uniform width and centered text, enter there for each column
+ the command
\end_layout
\begin_layout Standard
\series bold
-
+>{
\backslash
-usepackage[figure]{hypcap}
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/5}
\end_layout
\begin_layout Standard
-You can also use
-\series bold
-hypcap
-\series default
- for all float types but this is not recommended for stability reasons.
- For more information, have a look at
-\series bold
-hypcap
-\series default
-'s manual
-\begin_inset CommandInset citation
-LatexCommand cite
-key "hypcap"
+For a table with 5
+\begin_inset space \thinspace{}
+\end_inset
+columns where 2 should have 0.75
+\begin_inset space ~
\end_inset
-.
+times the width than the 3 others, the calculation is
+\begin_inset Formula
+\begin{align}
+\backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
+ & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
+ & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
+W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
+\end{align}
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+In the table therefore the command
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
\series bold
-Note:
-\series default
-
-\series bold
-hypcap
-\series default
- has no effect on references to subfigures.
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}}
\end_layout
-\end_inset
+\begin_layout Standard
+is used for the wider columns and
+\end_layout
+\begin_layout Standard
+\series bold
+>{
+\backslash
+centering}p{(1
+\backslash
+columnwidth-62.4pt)/
+\backslash
+real{4.5}*
+\backslash
+real{0.75}}
\end_layout
-\begin_layout Section
-Float Placement
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Float-Placement"
+\begin_layout Standard
+for the smaller ones:
+\end_layout
-\end_inset
+\begin_layout Standard
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
+<column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+1
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Floats ! Placement
+2
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+3
\end_layout
-\begin_layout Standard
-Right-clicking on a float-box opens a dialog where you can alter the placement
- options that LaTeX uses for positioning the float.
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+4
+\end_layout
-The option
-\family sans
-Span
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+5
+\end_layout
-columns
-\family default
- is only useful for two-column documents: If you select it, the float will
- span both columns on the page instead of being confined to just one.
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+111111 1111111 111111 111111111 11111 11111 1111
+\end_layout
-The option
-\family sans
-Rotate
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-sideways
-\family default
- is used to rotate floats, see section
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Rotated-Floats"
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+2222 22222 222222 222222222 2222222 22 22222
\end_layout
-\begin_layout Standard
-You can use one ore more of the following options in the float dialog to
- set the placement for a particular float when you uncheck the option
-\family sans
-Use
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
-default
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-placement
-\family default
-:
+\begin_layout Plain Layout
+333333 333333 333333 33333 3333333 333
\end_layout
-\begin_layout Description
-Here
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+</lyxtabular>
-if
-\begin_inset space ~
\end_inset
-possible try to place the float on the position where it has been inserted
+
\end_layout
-\begin_layout Description
-Top
-\begin_inset space ~
-\end_inset
+\begin_layout Section
+Table Customization
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization
+\end_layout
-of
-\begin_inset space ~
\end_inset
-page try to place the float at the top of the current page
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Customization
\end_layout
-\begin_layout Description
-Bottom
-\begin_inset space ~
\end_inset
-of
-\begin_inset space ~
-\end_inset
-page try to place the float at the bottom of the current page
\end_layout
-\begin_layout Description
-Page
-\begin_inset space ~
\end_inset
-of
-\begin_inset space ~
-\end_inset
-floats try to place the float on its own page
\end_layout
-\begin_layout Standard
-The order of the above option is
-\emph on
-always
-\emph default
- used by LaTeX.
- That means, if you use the default placement, LaTeX will first try out
-
-\family sans
-Here
-\begin_inset space ~
-\end_inset
+\begin_layout Subsection
+Row Spacing
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Row-Spacing"
-if
-\begin_inset space ~
\end_inset
-possible
-\family default
-, then
-\family sans
-Top
-\begin_inset space ~
-\end_inset
-of
-\begin_inset space ~
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Row Spacing
+\end_layout
+
\end_inset
-page
-\family default
-, and then the others.
- If you do not use the default, LaTeX will try only the checked options
- but in the same order.
- If none of the 4
-\begin_inset space ~
+
+\end_layout
+
\end_inset
-placements are possible the procedure is internally repeated but it is tried
- to put the float on the following page.
+
\end_layout
\begin_layout Standard
-By default, each option has its own rules:
+You can add vertical space to table rows in the
+\family sans
+Borders
+\family default
+ tab of the table dialog.
+ You find there three possibilities:
\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
-
-\family sans
+\begin_layout Description
Top
\begin_inset space ~
\end_inset
\begin_inset space ~
\end_inset
-page
-\family default
- only floats occupying less than 70
-\begin_inset space \thinspace{}
+row will add space above the characters of the table row.
+ If the table is a formal table
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Formal tables are explained in section
+\begin_inset space ~
\end_inset
-% of the page can be placed at the top of a page (
-\series bold
-\backslash
-topfraction
-\series default
-)
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Formal-Tables"
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
+\end_inset
-\family sans
-Bottom
-\begin_inset space ~
-\end_inset
+.
+\end_layout
-of
-\begin_inset space ~
\end_inset
-page
-\family default
-: only floats occupying less than 30
+ \SpecialChar LyX
+ will insert as default 0.5
\begin_inset space \thinspace{}
\end_inset
-% of the page can be placed at the bottom of a page.
- (
-\series bold
+em space.
+ For normal tables the inserted space will unfortunately destroy the vertical
+ table lines as in the following table:
+\begin_inset VSpace medskip
+\end_inset
-\backslash
-bottomfraction
-\series default
-)
-\end_layout
-\begin_layout Labeling
-\labelwidthstring 00.00.0000
+\begin_inset Newline newline
+\end_inset
-\family sans
-Page
-\begin_inset space ~
+
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-of
-\begin_inset space ~
+
+\begin_inset space \hfill{}
\end_inset
-floats
-\family default
-: only if more than 50
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="1">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+A
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row topspace="3mm">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
\begin_inset space \thinspace{}
\end_inset
-% of the page are occupied by floats, several floats can be set together
- on a page.
- (
-\series bold
+mm space top of row
+\end_layout
-\backslash
-floatpagefraction
-\series default
-)
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+C
\end_layout
-\begin_layout Standard
-If you don't like these rules, you can ignore them by using the additional
- option
-\family sans
-Ignore
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+</lyxtabular>
-LaTeX
-\begin_inset space ~
\end_inset
-rules
-\family default
-.
-\begin_inset Newline newline
+
+\begin_inset space \hfill{}
\end_inset
-You can also redefine the rules with LaTeX-commands that are given in parenthese
-s after the rules description above.
- To increase for example the often too small default of the bottom-rule
- to 50
-\begin_inset space \thinspace{}
+
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-% of the page, add this line to your document preamble:
-\end_layout
-\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
-\series bold
-\backslash
-renewcommand{
-\backslash
-bottomfraction}{0.5}
+\begin_inset Newline newline
+\end_inset
+
+So inserting space in the top of row for normal tables is only useful when
+ you don't have vertical lines.
\end_layout
-\begin_layout Standard
-Sometimes you might need, under all circumstances, a float to be placed
- exactly at the position where it is inserted.
- For this case you can use the option
-\family sans
-Here
+\begin_layout Description
+Bottom
\begin_inset space ~
\end_inset
-definitely
-\family default
-.
- Use this option very rarely and only if the document is almost ready to
- be printed, because the float is then no longer able to
-\begin_inset Quotes eld
+of
+\begin_inset space ~
\end_inset
-float
-\begin_inset Quotes erd
+row will add space below the characters of the table row.
+ If the table is a formal table \SpecialChar LyX
+ will insert as default 0.5
+\begin_inset space \thinspace{}
\end_inset
- when you change your document and this will often destroy the page layout.
-\end_layout
-
-\begin_layout Standard
-There are no placement options for text wrap floats, because they are always
- surrounded by the text of a certain paragraph.
-\begin_inset VSpace bigskip
+em space, for normal tables the default size is 2
+\begin_inset space \thinspace{}
\end_inset
-
+pt.
\end_layout
-\begin_layout Standard
-Sometimes you have the problem that a float is placed at the top of a page
- while its corresponding section starts at the middle of the page, so that
- the reader could think the float is part of the previous section.
- To avoid this the LaTeX-command
-\series bold
+\begin_layout Description
+Between
+\begin_inset space ~
+\end_inset
-\backslash
-suppressfloats
-\series default
- can be used.
- It suppresses a given float placement for the page where it is inserted
- and can therefore be used to avoid floats being set before a section starts.
- To get this, add these commands to your document preamble:
-\end_layout
+rows adds space between the current and the following row.
+ If the table is a formal table \SpecialChar LyX
+ will insert as default 0.5
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Standard
+em space.
+ For normal tables the inserted space will unfortunately destroy the vertical
+ table lines as in the following table:
+\begin_inset VSpace medskip
+\end_inset
-\series bold
-\backslash
-let
-\backslash
-mySection
-\backslash
-section
\begin_inset Newline newline
\end_inset
-\backslash
-renewcommand{
-\backslash
-section}{
-\backslash
-suppressfloats[t]
-\backslash
-mySection}
-\end_layout
+\begin_inset space \hspace*{}
+\length 0pt
+\end_inset
-\begin_layout Standard
-You can define the same for all section headings, like chapters and subsections.
- This definition is not recommended to be used for small text parts like
- subsubsections because LaTeX may then have problems finding a suitable
- placement.
-\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_inset space \hfill{}
\end_inset
-In some cases it is required to have all figures/tables at the end of the
- document.
- For this purpose the LaTeX-package
-\series bold
-endfloat
-\series default
-\begin_inset Index idx
-status collapsed
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="1">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-LaTeX-packages ! endfloat
+A
\end_layout
\end_inset
+</cell>
+</row>
+<row interlinespace="3mm">
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
- was developed.
- It puts all figure and table floats at the end of the document into their
- own sections.
- At the original float position a text hint like
-\begin_inset Quotes eld
+\begin_layout Plain Layout
+\begin_inset Formula $\downarrow$
\end_inset
-
-\family sans
-[Figure
-\begin_inset space ~
+ 3
+\begin_inset space \thinspace{}
\end_inset
-3.2 about here.]
-\family default
-
-\begin_inset Quotes erd
+mm space between row
+\begin_inset Formula $\downarrow$
\end_inset
- is inserted.
- The endfloat-package is loaded in the preamble with the line
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-\backslash
-usepackage[options]{endfloat}
\end_layout
-\begin_layout Standard
-There are various package options to format the created figure/table sections.
- For more information we refer to the
-\series bold
-endfloat
-\series default
- documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "endfloat"
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset Formula $\uparrow$
\end_inset
-.
-\begin_inset Newline newline
+ 3
+\begin_inset space \thinspace{}
\end_inset
+mm space between row
+\begin_inset Formula $\uparrow$
+\end_inset
-\begin_inset Note Greyedout
-status open
-\begin_layout Plain Layout
+\end_layout
-\series bold
-Note: endfloat
-\series default
- doesn't provide an automatic translation for the text hint, you have to
- do this manually, see section
-\begin_inset space ~
\end_inset
-
-4 in
-\begin_inset CommandInset citation
-LatexCommand cite
-key "endfloat"
+</cell>
+</row>
+</lyxtabular>
\end_inset
-.
-\end_layout
+\begin_inset space \hfill{}
\end_inset
-\begin_inset Newline newline
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-\begin_inset Note Greyedout
-status open
+\begin_inset VSpace medskip
+\end_inset
-\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- There is currently a bug in
-\series bold
-endfloat
-\series default
- when the caption contains a German
-\begin_inset Quotes eld
+\begin_inset Newline newline
\end_inset
-ß
-\begin_inset Quotes erd
-\end_inset
+So inserting space between rows for normal tables is only useful when you
+ don't have vertical lines.
+\end_layout
-.
- Use in this case the command
-\begin_inset Quotes eld
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
+When you want to add extra height to all cells of all tables, you can do
+ this with the following preamble lines:
+\end_layout
+
+\begin_layout Standard
\series bold
\backslash
-ss
-\series default
-
-\begin_inset Quotes erd
+@ifundefined{extrarowheight}
+\begin_inset Newline newline
\end_inset
- in TeX-Code instead of
-\begin_inset Quotes eld
-\end_inset
-ß
-\begin_inset Quotes erd
-\end_inset
+\begin_inset Phantom HPhantom
+status open
-.
-\end_layout
+\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-For more details about float placements, have a look at LaTeX books,
-\begin_inset CommandInset citation
-LatexCommand cite
-key "latexcompanion,latexguide,latexbook"
-
+{
+\backslash
+usepackage{array}}{}
+\begin_inset Newline newline
\end_inset
-.
-\end_layout
-
-\begin_layout Section
-Rotated Floats
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Rotated-Floats"
-
-\end_inset
+\backslash
+setlength{
+\backslash
+extrarowheight}{height}
+\series default
-\begin_inset Index idx
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-Floats ! Rotating
+The package
+\series bold
+array
+\series default
+ will be loaded automatically by \SpecialChar LyX
+ when you use self defined table formats.
+ To avoid that it is loaded twice the command
+\series bold
+
+\backslash
+@ifundefined
+\series default
+ is used in the above command.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Especially for wide tables you might have floats rotated.
- To rotate a whole float including the caption, right-click on the float-box
- and use the option
+where the
\family sans
-Rotate
+height
+\family default
+ can have one of the units listed in appendix
\begin_inset space ~
\end_inset
-sideways
-\family default
-.
-\end_layout
-\begin_layout Standard
-Rotated floats are always placed on a page of their own (or column of their
- own; in case you have a multi-column document).
- You can let them span several columns using the float settings option
-\family sans
-Span
-\begin_inset space ~
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:Units-available-in"
+
\end_inset
-columns
-\family default
.
- Floats are rotated so that you can read them from the outside margin.
- 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.
+ But this has the disadvantage that the cell texts are no longer exactly
+ vertically centered.
\end_layout
\begin_layout Standard
-Referencing rotated floats is the same as for normal floats, the caption
- format is also the same: Table
+If you are using font sizes larger than the normal size, the table borders
+ are often too close to the letters.
+ This can be corrected by inserting the command
+\series bold
+
+\backslash
+strut
+\series default
+ in \SpecialChar TeX
+ Code at the beginning of a table row.
+ Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Rotated-table"
+reference "tab:Vertical-alignment-of"
\end_inset
- is an example of a rotated table float.
+ illustrates the effect.
\end_layout
\begin_layout Standard
-\begin_inset Note Greyedout
+\noindent
+\begin_inset Float table
+placement h
+alignment document
+wide false
+sideways false
status open
\begin_layout Plain Layout
+\begin_inset Caption Standard
-\series bold
-Note:
-\series default
- Not all DVI-viewers are able to display rotated floats.
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Vertical-alignment-of"
+
+\end_inset
+
+Vertical alignment of text with large font sizes.
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
+\begin_layout Plain Layout
+\begin_inset space \hfill{}
+\end_inset
+
+
\begin_inset Float table
+placement document
+alignment document
wide false
-sideways true
-status open
+sideways false
+status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Rotated-table"
-
-\end_inset
-
- Rotated table
+Normal table.
\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
+\noindent
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="1" columns="5">
+<lyxtabular version="3" rows="6" columns="1">
<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<column alignment="left" valignment="top">
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-test
+Normal, g
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+
+\size large
+Large
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+
+\size larger
+Larger
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+
+\size largest
+Largest
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+
+\size huge
+Huge
\end_layout
\end_inset
</cell>
</row>
-</lyxtabular>
-
-\end_inset
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\end_layout
+\size huge
+Huger
+\end_layout
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\end_layout
-
-\begin_layout Section
-Subfloats
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-Floats ! Subfloats
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-Subfloats are for example used when a figure consists of several images.
- They are created by inserting a float into an existing float.
- The placement of the subfloats can be controlled in the same way as for
- paragraphs as shown in table
-\begin_inset space ~
+\begin_inset space \hfill{}
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Two-subtables-side"
-
-\end_inset
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status collapsed
- and
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Two-subtables-upon"
+\begin_layout Plain Layout
+\begin_inset Caption Standard
-\end_inset
+\begin_layout Plain Layout
+Table using the command
+\series bold
+\backslash
+strut
+\series default
.
\end_layout
-\begin_layout Standard
-Referencing subfloats works as for normal floats: Table
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:This-is-subtable-a"
+\end_layout
-\end_inset
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="1">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
- and
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:This-is-subtable-b"
+\begin_layout Plain Layout
+Normal, g
+\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
- are subtables of table
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
+
+\size large
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Two-subtables-side"
+
+\backslash
+strut
+\end_layout
\end_inset
-.
+Large
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-wide false
-sideways false
-status open
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+
+\size larger
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Two-subtables-side"
-\end_inset
-Two subtables placed side by side.
+\backslash
+strut
\end_layout
\end_inset
-
+Larger
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset space \hfill{}
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset Float table
-wide false
-sideways false
+\size largest
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:This-is-subtable-a"
-\end_inset
-This is subtable a.
+\backslash
+strut
\end_layout
\end_inset
-
+Largest
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="1" columns="5">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+\end_inset
+</cell>
+</row>
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-test
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+\size huge
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b
+
+
+\backslash
+strut
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-c
+Huge
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+
+\size giant
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
+
+\size huge
+Huger
\end_layout
\end_inset
\end_inset
-\begin_inset Float table
-wide false
-sideways false
-status collapsed
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:This-is-subtable-b"
+\end_layout
\end_inset
-This is subtable b.
+
\end_layout
+\begin_layout Subsection
+Special Cell Alignment
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Special-Cell-Alignment"
+
\end_inset
-\end_layout
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="1" columns="5">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+Table Customization
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-e
+Special Cell Alignment
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-d
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-c
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-b
+
\end_layout
+\begin_layout Standard
+Sometimes it looks better when the cell entries of a column are aligned
+ with a special character, e.
+\begin_inset space \thinspace{}
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-test
-\end_layout
+g.
+\begin_inset space \space{}
\end_inset
-</cell>
-</row>
-</lyxtabular>
+with the decimal separator as in Table
+\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-cells-align"
\end_inset
-
-\begin_inset space \hfill{}
+.
+ This alignment is achieved by setting the cursor into the column and then
+ either pressing the toolbar button
+\begin_inset Info
+type "icon"
+arg "tabular-feature align-decimal"
\end_inset
-
-\end_layout
-
+ or setting the alignment in the table settings to
+\family sans
+At
+\begin_inset space ~
\end_inset
+Decimal
+\begin_inset space ~
+\end_inset
+Separator
+\family default
+.
+ The alignment character can be a character of your choice and is specified
+ in the table settings.
\end_layout
\begin_layout Standard
\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Two-subtables-upon"
-
-\end_inset
-
-Two subtables placed one above the other.
- (a) table with 4 cells, (b) table with 5 cells.
-\end_layout
+name "tab:Table-cells-align"
\end_inset
-
-\end_layout
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Float table
-wide false
-sideways false
-status collapsed
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-
+Table cells of a column aligned with the decimal separator.
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="1" columns="4">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="4" columns="1">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="decimal" decimal_point="." valignment="top" width="0pt">
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-test
+heading
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-test
+12.6
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-test
+0.68
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-test
+-123.0
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\align center
+\begin_layout Standard
\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
-status collapsed
+status open
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-align-operator"
+\end_inset
+
+Table cells of a column aligned with the operators.
\end_layout
\end_inset
\begin_layout Plain Layout
\align center
\begin_inset Tabular
-<lyxtabular version="3" rows="1" columns="5">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="4" columns="2">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+heading
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
+\begin_inset Formula $12\,+$
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+\begin_inset Formula $\,6$
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+\begin_inset Formula $0\,-$
+\end_inset
+
+
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset Formula $\,68$
\end_inset
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $-123\,/$
+\end_inset
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\,0$
+\end_inset
\end_layout
-\begin_layout Section
-Floats Side by Side
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
-\begin_layout Plain Layout
-Floats ! Side by side
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-To place floats side by side, as in Figures
+For alignments at characters in formulas this method does not work because
+ the field to specify the alignment character does not allow formulas.
+ In this case one need to use the method from Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Float-left"
+reference "tab:Table-align-operator"
\end_inset
- and
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "fig:Float-right"
+.
+ This table was created with a 4×2 table.
+ The heading is a centered multicolumn.
+ The first column is right-aligned and contains the first part including
+ the operator.
+ The second column is left aligned and contains the rest.
+ A small space was added at the beginning of each cell of the second column
+ to get the space that is usually around operators.
+ To omit the space that is normally between two table columns, the following
+ \SpecialChar LaTeX
+-argument was used for the second column:
+\end_layout
-\end_inset
+\begin_layout Standard
-, only
-\emph on
-one
-\emph default
- float is used.
- In it two minipage boxes are inserted.
-\begin_inset Foot
-status collapsed
+\series bold
+@{}l
+\end_layout
-\begin_layout Plain Layout
-Minipages are explained in section
+\begin_layout Standard
+Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Minipages"
-
-\end_inset
-
-.
-\end_layout
+reference "tab:Several-table-cell"
\end_inset
- The width is set to 45
-\begin_inset space \thinspace{}
+ shows some example alignments.
+ For the alignment with the relation sign, a small space was added like
+ for the second column of Table
+\begin_inset space ~
\end_inset
--50
-\begin_inset space \thinspace{}
-\end_inset
-column% and the box alignment to
-\family sans
-Bottom
-\family default
- for each minipage.
- The minipage boxes contain the image and the caption in the same way as
- they are in a float.
- The only difference is that the image unit
-\family sans
-Column
-\begin_inset space ~
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-align-operator"
-Width
-\begin_inset space ~
\end_inset
-%
-\family default
- is now calculated according to the width of the minipage boxes.
+.
\end_layout
\begin_layout Standard
-\begin_inset Float figure
+\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset Box Frameless
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "45col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
+\begin_inset Caption Standard
\begin_layout Plain Layout
-\align center
-\begin_inset Graphics
- filename clipart/mobius.eps
- lyxscale 50
- width 100col%
- scaleBeforeRotation
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Several-table-cell"
+
+\end_inset
+
+Several table cell alignments.
+\end_layout
\end_inset
\end_layout
\begin_layout Plain Layout
-\begin_inset Caption
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="6">
+<features tabularvalignment="middle">
+<column alignment="right" valignment="top">
+<column alignment="left" valignment="top" special="@{}l">
+<column alignment="right" valignment="top">
+<column alignment="left" valignment="top" special="@{}l">
+<column alignment="right" valignment="top">
+<column alignment="left" valignment="top" special="@{}l">
+<row>
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:Float-left"
+units
+\end_layout
\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-Float on the left side.
\end_layout
\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+exponents
\end_layout
\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset space \hfill{}
-\end_inset
-
+\end_layout
-\begin_inset Box Frameless
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "45col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\align center
-\begin_inset Graphics
- filename clipart/platypus.eps
- lyxscale 50
- width 100col%
- scaleBeforeRotation
+relations
+\end_layout
\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Plain Layout
-\begin_inset Caption
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:Float-right"
+12×
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+24
+\begin_inset space \thinspace{}
\end_inset
-Float on the right side.
+bottles
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $10\cdot$
+\end_inset
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $10^{\mbox{-}17}$
+\end_inset
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
\begin_layout Plain Layout
+\begin_inset Formula $\Gamma(t)\propto$
+\end_inset
+
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\:\Upsilon(t)$
+\end_inset
\end_layout
-\begin_layout Section
-Caption Formatting
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Caption ! Formatting
+1024×
\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+768
+\begin_inset space \thinspace{}
\end_inset
+Pixels
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Floats ! Caption Formatting
+\begin_inset Formula $5.78\cdot$
+\end_inset
+
+
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $10^{7}$
+\end_inset
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Caption-Formatting"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $A\ne$
+\end_inset
\end_layout
-\begin_layout Standard
-The
-\family sans
-Caption
-\family default
- environment is the default paragraph environment for
-\family sans
-Floats
-\family default
-.
- On the LyX screen captions appear as label, e.
-\begin_inset space \thinspace{}
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-g.
-\begin_inset space \space{}
+\begin_layout Plain Layout
+\begin_inset Formula $\:B_{\mathrm{red}}$
\end_inset
-\begin_inset Quotes eld
+\end_layout
+
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+32×
+\end_layout
-\family sans
-Figure #:
-\family default
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-\begin_inset Quotes erd
+\begin_layout Plain Layout
+6
+\begin_inset space \thinspace{}
\end_inset
- followed by the caption text.
-
-\begin_inset Quotes eld
+cm
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-#
-\begin_inset Quotes erd
+\begin_layout Plain Layout
+-
+\begin_inset Formula $33.5\cdot$
\end_inset
- 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 the label from the text.
- This caption format is not suitable for all document formats.
-
+
\end_layout
-\begin_layout Standard
-To change the default caption format, load the LaTeX-package
-\series bold
-caption
-\series default
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
-\begin_inset Index idx
-status collapsed
+\begin_layout Plain Layout
+\begin_inset Formula $10^{4}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\begin_inset Formula $\sin(\alpha)\ge$
+\end_inset
+
+
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\:\sin(\beta)$
+\end_inset
+
- in the document preamble with this line:
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
-\series bold
-\backslash
-usepackage[format definition]{caption}
\end_layout
-\begin_layout Standard
-To have for example the label and the number in sans-serif bold font and
- the table captions always above the table as in this document, use the
- following command:
+\end_inset
+
+
\end_layout
-\begin_layout Standard
+\begin_layout Subsection
+Customized Cell/Column Format
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Customized-Format"
-\series bold
+\end_inset
-\backslash
-usepackage[labelfont={bf,sf}, tableposition=top]{caption}
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Cell/Column Format
\end_layout
-\begin_layout Standard
-You can also define different caption formats for the different float types.
- In this case load the
-\series bold
-caption
-\series default
- package without format specific options and define the different formats
- with the help of the command
+\end_inset
+
+
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-captionsetup[float type]{format definition}
\end_layout
\begin_layout Standard
-in the document preamble.
- For example the caption formats of Figure
+Calculating the required width for normal columns as described in section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:This-is-an-fig"
+reference "sec:Table-Width-Calculation"
\end_inset
- and Table
+ or for spanned columns as described in section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:This-is-an-tab"
+reference "subsec:Multicolumn-Calculations"
\end_inset
- can be created using these commands in the document preamble:
+ is very annoying if you have several tables where a calculation is necessary.
+ To make life easier, you can define a cell/column format in the preamble,
+ that can be used in all tables of the document.
+ The format is defined with the command
\end_layout
\begin_layout Standard
\series bold
\backslash
-usepackage[tableposition=top]{caption}
-\series default
+newcolumntype{name of format}[number of arguments]{commands}
+\end_layout
-\begin_inset Newline newline
+\begin_layout Standard
+The format name may only consist of one letter.
+ The letters
+\emph on
+b
+\emph default
+,
+\emph on
+c
+\emph default
+,
+\emph on
+l
+\emph default
+,
+\emph on
+m
+\emph default
+,
+\emph on
+p
+\emph default
+ and
+\emph on
+r
+\emph default
+ are predefined and cannot be used.
+ But all letters are allowed as capitals.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
\end_inset
+\end_layout
+
+\begin_layout Standard
+For vertically and horizontally centered multicolumn cells with a fixed
+ width you can define the cell format
+\end_layout
+
+\begin_layout Standard
+
\series bold
\backslash
-captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
-\begin_inset Newline newline
+newcolumntype{M}[1]{>{
+\backslash
+centering
+\backslash
+hspace{0pt}}m{#1}}
+\end_layout
+
+\begin_layout Standard
+where
+\series bold
+
+\backslash
+hspace{0pt}
+\series default
+ avoids the problem of hyphenating the first word, as described in section
+\begin_inset space ~
\end_inset
-\begin_inset Phantom HPhantom
-status open
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Multiple-Lines-in"
-\begin_layout Plain Layout
+\end_inset
-\series bold
+.
+ Now you can simply enter
+\end_layout
-\backslash
-captionsetup[figure]{
+\begin_layout Standard
+
+\series bold
+M{width}
\end_layout
-\end_inset
+\begin_layout Standard
+as
+\family sans
+\SpecialChar LaTeX
+-argument
+\family default
+ in the table dialog to create a multicolumn.
+\end_layout
-labelsep=period}
-\begin_inset Newline newline
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
-\backslash
-captionsetup[table]{labelfont={bf,sf}}
\end_layout
\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+For cells spanned by a multicolumn cell, you can define the format
+\end_layout
-\begin_layout Plain Layout
+\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 Index idx
-status collapsed
+\backslash
+newcolumntype{S}[2]{>{
+\backslash
+centering
+\backslash
+hspace{0pt}}
+\begin_inset Newline newline
+\end_inset
-\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
-\end_layout
-\end_inset
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
- document class is used.
- In this case the document class option
\series bold
-tablecaptionabove
-\series default
- must be used.
+
+\backslash
+newcolumntype
\end_layout
\end_inset
-
+m{(#1+(2
+\backslash
+tabcolsep+
+\backslash
+arrayrulewidth)*(1-#2))/#2}}
\end_layout
\begin_layout Standard
-For more information about the package
-\series bold
-caption
-\series default
- we refer to its documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "caption"
+This format uses equation
+\begin_inset CommandInset ref
+LatexCommand eqref
+reference "eq:Wgn"
\end_inset
-.
+ to calculate the required width so that each spanned cell has the same
+ width.
\end_layout
\begin_layout Standard
-To change the label name from e.
-\begin_inset space \thinspace{}
-\end_inset
+You can now enter
+\end_layout
-g.
-\begin_inset space \space{}
-\end_inset
+\begin_layout Standard
+\series bold
+S{width of multicolumn cell}{number of spanned columns}
+\end_layout
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+as \SpecialChar LaTeX
+-argument of the column.
+\end_layout
-Figure
-\begin_inset Quotes erd
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
- to
-\begin_inset Quotes eld
-\end_inset
-Image
-\begin_inset Quotes erd
-\end_inset
+\end_layout
- use this preamble command:
+\begin_layout Standard
+For colored columns, you can define
\end_layout
\begin_layout Standard
\series bold
\backslash
-renewcommand{
+newcolumntype{K}[1]{>{
\backslash
-fnum@figure}{Image~
+columncolor{#1}
\backslash
-thefigure}
+hspace{0pt}}c}
\end_layout
\begin_layout Standard
-where
-\series bold
-
-\backslash
-thefigure
-\series default
- inserts the figure number and
-\series bold
-
+The
\begin_inset Quotes eld
\end_inset
-~
-\series default
-
+c
\begin_inset Quotes erd
\end_inset
- creates a protected space.
+ at the end creates a column with a flexible width whose text is horizontally
+ centered.
+ You can now enter
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-If you are using a
\series bold
-KOMA-Script
-\series default
+K{color name}
+\end_layout
+
+\begin_layout Standard
+as \SpecialChar LaTeX
+-argument.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
\end_layout
+\begin_layout Standard
+To create Table
+\begin_inset space ~
\end_inset
- document class (
-\family sans
-article (KOMA-Script)
-\family default
-,
-\family sans
-book (KOMA-Script)
-\family default
-,
-\family sans
-letter (KOMA-Script)
-\family default
-, or
-\family sans
-report (KOMA-Script)
-\family default
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-using-user-defined"
-), you can alternatively to the
-\series bold
-caption
-\series default
- package use
-\series bold
-KOMA-Script
-\series default
-'s built-in command
-\series bold
+\end_inset
-\backslash
-setkomafont
-\series default
-.
- For example, to have the caption label in bold, add this command to your
- document preamble:
+ use the \SpecialChar LaTeX
+-arguments
\end_layout
\begin_layout Standard
\series bold
+M{2.5cm}
+\end_layout
-\backslash
-setkomafont{captionlabel}{
-\backslash
-bfseries}
+\begin_layout Standard
+for the first column and the multicolumn,
\end_layout
\begin_layout Standard
-For more information about
-\series bold
-\backslash
-setkomafont
-\series default
- we refer to the
\series bold
-KOMA-Script
-\series default
- documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "KOMA-Script"
-
-\end_inset
-
-.
+K{red}
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
-}
+for the last column, and
\end_layout
-\end_inset
-
-
-\begin_inset Note Note
-status open
+\begin_layout Standard
-\begin_layout Plain Layout
-The caption format is changed only for this example.
+\series bold
+S{2.5cm}{2}
\end_layout
-\end_inset
-
-
+\begin_layout Standard
+for the cells in the second column.
\end_layout
\begin_layout Standard
-\begin_inset Float figure
-placement !p
+\begin_inset Float table
+placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\align center
-\begin_inset Graphics
- filename clipart/mobius.eps
- lyxscale 50
- scale 50
- scaleBeforeRotation
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:This-is-an-fig"
+name "tab:Table-using-user-defined"
\end_inset
-This is an example figure caption that is longer than one line to show the
- different caption format.
- Here a self-defined caption format is used.
+Table using user-defined table formats
\end_layout
\end_inset
\end_layout
-\end_inset
-
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
+<column alignment="center" valignment="middle" special="S{2.5cm}{2}">
+<column alignment="center" valignment="middle">
+<column alignment="center" valignment="middle" special="K{red}">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+verylongtablecellword
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
+\begin_inset Text
\begin_layout Plain Layout
-
-
-\backslash
-captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
-on}
+multiple lines multicolumn
\end_layout
\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement !p
-wide false
-sideways false
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:This-is-an-tab"
+d
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-This is an example table caption that is longer than one line to show the
- different caption format.
- Here the standard caption format for tables in this document is used.
+\begin_layout Plain Layout
+e
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+f
\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="1" columns="5">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+g
\end_layout
\end_inset
</cell>
+</row>
+<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+h
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
+i
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-d
+j
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-e
+k
\end_layout
\end_inset
\end_layout
-\begin_layout Section
-Caption Placement
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Caption ! Placement
-\end_layout
+\begin_layout Subsection
+Line Thickness
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Line-Thickness"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Floats ! Caption Placement
-\end_layout
-
-\end_inset
-
+Table Customization
+\begin_inset IndexMacro subentry
+status open
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Caption-Placement"
+\begin_layout Plain Layout
+Line Thickness
+\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-The common caption placement rule is:
-\end_layout
+\end_inset
-\begin_layout Description
-Figure: Caption is set below the figure
-\end_layout
-\begin_layout Description
-Table: Caption is set above the table
\end_layout
\begin_layout Standard
-Having the caption above the table is unfortunately not supported in LaTeX's
- standard classes.
- That means if you are using the document classes
-\family sans
-article
-\family default
-,
-\family sans
-book
-\family default
-,
-\family sans
-letter
-\family default
-, or
-\family sans
-report
-\family default
- there will be no space between the caption and the table.
- To insert the necessary space, add the following option to the load command
- of the LaTeX-package
+The line thickness for all lines in a table can be adjusted with the length
+
\series bold
-caption
+
+\backslash
+arrayrulewidth
\series default
- in your document preamble
-\begin_inset Foot
-status collapsed
+.
+ To set for example a line thickness of 1.5
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Plain Layout
-See section
+pt, as in Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Caption-Formatting"
-
-\end_inset
-
- for more information of the package
-\series bold
-caption
-\series default
-.
-\end_layout
+reference "tab:Table-with-1.5"
\end_inset
-:
+, insert the command
\end_layout
\begin_layout Standard
\series bold
-tableposition=top
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1.5pt}
\end_layout
\begin_layout Standard
-If you are using a
+in \SpecialChar TeX
+ Code before the table or table float.
+ The changed thickness is valid for all subsequent tables.
+ To use the default value again, set
\series bold
-KOMA-Script
+
+\backslash
+arrayrulewidth
\series default
+ to 0.4
+\begin_inset space \thinspace{}
+\end_inset
-\begin_inset Index idx
+pt in \SpecialChar TeX
+ Code after the table or table float.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
+
+
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1.5pt}
\end_layout
\end_inset
- document class (
-\family sans
-article (KOMA-Script)
-\family default
-,
-\family sans
-book (KOMA-Script)
-\family default
-,
-\family sans
-letter (KOMA-Script)
-\family default
-, or
-\family sans
-report (KOMA-Script)
-\family default
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-1.5"
+
+\end_inset
+
+Table with 1.5
\begin_inset space \thinspace{}
\end_inset
-), you can alternatively to the
-\series bold
-caption
-\series default
- package set the document class option
-\series bold
-tablecaptionabove
-\series default
-.
+pt thick lines
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-It is also possible to set the caption beside a figure or table.
- To get this the LaTeX-package
-\series bold
-sidecap
-\series default
-\begin_inset Index idx
-status collapsed
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-LaTeX-packages ! sidecap
+sd
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
- has to be loaded in the document preamble with the line
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
+\end_layout
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\backslash
-usepackage[option]{sidecap}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-If you set no option, the caption is placed on the side of the outer page
- margin – to the right on odd pages, to the left on even pages.
- You can change the placement to inner margin with the option
-\series bold
-innercaption
-\series default
-.
- To force the placement always to the right or left, use the option
-\series bold
-rightcaption
-\series default
- or
-\series bold
-leftcaption
-\series default
-, respectively.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\backslash
-ifsidecap
\end_layout
\end_inset
-
-
-\begin_inset Note Note
-status open
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
-\series bold
-sidecap
-\series default
- is installed.
+sd
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-To place in LyX the caption of a float on the side, it is necessary to add
- these commands to the document preamble:
-\end_layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\begin_layout Standard
-\noindent
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
+sd
+\end_layout
-\backslash
-newcommand{
-\backslash
-TabBesBeg}{%
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\begin_inset Phantom HPhantom
-status open
-\begin_layout Plain Layout
+\end_layout
-\series bold
-\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
\backslash
-let
-\backslash
-MyTable
+setlength{
\backslash
-table
-\begin_inset Newline newline
+arrayrulewidth}{0.4pt}
+\end_layout
+
\end_inset
-\begin_inset Phantom HPhantom
-status open
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
-\series bold
+To set the line thickness to 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt only for horizontal lines, as in Table
\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-horizontal"
\end_inset
+, insert these commands in \SpecialChar TeX
+ Code before the table or table float:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
\backslash
let
\backslash
-MyEndtable
+myHline
\backslash
-endtable
+hline
\begin_inset Newline newline
\end_inset
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
+\backslash
+renewcommand{
+\backslash
+hline}
+\begin_inset Newline newline
\end_inset
-
-\end_layout
-
+ {
+\backslash
+noalign{
+\backslash
+global
+\backslash
+arrayrulewidth 1.5pt}
+\begin_inset Newline newline
\end_inset
-
+
+\backslash
+myHline
\backslash
-renewenvironment{table}{
+noalign{
\backslash
-begin{SCtable}}{
+global
\backslash
-end{SCtable}}}
+arrayrulewidth 0.4pt}}
+\end_layout
+
+\begin_layout Standard
+To return to the default line thickness, insert this command in \SpecialChar TeX
+ Code after
+ the table or table float:
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcommand{
+renewcommand{
\backslash
-TabBesEnd}{%
-\begin_inset Newline newline
-\end_inset
-
+hline}{
+\backslash
+myHline}
+\end_layout
-\begin_inset Phantom HPhantom
-status open
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-\begin_inset space ~
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
\backslash
let
\backslash
-table
+myHline
\backslash
-MyTable
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
+hline
+\end_layout
\begin_layout Plain Layout
-\series bold
-\begin_inset space ~
-\end_inset
-
+\backslash
+renewcommand{
+\backslash
+hline}
\end_layout
-\end_inset
-
+\begin_layout Plain Layout
+ {
\backslash
-let
+noalign{
\backslash
-endtable
+global
\backslash
-MyEndtable
+arrayrulewidth 1.5pt}
\end_layout
-\begin_layout Standard
-
-\series bold
+\begin_layout Plain Layout
+
\backslash
-newcommand{
+myHline
\backslash
-FigBesBeg}{%
-\begin_inset Newline newline
+noalign{
+\backslash
+global
+\backslash
+arrayrulewidth 0.4pt}}
+\end_layout
+
\end_inset
-\begin_inset Phantom HPhantom
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
status open
\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-horizontal"
-\series bold
-\begin_inset space ~
\end_inset
+Table with 1.5
+\begin_inset space \thinspace{}
+\end_inset
+pt thick horizontal lines
\end_layout
\end_inset
-\backslash
-let
-\backslash
-MyFigure
-\backslash
-figure
-\begin_inset Newline newline
-\end_inset
-
+\end_layout
-\begin_inset Phantom HPhantom
-status open
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+sd
+\end_layout
-\series bold
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\backslash
-let
-\backslash
-MyEndfigure
-\backslash
-endfigure
-\begin_inset Newline newline
-\end_inset
-
+\end_layout
-\begin_inset Phantom HPhantom
-status open
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\series bold
-\begin_inset space ~
-\end_inset
+\end_layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+sd
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\backslash
-renewenvironment{figure}{
-\backslash
-begin{SCfigure}}{
-\backslash
-end{SCfigure}}}
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-newcommand{
-\backslash
-FigBesEnd}{%
-\begin_inset Newline newline
\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\series bold
-\begin_inset space ~
+\end_layout
+
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+sd
+\end_layout
-\backslash
-let
-\backslash
-figure
-\backslash
-MyFigure
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+</lyxtabular>
+\end_inset
-\begin_inset Phantom HPhantom
-status open
-\begin_layout Plain Layout
+\end_layout
-\series bold
-\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
\backslash
-let
+renewcommand{
\backslash
-endfigure
+hline}{
\backslash
-MyEndfigure}
+myHline}
\end_layout
-\begin_layout Standard
-\noindent
-\begin_inset CommandInset line
-LatexCommand rule
-offset "0.5ex"
-width "100line%"
-height "1pt"
-
\end_inset
\end_layout
\begin_layout Standard
-The commands allow you to redefine the floats so that the caption is set
- on the side.
- For figure floats use the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-FigBesBeg
-\end_layout
+\begin_inset VSpace bigskip
+\end_inset
-\begin_layout Standard
-in TeX-Code before the float.
- After the float insert the command
-\end_layout
+To set the line thickness to 1.5
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Standard
+pt only for vertical lines, create the following column format in the document
+ preamble, according to the description in section
+\begin_inset space ~
+\end_inset
-\series bold
-\backslash
-FigBesEnd
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Customized-Format"
-\begin_layout Standard
-in TeX-Code to get back to the original float definition.
-\end_layout
+\end_inset
-\begin_layout Standard
-For table floats use the corresponding commands
+:
\end_layout
\begin_layout Standard
\series bold
\backslash
-TabBesBeg
-\series default
- and
-\series bold
-
+newcolumntype{V}{!{
\backslash
-TabBesEnd
+vrule width 1.5pt}}
\end_layout
\begin_layout Standard
-Figure
+For Table
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:cap-beside-fig"
-
-\end_inset
+reference "tab:Table-with-vertical"
- and Table
-\begin_inset space ~
\end_inset
+ the \SpecialChar LaTeX
+-argument
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:cap-beside-tab"
-
-\end_inset
+\begin_layout Standard
- are examples where the caption is set beside.
+\series bold
+VcV
\end_layout
\begin_layout Standard
-You can see in the examples that the caption text appears at the top of
- the floats for table floats and at the bottom for figure floats.
- To change this, you can use the command
+was used for the last column and
\end_layout
\begin_layout Standard
\series bold
+Vc
+\end_layout
-\backslash
-sidecaptionvpos{float type}{placement}
+\begin_layout Standard
+for the other columns.
\end_layout
\begin_layout Standard
-in the document preamble or in TeX-Code before the float.
- The float type is either
-\family sans
-figure
-\family default
- or
-\family sans
-table
-\family default
-, the placement can be
-\begin_inset Quotes eld
-\end_inset
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+\begin_layout Plain Layout
+\begin_inset Caption Standard
-\family sans
-t
-\family default
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-vertical"
-\begin_inset Quotes erd
\end_inset
- for top,
-\begin_inset Quotes eld
+Table with 1.5
+\begin_inset space \thinspace{}
\end_inset
+pt thick vertical lines
+\end_layout
-\family sans
-c
-\family default
-
-\begin_inset Quotes erd
\end_inset
- for center, or
-\begin_inset Quotes eld
-\end_inset
+\end_layout
-\family sans
-b
-\family default
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" special="Vc">
+<column alignment="center" valignment="top" special="Vc">
+<column alignment="center" valignment="top" special="VcV">
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+sd
+\end_layout
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
- for bottom.
- To have for example the caption of figure floats vertically centered, use
- the command
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
-\backslash
-sidecaptionvpos{figure}{c}
\end_layout
-\begin_layout Standard
-This was used for Figure
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "fig:cap-beside-fig-2"
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+sd
\end_layout
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-For more information about the package
-\series bold
-sidecap
-\series default
- we refer to its documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "sidecap"
+\begin_layout Plain Layout
+
+\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-.
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- The LaTeX-package
-\series bold
-hypcap
-\series default
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-LaTeX-packages ! hypcap
+sd
\end_layout
\end_inset
+</cell>
+</row>
+</lyxtabular>
-, described in section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Reference-Position"
+\end_layout
\end_inset
-, has no effect on floats with the caption set beside.
+
+\end_layout
+
+\begin_layout Subsection
+Dashed Lines
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Dashed Lines
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\backslash
-FigBesBeg
+ifarydshln
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float figure
-wide false
-sideways false
+\begin_inset Note Note
status open
\begin_layout Plain Layout
-\begin_inset Graphics
- filename clipart/escher-lsd.eps
- scale 75
- scaleBeforeRotation
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+arydshln
+\series default
+ is installed.
+\end_layout
\end_inset
\end_layout
+\begin_layout Standard
+\begin_inset Float table
+placement H
+alignment document
+wide false
+sideways false
+status open
+
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset Caption Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:cap-beside-fig"
+name "tab:Table-with-dashed"
\end_inset
-This is a caption beside a figure.
+Table with dashed lines
\end_layout
\end_inset
\end_layout
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top" special=":c">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\backslash
-TabBesBeg
+\begin_layout Plain Layout
+a
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+b
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:cap-beside-tab"
+c
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-This is a caption beside a table.
+\begin_layout Plain Layout
+d
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+e
\end_layout
-\begin_layout Plain Layout
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="5">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
+\end_inset
+</cell>
+</row>
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-a
+f
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+g
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-b
+h
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+i
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-c
+j
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\backslash
+hdashline
+\end_layout
+
+\end_inset
+
+k
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-d
+l
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+m
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-e
+n
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+o
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-f
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cdashline{4-5}
+\end_layout
+
+\end_inset
+
+p
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+q
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
\begin_inset Text
\begin_layout Plain Layout
-g
+r
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+s
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-h
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+t
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-i
+u
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+v
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-j
+w
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-
+x
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset ERT
+\SpecialChar LyX
+ does not natively support dashed lines, so you have to use \SpecialChar TeX
+ Code.
+ As a prerequisite the \SpecialChar LaTeX
+ package
+\series bold
+arydshln
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-TabBesEnd
+\begin_layout Plain Layout
+arydshln
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
-\begin_layout Plain Layout
+ must be loaded in the document preamble with the command
+\end_layout
+
+\begin_layout Standard
+\series bold
\backslash
-sidecaptionvpos{figure}{c}
+usepackage{arydshln}
\end_layout
+\begin_layout Standard
+To make a vertical line dashed, enter the colon
+\begin_inset Quotes eld
\end_inset
-
-\begin_inset Float figure
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Graphics
- filename clipart/escher-lsd.eps
- scale 75
- scaleBeforeRotation
-
+:
+\begin_inset Quotes erd
\end_inset
-
+ together with the character for the horizontal alignment as \SpecialChar LaTeX
+ argument in
+ the table cell dialog.
\end_layout
-\begin_layout Plain Layout
-\begin_inset Caption
+\begin_layout Standard
+For a horizontal dashed line add the command
+\end_layout
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:cap-beside-fig-2"
+\begin_layout Standard
-\end_inset
+\series bold
-This is a vertically centered caption beside a figure.
+\backslash
+hdashline
\end_layout
-\end_inset
-
+\begin_layout Standard
+in \SpecialChar TeX
+ Code as first element of the first cell in the table row.
+\end_layout
+\begin_layout Standard
+For dashed multicolumn lines use the command
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+\backslash
+cdashline{line number
+\series default
+}
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+in \SpecialChar TeX
+ Code as the first element of the first cell in the table row.
+ If you have for example a multicolumn spanning columns 2 to 4 and you want
+ to have a dashed line above, add the command
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+\series bold
\backslash
-FigBesEnd
+cdashline{2-4}
+\end_layout
+
+\begin_layout Standard
+as the first element of the first cell in the row of the multicolumn.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+Table
+\begin_inset space ~
+\end_inset
-\backslash
-else
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-dashed"
\end_inset
+ was created using
+\begin_inset Quotes eld
+\end_inset
-\begin_inset Note Note
-status open
-\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
\series bold
-sidecap
+:c
\series default
- is not installed:
-\end_layout
+\begin_inset Quotes erd
\end_inset
+ as \SpecialChar LaTeX
+ argument of the third column.
+ The \SpecialChar TeX
+ Code command
+\series bold
-\end_layout
+\backslash
+hdashline
+\series default
+ was inserted in the first cell of the third row and the \SpecialChar TeX
+ Code command
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
-You need to install the LaTeX-package
+
\series bold
-sidecap
+
+\backslash
+cdashline{4-5}
\series default
- to see the following part of this section in the output.
+ was inserted in the first cell of the fourth row.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_inset VSpace bigskip
+\end_inset
-\backslash
-fi
\end_layout
+\begin_layout Standard
+Tables with dashed lines can also be colored as shown by Table
+\begin_inset space ~
\end_inset
-\end_layout
-
-\begin_layout Section
-Listings of Floats
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Floats ! Float Lists
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Colored-table-with"
\end_inset
-
+.
\end_layout
\begin_layout Standard
-Similar to the table of contents where the sections of the document are
- listed, there are listings for all float types, like the figures of the
- documents.
- You can insert them via the
-\family sans
-Insert\SpecialChar \menuseparator
-List
-\begin_inset space ~
-\end_inset
+\begin_inset ERT
+status collapsed
-/
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-TOC
-\family default
- sub menus.
-\end_layout
-\begin_layout Standard
-The list entries are the float captions or its short title, the float number,
- and the page number where they appear in the document.
+\backslash
+setlength{
+\backslash
+arrayrulewidth}{1pt}
\end_layout
-\begin_layout Standard
-You can find the list of figures and tables at the end of this document.
-\end_layout
+\end_inset
-\begin_layout Chapter
-Notes
-\end_layout
-\begin_layout Section
-LyX Notes
-\begin_inset Index idx
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-Notes ! LyX Notes
+thicker lines for better visualization of the line color
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-Notes are inserted with the toolbar button
-\begin_inset Graphics
- filename ../images/note-insert.png
- scale 85
- scaleBeforeRotation
-
-\end_inset
-
- or the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Note
-\family default
-.
- There are three types of notes:
-\end_layout
+\begin_inset ERT
+status collapsed
-\begin_layout Description
-LyX
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-Note This note type is for internal notes that won't appear in the output.
- Its note-box looks like this:
-\begin_inset Newline newline
-\end_inset
+\backslash
+dashgapcolor{green}
+\end_layout
-\begin_inset Newline newline
\end_inset
-\begin_inset Graphics
- filename clipart/LyXNoteImageQt4.png
- display false
- scale 85
- scaleBeforeRotation
-
-\end_inset
-
-
\begin_inset Note Note
-status open
+status collapsed
\begin_layout Plain Layout
-This is text in a note box that doesn't appear in the output.
+color gaps between dashes green
\end_layout
\end_inset
\end_layout
-\begin_layout Description
-Comment This note also doesn't appear in the output but it appears as LaTeX-comm
-ent, when you export the document to LaTeX via the menu
-\family sans
-File\SpecialChar \menuseparator
-Export\SpecialChar \menuseparator
-LaTeX (pdflatex) / (plain)
-\family default
-.
- Its note-box looks like this:
-\begin_inset Newline newline
-\end_inset
-
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
-\begin_inset Graphics
- filename clipart/CommentNoteImageQt4.png
- display false
- scale 85
- scaleBeforeRotation
+\backslash
+let
+\backslash
+myHdashline
+\backslash
+hdashline
+\end_layout
-\end_inset
+\begin_layout Plain Layout
-
-\begin_inset Note Comment
-status open
-\begin_layout Plain Layout
-This is text in a note box that only appears as comment in LaTeX-files.
+\backslash
+renewcommand{
+\backslash
+hdashline}
\end_layout
-\end_inset
-
+\begin_layout Plain Layout
+ {
+\backslash
+arrayrulecolor{red}
+\backslash
+myHdashline
+\backslash
+arrayrulecolor{black}}
\end_layout
-\begin_layout Description
-Greyed
-\begin_inset space ~
-\end_inset
-
-Out This note will appear in the output as grey text.
- Its note-box looks like this:
-\begin_inset Newline newline
\end_inset
-\begin_inset Newline newline
-\end_inset
-
+\begin_inset Note Note
+status collapsed
-\begin_inset Graphics
- filename clipart/GreyedOutNoteImageQt4.png
- display false
- scale 85
- scaleBeforeRotation
+\begin_layout Plain Layout
+color horizontal, dashed lines red
+\end_layout
\end_inset
-\begin_inset Newline newline
-\end_inset
-
+\end_layout
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-renewenvironment{lyxgreyedout}
+let
+\backslash
+myCdashline
+\backslash
+cdashline
\end_layout
\begin_layout Plain Layout
-{
+
\backslash
-textcolor[gray]{0.8}
+renewcommand{
\backslash
-bgroup}{
+cdashline}[1]
+\end_layout
+
+\begin_layout Plain Layout
+
+ {
\backslash
-egroup}
+arrayrulecolor{yellow}
+\backslash
+myCdashline{#1}
+\backslash
+arrayrulecolor{black}}
\end_layout
\end_inset
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-This is text
-\begin_inset Foot
-status open
+\begin_inset Note Note
+status collapsed
\begin_layout Plain Layout
-This is an example footnote within a greyed out note.
+color partial horizontal, dashed lines yellow
\end_layout
\end_inset
- of a comment that appears in the output as grey text.
-\end_layout
-
-\end_inset
+\end_layout
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+\begin_inset Float table
+placement h
+alignment document
+wide false
+sideways false
+status open
\begin_layout Plain Layout
-
-
-\backslash
-renewenvironment{lyxgreyedout}
-\end_layout
+\begin_inset Caption Standard
\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Colored-table-with"
-{
-\backslash
-textcolor{blue}
-\backslash
-bgroup}{
-\backslash
-egroup}
+\end_inset
+
+Colored table with dashed lines
\end_layout
\end_inset
-\begin_inset Note Note
-status collapsed
+\end_layout
\begin_layout Plain Layout
-The greyed out note is here redefined to show it with the original LyX definitio
-n because greyed out notes are redefined in the preamble of this document,
- as described below, to have blue text.
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt" special=":c">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+b
+\end_layout
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+c
+\end_layout
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-As you can see in the example, the first line of greyed out notes is a bit
- indented and greyed out notes can have footnotes.
+\begin_layout Plain Layout
+d
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-When you use the toolbar button
-\begin_inset Graphics
- filename ../images/note-insert.png
- scale 85
- scaleBeforeRotation
-
-\end_inset
+\begin_layout Plain Layout
+e
+\end_layout
- to insert notes, a
-\family sans
-LyX
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-Note
-\family default
- is inserted.
- 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
-\family default
-\series default
-\bar default
- toolbar
-\family roman
-\series medium
-\bar no
-button
-\family default
-\series default
-\bar default
-.
- To change a note to text, press the backspace key when the cursor is in
- the first position of a note, or press the delete key when the cursor is
- in the very last position of the note, respectively.
+\begin_layout Plain Layout
+f
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
-You can change the text color of the greyed out notes in the preamble with
- the following command:
+\begin_layout Plain Layout
+g
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-renewenvironment{lyxgreyedout}
-\begin_inset Newline newline
\end_inset
-
-
-\begin_inset Phantom HPhantom
-status open
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+h
+\end_layout
-\series bold
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+i
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-{
-\backslash
-textcolor{color}
-\backslash
-bgroup}{
-\backslash
-egroup}
+\begin_layout Plain Layout
+j
\end_layout
-\begin_layout Standard
-The available colors and the method to define colors is explained in section
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Tables"
-
-\end_inset
+\begin_layout Plain Layout
-.
-\end_layout
-\begin_layout Standard
-Notes that appear in blue in this document are set using greyed out notes
- with blue text.
+\backslash
+hdashline
\end_layout
-\begin_layout Section
-Footnotes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Footnotes"
-
\end_inset
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Notes ! Footnotes
-\end_layout
-\end_inset
-
-
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-Footnotes
+\backslash
+rowcolor{Gray}
\end_layout
\end_inset
-
+k
\end_layout
-\begin_layout Standard
-Footnotes can be inserted using the toolbar button
-\begin_inset Graphics
- filename ../images/footnote-insert.png
- scale 85
- scaleBeforeRotation
-
\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
- or the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Footnote
-\family default
-.
-
-\family roman
-\series medium
-\bar no
-You'll see
-\family default
-\series default
-\bar default
- then the following footnote-box:
-\begin_inset Graphics
- filename clipart/footnoteQt4.png
- scale 80
- scaleBeforeRotation
+\begin_layout Plain Layout
+l
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-
-\family roman
-\series medium
-\bar no
-where you can enter the footnote text.
- If you want to turn existing text into a footnote, mark it and click on
- the footnote
-\family default
-\series default
-\bar default
- toolbar
-\family roman
-\series medium
-\bar no
-button
-\family default
-\series default
-\bar default
-.
- To change a
-\family roman
-\series medium
-\bar no
-footnote
-\family default
-\series default
-\bar default
- to text, press the Backspace key when the cursor is in the first position
- of a
-\family roman
-\series medium
-\bar no
-footnote
-\family default
-\series default
-\bar default
-, or press the Delete key when the cursor is in the very last position of
- the
-\family roman
-\series medium
-\bar no
-footnote
-\family default
-\series default
-\bar default
-, respectively.
+\begin_layout Plain Layout
+m
\end_layout
-\begin_layout Standard
-Here is an example footnote:
-\family roman
-\series medium
-\bar no
-
-\begin_inset Foot
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "foot:This-is-an"
+n
+\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-This is an example footnote.
+\begin_layout Plain Layout
+o
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\family default
-\series default
-\bar default
-
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-newcounter{MyRepeatFoot}
-\end_layout
-
-\begin_layout Plain Layout
-
-
-\backslash
-setcounter{MyRepeatFoot}{
-\backslash
-thefootnote}
+cdashline{4-5}
\end_layout
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-The footnote will appear in the output as a superscript number at the text
- position where the footnote box is placed.
- The footnote text is placed at the bottom of the current page.
- The footnote number is calculated by LaTeX; the numbers are consecutive.
- It depends on your document-class, whether the footnote number is reset
- for every chapter.
+p
\end_layout
-\begin_layout Standard
-Footnotes can be referenced like floats: Insert a label into the footnote
- and cross-reference this label in the text as described in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Referencing-Floats"
-
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-.
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
+q
+\end_layout
-This is a cross-reference of Footnote
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
+\begin_inset Text
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "foot:This-is-an"
+\begin_layout Plain Layout
+r
+\end_layout
\end_inset
+</cell>
+<cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+s
\end_layout
-\begin_layout Standard
-\begin_inset VSpace defskip
\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-Footnotes in tables are not printed by LaTeX due to technical reasons.
- However there exists another method to print them: Instead of the footnote
- the command
-\series bold
+\begin_layout Plain Layout
-\backslash
-footnotemark{}
-\series default
- is inserted as TeX-code.
- The text of the footnote is entered as an argument of the TeX-code command
-
-\series bold
+\end_layout
-\backslash
-footnotetext
-\series default
- after the table.
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-This was done for the following table with the command
+\begin_layout Plain Layout
+t
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-\backslash
-footnotetext{
-\series default
-Printed table footnote.
-\series bold
-}
+\begin_layout Plain Layout
+u
\end_layout
-\begin_layout Standard
-\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="1">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-This an example text.
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-This footnote will not be printed!
+v
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+w
\end_layout
\end_inset
</cell>
-</row>
-<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-This an example text.
\begin_inset ERT
status collapsed
\backslash
-footnotemark{}
+cellcolor{Maroon}
\end_layout
\end_inset
-
+i
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\end_layout
-\begin_layout Plain Layout
+\end_inset
-\backslash
-footnotetext{
\end_layout
-\end_inset
-
-Printed table footnote.
+\begin_layout Standard
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+
+\backslash
+renewcommand{
+\backslash
+hdashline}{
+\backslash
+myHdashline}
\end_layout
\end_inset
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+reset to default
\end_layout
-\begin_layout Standard
-Footnotes in longtables are described in section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Footnotes-in-Longtables"
-
-\end_inset
-
-.
\end_layout
\begin_layout Standard
-Footnotes in minipage boxes are printed, but inside the box and with a different
- numbering because a minipage box is like a page inside a page.
- (For more about minipages, see section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
-.) To get a footnote in the minipage that is output at the bottom of the
- page like normal footnotes, also use the method of
-\series bold
\backslash
-footnotemark{}
-\series default
- and
-\series bold
-
+renewcommand{
\backslash
-footnotetext
-\series default
-.
+cdashline}{
+\backslash
+myCdashline}
\end_layout
-\begin_layout Standard
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
+\end_inset
-\begin_layout Plain Layout
-This an example text in a minipage.
-\begin_inset Foot
-status open
+
+\begin_inset Note Note
+status collapsed
\begin_layout Plain Layout
-Footnote in the minipage.
+reset to default
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-This an example text in a minipage.
+\begin_layout Standard
\begin_inset ERT
status collapsed
\backslash
-footnotemark{}
+nodashgapcolor
\end_layout
\end_inset
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+reset to default
\end_layout
\end_inset
\backslash
-footnotetext{
+setlength{
+\backslash
+arrayrulewidth}{0.4pt}
\end_layout
\end_inset
-Footnote outside the minipage.
-\begin_inset ERT
+
+\begin_inset Note Note
status collapsed
\begin_layout Plain Layout
-
-}
+reset to default
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace defskip
+The coloring of lines, columns and lines works as decribed in section
+\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
-\begin_layout Standard
-To refer to the same footnote several times without printing the footnote
- text every time, use the command
+\end_inset
+
+.
+ Coloring horizontal lines works analogically as described there as well,
+ one only needs to replace in the commands
\series bold
\backslash
-footnotemark[number]
+myHlineC
\series default
- in TeX-code.
-\begin_inset Newline newline
-\end_inset
-
-As you do not know the number of the repeating footnote while you are writing
- the text, you have to store its number.
- For the following footnote mark example, these commands were inserted in
- TeX-code after Footnote
-\begin_inset space ~
-\end_inset
-
+ by
+\series bold
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "foot:This-is-an"
+\backslash
+myHdashline
+\series default
+ and
+\backslash
-\end_inset
+\series bold
+hline
+\series default
+ by
+\series bold
- to store the footnote number:
+\backslash
+hdashline
+\series default
+; so one uses the command
\end_layout
\begin_layout Standard
\series bold
\backslash
-newcounter{MyRepeatFoot}
+let
+\backslash
+myHdashline
+\backslash
+hdashline
\begin_inset Newline newline
\end_inset
\backslash
-setcounter{MyRepeatFoot}{
+renewcommand{
\backslash
-thefootnote}
-\end_layout
-
-\begin_layout Standard
-The footnote mark was then created with this command:
-\end_layout
+hdashline}
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
-\series bold
-
-\backslash
-footnotemark[
-\backslash
-theMyRepeatFoot]
-\end_layout
-
-\begin_layout Standard
-Here is a repeated footnote:
-\family roman
-\series medium
-\bar no
-
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
-\backslash
-footnotemark[
-\backslash
-theMyRepeatFoot]
\end_layout
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-If you want to repeat the previous footnote, you can omit the storage of
- the footnote number and just use this command instead:
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myHdashline
+\backslash
+arrayrulecolor{black}}
\end_layout
\begin_layout Standard
-
+To color
\series bold
\backslash
-footnotemark[
-\backslash
-thefootnote]
+cdashline
+\series default
+, the command is
\end_layout
\begin_layout Standard
-Here is another repeated footnote:
-\family roman
-\series medium
-\bar no
-\begin_inset ERT
-status collapsed
+\series bold
-\begin_layout Plain Layout
+\backslash
+let
+\backslash
+myCdashline
+\backslash
+cdashline
+\begin_inset Newline newline
+\end_inset
\backslash
-footnotemark[
+renewcommand{
\backslash
-thefootnote]
-\end_layout
-
+cdashline}[1]
+\begin_inset Newline newline
\end_inset
-\end_layout
-
-\begin_layout Subsection
-Footnote Numbering
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Footnote-Numbering"
+\begin_inset Phantom HPhantom
+status open
+\begin_layout Plain Layout
+\begin_inset space ~
\end_inset
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Footnotes ! Numbering
\end_layout
\end_inset
-
+{
+\backslash
+arrayrulecolor{red}
+\backslash
+myCdashline{#1}
+\backslash
+arrayrulecolor{black}}
\end_layout
\begin_layout Standard
-To reset the footnote number back to 1 after each section
-\family roman
-, add this command to your document preamble:
+To get back the black line color, one needs to insert the following commands
+ as \SpecialChar TeX
+ Code behind the table:
\end_layout
\begin_layout Standard
-
+For
\series bold
\backslash
-@addtoreset{footnote}{section}
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-The following preamble command changes the footnote numbering style to small
- roman numerals:
+hdashline
\end_layout
\begin_layout Standard
\backslash
renewcommand{
\backslash
-thefootnote}{
+hdashline}{
\backslash
-roman{footnote}}
+myHdashline}
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+and for
+\series bold
-\begin_layout Plain Layout
+\backslash
+cdashline
+\end_layout
+
+\begin_layout Standard
+\series bold
\backslash
renewcommand{
\backslash
-thefootnote}{
+cdashline}{
\backslash
-roman{footnote}}
-\end_layout
-
-\end_inset
-
- This is a footnote with roman numbering:
-\begin_inset Foot
-status open
-
-\begin_layout Plain Layout
-This is an example footnote with roman numbering.
+myCdashline}
\end_layout
-\end_inset
-
-
+\begin_layout Standard
+To color the gaps between the dashes the command
\end_layout
\begin_layout Standard
-To change the numbering style to capital roman numerals replace in the command
- above
-\series bold
-\backslash
-roman
-\series default
- by
\series bold
\backslash
-Roman
-\series default
-.
- To
-\begin_inset Quotes eld
-\end_inset
+dashgapcolor{color}
+\end_layout
-number
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Standard
+can be used in front of a table as \SpecialChar TeX
+ Code.
+ color is hereby the name of a defined color.
+ The command
+\end_layout
- footnotes with capital or small Latin letters use
-\series bold
+\begin_layout Standard
-\backslash
-Alph
-\series default
- or
\series bold
\backslash
-alph
-\series default
-, respectively.
- To
-\begin_inset Quotes eld
-\end_inset
-
-number
-\begin_inset Quotes erd
-\end_inset
+nodashgapcolor
+\end_layout
- footnotes with symbols use
+\begin_layout Standard
+unsets the changes made by
\series bold
\backslash
-fnsymbol
+dashgapcolor
\series default
.
\end_layout
\begin_layout Plain Layout
\series bold
-Note:
+\color none
+Note
\series default
- You can only number 26 footnotes with Latin letters, because this numbering
- is limited to single letters.
-\end_layout
-
+: If there are multiple commands in a cell, the command of
+\series bold
+arydshln
+\series default
+ needs to be the first one in the cell.
+ Therefore in cell
+\emph on
+k
+\emph default
+ of Table
+\begin_inset space ~
\end_inset
-\begin_inset Newline newline
-\end_inset
-
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Colored-table-with"
-\begin_inset Note Greyedout
-status open
+\end_inset
-\begin_layout Plain Layout
+ the command
+\series bold
+\backslash
+hdashline
+\series default
+ is before
\series bold
-Note:
+
+\backslash
+rowcolor
\series default
- You can only number 9 footnotes with symbols.
+.
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-To return to the default numbering style after you have changed to another
- one, use
-\series bold
+\begin_inset Note Greyedout
+status open
-\backslash
-arabic
+\begin_layout Plain Layout
+
+\series bold
+\color none
+Note:
\series default
- instead of
+ The \SpecialChar LaTeX
+-package
\series bold
-
-\backslash
-roman
+arydshln
\series default
- in the command above.
-\begin_inset ERT
+ must be loaded in the document preamble before the \SpecialChar LaTeX
+-package
+\series bold
+colortbl
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-renewcommand{
-\backslash
-thefootnote}{
-\backslash
-arabic{footnote}}
+\begin_layout Plain Layout
+colortbl
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\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
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\series bold
\backslash
-numberwithin{footnote}{chapter}
+else
\end_layout
-\begin_layout Standard
-To be able to use the command
-\series bold
+\end_inset
-\backslash
-numberwithin
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+arydshln
\series default
-, set in the tab
-\family sans
-Math
-\begin_inset space ~
-\end_inset
+ is not installed:
+\end_layout
-Options
-\family default
- in the document settings the option
-\family sans
-Use
-\begin_inset space ~
\end_inset
-AMS
-\begin_inset space ~
-\end_inset
-math
-\begin_inset space ~
-\end_inset
+\end_layout
-package
-\family default
-.
+\begin_layout Standard
+You need to install the package
+\series bold
+arydshln
+\series default
+ to see the content of this section in the output.
\end_layout
\begin_layout Standard
\backslash
-numberwithin{footnote}{chapter}
+fi
\end_layout
\end_inset
-This is another example footnote:
-\series bold
-\begin_inset Foot
-status open
+\end_layout
-\begin_layout Plain Layout
-This is a footnote numbered in the scheme
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Standard
+For more information about dashed lines see the documentation of
+\series bold
+arydshln
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "arydshln"
+literal "true"
-chapter.footnote
-\begin_inset Quotes erd
\end_inset
.
\end_layout
-\end_inset
+\begin_layout Chapter
+Floats
+\begin_inset CommandInset label
+LatexCommand label
+name "chap:Floats"
+\end_inset
-\series default
-\begin_inset ERT
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+Floats
+\end_layout
+
+\end_inset
-\backslash
-renewcommand{
-\backslash
-thefootnote}{
-\backslash
-arabic{footnote}}
\end_layout
+\begin_layout Section
+Introduction
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:FloatIntroduction"
+
\end_inset
-\end_layout
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
-\begin_layout Standard
-\begin_inset Note Greyedout
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
status open
\begin_layout Plain Layout
+Introduction
+\end_layout
+
+\end_inset
-\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
+A float is a block of text associated with some sort of label, which doesn't
+ have a fixed location.
+ It can
\begin_inset Quotes eld
\end_inset
-chapter.
-\backslash
-Roman{footnote}
+float
\begin_inset Quotes erd
\end_inset
-, use this command instead of
-\series bold
+ forward or backward a page or two, to wherever it fits best.
+
+\family sans
+Footnotes
+\family default
+ and
+\family sans
+Margin
+\begin_inset space ~
+\end_inset
-\backslash
-numberwithin
-\series default
-:
+Notes
+\family default
+ are also floats because they can float to the next page when there are
+ too many notes on the page.
\end_layout
\begin_layout Standard
+Floats allow a high quality layout.
+ Images and tables can be spread evenly among the pages to avoid white space
+ and pages without text.
+ As the floating often destroys the context between the text and the image/table
+, every float can be referenced in the text.
+ Floats are therefore numbered.
+ Referencing is described in section
+\begin_inset space ~
+\end_inset
-\series bold
-
-\backslash
-renewcommand{
-\backslash
-thefootnote}{
-\backslash
-thechapter.
-\backslash
-Roman{footnote}}
-\end_layout
-
-\begin_layout Subsection
-Footnote Placement
-\begin_inset Index idx
-status collapsed
-\begin_layout Plain Layout
-Footnotes ! Placement
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Referencing-Floats"
\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 more readable you can e.
-\begin_inset space \thinspace{}
+To insert a float, use the menu
+\family sans
+Insert\SpecialChar menuseparator
+Float
+\family default
+ (toolbar button
+\begin_inset Info
+type "icon"
+arg "float-insert figure"
\end_inset
-g.
-\begin_inset space \space{}
+ or
+\begin_inset Info
+type "icon"
+arg "float-insert table"
\end_inset
-add 1.5
-\begin_inset space \thinspace{}
+).
+ This inserts the
+\family sans
+Caption
+\family default
+ inset, a box with a label.
+ The label will automatically be translated to the document language in
+ the output.
+ After the label you can insert the caption text.
+ The image or table is inserted above or below the caption in a separate
+ paragraph within the float.
+ More about the caption placement is contained in section
+\begin_inset space ~
\end_inset
-mm space with the following preamble command:
-\end_layout
-\begin_layout Standard
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Caption-Placement"
-\series bold
+\end_inset
+
+.
+ To keep your \SpecialChar LyX
+ document readable, you can open and close the float box by
+ left-clicking on the box label.
+ A closed float box looks like this:
+\begin_inset Graphics
+ filename clipart/float.png
+ scale 95
+ scaleBeforeRotation
-\backslash
-let
-\backslash
-myFoot
-\backslash
-footnote
-\begin_inset Newline newline
\end_inset
+ – a gray button with a red label.
+\end_layout
-\backslash
-renewcommand{
-\backslash
-footnote}[1]{
-\backslash
-myFoot{#1
-\backslash
-vspace{1.5mm}}}
+\begin_layout Standard
+It is recommended that you insert floats as separate standard paragraphs
+ to avoid possible \SpecialChar LaTeX
+-errors that can occur when the surrounding text is specially
+ formatted.
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+Existing figures or tables can be put into a float by highlighting them
+ and then pressing the corresponding toolbar button for a new float.
+\end_layout
-In a two-column document the footnotes appear at the bottom of every column,
- see Figure
+\begin_layout Section
+Float Types
+\end_layout
+
+\begin_layout Standard
+Besides figure and table floats that are described in sections
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Standard-footnote-placement"
+reference "sec:Figure-Floats"
+
+\end_inset
+
+ and
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Table-Floats"
\end_inset
+ respectively, \SpecialChar LyX
+ offers the float types
+\family sans
+Algorithm
+\family default
+ and
+\family sans
+Wrap
+\family default
.
- If the footnotes should only appear at the bottom of the right column,
- as in Figure
-\begin_inset space ~
+ The latter are explained in sec.
+\begin_inset space \thinspace{}
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Footnote-placement-in"
+reference "sec:Wrap-Floats"
\end_inset
-, use the LaTeX-package
-\series bold
-ftnright
-\series default
+.
+\end_layout
+\begin_layout Subsection
+Algorithm Floats
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! ftnright
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Algorithms
\end_layout
\end_inset
- with this command in the document preamble:
+
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-usepackage{ftnright}
\end_layout
\begin_layout Standard
-\begin_inset Float figure
-placement !h
+\begin_inset Float algorithm
+placement h
+alignment document
wide false
sideways false
status open
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
+\begin_inset Caption Standard
\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "alg:Example-Algorithm-float"
+\end_inset
-\backslash
-framebox{
+Example Algorithm float
\end_layout
\end_inset
-\begin_inset Graphics
- filename clipart/without_fntright.pdf
- width 100col%
- scaleBeforeRotation
+\end_layout
+\begin_layout LyX-Code
+for I in 1..N loop
+\begin_inset Newline newline
\end_inset
+ Sum := Sum + A(I); /* comment */
+\begin_inset Newline newline
+\end_inset
-\begin_inset ERT
-status collapsed
+end loop
+\begin_inset VSpace -4mm
+\end_inset
-\begin_layout Plain Layout
-}
\end_layout
\end_inset
\end_layout
-\begin_layout Plain Layout
-\begin_inset Caption
+\begin_layout Standard
+This float type is inserted with the menu
+\family sans
+Insert\SpecialChar menuseparator
+Float\SpecialChar menuseparator
+Algorithm
+\family default
+.
+ It is used for program codes and descriptions of algorithms and can be
+ seen as an alternative to program code listings that are explained in chapter
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:Standard-footnote-placement"
-\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:Program-Code-Listings"
-Standard footnote placement in two-column documents.
-\end_layout
+\end_inset
+.
+ A possible environment for algorithms is the
+\family sans
+\SpecialChar LyX
+ Code
+\family default
+, described in \SpecialChar LyX
+'s
+\emph on
+Userguide
+\emph default
+.
+ Algorithm
+\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "alg:Example-Algorithm-float"
\end_inset
+ is an example of an algorithm float where -4
+\begin_inset space \thinspace{}
+\end_inset
+mm vertical space was added at the end of the float to have the bottom rule
+ exactly below the last text line.
\end_layout
\begin_layout Standard
-\begin_inset Float figure
-placement !h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-framebox{
+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 to the document preamble
+\series bold
+:
\end_layout
-\end_inset
-
+\begin_layout Standard
-\begin_inset Graphics
- filename clipart/with_fntright.pdf
- width 100col%
- scaleBeforeRotation
+\series bold
+\backslash
+floatname{algorithm}{your
+\begin_inset space ~
\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+name}
\end_layout
+\begin_layout Standard
+where
+\family sans
+your
+\begin_inset space ~
\end_inset
+name
+\family default
+ is the word
+\begin_inset Quotes eld
+\end_inset
-\end_layout
-
-\begin_layout Plain Layout
-\begin_inset Caption
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:Footnote-placement-in"
+\emph on
+algorithm
+\emph default
+\begin_inset Quotes erd
\end_inset
-Footnote placement in two-column documents when the LaTeX-package
-\series bold
-ftnright
-\series default
- is used.
+ in your language.
\end_layout
+\begin_layout Standard
+To insert the list of algorithms you can use the menu
+\family sans
+Insert\SpecialChar menuseparator
+List
+\begin_inset space \thinspace{}
\end_inset
-
-\end_layout
-
+/
+\begin_inset space \thinspace{}
\end_inset
-
+TOC\SpecialChar menuseparator
+List of Algorithms
+\family default
+ when your document has the same language as \SpecialChar LyX
+'s menu names.
+ In other cases use this command in \SpecialChar TeX
+ Code instead:
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-In some scientific literature it is usual to collect the footnotes and print
- them in a separate paragraph at the end of a section, as in Figure
+\series bold
+
+\backslash
+listof{algorithm}{your
\begin_inset space ~
\end_inset
+name}
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "fig:Endnotes"
-
+\begin_layout Standard
+where
+\family sans
+your
+\begin_inset space ~
\end_inset
-.
- They are then called
+name
+\family default
+ is the word
\begin_inset Quotes eld
\end_inset
-endnotes
+
+\emph on
+List of Algorithm
+\emph default
+s
\begin_inset Quotes erd
\end_inset
-.
-\begin_inset Index idx
-status collapsed
-
-\begin_layout Plain Layout
-Endnotes
+ in your language.
\end_layout
+\begin_layout Standard
+Algorithm floats are not by default numbered in the scheme
+\begin_inset Quotes eld
\end_inset
- To use endnotes instead of footnotes in your document, load in the menu
-
-\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-Modules
-\family default
-the module
-\family sans
-Foot
-\begin_inset space ~
-\end_inset
-
-to
-\begin_inset space ~
+chapter.algorithm
+\begin_inset Quotes erd
\end_inset
-End
-\family default
-.
- To insert the collected footnotes, insert the command
+ as is the case for table and figure floats in many document-classes.
+ To number algorithm floats in the same scheme, add this command to your
+ document preamble:
\end_layout
\begin_layout Standard
\series bold
\backslash
-theendnotes
-\end_layout
-
-\begin_layout Standard
-in TeX-Code at the end of a section or chapter.
+numberwithin{algorithm}{chapter}
\end_layout
\begin_layout Standard
-\begin_inset Float figure
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\align center
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+To be able to use the command
+\series bold
\backslash
-framebox{
-\end_layout
-
+numberwithin
+\series default
+, set in the tab
+\family sans
+Math
+\begin_inset space ~
\end_inset
-
-\begin_inset Graphics
- filename clipart/endnotes.pdf
- scaleBeforeRotation
-
+Options
+\family default
+ in the document settings the option
+\family sans
+Use
+\begin_inset space ~
\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
+AMS
+\begin_inset space ~
\end_inset
+math
+\begin_inset space ~
+\end_inset
+package
+\family default
+.
\end_layout
-\begin_layout Plain Layout
-\begin_inset Caption
+\begin_layout Section
+Float Numbering
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "fig:Endnotes"
-
-\end_inset
+Floats
+\begin_inset IndexMacro subentry
+status open
-Endnotes – footnotes are printed in a separate paragraph at the end of sections
- or chapters.
+\begin_layout Plain Layout
+Numbering
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
-
-The paragraph heading for the endnotes isn't automatically translated into
- the document language, this must be done manually.
- The following preamble command translates the default English
+Floats are usually numbered either independently from the sections the floats
+ are in, or in the scheme
\begin_inset Quotes eld
\end_inset
-Notes
+chapter.number
\begin_inset Quotes erd
\end_inset
- into the German
+ or
\begin_inset Quotes eld
\end_inset
-Anmerkungen
+section.number
\begin_inset Quotes erd
\end_inset
-:
+.
+ This depends on the document class used.
+\end_layout
+
+\begin_layout Standard
+To change section-independent numbering, you can use this command in the
+ document preamble:
\end_layout
\begin_layout Standard
\backslash
renewcommand{
\backslash
-notesname}{Anmerkungen}
+thetable}{
+\backslash
+roman{table}}
\end_layout
\begin_layout Standard
-\begin_inset VSpace medskip
-\end_inset
-
-The numbering of endnotes can be changed like the footnote numbering as
- described in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Footnote-Numbering"
-
-\end_inset
-; just replace the command
\series bold
\backslash
-thefootnote
+thetable
\series default
- by
+ is the command that prints the table number.
+ For figure floats, the command would be
\series bold
\backslash
-theendnote
+thefigure
\series default
.
- To reset the endnote number use the command
+
\series bold
\backslash
-@addtoreset
+roman
\series default
- as described in section
-\begin_inset space ~
-\end_inset
-
+ in the command above prints the table number as a small roman number.
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Footnote-Numbering"
+\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
- and replace the command parameter
-\series bold
-footnote
-\series default
- by
-\series bold
-endnote
-\series default
-.
+, use this command in the preamble:
\end_layout
\begin_layout Standard
-For endnotes there is the command
+
\series bold
\backslash
-endnotemark[number]
-\series default
- similar to the command
+numberwithin{table}{subsection}
+\end_layout
+
+\begin_layout Standard
+To be able to use the command
\series bold
\backslash
-footnotemark
+numberwithin
\series default
-, that is described in section
+, set in the tab
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ in the document settings the option
+\family sans
+Use
+\begin_inset space ~
+\end_inset
+
+AMS
+\begin_inset space ~
+\end_inset
+
+math
+\begin_inset space ~
+\end_inset
+
+package
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+Please also have a look at section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Footnotes"
+reference "subsec:Footnote-Numbering"
\end_inset
-.
+ for the details and important notes about the numbering commands.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_layout Section
+Referencing Floats
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Referencing-Floats"
+
\end_inset
-Footnotes can also be placed in the page margin and the footnote text alignment
- can be changed, see the LaTeX-package
-\series bold
-footmisc
-\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! footmisc
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+References
\end_layout
\end_inset
-,
-\begin_inset CommandInset citation
-LatexCommand cite
-key "footmisc"
-
-\end_inset
- for more information about this.
\end_layout
-\begin_layout Standard
-For various further footnote formatting issues have a look at LaTeX-books,
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "latexcompanion,latexguide,latexbook"
-
\end_inset
-.
-\end_layout
-\begin_layout Section
-Margin Notes
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Notes ! Margin Notes
+References
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Floats
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-Margin notes look and behave in LyX like footnotes.
- They are inserted via the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Marginal
-\begin_inset space ~
\end_inset
-Note
+
+\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 Info
+type "icon"
+arg "label-insert"
+\end_inset
+
+.
+ A grey label box like this one:
\begin_inset Graphics
- filename ../images/marginalnote-insert.png
- scale 85
+ filename clipart/label.png
scaleBeforeRotation
\end_inset
-.
- A grey
-\family roman
-\series medium
-box with the
-\family default
-\series default
- red
-\family roman
-\series medium
-label
-\begin_inset Quotes eld
+ will be inserted and the label window pops up asking for the label text.
+ \SpecialChar LyX
+ offers as text the first words of the caption with a prefix.
+ The prefix depends on the float type, e.
+\begin_inset space \thinspace{}
\end_inset
-margin
-\begin_inset Quotes erd
+g.
+\begin_inset space \space{}
\end_inset
- appears where you can enter the text of the margin note.
+for figure floats the prefix will be "
+\family sans
+fig:
+\family default
+".
\end_layout
\begin_layout Standard
-At the side is an example margin note.
-
-\family roman
-\series medium
-
-\begin_inset Marginal
-status open
+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
+ or the toolbar button
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset ref"
+\end_inset
-\begin_layout Plain Layout
-This is a margin note.
-\end_layout
+.
+ The cross-reference window appears showing all labels of the document.
+ If you have multiple \SpecialChar LyX
+ documents opened, choose the one you are working
+ on from the drop-list at the top of the dialog.
+ You can now sort the labels alphabetically and then choose one.
+ A grey cross-reference box like this one:
+\begin_inset Graphics
+ filename clipart/reference.png
+ scaleBeforeRotation
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-Margin notes appear at the right side in single-sided documents.
- In double-sided documents they appear in the outer margin – left on even
- pages, right on odd pages.
- The text of margin notes is aligned opposite to the outer margin – right-aligne
-d when the note appears in the left margin.
- The first line of the margin note is placed at the position of the text
- line where it is inserted in the document.
+ will be inserted.
+ At the position of the cross-reference box the float number will appear
+ in the output.
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-To place the margin note in the inner margin, add the command
+It is recommended that you use a
+\change_deleted 177693 1654669168
+protected
+\change_inserted 177693 1654669170
+non-breaking
+\change_unchanged
+ space between the cross-reference name and its number to avoid line breaks
+ between them.
+ If a cross-reference refers to a non-existing label, you will see two question
+ marks in the output instead of the reference.
\end_layout
\begin_layout Standard
-
-\series bold
-
-\backslash
-reversemarginpar
+You can change labels at any time by clicking on the label box.
+ References to the changed label will automatically update their links to
+ the new label text.
\end_layout
\begin_layout Standard
-in TeX-Code before a margin note.
- The new placement is valid for all subsequent margin notes.
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-reversemarginpar
-\end_layout
-
+The button
+\family sans
+Go
+\begin_inset space ~
\end_inset
+to
+\begin_inset space ~
+\end_inset
-\begin_inset Marginal
-status open
-
-\begin_layout Plain Layout
-This is a margin note in the inner margin.
-\end_layout
-
+Label
+\family default
+ in the cross-reference window sets the cursor before the referred label.
+ The button text changes then to Go
+\begin_inset space ~
\end_inset
+Back and you can use it to set the cursor back to the cross-reference.
+\end_layout
-\series bold
+\begin_layout Subsection
+Cross-Reference Formats
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Cross-Reference-Formats"
-\begin_inset Newline newline
\end_inset
-\series default
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
-\begin_inset Note Greyedout
+\begin_layout Plain Layout
+References
+\begin_inset IndexMacro subentry
status open
\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- There is often not enough space in the inner margin so that the notes are
- not correctly displayed in the output.
+Formats
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-To return to the default placement insert the command
-\end_layout
-
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-normalmarginpar
\end_layout
\begin_layout Standard
-in TeX-Code.
-\begin_inset ERT
-status collapsed
+There are six varieties of cross-references:
+\end_layout
-\begin_layout Plain Layout
+\begin_layout Description
+<reference>: prints the float number, this is the default:
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Two-distorted-images"
+
+\end_inset
-\backslash
-normalmarginpar
\end_layout
+\begin_layout Description
+(<reference>): prints the float number within two parentheses, this is the
+ style normally used to reference formulas, especially when the reference
+ name
+\begin_inset Quotes eld
\end_inset
-
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- The command is ignored when it is within a paragraph where also the command
-
-\series bold
+Equation
+\begin_inset Quotes erd
+\end_inset
-\backslash
-reversemarginpar
-\series default
- is inserted.
-\end_layout
+ is omitted:
+\begin_inset CommandInset ref
+LatexCommand eqref
+reference "eq:Wgn"
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_layout Description
+<page>: prints the page number: Page
+\begin_inset space ~
\end_inset
-\family roman
-\series medium
+\begin_inset CommandInset ref
+LatexCommand pageref
+reference "fig:Two-distorted-images"
+
+\end_inset
-\begin_inset Marginal
-status open
-\begin_layout Plain Layout
-AVeryLongMarginParWord that isn't hyphenated.
\end_layout
+\begin_layout Description
+on
+\begin_inset space ~
\end_inset
-
-\family default
-\series default
- Similar to the case described in section
+page
\begin_inset space ~
\end_inset
-
+<page>: prints the text "on page" and the page number:
\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Multiple-Lines-in"
+LatexCommand vpageref
+reference "fig:Two-distorted-images"
\end_inset
-, long words cannot be hyphenated when they are the first word in a margin
- note.
- To avoid this, insert 0
-\begin_inset space \thinspace{}
+
+\end_layout
+
+\begin_layout Description
+<reference>
+\begin_inset space ~
\end_inset
-pt horizontal space before the word
-\family roman
-\series medium
-.
-
-\begin_inset Marginal
-status open
+on
+\begin_inset space ~
+\end_inset
-\begin_layout Plain Layout
-\begin_inset space \hspace*{}
-\length 0pt
+page
+\begin_inset space ~
\end_inset
-AVeryLongMarginParWord that is hyphenated.
-\end_layout
+<page>: prints the float number, the text "on page", and the page number:
+
+\begin_inset CommandInset ref
+LatexCommand vref
+reference "fig:Two-distorted-images"
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_layout Description
+Formatted
+\begin_inset space ~
\end_inset
+reference: prints a self-defined cross-reference format.
+\begin_inset Newline newline
+\end_inset
-\end_layout
-\begin_layout Standard
\begin_inset Note Greyedout
status open
\series bold
Note:
\series default
- Margin notes can normally not be used inside tables, floats, and footnotes.
-\end_layout
+ This feature is only available when you have the \SpecialChar LaTeX
+-package
+\series bold
+prettyref
+\series default
+ or
+\series bold
+refstyle
+\series default
-\end_inset
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+\begin_layout Plain Layout
+prettyref
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset ERT
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-ifmarginnote
+\begin_layout Plain Layout
+refstyle
\end_layout
\end_inset
-\begin_inset Note Note
-status open
+\end_layout
-\begin_layout Plain Layout
-The following section will only be displayed when the LaTeX-package
-\series bold
-marginnote
-\series default
- is installed.
+\end_inset
+
+ installed.
\end_layout
\end_inset
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
-This restriction can be evaded by using the LaTeX-package
+You can select which \SpecialChar LaTeX
+-package should be used for this feature by setting
+ the option
+\family sans
+Use refstyle (not prettyref) for cross-references
+\family default
+ in the menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Document Class
+\family default
+.
+ The format is specified by adding the command
\series bold
-marginnote
+
+\backslash
+newrefformat
\series default
+ (prettyref) or
+\series bold
-\begin_inset Index idx
-status collapsed
+\backslash
+newref
+\series default
+ (refstyle) to the preamble of the document.
+ For example redefining all references to figures (which have the label
+ prefix
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Plain Layout
-LaTeX-packages ! marginnote
-\end_layout
+\family sans
+fig
+\family default
+
+\begin_inset Quotes erd
\end_inset
-.
- By adding these two lines to your document preamble, the command used by
- LyX for margin notes is redefined to use the command provided by the
-\series bold
-marginnote
-\series default
--package:
-\end_layout
+) can be done with this command
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
\series bold
\backslash
-usepackage{marginnote}
+newref{fig}{refcmd={Image on page
+\backslash
+pageref{#1}}}
+\series default
+
\begin_inset Newline newline
\end_inset
+For more information about the format, have a look at the package documentations
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "prettyref,refstyle"
+literal "true"
-\backslash
-let
-\backslash
-marginpar
-\backslash
-marginnote
-\end_layout
+\end_inset
-\begin_layout Standard
-This is also used in this document because
+.
+\begin_inset Newline newline
+\end_inset
+
+The options
+\family sans
+Plural
+\family default
+ and
+\family sans
+Capitalized
+\family default
+ are only available if you use the \SpecialChar LaTeX
+-package
\series bold
-marginnote
+refstyle
\series default
- has another useful feature: You can set a vertical offset for the note.
- This is often needed when too many margin notes are too close together
- or for a better page layout.
- The offset is set in LyX as TeX-Code directly after the margin note in
- the scheme
-\end_layout
+.
+
+\family sans
+Plural
+\family default
+ adds an
+\emph on
+s
+\emph default
+ to the name, e.
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Standard
+g.
+\begin_inset space \space{}
+\end_inset
-\series bold
-[offset]
-\end_layout
-\begin_layout Standard
-where the offset is a length with one of the units listed in Table
-\begin_inset space ~
+\begin_inset Quotes eld
\end_inset
+figures
+\begin_inset Quotes erd
+\end_inset
+
+;
+\family sans
+Capitalized
+\family default
+ outputs the name capitalized, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Units"
+\begin_inset Quotes eld
+\end_inset
+
+Figure
+\begin_inset Quotes erd
\end_inset
.
- 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
+ Both options can be combined to get e.
\begin_inset space \thinspace{}
\end_inset
-cm with the TeX-Code-command
-\begin_inset Quotes eld
+g.
+\begin_inset space \space{}
\end_inset
-\family default
-\series bold
-[-1.5cm]
-\family roman
-\series medium
+\begin_inset Quotes eld
+\end_inset
+Figures
\begin_inset Quotes erd
\end_inset
+.
+\end_layout
-\begin_inset Marginal
-status open
+\begin_layout Description
+Textual
+\begin_inset space ~
+\end_inset
+
+reference: prints the caption of the reference:
+\begin_inset CommandInset ref
+LatexCommand nameref
+reference "fig:Two-distorted-images"
-\begin_layout Plain Layout
-This margin note is shifted up 1.5
-\begin_inset space \thinspace{}
\end_inset
-cm from its original position.
+
\end_layout
+\begin_layout Description
+Label
+\begin_inset space ~
\end_inset
+only: prints only the \SpecialChar LaTeX
+ label for the reference:
+\begin_inset CommandInset ref
+LatexCommand labelonly
+reference "fig:Two-distorted-images"
+plural "false"
+caps "false"
+noprefix "false"
-\family default
-\series default
+\end_inset
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
+\begin_inset Newline newline
+\end_inset
-[-1.5cm]
-\end_layout
+This allows to use the label for commands in \SpecialChar TeX
+ code.
+ With the option
+\family sans
+No Prefix
+\family default
+ one can omit the prefix of the label name:
+\begin_inset CommandInset ref
+LatexCommand labelonly
+reference "fig:Two-distorted-images"
+plural "false"
+caps "false"
+noprefix "true"
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace medskip
+
+\family sans
+<page>
+\family default
+ will not print the page number if the label is on the previous, the same,
+ or the next page.
+ You will e.
+\begin_inset space \thinspace{}
\end_inset
-With
-\series bold
-marginnote
-\series default
- you can also change the alignment of the text in the margin note.
- For example the commands
-\end_layout
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Standard
+see the text
+\begin_inset Quotes eld
+\end_inset
-\series bold
-\backslash
-renewcommand*{
-\backslash
-raggedleftmarginnote}{
-\backslash
-centering}
-\begin_inset Newline newline
+\family sans
+on this page
+\family default
+
+\begin_inset Quotes erd
\end_inset
+ instead.
+ The style
+\family sans
+<reference> on page <page>
+\family default
+ will not print anything about the page if the label is on the same page.
+\end_layout
-\backslash
-renewcommand*{
-\backslash
-raggedrightmarginnote}{
-\backslash
-centering}
+\begin_layout Standard
+The number and current page of the part of the document referred to in the
+ output is automatically calculated by \SpecialChar LaTeX
+.
+ The varieties are adjusted in the field
+\family sans
+Format
+\family default
+ of the cross-reference window that appears when you click on the cross-referenc
+e box.
\end_layout
\begin_layout Standard
-set the alignment to centered.
-
-\series bold
+\begin_inset Note Greyedout
+status open
-\backslash
-raggedleftmarginnote
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ It is recommended to use the \SpecialChar LaTeX
+-package
+\series bold
+refstyle
\series default
- denotes margin notes that appear at the left side.
-\family roman
-\series medium
-\begin_inset ERT
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-renewcommand*{
-\backslash
-raggedleftmarginnote}{
-\backslash
-centering}
+\begin_layout Plain Layout
+refstyle
\end_layout
-\begin_layout Plain Layout
+\end_inset
-\backslash
-renewcommand*{
-\backslash
-raggedrightmarginnote}{
-\backslash
-centering}
\end_layout
\end_inset
+ because
+\series bold
+prettyref
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
-\begin_inset Marginal
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
status open
\begin_layout Plain Layout
-The text of this margin note is centered.
+prettyref
\end_layout
\end_inset
-\family default
-\series default
- The default is
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
+ does not know all of \SpecialChar LyX
+'s possible label shortcuts
+\begin_inset Foot
+status collapsed
-\backslash
-renewcommand*{
-\backslash
-raggedleftmarginnote}{
-\backslash
-raggedleft}
-\begin_inset Newline newline
+\begin_layout Plain Layout
+\begin_inset Quotes eld
\end_inset
+fig:
+\begin_inset Quotes erd
+\end_inset
-\backslash
-renewcommand*{
-\backslash
-raggedrightmarginnote}{
-\backslash
-raggedright}
-\family roman
-\series medium
+ is for example \SpecialChar LyX
+'s shortcut for labels in figure captions.
+\end_layout
-\begin_inset ERT
-status collapsed
+\end_inset
-\begin_layout Plain Layout
+ and is not internationalized.
+\end_layout
+
+\end_inset
-\backslash
-renewcommand*{
-\backslash
-raggedleftmarginnote}{
-\backslash
-raggedleft}
\end_layout
-\begin_layout Plain Layout
+\begin_layout Subsection
+Automatic Reference Naming
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+\begin_layout Plain Layout
+References
+\begin_inset IndexMacro subentry
+status open
-\backslash
-renewcommand*{
-\backslash
-raggedrightmarginnote}{
-\backslash
-raggedright}
+\begin_layout Plain Layout
+Automatic Reference Naming
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset VSpace medskip
\end_inset
-For the other features of
+
+\end_layout
+
+\begin_layout Standard
+The \SpecialChar LaTeX
+-package
\series bold
-marginnote
+hyperref
\series default
- refer to its documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "marginnote"
-\end_inset
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
-.
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-You can adjust the layout of margin notes by changing its definition.
- To create for example a header for all margin notes with the underlined,
- sans-serif, and bold header text
-\begin_inset Quotes eld
-\end_inset
+\end_layout
+
+\end_inset
+, that is enabled in the
\family sans
-\series bold
-\bar under
-Attention!
+PDF Properties
\family default
-\series default
-\bar default
+ of the
+\family sans
+Document Settings
+\family default
+ dialog, provides a very useful feature that cross-references automatically
+ include the name of the referenced floats (or text parts like
+\emph on
+section
+\emph default
+).
+ So you will save having to write e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+the name
+\begin_inset Quotes eld
+\end_inset
+Figure
\begin_inset Quotes erd
\end_inset
-, add this to your document preamble:
+ before every reference to a figure.
+ To use this feature, enable
+\series bold
+hyperref
+\series default
+ and insert this line to the \SpecialChar LaTeX
+ preamble:
\end_layout
\begin_layout Standard
\series bold
\backslash
-let
-\backslash
-myMarginpar
-\backslash
-marginpar
-\begin_inset Newline newline
-\end_inset
-
-
+AtBeginDocument{
\backslash
renewcommand{
\backslash
-marginpar}[1]{
+ref}[1]{
\backslash
-myMarginpar{%
-\begin_inset Newline newline
-\end_inset
+mbox{
+\backslash
+autoref{#1}}}}
+\end_layout
+\begin_layout Standard
+When you prefer other reference names than the default ones, for example
+ you want instead of
+\begin_inset Quotes eld
+\end_inset
-\begin_inset Phantom HPhantom
-status open
+section
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Plain Layout
+ the name
+\begin_inset Quotes eld
+\end_inset
-\series bold
-\begin_inset space ~
+sec.
+\begin_inset space \thinspace{}
\end_inset
+\begin_inset Quotes eld
+\end_inset
+
+, you can redefine the name by inserting this in the preamble:
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
\backslash
-hspace{0pt}
+addto
\backslash
-textsf{
+extrasenglish{
\backslash
-textbf{
+renewcommand{
\backslash
-underbar{Attention!}}}%
+sectionautorefname}
\begin_inset Newline newline
\end_inset
\end_inset
-
-\backslash
-vspace{1.5mm}
-\backslash
-
+{sec.
\backslash
-#1}}
+negthinspace}}
\end_layout
\begin_layout Standard
+When you are using another document language than English, replace
+\begin_inset Newline newline
+\end_inset
-\family roman
-\series medium
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\series bold
\backslash
-let
-\backslash
-myMarginpar
+extrasenglish
+\series default
+ by
+\series bold
+
\backslash
-marginpar
+extras***
+\series default
+, where *** is the name of the language used.
\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+To get automatic names, but not for certain reference types, for example
+ not for equations, use this preamble code:
+\end_layout
+
+\begin_layout Standard
+\series bold
\backslash
-renewcommand{
+addto
\backslash
-marginpar}[1]{
+extrasenglish{
\backslash
-myMarginpar{%
+renewcommand*{
+\backslash
+equationautorefname}[1]{}}
\end_layout
-\begin_layout Plain Layout
+\begin_layout Standard
+More about this topic can be found in
+\series bold
+hyperref
+\series default
+'s documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "hyperref"
+literal "true"
-
-\backslash
-textsf{
-\backslash
-textbf{
-\backslash
-underbar{Attention!}}}%
+\end_inset
+
+.
\end_layout
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
\begin_layout Plain Layout
-
-\backslash
-vspace{1.5mm}
-\backslash
+\series bold
+Note:
+\series default
+ Automatic reference naming cannot be used when you use cross-references
+ in the
+\family sans
+Formatted
+\begin_inset space ~
+\end_inset
-\backslash
-#1}}
+reference
+\family default
+ style, as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Cross-Reference-Formats"
+
+\end_inset
+
+.
\end_layout
\end_inset
-\begin_inset Marginal
-status open
+\end_layout
-\begin_layout Plain Layout
-This is a margin note with a defined heading.
+\begin_layout Standard
+The
+\emph on
+Math
+\emph default
+ manual is an example where automatic reference naming is used.
\end_layout
-\end_inset
+\begin_layout Subsection
+Reference Position
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Reference-Position"
+\end_inset
-\family default
-\series default
-\begin_inset ERT
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+References
+\begin_inset IndexMacro subentry
+status open
-[-1.5cm]
+\begin_layout Plain Layout
+Reference Position
\end_layout
\end_inset
-\family roman
-\series medium
+\end_layout
-\begin_inset ERT
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you use
+\series bold
+hyperref
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-renewcommand{
-\backslash
-marginpar}[1]{
-\backslash
-myMarginpar{#1}}
+\begin_layout Plain Layout
+hyperref
\end_layout
\end_inset
+\end_layout
+
+\end_inset
+
+ in the
+\family sans
+PDF Properties
+\family default
+ of the
+\family sans
+Document Settings
\family default
+ dialog to link cross-references in the output, you will see that clicking
+ on an image float reference jumps to the image label.
+ The caption will be the first text part on the screen, so that you cannot
+ see the image without scrolling.
+ This is because the reference link anchor is placed at the position of
+ the label.
+ With the use of the package
+\series bold
+hypcap
\series default
-\begin_inset Note Note
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-The margin note format is changed only for this example.
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hypcap
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset ERT
+\end_inset
+
+, which is part of the \SpecialChar LaTeX
+-package
+\series bold
+oberdiek
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-else
+\begin_layout Plain Layout
+oberdiek
\end_layout
\end_inset
-\begin_inset Note Note
-status open
+\end_layout
-\begin_layout Plain Layout
-The following will be displayed when the LaTeX-package
+\end_inset
+
+, the link anchor is placed at the beginning of a float.
+ To use this feature for figure floats, load
\series bold
-marginnote
+hypcap
\series default
- is not installed:
+ in the document preamble with the line
\end_layout
-\end_inset
+\begin_layout Standard
+\series bold
+\backslash
+usepackage[figure]{hypcap}
\end_layout
\begin_layout Standard
-You need to install the LaTeX-package
+You can also use
\series bold
-marginnote
+hypcap
\series default
- to see the following part of this section in the output.
+ for all float types but this is not recommended for stability reasons.
+ For more information, have a look at
+\series bold
+hypcap
+\series default
+'s manual
+\begin_inset CommandInset citation
+LatexCommand cite
+key "hypcap"
+literal "true"
+
+\end_inset
+
+.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Note Greyedout
+status open
\begin_layout Plain Layout
-
-\backslash
-fi
+\series bold
+Note:
+\series default
+
+\series bold
+hypcap
+\series default
+ has no effect on references to subfigures.
\end_layout
\end_inset
\end_layout
-\begin_layout Chapter
-Boxes
-\end_layout
-
\begin_layout Section
-Introduction
+Float
+\change_deleted -712698321 1526031763
+Placement
+\change_inserted -712698321 1526031765
+Settings
+\change_unchanged
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Float-Settings"
+
+\end_inset
+
+
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Introduction
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\change_deleted -712698321 1526031841
+Placement
+\change_inserted -712698321 1526031842
+Settings
+\change_unchanged
+
\end_layout
\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
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
+\end_layout
-\end_inset
+\begin_layout Standard
-, to frame texts, see section
-\begin_inset space ~
-\end_inset
+\change_inserted -712698321 1526033385
+Float Settings can be adjusted at two places in \SpecialChar LyX
+:
+\change_inserted 630872221 1622709604
+i
+\change_deleted 630872221 1622709603
+I
+\change_inserted -712698321 1526033385
+n
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar ldots
+\SpecialChar menuseparator
+Float Settings
+\family default
+, you can set some options that are used by default for all floats of the
+ document (placement on page and alignment of contents), unless you modify
+ the local settings of a float.
+\change_unchanged
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Decoration"
+\begin_layout Standard
-\end_inset
+\change_inserted -712698321 1526032513
+The latter can be done by
+\change_deleted -712698321 1526032513
+R
+\change_inserted -712698321 1526032513
+r
+\change_unchanged
+ight-clicking on a float-box and clicking on
+\family sans
+Settings
+\change_inserted -712698321 1526033387
+\SpecialChar ldots
-, to prevent words from being hyphenated, see section
-\begin_inset space ~
-\end_inset
+\change_unchanged
+\family default
+
+\change_inserted -712698321 1526032520
+This
+\change_unchanged
+opens a dialog where you can
+\change_inserted -712698321 1526032584
+, now only for the given float,
+\change_unchanged
+ alter the
+\change_inserted -712698321 1526033452
+global
+\change_unchanged
+placement
+\change_deleted -712698321 1526033439
+options that \SpecialChar LaTeX
+ uses for positioning the float
+\change_inserted -712698321 1526033493
+ and alignment options, and adapt some other options that are only available
+ for single floats
+\change_unchanged
+.
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Prevent-Hyphenation"
+\change_inserted -712698321 1526032658
+ All these options, both for
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ and for local
+\family sans
+Float Settings
+\family default
+, are described in turn.
+\change_deleted -712698321 1526031652
+\begin_inset Newline newline
\end_inset
-, to align text, see section
+The option
+\family sans
+Span
\begin_inset space ~
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Vertical-Alignment"
-
+columns
+\family default
+ is only useful for two-column documents: If you select it, the float will
+ span both columns on the page instead of being confined to just one.
+\begin_inset Newline newline
\end_inset
-, or to set the background color of texts, see section
+The option
+\family sans
+Rotate
\begin_inset space ~
\end_inset
-
+sideways
+\family default
+ is used to rotate floats, see section
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Colored-Boxes"
+reference "sec:Rotated-Floats"
\end_inset
.
+\change_unchanged
+
\end_layout
-\begin_layout Standard
-Boxes can be inserted with the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Box
-\family default
- or the toolbar button
-\begin_inset Graphics
- filename ../images/box-insert.png
- scale 85
- scaleBeforeRotation
+\begin_layout Subsection
+
+\change_inserted -712698321 1526031775
+Float Placement
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Float-Placement"
\end_inset
-.
- A grey box with the label
-\family sans
-Box (Minipage)
-\family default
-:
-\begin_inset Graphics
- filename clipart/BoxInsetDefaultQt4.png
- scale 85
- scaleBeforeRotation
-\end_inset
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
- will be inserted.
- The box type can be specified by right-clicking on the box and selecting
-
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1526031775
+Floats
+\change_unchanged
+
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1526031775
+Placement
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526032697
+Both in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ and in the local
+\family sans
+Float Settings
+\family default
+ dialog, you can
+\change_deleted -712698321 1526032811
+You can use one or more of the following options in the float dialog to
+ set
+\change_inserted -712698321 1526032812
+modify
+\change_unchanged
+ the placement
+\change_inserted -712698321 1526033558
+algorithm that \SpecialChar LaTeX
+ uses for positioning floats on the page, either
+\change_unchanged
+for
+\change_inserted -712698321 1526033535
+all floats (
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+) or
+\change_unchanged
+a particular float
+\change_inserted -712698321 1526033570
+ (local
+\family sans
+Float Settings
+\family default
+ dialog).
+ This is done via
+\family sans
+Placement Settings
+\family default
+.
+ By default, this is set to
+\change_unchanged
+
+\change_inserted -712698321 1526033604
+
+\family sans
+Class Default
+\family default
+ in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ (meaning that the default placement algorithm of the document class is
+ used) or
+\family sans
+Document Default
+\family default
+ in the local
+\family sans
+Float Settings
+\family default
+ dialog (meaning that the settings in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+ are used, which are the Class Defaults by default).
+ If you want to change this,
+\change_deleted -712698321 1526033009
+when you uncheck
+\change_inserted -712698321 1526033535
+select
+\change_unchanged
+
+\change_deleted -712698321 1526031920
+the option
+\change_inserted -712698321 1526033535
+
+\family sans
+Placement Settings:
+\change_unchanged
+
+\family default
+
+\change_inserted -712698321 1526033535
+
+\family sans
+Custom.
+\change_deleted -712698321 1526031908
+Use
+\begin_inset space ~
+\end_inset
+
+default
+\begin_inset space ~
+\end_inset
+
+placement
+\change_inserted -712698321 1526033535
+
+\family default
+ This allows you to select one or more from
+\change_unchanged
+:
+\end_layout
+
+\begin_layout Description
+Here
+\begin_inset space ~
+\end_inset
+
+if
+\begin_inset space ~
+\end_inset
+
+possible try to place the float on the position where it has been inserted
+\change_inserted 630872221 1622713522
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted 630872221 1622713704
+Here,
+\begin_inset space ~
+\end_inset
+
+definitely forces the placement of the float on the position where it has
+ been inserted
+\change_unchanged
+
+\end_layout
+
+\begin_layout Description
+Top
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+page try to place the float at the top of the current page
+\end_layout
+
+\begin_layout Description
+Bottom
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+page try to place the float at the bottom of the current page
+\end_layout
+
+\begin_layout Description
+Page
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+floats try to place the float on its own page
+\end_layout
+
+\begin_layout Standard
+The order of the above option is
+\emph on
+always
+\emph default
+ used by \SpecialChar LaTeX
+.
+ That means, if you use the default placement, \SpecialChar LaTeX
+ will first try out
+\family sans
+Here
+\begin_inset space ~
+\end_inset
+
+if
+\begin_inset space ~
+\end_inset
+
+possible
+\family default
+, then
+\family sans
+Top
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+page
+\family default
+, and then the others.
+ If you do not use the default, \SpecialChar LaTeX
+ will try only the checked options but in
+ the same order.
+ If none of the 4
+\begin_inset space ~
+\end_inset
+
+placements is possible the procedure is internally repeated trying to put
+ the float on the following page.
+\end_layout
+
+\begin_layout Standard
+By default, each option has its own rules:
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\family sans
+Top
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+page
+\family default
+ only floats occupying less than 70
+\begin_inset space \thinspace{}
+\end_inset
+
+% of the page can be placed at the top of a page (
+\series bold
+
+\backslash
+topfraction
+\series default
+)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\family sans
+Bottom
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+page
+\family default
+: only floats occupying less than 30
+\begin_inset space \thinspace{}
+\end_inset
+
+% of the page can be placed at the bottom of a page.
+ (
+\series bold
+
+\backslash
+bottomfraction
+\series default
+)
+\end_layout
+
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+
+\family sans
+Page
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+floats
+\family default
+: only if more than 50
+\begin_inset space \thinspace{}
+\end_inset
+
+% of the page is occupied by floats, several floats can be set together
+ on a page.
+ (
+\series bold
+
+\backslash
+floatpagefraction
+\series default
+)
+\end_layout
+
+\begin_layout Standard
+If you don't like these rules, you can ignore them by using the additional
+ option
+\family sans
+Ignore
+\begin_inset space ~
+\end_inset
+
+\SpecialChar LaTeX
+
+\begin_inset space ~
+\end_inset
+
+rules
+\family default
+.
+\begin_inset Newline newline
+\end_inset
+
+You can also redefine the rules with \SpecialChar LaTeX
+-commands that are given in parentheses
+ after the rules description above.
+ To increase for example the often too small default of the bottom-rule
+ to 50
+\begin_inset space \thinspace{}
+\end_inset
+
+% of the page, add this line to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+bottomfraction}{0.5}
+\end_layout
+
+\begin_layout Standard
+Sometimes you might need, under all circumstances, a float to be placed
+ exactly at the position where it is inserted.
+ For this case you can use the option
+\family sans
+Here
+\begin_inset space ~
+\end_inset
+
+definitely
+\family default
+.
+ Use this option very rarely and only if the document is almost ready to
+ be printed, because the float is then no longer able to
+\begin_inset Quotes eld
+\end_inset
+
+float
+\begin_inset Quotes erd
+\end_inset
+
+ when you change your document and this will often destroy the page layout.
+\end_layout
+
+\begin_layout Standard
+There are no placement options for text wrap floats, because they are always
+ surrounded by the text of a certain paragraph.
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Sometimes you have the problem that a float is placed at the top of a page
+ while its corresponding section starts at the middle of the page, so that
+ the reader could think the float is part of the previous section.
+ To avoid this the \SpecialChar LaTeX
+-command
+\series bold
+
+\backslash
+suppressfloats
+\series default
+ can be used.
+ It suppresses a given float placement for the page where it is inserted
+ and can therefore be used to avoid floats being set before a section starts.
+ To get this, add these commands to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+mySection
+\backslash
+section
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+section}{
+\backslash
+suppressfloats[t]
+\backslash
+mySection}
+\end_layout
+
+\begin_layout Standard
+You can define the same for all section headings, like chapters and subsections.
+ This definition is not recommended to be used for small text parts like
+ subsubsections because \SpecialChar LaTeX
+ may then have problems finding a suitable placement.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+In some cases it is required to have all figures/tables at the end of the
+ document.
+ For this purpose the \SpecialChar LaTeX
+-package
+\series bold
+endfloat
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+endfloat
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ was developed.
+ It puts all figure and table floats at the end of the document into their
+ own sections.
+ At the original float position a text hint like
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+[Figure
+\begin_inset space ~
+\end_inset
+
+3.2 about here.]
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ is inserted.
+ The endfloat-package is loaded in the preamble with the line
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[options]{endfloat}
+\end_layout
+
+\begin_layout Standard
+There are various package options to format the created figure/table sections.
+ For more information we refer you to the
+\series bold
+endfloat
+\series default
+ documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "endfloat"
+literal "true"
+
+\end_inset
+
+.
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note: endfloat
+\series default
+ doesn't provide an automatic translation for the text hint, you have to
+ do this manually, see section
+\begin_inset space ~
+\end_inset
+
+4 in
+\begin_inset CommandInset citation
+LatexCommand cite
+key "endfloat"
+literal "true"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ There is currently a bug in
+\series bold
+endfloat
+\series default
+ when the caption contains a German
+\begin_inset Quotes eld
+\end_inset
+
+ß
+\begin_inset Quotes erd
+\end_inset
+
+.
+ Use in this case the command
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+
+\backslash
+ss
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ in \SpecialChar TeX
+ Code instead of
+\begin_inset Quotes eld
+\end_inset
+
+ß
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+For more details about float placements, have a look at \SpecialChar LaTeX
+ books,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "latexcompanion,latexguide,latexbook"
+literal "true"
+
+\end_inset
+
+.
+\change_inserted -712698321 1526030561
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526031989
+Alignment of Float Contents
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526032316
+In this list of options, you can define how the contents of a float (or
+ all floats by default, if selected from
+\family sans
+Document\SpecialChar menuseparator
+Settings
+\family default
+) are aligned.
+
+\family sans
+Class Default
+\family default
+ means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
+, is
+ used.
+
+\family sans
+Document Default
+\family default
+ (only visible in the
+\family sans
+Float Settings
+\family default
+ dialog, not in
+\family sans
+Document\SpecialChar menuseparator
+Settings
+\family default
+) takes the setting specified in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+.
+ The other three options,
+\family sans
+Left
+\family default
+,
+\family sans
+Center
+\family default
+, or
+\family sans
+Right
+\family default
+, are self-explanatory.
+ If one of these is selected in
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Float Settings
+\family default
+, all floats of the document will have this setting by default (so it is
+ fairly easy, for instance, to center all floats).
+\change_unchanged
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -712698321 1526030571
+Other Float Options
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526035716
+These two options are only visible in the local
+\family sans
+Float Settings
+\family default
+ dialog, not in
+\family sans
+Document\SpecialChar menuseparator
+Settings.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526033931
+The option
+\family sans
+Span
+\begin_inset space ~
+\end_inset
+
+columns
+\family default
+ is useful for two-column documents: If you select it, the float will span
+ both columns on the page instead of being confined to just one.
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted -712698321 1526030572
+The option
+\family sans
+Rotate
+\begin_inset space ~
+\end_inset
+
+sideways
+\family default
+ is used to rotate floats, see section
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Rotated-Floats"
+
+\end_inset
+
+.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Section
+Rotated Floats
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Rotated-Floats"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Rotating
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Especially for wide tables you might have floats rotated.
+ To rotate a whole float including the caption, right-click on the float-box
+ and use the option
+\family sans
+Rotate
+\begin_inset space ~
+\end_inset
+
+sideways
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+Rotated floats are always placed on a page of their own (or column of their
+ own; in case you have a multi-column document).
+ You can let them span several columns using the float settings option
+\family sans
+Span
+\begin_inset space ~
+\end_inset
+
+columns
+\family default
+.
+ Floats are rotated so that you can read them from the outside margin.
+ 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
+Referencing rotated floats is the same as for normal floats, the caption
+ format is also the same: Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Rotated-table"
+
+\end_inset
+
+ is an example of a rotated table float.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Not all DVI-viewers are able to display rotated floats.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways true
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Rotated-table"
+
+\end_inset
+
+ Rotated table
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Subfloats
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Subfloats
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Subfloats are for example used when a figure consists of several images.
+ They are created by inserting a float into an existing float.
+ The placement of the subfloats can be controlled in the same way as for
+ paragraphs as shown in table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Two-subtables-side"
+
+\end_inset
+
+ and
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Two-subtables-upon"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Referencing subfloats works as for normal floats: Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:This-is-subtable-a"
+
+\end_inset
+
+ and
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:This-is-subtable-b"
+
+\end_inset
+
+ are subtables of table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Two-subtables-side"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Two-subtables-side"
+
+\end_inset
+
+Two subtables placed side by side.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:This-is-subtable-a"
+
+\end_inset
+
+This is subtable a.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:This-is-subtable-b"
+
+\end_inset
+
+This is subtable b.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Two-subtables-upon"
+
+\end_inset
+
+Two subtables placed one above the other.
+ (a) table with 4 cells, (b) table with 5 cells.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="4">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+test
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Floats Side by Side
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Side by side
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To place floats side by side, as in Figures
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Float-left"
+
+\end_inset
+
+ and
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Float-right"
+
+\end_inset
+
+, only
+\emph on
+one
+\emph default
+ float is used.
+ In it two minipage boxes are inserted.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Minipages are explained in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+ The width is set to 45
+\begin_inset space \thinspace{}
+\end_inset
+
+-50
+\begin_inset space \thinspace{}
+\end_inset
+
+column% and the box alignment to
+\family sans
+Bottom
+\family default
+ for each minipage.
+ The minipage boxes contain the image and the caption in the same way as
+ they are in a float.
+ The only difference is that the image unit
+\family sans
+Column
+\begin_inset space ~
+\end_inset
+
+Width
+\begin_inset space ~
+\end_inset
+
+%
+\family default
+ is now calculated according to the width of the minipage boxes.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Box Frameless
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "45col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Graphics
+ filename clipart/2D-intensity-plot.pdf
+ width 100col%
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Float-left"
+
+\end_inset
+
+Float on the left side.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Box Frameless
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "45col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Graphics
+ filename clipart/Star-structure.pdf
+ width 100col%
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Float-right"
+
+\end_inset
+
+Float on the right side.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+An alternative and simpler solution is to use the module
+\family sans
+Variable-width Minipages
+\family default
+, see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.
+ Variable-width minipages adapt automatically to the width of the figures
+ and tables.
+ They do not require an explicit width to be given, and they improve the
+ horizontal alignment of the figures.
+ The LyX example file
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of how to do this.
+\end_layout
+
+\begin_layout Section
+Caption Formatting
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Caption
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Formatting
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Caption Formatting
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Caption-Formatting"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The
+\family sans
+Caption
+\family default
+ environment is the default paragraph environment for
+\family sans
+Floats
+\family default
+.
+ On the \SpecialChar LyX
+ screen captions appear as a label, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+Figure #:
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ followed by the caption text.
+
+\begin_inset Quotes eld
+\end_inset
+
+#
+\begin_inset Quotes erd
+\end_inset
+
+ 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 the label from the text.
+ This caption format is suitable for many but not all documents.
+
+\end_layout
+
+\begin_layout Standard
+To change the default caption format, load the \SpecialChar LaTeX
+-package
+\series bold
+caption
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ in the document preamble with this line:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[format definition]{caption}
+\end_layout
+
+\begin_layout Standard
+To have for example the label and the number in sans-serif, bold font and
+ the table captions always above the table as in this document, use the
+ following command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[labelfont={bf,sf}, tableposition=top]{caption}
+\end_layout
+
+\begin_layout Standard
+You can also define different caption formats for the different float types.
+ In this case load the
+\series bold
+caption
+\series default
+ package without format specific options and define the different formats
+ with the help of the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+captionsetup[float type]{format definition}
+\end_layout
+
+\begin_layout Standard
+in the document preamble.
+ For example the caption formats of Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:This-is-an-fig"
+
+\end_inset
+
+ and Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:This-is-an-tab"
+
+\end_inset
+
+ can be created using these commands in the document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[tableposition=top]{caption}
+\series default
+
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+
+\backslash
+captionsetup[figure]{
+\end_layout
+
+\end_inset
+
+labelsep=period}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+captionsetup[table]{labelfont={bf,sf}}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\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 Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ document class is used.
+ In this case the document class option
+\series bold
+captions=tableheading
+\series default
+ must be used.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+For more information about the package
+\series bold
+caption
+\series default
+ we refer to its documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "caption"
+literal "true"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+To change the label name from e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\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
+\change_deleted 177693 1654669177
+protected
+\change_inserted 177693 1654669179
+non-breaking
+\change_unchanged
+ space.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+If you are using a
+\series bold
+KOMA-Script
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ document class (
+\family sans
+article (KOMA-Script)
+\family default
+,
+\family sans
+book (KOMA-Script)
+\family default
+,
+\family sans
+letter (KOMA-Script)
+\family default
+, or
+\family sans
+report (KOMA-Script)
+\family default
+
+\begin_inset space \thinspace{}
+\end_inset
+
+), you can alternatively to the
+\series bold
+caption
+\series default
+ package use
+\series bold
+KOMA-Script
+\series default
+'s built-in command
+\series bold
+
+\backslash
+setkomafont
+\series default
+.
+ For example, to have the caption label in bold, add this command to your
+ document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setkomafont{captionlabel}{
+\backslash
+bfseries}
+\end_layout
+
+\begin_layout Standard
+For more information about
+\series bold
+
+\backslash
+setkomafont
+\series default
+ we refer to the
+\series bold
+KOMA-Script
+\series default
+ documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "KOMA-Script"
+literal "true"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The caption format is changed only for this example.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement !p
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Graphics
+ filename clipart/2D-intensity-plot.pdf
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:This-is-an-fig"
+
+\end_inset
+
+This is an example figure caption that is longer than one line to show the
+ different caption format.
+ Here a self-defined caption format is used.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
+on}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement !p
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:This-is-an-tab"
+
+\end_inset
+
+This is an example table caption that is longer than one line to show the
+ different caption format.
+ Here the standard caption format for tables in this document is used.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="1" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Caption Placement
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Caption
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Placement
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Caption Placement
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Caption-Placement"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The common caption placement rule is:
+\end_layout
+
+\begin_layout Description
+Figure: Caption is set below the figure
+\end_layout
+
+\begin_layout Description
+Table: Caption is set above the table
+\end_layout
+
+\begin_layout Standard
+Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
+'s
+ standard classes.
+ That means if you are using the document classes
+\family sans
+article
+\family default
+,
+\family sans
+book
+\family default
+,
+\family sans
+letter
+\family default
+, or
+\family sans
+report
+\family default
+ there will be no space between the caption and the table.
+ To insert the necessary space, load the \SpecialChar LaTeX
+-package
+\series bold
+caption
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ in your document preamble with the option
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+See section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Caption-Formatting"
+
+\end_inset
+
+ for more information of the package
+\series bold
+caption
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+tableposition=top
+\end_layout
+
+\begin_layout Standard
+If you are using a
+\series bold
+KOMA-Script
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ document class (
+\family sans
+article (KOMA-Script)
+\family default
+,
+\family sans
+book (KOMA-Script)
+\family default
+,
+\family sans
+letter (KOMA-Script)
+\family default
+, or
+\family sans
+report (KOMA-Script)
+\family default
+
+\begin_inset space \thinspace{}
+\end_inset
+
+), you can alternatively to the
+\series bold
+caption
+\series default
+ package set the document class option
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+That option is used in this document.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+captions=tableheading
+\end_layout
+
+\begin_layout Standard
+In documents with a KOMA-Script document class you can also right-click
+ on a caption and mark in the context menu if this should be a caption above
+ or below the table/figure.
+ This way you can override the document-wide caption placement for certain
+ captions.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:A-caption-marked"
+
+\end_inset
+
+ is an example where the caption is marked a being below the table while
+ it is above.
+ For comparison the caption in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:A-standard-table"
+
+\end_inset
+
+ is not marked.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Below
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:A-caption-marked"
+
+\end_inset
+
+A caption marked as being below the table.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Joe
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Mary
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Ted
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\int x^{2}dx$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\left[\begin{array}{cc}
+a & b\\
+c & d
+\end{array}\right]$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $1+1=2$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:A-standard-table"
+
+\end_inset
+
+A standard table caption.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Joe
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Mary
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Ted
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\int x^{2}dx$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\left[\begin{array}{cc}
+a & b\\
+c & d
+\end{array}\right]$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $1+1=2$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+It is also possible to set the caption beside a figure or table.
+ To get this the \SpecialChar LaTeX
+-package
+\series bold
+sidecap
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+sidecap
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ has to be loaded in the document preamble with the line
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[option]{sidecap}
+\end_layout
+
+\begin_layout Standard
+If you set no option, the caption is placed on the side of the outer page
+ margin – to the right on odd pages, to the left on even pages.
+ You can change the placement to inner margin with the option
+\series bold
+innercaption
+\series default
+.
+ To force the placement always to the right or left, use the option
+\series bold
+rightcaption
+\series default
+ or
+\series bold
+leftcaption
+\series default
+, respectively.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifsidecap
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+sidecap
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To place in \SpecialChar LyX
+ the caption of a float on the side, it is necessary to add
+ these commands to the document preamble:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+TabBesBeg}[1][1.0]{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyTable
+\backslash
+table
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series medium
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyEndtable
+\backslash
+endtable
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series medium
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+renewenvironment{table}[1]{
+\backslash
+begin{SCtable}[#1]##1}{
+\backslash
+end{SCtable}}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+TabBesEnd}{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+table
+\backslash
+MyTable
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+endtable
+\backslash
+MyEndtable
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+FigBesBeg}[1][1.0]{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyFigure
+\backslash
+figure
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyEndfigure
+\backslash
+endfigure
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+renewenvironment{figure}[1]{
+\backslash
+begin{SCfigure}[#1]##1}{
+\backslash
+end{SCfigure}}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+FigBesEnd}{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+figure
+\backslash
+MyFigure
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+endfigure
+\backslash
+MyEndfigure}
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The commands allow you to redefine the floats so that the caption is set
+ on the side.
+ For figure floats use the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+FigBesBeg
+\end_layout
+
+\begin_layout Standard
+in \SpecialChar TeX
+ Code before the float.
+ And insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+FigBesEnd
+\end_layout
+
+\begin_layout Standard
+in \SpecialChar TeX
+ Code at the point where you want to get back to the original float definitio
+n.
+\end_layout
+
+\begin_layout Standard
+For table floats use the corresponding commands
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+TabBesBeg
+\series default
+ and
+\series bold
+
+\backslash
+TabBesEnd
+\end_layout
+
+\begin_layout Standard
+Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:cap-beside-fig"
+
+\end_inset
+
+ and Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab"
+
+\end_inset
+
+ are examples where the caption is set beside.
+\end_layout
+
+\begin_layout Standard
+You can see in the examples that the caption text appears at the top of
+ the floats for table floats and at the bottom for figure floats.
+ To change this, you can use the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+sidecaptionvpos{float type}{placement}
+\end_layout
+
+\begin_layout Standard
+in the document preamble or in \SpecialChar TeX
+ Code before the float.
+ The float type is either
+\family sans
+figure
+\family default
+ or
+\family sans
+table
+\family default
+, the placement can be
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+t
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ for top,
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+c
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ for center, or
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+b
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ for bottom.
+ To have for example the caption of figure floats vertically centered, use
+ the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+sidecaptionvpos{figure}{c}
+\end_layout
+
+\begin_layout Standard
+This was used for Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:cap-beside-fig-2"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The default caption width is the width of the image/table.
+ For thin image/tables, like in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab"
+
+\end_inset
+
+, this leads to captions that are too thin.
+ You can increase the width by specifying a factor that will be multiplied
+ with the image/table width to get the caption width.
+ The caption width will automatically be recalculated in case it would protrude
+ over the page or column margin due to the specified width.
+ The
+\emph on
+factor
+\emph default
+ can either be given as optional argument for
+\series bold
+
+\backslash
+FigBesBeg
+\series default
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+FigBesBeg[factor]
+\end_layout
+
+\begin_layout Standard
+or in the definition of
+\series bold
+
+\backslash
+FigBesBeg
+\series default
+ by replacing the
+\series bold
+1.0
+\series default
+ with another value.
+ If you do the latter, your factor will be the default if
+\series bold
+
+\backslash
+FigBesBeg
+\series default
+ is used without an argument.
+ For Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab-wider"
+
+\end_inset
+
+ the factor 5 was used.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ For floats with captions set beside, you cannot use the float placement
+ option
+\family sans
+Here
+\begin_inset space ~
+\end_inset
+
+definitely
+\family default
+ because it is not supported by
+\series bold
+sidecap
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+For more information about the package
+\series bold
+sidecap
+\series default
+ we refer to its documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "sidecap"
+literal "true"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The \SpecialChar LaTeX
+-package
+\series bold
+hypcap
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hypcap
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+, described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Reference-Position"
+
+\end_inset
+
+, has no effect on floats with the caption set beside.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesBeg
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/3D-structure-distort.pdf
+ scale 50
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:cap-beside-fig"
+
+\end_inset
+
+This is a caption beside a figure.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesBeg
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:cap-beside-tab"
+
+\end_inset
+
+This is a caption beside a table.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+j
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesBeg
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+sidecaptionvpos{figure}{c}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Float figure
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/3D-structure-distort.pdf
+ scale 50
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:cap-beside-fig-2"
+
+\end_inset
+
+This is a vertically centered caption beside a figure.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesBeg[5]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:cap-beside-tab-wider"
+
+\end_inset
+
+This caption is wider than the one in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="5">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+j
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+sidecap
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the \SpecialChar LaTeX
+-package
+\series bold
+sidecap
+\series default
+ to see the following part of this section in the output.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Listings of Floats
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Float Lists
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Similar to the table of contents where the sections of the document are
+ listed, there are listings for all float types, like the figures of the
+ documents.
+ You can insert them via the
+\family sans
+Insert\SpecialChar menuseparator
+List
+\begin_inset space ~
+\end_inset
+
+/
+\begin_inset space ~
+\end_inset
+
+TOC
+\family default
+ sub menus.
+\end_layout
+
+\begin_layout Standard
+The list entries are the float captions or its short title, the float number,
+ and the page number where they appear in the document.
+\end_layout
+
+\begin_layout Standard
+You can find the list of figures and tables at the end of this document.
+\end_layout
+
+\begin_layout Chapter
+Notes
+\end_layout
+
+\begin_layout Section
+\SpecialChar LyX
+ Notes
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Notes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+\SpecialChar LyX
+ Notes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Notes are inserted with the toolbar button
+\begin_inset Info
+type "icon"
+arg "note-insert"
+\end_inset
+
+ or the menu
+\family sans
+Insert\SpecialChar menuseparator
+Note
+\family default
+.
+ There are three types of notes:
+\end_layout
+
+\begin_layout Description
+\SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+Note This note type is for internal notes that won't appear in the output.
+ Its note-box looks like this:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/LyXNoteImage.png
+ display false
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+This is text in a note box that doesn't appear in the output.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
+-comment,
+ when you export the document to \SpecialChar LaTeX
+ via the menu
+\family sans
+File\SpecialChar menuseparator
+Export\SpecialChar menuseparator
+LaTeX
+\begin_inset space ~
+\end_inset
+
+(pdflatex) / (plain)
+\family default
+.
+ Its note-box looks like this:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/CommentNoteImage.png
+ display false
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset Note Comment
+status open
+
+\begin_layout Plain Layout
+This is text in a note box that only appears as comment in \SpecialChar LaTeX
+-files.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Greyed
+\begin_inset space ~
+\end_inset
+
+Out This note will appear in the output as grey text.
+ Its note-box looks like this:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/GreyedOutNoteImage.png
+ display false
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewenvironment{lyxgreyedout}
+\end_layout
+
+\begin_layout Plain Layout
+
+{
+\backslash
+textcolor[gray]{0.8}
+\backslash
+bgroup}{
+\backslash
+egroup}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+This is text of a comment that appears grey in the output.
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewenvironment{lyxgreyedout}
+\end_layout
+
+\begin_layout Plain Layout
+
+{
+\backslash
+textcolor{blue}
+\backslash
+bgroup}{
+\backslash
+egroup}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The greyed out note is here redefined to show it with the original \SpecialChar LyX
+ definition
+ because greyed out notes are redefined in the preamble of this document,
+ as described below, to have blue text.
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+As you can see in the example, the first line of greyed out notes is a bit
+ indented and greyed out notes can have footnotes.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you use the toolbar button
+\begin_inset Info
+type "icon"
+arg "note-insert"
+\end_inset
+
+ to insert notes, a
+\family sans
+\SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+Note
+\family default
+ is inserted.
+ You can switch between the three 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
+\family default
+\series default
+\bar default
+ toolbar
+\family roman
+\series medium
+\bar no
+button
+\family default
+\series default
+\bar default
+.
+ To change a note to text, press the backspace key when the cursor is in
+ the first position of a note, or press the delete key when the cursor is
+ in the very last position of the note, respectively.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+You can change the text color of the greyed out notes in the menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Colors
+\family default
+.
+\end_layout
+
+\begin_layout Section
+Footnotes
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Footnotes"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Notes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Footnotes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Footnotes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Footnotes can be inserted using the toolbar button
+\begin_inset Info
+type "icon"
+arg "footnote-insert"
+\end_inset
+
+ or the menu
+\family sans
+Insert\SpecialChar menuseparator
+Footnote
+\family default
+.
+ You will then see the following footnote-box:
+\begin_inset Graphics
+ filename clipart/footnote.png
+ scale 95
+ scaleBeforeRotation
+
+\end_inset
+
+
+\family roman
+\series medium
+\bar no
+where you can enter the footnote text.
+ If you want to turn existing text into a footnote, mark it and click on
+ the footnote
+\family default
+\series default
+\bar default
+ toolbar
+\family roman
+\series medium
+\bar no
+button
+\family default
+\series default
+\bar default
+.
+ To change a
+\family roman
+\series medium
+\bar no
+footnote
+\family default
+\series default
+\bar default
+ to text, press the
+\family sans
+Backspace
+\family default
+ key when the cursor is in the first position of a
+\family roman
+\series medium
+\bar no
+footnote
+\family default
+\series default
+\bar default
+, or press the
+\family sans
+Delete
+\family default
+ key when the cursor is in the very last position of the
+\family roman
+\series medium
+\bar no
+footnote
+\family default
+\series default
+\bar default
+, respectively.
+\end_layout
+
+\begin_layout Standard
+Here is an example footnote:
+\family roman
+\series medium
+\bar no
+
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "foot:This-is-an"
+
+\end_inset
+
+This is an example footnote.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+\bar default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+newcounter{MyRepeatFoot}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setcounter{MyRepeatFoot}{
+\backslash
+thefootnote}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The footnote will appear in the output as a superscript number at the text
+ position where the footnote box is placed.
+ The footnote text is placed at the bottom of the current page.
+ The footnote number is calculated by \SpecialChar LaTeX
+; the numbers are consecutive.
+ Whether the footnote number is reset for every chapter depends on your
+ document class.
+\end_layout
+
+\begin_layout Standard
+Footnotes can be referenced like floats: Insert a label into the footnote
+ and cross-reference this label in the text as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Referencing-Floats"
+
+\end_inset
+
+.
+\begin_inset Newline newline
+\end_inset
+
+This is a cross-reference of Footnote
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "foot:This-is-an"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+Footnotes in title environments are usually not numbered with symbols and
+ they cannot contain several paragraphs.
+ See for example the footnote in the titling of this document.
+\end_layout
+
+\begin_layout Standard
+Footnotes in multi-page tables are described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Footnotes-in-Multi-page"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Footnotes in minipage boxes are printed, but inside the box and with a different
+ numbering because a minipage box is like a page inside a page.
+ (For more about minipages, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.) To get a footnote in the minipage that is output at the bottom of the
+ page like normal footnotes use this method: Instead of the footnote the
+ command
+\series bold
+
+\backslash
+footnotemark{}
+\series default
+ is inserted as \SpecialChar TeX
+ code.
+ The text of the footnote is entered as an argument of the \SpecialChar TeX
+ code command
+
+\series bold
+
+\backslash
+footnotetext
+\series default
+ after the minipage.
+\begin_inset Newline newline
+\end_inset
+
+This was done for the following minipage with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotetext{
+\series default
+Footnote outside the minipage.
+\series bold
+}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+This an example text in a minipage.
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Footnote in the minipage.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+This an example text in a minipage.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotetext{
+\end_layout
+
+\end_inset
+
+Footnote outside the minipage.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To refer to the same footnote several times without printing the footnote
+ text every time, use the command
+\series bold
+
+\backslash
+footnotemark[number]
+\series default
+ in \SpecialChar TeX
+ code.
+\begin_inset Newline newline
+\end_inset
+
+As you do not know the number of the repeating footnote while you are writing
+ the text, you have to store its number.
+ For the following footnote mark example, these commands were inserted in
+ \SpecialChar TeX
+ code after Footnote
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "foot:This-is-an"
+
+\end_inset
+
+ to store the footnote number:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcounter{MyRepeatFoot}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+setcounter{MyRepeatFoot}{
+\backslash
+thefootnote}
+\end_layout
+
+\begin_layout Standard
+The footnote mark was then created with this command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotemark[
+\backslash
+theMyRepeatFoot]
+\end_layout
+
+\begin_layout Standard
+Here is a repeated footnote:
+\family roman
+\series medium
+\bar no
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark[
+\backslash
+theMyRepeatFoot]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you want to repeat the previous footnote, you can omit the storage of
+ the footnote number and just use this command instead:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotemark[
+\backslash
+thefootnote]
+\end_layout
+
+\begin_layout Standard
+Here is another repeated footnote:
+\family roman
+\series medium
+\bar no
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark[
+\backslash
+thefootnote]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Footnote Numbering
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Footnote-Numbering"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Footnotes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Numbering
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To reset the footnote number back to 1 after each section
+\family roman
+, add this command to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+@addtoreset{footnote}{section}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The following preamble command changes the footnote numbering style to small
+ roman numerals:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+roman{footnote}}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+roman{footnote}}
+\end_layout
+
+\end_inset
+
+ This is a footnote with roman numbering:
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+This is an example footnote with roman numbering.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To change the numbering style to capital roman numerals replace in the command
+ above
+\series bold
+
+\backslash
+roman
+\series default
+ by
+\series bold
+
+\backslash
+Roman
+\series default
+.
+ To
+\begin_inset Quotes eld
+\end_inset
+
+number
+\begin_inset Quotes erd
+\end_inset
+
+ footnotes with capital or small Latin letters use
+\series bold
+
+\backslash
+Alph
+\series default
+ or
+\series bold
+
+\backslash
+alph
+\series default
+, respectively.
+ To
+\begin_inset Quotes eld
+\end_inset
+
+number
+\begin_inset Quotes erd
+\end_inset
+
+ footnotes with symbols use
+\series bold
+
+\backslash
+fnsymbol
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ You can only number 26 footnotes with Latin letters, because this numbering
+ is limited to single letters.
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ You can only number 9 footnotes with symbols.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To return to the default numbering style after you have changed to another
+ one, use
+\series bold
+
+\backslash
+arabic
+\series default
+ instead of
+\series bold
+
+\backslash
+roman
+\series default
+ in the command above.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+arabic{footnote}}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\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
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ in the document settings the option
+\family sans
+Use
+\begin_inset space ~
+\end_inset
+
+AMS
+\begin_inset space ~
+\end_inset
+
+math
+\begin_inset space ~
+\end_inset
+
+package
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+numberwithin{footnote}{chapter}
+\end_layout
+
+\end_inset
+
+This is another example footnote:
+\series bold
+
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+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 Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+arabic{footnote}}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\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 Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Footnotes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Placement
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\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 more readable you can e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+add 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+mm space with the following preamble command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myFoot
+\backslash
+footnote
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+footnote}[1]{
+\backslash
+myFoot{#1
+\backslash
+vspace{1.5mm}}}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+In a two-column document the footnotes appear at the bottom of every column,
+ see Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Standard-footnote-placement"
+
+\end_inset
+
+.
+ If the footnotes should only appear at the bottom of the right column,
+ as in Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Footnote-placement-in"
+
+\end_inset
+
+, use the \SpecialChar LaTeX
+-package
+\series bold
+ftnright
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+ftnright
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ with this command in the document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage{ftnright}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement !h
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/without_fntright.pdf
+ width 100col%
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Standard-footnote-placement"
+
+\end_inset
+
+Standard footnote placement in two-column documents.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement !h
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/with_fntright.pdf
+ width 100col%
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Footnote-placement-in"
+
+\end_inset
+
+Footnote placement in two-column documents when the \SpecialChar LaTeX
+-package
+\series bold
+ftnright
+\series default
+ is used.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+In some scientific literature it is usual to collect the footnotes and print
+ them in a separate paragraph at the end of a section, as in Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Endnotes"
+
+\end_inset
+
+.
+ They are then called
+\begin_inset Quotes eld
+\end_inset
+
+endnotes
+\begin_inset Quotes erd
+\end_inset
+
+.
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Endnotes
+\end_layout
+
+\end_inset
+
+ To use endnotes instead of footnotes in your document, load in the menu
+
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Modules
+\family default
+the module
+\family sans
+Foot
+\begin_inset space ~
+\end_inset
+
+to
+\begin_inset space ~
+\end_inset
+
+End
+\family default
+.
+ To insert the collected footnotes, insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+theendnotes
+\end_layout
+
+\begin_layout Standard
+in \SpecialChar TeX
+ Code at the end of a section or chapter.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement document
+alignment document
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/endnotes.pdf
+ width 100col%
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Endnotes"
+
+\end_inset
+
+Endnotes – footnotes are printed in a separate paragraph at the end of sections
+ or chapters.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+The paragraph heading for the endnotes isn't automatically translated into
+ the document language, this must be done manually.
+ The following preamble command translates the default English
+\begin_inset Quotes eld
+\end_inset
+
+Notes
+\begin_inset Quotes erd
+\end_inset
+
+ into the German
+\begin_inset Quotes eld
+\end_inset
+
+Anmerkungen
+\begin_inset Quotes erd
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+notesname}{Anmerkungen}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+The numbering of endnotes can be changed like the footnote numbering as
+ described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Footnote-Numbering"
+
+\end_inset
+
+; just replace the command
+\series bold
+
+\backslash
+thefootnote
+\series default
+ by
+\series bold
+
+\backslash
+theendnote
+\series default
+.
+ To reset the endnote number use the command
+\series bold
+
+\backslash
+@addtoreset
+\series default
+ as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Footnote-Numbering"
+
+\end_inset
+
+ and replace the command parameter
+\series bold
+footnote
+\series default
+ by
+\series bold
+endnote
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+For endnotes there is the command
+\series bold
+
+\backslash
+endnotemark[number]
+\series default
+ similar to the command
+\series bold
+
+\backslash
+footnotemark
+\series default
+, that is described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Footnotes"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Footnotes can also be placed in the page margin and the footnote text alignment
+ can be changed, see the \SpecialChar LaTeX
+-package
+\series bold
+footmisc
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+footmisc
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "footmisc"
+literal "true"
+
+\end_inset
+
+ for more information about this.
+\end_layout
+
+\begin_layout Standard
+For various further footnote formatting issues have a look at \SpecialChar LaTeX
+-books,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "latexcompanion,latexguide,latexbook"
+literal "true"
+
+\end_inset
+
+.
+ If you are using a
+\series bold
+KOMA-Script
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ document class, you can adjust all footnote settings using class-specific
+ commands, see
+\begin_inset CommandInset citation
+LatexCommand cite
+key "KOMA-Script"
+literal "true"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+Margin Notes
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Notes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Margin Notes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Margin notes look and behave in \SpecialChar LyX
+ like footnotes.
+ They are inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Marginal
+\begin_inset space ~
+\end_inset
+
+Note
+\family default
+ or the toolbar button
+\begin_inset Info
+type "icon"
+arg "marginalnote-insert"
+\end_inset
+
+.
+ A grey
+\family roman
+\series medium
+box with the
+\family default
+\series default
+ red
+\family roman
+\series medium
+label
+\begin_inset Quotes eld
+\end_inset
+
+margin
+\begin_inset Quotes erd
+\end_inset
+
+ appears where you can enter the text of the margin note.
+\end_layout
+
+\begin_layout Standard
+At the side is an example margin note.
+
+\family roman
+\series medium
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This is a margin note.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Margin notes appear at the right side in single-sided documents.
+ In double-sided documents they appear in the outer margin – left on even
+ pages, right on odd pages.
+ The text of margin notes is aligned opposite to the outer margin – right-aligne
+d when the note appears in the left margin.
+ The first line of the margin note is placed at the position of the text
+ line where it is inserted in the document.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+To place the margin note in the inner margin, add the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+reversemarginpar
+\end_layout
+
+\begin_layout Standard
+in \SpecialChar TeX
+ Code before a margin note.
+ The new placement is valid for all subsequent margin notes.
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+reversemarginpar
+\end_layout
+
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This is a margin note in the inner margin.
+\end_layout
+
+\end_inset
+
+
+\series bold
+
+\begin_inset Newline newline
+\end_inset
+
+
+\series default
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ There is often not enough space in the inner margin so that the notes are
+ not correctly displayed in the output.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To return to the default placement insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+normalmarginpar
+\end_layout
+
+\begin_layout Standard
+in \SpecialChar TeX
+ Code.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+normalmarginpar
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The command is ignored when it is within a paragraph where also the command
+
+\series bold
+
+\backslash
+reversemarginpar
+\series default
+ is inserted.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\family roman
+\series medium
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+AVeryLongMarginParWord that isn't hyphenated.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+ Similar to the case described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Multiple-Lines-in"
+
+\end_inset
+
+, long words cannot be hyphenated when they are the first word in a margin
+ note.
+ To avoid this, insert 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt horizontal space before the word
+\family roman
+\series medium
+.
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+\begin_inset space \hspace*{}
+\length 0pt
+\end_inset
+
+AVeryLongMarginParWord that is hyphenated.
+\end_layout
+
+\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 Plain Layout
+
+\series bold
+Note:
+\series default
+ Margin notes can normally not be used inside tables, floats, and footnotes.
+\end_layout
+
+\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 Plain Layout
+
+
+\backslash
+ifmarginnote
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+marginnote
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+This restriction can be evaded by using the \SpecialChar LaTeX
+-package
+\series bold
+marginnote
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+marginnote
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+.
+ By adding these two lines to your document preamble, the command used by
+ \SpecialChar LyX
+ for margin notes is redefined to use the command provided by the
+\series bold
+marginnote
+\series default
+-package:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage{marginnote}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+let
+\backslash
+marginpar
+\backslash
+marginnote
+\end_layout
+
+\begin_layout Standard
+This is also used in this document because
+\series bold
+marginnote
+\series default
+ has another useful feature: You can set a vertical offset for the note.
+ This is often needed when too many margin notes are too close together
+ or for a better page layout.
+ The offset is set in \SpecialChar LyX
+ as \SpecialChar TeX
+ Code directly after the margin note in the scheme
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+[offset]
+\end_layout
+
+\begin_layout Standard
+where the offset is a length with one of the units listed in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Units"
+
+\end_inset
+
+.
+ 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
+\begin_inset space \thinspace{}
+\end_inset
+
+cm with the \SpecialChar TeX
+ Code command
+\begin_inset Quotes eld
+\end_inset
+
+
+\family default
+\series bold
+[-1.5cm]
+\family roman
+\series medium
+
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This margin note is shifted up 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm from its original position.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+[-1.5cm]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+With
+\series bold
+marginnote
+\series default
+ you can also change the alignment of the text in the margin note.
+ For example the commands
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+centering}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+centering}
+\end_layout
+
+\begin_layout Standard
+set the alignment to centered.
+
+\series bold
+
+\backslash
+raggedleftmarginnote
+\series default
+ denotes margin notes that appear at the left side.
+\family roman
+\series medium
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+centering}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+centering}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+The text of this margin note is centered.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+ The default is
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+raggedleft}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+raggedright}
+\family roman
+\series medium
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+raggedleft}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+raggedright}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+For the other features of
+\series bold
+marginnote
+\series default
+ refer to its documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "marginnote"
+literal "true"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+You can adjust the layout of margin notes by changing its definition.
+ To create for example a header for all margin notes with the underlined,
+ sans-serif, and bold header text
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+\series bold
+\bar under
+Attention!
+\family default
+\series default
+\bar default
+
+\begin_inset Quotes erd
+\end_inset
+
+, add this to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myMarginpar
+\backslash
+marginpar
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+marginpar}[1]{
+\backslash
+myMarginpar{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+hspace{0pt}
+\backslash
+textsf{
+\backslash
+textbf{
+\backslash
+underbar{Attention!}}}%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+vspace{1.5mm}
+\backslash
+
+\backslash
+#1}}
+\end_layout
+
+\begin_layout Standard
+
+\family roman
+\series medium
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+let
+\backslash
+myMarginpar
+\backslash
+marginpar
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+marginpar}[1]{
+\backslash
+myMarginpar{%
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+textsf{
+\backslash
+textbf{
+\backslash
+underbar{Attention!}}}%
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{1.5mm}
+\backslash
+
+\backslash
+#1}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This is a margin note with a defined heading.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+[-1.5cm]
+\end_layout
+
+\end_inset
+
+
+\family roman
+\series medium
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+marginpar}[1]{
+\backslash
+myMarginpar{#1}}
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The margin note format is changed only for this example.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+marginnote
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the \SpecialChar 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 Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Chapter
+Boxes
+\end_layout
+
+\begin_layout Section
+Introduction
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Introduction
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\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
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+, to frame texts, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Decoration"
+
+\end_inset
+
+, to prevent words from being hyphenated, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Prevent-Hyphenation"
+
+\end_inset
+
+, to align text, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Vertical-Alignment"
+
+\end_inset
+
+, or to set the background color of texts, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Boxes can be inserted with the menu
+\family sans
+Insert\SpecialChar menuseparator
+Box
+\family default
+ or the toolbar button
+\begin_inset Info
+type "icon"
+arg "box-insert Frameless"
+\end_inset
+
+.
+ A grey box with the label
+\family sans
+Box (Minipage)
+\family default
+:
+\begin_inset Graphics
+ filename clipart/BoxInsetDefault.png
+ scale 95
+ scaleBeforeRotation
+
+\end_inset
+
+ will be inserted.
+ The box type can be specified by right-clicking on the box and selecting
+
+\family sans
+Settings
+\family default
+.
+ The box dialog offers the
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+ types
+\family sans
+Makebox
+\family default
+,
+\family sans
+Parbox
+\family default
+ and
+\family sans
+Minipage
+\family default
+.
+ The type
+\family sans
+Minipage
+\family default
+ is the default for new boxes and is explained in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+; the type
+\family sans
+Parbox
+\family default
+ is described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Parboxes"
+
+\end_inset
+
+ and the type
+\family sans
+Makebox
+\family default
+ in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Prevent-Hyphenation"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Boxes are not numbered and can therefore not be referenced like floats or
+ footnotes.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Boxes must not be the item in an
+\family sans
+Itemize
+\family default
+ or
+\family sans
+Description
+\family default
+ environment.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ For an unknown reason you can only set the
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+ type to
+\family sans
+None
+\family default
+ when you use a framed box.
+ Boxes without an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+ type and without frames are explained in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Prevent-Hyphenation"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Box Dialog
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Box-Dialog"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Box Dialog
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Size
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Size
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+In the box dialog you can adjust the box geometry in the fields
+\family sans
+Width
+\family default
+ and
+\family sans
+Height
+\family default
+.
+ The available units for the geometry are explained in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Units"
+
+\end_inset
+
+.
+ The field
+\family sans
+Height
+\family default
+ offers the following additional sizes:
+\end_layout
+
+\begin_layout Description
+Depth This is the plain text
+\begin_inset Quotes eld
+\end_inset
+
+height
+\begin_inset Quotes erd
+\end_inset
+
+.
+ It ignores the total depth when there are multiple text lines in the box:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "depth"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+Depth
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Height This is the height of the text that is inside the box.
+ A value of e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+2 for this size will set the box height to 2
+\begin_inset space ~
+\end_inset
+
+times the text height:
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "2in"
+height_special "height"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+Height
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Total
+\begin_inset space ~
+\end_inset
+
+Height This is the Height
+\begin_inset space \thinspace{}
+\end_inset
+
++
+\begin_inset space \thinspace{}
+\end_inset
+
+Depth:
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+Total
+\begin_inset space ~
+\end_inset
+
+Height
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Width This sets the width of the box as height:
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "width"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+Width
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Alignment
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Alignment
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+When you have chosen an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+, the vertical box alignment can be:
+\end_layout
+
+\begin_layout Description
+Top This is an example text line.
+
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box is top-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+Middle This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box is middle-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+Bottom This is an example text line.
+
+\begin_inset Box Boxed
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box is bottom-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The vertical box alignment can be lost in the output when you have two
+ boxes in a line and one has e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+a shadow and the other one not.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The horizontal box alignment can be set via \SpecialChar LyX
+'s paragraph dialog when you
+ set the box into its own paragraph.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you have chosen an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+, the box content can be aligned vertically to:
+\end_layout
+
+\begin_layout Description
+top This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box text is top-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+middle This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box text is middle-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+bottom This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "b"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box text is bottom-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+stretch This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "s"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+text is
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+stretched.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Standard
+To stretch the box content, it must consist of more than one paragraph.
+ In the example above every text line is in an own paragraph.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+To align the box content horizontally you can use \SpecialChar LyX
+'s paragraph dialog when
+ you have chosen an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "s"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1.25in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align left
+This box
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+text is
+\end_layout
+
+\begin_layout Plain Layout
+\align right
+stretched.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you have not set an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+, you can align the box content horizontally in the box dialog.
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Boxed
+position "c"
+hor_pos "s"
+has_inner_box 0
+inner_pos "s"
+use_parbox 0
+use_makebox 0
+width "90col%"
+special "none"
+height "1.25in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+This box text is horizontally stretched.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Decoration
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Decoration"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Decoration
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The type of the box can be specified in the box dialog in the drop-down
+ list
+\family sans
+Decoration
+\family default
+.
+ The following types are possible:
+\end_layout
+
+\begin_layout Description
+No
+\begin_inset space ~
+\end_inset
+
+frame Nothing is drawn.
+\end_layout
+
+\begin_layout Description
+Simple
+\begin_inset space ~
+\end_inset
+
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame This draws a rectangular frame around the box.
+ The frame line thickness can be specified.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Rectangular box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Oval
+\begin_inset space ~
+\end_inset
+
+box,
+\begin_inset space ~
+\end_inset
+
+thin This draws an oval frame around the box.
+ The frame line thickness has the size 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+
+\begin_inset Box ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Oval box, thin
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Oval
+\begin_inset space ~
+\end_inset
+
+box,
+\begin_inset space ~
+\end_inset
+
+thick This draws an oval frame around the box.
+ The frame line thickness has the size 0.8
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+
+\begin_inset Box Ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Oval box, thick
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Drop
+\begin_inset space ~
+\end_inset
+
+shadow This draws a rectangular frame with a shadow around the box.
+ The frame line thickness and the shadow can be specified.
+
+\begin_inset Box Shadowbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Shadow box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Shaded
+\begin_inset space ~
+\end_inset
+
+background This draws a box with a red background.
+ Unlike colored boxes
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+, it always uses the whole column width and the box is set as its own paragraph.
+
+\begin_inset Box Shaded
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "50col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+Shaded background box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Double
+\begin_inset space ~
+\end_inset
+
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame This draws a double-line rectangular frame around the box.
+ The line thickness of the inner frame is 0.75
+\begin_inset space \thinspace{}
+\end_inset
+
+line
+\begin_inset space ~
+\end_inset
+
+thickness, the thickness of the outer frame is 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+line
+\begin_inset space ~
+\end_inset
+
+thickness.
+ The distance between the lines is 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+line
+\begin_inset space ~
+\end_inset
+
+thickness
+\begin_inset space \thinspace{}
+\end_inset
+
++
+\begin_inset space \thinspace{}
+\end_inset
+
+0.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+
+\begin_inset Box Doublebox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Double rectangular box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+\SpecialChar LyX
+'s box label will reflect the different frame types.
+ To be able to use all types, the \SpecialChar LaTeX
+-package
+\series bold
+fancybox
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+fancybox
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ must be installed.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you use the decoration
+\family sans
+simple rectangular frame
+\family default
+ and no inner box, you can allow page breaks within a box.
+ Note that then, unlike other framed boxes, the frame always uses the whole
+ column width and the box is set as its own paragraph:
+\begin_inset Box Framed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+Allow page break box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Box Customization
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Customization
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The diameter of the round corners of the oval boxes can be set with the
+ command
+\series bold
+
+\backslash
+cornersize
+\series default
+.
+ The command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cornersize*{1cm}
+\end_layout
+
+\begin_layout Standard
+sets the diameter to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ The command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cornersize{num}
+\end_layout
+
+\begin_layout Standard
+sets the diameter to
+\family sans
+num
+\begin_inset space \thinspace{}
+\end_inset
+
+×
+\begin_inset space \thinspace{}
+\end_inset
+
+minimum(width and height of box)
+\family default
+.
+ The default is
+\series bold
+
+\backslash
+cornersize{0.5}
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cornersize*{1.5cm}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "25col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\align center
+Oval box with
+\series bold
+
+\backslash
+cornersize
+\series default
+
+\begin_inset space \thinspace{}
+\end_inset
+
+=
+\begin_inset space \thinspace{}
+\end_inset
+
+1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cornersize{0.5}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The default background color red of
+\family sans
+shaded background
+\family default
+ boxes can either be changed locally with the command
+\series bold
+
+\backslash
+definecolor{shadecolor}
+\series default
+ or globally with the menu
+\family sans
+Tools\SpecialChar menuseparator
+Preferences\SpecialChar menuseparator
+Colors\SpecialChar menuseparator
+shaded
+\begin_inset space ~
+\end_inset
+
+box
+\family default
+.
+ The scheme of the
+\series bold
+
+\backslash
+definecolor
+\series default
+ command is explained in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
+
+\end_inset
+
+.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Note that
+\series bold
+
+\backslash
+definecolor
+\series default
+ requires the \SpecialChar LaTeX
+-package
+\series bold
+color
+\series default
+ in the preamble, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+ For example the appearance of the following shaded background box is set
+ with the \SpecialChar TeX
+ Code command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Shaded
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+
+\color yellow
+This is yellow text in a
+\color none
+
+\family sans
+\color yellow
+shaded background
+\family default
+\color none
+
+\color yellow
+box with dark green background.
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{rgb}{1,0,0}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Manually changed sizes and colors are valid for all boxes following the
+ commands that change them.
+\end_layout
+
+\begin_layout Section
+Minipages
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Minipages"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Minipages
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Minipages are treated by \SpecialChar LaTeX
+ as pages within pages and can therefore for example
+ have their own footnotes.
+\end_layout
+
+\begin_layout Standard
+Minipages are useful when you write documents with different languages.
+\end_layout
+
+\begin_layout Standard
+Below are two example minipages side by side.
+ Their width is set to 45
+\begin_inset space \thinspace{}
+\end_inset
+
+col% and they are separated by a horizontal fill, that was inserted via
+ the menu
+\family sans
+Insert\SpecialChar menuseparator
+Special
+\begin_inset space ~
+\end_inset
+
+Formatting\SpecialChar menuseparator
+Horizontal
+\begin_inset space ~
+\end_inset
+
+Fill
+\family default
+.
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "45col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+
+\lang ngerman
+Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang ngerman
+Dies ist eine deutsche Fußnote.
+\end_layout
+
+\end_inset
+
+.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+\end_layout
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "45col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+This is an English footnote.
+\end_layout
+
+\end_inset
+
+ This is an English Text.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The document-wide paragraph settings are ignored within minipages.
+ That means that there will be no space between paragraphs in minipages
+ although you set it to e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\family sans
+MedSkip
+\family default
+ in the document settings.
+\end_layout
+
+\begin_layout Standard
+Minipages can also be used to set a background color for text parts, see
+ section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ You cannot have floats or margin notes inside minipages but minipages can
+ be used inside tables, floats, and other boxes.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\SpecialChar LyX
+ has also basic support for minipages whose size is automatically determined
+ by the width of their contents, via the module
+\family sans
+Variable-width Minipages
+\family default
+.
+ The \SpecialChar LyX
+ example file
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of variable-width minipages used for placing two floats
+ side-by-side.
+\end_layout
+
+\begin_layout Section
+Parboxes
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Parboxes"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Parboxes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Parboxes are very similar to minipages with the difference that they cannot
+ have footnotes.
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "33col%"
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+This a text within a parbox.
+ This a text within a parbox.
+\end_layout
+
+\begin_layout Plain Layout
+This footnote won't appear:
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+This footnote is inside a parbox and will therefore not appear.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Boxes for Words and Characters
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Characters
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Prevent Hyphenation
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Prevent-Hyphenation"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+to Prevent Hyphenation
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You can use the box type
+\family sans
+Makebox
+\family default
+ to prevent words or text from being hyphenated.
+\begin_inset Newline newline
+\end_inset
+
+Here is an example text:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+To prevent the hyphenation of the word
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+, put the word into a box, set the
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+box
+\family default
+ to
+\family sans
+Makebox
+\family default
+ and use no explicit width.
+\end_layout
+
+\begin_layout Standard
+This is the result:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+You can alternatively set the command
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+
+\backslash
+-
+\series default
+
+\begin_inset Quotes grd
+\end_inset
+
+ as \SpecialChar TeX
+ Code directly before the word:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+-
+\end_layout
+
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Of course the word now protrudes over the side margin.
+ To avoid this, add via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Formatting\SpecialChar menuseparator
+Ragged
+\begin_inset space ~
+\end_inset
+
+Line
+\begin_inset space ~
+\end_inset
+
+Break
+\family default
+ (shortcut
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+) a line break before the word:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsection
+Vertical Alignment
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Vertical-Alignment"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+for Vertical Alignment
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Raiseboxes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+With the help of the command
+\series bold
+
+\backslash
+raisebox
+\series default
+ you can align words, characters or other boxes vertically relative to the
+ surrounding text.
+
+\series bold
+
+\backslash
+raisebox
+\series default
+ is used with the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{lift}[height][depth]{box content}
+\end_layout
+
+\begin_layout Standard
+The lift can be a positive value to raise the box or a negative value to
+ lower the box.
+\end_layout
+
+\begin_layout Standard
+To align for example the word
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+ so that the bottom of the
+\begin_inset Quotes eld
+\end_inset
+
+deepest
+\begin_inset Quotes erd
+\end_inset
+
+ character
+\begin_inset Quotes eld
+\end_inset
+
+p
+\begin_inset Quotes erd
+\end_inset
+
+ is at the baseline, insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{
+\backslash
+depth}{
+\end_layout
+
+\begin_layout Standard
+in \SpecialChar TeX
+ Code before the word.
+ After the word insert a closing brace
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+}
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ in \SpecialChar TeX
+ Code.
+\begin_inset Newline newline
+\end_inset
+
+This is the result:
+\end_layout
+
+\begin_layout Standard
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{
+\backslash
+depth}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a raised word.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you raise or lower characters in a line, the line distance will be
+ spread:
+\end_layout
+
+\begin_layout Standard
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{-
+\backslash
+depth}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a lowered word.
+\begin_inset Newline newline
+\end_inset
+
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{0.5cm}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+testing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a raised word.
+\end_layout
+
+\begin_layout Standard
+If you want to prevent this for a certain reason, set the box height to
+ a zero value.
+ For example use
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{-
+\backslash
+depth}[0pt]{
+\end_layout
+
+\begin_layout Standard
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{-
+\backslash
+depth}[0pt]{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a lowered word.
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{0.5cm}[0pt]{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+testing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a raised word.
+\end_layout
+
+\begin_layout Section
+Colored Boxes
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Colored-Boxes"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Color
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To color the background of a box just select the color you like in the box
+ dialog.
+ This is for example a box with orange background:
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "orange"
+status open
+
+\begin_layout Plain Layout
+Box with orange background
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you use the decoration
+\family sans
+Simple
+\begin_inset space ~
+\end_inset
+
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame
+\family default
+ you can set a frame color.
+ In this case you must also specify a background color (LyX sets white as
+ default).
+ Here is an example:
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "teal"
+backgroundcolor "yellow"
+status open
+
+\begin_layout Plain Layout
+Box with teal frame color and yellow background color
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Of course you can also have colored text inside a colored box:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "cyan"
+backgroundcolor "magenta"
+status open
+
+\begin_layout Plain Layout
+
+\color yellow
+This is colored text within a colored, framed box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you need another color than the predefined ones, you can define your
+ own color as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
+
+\end_inset
+
+.
+ To use your own color you must typeset the box by using TeX code:
+\end_layout
+
+\begin_layout Standard
+Colored boxes without frame are created with the command
+\series bold
+
+\backslash
+colorbox
+\series default
+.
+ It has the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+colorbox{color}{box content}
+\end_layout
+
+\begin_layout Standard
+The box content can also be a box and colored boxes can also be within other
+ boxes.
+ To have e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+a darkgreen background for a word, insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+colorbox{darkgreen}{
+\end_layout
+
+\begin_layout Standard
+before the word in \SpecialChar TeX
+ Code.
+ After the word insert a closing brace
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+}
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ in \SpecialChar TeX
+ Code.
+\begin_inset Newline newline
+\end_inset
+
+This is the result:
+\end_layout
+
+\begin_layout Standard
+This is a line where the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+colorbox{darkgreen}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Attention!
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ has a darkgreen background.
+\end_layout
+
+\begin_layout Standard
+Framed, colored boxes are created with the command
+\series bold
+
+\backslash
+fcolorbox
+\series default
+.
+ It has the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+fcolorbox{frame color}{box color}{box content}
+\end_layout
+
+\begin_layout Section
+Rotated and Scaled Boxes
+\end_layout
+
+\begin_layout Standard
+To use the boxes described in this section, the module
+\family sans
+GraphicBoxes
+\family default
+ must be loaded in the document settings.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Not all DVI viewers are able to display rotated or scaled material.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Floats are not allowed inside a rotated or scaled box.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Rotated Boxes
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+rotated
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Rotated Material
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To rotate material, you can put it into a
+\family sans
+Rotatebox
+\family default
+.
+ Such a box is inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Rotatebox
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+The rotation origin can be specified via the inset
+\family sans
+Origin
+\family default
+ (menu
+\family sans
+Insert\SpecialChar menuseparator
+Origin
+\family default
+) in the form
+\series bold
+origin=position
+\series default
+.
+ The following positions are possible:
+\emph on
+c
+\emph default
+ (center),
+\emph on
+l
+\emph default
+ (left),
+\emph on
+r
+\emph default
+ (right),
+\emph on
+b
+\emph default
+ (bottom),
+\emph on
+t
+\emph default
+ (top), along with meaningful combinations of the four base positions.
+ For example
+\emph on
+lt
+\emph default
+ means that the rotation origin is at the top left corner of the box.
+ When no rotation origin is specified, the position
+\emph on
+l
+\emph default
+ will be used.
+ The rotation angle is a number that can be negative that specifies the
+ angle in degrees.
+ The rotation direction is counterclockwise.
+\end_layout
+
+\begin_layout Standard
+In the following example
+\series bold
+origin=c
+\series default
+ was inserted to the
+\family sans
+Origin
+\family default
+ inset and
+\series bold
+60
+\series default
+ was inserted to the
+\family sans
+Angle
+\family default
+ inset.
+\end_layout
+
+\begin_layout Standard
+This is a line
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+origin=c
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+60
+\end_layout
+
+\end_inset
+
+with rotated
+\end_layout
+
+\end_inset
+
+ text.
+\end_layout
+
+\begin_layout Standard
+The box content can also be another box or an inline formula:
+\end_layout
+
+\begin_layout Standard
+This is a line
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+origin=r
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+-60
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Doublebox
+position "c"
+hor_pos "c"
+has_inner_box 0
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "1in"
+special "width"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status collapsed
+
+\begin_layout Plain Layout
+with rotated
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ framed text
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+origin=lb
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+60
+\end_layout
+
+\end_inset
+
+
+\begin_inset Formula $\int A\,\mathrm{d}x=B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ and a formula.
+\end_layout
+
+\begin_layout Standard
+or an image or table:
+\end_layout
+
+\begin_layout Standard
+This is a line
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+origin=lb
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+90
+\end_layout
+
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/Star-structure.pdf
+ lyxscale 50
+ width 25col%
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ with a rotated image
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+-90
+\end_layout
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+q
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+w
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+r
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ and table.
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+rotated
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Rotating
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ If the
+\family sans
+Angle
+\family default
+ inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
+
+ errors when viewing/exporting the document.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Scaled Boxes
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Boxes
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+scaled
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Scaled Material
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To scale material put it into a
+\family sans
+Scalebox
+\family default
+.
+ Such a box is inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Scalebox
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+The
+\family sans
+Scalebox
+\family default
+ inset has the mandatory inset
+\family sans
+H-Factor
+\family default
+ and the optional inset
+\family sans
+V-Factor
+\family default
+ (inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+V-Factor)
+\family default
+.
+ Input there the horizontal and vertical scale factor, respectively.
+ If no
+\family sans
+V-Factor
+\family default
+ inset is used, the horizontal factor will also be used as the vertical
+ one.
+\end_layout
+
+\begin_layout Standard
+To get for example the double text size, compared to the document text size,
+ insert
+\series bold
+2
+\series default
+ into the
+\family sans
+H-Factor
+\family default
+ inset.
+ An example:
+\begin_inset Flex Scalebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+
+Hello
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+2
+\series default
+ as
+\family sans
+H-Factor
+\family default
+ and
+\series bold
+1
+\series default
+ as
+\family sans
+V-Factor
+\family default
+ distorts the
+\begin_inset Flex Scalebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+
+Hello
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+If the scaling factor is negative, the box content will be mirrored.
+ Therefore
+\series bold
+-1
+\series default
+ as
+\family sans
+H-Factor
+\family default
+ and
+\series bold
+1
+\series default
+ as
+\family sans
+V-Factor
+\family default
+ can be used to create mirror writing:
+\begin_inset Flex Scalebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+-1
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+
+Hello
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+1
+\series default
+ as
+\family sans
+H-Factor
+\family default
+ and
+\series bold
+-1
+\series default
+ as
+\family sans
+V-Factor
+\family default
+ reflects the
+\begin_inset Flex Scalebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+-1
+\end_layout
+
+\end_inset
+
+Hello
+\end_layout
+
+\end_inset
+
+ at the base line.
+\end_layout
+
+\begin_layout Standard
+The
+\family sans
+Reflectbox
+\family default
+ (menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Reflectbox
+\family default
+) is equivalent to
+\series bold
+-1
+\series default
+ as
+\family sans
+H-Factor
+\family default
+ and
+\series bold
+1
+\series default
+ as
+\family sans
+V-Factor
+\family default
+for a
+\family sans
+Scalebox
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ If the
+\family sans
+H-Factor
+\family default
+ inset is empty or contains other characters than numbers you will get LaTeX
+ errors when viewing/exporting the document.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The
+\family sans
+Resizebox
+\family default
+ (menu
+\family sans
+Insert\SpecialChar menuseparator
+Custom Insets\SpecialChar menuseparator
+Resizebox
+\family default
+) is used to scale the content to a defined width and height.
+ The
+\family sans
+Resizebox
+\family default
+ inset has the mandatory inset
+\family sans
+Width
+\family default
+ and the optional inset
+\family sans
+Height
+\family default
+ (inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Height)
+\family default
+.
+ Input there the width and height, respectively, as value with a unit.
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Units"
+
+\end_inset
+
+ lists the possible units.
+ If there is an exclamation mark
+\series bold
+!
+\series default
+ in one of the two insets, the size is set so that the aspect ratio of the
+ box content is kept.
+ If no
+\family sans
+Height
+\family default
+ inset is used an exclamation mark will internally be used for the height.
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+2cm
+\series default
+ as
+\family sans
+Width
+\family default
+ and
+\series bold
+1cm
+\series default
+ as
+\family sans
+Height
+\family default
+ produces:
+\begin_inset Flex Resizebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+1cm
+\end_layout
+
+\end_inset
+
+Hello
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+2cm
+\series default
+ as
+\family sans
+Width
+\family default
+ and
+\series bold
+!
+\series default
+ as
+\family sans
+Height
+\family default
+ (or no
+\family sans
+Height
+\family default
+) produces:
+\begin_inset Flex Resizebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+!
+\end_layout
+
+\end_inset
+
+Hello
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ If the
+\family sans
+Width
+\family default
+ inset is empty or contains an invalid unit you will get LaTeX errors when
+ viewing/exporting the document.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The boxes can be combined in any order.
+ As example a
+\family sans
+Reflectbox
+\family default
+ inside a
+\family sans
+Resizebox
+\family default
+ which is in turn inside a
+\family sans
+Rotatebox
+\family default
+:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Flex Rotatebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+origin=c
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+-45
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Resizebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
+Hello
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+Images, tables, and inline formulas are allowed as box content:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Flex Resizebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/Star-structure.pdf
+ lyxscale 50
+ width 25col%
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Resizebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+2cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+q
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+w
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+r
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Resizebox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+3cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset Flex Reflectbox
+status open
+
+\begin_layout Plain Layout
+\begin_inset Formula $\int A\,\mathrm{d}x=B$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Figures
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+scaled
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Scaling
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+When the global formula style
+\series bold
+fleqn
+\series default
+ is used in the document
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+When
+\begin_inset Quotes eld
+\end_inset
+
+fleqn
+\begin_inset Quotes erd
+\end_inset
+
+ is added to the document class options.
+\end_layout
+
+\end_inset
+
+, display style formulas can also be scaled.
+\end_layout
+
+\begin_layout Chapter
+Objects Surrounded by Text
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Surrounded by text
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Wrap Floats
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Wrap-Floats"
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Wrap Floats
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Surrounded by text
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Wrap Floats
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Wrap figure
+lines 0
+placement l
+overhang 1cm
+width "40col%"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/2D-intensity-plot.pdf
+ width 40col%
+ scaleBeforeRotation
+ rotateOrigin center
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:This-is-a"
+
+\end_inset
+
+This is a
+\change_deleted 274215730 1669306080
+figure wrap
+\change_inserted 274215730 1669306089
+wrapped figure
+\change_unchanged
+ float.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ This float type is used if you want to wrap text around a figure or table
+ so that it only occupies some fraction of the column width.
+ It can be inserted using the menu
+\family sans
+Insert\SpecialChar menuseparator
+Floats\SpecialChar menuseparator
+
+\change_inserted 274215730 1669306057
+Wrapped
+\begin_inset space ~
+\end_inset
+
+Figure
+\change_deleted 274215730 1669306060
+Figure
+\begin_inset space ~
+\end_inset
+
+Wrap
+\begin_inset space ~
+\end_inset
+
+Float
+\change_unchanged
+
+\family default
+ or
+\change_deleted 274215730 1669306067
+
+\family sans
+Table
+\begin_inset space ~
+\end_inset
+
+Wrap
+\begin_inset space ~
+\end_inset
+
+Float
+\change_inserted 274215730 1669306070
+Wrapped
+\begin_inset space ~
+\end_inset
+
+Table
+\change_unchanged
+
+\family default
+ if the \SpecialChar LaTeX
+-package
+\series bold
+wrapfig
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+wrapfig
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ is installed.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Installing a \SpecialChar LaTeX
+-package is explained it in the
+\emph on
+\SpecialChar LaTeX
+
+\begin_inset space ~
+\end_inset
+
+Configuration
+\emph default
+ manual.
+\end_layout
+
+\end_inset
+
+ The settings of the float can be modified by right-clicking on the float
+ box.
+ The mandatory settings are the float
+\family sans
+Placement
+\family default
+ and its
+\family sans
+Width
+\family default
+.
+ Optional are the
+\family sans
+Overhang
+\family default
+ that specifies how much the float is set into the paragraph
+\begin_inset space \thinspace{}
+\end_inset
+
+/
+\begin_inset space \thinspace{}
+\end_inset
+
+page margin, and the
+\family sans
+Line
+\begin_inset space ~
+\end_inset
+
+span
+\family default
+ that specifies how many text lines the float will approximately need.
+ The line span is often hard to approximate; so it is better only to use
+ it when you encounter float placement problems.
+ You can furthermore decide if \SpecialChar LaTeX
+ is allowed to let the float float within
+ the paragraph or to surrounding paragraphs.
+ Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:This-is-a"
+
+\end_inset
+
+ is an example text wrap float with a width of 40
+\begin_inset space \thinspace{}
+\end_inset
+
+col%, 1
+\begin_inset space \thinspace{}
+\end_inset
+
+cm overhang, set to the left.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Text
+\begin_inset space ~
+\end_inset
+
+wrap float floats are fragile! E.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+having a figure too close to the bottom of the page can mess things up in
+ such a way that the float does not appear in the output or that it is placed
+ over some other text.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+In general, the following applies for wrap floats:
+\end_layout
+
+\begin_layout Itemize
+They should not be placed in paragraphs that run over a page break.
+ That means that wrap floats are better inserted in their exact place when
+ the document is almost finished and you are able to estimate where page
+ breaks will appear.
+\end_layout
+
+\begin_layout Itemize
+They should either be placed in their own paragraph before the paragraph
+ where they should wrap into or within a paragraph.
+\end_layout
+
+\begin_layout Itemize
+In consecutive paragraphs they may cause troubles, so ensure that there
+ is a text paragraph between them as separator.
+\end_layout
+
+\begin_layout Itemize
+They are not allowed in section headings or tables.
+\end_layout
+
+\begin_layout Itemize
+Their numbering and referencing works as described in chap.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "chap:Floats"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+Surrounded Fixed Objects
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Surrounded by text
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Fixed objects
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The wrap floats described in sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Wrap-Floats"
+
+\end_inset
+
+ have these positions in the paragraph:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+ or
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To get an object exactly at the position where it is inserted, for example
+ to get one of these positions:
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="2">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Info
+type "icon"
+arg "dialog-show-new-inset graphics"
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+text
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\noindent
+you can use the \SpecialChar LaTeX
+-package
+\series bold
+picinpar
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+picinpar
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+.
+ Here is an example:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifpicinpar
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+picinpar
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+begin{window}[2,c,{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/2D-intensity-plot.pdf
+ lyxscale 60
+ width 40col%
+ scaleBeforeRotation
+ rotateOrigin center
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+},]
+\end_layout
+
+\begin_layout Plain Layout
+
+{}
+\end_layout
+
+\end_inset
+
+
+\size small
+It was in the spring of the year 1894 that all London was interested, and
+ the fashionable world dismayed, by the murder of the Honourable Ronald
+ Adair under most unusual and inexplicable circumstances.
+ The public has already learned those particulars of the crime which
+\size default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark{}
+\end_layout
+
+\end_inset
+
+
+\size small
+ came out in the police investigation, but a good deal was suppressed upon
+ that occasion, since the case for the prosecution was so overwhelmingly
+ strong that it was not necessary to bring forward all the facts.
+ Only now, at the end of nearly ten years, am I allowed to supply those
+ missing links which make up the whole of that remarkable chain.
+\size default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+end{window}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotetext{
+\end_layout
+
+\end_inset
+
+Footnote of the paragraph with the fixed object.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Surrounded fixed objects are used to let text float around them, at which
+ the object's position in the paragraph can be determined by the number
+ of lines above it.
+ In contrary to floats is it not possible to have a numbered caption.
+\end_layout
+
+\begin_layout Standard
+A fixed object is inserted by adding the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+begin{window}[2,c,{
+\end_layout
+
+\begin_layout Standard
+as \SpecialChar TeX
+ Code at the beginning of the paragraph.
+ The first parameter in the bracket, here '2', defines the number of lines
+ above the object, the second, here 'c', the position of the object.
+ The positions 'l', 'c' and 'r' (for left, center, right) are possible.
+ Behind the command you insert the object.
+ In this example an image with a width of 40
+\begin_inset space \thinspace{}
+\end_inset
+
+% of the text column width was inserted.
+ The object can also be a table, a box or an equation.
+ Behind the object the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+},description text]
+\begin_inset Newline newline
+\end_inset
+
+{}
+\end_layout
+
+\begin_layout Standard
+is inserted.
+ Note that the
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+{}
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ is in the second line.
+ The description text is optional.
+ The text surrounding the object must be in the same paragraph as the object,
+ so it must begin directly after the
+\series bold
+{}
+\series default
+.
+ At the end of the paragraph insert the command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+end{window}
+\end_layout
+
+\begin_layout Standard
+Within a paragraph with a fixed object, you cannot insert footnotes in the
+ normal way.
+ You have to use instead the command
+\series bold
+
+\backslash
+footnotemark
+\series default
+ inside the paragraph and outside the command
+\series bold
+
+\backslash
+footnotetext
+\series default
+ as described in sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Footnotes"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+picinpar
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the \SpecialChar LaTeX
+-package
+\series bold
+picinpar
+\series default
+ to see the following part of this section in the output.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Initials
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Initials
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+Surrounded by text
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Initials
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To use initials, you must have the \SpecialChar LaTeX
+-package
+\series bold
+lettrine
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+lettrine
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+ installed and use the module
+\family sans
+Initials
+\family default
+ in your document (menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Modules
+\family default
+).
+ To insert an initial, use the style
+\family sans
+Initial
+\family default
+.
+ This style has a mandatory and two optional arguments.
+ The arguments are inserted via the
+\family sans
+Insert
+\family default
+ menu.
+ The mandatory argument
+\family sans
+Initial
+\family default
+ contains the letter(s) that is the initial, the argument
+\family sans
+Rest
+\begin_inset space ~
+\end_inset
+
+of
+\begin_inset space ~
+\end_inset
+
+Initial
+\family default
+ contains the rest of the word or text of the initial letter(s).
+ The argument
+\family sans
+Options
+\family default
+ contains parameters to modify the initial.
+ For more information about the possible parameters see the documentation
+ of
+\series bold
+lettrine
+\series default
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "lettrine"
+literal "true"
+
+\end_inset
+
+.
+ The style itself contains the text that is surrounding the initial.
+ The usual style is hereby that the word whose first letter is the initial,
+ is printed with
+\shape smallcaps
+small caps
+\shape default
+.
+\end_layout
+
+\begin_layout Standard
+Here are some examples:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+iflettrine
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+lettrine
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Enumerate
+No optional argument, the initial is the letter 'I' in the math font
+\begin_inset Formula $\mathfrak{Fraktur}$
+\end_inset
+
+:
+\end_layout
+
+\begin_deeper
+\begin_layout Initial
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathfrak{I}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 3
+status open
+
+\begin_layout Plain Layout
+t
+\end_layout
+
+\end_inset
+
+ was in the spring of the year 1894 that all London was interested, and
+ the fashionable world dismayed, by the murder of the Honourable Ronald
+ Adair under most unusual and inexplicable circumstances.
+ The public has already learned those particulars of the crime which came
+ out in the police investigation, but a good deal was suppressed upon that
+ occasion, since the case for the prosecution was so overwhelmingly strong
+ that it was not necessary to bring forward all the facts.
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\end_deeper
+\begin_layout Enumerate
+Only one line is surrounding the initial, which is formed by two letters
+ in standard font and no text is printed in small caps:
+\end_layout
+
+\begin_deeper
+\begin_layout Initial
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+lines=1
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+It
+\end_layout
+
+\end_inset
+
+ was in the spring of the year 1894 that all London was interested, and
+ the fashionable world dismayed, by the murder of the Honourable Ronald
+ Adair under most unusual and inexplicable circumstances.
+ The public has already learned those particulars of the crime which came
+ out in the police investigation, but a good deal was suppressed upon that
+ occasion, since the case for the prosecution was so overwhelmingly strong
+ that it was not necessary to bring forward all the facts.
+\end_layout
+
+\end_deeper
+\begin_layout Enumerate
+Magenta, hanging initial over 3
+\begin_inset space ~
+\end_inset
+
+lines in the math font
+\begin_inset Formula $\mathcal{CALLIGRAPHIC}$
+\end_inset
+
+, the text
+\begin_inset Quotes eld
+\end_inset
+
+t was in the spring
+\begin_inset Quotes erd
+\end_inset
+
+ is in
+\shape smallcaps
+small caps
+\shape default
+; to color the initial, you must insert this command before the initial:
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+LettrineFontHook}{
+\backslash
+color{color}}
+\series default
+
+\begin_inset Newline newline
+\end_inset
+
+where the second
+\emph on
+color
+\emph default
+ can be
+\begin_inset Quotes eld
+\end_inset
+
+red
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+blue
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+green
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+yellow
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+cyan
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+magenta
+\begin_inset Quotes erd
+\end_inset
+
+,
+\begin_inset Quotes eld
+\end_inset
+
+black
+\begin_inset Quotes erd
+\end_inset
+
+ or
+\begin_inset Quotes eld
+\end_inset
+
+white
+\begin_inset Quotes erd
+\end_inset
+
+, and add this command to the document preamble:
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+@ifundefined{textcolor}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset space ~
+\end_inset
+
+{
+\backslash
+usepackage{color}}{}
+\end_layout
+
+\begin_deeper
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+LettrineFontHook}{
+\backslash
+color{magenta}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+makes the initial magenta
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Initial
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+lines=3, lhang=0.33, loversize=0.25
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 2
+status open
+
+\begin_layout Plain Layout
+\begin_inset Formula $\mathcal{I}$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Argument 3
+status open
+
+\begin_layout Plain Layout
+t was in the spring
+\end_layout
+
+\end_inset
+
+ of the year 1894 that all London was interested, and the fashionable world
+ dismayed, by the murder of the Honourable Ronald Adair under most unusual
+ and inexplicable circumstances.
+ The public has already learned those particulars of the crime which came
+ out in the police investigation, but a good deal was suppressed upon that
+ occasion, since the case for the prosecution was so overwhelmingly strong
+ that it was not necessary to bring forward all the facts.
+\end_layout
+
+\end_deeper
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the \SpecialChar LaTeX
+-package
+\series bold
+lettrine
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the \SpecialChar LaTeX
+-package
+\series bold
+lettrine
+\series default
+ to see the following part of this section in the output.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Chapter
+External Document Parts
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+External Document Parts
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+With the menu
\family sans
-Settings
+Insert\SpecialChar menuseparator
+File
\family default
-.
- The box dialog offers the
+ you can insert external material into your document.
+ This can be:
+\end_layout
+
+\begin_layout Description
+LyX
+\begin_inset space ~
+\end_inset
+
+Document Another \SpecialChar LyX
+ document; its content is directly inserted to your document.
+\end_layout
+
+\begin_layout Description
+Plain
+\begin_inset space ~
+\end_inset
+
+Text A text document; each line is inserted in your document as a separate
+ paragraph.
+\end_layout
+
+\begin_layout Description
+Plain
+\begin_inset space ~
+\end_inset
+
+Text,
+\begin_inset space ~
+\end_inset
+
+Join
+\begin_inset space ~
+\end_inset
+
+Lines A text document; text lines are inserted in your document continuously
+ but an empty text line creates a new paragraph.
+\end_layout
+
+\begin_layout Description
+External
+\begin_inset space ~
+\end_inset
+
+Material Files in various formats.
+\end_layout
+
+\begin_layout Description
+Child
+\begin_inset space ~
+\end_inset
+
+Document \SpecialChar LyX
+ or \SpecialChar LaTeX
+ documents.
+\end_layout
+
+\begin_layout Section
+External Material
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+External Document Parts
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+External Material
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The external material feature allows you to insert files into your document
+ without converting them to a format that can be read by the document output
+ format.
+ \SpecialChar LyX
+ takes care of the necessary conversions.
+ This is similar to images that can be inserted in various image formats
+ in \SpecialChar LyX
+ documents.
+ When you have enabled Instant Preview in \SpecialChar LyX
+'s preferences under
\family sans
-Inner
+Look
\begin_inset space ~
\end_inset
-Box
+and
+\begin_inset space ~
+\end_inset
+
+feel\SpecialChar menuseparator
+Graphics
\family default
- types
+, the external material types Dia and Xfig are directly shown in \SpecialChar LyX
+.
+\end_layout
+
+\begin_layout Standard
+External material can be inserted via the
\family sans
-Parbox
+External Material
\family default
- and
+ dialog that is accessible with the menu
\family sans
-Minipage
+Insert\SpecialChar menuseparator
+File\SpecialChar menuseparator
+External
+\begin_inset space ~
+\end_inset
+
+Material
\family default
.
- The type
+ Currently the following file types (
\family sans
-Minipage
+Templates
\family default
- is the default for new boxes and is explained in section
+) are allowed:
+\end_layout
+
+\begin_layout Description
+Chess
\begin_inset space ~
\end_inset
+diagram This template supports chess position diagrams made with the program
+
+\series bold
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Minipages"
+\begin_inset CommandInset href
+LatexCommand href
+name "XBoard"
+target "https://en.wikipedia.org/wiki/XBoard"
+literal "false"
\end_inset
-; the type
+
+\series default
+.
+\end_layout
+
+\begin_layout Description
+Dia
+\begin_inset space ~
+\end_inset
+
+diagram This template supports diagrams created with the program
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Dia"
+target "https://en.wikipedia.org/wiki/Dia_(software)"
+literal "false"
+
+\end_inset
+
+
+\series default
+.
+\end_layout
+
+\begin_layout Description
+Inkscape
+\begin_inset space ~
+\end_inset
+
+figure This template supports specific scalable images derived from scalable
+ vector graphics (SVG), in which the contained text is replaced by a version
+ typeset by \SpecialChar LaTeX
+ (and hence in the current document font).
+ It relies on a feature of the program
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Inkscape"
+target "https://inkscape.org/"
+literal "false"
+
+\end_inset
+
+
+\series default
+ which creates a special PDF or EPS and \SpecialChar LaTeX
+ file from a given SVG file (in
+
+\noun on
+Inkscape
+\noun default
+ itself, the feature is available via the option
\family sans
-Parbox
+Omit text in PDF and create LaTeX file
\family default
- is described in section
+ when saving a drawing as PDF or EPS).
+ The benefit of such files is a uniform text style throughout the whole
+ document.
+\begin_inset Newline newline
+\end_inset
+
+The external template reads SVG files and uses a converter program to generate
+ the respective PDF\SpecialChar breakableslash
+EPS and \SpecialChar LaTeX
+ files (via
+\noun on
+
+\noun default
+Inkscape
+\noun on
+)
+\noun default
+ on the fly, so you don't have to export those files yourself.
+ If you prefer the latter and want use given
+\family typewriter
+*.pdf
+\family default
+ and
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps
+\family default
+ and
+\family typewriter
+*.eps_tex
+\family default
+ files instead, simply input the respective
+\family typewriter
+*.pdf_tex
+\family default
+ or
+\family typewriter
+*.eps_tex
+\family default
+ file via the
+\family sans
+Child Documents
+\family default
+ dialog (see sec.
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Parboxes"
+reference "sec:Child-Documents"
\end_inset
-.
-\end_layout
+) rather than using this template.
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
-Boxes are not numbered and can therefore not be referenced like floats or
- footnotes.
+You can use \SpecialChar TeX
+ code commands such as
+\series bold
+
+\backslash
+Large
+\series default
+,
+\series bold
+
+\backslash
+small
+\series default
+, etc.
+\begin_inset space \space{}
+\end_inset
+
+in the text of the SVG.
+ The size of the font will be taken from the settings of the \SpecialChar LyX
+ document.
+ Please refer to
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Inkscape"
+literal "false"
+
+\end_inset
+
+ for more information and examples.
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_layout Description
+Lilypond
+\begin_inset space ~
+\end_inset
+
+typeset
+\begin_inset space ~
+\end_inset
+
+music This template is used for music notation typeset with the program
+\begin_inset Newline linebreak
+\end_inset
-\begin_layout Plain Layout
\series bold
-Note:
+
+\begin_inset CommandInset href
+LatexCommand href
+name "LilyPond"
+target "https://en.wikipedia.org/wiki/LilyPond"
+literal "false"
+
+\end_inset
+
+
\series default
- Boxes must not be the item in an
+.
+ For \SpecialChar LyX
+'s extended support for LilyPond have a look at \SpecialChar LyX
+'s example file
+\emph on
+lilypond.lyx
+\emph default
+.
+\end_layout
+
+\begin_layout Description
+PDF
+\begin_inset space ~
+\end_inset
+
+pages With this template you can insert PDF documents to your document.
+ To specify the range of pages that should be included, use the option
+\series bold
+pages
+\series default
+ in the
\family sans
-Itemize
+Option
\family default
- or
+ field in the
\family sans
-Description
+LaTeX and LyX options
\family default
- environment.
-\end_layout
+ tab.
+ The argument of this option is a comma separated list, containing page
+ numbers (insert as option
+\series bold
+pages={3,5,6,8}
+\series default
+), ranges of page numbers (
+\series bold
+pages={4-9}
+\series default
+) or any combination.
+ To insert empty pages use {}.
+ E.
+\begin_inset space \thinspace{}
+\end_inset
+g.
+\begin_inset space ~
\end_inset
-\end_layout
+\series bold
+pages={3,{},8-11,15}
+\series default
+ will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
+ Page ranges are specified in the syntax
+\emph on
+start
+\emph default
+-
+\emph on
+stop
+\emph default
+.
+ This selects all pages from
+\emph on
+start
+\emph default
+ to
+\emph on
+stop
+\emph default
+.
+ Omitting
+\emph on
+start
+\emph default
+ defaults to the first page; omitting
+\emph on
+stop
+\emph default
+ defaults to the last page of the document.
+ The last page can also be selected with the keyword
+\series bold
+last
+\series default
+.
+ (This is only permitted in a page range.) So
+\series bold
+pages=-
+\series default
+ will insert all pages of the document and
+\series bold
+pages=last-1
+\series default
+ will insert all pages in reverse order.
+ If the pages option is not specified, only the first page of the PDF is
+ inserted.
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
-\begin_inset Note Greyedout
+The option
+\series bold
+noautoscale
+\series default
+ inserts the pages with their original size, if this option is not given,
+ the pages will be resized to fith the width of the page of your document.
+ In the tab
+\family sans
+Size and Rotation
+\family default
+ you can specify the width and height of the input pages and their rotation.
+ If another width than 100
+\begin_inset space \thinspace{}
+\end_inset
+
+Scale% is used, the option
+\series bold
+noautoscale
+\series default
+ will be overwritten.
+ For more info and possible options, have a look into the documentation
+ of the \SpecialChar LaTeX
+-package
+\series bold
+pdfpages
+\series default
+
+\begin_inset CommandInset citation
+LatexCommand cite
+key "pdfpages"
+literal "true"
+
+\end_inset
+
+.
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
status open
\begin_layout Plain Layout
+pdfpages
+\end_layout
+
+\end_inset
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+To use this template in a
+\family sans
+Beamer
+\family default
+ presentation you need to first insert an
+\family sans
+EndFrame
+\family default
+ environment and in a subsequent paragraph a \SpecialChar TeX
+ Code box containing the command
+
\series bold
-Note:
+
+\backslash
+setbeamertemplate{background canvas}{}
\series default
- For an unknown reason you can only set the
+.
+ Then you can insert as many paragraphs containing the PDFPages template
+ as you wish.
+ Behind the included PDF pages you can resume the Beamer presentation by
+ beginning a new frame or by starting a new section.
+ To avoid stray blank pages prior to the PDF pages, make sure to use the
+
\family sans
-Inner
+Default
+\family default
+ alignment for the paragraph containing the template.
+\begin_inset Newline newline
+\end_inset
+
+Here is an included PDF which is rotated by -5°:
+\begin_inset External
+ template PDFPages
+ filename clipart/Abstract.pdf
+ extra LaTeX "noautoscale, pages=-"
+ rotateAngle -5
+ rotateOrigin bottomleft
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Raster
\begin_inset space ~
\end_inset
-Box
-\family default
- type to
+image This can be used for bitmap images.
+ The image can be treated in the
\family sans
-None
+External material
\family default
- when you use a framed box.
- Boxes without an
+ dialog like the images that are usually included via the
\family sans
-Inner
+Graphics
+\family default
+ dialog as described in section
\begin_inset space ~
\end_inset
-Box
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Graphics-Dialog"
+
+\end_inset
+
+.
+ Here is an inserted raster image:
+\begin_inset External
+ template RasterImage
+ filename clipart/ToolbarEnvBox.png
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Spreadsheet With this template you can insert spreadsheets
+\begin_inset space \thinspace{}
+\end_inset
+
+/
+\begin_inset space \thinspace{}
+\end_inset
+
+tables in the format of
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Gnumeric"
+target "https://en.wikipedia.org/wiki/Gnumeric"
+literal "false"
+
+\end_inset
+
+
+\series default
+,
+\begin_inset CommandInset href
+LatexCommand href
+name "OpenDocument"
+target "https://en.wikipedia.org/wiki/OpenDocument"
+literal "false"
+
+\end_inset
+
+,
+\begin_inset CommandInset href
+LatexCommand href
+name "Microsoft Office XML"
+target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
+literal "false"
+
+\end_inset
+
+ and
+\begin_inset CommandInset href
+LatexCommand href
+name "Office Open XML"
+target "https://en.wikipedia.org/wiki/Office_Open_XML"
+literal "false"
+
+\end_inset
+
+.
+ For this feature \SpecialChar LyX
+ must have found the program
+\family typewriter
+ssconvert
\family default
- type and without frames are explained in section
+ during its configuration.
+ This program is part of Gnumeric, so that you must have Gnumeric installed,
+ also if you don't have tables in the Gnumeric format.
+ For examples and possible limitations have a look at \SpecialChar LyX
+'s example file
+\emph on
+spreadsheet.lyx
+\emph default
+.
+\end_layout
+
+\begin_layout Description
+Vector
+\begin_inset space ~
+\end_inset
+
+graphics This can be used for vector graphics.
+ 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
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Prevent-Hyphenation"
+reference "sec:Graphics-Dialog"
+
+\end_inset
+
+.
+ Here is an inserted vector graphics:
+\begin_inset External
+ template VectorGraphics
+ filename clipart/SVG-Drawing.svg
+ lyxscale 50
+ scale 33
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Xfig
+\begin_inset space ~
+\end_inset
+
+figure This template supports images created with the program
+\begin_inset CommandInset href
+LatexCommand href
+name "Xfig"
+target "https://en.wikipedia.org/wiki/Xfig"
+literal "false"
\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.
+\begin_inset Newline newline
+\end_inset
+
+External material is displayed in \SpecialChar LyX
+ either as a box like this:
+\begin_inset Graphics
+ filename clipart/ExternalMaterial.png
+ scale 95
+ scaleBeforeRotation
+
\end_inset
+ or as image, depending on the option
+\family sans
+Show in LyX
+\family default
+ in the
+\family sans
+LaTeX and LyX options
+\family default
+ tab of the 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
-Box Dialog
+Child Documents
\begin_inset CommandInset label
LatexCommand label
-name "sec:Box-Dialog"
+name "sec:Child-Documents"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Box Dialog
+External Document Parts
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Child Documents
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Size
+\end_inset
+
+
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Size
+Files
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Include
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-In the box dialog you can adjust the box geometry in the fields
-\family sans
-Width
-\family default
- and
-\family sans
-Height
-\family default
-.
- The available units for the geometry are explained in Table
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Units"
-
-\end_inset
-
-.
- The field
-\family sans
-Height
-\family default
- offers the following additional sizes:
\end_layout
-\begin_layout Description
-Depth This is the plain text
+\begin_layout Standard
+Child documents are used if 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 into several files that can be revised separately.
+ The different documents are then the so called
\begin_inset Quotes eld
\end_inset
-height
+child documents
\begin_inset Quotes erd
\end_inset
-.
- It ignores the total depth when there are multiple text lines in the box:
-\begin_inset Newline newline
-\end_inset
-
+, and a master document connects them to print the full document or parts
+ of it.
+ A child document inherits elements from its master, for example the \SpecialChar LaTeX
+ preamble,
+ the bibliography, and labels for cross-references.
+\end_layout
-\begin_inset Newline newline
+\begin_layout Standard
+To be able to work on child documents without the need to open their master,
+ specify in the child document the master in the menu
+\family sans
+ Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Document
+\begin_inset space ~
\end_inset
+Class
+\family default
+.
+ This master document will then be used in the background by \SpecialChar LyX
+ when you edit
+ the child document.
+\end_layout
-\begin_inset Newline newline
-\end_inset
-
+\begin_layout Standard
+Included documents are displayed in \SpecialChar LyX
+ as a box like this:
+\begin_inset Graphics
+ filename clipart/ChildDocument.png
+ scale 95
+ scaleBeforeRotation
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1in"
-height_special "depth"
-status collapsed
+\end_inset
-\begin_layout Plain Layout
-\align center
-Box height set to 1
-\begin_inset space \thinspace{}
+ To include child documents in a master document use the menu
+\family sans
+Insert\SpecialChar menuseparator
+File\SpecialChar menuseparator
+Child
+\begin_inset space ~
\end_inset
-Depth
+Documents
+\family default
+.
+ A dialog pops up where you can choose between four include methods:
\end_layout
+\begin_layout Description
+Include You can include \SpecialChar LyX
+ and \SpecialChar LaTeX
+ documents.
+ When you press the
+\family sans
+Edit
+\family default
+ button in the
+\family sans
+Child Document
+\family default
+ dialog, the included document will be opened in \SpecialChar LyX
+ in a new file tab so that
+ you can modify it.
+\begin_inset Newline newline
\end_inset
-\begin_inset Newline newline
-\end_inset
+\end_layout
+\begin_layout Standard
+Here is a child document inserted using
+\family sans
+Include
+\family default
+:
+\begin_inset CommandInset include
+LatexCommand include
+filename "DummyDocument1.lyx"
+literal "true"
-\begin_inset Newline newline
\end_inset
\end_layout
-\begin_layout Description
-Height This is the height of the text that is inside the box.
- A value of e.
-\begin_inset space \thinspace{}
+\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 a subsection of this section.
+ Labels of included documents can be referenced: Subsection
+\begin_inset space ~
\end_inset
-g.
-\begin_inset space \space{}
-\end_inset
-2 for this size will set the box height to 2
-\begin_inset space ~
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:External-Subsection-1"
+
\end_inset
-times the text height:
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "20col%"
-special "none"
-height "2in"
-height_special "height"
-status collapsed
+.
+\end_layout
+
+\begin_layout Standard
+The preamble of the child document is ignored; only the preamble of the
+ master document is used.
+ Branches in child documents will be ignored by the master document when
+ the master document does not have a branch with the same name.
+ Included documents are inserted starting on a new page and ending with
+ a page break.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
\begin_layout Plain Layout
-\align center
-Box height set to 2
-\begin_inset space \thinspace{}
-\end_inset
-Height
+\series bold
+Note:
+\series default
+ If you have included a \SpecialChar LyX
+ or \SpecialChar LaTeX
+ file, you are warned when you export/view the
+ document in case 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
-Total
-\begin_inset space ~
-\end_inset
+Input This method is very similar to the Include method.
+ The differences are:
+\end_layout
-Height This is the Height
-\begin_inset space \thinspace{}
-\end_inset
+\begin_deeper
+\begin_layout Itemize
+Input files don't start with a new page and don't end with a page break.
+\end_layout
-+
-\begin_inset space \thinspace{}
+\begin_layout Itemize
+Input files can be previewed in \SpecialChar LyX
+ when
+\family sans
+Instant
+\begin_inset space ~
\end_inset
-Depth:
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "20col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
-\align center
-Box height set to 1
-\begin_inset space \thinspace{}
+Preview
+\family default
+ is enabled in \SpecialChar LyX
+'s preferences under
+\family sans
+Look
+\begin_inset space ~
\end_inset
-Total
+and
\begin_inset space ~
\end_inset
-Height
+feel\SpecialChar menuseparator
+Graphics
+\family default
+.
\end_layout
-\end_inset
-
-
+\begin_layout Itemize
+You cannot exclude Input files via the menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Child Documents
+\family default
+.
\end_layout
-\begin_layout Description
-Width This sets the width of the box as height:
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1in"
-height_special "width"
-status collapsed
+\end_deeper
+\begin_layout Standard
+Here is a child document inserted using
+\family sans
+Input
+\family default
+:
+\begin_inset CommandInset include
+LatexCommand input
+filename "DummyDocument2.lyx"
+literal "true"
-\begin_layout Plain Layout
-\align center
-Box height set to 1
-\begin_inset space \thinspace{}
\end_inset
-Width
+
\end_layout
+\begin_layout Description
+Verbatim With this method any 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
-\end_layout
-
-\begin_layout Subsection
-Alignment
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Boxes ! Alignment
+
+
+\backslash
+textvisiblespace
\end_layout
\end_inset
-\end_layout
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-When you have chosen an
+ for every space character in the source code.
+ The difference from the method via the menu
\family sans
-Inner
+Insert\SpecialChar menuseparator
+File\SpecialChar menuseparator
+Plain
\begin_inset space ~
\end_inset
-Box
+Text
\family default
-, the vertical box alignment can be:
+ is that the document content is not shown in \SpecialChar LyX
+.
\end_layout
-\begin_layout Description
-Top This is an example text line.
-
-\begin_inset Box Boxed
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
-\align center
-This box is top-aligned.
-\end_layout
+\begin_layout Standard
+Here is a child document inserted as Verbatim:
+\begin_inset CommandInset include
+LatexCommand verbatiminput
+filename "DummyTextDocument.txt"
+literal "true"
\end_inset
- This is an example text line.
-\end_layout
-\begin_layout Description
-Middle This is an example text line.
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\begin_inset VSpace bigskip
+\end_inset
-\begin_layout Plain Layout
-\align center
-This box is middle-aligned.
-\end_layout
+ Here is a child document inserted as Verbatim using the
+\family sans
+Mark spaces in output
+\family default
+ option:
+\begin_inset CommandInset include
+LatexCommand verbatiminput*
+filename "DummyTextDocument.txt"
+literal "true"
\end_inset
- This is an example text line.
-\end_layout
-
-\begin_layout Description
-Bottom This is an example text line.
-
-\begin_inset Box Boxed
-position "b"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-\begin_layout Plain Layout
-\align center
-This box is bottom-aligned.
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
\end_inset
- This is an example text line.
+
\end_layout
\begin_layout Standard
\series bold
Note:
\series default
- The vertical box alignment can be lost in the output when you have two
- boxes in a line and one has e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
-\end_inset
-
-a shadow and the other one not.
+ As you can see in the examples above, the text of the documents included
+ as
+\family sans
+verbatim
+\family default
+ is not broken at the end of the document lines.
\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-The horizontal box alignment can be set via LyX's paragraph dialog when
- you set the box into its own paragraph.
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-When you have chosen an
-\family sans
-Inner
+\begin_layout Description
+Listings This type is described in chapter
\begin_inset space ~
\end_inset
-Box
-\family default
-, the box content can be aligned vertically to:
-\end_layout
-
-\begin_layout Description
-top This is an example text line.
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1.5in"
-height_special "totalheight"
-status collapsed
-\begin_layout Plain Layout
-\align center
-This box text is top-aligned.
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:Program-Code-Listings"
\end_inset
- This is an example text line.
+.
\end_layout
-\begin_layout Description
-middle This is an example text line.
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1.5in"
-height_special "totalheight"
-status collapsed
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
\begin_layout Plain Layout
-\align center
-This box text is middle-aligned.
-\end_layout
-
-\end_inset
-
- This is an example text line.
-\end_layout
-
-\begin_layout Description
-bottom This is an example text line.
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "b"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1.5in"
-height_special "totalheight"
-status collapsed
-\begin_layout Plain Layout
-\align center
-This box text is bottom-aligned.
+\series bold
+Note:
+\series default
+ Including the same document twice in a document using different methods
+ could cause \SpecialChar LaTeX
+-problems.
\end_layout
\end_inset
- This is an example text line.
-\end_layout
-
-\begin_layout Description
-stretch This is an example text line.
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "s"
-use_parbox 0
-use_makebox 0
-width "12col%"
-special "none"
-height "1.5in"
-height_special "totalheight"
-status collapsed
-\begin_layout Plain Layout
-\align center
-This box
\end_layout
-\begin_layout Plain Layout
-\align center
-text is
-\end_layout
+\begin_layout Standard
+If you want to view/export only selected children of your master document,
+ either because you want to save compiling time or because you want to distribut
+e single chapters of the book you are just writing, you can exclude children
+ from the output.
+ This is done via the menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Child Documents
+\family default
+.
+ You can exclude\SpecialChar breakableslash
+include children by double-clicking on the
+\family sans
+include to output
+\family default
+ column of the respective child document in the list (note that this only
+ works for documents embedded via
+\begin_inset Quotes eld
+\end_inset
+
+Include
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Plain Layout
-\align center
-stretched.
-\end_layout
+, not with
+\begin_inset Quotes eld
+\end_inset
+Input
+\begin_inset Quotes erd
\end_inset
- This is an example text line.
+).
+
+\change_inserted -712698321 1584102244
+
\end_layout
\begin_layout Standard
-To stretch the box content, it must consist of more than one paragraph.
- In the example above every text line is in an own paragraph.
+
+\change_inserted -712698321 1584102427
+In the section
+\family sans
+Global Counters & References
+\family default
+ you can set how page numbers, references, section counters etc.
+ are handled.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
+\begin_layout Itemize
-To align the box content horizontally you can use LyX's paragraph dialog
- when you have chosen an
+\change_inserted -712698321 1584102377
+With the option
\family sans
-Inner
+Strictly maintain
+\family default
+,
+\change_deleted -712698321 1584102385
+If the option
+\family sans
+Maintain counters and references
+\family default
+ is enabled,
+\change_unchanged
+\SpecialChar LyX
+ will assure that all page numbers, references etc.
\begin_inset space ~
\end_inset
-Box
-\family default
+are correct as if the whole document was
+\change_deleted -712698321 1584108508
+processed
+\change_inserted -712698321 1584108509
+output
+\change_unchanged
+.
+ This is useful if you want the selected sub-documents to look exactly as
+ in the context of the whole document.
+ However, \SpecialChar LyX
+ needs to process the whole document in the background for this
+ feature
+\change_inserted -712698321 1584102406
+, which can take a long time
+\change_unchanged
.
-\end_layout
-
-\begin_layout Standard
-\align center
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "s"
-use_parbox 0
-use_makebox 0
-width "15col%"
-special "none"
-height "1.25in"
-height_special "totalheight"
-status collapsed
-\begin_layout Plain Layout
-\align left
-This box
-\end_layout
+\change_deleted -712698321 1584103026
+
+\change_inserted -712698321 1584102447
-\begin_layout Plain Layout
-\align center
-text is
\end_layout
-\begin_layout Plain Layout
-\align right
-stretched.
-\end_layout
+\begin_layout Itemize
-\end_inset
+\change_inserted -712698321 1584102489
+With the option
+\family sans
+Do not maintain
+\family default
+,
+\change_unchanged
+\SpecialChar LyX
+\change_inserted -712698321 1584103270
+ only compiles the master and the included documents.
+ Thus the counters will differ from the complete document, and references
+ to excluded child documents will not be resolved.
+
+\change_deleted -712698321 1584102517
+So i
+\change_inserted -712698321 1584102518
+I
+\change_unchanged
+f you want to save compile time and if counters and references do not need
+ to be correct,
+\change_deleted -712698321 1584102523
+disable this checkbox
+\change_inserted -712698321 1584102546
+use this option as this is the fastest one
+\change_unchanged
+.
+\change_inserted -712698321 1584102550
\end_layout
-\begin_layout Standard
-If you have not set an
-\family sans
-Inner
-\begin_inset space ~
-\end_inset
+\begin_layout Itemize
-Box
+\change_inserted -712698321 1584109486
+The option
+\family sans
+Maintain mostly
\family default
-, you can align the box content horizontally in the box dialog.
+ is somewhat in-between the above two.
+ If this is selected, \SpecialChar LyX
+ will compile the whole document at the first output,
+ which sets up counters and references correctly.
+ In subsequent outputs, it will compile the whole document only if a change
+ has been made in an excluded child document.
+ As long as you only edit the included files, this approach is as fast as
+ the second one, while giving you more or less correct counters and references.
+ They are only more or less correct since the change of size of included
+ documents obviously also changes the pagination of excluded documents,
+ but this change cannot be tracked with this method.
+\change_unchanged
+
\end_layout
\begin_layout Standard
-\align center
-\begin_inset Box Boxed
-position "c"
-hor_pos "s"
-has_inner_box 0
-inner_pos "s"
-use_parbox 0
-use_makebox 0
-width "90col%"
-special "none"
-height "1.25in"
-height_special "totalheight"
+Alternatively, you can put each included file into a branch.
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-\align left
-This box text is horizontally stretched.
+Branches are described in section
+\emph on
+Branches
+\emph default
+ of the \SpecialChar LyX
+
+\emph on
+Userguide
+\emph default
+.
\end_layout
\end_inset
-
+ By enabling\SpecialChar breakableslash
+disabling branches you can decide which included files will
+ appear in the output.
+ This has the advantage that it also works with Input'ed sub-documents.
+ However, counters and references will not be maintained with this approach.
\end_layout
-\begin_layout Subsection
-Decoration
+\begin_layout Chapter
+Program Code Listings
\begin_inset CommandInset label
LatexCommand label
-name "sec:Decoration"
+name "cha:Program-Code-Listings"
\end_inset
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Decoration
+Listings
\end_layout
\end_inset
-\end_layout
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
-\begin_layout Standard
-The type of the box can be specified in the box dialog in the drop-down
- list
-\family sans
-Decoration
-\family default
-.
- The following types are possible:
+\begin_layout Plain Layout
+Program Code
\end_layout
-\begin_layout Description
-Simple
-\begin_inset space ~
-\end_inset
-
-rectangular
-\begin_inset space ~
\end_inset
-frame This draws a rectangular frame around the box.
- The frame line thickness has the size of
-\series bold
-\backslash
-fboxrule
-\series default
-.
-
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "20col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-\align center
-Rectangular box
+Floats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+Listings
\end_layout
\end_inset
\end_layout
-\begin_layout Description
-Allow
-\begin_inset space ~
\end_inset
-page
-\begin_inset space ~
-\end_inset
-break When you use the decoration
+\end_layout
+
+\begin_layout Standard
+To include and typeset program code you can use the
\family sans
-simple rectangular frame
+Listings
\family default
- and no inner box, you can allow page breaks within a box.
- Note that then, unlike other framed boxes, the frame always uses the whole
- column width, the box is set as its own paragraph, and
-\series bold
-
-\backslash
-fboxrule
-\series default
- and
+ inset that can be inserted via the menu
+\family sans
+Insert\SpecialChar menuseparator
+Program Listing
+\family default
+.
+ The \SpecialChar LaTeX
+ packages
\series bold
-
-\backslash
-fboxsep
+listings
\series default
- have no effect on this box type.
- The frame line thickness has the size of
-\series bold
-\backslash
-FrameRule
-\series default
-.
-
-\begin_inset Box Framed
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Allow page break box
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+listings
\end_layout
\end_inset
\end_layout
-\begin_layout Description
-Oval
-\begin_inset space ~
-\end_inset
-
-box,
-\begin_inset space ~
\end_inset
-thin This draws an oval frame around the box.
- The frame line thickness has the size 0.4
-\begin_inset space \thinspace{}
-\end_inset
+ or
+\series bold
+minted
+\series default
-pt.
-
-\begin_inset Box ovalbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "20col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-\align center
-Oval box, thin
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+minted
\end_layout
\end_inset
\end_layout
-\begin_layout Description
-Oval
-\begin_inset space ~
\end_inset
-box,
-\begin_inset space ~
-\end_inset
+ provide a powerful and flexible way to insert program source code into
+ your document.
+ One can only use one of these packages in a document.
+
+\series bold
+listings
+\series default
+ is used by default.
+\end_layout
-thick This draws an oval frame around the box.
- The frame line thickness has the size 0.8
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Standard
+\begin_inset Note Note
+status open
-pt.
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ \SpecialChar LyX
+ does NOT want to encourage users to add the
+\family typewriter
+-shell-escape
+\family default
+ option to converter definitions.
+ It works, but it is a huge security risk.
+ There is an active discussion about how to handle this.
+ Once that's been resolved, this can be updated appropriately.
+\end_layout
+
+\begin_layout Plain Layout
+=====
+\end_layout
+
+\begin_layout Plain Layout
+In order to use
+\series bold
+minted
+\series default
+, you need to select it as the syntax highlighting package in the document
+ settings under
+\family sans
+Listings
+\family default
+.
-\begin_inset Box Ovalbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "20col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\series bold
+minted
+\series default
+ requires also additionally the module
+\family sans
+pygments
+\family default
+ of the software
+\noun on
+Python
+\noun default
+
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-\align center
-Oval box, thick
+Under \SpecialChar LyX
+ for Windows
+\family sans
+pygments
+\family default
+ is already installed.
\end_layout
\end_inset
+ and the option
+\family typewriter
+-shell-escape
+\family default
+ for the \SpecialChar LaTeX
+ processor.
+ If you want for example view or export your document as the format
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
-\end_layout
+(pdflatex)
+\family default
+, go to the \SpecialChar LyX
+ preferences and there to the section
+\family sans
+File
+\begin_inset space ~
+\end_inset
-\begin_layout Description
-Drop
+Handling\SpecialChar menuseparator
+Converters
+\family default
+.
+ There go to the entry
+\family sans
+LaTeX
\begin_inset space ~
\end_inset
-shadow This draws a rectangular frame with a shadow around the box.
- The frame line thickness has the size of
-\series bold
+(pdflatex) -> PDF
+\begin_inset space ~
+\end_inset
-\backslash
-fboxrule
-\series default
-, the shadow has a width of 4
-\begin_inset space \thinspace{}
+(pdflatex)
+\family default
+ and look at the field
+\family sans
+Converter
+\family default
+.
+ There you see by default the content
+\begin_inset Newline newline
\end_inset
-pt.
-
-\begin_inset Box Shadowbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "20col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-\begin_layout Plain Layout
-\align center
-Shadow box
-\end_layout
+\series bold
+pdflatex $$i
+\series default
+\begin_inset Newline newline
\end_inset
+Now change it to
+\begin_inset Newline newline
+\end_inset
-\end_layout
-\begin_layout Description
-Shaded
-\begin_inset space ~
+\series bold
+pdflatex $$i -shell-escape
+\begin_inset Newline newline
\end_inset
-background This draws a box with a red background.
- Unlike colored boxes
-\begin_inset Foot
-status collapsed
-\begin_layout Plain Layout
-see sec.
-\begin_inset space \thinspace{}
+\series default
+and press the
+\family sans
+Modify
+\family default
+ button and subsequently
+\family sans
+Apply
+\family default
+ or
+\family sans
+Save
+\family default
+.
+ The same can be done for the output formats
+\family sans
+PDF
+\begin_inset space ~
\end_inset
+(LuaTeX)
+\family default
+ and
+\family sans
+PDF
+\begin_inset space ~
+\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Boxes"
+(XeTeX)
+\family default
+.
+\end_layout
\end_inset
\end_layout
+\begin_layout Standard
+Right-clicking on a listings inset opens the context menu containing 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
+\begin_inset space ~
\end_inset
-, it always uses the whole column width and the box is set as its own paragraph.
-
-\begin_inset Box Shaded
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "50col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+listing
+\family default
+ prints the listing inline like this:
+\begin_inset listings
+lstparams "language={C++}"
+inline true
+status open
\begin_layout Plain Layout
-Shaded background box
+
+int a=5;
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Description
-Double
-\begin_inset space ~
+\begin_inset Newline newline
\end_inset
-rectangular
-\begin_inset space ~
+The option
+\family sans
+Float
+\family default
+ creates a listings float where you can specify the placement options
+\begin_inset Quotes eld
\end_inset
-frame This draws a double-line rectangular frame around the box.
- The line thickness of the inner frame is 0.75
-\begin_inset space \thinspace{}
-\end_inset
+\family sans
+h
+\family default
-\series bold
+\begin_inset Quotes erd
+\end_inset
-\backslash
-fboxrule
-\series default
-, the thickness of the outer frame is 1.5
-\begin_inset space \thinspace{}
+,
+\begin_inset Quotes eld
\end_inset
-\series bold
+\family sans
+t
+\family default
-\backslash
-fboxrule
-\series default
-.
- The distance between the lines is 1.5
-\begin_inset space \thinspace{}
+\begin_inset Quotes erd
\end_inset
+,
+\begin_inset Quotes eld
+\end_inset
-\series bold
-\backslash
-fboxrule
-\series default
+\family sans
+b
+\family default
-\begin_inset space \thinspace{}
+\begin_inset Quotes erd
\end_inset
-+
-\begin_inset space \thinspace{}
+, and
+\begin_inset Quotes eld
\end_inset
-0.5
-\begin_inset space \thinspace{}
-\end_inset
-pt.
-
-\begin_inset Box Doublebox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "20col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\family sans
+p
+\family default
-\begin_layout Plain Layout
-\align center
-Double rectangular box
-\end_layout
+\begin_inset Quotes erd
+\end_inset
+ corresponding to the float placement options described in section
+\begin_inset space ~
\end_inset
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Float-Settings"
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-LyX's box label will reflect the different frame types.
- To be able to use all types, the LaTeX-package
-\series bold
-fancybox
-\series default
+.
+ The placement options can be mixed and are inserted without any separation,
+ e.
+\begin_inset space \thinspace{}
+\end_inset
-\begin_inset Index idx
-status collapsed
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Plain Layout
-LaTeX-packages ! fancybox
-\end_layout
+\begin_inset Quotes eld
\end_inset
- must be installed.
-\end_layout
-\begin_layout Section
-Box Customization
-\begin_inset Index idx
-status collapsed
+\family sans
+htbp
+\family default
-\begin_layout Plain Layout
-Boxes ! Customization
-\end_layout
+\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
-The default value for the size
-\series bold
-
-\backslash
-fboxrule
-\series default
- is 0.4
-\begin_inset space \thinspace{}
+You can add captions to listings that are not inline with the menu
+\family sans
+Insert\SpecialChar menuseparator
+Caption
+\family default
+.
+ Listings can be referenced like floats: Listing
+\begin_inset space ~
\end_inset
-pt.
- It can be changed with the following command in TeX-Code to e.
-\begin_inset space \thinspace{}
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "lst:Example-Listing"
+
\end_inset
-g.
-\begin_inset space \space{}
+.
+ A list of listings which contains all listings with captions can be created
+ via the menu
+\family sans
+Insert\SpecialChar menuseparator
+List
+\begin_inset space ~
\end_inset
-2
-\begin_inset space \thinspace{}
+/
+\begin_inset space ~
\end_inset
-pt:
+TOC\SpecialChar menuseparator
+List of Listings
+\family default
+.
+ The list entries are the listing caption and the listing number.
\end_layout
\begin_layout Standard
+\begin_inset listings
+lstparams "language=Python"
+inline false
+status open
-\series bold
+\begin_layout Plain Layout
-\backslash
-setlength{
-\backslash
-fboxrule}{2pt}
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "lst:Example-Listing"
+
+\end_inset
+
+Example Listing float
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_inset
+
+# Example listing float
+\end_layout
\begin_layout Plain Layout
+def func(param):
+\end_layout
+
+\begin_layout Plain Layout
-\backslash
-setlength{
-\backslash
-fboxrule}{2pt}
+ 'this is a python function'
+\end_layout
+
+\begin_layout Plain Layout
+
+ pass
\end_layout
\end_inset
-\begin_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
-\align center
-Rectangular box with
-\series bold
-\backslash
-fboxrule
+\series bold
+Note:
\series default
-
-\begin_inset space \thinspace{}
+The
+\series bold
+listings
+\series default
+ package places captions before the listing by default.
+\begin_inset Newline newline
\end_inset
-=
-\begin_inset space \thinspace{}
+The
+\series bold
+minted
+\series default
+ package places them after the listing by default if it is floating.
+ If it is not floating, caption will be typeset before the listing if it
+ is inserted to its first line, otherwise it will be typeset after the listing.
+ If you want to force the placement in every case before the listing, you
+ have to add the following lines as last thing to the preamble:
+\begin_inset Newline newline
\end_inset
-2
-\begin_inset space \thinspace{}
-\end_inset
-pt
-\end_layout
+\series bold
+\backslash
+@ifundefined{newfloat}
+\begin_inset Newline newline
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
-
-\backslash
-setlength{
-\backslash
-fboxrule}{0.4pt}
-\end_layout
-
+\series bold
+\begin_inset space ~
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-The space between the frame and the box content is for all frame styles
- by default 3
-\begin_inset space \thinspace{}
+{
+\backslash
+usepackage{float}}{}
+\begin_inset Newline newline
\end_inset
-pt.
- You can change it by setting the length
-\series bold
\backslash
-fboxsep
+floatstyle{plaintop}
\series default
- to another value.
- For example the command
-\end_layout
-\begin_layout Standard
+\begin_inset Note Note
+status collapsed
+\begin_layout Plain Layout
+The package
+\series bold
+float
+\series default
+ will be loaded automatically by \SpecialChar LyX
+ when you use special document-wide float
+ placement settings.
+ To avoid that it is loaded twice the command
\series bold
\backslash
-setlength{
-\backslash
-fboxsep}{10pt}
+@ifundefined
+\series default
+ is used in the above command.
\end_layout
-\begin_layout Standard
-sets the value to 10
-\begin_inset space \thinspace{}
\end_inset
-pt, as with the following box:
-\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\end_layout
-\begin_layout Plain Layout
+\end_inset
-\backslash
-setlength{
-\backslash
-fboxsep}{10pt}
\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_inset Box Boxed
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
+\begin_layout Standard
+\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
-\align center
-Rectangular box with
-\series bold
-\backslash
-fboxsep
+\series bold
+Note:
\series default
+ If you don't get bold keywords when using typewriter fonts, your
+\family typewriter
+typewriter
+\family default
+ font probably doesn't provide a bold shape.
+ In this case select a different one in the menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Fonts
+\family default
+.
+ (The fonts
+\emph on
+LuxiMono, BeraMono
+\emph default
+ and
+\emph on
+Courier
+\emph default
+ provide bold shapes.)
+\end_layout
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
\end_inset
-10
-\begin_inset space \thinspace{}
-\end_inset
-pt
\end_layout
+\begin_layout Standard
+In section
+\family sans
+Line
+\begin_inset space ~
\end_inset
+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 in the field
+
+\family sans
+Step
+\family default
+.
+ When you insert e.
+\begin_inset space \thinspace{}
+\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+g.
+\begin_inset space \space{}
+\end_inset
-\backslash
-setlength{
-\backslash
-fboxsep}{3pt}
-\end_layout
+\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
-\begin_inset VSpace bigskip
+You can furthermore specify a range of lines; only these will then appear
+ in the output.
+ The option
+\family sans
+Extended character table
+\family default
+ is only meaningful for the
+\series bold
+listings
+\series default
+ package and should be used when you use national characters like the German
+ umlauts in the listing.
+\begin_inset Newline newline
\end_inset
-The diameter of the round corners of the oval boxes can be set with the
- command
-\series bold
+Here is an example listing with left line numbering, step
+\begin_inset Quotes eld
+\end_inset
-\backslash
-cornersize
-\series default
-.
- The command
-\end_layout
+3
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
+, language
+\begin_inset Quotes eld
+\end_inset
-\series bold
+Python
+\begin_inset Quotes erd
+\end_inset
-\backslash
-cornersize*{1cm}
-\end_layout
+, options
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Standard
-sets the diameter to 1
-\begin_inset space \thinspace{}
+Extended character table
+\begin_inset Quotes erd
\end_inset
-cm.
- The command
-\end_layout
+ and
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Standard
+Space
+\begin_inset space ~
+\end_inset
-\series bold
+as
+\begin_inset space ~
+\end_inset
-\backslash
-cornersize{num}
-\end_layout
+symbol
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Standard
-sets the diameter to
-\family sans
-num
+, range lines 3
\begin_inset space \thinspace{}
\end_inset
-×
+-
\begin_inset space \thinspace{}
\end_inset
-minimum(width and heigth of box)
-\family default
-.
- The default is
-\series bold
-
-\backslash
-cornersize{0.5}
-\series default
-.
+8:
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset listings
+lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
+inline false
+status open
\begin_layout Plain Layout
-
-\backslash
-cornersize*{1.5cm}
+def func(param):
\end_layout
-\end_inset
-
+\begin_layout Plain Layout
-\begin_inset Box Ovalbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
+ 'this is a python function'
+\end_layout
\begin_layout Plain Layout
-\align center
-Oval box with
-\series bold
-\backslash
-cornersize
-\series default
+ pass
+\end_layout
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-=
-\begin_inset space \thinspace{}
-\end_inset
+def func(param):
+\end_layout
-1.5
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-cm
+'This is a German word: Tschüß'
\end_layout
-\end_inset
+\begin_layout Plain Layout
+pass
+\end_layout
-\begin_inset ERT
-status collapsed
+\begin_layout Plain Layout
+
+def func(param):
+\end_layout
\begin_layout Plain Layout
+'this is a python function'
+\end_layout
-\backslash
-cornersize{0.5}
+\begin_layout Plain Layout
+
+pass
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
+When you have tabulators in your listing, you can specify the number of
+ characters that are spanned by a tabulator in the field
+\family sans
+Tabulator
+\begin_inset space ~
\end_inset
-The size of the shadow can be adjusted by changing the length
-\series bold
+size
+\family default
+.
+\end_layout
-\backslash
-shadowsize
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
\series default
-.
- It it set to 2
-\begin_inset space \thinspace{}
+ Due to a bug in the
+\series bold
+listings
+\series default
+ package 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
+
\end_inset
-pt for the following box by this command:
+
\end_layout
\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
-\series bold
-\backslash
-setlength{
-\backslash
-shadowsize}{2pt}
\end_layout
\begin_layout Standard
-\begin_inset ERT
+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 Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-shadowsize}{2pt}
-\end_layout
-
+The other child document types are described in section
+\begin_inset space ~
\end_inset
-\begin_inset Box Shadowbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-\align center
-Shadow box with
-\series bold
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Child-Documents"
-\backslash
-shadowsize
-\series default
+\end_inset
+
+.
+\end_layout
-\begin_inset space \thinspace{}
\end_inset
-=
-\begin_inset space \thinspace{}
+ 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
-2
-\begin_inset space \thinspace{}
+?
+\begin_inset Quotes erd
\end_inset
-pt
+ 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
+Insert\SpecialChar menuseparator
+Cross-Reference
+\family default
+.
\end_layout
+\begin_layout Standard
+Listing
+\begin_inset space ~
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "lst:file-listing"
-\begin_layout Plain Layout
+\end_inset
+
+ is an example for a listing of a file; there the lines 10
+\begin_inset space \thinspace{}
+\end_inset
+-
+\begin_inset space \thinspace{}
+\end_inset
-\backslash
-setlength{
-\backslash
-shadowsize}{4pt}
+15 of this \SpecialChar LyX
+ file are listed.
\end_layout
+\begin_layout Standard
+\begin_inset CommandInset include
+LatexCommand lstinputlisting
+filename "EmbeddedObjects.lyx"
+lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
+literal "true"
+
\end_inset
\end_layout
\begin_layout Standard
-The default value for the size
-\series bold
-
-\backslash
-FrameRule
-\series default
- is 0.4
-\begin_inset space \thinspace{}
-\end_inset
+Inserting a formula into a listing can be done the following way:
+\end_layout
-pt.
- The default space between the note content and the frame is 9
-\begin_inset space \thinspace{}
+\begin_layout Enumerate
+Open the listings dialog and add
+\begin_inset Newline newline
\end_inset
-pt and can be changed with the value of
-\series bold
-\backslash
-FrameSep
-\series default
-.
- For example the frame appearance of the following
\family sans
-box
+mathescape=true
\family default
- is set with the TeX-Code commands
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-\backslash
-setlength{
-\backslash
-FrameRule}{5pt}
\begin_inset Newline newline
\end_inset
-
-\backslash
-setlength{
-\backslash
-FrameSep}{0.5cm}
+to the field of the
+\family sans
+Advanced
+\family default
+ tab.
\end_layout
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+\begin_layout Enumerate
+Create a formula outside the listing
+\end_layout
+\begin_layout Enumerate
+Copy the content of the formula (not the formula inset) to the clipboard
+ (shortcut
+\begin_inset Info
+type "shortcut"
+arg "copy"
+\end_inset
-\backslash
-setlength{
-\backslash
-FrameRule}{5pt}
+)
\end_layout
-\begin_layout Plain Layout
+\begin_layout Enumerate
+In the listing write
+\begin_inset Quotes eld
+\end_inset
-\backslash
-setlength{
-\backslash
-FrameSep}{0.5cm}
-\end_layout
+\family sans
+$$
+\family default
+\begin_inset Quotes erd
\end_inset
+ and copy from the clipboard between the dollar-signs (shortcut
+\begin_inset Info
+type "shortcut"
+arg "paste"
+\end_inset
-\begin_inset Box Framed
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
+)
+\end_layout
+
+\begin_layout Standard
+\begin_inset listings
+lstparams "language=Python,mathescape=true"
+inline false
status open
\begin_layout Plain Layout
-This is text in an
-\family sans
-allow page break
-\family default
- box.
+
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+Example Listing float containing a formula
\end_layout
\end_inset
-
-\begin_inset ERT
-status collapsed
+# Example listing float
+\end_layout
\begin_layout Plain Layout
+def func(param):
+\end_layout
+
+\begin_layout Plain Layout
+ # $
\backslash
-setlength{
+prod_{n=1}^{
+\backslash
+infty}
+\backslash
+,
\backslash
-FrameRule}{0.4pt}
+frac{1}{x^{2}}$
\end_layout
\begin_layout Plain Layout
-
-\backslash
-setlength{
-\backslash
-FrameSep}{9pt}
+ pass
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-For
+Global listings settings can be set in the
\family sans
-shaded background
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Listings
\family default
- boxes the default space between the box content and the box border is 3
-\begin_inset space \thinspace{}
+ dialog.
+ To get there a list of available options, type in a question mark
+\begin_inset Quotes eld
\end_inset
-pt and can be changed with the value of
-\series bold
+?
+\begin_inset Quotes erd
+\end_inset
-\backslash
-fboxsep
-\series default
.
- The default background color red can either be changed locally with the
- command
-\series bold
+\end_layout
-\backslash
-definecolor{shadecolor}
+\begin_layout Standard
+For more information about the
+\series bold
+listings
\series default
- or globally with the menu
-\family sans
-Tools\SpecialChar \menuseparator
-Preferences\SpecialChar \menuseparator
-Colors\SpecialChar \menuseparator
-shaded
-\begin_inset space ~
+ and
+\series bold
+minted
+\series default
+ packages, we refer to their documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "listings,minted"
+literal "true"
+
\end_inset
-box
-\family default
.
- The scheme of the
-\series bold
+\end_layout
-\backslash
-definecolor
-\series default
- command is explained in section
-\begin_inset space ~
+\begin_layout Standard
+\begin_inset Newpage newpage
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Tables"
+\end_layout
-\end_inset
+\begin_layout Chapter
+\start_of_appendix
+Units available in \SpecialChar LyX
-.
-\begin_inset Foot
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Note that
-\series bold
+Units
+\end_layout
-\backslash
-definecolor
-\series default
- requires the LaTeX-package
-\series bold
-color
-\series default
- in the preamble, see section
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Boxes"
+\begin_inset CommandInset label
+LatexCommand label
+name "cha:Units-available-in"
\end_inset
-.
-\end_layout
-
-\end_inset
- For example the appearance of the following shaded background box is set
- with the TeX-Code commands
\end_layout
\begin_layout Standard
+To understand the units described in this documentation, Table
+\begin_inset space ~
+\end_inset
-\series bold
-\backslash
-setlength{
-\backslash
-fboxsep}{0.5cm}
-\series default
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Units"
-\begin_inset Newline newline
\end_inset
-
-\series bold
-
-\backslash
-definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
+ explains all units available in \SpecialChar LyX
+.
\end_layout
\begin_layout Standard
-\begin_inset ERT
-status collapsed
+\begin_inset Float table
+placement h
+alignment document
+wide false
+sideways false
+status open
\begin_layout Plain Layout
-
-
-\backslash
-setlength{
-\backslash
-fboxsep}{0.5cm}
-\end_layout
+\begin_inset Caption Standard
\begin_layout Plain Layout
-
-
-\backslash
-definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
-\end_layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Units"
\end_inset
-
-\begin_inset Box Shaded
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-
-\color yellow
-This is yellow text in a
-\color none
-
-\family sans
-\color yellow
-shaded background
-\family default
-\color none
-
-\color yellow
-box with dark green background.
+Units
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
+\end_layout
\begin_layout Plain Layout
+\begin_inset VSpace medskip
+\end_inset
-\backslash
-setlength{
-\backslash
-fboxsep}{3pt}
\end_layout
\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="21" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="middle" width="50col%">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\backslash
-definecolor{shadecolor}{rgb}{1,0,0}
+\begin_layout Plain Layout
+unit
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+name/description
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-Changed lengths and widths are valid for all boxes following the commands
- that change them.
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ command
\end_layout
-\begin_layout Section
-Minipages
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Minipages"
-
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Boxes ! Minipages
+bp
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\end_layout
-
-\begin_layout Standard
-Minipages are treated by LaTeX as pages within pages and can therefore for
- example have their own footnotes.
-\end_layout
-
-\begin_layout Standard
-Minipages are useful when you write documents with different languages.
-\end_layout
-
-\begin_layout Standard
-Below are two example minipages side by side.
- Their width is set to 45
+\begin_layout Plain Layout
+big point (72
\begin_inset space \thinspace{}
\end_inset
-col% and they are separated by a horizontal fill, that was inserted via
- the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Special
-\begin_inset space ~
+bp = 1
+\begin_inset space \thinspace{}
\end_inset
-Formatting\SpecialChar \menuseparator
-Horizontal
-\begin_inset space ~
-\end_inset
+in)
+\end_layout
-Fill
-\family default
-.
-\begin_inset Newpage newpage
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+-
\end_layout
-\begin_layout Standard
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "45col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+cc
+\end_layout
-\lang german
-Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text
-\begin_inset Foot
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+cicero (1
+\begin_inset space \thinspace{}
+\end_inset
-\lang german
-Dies ist eine deutsche Fußnote.
-\end_layout
-
+cc = 12
+\begin_inset space \thinspace{}
\end_inset
-.
- Dies ist ein deutscher Text.
- Dies ist ein deutscher Text.
+dd)
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+-
+\end_layout
-\begin_inset space \hfill{}
\end_inset
-
-
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "45col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
- This is an English Text.
-\begin_inset Foot
-status collapsed
+cm
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-This is an English footnote.
+centimeter
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
- This is an English Text.
-
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+dd
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-The document-wide paragraph settings are ignored within minipages.
- That means that there will be no space between paragraphs in minipages
- although you set it to e.
+\begin_layout Plain Layout
+didot (1
\begin_inset space \thinspace{}
\end_inset
-g.
-\begin_inset space \space{}
+dd
+\begin_inset Formula $\approx$
\end_inset
+ 0.376
+\begin_inset space \thinspace{}
+\end_inset
-\family sans
-MedSkip
-\family default
- in the document settings.
+mm)
\end_layout
-\begin_layout Standard
-Minipages can also be used to set a background color for text parts, see
- section
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:Color-for-Paragraphs"
+\begin_layout Plain Layout
+-
+\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+em
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- You cannot have floats or margin notes inside minipages but minipages can
- be used inside tables, floats, and other boxes.
+width of letter
+\emph on
+M
+\emph default
+ in current font
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+-
\end_layout
-\begin_layout Section
-Parboxes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Parboxes"
-
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Boxes ! Parboxes
+ex
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\end_layout
-
-\begin_layout Standard
-Parboxes are very similar to minipages with the difference that they cannot
- have footnotes, because minipages, unlike parboxes, are not real boxes
- but LaTeX-environments.
+\begin_layout Plain Layout
+height of letter
+\emph on
+x
+\emph default
+ in current font
\end_layout
-\begin_layout Standard
-\align center
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 1
-use_makebox 0
-width "33col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-This a text within a parbox.
- This a text within a parbox.
+-
\end_layout
-\begin_layout Plain Layout
-This footnote won't appear:
-\begin_inset Foot
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-This footnote is inside a parbox and will therefore not appear.
+in
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+inch
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+-
\end_layout
-\begin_layout Section
-Boxes for Words and Characters
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Boxes ! for Characters
+mm
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+millimeter
\end_layout
-\begin_layout Subsection
-Prevent Hyphenation
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Prevent-Hyphenation"
-
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+-
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Boxes ! to Prevent Hyphenation
+mu
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+math unit (1
+\begin_inset space \thinspace{}
+\end_inset
-\end_layout
-
-\begin_layout Standard
-You can use a special kind of box to prevent words or text from being hyphenated.
-\begin_inset Newline newline
+mu = 1/18
+\begin_inset space \thinspace{}
\end_inset
-Here is an example text:
+em)
\end_layout
-\begin_layout Standard
-This line is an example to show how you can prevent the hyphenation of
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-
+\end_layout
-veryverylongword
-\begin_inset Quotes erd
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+pt
\end_layout
-\begin_layout Standard
-To prevent the hyphenation of the word
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-veryverylongword
-\begin_inset Quotes erd
+\begin_layout Plain Layout
+point (72.27
+\begin_inset space \thinspace{}
\end_inset
-, add the command
-\end_layout
+pt = 1
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Standard
+in)
+\end_layout
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\backslash
-mbox{
+\begin_layout Plain Layout
+-
\end_layout
-\begin_layout Standard
-in TeX-Code before the word.
- After the word insert a closing brace
-\begin_inset Quotes eld
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+pc
+\end_layout
-\series bold
-}
-\series default
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\begin_inset Quotes erd
+\begin_layout Plain Layout
+pica (1
+\begin_inset space \thinspace{}
\end_inset
- in TeX-Code.
-\end_layout
+pc = 12
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Standard
-This is the result:
+pt)
\end_layout
-\begin_layout Standard
-This line is an example to show how you can prevent the hyphenation of
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+-
+\end_layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\backslash
-mbox{
+\begin_layout Plain Layout
+sp
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
-\begin_inset Quotes eld
+\begin_layout Plain Layout
+scaled point (65536
+\begin_inset space \thinspace{}
\end_inset
-veryverylongword
-\begin_inset Quotes erd
+sp = 1
+\begin_inset space \thinspace{}
\end_inset
-.
-\begin_inset ERT
-status collapsed
+pt)
+\end_layout
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-}
+\begin_layout Plain Layout
+-
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
+Column Width %
\end_layout
-\begin_layout Standard
-You can alternatively set the command
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+% of column width
+\end_layout
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\backslash
--
-\series default
+columnwidth
+\end_layout
-\begin_inset Quotes grd
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
- as TeX-Code directly before the word:
+\begin_layout Plain Layout
+Line Distance %
\end_layout
-\begin_layout Standard
-This line is an example to show how you can prevent the hyphenation of
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+% of height between baselines of two subsequent text lines
+\end_layout
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
\backslash
--
+baselineskip
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Line Width %
+\end_layout
-veryverylongword
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-.
+\begin_layout Plain Layout
+% of line width
\end_layout
-\begin_layout Standard
-Of course the word now protrudes over the side margin.
- To avoid this, add via the menu
-\family sans
-Insert\SpecialChar \menuseparator
-Special
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-Formatting\SpecialChar \menuseparator
-Line
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
+
+\backslash
+linewidth
+\end_layout
-Break
-\family default
- (shortcut
-\begin_inset Info
-type "shortcut"
-arg "newline-insert newline"
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-) a line break before the word:
+\begin_layout Plain Layout
+Page Height %
\end_layout
-\begin_layout Standard
-This line is an example to show how you can prevent the hyphenation of
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+% of paper height
+\end_layout
-\begin_inset ERT
-status collapsed
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
\backslash
-mbox{
+paperheight
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+Page Width %
+\end_layout
-\begin_inset Quotes eld
-\end_inset
-
-veryverylongword
-\begin_inset Quotes erd
\end_inset
-
-.
-\begin_inset ERT
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-
-}
+% of paper width
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\backslash
+paperwidth
\end_layout
-\begin_layout Subsection
-Vertical Alignment
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Vertical-Alignment"
-
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Boxes ! for Vertical Alignment
+Scale Graphics %
\end_layout
\end_inset
-
-
-\begin_inset Index idx
-status collapsed
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-Boxes ! Raiseboxes
+% of original image width
\end_layout
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\end_layout
-\begin_layout Standard
-With the help of the command
-\series bold
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
-\backslash
-raisebox
-\series default
- you can align words, characters or other boxes vertically relative to the
- surrounding text.
-
-\series bold
+\begin_layout Plain Layout
+Text Height %
+\end_layout
-\backslash
-raisebox
-\series default
- is used with the following scheme:
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+% of text height
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-\series bold
+\begin_layout Plain Layout
\backslash
-raisebox{lift}[height][depth]{box content}
-\end_layout
-
-\begin_layout Standard
-The lift can be a positive value to raise the box or a negative value to
- lower the box.
+textheight
\end_layout
-\begin_layout Standard
-To align for example the word
-\begin_inset Quotes eld
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-preventing
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
+Text Width %
+\end_layout
- so that the bottom of the
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
-deepest
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
+% of text width
+\end_layout
- character
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
-p
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
- is at the baseline, insert the command
+\backslash
+textwidth
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
-\series bold
-\backslash
-raisebox{
-\backslash
-depth}{
\end_layout
-\begin_layout Standard
-in TeX-Code before the word.
- After the word insert a closing brace
-\begin_inset Quotes eld
\end_inset
-\series bold
-}
-\series default
+\end_layout
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Chapter
+Output File Formats with Graphics
+\begin_inset CommandInset label
+LatexCommand label
+name "cha:Output-File-Formats"
- in TeX-Code.
-\begin_inset Newline newline
\end_inset
-This is the result:
+
\end_layout
-\begin_layout Standard
-This is a text line with the word
-\begin_inset ERT
+\begin_layout Section
+DVI
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+File Formats
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-raisebox{
-\backslash
-depth}{
+\begin_layout Plain Layout
+DVI
\end_layout
\end_inset
-\begin_inset Quotes eld
-\end_inset
+\end_layout
-preventing
-\begin_inset Quotes erd
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Index idx
+range none
+pageformat default
+status open
\begin_layout Plain Layout
+DVI
+\begin_inset IndexMacro see
+status open
-}
+\begin_layout Plain Layout
+File Formats
\end_layout
\end_inset
- as a raised word.
+
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-When you raise or lower characters in a line, the line distance will be
- spread:
+
\end_layout
\begin_layout Standard
-This is a text line with the word
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+This file type has the extension
+\begin_inset Quotes eld
+\end_inset
-\backslash
-raisebox{-
-\backslash
-depth}{
-\end_layout
+\family typewriter
+.dvi
+\family default
+\begin_inset Quotes erd
\end_inset
-
+.
+ It is called
\begin_inset Quotes eld
\end_inset
-preventing
+device-independent
\begin_inset Quotes erd
\end_inset
+ (DVI), because it is completely portable; you can move them from one machine
+ to another without needing to do any sort of conversion.
+ At the time when this file-format was developed, this was no matter of
+ course.
+ DVIs are used for quick previews and as pre-stage for other output formats,
+ like PostScript.
+\end_layout
-\begin_inset ERT
-status collapsed
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
\begin_layout Plain Layout
-}
+\series bold
+Note:
+\series default
+ DVI-files do not contain images; they will only be a linked.
\end_layout
\end_inset
- as a lowered word.
-\begin_inset Newline newline
-\end_inset
+ So don't forget this, if you move your
+\family typewriter
+.dvi
+\family default
+ file to another computer.
+ This property can also slow down your computer when you view the DVI, because
+ the DVI-viewer has to convert the image in the background to make it visible
+ when you scroll in the DVI.
+ So it is recommended that you use PDF for files with many images.
+\end_layout
-This is a text line with the word
-\begin_inset ERT
+\begin_layout Standard
+You can export your document to DVI by using the menu
+\family sans
+File\SpecialChar menuseparator
+Export\SpecialChar menuseparator
+DVI
+\family default
+.
+ You can view your document as DVI via the
+\family sans
+View
+\family default
+ menu.
+\end_layout
+
+\begin_layout Section
+PostScript
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+File Formats
+\begin_inset IndexMacro subentry
+status open
-
-\backslash
-raisebox{0.5cm}{
+\begin_layout Plain Layout
+PostScript
\end_layout
\end_inset
-\begin_inset Quotes eld
-\end_inset
+\end_layout
-testing
-\begin_inset Quotes erd
\end_inset
-\begin_inset ERT
+\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
+PostScript
+\begin_inset IndexMacro see
+status open
-}
+\begin_layout Plain Layout
+File Formats
\end_layout
\end_inset
- as a raised word.
-\end_layout
-\begin_layout Standard
-If you want to prevent this for a certain reason, set the box height to
- a zero value.
- For example use
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
-\backslash
-raisebox{-
-\backslash
-depth}[0pt]{
\end_layout
\begin_layout Standard
-This is a text line with the word
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+This file type has the extension
+\begin_inset Quotes eld
+\end_inset
-\backslash
-raisebox{-
-\backslash
-depth}[0pt]{
-\end_layout
+\family typewriter
+.ps
+\family default
+\begin_inset Quotes erd
\end_inset
-
+.
+ PostScript was developed by the company
+\family typewriter
+Adobe
+\family default
+ as a printer language.
+ The file therefore contains commands that the printer uses to print the
+ file.
+ PostScript can be seen as a
\begin_inset Quotes eld
\end_inset
-preventing
+programming language
\begin_inset Quotes erd
\end_inset
-
-\begin_inset ERT
+; you can calculate with it and draw diagrams and images.
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
+If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
+-package
+
+\series bold
+PSTricks
+\series default
+
+\begin_inset CommandInset citation
+LatexCommand cite
+key "pstricks"
+literal "true"
-}
-\end_layout
-
-\end_inset
-
- as a lowered word.
-\begin_inset Newline newline
\end_inset
-This is a text line with the word
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-raisebox{0.5cm}[0pt]{
+.
\end_layout
\end_inset
+ Due to this ability, the files are often bigger than PDFs.
+\end_layout
+\begin_layout Standard
+PostScript can only contain images in the format
\begin_inset Quotes eld
\end_inset
-testing
+Encapsulated PostScript
\begin_inset Quotes erd
\end_inset
+ (EPS, file extension
+\begin_inset Quotes eld
+\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
+\family typewriter
+.eps
+\family default
+\begin_inset Quotes erd
\end_inset
- as a raised word.
-\end_layout
+).
+ As \SpecialChar LyX
+ allows you to use any known image format in your document, it has to
+ convert images in the background to EPS.
+ If you have e.g.
+\begin_inset space ~
+\end_inset
-\begin_layout Section
-Colored Boxes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Colored-Boxes"
+50
+\begin_inset space ~
+\end_inset
+images in your document, \SpecialChar LyX
+ has to do 50
+\begin_inset space ~
\end_inset
+conversions whenever you view or export your document.
+ This will slow down your work flow with \SpecialChar LyX
+ drastically.
+ So if you plan to use PostScript, you can insert your images directly as
+ EPS to avoid this problem.
+\end_layout
+
+\begin_layout Standard
+You can export your document to PostScript using the menu
+\family sans
+File\SpecialChar menuseparator
+Export\SpecialChar menuseparator
+Postscript
+\family default
+.
+ You can view your document as PostScript via the
+\family sans
+View
+\family default
+ menu.
+\end_layout
+\begin_layout Section
+PDF
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Boxes ! Color
+File Formats
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+PDF
\end_layout
\end_inset
\end_layout
-\begin_layout Subsection
-Color for Text
+\end_inset
+
+
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-Color ! for Text
+PDF
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-To color the background of text the text must be put into a so called
+This file type has the extension
\begin_inset Quotes eld
\end_inset
-colorbox
+
+\family typewriter
+.pdf
+\family default
+
\begin_inset Quotes erd
\end_inset
.
- This requires that the LaTeX-package
-\series bold
-color
-\series default
+ The
+\begin_inset Quotes eld
+\end_inset
-\begin_inset Index idx
-status collapsed
+Portable Document Format
+\begin_inset Quotes erd
+\end_inset
-\begin_layout Plain Layout
-LaTeX-packages ! color
-\end_layout
+ (PDF) was developed by
+\family typewriter
+Adobe
+\family default
+ as a derivative of PostScript.
+ It is more compressed and it uses fewer commands than PostScript.
+ As the name
+\begin_inset Quotes eld
+\end_inset
+portable
+\begin_inset Quotes erd
\end_inset
- is loaded in the document preamble with the command
+ implies, it can be processed at any computer system and the printed output
+ looks exactly the same.
\end_layout
\begin_layout Standard
-
-\series bold
-
-\backslash
-@ifundefined{textcolor}
-\begin_inset Newline newline
+PDF can contain images in its own PDF format, in the format
+\begin_inset Quotes eld
\end_inset
+Joint Photographic Experts Group
+\begin_inset Quotes erd
+\end_inset
-\begin_inset Phantom HPhantom
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-\begin_inset space ~
+ (JPG, file extension
+\begin_inset Quotes eld
\end_inset
-\end_layout
+\family typewriter
+.jpg
+\family default
+\begin_inset Quotes erd
\end_inset
-{
-\backslash
-usepackage{color}}{}
-\end_layout
-
-\begin_layout Standard
-The package
-\series bold
-color
-\series default
- will be loaded automatically by LyX when you color text.
-\begin_inset Foot
-status collapsed
+ or
+\begin_inset Quotes eld
+\end_inset
-\begin_layout Plain Layout
-To avoid it being loaded twice the command
-\series bold
-\backslash
-@ifundefined
-\series default
- is used.
-\end_layout
+\family typewriter
+.jpeg
+\family default
+\begin_inset Quotes erd
\end_inset
+), and in the format
+\begin_inset Quotes eld
+\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace medskip
+Portable Network Graphics
+\begin_inset Quotes erd
\end_inset
-Colorboxes are created with the command
-\series bold
+ (PNG, file extension
+\begin_inset Quotes eld
+\end_inset
-\backslash
-colorbox
-\series default
-.
- This will be used with the following scheme:
-\end_layout
-\begin_layout Standard
+\family typewriter
+.png
+\family default
-\series bold
+\begin_inset Quotes erd
+\end_inset
-\backslash
-colorbox{color}{box content}
+).
+ Nevertheless you can use any other image format, because \SpecialChar 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.
+ So it is recommended that you use images in one of the three mentioned
+ formats.
\end_layout
\begin_layout Standard
-The box content can also be a box and colorboxes can also be within other
- boxes.
+You can export your document to PDF via the menu
+\family sans
+File\SpecialChar menuseparator
+Export
+\family default
+ in three different ways:
\end_layout
-\begin_layout Standard
-The following colors are predefined:
-\begin_inset Newline newline
+\begin_layout Description
+PDF
+\begin_inset space ~
\end_inset
-
-\family sans
-black
-\family default
-,
-\family sans
-blue
-\family default
-,
-\family sans
-cyan
-\family default
-\series bold
-,
-\series default
-
-\family sans
-green
-\family default
-,
-\family sans
-magenta
-\family default
-,
-\family sans
-red
-\family default
-,
-\family sans
-white
+(ps2pdf) This uses the program
+\family typewriter
+ps2pdf
\family default
-, and
-\family sans
-yellow
+ that creates a PDF from a PostScript-version of your file.
+ The PostScript-version is produced by the program
+\family typewriter
+dvips
\family default
-.
-\begin_inset Newline newline
-\end_inset
+ which uses a DVI-version as intermediate step.
+ So this export variant consists of three conversions.
+\end_layout
-You can also define your own color as described in section
+\begin_layout Description
+PDF
\begin_inset space ~
\end_inset
+(dvipdfm) This uses the program
+\family typewriter
+dvipdfm
+\family default
+ that converts your file in the background to DVI and in a second step to
+ PDF.
+\end_layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Tables"
-
+\begin_layout Description
+PDF
+\begin_inset space ~
\end_inset
-.
+(pdflatex) This uses the program
+\family typewriter
+pdftex
+\family default
+ that converts your file directly to PDF.
\end_layout
\begin_layout Standard
-To have e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\begin_inset space \space{}
+It is recommended that you use
+\family sans
+PDF
+\begin_inset space ~
\end_inset
-a red background for a word, insert the command
+(pdflatex)
+\family default
+ because
+\family typewriter
+pdftex
+\family default
+ supports all features of actual PDF-versions, is quick and works stable.
+ The program
+\family typewriter
+dvipdfm
+\family default
+ is not under development and therefore a bit outdated.
\end_layout
\begin_layout Standard
-
-\series bold
-
-\backslash
-colorbox{red}{
+You can view your document as PDF via the
+\family sans
+View
+\family default
+ menu or by using a toolbar button.
\end_layout
-\begin_layout Standard
-before the word in TeX-Code.
- After the word insert a closing brace
-\begin_inset Quotes eld
-\end_inset
-
-
-\series bold
-}
-\series default
+\begin_layout Chapter
+List of dvips color names
+\begin_inset CommandInset label
+LatexCommand label
+name "chap:List-of-dvips-colornames"
-\begin_inset Quotes erd
\end_inset
- in TeX-Code.
-\begin_inset Newline newline
-\end_inset
-This is the result:
\end_layout
\begin_layout Standard
-This is a line where the word
+\begin_inset Tabular
+<lyxtabular version="3" rows="17" columns="4">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt">
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-colorbox{red}{
+fcolorbox{black}{
\end_layout
\end_inset
+white
+\begin_inset ERT
+status collapsed
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
-Attention!
-\begin_inset Quotes erd
-\end_inset
+}{
+\end_layout
+\end_inset
+Color
\begin_inset ERT
status collapsed
\end_inset
- has a red background.
+ Color name
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-If you would like the box frame in a different color, you can use the command
-
-\series bold
-
-\backslash
-fcolorbox
-\series default
- with the following scheme:
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-fcolorbox{frame color}{box color}{box content}
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-fcolorbox
-\series default
- is an extension to
-\series bold
-
-\backslash
-colorbox
-\series default
-.
- The frame thickness and the space between the frame and the box content
- can be adjusted with the lengths
-\series bold
-
-\backslash
-fboxrule
-\series default
- and
-\series bold
-
-\backslash
-fboxsep
-\series default
-, respectively, as described in section
-\begin_inset space ~
\end_inset
+white
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Decoration"
-
-\end_inset
-
-.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-For the following example the command
+}{
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
+Color
+\begin_inset ERT
+status collapsed
-\backslash
-fcolorbox{cyan}{magenta}{
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-was used.
+}
\end_layout
-\begin_layout Standard
-Here is an example where the frame line thickness was set to 1
-\begin_inset space \thinspace{}
\end_inset
-mm:
-\begin_inset Newline newline
-\end_inset
+ Color name
+\end_layout
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-fboxrule 1mm
-\backslash
-fboxsep 1mm
+fcolorbox{black}{
\end_layout
\end_inset
-
+white
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-fcolorbox{cyan}{magenta}{
+}{
\end_layout
\end_inset
-This is text within a colored, framed box.
+Color
\begin_inset ERT
status collapsed
\end_inset
-
+ Color name
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Of course you can also have colored text inside a colorbox:
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-fcolorbox{cyan}{magenta}{
+fcolorbox{black}{
\end_layout
\end_inset
-
-\color yellow
-This is colored text within a colored, framed box.
-\color none
-
+white
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
-
+Color
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-fboxrule 0.4pt
-\backslash
-fboxsep 3pt
+}
\end_layout
\end_inset
-
+ Color name
\end_layout
-\begin_layout Standard
-
-\series bold
-\begin_inset VSpace medskip
\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\series bold
-Note:
-\series default
- Text in colorboxes cannot have line breaks.
- To color multiple text lines or paragraphs, use a box inside a colorbox
- as described in the following.
-\end_layout
-
-\end_inset
+\begin_layout Plain Layout
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Subsection
-Color for Paragraphs
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Color-for-Paragraphs"
-
\end_inset
-
-\begin_inset Index idx
+Apricot
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Color ! for Paragraphs
+
+}{
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-To set the background color for more than one text line, put the text into
- a minipage.
- Before the minipage insert the
-\series bold
+\begin_inset Phantom Phantom
+status open
-\backslash
-colorbox
-\series default
- command
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
-\backslash
-colorbox{color}{
-\end_layout
-\begin_layout Standard
-in TeX-Code.
- After the minipage insert a closing brace
-\begin_inset Quotes eld
-\end_inset
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\series bold
}
-\series default
+\end_layout
-\begin_inset Quotes erd
\end_inset
- in TeX-Code.
+ Apricot
\end_layout
-\begin_layout Standard
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-colorbox{lightgrey}{
+fcolorbox{black}{
\end_layout
\end_inset
-
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "t"
-use_parbox 0
-use_makebox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
+Aquamarine
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-This is text with background color.
- This is text with background color.
+
+}{
\end_layout
-\begin_layout Plain Layout
-\begin_inset VSpace defskip
\end_inset
-The text can have footnotes
-\begin_inset Foot
-status collapsed
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-Another example footnote
+W
\end_layout
\end_inset
- and can include tables and figures.
-\end_layout
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-a
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-!
+ Aquamarine
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-3
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-<
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+Bittersweet
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-b2
-\begin_inset Quotes erd
-\end_inset
-|
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
->
+W
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-1
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-§
+ Bittersweet
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-c
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
+BlueGreen
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
-\end_layout
+\begin_inset Phantom Phantom
+status open
-\begin_layout Section
-Rotated and Scaled Boxes
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-To use the commands described in this section, the LaTeX-package
-\series bold
-graphicx
-\series default
+\end_inset
-\begin_inset Index idx
+
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! graphicx
+
+}
\end_layout
\end_inset
- needs to be loaded in the document preamble with the command
+ BlueGreen
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-@ifundefined{rotatebox}
-\begin_inset Newline newline
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-
-\begin_inset Phantom HPhantom
-status open
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-\begin_inset space ~
+
+\backslash
+fcolorbox{black}{
+\end_layout
+
\end_inset
+BlueViolet
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\end_layout
\end_inset
-{
-\backslash
-usepackage{graphicx}}{}
-\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
+\begin_inset Phantom Phantom
status open
\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- Some DVI-viewers can't display rotated or scaled material.
+W
\end_layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- Floats mustn't be inside a rotated or scaled box.
+}
\end_layout
\end_inset
-
+ BlueViolet
\end_layout
-\begin_layout Subsection
-Rotated Boxes
-\begin_inset Index idx
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Boxes ! rotated
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
-\begin_inset Index idx
+BrickRed
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Rotated material
+
+}{
\end_layout
\end_inset
-\begin_inset Index idx
-status collapsed
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-Figures ! rotated
+W
\end_layout
\end_inset
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Table Customization ! Rotating
+
+}
\end_layout
\end_inset
-
+ BrickRed
\end_layout
-\begin_layout Standard
-To rotate material, you can put it into a rotated box.
- Such a box is created using the command
-\series bold
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-rotatebox
-\series default
- in TeX-Code with the following scheme:
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-rotatebox[rotation origin]{rotation angle}{box content}
-\end_layout
-
-\begin_layout Standard
-The rotation origin is specified in the form
-\series bold
-origin=position
-\series default
-.
- The following positions are possible:
-\emph on
-c
-\emph default
- (center),
-\emph on
-l
-\emph default
- (left),
-\emph on
-r
-\emph default
- (right),
-\emph on
-b
-\emph default
- (bottom),
-\emph on
-t
-\emph default
- (top), along with meaningful combinations of the four base positions.
- For example
-\emph on
-lt
-\emph default
- means that the rotation origin is at the top left corner of the box.
- When no rotation origin is specified, the position
-\emph on
-l
-\emph default
- will be used.
- The rotation angle is a number that can be negative that specifies the
- angle in degrees.
- The rotation direction is counterclockwise.
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-In the following example the command
-\series bold
-
-\backslash
-rotatebox[origin=c]{60}{
-\series default
- was inserted as TeX-Code before the text
-\begin_inset Quotes eld
-\end_inset
-
-with rotated
-\begin_inset Quotes erd
\end_inset
-; after the text the box was closed by a closing brace
-\series bold
-}
-\series default
- in TeX-Code.
-\end_layout
-
-\begin_layout Standard
-This is a line
+Brown
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
+}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Phantom Phantom
+status open
-\backslash
-rotatebox[origin=c]{60}{
+\begin_layout Plain Layout
+W
\end_layout
\end_inset
-with rotated
+
\begin_inset ERT
status collapsed
\end_inset
- text.
+ Brown
\end_layout
-\begin_layout Standard
-The box content can also be another box or an inline formula:
-\end_layout
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-\begin_layout Standard
-This is a line
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-rotatebox[origin=r]{-60}{
+fcolorbox{black}{
\end_layout
\end_inset
-
-\begin_inset Box Doublebox
-position "c"
-hor_pos "c"
-has_inner_box 0
-inner_pos "c"
-use_parbox 0
-use_makebox 0
-width "1in"
-special "width"
-height "1in"
-height_special "totalheight"
+BurntOrange
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-with rotated
+
+}{
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-
-}
+W
\end_layout
\end_inset
- framed text
+
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-rotatebox[origin=lb]{60}{
+}
\end_layout
\end_inset
+ BurntOrange
+\end_layout
-\begin_inset Formula $\int A\,\mathrm{d}x=B$
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
- and a formula.
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-or an image or table:
-\end_layout
+\end_inset
-\begin_layout Standard
-This is a line
+CadetBlue
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-rotatebox[origin=lb]{90}{
+}{
\end_layout
\end_inset
-\begin_inset Graphics
- filename clipart/platypus.eps
- lyxscale 50
- width 25col%
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
+\end_layout
\end_inset
\end_inset
- with a rotated image
+ CadetBlue
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-rotatebox[origin=l]{-90}{
+fcolorbox{black}{
\end_layout
\end_inset
-
-\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+CarnationPink
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-q
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-w
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-e
-\end_layout
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-r
+W
\end_layout
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
\end_inset
\end_inset
- and table.
+ CarnationPink
\end_layout
-\begin_layout Subsection
-Scaled Boxes
-\begin_inset Index idx
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Boxes ! scaled
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
-\begin_inset Index idx
+Cerulean
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Scaled material
+
+}{
\end_layout
\end_inset
-\begin_inset Index idx
-status collapsed
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-Figures ! scaled
+W
\end_layout
\end_inset
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Table Customization ! Scaling
+
+}
\end_layout
\end_inset
-
+ Cerulean
\end_layout
-\begin_layout Standard
-To scale material the commands
-\series bold
-
-\backslash
-scalebox
-\series default
- and
-\series bold
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-resizebox
-\series default
- can be used as TeX-Code.
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\begin_layout Standard
+\begin_layout Plain Layout
-\series bold
\backslash
-scalebox
-\series default
- is used with the following scheme:
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
+\end_inset
-\series bold
+CornflowerBlue
+\begin_inset ERT
+status collapsed
-\backslash
-scalebox{horizontal}[vertical]{box content}
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-Horizontal and vertical are the corresponding scaling factors.
- If no vertical scaling factor is given, the horizontal factor will also
- be used as the vertical one.
+}{
\end_layout
-\begin_layout Standard
-The command
-\series bold
-
-\backslash
-scalebox{2}{Hello}
-\series default
- creates for example a double size
-\begin_inset ERT
-status collapsed
+\end_inset
-\begin_layout Plain Layout
+\begin_inset Phantom Phantom
+status open
-\backslash
-scalebox{2}{
+\begin_layout Plain Layout
+W
\end_layout
\end_inset
-Hello
+
\begin_inset ERT
status collapsed
\end_inset
-, compared with the document text size.
+ CornflowerBlue
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-scalebox{2}[1]{Hello}
-\series default
- on the other hand distorts the
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-scalebox{2}[1]{
+fcolorbox{black}{
\end_layout
\end_inset
-Hello
+Dandelion
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
-.
-\end_layout
-
-\begin_layout Standard
-If the scaling factor is negative, the box content will be mirrored.
- Therefore the command
-\series bold
-\backslash
-scalebox{-1}[1]{Hello}
-\series default
- can be used to create mirror writing:
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-
-
-\backslash
-scalebox{-1}[1]{
+W
\end_layout
\end_inset
-Hello
+
\begin_inset ERT
status collapsed
\end_inset
-
+ Dandelion
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-scalebox{1}[-1]{Hello}
-\series default
- reflects the
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-scalebox{1}[-1]{
+fcolorbox{black}{
\end_layout
\end_inset
-Hello
+DarkOrchid
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
- at the base line.
+}{
\end_layout
-\begin_layout Standard
-Equivalent to
-\series bold
-
-\backslash
-scalebox{-1}[1]{box content}
-\series default
- there exists the command
-\begin_inset Newline newline
\end_inset
-\series bold
+\begin_inset Phantom Phantom
+status open
-\backslash
-reflectbox{box content}
-\series default
-.
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-The command
-\series bold
-
-\backslash
-resizebox
-\series default
- is used to scale the box to a defined width and height.
- The command scheme is:
-\end_layout
-\begin_layout Standard
+\begin_inset ERT
+status collapsed
-\series bold
+\begin_layout Plain Layout
-\backslash
-resizebox{width}{height}{box content}
+}
\end_layout
-\begin_layout Standard
-If one of the two command arguments given is an exclamation mark
-\series bold
-!
-\series default
-, the size is set so that the aspect ratio of the box content is kept.
+\end_inset
+
+ DarkOrchid
\end_layout
-\begin_layout Standard
-The command
-\series bold
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-\backslash
-resizebox{2cm}{1cm}{Hello}
-\series default
- produces:
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-resizebox{2cm}{1cm}{
+fcolorbox{black}{
\end_layout
\end_inset
-Hello
+Emerald
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
-\begin_inset Newline newline
-\end_inset
-
-The command
-\series bold
-
-\backslash
-resizebox{2cm}{!}{Hello}
-\series default
- produces:
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-
-
-\backslash
-resizebox{2cm}{!}{
+W
\end_layout
\end_inset
-Hello
+
\begin_inset ERT
status collapsed
\end_inset
-
+ Emerald
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-
-
-\begin_inset Note Greyedout
-status open
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\series bold
-Note:
-\series default
- When arguments of
-\series bold
+\begin_layout Plain Layout
-\backslash
-scalebox
-\series default
- or
-\series bold
\backslash
-resizebox
-\series default
- are set to zero, no LaTeX-errors occur when exporting the document but
- the exported files can not or only partly be displayed.
+fcolorbox{black}{
\end_layout
\end_inset
+ForestGreen
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-The boxes can be combined in any order.
- E.
-\begin_inset space \thinspace{}
\end_inset
-g.
-\begin_inset space \space{}
-\end_inset
-the command
-\begin_inset Newline newline
-\end_inset
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\series bold
+}
+\end_layout
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{Hello}}}
-\begin_inset Newline newline
\end_inset
-
-\series default
-produces:
+ ForestGreen
\end_layout
-\begin_layout Standard
-\align center
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+fcolorbox{black}{
\end_layout
\end_inset
-Hello
+Fuchsia
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}}}
+}{
\end_layout
\end_inset
-\end_layout
+\begin_inset Phantom Phantom
+status open
-\begin_layout Standard
-\noindent
-Images, tables, and inline formulas are allowed as box content:
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-\align center
+\end_inset
+
+
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-rotatebox[origin=c]{-30}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+}
\end_layout
\end_inset
-
-\begin_inset Graphics
- filename clipart/platypus.eps
- lyxscale 50
- width 25col%
+ Fuchsia
+\end_layout
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}}}
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
+Goldenrod
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+}{
\end_layout
\end_inset
-\begin_inset Tabular
-<lyxtabular version="3" rows="2" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-q
+W
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-w
-\end_layout
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-e
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-r
+ Goldenrod
\end_layout
\end_inset
</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}}}
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
+Gray
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-
-\backslash
-rotatebox[origin=c]{-45}{
-\backslash
-resizebox{2cm}{!}{
-\backslash
-reflectbox{
+}{
\end_layout
\end_inset
-\begin_inset Formula $\int A\,\mathrm{d}x=B$
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
+\end_layout
+
\end_inset
\begin_layout Plain Layout
-}}}
+}
\end_layout
\end_inset
-
+ Gray
\end_layout
-\begin_layout Standard
-When the global formula style
-\series bold
-fleqn
-\series default
- is used in the document
-\begin_inset Foot
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-When
-\begin_inset Quotes eld
-\end_inset
-fleqn
-\begin_inset Quotes erd
-\end_inset
- is added to the document class options.
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-, display style formulas can also be scaled.
-\end_layout
-
-\begin_layout Chapter
-External Document Parts
-\begin_inset Index idx
+GreenYellow
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-External Document Parts
-\end_layout
-
-\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
-\begin_inset space ~
\end_inset
-Document Another LyX document; its content is directly inserted to your
- document.
-\end_layout
-\begin_layout Description
-Plain
-\begin_inset space ~
-\end_inset
+\begin_inset Phantom Phantom
+status open
-Text A text document; each line is inserted in your document as a separate
- paragraph.
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Description
-Plain
-\begin_inset space ~
\end_inset
-Text,
-\begin_inset space ~
-\end_inset
-Join
-\begin_inset space ~
-\end_inset
+\begin_inset ERT
+status collapsed
-Lines A text document; text lines are inserted in your document continuously
- but an empty text line creates a new paragraph.
+\begin_layout Plain Layout
+
+}
\end_layout
-\begin_layout Description
-External
-\begin_inset space ~
\end_inset
-Material Files in various formats.
+ GreenYellow
\end_layout
-\begin_layout Description
-Child
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
-Document LyX or LaTeX-documents.
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Section
-External Material
-\begin_inset Index idx
+\end_inset
+
+JungleGreen
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-External Document Parts ! External Material
+
+}{
\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-The external material feature allows you to insert files in to your document
- without converting them to a format that can be read by the document output
- format.
- LyX takes care of the necessary conversions.
- This is similar to images that can be inserted in various image formats
- in LyX documents.
- When you have enabled Instant Preview in LyX's preferences under
-\family sans
-Look
-\begin_inset space ~
\end_inset
-and
-\begin_inset space ~
-\end_inset
-feel\SpecialChar \menuseparator
-Graphics
-\family default
-, the external material types Dia and Xfig are directly shown in LyX.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\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
-\begin_inset space ~
\end_inset
-Material
-\family default
-.
- Currently the following file types (
-\family sans
-Templates
-\family default
-) are allowed:
+ JungleGreen
\end_layout
-\begin_layout Description
-ChessDiagram This template supports chess position diagrams made with the
- program
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\begin_inset CommandInset href
-LatexCommand href
-name "XBoard"
-target "http://en.wikipedia.org/wiki/XBoard"
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
-\series default
-.
+\backslash
+fcolorbox{black}{
\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
+Lavender
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
-\begin_inset space ~
\end_inset
-\begin_inset Note Note
+\begin_inset Phantom Phantom
status open
\begin_layout Plain Layout
-Remove the protected space when bug 4398 is fixed!
+W
\end_layout
\end_inset
-\begin_inset Newline newline
-\end_inset
-
-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 TeX-Code.
- The different methods are compared in Table
-\begin_inset space ~
-\end_inset
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Comparison-of-the"
+}
+\end_layout
\end_inset
-.
+ Lavender
\end_layout
-\begin_layout Description
-Dia This template supports diagrams created with the program
-\series bold
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
-\begin_inset CommandInset href
-LatexCommand href
-name "Dia"
-target "http://en.wikipedia.org/wiki/Dia_(software)"
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
-\series default
-.
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Description
-LilyPond This template is used for music notation typeset with the program
-\begin_inset Newline linebreak
\end_inset
+LimeGreen
+\begin_inset ERT
+status collapsed
-\series bold
+\begin_layout Plain Layout
-\begin_inset CommandInset href
-LatexCommand href
-name "LilyPond"
-target "http://en.wikipedia.org/wiki/LilyPond"
+}{
+\end_layout
\end_inset
-\series default
-.
-\end_layout
+\begin_inset Phantom Phantom
+status open
-\begin_layout Description
-PDFPages With this template you can insert PDF documents to your document.
- To insert certain or all pages of a PDF, use the
-\emph on
-pages
-\emph default
- option in the
-\family sans
-Option
-\family default
- field in the
-\family sans
-LaTeX and LyX options
-\family default
- tab according to the template description in the dialog.
- When no
-\emph on
-pages
-\emph default
- option is given, only the first page of the PDF will be inserted.
+\begin_layout Plain Layout
+W
\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
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Graphics-Dialog"
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
-.
- 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
-\series bold
-
-\begin_inset CommandInset href
-LatexCommand href
-name "Xfig"
-target "http://en.wikipedia.org/wiki/Xfig"
-
\end_inset
-
-\series default
-.
+ LimeGreen
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Comparison-of-the"
-\end_inset
-Comparison of the date input methods.
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
-\end_layout
+Mahogany
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="4">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-Document format
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-\family sans
-External Material\SpecialChar \menuseparator
-Date
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\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 Plain Layout
-command
-\series bold
-
-\backslash
-today
+ Mahogany
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-LyX
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-as inset box
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+Mahogany
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-as date
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-as TeX-Code inset box
+W
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-LaTeX
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as date
+ Mahogany
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-as date
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+Maroon
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-as command
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-DVI, PDF, PS
+W
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-as date
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-as date
+ Maroon
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-as date
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+Melon
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
+}{
\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\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.
-\begin_inset Newline newline
\end_inset
-External material is displayed in LyX either as a box like this:
-\begin_inset Graphics
- filename clipart/ExternalMaterialQt4.png
- scale 85
- scaleBeforeRotation
-\end_inset
+\begin_inset ERT
+status collapsed
- or as image, depending on the option
-\family sans
-Show in LyX
-\family default
- in the
-\family sans
-LaTeX and LyX options
-\family default
- tab of the dialog.
-\end_layout
+\begin_layout Plain 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 CommandInset label
-LatexCommand label
-name "sec:Child-Documents"
-
\end_inset
+ Melon
+\end_layout
-\begin_inset Index idx
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-External Document Parts ! Child Documents
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
-\begin_inset Index idx
+MidnightBlue
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Files ! Include
+
+}{
\end_layout
\end_inset
-\end_layout
+\begin_inset Phantom Phantom
+status open
-\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.
- A child documents inherits elements of its master, for example the LaTeX
- preamble, the bibliography, and labels for cross-references.
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-To be able to work on child documents without the need to open their master,
- specify in the child document the master in the menu
-\family sans
- Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-Document
-\begin_inset space ~
\end_inset
-Class
-\family default
-.
- This master document will then be used in the background by LyX when you
- edit the child document.
-\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
- scaleBeforeRotation
-\end_inset
+\begin_inset ERT
+status collapsed
- To include child documents in a master document use the menu
-\family sans
-Insert\SpecialChar \menuseparator
-File\SpecialChar \menuseparator
-Child
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
-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 them.
-\begin_inset Newline newline
\end_inset
-
+ MidnightBlue
\end_layout
-\begin_layout Standard
-Here is a child document inserted using
-\family sans
-Include
-\family default
-:
-\begin_inset CommandInset include
-LatexCommand include
-filename "DummyDocument1.lyx"
-
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+\backslash
+fcolorbox{black}{
\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 a subsection of this section.
- Labels of included documents can be referenced: Subsection
-\begin_inset space ~
\end_inset
+Mulberry
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sub:External-Subsection-1"
+\begin_layout Plain Layout
+
+}{
+\end_layout
\end_inset
-\end_layout
+\begin_inset Phantom Phantom
+status open
-\begin_layout Standard
-The preamble of the child document is ignored; only the preamble of the
- master document is used.
- Branches in child documents will be ignored by the master document when
- the master document does not have a branch with the same name.
- Included documents are inserted starting on a new page and ending with
- a page break.
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-If you are only working on a certain chapter of a large document and want
- to save compiling time, you can put each included file into a branch.
-\begin_inset Foot
+\end_inset
+
+
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Branches are described in section
-\emph on
-Branches
-\emph default
- of the LyX
-\emph on
-Userguide
-\emph default
-.
+
+}
\end_layout
\end_inset
- By enabling/disabling branches you can decide what included files will
- appear in the output.
+ Mulberry
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- Due to a bug in LyX the LaTeX command
-\series bold
\backslash
-includeonly
-\series default
- can currently not be used as an alternative to decide what files should
- be included.
+fcolorbox{black}{
\end_layout
\end_inset
+NavyBlue
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
+\end_inset
+
+
+\begin_inset Phantom Phantom
status open
\begin_layout Plain Layout
-
-\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 the child document uses another document class than
- the master document as this will lead to unexpected outputs.
+W
\end_layout
\end_inset
-\end_layout
+\begin_inset ERT
+status collapsed
-\begin_layout Description
-Input This method is very similar to the Include method.
- The differences are:
-\end_layout
+\begin_layout Plain Layout
-\begin_deeper
-\begin_layout Itemize
-Input files don't start with a new page and don't end with a page break.
+}
\end_layout
-\begin_layout Itemize
-Input files can be previewed in LyX when
-\family sans
-Instant
-\begin_inset space ~
\end_inset
-Preview
-\family default
- is enabled in LyX's preferences under
-\family sans
-Look
-\begin_inset space ~
-\end_inset
+ NavyBlue
+\end_layout
-and
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-feel\SpecialChar \menuseparator
-Graphics
-\family default
-.
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-\begin_layout Itemize
-The LaTeX-command
-\series bold
\backslash
-includeonly
-\series default
- cannot be used.
+fcolorbox{black}{
\end_layout
-\end_deeper
-\begin_layout Standard
-Here is a child document inserted using
-\family sans
-Input
-\family default
-:
-\begin_inset CommandInset include
-LatexCommand input
-filename "DummyDocument2.lyx"
+\end_inset
+
+OliveGreen
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}{
+\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\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_layout Plain Layout
-
-\backslash
-textvisiblespace
+}
\end_layout
\end_inset
+ OliveGreen
+\end_layout
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
- for every space character in the source code.
- The difference from the method via the menu
-\family sans
-Insert\SpecialChar \menuseparator
-File\SpecialChar \menuseparator
-Plain
-\begin_inset space ~
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-Text
-\family default
- is that the document content is not shown in LyX.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-Here is a child document inserted as Verbatim:
-\begin_inset CommandInset include
-LatexCommand verbatiminput
-filename "DummyTextDocument.txt"
+
+\backslash
+fcolorbox{black}{
+\end_layout
\end_inset
+Orange
+\begin_inset ERT
+status collapsed
-\begin_inset VSpace bigskip
-\end_inset
+\begin_layout Plain Layout
-Here is a child document inserted as Verbatim using the
-\family sans
-Mark spaces in output
-\family default
- option:
-\begin_inset CommandInset include
-LatexCommand verbatiminput*
-filename "DummyTextDocument.txt"
+}{
+\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- As you can see in the examples above, the text of the documents included
- as
-\family sans
-verbatim
-\family default
- is not broken at the end of the document lines.
+}
\end_layout
\end_inset
-
+ Orange
\end_layout
-\begin_layout Description
-Listings This type is described in chapter
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "cha:Program-Code-Listings"
+\begin_layout Plain Layout
-\end_inset
-.
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+
+OrangeRed
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\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_inset Phantom Phantom
+status open
-\begin_layout Chapter
-Program Code Listings
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Program-Code-Listings"
+\begin_layout Plain Layout
+W
+\end_layout
\end_inset
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Listings
+
+}
\end_layout
\end_inset
+ OrangeRed
+\end_layout
-\begin_inset Index idx
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Program Code
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-
-\begin_inset Index idx
+Orchid
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Floats ! Listings
+
+}{
\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\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
+\end_inset
-\begin_inset Index idx
+
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! listings
+
+}
\end_layout
\end_inset
- provides a powerful and flexible way to insert program source code into
- your document.
-\end_layout
-
-\begin_layout Standard
-Right-clicking on a listings inset opens the context menu containing where
- you can set the listings format.
+ Orchid
\end_layout
-\begin_layout Standard
-By default, a listing starts a new paragraph in the output.
- The placement option
-\family sans
-Inline
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-listing
-\family default
- prints the listing inline like this:
-\begin_inset listings
-lstparams "language={C++}"
-inline true
-status open
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-int a=5;
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
+Peach
+\begin_inset ERT
+status collapsed
-\begin_inset Newline newline
-\end_inset
+\begin_layout Plain Layout
+
+}{
+\end_layout
-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 Phantom Phantom
+status open
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
+W
+\end_layout
-,
-\begin_inset Quotes eld
\end_inset
-\family sans
-t
-\family default
+\begin_inset ERT
+status collapsed
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
-,
-\begin_inset Quotes eld
-\end_inset
+}
+\end_layout
+\end_inset
-\family sans
-b
-\family default
+ Peach
+\end_layout
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-, and
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\family sans
-p
-\family default
-\begin_inset Quotes erd
-\end_inset
+\backslash
+fcolorbox{black}{
+\end_layout
- corresponding to the float placement options described in section
-\begin_inset space ~
\end_inset
+Periwinkle
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Float-Placement"
+\begin_layout Plain Layout
-\end_inset
+}{
+\end_layout
-.
- The placement options can be mixed and are inserted without any separation,
- e.
-\begin_inset space \thinspace{}
\end_inset
-g.
-\begin_inset space \space{}
-\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
+\end_layout
-\begin_inset Quotes eld
\end_inset
-\family sans
-htbp
-\family default
+\begin_inset ERT
+status collapsed
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
-.
- The option
-\begin_inset Quotes eld
-\end_inset
+}
+\end_layout
-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.
+ Periwinkle
\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
-\begin_inset space ~
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "lst:Example-Listing"
-
-\end_inset
+\begin_layout Plain Layout
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-\begin_inset listings
-lstparams "language=Python"
-inline false
-status open
-
-\begin_layout Plain Layout
+\end_inset
-\begin_inset Caption
+PineGreen
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "lst:Example-Listing"
-
-\end_inset
-Example Listing float
+}{
\end_layout
\end_inset
-# Example listing float
-\end_layout
-\begin_layout Plain Layout
+\begin_inset Phantom Phantom
+status open
-def func(param):
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Plain Layout
+\end_inset
- 'this is a python function'
-\end_layout
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
- pass
+}
\end_layout
\end_inset
-
+ PineGreen
\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
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-def
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
- is recognized and printed bold in the output.
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+
+Plum
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- If you don't get bold keywords when using typewriter fonts, your
-\family typewriter
-typewriter
-\family default
- font probably doesn't provide a bold shape.
- In this case select a different one in the menu
-\family sans
-Document\SpecialChar \menuseparator
-Settings\SpecialChar \menuseparator
-Fonts
-\family default
-.
- (The fonts
-\emph on
-LuxiMono, BeraMono
-\emph default
- and
-\emph on
-Courier
-\emph default
- provide bold shapes.)
+}{
\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-In section
-\family sans
-Line
-\begin_inset space ~
\end_inset
-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 in the field
-
-\family sans
-Step
-\family default
-.
- When you insert e.
-\begin_inset space \thinspace{}
-\end_inset
-g.
-\begin_inset space \space{}
-\end_inset
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\begin_inset Quotes eld
-\end_inset
+}
+\end_layout
-3
-\begin_inset Quotes erd
\end_inset
-, only every 3rd line will be numbered.
+ Plum
\end_layout
-\begin_layout Standard
-You can furthermore specify a range of lines; only these will then appear
- in the output.
- The option
-\family sans
-Extended character table
-\family default
- should be used when you use national characters like the German umlauts
- in the listing.
-\begin_inset Newline newline
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-Here is an example listing with left line numbering, step
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
-3
-\begin_inset Quotes erd
-\end_inset
-, language
-\begin_inset Quotes eld
-\end_inset
+\backslash
+fcolorbox{black}{
+\end_layout
-Python
-\begin_inset Quotes erd
\end_inset
-, options
-\begin_inset Quotes eld
-\end_inset
+ProcessBlue
+\begin_inset ERT
+status collapsed
-Extended character table
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
- and
-\begin_inset Quotes eld
-\end_inset
+}{
+\end_layout
-Space
-\begin_inset space ~
\end_inset
-as
-\begin_inset space ~
-\end_inset
-symbol
-\begin_inset Quotes erd
-\end_inset
+\begin_inset Phantom Phantom
+status open
-, range lines 3
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
+W
+\end_layout
--
-\begin_inset space \thinspace{}
\end_inset
-8:
-\end_layout
-\begin_layout Standard
-\begin_inset listings
-lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
-inline false
-status open
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-def func(param):
+}
\end_layout
-\begin_layout Plain Layout
+\end_inset
- 'this is a python function'
+ ProcessBlue
\end_layout
-\begin_layout Plain Layout
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
- pass
-\end_layout
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-def func(param):
+
+\backslash
+fcolorbox{black}{
\end_layout
+\end_inset
+
+Purple
+\begin_inset ERT
+status collapsed
+
\begin_layout Plain Layout
-'This is a German word: Tschüß'
+}{
\end_layout
-\begin_layout Plain Layout
+\end_inset
-pass
+
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
\begin_layout Plain Layout
-def func(param):
+}
\end_layout
-\begin_layout Plain Layout
+\end_inset
-'this is a python function'
+ Purple
\end_layout
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
\begin_layout Plain Layout
-pass
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
+RawSienna
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\end_layout
-\begin_layout Standard
-When you have tabulators in your listing, you can specify the number of
- characters that are spanned by a tabulator in the field
-\family sans
-Tabulator
-\begin_inset space ~
\end_inset
-size
-\family default
-.
-\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
+\begin_inset Phantom Phantom
status open
\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
- Due to a bug in the
-\series bold
-listings
-\series default
- package 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.
+W
\end_layout
\end_inset
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-
+ RawSienna
\end_layout
-\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
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-The other child document types are described in section
-\begin_inset space ~
-\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Child-Documents"
+\backslash
+fcolorbox{black}{
+\end_layout
\end_inset
-.
-\end_layout
+RedOrange
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
- 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
+}{
+\end_layout
-?
-\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
-Insert\SpecialChar \menuseparator
-Cross-Reference
-\family default
-.
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-Listing
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "lst:file-listing"
+\begin_inset ERT
+status collapsed
-\end_inset
+\begin_layout Plain Layout
- is an example for a listing of a file; there the lines 10
-\begin_inset space \thinspace{}
-\end_inset
+}
+\end_layout
--
-\begin_inset space \thinspace{}
\end_inset
-15 of this LyX file are listed.
+ RedOrange
\end_layout
-\begin_layout Standard
-\begin_inset CommandInset include
-LatexCommand lstinputlisting
-filename "EmbeddedObjects.lyx"
-lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
-
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
+RedViolet
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\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
-\begin_inset space ~
-\end_inset
+\begin_inset Phantom Phantom
+status open
-settings
-\family default
- field.
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-For more information about the
-\series bold
-listings
-\series default
- package, we refer to its documentation
-\begin_inset CommandInset citation
-LatexCommand cite
-key "listings"
-
\end_inset
-.
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
\end_inset
-
+ RedViolet
\end_layout
-\begin_layout Chapter
-\start_of_appendix
-Units available in LyX
-\begin_inset Index idx
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-Units
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
+Rhodamine
+\begin_inset ERT
+status collapsed
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Units-available-in"
+\begin_layout Plain Layout
+
+}{
+\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Standard
-To understand the units described in this documentation, Table
-\begin_inset space ~
\end_inset
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Units"
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
\end_inset
- explains all units available in LyX.
+ Rhodamine
\end_layout
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-\begin_inset Caption
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Units"
-\end_inset
-Units
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
+RoyalBlue
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\end_layout
-\begin_layout Plain Layout
-\begin_inset VSpace medskip
\end_inset
-\end_layout
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="20" columns="2">
-<features tabularvalignment="middle">
-<column alignment="center" valignment="top" width="0">
-<column alignment="center" valignment="top" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
+W
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-unit
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-name/description
+ RoyalBlue
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-mm
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+RoyalPurple
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-millimeter
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-cm
+W
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-centimeter
+
+}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-in
+ RoyalPurple
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-inch
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+RubineRed
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-pt
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-point (72.27
-\begin_inset space \thinspace{}
-\end_inset
+W
+\end_layout
-pt = 1
-\begin_inset space \thinspace{}
\end_inset
-in)
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-pc
+ RubineRed
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-pica (1
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset ERT
+status collapsed
-pc = 12
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-pt)
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+Salmon
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-sp
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-scaled point (65536
-\begin_inset space \thinspace{}
+W
+\end_layout
+
\end_inset
-sp = 1
-\begin_inset space \thinspace{}
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
\end_inset
-pt)
+ Salmon
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-bp
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-big point (72
-\begin_inset space \thinspace{}
-\end_inset
+SeaGreen
+\begin_inset ERT
+status collapsed
-bp = 1
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-in)
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-dd
+W
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-didot (1
-\begin_inset space \thinspace{}
-\end_inset
-dd
-\begin_inset Formula $\approx$
-\end_inset
+\begin_inset ERT
+status collapsed
- 0.376
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-mm)
+}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-cc
+ SeaGreen
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-cicero (1
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset ERT
+status collapsed
-cc = 12
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-dd)
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+Sepia
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-Scale%
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-% of original image width
+W
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-text%
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-% of text width
+ Sepia
\end_layout
\end_inset
</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-col%
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+SkyBlue
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-% of column width
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-page%
+W
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-% of paper width
+
+}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-line%
+ SkyBlue
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-% of line width
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+SpringGreen
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-theight%
+
+}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-% of text height
+W
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-pheight%
+
+}
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-% of paper height
+ SpringGreen
\end_layout
\end_inset
</cell>
</row>
<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-ex
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+Tan
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-height of letter
-\emph on
-x
-\emph default
- in current font
+
+}{
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset Phantom Phantom
+status open
\begin_layout Plain Layout
-em
+W
\end_layout
\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
+
+
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-width of letter
-\emph on
-M
-\emph default
- in current font
+
+}
\end_layout
\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
-\begin_inset Text
-\begin_layout Plain Layout
-mu
+ Tan
\end_layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-math unit (1
-\begin_inset space \thinspace{}
-\end_inset
+\begin_inset ERT
+status collapsed
-mu = 1/18
-\begin_inset space \thinspace{}
-\end_inset
+\begin_layout Plain Layout
-em)
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-</cell>
-</row>
-</lyxtabular>
-\end_inset
+TealBlue
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
+}{
\end_layout
\end_inset
-\end_layout
+\begin_inset Phantom Phantom
+status open
-\begin_layout Chapter
-Output File Formats with Graphics
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Output-File-Formats"
+\begin_layout Plain Layout
+W
+\end_layout
\end_inset
-\end_layout
-
-\begin_layout Section
-DVI
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-File Formats ! DVI
+
+}
\end_layout
\end_inset
+ TealBlue
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-DVI|see
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-{
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-File Formats
+Thistle
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
\end_inset
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
-\begin_layout Standard
-This file type has the extension
-\begin_inset Quotes eld
\end_inset
+ Thistle
+\end_layout
-\family typewriter
-.dvi
-\family default
-
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-.
- It is called
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-device-independent
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
- (DVI), because it is completely portable; you can move them from one machine
- to another without needing to do any sort of conversion.
- At the time when this file-format was developed, this was no matter of
- course.
- DVIs are used for quick previews and as pre-stage for other output formats,
- like PostScript.
+
+\backslash
+fcolorbox{black}{
\end_layout
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
+\end_inset
+
+Turquoise
+\begin_inset ERT
+status collapsed
\begin_layout Plain Layout
-\series bold
-Note:
-\series default
- DVI-files do not contain images; they will only be a linked.
+}{
\end_layout
\end_inset
- So don't forget this, if you move your
-\family typewriter
-.dvi
-\family default
- file to another computer.
- This property can also slow down your computer when you view the DVI, because
- the DVI-viewer has to convert the image in the background to make it visible
- when you scroll in the DVI.
- So it is recommended that you use PDF for files with many images.
-\end_layout
-
-\begin_layout Standard
-You can export your document to DVI by using the menu
-\family sans
-File\SpecialChar \menuseparator
-Export\SpecialChar \menuseparator
-DVI
-\family default
-.
- You can view your document as DVI via the
-\family sans
-View
-\family default
- menu or by using the toolbar button
-\begin_inset Graphics
- filename ../images/buffer-view_dvi.png
- scale 85
- scaleBeforeRotation
-\end_inset
+\begin_inset Phantom Phantom
+status open
-.
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Section
-PostScript
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:PostScript"
-
\end_inset
-\begin_inset Index idx
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-File Formats ! PostScript
+
+}
\end_layout
\end_inset
+ Turquoise
+\end_layout
-\begin_inset Index idx
-status collapsed
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
\begin_layout Plain Layout
-PostScript|see
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-{
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
-File Formats
+Violet
\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-}
+}{
\end_layout
\end_inset
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
\end_inset
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
-\begin_layout Standard
-This file type has the extension
-\begin_inset Quotes eld
\end_inset
+ Violet
+\end_layout
-\family typewriter
-.ps
-\family default
-
-\begin_inset Quotes erd
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-.
- PostScript was developed by the company
-\family typewriter
-Adobe
-\family default
- as a printer language.
- The file therefore contains commands that the printer uses to print the
- file.
- PostScript can be seen as a
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{black}{
+\end_layout
-programming language
-\begin_inset Quotes erd
\end_inset
-; you can calculate with it and draw diagrams and images
-\begin_inset Foot
+VioletRed
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-If you are interested to learn more about this, have a look at the LaTeX-package
-
-\series bold
-PSTricks
-\series default
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "pstricks"
+
+}{
+\end_layout
\end_inset
-.
+
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
\end_inset
-.
- Due to this ability, the files are often bigger than PDFs.
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
\end_layout
-\begin_layout Standard
-PostScript can only contain images in the format
-\begin_inset Quotes eld
\end_inset
-Encapsulated PostScript
-\begin_inset Quotes erd
-\end_inset
+ VioletRed
+\end_layout
- (EPS, file extension
-\begin_inset Quotes eld
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
-\family typewriter
-.eps
-\family default
+\begin_layout Plain Layout
-\begin_inset Quotes erd
-\end_inset
-).
- As LyX allows you to use any known image format in your document, it has
- to convert images in the background to EPS.
- If you have e.g.
-\begin_inset space ~
-\end_inset
+\backslash
+fcolorbox{black}{
+\end_layout
-50
-\begin_inset space ~
\end_inset
-images in your document, LyX has to do 50
-\begin_inset space ~
-\end_inset
+WildStrawberry
+\begin_inset ERT
+status collapsed
-conversions whenever you view or export your document.
- This will slow down your work flow with LyX drastically.
- So if you plan to use PostScript, you can insert your images directly as
- EPS to avoid this problem.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-You can export your document to PostScript using the menu
-\family sans
-File\SpecialChar \menuseparator
-Export\SpecialChar \menuseparator
-Postscript
-\family default
-.
- You can view your document as PostScript via the
-\family sans
-View
-\family default
- menu or by using the toolbar button
-\begin_inset Graphics
- filename ../images/buffer-view_ps.png
- scale 85
- scaleBeforeRotation
+}{
+\end_layout
\end_inset
-.
+
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
\end_layout
-\begin_layout Section
-PDF
-\begin_inset Index idx
+\end_inset
+
+
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-File Formats ! PDF
+
+}
\end_layout
\end_inset
+ WildStrawberry
+\end_layout
-\begin_inset Index idx
+\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-PDF
+
+
+\backslash
+fcolorbox{black}{
\end_layout
\end_inset
+YellowGreen
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+}{
\end_layout
-\begin_layout Standard
-This file type has the extension
-\begin_inset Quotes eld
\end_inset
-\family typewriter
-.pdf
-\family default
+\begin_inset Phantom Phantom
+status open
+
+\begin_layout Plain Layout
+W
+\end_layout
-\begin_inset Quotes erd
\end_inset
-.
- The
-\begin_inset Quotes eld
-\end_inset
-Portable Document Format
-\begin_inset Quotes erd
-\end_inset
+\begin_inset ERT
+status collapsed
- (PDF) was developed by
-\family typewriter
-Adobe
-\family default
- as a derivative of PostScript.
- It is more compressed and it uses fewer commands than PostScript.
- As the name
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+
+}
+\end_layout
-portable
-\begin_inset Quotes erd
\end_inset
- implies, it can be processed at any computer system and the printed output
- looks exactly the same.
+ YellowGreen
\end_layout
-\begin_layout Standard
-PDF can contain images in its own PDF format, in the format
-\begin_inset Quotes eld
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-Joint Photographic Experts Group
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
- (JPG, file extension
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
-\family typewriter
-.jpg
-\family default
+\backslash
+fcolorbox{black}{
+\end_layout
-\begin_inset Quotes erd
\end_inset
- or
-\begin_inset Quotes eld
-\end_inset
+YellowOrange
+\begin_inset ERT
+status collapsed
+\begin_layout Plain Layout
-\family typewriter
-.jpeg
-\family default
+}{
+\end_layout
-\begin_inset Quotes erd
\end_inset
-), and in the format
-\begin_inset Quotes eld
-\end_inset
-Portable Network Graphics
-\begin_inset Quotes erd
-\end_inset
+\begin_inset Phantom Phantom
+status open
- (PNG, file extension
-\begin_inset Quotes eld
-\end_inset
+\begin_layout Plain Layout
+W
+\end_layout
+\end_inset
-\family typewriter
-.png
-\family default
-\begin_inset Quotes erd
-\end_inset
+\begin_inset ERT
+status collapsed
-).
- 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.
- So it is recommended that you use images in one of the three mentioned
- formats.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-You can export your document to PDF via the menu
-\family sans
-File\SpecialChar \menuseparator
-Export
-\family default
- in three different ways:
+}
\end_layout
-\begin_layout Description
-PDF
-\begin_inset space ~
\end_inset
-(ps2pdf) This uses the program
-\family typewriter
-ps2pdf
-\family default
- that creates a PDF from a PostScript-version of your file.
- The PostScript-version is produced by the program
-\family typewriter
-dvips
-\family default
- which uses a DVI-version as intermediate step.
- So this export variant consists of three conversions.
+ YellowOrange
\end_layout
-\begin_layout Description
-PDF
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-(dvipdfm) This uses the program
-\family typewriter
-dvipdfm
-\family default
- that converts your file in the background to DVI and in a second step to
- PDF.
\end_layout
-\begin_layout Description
-PDF
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
-(pdflatex) This uses the program
-\family typewriter
-pdftex
-\family default
- that converts your file directly to PDF.
\end_layout
-\begin_layout Standard
-It is recommended that you use
-\family sans
-PDF
-\begin_inset space ~
\end_inset
+</cell>
+<cell alignment="left" valignment="top" usebox="none">
+\begin_inset Text
-(pdflatex)
-\family default
- because
-\family typewriter
-pdftex
-\family default
- supports all features of actual PDF-versions, is quick and works stable.
- The program
-\family typewriter
-dvipdfm
-\family default
- is not under development and therefore a bit outdated.
-\end_layout
+\begin_layout Plain Layout
-\begin_layout Standard
-You can view your document as PDF via the
-\family sans
-View
-\family default
- menu or by using the toolbar button
-\begin_inset Graphics
- filename ../images/buffer-view_pdf2.png
- scale 85
- scaleBeforeRotation
+\end_layout
\end_inset
+</cell>
+</row>
+</lyxtabular>
-
-\family sans
-(
-\family default
-that uses
-\family sans
-PDF
-\begin_inset space ~
\end_inset
-(pdflatex)
-\family default
-).
+
\end_layout
\begin_layout Chapter
\begin_inset space ~
\end_inset
-
+(
\begin_inset CommandInset ref
-LatexCommand eqref
+LatexCommand ref
reference "eq:Wgn"
\end_inset
-
+)
\begin_inset CommandInset label
LatexCommand label
name "cha:Explanation-of-Equation"
n
\emph default
table cells
-\begin_inset Formula $W_{\mathrm{tot\, n}}$
+\begin_inset Formula $W_{\mathrm{tot\,n}}$
\end_inset
as follows:
-\end_layout
-
-\begin_layout Standard
-\begin_inset Formula \begin{equation}
-W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
+\begin_inset Formula
+\begin{equation}
+W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
+\end{equation}
\end_inset
where
-\begin_inset Formula $W_{g\, n}$
+\begin_inset Formula $W_{g\,n}$
\end_inset
is the given width of all cells,
\backslash
tabcolsep
\series default
- is the LaTeX-length between the cell text and the cell border (its default
- value is 6
+ is the \SpecialChar LaTeX
+-length between the cell text and the cell border (its default value
+ is 6
\begin_inset space \thinspace{}
\end_inset
\end_inset
, the total width of a multicolumn
-\begin_inset Formula $W_{\mathrm{tot\, mult}}$
+\begin_inset Formula $W_{\mathrm{tot\,mult}}$
\end_inset
is
-\end_layout
-
-\begin_layout Standard
-\begin_inset Formula \begin{equation}
-W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
+\begin_inset Formula
+\begin{equation}
+W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
+\end{equation}
\end_inset
\end_inset
equal we can calculate the needed given width
-\begin_inset Formula $W_{g\, n}$
+\begin_inset Formula $W_{g\,n}$
\end_inset
when
n
\emph default
columns are spanned, so that each column has a total width of
-\begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
+\begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
\end_inset
:
-\end_layout
-
-\begin_layout Standard
-\begin_inset Formula \begin{equation}
-W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
+\begin_inset Formula
+\begin{equation}
+W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
+\end{equation}
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexcompanion"
+literal "true"
\end_inset
Frank Mittelbach and Michel Goossens:
\emph on
-The LaTeX Companion Second Edition.
+The \SpecialChar LaTeX
+ Companion Second Edition.
\emph default
Addison-Wesley, 2004
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexguide"
+literal "true"
\end_inset
Helmut Kopka and Patrick W.
Daly:
\emph on
-A Guide to LaTeX Fourth Edition.
+A Guide to \SpecialChar LaTeX
+ Fourth Edition.
\emph default
Addison-Wesley, 2003
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexbook"
+literal "true"
\end_inset
Leslie Lamport:
\emph on
-LaTeX: A Document Preparation System.
+\SpecialChar LaTeX
+: A Document Preparation System.
\emph default
Addison-Wesley, second edition, 1994
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "arydshln"
+literal "true"
+
+\end_inset
+
+Documentation of the \SpecialChar LaTeX
+-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "arydshln"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
+literal "false"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+arydshln
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "booktabs"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "booktabs"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! booktabs
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+booktabs
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "caption"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "caption"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! caption
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+caption
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "endfloat"
+key "diagbox"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "endfloat"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
+name "diagbox"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! endfloat
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+diagbox
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "wrapfig"
+key "endfloat"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "wrapfig"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
+name "endfloat"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! wrapfig
-\begin_inset ERT
-status collapsed
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
\begin_layout Plain Layout
-
-
-\backslash
-vspace{4mm}
+endfloat
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "footmisc"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "footmisc"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! footmisc
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+footmisc
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "hypcap"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "hypcap"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "hyperref"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "hyperref"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+hyperref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "KOMA-Script"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "KOMA-Script"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
+literal "false"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+KOMA-Script
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "lettrine"
+literal "true"
+
+\end_inset
+
+Documentation of the \SpecialChar LaTeX
+-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "lettrine"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
+literal "false"
\end_inset
\series default
+ and an
+\begin_inset CommandInset href
+LatexCommand href
+name "example"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
+literal "false"
+
+\end_inset
+
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! KOMA-Script
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+lettrine
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "listings"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "listings"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! listings
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+listings
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "marginnote"
+key "minted"
+literal "false"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "marginnote"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
+name "minted"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! marginnote
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+minted
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "pstricks"
+key "marginnote"
+literal "true"
\end_inset
-Web page of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "PSTricks"
-target "http://tug.org/PSTricks/"
+name "marginnote"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! PSTricks
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+marginnote
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "sidecap"
+key "pdfpages"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
-name "sidecap"
-target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
+name "pdfpages"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! sidecap
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+pdfpages
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "prettyref"
+literal "true"
\end_inset
-Documentation of the LaTeX-package
+Documentation of the \SpecialChar LaTeX
+-package
\series bold
\begin_inset CommandInset href
LatexCommand href
name "prettyref"
-target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+literal "false"
\end_inset
\series default
\begin_inset Index idx
+range none
+pageformat default
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! prettyref
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+prettyref
+\end_layout
+
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
-\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "NewInLyX16"
+key "pstricks"
+literal "true"
\end_inset
+Web page of the \SpecialChar LaTeX
+-package
+\series bold
\begin_inset CommandInset href
LatexCommand href
-name "Wiki page"
-target "http://wiki.lyx.org/LyX/NewInLyX16"
+name "PSTricks"
+target "http://tug.org/PSTricks/"
+literal "false"
\end_inset
- about new features in
-\family sans
-LyX 1.6.0
-\family default
-.
+
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+PSTricks
\end_layout
-\begin_layout Standard
-\begin_inset CommandInset index_print
-LatexCommand printindex
-type "idx"
+\end_inset
+
+
+\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset FloatList figure
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "refstyle"
+literal "true"
+
+\end_inset
+
+Documentation of the \SpecialChar LaTeX
+-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "refstyle"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
+literal "false"
\end_inset
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+refstyle
\end_layout
-\begin_layout Standard
-\begin_inset FloatList table
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "sidecap"
+literal "true"
+
+\end_inset
+
+Documentation of the \SpecialChar LaTeX
+-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "sidecap"
+target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
+literal "false"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index idx
+range none
+pageformat default
+status collapsed
+
+\begin_layout Plain Layout
+\SpecialChar LaTeX
+ packages
+\begin_inset IndexMacro subentry
+status open
+
+\begin_layout Plain Layout
+sidecap
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "Inkscape"
+literal "true"
+
+\end_inset
+
+Documentation of the option
+\begin_inset CommandInset href
+LatexCommand href
+name "Omit text in PDF"
+target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
+literal "false"
+
+\end_inset
+
+ of the program
+\noun on
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Inkscape"
+target "https://inkscape.org"
+literal "false"
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset FloatList algorithm
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
+name "Index"
+literal "false"
\end_inset