如何将目录添加到 beamer 中?

如何将目录添加到 beamer 中?

我第一次想用 beamer 做演示。它在这里:

\documentclass{beamer}
\mode<presentation> {
\usetheme{Madrid}
}
\usepackage{graphicx} 
\usepackage{booktabs} 
\title[XXXX]{XXXXX} 

\author{Maryam} 
\institute[AI] 
{AI Lab \\ % Your institution for the title page
\medskip
\textit{[email protected]} % Your email address

}
\date{\today} 

\begin{document}

\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}

\begin{frame}
\frametitle{Overview} 
\tableofcontents
\end{frame}


%   PRESENTATION SLIDES

\section{xxxx1} % 
%------------------------------------------------

\subsection{xx2} % 

\begin{frame}
\frametitle{f1}
bla bla...

\end{frame}

%------------------------------------------------

\begin{frame}
\frametitle{f2}
bla bla
\end{frame}


%------------------------------------------------
\section{Mathematical Modeling}

\begin{frame}
\frametitle{Hill-Function based method}
\begin{equation*} \label{eq: main odes10-main1-last}
\frac{dr_a}{d\tau}=\frac{T_0}{H_r} \left(\left[1-\prod_{j=1}^{K_a}\rho(\alpha_{aj} r_{j},S_{aj}, k_{aj})\right]\prod_{m=K_a+1}^{J_a}\rho(\alpha_{am} r_{m},S_{am}, k_{am})-r_a(t)\right)\end{equation*}

\end{frame}

%------------------------------------------------

\section{Results}

\begin{frame}
\frametitle{Regions}

\end{frame}

%----------------------------------------------------------------------------------------

\end{document} 

如何让所有幻灯片左侧都有目录?以及如何附加徽标?

谢谢

答案1

这可能就是你想要的。

\documentclass[12pt]{beamer}
\usetheme{Berkeley}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage[english]{babel}
\logo{\includegraphics[height=1cm]{example-image-a}}
\title[XXXX]{XXXXX}

\author{Maryam}
\institute[AI]
{AI Lab \\ % Your institution for the title page
\medskip
\textit{[email protected]} % Your email address

}
\date{\today}

\begin{document}

\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}

\begin{frame}{Overview}
\tableofcontents
\end{frame}


%   PRESENTATION SLIDES

\section{xxxx1} %
%------------------------------------------------

\subsection{xx2} %

\begin{frame}{f1}
bla bla...

\end{frame}

%------------------------------------------------

\begin{frame}{f2}
bla bla
\end{frame}


%------------------------------------------------
\section{Mathematical Modeling}

\begin{frame}{Hill-Function based method}
\begin{equation*} \label{eq: main odes10-main1-last}
\frac{dr_a}{d\tau}=\frac{T_0}{H_r} \left(\left[1-\prod_{j=1}^{K_a}\rho(\alpha_{aj} r_{j},S_{aj}, k_{aj})\right]\prod_{m=K_a+1}^{J_a}\rho(\alpha_{am} r_{m},S_{am}, k_{am})-r_a(t)\right)\end{equation*}

\end{frame}

%------------------------------------------------

\section{Results}

\begin{frame}{Results}


\end{frame}

%----------------------------------------------------------------------------------------

\end{document} 

在这里,要将目录放在左侧,请使用BerkeleyBeamer 主题。
然后,要插入徽标,请使用命令\logo{[options]\includegraphics{filename.extension}}
此外,您无需\frametitle{}\begin{frame}环境本身中包含单独的 ,只需添加一个参数即可。像这样\begin{frame}{frametitle}

在此处输入图片描述


突出显示当前部分

在此处输入图片描述

缩放方程以适合框架:

在此处输入图片描述

相关内容