Command/literalmode
< Command
Jump to navigation
Jump to search
Contents
\literalmode
Summary
The command \literalmode adjusts the list of special characters in your text.
Description
When you use
\asciimode in a document comments have to be added with two percent signs %% but this leads to problems with inline verbatim code because you can't write \type{%%} anymore. The \literalmode works like \asciimode with the exception that %% isn't used for comments.
Examples
Example 1
The following example shows the different results of \asciimode and \literalmode with %%.
\asciimode This is normal text %% This is a comment. Verbatim: \type{%%}

\literalmode This is normal text %% This is a comment. Verbatim: \type{%%}
