Quantcast
Channel: Active questions tagged bullets - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 97

amssymb: checkmark in a box

$
0
0

My question is motivated by the amssymb package not having a checkmark in a box symbol.Fortunately, I have found in Creating Boxed Check Mark a way to create a checkmark in a box.

However, how to make it compatible with a box with no checkmark? Consider this example:

\documentclass{article}\usepackage{amssymb}\begin{document}\noindent\makebox[0pt][l]{$\square$}\raisebox{0.15ex}{\hspace{0.1em}$\checkmark$} A\\\makebox[0pt][l]{$\square$}{\hspace{0.5em}} B\\\end{document}

The output is:

enter image description here

I am trying to manipulate the parameter in \hspace to bring "B" aligned with "A" lacking a precise solution. Can you help?


Viewing all articles
Browse latest Browse all 97


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>