]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/EmbeddedObjects.lyx
Cmake export tests: Handle attic files with now missing references to png graphics
[lyx.git] / lib / doc / EmbeddedObjects.lyx
index d9834baab41c4693972d1a6d21f79e49690df51c..ecc7a65bc26f55a739c6bbd2a6433912c6fdbf15 100644 (file)
@@ -1,20 +1,10 @@
 #LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 500
+\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
@@ -170,18 +160,18 @@ graphicboxes
 \language_package default
 \inputencoding auto
 \fontencoding global
-\font_roman default
-\font_sans default
-\font_typewriter default
-\font_math auto
+\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_sc false
 \font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\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
@@ -26909,13 +26899,37 @@ Float on the right side.
 
 \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
@@ -34092,6 +34106,30 @@ Note:
 
 \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
@@ -36551,7 +36589,7 @@ reference "sec:Wrap-Floats"
 
 \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
 
@@ -36617,7 +36655,7 @@ text
 
 \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
 
@@ -36699,7 +36737,7 @@ text
 
 \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
 
@@ -36765,7 +36803,7 @@ text
 
 \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
 
@@ -36803,7 +36841,7 @@ text
 
 \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
 
@@ -36908,7 +36946,7 @@ text
 
 \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
 
@@ -36970,7 +37008,7 @@ text
 
 \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
 
@@ -37066,7 +37104,7 @@ text
 
 \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
 
@@ -37161,7 +37199,7 @@ text
 
 \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