Skip to content
All LaTeX symbols

Percent sign (%)

Miscellaneous

%

LaTeX command

\%

escaped, because a bare % starts a comment

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

In LaTeX the percent character begins a comment, so everything after an unescaped % on that line disappears. Write \% to print the sign. The same escape works in both text and math mode.

All ways to write it

  • \%escaped, because a bare % starts a commentNo package needed

Example

\text{Efficiency} = 95\%

Prints 95%, with \text keeping the label upright.

Questions

Why did half my line vanish?

An unescaped % commented out the rest of the line. Replace it with \%.

Using percent 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