[Tex/LaTex] Align number from enumerate with equation

#enumerateequationslistsvertical alignment

I'm trying to have an equation as the first line of one of my items in an enumerate environment.

Example:

\begin{enumerate}
  \item \[ x \]
\end{enumerate}

misaligned equation in enumerate

I want the $x$ to have the same baseline as the 1., but it's appearing lower. How can I make the two line up properly?

Best Answer

\documentclass[12pt]{article}

\begin{document}

\begin{enumerate}
  \item \parbox{\linewidth}{\vspace{-\abovedisplayskip}%
                \[ x \]}
  \item \hfill $ x $ \hfill~
\end{enumerate}

\end{document}

doesn't really make sense, from my point of view.