+has_inner_box 1
+inner_pos "c"
+use_parbox 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
+
+Another application for minipages are footnotes within tables.
+ Due to a LaTeX restriction footnotes within tables doesn't appear at the
+ bottom of the current page.
+ But when you put the table with the footnote to a minipage, the footnote
+ will appear at its bottom, numbered with Latin letters.
+ The footnote number is reset to 1 in every minipage but not outside the
+ minipages.
+\end_layout
+
+\begin_layout Standard
+The footnote of this table doesn't appear:
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="4">
+<features>
+<column alignment="center" valignment="top" width="0pt">
+<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" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="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" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+This is a footnote within a table.
+\end_layout
+
+\end_inset
+
+
+\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
+4
+\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
+a
+\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
+c
+\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
+d
+\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
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\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
+g
+\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
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\align center
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "c"
+use_parbox 0
+width "30col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status open
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="4">
+<features>
+<column alignment="center" valignment="top" width="0pt">
+<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" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+1
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="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" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+3
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+This is a footnote within a table.
+\end_layout
+
+\end_inset
+
+
+\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
+4
+\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
+a
+\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
+c
+\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
+d
+\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
+e
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+f
+\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
+g
+\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
+h
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\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 ~
+\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
+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.
+ The main difference to minipages is that minipages are in contrary to parboxes
+ no real boxes but LaTeX-environments.
+\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
+width "33col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\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
+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
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! to Prevent Hyphenation
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+You can use a special kind of boxes to prevent words or text to be 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
+
+, add the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+mbox{
+\end_layout
+
+\begin_layout Standard
+in TeX-Code before the word.
+ Behind 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.
+\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 ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+mbox{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\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
+Special
+\begin_inset space ~
+\end_inset
+
+Formatting\SpecialChar \menuseparator
+Line
+\begin_inset space ~
+\end_inset
+
+Break
+\family default
+ (shortcut
+\series bold
+Ctrl-Return
+\series default
+) 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 ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+mbox{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Quotes eld
+\end_inset
+
+veryverylongword
+\begin_inset Quotes erd
+\end_inset
+
+.
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\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
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! for Vertical Alignment
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index
+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 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.
+ Behind 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 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 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 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 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 raised word.
+\end_layout
+
+\begin_layout Section
+Colored Boxes
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Colored-Boxes"
+
+\end_inset
+
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! Color
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Color for Text
+\begin_inset Index
+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
+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 ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{ }
+\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 that it is 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 ~
+\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.
+ Behind 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 have 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
+
+\series bold
+\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
+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.
+ Behind 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"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+width "100col%"
+special "none"
+height "1in"
+height_special "totalheight"
+status collapsed
+
+\begin_layout Plain Layout
+This is text with background color.
+ This is text with background color.
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset VSpace defskip
+\end_inset
+
+The text can have footnotes
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+Another example footnote
+\end_layout
+
+\end_inset
+
+ and can include tables and figures.
+\end_layout
+
+\begin_layout Plain Layout
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="3" columns="3">
+<features>
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<column alignment="center" valignment="top" width="0">
+<row>
+<cell alignment="center" valignment="top" topline="true" 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" 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
+<
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+b2
+\begin_inset Quotes erd
+\end_inset
+
+|
+\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" 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
+§
+\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
+c
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Rotated and Scaled Boxes
+\end_layout
+
+\begin_layout Standard
+To use the the commands described in this section, the LaTeX-package
+\series bold
+graphicx
+\series default
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! graphicx
+\end_layout
+
+\end_inset
+
+ needs to be loaded in the document preamble with the command
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+@ifundefined{rotatebox}
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+hphantom{ }
+\end_layout
+
+\end_inset
+
+{
+\backslash
+usepackage{graphicx}}{}
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Some DVI-viewers can't display rotated or scaled material.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset Note Greyedout
+status open
+
+\begin_layout Plain Layout
+
+\series bold
+Note:
+\series default
+ Floats mustn't be inside a rotated or scaled box.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Rotated Boxes
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Boxes ! rotated
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Rotated material
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Figures ! rotated
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index
+status collapsed
+
+\begin_layout Plain Layout
+Table Customization ! Rotating
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To rotate material, you can put it into a rotated box.
+ Such a box is created using the command
+\series bold
+
+\backslash
+rotatebox
+\series default
+ in TeX-Code with the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+rotatebox[rotation origin]{rotation angle}{box content}
+\end_layout
+
+\begin_layout Standard
+The rotation origin is specified in the form
+\series bold
+origin=position
+\series default
+.
+ The following positions are possible:
+\emph on
+c
+\emph default
+ (center),
+\emph on
+l
+\emph default
+ (left),
+\emph on
+r
+\emph default
+ (right),
+\emph on
+b
+\emph default
+ (bottom),
+\emph on
+t
+\emph default
+ (top), and also expedient combinations of the four base positions.
+ For example
+\emph on
+lt
+\emph default
+ means, that the rotation origin is at the top left corner of the box.
+ When no rotation origin is specified, the position
+\emph on
+l
+\emph default
+ will be used.
+ The rotation angle is a number that can be negative that specifies the
+ angle in degrees.
+ The rotation direction is counterclockwise.
+\end_layout
+
+\begin_layout Standard
+In the following example the command
+\series bold
+
+\backslash
+rotatebox[origin=c]{60}{
+\series default
+ was inserted as TeX-Code before the text
+\begin_inset Quotes eld
+\end_inset
+
+with rotated
+\begin_inset Quotes erd
+\end_inset
+
+; after the text the box was closed by a closing brace
+\series bold
+}
+\series default
+ in TeX-Code.
+\end_layout
+
+\begin_layout Standard
+This is a line
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rotatebox[origin=c]{60}{
+\end_layout
+
+\end_inset
+
+with rotated
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+}
+\end_layout
+
+\end_inset
+
+ text.
+\end_layout
+
+\begin_layout Standard
+The box content can also be another box or an inline formula:
+\end_layout
+
+\begin_layout Standard
+This is a line
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rotatebox[origin=r]{-60}{
+\end_layout
+
+\end_inset
+
+
+\begin_inset Box Doublebox
+position "c"
+hor_pos "c"
+has_inner_box 0