+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Caption-Formatting"
+
+\end_inset
+
+ for more information of the package
+\series bold
+caption
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+tableposition=top
+\end_layout
+
+\begin_layout Standard
+If you are using a
+\series bold
+KOMA-Script
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! KOMA-Script
+\end_layout
+
+\end_inset
+
+ document class (
+\family sans
+article (KOMA-Script)
+\family default
+,
+\family sans
+book (KOMA-Script)
+\family default
+,
+\family sans
+letter (KOMA-Script)
+\family default
+, or
+\family sans
+report (KOMA-Script)
+\family default
+
+\begin_inset space \thinspace{}
+\end_inset
+
+), you can alternatively to the
+\series bold
+caption
+\series default
+ package set the document class option
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+That option is used in this document.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+captions=tableheading
+\end_layout
+
+\begin_layout Standard
+In documents with a KOMA-Script document class you can also right-click
+ on a caption and mark in the context menu if this should be a caption above
+ or below the table/figure.
+ This way you can override the document-wide caption placement for certain
+ captions.
+ Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:A-caption-marked"
+
+\end_inset
+
+ is an example where the caption is marked a being below the table while
+ it is above.
+ For comparison the caption in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:A-standard-table"
+
+\end_inset
+
+ is not marked.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Below
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:A-caption-marked"
+
+\end_inset
+
+A caption marked as being below the table.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Joe
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Mary
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Ted
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\int x^{2}dx$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\left[\begin{array}{cc}
+a & b\\
+c & d
+\end{array}\right]$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $1+1=2$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:A-standard-table"
+
+\end_inset
+
+A standard table caption.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<column alignment="center" valignment="top" width="0pt">
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+2
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Joe
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Mary
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Ted
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\int x^{2}dx$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $\left[\begin{array}{cc}
+a & b\\
+c & d
+\end{array}\right]$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+\begin_inset Formula $1+1=2$
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+It is also possible to set the caption beside a figure or table.
+ To get this the LaTeX-package
+\series bold
+sidecap
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! sidecap
+\end_layout
+
+\end_inset
+
+ has to be loaded in the document preamble with the line
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage[option]{sidecap}
+\end_layout
+
+\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.
+ You can change the placement to inner margin with the option
+\series bold
+innercaption
+\series default
+.
+ To force the placement always to the right or left, use the option
+\series bold
+rightcaption
+\series default
+ or
+\series bold
+leftcaption
+\series default
+, respectively.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifsidecap
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the LaTeX-package
+\series bold
+sidecap
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To place in LyX the caption of a float on the side, it is necessary to add
+ these commands to the document preamble:
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+TabBesBeg}[1][1.0]{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyTable
+\backslash
+table
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series medium
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyEndtable
+\backslash
+endtable
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series medium
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+renewenvironment{table}[1]{
+\backslash
+begin{SCtable}[#1]##1}{
+\backslash
+end{SCtable}}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+TabBesEnd}{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+table
+\backslash
+MyTable
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+endtable
+\backslash
+MyEndtable
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+FigBesBeg}[1][1.0]{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyFigure
+\backslash
+figure
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+MyEndfigure
+\backslash
+endfigure
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+renewenvironment{figure}[1]{
+\backslash
+begin{SCfigure}[#1]##1}{
+\backslash
+end{SCfigure}}}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcommand{
+\backslash
+FigBesEnd}{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+figure
+\backslash
+MyFigure
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+let
+\backslash
+endfigure
+\backslash
+MyEndfigure}
+\end_layout
+
+\begin_layout Standard
+\noindent
+\begin_inset CommandInset line
+LatexCommand rule
+offset "0.5ex"
+width "100line%"
+height "1pt"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The commands allow you to redefine the floats so that the caption is set
+ on the side.
+ For figure floats use the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+FigBesBeg
+\end_layout
+
+\begin_layout Standard
+in TeX-Code before the float.
+ And insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+FigBesEnd
+\end_layout
+
+\begin_layout Standard
+in TeX-Code at the point where you want to get back to the original float
+ definition.
+\end_layout
+
+\begin_layout Standard
+For table floats use the corresponding commands
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+TabBesBeg
+\series default
+ and
+\series bold
+
+\backslash
+TabBesEnd
+\end_layout
+
+\begin_layout Standard
+Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:cap-beside-fig"
+
+\end_inset
+
+ and Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab"
+
+\end_inset
+
+ are examples where the caption is set beside.
+\end_layout
+
+\begin_layout Standard
+You can see in the examples that the caption text appears at the top of
+ the floats for table floats and at the bottom for figure floats.
+ To change this, you can use the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+sidecaptionvpos{float type}{placement}
+\end_layout
+
+\begin_layout Standard
+in the document preamble or in TeX-Code before the float.
+ The float type is either
+\family sans
+figure
+\family default
+ or
+\family sans
+table
+\family default
+, the placement can be
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+t
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ for top,
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+c
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ for center, or
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+b
+\family default
+
+\begin_inset Quotes erd
+\end_inset
+
+ for bottom.
+ To have for example the caption of figure floats vertically centered, use
+ the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+sidecaptionvpos{figure}{c}
+\end_layout
+
+\begin_layout Standard
+This was used for Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:cap-beside-fig-2"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The default caption width is the width of the image/table.
+ For thin image/tables, like in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab"
+
+\end_inset
+
+, this leads to captions that are too thin.
+ You can increase the width by specifying a factor that will be multiplied
+ with the image/table width to get the caption width.
+ The caption width will automatically be recalculated in case it would protrude
+ over the page or column margin due to the specified width.
+ The
+\emph on
+factor
+\emph default
+ can either be given as optional argument for
+\series bold
+
+\backslash
+FigBesBeg
+\series default
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+FigBesBeg[factor]
+\end_layout
+
+\begin_layout Standard
+or in the definition of
+\series bold
+
+\backslash
+FigBesBeg
+\series default
+ by replacing the
+\series bold
+1.0
+\series default
+ with another value.
+ If you do the latter, your factor will be the default if
+\series bold
+
+\backslash
+FigBesBeg
+\series default
+ is used without an argument.
+ For Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab-wider"
+
+\end_inset
+
+ the factor 5 was used.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ For floats with captions set beside, you cannot use the float placement
+ option
+\family sans
+Here
+\begin_inset space ~
+\end_inset
+
+definitely
+\family default
+ because it is not supported by
+\series bold
+sidecap
+\series default
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+For more information about the package
+\series bold
+sidecap
+\series default
+ we refer to its documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "sidecap"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The LaTeX-package
+\series bold
+hypcap
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! hypcap
+\end_layout
+
+\end_inset
+
+, described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Reference-Position"
+
+\end_inset
+
+, has no effect on floats with the caption set beside.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesBeg
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/escher-lsd.eps
+ scale 75
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:cap-beside-fig"
+
+\end_inset
+
+This is a caption beside a figure.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesBeg
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:cap-beside-tab"
+
+\end_inset
+
+This is a caption beside a table.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="5">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+j
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesBeg
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+sidecaptionvpos{figure}{c}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Graphics
+ filename clipart/escher-lsd.eps
+ scale 75
+ scaleBeforeRotation
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:cap-beside-fig-2"
+
+\end_inset
+
+This is a vertically centered caption beside a figure.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+FigBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesBeg[5]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float table
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "tab:cap-beside-tab-wider"
+
+\end_inset
+
+This caption is wider than the one in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:cap-beside-tab"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Tabular
+<lyxtabular version="3" rows="4" columns="5">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+a
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+d
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+g
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+i
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+j
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+TabBesEnd
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the LaTeX-package
+\series bold
+sidecap
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the LaTeX-package
+\series bold
+sidecap
+\series default
+ to see the following part of this section in the output.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Listings of Floats
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Floats ! Float Lists
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Similar to the table of contents where the sections of the document are
+ listed, there are listings for all float types, like the figures of the
+ documents.
+ You can insert them via the
+\family sans
+Insert\SpecialChar \menuseparator
+List
+\begin_inset space ~
+\end_inset
+
+/
+\begin_inset space ~
+\end_inset
+
+TOC
+\family default
+ sub menus.
+\end_layout
+
+\begin_layout Standard
+The list entries are the float captions or its short title, the float number,
+ and the page number where they appear in the document.
+\end_layout
+
+\begin_layout Standard
+You can find the list of figures and tables at the end of this document.
+\end_layout
+
+\begin_layout Chapter
+Notes
+\end_layout
+
+\begin_layout Section
+LyX Notes
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Notes ! LyX Notes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Notes are inserted with the toolbar button
+\begin_inset Info
+type "icon"
+arg "note-insert"
+\end_inset
+
+ or the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Note
+\family default
+.
+ There are three types of notes:
+\end_layout
+
+\begin_layout Description
+LyX
+\begin_inset space ~
+\end_inset
+
+Note This note type is for internal notes that won't appear in the output.
+ Its note-box looks like this:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/LyXNoteImageQt4.png
+ display false
+ scale 85
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+This is text in a note box that doesn't appear in the output.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Comment This note also doesn't appear in the output but it appears as LaTeX-comm
+ent, when you export the document to LaTeX via the menu
+\family sans
+File\SpecialChar \menuseparator
+Export\SpecialChar \menuseparator
+LaTeX (pdflatex) / (plain)
+\family default
+.
+ Its note-box looks like this:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/CommentNoteImageQt4.png
+ display false
+ scale 85
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset Note Comment
+status open
+
+\begin_layout Plain Layout
+This is text in a note box that only appears as comment in LaTeX-files.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Greyed
+\begin_inset space ~
+\end_inset
+
+Out This note will appear in the output as grey text.
+ Its note-box looks like this:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/GreyedOutNoteImageQt4.png
+ display false
+ scale 85
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewenvironment{lyxgreyedout}
+\end_layout
+
+\begin_layout Plain Layout
+
+{
+\backslash
+textcolor[gray]{0.8}
+\backslash
+bgroup}{
+\backslash
+egroup}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+This is text
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+This is an example footnote within a greyed out note.
+\end_layout
+
+\end_inset
+
+ of a comment that appears in the output as grey text.
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewenvironment{lyxgreyedout}
+\end_layout
+
+\begin_layout Plain Layout
+
+{
+\backslash
+textcolor{blue}
+\backslash
+bgroup}{
+\backslash
+egroup}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The greyed out note is here redefined to show it with the original LyX definitio
+n because greyed out notes are redefined in the preamble of this document,
+ as described below, to have blue text.
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+As you can see in the example, the first line of greyed out notes is a bit
+ indented and greyed out notes can have footnotes.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you use the toolbar button
+\begin_inset Info
+type "icon"
+arg "note-insert"
+\end_inset
+
+ to insert notes, a
+\family sans
+LyX
+\begin_inset space ~
+\end_inset
+
+Note
+\family default
+ is inserted.
+ You can switch between the three note types by right-clicking on the note-box.
+
+\family roman
+\series medium
+\bar no
+If you want to turn existing text into a note, mark it and click on the
+ note
+\family default
+\series default
+\bar default
+ toolbar
+\family roman
+\series medium
+\bar no
+button
+\family default
+\series default
+\bar default
+.
+ To change a note to text, press the backspace key when the cursor is in
+ the first position of a note, or press the delete key when the cursor is
+ in the very last position of the note, respectively.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+You can change the text color of the greyed out notes in the menu
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Colors
+\family default
+.
+\end_layout
+
+\begin_layout Section
+Footnotes
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Footnotes"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Notes ! Footnotes
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Footnotes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Footnotes can be inserted using the toolbar button
+\begin_inset Info
+type "icon"
+arg "footnote-insert"
+\end_inset
+
+ or the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Footnote
+\family default
+.
+ You will then see the following footnote-box:
+\begin_inset Graphics
+ filename clipart/footnoteQt4.png
+ scale 80
+ scaleBeforeRotation
+
+\end_inset
+
+
+\family roman
+\series medium
+\bar no
+where you can enter the footnote text.
+ If you want to turn existing text into a footnote, mark it and click on
+ the footnote
+\family default
+\series default
+\bar default
+ toolbar
+\family roman
+\series medium
+\bar no
+button
+\family default
+\series default
+\bar default
+.
+ To change a
+\family roman
+\series medium
+\bar no
+footnote
+\family default
+\series default
+\bar default
+ to text, press the
+\family sans
+Backspace
+\family default
+ key when the cursor is in the first position of a
+\family roman
+\series medium
+\bar no
+footnote
+\family default
+\series default
+\bar default
+, or press the
+\family sans
+Delete
+\family default
+ key when the cursor is in the very last position of the
+\family roman
+\series medium
+\bar no
+footnote
+\family default
+\series default
+\bar default
+, respectively.
+\end_layout
+
+\begin_layout Standard
+Here is an example footnote:
+\family roman
+\series medium
+\bar no
+
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "foot:This-is-an"
+
+\end_inset
+
+This is an example footnote.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+\bar default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+newcounter{MyRepeatFoot}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setcounter{MyRepeatFoot}{
+\backslash
+thefootnote}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The footnote will appear in the output as a superscript number at the text
+ position where the footnote box is placed.
+ The footnote text is placed at the bottom of the current page.
+ The footnote number is calculated by LaTeX; the numbers are consecutive.
+ Whether the footnote number is reset for every chapter depends on your
+ document class.
+\end_layout
+
+\begin_layout Standard
+Footnotes can be referenced like floats: Insert a label into the footnote
+ and cross-reference this label in the text as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Referencing-Floats"
+
+\end_inset
+
+.
+\begin_inset Newline newline
+\end_inset
+
+This is a cross-reference of Footnote
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "foot:This-is-an"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+Footnotes in title environments are usually not numbered with symbols and
+ they cannot contain several paragraphs.
+ See for example the footnote in the titling of this document.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+Footnotes in tables are not printed by LaTeX due to technical reasons.
+ However there exists another method to print them: Instead of the footnote
+ the command
+\series bold
+
+\backslash
+footnotemark{}
+\series default
+ is inserted as TeX-code.
+ The text of the footnote is entered as an argument of the TeX-code command
+
+\series bold
+
+\backslash
+footnotetext
+\series default
+ after the table.
+\begin_inset Newline newline
+\end_inset
+
+This was done for the following table with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotetext{
+\series default
+Printed table footnote.
+\series bold
+}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Tabular
+<lyxtabular version="3" rows="2" columns="1">
+<features rotate="0" tabularvalignment="middle">
+<column alignment="center" valignment="top">
+<row>
+<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+This an example text.
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+This footnote will not be printed!
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+This an example text.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotetext{
+\end_layout
+
+\end_inset
+
+Printed table footnote.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Footnotes in longtables are described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Footnotes-in-Longtables"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Footnotes in minipage boxes are printed, but inside the box and with a different
+ numbering because a minipage box is like a page inside a page.
+ (For more about minipages, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.) To get a footnote in the minipage that is output at the bottom of the
+ page like normal footnotes, also use the method of
+\series bold
+
+\backslash
+footnotemark{}
+\series default
+ and
+\series bold
+
+\backslash
+footnotetext
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+This an example text in a minipage.
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+Footnote in the minipage.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+This an example text in a minipage.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark{}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotetext{
+\end_layout
+
+\end_inset
+
+Footnote outside the minipage.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace defskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To refer to the same footnote several times without printing the footnote
+ text every time, use the command
+\series bold
+
+\backslash
+footnotemark[number]
+\series default
+ in TeX-code.
+\begin_inset Newline newline
+\end_inset
+
+As you do not know the number of the repeating footnote while you are writing
+ the text, you have to store its number.
+ For the following footnote mark example, these commands were inserted in
+ TeX-code after Footnote
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "foot:This-is-an"
+
+\end_inset
+
+ to store the footnote number:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+newcounter{MyRepeatFoot}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+setcounter{MyRepeatFoot}{
+\backslash
+thefootnote}
+\end_layout
+
+\begin_layout Standard
+The footnote mark was then created with this command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotemark[
+\backslash
+theMyRepeatFoot]
+\end_layout
+
+\begin_layout Standard
+Here is a repeated footnote:
+\family roman
+\series medium
+\bar no
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark[
+\backslash
+theMyRepeatFoot]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you want to repeat the previous footnote, you can omit the storage of
+ the footnote number and just use this command instead:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+footnotemark[
+\backslash
+thefootnote]
+\end_layout
+
+\begin_layout Standard
+Here is another repeated footnote:
+\family roman
+\series medium
+\bar no
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+footnotemark[
+\backslash
+thefootnote]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Footnote Numbering
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Footnote-Numbering"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Footnotes ! Numbering
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To reset the footnote number back to 1 after each section
+\family roman
+, add this command to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+@addtoreset{footnote}{section}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The following preamble command changes the footnote numbering style to small
+ roman numerals:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+roman{footnote}}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+roman{footnote}}
+\end_layout
+
+\end_inset
+
+ This is a footnote with roman numbering:
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+This is an example footnote with roman numbering.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To change the numbering style to capital roman numerals replace in the command
+ above
+\series bold
+
+\backslash
+roman
+\series default
+ by
+\series bold
+
+\backslash
+Roman
+\series default
+.
+ To
+\begin_inset Quotes eld
+\end_inset
+
+number
+\begin_inset Quotes erd
+\end_inset
+
+ footnotes with capital or small Latin letters use
+\series bold
+
+\backslash
+Alph
+\series default
+ or
+\series bold
+
+\backslash
+alph
+\series default
+, respectively.
+ To
+\begin_inset Quotes eld
+\end_inset
+
+number
+\begin_inset Quotes erd
+\end_inset
+
+ footnotes with symbols use
+\series bold
+
+\backslash
+fnsymbol
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ You can only number 26 footnotes with Latin letters, because this numbering
+ is limited to single letters.
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ You can only number 9 footnotes with symbols.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To return to the default numbering style after you have changed to another
+ one, use
+\series bold
+
+\backslash
+arabic
+\series default
+ instead of
+\series bold
+
+\backslash
+roman
+\series default
+ in the command above.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+arabic{footnote}}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you want to have footnotes numbered in the scheme
+\begin_inset Quotes eld
+\end_inset
+
+chapter.footnote
+\begin_inset Quotes erd
+\end_inset
+
+, add the following command to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+numberwithin{footnote}{chapter}
+\end_layout
+
+\begin_layout Standard
+To be able to use the command
+\series bold
+
+\backslash
+numberwithin
+\series default
+, set in the tab
+\family sans
+Math
+\begin_inset space ~
+\end_inset
+
+Options
+\family default
+ in the document settings the option
+\family sans
+Use
+\begin_inset space ~
+\end_inset
+
+AMS
+\begin_inset space ~
+\end_inset
+
+math
+\begin_inset space ~
+\end_inset
+
+package
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+numberwithin{footnote}{chapter}
+\end_layout
+
+\end_inset
+
+This is another example footnote:
+\series bold
+
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+This is a footnote numbered in the scheme
+\begin_inset Quotes eld
+\end_inset
+
+chapter.footnote
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+arabic{footnote}}
+\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
+
+\backslash
+numberwithin
+\series default
+ always prints out the footnote number as arabic number; previous redefinitions
+ to get non-arabic numbers are overwritten.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+So to get for example the scheme
+\begin_inset Quotes eld
+\end_inset
+
+chapter.
+\backslash
+Roman{footnote}
+\begin_inset Quotes erd
+\end_inset
+
+, use this command instead of
+\series bold
+
+\backslash
+numberwithin
+\series default
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+thefootnote}{
+\backslash
+thechapter.
+\backslash
+Roman{footnote}}
+\end_layout
+
+\begin_layout Subsection
+Footnote Placement
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Footnotes ! Placement
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you have several footnotes in one page, they appear without vertical
+ space between them at the bottom of the page.
+ To make them more readable you can e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+add 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+mm space with the following preamble command:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myFoot
+\backslash
+footnote
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+footnote}[1]{
+\backslash
+myFoot{#1
+\backslash
+vspace{1.5mm}}}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+In a two-column document the footnotes appear at the bottom of every column,
+ see Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Standard-footnote-placement"
+
+\end_inset
+
+.
+ If the footnotes should only appear at the bottom of the right column,
+ as in Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Footnote-placement-in"
+
+\end_inset
+
+, use the LaTeX-package
+\series bold
+ftnright
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! ftnright
+\end_layout
+
+\end_inset
+
+ with this command in the document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage{ftnright}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement !h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+framebox{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/without_fntright.pdf
+ width 100col%
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Standard-footnote-placement"
+
+\end_inset
+
+Standard footnote placement in two-column documents.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement !h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+framebox{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/with_fntright.pdf
+ width 100col%
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Footnote-placement-in"
+
+\end_inset
+
+Footnote placement in two-column documents when the LaTeX-package
+\series bold
+ftnright
+\series default
+ is used.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+In some scientific literature it is usual to collect the footnotes and print
+ them in a separate paragraph at the end of a section, as in Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Endnotes"
+
+\end_inset
+
+.
+ They are then called
+\begin_inset Quotes eld
+\end_inset
+
+endnotes
+\begin_inset Quotes erd
+\end_inset
+
+.
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Endnotes
+\end_layout
+
+\end_inset
+
+ To use endnotes instead of footnotes in your document, load in the menu
+
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+the module
+\family sans
+Foot
+\begin_inset space ~
+\end_inset
+
+to
+\begin_inset space ~
+\end_inset
+
+End
+\family default
+.
+ To insert the collected footnotes, insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+theendnotes
+\end_layout
+
+\begin_layout Standard
+in TeX-Code at the end of a section or chapter.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\align center
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+framebox{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Graphics
+ filename clipart/endnotes.pdf
+ scaleBeforeRotation
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption Standard
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Endnotes"
+
+\end_inset
+
+Endnotes – footnotes are printed in a separate paragraph at the end of sections
+ or chapters.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+The paragraph heading for the endnotes isn't automatically translated into
+ the document language, this must be done manually.
+ The following preamble command translates the default English
+\begin_inset Quotes eld
+\end_inset
+
+Notes
+\begin_inset Quotes erd
+\end_inset
+
+ into the German
+\begin_inset Quotes eld
+\end_inset
+
+Anmerkungen
+\begin_inset Quotes erd
+\end_inset
+
+:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+notesname}{Anmerkungen}
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+The numbering of endnotes can be changed like the footnote numbering as
+ described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Footnote-Numbering"
+
+\end_inset
+
+; just replace the command
+\series bold
+
+\backslash
+thefootnote
+\series default
+ by
+\series bold
+
+\backslash
+theendnote
+\series default
+.
+ To reset the endnote number use the command
+\series bold
+
+\backslash
+@addtoreset
+\series default
+ as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Footnote-Numbering"
+
+\end_inset
+
+ and replace the command parameter
+\series bold
+footnote
+\series default
+ by
+\series bold
+endnote
+\series default
+.
+\end_layout
+
+\begin_layout Standard
+For endnotes there is the command
+\series bold
+
+\backslash
+endnotemark[number]
+\series default
+ similar to the command
+\series bold
+
+\backslash
+footnotemark
+\series default
+, that is described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Footnotes"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Footnotes can also be placed in the page margin and the footnote text alignment
+ can be changed, see the LaTeX-package
+\series bold
+footmisc
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! footmisc
+\end_layout
+
+\end_inset
+
+,
+\begin_inset CommandInset citation
+LatexCommand cite
+key "footmisc"
+
+\end_inset
+
+ for more information about this.
+\end_layout
+
+\begin_layout Standard
+For various further footnote formatting issues have a look at LaTeX-books,
+
+\begin_inset CommandInset citation
+LatexCommand cite
+key "latexcompanion,latexguide,latexbook"
+
+\end_inset
+
+.
+ If you are using a
+\series bold
+KOMA-Script
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! KOMA-Script
+\end_layout
+
+\end_inset
+
+ document class, you can adjust all footnote settings using class-specific
+ commands, see
+\begin_inset CommandInset citation
+LatexCommand cite
+key "KOMA-Script"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Section
+Margin Notes
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Notes ! Margin Notes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Margin notes look and behave in LyX like footnotes.
+ They are inserted via the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Marginal
+\begin_inset space ~
+\end_inset
+
+Note
+\family default
+ or the toolbar button
+\begin_inset Info
+type "icon"
+arg "marginalnote-insert"
+\end_inset
+
+.
+ A grey
+\family roman
+\series medium
+box with the
+\family default
+\series default
+ red
+\family roman
+\series medium
+label
+\begin_inset Quotes eld
+\end_inset
+
+margin
+\begin_inset Quotes erd
+\end_inset
+
+ appears where you can enter the text of the margin note.
+\end_layout
+
+\begin_layout Standard
+At the side is an example margin note.
+
+\family roman
+\series medium
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This is a margin note.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\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
+ pages, right on odd pages.
+ The text of margin notes is aligned opposite to the outer margin – right-aligne
+d when the note appears in the left margin.
+ The first line of the margin note is placed at the position of the text
+ line where it is inserted in the document.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+To place the margin note in the inner margin, add the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+reversemarginpar
+\end_layout
+
+\begin_layout Standard
+in TeX-Code before a margin note.
+ The new placement is valid for all subsequent margin notes.
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+reversemarginpar
+\end_layout
+
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This is a margin note in the inner margin.
+\end_layout
+
+\end_inset
+
+
+\series bold
+
+\begin_inset Newline newline
+\end_inset
+
+
+\series default
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ There is often not enough space in the inner margin so that the notes are
+ not correctly displayed in the output.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To return to the default placement insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+normalmarginpar
+\end_layout
+
+\begin_layout Standard
+in TeX-Code.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+normalmarginpar
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The command is ignored when it is within a paragraph where also the command
+
+\series bold
+
+\backslash
+reversemarginpar
+\series default
+ is inserted.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\family roman
+\series medium
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+AVeryLongMarginParWord that isn't hyphenated.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+ Similar to the case described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Multiple-Lines-in"
+
+\end_inset
+
+, long words cannot be hyphenated when they are the first word in a margin
+ note.
+ To avoid this, insert 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt horizontal space before the word
+\family roman
+\series medium
+.
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+\begin_inset space \hspace*{}
+\length 0pt
+\end_inset
+
+AVeryLongMarginParWord that is hyphenated.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Margin notes can normally not be used inside tables, floats, and footnotes.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+ifmarginnote
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following section will only be displayed when the LaTeX-package
+\series bold
+marginnote
+\series default
+ is installed.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+This restriction can be evaded by using the LaTeX-package
+\series bold
+marginnote
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! marginnote
+\end_layout
+
+\end_inset
+
+.
+ By adding these two lines to your document preamble, the command used by
+ LyX for margin notes is redefined to use the command provided by the
+\series bold
+marginnote
+\series default
+-package:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+usepackage{marginnote}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+let
+\backslash
+marginpar
+\backslash
+marginnote
+\end_layout
+
+\begin_layout Standard
+This is also used in this document because
+\series bold
+marginnote
+\series default
+ has another useful feature: You can set a vertical offset for the note.
+ This is often needed when too many margin notes are too close together
+ or for a better page layout.
+ The offset is set in LyX as TeX-Code directly after the margin note in
+ the scheme
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+[offset]
+\end_layout
+
+\begin_layout Standard
+where the offset is a length with one of the units listed in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Units"
+
+\end_inset
+
+.
+ A negative value shifts the note up, a positive value shifts it down.
+
+\family roman
+\series medium
+For example the margin note beside this text line is shifted up 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm with the TeX-Code-command
+\begin_inset Quotes eld
+\end_inset
+
+
+\family default
+\series bold
+[-1.5cm]
+\family roman
+\series medium
+
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This margin note is shifted up 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+cm from its original position.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+[-1.5cm]
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+With
+\series bold
+marginnote
+\series default
+ you can also change the alignment of the text in the margin note.
+ For example the commands
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+centering}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+centering}
+\end_layout
+
+\begin_layout Standard
+set the alignment to centered.
+
+\series bold
+
+\backslash
+raggedleftmarginnote
+\series default
+ denotes margin notes that appear at the left side.
+\family roman
+\series medium
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+centering}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+centering}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+The text of this margin note is centered.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+ The default is
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+raggedleft}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+raggedright}
+\family roman
+\series medium
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedleftmarginnote}{
+\backslash
+raggedleft}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand*{
+\backslash
+raggedrightmarginnote}{
+\backslash
+raggedright}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+For the other features of
+\series bold
+marginnote
+\series default
+ refer to its documentation
+\begin_inset CommandInset citation
+LatexCommand cite
+key "marginnote"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+You can adjust the layout of margin notes by changing its definition.
+ To create for example a header for all margin notes with the underlined,
+ sans-serif, and bold header text
+\begin_inset Quotes eld
+\end_inset
+
+
+\family sans
+\series bold
+\bar under
+Attention!
+\family default
+\series default
+\bar default
+
+\begin_inset Quotes erd
+\end_inset
+
+, add this to your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+let
+\backslash
+myMarginpar
+\backslash
+marginpar
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+renewcommand{
+\backslash
+marginpar}[1]{
+\backslash
+myMarginpar{%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+hspace{0pt}
+\backslash
+textsf{
+\backslash
+textbf{
+\backslash
+underbar{Attention!}}}%
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\backslash
+vspace{1.5mm}
+\backslash
+
+\backslash
+#1}}
+\end_layout
+
+\begin_layout Standard
+
+\family roman
+\series medium
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+let
+\backslash
+myMarginpar
+\backslash
+marginpar
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+marginpar}[1]{
+\backslash
+myMarginpar{%
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+textsf{
+\backslash
+textbf{
+\backslash
+underbar{Attention!}}}%
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+vspace{1.5mm}
+\backslash
+
+\backslash
+#1}}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Marginal
+status open
+
+\begin_layout Plain Layout
+This is a margin note with a defined heading.
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+[-1.5cm]
+\end_layout
+
+\end_inset
+
+
+\family roman
+\series medium
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+renewcommand{
+\backslash
+marginpar}[1]{
+\backslash
+myMarginpar{#1}}
+\end_layout
+
+\end_inset
+
+
+\family default
+\series default
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+The margin note format is changed only for this example.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+else
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+The following will be displayed when the LaTeX-package
+\series bold
+marginnote
+\series default
+ is not installed:
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You need to install the LaTeX-package
+\series bold
+marginnote
+\series default
+ to see the following part of this section in the output.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fi
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Chapter
+Boxes
+\end_layout
+
+\begin_layout Section
+Introduction
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Introduction
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Boxes are used to format a block of text.
+ Boxes can be used to write documents with multiple languages, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+, to frame texts, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Decoration"
+
+\end_inset
+
+, to prevent words from being hyphenated, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Prevent-Hyphenation"
+
+\end_inset
+
+, to align text, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Vertical-Alignment"
+
+\end_inset
+
+, or to set the background color of texts, see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Boxes can be inserted with the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Box
+\family default
+ or the toolbar button
+\begin_inset Info
+type "icon"
+arg "box-insert Frameless"
+\end_inset
+
+.
+ A grey box with the label
+\family sans
+Box (Minipage)
+\family default
+:
+\begin_inset Graphics
+ filename clipart/BoxInsetDefaultQt4.png
+ scale 85
+ scaleBeforeRotation
+
+\end_inset
+
+ will be inserted.
+ The box type can be specified by right-clicking on the box and selecting
+
+\family sans
+Settings
+\family default
+.
+ The box dialog offers the
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+ types
+\family sans
+Makebox
+\family default
+,
+\family sans
+Parbox
+\family default
+ and
+\family sans
+Minipage
+\family default
+.
+ The type
+\family sans
+Minipage
+\family default
+ is the default for new boxes and is explained in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+; the type
+\family sans
+Parbox
+\family default
+ is described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Parboxes"
+
+\end_inset
+
+ and the type
+\family sans
+Makebox
+\family default
+ in
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Prevent-Hyphenation"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Boxes are not numbered and can therefore not be referenced like floats or
+ footnotes.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Boxes must not be the item in an
+\family sans
+Itemize
+\family default
+ or
+\family sans
+Description
+\family default
+ environment.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ For an unknown reason you can only set the
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+ type to
+\family sans
+None
+\family default
+ when you use a framed box.
+ Boxes without an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+ type and without frames are explained in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Prevent-Hyphenation"
+
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Box Dialog
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Box-Dialog"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Box Dialog
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Size
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Size
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+In the box dialog you can adjust the box geometry in the fields
+\family sans
+Width
+\family default
+ and
+\family sans
+Height
+\family default
+.
+ The available units for the geometry are explained in Table
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "tab:Units"
+
+\end_inset
+
+.
+ The field
+\family sans
+Height
+\family default
+ offers the following additional sizes:
+\end_layout
+
+\begin_layout Description
+Depth This is the plain text
+\begin_inset Quotes eld
+\end_inset
+
+height
+\begin_inset Quotes erd
+\end_inset
+
+.
+ It ignores the total depth when there are multiple text lines in the box:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "depth"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+Depth
+\end_layout
+
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Newline newline
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Height This is the height of the text that is inside the box.
+ A value of e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+2 for this size will set the box height to 2
+\begin_inset space ~
+\end_inset
+
+times the text height:
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "2in"
+height_special "height"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+Height
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Total
+\begin_inset space ~
+\end_inset
+
+Height This is the Height
+\begin_inset space \thinspace{}
+\end_inset
+
++
+\begin_inset space \thinspace{}
+\end_inset
+
+Depth:
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+Total
+\begin_inset space ~
+\end_inset
+
+Height
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Width This sets the width of the box as height:
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "width"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Box height set to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+Width
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Alignment
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Alignment
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+When you have chosen an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+, the vertical box alignment can be:
+\end_layout
+
+\begin_layout Description
+Top This is an example text line.
+
+\begin_inset Box Boxed
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box is top-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+Middle This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box is middle-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+Bottom This is an example text line.
+
+\begin_inset Box Boxed
+position "b"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box is bottom-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ The vertical box alignment can be lost in the output when you have two
+ boxes in a line and one has e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+a shadow and the other one not.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The horizontal box alignment can be set via LyX's paragraph dialog when
+ you set the box into its own paragraph.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you have chosen an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+, the box content can be aligned vertically to:
+\end_layout
+
+\begin_layout Description
+top This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box text is top-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+middle This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box text is middle-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+bottom This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "b"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box text is bottom-aligned.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Description
+stretch This is an example text line.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "s"
+use_parbox 0
+use_makebox 0
+width "12col%"
+special "none"
+height "1.5in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+This box
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+text is
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+stretched.
+\end_layout
+
+\end_inset
+
+ This is an example text line.
+\end_layout
+
+\begin_layout Standard
+To stretch the box content, it must consist of more than one paragraph.
+ In the example above every text line is in an own paragraph.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+To align the box content horizontally you can use LyX's paragraph dialog
+ when you have chosen an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "s"
+use_parbox 0
+use_makebox 0
+width "15col%"
+special "none"
+height "1.25in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align left
+This box
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+text is
+\end_layout
+
+\begin_layout Plain Layout
+\align right
+stretched.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you have not set an
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+Box
+\family default
+, you can align the box content horizontally in the box dialog.
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Boxed
+position "c"
+hor_pos "s"
+has_inner_box 0
+inner_pos "s"
+use_parbox 0
+use_makebox 0
+width "90col%"
+special "none"
+height "1.25in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+This box text is horizontally stretched.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Decoration
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Decoration"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Decoration
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+The type of the box can be specified in the box dialog in the drop-down
+ list
+\family sans
+Decoration
+\family default
+.
+ The following types are possible:
+\end_layout
+
+\begin_layout Description
+No
+\begin_inset space ~
+\end_inset
+
+frame Nothing is drawn.
+\end_layout
+
+\begin_layout Description
+Simple
+\begin_inset space ~
+\end_inset
+
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame This draws a rectangular frame around the box.
+ The frame line thickness has the size of
+\series bold
+
+\backslash
+fboxrule
+\series default
+.
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Rectangular box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Oval
+\begin_inset space ~
+\end_inset
+
+box,
+\begin_inset space ~
+\end_inset
+
+thin This draws an oval frame around the box.
+ The frame line thickness has the size 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+
+\begin_inset Box ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Oval box, thin
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Oval
+\begin_inset space ~
+\end_inset
+
+box,
+\begin_inset space ~
+\end_inset
+
+thick This draws an oval frame around the box.
+ The frame line thickness has the size 0.8
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+
+\begin_inset Box Ovalbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Oval box, thick
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Drop
+\begin_inset space ~
+\end_inset
+
+shadow This draws a rectangular frame with a shadow around the box.
+ The frame line thickness has the size of
+\series bold
+
+\backslash
+fboxrule
+\series default
+, the shadow has a width of 4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+
+\begin_inset Box Shadowbox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Shadow box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Shaded
+\begin_inset space ~
+\end_inset
+
+background This draws a box with a red background.
+ Unlike 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
+use_makebox 0
+width "50col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+Shaded background box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Double
+\begin_inset space ~
+\end_inset
+
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame This draws a double-line rectangular frame around the box.
+ The line thickness of the inner frame is 0.75
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\series bold
+
+\backslash
+fboxrule
+\series default
+, the thickness of the outer frame is 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\series bold
+
+\backslash
+fboxrule
+\series default
+.
+ The distance between the lines is 1.5
+\begin_inset space \thinspace{}
+\end_inset
+
+
+\series bold
+
+\backslash
+fboxrule
+\series default
+
+\begin_inset space \thinspace{}
+\end_inset
+
++
+\begin_inset space \thinspace{}
+\end_inset
+
+0.5
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+
+\begin_inset Box Doublebox
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "20col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+\align center
+Double rectangular box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+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
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! fancybox
+\end_layout
+
+\end_inset
+
+ must be installed.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you use the decoration
+\family sans
+simple rectangular frame
+\family default
+ and no inner box, you can allow page breaks within a box.
+ Note that then, unlike other framed boxes, the frame always uses the whole
+ column width, the box is set as its own paragraph, and
+\series bold
+
+\backslash
+fboxrule
+\series default
+ and
+\series bold
+
+\backslash
+fboxsep
+\series default
+ have no effect on this box type.
+ The frame line thickness has the size of
+\series bold
+
+\backslash
+FrameRule
+\series default
+.
+
+\begin_inset Box Framed
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+Allow page break box
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Box Customization
+\begin_inset Index idx
+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
+
+\backslash
+fboxrule
+\series default
+ is 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+ It can be changed with the following command in TeX-code to e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+fboxrule}{2pt}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+fboxrule}{2pt}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Boxed
+position "c"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "25col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+\align center
+Rectangular box with
+\series bold
+
+\backslash
+fboxrule
+\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
+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, as with 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
+use_makebox 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 height 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
+use_makebox 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
+use_makebox 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
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\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.
+ 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
+FrameSep
+\series default
+.
+ 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
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+FrameRule}{5pt}
+\begin_inset Newline newline
+\end_inset
+
+
+\backslash
+setlength{
+\backslash
+FrameSep}{0.5cm}
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+FrameRule}{5pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\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
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+This is text in an
+\family sans
+allow page break
+\family default
+ box.
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+FrameRule}{0.4pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\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 background
+\family default
+ boxes the default space between the box content and the box border is 3
+\begin_inset space \thinspace{}
+\end_inset
+
+pt and can be changed with the value of
+\series bold
+
+\backslash
+fboxsep
+\series default
+.
+ The default background color red can either be changed locally with the
+ command
+\series bold
+
+\backslash
+definecolor{shadecolor}
+\series default
+ or globally with the menu
+\family sans
+Tools\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+Colors\SpecialChar \menuseparator
+shaded
+\begin_inset space ~
+\end_inset
+
+box
+\family 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
+definecolor
+\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
+
+ For example the appearance of the following shaded background box is set
+ with the TeX-Code commands
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\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
+setlength{
+\backslash
+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 Shaded
+position "t"
+hor_pos "c"
+has_inner_box 0
+inner_pos "t"
+use_parbox 0
+use_makebox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+
+\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
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+fboxsep}{3pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{rgb}{1,0,0}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Changed lengths and widths are valid for all boxes following the commands
+ that change them.
+\end_layout
+
+\begin_layout Section
+Minipages
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Minipages"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Minipages
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Minipages are treated by LaTeX as pages within pages and can therefore for
+ example have their own footnotes.
+\end_layout
+
+\begin_layout Standard
+Minipages are useful when you write documents with different languages.
+\end_layout
+
+\begin_layout Standard
+Below are two example minipages side by side.
+ Their width is set to 45
+\begin_inset space \thinspace{}
+\end_inset
+
+col% and they are separated by a horizontal fill, that was inserted via
+ the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Special
+\begin_inset space ~
+\end_inset
+
+Formatting\SpecialChar \menuseparator
+Horizontal
+\begin_inset space ~
+\end_inset
+
+Fill
+\family default
+.
+\begin_inset Newpage newpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "45col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+
+\lang ngerman
+Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang ngerman
+Dies ist eine deutsche Fußnote.
+\end_layout
+
+\end_inset
+
+.
+ Dies ist ein deutscher Text.
+ Dies ist ein deutscher Text.
+\end_layout
+
+\end_inset
+
+
+\begin_inset space \hfill{}
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+use_makebox 0
+width "45col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+ This is an English Text.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+This is an English footnote.
+\end_layout
+
+\end_inset
+
+ This is an English Text.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+The document-wide paragraph settings are ignored within minipages.
+ That means that there will be no space between paragraphs in minipages
+ although you set it to e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+
+\family sans
+MedSkip
+\family default
+ in the document settings.
+\end_layout
+
+\begin_layout Standard
+Minipages can also be used to set a background color for text parts, see
+ section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sub:Color-for-Paragraphs"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ You cannot have floats or margin notes inside minipages but minipages can
+ be used inside tables, floats, and other boxes.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Parboxes
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Parboxes"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Parboxes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+Parboxes are very similar to minipages with the difference that they cannot
+ have footnotes.
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 1
+use_makebox 0
+width "33col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+This a text within a parbox.
+ This a text within a parbox.
+\end_layout
+
+\begin_layout Plain Layout
+This footnote won't appear:
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+This footnote is inside a parbox and will therefore not appear.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Boxes for Words and Characters
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! for Characters
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Prevent Hyphenation
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Prevent-Hyphenation"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! to Prevent Hyphenation
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You can use the box type
+\family sans
+Makebox
+\family default
+ to prevent words or text from being hyphenated.
+\begin_inset Newline newline
+\end_inset
+
+Here is an example text:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+To prevent the hyphenation of the word
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+, put the word into a box, set the
+\family sans
+Inner
+\begin_inset space ~
+\end_inset
+
+box
+\family default
+ to
+\family sans
+Makebox
+\family default
+ and use no explicit width.
+\end_layout
+
+\begin_layout Standard
+This is the result:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+You can alternatively set the command
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+
+\backslash
+-
+\series default
+
+\begin_inset Quotes grd
+\end_inset
+
+ as TeX-Code directly before the word:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Quotes eld
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+-
+\end_layout
+
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+Of course the word now protrudes over the side margin.
+ To avoid this, add via the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Formatting\SpecialChar \menuseparator
+Ragged
+\begin_inset space ~
+\end_inset
+
+Line
+\begin_inset space ~
+\end_inset
+
+Break
+\family default
+ (shortcut
+\begin_inset Info
+type "shortcut"
+arg "newline-insert newline"
+\end_inset
+
+) a line break before the word:
+\end_layout
+
+\begin_layout Standard
+This line is an example to show how you can prevent the hyphenation of
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsection
+Vertical Alignment
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Vertical-Alignment"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! for Vertical Alignment
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Raiseboxes
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+With the help of the command
+\series bold
+
+\backslash
+raisebox
+\series default
+ you can align words, characters or other boxes vertically relative to the
+ surrounding text.
+
+\series bold
+
+\backslash
+raisebox
+\series default
+ is used with the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{lift}[height][depth]{box content}
+\end_layout
+
+\begin_layout Standard
+The lift can be a positive value to raise the box or a negative value to
+ lower the box.
+\end_layout
+
+\begin_layout Standard
+To align for example the word
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+ so that the bottom of the
+\begin_inset Quotes eld
+\end_inset
+
+deepest
+\begin_inset Quotes erd
+\end_inset
+
+ character
+\begin_inset Quotes eld
+\end_inset
+
+p
+\begin_inset Quotes erd
+\end_inset
+
+ is at the baseline, insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{
+\backslash
+depth}{
+\end_layout
+
+\begin_layout Standard
+in TeX-Code before the word.
+ After the word insert a closing brace
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+}
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ in TeX-Code.
+\begin_inset Newline newline
+\end_inset
+
+This is the result:
+\end_layout
+
+\begin_layout Standard
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{
+\backslash
+depth}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a raised word.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+When you raise or lower characters in a line, the line distance will be
+ spread:
+\end_layout
+
+\begin_layout Standard
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{-
+\backslash
+depth}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a lowered word.
+\begin_inset Newline newline
+\end_inset
+
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{0.5cm}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+testing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a raised word.
+\end_layout
+
+\begin_layout Standard
+If you want to prevent this for a certain reason, set the box height to
+ a zero value.
+ For example use
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+raisebox{-
+\backslash
+depth}[0pt]{
+\end_layout
+
+\begin_layout Standard
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{-
+\backslash
+depth}[0pt]{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+preventing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a lowered word.
+\begin_inset Newline newline
+\end_inset
+
+This is a text line with the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+raisebox{0.5cm}[0pt]{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+testing
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ as a raised word.
+\end_layout
+
+\begin_layout Section
+Colored Boxes
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Colored-Boxes"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Color
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Color for Text
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Color ! for Text
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To color the background of text the text must be put into a so called
+\begin_inset Quotes eld
+\end_inset
+
+colorbox
+\begin_inset Quotes erd
+\end_inset
+
+.
+ This requires that the LaTeX-package
+\series bold
+color
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! color
+\end_layout
+
+\end_inset
+
+ is loaded in the document preamble with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+@ifundefined{textcolor}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Phantom HPhantom
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+\begin_inset space ~
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+{
+\backslash
+usepackage{color}}{}
+\end_layout
+
+\begin_layout Standard
+The package
+\series bold
+color
+\series default
+ will be loaded automatically by LyX when you color text.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+To avoid it being loaded twice the command
+\series bold
+
+\backslash
+@ifundefined
+\series default
+ is used.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+Colorboxes are created with the command
+\series bold
+
+\backslash
+colorbox
+\series default
+.
+ This will be used with the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+colorbox{color}{box content}
+\end_layout
+
+\begin_layout Standard
+The box content can also be a box and colorboxes can also be within other
+ boxes.
+\end_layout
+
+\begin_layout Standard
+The following colors are predefined:
+\begin_inset Newline newline
+\end_inset
+
+
+\family sans
+black
+\family default
+,
+\family sans
+blue
+\family default
+,
+\family sans
+cyan
+\family default
+\series bold
+,
+\series default
+
+\family sans
+green
+\family default
+,
+\family sans
+magenta
+\family default
+,
+\family sans
+red
+\family default
+,
+\family sans
+white
+\family default
+, and
+\family sans
+yellow
+\family default
+.
+\begin_inset Newline newline
+\end_inset
+
+You can also define your own color as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+To have e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space \space{}
+\end_inset
+
+a red background for a word, insert the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+colorbox{red}{
+\end_layout
+
+\begin_layout Standard
+before the word in TeX-Code.
+ After the word insert a closing brace
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+}
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ in TeX-Code.
+\begin_inset Newline newline
+\end_inset
+
+This is the result:
+\end_layout
+
+\begin_layout Standard
+This is a line where the word
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+colorbox{red}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+Attention!
+\begin_inset Quotes erd
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ has a red background.
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+If you would like the box frame in a different color, you can use the command
+
+\series bold
+
+\backslash
+fcolorbox
+\series default
+ with the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+fcolorbox{frame color}{box color}{box content}
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+fcolorbox
+\series default
+ is an extension to
+\series bold
+
+\backslash
+colorbox
+\series default
+.
+ The frame thickness and the space between the frame and the box content
+ can be adjusted with the lengths
+\series bold
+
+\backslash
+fboxrule
+\series default
+ and
+\series bold
+
+\backslash
+fboxsep
+\series default
+, respectively, as described in section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Decoration"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+For the following example the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+fcolorbox{cyan}{magenta}{
+\end_layout
+
+\begin_layout Standard
+was used.
+\end_layout
+
+\begin_layout Standard
+Here is an example where the frame line thickness was set to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+mm:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fboxrule 1mm
+\backslash
+fboxsep 1mm
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{cyan}{magenta}{
+\end_layout
+
+\end_inset
+
+This is text within a colored, framed box.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+Of course you can also have colored text inside a colorbox:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fcolorbox{cyan}{magenta}{
+\end_layout
+
+\end_inset
+
+
+\color yellow
+This is colored text within a colored, framed box.
+\color none
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+fboxrule 0.4pt
+\backslash
+fboxsep 3pt
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset VSpace medskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Text in colorboxes cannot have line breaks.
+ To color multiple text lines or paragraphs, use a box inside a colorbox
+ as described in the following.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Color for Paragraphs
+\begin_inset CommandInset label
+LatexCommand label
+name "sub:Color-for-Paragraphs"
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Color ! for Paragraphs
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To set the background color for more than one text line, put the text into
+ a minipage.
+ Before the minipage insert the
+\series bold
+
+\backslash
+colorbox
+\series default
+ command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+colorbox{color}{
+\end_layout
+
+\begin_layout Standard
+in TeX-Code.
+ After the minipage insert a closing brace
+\begin_inset Quotes eld
+\end_inset
+
+
+\series bold
+}
+\series default
+
+\begin_inset Quotes erd
+\end_inset
+
+ in TeX-Code.
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+colorbox{lightgrey}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"