我使用的是 beamer Ilmenau 主题。我有两个部分(优点和缺点)需要在演示过程中同时展示。目前,导航分别显示优点和缺点的每个子部分(框架)的项目符号。我希望有一种方法可以在这两个部分之间切换,例如,从优点部分的第一个点开始,然后跳转到缺点部分的第一个点,依此类推。这可能吗?
\documentclass{beamer}
\usetheme{Ilmenau}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}[t]
\frametitle{Table of Contents}
\tableofcontents
\end{frame}
\section{Introduction}
\begin{frame}[t]
\frametitle{Welcome}
So this is where we start..
\end{frame}
\begin{frame}[t]
\frametitle{Electric Vehicles}\vspace{4pt}
\begin{enumerate}
\item 1
\item 2
\end{enumerate}
\end{frame}
\section{Pros}
\begin{frame}[t]
\frametitle{Really good}\vspace{4pt}
\end{frame}
\begin{frame}[t]
\frametitle{Awesome to say the least}\vspace{4pt}
\end{frame}
\begin{frame}[t]
\frametitle{No doubt}\vspace{4pt}
\end{frame}
\begin{frame}[t]
\frametitle{One word: Epic}\vspace{4pt}
\end{frame}
\section{Cons}
\begin{frame}[t]
\frametitle{Privacy issues}\vspace{4pt}
\end{frame}
\begin{frame}[t]
\frametitle{Danger!}\vspace{4pt}
\end{frame}
\begin{frame}[t]
\frametitle{Keep away}\vspace{4pt}
\end{frame}
\begin{frame}[t]
\frametitle{Are you serious?}\vspace{4pt}
\end{frame}
\section{Conclusion}
\begin{frame}[t]
\frametitle{The verdict...}\vspace{4pt}
\end{frame}
\end{document}
答案1
我认为你正在寻找这样的东西:
\documentclass{beamer}
\usepackage{nameref}
\hypersetup{colorlinks=true,linkcolor=red}
\usetheme{Ilmenau}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}[t]\label{toc}
\frametitle{Table of Contents}
\tableofcontents
\end{frame}
\section{Introduction}
\begin{frame}[t]\label{welcome}
\frametitle{Welcome}
So this is where we start..
\end{frame}
\begin{frame}[t,label={Vehicles}]
\frametitle{Electric Vehicles}\vspace{4pt}
\begin{enumerate}
\item 1
\item 2
\end{enumerate}
\end{frame}
\section{Pros}
\subsection{Pros 1}
\begin{frame}[t,label={Pros1}]
\frametitle{Really good}\vspace{4pt}
\begin{center}
\hyperlink{Cons1}{\beamerbutton{Cons}}
\end{center}
\end{frame}
\subsection{Pros 2}
\begin{frame}[t,label={Pros2}]
\frametitle{Awesome to say the least}\vspace{4pt}
\begin{center}
\hyperlink{Cons2}{\beamerbutton{Cons}}
\end{center}
\end{frame}
\subsection{Pros 3}
\begin{frame}[t,label={Pros3}]
\frametitle{No doubt}\vspace{4pt}
\begin{center}
\hyperlink{Cons3}{\beamerbutton{Cons}}
\end{center}
\end{frame}
\subsection{Pros 4}
\begin{frame}[t,label={Pros4}]
\frametitle{One word: Epic}\vspace{4pt}
\begin{center}
\hyperlink{Cons4}{\beamerbutton{Cons}}
\end{center}
\end{frame}
\section{Cons}
\subsection{Cons 1}
\begin{frame}[t,label={Cons1}]
\frametitle{Privacy issues}\vspace{4pt}
\begin{center}
\hyperlink{Pros2}{\beamerbutton{Pros}}
\end{center}
\end{frame}
\subsection{Cons 2}
\begin{frame}[t]\label{Cons2}
\frametitle{Danger!}\vspace{4pt}
\begin{center}
\hyperlink{Pros3}{\beamerbutton{Pros}}
\end{center}
\end{frame}
\subsection{Cons 3}
\begin{frame}[t]\label{Cons3}
\frametitle{Keep away}\vspace{4pt}
\begin{center}
\hyperlink{Pros4}{\beamerbutton{Pros}}
\end{center}
\end{frame}
\subsection{Cons 4}
\begin{frame}[t]\label{Cons4}
\frametitle{Are you serious?}\vspace{4pt}
\end{frame}
\section{Conclusion}
\begin{frame}[t]
\frametitle{The verdict...}\vspace{4pt}
\end{frame}
\end{document}