Monday 24 October 2011

How to generate PDFs with hyper reference by Latex?

When you use LaTex to write up a PDF file, you can use cross reference to make your document inherent. To make it even easier for reading, the package {hyperref} is a quite useful package to go. You can quickly jump to the right place where you do want to, no matter it is equation, figures, or just sections.

A quick example is as follows:

\documentclass{article}
\usepackage{amsmath}
\usepackage{hyperref}
\begin{document}
\begin{equation}\label{eq:test}
  a=b\end{equation}
\eqref{eq:test}
\end{document}

No comments:

Post a Comment