Generalhow to display \\

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
lasalle25
Posts: 2
Joined: Tue Sep 13, 2011 8:35 pm

how to display \\

Post by lasalle25 »

I need to display a double slash, but don't know how to make LaTeX understand that I don't want a line break. Help, please!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

how to display \\

Post by Stefan Kottwitz »

Hi Lasalle,

welcome to the board!
Some possible options are:

Code: Select all

\textbackslash\textbackslash

Code: Select all

$\backslash\backslash$

Code: Select all

\verb|\\|
Stefan
LaTeX.org admin
lasalle25
Posts: 2
Joined: Tue Sep 13, 2011 8:35 pm

Re: how to display \\

Post by lasalle25 »

Thank you! I had figured out the math mode solution, but that wasn't really what I wanted. Didn't know about \textbackslash. Thank you much!
Post Reply