+\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
+