How to link to web pages from LaTeX-generated PDF
This has been on my to-do list for a while, but I finally found out how to embed hyperlinks in a PDF file generated from LaTeX.
Short answer: put \usepackage{hyperref} in your header, and when you want to link to a page, use the command \href{URL}{anchor text}. For example,
text
\documentclass{article}
\usepackage{hyperref}
\begin{document}
Here's a link to \href{https://x.com/home}{X}.
\end{document}For much more detail on links in LaTeX documents, see Patrick Jöckel’s LaTeX-PDF page and the hyperref package documentation. [Update: looks like these links went away.]