| 1 | <refentry id="equation.element"> |
| 2 | <?dbhtml filename="equation.html"?> |
| 3 | <refentryinfo> |
| 4 | <pubdate>$Date$</pubdate> |
| 5 | <releaseinfo>$Revision$</releaseinfo> |
| 6 | </refentryinfo> |
| 7 | |
| 8 | <refmeta> |
| 9 | <indexterm><primary>elements</primary> |
| 10 | <secondary>equation</secondary></indexterm> |
| 11 | <refentrytitle>equation</refentrytitle> |
| 12 | <refmiscinfo>Element</refmiscinfo> |
| 13 | </refmeta> |
| 14 | <refnamediv> |
| 15 | <refname>equation</refname> |
| 16 | <refpurpose>&equation.purpose;</refpurpose> |
| 17 | </refnamediv> |
| 18 | |
| 19 | &equation.synopsis.gen; |
| 20 | <refsect1 condition='ref.description'><title>Description</title> |
| 21 | |
| 22 | <para>An <sgmltag>Equation</sgmltag> is a formal mathematical equation |
| 23 | (with an optional rather than required title). |
| 24 | </para> |
| 25 | |
| 26 | <para>If the MathML Module is used, <sgmltag>Equation</sgmltag> can |
| 27 | also contain the <sgmltag>mml:math</sgmltag> element.</para> |
| 28 | |
| 29 | <refsect2><title>Processing expectations</title> |
| 30 | <para> |
| 31 | &format.block; For an inline equation, use <sgmltag>InlineEquation</sgmltag>. |
| 32 | </para> |
| 33 | |
| 34 | <para>Processing systems that number equations or build a table of |
| 35 | equations at the beginning of a document may have difficulty correctly |
| 36 | formatting documents that contain both <sgmltag>Equation</sgmltag>s |
| 37 | with <sgmltag>Title</sgmltag>s and <sgmltag>Equation</sgmltag>s |
| 38 | without <sgmltag>Title</sgmltag>s. You are advised to use |
| 39 | <sgmltag>InformalEquation</sgmltag> for equations without titles. |
| 40 | </para> |
| 41 | </refsect2> |
| 42 | |
| 43 | <refsect2 role='fu' revision="5.0"><title>&FutureChanges;</title> |
| 44 | <para><indexterm> |
| 45 | <primary>DocBook DTD</primary><secondary>Changes for |
| 46 | <acronym>V5.0</acronym></secondary> |
| 47 | </indexterm>In some future version of DocBook, probably |
| 48 | <acronym>V5.0</acronym>, even though the change has not yet been |
| 49 | announced, the <sgmltag>Title</sgmltag> on <sgmltag>Equation</sgmltag> |
| 50 | will be required. For equations without titles, use |
| 51 | <sgmltag>InformalEquation</sgmltag>. |
| 52 | </para> |
| 53 | </refsect2> |
| 54 | |
| 55 | |
| 56 | &equation.parents.gen; |
| 57 | &equation.children.gen; |
| 58 | </refsect1> |
| 59 | <refsect1 condition='ref.elem.attrdesc'><title>Attributes</title> |
| 60 | <variablelist> |
| 61 | <varlistentry><term>label</term> |
| 62 | <listitem> |
| 63 | <para> |
| 64 | <sgmltag class='attribute'>Label</sgmltag> specifies an identifying string for presentation purposes. |
| 65 | </para> |
| 66 | <para> |
| 67 | Generally, an explicit <sgmltag class='attribute'>Label</sgmltag> attribute is |
| 68 | used only if the processing system is incapable of generating the label |
| 69 | automatically. If present, the <sgmltag class='attribute'>Label</sgmltag> |
| 70 | is normative; it will used even |
| 71 | if the processing system is capable of automatic labelling. |
| 72 | </para> |
| 73 | </listitem> |
| 74 | </varlistentry> |
| 75 | </variablelist> |
| 76 | </refsect1> |
| 77 | <refsect1 condition='ref.elem.seealso'><title>See Also</title> |
| 78 | &equation.seealso.gen; |
| 79 | </refsect1> |
| 80 | <refsect1><title>Examples</title> |
| 81 | |
| 82 | <informalexample role="example-source"> |
| 83 | <programlisting>&equation.example.1.txt;</programlisting> |
| 84 | </informalexample> |
| 85 | |
| 86 | <anchor id="ex.os.equation.1" role="HACK-ex.out.start"/> |
| 87 | &equation.example.1.gen; |
| 88 | <anchor id="ex.oe.equation.1" role="HACK-ex.out.end"/> |
| 89 | |
| 90 | <para>Alternatively, for relatively simple equations such as Fermat's Last |
| 91 | Theorem, <sgmltag>mathphrase</sgmltag> is often sufficient:</para> |
| 92 | |
| 93 | <informalexample role="example-source"> |
| 94 | <programlisting>&equation.example.2.txt;</programlisting> |
| 95 | </informalexample> |
| 96 | |
| 97 | <anchor id="ex.os.equation.2" role="HACK-ex.out.start"/> |
| 98 | &equation.example.2.gen; |
| 99 | <anchor id="ex.oe.equation.2" role="HACK-ex.out.end"/> |
| 100 | |
| 101 | &equation.example.seealso.gen; |
| 102 | </refsect1> |
| 103 | </refentry> |
| 104 |