0

I want to typeset the < symbol in a string of text inside a math environment using the \text command from the amsmath package. However, for some reason it render something like

\text{<-wrt}

to

¡-wrt

Why does amsmath do that, and how can I stop it from 'interpreting' my text?

marked as duplicate by Mico, campa, barbara beeton, Schweinebacke, TeXnician Aug 25 '17 at 15:37

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.

3

Use this code:

\documentclass{article}
\usepackage{amsmath}
\usepackage[T1]{fontenc} %%% <--- NOTE THIS

\begin{document}

\begin{equation}
    \text{<-wrt}
\end{equation}

\end{document}

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