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
| Command | Use | Package | Copy |
|---|---|---|---|
@ | no escape needed | none | |
\# | hash | none | |
\$ | dollar | none | |
\& | ampersand | none | |
\_ | underscore | none | |
\% | percent | none | |
\{ \} | braces | none | |
\textbackslash | backslash in text | none | |
\backslash | backslash in math | none |
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.