0

I'm writing an article using LaTeX for the first time. I need to use symbols < and > in the body text but they are not displaying, instead they come out as ! and ? (upside down).

Can somebody tell me how to fix this?

1
  • (1) welcome, (2) it is custom here to provide a small self contained document that others can copy and test as is. Then we have an idea what you are doing and what your document looks like. So please provide such an example. – daleif Nov 29 '19 at 13:02
0

The T1 font encoding makes the difference

enter image description here

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}% optional
\begin{document}
<Hello> \textless world\textgreater
\end{document}

Not the answer you're looking for? Browse other questions tagged or ask your own question.