12

Apologies if this is a too obvious question

How to type the "Percentage" sign in .tex ? Eg. 10 followed by the percentage.

Thank you.

Eureka
  • 1,013
  • https://tex.stackexchange.com/a/311221/117534, or perhaps https://tex.stackexchange.com/q/339191/117534 – Troy Jun 26 '17 at 03:10

2 Answers2

17

It's simply \%. You can use it in or out of math mode.

TH.
  • 62,639
7

TH.'s version would be the easiest. Another way would be to use siunitx. That is useful if you want units to be set the right way (concerning line breaking behavior, spacing etc.). It works for many units, so it would be a uniform markup, even if you need more than only the percent.

In your preamble:

\usepackage{siunitx}

Later on:

\SI{10}{\percent}
TeXnician
  • 33,589
  • It never occurred to me to treat percent as a unit. Is the space \SI puts between the number and the unit common for percentages? Now I'm curious what Knuth does in TAOCP and Concrete Mathematics as well as what is done in the GTM series. – TH. Jun 26 '17 at 13:50
  • @TH. Well, I've seen it in some documents, but not in many (most have regular space). One big advantage is concerning line breaks. My point is just that if you use it as unit you should also mark it up as such. – TeXnician Jun 26 '17 at 14:29