从 Beamer 中的导航窗格中删除超链接

从 Beamer 中的导航窗格中删除超链接

我在使用 Beamer 演示文稿时遇到了问题。我使用的是演示遥控器,它使用 Tab 键来切换超链接。它工作得很好,只是所有子部分的导航窗格链接都出现在幻灯片上的链接之前。是否可以只让导航窗格不包含超链接,但其他所有内容仍包含超链接?我见过的大多数示例要么只是删除栏,要么从所有内容中删除所有超链接,要么只删除目录幻灯片。

平均能量损失

\documentclass[aspectratio=169,14pt]{beamer}
\usetheme{Marburg}

\usenavigationsymbolstemplate{}

\begin{document}

\section*{Chart Toppers}
\begin{frame}{First Big Hit}
\begin{columns}
  \column{0.5\textwidth}
  \href{./ball.mp3}{``After the Ball''}
  \column{0.5\textwidth}
  \includegraphics[height=0.8\textheight]{ball.jpg}
\end{columns}
\end{frame}
\end{document}

答案1

您可以使用\NoHyper ... \endNoHyper以下方法来暂时禁用超链接:

\documentclass[aspectratio=169,14pt]{beamer}
\usetheme{Marburg}

\addtobeamertemplate{sidebar right}{\NoHyper}{\endNoHyper}

\usenavigationsymbolstemplate{}


\begin{document}

\section*{Chart Toppers}
\begin{frame}{First Big Hit}
\begin{columns}
  \column{0.5\textwidth}
  \href{./ball.mp3}{``After the Ball''}
  \column{0.5\textwidth}
  \includegraphics[height=0.4\textheight]{example-image-duck}
\end{columns}
\end{frame}
\end{document}

相关内容