XML technologies / DocBook / Inline elements / Miscellaneous

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

 

emphasis

Words or short passages can be emphasized using the element emphasis:

<para>Ein <emphasis>wichtiges</emphasis> Wort.</para> 
<para>Ein <emphasis role="strong">fettgedrucktes</emphasis> Wort.</para>

quote

The Duden recommends quotation marks for irony, proverbs, statements and direct speech. Use the element quote. Quotation marks are then inserted automatically according to the selected language:

<para>Unwort des Jahres 2005: <quote>Entlassungsproduktivität</quote></para> 
<para><quote xml:lang="en">geek</quote></para>

German ‘non-word of the year’ 2005: „Entlassungsproduktivität“
"geek"

remark

Creates annotations that can be disabled by the publishing system:

<para>Unser Produkt ist unter folgender Adresse zu bestellen: <remark>Richtige Adresse auswählen!</remark></para>

subscript, superscript

Creates superscripts and subscripts:

<para>H<subscript>2</subscript>O und m<superscript>2</superscript></para>

H2O and m2

  

back to top