# How to disable Beamer's theming on last page?

I want to disable beamer's theming and \usetheme effect on the last page. Expected output is for the official form view similarly as in Fig. 1. I am gathering input from all other pages, and lastly, showing the result on the last page as A4 without any presentation formats from \usetheme.

Expected output: pages 1-2 presentation presentation theme, but last page A4 form without effect of \usetheme

Fig. 1 Example form

\documentclass{beamer}
\usepackage[english]{babel}
\usetheme{Berkeley}
\logo{
%% llx lly urx ury
}

%\usepackage{hyperref} % Not needed!
\begin{document}

% https://tex.stackexchange.com/a/384801/13173

% Take data input from Page 1
\begin{frame}
\frametitle{muuttujat}
\section{1. taidot}

\begin{Form}
\begin{enumerate}
\end{enumerate}
\end{Form}
\end{frame}

% Take data input from Page 2
\begin{frame}
\section{2. lorem}

\begin{Form}
\begin{enumerate}
\end{enumerate}
\end{Form}
\end{frame}

% https://tex.stackexchange.com/a/385265/13173
\pdfpagewidth 21cm
\pdfpageheight 29.7cm

% Show summary here from Page 1 and 2
\begin{frame}[plain]
\vskip1cm
\begin{minipage}{19cm}
\frametitle{START}
\section{Summary}
\begin{Form}
\end{Form}
\end{minipage}
\end{frame}

\makeatletter
\pdfpagewidth \beamer@paperwidth
\pdfpageheight \beamer@paperheight
\makeatother

\end{document}


Output: as expected in paper style but the style control tools are still there in Fig. 4

Fig. 4 Control tools wrongly visible on the last page

OS: Debian 9
TeXLive: 2017
PDF viewer: Adobe acroread installed like this

• Maybe this this answer (using the pdfpages package) will do the trick? – David R Aug 7 '17 at 15:51
• Oh sorry, it looks like I misunderstood. I thought you wanted to insert a pdf (the form given) into a beamer presentation. Instead you just want to disable beamer's theming on a given slide, I think? – David R Aug 7 '17 at 16:10
• I'm not sure I understood what you want. But, would \begin{frame}[plain] do? – gusbrs Aug 7 '17 at 22:57
• Also, see tex.stackexchange.com/q/134876/105447. If I understood well, samcarter's answer is what you are looking for. – gusbrs Aug 7 '17 at 23:07
• Offtopic: Never use things like \section inside a frame, but always outside. – user36296 Aug 8 '17 at 15:10

Given the iteration in the comments, I'll try to answer, even though I'm still not clear on what the OP wants. If I understood correctly, you could try the following:

\documentclass{beamer}
\usepackage[english]{babel}
\usetheme{Berkeley}

\begin{document}

% Take data input from Page 1
\section{1. taidot}
\begin{frame}
\frametitle{muuttujat}
\begin{Form}
\begin{enumerate}
\end{enumerate}
\end{Form}
\end{frame}

% Take data input from Page 2
\section{2. lorem}
\begin{frame}
\begin{Form}
\begin{enumerate}
\end{enumerate}
\end{Form}
\end{frame}

\begingroup
% https://tex.stackexchange.com/a/385265/13173
\pdfpagewidth 21cm
\pdfpageheight 29.7cm

% Show summary here from Page 1 and 2
\begin{frame}[plain]
\vskip1cm
\begin{minipage}{19cm}
\frametitle{START}
\section{Summary}
\begin{Form}
\end{Form}
\end{minipage}
\end{frame}

% these below eventually are not needed, if this is the last slide of your document

\makeatletter
\pdfpagewidth \beamer@paperwidth
\pdfpageheight \beamer@paperheight
\makeatother
\endgroup

\end{document}

• I think the only thing that is needed is \setbeamertemplate{navigation symbols}{} to remove navigation symbols. I think \begingroup ... \endgroup is not needed at all. What do you think? – Léo Léopold Hertz 준영 Aug 8 '17 at 15:06
• I was trying to make changes local, but I guess you are correct, if this one is indeed the last slide. In general, it would be more prudent, and I thing there's no harm in leaving it. So, apart from this, that was indeed what you were trying to achieve? – gusbrs Aug 8 '17 at 15:13
• I mean that if you use \begingroup/\endgroup if you include a new frame after \endgroup, the controls would return to defaults, because \setbeamertemplate would thus affect only what's within the group. – gusbrs Aug 8 '17 at 15:19
• Those are to restore \pdfpagewidth and \pdfpageheight to beamer's defaults, as in samcarter's answer. I'm not sure they are strictly necessary here with the use of the group, though. You can try things out a bit. – gusbrs Aug 8 '17 at 15:27
• I extend the case here tex.stackexchange.com/q/385431/13173 with affecting the margins of the plain page. Any ideas? – Léo Léopold Hertz 준영 Aug 8 '17 at 17:10