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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anybody know if this is possible using TikZ?

I'm trying to create links over a picture that i have layed on the background of a frame or at least placing them on some nodes in a TikZ code.

share|improve this question
Can you include a MWE for that frame only? – percusse Apr 29 '13 at 22:54
How do include the picture though? – user28552 Apr 29 '13 at 22:58
up vote 3 down vote accepted

Yes, it's possible. You can use the \hyperlink, \hypertarget mechanism provided by hyperref together with some TikZ \nodes. In the following example, the \invlink command receives three mandatory arguments:


where the lengths <xshift> and <yshift> allow you to specify the horizontal and vertical shifting from the (current page.center) node, and <name> is the string that will be used for linking to the corresponding target. To have a large area for the links, I used a \phantom rule. Both the image and the links will be placed in the background canvas; in my example I used the frame titles for the \hypertargets, but you can use any other element.


  \node at ([xshift=#1,yshift=#2]current page.center) 


\setbeamertemplate{background canvas}{%
\begin{tikzpicture}[remember picture,overlay]
Some test text

\frametitle{\hypertarget{A}{Test frame A}}

\frametitle{\hypertarget{B}{Test frame B}}

\frametitle{\hypertarget{C}{Test frame C}}


CTAN lion drawing by Duane Bibby.

share|improve this answer
is there any way to make the links temporarily visible? – user28552 Apr 30 '13 at 18:14
@user28552 use some "real" contents for the second argument of \hyperlink. – Gonzalo Medina Apr 30 '13 at 18:49

Your Answer


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.