【问题标题】:How to get rid of navigations symbols如何摆脱导航符号
【发布时间】:2018-05-23 15:24:09
【问题描述】:
我阅读了解决同一问题的相关帖子,但没有找到回复。
我想去掉导航符号,即第一部分、第二部分等下面的小点。
我尝试使用:
\setbeamertemplate{导航符号}{}
但它不起作用。
我也试过了:
\beamertemplatenavigationsymbolsempty
在
之前或之后
开始{文档}
但它不起作用。
更准确地说,当我编写命令时:
\beamertemplatenavigationsymbolsempty
在 TeXStudio 上它以红色突出显示。当我用鼠标在它上方滚动时,我看到了“无法识别的消息”消息。
如果有人可以帮助我,我将非常感激。
马可
【问题讨论】:
标签:
navigation
latex
beamer
【解决方案1】:
部分名称下方的小圆点称为mini frames,navigation symbols 是右下角的箭头。
去除小框最快的方法是设置
\setbeamertemplate{mini frames}{}
但是,在较新的投影仪版本中,不幸的是,这会使部分名称垂直错位。修复这个可以调整标题:
\documentclass{beamer}
\usetheme{Dresden}
\makeatletter
\setbeamertemplate{headline}{%
\begin{beamercolorbox}[colsep=1.5pt]{upper separation line head}
\end{beamercolorbox}
\begin{beamercolorbox}{section in head/foot}
\vskip2pt\insertsectionnavigationhorizontal{\paperwidth}{}{}\vskip2pt
\end{beamercolorbox}%
\ifbeamer@theme@subsection%
\begin{beamercolorbox}[colsep=1.5pt]{middle separation line head}
\end{beamercolorbox}
\begin{beamercolorbox}[ht=2.5ex,dp=1.125ex,%
leftskip=.3cm,rightskip=.3cm plus1fil]{subsection in head/foot}
\usebeamerfont{subsection in head/foot}\insertsubsectionhead
\end{beamercolorbox}%
\fi%
\begin{beamercolorbox}[colsep=1.5pt]{lower separation line head}
\end{beamercolorbox}
}
\makeatother
\begin{document}
\section{Part one}
\begin{frame}
xxx
\end{frame}
\section{Part two}
\begin{frame}
xxx
\end{frame}
\end{document}