Using Hyperlinks
October 17, 2011
Mark Senn

If you have trouble using hyperlinks don't use them. They are not required by the Thesis and Dissertation office or any school/department/program that I'm aware of.

Here is an example of how to do hyperlinks in a thesis.

    \documentclass[ece,dissertation]{puthesis}

    % Use the pdftex option if you're using pdflatex.
    % See the options starting on the bottom of page 2 of
    %     http://tug.ctan.org/tex-archive/macros/latex/contrib/hyperref/doc/manual.pdf
    % for other choices.
    \usepackage[pdftex]{hyperref}

    \begin{document}

        Here's a link to \href{http://www.stanford.edu}{Stanford University}.

        Here's a link to
        % Note the \makeatletter, \hyper@tilde, and \makeatother are needed
        % to get a tilde (~) in a URI.
        \makeatletter
        \href{http://engineering.purdue.edu/\hyper@tilde mark/test.txt}{test.txt}.
        \makeatother

        Here's a link to \href{file:///home/pier/e/mark/test.txt}{/home/pier/e/mark/test.txt}
        on the computer you started your PDF reader from.

        Here's a link to \href{file:./test.txt}{test.txt}
        on the computer and in the directory you started your PDF reader on.

    \end{document}

Revised: October 17, 2011
Created: October 14, 2008