作者david520 (提升自己的价值)
看板LaTeX
标题Re: [问题] 用 beamer 怎麽作出不要显示页数的隐藏 …
时间Wed May 5 13:34:27 2010
我当初为了加入页数
插入了这一段
\setbeamertemplate{footline}
{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{author
in head/foot}%
\usebeamerfont{author in head/foot}\insertshortauthor
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,center]{title
in head/foot}%
\usebeamerfont{title in head/foot}\insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.25ex,dp=1ex,right]{date
in head/foot}%
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} /
\inserttotalframenumber\hspace*{2ex}
%加上页码与总页数(其实我是计frame数因为pagenumber不会采计appendix的部份)
\end{beamercolorbox}}%
\vskip0pt%
}
把红字的部份拿掉 应该就没有总页数了@@
-----------
刚刚爬一下文,发现另一个方法,刚刚也尝试了一下,可行。
就是在不想显示的那一个frame里
加入 \thispagestyle{empty}
该页的页首和页尾就会不见了 (当然页码也不见了,不过只有该页,其他都还在)
※ 引述《newlittle (小新)》之铭言:
: 有些投影片是要留着回答问题时拿出来秀的
: 所以是放在最後面
: 但是数量满庞大
: 在总页数部分相当惊人 1/xxx <---这里
: 可以像PPT那样隐藏起来
: 或是不要计算总页数吗?
: 谢谢
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 120.126.20.214
※ 编辑: david520 来自: 120.126.20.214 (05/05 13:44)