Is there an easy way to print "\\" in a Latex document? I tried using \\\ and it threw an error.
Asked
Active
Viewed 1,980 times
6
1 Answers
9
To print a "\", use \backslash in math mode and \textbackslash in text mode. To print "\\", use the command twice.
Vincent
- 20,157
\verb+\\+Of course, the appearance depends on the style you want, as @egreg has asked. – barbara beeton Jan 10 '20 at 14:57