0

I write a presentation with several slide contain \enumerate{}. If an \enumerate{} contains 5 \item, then each item expanding into five pages. Can I play animation of Beamer in one slide only?

\documentclass{beamer}  
\usepackage[latin1]{inputenc}  
\usepackage[bahasa]{babel}  
\useinnertheme{default}  
\usepackage{libertine}  
\usepackage{animate}  
\usepackage{amsmath}  
\usepackage{amsfonts}  
\usepackage{amssymb}  
\usepackage{graphicx}  
\usepackage{textpos}  
\usetheme{Warsaw}  
\setbeamercolor{background canvas}{bg=lightgray!40}  
\begin{document}  

\begin{frame}  
\frametitle{\textbf{Latar Belakang}}  
\textbf{Latar Belakang}  
\begin{enumerate}[<+->]  
    \item Text line 1  
    \item Text line 2  
    \item Text line 3  
    \item Text line 4  
    \item Text line 5    
\end{enumerate}  
\end{frame}  
\end{document}  
  • No, but if you are using a suitable pdf viewer you can make the 5 slides play automatically by setting the transduration. – user36296 Dec 1 '17 at 15:58
  • 1
    Off-topic, but you don't need graphicx with beamer, as beamer already provides this functionality. – user36296 Dec 1 '17 at 16:00
  • Instead of using \textbf in the frametitle, rather do \setbeamerfont{frametitle}{series=\bfseries} – user36296 Dec 1 '17 at 16:00
  • 1
    Then the answer is simply no, beamer overlays work by splitting a frame into separate slides. – user36296 Dec 1 '17 at 16:06
  • 3
    Why do you want the animation to be in one slide? If you want to distribute copies of your slides and you don't want so many pages, then you can use \documentclass[handout]{beamer}, which will create one page per frame (with all elements visible). – Marijn Dec 1 '17 at 21:09
1

No, at least not using standard beamer overlays. Splitting a frame into multiple slides is how overlays work.

Using the animate package you could create an JavaScript based solution, which adds the text on the same slide, however you would need to change the syntax of your enumeration and use a pdf viewer capable of JavaScript.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.