Text FormattingNo space after \&

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
trophi20
Posts: 7
Joined: Thu Apr 02, 2020 7:17 pm

No space after \&

Post by trophi20 »

Hello,

I want to write following in LaTex: "A&B", like written without spaces before and after the &.

How can I do that?

Thank you!

EDIT:
A\&{}B is working, but is this the "right" version?

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

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

No space after \&

Post by Bartman »

It also seems to work without braces.

Code: Select all

\documentclass[border=1pt]{standalone}
\begin{document}
A\&B
\end{document}
Post Reply