-#LyX 1.6.3svn created this file. For more info see http://www.lyx.org/
-\lyxformat 345
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
+\lyxformat 413
\begin_document
\begin_header
\textclass scrbook
\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
% enables calculation of values,
\usepackage{calc}
-% provides special table cell alignments
-\usepackage{dcolumn}
-
% increase the bottom float placement fraction
\renewcommand{\bottomfraction}{0.5}
\setboolean{colortbl}{true}}
{\setboolean{colortbl}{false}}
-% used for multirows
-\usepackage{multirow}
-%\renewcommand{\multirowsetup}{\centering}
-
% used for book-style tables
\usepackage{booktabs}
% 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}
\newboolean{sidecap}
\IfFileExists{sidecap.sty}
{\usepackage{sidecap}
- \let\marginpar\marginnote
\setboolean{sidecap}{true}}
{\setboolean{sidecap}{false}}
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
{LyX}}
\end_preamble
-\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
\use_default_options false
+\maintain_unincluded_children false
\language english
+\language_package default
\inputencoding auto
+\fontencoding global
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
+\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
\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, pdfpagelabels"
+\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
\cite_engine basic
\use_bibtopic false
+\use_indices false
\paperorientation portrait
+\suppress_date false
+\use_refstyle 0
+\notefontcolor #0000ff
+\index Index
+\shortcut idx
+\color #008000
+\end_index
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\bullet 3 2 7 -1
\tracking_changes false
\output_changes false
-\author ""
-\author ""
+\html_math_output 0
+\html_css_as_file 0
+\html_be_strict false
\end_header
\begin_body
\family sans
-Version 1.6.x
+Version 2.0.x
\end_layout
\begin_layout Standard
\begin_layout Chapter
Figures
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Section
Graphics Dialog
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
Images can be opened in a program of your choice by right-clicking on it
- choosing the entry
+ and choosing the entry
\family sans
Edit
\begin_inset space ~
externally
\family default
- in the appearing context menu.
+ in the context menu.
The program can be set for every image format in the file format settings
in LyX's preferences.
\end_layout
Name
\family default
allows you define or join an image settings group.
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
.
- More about the caption placement is described in section
+ More about caption placement is described in section
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset Quotes erd
\end_inset
-, because as LaTeX will reposition the floats in the final document, it
+, because LaTeX will reposition the floats in the final document and it
might not be
\begin_inset Quotes eld
\end_inset
\end_inset
+
+\begin_inset CommandInset label
+LatexCommand label
+name "fig2:Two-distorted-images-2"
+
+\end_inset
+
Two distorted images.
Both images are in the image settings group named
\begin_inset Quotes eld
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-, every output document format allows only a few image formats.
+, each output document format allows only a few image formats.
LyX uses therefore the program
\family typewriter
-Imagemagick
+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,
\end_inset
images consist of pixel values, often in a compressed form.
- They are therefore not fully scalable and look pixeled in large zooms.
+ They are therefore not fully scalable and look pixelated in large zooms.
Well-known bitmap image formats are
\begin_inset Quotes eld
\end_inset
\end_inset
)
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
)
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
)
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
)
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
)
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
)
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
)
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
, because you can convert any bitmap image to a PDF or EPS-image and the
result will still be a bitmap image.
- In this cases only a header with the image properties is added to the original
+ In such cases only a header with the image properties is added to the original
image
\begin_inset Foot
status collapsed
\begin_layout Chapter
Tables
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Section
Introduction
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Table
\family default
.
- The toolbar button offers you a graphical selection: Move the mouse to
+ The toolbar button offers you a graphical selection: move the mouse to
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
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_layout Section
Table Dialog
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
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 return 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
Settings
\family default
- Here you can set the horizontal alignment and the width of the current
- column.
+ Here you can set the table width
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Table ! Width
+\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
+
+Decimal
+\begin_inset space ~
+\end_inset
+
+Separator
+\family default
+ is described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub: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
\end_inset
.
- If you set no width, the column is as wide as their widest cell content
- is.
+ If you set no width, the column is as wide as the content of its widest
+ cell.
\begin_inset Newline newline
\end_inset
LatexCommand ref
reference "sub:Multicolumns"
+\end_inset
+
+ or the cells of one column as multirow cell, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Multirows"
+
\end_inset
.
\begin_inset Newline newline
\end_inset
-The rotate check boxes rotates the current cell, a selection, or the whole
+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.
\begin_inset Newline newline
\end_inset
+\begin_inset Newline newline
+\end_inset
+
+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" width="0">
+<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" 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
+
+\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" width="0">
+<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
\begin_inset Newline newline
\end_inset
-You can also add here space to table rows as decribed in section
+You can also add here space to table rows as described in section
\begin_inset space ~
\end_inset
\end_inset
that can run over several pages.
- Section
+ Sections
\begin_inset space ~
\end_inset
describe the longtable features in detail.
\end_layout
-\begin_layout Standard
-When the table toolbar is opened, 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.
-\end_layout
-
\begin_layout Section
Table Toolbar
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
adds lines around the current or selected cells - if the current cell no
- multicolumn this also affects the current row and column
+ multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\end_inset
deletes all lines of the current or selected cells - if the current cell
- no multicolumn this also affects the current row and column
+ no multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
right-aligns the content of the current cell / column
\end_layout
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Graphics
+ filename ../images/tabular-feature_align-decimal.png
+ scaleBeforeRotation
+
+\end_inset
+
+ aligns the content of the current column at a character
+\end_layout
+
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Graphics
sets the current cell or selection as a multicolumn
\end_layout
+\begin_layout Labeling
+\labelwidthstring 00.00.0000
+\begin_inset Graphics
+ filename ../images/tabular-feature_multirow.png
+ scaleBeforeRotation
+
+\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
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\color none
\begin_inset Formula $\left[\begin{array}{cc}
a & b\\
-c & d\end{array}\right]$
+c & d
+\end{array}\right]$
\end_inset
\end_inset
(# is the actual table number).
- You can insert tables to the float above or below the caption.
+ You can insert tables in the float above or below the caption.
\end_layout
\begin_layout Standard
\begin_layout Standard
Having the caption above the table is the common rule that is unfortunately
not supported in LaTeX's standard classes.
- That means if you are using the document classes
+ This means that, if you are using the document classes
\family sans
article
\family default
\family sans
report
\family default
- there will be no space between the caption and the table.
+, 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
\series bold
caption
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
header
\family default
is defined.
- This therefore called the main header.
+ This is therefore called the main header.
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-footer: The current row is defined to be a footer row that appear on the
+footer: The current row is defined to be a footer row that appears on the
last page of the longtable.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="69" columns="3">
-<features islongtable="true">
+<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">
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
Longtable Alignment
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-Longtables are by default centered.
- In contrary to the alignment of the table columns and row, 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 longtables 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 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 TeX-Code before the longtable:
\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
\end_layout
\begin_layout Standard
-The following longtable was left-aligned by setting
+The following longtable 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_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features islongtable="true">
-<column alignment="center" valignment="top" width="0">
+<features islongtable="true" longtabularalignment="center">
<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_layout Subsection
Longtable Captions
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
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 for a table row the longtable option
+ you use the longtable option
\family sans
Caption
\family default
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features islongtable="true">
+<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">
\begin_layout Plain Layout
Longtable with caption
-\begin_inset OptArg
+\begin_inset Argument
status open
\begin_layout Plain Layout
1:
\series default
- The table number is increased for every longtable, also if you didn't set
- a caption for it.
+ The table number is increased for for every longtable, even if you did
+ not set a caption for it.
For this reason you could have the case that e.
\begin_inset space \thinspace{}
\end_inset
\begin_inset space ~
\end_inset
-2.4 follows on Table
+2.4 follows Table
\begin_inset space ~
\end_inset
2.1 in the list of tables if there are two longtables without captions.
- To avoid this you can add the following command in TeX-Code behind every
+ To avoid this you can add the following command in TeX-Code after every
longtable without a caption:
\end_layout
hyperref
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Subsubsection
References to Longtables
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features islongtable="true">
+<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">
caption
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Subsubsection
Caption Width
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features islongtable="true">
+<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">
\begin_layout Plain Layout
long full title with default width long full title with default width long
full title with default width
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="5">
-<features islongtable="true">
+<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">
\end_inset
cm
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
caption
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Subsubsection
Different Captions for Table Pages
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-in a dummy caption row that is marked as header.
+in a dummy caption row that is marked as a header.
Table
\begin_inset space ~
\end_inset
\end_inset
- is an example for a longtable with different heading where the second caption
+ is an example of a longtable with different heading where the second caption
doesn't include the table number.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="59" columns="3">
-<features islongtable="true" lastFootEmpty="true">
+<features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
\end_inset
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
Longtable Calculation
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
LaTeX calculates the height of table pages and their page breaks using so
called chunks.
- Chunks are pieces of the tables that are at once in LaTeX's memory.
- The default value is historically set to only 20 table rows.
+ 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
\begin_layout Subsection
Floats and Longtables
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
There might be problems when a float appears on the same page where a longtable
starts.
- To avoid such situation, add the command
-\series bold
+ To avoid such a situation, insert a
+\begin_inset Quotes eld
+\end_inset
-\backslash
-clearpage
-\series default
- as TeX-Code before your longtable.
+clear page
+\begin_inset Quotes erd
+\end_inset
+
+ (menu
+\family sans
+Insert\SpecialChar \menuseparator
+Formatting\SpecialChar \menuseparator
+Clear
+\begin_inset space ~
+\end_inset
+
+Page
+\family default
+) before your longtable.
\end_layout
\begin_layout Subsection
Forced Page Breaks
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset Quotes erd
\end_inset
- as TeX-Code at this point of the cell where it can be broken.
+ as 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 so many
+ command you have to insert in TeX-Code as many
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- characters like the number of the following table columns.
+ characters as the number of the following table columns.
The
\series bold
&
\begin_inset Newline newline
\end_inset
-Behind the the
+After the
\series bold
\backslash
\backslash
\series default
- command, insert so many
+ command, insert as many
\series bold
&
\series default
- characters like the number of table columns before the current column.
+ characters as the number of table columns before the current column.
In Table
\begin_inset space ~
\end_inset
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 behind
+ Therefore the following command was inserted in the cell as TeX-Code after
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- in the third columns of the row was deleted.
+ in the third column of the row was deleted.
\series bold
\backslash
newpage
\series default
- is only needed when a page break should definitively occur at this position,
- otherwise it is only a possibility to break.
+ 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:
\begin_layout Standard
must be inserted as TeX-Code at the beginning of the cell.
- This assures that the part of the cell that will be displayed on the new
+ 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">
+<features islongtable="true" lastFootEmpty="true" longtabularalignment="center">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0pt">
\end_inset
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\end_layout
\begin_layout Standard
-Adjusting a fixed width for a column, enables to enter text as a paragraph
- with multiple lines and hyphenations.
+Setting a fixed width for a column enables you to enter text as a paragraph
+ with multiple lines and hyphenation.
\end_layout
\begin_layout Standard
cm and choose centered for the vertical and horizontal alignment.
The vertical alignment is used for all cells of the row.
- As our text is smaller than than 2.5
+ As our text is smaller than 2.5
\begin_inset space \thinspace{}
\end_inset
\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.
- Therefore you need to insert something, to make the word not being the
+ Therefore you need to insert something to prevent the word not being the
first entry.
So add a horizontal space of 0
\begin_inset space \thinspace{}
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-To span a cell over multiple columns, mark as much cells within a line that
- should be one spanned cell and use either the table-toolbar button
+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
Table\SpecialChar \menuseparator
Multicolumn
\family default
-, or right click on the marked cells and choose multicolumn in the appearing
- table dialog under the tab
+, or right click on the marked cells and choose
\family sans
-Table Settings
+Multicolumn
\family default
-.
+ in the context menu.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="4">
-<features firstHeadTopDL="true" firstHeadBottomDL="true">
+<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="top" width="0in">
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-LyX supports multicolumns directly, but we have to take notice of the cell
+LyX supports multicolumns directly, but we have to take account of the cell
width of the columns spanned by the multicolumn cell.
\end_layout
Table with centered multicolumn text above two columns that have exactly
half the width of the multicolumn cell
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\end_inset
cm in the table dialog.
- The spanned columns should have exactly half the width of the multicolumn
- cell, so that you would adjust a width of 1.25
+ The merged columns should have exactly half the width of the multicolumn
+ cell, so that you would set a width of 1.25
\begin_inset space \thinspace{}
\end_inset
\end_inset
-Table where the spanned table columns have not exactly half the width of
+Table where the spanned table columns are not exactly half the width of
the multicolumn cell
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\end_layout
\begin_layout Standard
-You can see that the first column has not the half width of the multicolumn
+You can see that the first column is not half the width of the multicolumn
cell, it is a bit bigger.
- The reason is that the given width of a cell
+ The reason is that the specified width of a cell
\begin_inset Formula $W_{g}$
\end_inset
\begin_inset Formula $W_{\mathrm{tot}}$
\end_inset
- because a cell is always a bit larger than its given width.
+ because a cell is always a bit larger than specified.
Appendix
\begin_inset space ~
\end_inset
\end_inset
- explains it in detail.
+ explains this in detail.
\end_layout
\begin_layout Standard
-The needed given width
+The width
\begin_inset Formula $W_{g\, n}$
\end_inset
- when
+ which the user needs to set when
\emph on
n
\emph default
\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
calc
\series default
must be loaded with the document preamble line
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-LyX does not allow to calculate lengths in the width-field of the table
- dialog.
+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.
Here is an overview about the arguments:
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 we have to use for the multicolumn the LaTeX-argument
+ So for the multicolumn cell we have to use the LaTeX-argument
\end_layout
\begin_layout Standard
\begin_layout Subsection
Multirows
-\begin_inset Index
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Multirows"
+
+\end_inset
+
+
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-In contrary to 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 Graphics
+ filename ../images/tabular-feature_multirow.png
+ scale 85
+ scaleBeforeRotation
+
+\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" 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 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
-status collapsed
+\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
+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
-LaTeX-packages ! multirow
+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 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">
-<features>
-<column alignment="center" valignment="top" width="0">
+<lyxtabular version="3" rows="4" columns="3">
+<features tabularvalignment="middle">
+<column alignment="center" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\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 multicolumn="1" 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.
- To get rid of the line above the last cell in the first column, the cell
- is marked as multicolumn and the upper border is unset.
- The multirow is now created in the second row of the first column by inserting
- there the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-multirow{2}{2.5cm}{
-\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
-
-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 behind the text.
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-multirow
-\series default
- left-aligns its content by default.
- To override the default, renew the command
-\series bold
-
-\backslash
-multirowsetup
-\series default
- with the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-renewcommand{
-\backslash
-multirowsetup}{
-\backslash
-centering}
-\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 an 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
-raggedright
-\series default
- is used.
-\end_layout
-
\begin_layout Section
Formal Tables
\begin_inset CommandInset label
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true">
+<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">
\begin_inset Text
\begin_layout Plain Layout
-Medipix
+Chip
\begin_inset space \thinspace{}
\end_inset
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Medipix
+Chip
\begin_inset space \thinspace{}
\end_inset
\end_inset
-Detector thickness [µm]
+Detector thickness in µm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Edge angle [°]
+Edge angle in °
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Spatial resolution [µm]
+Spatial resolution in µm
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-In contrary to normal tables, formal tables have no vertical table lines.
- The horizontal table lines can be set like for normal tables but they appear
- with different width in the output:
+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
\end_layout
\begin_layout Standard
-Lines that don't span over all table columns can be created by setting a
- table line for multicolumn cells.
+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
- are are currently not supported by LyX so you have to use TeX-Code to be
- able to use them.
+ 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 first
+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
\end_layout
\begin_layout Standard
-at the beginning of the in the second row and
+at the beginning of the second row and
\end_layout
\begin_layout Standard
\backslash
cmidrule
\series default
-s like in Table
+s as in in Table
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-For more information about these specialties, we refer to the manual of
- the LaTeX-package
+For more information about these features, refer to the manual of the LaTeX-pack
+age
\series bold
booktabs
\series default
\end_inset
.
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="8" columns="4">
-<features booktabs="true">
+<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">
\begin_inset Text
\begin_layout Plain Layout
-Medipix
+Chip
\begin_inset space \thinspace{}
\end_inset
\end_inset
</cell>
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-Medipix
+Chip
\begin_inset space \thinspace{}
\end_inset
\end_inset
-Detector thickness [µm]
+Detector thickness in µm
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Edge angle [°]
+Edge angle in °
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-Spatial resolution [µm]
+Spatial resolution in µm
\end_layout
\end_inset
\begin_layout Section
Vertical Table Alignment
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "15col%"
special "none"
height "1in"
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "15col%"
special "none"
height "1in"
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "15col%"
special "none"
height "1in"
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "15col%"
special "none"
height "1in"
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "15col%"
special "none"
height "1in"
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\end_layout
\begin_layout Standard
-As you can see, the content of the first and last table row is not correctly
- aligned with the text line where the table is in.
+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
\begin_layout Standard
before the box.
- Behind the box the closing brace
+ After the box the closing brace
\series bold
}
\series default
\series default
The alignment of the table row content to the surrounding text line is
not exact.
- The needed factor of the
+ The required value for the
\series bold
\backslash
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
Colored Cells
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
colortbl
\series default
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
colortbl
\series default
.
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\series bold
>{}
\series default
- is described in section
+ is contained in section
\begin_inset space ~
\end_inset
\series bold
\backslash
-rowcolow{cyan}
+rowcolor{cyan}
\end_layout
\begin_layout Standard
colortbl
\series default
-\begin_inset OptArg
+\begin_inset Argument
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\begin_layout Subsection
Colored Lines
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\begin_inset VSpace bigskip
\end_inset
-To color horizontal lines for example with red, like in Table
+To color horizontal lines for example with red, as in Table
\begin_inset space ~
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_layout Standard
To return to the default line color black, insert this command in TeX-Code
- behind the table or table float:
+ after the table or table float:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\begin_layout Section
Table Customization
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="1">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Newline newline
\end_inset
-So inserting space to the top of row for normal tables is only useful when
+So inserting space in the top of row for normal tables is only useful when
you don't have vertical lines.
\end_layout
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="1">
-<features>
+<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
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
array
\series default
will be loaded automatically by LyX when you use self defined table formats.
- To avoid that it is loaded twice the command
+ To avoid that it being loaded twice the command
\series bold
\backslash
\end_layout
\begin_layout Standard
-In case you are using font sizes larger than the normal size, the table
- borders are often too close to the letters.
+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
\end_inset
- visualizes the effect.
+ illustrates the effect.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="1">
-<features>
+<features tabularvalignment="middle">
<column alignment="left" valignment="top" width="0">
<row>
<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="6" columns="1">
-<features>
+<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_layout Subsection
Special Cell Alignment
-\begin_inset Index
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Special-Cell-Alignment"
+
+\end_inset
+
+
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset CommandInset ref
LatexCommand ref
-reference "tab:Table-cells-of"
+reference "tab:Table-cells-align"
\end_inset
.
+ This alignment is achieved by setting the cursor into the column and then
+ either pressing the toolbar button
+\begin_inset Graphics
+ filename ../images/tabular-feature_align-decimal.png
+ scale 85
+ scaleBeforeRotation
+
+\end_inset
+
+ 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_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "tab:Table-cells-of"
+name "tab:Table-cells-align"
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<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" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+heading
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+12.6
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+0.68
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+-123.0
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-align-operator"
+
+\end_inset
+
+Table cells of a column aligned with the operators.
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="2">
-<features>
-<column alignment="right" valignment="top" width="0">
-<column alignment="left" valignment="top" width="0" special="@{}l">
+<features booktabs="true" tabularvalignment="middle">
+<column alignment="right" valignment="top" width="0pt">
+<column alignment="left" valignment="top" width="0pt" special="@{}l">
<row>
<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
\begin_inset Text
\begin_inset Text
\begin_layout Plain Layout
-12.
+\begin_inset Formula $12\,+$
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-6
+\begin_inset Formula $\,6$
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-0.
+\begin_inset Formula $0\,-$
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-68
+\begin_inset Formula $\,68$
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
--123.
+\begin_inset Formula $-123\,/$
+\end_inset
+
+
\end_layout
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-0
+\begin_inset Formula $\,0$
+\end_inset
+
+
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-This table was created with a 4×2 table.
+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 "tab:Table-align-operator"
+
+\end_inset
+
+.
+ 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, use the following
- LaTeX-argument for the second column:
+ 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
+ LaTeX-argument was used for the second column:
\end_layout
\begin_layout Standard
\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.
+ For the alignment with the relation sign, a small space was added like
+ for the second column of Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-align-operator"
+
+\end_inset
+
+.
\end_layout
\begin_layout Standard
\begin_inset Float table
+placement h
wide false
sideways false
status open
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="6">
-<features>
+<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">
\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
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! dcolumn
-\end_layout
-
-\end_inset
-
- that provides table cell alignments.
- But this unfortunately treats the cell entries as math and doesn't allow
- formulas in table cells: The first column of Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Several-table-cell"
-
-\end_inset
-
- will look with
-\series bold
-dcolumn
-\series default
- like the first column in Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Alignments-when"
-
-\end_inset
-
- and only with some tricks like the expected.
- The alignment of the second and third column of Table
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Several-table-cell"
-
-\end_inset
-
- is not possible with
-\series bold
-dcolumn
-\series default
-.
-\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:Alignments-when"
-
-\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 Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="4" columns="3">
-<features>
-<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
-
-\begin_layout Plain Layout
-units
-\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
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-bottles
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-12x24
-\begin_inset space \thinspace{}
-\end_inset
-
-
-\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
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-times
-\end_layout
-
-\end_inset
-
-24~
-\begin_inset Formula $\mbox{bottles}$
-\end_inset
-
-
-\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
-
-
-\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
-
-
-\backslash
-times
-\end_layout
-
-\end_inset
-
-768~
-\begin_inset Formula $\mbox{Pixels}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-<row>
-<cell alignment="center" valignment="top" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-32x6
-\begin_inset space \thinspace{}
-\end_inset
-
-cm
-\end_layout
-
-\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 Formula $\mbox{cm}$
-\end_inset
-
-
-\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
-
-
-\backslash
-times
-\end_layout
-
-\end_inset
-
-6~
-\begin_inset Formula $\mbox{cm}$
-\end_inset
-
-
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Subsection
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-Calculating the needed width for spanned columns like in section
+Calculating the required width for spanned columns as in section
\begin_inset space ~
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
-
-\backslash
-phantom{
-\end_layout
-
-\end_inset
-
+\series bold
\backslash
newcolumntype
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
\end_inset
- to calculate the needed width so that each spanned cell has the same width.
+ to calculate the required width so that each spanned cell has the same
+ width.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-for the the last column, and
+for the last column, and
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="4">
-<features>
+<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">
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset space \thinspace{}
\end_inset
-pt, like in Table
+pt, as in Table
\begin_inset space ~
\end_inset
\begin_layout Standard
in TeX-Code before the table or table float.
- The changed thickness is valid for all following tables.
+ The changed thickness is valid for all subsequent tables.
To use the default value again, set
\series bold
\begin_inset space \thinspace{}
\end_inset
-pt in TeX-Code behind the table or table float.
+pt in TeX-Code after the table or table float.
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_inset space \thinspace{}
\end_inset
-pt only for horizontal lines, like in Table
+pt only for horizontal lines, as in Table
\begin_inset space ~
\end_inset
\begin_layout Standard
To return to the default line thickness, insert this command in TeX-Code
- behind the table or table float:
+ after the table or table float:
\end_layout
\begin_layout Standard
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<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">
\begin_layout Subsection
Dashed Lines
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="5" columns="5">
-<features>
+<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">
\end_layout
\begin_layout Standard
-LyX doesn't natively support dashed lines, so you have to use TeX-Code.
- As prerequisite the LaTeX-package
+LyX does not natively support dashed lines, so you have to use TeX-Code.
+ As a prerequisite the LaTeX-package
\series bold
arydshln
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-in TeX-Code as first element of the first cell in the table row.
- If you have for example a multicolumn spanning over columns 2 to 4 and
- you want to have a dashed line above, add the command
+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
\end_layout
\begin_layout Standard
-as first element of the first cell in the row of the multicolumn.
+as the first element of the first cell in the row of the multicolumn.
\end_layout
\begin_layout Standard
\backslash
hdashline
\series default
- was inserted to the first cell of the third row and the the TeX-Code command
+ was inserted in the first cell of the third row and the TeX-Code command
\begin_inset Newline newline
\end_inset
\backslash
cdashline{4-5}
\series default
- was inserted to the first cell of the fourth row.
+ was inserted in the first cell of the fourth row.
\end_layout
\begin_layout Standard
\series bold
Note:
\series default
- The used LaTeX-package
+ The LaTeX-package
\series bold
arydshln
\series default
colortbl
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Chapter
Floats
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
Notes
\family default
are also floats, because they can float to the next page when there are
- too many notes at the page.
+ too many notes on the page.
\end_layout
\begin_layout Standard
Floats allow a high quality layout.
- Images and tables can evenly be spread to the pages to avoid white space
+ 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.
inset, a box with a label.
The label will automatically be translated to the document language in
the output.
- Behind the label you can insert the caption text.
+ 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 described in section
+ More about the caption placement is contained in section
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-It is recommended to insert floats as a separate paragraph to avoid possible
- LaTeX-errors that can occur when the surrounding text is specially formatted.
+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.
\end_layout
\begin_layout Standard
-Existing figures or tables can be put into a float by marking them and then
- pressing the corresponding toolbar button for a new float.
+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
\end_layout
\begin_layout Standard
-Besides figure and table floats that are described in section
+Besides figure and table floats that are described in sections
\begin_inset space ~
\end_inset
\end_inset
-, respectively, LyX offers the float types
+ respectively, LyX offers the float types
\series bold
Algorithm
\series default
\begin_layout Subsection
Algorithm Floats
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset Quotes erd
\end_inset
- like it is the case for table and figure floats in many document-classes.
+ 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 Subsection
Wrap Floats
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
wrapfig
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
span
\family default
that specifies how many text lines the float will approximately need.
- The line span is often hard to be approximated, so better only use it when
- you encounter float placement problems.
+ 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
\end_inset
having a figure too close to the bottom of the page can mess things up in
- the way that the float doesn't appear in the output or that it is placed
+ such a way that the float does not appear in the output or that it is placed
over some other text.
\end_layout
\begin_layout Itemize
Wrap floats should not be placed in paragraphs that run over a page break.
- That means that wrap floats should better be inserted to the exact place
- when the document is nearly finished and you are able to estimate where
- page breaks will appear.
+ 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 an own paragraph before the paragraph
+Wrap floats 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
-Wrap floats in consecutive paragraphs may cause troubles, so assure that
+Wrap floats in consecutive paragraphs may cause troubles, so ensure that
there is a text paragraph between them as separator.
\end_layout
\begin_layout Section
Float Numbering
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-Floats are usually numbered either independent from the sections the floats
+Floats are usually numbered either independently from the sections the floats
are in, or in the scheme
\begin_inset Quotes eld
\end_inset
\end_inset
.
- This depends on the used document class.
+ This depends on the document class used.
\end_layout
\begin_layout Standard
-To change the section independent numbering, you can use this command in
- the document preamble:
+To change section-independent numbering, you can use this command in the
+ document preamble:
\end_layout
\begin_layout Standard
thefigure
\series default
.
- The command
+
\series bold
\backslash
roman
\series default
- prints in the command above the table number as small roman number.
+ in the command above prints the table number as small roman number.
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-It is recommended to use a protected space between the cross-reference name
- and its number to avoid line breaks between them.
+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
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 a possibility to go back.
+ referenced label but without the possibility of going back.
\end_layout
\begin_layout Subsection
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset space ~
\end_inset
-reference: prints a self defined cross-reference format.
-
+reference: prints a self-defined cross-reference format.
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Note Greyedout
status open
\series bold
prettyref
\series default
+ or
+\series bold
+refstyle
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! refstyle
+\end_layout
+
+\end_inset
+
installed.
\end_layout
\end_inset
+\begin_inset Newline newline
+\end_inset
+
+You can select which 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
+
+\backslash
+newrefformat
+\series default
+ (prettyref) or
+\series bold
+
+\backslash
+newref
+\series default
+ (refstyle) to the preamble of the document.
+ For example redefining all references to figures (which have the label
+ shortcut
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+fig
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+) can be done with this command
+\begin_inset Newline newline
+\end_inset
+
+
+\series bold
+
+\backslash
+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"
+
+\end_inset
+
+.
+\end_layout
+
+\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"
+
+\end_inset
+
+
\end_layout
\begin_layout Standard
-Note that the style <page> won't print the page number if the label is on
- the previous, the same, or the next page.
+
+\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
\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 referred document part in the output,
- is automatically calculated by LaTeX.
+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 appear when you click on the cross-referenc
+ of the cross-reference window that appears when you click on the cross-referenc
e box.
\end_layout
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ It is recommended to use the LaTeX-package
+\series bold
+refstyle
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! refstyle
+\end_layout
+
+\end_inset
+
+ because
+\series bold
+prettyref
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\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
+\end_inset
+
+fig:
+\begin_inset Quotes erd
+\end_inset
+
+ is for example LyX's shortcut for labels in figure captions.
+\end_layout
+
+\end_inset
+
+ and is not internationalized.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain 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
+
+
+\begin_inset CommandInset href
+LatexCommand href
+target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsection
Automatic Reference Naming
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
hyperref
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
section
\emph default
).
- So you will save to write e.
+ So you will save having to write e.
\begin_inset space \thinspace{}
\end_inset
\begin_inset Quotes eld
\end_inset
-, you can redefine the name by inserting this to the preamble:
+, you can redefine the name by inserting this in the preamble:
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\backslash
extras***
\series default
-, where *** is the name of the used language.
+, where *** is the name of the language used.
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
hyperref
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
hypcap
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
oberdiek
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\series bold
hypcap
\series default
- has no effect for references to subfigures.
+ has no effect on references to subfigures.
\end_layout
\end_inset
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
columns
\family default
is only useful for two-column documents: If you select it, the float will
- span across both columns on the page instead of being confined to just
- one.
+ span both columns on the page instead of being confined to just one.
\begin_inset Newline newline
\end_inset
\begin_inset space ~
\end_inset
-possible try to place the float on the position where it is inserted
+possible try to place the float on the position where it has been inserted
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-page try to place the float on the top of the current page
+page try to place the float at the top of the current page
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-page try to place the float on the bottom of the current page
+page try to place the float at the bottom of the current page
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-floats try to place the float on an own page
+floats try to place the float on its own page
\end_layout
\begin_layout Standard
page
\family default
, and then the others.
- If you don't use the default, LaTeX will try only the checked options but
- in the same order.
- If none of the 4 placements are possible the procedure is internally repeated
- but it is tried to put the float on the following page.
+ 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_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
\end_inset
You can also redefine the rules with LaTeX-commands that are given in parenthese
-s behind the rules description above.
+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{}
definitely
\family default
.
- Use this option very rarely and only if the document is nearly ready to
- be printed.
- Because the float is then no longer able to
+ 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
\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 that floats could be set before a section
- starts.
+ 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
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 to find a suitable
+ subsubsections because LaTeX may then have problems finding a suitable
placement.
\end_layout
endfloat
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
was developed.
- It puts all figure and table floats at the end of the document into own
- sections.
+ 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
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-Rotated floats are always placed on its own page (or column, in case you
- have a multi-column document).
+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
\end_layout
\begin_layout Standard
-Referencing rotated floats is the same like for normal floats, the caption
+Referencing rotated floats is the same as for normal floats, the caption
format is also the same: Table
\begin_inset space ~
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="5">
-<features>
+<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
+
+\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
+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 ~
+\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
+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: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
+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-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" 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
+
+\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
+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_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" 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
+
+\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
+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: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
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\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" width="0">
+<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
+\begin_layout Plain Layout
+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
+wide false
+sideways false
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\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" 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
+
+\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
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Section
Floats Side by Side
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-To place floats side by side, like for Figure
+To place floats side by side, as in Figures
\begin_inset space ~
\end_inset
has_inner_box 1
inner_pos "t"
use_parbox 0
+use_makebox 0
width "45col%"
special "none"
height "1in"
has_inner_box 1
inner_pos "t"
use_parbox 0
+use_makebox 0
width "45col%"
special "none"
height "1in"
\begin_layout Section
Caption Formatting
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
caption
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain 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 like in this document, use the
+ the table captions always above the table as in this document, use the
following command:
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
\backslash
-hphantom{
-\backslash
-
-\backslash
-captionsetup[figure]
-\backslash
-{}
+captionsetup[figure]{
\end_layout
\end_inset
- labelsep=period}
+labelsep=period}
\begin_inset Newline newline
\end_inset
\series default
has no effect when a
\series bold
-koma-script
+KOMA-Script
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
document class is used.
In this case the document class option
\series bold
-tablecaptionabove
+captions=tableheading
\series default
must be used.
\end_layout
If you are using a
\series bold
-koma-script
+KOMA-Script
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
document class (
\family sans
-article (koma-script)
+article (KOMA-Script)
\family default
,
\family sans
-book (koma-script)
+book (KOMA-Script)
\family default
,
\family sans
-letter (koma-script)
+letter (KOMA-Script)
\family default
, or
\family sans
-report (koma-script)
+report (KOMA-Script)
\family default
\begin_inset space \thinspace{}
\series default
package use
\series bold
-koma-script
+KOMA-Script
\series default
's built-in command
\series bold
\series default
we refer to the
\series bold
-koma-script
+KOMA-Script
\series default
documentation
\begin_inset CommandInset citation
LatexCommand cite
-key "koma-script"
+key "KOMA-Script"
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="1" columns="5">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_layout Section
Caption Placement
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
report
\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
+ To insert the necessary space, add the following option to the load command
of the LaTeX-package
\series bold
caption
\begin_layout Standard
If you are using a
\series bold
-koma-script
+KOMA-Script
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
document class (
\family sans
-article (koma-script)
+article (KOMA-Script)
\family default
,
\family sans
-book (koma-script)
+book (KOMA-Script)
\family default
,
\family sans
-letter (koma-script)
+letter (KOMA-Script)
\family default
, or
\family sans
-report (koma-script)
+report (KOMA-Script)
\family default
\begin_inset space \thinspace{}
\series default
package set the document class option
\series bold
-tablecaptionabove
+captions=tableheading
\series default
.
\end_layout
sidecap
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
-\lyxline
\end_layout
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_layout
\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
-\lyxline
\end_layout
\begin_layout Standard
in TeX-Code before the float.
- Behind the float insert the command
+ After the float insert the command
\end_layout
\begin_layout Standard
hypcap
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Plain Layout
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="5">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_layout Section
Listings of Floats
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-Similar to the 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.
+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
\begin_layout Section
LyX Notes
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\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 deletey key when the cursor
- is in the very last position of the note, respectively.
+ 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
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The available colors and the method to define own colors is explained in
- section
+The available colors and the method to define colors is explained in section
\begin_inset space ~
\end_inset
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
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, if the footnote number is reset for
- every chapter.
+ 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.
\end_layout
\begin_layout Standard
\begin_inset VSpace defskip
\end_inset
-To use footnotes within tables, you have to use minipages, see section
+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
+
+\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
+
+\backslash
+footnotetext
+\series default
+ after the table.
+\begin_inset Newline newline
+\end_inset
+
+This was done for the following table with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotetext{
+\series default
+Printed table footnote.
+\series bold
+}
+\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">
+\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!
+\end_layout
+
+\end_inset
+
+
+\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
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotetext{
+\end_layout
+
+\end_inset
+
+Printed table footnote.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Footnotes in longtables are described in section
\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Minipages"
+reference "sub:Footnotes-in-Longtables"
\end_inset
.
- Footnotes within longtables are described in section
+\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 "sub:Footnotes-in-Longtables"
+reference "sec:Minipages"
\end_inset
+.) 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
+
+\backslash
+footnotetext
+\series default
.
\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
+
+\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
-To create only a mark for a footnote, use the command
+
+\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 TeX-Code.
- This is used when you have the same annotation several times in a text
- but doesn't want to print the footnote text every time.
+ in TeX-code.
\begin_inset Newline newline
\end_inset
-As you don't know the number of the repeating footnote while you are writing
+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 behind Footnote
+ TeX-code after Footnote
\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-Here is an example footnote mark:
+Here is a repeated footnote:
\family roman
\series medium
\bar no
\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
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-To return to the default numbering style when you changed to another one,
- use
+To return to the default numbering style after you have changed to another
+ one, use
\series bold
\backslash
\begin_layout Subsection
Footnote Placement
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
If you have several footnotes in one page, they appear without vertical
space between them at the bottom of the page.
- To make them better readable you can e.
+ To make them more readable you can e.
\begin_inset space \thinspace{}
\end_inset
ftnright
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
In some scientific literature it is usual to collect the footnotes and print
- them in a separate paragraph at the the end of a section, like in Figure
+ 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----footnotes"
+reference "fig:Endnotes"
\end_inset
.
- They are then so called
+ They are then called
\begin_inset Quotes eld
\end_inset
\end_inset
.
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
- To use endnotes instead of footnotes in your document, load the LaTeX-package
+ To use endnotes instead of footnotes in your document, load in the menu
-\series bold
-endnotes
-\series default
-
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! endnotes
-\end_layout
-
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+the module
+\family sans
+Foot
+\begin_inset space ~
\end_inset
- with the document preamble lines
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage{endnotes}
-\begin_inset Newline newline
+to
+\begin_inset space ~
\end_inset
-
-\backslash
-let
-\backslash
-footnote
-\backslash
-endnote
-\end_layout
-
-\begin_layout Standard
-To insert the collected footnotes, insert the command
+End
+\family default
+.
+ To insert the collected footnotes, insert the command
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-in TeX-Code at the the end of a section or chapter.
+in TeX-Code at the end of a section or chapter.
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:Endnotes----footnotes"
+name "fig:Endnotes"
\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 translate the default English name
+ The following preamble command translates the default English
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- to the German translation
+ into the German
\begin_inset Quotes eld
\end_inset
\end_layout
\begin_layout Standard
-To create only a mark for an endnote, use the command
+For endnotes there is the command
\series bold
\backslash
\backslash
footnotemark
\series default
-, described in section
+, that is described in section
\begin_inset space ~
\end_inset
footmisc
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Section
Margin Notes
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
in TeX-Code before a margin note.
- The new placement is valid for all following margin notes.
+ The new placement is valid for all subsequent margin notes.
\begin_inset ERT
status collapsed
marginnote
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
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 behind the margin note in
+ The offset is set in LyX as TeX-Code directly after the margin note in
the scheme
\end_layout
\series bold
marginnote
\series default
- we refer to its documentation
+ refer to its documentation
\begin_inset CommandInset citation
LatexCommand cite
key "marginnote"
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\begin_layout Section
Introduction
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-, to prevent words to be hyphenated, see section
+, to prevent words from being hyphenated, see section
\begin_inset space ~
\end_inset
\end_inset
will be inserted.
- The box type can be specified by right-clicking on the box.
- The appearing box dialog offers the
+ 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 ~
\family default
types
\family sans
+Makebox
+\family default
+,
+\family sans
Parbox
\family default
and
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 aren't numbered and can therefore not be referenced like floats or
+Boxes are not numbered and can therefore not be referenced like floats or
footnotes.
\end_layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
Size
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
.
The field
\family sans
-Heigth
+Height
\family default
offers the following additional sizes:
\end_layout
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1in"
\end_layout
\begin_layout Description
-Height This is the heigth of the text that is inside the box.
+Height This is the height of the text that is inside the box.
A value of e.
\begin_inset space \thinspace{}
\end_inset
\begin_inset space \space{}
\end_inset
-2 for this size will set the box heigth to 2 times the text height:
+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"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "20col%"
special "none"
height "1in"
\end_layout
\begin_layout Description
-Width This sets the width of the box as heigth:
+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"
\begin_layout Subsection
Alignment
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1in"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1in"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1in"
\series bold
Note:
\series default
- The vertical box aligment can be lost in the output when you have two boxes
- in a line and one has e.
+ 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
Box
\family default
-, the box content can be vertical aligned to:
+, the box content can be aligned vertically to:
\end_layout
\begin_layout Description
has_inner_box 1
inner_pos "t"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1.5in"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1.5in"
has_inner_box 1
inner_pos "b"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1.5in"
has_inner_box 1
inner_pos "s"
use_parbox 0
+use_makebox 0
width "12col%"
special "none"
height "1.5in"
has_inner_box 1
inner_pos "s"
use_parbox 0
+use_makebox 0
width "15col%"
special "none"
height "1.25in"
\end_layout
\begin_layout Standard
-If you haven't set an
+If you have not set an
\family sans
Inner
\begin_inset space ~
has_inner_box 0
inner_pos "s"
use_parbox 0
+use_makebox 0
width "90col%"
special "none"
height "1.25in"
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-The type of the box can be specified in the box-dialog in the drop-down
+The type of the box can be specified in the box dialog in the drop-down
list
\family sans
Decoration
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 ~
\begin_inset space ~
\end_inset
-frame This draws a rectangle frame around the box.
+frame This draws a rectangular frame around the box.
The frame line thickness has the size of
\series bold
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "20col%"
special "none"
height "1in"
\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
-\family sans
-simple rectangular frame
-\family default
- and no inner box, you can allow page breaks within a box.
- Note that then, in contrary to 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
-\series bold
-
-\backslash
-fboxsep
-\series default
- has 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
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status collapsed
-
-\begin_layout Plain Layout
-Allow page break box
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Description
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "20col%"
special "none"
height "1in"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "20col%"
special "none"
height "1in"
\begin_inset space ~
\end_inset
-shadow This draws a rectangle frame with a shadow around the box.
+shadow This draws a rectangular frame with a shadow around the box.
The frame line thickness has the size of
\series bold
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "20col%"
special "none"
height "1in"
\begin_inset space ~
\end_inset
-background This draws a box with red background color.
- In contrary to colored boxes
+background This draws a box with a red background.
+ Unlike colored boxes
\begin_inset Foot
status collapsed
has_inner_box 0
inner_pos "t"
use_parbox 0
+use_makebox 0
width "50col%"
special "none"
height "1in"
\begin_inset space ~
\end_inset
-frame This draws a double-line rectangle frame around the box.
+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
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "20col%"
special "none"
height "1in"
fancybox
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
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, the box is set as its own paragraph, and
+\series bold
+
+\backslash
+fboxrule
+\series default
+ and
+\series bold
+
+\backslash
+fboxsep
+\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"
+status collapsed
+
+\begin_layout Plain Layout
+Allow page break box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Section
-Box customization
-\begin_inset Index
+Box Customization
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "25col%"
special "none"
height "1in"
\begin_inset space \thinspace{}
\end_inset
-pt, like for the following box:
+pt, as with the following box:
\end_layout
\begin_layout Standard
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "25col%"
special "none"
height "1in"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "25col%"
special "none"
height "1in"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "25col%"
special "none"
height "1in"
has_inner_box 0
inner_pos "t"
use_parbox 0
+use_makebox 0
width "100col%"
special "none"
height "1in"
\series bold
\backslash
-definecolor{shadebox}
+definecolor{shadecolor}
\series default
or globally with the menu
\family sans
\end_inset
- For example the appearance of the following shaded background note is set
+ For example the appearance of the following shaded background box is set
with the TeX-Code commands
\end_layout
has_inner_box 0
inner_pos "t"
use_parbox 0
+use_makebox 0
width "100col%"
special "none"
height "1in"
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "45col%"
special "none"
height "1in"
has_inner_box 1
inner_pos "c"
use_parbox 0
+use_makebox 0
width "45col%"
special "none"
height "1in"
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-Another application for minipages are footnotes within tables.
- Due to a LaTeX restriction footnotes within tables doesn't appear at the
- bottom of the current page.
- But when you put the table with the footnote to a minipage, the footnote
- will appear at its bottom, numbered with Latin letters.
- The footnote number is reset to 1 in every minipage but not outside the
- minipages.
-\end_layout
-
-\begin_layout Standard
-The footnote of this table doesn't appear:
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="4">
-<features>
-<column alignment="center" valignment="top" width="0pt">
-<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" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-2
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-3
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-This is a footnote within a table.
-\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
-4
-\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
-a
-\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
-c
-\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
-d
-\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" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
-\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
-g
-\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
-h
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\align center
-\begin_inset Box Frameless
-position "t"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-width "30col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-\align center
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="4">
-<features>
-<column alignment="center" valignment="top" width="0pt">
-<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" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-1
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-2
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-3
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-This is a footnote within a table.
-\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
-4
-\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
-a
-\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
-c
-\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
-d
-\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" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-f
-\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
-g
-\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
-h
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
Parboxes are very similar to minipages with the difference that they cannot
have footnotes.
- The main difference to minipages is that minipages are in contrary to parboxes
- no real boxes but LaTeX-environments.
\end_layout
\begin_layout Standard
has_inner_box 1
inner_pos "t"
use_parbox 1
+use_makebox 0
width "33col%"
special "none"
height "1in"
\begin_layout Section
Boxes for Words and Characters
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-You can use a special kind of boxes to prevent words or text to be hyphenated.
+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
\begin_inset Quotes erd
\end_inset
-, add the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-mbox{
-\end_layout
-
-\begin_layout Standard
-in TeX-Code before the word.
- Behind the word insert a closing brace
-\begin_inset Quotes eld
+, put the word into a box, set the
+\family sans
+Inner
+\begin_inset space ~
\end_inset
-
-\series bold
-}
-\series default
-
-\begin_inset Quotes erd
+box
+\family default
+ to
+\family sans
+Makebox
+\family default
+ and its width to 1
+\begin_inset space \thinspace{}
\end_inset
- in TeX-Code.
+Width.
\end_layout
\begin_layout Standard
\begin_layout Standard
This line is an example to show how you can prevent the hyphenation of
-\begin_inset ERT
-status collapsed
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width "1in"
+special "width"
+height "1in"
+height_special "totalheight"
+status open
\begin_layout Plain Layout
-
-
-\backslash
-mbox{
-\end_layout
-
-\end_inset
-
-
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
-.
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
-
-}
\end_layout
\end_inset
-
+.
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width "1in"
+special "width"
+height "1in"
+height_special "totalheight"
+status open
\begin_layout Plain Layout
-
-
-\backslash
-mbox{
-\end_layout
-
-\end_inset
-
-
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
-.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
\end_layout
\end_inset
-
+.
\end_layout
\begin_layout Subsection
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\backslash
raisebox
\series default
- you can align words, characters or other boxes vertically to the surrounding
- text.
+ you can align words, characters or other boxes vertically relative to the
+ surrounding text.
\series bold
\begin_layout Standard
in TeX-Code before the word.
- Behind the word insert a closing brace
+ After the word insert a closing brace
\begin_inset Quotes eld
\end_inset
\end_inset
- as raised word.
+ as a raised word.
\end_layout
\begin_layout Standard
\end_inset
- as lowered word.
+ as a lowered word.
\begin_inset Newline newline
\end_inset
\end_inset
- as raised word.
+ as a raised word.
\end_layout
\begin_layout Standard
\end_inset
- as lowered word.
+ as a lowered word.
\begin_inset Newline newline
\end_inset
\end_inset
- as raised word.
+ as a raised word.
\end_layout
\begin_layout Section
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Subsection
Color for Text
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
color
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\series bold
color
\series default
- will be loaded automatically by LyX when you color text
+ will be loaded automatically by LyX when you color text.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-To avoid that it is loaded twice the command
+To avoid it being loaded twice the command
\series bold
\backslash
\end_inset
-.
+
\end_layout
\begin_layout Standard
\begin_layout Standard
before the word in TeX-Code.
- Behind the word insert a closing brace
+ After the word insert a closing brace
\begin_inset Quotes eld
\end_inset
\begin_inset VSpace bigskip
\end_inset
-If you would have the box frame in a different color, you can use the command
+If you would like the box frame in a different color, you can use the command
\series bold
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_layout Standard
in TeX-Code.
- Behind the minipage insert a closing brace
+ After the minipage insert a closing brace
\begin_inset Quotes eld
\end_inset
has_inner_box 1
inner_pos "t"
use_parbox 0
+use_makebox 0
width "100col%"
special "none"
height "1in"
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="3" columns="3">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\end_layout
\begin_layout Standard
-To use the the commands described in this section, the LaTeX-package
+To use the commands described in this section, the LaTeX-package
\series bold
graphicx
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset ERT
-status collapsed
+\begin_inset Phantom HPhantom
+status open
\begin_layout Plain Layout
+\series bold
+\begin_inset space ~
+\end_inset
+
-\backslash
-hphantom{ }
\end_layout
\end_inset
\begin_layout Subsection
Rotated Boxes
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\emph on
t
\emph default
- (top), and also expedient combinations of the four base positions.
+ (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.
+ 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
has_inner_box 0
inner_pos "c"
use_parbox 0
+use_makebox 0
width "1in"
special "width"
height "1in"
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_layout Subsection
Scaled Boxes
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\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 vertical one.
+ be used as the vertical one.
\end_layout
\begin_layout Standard
\end_inset
-, compared to the document text size.
+, compared with the document text size.
\end_layout
\begin_layout Standard
\backslash
scalebox{2}[1]{Hello}
\series default
- in contrary distorts the
+ on the other hand distorts the
\begin_inset ERT
status collapsed
\end_layout
\begin_layout Standard
-If a the scaling factor is negative, the box content will be mirrored.
+If the scaling factor is negative, the box content will be mirrored.
Therefore the command
\series bold
\end_layout
\begin_layout Standard
-Is one of the two command arguments given as exclamation mark
+If one of the two command arguments given is an exclamation mark
\series bold
!
\series default
\begin_inset Tabular
<lyxtabular version="3" rows="2" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\end_inset
-, also display formulas can be scaled.
+, display style formulas can also be scaled.
\end_layout
\begin_layout Chapter
-External Stuff
-\begin_inset Index
+External Document Parts
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-External Stuff
+External Document Parts
\end_layout
\end_inset
\begin_inset space ~
\end_inset
-Text A text document; every of its text lines is inserted to your document
- as own paragraph.
+Text A text document; each line is inserted in your document as a separate
+ paragraph.
\end_layout
\begin_layout Description
\begin_inset space ~
\end_inset
-Lines A text document; its text lines are inserted as they are.
- Empty text lines creates a new paragraph in your document.
+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
\begin_layout Section
External Material
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-External Stuff ! External Material
+External Document Parts ! External Material
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The external material feature allows you to insert files to your document
- without converting them previously to a format that can be read by the
- document output format because LyX takes care of needed conversions.
+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
- to LyX documents.
+ in LyX documents.
When you have enabled Instant Preview in LyX's preferences under
\family sans
Look
feel\SpecialChar \menuseparator
Graphics
\family default
-, the external material types Dia and Xfig is directly shown in LyX.
+, the external material types Dia and Xfig are directly shown in LyX.
\end_layout
\begin_layout Standard
\end_inset
.
- The difference is that only raster images are allowed, that means that
+ The difference is that only raster images are allowed; that means that
PDF and EPS-images are not supported.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="4" columns="4">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
\begin_inset Newline newline
\end_inset
-External material is displayed in LyX either as box like this:
+External material is displayed in LyX either as a box like this:
\begin_inset Graphics
filename clipart/ExternalMaterialQt4.png
scale 85
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-External Stuff ! Child Documents
+External Document Parts ! Child Documents
\end_layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-Child documents are used when you have a long document consisting of several
+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 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 contents of its master, for example the bibliography
- and the labels for cross-references.
+ the document into several files that can be revised separately.
+ The different documents are then the so called
+\begin_inset Quotes eld
+\end_inset
+
+child documents
+\begin_inset Quotes erd
+\end_inset
+
+, and a master document connects them to print the full document or parts
+ of it.
+ A child document inherits elements of its master, for example the LaTeX
+ preamble, the bibliography, and labels for cross-references.
\end_layout
\begin_layout Standard
-To be able to work on child documents without the need to open its master,
+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
Class
\family default
.
- This master file will then be used in the background by LyX when you edit
- the child document.
+ This master document will then be used in the background by LyX when you
+ edit the child document.
\end_layout
\begin_layout Standard
\end_inset
- To include child documents to a master document use the menu
+ To include child documents in a master document use the menu
\family sans
Insert\SpecialChar \menuseparator
File\SpecialChar \menuseparator
\end_layout
\begin_layout Description
-Include You can include LyX and LaTeX-documents.
+Include You can include LyX- and LaTeX-documents.
When you press the
\family sans
Load
Child Document
\family default
dialog, the included documents will be opened in LyX in a new file tab
- so that you can modify it.
+ so that you can modify them.
\begin_inset Newline newline
\end_inset
The section numbering includes the sections of the included files in the
order they are inserted in the master document.
The included example document has for example a subsection that is numbered
- as subsection of this section.
+ as a subsection of this section.
Labels of included documents can be referenced: Subsection
\begin_inset space ~
\end_inset
\end_inset
-
+.
\end_layout
\begin_layout Standard
-The preamble of the child document is ignored, only the preamble of the
+The preamble of the child document is ignored; only the preamble of the
master document is used.
- Included documents are inserted starting on a new page and end with a page
- break.
-\end_layout
-
-\begin_layout Standard
-With the LaTeX-command
-\series bold
-
-\backslash
-includeonly
-\series default
-you can specify which included child documents are processed when the output
- is generated.
- This is useful when you are perhaps only working on a certain chapter of
- your large document as this saves compiling time.
-
-\series bold
-
-\backslash
-includeonly
-\series default
- is inserted to the master document preamble.
- It takes a comma-separated list of the filenames as argument, e.
-\begin_inset space \thinspace{}
-\end_inset
-
-g.
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-includeonly{chapter1,chapter5}
-\end_layout
-
-\begin_layout Standard
-will only process the included files named
-\begin_inset Quotes eld
-\end_inset
-
-chapter1.lyx
-\begin_inset Quotes erd
-\end_inset
-
- (or
-\begin_inset Quotes eld
-\end_inset
-
-chapter1.tex
-\begin_inset Quotes erd
-\end_inset
-
-) and
-\begin_inset Quotes eld
-\end_inset
-
-chapter5.lyx
-\begin_inset Quotes erd
-\end_inset
-
- .
+ 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
\series bold
Note:
\series default
- When you have included a LyX- or LaTeX-file, you are warned when you export/vie
-w the document in case that the child document uses another document class
- than the master document as this will lead to unexpected outputs.
+ If you have included a LyX- or 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 Itemize
-The LaTeX-command
-\series bold
-
-\backslash
-includeonly
-\series default
- cannot be used.
+You cannot exclude Input files via the menu
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Child Documents
+\family default
+.
\end_layout
\end_deeper
\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
+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
\end_inset
for every space character in the source code.
- The difference to the method via the menu
+ The difference from the method via the menu
\family sans
Insert\SpecialChar \menuseparator
File\SpecialChar \menuseparator
\begin_inset VSpace bigskip
\end_inset
-Here is a child document inserted as Verbatim using the
+ Here is a child document inserted as Verbatim using the
\family sans
Mark spaces in output
\family default
\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 \slash{}
+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
+
+, not with
+\begin_inset Quotes eld
+\end_inset
+
+Input
+\begin_inset Quotes erd
+\end_inset
+
+).
+ If the option
+\family sans
+Maintain counters and references
+\family default
+ is enabled, LyX will assure that all page numbers, references etc.
+\begin_inset space ~
+\end_inset
+
+are correct as if the whole document was processed.
+ This is useful if you want the selected sub-documents to look exactly as
+ in the context of the whole document.
+ However, LyX needs to process the whole document in the background for
+ this feature.
+ So if you want to save compile time and if counters and references do not
+ need to be correct, disable this checkbox.
+\end_layout
+
+\begin_layout Standard
+Alternatively, you can put each included file into a branch.
+\begin_inset Foot
+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\SpecialChar \slash{}
+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 Chapter
Program Code Listings
\begin_inset CommandInset label
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
listings
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
- provides a powerful and flexible way to insert program source code to your
- document.
+ provides a powerful and flexible way to insert program source code into
+ your document.
\end_layout
\begin_layout Standard
numbering
\family default
of the listings dialog you can specify the line numbering style.
- You can insert a number to specify which lines are numbered to the field
+ You can insert a number to specify which lines are numbered in the field
\family sans
Step
\end_layout
\begin_layout Standard
-You can furthermore specify a range of lines, only these will then appear
+You can furthermore specify a range of lines; only these will then appear
in the output.
The option
\family sans
\end_inset
+\end_layout
+
+\begin_layout Standard
+Inserting a formula into a listing can be done the following way:
+\end_layout
+
+\begin_layout Enumerate
+Open the listings dialog and add
+\begin_inset Newline newline
+\end_inset
+
+
+\family sans
+mathescape=true
+\family default
+
+\begin_inset Newline newline
+\end_inset
+
+to the field of the
+\family sans
+Advanced
+\family default
+ tab.
+\end_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
+
+)
+\end_layout
+
+\begin_layout Enumerate
+In the listing write
+\begin_inset Quotes eld
+\end_inset
+
+
+\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
+
+)
+\end_layout
+
+\begin_layout Standard
+\begin_inset listings
+lstparams "language=Python,mathescape=true"
+inline false
+status open
+
+\begin_layout Plain Layout
+
+\begin_inset Caption
+
+\begin_layout Plain Layout
+Example Listing float containing a formula
+\end_layout
+
+\end_inset
+
+# Example listing float
+\end_layout
+
+\begin_layout Plain Layout
+
+def func(param):
+\end_layout
+
+\begin_layout Plain Layout
+
+ # $
+\backslash
+prod_{n=1}^{
+\backslash
+infty}
+\backslash
+,
+\backslash
+frac{1}{x^{2}}$
+\end_layout
+
+\begin_layout Plain Layout
+
+ pass
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
\end_layout
\begin_layout Standard
\family sans
Document\SpecialChar \menuseparator
Settings\SpecialChar \menuseparator
-Text Layout
+Listings
\family default
dialog.
To get there a list of available options, type in a question mark
\begin_inset Quotes erd
\end_inset
- in the
-\family sans
-Listings
-\begin_inset space ~
-\end_inset
-
-settings
-\family default
- field.
+.
\end_layout
\begin_layout Standard
\begin_layout Chapter
\start_of_appendix
Units available in LyX
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="20" columns="2">
-<features>
+<features tabularvalignment="middle">
<column alignment="center" valignment="top" width="0">
<column alignment="center" valignment="top" width="0">
<row>
\begin_layout Section
DVI
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\series bold
Note:
\series default
- DVI-files doesn't contain images, they will only be a linked.
+ DVI-files do not contain images; they will only be a linked.
\end_layout
\end_inset
.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 we recommend to use PDF for files with many images.
+ 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
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\family typewriter
Adobe
\family default
- as printer language.
- The file contains therefore commands that the printer uses to print the
+ as a printer language.
+ The file therefore contains commands that the printer uses to print the
file.
- PostScript can be seen as
+ PostScript can be seen as a
\begin_inset Quotes eld
\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 50 images in your document, LyX has to do 50 conversions
- whenever you view or export your document.
+ If you have e.g.
+\begin_inset space ~
+\end_inset
+
+50
+\begin_inset space ~
+\end_inset
+
+images in your document, 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 LyX drastically.
So if you plan to use PostScript, you can insert your images directly as
EPS to avoid this problem.
\begin_layout Section
PDF
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_inset
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\begin_inset Quotes erd
\end_inset
- (PDF) is developed by
+ (PDF) was developed by
\family typewriter
Adobe
\family default
- as derivative from PostScript.
- It is more compressed and it uses much less commands than PostScript.
+ 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
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 to use images in one of the three mentioned formats.
+ So it is recommended that you use images in one of the three mentioned
+ formats.
\end_layout
\begin_layout Standard
dvips
\family default
which uses a DVI-version as intermediate step.
- So this export variant consist of three conversions.
+ So this export variant consists of three conversions.
\end_layout
\begin_layout Description
\end_layout
\begin_layout Standard
-It is recommended to use
+It is recommended that you use
\family sans
PDF
\begin_inset space ~
\family typewriter
pdftex
\family default
- supports all features of actual PDF-versions, is quick and works stable
- without problems.
+ supports all features of actual PDF-versions, is quick and works stable.
The program
\family typewriter
dvipdfm
\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"
\end_layout
\begin_layout Standard
-The total width of
+We can calculate the total width of
\emph on
n
\emph default
\begin_inset Formula $W_{\mathrm{tot\, n}}$
\end_inset
- can be calculated to
+ 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
-
-\end_layout
-
-\begin_layout Standard
-Where
+where
\begin_inset Formula $W_{g\, n}$
\end_inset
- is the given width of all cells.
-
+ is the given width of all cells,
\series bold
\backslash
tabcolsep
\series default
- is the LaTeX-length between the cell text and the cell border, its default
+ is the LaTeX-length between the cell text and the cell border (its default
value is 6
\begin_inset space \thinspace{}
\end_inset
-pt.
+pt).
\series bold
\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_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}=(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"
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexguide"
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "latexbook"
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "booktabs"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "caption"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "endfloat"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "wrapfig"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "footmisc"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "hypcap"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "hyperref"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "koma-script"
+key "KOMA-Script"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "koma-script"
+name "KOMA-Script"
target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
\end_inset
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "listings"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "marginnote"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "pstricks"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
key "sidecap"
\series default
-\begin_inset Index
+\begin_inset Index idx
status collapsed
\begin_layout Plain Layout
\end_layout
\begin_layout Bibliography
+\labelwidthstring Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "NewInLyX16"
+key "prettyref"
\end_inset
+Documentation of the LaTeX-package
+\series bold
\begin_inset CommandInset href
LatexCommand href
-name "Wiki page"
-target "http://wiki.lyx.org/LyX/NewInLyX16"
+name "prettyref"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
\end_inset
- about new features in
-\family sans
-LyX 1.6.0
-\family default
-.
-\end_layout
-\begin_layout Standard
-\begin_inset CommandInset index_print
-LatexCommand printindex
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset FloatList figure
+\begin_layout Bibliography
+\labelwidthstring Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "refstyle"
+
+\end_inset
+
+Documentation of the LaTeX-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "refstyle"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/doc/latex/refstyle/refstyle.pdf"
\end_inset
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! refstyle
\end_layout
-\begin_layout Standard
-\begin_inset FloatList table
+\end_inset
+
+
+\end_layout
+
+\begin_layout Bibliography
+\labelwidthstring Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "NewInLyX20"
\end_inset
+\begin_inset CommandInset href
+LatexCommand href
+name "Wiki page"
+target "http://wiki.lyx.org/LyX/NewInLyX20"
+
+\end_inset
+
+ about new features in
+\family sans
+LyX 2.0
+\family default
+.
\end_layout
\begin_layout Standard
-\begin_inset FloatList algorithm
+\begin_inset CommandInset index_print
+LatexCommand printindex
+type "idx"
\end_inset