# Printing >, <, and % in LaTeX [duplicate]

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

-

## marked as duplicate by Marco Daniel, Kurt, lockstep, mafp, Martin SchröderApr 6 '13 at 15:51

< and > should be used in math mode; for printing % use \% –  egreg Apr 6 '13 at 13:46
@Marco: < and > are not mentioned in that other question, are they? –  Hendrik Vogt Apr 6 '13 at 13:47
@HendrikVogt: Indeed. –  Marco Daniel Apr 6 '13 at 13:51
Welcome to TeX.sx! –  egreg Apr 6 '13 at 13:54
Also see How to look up a symbol?. Under detexify, it yields \textless, \textgreater and \%. –  Werner Apr 6 '13 at 16:32

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 \%.

-