| Suggestions |
|---|
|
Search:
|
|
Next:
scape indexterm |
|
Up:
LaTeX Active character Escaping |
scape — General text escaping for LaTeX active characters
Certain characters must be escaped so that LaTeX will typeset them verbatim rather than attempting to interpret them as commands.
<template name="scape">
<map from="<" to="\textless{}"/>
<map from=">" to="\textgreater{}"/>
<map from="~" to="\textasciitilde{}"/>
<map from="^" to="\textasciicircum{}"/>
<map from="&" to="\&"/>
<map from="#" to="\#"/>
<map from="_" to="\_"/>
<map from="$" to="\$"/>
<map from="%" to="\%"/>
<map from="|" to="\docbooktolatexpipe{}"/>
<map from="{" to="\{"/>
<map from="}" to="\}"/>
<map from="\textbackslash " to="\textbackslash \ "/>
<map from="\" to="\textbackslash "/>
</template>