]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Documentation for varwidth.module
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index b56d1c3cd2a0f6c074674c7efc40b3348ad36cbf..e52d791a932cbbebff4bfae223418a8a787401e9 100644 (file)
@@ -2,7 +2,7 @@
 \lyxformat 501
 \begin_document
 \begin_header
-\origin unavailable
+\origin /systemlyxdir/doc/
 \textclass scrbook
 \begin_preamble
 % if pdflatex is used
@@ -236,11 +236,12 @@ graphicboxes
 \papercolumns 1
 \papersides 2
 \paperpagestyle default
-\tracking_changes false
+\tracking_changes true
 \output_changes false
 \html_math_output 0
 \html_css_as_file 0
 \html_be_strict false
+\author 2047637253 "Guillaume Munch" 
 \end_header
 
 \begin_body
@@ -26916,6 +26917,36 @@ Float on the right side.
 \end_inset
 
 
+\change_inserted 2047637253 1447344411
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted 2047637253 1447344943
+Putting two floats side-by-side is made simpler using variable-width minipages
+ (Section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "sec:Varwidth"
+
+\end_inset
+
+).
+ Variable-width minipages adapt automatically to the width of the figures.
+ They do not require an explicit width to be given, and they improve the
+ horizontal alignment of the figures.
+ The file 
+\family typewriter
+examples/varwidth-floats-side-by-side.lyx
+\family default
+ gives examples of how to do this.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Section
@@ -34090,6 +34121,59 @@ Note:
 \end_inset
 
 
+\change_inserted 2047637253 1447344098
+
+\end_layout
+
+\begin_layout Section
+
+\change_inserted 2047637253 1447344355
+Variable-width Minipages
+\begin_inset CommandInset label
+LatexCommand label
+name "sec:Varwidth"
+
+\end_inset
+
+
+\begin_inset Index idx
+status open
+
+\begin_layout Plain Layout
+
+\change_inserted 2047637253 1447344099
+Boxes ! Minipages (variable width)
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\change_inserted 2047637253 1447344362
+\SpecialChar LyX
+ has a limited support for minipages whose size is automatically determined
+ by the width of their contents, via the module 
+\emph on
+Variable-width Minipages
+\emph default
+.
+ The file 
+\family typewriter
+examples/varwidth-floats-side-by-side.lyx
+\family default
+ gives examples of variable-width minipages used for placing two floats
+ side-by-side.
+ This requires the \SpecialChar LaTeX
+ package 
+\family typewriter
+Varwidth
+\family default
+.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Section