commit b898862fb201933b0af0a23ecf7f958b646b5a36
Author: Guillaume Munch <[email protected]>
Date: Thu Nov 12 16:23:08 2015 +0000
Documentation for varwidth.module
diff --git a/lib/doc/EmbeddedObjects.lyx b/lib/doc/EmbeddedObjects.lyx
index 8e957d9..e52d791 100644
--- a/lib/doc/EmbeddedObjects.lyx
+++ b/lib/doc/EmbeddedObjects.lyx
@@ -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
diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index 0e82bcd..78afd92 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -147,6 +147,7 @@ enumitem
\html_css_as_file 0
\html_be_strict true
\author -195340706 "Georg Baum"
+\author 2047637253 "Guillaume Munch"
\end_header
\begin_body
@@ -8171,14 +8172,12 @@ Verbatim
\end_layout
\begin_layout Verbatim
-
This is verbatim.
\end_layout
\begin_layout Verbatim
\noindent
\align block
-
The following 2 lines are empty:
\end_layout
@@ -8191,7 +8190,6 @@ The following 2 lines are empty:
\end_layout
\begin_layout Verbatim
-
Almost everything is allowed in verbatim:"%&$ยง#~'`
\backslash
}][{|
@@ -22651,7 +22649,11 @@ This is a minipage with some stupid dummy text.
\begin_layout Standard
When you right-click on a minipage box, you can transform the box to another
box type.
- All box types and their settings are explained in detail in chapter
+ All box types and their settings
+\change_inserted 2047637253 1447344632
+, as well as variable-width minipages,
+\change_unchanged
+ are explained in detail in chapter
\emph on
Boxes
\emph default