2

Here's a MWE that shows what I'm doing:

\documentclass{article}

\usepackage{amsmath,amsfonts,amssymb,blindtext, enumitem}

\setlist[enumerate]{
  label={$\square$ {\small\oldstylenums{\arabic*}}},
  leftmargin=2em,
}
\begin{document}
\blindtext
\begin{enumerate}
    \item \label{first} An item
    \item \label{second} A second item
\end{enumerate}
See point \ref{first}, but avoid looking at \ref{second}!
\end{document}

In the output, What I see is

See point ▢ 1, but avoid looking at ▢ 2!

Of course I would like to remove the "▢" symbol. Is there a way to do it?

fosco
  • 1,253

1 Answers1

3

One can also specify ref separately from label with \setlist. See page 3 of the enumitem manual.

\documentclass{article}

\usepackage{amsmath,amsfonts,amssymb,blindtext, enumitem}

\setlist[enumerate]{
  label={$\square$ {\small\oldstylenums{\arabic*}}},
  leftmargin=2em,
  ref={\arabic*}
}
\
\begin{document}
\blindtext
\begin{enumerate}
    \item \label{first} An item
    \item \label{second} A second item
\end{enumerate}
See point \ref{first}, but avoid looking at \ref{second}!
\end{document}
John Kormylo
  • 79,712
  • 3
  • 50
  • 120