
我想將“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
。