I am working a lot with hatted indices such that
\( \hat{\mu} \)
A way to make this quicker would be to define the command.
\newcommand{\hmu}{\hat{\mu}}
but I would need to do this for pretty much every Greek letter separately. Is there a "nice" way to do this in one go? So for example, if I write \hrho
it automatically understands \hat{\rho}
?
Thanks in advance.
\hmu
as one control sequence (not\h
with argumentmu
) which has to be defined in order to work.\h\rho
is only one character longer. Inunicode-math
, you could alternatively input Greek letters followed by U+0302, the combining hat accent, but this is less convenient to enter at the keyboard.