Page LayoutBeamer and hyperlink

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
erotavlas
Posts: 19
Joined: Thu Aug 04, 2011 3:53 pm

Beamer and hyperlink

Post by erotavlas »

Hi,

I have a problem with the hyperlink inside a presentation made with beamer.
In few words, in the pdf file, if I try to open an hyperlink it corresponds to the wrong page.
For instance in the following code, the hyperlink summary refers to theorem. What do I wrong?

Thank you in advance

Code: Select all

\documentclass[9pt]{beamer}

\usepackage{amsmath,amssymb,amsfonts}
\usepackage{amsthm}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{url}
\usepackage{hyperref}
\usepackage{setspace}
\graphicspath{{figure/}}
\DeclareGraphicsExtensions{.eps,.pdf,.jpg,.gif}

\newenvironment{myslide}[1] 
{\begin{frame}{\begin{center}#1\vskip-10pt\end{center}}}{\end{frame}}

\mode<presentation>
{
\usetheme[headheight=0.005cm,footheight=0.001cm]{Goettingen}
\usecolortheme{lily}
\setbeamertemplate{theorem}[ams style]
\setbeamertemplate{theorems}[numbered]
}

\setbeamertemplate{footline}[frame number]
\setbeamersize{text margin left=0.15cm,text margin right=0.15cm}

\begin{document}

\title[MyPresentation]{MyPresentation}
\author[Nedo]{Nedo}
\date{\today}

\begin{frame}
\titlepage
\end{frame}

\section*{Summary}
\begin{myslide} {Summary}
\begin{itemize}
\item t
\item t
\end{itemize}
\end{myslide}

\section*{Theorems}
\begin{myslide} {Theorems}
\end{myslide}

\section*{References}
\begin{myslide} {References}
\bibliographystyle{plain}
\bibliography{bibliography/my_bibliography} 
\end{myslide}


\end{document}
Last edited by erotavlas on Wed Sep 07, 2011 10:00 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10330
Joined: Mon Mar 10, 2008 9:44 pm

Re: Beamer and hyperlink

Post by Stefan Kottwitz »

Hi,

I tested this example and the hyperlinks worked: when I click on Summary, the second frame with the summary is shown.

Perhaps post your PDF output here as attachment, and the .aux file.

Stefan
LaTeX.org admin
erotavlas
Posts: 19
Joined: Thu Aug 04, 2011 3:53 pm

Re: Beamer and hyperlink

Post by erotavlas »

How? I don't know why, but my pdf file is not correct.
When I click to the Summary it goes on Theorems while if I click Theorems it goes to References.

It's very strange...

P.S. I'm under Ubuntu 11.04 64 bit with Texmaker 3.1
Attachments
Desktop.tar.bz2
(44.4 KiB) Downloaded 194 times
erotavlas
Posts: 19
Joined: Thu Aug 04, 2011 3:53 pm

Re: Beamer and hyperlink

Post by erotavlas »

Hi,

I have tried to open the pdf file with acrobat reader and all works well. So the internal viewer of Texmaker and the Document viewer of Ubuntu probably have some bugs.

Thank you
Post Reply