[Tex/LaTex] How display the href link in the footnote

footnoteslinks

My document has several \href that I would like to be shown on the footnote. How can I do it?

Best Answer

I usually write something like this, so the entry is hyperlinked for onscreen reading but there's also a footnote to the URL for paper output.

\documentclass{article}
\usepackage{hyperref}
\newcommand\fnurl[2]{%
  \href{#2}{#1}\footnote{\url{#2}}%
}
\begin{document}
hello \fnurl{Google}{www.google.com}
\end{document}
Related Question