This command will remove the backslashes in the following control symbols before typesetting its content:
Input
Result
Catcode
\\
\
0
\{
{
1
\}
}
2
\#
#
6
\^
^
7
\
10
\%
%
14
The argument of \fakeverb command need to be enclosed with curly braces. Therefore it could be safely used inside tabularray tables and other LaTeX commands.
To make it a replacement for \verb command, we should not highlight the code inside this command by default.
To ease the pain of writing verbatim commands (see https://github.com/lvjr/tabularray/issues/358), I will add
\fakeverb
command tocodehigh
package.This command will remove the backslashes in the following control symbols before typesetting its content:
\\
\
\{
{
\}
}
\#
#
\^
^
\
\%
%
The argument of
\fakeverb
command need to be enclosed with curly braces. Therefore it could be safely used insidetabularray
tables and otherLaTeX
commands.To make it a replacement for
\verb
command, we should not highlight the code inside this command by default.