Plain TeX, and LaTeX, have a \skew
macro which is described in the TeXBook.
\documentclass{article}
\usepackage{amsmath,amssymb,amsfonts,amsthm}
\usepackage{eulervm}
\begin{document}
\begin{tabular}{ll}
Normal: & a$\boldsymbol{\hat{\theta}}$b \\
\textbackslash skew-.5: & a$\boldsymbol{\skew{-.5}\hat\theta}$b \\
\textbackslash skew-1: & a$\boldsymbol{\skew{-1}\hat\theta}$b \\
\end{tabular}
\end{document}
with \usepackage[T1]{fontenc}
the hat moves: it is lowered and shifted a bit to the left of its non-T1 position.
I believe this should be reported as a bug in babel-spanish
.
Anyway, since typing \widehat{<}
is not really good because it will produce wrong spaces, you can use a workaround: define a command before the special action of babel-spanish
enters the scene.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\newcommand{\lesshat}{\mathrel{\widehat{<}}}
\begin{document}
$a<b\lesshat c$
\end{document}
If you want to type \hat{<}
or \widehat{<}
in the body of the document, you can't unless you load
\usepackage[spanish,es-noquoting]{babel}
but, as I said at the beginning, this would produce wrong spacing because \hat{<}
would be considered an ordinary symbol.
Thanks to Dan for pointing out that in a former version of the answer \string
was not needed.
Best Answer
I understand, that it is like some kind of Fourier transform of the whole expression. An alternative version added.