I'm using the Alegreya font in XeLaTeX and I'm wondering if I can put a hat over numbers outside of math mode. I ask because Alegreya doesn't have math functionality, so the integers default to CM font, which ends up looking pretty amateur in the context; euler also doesn't help. Is there a way to do this outside of math mode, thus keeping Alegreya's numbers?
Or, of course, is there some other work around to put a hat above Alegreya's numbers?
Font mismatch with Linux Libertine and siunitx package might be helpful but I'm not sure how yet...
MWE:
%XeLaTeX
\documentclass{article}
\usepackage[osf]{Alegreya}
\begin{document}
I want $\hat{1}$ where the 1 is in the Alegreya font. \^{1} seems to only work for l\^{e}tters.
\end{document}

\^{1}?...... – yo' Mar 25 '15 at 21:14\^{1}? Because if I just make a very simple document and compile it with XeLaTeX, it works:\documentclass{article} \begin{document} A\^{1}A \end{document}– yo' Mar 25 '15 at 21:22\^{1}to call a real1with a hat (which might not be available in Alegreya. Is that it? In any case, two fast alternatives (withmathtoolspackage for\text)$\hat{\text{1}}$ \^i î. In any case, it does work in pdfLaTeX, since the font is available, what's the need for XeLaTeX? – Manuel Mar 25 '15 at 21:28\hat{\text{1}}(theîis not really a solution). I think better wait for someones magic to bring a better (or even real)\^1in. EDIT: like the one that just came in :) – Manuel Mar 25 '15 at 21:35