删除特定幻灯片中的平滑条

删除特定幻灯片中的平滑条

我想从大纲幻灯片和最后一张幻灯片中删除平滑条。我应该怎么做?

梅威瑟:

\documentclass{beamer}
\mode<presentation> {

\usetheme{frankfurt}
\usefonttheme{professionalfonts} }

\AtBeginSection[] {
    \ifnum\insertsubsectionstartpage=\insertsectionstartpage
    \relax%
    \else%
    \begingroup
    \setbeamertemplate{headline}{}
    \addtobeamertemplate{frametitle}{\vspace*{-0.9\baselineskip}}{}
    \begin{frame}<beamer>
    \frametitle{Outline} %
    \tableofcontents[currentsection]  
    \end{frame}
    \endgroup
\fi%
}

\AtBeginSubsection[] % Do nothing for \subsection*
{
    \begingroup
    \setbeamertemplate{headline}{}
    \addtobeamertemplate{frametitle}{\vspace*{-0.9\baselineskip}}{}
    \begin{frame}<beamer>
    \frametitle{Outline}
    \tableofcontents[currentsection,currentsubsection]
    \end{frame}
\endgroup
}

\makeatletter
\setbeamertemplate{footline}{
    \leavevmode%
    \hbox{%
        \begin{beamercolorbox}[wd=.4\paperwidth,ht=2.25ex,dp=1ex,center]{author in head/foot}%
            \usebeamerfont{author in head/foot}\insertshortauthor\expandafter\ifblank\expandafter{\beamer@shortinstitute}{}{~~(\insertshortinstitute)}
        \end{beamercolorbox}%
        \begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,center]{title in head/foot}%
            \usebeamerfont{title in head/foot}\insertshorttitle
        \end{beamercolorbox}%
        \begin{beamercolorbox}[wd=.3\paperwidth,ht=2.25ex,dp=1ex,right]{date in head/foot}%
            \usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
            \insertframenumber{} / \inserttotalframenumber\hspace*{2ex} 
    \end{beamercolorbox}}%
    \vskip0pt%
}
\makeatother


\title[short title]{Insert your title}
\author{Author}
\institute[]{Author's University}
\date{\today}

\begin{document}

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

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

%------------------------------------------------
\section{First Section}
%------------------------------------------------

\subsection{Subsection Example}

\begin{frame}
\frametitle{Paragraphs of Text}
Sed \alert{highlighted text} iaculis dapibus gravida. Morbi sed tortor erat, nec interdum arcu. Sed id lorem lectus. Quisque viverra augue id sem ornare non aliquam nibh tristique. Aenean in ligula nisl. Nulla sed tellus ipsum. Donec vestibulum ligula non lorem vulputate fermentum accumsan neque mollis.\\~\\

Sed diam enim, sagittis nec condimentum sit amet, ullamcorper sit amet libero. Aliquam vel dui orci, a porta odio. Nullam id suscipit ipsum. Aenean lobortis commodo sem, ut commodo leo gravida vitae. Pellentesque vehicula ante iaculis arcu pretium rutrum eget sit amet purus. Integer ornare nulla quis neque ultrices lobortis. Vestibulum ultrices tincidunt libero, quis commodo erat ullamcorper id.
\end{frame}

\begin{frame}
\Huge{\centerline{The End}}
\end{frame}

\end{document}

答案1

一个简单的解决方案是使用[plain]框架:

\documentclass{beamer}
\mode<presentation> {

\usetheme{frankfurt}
\usefonttheme{professionalfonts} }

\begin{document}

\begin{frame}[plain]
\frametitle{Outline}
\tableofcontents
\end{frame}

\end{document}

相关内容