+\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 german
+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 german
+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 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 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 its width to 1
+\begin_inset space \thinspace{}
+\end_inset
+
+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 "1in"
+special "width"
+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 "1in"
+special "width"
+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