67

I'm a beginner trying to use LaTeX. I tried to write a sentence which includes the %-symbol using \text{}, but the function that the %-symbol has in LaTeX seems to block me from using it in a normal text sentence.

\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
\maketitle

\text{I can't use the %-symbol}
\end{document}
gernot
  • 49,614
Luuk
  • 773

1 Answers1

93

Very simple, use \ before the %:

\text{I can't use the \%-symbol}
Eric
  • 1,151
  • I don't know why those commands are used, it's just a sort of template i'm using. – Luuk Nov 15 '16 at 06:03
  • 3
    luuk, it what are you using latex for? i use it mainly for journal / article or beamer. and you really never have to use '/text'. let me know if i can help on anything – Eric Nov 20 '16 at 02:04