向下移动章节-子章节的垂直列表

向下移动章节-子章节的垂直列表

我想将“Goettingen”等主题中出现的部分和子部分的垂直“索引”向下移动。我尝试使用 添加垂直跳过addtobeamertemplate,但这会将所有侧边栏内容向下移动,而我想要的只是移动“索引”,而不是作者/标题,以便在“作者”和“第 1 节”之间获得自由的垂直空间。我附上了一些示例代码:

\documentclass{beamer}
\usetheme{Goettingen}

\title[Title]{title}
\author[Author]{author}

\addtobeamertemplate{sidebar right}{\vskip25pt}{}
\begin{document}
\section{Section 1}
\subsection{1}
\frame{1}
\subsection{2}
\frame{2}
\subsection{3}
\frame{3}
\subsection{4} 
\frame{4}
\subsection{5} 
\frame{5}
\subsection{6} 
\frame{6} 
\end{document}

答案1

删除您的\addtobeamertemplate并添加

\usepackage{etoolbox}
\patchcmd\insertverticalnavigation{\dohead}{\vskip25pt\dohead}{}{}

你的序言。

这将搜索投影仪源的定义\insertverticalnavigation,并在命令打印垂直导航器之前添加垂直跳过\dohead

前 后

相关内容