+\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 Graphics
+ filename ../images/box-insert.png
+ scale 85
+ scaleBeforeRotation
+
+\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"