]> git.lyx.org Git - lyx.git/blob - autotests/export/docbook/subfigures_EmbeddedObjects.xml
ctests: add test cases for DocBook
[lyx.git] / autotests / export / docbook / subfigures_EmbeddedObjects.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- This DocBook file was created by LyX 2.4.0dev
3   See http://www.lyx.org/ for more information -->
4 <book xml:lang="en_US" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:xi="http://www.w3.org/2001/XInclude" version="5.2">
5 <title>LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material manual</title>
6 <chapter>
7 <title>Figures</title>
8 <section>
9 <title>Figure Floats</title>
10 <para>Normally only one image is inserted to a figure float, but sometimes you might want to use two images with separate subcaptions. This can be done by inserting image floats into existing image floats. Note that only the main caption of the float is added to the List of Figures. Figure&#xA0;<xref linkend="fig.Two-distorted-images" /> is an example of a figure float with two images set side by side. You can also set the images one below the other. Figure&#xA0;<xref linkend="fig.Pink-object" /> and <xref linkend="fig.A-star" /> are the subfigures.</para>
11 <formalgroup xml:id="fig.Two-distorted-images">
12 <title>Two distorted images. Both images are in the image settings group named &#8220;distorted&#8221;.</title>
13 <figure xml:id="fig.Pink-object">
14 <title>Pink object.</title>
15 <mediaobject>
16 <imageobject>
17 <imagedata fileref="D:/LyX/lyx-unstable/lib/doc/clipart/3D-structure-distort.pdf"  width="45%"  />
18 </imageobject>
19 </mediaobject>
20 </figure>
21 <figure xml:id="fig.A-star">
22 <title>A star.</title>
23 <mediaobject>
24 <imageobject>
25 <imagedata fileref="D:/LyX/lyx-unstable/lib/doc/clipart/Star-structure.pdf"  width="45%"  />
26 </imageobject>
27 </mediaobject>
28 </figure>
29 </formalgroup>
30 </section>
31 </chapter>
32 </book>