# “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

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

## 2 Answers

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


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