-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 338
+#LyX 1.6.6svn created this file. For more info see http://www.lyx.org/
+\lyxformat 345
\begin_document
\begin_header
\textclass scrbook
\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
\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"
+\pdf_quoted_options " linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
\papersize default
\use_geometry false
\use_amsmath 2
\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
\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
+ and choosing the entry
\family sans
Edit
+\begin_inset space ~
+\end_inset
+
+externally
\family default
- button.
+ in the context menu.
The program can be set for every image format in the file format settings
in LyX's preferences.
\end_layout
\begin_layout Description
\family sans
-Extra
+LaTeX
\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
+and
\begin_inset space ~
\end_inset
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Figure-Floats"
-
-\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 ~
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \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
\end_inset
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
\end_layout
\begin_layout Section
\end_inset
.
- More about the caption placement is described in section
+ More about caption placement is described in section
\begin_inset space ~
\end_inset
\begin_inset Quotes erd
\end_inset
-, because as LaTeX will reposition the floats in the final document, it
+, because LaTeX will reposition the floats in the final document and it
might not be
\begin_inset Quotes eld
\end_inset
\begin_inset Float figure
wide false
sideways false
-status open
+status collapsed
\begin_layout Plain Layout
\begin_inset Caption
filename clipart/escher-lsd.eps
width 45col%
scaleBeforeRotation
+ groupId distorted
\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 Graphics
filename clipart/platypus.eps
- lyxscale 60
width 45col%
scaleBeforeRotation
+ groupId distorted
\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
\end_inset
-, every output document format allows only a few image formats.
+, each output document format allows only a few image formats.
LyX uses therefore the program
\family typewriter
-Imagemagick
+ImageMagick
\family default
in the background to convert the images to the right format.
To increase your work flow by avoiding these conversions in the background,
\end_inset
images consist of pixel values, often in a compressed form.
- They are therefore not fully scalable and look pixeled in large zooms.
+ They are therefore not fully scalable and look pixelated in large zooms.
Well-known bitmap image formats are
\begin_inset Quotes eld
\end_inset
, because you can convert any bitmap image to a PDF or EPS-image and the
result will still be a bitmap image.
- In this cases only a header with the image properties is added to the original
+ In such cases only a header with the image properties is added to the original
image
\begin_inset Foot
-status 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
Table
\family default
.
- The toolbar button offers you a graphical selection: Move the mouse to
+ The toolbar button offers you a graphical selection: move the mouse to
set the column/row number of the table that should be created and then
press a mouse button.
When you use the menu to create a table, a dialog will appear, asking you
\end_inset
.
- If you set no width, the column is as wide as their widest cell content
- is.
+ If you set no width, the column is as wide as the content of the widest
+ cell.
\begin_inset Newline newline
\end_inset
\begin_inset Newline newline
\end_inset
-The rotate check boxes rotates the current cell, a selection, or the whole
+The rotate check boxes rotate the current cell, a selection, or the whole
table counter-clockwise by 90°.
The rotation is not shown within LyX, only in the output.
\begin_inset Newline newline
\begin_inset Newline newline
\end_inset
-You can also add here space to table rows as decribed in section
+You can also add here space to table rows as described in section
\begin_inset space ~
\end_inset
\end_inset
that can run over several pages.
- Section
+ Sections
\begin_inset space ~
\end_inset
\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
\end_inset
adds lines around the current or selected cells - if the current cell no
- multicolumn this also affects the current row and column
+ multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\end_inset
deletes all lines of the current or selected cells - if the current cell
- no multicolumn this also affects the current row and column
+ no multicolumn cell this also affects the current row and column
\end_layout
\begin_layout Labeling
\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
\end_inset
(# is the actual table number).
- You can insert tables to the float above or below the caption.
+ You can insert tables in the float above or below the caption.
\end_layout
\begin_layout Standard
\begin_layout Standard
Having the caption above the table is the common rule that is unfortunately
not supported in LaTeX's standard classes.
- That means if you are using the document classes
+ This means that, if you are using the document classes
\family sans
article
\family default
\family sans
report
\family default
- there will be no space between the caption and the table.
+, there will be no space between the caption and the table.
To insert the needed space, add the following option to the load command
of the LaTeX-package
\series bold
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 ~
header
\family default
is defined.
- This therefore called the main header.
+ This is therefore called the main header.
\end_layout
\begin_layout Description
-
-\family sans
First
\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 ~
\end_layout
\begin_layout Description
-
-\family sans
Last
\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 appears 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
+See the first greyed-out note in section
\begin_inset space ~
\end_inset
\begin_layout Standard
Longtables are by default centered.
- In contrary to the alignment of the table columns and row, the table alignment
+ Unlike the alignment of the table columns and rows, the table alignment
can currently not be changed in the table dialog.
To change the alignment of longtables you have to change the value of the
lengths
\end_layout
\begin_layout Standard
-Where the value can have any of the units listed in Table
+where the value can have any of the units listed in Table
\begin_inset space ~
\end_inset
\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
+ on one page.
+ But the caption environment of floats can also be used for longtables when
+ you use the longtable option
\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
-\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
+ The table number is increased for for every longtable, even if you did
+ not set a caption for it.
+ For this reason you could have the case that e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+Table
\begin_inset space ~
\end_inset
-2.4 follows on Table
+2.4 follows Table
\begin_inset space ~
\end_inset
2.1 in the list of tables if there are two longtables without captions.
- To avoid this you can add the following command in TeX-Code behind every
+ To avoid this you can add the following command in TeX-Code after every
longtable without a caption:
\end_layout
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
\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
\begin_inset space \thinspace{}
\end_inset
-in, e.g.
- 3.99
+in, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+3.99
\begin_inset space \thinspace{}
\end_inset
\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 a header.
Table
\begin_inset space ~
\end_inset
\end_inset
- is an example for a longtable with different heading where the second caption
+ is an example of a longtable with different heading where the second caption
doesn't include the table number.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="59" columns="3">
-<features islongtable="true">
+<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_layout Standard
LaTeX calculates the height of table pages and their page breaks using so
called chunks.
- Chunks are pieces of the tables that are at once in LaTeX's memory.
- The default value is historically set to only 20 table rows.
+ Chunks are parts of tables that held at the same time in LaTeX's memory.
+ The default value was historically set to only 20 table rows.
If you are using longtables with many pages this may slow down the creation
of your document.
You can safely increase the chunk size to values of 100-1000 by adding
\begin_layout Standard
There might be problems when a float appears on the same page where a longtable
starts.
- To avoid such situation, add the command
-\series bold
+ To avoid such a situation, insert a
+\begin_inset Quotes eld
+\end_inset
-\backslash
-clearpage
-\series default
- as TeX-Code before your longtable.
+clear page
+\begin_inset Quotes erd
+\end_inset
+
+ (menu
+\family sans
+Insert\SpecialChar \menuseparator
+Formatting\SpecialChar \menuseparator
+Clear
+\begin_inset space ~
+\end_inset
+
+Page
+\family default
+) before your longtable.
\end_layout
\begin_layout Subsection
\begin_inset Quotes erd
\end_inset
- as TeX-Code at this point of the cell where it should be broken.
+ as TeX-Code at the point of the cell where it can be broken.
Before the
\series bold
\backslash
\series default
- command you have to insert in TeX-Code so many
+ command you have to insert in TeX-Code as many
\begin_inset Quotes eld
\end_inset
\begin_inset Quotes erd
\end_inset
- characters like the number of the following table columns.
+ characters as the number of the following table columns.
The
\series bold
&
\begin_inset Newline newline
\end_inset
-Behind the the
+After the the
\series bold
\backslash
\backslash
\series default
- command, insert so many
+ command, insert as many
\series bold
&
\series default
- characters like the number of table columns before the current column.
+ characters as the number of table columns before the current column.
In Table
\begin_inset space ~
\end_inset
the cell that should be broken is in the second column followed by another
column.
- Therefore the following command was inserted in the cell as TeX-Code behind
+ Therefore the following command was inserted in the cell as TeX-Code after
\begin_inset Quotes eld
\end_inset
\backslash
\backslash
-
+
+\backslash
+newpage
\begin_inset Newline newline
\end_inset
\begin_inset Quotes erd
\end_inset
- in the third columns of the row was deleted.
+ in the third column of the row was deleted.
+
+\series bold
+
+\backslash
+newpage
+\series default
+ is only needed when a page break should definitely occur at this position,
+ otherwise it would be a conditional break.
If your footer row of the longtable has for a certain reason no upper line
but you would have a horizontal line where the cell is broken, use this
command instead:
\begin_layout Standard
must be inserted as TeX-Code at the beginning of the cell.
- This assures that the part of the cell that will be displayed on the new
+ This ensures that the part of the cell that will be displayed on the new
page appears with the full width.
\end_layout
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="38" columns="3">
-<features islongtable="true">
+<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
\end_layout
\begin_layout Standard
-Adjusting a fixed width for a column, enables to enter text as a paragraph
- with multiple lines and hyphenations.
+Setting a fixed width for a column enables you to enter text as a paragraph
+ with multiple lines and hyphenation.
\end_layout
\begin_layout Standard
cm and choose centered for the vertical and horizontal alignment.
The vertical alignment is used for all cells of the row.
- As our text is smaller than than 2.5
+ As our text is smaller than 2.5
\begin_inset space \thinspace{}
\end_inset
cm, only one line will appear.
To get two lines, a justified line break (shortcut
-\family sans
-Ctrl-Shift-Return
-\family default
+\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.
\begin_layout Standard
If you have a long word in a cell with a fixed width, it cannot be hyphenated
by LaTeX if it is the first entry.
- Therefore you need to insert something, to make the word not being the
+ Therefore you need to insert something to prevent the word not being the
first entry.
So add a horizontal space of 0
\begin_inset space \thinspace{}
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
\end_layout
\begin_layout Subsection
\end_layout
\begin_layout Standard
-To span a cell over multiple columns, mark as much cells within a line that
- should be one spanned cell and use either the table-toolbar button
+To merge cells over multiple columns, select as many cells within a row
+ as you want to merge and use either the table-toolbar button
\begin_inset Graphics
filename ../images/tabular-feature_multicolumn.png
scale 85
Table\SpecialChar \menuseparator
Multicolumn
\family default
-, or right click on the marked cells and choose multicolumn in the appearing
- table dialog under the tab
+, or right click on the marked cells and choose
\family sans
-Table Settings
+Multicolumn
\family default
-.
+ in the appearing context menu.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-LyX supports multicolumns directly, but we have to take notice of the cell
+LyX supports multicolumns directly, but we have to take account of the cell
width of the columns spanned by the multicolumn cell.
\end_layout
\end_inset
cm in the table dialog.
- The spanned columns should have exactly half the width of the multicolumn
- cell, so that you would adjust a width of 1.25
+ The merged columns should have exactly half the width of the multicolumn
+ cell, so that you would set a width of 1.25
\begin_inset space \thinspace{}
\end_inset
\end_layout
\begin_layout Standard
-You can see that the first column has not the half width of the multicolumn
+You can see that the first column has not half the width of the multicolumn
cell, it is a bit bigger.
The reason is that the given width of a cell
\begin_inset Formula $W_{g}$
\end_inset
- explains it in detail.
+ explains this in detail.
\end_layout
\begin_layout Standard
-The needed given width
+The given width
\begin_inset Formula $W_{g\, n}$
\end_inset
- when
+ needed when
\emph on
n
\emph default
\end_layout
\begin_layout Standard
-LyX does not allow to calculate lengths in the width-field of the table
- dialog.
+LyX does not allow you to calculate lengths in the
+\family sans
+Width
+\family default
+ field of the table dialog.
Therefore you have to format the column by inserting a LaTeX-argument in
the dialog.
Here is an overview about the arguments:
Although we have chosen centered alignment for the text of the multicolumn
cell, it is still left aligned.
This is because LyX only applies the alignment to single columns.
- So we have to use for the multicolumn the LaTeX-argument
+ So for the multicolumn cell we have to use the LaTeX-argument
\end_layout
\begin_layout Standard
\end_inset
+\end_layout
+
+\begin_layout Standard
+Unlike multicolumns multirows are not yet supported by LyX; so a bit of
+ TeX-Code needs to be used.
+ To use multirows load the LaTeX-package
+\series bold
+multirow
+\series default
+
\begin_inset Index
status collapsed
\end_inset
-
-\end_layout
-
-\begin_layout Standard
-In contrary to multicolumns multirows are not yet supported by LyX so a
- bit of TeX-Code needs to be used.
- To use multirows load the LaTeX-package
-\series bold
-multirow
-\series default
in your document preamble with the command
\end_layout
</cell>
</row>
<row>
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\begin_layout Standard
create a 3×3 table.
- To get rid of the line above the last cell in the first column, the cell
- is marked as multicolumn and the upper border is unset.
+ Unset the upper border of the last cell in the first column.
The multirow is now created in the second row of the first column by inserting
there the command
\end_layout
\series bold
}
\series default
- in another TeX-Code-box behind the text.
+ in another TeX-Code-box after the text.
\end_layout
\begin_layout Standard
in TeX-Code in the document preamble.
Then all entries of multirow cells in the document are centered.
If centering is only needed for several tables, you can renew the command
- in an TeX-Code box just before the table instead of the preamble.
+ in a TeX-Code box just before the table instead of the preamble.
If the text should be right-aligned, replace
\series bold
\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
\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
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
define the color "
\series bold
\backslash
-rowcolow{cyan}
+rowcolor{cyan}
\end_layout
\begin_layout Standard
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
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
with the decimal separator as in Table
\begin_layout Standard
\begin_inset Float table
+placement h
wide false
sideways false
status open
\end_inset
that provides table cell alignments.
- But this unfortunately treats the cell entries as math and doesn't allow
+ But this unfortunately treats the cell entries as math and does not allow
formulas in table cells: The first column of Table
\begin_inset space ~
\end_inset
.
\end_layout
+\begin_layout Standard
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
\begin_layout Standard
\begin_inset Float table
placement h
<features>
<column alignment="center" valignment="top" width="0" special="D{x}{\times}{-1}">
<column alignment="center" valignment="top" width="0" special="D{x}{\times}{4.9}">
-<column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
+<column alignment="center" valignment="top" width="0" special="D{+}{\,}{9.7}">
<row>
<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
\begin_inset Text
\end_inset
-24~
+24+
\begin_inset Formula $\mbox{bottles}$
\end_inset
\end_inset
-768~
+768+
\begin_inset Formula $\mbox{Pixels}$
\end_inset
\end_inset
-6~
+6+
\begin_inset Formula $\mbox{cm}$
\end_inset
\end_inset
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Floats"
-
-\end_inset
-
-
\end_layout
\begin_layout Section
\end_inset
- -- a gray button with a red label.
+ – a gray button with a red label.
\end_layout
\begin_layout Standard
\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
\end_layout
\begin_layout Standard
-To insert the list of algorithms you can not use the menu
+To insert the list of algorithms you can use the menu
\family sans
Insert\SpecialChar \menuseparator
List
TOC\SpecialChar \menuseparator
List of Algorithms
\family default
- when your document is a non-English one.
- In this case 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
\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
\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
+Table
\begin_inset space ~
\end_inset
\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 ~
\end_inset
\begin_inset space \thinspace{}
\end_inset
-col%.
+col%, 1
+\begin_inset space \thinspace{}
+\end_inset
+
+cm overhang, set to the left.
\begin_inset Foot
status collapsed
\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
\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
status collapsed
\begin_layout Plain Layout
-References
+References ! to Floats
\end_layout
\end_inset
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
for figure floats the prefix will be "
\end_inset
reference: prints a self defined cross-reference format.
-
+\begin_inset Newline newline
+\end_inset
+
+
\begin_inset Note Greyedout
status open
\series bold
prettyref
\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\end_inset
+
installed.
\end_layout
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
see the text
e box.
\end_layout
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The LaTeX-package
+\series bold
+prettyref
+\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\end_inset
+
+ does not know all of LyX's possible label shortcuts
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\begin_inset Quotes eld
+\end_inset
+
+fig:
+\begin_inset Quotes erd
+\end_inset
+
+ is for example LyX's shortcut for labels in figure captions.
+\end_layout
+
+\end_inset
+
+ and is not internationalized.
+ How to tell
+\series bold
+prettyref
+\series default
+ new shortcuts and translations, have a look at its documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "prettyref"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Due to a bug in the LaTeX-package
+\series bold
+varioref
+\series default
+ version 1.4w, some cross-reference formats will cause LaTeX errors for document
+ languages that make the period character active (like French).
+ For a workaround, see
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset CommandInset href
+LatexCommand href
+target "http://wiki.lyx.org/LaTeX/LatexBugs#toc5"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
\begin_layout Subsection
Automatic Reference Naming
\begin_inset Index
\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 Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! hyperref
+\end_layout
+
+\end_inset
+
+, that is enabled in the
+\family sans
+PDF Properties
+\family default
+ of the
+\family sans
+Document Settings
+\family default
+ dialog, provides a very useful feature that cross-references automatically
+ include the name of the referenced floats (or text parts like
+\emph on
+section
+\emph default
+).
+ So you will save to write e.
\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
the name
\begin_inset Quotes erd
\end_inset
- before every reference box.
- To get this automatic reference naming, you have to load the LaTeX-package
-
+ 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_inset Index
-status collapsed
+\begin_layout Standard
-\begin_layout Plain Layout
-LaTeX-packages ! hyperref
+\series bold
+
+\backslash
+AtBeginDocument{
+\backslash
+renewcommand{
+\backslash
+ref}[1]{
+\backslash
+mbox{
+\backslash
+autoref{#1}}}}
\end_layout
+\begin_layout Standard
+When you prefer other reference names than the default ones, for example
+ you want instead of
+\begin_inset Quotes eld
+\end_inset
+
+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
- in the document preamble with
+, you can redefine the name by inserting this to the preamble:
\end_layout
\begin_layout Standard
\series bold
\backslash
-usepackage[pdfborder={0 0 0}]{hyperref}
-\begin_inset Newline newline
-\end_inset
-
-
+addto
\backslash
-AtBeginDocument{
+extrasenglish{
\backslash
renewcommand{
\backslash
-ref}[1]{
+sectionautorefname}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
\backslash
-mbox{
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{sec.
\backslash
-autoref{#1}}}}
+negthinspace}}
\end_layout
\begin_layout Standard
+When you are using another document language than English, replace
+\begin_inset Newline newline
+\end_inset
+
\series bold
-hyperref
+
+\backslash
+extrasenglish
\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.
-
+ by
\series bold
-hyperref
+
+\backslash
+extras***
\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
+, where *** is the name of the used language.
+\end_layout
+
+\begin_layout Standard
+To get automatic names, but not for certain reference types, for example
+ not for equations, use this preamble code:
+\end_layout
+
+\begin_layout Standard
+
\series bold
-hyperref
-\series default
-.
- To learn more about the
+
+\backslash
+newlength{
+\backslash
+abc}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+settowidth{
+\backslash
+abc}{
+\backslash
+space}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+addto
+\backslash
+extrasenglish{
+\backslash
+renewcommand{
+\backslash
+equationautorefname}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{
+\backslash
+hspace{-
+\backslash
+abc}}
+\end_layout
+
+\begin_layout Standard
+More about this topic can be found in
\series bold
hyperref
\series default
- package, we refer to its documentation
+'s documentation
\begin_inset CommandInset citation
LatexCommand cite
key "hyperref"
reference
\family default
- style, described in section
+ 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
\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
\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
\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"
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \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
\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{}
\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 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_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 Section
Listings of Floats
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:Listings-of-Floats"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\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
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 false
- 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 false
- 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
\bar default
.
To change a note to text, press the backspace key when the cursor is in
- the first position of a note, or press the deletey key when the cursor
- is in the very last position of the note, respectively.
+ the first position of a note, or press the delete key when the cursor is
+ in the very last position of the note, respectively.
\end_layout
\begin_layout Standard
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
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
add 1.5
\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
\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_inset CommandInset ref
LatexCommand ref
-reference "sec:Framed-Boxes"
+reference "sec:Decoration"
\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
\end_layout
\begin_layout Standard
-Boxes aren't numbered and can therefore not be referenced like floats or
+Boxes are not numbered and can therefore not be referenced like floats or
footnotes.
\end_layout
.
The field
\family sans
-Heigth
+Height
\family default
offers the following additional sizes:
\end_layout
\end_layout
\begin_layout Description
-Height This is the heigth of the text that is inside the box.
+Height This is the height of the text that is inside the box.
A value of e.
\begin_inset space \thinspace{}
\end_inset
g.
+\begin_inset space \space{}
+\end_inset
+
+2 for this size will set the box height to 2
\begin_inset space ~
\end_inset
-2 for this size will set the box heigth to 2 times the text height:
+times the text height:
\begin_inset Box Boxed
position "c"
hor_pos "c"
\end_layout
\begin_layout Description
-Width This sets the width of the box as heigth:
+Width This sets the width of the box as height:
\begin_inset Box Boxed
position "c"
hor_pos "c"
\series bold
Note:
\series default
- The vertical box aligment can be lost in the output when you have two boxes
- in a line and one has e.
+ The vertical box alignment can be lost in the output when you have two
+ boxes in a line and one has e.
\begin_inset space \thinspace{}
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
a shadow and the other one not.
Box
\family default
-, the box content can be vertical aligned to:
+, the box content can be aligned vertically to:
\end_layout
\begin_layout Description
\end_layout
\begin_layout Standard
-If you haven't set an
+If you have not set an
\family sans
Inner
\begin_inset space ~
\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
+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 rectangular 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
+ have no effect on this box type.
+ The frame line thickness has the size of
+\series bold
+
+\backslash
+FrameRule
+\series default
+.
+
+\begin_inset Box Framed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+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
\end_layout
\begin_layout Description
-Shadow
+Drop
\begin_inset space ~
\end_inset
-box This draws a rectangle frame with a shadow around the box.
+shadow This draws a rectangular frame with a shadow around the box.
The frame line thickness has the size of
\series bold
\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
\begin_inset space ~
\end_inset
-box This draws a double-line rectangle frame around the box.
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame This draws a double-line rectangular frame around the box.
The line thickness of the inner frame is 0.75
\begin_inset space \thinspace{}
\end_inset
\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
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
2
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+status open
\begin_layout Plain Layout
\align center
\backslash
setlength{
\backslash
-fboxrule}{0.4pt}
+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{}
+\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
+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
+
+\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
+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{shadecolor}
+\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 box 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
Fill
\family default
.
+\begin_inset Newpage newpage
+\end_inset
+
+
\end_layout
\begin_layout Standard
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \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
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
a red background for a word, insert the command
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Framed-Boxes"
+reference "sec:Decoration"
\end_inset
\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
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
\begin_layout Description
ChessDiagram This template supports chess position diagrams made with the
- programas
+ program
\series bold
\begin_inset CommandInset href
.
\end_layout
+\begin_layout Description
+Dia This template supports diagrams created with the program
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "Dia"
+target "http://en.wikipedia.org/wiki/Dia_(software)"
+
+\end_inset
+
+
+\series default
+.
+\end_layout
+
\begin_layout Description
LilyPond This template is used for music notation typeset with the program
\begin_inset Newline linebreak
.
\end_layout
+\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
RasterImage This can be used for bitmap images.
Nearly all popular image formats are supported.
\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
\begin_layout Standard
The preamble of the child document is ignored, only the preamble of the
master document is used.
+ Branches in child documents will be ignored by the master document when
+ the master document does not have a branch with the same name.
Included documents are inserted starting on a new page and 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
\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
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
\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
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
\begin_inset space ~
\end_inset
-Symbol
+symbol
\begin_inset Quotes erd
\end_inset
\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_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
\begin_layout Section
PDF
-\begin_inset CommandInset label
-LatexCommand label
-name "sec:PDF"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
\begin_layout Bibliography
\begin_inset CommandInset bibitem
LatexCommand bibitem
-key "koma-script"
+key "KOMA-Script"
\end_inset
\begin_inset CommandInset href
LatexCommand href
-name "koma-script"
+name "KOMA-Script"
target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.pdf"
\end_inset
status collapsed
\begin_layout Plain Layout
-LaTeX-packages ! koma-script
+LaTeX-packages ! KOMA-Script
\end_layout
\end_inset
\end_inset
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "prettyref"
+
+\end_inset
+
+Documentation of the LaTeX-package
+\series bold
+
+\begin_inset CommandInset href
+LatexCommand href
+name "prettyref"
+target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
+
+\end_inset
+
+
+\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! prettyref
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Bibliography