<inline-formula> Formula, Inline

Mathematical equation, expression, or formula that is to be displayed inline. The mathematics itself can be expressed as ASCII characters, as a graphic, or using TeX, LaTeX, or MathML mathematics expressions.

Usage/Remarks

Some print-oriented tag sets use a specific element to indicate “go into math mode or math font here”. While that was not the intended usage of this element, in nearly all cases the text inside such math-changes is a mathematical expression. It would not be incorrect to use this element to mark such material; however, some organizations may find this tagging undesirable as it proliferates “equations”.
Related Elements
For a mathematical equation, expression, or formula which is to displayed as a block (callout), use the <disp-formula> element.
Attributes

Base Attributes

Models and Context
May be contained in
Description
Content Model
<!ELEMENT  inline-formula
                        %inline-formula-model;                       >
Expanded Content Model

(#PCDATA | alt-text | long-desc | bold | fixed-case | italic | monospace | num | overline | roman | sans-serif | sc | strike | underline | ruby | alternatives | inline-code | inline-graphic | inline-media | private-char | chem-struct | inline-formula | tex-math | mml:math | named-content | styled-content | sub | sup)*

Tagged Samples
Within the text of a list item
...
<p>In Example 1 (one-sided paired test), the data were as 
 follows: <italic>n</italic> = 30, <italic>x</italic> = 21, 
 <italic>a</italic> = 0,05. From these data, the analyst 
 calculates</p>
<list list-type="bullet">
 <list-item>
  <label>&mdash;</label>
  <p><italic>p</italic><sub>c</sub> = 
   <italic>x</italic>/<italic>n</italic> = 21/30 = 0,7,</p>
 </list-item>
 <list-item>
  <label>&mdash;</label>
  <p><inline-formula
   ><mml:math display="inline" id="mml_m1">
     <mml:mrow>
      <mml:msub>
       <mml:mover accent="true">
        <mml:mi>p</mml:mi>
        <mml:mo>^</mml:mo>
       </mml:mover>
       <mml:mtext>d</mml:mtext>
      </mml:msub>
     </mml:mrow>
    </mml:math></inline-formula> (proportion of distinguishers) ...</p>
 </list-item>
 ...
</list>
...
Alternative formulas in text
...
<p><italic>Slow-front transient overvoltage (SFO)</italic>: 
 Transient overvoltage, usually unidirectional, with time to 
 peak 20 &#x3bc;s &lt; 
 <inline-formula>
  <alternatives>
   <tex-math notation="LaTeX">${T_p}$</tex-math>
   <inline-graphic xlink:href="1894_2015_mml_m1.eps"
     xmlns:xlink="http://www.w3.org/1999/xlink"/>
  </alternatives>
 </inline-formula> &#x2264; 5 000 &#x3bc;s, and 
 time&#xa0;to&#xa0;half&#xa0;value&#xa0;of&#xa0;a&#xa0;
 decreasing&#xa0;voltage 
 <inline-formula>
  <alternatives>
   <tex-math notation="LaTeX">${T_2}$</tex-math>
   <inline-graphic xlink:href="1894_2015_mml_m2.eps" 
     xmlns:xlink="http://www.w3.org/1999/xlink"/>
  </alternatives>
 </inline-formula> &#x2264; 20 ms.</p>
...