2

I'm changing over from paralist to enumitem but encounter the following problem. The code below does not compile, presumably because enumitem does not like an equation environment inside an enumerate* environment. Any suggestions on how to fix this, other than reverting to paralist? Yes, I do want to do this.

\documentclass{article}

\usepackage[inline]{enumitem}


\begin{document}

\begin{enumerate*}[label=\emph{(\alph*)}]
\item Hello
\begin{equation}
 Uh=Oh
\end{equation}
\end{enumerate*}

\end{document} 

1 Answer 1

2

Use the mode unboxed:

\begin{enumerate*}[label=\emph{(\alph*)},mode=unboxed]

(Admittedly, setting the mode to boxed as the default value was not a good idea.)

2
  • Thank you. I guess I could/should have found that in the manual, but didn't.
    – JPi
    Commented Sep 27, 2016 at 16:21
  • 1
    To be fair, the manual says very little about the implications of the boxed vs. the unboxed mode. The former has some (severe) limitations which I didn't explain at all. Commented Sep 27, 2016 at 16:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .