In the beamer
class \square
and \Box
are working fine but in the article
class they don't work. Any idea why? What can be done to make them work, do I need to use some special math symbols package?
[Tex/LaTex] LaTeX is not able to recognize the $\square$ and $\Box$ symbols in article class, don’t know why
math-modesymbols
Best Answer
The
beamer
class loads, by default, bothamsmath
andamssymb
(unless these are explicitly disabled with the relevant class options).The
\square
and\Box
command are indeed provided byamssymb
and loading this package would suffice for using them; however, if a document uses those symbols it is likely about mathematics and soamsmath
is recommended as well.Add
to your document preamble.