| 1 | <refentry id="figure.element"> |
| 2 | <?dbhtml filename="figure.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>figure</secondary></indexterm> |
| 11 | <refentrytitle>figure</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>figure</refname> |
| 16 | <refpurpose>&figure.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &figure.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para> |
| 23 | <sgmltag>Figure</sgmltag> is a formal example with a title. Figures often |
| 24 | contain <sgmltag>Graphic</sgmltag>s, or other large, display elements. |
| 25 | Frequently they are given <acronym>ID</acronym>s and referenced from the text with |
| 26 | <sgmltag>XRef</sgmltag> or <sgmltag>Link</sgmltag>. |
| 27 | </para> |
| 28 | |
| 29 | <refsect2><title>Processing expectations</title> |
| 30 | <para> |
| 31 | &format.block; |
| 32 | </para> |
| 33 | <para> |
| 34 | <sgmltag>Figure</sgmltag>s may contain multiple display elements. DocBook |
| 35 | does not specify how these elements are to be presented with respect |
| 36 | to one another. |
| 37 | </para> |
| 38 | <para> |
| 39 | DocBook does not |
| 40 | specify the location of the figure within the final displayed |
| 41 | flow of text; it may float or remain where it is located. |
| 42 | </para> |
| 43 | <para> |
| 44 | A list of figures may be generated at the beginning of a |
| 45 | document. |
| 46 | </para> |
| 47 | </refsect2> |
| 48 | |
| 49 | |
| 50 | &figure.parents.gen; |
| 51 | &figure.children.gen; |
| 52 | </refsect1> |
| 53 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 54 | <variablelist> |
| 55 | <varlistentry><term>float</term> |
| 56 | <listitem> |
| 57 | <para> |
| 58 | If <sgmltag class="attribute">Float</sgmltag> has the value 1 (true), then the |
| 59 | processing system is free to move the figure to a convenient location. |
| 60 | (Where convenient location may be described in the style sheet or may |
| 61 | be application dependent.) A value of 0 (false) indicates that the |
| 62 | figure should be placed precisely where it occurs in the flow. |
| 63 | </para> |
| 64 | </listitem> |
| 65 | </varlistentry> |
| 66 | <varlistentry><term>label</term> |
| 67 | <listitem> |
| 68 | <para> |
| 69 | <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes. |
| 70 | </para> |
| 71 | <para> |
| 72 | Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is |
| 73 | used only if the processing system is incapable of generating the label |
| 74 | automatically. If present, the <sgmltag class='attribute'>Label</sgmltag> |
| 75 | is normative; it will used even |
| 76 | if the processing system is capable of automatic labelling. |
| 77 | </para> |
| 78 | </listitem> |
| 79 | </varlistentry> |
| 80 | <varlistentry><term>pgwide</term> |
| 81 | <listitem> |
| 82 | <para> |
| 83 | If <sgmltag class="attribute">Pgwide</sgmltag> has the value 0 (false), then the |
| 84 | <sgmltag>Figure</sgmltag> is rendered in the current text flow (with flow |
| 85 | column width). A value of 1 (true) specifies that the figure should be |
| 86 | rendered across the full text page. |
| 87 | </para> |
| 88 | </listitem> |
| 89 | </varlistentry> |
| 90 | </variablelist> |
| 91 | </refsect1> |
| 92 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 93 | &figure.seealso.gen; |
| 94 | </refsect1> |
| 95 | <refsect1><title>Examples</title> |
| 96 | |
| 97 | <informalexample role="example-source"> |
| 98 | <programlisting>&figure.example.1.txt;</programlisting> |
| 99 | </informalexample> |
| 100 | |
| 101 | <anchor id="ex.os.figure.1" role="HACK-ex.out.start"/> |
| 102 | &figure.example.1.gen; |
| 103 | <anchor id="ex.oe.figure.1" role="HACK-ex.out.end"/> |
| 104 | |
| 105 | &figure.example.seealso.gen; |
| 106 | </refsect1> |
| 107 | </refentry> |
| 108 |