0
\documentclass{beamer}
%\def\cleardoublepage{...}  <-- how to do this ?
\begin{document}
\frame{this is page 1}
\frame{this is page 2}
\cleardoublepage
\frame{this is page 3} %<-- show in page 3
\cleardoublepage
\frame{this is page 5}  %<-- show in page 5
\end{document}

How to write the \def ... ?

3
  • 2
    \cleardoublepage is used in double sided documents to force the placement of remaining floats (figures,tables etc) and finish everything untill start a new page (ususally a new chapter) from the upcoming empty odd page... So, in beamer something like this would not have an effect. Please be more specific on what you want to achieve...
    – koleygr
    Jan 23, 2019 at 5:55
  • i want \frame{this is page 3} and \frame{this is page 5} on odd pages, because i will use "view -> double page" mode show sth, perhaps blank on page 4 but some notes on page 6
    – Zeno Shuai
    Jan 23, 2019 at 7:23
  • \just use an empty \frame{} between page 3 and page 5
    – koleygr
    Jan 23, 2019 at 8:15

1 Answer 1

2

You indicated in comments, that you want to use these additional pages for things like notes. The good news is that beamer already has a mechanism for notes, which you could use:

\documentclass{beamer}

\setbeameroption{show notes}

\setbeamertemplate{note page}{\insertnote} % <- make the notes pages empty, otherwise it will show a preview of the frame 

\begin{document}

\begin{frame}
this is page 1
\end{frame}

\begin{frame}
this is page 2
\end{frame}

\begin{frame}
this is page 3
\note{~}
\end{frame}

\begin{frame}
this is page 5
\note{notes on page 6}
\end{frame}

\end{document}

enter image description here

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .