我想在演示文稿大纲的目录中显示我的小节。
在sty文件中,他是我代码
\AtBeginSection[]{
\begin{frame}
\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide]
\end{frame}
}
在主文件(tex)中我有:
\begin{frame}{Overline}
\tableofcontents[sectionstyle=show,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide]
\end{frame}
\section{Introduction}
\subsection{Context}
\subsection{Justification of Study}
\subsection{Hypothesis}
\subsection{Objectives}
\section{Methodology}
\subsection{Study Area}
\subsection{Data}
\subsection{Tools}
\subsection{Methods}
\section{Results and Discussion}
\subsection{Results}
\subsection{Discussion}
\section{Conclusion and Perspectives}
\subsection{Conclusion}
\subsection{Perspectives}
答案1
默认情况下会显示子部分,因此你可以直接subsectionstyle=show/shaded/hide
从大纲中删除
\documentclass{beamer}
\AtBeginSection[]{
\begin{frame}
\tableofcontents[sectionstyle=show/shaded,subsectionstyle=show/shaded/hide,subsubsectionstyle=show/shaded/hide]
\end{frame}
}
\begin{document}
\begin{frame}
\frametitle{Outline}
\tableofcontents
\end{frame}
\section{Introduction}
\subsection{Context}
\subsection{Justification of Study}
\subsection{Hypothesis}
\subsection{Objectives}
\section{Methodology}
\subsection{Study Area}
\subsection{Data}
\subsection{Tools}
\subsection{Methods}
\section{Results and Discussion}
\subsection{Results}
\subsection{Discussion}
\section{Conclusion and Perspectives}
\subsection{Conclusion}
\subsection{Perspectives}
\end{document}