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
  • 3
    Yes, hyperref is such a package. – user121799 Nov 17 '18 at 1:06
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.

5
  • is it possible that the same image has more than one URL? – Samuel Diaz Feb 5 '19 at 21:42
  • @SamuelDiaz How would that work? Meaning where do you want to be directed if you click the button. – user121799 Feb 5 '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: geogebra.org/m/kq43fhjz and geogebra.org/m/rtvengnj – Samuel Diaz Feb 5 '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 5 '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. – user121799 Feb 5 '19 at 22:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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