I got this error in using pdflatex:
! Undefined control sequence.
l.6 \(1.5 \lt
x \lt 5.5\)
?
! Undefined control sequence.
l.6 \(1.5 \lt x \lt
5.5\)
?
The tex-file is:
\documentclass[preview,border=2pt]{standalone}
\usepackage{amsmath}
\usepackage{tikz}
\begin{document}
\(1.5 \lt x \lt 5.5\)
\end{document}
The sequence "\lt" should represent "<" symbol. But it causes the error. Should I add some additional packages?
<in math mode? – TeXnician Jul 16 '17 at 08:22\ltand\gtbecause of possible injection of malicious code using<and>. This is not a problem in TeX. – egreg Jul 16 '17 at 08:44