How to print out a backslash in latex?

Member

by dedrick , in category: Third Party Scripts , a month ago

How to print out a backslash in latex?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by kadin , a month ago

@dedrick 

To print out a backslash in LaTeX, you need to use the escape character "" before the backslash like this:

1
	extbackslash


Alternatively, you can use the verbatim environment to display backslashes:

1
2
egin{verbatim}
end{verbatim}


These methods will display a single backslash in your LaTeX document.