Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am designing a presentation in beamer and would like to use \tableofcontents to generate an outline frame. However, by default, beamer includes hyperlinks on the section names in the table of contents. Here is a minimal example of this:

\documentclass{beamer}

\begin{document}

\begin{frame}
  \tableofcontents
\end{frame}

\section{First}
\begin{frame}
  \frametitle{Who's on first?}
\end{frame}

\section{Second}
\begin{frame}
  \frametitle{What's on second?}
\end{frame}

\end{document}

I have found that it is much too easy to accidentally click on one of these hyperlinks while speaking and derail the presentation. Aside from manually writing a contents frame, how can I remove these hyperlinks?

share|improve this question
add comment

1 Answer

up vote 8 down vote accepted

You can use the environment NoHyper:

\documentclass{beamer}

\begin{document}

\begin{frame}
\begin{NoHyper}
  \tableofcontents
\end{NoHyper}
\end{frame}

\section{First}
\begin{frame}
  \frametitle{Who's on first?}
\end{frame}

\section{Second}
\begin{frame}
  \frametitle{What's on second?}
\end{frame}

\end{document}
share|improve this answer
    
I think NoHyper should be included in the hyperref documentation. If you're interested in stopping the hyperlinking from some point onward, issue \makeatletter \stop@hyper \makeatother. –  Werner Sep 11 '11 at 15:40
1  
@Werner: You can find the environment in the complete hyperref manual –  Marco Daniel Sep 11 '11 at 15:51
    
Ahhh, thanks for pointing out the difference between the two manuals. –  Werner Sep 11 '11 at 15:53
    
@Marco: That works great! Thanks. –  Henry DeYoung Sep 11 '11 at 15:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.