<sans-serif>
Sans Serif
Used to mark text that should appear in a sans-serif font.
Remarks
Ensuring that a text component remains in a sans serif font is typically used when marking a mathematical equation, expression, or formula or a chemical expression, reaction, or equation.
Emphasis as a Toggle Switch:
The @toggle attribute controls the behavior of this element. When the value of @toggle is set
to “no”, the emphasized text remains in the requested style, no matter what the surrounding text does. When the value of @toggle is “yes”, if the surrounding text matches what the emphasized text would be the text within this element is not emphasis-styled, so that this text will always
be typographically distinct from its surroundings.
Using the element <italic> as an example, setting
the @toggle attribute to “no” would mean that a material marked as italics will always be italics, even in an italic context. In contrast, if the @toggle attribute was set to “yes” on the <italic> element, if the formatting context imposes italics (whether due to another <italic> element, a stylesheet, some CSS, or other means), then the
italics would be turned off within that context, making the emphasized text emphasized by contrast, but not italic. The <italic> element would still produce italics everywhere else.
Content Model
<!ELEMENT sans-serif (#PCDATA %emphasized-text;)* >
Expanded Content Model
(#PCDATA | email | ext-link | uri | inline-supplementary-material | related-article | related-object | bold | fixed-case | italic | monospace | overline | roman | sans-serif | sc | strike | underline | ruby | alternatives | inline-graphic | inline-media | private-char | chem-struct | inline-formula | tex-math | mml:math | abbrev | index-term | index-term-range-end | milestone-end | milestone-start | named-content | styled-content | fn | target | xref | sub | sup)*
Description
Any combination of:
- Text, numbers, or special characters
- Linking Elements
- Related Material Elements
- Emphasis Elements
- <alternatives> Alternatives For Processing
- Inline Display Elements
- Inline Math Elements
- Math Elements
- Other Inline Elements
- Internal Linking Elements
- Baseline Change Elements
This element may be contained in:
<addr-line>, <aff>, <alt-title>, <article-title>, <attrib>, <award-id>, <bold>, <chapter-title>, <chem-struct>, <code>, <collab>, <comment>, <compound-kwd-part>, <compound-subject-part>, <conf-theme>, <copyright-statement>, <corresp>, <data-title>, <def-head>, <disp-formula>, <element-citation>, <ext-link>, <fixed-case>, <funding-source>, <funding-statement>, <gov>, <inline-formula>, <inline-media>, <inline-supplementary-material>, <italic>, <kwd>, <label>, <license-p>, <meta-value>, <mixed-citation>, <monospace>, <named-content>, <on-behalf-of>, <overline>, <p>, <part-title>, <preformat>, <price>, <product>, <rb>, <related-article>, <related-object>, <resource-name>, <role>, <roman>, <sans-serif>, <sc>, <see>, <see-also>, <series>, <series-text>, <series-title>, <sig>, <sig-block>, <source>, <std>, <strike>, <styled-content>, <sub>, <subject>, <subtitle>, <sup>, <supplement>, <support-source>, <target>, <td>, <term>, <term-head>, <textual-form>, <th>, <title>, <trans-source>, <trans-subtitle>, <trans-title>, <underline>, <verse-line>, <xref>
Example
...
<p>... <sans-serif>S</sans-serif>-shaped bifurcation curve ...</p>
...