[Tex/LaTex] Creating Boxed Check Mark


Is there a way to create a box with a check mark in the center of it and the check mark coming out of the box?

For example: $\boxdot$ or $\boxtimes$, but instead have a check mark placed at the center extending outside the box.

P.S. How can I get things to work in math mode on this site. For example, the above sample code does not display the pictures.

Best Answer

One can choose between the following two solutions; the first one centers the two symbols with respect to one another, the second one draws the square and then displaces the check mark.





By acting on the two dimensions, one can find by trial and error the best relative positioning of the check mark with respect to the box.

This gives (with magnification x16 and displayed horizontally):

enter image description here