4

There is some package that creates a hyperlink to an image created in latex, that is, to the image created to associate a link to a website.

1 Answers1

2

Here is an example.

\documentclass{article}
\usepackage{hyperref}
\usepackage{tikzmarmots}
\begin{document}
Oh, so many \href{https://www.marmots.org}{\tikz{\marmot}}s!
\end{document}

If you compile it, you'll see

enter image description here

and click on the cute fellow, you will be directed to a web site.

Let me stress that this is very basic. Much more profound applications can be found e.g. here and here.

  • is it possible that the same image has more than one URL? – Samuel Diaz Feb 05 '19 at 21:42
  • @SamuelDiaz How would that work? Meaning where do you want to be directed if you click the button. –  Feb 05 '19 at 21:45
  • @marmat They are constructions in GeoGebra, it depends on the image so they are the URLs that you must have, por example: https://www.geogebra.org/m/kq43fhjz and https://www.geogebra.org/m/rtvengnj – Samuel Diaz Feb 05 '19 at 21:48
  • The idea is that when you click on the image, a window appears offering which of the URLs you want to open one – Samuel Diaz Feb 05 '19 at 21:54
  • 1
    @SamuelDiaz I am not aware of (which is not to be confused with "I doubt that there is") a way to do that with LaTeX. –  Feb 05 '19 at 22:09