5

Please help me with this. How to print >, < and % in LaTeX. Backslash doesn't seem to work!

David Carlisle
  • 757,742
Anu
  • 51

1 Answers1

9

The glyphs < and > have usually no place in typeset text, except in mathematical formulas. In a math formula, < and > produce the right symbol:

$a<b$

will provide the right spacing and letter shape.

You can still get those glyphs in normal text with \textless and \textgreater, provided you load

\usepackage[T1]{fontenc}

However, I don't recommend using them outside math formulas. You might want to use \textlangle and \textrangle in text, that produce different glyphs

〈 and 〉

For these either you use math mode (they are called \langle and \rangle) or load

\usepackage{textcomp}

In order to print %, just type \%.

egreg
  • 1,121,712