-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 337
+#LyX 1.6.2svn created this file. For more info see http://www.lyx.org/
+\lyxformat 345
\begin_document
\begin_header
\textclass scrbook
% not to its caption
\usepackage[figure]{hypcap}
-% the pages of the TOC are numbered roman
+% the pages of the TOC is numbered roman
% and a PDF-bookmark for the TOC is added
-\pagenumbering{roman}
\let\myTOC\tableofcontents
-\renewcommand{\tableofcontents}{%
- \pdfbookmark[1]{\contentsname}{}
- \myTOC
- \cleardoublepage
- \pagenumbering{arabic}}
+\renewcommand\tableofcontents{%
+ \frontmatter
+ \pdfbookmark[1]{\contentsname}{}
+ \myTOC
+ \mainmatter }
% provides caption formatting
\usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
% 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"
\papersize default
\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_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
\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
\begin_layout Chapter
Tables
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Tables"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
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 ~
\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 appear on the
+ last page of the longtable.
\end_layout
-\begin_layout Standard
-You can also specify a row where the table is splitted.
- If you set more than one option in the same table row, you should be aware
- of the fact that only the first one is used in the given table row.
- The others will then be defined as
-\emph on
-empty
-\emph default
-.
- In this context, first means first in this order:
-\family sans
-Header,
-\family default
-
-\family sans
-First
-\begin_inset space ~
+\begin_layout Description
+Caption: The current row contains the table caption.
+ The row is reset as single column and a caption is inserted.
+ More about longtable captions is explained in sec.
+\begin_inset space \thinspace{}
\end_inset
-header, Footer, Last
-\begin_inset space ~
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Longtable-Captions"
+
\end_inset
-footer.
+.
+\end_layout
-\family default
+\begin_layout Standard
+You can also specify a row where the table is split.
See the following longtable to see how it works:
\end_layout
</cell>
</row>
<row endfoot="true">
-<cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
+<cell multicolumn="1" alignment="right" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
status collapsed
\begin_layout Plain Layout
-See greyed-out note in section
+See the first greyed-out note in section
\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
-\family sans
-.
-\end_layout
-
-\begin_layout Enumerate
-Mark the first row and disable its upper line.
-\end_layout
-
-\begin_layout Enumerate
-Insert a caption via the menu
+ on one page.
+ But the caption environment of floats can also be used for longtables when
+ you use for a table row the longtable option
\family sans
-Insert\SpecialChar \menuseparator
Caption
\family default
- into the first table cell.
-\begin_inset Newline newline
-\end_inset
-
-You can also add a short title for the caption.
-\end_layout
-
-\begin_layout Enumerate
-Insert a
-\begin_inset Quotes eld
+ as described in sec.
+\begin_inset space \thinspace{}
\end_inset
-\series bold
-
-\backslash
-
-\backslash
-%
-\series default
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Longtables"
-\begin_inset Quotes erd
\end_inset
- as TeX-Code behind the caption.
-\end_layout
-
-\begin_layout Standard
-A short title that will appear in the LOT instead of the full title.
- The
-\series bold
-
-\backslash
-
-\backslash
-%
-\series default
- behind the caption omits the vertical lines between the following cells
- in the row.
- The first table row is now only a dummy row for the caption, the actual
- table starts with the second row.
+.
+ Only one table row can contain the caption.
\end_layout
\begin_layout Standard
\begin_layout Plain Layout
\series bold
-Note:
+Note
+\begin_inset space ~
+\end_inset
+
+1:
\series default
The table number is increased for every longtable, also if you didn't set
a caption for it.
- For this reason you could have the case that e.g.
- Table
+ 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
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
long full title with default width long full title with default width long
full title with default width
\begin_inset OptArg
-status open
+status collapsed
\begin_layout Plain Layout
caption with default width
cm
\begin_inset OptArg
-status open
+status collapsed
\begin_layout Plain Layout
caption with width
\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 header.
Table
\begin_inset space ~
\end_inset
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="59" columns="3">
-<features islongtable="true">
+<features islongtable="true" lastFootEmpty="true">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="0pt">
<column alignment="center" valignment="top" width="0pt">
-<row endfirsthead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
</row>
-<row endhead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row endhead="true">
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row endhead="true">
-<cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\series default
\begin_inset Foot
-status collapsed
+status open
\begin_layout Plain Layout
Example footnote
\begin_inset Quotes erd
\end_inset
- as TeX-Code at this point of the cell where it should be broken.
+ as TeX-Code at this point of the cell where it can be broken.
Before the
\series bold
\backslash
\backslash
-
+
+\backslash
+newpage
\begin_inset Newline newline
\end_inset
\end_inset
in the third columns of the row was deleted.
+
+\series bold
+
+\backslash
+newpage
+\series default
+ is only needed when a page break should definitively occur at this position,
+ otherwise it is only a possibility to break.
If your footer row of the longtable has for a certain reason no upper line
but you would have a horizontal line where the cell is broken, use this
command instead:
\align center
\begin_inset Tabular
<lyxtabular version="3" rows="38" columns="3">
-<features islongtable="true">
+<features islongtable="true" lastFootEmpty="true">
<column alignment="left" valignment="top" width="0cm">
<column alignment="left" valignment="top" width="3cm">
<column alignment="center" valignment="top" width="0pt">
-<row endfirsthead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row caption="true">
+<cell multicolumn="1" alignment="left" valignment="top" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
</row>
-<row endhead="true" caption="true">
-<cell multicolumn="1" alignment="center" valignment="top" usebox="none">
+<row endhead="true">
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\backslash
-caption*{Continued table with forced page break in table cell}
+caption*{Continued Example Phone List}
\backslash
\backslash
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
\end_inset
</cell>
-<cell multicolumn="2" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
+<cell alignment="center" valignment="top" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
</cell>
</row>
<row endhead="true">
-<cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
+<cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\begin_layout Plain Layout
-
+
\series bold
Example Phone List
\end_layout
\backslash
\backslash
-
+
+\backslash
+newpage
\end_layout
\begin_layout Plain Layout
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
\end_layout
\begin_layout Section
\end_layout
\begin_layout Standard
-\align center
+\noindent
\begin_inset Float table
placement H
wide false
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.
\end_inset
-\end_layout
-
-\begin_layout Standard
-\begin_inset Newpage newpage
-\end_inset
-
-
\end_layout
\begin_layout Subsection
\end_inset
-\begin_inset Index
-status collapsed
-
-\begin_layout Plain Layout
-LaTeX-packages ! multirow
-\end_layout
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\series bold
multirow
\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! multirow
+\end_layout
+
+\end_inset
+
in your document preamble with the command
\end_layout
\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_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
define the color "
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
\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
\end_layout
\begin_layout Standard
-To insert the list of algorithms you can in this case not use the menu
+To insert the list of algorithms you can not use the menu
\family sans
Insert\SpecialChar \menuseparator
List
TOC\SpecialChar \menuseparator
List of Algorithms
\family default
- when your document is an English one.
- For non-English documents, use this command in TeX-Code instead:
+ when your document is a non-English one.
+ In this case 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
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-vspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-4mm
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+vspace{4mm}
\end_layout
\end_inset
\end_inset
- 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
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
see the text
\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
- in the document preamble with
+sec.
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+, you can redefine the name by inserting this to the preamble:
\end_layout
\begin_layout Standard
\series bold
\backslash
-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 all float types but this is not recommended for stability reasons.
For more informations, have a look at
\series bold
hypcap
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
-\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
we refer to its documentation
\begin_inset CommandInset citation
LatexCommand cite
-key "caption,caption-de"
+key "caption"
\end_inset
\end_layout
\begin_layout Standard
-To change the label name from e.g.
-
+To change the label name from e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
\begin_inset Quotes eld
\end_inset
\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
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
\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_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
2 for this size will set the box heigth to 2 times the text height:
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
a shadow and the other one not.
\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 rectangle frame around the box.
The frame line thickness has the size of
\series bold
\end_inset
+\end_layout
+
+\begin_layout Description
+Allow
+\begin_inset space ~
+\end_inset
+
+page
+\begin_inset space ~
+\end_inset
+
+break When you use the decoration
+\family sans
+simple rectangular frame
+\family default
+ and no inner box, you can allow page breaks within a box.
+ Note that then, in contrary to other framed boxes, the frame always uses
+ the whole column width, the box is set as its own paragraph, and
+\series bold
+
+\backslash
+fboxrule
+\series default
+ and
+\series bold
+
+\backslash
+fboxsep
+\series default
+ has no effect on this box type.
+ The frame line thickness has the size of
+\series bold
+
+\backslash
+FrameRule
+\series default
+.
+
+\begin_inset Box Framed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+Allow page break box
+\end_layout
+
+\end_inset
+
+
\end_layout
\begin_layout Description
\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 rectangle 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 rectangle 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{shadebox}
+\series default
+ or globally with the menu
\family sans
-num
-\begin_inset space \thinspace{}
-\end_inset
-
-×
-\begin_inset space \thinspace{}
+Tools\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+Colors\SpecialChar \menuseparator
+shaded
+\begin_inset space ~
\end_inset
-minimum(width and heigth of box)
+box
\family default
.
- The default is
+ The scheme of the
\series bold
\backslash
-cornersize{0.5}
+definecolor
\series default
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+ command is explained in section
+\begin_inset space ~
+\end_inset
-\backslash
-cornersize*{1.5cm}
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
\end_inset
-
-\begin_inset Box Ovalbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
+.
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-\align center
-Oval box with
+Note that
\series bold
\backslash
-cornersize
+definecolor
\series default
-
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
+ requires the LaTeX-package
+\series bold
+color
+\series default
+ in the preamble, see section
+\begin_inset space ~
\end_inset
-1.5
-\begin_inset space \thinspace{}
-\end_inset
-cm
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-cornersize{0.5}
+.
\end_layout
\end_inset
-
+ For example the appearance of the following shaded background note is set
+ with the TeX-Code commands
\end_layout
\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-The size of the shadow can be adjusted by changing the length
\series bold
\backslash
-shadowsize
+setlength{
+\backslash
+fboxsep}{0.5cm}
\series default
-.
- It it set to 2
-\begin_inset space \thinspace{}
-\end_inset
-pt for the following box by this command:
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
\series bold
\backslash
-setlength{
-\backslash
-shadowsize}{2pt}
+definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\begin_layout Standard
\backslash
setlength{
\backslash
-shadowsize}{2pt}
+fboxsep}{0.5cm}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\end_inset
-\begin_inset Box Shadowbox
-position "c"
+\begin_inset Box Shaded
+position "t"
hor_pos "c"
-has_inner_box 1
-inner_pos "c"
+has_inner_box 0
+inner_pos "t"
use_parbox 0
-width "25col%"
+width "100col%"
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+status open
\begin_layout Plain Layout
-\align center
-Shadow box with
-\series bold
-
-\backslash
-shadowsize
-\series default
-
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
-\end_inset
-2
-\begin_inset space \thinspace{}
-\end_inset
-
-pt
+\color yellow
+This is yellow text in a
+\color none
+
+\family sans
+\color yellow
+shaded background
+\family default
+\color none
+
+\color yellow
+box with dark green background.
\end_layout
\end_inset
\backslash
setlength{
\backslash
-shadowsize}{4pt}
+fboxsep}{3pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{rgb}{1,0,0}
\end_layout
\end_inset
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
\series bold
\backslash
-@ifundef\SpecialChar \textcompwordmark{}
-ined
+@ifundefined
\series default
is used.
\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
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
the document in several files that can be revised separately.
The different documents are then the so called child documents and a master
document connects them to print the full document or parts of it.
+ A child documents inherits contents of its master, for example the bibliography
+ and the labels for cross-references.
+\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 file will then be used in the background by LyX when you edit
+ the child document.
\end_layout
\begin_layout Standard
includeonly
\series default
is inserted to the master document preamble.
- It takes a comma-separated list of the filenames as argument, e.g.
+ It takes a comma-separated list of the filenames as argument, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
\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
status open
\begin_layout Plain Layout
+
int a=5;
\end_layout
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
status open
\begin_layout Plain Layout
+
\begin_inset Caption
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\series bold
Note:
\series default
- If you don't get bold keywords when using typewriter fonts, your typewriter
+ If you don't get bold keywords when using typewriter fonts, your
+\family typewriter
+typewriter
+\family default
font probably doesn't provide a bold shape.
In this case select a different one in the menu
\family sans
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
status open
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'This is a German word: Tschüß'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\end_layout
+\begin_layout Standard
+When you have tabulators in your listing, you can specify the number of
+ characters that are spanned by a tabulator in the field
+\family sans
+Tabulator
+\begin_inset space ~
+\end_inset
+
+size
+\family default
+.
+\end_layout
+
\begin_layout Standard
\begin_inset Note Greyedout
status open
\begin_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
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-vspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-4mm
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+vspace{4mm}
\end_layout
\end_inset