# “Greater than” sign shows up as inverted question mark [duplicate]

My question is in the title.

How can I write the greater than symbol? When I use the < off the keyboard, it appears on my PDF as an inverted question mark.

-

## marked as duplicate by Stefan Kottwitz♦Feb 23 '12 at 15:26

If you want to use it as a math operator, you need to add $ signs: \documentclass{article} \begin{document}$>\$

Use the textcomp package and the command \textlangle or \textrangle.