Beamer:只有一些導航符號並垂直組織導航符號

Beamer:只有一些導航符號並垂直組織導航符號

我正在使用投影機創建演示文稿,我想要以下內容:

  1. 導航符號垂直組織和
  2. 不顯示所有導航符號,僅顯示部分導航符號

我可以實現 1. 或 2.,但不能同時實現兩者。

垂直導航符號:

\documentclass{beamer}

\setbeamertemplate{navigation symbols}[vertical] 

\begin{document}

\begin{frame} 
\frametitle{Test frame} 
foo   
\end{frame}

\end{document}

在此輸入影像描述

只有一些導航符號,但是是水平的:

\documentclass{beamer}

\setbeamertemplate{navigation symbols}{\insertframenavigationsymbol \insertsectionnavigationsymbol \insertbackfindforwardnavigationsymbol} 

\begin{document}

\begin{frame}
\frametitle{Test frame}
foo
\end{frame}

\end{document}

如果我寫\setbeamertemplate{navigation symbols}[vertical]{\insertframenavigationsymbol \insertsectionnavigationsymbol \insertbackfindforwardnavigationsymbol},我會收到一條錯誤訊息 ( Missing \begin{document})

那我需要做什麼,比如說只有三個導航符號垂直對齊?

謝謝。

答案1

我將翻譯這裡寫的內容:http://mcclinews.free.fr/latex/introbeamer/elements_navigation.html

兩者不相容。然後要選擇要垂直放置的符號,您必須輸入以下內容:

\setbeamertemplate{navigation symbols}
{%
  \vbox{%
  \hbox{\insertslidenavigationsymbol}
  \hbox{\insertframenavigationsymbol}
  \hbox{\insertsubsectionnavigationsymbol}
  \hbox{\insertsectionnavigationsymbol}
  \hbox{\insertdocnavigationsymbol}
  \hbox{\insertbackfindforwardnavigationsymbol}}%
}

相關內容