我的 Beamer 演示文稿中有大提纲。我需要将其分成两张幻灯片。我该怎么做?
梅威瑟:
\documentclass[xcolor=dvipsnames]{beamer}
\usepackage[utf8]{inputenc}
\title[title]{My Full Title}
\author[RPS]{Rudresh Dwivedi \\ Supervisor: Dr. Somnath Dey}
\institute[ ]{Indian Institute of Technology Indore}
\date{\today}
\usepackage[style=numeric,citestyle=numeric,backend=biber]{biblatex}
\addbibresource{Bilder/example.bib}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\section[Introduction]{Introduction}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[]}
\begin{frame}{Introduction}
Three forms of user authentication:
Knowledge base
Tokens
Biometric: physiological and behavioral characteristics
\end{frame}
\section[problem1]{Solution to problem1}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[currentsection]}
\begin{frame}{Introduction}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\end{frame}
\subsection[problem1]{Results to problem1}
\begin{frame}{Introduction}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\end{frame}
\subsection[problem1]{Conclusion to problem1}
\begin{frame}{Introduction}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\end{frame}
\section[problem2]{Solution to problem 2}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[currentsection]}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\subsection[problem 2]{Results to problem 2}
\begin{frame}{Introduction}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\end{frame}
\subsection[problem 2]{Conclusion to problem 2}
\begin{frame}{Introduction}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\end{frame}
\section[problem3]{Solution to problem 3}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[currentsection]}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\subsection[problem 3]{Results to problem3}
\begin{frame}{Introduction}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\end{frame}
\subsection[problem 3]{Conclusion to problem3}
\begin{frame}{Introduction}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\end{frame}
\section[Related]{ Related work}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[currentsection]}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\section[Proposed work]{ Proposed work}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[currentsection]}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\section{Future work}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[currentsection]}
Blah Blah Blah Blah
Blah Blah Blah Blah
Blah Blah Blah Blah
\begin{frame}[allowframebreaks]{Reference}
\begin{tiny}
\printbibliography
\end{tiny}
\end{frame}
\section[Thank you]{Thank you}
\frame[handout:0]{\frametitle{Outline}\tableofcontents[currentsection]}
\subsection{Any questions?}
\begin{frame}{}
\begin{figure}[!htp]
\centering
Thank you image
% \includegraphics[width=5cm, height=4cm]{Bilder/thanku.pdf}
\end{figure}
\end{frame}
\end{document}
答案1
根据 Sam Carters 的解决方案:通过在一张幻灯片上使用两列文本,您可以避免使用两张幻灯片。当然,此解决方案仅适用于相对较小的章节标题,并且\section
文档中最多只有 9 个章节。
%% Modiefied from Sam Carters solution
\AtBeginSection{%
\begin{frame}[allowframebreaks]
\frametitle{Outline}
\begin{columns}
\begin{column}{0.49\linewidth}
\tableofcontents[sections=1-4, currentsection]
\end{column}\hfill%
\begin{column}{0.49\linewidth}
\tableofcontents[sections=5-9, currentsection]
\end{column}
\end{columns}
\end{frame}
}
答案2
基本上有几种可能性,我建议使用手动拆分目录\tableofcontents[sections=1-4]
。
要在某个部分开始处自动显示目录,您可以使用\AtBeginSection{...
,但我想总是显示多张幻灯片会变得很烦人......
\documentclass{beamer}
\AtBeginSection{%
\begin{frame}[allowframebreaks]
\frametitle{Outline}
\tableofcontents[sections=1-4, currentsection]
\framebreak
\tableofcontents[sections=5-9, currentsection]
\end{frame}
}
\begin{document}
% possibility 1a: manual breakpoint; gives you the most control
\begin{frame}
\frametitle{Outline}
\tableofcontents[sections=1-4]
\end{frame}
\begin{frame}
\frametitle{Outline}
\tableofcontents[sections=5-9]
\end{frame}
% possibility 1b:
\begin{frame}[allowframebreaks]
\frametitle{Outline}
\tableofcontents[sections=1-4]
\framebreak
\tableofcontents[sections=5-9]
\end{frame}
% possibility 2: automatic break, might not give nice breakpoints
\begin{frame}[allowframebreaks]
\frametitle{Outline}
\tableofcontents
\end{frame}
\section{sec1}\frame{}
\section{sec2}\frame{}
\section{sec3}\frame{}
\section{sec4}\frame{}
\section{sec5}\frame{}
\section{sec6}\frame{}
\section{sec7}\frame{}
\section{sec8}\frame{}
\section{sec9}\frame{}
\end{document}