我需要删除每张幻灯片中组成每个小框架的圆圈。它们太多而且重叠。
我设法按照这里指出的建议消除了它们:
更准确地说,通过添加代码:
\setbeamertemplate{mini frame}{}
\setbeamertemplate{mini frame in other section}{}
\setbeamertemplate{mini frame in current subsection}{}
结果部分是我想要的,因为它看起来像这样:
问题是我有 10 个部分,我想要的输出应该如下所示:
最后一部分 HW 缺失,因为看起来隐形圆圈的长度仍然存在。
如果有人能帮助我,我将非常感激。
以下是我的序言内容:
\documentclass{beamer}
\usepackage[english]{babel}
\usetheme{Frankfurt}
\setbeamertemplate{mini frame}{}
\setbeamertemplate{mini frame in other section}{}
\setbeamertemplate{mini frame in current subsection}{}
\usecolortheme{beaver}
\usepackage{geometry}
\usepackage{graphicx, subfigure}
\usepackage{pifont}
\usepackage{fancybox}
\usepackage{color, xcolor, colortbl}
\usepackage{multicol, multirow}
\usepackage{setspace}
\usepackage{amsmath}
\usepackage{natbib}
\usepackage{hyperref}
\setbeamertemplate{navigation symbols}{} %gets rid of navigation symbols
\setbeamercovered{transparent=20}
\setbeamertemplate{footline}[frame number]{} % to show overlay page numbers
type: page number
\setbeamersize{text margin left=0.65cm, text margin right=0.65cm}
\setbeamercolor{item}{fg=red!70!black} % red bullets
\setbeamertemplate{itemize subitem}[triangle] % triangle sub-bullets
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
答案1
我建议修改标题定义,而不是将小框架模板设置为空,因为这会使部分标题垂直居中:
\documentclass{beamer}
\usepackage[english]{babel}
\usetheme{Frankfurt}
\usecolortheme{beaver}
%\usepackage{geometry}
%\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{pifont}
\usepackage{fancybox}
%\usepackage{color, xcolor}
\usepackage{colortbl}
%\usepackage{multicol}
\usepackage{multirow}
\usepackage{setspace}
\usepackage{amsmath}
\usepackage{natbib}
%\usepackage{hyperref}
\setbeamertemplate{navigation symbols}{} %gets rid of navigation symbols
\setbeamercovered{transparent=20}
\setbeamertemplate{footline}[frame number] % to show overlay page numbers type: page number
\setbeamersize{text margin left=0.65cm, text margin right=0.65cm}
\setbeamercolor{item}{fg=red!70!black} % red bullets
\setbeamertemplate{itemize subitem}[triangle] % triangle sub-bullets
\setbeamerfont{itemize/enumerate subbody}{size=\normalsize}
\makeatletter
\setbeamertemplate{headline}{%
\pgfuseshading{beamer@barshade}%
\ifbeamer@sb@subsection%
\vskip-9.75ex%
\else%
\vskip-7ex%
\fi%
\begin{beamercolorbox}[ht=3.5ex,dp=2.125ex]{section in head/foot}
\insertsectionnavigationhorizontal{\textwidth}{}{}%
\end{beamercolorbox}%
\ifbeamer@sb@subsection%
\begin{beamercolorbox}[ignorebg,ht=2.125ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot}
\usebeamerfont{subsection in head/foot}\insertsubsectionhead
\end{beamercolorbox}%
\fi%
}%
\makeatother
\begin{document}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\section{title}
\begin{frame}
content...
\end{frame}
\end{document}