DAISY—Structure Guidelines: Elements, Inline Elements, Information Object Subscript and Superscript

DAISY—Structure Guidelines: Elements, Inline Elements, Information Object Subscript and Superscript

Information Object

Subscript and Superscript

Definition

Subscript and superscript characters are those written below or above ‘normal’ text, respectively.

Markup

These elements can be used recursively, that is you may use <sup> inside <sup>, for example; they can also be intermixed (e.g., <sub> inside <sup>).

Syntax

<sub>...</sub> or <sup>…</sup>

Example 1

<p>Scientists maintain that global warming is due primarily to an increase in atmospheric concentrations of CO<sub>2</sub>.</p>

Example 2

<p>Perhaps the best-known formula of our day is Einstein's E=mc<sup>2</sup>.</p>

Example 3

<p>As an example of recursive use, the expression e to the x squared would be rendered as: e<sup>x<sup>2</sup></sup>.</p>

Tags: DAISY