Difference between revisions of "Command/literalmode"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \literalmode") |
(No difference)
|
Latest revision as of 14:47, 4 September 2020
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{%%}