I need to put expressions containing "<" and ">" sign in italics. For example, GenericPositive
However, when I do
\textit{GenericPositive<Type>}
it does not display the "<" or ">" signs. I also tried to add a slash so:
\textit{GenericPositive\<Type\>}
but it doesn't work either. What is more, I also tried the math mode with "$" signs so:
$GenericPositive$
and it does display the "<", ">" signs but then the whole expression gets split between different lines of text and I don't want that to happen.
What can I do to see "<" and ">" in an expression in italics in such a way that this expression is not split between different lines of text?
\usepackage[T1]{fontenc}
to a super simple minimal doc<>
symbols in italics? I'd recommend using angle brackets, instead, and always upright.