Up: Elements reference



<visual> – visual markup

Attributes:

markup
"nm", "rm", "it", "sc", "bf", "sf", "sl", "tt", "vs" (required)

Possible Contents: (Text | inline element)*

Description: Allows font style/variant change. The attribute markup is the same as in LaTeX's \text?? commands.

"nm"
switches back to normal upshape letters. It doesn't change the font family that is set by "rm", "sf", and "tt".
"rm"
activates Roman (serif) font family. This may be Times or Palatino for example.
"it"
switches to the italic variant.
"sc"
switches to the small caps variant that is frequently used to typeset names of people.
"bf"
switches to the bold face variant.
"sf"
activates the sans serif font family. This may be Helvetica or Frutiger for example.
"sl"
activates the slanted (oblique) variant. For many fonts this is the same as italics.
"tt"
activates the monospaced (typewriter) font family. This may be Courier or cmtt for example.
"vs"
activates the versaliae (all-uppercase) font variant. This is intended for acronyms like “BASIC”.

Every markup command leaves as much as possible intact from the previous active markup. For example, a <visual markup="it"> in bold text will switch to bold italics.

Of course, this element can hardly be mapped on DocBook elements. It is mostly realised via DocBook's <emphasis>.

Example

     <p><visual markup="bf">bold</visual>,
        <visual markup="it">italic</visual>,
        <visual markup="sc">Small Caps</visual>,
        <visual markup="sf">sans serif</visual>,
        <visual markup="sl">slanted</visual>,
        <visual markup="tt">typewriter</visual>,
        <visual markup="vs">versaliae</visual>.</p>