作者noway501 (dream on)
看板LaTeX
标题Re: [问题] beamer 如何显示出 section 的名称 ??
时间Sat Jun 21 17:43:28 2008
提供英文的
\AtBeginSection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
\AtBeginSubsection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
※ 引述《[email protected] (lusceimx)》之铭言:
: ※ 引述《[email protected] (考个没完)》之铭言:
: > 小弟近日由於论文报告需求,接触了 beamer
: > 但是发现 beamer 似乎无法将 subsection 的名称直接显示在投影片上面,
: > 我是在存成 pdf 档之後发现不行的,有人能够解决这个问题吗? 我是希望像下面这样
: > 例如: 第一页是下面
: > Section 1 An Introduction to ....
: > 第二页是下面
: > Subsection 1.1 ....................
: > 第三页才开始 subsection 1.1 的内容
: > 请问要怎麽弄才能显示出这样的效果啊? 谢谢
: 这是我以前用的方法 好像有点鸟鸟的 不过应该算堪用
: 参考看看罗
: \AtBeginSection[]
: {
: \begin{frame}
: \begin{center}
: \def\zthesection{%
: \ifcase\thesection\or 一\or 二\or 三\or 四\or 五\or 六\or 七\fi}
: \structure{\Huge\CJKfamily{hwyk}第 \zthesection{} 章~\insertsection}
: \end{center}
: \end{frame}
: }
: \AtBeginSubsection[]
: {
: \begin{frame}
: \begin{center}
: \def\zthesubsection{%
: \ifcase\thesubsection\or 一\or 二\or 三\or 四\or 五\or 六\or 七\fi}
: \structure{\Huge\CJKfamily{hwyk}第 \zthesubsection{} 节~\insertsubsection}
: \end{center}
: \end{frame}
: }
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.26.66