禁用议程幻灯片中的子部分,但保留导航树

禁用议程幻灯片中的子部分,但保留导航树

background我想在幻灯片中显示部分并禁用子部分agenda。因此,我不想丢失以下(相关项目、技术、需求和潜在工具)幻灯片中的导航树,如第二张屏幕截图所示。我该如何实现这一点?

在此处输入图片描述

在此处输入图片描述

特克斯代码

\documentclass[xcolor=dvipsnames]{beamer}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usetheme{Antibes}
\usecolortheme[named=Maroon]{structure} 
\setbeamercovered{transparent}

\title{Test}
\author{Alex XYZ}
\institute{University XYZ}
\date{20.01.16}



\begin{document}
\beamertemplatenavigationsymbolsempty

\begin{frame}
\titlepage
\end{frame}

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

%%%%%%%%%%%%%%%%%%%%%%%%5

\section{Introduction}
\begin{frame}{Introduction}
\end{frame}


\section{Background}

\subsection{Related Projects}
\begin{frame}{Related Projects: Waze}


\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Technologies}
\begin{frame}{Technologies}

\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\subsection{Requirements}
\begin{frame}{Requirements}

\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Potential Tool}
\begin{frame}{Potential Tool}

\end{frame}

\section{System Design and Database}
\begin{frame}{System Design and Database}
Content of database.
\end{frame}

\end{document}

答案1

Beamer 有一个内置机制来隐藏目录中的子部分:

\tableofcontents[hidesubsections]

完整 MWE:

\documentclass[xcolor=dvipsnames]{beamer}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usetheme{Antibes}
\usecolortheme[named=Maroon]{structure} 
\setbeamercovered{transparent}

\title{Test}
\author{Alex XYZ}
\institute{University XYZ}
\date{20.01.16}



\begin{document}
\beamertemplatenavigationsymbolsempty

\begin{frame}
\titlepage
\end{frame}

\begin{frame}
\frametitle{Agenda}
\tableofcontents[hidesubsections]
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%5

\section{Introduction}
\begin{frame}{Introduction}
\end{frame}


\section{Background}

\subsection{Related Projects}
\begin{frame}{Related Projects: Waze}


\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Technologies}
\begin{frame}{Technologies}

\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\subsection{Requirements}
\begin{frame}{Requirements}

\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Potential Tool}
\begin{frame}{Potential Tool}

\end{frame}

\section{System Design and Database}
\begin{frame}{System Design and Database}
Content of database.
\end{frame}

\end{document}

在此处输入图片描述

相关内容