Is there a possibility to make each word in my beamer presentation come after a click without adding \pause before each word?
Asked
Active
Viewed 165 times
1
samcarter_is_at_topanswers.xyz
- 158,329
Praveen
- 241
1 Answers
4
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}
TeXnician
- 33,589
samcarter_is_at_topanswers.xyz
- 158,329
-
1
-
@samcarter It has some problem with blocks in beamer. Please check my file https://pastebin.com/1R7UFRaW – Praveen Dec 22 '18 at 16:42
-
@supremum As I said: don't complain if it breaks stuff :) – samcarter_is_at_topanswers.xyz Dec 22 '18 at 16:50
-
1
-
1@supremum And don't use two-letter font commands, use
\textbf{...}instead – samcarter_is_at_topanswers.xyz Dec 22 '18 at 16:52 -
1
-
@supremum If I move the
pausespacesenvironment inside the block it works fine. (IMHO uncovering large portions of text word by word is a bad idea) – samcarter_is_at_topanswers.xyz Dec 22 '18 at 16:55 -
-
1@supremum In most situations: just use an empty line – samcarter_is_at_topanswers.xyz Dec 22 '18 at 16:59

animatepackage: https://tex.stackexchange.com/a/81850/36296 – samcarter_is_at_topanswers.xyz Dec 23 '18 at 15:09