[Tex/LaTex] How to get QED symbol in `amsthm`

amsthmsymbols

I am trying to get QED symbol in amsthm.

I use $\hfill \square$, but I get a slightly different square:

enter image description here

The one on the right is the QED symbol of amsmath.

Best Answer

The QED symbol is stored in \qedsymbol command and can be changed using \renewcommand.

To insert the QED symbol simply type \qedsymbol but if you want to move it to the end of line, use \qedhere.