I am working with a variable called VAL in my LaTeX document. But it behaves strange
in math mode.
Here is an example (I'm using tabular to highlight the issue):
\documentclass{article}
\begin{document}
\begin{tabular}{ll}
Normal italic text: & \textit{VAL} \
Math mode text: & $VAL$ \
\end{tabular}
\end{document}
As you can see, math mode inserted a space between V and A. Why? How can I remove it?

\mathit{VAL}– David Carlisle May 18 '23 at 15:39$V\mkern-5mu AL$, but if you want to type abbreviations or words even in math mode, it would be better to actually use\mathit. – Jasper Habicht May 18 '23 at 15:40