How can I print \n
, \t
, \v
and so on in LaTeX document? I mean I want in my output two chars: \n
not a new line.
I tried:
\\n
\verb!\\n!
With no effects…
symbols
How can I print \n
, \t
, \v
and so on in LaTeX document? I mean I want in my output two chars: \n
not a new line.
I tried:
\\n
\verb!\\n!
With no effects…
Best Answer
Use the first version.
Both the
I
andII
version show other ways which are unnecessary complex (and exploit certain TeXnicalities).Code
Output