LaTeX forum ⇒ Text FormattingNo space after \&

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

No space after \&

Postby trophi20 » Fri Oct 16, 2020 1:07 pm

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?

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

Postby Bartman » Fri Oct 16, 2020 5:29 pm

It also seems to work without braces.

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass[border=1pt]{standalone}
  2. \begin{document}
  3. A\&B
  4. \end{document}


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 6 guests