Skip to content
All LaTeX symbols

At sign and other keyboard symbols (@, #, $, &, _)

Miscellaneous

@

LaTeX command

@

no escape needed

Use inside math mode: $@$, works in base LaTeX, KaTeX and MathJax

LaTeX reserves ten characters for its own syntax. @ is not one of them and prints as typed, which surprises people who expect to escape it. The others need a backslash, and the backslash itself needs a command.

All ways to write it

  • @no escape neededNo package needed
  • \#hashNo package needed
  • \$dollarNo package needed
  • \&ampersandNo package needed
  • \_underscoreNo package needed
  • \%percentNo package needed
  • \{ \}bracesNo package needed
  • \textbackslashbackslash in textNo package needed
  • \backslashbackslash in mathNo package needed

Example

\text{Price: } \$5 \text{ \& up (\#1 seller, 20\% off)}

Several reserved characters escaped inside a text block.

Questions

How do I type a caret ^?

\textasciicircum in text mode, or \hat{} / \wedge in math depending on what you mean.

Using keyboard symbols in Confluence

Confluence Cloud has no built-in LaTeX. With LaTeX Math for Confluence you add a math macro to any page, type @ and it renders inline or as a block, with a live preview while you edit. Every command on this page renders there without extra packages.

Related symbols

Also in Miscellaneous

See all LaTeX symbols