如何解决这个 Beamer TeX 中的超链接问题?

如何解决这个 Beamer TeX 中的超链接问题?

在这个 Beamer TeX 中,当我单击example-image-bintem2 时,我会转到 image-b。但是当我单击图像时,我会返回到原始幻灯片,但没有 item2。我希望当我返回幻灯片时 item2 位于幻灯片中。

\documentclass{beamer}

\usetheme{Darmstadt}        



\graphicspath{{./images/}}
\usepackage{ragged2e}

\begin{document}

\section{Section One}
\subsection{Subsection One}
\begin{frame}
\frametitle{Outline}
\label{frm:Outline}

\begin{itemize}\addtolength{\itemsep}{1.5\baselineskip}
  \item   Item1, \hyperlink{frm:first_image}{example-image-a}
  \item <+(1)-> Item2, \hyperlink{frm:second_image}{example-image-b,} \hyperlink{frm:third_image}{example-image-c}
  \item <+(1)-> Item3

\end{itemize}
\end{frame}


\begin{frame}[plain]
\label{frm:first_image}
     \centering
\hyperlink{frm:Outline}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-a}
}
\end{frame}

\begin{frame}[plain]
\label{frm:second_image}
     \centering
\hyperlink{frm:Outline}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-b}
}
\end{frame}

\begin{frame}[plain]
\label{frm:third_image}
     \centering
\hyperlink{frm:Outline}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-c}
}
\end{frame}
\end{document}

答案1

您只需要在正确的位置添加新标签并跳转到它们即可。

\documentclass{beamer}
\usetheme{Darmstadt}        

\begin{document}

\section{Section One}
\subsection{Subsection One}
\begin{frame}
\frametitle{Outline}
\label{frm:Outline}

\begin{itemize}\addtolength{\itemsep}{1.5\baselineskip}
  \item   Item1, \hyperlink{frm:first_image}{example-image-a}
  \item <+(1)-> Item2, \hyperlink{frm:second_image}{example-image-b,}
  \hyperlink{frm:third_image}{example-image-c} 
  \label<+(1)->{frm:Outline-2}
  \item <+(1)-> Item3 
   \label<+(1)->{frm:Outline-3}
\end{itemize}
\end{frame}


\begin{frame}[plain]
\label{frm:first_image}
     \centering
\hyperlink{frm:Outline}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-a}
}
\end{frame}

\begin{frame}[plain]
\label{frm:second_image}
     \centering
\hyperlink{frm:Outline-2}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-b}
}
\end{frame}

\begin{frame}[plain]
\label{frm:third_image}
     \centering
\hyperlink{frm:Outline-2}{%
\includegraphics[width=\textwidth,height=\textheight]{example-image-c}
}
\end{frame}
\end{document}

相关内容