\begin{enumerate}
  \item First, with a nested list:
    \begin{itemize}
      \item inner bullet with inline math $x^2$
      \item another bullet
    \end{itemize}
  \item Second top-level item.
\end{enumerate}

Nested groups: {outer {middle {inner}}} on one line.
