[Tex/LaTex] Managing checkbox representation

symbolsvertical alignment

I tried to create a checkbox, analogous to
Creating Boxed Check Mark

This woks correctly:

\documentclass{article}
\usepackage{amssymb}
\begin{document}
\makebox[0pt][l]{$\square$}\raisebox{.15ex}{\hspace{0.1em}$\checkmark$}
\end{document}

enter image description here

But when I tried to use a cross symbol instead of checkmark, it is shifted to the bottom:

\documentclass{article}
\usepackage{amssymb}
\begin{document}
\makebox[0pt][l]{$\square$}{$\times$}
\end{document}

enter image description here

  1. How to vertically center the cross symbol?
  2. How to change the size of the box and internal symbol, making them bigger / smaller?

Best Answer

Why not use the already available \boxtimes?

\documentclass{article}
\usepackage{amssymb}
\begin{document}

$\boxtimes$

\end{document}

enter image description here

Related Question