# Bigger space after itemize/enumerate

In the following MWE, the space after enumerate is not the same when I use overlay specification (too big in this case) or when I use a standard enumerate. This problem seems to appear only if the last item finishes with math mode. Any idea to this strange problem ?

\documentclass[10pt]{beamer}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\setbeamercovered{transparent}

\begin{document}

\begin{frame}
\begin{enumerate}[<+->]
\item First item
\item Second item with math mode :
$$\forall x,\exists y$$    %% Big space after this
\end{enumerate}
After enumerate
\end{frame}

\begin{frame}
\begin{enumerate}
\item First item
\item Second item with math mode :
$$\forall x,\exists y$$    %% Standard space after this
\end{enumerate}
After enumerate
\end{frame}

\end{document}

The underlying problem is the same as in Spacing around gather when math color is given: Colour in math mode influences the spacing. This behaviour is known (documented in the graphics package documentation, footnote 2) but hard to circumvent.

A little improvement could be to use \setbeamercolor{math text}{fg=black}. This will add the additional space to all equations, but at least the spaces will be independent of overlays applied or not and offers a stable base to manually correct the spaces where necessary.

\documentclass[10pt]{beamer}
\usepackage[french]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

\setbeamercovered{transparent}
\setbeamercolor{math text}{fg=black}

\begin{document}

\begin{frame}
\begin{enumerate}[<+->]%
\item First item%
\item Second item with math mode :%
$\forall x,\exists y$%    %% Big space after this
\end{enumerate}%
\vspace*{-\baselineskip}
After enumerate
\end{frame}

\begin{frame}
\begin{enumerate}
\item First item
\item Second item with math mode :
$\forall x,\exists y$    %% Standard space after this
\end{enumerate}
\vspace*{-\baselineskip}
After enumerate
\end{frame}

\end{document}
• Thank you. The height difference seems to be about -1.27\baselineskip (!!). Jun 25 '18 at 8:46