[Tex/LaTex] Any reason why \blacksquare and \box are causing errors

amsmatherrorssymbols

I am using the amsmath package. I just want a black box at the end of a proof, right-justified.

\blacksquare and \box both cause errors.

Actually, I'd prefer a musical quarter note if that's possible 🙂

Best Answer

Are you including the appropriate packages?

\documentclass{article}

\usepackage{amsmath}%
\usepackage{MnSymbol}%
\usepackage{wasysym}%

\begin{document}
$\blacksquare$  \halfnote \quarternote
\end{document}

See LaTeX Comprehensive symbols list.

Related Question