# Problem with the MathJax rendering of the Hermitian adjoint of an operator $\dagger$ when written as \dag

Normally it is enough just to write \dag, i.e. as in A^{\dag}, but it doesn't work here: $$A^{\dag}.$$

I actually use $\newcommand\ket[1]{\left| #1 \right>}$ quite often in quantum physics related posts, so I can confirm it works.
Not all LaTeX commands are supported. We use MathJax for LaTeX rendering, and the list of macros that are implemented is given on their website. In this case you can use \dagger instead.