I've noticed that the content of the minipage environments is not correctly aligned in the following MWE:

\documentclass{article}

\begin{document}
\begin{minipage}[t]{.5\linewidth}
\begin{enumerate}
\item foo;
\end{enumerate}
\end{minipage}
\begin{minipage}[t]{.5\linewidth}
\begin{enumerate}
\item[] bar
\end{enumerate}
\end{minipage}
\end{document}


I would expect to get:

Either commenting \usepackage{doclicense} or using \item bar (without the square brackets) gets it fixed. Is this a bug or am I doing something wrong? I could do without the doclicense package but would like to know what is causing this anyways.

• The same issue can be reproduced by loading \usepackage{hyperref} instead of doclicense (doclicense loads hyperref automatically). Mar 11 '19 at 5:52
• Mar 11 '19 at 9:37
• @Ulrike Fischer I guess my question can be considered a duplicate then. Mar 11 '19 at 20:13

It seems loading enumitem and specifying an emptylabel solves the problem:

\documentclass{article}
\usepackage{enumitem}

\begin{document}

\begin{minipage}[t]{.5\linewidth}
\begin{enumerate}
\item foo;
\end{enumerate}
\end{minipage}
\begin{minipage}[t]{.5\linewidth}

\begin{enumerate}[label ={}]
\item bar
\end{enumerate}
\end{minipage}

\end{document}


• I see. But it looks that my MWE was too minimal: I need to have have more \item elements with labels in the same enumerate environment. Mar 11 '19 at 20:05
• You can close the enumerate and reopen another after the first, with specific parameters. This is very easy with enumitem. Mar 11 '19 at 20:56