Beamer 部分标题幻灯片

Beamer 部分标题幻灯片

我希望每个部分之前都有一个部分标题幻灯片(但不是完整的目录),但我不希望幻灯片在标题上方显示默认的“第 1 部分”,就像以下 MWE 一样:

\documentclass[slidestop,compress,mathserif,12pt,xcolor=dvipsnames,xcolor=table{beamer}
\setbeamertemplate{caption}{\insertcaption}
\definecolor{LHCblue}{RGB}{4, 114, 255}
\usecolortheme[named=LHCblue]{structure}
\usepackage[bars]{beamerthemetree} % Beamer theme v 2.2
\usepackage{kerkis}
\usepackage{geometry}
\usepackage{adjustbox}
\usepackage{multimedia}
\usepackage{tikz}     
\usepackage{subfigure}
\usepackage{ latexsym }
\usepackage{graphics}
\mode<presentation>
\newcommand*\oldmacro{}%
\let\oldmacro\insertshorttitle%
\renewcommand*\insertshorttitle{%
\oldmacro\hfill%
\insertframenumber\,}%/\,\inserttotalframenumber
\setbeamertemplate{footline}[frame number]
 \usetheme{Ilmenau} 
 \useoutertheme[subsection=true]{smoothbars}
\useinnertheme{circles} %rectangle bullet points instead of circle ones
\usepackage{beamerthemebars}
\setbeamercolor{navigation symbols dimmed}{fg=red!80!black}
\setbeamercolor{navigation symbols}{fg=red!80!black}
\title{Title}
\author[Author\hspace{2.5cm}]{Author}
\institute{Institute}

 \AtBeginSection[]
{
  \begin{frame}

    \sectionpage
 \end{frame}
 }


\usepackage{textpos}

\begin{document}

\begin{frame}
\titlepage
\end{frame}
\section{First Section}
\end{document}

答案1

您可以重新定义章节页面以删除Section xxx章节标题上方的行。

关于您的代码的其他一些评论:

  • ]第一行缺失

  • 你可以xcolor=dvipsnames,xcolor=table将它们组合成xcolor={dvipsnames,table}

  • slidestop选项已过时,请使用该t选项

  • mathserif选项已过时,请\usefonttheme[onlymath]{serif}改用

  • 您不需要加载graphics包,beamer 已经加载graphicx

\documentclass[
%slidestop,
t,
compress,
%mathserif,
12pt,xcolor={dvipsnames,table}]{beamer}
\usefonttheme[onlymath]{serif}
\setbeamertemplate{caption}{\insertcaption}
\definecolor{LHCblue}{RGB}{4, 114, 255}
\usecolortheme[named=LHCblue]{structure}
\usetheme[bars]{tree} % Beamer theme v 2.2
\usepackage{kerkis}
%\usepackage{geometry}
\usepackage{adjustbox}
\usepackage{multimedia}
\usepackage{tikz}     
\usepackage{subfigure}
\usepackage{ latexsym }
%\usepackage{graphics}
\mode<presentation>
\newcommand*\oldmacro{}%
\let\oldmacro\insertshorttitle%
\renewcommand*\insertshorttitle{%
\oldmacro\hfill%
\insertframenumber\,}%/\,\inserttotalframenumber
\setbeamertemplate{footline}[frame number]
 \usetheme{Ilmenau} 
 \useoutertheme[subsection=true]{smoothbars}
\useinnertheme{circles} %rectangle bullet points instead of circle ones
\usepackage{beamerthemebars}
\setbeamercolor{navigation symbols dimmed}{fg=red!80!black}
\setbeamercolor{navigation symbols}{fg=red!80!black}
\title{Title}
\author[Author\hspace{2.5cm}]{Author}
\institute{Institute}

\makeatletter
\setbeamertemplate{section page}
{
  \begingroup
    \centering
%    {\usebeamerfont{section name}\usebeamercolor[fg]{section name}\sectionname~\insertsectionnumber}
    \vskip1em\par
    \begin{beamercolorbox}[sep=12pt,center,rounded=true]{section title}
      \usebeamerfont{section title}\insertsection\par
    \end{beamercolorbox}
  \endgroup
}
\makeatother

 \AtBeginSection[]
{
  \begin{frame}

    \sectionpage
 \end{frame}
 }


\usepackage{textpos}

\begin{document}
\section{First Section}
\begin{frame}
content...
\end{frame}
\end{document}

在此处输入图片描述

相关内容