![在 latex beamer 上,迷你框架的圆圈在底部被框架标题切割](https://linux22.com/image/439681/%E5%9C%A8%20latex%20beamer%20%E4%B8%8A%EF%BC%8C%E8%BF%B7%E4%BD%A0%E6%A1%86%E6%9E%B6%E7%9A%84%E5%9C%86%E5%9C%88%E5%9C%A8%E5%BA%95%E9%83%A8%E8%A2%AB%E6%A1%86%E6%9E%B6%E6%A0%87%E9%A2%98%E5%88%87%E5%89%B2.png)
答案1
在后面添加以下几行\useoutertheme[subsection=false]{miniframes}
:
\usepackage{xpatch}
\makeatletter
\xpatchcmd\beamer@@tmpl@headline{%
\vskip2pt\insertnavigation{\paperwidth}\vskip2pt%
}{%
\vskip2pt\insertnavigation{\paperwidth}\vskip5pt% modify 5pt to change the distance
}{}{}
\makeatother
这修补了在 中定义的代码texmf-dist/tex/latex/beamer/beamerouterthememiniframes.sty
。
\documentclass[compress]{beamer}
\usetheme{Warsaw}
\useoutertheme{infolines}
\useoutertheme[subsection=false]{miniframes}
\usepackage{xpatch}
\makeatletter
\xpatchcmd\beamer@@tmpl@headline{%
\vskip2pt\insertnavigation{\paperwidth}\vskip2pt%
}{%
\vskip2pt\insertnavigation{\paperwidth}\vskip5pt% modify 5pt to change the distance
}{}{}
\makeatother
\begin{document}
\section{A}
\begin{frame}{a}
\end{frame}
\begin{frame}{b}
\end{frame}
\section{B}
\begin{frame}{a}
\end{frame}
\begin{frame}{b}
\end{frame}
\end{document}