Includes span.
In certain circumstances, you need to make the text of your document sensitive to the output medium. For example, when documenting a routine prologue (which documentation might reasonably be expected to be read in a character-based format such as a HLP file), you might want to write
to give different versions based on the intended output format. For further details, and the list of output media, see the span documentation.The length is <span media='screen,print'><m>x=r\sin \theta</m></span> <span media='tty'><code>x = r * sin(theta)</code></span>
Note that this element can control output only within a
paragraph. We may add another element - probably called div
-
which functions higher up the element hierarchy, but until then, you
will need to use marked sections.