How do I create a checkbox in front of the label in an enumerate environment. I don't want to change the label to a checkbox, but want a checkbox in front of the label. So for example.
Answer the following questions by putting a check in the box if it applies to you.
Here is are some of the things I have tried.
I can made the label be a box, have a box around the number and I can put boxes at the end of the statement.
What I would like is for the box to come in front of the label instead of being around the label.
I would be happy with just the box, but the boxes with Yes and No would be even better.
I want the items in the list to be numbered so I can refer to them.
\documentclass[11pt]{article}
\usepackage{amssymb}
\usepackage{enumitem}
\newlist{checklist}{enumerate}{2}
\setlist[checklist]{label=$\square$}
\newcommand{\YesNo}{Yes $\square$ \quad No $\square$}
\begin{document}
Put a check in the box if the statement is mostly true about you. \\
\begin{enumerate}[label=\fbox{\arabic*}]
\item I can talk to strangers with relative ease. \
\end{enumerate}
\begin{checklist}
\item I can talk to strangers with relative ease.
\end{checklist}
\begin{enumerate}
\item I can talk to strangers with relative ease. \YesNo
\end{enumerate}
\end{document}
Best Answer
I am unsure if this is meant, but the box is before the label: