Skip to content
All LaTeX symbols

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

Miscellaneous

@

LaTeX command

@

no escape needed

Use inside math mode: $@$ — 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

CommandUsePackageCopy
@no escape needednone
\#hashnone
\$dollarnone
\&ampersandnone
\_underscorenone
\%percentnone
\{ \}bracesnone
\textbackslashbackslash in textnone
\backslashbackslash in mathnone

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.

Related symbols

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.