latex hypersetup pdf setup code example
Example 1: url in latex
\usepackage{hyperref}
%Use \href{URL}{DESCRIPTION} to add a link with description.
%Use \url{URL} to add a link without a description.
Example 2: include link in latex
\documentclass{article} % or any other documentclass
%...
\usepackage{hyperref}
%...
\begin{document}
%...
\end{document}