#LyX 1.6.0svn created this file. For more info see http://www.lyx.org/
-\lyxformat 337
+\lyxformat 338
\begin_document
\begin_header
\textclass scrbook
% not to its caption
\usepackage[figure]{hypcap}
-% the pages of the TOC are numbered roman
+% the pages of the TOC is numbered roman
% and a PDF-bookmark for the TOC is added
-\pagenumbering{roman}
\let\myTOC\tableofcontents
-\renewcommand{\tableofcontents}{%
- \pdfbookmark[1]{\contentsname}{}
- \myTOC
- \cleardoublepage
- \pagenumbering{arabic}}
+\renewcommand\tableofcontents{%
+ \frontmatter
+ \pdfbookmark[1]{\contentsname}{}
+ \myTOC
+ \mainmatter }
% provides caption formatting
\usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
long full title with default width long full title with default width long
full title with default width
\begin_inset OptArg
-status open
+status collapsed
\begin_layout Plain Layout
caption with default width
cm
\begin_inset OptArg
-status open
+status collapsed
\begin_layout Plain Layout
caption with width
\series default
and
\series bold
-Text
-\begin_inset space ~
-\end_inset
-
Wrap
-\begin_inset space ~
-\end_inset
-
-Float
\series default
.
\end_layout
\end_layout
\begin_layout Standard
-To insert the list of algorithms you can in this case not use the menu
+To insert the list of algorithms you can not use the menu
\family sans
Insert\SpecialChar \menuseparator
List
TOC\SpecialChar \menuseparator
List of Algorithms
\family default
- when your document is an English one.
- For non-English documents, use this command in TeX-Code instead:
+ when your document is a non-English one.
+ In this case use this command in TeX-Code instead:
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Subsection
-Text Wrap Floats
+Wrap Floats
\begin_inset Index
status collapsed
\begin_layout Plain Layout
-Floats ! Text Wrap Floats
+Floats ! Wrap Floats
\end_layout
\end_inset
\begin_inset CommandInset label
LatexCommand label
-name "sub:floatflt-wrap-float"
+name "sub:wrap-floats"
\end_inset
\begin_inset Wrap figure
lines 0
placement l
-overhang 0col%
+overhang 1cm
width "40col%"
status open
\end_inset
-This is a wrapped figure, and this is the brilliant caption that describes
- it.
-\begin_inset VSpace medskip
-\end_inset
-
-
+This is a figure wrap float.
\end_layout
\end_inset
\end_inset
-This float type is used if you want to
-\begin_inset Quotes eld
+ This float type is used if you want to wrap text around a figure or table
+ so that it only occupies some fraction of the column width.
+ It can be inserted using the menu
+\family sans
+Insert\SpecialChar \menuseparator
+Floats\SpecialChar \menuseparator
+Figure
+\begin_inset space ~
\end_inset
-wrap
-\begin_inset Quotes erd
+Wrap
+\begin_inset space ~
\end_inset
- text around a figure so that it only occupies some fraction of the column
- width.
- It can be inserted using the menu
+Float
+\family default
+ or
\family sans
-Insert\SpecialChar \menuseparator
-Floats\SpecialChar \menuseparator
-Text
+Table
\begin_inset space ~
\end_inset
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-vspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-4mm
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+vspace{4mm}
\end_layout
\end_inset
\end_inset
- The width and placement of the float is adjusted by right-clicking on the
- float box.
+ The settings of the float can be modified by right-clicking on the float
+ box.
+ The mandatory settings are the float
+\family sans
+Placement
+\family default
+ and its
+\family sans
+Width
+\family default
+.
+ Optional are the
+\family sans
+Overhang
+\family default
+ that specifies how much the float is set into the paragraph
+\begin_inset space \thinspace{}
+\end_inset
+
+/
+\begin_inset space \thinspace{}
+\end_inset
+
+page margin, and the
+\family sans
+Line
+\begin_inset space ~
+\end_inset
+
+span
+\family default
+ that specifies how many text lines the float will approximately need.
+ The line span is often hard to be approximated, so better only use it when
+ you encounter float placement problems.
+ You can furthermore decide if LaTeX is allowed to let the float float within
+ the paragraph or to surrounding paragraphs.
Figure
\begin_inset space ~
\end_inset
\begin_inset space \thinspace{}
\end_inset
-col%.
+col%, 1
+\begin_inset space \thinspace{}
+\end_inset
+
+cm overhang, set to the left.
\begin_inset Foot
status collapsed
\end_inset
- Some space was added under the caption to separate it better from the surroundi
-ng text.
-\end_layout
-\begin_layout Standard
-The LaTeX-package
-\series bold
-wrapfig
-\series default
- also supports table wrap floats, but they are not yet supported by LyX.
- If you need this, read the documentation of
-\series bold
-wrapfig
-\series default
-
-\begin_inset CommandInset citation
-LatexCommand cite
-key "wrapfig"
-
-\end_inset
-
-.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-Rotated floats are always placed on its own page (or column, when you have
- a two-column document).
- They are rotated so that you can read them from the outside margin.
+Rotated floats are always placed on its own page (or column, in case you
+ have a multi-column document).
+ You can let them span several columns using the float settings option
+\family sans
+Span
+\begin_inset space ~
+\end_inset
+
+columns
+\family default
+.
+ Floats are rotated so that you can read them from the outside margin.
To force a certain rotation direction for all pages, you can add either
the option
\series bold
we refer to its documentation
\begin_inset CommandInset citation
LatexCommand cite
-key "caption,caption-de"
+key "caption"
\end_inset
Note
\family default
.
- There are five types of notes:
+ There are three types of notes:
\end_layout
\begin_layout Description
indented and greyed out notes can have footnotes.
\end_layout
-\begin_layout Description
-Framed This note will appear in the output as framed text.
- Its note-box looks like this:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Graphics
- filename clipart/FramedNoteImageQt4.png
- display false
- scale 85
- scaleBeforeRotation
-
-\end_inset
-
-
-\begin_inset Box Framed
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-This is text in a note box that appears framed in the output.
-\end_layout
-
-\end_inset
-
- In contrary to framed boxes
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Framed boxes are described in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Framed-Boxes"
-
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
- the frame uses always the whole text width and the note is set into its
- own paragraph.
-\end_layout
-
-\begin_layout Description
-Shaded This note will appear in the output with red background color.
- Its note box looks like this:
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Newline newline
-\end_inset
-
-
-\begin_inset Graphics
- filename clipart/ShadedNoteImageQt4.png
- display false
- scale 85
- scaleBeforeRotation
-
-\end_inset
-
-
-\begin_inset Box Shaded
-position "t"
-hor_pos "c"
-has_inner_box 0
-inner_pos "t"
-use_parbox 0
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-This text in a note box appears in the output with red background.
-\end_layout
-
-\end_inset
-
-In contrary to colored boxes
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-Colored boxes are described in section
-\begin_inset space ~
-\end_inset
-
-
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "sec:Colored-Boxes"
-
-\end_inset
-
-.
-\end_layout
-
-\end_inset
-
- the note uses always the whole text width and the note is set into its
- own paragraph.
-\end_layout
-
\begin_layout Standard
\begin_inset VSpace bigskip
\end_inset
with blue text.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
-\end_inset
-
-
-\end_layout
-
-\begin_layout Standard
-The text style of
-\family sans
-Framed
-\family default
- and
-\family sans
-Shaded
-\family default
- notes can be set in the
-\family sans
-Text Style
-\family default
- dialog.
-\end_layout
-
-\begin_layout Standard
-The default frame width for
-\family sans
-Framed
-\family default
- notes is 0.4
-\begin_inset space \thinspace{}
-\end_inset
-
-pt; it can be changed by changing the size
-\series bold
-
-\backslash
-FrameRule
-\series default
-.
- The default space between the note content and the frame is 9
-\begin_inset space \thinspace{}
-\end_inset
-
-pt; it can be changed by changing the size
-\series bold
-
-\backslash
-FrameSep
-\series default
-.
- For example the frame appearance of the following
-\family sans
-Framed
-\family default
- note is set with the TeX-Code commands
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\backslash
-FrameRule 5pt
-\backslash
-FrameSep 0.5cm
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-FrameRule 5pt
-\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
-width "100col%"
-special "none"
-height "1in"
-height_special "totalheight"
-status open
-
-\begin_layout Plain Layout
-This is text in a
-\family sans
-Framed
-\family default
- note.
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-FrameRule 0.4pt
-\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
-\family default
- notes the default space between the note content and the note border is
- 3
-\begin_inset space \thinspace{}
-\end_inset
-
-pt; it can be changed by changing the size
-\series bold
-
-\backslash
-fboxsep
-\series default
-.
-\begin_inset Newline newline
-\end_inset
-
-The default background color red can be changed with the command
-\series bold
-
-\backslash
-definecolor{shadebox}
-\series 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
-def
-\series default
-\SpecialChar \textcompwordmark{}
-
-\series bold
-inecolor
-\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
-
-.
-\end_layout
-
-\begin_layout Standard
-For example the appearance of the following
-\family sans
-Shaded
-\family default
- note is set with the TeX-Code commands
-\end_layout
-
-\begin_layout Standard
-
-\series bold
-
-\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
-fboxsep 0.5cm
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\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
-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
-\family default
-\color none
-
-\color yellow
-note with darkgreen background.
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-fboxsep 3pt
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-definecolor{shadecolor}{rgb}{1,0,0}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
\begin_layout Section
Footnotes
\begin_inset CommandInset label
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Framed-Boxes"
+reference "sec:Decoration"
\end_inset
\end_layout
-\begin_layout Section
-Framed Boxes
+\begin_layout Subsection
+Decoration
\begin_inset CommandInset label
LatexCommand label
-name "sec:Framed-Boxes"
+name "sec:Decoration"
\end_inset
status collapsed
\begin_layout Plain Layout
-Boxes ! Frames
+Boxes ! Decoration
\end_layout
\end_inset
\end_layout
\begin_layout Standard
-The frame style of the box can be specified in the box-dialog in the drop-down
+The type of the box can be specified in the box-dialog in the drop-down
list
\family sans
-Type
+Decoration
\family default
.
- The following frame types are possible:
+ The following types are possible:
\end_layout
\begin_layout Description
-Rectangular
+Simple
+\begin_inset space ~
+\end_inset
+
+rectangular
\begin_inset space ~
\end_inset
-box This draws a rectangle frame around the box.
+frame This draws a rectangle frame around the box.
The frame line thickness has the size of
\series bold
\end_inset
+\end_layout
+
+\begin_layout Description
+Allow
+\begin_inset space ~
+\end_inset
+
+page
+\begin_inset space ~
+\end_inset
+
+break 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, in contrary to 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
+ has 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
+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 Description
\end_layout
\begin_layout Description
-Shadow
+Drop
\begin_inset space ~
\end_inset
-box This draws a rectangle frame with a shadow around the box.
+shadow This draws a rectangle frame with a shadow around the box.
The frame line thickness has the size of
\series bold
\end_inset
+\end_layout
+
+\begin_layout Description
+Shaded
+\begin_inset space ~
+\end_inset
+
+background This draws a box with red background color.
+ In contrary to 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
+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
\begin_inset space ~
\end_inset
-box This draws a double-line rectangle frame around the box.
+rectangular
+\begin_inset space ~
+\end_inset
+
+frame This draws a double-line rectangle frame around the box.
The line thickness of the inner frame is 0.75
\begin_inset space \thinspace{}
\end_inset
\begin_layout Plain Layout
\align center
-Double box
+Double rectangular box
\end_layout
\end_inset
\begin_inset VSpace bigskip
\end_inset
-LyX's box label will change to the used frame style when you set a frame.
- To be able to use the different frame styles, the LaTeX-package
+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
must be installed.
\end_layout
-\begin_layout Standard
-\begin_inset VSpace bigskip
+\begin_layout Section
+Box customization
+\begin_inset Index
+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
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+status open
\begin_layout Plain Layout
\align center
\backslash
setlength{
\backslash
-fboxrule}{0.4pt}
+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, like for 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
+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 heigth 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
+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
+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
\begin_inset VSpace bigskip
\end_inset
-The space between the frame and the box content is for all frame styles
- by default 3
+
+\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.
- You can change it by setting the length
+ 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
-fboxsep
+FrameSep
\series default
- to another value.
- For example the command
+.
+ 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
\backslash
setlength{
\backslash
-fboxsep}{10pt}
-\end_layout
-
-\begin_layout Standard
-sets the value to 10
-\begin_inset space \thinspace{}
+FrameRule}{5pt}
+\begin_inset Newline newline
\end_inset
-pt, like for the following box:
+
+\backslash
+setlength{
+\backslash
+FrameSep}{0.5cm}
\end_layout
\begin_layout Standard
\backslash
setlength{
\backslash
-fboxsep}{10pt}
+FrameRule}{5pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+setlength{
+\backslash
+FrameSep}{0.5cm}
\end_layout
\end_inset
-\begin_inset Box Boxed
-position "c"
+\begin_inset Box Framed
+position "t"
hor_pos "c"
-has_inner_box 1
-inner_pos "c"
+has_inner_box 0
+inner_pos "t"
use_parbox 0
-width "25col%"
+width "100col%"
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+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
+This is text in an
+\family sans
+allow page break
+\family default
+ box.
\end_layout
\end_inset
\backslash
setlength{
\backslash
-fboxsep}{3pt}
+FrameRule}{0.4pt}
\end_layout
-\end_inset
+\begin_layout Plain Layout
+\backslash
+setlength{
+\backslash
+FrameSep}{9pt}
\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
+\begin_inset VSpace bigskip
+\end_inset
-\series bold
-\backslash
-cornersize*{1cm}
\end_layout
\begin_layout Standard
-sets the diameter to 1
+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
-cm.
- The command
-\end_layout
-
-\begin_layout Standard
-
+pt and can be changed with the value of
\series bold
\backslash
-cornersize{num}
-\end_layout
+fboxsep
+\series default
+.
+ The default background color red can either be changed locally with the
+ command
+\series bold
-\begin_layout Standard
-sets the diameter to
+\backslash
+definecolor{shadebox}
+\series default
+ or globally with the menu
\family sans
-num
-\begin_inset space \thinspace{}
-\end_inset
-
-×
-\begin_inset space \thinspace{}
+Tools\SpecialChar \menuseparator
+Preferences\SpecialChar \menuseparator
+Colors\SpecialChar \menuseparator
+shaded
+\begin_inset space ~
\end_inset
-minimum(width and heigth of box)
+box
\family default
.
- The default is
+ The scheme of the
\series bold
\backslash
-cornersize{0.5}
+definecolor
\series default
-.
-\end_layout
-
-\begin_layout Standard
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
+ command is explained in section
+\begin_inset space ~
+\end_inset
-\backslash
-cornersize*{1.5cm}
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Tables"
\end_inset
-
-\begin_inset Box Ovalbox
-position "c"
-hor_pos "c"
-has_inner_box 1
-inner_pos "c"
-use_parbox 0
-width "25col%"
-special "none"
-height "1in"
-height_special "totalheight"
+.
+\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-\align center
-Oval box with
+Note that
\series bold
\backslash
-cornersize
+definecolor
\series default
-
-\begin_inset space \thinspace{}
-\end_inset
-
-=
-\begin_inset space \thinspace{}
+ requires the LaTeX-package
+\series bold
+color
+\series default
+ in the preamble, see section
+\begin_inset space ~
\end_inset
-1.5
-\begin_inset space \thinspace{}
-\end_inset
-cm
-\end_layout
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Colored-Boxes"
\end_inset
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-cornersize{0.5}
+.
\end_layout
\end_inset
-
+ For example the appearance of the following shaded background note is set
+ with the TeX-Code commands
\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
+setlength{
+\backslash
+fboxsep}{0.5cm}
\series default
-.
- It it set to 2
-\begin_inset space \thinspace{}
-\end_inset
-pt for the following box by this command:
-\end_layout
+\begin_inset Newline newline
+\end_inset
-\begin_layout Standard
\series bold
\backslash
-setlength{
-\backslash
-shadowsize}{2pt}
+definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
\end_layout
\begin_layout Standard
\backslash
setlength{
\backslash
-shadowsize}{2pt}
+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 Shadowbox
-position "c"
+\begin_inset Box Shaded
+position "t"
hor_pos "c"
-has_inner_box 1
-inner_pos "c"
+has_inner_box 0
+inner_pos "t"
use_parbox 0
-width "25col%"
+width "100col%"
special "none"
height "1in"
height_special "totalheight"
-status collapsed
+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
+\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
\backslash
setlength{
\backslash
-shadowsize}{4pt}
+fboxsep}{3pt}
+\end_layout
+
+\begin_layout Plain Layout
+
+
+\backslash
+definecolor{shadecolor}{rgb}{1,0,0}
\end_layout
\end_inset
Fill
\family default
.
+\begin_inset Newpage newpage
+\end_inset
+
+
\end_layout
\begin_layout Standard
\series bold
\backslash
-@ifundef\SpecialChar \textcompwordmark{}
-ined
+@ifundefined
\series default
is used.
\end_layout
\begin_inset CommandInset ref
LatexCommand ref
-reference "sec:Framed-Boxes"
+reference "sec:Decoration"
\end_inset
status open
\begin_layout Plain Layout
+
int a=5;
\end_layout
status open
\begin_layout Plain Layout
+
\begin_inset Caption
\begin_layout Plain Layout
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
status open
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'This is a German word: Tschüß'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\begin_layout Plain Layout
+
def func(param):
\end_layout
\begin_layout Plain Layout
+
'this is a python function'
\end_layout
\begin_layout Plain Layout
+
pass
\end_layout
\backslash
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
-
-\end_inset
-
-
-\end_layout
-
-\end_inset
-
-vspace
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-{
-\end_layout
-
-\end_inset
-
-4mm
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
+vspace{4mm}
\end_layout
\end_inset