-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 331
+#LyX 1.6.6svn created this file. For more info see http://www.lyx.org/
+\lyxformat 345
\begin_document
\begin_header
\textclass scrbook
% not to its caption
\usepackage[figure]{hypcap}
-% the pages of the TOC are numbered roman
+% the pages of the TOC is numbered roman
% and a PDF-bookmark for the TOC is added
-\pagenumbering{roman}
\let\myTOC\tableofcontents
-\renewcommand{\tableofcontents}{%
- \pdfbookmark[1]{Contents}{}
- \myTOC
- \cleardoublepage
- \pagenumbering{arabic}}
+\renewcommand\tableofcontents{%
+ \frontmatter
+ \pdfbookmark[1]{\contentsname}{}
+ \myTOC
+ \mainmatter }
% provides caption formatting
\usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
\newboolean{sidecap}
\IfFileExists{sidecap.sty}
{\usepackage{sidecap}
- \let\marginpar\marginnote
\setboolean{sidecap}{true}}
{\setboolean{sidecap}{false}}
% redefine the \LyX macro for PDF bookmarks
\def\LyX{\texorpdfstring{%
L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
- {LyX }}
+ {LyX}}
\end_preamble
\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
+\use_default_options false
\language english
\inputencoding auto
\font_roman default
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
+
\graphics default
\paperfontsize 12
\spacing single
\pdf_pdfborder false
\pdf_colorlinks true
\pdf_backref false
-\pdf_pagebackref false
\pdf_pdfusetitle false
\pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false, pdfpagelabels"
\papersize default
\noindent
If you have comments or error corrections, please send them to the LyX Documenta
tion mailing list:
-\family typewriter
-
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
-\end_layout
-
-\end_inset
-
-lyx-docs@lists.lyx.org
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "lyx-docs@lists.lyx.org"
+target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
+type "mailto:"
\end_inset
\family sans
-Version 1.6svn
+Version 1.6.x
\end_layout
\begin_layout Standard
\begin_layout Chapter
Figures
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Figures"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\end_layout
\begin_layout Standard
-The graphics dialog can be called at any time by right-clicking on an image.
+The graphics dialog can be called at any time by clicking on an image.
This dialog has three tabs:
\end_layout
\family default
Here you can choose an image file and adjust its appearance in the output.
The available units for the image size are explained in appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_inset Newline newline
\end_inset
-Images can be opened in a program of your choice when pressing the
+Images can be opened in a program of your choice by right-clicking on it
+ choosing the entry
\family sans
Edit
+\begin_inset space ~
+\end_inset
+
+externally
\family default
- button.
+ in the appearing context menu.
The program can be set for every image format in the file format settings
in LyX's preferences.
\end_layout
\family sans
Get
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
from
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
File
The option
\family sans
Clip
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
to
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
bounding
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
box
\begin_layout Description
\family sans
-Extra
-\begin_inset Space ~
-\end_inset
-
-options
-\family default
- In this tab you can modify the appearance of the image within LyX and set
- the image to be a subfigure of a figure float with an own caption.
- Subfigures are explained in section
-\begin_inset Space ~
+LaTeX
+\begin_inset space ~
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Figure-Floats"
-
+and
+\begin_inset space ~
\end_inset
-.
-\begin_inset Newline newline
+LyX
+\begin_inset space ~
\end_inset
- LaTeX experts can also specify on this tab additional LaTeX options.
+options
+\family default
+ In this tab you can modify the appearance of the image within LyX and LaTeX
+ experts can specify additional LaTeX options.
\begin_inset Newline newline
\end_inset
- The option
+The option
\family sans
Draft
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
mode
The
\family sans
Don't
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
unzip
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
on
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
export
\family default
option only affects zipped EPS-graphics, e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
Zipped EPS-graphics are useful to save disk space when you choose PostScript
as output format, see appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
that is needed by LaTeX for zipped graphics.
+\begin_inset Newline newline
+\end_inset
+
+The field
+\family sans
+Initialize
+\begin_inset space ~
+\end_inset
+
+Group
+\begin_inset space ~
+\end_inset
+
+Name
+\family default
+ allows you define or join an image settings group.
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Figures ! Settings grouping
+\end_layout
+
+\end_inset
+
+ Images within such a group share their settings, so adjusting one image
+ of the group automatically also adjusts all other images of the group in
+ the same way.
+ So you can for example change the size for a bunch of images without the
+ need to manually change each of them.
+ Joining an existing group can also be done using the context menu of the
+ image by checking the name of the desired group.
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
Image formats are explained in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\align center
\begin_inset Graphics
filename clipart/mobius.eps
- display color
scale 70
scaleBeforeRotation
rotateOrigin center
\align center
\begin_inset Graphics
filename clipart/mobius.eps
- display color
scale 70
draft
scaleBeforeRotation
\end_inset
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
\end_layout
\begin_layout Section
\begin_layout Standard
For general explanations about floats, have a look at section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
#:
(# is the actual number).
You can insert the image above the caption, like in Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
or below the caption, like in Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
.
More about the caption placement is described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\align center
\begin_inset Graphics
filename clipart/platypus.eps
- display color
width 50col%
scaleBeforeRotation
rotateOrigin center
\align center
\begin_inset Graphics
filename clipart/escher-lsd.eps
- display color
scale 80
scaleBeforeRotation
rotateOrigin center
\end_inset
Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\family sans
Insert\SpecialChar \menuseparator
Cross
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
reference
\end_inset
Referencing is explained in detail in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
Normally only one image is inserted to a figure float, but sometimes you
might want to use two images with separate subcaptions.
- This can be set in the tab
-\family sans
-Extra
-\begin_inset Space ~
-\end_inset
-
-options
-\family default
- of the graphics dialog.
- Choose there the option
-\family sans
-Subfigure
-\family default
- and enter the subcaption for the image in the caption field.
+ This can be done by inserting image floats into existing image floats.
Note that only the main caption of the float is added to the List of Figures.
-\begin_inset Newline newline
-\end_inset
-
-Referencing subfigures is explained in section
-\begin_inset Space ~
+ Figure
+\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sub:Referencing-Subfigures"
+reference "fig:Two-distorted-images"
\end_inset
-.
-\end_layout
-
-\begin_layout Standard
-Figure
-\begin_inset Space ~
+ is an example of a figure float with two images set side by side.
+ You can also set the images one below the other.
+ Figure
+\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Two-distorted-images"
+reference "fig:Undefinable-structure"
\end_inset
- is an example of a figure float with two images set side by side.
- You can also set the images one below the other.
+ and
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:A-Platypus"
+
+\end_inset
+
+ are the subfigures.
\end_layout
\begin_layout Standard
status open
\begin_layout Plain Layout
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Float figure
wide false
sideways false
-status open
+status collapsed
\begin_layout Plain Layout
\begin_inset Caption
\begin_layout Plain Layout
-Undefinable structure
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Undefinable-structure"
+
+\end_inset
+
+Undefinable structure.
\end_layout
\end_inset
filename clipart/escher-lsd.eps
width 45col%
scaleBeforeRotation
+ groupId distorted
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Float figure
wide false
sideways false
-status open
+status collapsed
\begin_layout Plain Layout
\begin_inset Caption
\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:A-Platypus"
+
+\end_inset
+A Platypus.
\end_layout
\end_inset
\begin_layout Plain Layout
\begin_inset Graphics
filename clipart/platypus.eps
- lyxscale 60
width 45col%
scaleBeforeRotation
+ groupId distorted
\end_inset
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_inset
Two distorted images.
+ Both images are in the image settings group named
+\begin_inset Quotes eld
+\end_inset
+
+distorted
+\begin_inset Quotes erd
+\end_inset
+
+.
\end_layout
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
\end_layout
\begin_layout Section
\begin_layout Standard
You can insert images in any known file format.
But as explained in appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
, every 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,
you can use only the image formats that can directly be embedded in the
output file format.
The output file formats are explained in appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Description
Bitmap
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
images consist of pixel values, often in a compressed form.
\begin_layout Description
Vector
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
images consist of vectors and can therefore be scaled to any size without
In this cases only a header with the image properties is added to the original
image
\begin_inset Foot
-status open
+status collapsed
\begin_layout Plain Layout
In the case of PDF, the original image is additionally compressed.
\begin_layout Chapter
Tables
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Tables"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\family sans
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Settings
the current row.
A given width will allow the cell to have line breaks and multiple paragraphs
of text, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Furthermore, you can mark one or multiple cells of one row as a multicolumn
cell, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
It is also possible to enter a LaTeX-argument which is needed for special
table formattings, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Formal
\family default
will convert the table to a formal table as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
You can also add here space to table rows as decribed in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
that can run over several pages.
Section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\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
+When the table dialog is open, you can move the cursor with the arrow keys
+ from cell to cell and the property of the current cell will immediately
be displayed in the dialog.
\end_layout
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Graphics
- filename ../images/tabular-feature_align-left.png
+ filename ../images/tabular-feature_m-align-left.png
scaleBeforeRotation
\end_inset
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Graphics
- filename ../images/tabular-feature_align-center.png
+ filename ../images/tabular-feature_m-align-center.png
scaleBeforeRotation
\end_inset
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Graphics
- filename ../images/tabular-feature_align-right.png
+ filename ../images/tabular-feature_m-align-right.png
scaleBeforeRotation
\end_inset
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Graphics
- filename ../images/tabular-feature_valign-top.png
+ filename ../images/tabular-feature_m-valign-top.png
scaleBeforeRotation
\end_inset
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Graphics
- filename ../images/tabular-feature_valign-middle.png
+ filename ../images/tabular-feature_m-valign-middle.png
scaleBeforeRotation
\end_inset
\begin_layout Labeling
\labelwidthstring 00.00.0000
\begin_inset Graphics
- filename ../images/tabular-feature_valign-bottom.png
+ filename ../images/tabular-feature_m-valign-bottom.png
scaleBeforeRotation
\end_inset
\begin_layout Standard
For general explanations about floats, have a look at section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
#:
\begin_layout Standard
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
For more information have a look at section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
caption
\series default
, which is described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\family sans
Insert\SpecialChar \menuseparator
Cross
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
reference
\end_inset
Referencing is explained in detail in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
If the table is too long to fit on one page, you can use the option
\family sans
Use
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
long
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
table
Longtable
\family default
of the table dialog to split the table automatically over more pages.
- Doing this enables some check boxes and you can now define:
+ Doing this enables the following options:
\end_layout
\begin_layout Description
-
-\family sans
-Header
-\family default
-: The current row and all rows above, that don't have any special options
- defined, are defined to be the header rows of all pages of the longtable;
- except for the first page, if
+Header: The current row is defined to be a header row that appears on all
+ pages of the longtable; except for the first page, if
\family sans
First
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
header
\end_layout
\begin_layout Description
-
-\family sans
First
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
-header
-\family default
-: The current row and all rows above, that don't have any special options
- defined, are defined to be the header rows of the first page of the longtable.
+header: The current row is defined to be a header row that appears on the
+ first page of the longtable.
\end_layout
\begin_layout Description
-
-\family sans
-Footer
-\family default
-: The current row and all rows below, that don't have any special options
- defined, are defined to be the footer rows of all pages of the longtable;
- except for the last page, if
+Footer: The current row is defined to be a footer row that appears on all
+ pages of the longtable; except for the last page, if
\family sans
Last
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
footer
\end_layout
\begin_layout Description
-
-\family sans
Last
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
-footer
-\family default
-: The current row and all rows below, that don't have any special options
- defined, are defined to be the footer rows of the last page of the longtable.
+footer: The current row is defined to be a footer row that appear on the
+ last page of the longtable.
\end_layout
-\begin_layout Standard
-You can also specify a row where the table is splitted.
- If you set more than one option in the same table row, you should be aware
- of the fact that only the first one is used in the given table row.
- The others will then be defined as
-\emph on
-empty
-\emph default
-.
- In this context, first means first in this order:
-\family sans
-Header,
-\family default
-
-\family sans
-First
-\begin_inset Space ~
+\begin_layout Description
+Caption: The current row contains the table caption.
+ The row is reset as single column and a caption is inserted.
+ More about longtable captions is explained in sec.
+\begin_inset space \thinspace{}
\end_inset
-header, Footer, Last
-\begin_inset Space ~
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Longtable-Captions"
+
\end_inset
-footer.
+.
+\end_layout
-\family default
+\begin_layout Standard
+You can also specify a row where the table is split.
See the following longtable to see how it works:
\end_layout
</cell>
</row>
<row endfoot="true">
-<cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
+<cell multicolumn="1" alignment="right" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-See greyed-out note in section
-\begin_inset Space ~
+See the first greyed-out note in section
+\begin_inset space ~
\end_inset
They appear at the bottom of the page where the table cell with the footnote
appears.
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
Where the value can have any of the units listed in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
LTleft
\series default
to 0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\end_inset
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+addtocounter{table}{-1}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+See the first greyed-out note in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Longtable-Captions"
+
+\end_inset
+
+ for an explanation of this command.
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Subsection
\begin_layout Standard
A longtable cannot be put into a table float because floats can only be
- on one page but the caption environment of floats can also be used for
- longtables.
-\end_layout
-
-\begin_layout Standard
-As LyX does not yet fully support captions in longtables, a hack is needed
- to create them:
-\end_layout
-
-\begin_layout Enumerate
-Create a longtable
-\family sans
-.
-\end_layout
-
-\begin_layout Enumerate
-Mark the first row and disable its upper line.
-\end_layout
-
-\begin_layout Enumerate
-Insert a caption via the menu
+ 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
\family sans
-Insert\SpecialChar \menuseparator
Caption
\family default
- into the first table cell.
-\begin_inset Newline newline
-\end_inset
-
-You can also add a short title for the caption.
-\end_layout
-
-\begin_layout Enumerate
-Insert a
-\begin_inset Quotes eld
+ as described in sec.
+\begin_inset space \thinspace{}
\end_inset
-\series bold
-
-\backslash
-
-\backslash
-%
-\series default
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Longtables"
-\begin_inset Quotes erd
\end_inset
- as TeX-Code behind the caption.
-\end_layout
-
-\begin_layout Standard
-A short title that will appear in the LOT instead of the full title.
- The
-\series bold
-
-\backslash
-
-\backslash
-%
-\series default
- behind the caption omits the vertical lines between the following cells
- in the row.
- The first table row is now only a dummy row for the caption, the actual
- table starts with the second row.
+.
+ Only one table row can contain the caption.
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\series bold
-Note:
+Note
+\begin_inset space ~
+\end_inset
+
+1:
\series default
The table number is increased for every longtable, also if you didn't set
a caption for it.
- For this reason you could have the case that e.g.
- Table
-\begin_inset Space ~
+ For this reason you could have the case that e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+Table
+\begin_inset space ~
\end_inset
2.4 follows on Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
2.1 in the list of tables if there are two longtables without captions.
addtocounter{table}{-1}
\end_layout
+\begin_layout Plain Layout
+This is not needed when none of your longtables have a caption and you add
+ the following code to the document preamble:
+\end_layout
+
+\begin_layout Plain Layout
+
+\series bold
+
+\backslash
+let
+\backslash
+myEnd
+\backslash
+endlongtable
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+endlongtable}{
+\backslash
+myEnd
+\backslash
+addtocounter{table}{-1}}
+\end_layout
+
\end_inset
\begin_layout Plain Layout
\series bold
-Note:
+Note
+\begin_inset space ~
+\end_inset
+
+2:
\series default
- If you are using the LaTeX-package
+ If you are using
\series bold
-hyperref
+ hyperref
\series default
\begin_inset Index
\end_inset
- to link cross-references, the link to a longtable caption will always point
- to the beginning of the document.
-\end_layout
-
-\end_inset
-
-
+ in the
+\family sans
+PDF Properties
+\family default
+ of the
+\family sans
+Document Settings
+\family default
+ dialog to link cross-references, the link to a longtable caption will always
+ point to the beginning of the document.
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
\end_inset
\begin_layout Standard
To reference a longtable, insert a label into the caption.
- Note that you have to add the label prefix
-\begin_inset Quotes eld
-\end_inset
-
-
-\emph on
-tab:
-\emph default
-
-\begin_inset Quotes eld
-\end_inset
-
- manually in the label field.
\end_layout
\begin_layout Standard
This is a reference to Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-The caption layout can be set together with all other caption of your document
+The caption layout can be set together with all other captions of your document
using the LaTeX-package
\series bold
caption
\end_inset
, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\series default
.
Its default value is 4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in.
\begin_layout Standard
where the width could have one of the units listed in appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
long full title with default width long full title with default width long
full title with default width
\begin_inset OptArg
-status open
+status collapsed
\begin_layout Plain Layout
caption with default width
\begin_layout Plain Layout
long full title with width set to 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm long full title with width set to 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm long full title with width set to 5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm
\begin_inset OptArg
-status open
+status collapsed
\begin_layout Plain Layout
caption with width
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
=
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm
is used, as in this document, the full page width is used for the caption
when you use the default value of 4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in for
\series default
.
To get in this case exactly a 4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in wide caption, you can either use a value slightly different from 4.0
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
+\end_inset
+
+in, e.
+\begin_inset space \thinspace{}
\end_inset
-in, e.g.
- 3.99
-\begin_inset Space \thinspace{}
+g.
+\begin_inset space \space{}
+\end_inset
+
+3.99
+\begin_inset space \thinspace{}
\end_inset
in, or the LaTeX-command
\end_layout
\begin_layout Standard
-When the other captions should differ from the one of the first table page,
- insert a caption with a non-empty short title in a dummy caption row marked
- as first header.
- The caption used for the other table pages is inserted as caption without
- a short title in a dummy caption row that is marked as main header.
- When this caption shouldn't include the table number, use the command
+When the table captions for the following pages should differ from the one
+ of the first table page, insert a caption with the TeX code command
\end_layout
\begin_layout Standard
\backslash
caption*{caption text}
+\backslash
+
+\backslash
+%
\end_layout
\begin_layout Standard
-instead of LyX's caption box.
- The label to reference the table is inserted into the caption of the first
- header.
+in a dummy caption row that is marked as header.
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="59" columns="3">
-<features islongtable="true">
+<features islongtable="true" lastFootEmpty="true">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
-<row endfirsthead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
</row>
-<row endhead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row endhead="true">
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row endhead="true">
-<cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\series default
\begin_inset Foot
-status collapsed
+status open
\begin_layout Plain Layout
Example footnote
\begin_inset Quotes erd
\end_inset
- as TeX-Code at this point of the cell where it should be broken.
+ as TeX-Code at this point of the cell where it can be broken.
Before the
\series bold
\series default
characters like the number of table columns before the current column.
In Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\backslash
\backslash
-
+
+\backslash
+newpage
\begin_inset Newline newline
\end_inset
\end_inset
in the third columns 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.
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:
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="38" columns="3">
-<features islongtable="true">
+<features islongtable="true" lastFootEmpty="true">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0pt">
-<row endfirsthead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
</row>
-<row endhead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row endhead="true">
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
-caption*{Continued table with forced page break in table cell}
+caption*{Continued Example Phone List}
\backslash
\backslash
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row endhead="true">
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+
\series bold
Example Phone List
\end_layout
\backslash
\backslash
-
+
+\backslash
+newpage
\end_layout
\begin_layout Plain Layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
\end_layout
\begin_layout Section
\end_layout
\begin_layout Standard
-\align center
+\noindent
\begin_inset Float table
placement H
wide false
\begin_layout Plain Layout
multiple
-\begin_inset ERT
-status collapsed
+\begin_inset Newline linebreak
+\end_inset
+
+lines
+\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
-\backslash
-linebreak
+\begin_layout Plain Layout
+c
\end_layout
\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
- lines
+\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
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Adjusting a fixed width for a column, enables to enter text as a paragraph
+ with multiple lines and hyphenations.
+\end_layout
+
+\begin_layout Standard
+To produce Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-multiple"
+
+\end_inset
+
+, create a 3×3 table, mark the first cell and right-click on it.
+ In the appearing table dialog we set a cell width of 2.5
+\begin_inset space \thinspace{}
+\end_inset
+
+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
+\begin_inset space \thinspace{}
+\end_inset
+
+cm, only one line will appear.
+ To get two lines, a justified line break (shortcut
+\begin_inset Info
+type "shortcut"
+arg "newline-insert linebreak"
+\end_inset
+
+) was added.
+ If the text is wider than the set cell width, it will automatically be
+ broken to several lines.
+\end_layout
+
+\begin_layout Standard
+If you have a long word in a cell with a fixed width, it cannot be hyphenated
+ by LaTeX if it is the first entry.
+ Therefore you need to insert something, to make the word not being the
+ first entry.
+ So add a horizontal space of 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt before the word.
+ As the space is zero, it doesn't change the output.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Table-with-and"
+
+\end_inset
+
+ shows the effect.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:Table-with-and"
+
+\end_inset
+
+Table with and without hyphenation
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features>
+<column alignment="center" valignment="middle" width="2.5cm">
+<column alignment="center" valignment="middle" width="0">
+<column alignment="center" valignment="middle" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+verylongtablecellword
\end_layout
\end_inset
\end_inset
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-Adjusting a fixed width for a column, enables to enter text as a paragraph
- with multiple lines and hyphenations.
-\end_layout
-
-\begin_layout Standard
-To produce Table
-\begin_inset Space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-multiple"
-
-\end_inset
-
-, create a 3×3 table, mark the first cell and right-click on it.
- In the appearing table dialog we set a cell width of 2.5
-\begin_inset Space \thinspace{}
-\end_inset
-
-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
-\begin_inset Space \thinspace{}
-\end_inset
-
-cm, only one line will appear.
- To get two lines, we add a line break with the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-linebreak
-\end_layout
-
-\begin_layout Standard
-in TeX-Code.
- If the text is wider than the set cell width it will automatically be broken
- to several lines.
-\end_layout
-
-\begin_layout Standard
-If you have a long word in a cell with a fixed width, it cannot be hyphenated
- by LaTeX if it is the first entry.
- Therefore you need to insert something, to make the word not being the
- first entry: Add the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-hspace{0pt}
-\end_layout
-
-\begin_layout Standard
-in TeX-Code before the word.
- As the space is zero, it doesn't change the output.
- Table
-\begin_inset Space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "tab:Table-with-and"
-
-\end_inset
-
- shows the effect.
-\end_layout
-
-\begin_layout Standard
-\begin_inset Float table
-placement h
-wide false
-sideways false
-status open
-
-\begin_layout Plain Layout
-\begin_inset Caption
-
-\begin_layout Plain Layout
-\begin_inset CommandInset label
-LatexCommand label
-name "tab:Table-with-and"
-
-\end_inset
-
-Table with and without hyphenation
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Plain Layout
-\begin_inset Space \hfill{}
-\end_inset
-
-
-\begin_inset Tabular
-<lyxtabular version="3" rows="3" columns="3">
-<features>
-<column alignment="center" valignment="middle" width="2.5cm">
-<column alignment="center" valignment="middle" width="0">
-<column alignment="center" valignment="middle" width="0">
-<row>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-verylongtablecellword
-\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 alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-d
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-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 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" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-h
-\end_layout
-
-\end_inset
-</cell>
-<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
-\begin_inset Text
-
-\begin_layout Plain Layout
-i
-\end_layout
-
-\end_inset
-</cell>
-</row>
-</lyxtabular>
-
-\end_inset
-
-
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_inset Text
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hspace{0pt}
-\end_layout
-
+\begin_inset space \hspace{}
+\length 0pt
\end_inset
verylongtablecellword
\end_inset
-\begin_inset Space \hfill{}
-\end_inset
-
-
-\end_layout
-
+\begin_inset space \hfill{}
\end_inset
\end_layout
-\begin_layout Standard
-\begin_inset Newpage newpage
\end_inset
\begin_layout Standard
\begin_inset Float table
+placement h
wide false
sideways false
status open
\begin_layout Standard
To create for example Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
centered alignment
\emph default
and a width of 2.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\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
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm for the first column.
The second column has then automatically a width of 1.25
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm (multicolumn width - width of first column).
This was done for Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
because a cell is always a bit larger than its given width.
Appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! multirow
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\series bold
multirow
\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! multirow
+\end_layout
+
+\end_inset
+
in your document preamble with the command
\end_layout
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{}
+\begin_inset space \thinspace{}
\end_inset
cm.
\begin_layout Standard
Tables are often typeset in books similar to Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
Medipix
-\begin_inset Formula $\,$
+\begin_inset space \thinspace{}
\end_inset
1
\begin_layout Plain Layout
Medipix
-\begin_inset Formula $\,$
+\begin_inset space \thinspace{}
\end_inset
2
Borders
\family default
tab of the table dialog as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
The first and the last table line have a default width of 0.08
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em while the other lines have a default width of 0.05
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em.
\series default
.
You can use all units listed in appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
The default for the width is 0.03
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em.
l{2pt}
\emph default
means that the line is trimmed from its left end by 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
If you don't specify the trimwidth the lines are trimmed by the default
of 0.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em.
\end_inset
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
cmidrule
\series default
s like in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
The command that was used for the second row of Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-For more informations about these specialties, we refer to the manual of
+For more information about these specialties, we refer to the manual of
the LaTeX-package
\series bold
booktabs
\begin_layout Plain Layout
Medipix
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
1
\begin_layout Plain Layout
Medipix
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
2
\begin_layout Standard
To align tables vertically in a text line the table must be inside a box.
The box can then be vertically aligned as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
Minipages are described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
box that has a width of 15
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
col%:
\begin_layout Plain Layout
Raiseboxes are described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\family sans
Edit\SpecialChar \menuseparator
Text
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Style
\family default
.
This was used to create Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
>{}
\series default
is described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\series bold
\backslash
-def\SpecialChar \textcompwordmark{}
-inecolor{color name}{color model}{color values}
+definecolor{color name}{color model}{color values}
\end_layout
\begin_layout Standard
\begin_layout Standard
You can e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
define the color "
\series bold
\backslash
-def\SpecialChar \textcompwordmark{}
-inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
+definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
\end_layout
\begin_layout Standard
\series bold
\backslash
-def\SpecialChar \textcompwordmark{}
-inecolor{lightgray}{gray}{0.8}
+definecolor{lightgray}{gray}{0.8}
\end_layout
\begin_layout Standard
\family sans
Edit\SpecialChar \menuseparator
Text
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Style
\begin_layout Standard
To create Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\family sans
Edit\SpecialChar \menuseparator
Text
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Style
\begin_layout Standard
As described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\series default
.
It is set to 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt for all tables of this section.
\begin_layout Standard
To color vertical lines for example with green, create the following column
format in the document preamble, according to the description in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
For Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
\begin_inset Float table
+placement h
wide false
sideways false
status open
\end_inset
To color horizontal lines for example with red, like in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_inset Float table
+placement h
wide false
sideways false
status open
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-pagebreak
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\begin_layout Standard
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Description
Top
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
row will add space above the characters of the table row.
\begin_layout Plain Layout
Formal tables are explained in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
LyX will insert as default 0.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em space.
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hspace*{0pt}
-\end_layout
-
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\begin_layout Plain Layout
3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm space top of row
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hspace*{0pt}
-\end_layout
-
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
\begin_layout Description
Bottom
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
row will add space below the characters of the table row.
If the table is a formal table LyX will insert as default 0.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em space, for normal tables the default size is 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\begin_layout Description
Between
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
rows adds space between the current and the following row.
If the table is a formal table LyX will insert as default 0.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em space.
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hspace*{0pt}
-\end_layout
-
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_inset
3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm space between row
\end_inset
3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm space between row
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hspace*{0pt}
-\end_layout
-
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
\series bold
\backslash
-@ifundef\SpecialChar \textcompwordmark{}
-ined{extrarowheight}
+@ifundefined{extrarowheight}
\begin_inset Newline newline
\end_inset
\series bold
\backslash
-@ifundef\SpecialChar \textcompwordmark{}
-ined
+@ifundefined
\series default
is used in the above command.)
\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.
+ This can be corrected by inserting the command
+\series bold
+
+\backslash
+strut
+\series default
+ in TeX code at the beginning of a table row.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Vertical-alignment-of"
+
+\end_inset
+
+ visualizes the effect.
+\end_layout
+
+\begin_layout Standard
+\noindent
+\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:Vertical-alignment-of"
+
+\end_inset
+
+Vertical alignment of text with large font sizes.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\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
+Normal table.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="1">
+<features>
+<column alignment="left" valignment="top" width="0">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Normal, g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size large
+Large
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size larger
+Larger
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size largest
+Largest
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size huge
+Huge
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size huge
+Huger
+\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
+Table using the command
+\series bold
+
+\backslash
+strut
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="6" columns="1">
+<features>
+<column alignment="left" valignment="top" width="0">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Normal, g
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size large
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
+\end_layout
+
+\end_inset
+
+Large
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size larger
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
+\end_layout
+
+\end_inset
+
+Larger
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size largest
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
+\end_layout
+
+\end_inset
+
+Largest
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size huge
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
+\end_layout
+
+\end_inset
+
+Huge
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\size giant
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+strut
+\end_layout
+
+\end_inset
+
+
+\size huge
+Huger
+\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 Subsection
Special Cell Alignment
\begin_inset Index
\begin_layout Standard
Sometimes it looks better when the cell entries of a column are aligned
with a special character, e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
with the decimal separator as in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
24
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
bottles
\begin_layout Plain Layout
768
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Pixels
\begin_layout Plain Layout
6
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm
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 ~
+\begin_inset space ~
\end_inset
dcolumn
\series default
like the first column in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
and only with some tricks like the expected.
The alignment of the second and third column of Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
12x24
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
bottles
\begin_layout Plain Layout
12x24
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
\begin_layout Plain Layout
1024x768
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Pixels
\begin_layout Plain Layout
1024x768
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
\begin_layout Plain Layout
32x6
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm
\begin_layout Plain Layout
32x6
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
\begin_layout Standard
Calculating the needed width for spanned columns like in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
hspace{0pt}
\series default
avoids the problem of hyphenating the first word, as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
To create Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\series default
.
To set for example a line thickness of 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt, like in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
arrayrulewidth
\series default
to 0.4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt in TeX-Code behind the table or table float.
\end_inset
Table with 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt thick lines
\end_inset
To set the line thickness to 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt only for horizontal lines, like in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
Table with 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt thick horizontal lines
\end_inset
To set the line thickness to 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt only for vertical lines, create the following column format in the document
preamble, according to the description in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
For Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
Table with 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt thick vertical lines
\begin_layout Standard
Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
that is used for colored tables in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Floats"
-
-\end_inset
-
-
\end_layout
\begin_layout Section
and
\family sans
Margin
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Notes
, every float can be referenced in the text.
Floats are therefore numbered.
Referencing is described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
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
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
- -- a gray button with a red label.
+ – a gray button with a red label.
\end_layout
\begin_layout Standard
\begin_layout Standard
Besides figure and table floats that are described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\series default
and
\series bold
-Text
-\begin_inset Space ~
-\end_inset
-
Wrap
-\begin_inset Space ~
-\end_inset
-
-Float
\series default
.
\end_layout
\end_inset
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Algorithm-Floats"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
Algorithm
\family default
.
- It is used for program codes and descriptions of algorithms.
+ It is used for program codes and descriptions of algorithms and can be
+ seen as an alternative to program code listings that are explained in chapter
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "cha:Program-Code-Listings"
+
+\end_inset
+
+.
A possible environment for algorithms is the
\family sans
LyX-Code
\emph default
.
Algorithm
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
is an example of an algorithm float where -4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm vertical space was added at the end of the float to have the bottom rule
\backslash
floatname{algorithm}{your
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
name}
where
\family sans
your
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
name
\end_layout
\begin_layout Standard
-To insert the list of algorithms you can in this case not use the menu
+To insert the list of algorithms you can use the menu
\family sans
Insert\SpecialChar \menuseparator
List
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
/
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
TOC\SpecialChar \menuseparator
List of Algorithms
\family default
- when your document is an English one.
- For non-English documents, use this command in TeX-Code instead:
+ when your document has the same language as LyX's menu names.
+ In other cases use this command in TeX-Code instead:
\end_layout
\begin_layout Standard
\backslash
listof{algorithm}{your
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
name}
where
\family sans
your
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
name
, set in the tab
\family sans
Math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Options
in the document settings the option
\family sans
Use
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
AMS
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
package
\end_layout
\begin_layout Subsection
-Text Wrap Floats
+Wrap Floats
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Floats ! Text Wrap Floats
+Floats ! Wrap Floats
\end_layout
\end_inset
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:floatflt-wrap-float"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\begin_inset Wrap figure
lines 0
placement l
-overhang 0col%
+overhang 1cm
width "40col%"
status open
\begin_layout Plain Layout
\begin_inset Graphics
filename clipart/mobius.eps
- display color
width 40col%
scaleBeforeRotation
rotateOrigin center
\end_inset
-This is a wrapped figure, and this is the brilliant caption that describes
- it.
-\begin_inset VSpace medskip
-\end_inset
-
-
+This is a figure wrap float.
\end_layout
\end_inset
\end_inset
-This float type is used if you want to
-\begin_inset Quotes eld
+ This float type is used if you want to wrap text around a figure or table
+ so that it only occupies some fraction of the column width.
+ It can be inserted using the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Floats\SpecialChar \menuseparator
+Figure
+\begin_inset space ~
\end_inset
-wrap
-\begin_inset Quotes erd
+Wrap
+\begin_inset space ~
\end_inset
- text around a figure so that it only occupies some fraction of the column
- width.
- It can be inserted using the menu
+Float
+\family default
+ or
\family sans
-Insert\SpecialChar \menuseparator
-Floats\SpecialChar \menuseparator
-Text
-\begin_inset Space ~
+Table
+\begin_inset space ~
\end_inset
Wrap
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Float
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-vspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-4mm
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+vspace{4mm}
\end_layout
\end_inset
Installing a LaTeX-package is explained it in the
\emph on
LaTeX
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Configuration
\end_inset
- The width and placement of the float is adjusted by right-clicking on the
- float box.
+ The settings of the float can be modified by right-clicking on the float
+ box.
+ The mandatory settings are the float
+\family sans
+Placement
+\family default
+ and its
+\family sans
+Width
+\family default
+.
+ Optional are the
+\family sans
+Overhang
+\family default
+ that specifies how much the float is set into the paragraph
+\begin_inset space \thinspace{}
+\end_inset
+
+/
+\begin_inset space \thinspace{}
+\end_inset
+
+page margin, and the
+\family sans
+Line
+\begin_inset space ~
+\end_inset
+
+span
+\family default
+ that specifies how many text lines the float will approximately need.
+ The line span is often hard to be approximated, so better only use it when
+ you encounter float placement problems.
+ You can furthermore decide if LaTeX is allowed to let the float float within
+ the paragraph or to surrounding paragraphs.
Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
is an example text wrap float with a width of 40
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
+\end_inset
+
+col%, 1
+\begin_inset space \thinspace{}
\end_inset
-col%.
+cm overhang, set to the left.
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
Available units are explained in appendix
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
- Some space was added under the caption to separate it better from the surroundi
-ng text.
-\end_layout
-
-\begin_layout Standard
-The LaTeX-package
-\series bold
-wrapfig
-\series default
- also supports table wrap floats, but they are not yet supported by LyX.
- If you need this, read the documentation of
-\series bold
-wrapfig
-\series default
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "wrapfig"
-
-\end_inset
-.
\end_layout
\begin_layout Standard
Note:
\series default
Text
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
wrap float floats are fragile! E.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
having a figure too close to the bottom of the page can mess things up in
\begin_layout Section
Float Numbering
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Float-Numbering"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
, set in the tab
\family sans
Math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Options
in the document settings the option
\family sans
Use
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
AMS
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
package
\begin_layout Standard
Please also have a look at section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
status collapsed
\begin_layout Plain Layout
-References
+References ! to Floats
\end_layout
\end_inset
will be inserted and the label window pops up asking for the label text.
LyX offers as text the first words of the caption with a prefix.
The prefix depends on the float type, e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
for figure floats the prefix will be "
The button
\family sans
Go
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
to
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Label
\family default
in the cross-reference window sets the cursor before the referred label.
The button text changes then to Go
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Back and you can use it to set the cursor back to the cross-reference.
\begin_layout Description
<page>: prints the page number: Page
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Description
on
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
page
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
<page>: prints the text "on page" and the page number:
\begin_layout Description
<reference>
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
on
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
page
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
<page>: prints the float number, the text "on page", and the page number:
\begin_layout Description
Formatted
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
reference: prints a self defined cross-reference format.
Note that the style <page> won't print the page number if the label is on
the previous, the same, or the next page.
You will e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
see the text
\end_layout
\begin_layout Subsection
-Referencing Subfigures
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Referencing-Subfigures"
+Automatic Reference Naming
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+References ! Automatic Reference Naming
+\end_layout
\end_inset
+\end_layout
+
+\begin_layout Standard
+The LaTeX-package
+\series bold
+hyperref
+\series default
+
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-References ! to Subfigures
+LaTeX-packages ! hyperref
\end_layout
\end_inset
+, that is enabled in the
+\family sans
+PDF Properties
+\family default
+ of the
+\family sans
+Document Settings
+\family default
+ dialog, provides a very useful feature that cross-references automatically
+ include the name of the referenced floats (or text parts like
+\emph on
+section
+\emph default
+).
+ So you will save to write e.
+\begin_inset space \thinspace{}
+\end_inset
-\end_layout
+g.
+\begin_inset space \space{}
+\end_inset
-\begin_layout Standard
-Currently referencing subfigures is not supported by LyX, so you have to
- use LaTeX-commands.
- The label is the created with the command
+the name
+\begin_inset Quotes eld
+\end_inset
+
+Figure
+\begin_inset Quotes erd
+\end_inset
+
+ before every reference to a figure.
+ To use this feature, enable
+\series bold
+hyperref
+\series default
+ and insert this line to the LaTeX preamble:
\end_layout
\begin_layout Standard
\series bold
\backslash
-label{fig:YourLabelName}
+AtBeginDocument{
+\backslash
+renewcommand{
+\backslash
+ref}[1]{
+\backslash
+mbox{
+\backslash
+autoref{#1}}}}
\end_layout
\begin_layout Standard
-that is directly inserted into the subfigure caption field.
- To reference the label add this command in TeX-Code
+When you prefer other reference names than the default ones, for example
+ you want instead of
+\begin_inset Quotes eld
+\end_inset
+
+section
+\begin_inset Quotes erd
+\end_inset
+
+ the name
+\begin_inset Quotes eld
+\end_inset
+
+sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+, you can redefine the name by inserting this to the preamble:
\end_layout
\begin_layout Standard
\series bold
\backslash
-ref{fig:YourLabelName}
-\end_layout
-
-\begin_layout Standard
-to the position in your document where the reference should be placed.
- Here is a reference to a subfigure: Subfigure
-\begin_inset Space ~
+addto
+\backslash
+extrasenglish{
+\backslash
+renewcommand{
+\backslash
+sectionautorefname}
+\begin_inset Newline newline
\end_inset
\backslash
-ref{fig:Platypus}
+hphantom{ }
\end_layout
\end_inset
-.
+{sec.
+\backslash
+negthinspace}}
\end_layout
-\begin_layout Subsection
-Automatic Reference Naming
-\begin_inset Index
-status collapsed
+\begin_layout Standard
+When you are using another document language than English, replace
+\begin_inset Newline newline
+\end_inset
-\begin_layout Plain Layout
-References ! Automatic Reference Naming
-\end_layout
-\end_inset
+\series bold
+\backslash
+extrasenglish
+\series default
+ by
+\series bold
+\backslash
+extras***
+\series default
+, where *** is the name of the used language.
\end_layout
\begin_layout Standard
-The LaTeX-package
+To get automatic names, but not for certain reference types, for example
+ not for equations, use this preamble code:
+\end_layout
+
+\begin_layout Standard
+
\series bold
-hyperref
-\series default
- provides a very useful feature that cross-references automatically include
- the name of the referenced floats (or text parts like sections).
- You save to write e.
-\begin_inset Space \thinspace{}
-\end_inset
-g.
-\begin_inset Space ~
+\backslash
+newlength{
+\backslash
+abc}
+\begin_inset Newline newline
\end_inset
-the name
-\begin_inset Quotes eld
+
+\backslash
+settowidth{
+\backslash
+abc}{
+\backslash
+space}
+\begin_inset Newline newline
\end_inset
-Figure
-\begin_inset Quotes erd
+
+\backslash
+addto
+\backslash
+extrasenglish{
+\backslash
+renewcommand{
+\backslash
+equationautorefname}
+\begin_inset Newline newline
\end_inset
- before every reference box.
- To get this automatic reference naming, you have to load the LaTeX-package
-
-\series bold
-hyperref
-\series default
-\begin_inset Index
+\begin_inset ERT
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! hyperref
-\end_layout
-\end_inset
- in the document preamble with
+\backslash
+hphantom{ }
\end_layout
-\begin_layout Standard
-
-\series bold
-
-\backslash
-usepackage[pdfborder={0 0 0}]{hyperref}
-\begin_inset Newline newline
\end_inset
-
-\backslash
-AtBeginDocument{
-\backslash
-renewcommand{
-\backslash
-ref}[1]{
+{
\backslash
-mbox{
+hspace{-
\backslash
-autoref{#1}}}}
+abc}}
\end_layout
\begin_layout Standard
-
+More about this topic can be found in
\series bold
hyperref
\series default
- is used to link cross-references in the DVI- and PDF-output, this means
- that the reader of your document will be able to click on a table of content
- (TOC) entry or on a reference and he will be shown the referenced document
- part.
-
-\series bold
-hyperref
-\series default
- also creates PDF-bookmarks for every section of your document to make it
- easier for readers to navigate through the document.
- This is also used in this document but when you have a look in the document
- preamble you will find various options in the load command of
-\series bold
-hyperref
-\series default
-.
- To learn more about the
-\series bold
-hyperref
-\series default
- package, we refer to its documentation
+'s documentation
\begin_inset CommandInset citation
LatexCommand cite
key "hyperref"
in the
\family sans
Formatted
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
reference
\family default
- style, described in section
-\begin_inset Space ~
+ style, as described in section
+\begin_inset space ~
\end_inset
\end_layout
+\begin_layout Standard
+The
+\emph on
+Math
+\emph default
+ manual is an example where automatic reference naming is used.
+\end_layout
+
\begin_layout Subsection
Reference Position
\begin_inset CommandInset label
\end_inset
- to link cross-references in the output, you will see that clicking on an
- image float reference jumps to the image label.
+ in the
+\family sans
+PDF Properties
+\family default
+ of the
+\family sans
+Document Settings
+\family default
+ dialog to link cross-references in the output, you will see that clicking
+ on an image float reference jumps to the image label.
The caption will be the first text part on the screen, so that you cannot
see the image without scrolling.
This is because the reference link anchor is placed at the position of
\series bold
hypcap
\series default
- for all floats but this isn't recommended for stability reasons.
- For more informations, have a look at
+ for all float types but this is not recommended for stability reasons.
+ For more information, have a look at
\series bold
hypcap
\series default
Note:
\series default
-\series bold
-hypcap
-\series default
- must be loaded after
-\series bold
-hyperref
-\series default
- in the document preamble.
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset Note Greyedout
-status open
-
-\begin_layout Plain Layout
-
-\series bold
-Note:
-\series default
-
\series bold
hypcap
\series default
The option
\family sans
Span
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
columns
The option
\family sans
Rotate
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
sideways
set the placement for a particular float when you uncheck the option
\family sans
Use
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
default
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
placement
\begin_layout Description
Here
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
if
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
possible try to place the float on the position where it is inserted
\begin_layout Description
Top
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
page try to place the float on the top of the current page
\begin_layout Description
Bottom
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
page try to place the float on the bottom of the current page
\begin_layout Description
Page
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
floats try to place the float on an own page
\family sans
Here
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
if
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
possible
, then
\family sans
Top
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
page
\family sans
Top
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
page
\family default
only floats occupying less than 70
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
% of the page can be placed at the top of a page (
\family sans
Bottom
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
page
\family default
: only floats occupying less than 30
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
% of the page can be placed at the bottom of a page.
\family sans
Page
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
of
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
floats
\family default
: only if more than 50
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
% of the page are occupied by floats, several floats can be set together
option
\family sans
Ignore
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
LaTeX
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
rules
s behind the rules description above.
To increase for example the often too small default of the bottom-rule
to 50
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
% of the page, add this line to your document preamble:
For this case you can use the option
\family sans
Here
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
definitely
\family sans
[Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
3.2 about here.]
\series default
doesn't provide an automatic translation for the text hint, you have to
do this manually, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
4 in
and use the option
\family sans
Rotate
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
sideways
\end_layout
\begin_layout Standard
-Rotated floats are always placed on its own page (or column, when you have
- a two-column document).
- They are rotated so that you can read them from the outside margin.
+Rotated floats are always placed on its own page (or column, in case you
+ have a multi-column document).
+ You can let them span several columns using the float settings option
+\family sans
+Span
+\begin_inset space ~
+\end_inset
+
+columns
+\family default
+.
+ Floats are rotated so that you can read them from the outside margin.
To force a certain rotation direction for all pages, you can add either
the option
\series bold
\begin_layout Standard
Referencing rotated floats is the same like for normal floats, the caption
format is also the same: Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Section
+Subfloats
+\begin_inset Index
+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 to an existing float.
+ The placement of the subfloats can be controlled like 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>
+<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>
+<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 upon 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>
+<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" 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>
+<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
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Section
\begin_layout Standard
To place floats side by side, like for Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
Minipages are explained in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
The width is set to 45
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-50
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
column% and the box alignment to
The only difference is that the image unit
\family sans
Column
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Width
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
%
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
\end_inset
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! caption
-\end_layout
-
-\end_inset
-
-
\begin_inset CommandInset label
LatexCommand label
name "sec:Caption-Formatting"
\family default
.
On the LyX screen captions appear as label, e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
\begin_layout Standard
in the document preamble.
For example the caption formats of Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
and Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\series default
has no effect when a
\series bold
-koma-script
+KOMA-script
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-script
\end_layout
\end_inset
we refer to its documentation
\begin_inset CommandInset citation
LatexCommand cite
-key "caption,caption-de"
+key "caption"
\end_inset
\end_layout
\begin_layout Standard
-To change the label name from e.g.
-
+To change the label name from e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
\begin_inset Quotes eld
\end_inset
If you are using a
\series bold
-koma-script
+KOMA-script
\series default
\begin_inset Index
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{}
+\begin_inset space \thinspace{}
\end_inset
), you can alternatively to the
\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
\begin_layout Plain Layout
See section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
If you are using a
\series bold
-koma-script
+KOMA-script
\series default
\begin_inset Index
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{}
+\begin_inset space \thinspace{}
\end_inset
), you can alternatively to the
\begin_layout Standard
If you set no option, the caption is placed on the side of the outer page
- margin -- to the right on odd pages, to the left on even pages.
+ margin – to the right on odd pages, to the left on even pages.
You can change the placement to inner margin with the option
\series bold
innercaption
\begin_layout Standard
Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
and Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
This was used for Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
, described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Section
Listings of Floats
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Listings-of-Floats"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\family sans
Insert\SpecialChar \menuseparator
List
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
/
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
TOC
\begin_layout Section
LyX Notes
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:LyX-Notes"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
Note
\family default
.
- There are five types of notes:
+ There are three types of notes:
\end_layout
\begin_layout Description
LyX
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Note This note type is for internal notes that won't appear in the output.
\begin_inset Graphics
filename clipart/LyXNoteImageQt4.png
- display none
+ display false
scale 85
scaleBeforeRotation
\begin_inset Graphics
filename clipart/CommentNoteImageQt4.png
- display none
+ display false
scale 85
scaleBeforeRotation
\begin_layout Description
Greyed
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Out This note will appear in the output as grey text.
\begin_inset Graphics
filename clipart/GreyedOutNoteImageQt4.png
- display none
+ display false
scale 85
scaleBeforeRotation
indented and greyed out notes can have footnotes.
\end_layout
-\begin_layout Description
-Framed This note will appear in the output as framed text.
- Its note-box looks like this:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Graphics
- filename clipart/FramedNoteImageQt4.png
- display none
- scale 85
- scaleBeforeRotation
-
-\end_inset
-
-
-\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 open
-
-\begin_layout Plain Layout
-This is text in a note box that appears framed in the output.
-\end_layout
-
-\end_inset
-
- In contrary to framed boxes
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Framed boxes are described in section
-\begin_inset Space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Framed-Boxes"
-
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
- the frame uses always the whole text width and the note is set into its
- own paragraph.
-\end_layout
-
-\begin_layout Description
-Shaded This note will appear in the output with red background color.
- Its note box looks like this:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Graphics
- filename clipart/ShadedNoteImageQt4.png
- display none
- scale 85
- scaleBeforeRotation
-
-\end_inset
-
-
-\begin_inset Box Shaded
-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 open
-
-\begin_layout Plain Layout
-This text in a note box appears in the output with red background.
-\end_layout
-
-\end_inset
-
-In contrary to colored boxes
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Colored boxes are described in section
-\begin_inset Space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Boxes"
-
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
- the note uses always the whole text width and the note is set into its
- own paragraph.
-\end_layout
-
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
to insert notes, a
\family sans
LyX
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Note
\begin_layout Standard
The available colors and the method to define own colors is explained in
section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
with blue text.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The text style of
-\family sans
-Framed
-\family default
- and
-\family sans
-Shaded
-\family default
- notes can be set in the
-\family sans
-Text Style
-\family default
- dialog.
-\end_layout
-
-\begin_layout Standard
-The default frame width for
-\family sans
-Framed
-\family default
- notes is 0.4
-\begin_inset Space \thinspace{}
-\end_inset
-
-pt; it can be changed by changing the size
-\series bold
-
-\backslash
-FrameRule
-\series default
-.
- The default space between the note content and the frame is 9
-\begin_inset Space \thinspace{}
-\end_inset
-
-pt; it can be changed by changing the size
-\series bold
-
-\backslash
-FrameSep
-\series default
-.
- For example the frame appearance of the following
-\family sans
-Framed
-\family default
- note is set with the TeX-Code commands
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-FrameRule 5pt
-\backslash
-FrameSep 0.5cm
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-FrameRule 5pt
-\backslash
-FrameSep 0.5cm
-\end_layout
-
-\end_inset
-
-
-\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 open
-
-\begin_layout Plain Layout
-This is text in a
-\family sans
-Framed
-\family default
- note.
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-FrameRule 0.4pt
-\backslash
-FrameSep 9pt
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-For
-\family sans
-Shaded
-\family default
- notes the default space between the note content and the note border is
- 3
-\begin_inset Space \thinspace{}
-\end_inset
-
-pt; it can be changed by changing the size
-\series bold
-
-\backslash
-fboxsep
-\series default
-.
-\begin_inset Newline newline
-\end_inset
-
-The default background color red can be changed with the command
-\series bold
-
-\backslash
-definecolor{shadebox}
-\series default
-.
- The scheme of the
-\series bold
-
-\backslash
-definecolor
-\series default
- command is explained in section
-\begin_inset Space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Tables"
-
-\end_inset
-
-
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Note that
-\series bold
-
-\backslash
-def
-\series default
-\SpecialChar \textcompwordmark{}
-
-\series bold
-inecolor
-\series default
- requires the LaTeX-package
-\series bold
-color
-\series default
- in the preamble, see section
-\begin_inset Space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Boxes"
-
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
-.
-\end_layout
-
-\begin_layout Standard
-For example the appearance of the following
-\family sans
-Shaded
-\family default
- note is set with the TeX-Code commands
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-fboxsep 0.5cm
-\series default
-
-\begin_inset Newline newline
-\end_inset
-
-
-\series bold
-
-\backslash
-definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-fboxsep 0.5cm
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
-\end_layout
-
-\end_inset
-
-
-\begin_inset Box Shaded
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-
-\color yellow
-This is yellow text in a
-\color none
-
-\family sans
-\color yellow
-Shaded
-\family default
-\color none
-
-\color yellow
-note with darkgreen background.
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-fboxsep 3pt
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-definecolor{shadecolor}{rgb}{1,0,0}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
\begin_layout Section
Footnotes
\begin_inset CommandInset label
\begin_layout Standard
Footnotes can be referenced like floats: Insert a label into the footnote
and cross-reference this label in the text as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
This is a cross-reference of Footnote
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
To use footnotes within tables, you have to use minipages, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
.
Footnotes within longtables are described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
the text, you have to store its number.
For the following footnote mark example, these commands were inserted in
TeX-Code behind Footnote
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
, set in the tab
\family sans
Math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Options
in the document settings the option
\family sans
Use
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
AMS
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
math
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
package
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.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
add 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm space with the following preamble command:
In a two-column document the footnotes appear at the bottom of every column,
see Figure
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
.
If the footnotes should only appear at the bottom of the right column,
as in Figure
-\begin_inset Space ~
+\begin_inset space ~
\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
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "fig:Endnotes----footnotes"
+reference "fig:Endnotes"
\end_inset
\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
\begin_layout Plain Layout
\begin_inset CommandInset label
LatexCommand label
-name "fig:Endnotes----footnotes"
+name "fig:Endnotes"
\end_inset
-Endnotes -- footnotes are printed in a separate paragraph at the end of
- sections or chapters.
+Endnotes – footnotes are printed in a separate paragraph at the end of sections
+ or chapters.
\end_layout
\end_inset
The numbering of endnotes can be changed like the footnote numbering as
described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
@addtoreset
\series default
as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
footnotemark
\series default
, described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\family sans
Insert\SpecialChar \menuseparator
Marginal
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Note
\begin_layout Standard
At the side is an example margin note.
+
\family roman
\series medium
-
+
\begin_inset Marginal
status open
\begin_layout Standard
Margin notes appear at the right side in single-sided documents.
- In double-sided documents they appear in the outer margin -- left on even
+ In double-sided documents they appear in the outer margin – left on even
pages, right on odd pages.
- The text of margin notes is aligned opposite to the outer margin -- right-align
-ed when the note appears in the left margin.
+ The text of margin notes is aligned opposite to the outer margin – right-aligne
+d when the note appears in the left margin.
The first line of the margin note is placed at the position of the text
line where it is inserted in the document.
\end_layout
\begin_layout Standard
in TeX-Code before a margin note.
The new placement is valid for all following margin notes.
+
\begin_inset ERT
status collapsed
\family default
\series default
-Similar to the case described in section
-\begin_inset Space ~
+ Similar to the case described in section
+\begin_inset space ~
\end_inset
, long words cannot be hyphenated when they are the first word in a margin
note.
- To avoid this, insert the command
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-hspace{0pt}
-\end_layout
+ To avoid this, insert 0
+\begin_inset space \thinspace{}
+\end_inset
-\begin_layout Standard
-in TeX-Code before the word
+pt horizontal space before the word
\family roman
\series medium
.
+
\begin_inset Marginal
status open
\begin_layout Plain Layout
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-hspace{0pt}
-\end_layout
-
+\begin_inset space \hspace*{}
+\length 0pt
\end_inset
AVeryLongMarginParWord that is hyphenated.
\begin_layout Standard
where the offset is a length with one of the units listed in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\family roman
\series medium
For example the margin note beside this text line is shifted up 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm with the TeX-Code-command
\begin_layout Plain Layout
This margin note is shifted up 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cm from its original position.
\begin_layout Standard
Boxes are used to format a block of text.
Boxes can be used to write documents with multiple languages, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
, to frame texts, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Framed-Boxes"
+reference "sec:Decoration"
\end_inset
, to prevent words to be hyphenated, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
, to align text, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
, or to set the background color of texts, see section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
-, will be inserted.
+ will be inserted.
The box type can be specified by right-clicking on the box.
The appearing box dialog offers the
\family sans
Inner
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Box
Minipage
\family default
is the default for new boxes and is explained in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Parbox
\family default
is described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
For an unknown reason you can only set the
\family sans
Inner
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Box
Boxes without an
\family sans
Inner
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Box
\family default
type and without frames are explained in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Subsection
+Size
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Boxes ! Alignment
+Boxes ! Size
\end_layout
\end_inset
\family default
.
The available units for the geometry are explained in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
\align center
Box height set to 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Depth
\begin_layout Description
Height This is the heigth of the text that is inside the box.
A value of e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
2 for this size will set the box heigth to 2 times the text height:
\begin_layout Plain Layout
\align center
Box height set to 2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Height
\begin_layout Description
Total
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Height This is the Height
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
+
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Depth:
\begin_layout Plain Layout
\align center
Box height set to 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Total
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Height
\begin_layout Plain Layout
\align center
Box height set to 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
Width
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_layout Subsection
+Alignment
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Alignment
+\end_layout
+
\end_inset
+
+\end_layout
+
+\begin_layout Standard
When you have chosen an
\family sans
Inner
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Box
This is an example text line.
\end_layout
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The vertical box aligment can be lost in the output when you have two boxes
+ in a line and one has e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+a shadow and the other one not.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
The horizontal box alignment can be set via LyX's paragraph dialog when
you set the box into its own paragraph.
When you have chosen an
\family sans
Inner
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Box
when you have chosen an
\family sans
Inner
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Box
If you haven't set an
\family sans
Inner
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Box
\end_layout
-\begin_layout Section
-Framed Boxes
+\begin_layout Subsection
+Decoration
\begin_inset CommandInset label
LatexCommand label
-name "sec:Framed-Boxes"
+name "sec:Decoration"
\end_inset
status collapsed
\begin_layout Plain Layout
-Boxes ! Frames
+Boxes ! Decoration
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The frame style 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
-Type
+Decoration
\family default
.
- The following frame types are possible:
+ The following types are possible:
\end_layout
\begin_layout Description
-Rectangular
-\begin_inset Space ~
+Simple
+\begin_inset space ~
\end_inset
-box This draws a rectangle frame around the box.
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame This draws a rectangle frame around the box.
The frame line thickness has the size of
\series bold
\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
Oval
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
box,
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
thin This draws an oval frame around the box.
The frame line thickness has the size 0.4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\begin_layout Description
Oval
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
box,
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
thick This draws an oval frame around the box.
The frame line thickness has the size 0.8
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\end_layout
\begin_layout Description
-Shadow
-\begin_inset Space ~
+Drop
+\begin_inset space ~
\end_inset
-box This draws a rectangle frame with a shadow around the box.
+shadow This draws a rectangle frame with a shadow around the box.
The frame line thickness has the size of
\series bold
fboxrule
\series default
, the shadow has a width of 4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\end_inset
+\end_layout
+
+\begin_layout Description
+Shaded
+\begin_inset space ~
+\end_inset
+
+background This draws a box with red background color.
+ In contrary to colored boxes
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+see sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+, it always uses the whole column width and the box is set as its own paragraph.
+
+\begin_inset Box Shaded
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+width "50col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+Shaded background box
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Description
Double
-\begin_inset Space ~
+\begin_inset space ~
+\end_inset
+
+rectangular
+\begin_inset space ~
\end_inset
-box This draws a double-line rectangle frame around the box.
+frame This draws a double-line rectangle frame around the box.
The line thickness of the inner frame is 0.75
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
fboxrule
\series default
, the thickness of the outer frame is 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
\series default
.
The distance between the lines is 1.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
fboxrule
\series default
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
+
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
0.5
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\begin_layout Plain Layout
\align center
-Double box
+Double rectangular box
\end_layout
\end_inset
\begin_inset VSpace bigskip
\end_inset
-LyX's box label will change to the used frame style when you set a frame.
- To be able to use the different frame styles, the LaTeX-package
+LyX's box label will reflect the different frame types.
+ To be able to use all types, the LaTeX-package
\series bold
fancybox
\series default
must be installed.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_layout Section
+Box customization
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Customization
+\end_layout
+
\end_inset
+
+\end_layout
+
+\begin_layout Standard
The default value for the size
\series bold
fboxrule
\series default
is 0.4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
It can be changed with the following command in TeX-Code to e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt:
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+status open
\begin_layout Plain Layout
\align center
fboxrule
\series default
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
+\end_inset
+
+=
+\begin_inset space \thinspace{}
+\end_inset
+
+2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+fboxrule}{0.4pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The space between the frame and the box content is for all frame styles
+ by default 3
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ You can change it by setting the length
+\series bold
+
+\backslash
+fboxsep
+\series default
+ to another value.
+ For example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+fboxsep}{10pt}
+\end_layout
+
+\begin_layout Standard
+sets the value to 10
+\begin_inset space \thinspace{}
+\end_inset
+
+pt, like for the following box:
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+fboxsep}{10pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+width "25col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+\align center
+Rectangular box with
+\series bold
+
+\backslash
+fboxsep
+\series default
+
+\begin_inset space \thinspace{}
+\end_inset
+
+=
+\begin_inset space \thinspace{}
+\end_inset
+
+10
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+fboxsep}{3pt}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The diameter of the round corners of the oval boxes can be set with the
+ command
+\series bold
+
+\backslash
+cornersize
+\series default
+.
+ The command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cornersize*{1cm}
+\end_layout
+
+\begin_layout Standard
+sets the diameter to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+cm.
+ The command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+cornersize{num}
+\end_layout
+
+\begin_layout Standard
+sets the diameter to
+\family sans
+num
+\begin_inset space \thinspace{}
+\end_inset
+
+×
+\begin_inset space \thinspace{}
+\end_inset
+
+minimum(width and heigth of box)
+\family default
+.
+ The default is
+\series bold
+
+\backslash
+cornersize{0.5}
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cornersize*{1.5cm}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+width "25col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+\align center
+Oval box with
+\series bold
+
+\backslash
+cornersize
+\series default
+
+\begin_inset space \thinspace{}
+\end_inset
+
+=
+\begin_inset space \thinspace{}
+\end_inset
+
+1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+cornersize{0.5}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The size of the shadow can be adjusted by changing the length
+\series bold
+
+\backslash
+shadowsize
+\series default
+.
+ It it set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt for the following box by this command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+shadowsize}{2pt}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+shadowsize}{2pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Shadowbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+width "25col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+\align center
+Shadow box with
+\series bold
+
+\backslash
+shadowsize
+\series default
+
+\begin_inset space \thinspace{}
\end_inset
=
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
2
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt
\backslash
setlength{
\backslash
-fboxrule}{0.4pt}
+shadowsize}{4pt}
\end_layout
\end_inset
\begin_inset VSpace bigskip
\end_inset
-The space between the frame and the box content is for all frame styles
- by default 3
-\begin_inset Space \thinspace{}
+
+\end_layout
+
+\begin_layout Standard
+The default value for the size
+\series bold
+
+\backslash
+FrameRule
+\series default
+ is 0.4
+\begin_inset space \thinspace{}
\end_inset
pt.
- You can change it by setting the length
+ The default space between the note content and the frame is 9
+\begin_inset space \thinspace{}
+\end_inset
+
+pt and can be changed with the value of
\series bold
\backslash
-fboxsep
+FrameSep
\series default
- to another value.
- For example the command
+.
+ For example the frame appearance of the following
+\family sans
+box
+\family default
+ is set with the TeX-Code commands
\end_layout
\begin_layout Standard
\backslash
setlength{
\backslash
-fboxsep}{10pt}
-\end_layout
-
-\begin_layout Standard
-sets the value to 10
-\begin_inset Space \thinspace{}
+FrameRule}{5pt}
+\begin_inset Newline newline
\end_inset
-pt, like for the following box:
+
+\backslash
+setlength{
+\backslash
+FrameSep}{0.5cm}
\end_layout
\begin_layout Standard
\backslash
setlength{
\backslash
-fboxsep}{10pt}
+FrameRule}{5pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+FrameSep}{0.5cm}
\end_layout
\end_inset
-\begin_inset Box Boxed
-position "c"
+\begin_inset Box Framed
+position "t"
hor_pos "c"
-has_inner_box 1
-inner_pos "c"
+has_inner_box 0
+inner_pos "t"
use_parbox 0
-width "25col%"
+width "100col%"
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+status open
\begin_layout Plain Layout
-\align center
-Rectangular box with
-\series bold
-
-\backslash
-fboxsep
-\series default
-
-\begin_inset Space \thinspace{}
-\end_inset
-
-=
-\begin_inset Space \thinspace{}
-\end_inset
-
-10
-\begin_inset Space \thinspace{}
-\end_inset
-
-pt
+This is text in an
+\family sans
+allow page break
+\family default
+ box.
\end_layout
\end_inset
\backslash
setlength{
\backslash
-fboxsep}{3pt}
+FrameRule}{0.4pt}
\end_layout
-\end_inset
+\begin_layout Plain Layout
+\backslash
+setlength{
+\backslash
+FrameSep}{9pt}
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
\end_inset
-The diameter of the round corners of the oval boxes can be set with the
- command
-\series bold
-\backslash
-cornersize
-\series default
-.
- The command
\end_layout
\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
-\series bold
-\backslash
-cornersize*{1cm}
\end_layout
\begin_layout Standard
-sets the diameter to 1
-\begin_inset Space \thinspace{}
+For
+\family sans
+shaded background
+\family default
+ boxes the default space between the box content and the box border is 3
+\begin_inset space \thinspace{}
\end_inset
-cm.
- The command
-\end_layout
-
-\begin_layout Standard
-
+pt and can be changed with the value of
\series bold
\backslash
-cornersize{num}
-\end_layout
+fboxsep
+\series default
+.
+ The default background color red can either be changed locally with the
+ command
+\series bold
-\begin_layout Standard
-sets the diameter to
+\backslash
+definecolor{shadebox}
+\series default
+ or globally with the menu
\family sans
-num
-\begin_inset Space \thinspace{}
-\end_inset
-
-×
-\begin_inset Space \thinspace{}
+Tools\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+Colors\SpecialChar \menuseparator
+shaded
+\begin_inset space ~
\end_inset
-minimum(width and heigth of box)
+box
\family default
.
- The default is
+ The scheme of the
\series bold
\backslash
-cornersize{0.5}
+definecolor
\series default
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+ command is explained in section
+\begin_inset space ~
+\end_inset
-\backslash
-cornersize*{1.5cm}
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
\end_inset
-
-\begin_inset Box Ovalbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
+.
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-\align center
-Oval box with
+Note that
\series bold
\backslash
-cornersize
+definecolor
\series default
-
-\begin_inset Space \thinspace{}
-\end_inset
-
-=
-\begin_inset Space \thinspace{}
+ requires the LaTeX-package
+\series bold
+color
+\series default
+ in the preamble, see section
+\begin_inset space ~
\end_inset
-1.5
-\begin_inset Space \thinspace{}
-\end_inset
-cm
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-cornersize{0.5}
+.
\end_layout
\end_inset
-
+ For example the appearance of the following shaded background note is set
+ with the TeX-Code commands
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-The size of the shadow can be adjusted by changing the length
\series bold
\backslash
-shadowsize
+setlength{
+\backslash
+fboxsep}{0.5cm}
\series default
-.
- It it set to 2
-\begin_inset Space \thinspace{}
-\end_inset
-pt for the following box by this command:
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
\series bold
\backslash
-setlength{
-\backslash
-shadowsize}{2pt}
+definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\begin_layout Standard
\backslash
setlength{
\backslash
-shadowsize}{2pt}
+fboxsep}{0.5cm}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\end_inset
-\begin_inset Box Shadowbox
-position "c"
+\begin_inset Box Shaded
+position "t"
hor_pos "c"
-has_inner_box 1
-inner_pos "c"
+has_inner_box 0
+inner_pos "t"
use_parbox 0
-width "25col%"
+width "100col%"
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+status open
\begin_layout Plain Layout
-\align center
-Shadow box with
-\series bold
-\backslash
-shadowsize
-\series default
-
-\begin_inset Space \thinspace{}
-\end_inset
-
-=
-\begin_inset Space \thinspace{}
-\end_inset
-
-2
-\begin_inset Space \thinspace{}
-\end_inset
-
-pt
+\color yellow
+This is yellow text in a
+\color none
+
+\family sans
+\color yellow
+shaded background
+\family default
+\color none
+
+\color yellow
+box with dark green background.
\end_layout
\end_inset
\backslash
setlength{
\backslash
-shadowsize}{4pt}
+fboxsep}{3pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{rgb}{1,0,0}
\end_layout
\end_inset
\begin_layout Standard
Below are two example minipages side by side.
Their width is set to 45
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
col% and they are separated by a horizontal fill, that was inserted via
\family sans
Insert\SpecialChar \menuseparator
Special
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Formatting\SpecialChar \menuseparator
Horizontal
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Fill
\family default
.
+\begin_inset Newpage newpage
+\end_inset
+
+
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset Space \hfill{}
+\begin_inset space \hfill{}
\end_inset
The document-wide paragraph settings are ignored within minipages.
That means that there will be no space between paragraphs in minipages
although you set it to e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
\begin_layout Standard
Minipages can also be used to set a background color for text parts, see
section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
in TeX-Code.
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-pagebreak
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\family sans
Insert\SpecialChar \menuseparator
Special
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Formatting\SpecialChar \menuseparator
Line
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Break
\family default
(shortcut
-\series bold
-Ctrl-Return
-\series default
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
) a line break before the word:
\end_layout
\series bold
\backslash
-@ifundef\SpecialChar \textcompwordmark{}
-ined
+@ifundefined
\series default
is used.
\end_layout
\end_inset
You can also define your own color as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
To have e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
a red background for a word, insert the command
fboxsep
\series default
, respectively, as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Framed-Boxes"
+reference "sec:Decoration"
\end_inset
\begin_layout Standard
Here is an example where the frame line thickness was set to 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm:
\begin_layout Standard
The boxes can be combined in any order.
E.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
the command
\end_layout
\begin_layout Chapter
-External Stuff
+External Document Parts
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-External Stuff
+External Document Parts
\end_layout
\end_inset
\begin_layout Description
LyX
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Document Another LyX document; its content is directly inserted to your
\begin_layout Description
Plain
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Text A text document; every of its text lines is inserted to your document
\begin_layout Description
Plain
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Text,
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Join
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Lines A text document; its text lines are inserted as they are.
\begin_layout Description
External
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Material Files in various formats.
\begin_layout Description
Child
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Document LyX or LaTeX-documents.
status collapsed
\begin_layout Plain Layout
-External Stuff ! External Material
+External Document Parts ! External Material
\end_layout
\end_inset
document output format because LyX takes care of needed conversions.
This is similar to images that can be inserted in various image formats
to LyX documents.
+ When you have enabled Instant Preview in LyX's preferences under
+\family sans
+Look
+\begin_inset space ~
+\end_inset
+
+and
+\begin_inset space ~
+\end_inset
+
+feel\SpecialChar \menuseparator
+Graphics
+\family default
+, the external material types Dia and Xfig is directly shown in LyX.
\end_layout
\begin_layout Standard
Insert\SpecialChar \menuseparator
File\SpecialChar \menuseparator
External
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Material
\begin_layout Description
ChessDiagram This template supports chess position diagrams made with the
program
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+\series bold
-\backslash
-href{http://en.wikipedia.org/wiki/XBoard}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "XBoard"
+target "http://en.wikipedia.org/wiki/XBoard"
\end_inset
-\series bold
-XBoard
\series default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
.
\end_layout
\end_inset
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+Remove the protected space when bug 4398 is fixed!
+\end_layout
+
+\end_inset
+
+
\begin_inset Newline newline
\end_inset
\series default
as TeX-Code.
The different methods are compared in Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_layout
\begin_layout Description
-LilyPond This template is used for music notation typeset with the program
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+Dia This template supports diagrams created with the program
+\series bold
-\backslash
-linebreak
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "Dia"
+target "http://en.wikipedia.org/wiki/Dia_(software)"
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{http://en.wikipedia.org/wiki/LilyPond}{
+\series default
+.
\end_layout
+\begin_layout Description
+LilyPond This template is used for music notation typeset with the program
+\begin_inset Newline linebreak
\end_inset
\series bold
-LilyPond
-\series default
-
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
-
-}
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "LilyPond"
+target "http://en.wikipedia.org/wiki/LilyPond"
\end_inset
-.
-\begin_inset Note Note
-status collapsed
-\begin_layout Plain Layout
-The command
-\series bold
-
-\backslash
-linebreak
\series default
- breaks the line while the remaining text in the line is stretched to the
- page margin.
+.
\end_layout
-\end_inset
-
-
+\begin_layout Description
+PDFPages With this template you can insert PDF documents to your document.
+ To insert certain or all pages of a PDF, use the
+\emph on
+pages
+\emph default
+ option in the
+\family sans
+Option
+\family default
+ field in the
+\family sans
+LaTeX and LyX options
+\family default
+ tab according to the template description in the dialog.
+ When no
+\emph on
+pages
+\emph default
+ option is given, only the first page of the PDF will be inserted.
\end_layout
\begin_layout Description
Graphics
\family default
dialog as described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Description
XFig This template supports images created with the program
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
+\series bold
-\backslash
-href{http://en.wikipedia.org/wiki/Xfig}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "Xfig"
+target "http://en.wikipedia.org/wiki/Xfig"
\end_inset
-\series bold
-Xfig
\series default
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
.
\end_layout
\end_inset
- or as image, depending on the setting in the
+ or as image, depending on the option
\family sans
-LyX
-\begin_inset Space ~
-\end_inset
-
-View
+Show in LyX
\family default
- tab of the
+ in the
\family sans
-External Material
+LaTeX and LyX options
\family default
- dialog.
+ tab of the dialog.
\end_layout
\begin_layout Standard
status collapsed
\begin_layout Plain Layout
-External Stuff ! Child Documents
+External Document Parts ! Child Documents
\end_layout
\end_inset
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 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,
+ specify in the child document the master in the menu
+\family sans
+ Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Document
+\begin_inset space ~
+\end_inset
+
+Class
+\family default
+.
+ This master document will then be used in the background by LyX when you
+ edit the child document.
\end_layout
\begin_layout Standard
Insert\SpecialChar \menuseparator
File\SpecialChar \menuseparator
Child
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Documents
The included example document has for example a subsection that is numbered
as subsection of this section.
Labels of included documents can be referenced: Subsection
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
The preamble of the child document is ignored, only the preamble of the
master document is used.
- Included documents are inserted starting on a new page and end with a pagebreak.
+ 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 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
+In case you are only working on a certain chapter of a large document and
+ want to save compiling time, you can put each included file into a branch.
+\begin_inset Foot
+status collapsed
-\backslash
-includeonly
-\series default
- is inserted to the master document preamble.
- It takes a comma-separated list of the filenames as argument, e.g.
+\begin_layout Plain Layout
+Branches are described in section
+\emph on
+Branches
+\emph default
+ of the LyX
+\emph on
+Userguide
+\emph default
+.
\end_layout
-\begin_layout Standard
-
-\series bold
+\end_inset
-\backslash
-includeonly{chapter1,chapter5}
+ By enabling/disabling branches you can decide what included files will
+ appear in the output.
\end_layout
\begin_layout Standard
-will only process the included files named
-\begin_inset Quotes eld
-\end_inset
+\begin_inset Note Greyedout
+status open
-chapter1.lyx
-\begin_inset Quotes erd
-\end_inset
+\begin_layout Plain Layout
- (or
-\begin_inset Quotes eld
-\end_inset
+\series bold
+Note:
+\series default
+ Due to a bug in LyX the LaTeX command
+\series bold
-chapter1.tex
-\begin_inset Quotes erd
-\end_inset
+\backslash
+includeonly
+\series default
+ can currently not be used as alternative to decide what files should be
+ included.
+\end_layout
-) and
-\begin_inset Quotes eld
\end_inset
-chapter5.lyx
-\begin_inset Quotes erd
-\end_inset
- .
\end_layout
\begin_layout Standard
\begin_deeper
\begin_layout Itemize
-Input files don't start with a new page and don't end with a pagebreak.
+Input files don't start with a new page and don't end with a page break.
\end_layout
\begin_layout Itemize
Input files can be previewed in LyX when
\family sans
Instant
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Preview
is enabled in LyX's preferences under
\family sans
Look
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
and
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
feel\SpecialChar \menuseparator
Insert\SpecialChar \menuseparator
File\SpecialChar \menuseparator
Plain
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
Text
\begin_layout Description
Listings This type is described in chapter
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_layout
\begin_layout Standard
-When right-clicking on a listings inset a dialog pops up where you can set
- the listings format.
+Right-clicking on a listings inset opens the context menu containing where
+ you can set the listings format.
\end_layout
\begin_layout Standard
The placement option
\family sans
Inline
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
listing
status open
\begin_layout Plain Layout
+
int a=5;
\end_layout
\end_inset
corresponding to the float placement options described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
.
The placement options can be mixed and are inserted without any separation,
e.
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset Space ~
+\begin_inset space \space{}
\end_inset
\family default
.
Listings can be referenced like floats: Listing
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
status open
\begin_layout Plain Layout
+
\begin_inset Caption
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\series bold
Note:
\series default
- If you don't get bold keywords when using typewriter fonts, your typewriter
+ If you don't get bold keywords when using typewriter fonts, your
+\family typewriter
+typewriter
+\family default
font probably doesn't provide a bold shape.
In this case select a different one in the menu
\family sans
In section
\family sans
Line
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
numbering
Step
\family default
.
- When you insert e.g.
-
+ When you insert e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
\begin_inset Quotes eld
\end_inset
in the output.
The option
\family sans
-Extended
-\begin_inset Space ~
-\end_inset
-
-chars
+Extended character table
\family default
should be used when you use national characters like the German umlauts
in the listing.
\begin_inset Quotes eld
\end_inset
-Extended
-\begin_inset Space ~
-\end_inset
-
-chars
+Extended character table
\begin_inset Quotes erd
\end_inset
\end_inset
Space
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
as
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
-Symbol
+symbol
\begin_inset Quotes erd
\end_inset
, range lines 3
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
8:
status open
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'This is a German word: Tschüß'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\end_layout
+\begin_layout Standard
+When you have tabulators in your listing, you can specify the number of
+ characters that are spanned by a tabulator in the field
+\family sans
+Tabulator
+\begin_inset space ~
+\end_inset
+
+size
+\family default
+.
+\end_layout
+
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_layout Plain Layout
The other child document types are described in section
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
Listing
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
is an example for a listing of a file; there the lines 10
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
-
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
15 of this LyX file are listed.
\begin_inset CommandInset include
LatexCommand lstinputlisting
filename "EmbeddedObjects.lyx"
-lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
+lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
\end_inset
in the
\family sans
Listings
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
settings
\begin_layout Standard
To understand the units described in this documentation, Table
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Plain Layout
point (72.27
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt = 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in)
\begin_layout Plain Layout
pica (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pc = 12
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt)
\begin_layout Plain Layout
scaled point (65536
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
sp = 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt)
\begin_layout Plain Layout
big point (72
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
bp = 1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
in)
\begin_layout Plain Layout
didot (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
dd
\end_inset
0.376
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mm)
\begin_layout Plain Layout
cicero (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
cc = 12
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
dd)
\begin_layout Plain Layout
math unit (1
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
mu = 1/18
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
em)
\begin_layout Section
PDF
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:PDF"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\begin_layout Description
PDF
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
(ps2pdf) This uses the program
\begin_layout Description
PDF
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
(dvipdfm) This uses the program
\begin_layout Description
PDF
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
(pdflatex) This uses the program
It is recommended to use
\family sans
PDF
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
(pdflatex)
that uses
\family sans
PDF
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
(pdflatex)
\begin_layout Chapter
Explanation of Equation
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\series default
is the LaTeX-length between the cell text and the cell border, its default
value is 6
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
arrayrulewidth
\series default
is the thickness of the cell border line, the default is 0.4
-\begin_inset Space \thinspace{}
+\begin_inset space \thinspace{}
\end_inset
pt.
\begin_layout Standard
Following equation
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\begin_layout Standard
By setting equation
-\begin_inset Space ~
+\begin_inset space ~
\end_inset
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
-{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "booktabs"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-\end_inset
-
- of the LaTeX-package
-\series bold
-booktabs
\series default
\begin_inset Index
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "caption"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-\end_inset
-
- of the LaTeX-package
-\series bold
-caption
\series default
\begin_inset Index
\end_layout
-\begin_layout Bibliography
-\begin_inset CommandInset bibitem
-LatexCommand bibitem
-key "caption-de"
-
-\end_inset
-
-German
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
-{
-\end_layout
-
-\end_inset
-
-documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- of the LaTeX-package
-\series bold
-caption
-\end_layout
-
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
-{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "endfloat"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- of the LaTeX-package
-\series bold
-endfloat
\series default
\begin_inset Index
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "wrapfig"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
- of the LaTeX-package
-\series bold
-wrapfig
\series default
\begin_inset Index
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-vspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-4mm
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+vspace{4mm}
\end_layout
\end_inset
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
-{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "footmisc"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
- of the LaTeX-package
-\series bold
-footmisc
\series default
\begin_inset Index
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "hypcap"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
- of the LaTeX-package
-\series bold
-hypcap
\series default
\begin_inset Index
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
-{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "hyperref"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
- of the LaTeX-package
-\series bold
-hyperref
\series default
\begin_inset Index
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "koma-script"
+key "KOMA-script"
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
-df}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "KOMA-script"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
- of the LaTeX-package
-\series bold
-koma-script
\series default
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-script
\end_layout
\end_inset
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
-{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "listings"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-}
-\end_layout
-
-\end_inset
-
- of the LaTeX-package
-\series bold
-listings
\series default
\begin_inset Index
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
-pdf}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "marginnote"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
- of the LaTeX-package
-\series bold
-marginnote
\series default
\begin_inset Index
\end_inset
+Web page of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{http://tug.org/PSTricks/main.cgi/}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "PSTricks"
+target "http://tug.org/PSTricks/"
\end_inset
-Web page
-\begin_inset ERT
-status collapsed
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
- of the LaTeX-package
-\series bold
-PSTricks
\series default
\begin_inset Index
\end_inset
+Documentation of the LaTeX-package
+\series bold
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "sidecap"
+target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
\end_inset
-Documentation
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
- of the LaTeX-package
-\series bold
-sidecap
\series default
\begin_inset Index
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "NewInLyX15"
+key "NewInLyX16"
\end_inset
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-href{http://wiki.lyx.org/LyX/NewInLyX15}{
-\end_layout
-
-\end_inset
-
-Wiki page
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "Wiki page"
+target "http://wiki.lyx.org/LyX/NewInLyX16"
\end_inset
about new features in
\family sans
-LyX 1.5.0
+LyX 1.6.0
\family default
.
\end_layout