Difference between revisions of "Command/literalmode"

From Wiki
Jump to navigation Jump to search
(Created page with "{{Reference |name=literalmode |attributes= }} == Syntax (autogenerated) == <syntax>literalmode</syntax> == Description == When you use <code>\asciimode</c...")
 
(No difference)

Latest revision as of 07:23, 27 June 2020

\literalmode

Syntax (autogenerated)

\literalmode


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.


Example

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{%%}