#LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 501
+\lyxformat 503
\begin_document
\begin_header
\origin unavailable
\textclass scrbook
\begin_preamble
-% if pdflatex is used
-\usepackage{ifpdf}
-\ifpdf
-
-% set fonts for nicer pdf view
-\IfFileExists{lmodern.sty}
- {\usepackage{lmodern}}{}
-
-\fi % end if pdflatex is used
-
% that links to image floats jumps
% to the beginning of the float and
% not to its caption
\language_package default
\inputencoding auto
\fontencoding global
-\font_roman "default" "default"
-\font_sans "default" "default"
-\font_typewriter "default" "default"
+\font_roman "lmodern" "default"
+\font_sans "lmss" "default"
+\font_typewriter "lmtt" "default"
\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sf_scale 100 100
\font_tt_scale 100 100
\graphics default
-\default_output_format default
+\default_output_format pdf2
\output_sync 0
\bibtex_command default
\index_command default
\end_layout
-\begin_layout Plain Layout
+\end_inset
+
\end_layout
+\begin_layout Standard
+An alternative and simpler solution is to use the module
+\family sans
+Variable-width Minipages
+\family default
+, see sec.
+\begin_inset space \thinspace{}
\end_inset
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Minipages"
+
+\end_inset
+
+.
+ Variable-width minipages adapt automatically to the width of the figures
+ and tables.
+ They do not require an explicit width to be given, and they improve the
+ horizontal alignment of the figures.
+ The LyX example file
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of how to do this.
\end_layout
\begin_layout Section
\end_layout
+\begin_layout Standard
+\begin_inset VSpace bigskip
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\SpecialChar LyX
+ has also basic support for minipages whose size is automatically determined
+ by the width of their contents, via the module
+\family sans
+Variable-width Minipages
+\family default
+.
+ The \SpecialChar LyX
+ example file
+\emph on
+varwidth-floats-side-by-side
+\emph default
+ gives examples of variable-width minipages used for placing two floats
+ side-by-side.
+\end_layout
+
\begin_layout Section
Parboxes
\begin_inset CommandInset label
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation
\begin_layout Plain Layout
\begin_inset Graphics
- filename ../images/dialog-show-new-inset_graphics.png
+ filename ../images/dialog-show-new-inset_graphics.svgz
scale 70
scaleBeforeRotation