-#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 339
+#LyX 1.6.1 created this file. For more info see http://www.lyx.org/
+\lyxformat 345
\begin_document
\begin_header
\textclass scrbook
{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
\bullet 1 1 34 -1
\bullet 2 2 35 -1
\bullet 3 2 7 -1
-\tracking_changes false
+\tracking_changes true
\output_changes false
-\author ""
+\author "pavel"
+\author "pavel"
\author ""
\end_header
\family sans
-Version 1.6svn
+Version 1.6.1
\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_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
\begin_layout Chapter
Tables
-\begin_inset CommandInset label
-LatexCommand label
-name "cha:Tables"
-
-\end_inset
-
-
\begin_inset Index
status collapsed
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 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
\series bold
\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
\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:
\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
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
-\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
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:Algorithm-Floats"
-
-\end_inset
-
-
\end_layout
\begin_layout Standard
\end_inset
-\begin_inset CommandInset label
-LatexCommand label
-name "sub:wrap-floats"
-
-\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
+
+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
-\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
\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 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
\end_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
add 1.5
\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_inset
g.
-\begin_inset space ~
+\begin_inset space \space{}
\end_inset
2
\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
\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.
+
+\change_inserted 0 1229737274
+ Note that when Instant Preview enables you to see some of the external
+ material directly in LyX window (e.g.
+ Xfig or Dia).
+\change_unchanged
+
\end_layout
\begin_layout Standard
.
\end_layout
+\begin_layout Description
+
+\change_inserted 1 1229526672
+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
+.
+\change_unchanged
+
+\end_layout
+
\begin_layout Standard
\begin_inset Float table
placement h
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
\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