%% Maths accents
\newcommand{\@mathaccent}[2]{\newcommand{#1}[1]{\mathop{##1}\limits^{#2}}}%
\@mathaccent{\hat}{\^{}}%
\@mathaccent{\grave}{`}%
\@mathaccent{\acute}{'}%
\@mathaccent{\tilde}{\~{}}%
\@mathaccent{\dot}{.}%
\@mathaccent{\ddot}{..}%
\@mathaccent{\vec}{\rightarrow}%
\@mathaccent{\bar}{\@print{-}}%

