5

I wish to insert a % symbol in a line. But the rest of the statement goes missing since % is usually intended for comment. How can I resolve this problem?

Sowmya
  • 87

3 Answers3

10

You should escape it: \%.

For "special character" using \ will say to TeX to not understand it as a special character but a classic one that will be printed in the document.

This is the case for # or _ too for exemple.

Romain Picot
  • 6,730
  • 4
  • 28
  • 58
5

You can also use the \SI{70}{\percent} command from the siunitx package.

1

Just put a backslash before % such as to write 70% we have to use 70\%.

ddas
  • 1,205