# Document with each word having overlay

Is there a possibility to make each word in my beamer presentation come after a click without adding \pause before each word?

based on an answer by @egreg: https://tex.stackexchange.com/a/250559/36296

The following could be used in fragile beamer frames. Please don't complain if it breaks other stuff :)

\documentclass{beamer}
\newcommand{\AND}{%
\hskip\fontdimen2\font plus \fontdimen3\font minus \fontdimen4\font
\pause
}

\newenvironment{pausespaces}
{\par\obeyspaces\begingroup\lccode\~=\ \lowercase{\endgroup\let~}\AND}
{\par}

\begin{document}

\begin{frame}[fragile]

\begin{pausespaces}%
some text some text someveryverylongword text text
\end{pausespaces}

\end{frame}

\end{document}


• Do you mean tex.stackexchange.com/a/250559/4427 ? – egreg Dec 22 '18 at 16:04
• @supremum And don't load enumitem with beamer – user36296 Dec 22 '18 at 16:51
• @supremum And don't use two-letter font commands, use \textbf{...} instead – user36296 Dec 22 '18 at 16:52
• @supremum And don't use \\ for new lines – user36296 Dec 22 '18 at 16:54
• @supremum In most situations: just use an empty line – user36296 Dec 22 '18 at 16:59