4

I am working on a presentation using the beamer package and I am wondering, whether there is a easy way to reuse images of single slides for a summary slide. Up to now, I make a PDF print from each of the relevant slides, I want to use in the summary (named summary-1 to summary-4 in the MWE). Afterwards, I include each of these printed PDFs for the summary slide.

Besides the MWE, I provide a screenshot of the last two overlays below and also the PDF of the MWE for download. Note that compilation of the full MWE is only possible after creating the images from the first four slides. I am fully aware of this, it is the reason, why I ask this question.

Is there a way to avoid making PDFs from the single slides I want to use? Obviously, this can be forgotten if it has to be done manually, which results in outdated slides in the summary. Personally, I like this type of summary very much, as it gives a nice overview over the talk and eases the Q&A afterwards.

\documentclass[t,english,aspectratio=169]{beamer}
\usetheme{metropolis}
\usepackage[overlay,absolute]{textpos}
\usepackage{babel}
\usepackage{graphicx}

\begin{document}
\begin{frame}
  \frametitle{First Topic}
  Slide on first topic}
\end{frame}
\begin{frame}
  \frametitle{Second Topic}
  Slide on second topic}
\end{frame}
\begin{frame}
  \frametitle{Third Topic}
  Slide on third topic}
\end{frame}
\begin{frame}
  \frametitle{Fourth Topic}
  Slide on fourth topic}
\end{frame}

\begin{frame}
  \frametitle{Summary}
  \begin{textblock}{0}(0.2,1.3)
    \includegraphics<2->[width=7cm]{summary-1}
  \end{textblock}
  \begin{textblock}{0}(8.0,1.3)
    \includegraphics<3->[width=7cm]{summary-2}
  \end{textblock}
  \begin{textblock}{0}(0.2,8.3)
    \includegraphics<4->[width=7cm]{summary-3}
  \end{textblock}
  \begin{textblock}{0}(8.0,8.3)
    \includegraphics<5->[width=7cm]{summary-4}
  \end{textblock}

  \begin{textblock}{0}(1.8,1.5)
    \includegraphics<1-1>[width=12.5cm]{summary-1}
    \includegraphics<2-2>[width=12.5cm]{summary-2}
    \includegraphics<3-3>[width=12.5cm]{summary-3}
    \includegraphics<4-4>[width=12.5cm]{summary-4}
  \end{textblock}
\end{frame}

\end{document}

Screenshot from final slides

1
3

The step of making individual pdfs can be avoided. If you have a copy of your presentation, you can simply specify the page number.

\documentclass[t,english,aspectratio=169]{beamer}
\usetheme{metropolis}
\usepackage[overlay,absolute]{textpos}
\usepackage{babel}
%\usepackage{graphicx}

\begin{document}
\begin{frame}
  \frametitle{First Topic}
  Slide on first topic
\end{frame}
\begin{frame}
  \frametitle{Second Topic}
  Slide on second topic
\end{frame}
\begin{frame}
  \frametitle{Third Topic}
  Slide on third topic
\end{frame}
\begin{frame}
  \frametitle{Fourth Topic}
  Slide on fourth topic
\end{frame}

\begin{frame}
  \frametitle{Summary}
  \begin{textblock}{0}(0.2,1.3)
    \includegraphics<2->[width=7cm,page=1]{summary}
  \end{textblock}
  \begin{textblock}{0}(8.0,1.3)
    \includegraphics<3->[width=7cm,page=2]{summary}
  \end{textblock}
  \begin{textblock}{0}(0.2,8.3)
    \includegraphics<4->[width=7cm,page=3]{summary}
  \end{textblock}
  \begin{textblock}{0}(8.0,8.3)
    \includegraphics<5->[width=7cm,page=4]{summary}
  \end{textblock}

  \begin{textblock}{0}(1.8,1.5)
    \includegraphics<1-1>[width=12.5cm,page=1]{summary}
    \includegraphics<2-2>[width=12.5cm,page=2]{summary}
    \includegraphics<3-3>[width=12.5cm,page=3]{summary}
    \includegraphics<4-4>[width=12.5cm,page=4]{summary}
  \end{textblock}
\end{frame}

\end{document}
4
  • But this needs me to keep a copy up-to-date, which is less work and less errorprone but still somehow annoying. Do you know a fully automatic solution, which does not require me to do anything manually, except calling pdflatex more than once? Mar 15 '18 at 13:08
  • Ah, I missed your other comment, thank you for that; I'll dig into that and maybe come back, if it does not help. Mar 15 '18 at 13:17
  • 1
    @StephanLukasczyk Copying the previous pdf before compiling can easily be done. Either via shell-escape, make files or an automation tool like arara. Mar 15 '18 at 13:20
  • Yes, that's right, shell-escape should be my way to go, to make it independent of a build tool. Thank you very much for this hint! Mar 15 '18 at 13:28

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.