Docbook - Predefined special characters

By xngo on March 4, 2019

CharacterNamed entityDescription
™ Trade mark
©© Copyright
®® Registered
±±Plus or minus
✓ Check mark
✗ Ballot X
↑ Up arrow
↓ Down arrow
← Left arrow
→ Right arrow
↔ Left right arrow

Reference: http://www.oasis-open.org/docbook/documentation/reference/html/refchar.html

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book SYSTEM "lib/docbook-xml/docbookx.dtd">
<book>
  <chapter>
    <title>Tutorial: Docbook predefined special characters</title>
      <table><title>Docbook predefined special characters</title>
        <tgroup cols="3">
          <thead>
            <row><entry>Character</entry><entry>Named entity</entry><entry>Hexadecimal</entry><entry>Description</entry></row>
          </thead>
          <tbody>
            <row><entry>&trade; </entry><entry><![CDATA[&trade; ]]></entry><entry><![CDATA[&#x02122;]]></entry><entry>Trade mark</entry></row>
            <row><entry>&copy;  </entry><entry><![CDATA[&copy;  ]]></entry><entry><![CDATA[&#x000A9;]]></entry><entry>Copyright</entry></row>
            <row><entry>&reg;   </entry><entry><![CDATA[&reg;   ]]></entry><entry><![CDATA[&#x000AE;]]></entry><entry>Registered</entry></row>
            <row><entry>&plusmn;</entry><entry><![CDATA[&plusmn;]]></entry><entry><![CDATA[&#x000B1;]]></entry><entry>Plus or minus</entry></row>
            <row><entry>&check; </entry><entry><![CDATA[&check; ]]></entry><entry><![CDATA[&#x02713;]]></entry><entry>Check mark</entry></row>
            <row><entry>&cross; </entry><entry><![CDATA[&cross; ]]></entry><entry><![CDATA[&#x02717;]]></entry><entry>Ballot X</entry></row>
            <row><entry>&uarr;  </entry><entry><![CDATA[&uarr;  ]]></entry><entry><![CDATA[&#x02191;]]></entry><entry>Up arrow</entry></row>
            <row><entry>&darr;  </entry><entry><![CDATA[&darr;  ]]></entry><entry><![CDATA[&#x02193;]]></entry><entry>Down arrow</entry></row>
            <row><entry>&larr;  </entry><entry><![CDATA[&larr;  ]]></entry><entry><![CDATA[&#x02190;]]></entry><entry>Left arrow</entry></row>
            <row><entry>&rarr;  </entry><entry><![CDATA[&rarr;  ]]></entry><entry><![CDATA[&#x02192;]]></entry><entry>Right arrow</entry></row>
            <row><entry>&harr;  </entry><entry><![CDATA[&harr;  ]]></entry><entry><![CDATA[&#x02194;]]></entry><entry>Left right arrow</entry></row>
 
          </tbody>
        </tgroup>
      </table>
  </chapter>
</book>

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.