I would like to insert an hat accent on bold letters/symbols in math mode.
For latin letters, e.g. the q
char, I insert this commands in my preamble
\newcommand{\paramhat}[1]{\boldsymbol{\hat{\textbf{#1}}}}
\newcommand{\param}[1]{\textbf{\text{#1}}}
And then \param{q}
and \paramhat{q}
in the text and everything work as expected.
But the question is: how to make this to work with greek letters/symbols?
I need to use it on a \theta
symbol. I've tried $\boldsymbol{\hat{\theta}}$
but I think that the hat accent has slightly shifted to the right, as shown in the following image.
There is a way to move the hat accent slightly to the left?
Notes:
amsmath
package loadedeuler
font for math\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}