1

I'm looking for a "good" set of options for hyperpdf that will result in a neatly looking PDF, suitable for both print and digital viewing.

If I simply use \usepackage{hyperref}, I get a red box around every TOC entry and a green box around every reference, which is not presentable.

  • Or a simple switch; e.g.: \newif\ifcolour \colourtrue \ifcolour \hypersetup{colorlinks, allcolors=blue} \else \hypersetup{hidelinks} \fi. Then just comment out \colourtrue when you want to print. – jon Nov 23 '15 at 2:32
2

One possible solution is the set of options that were used for the hyperref manual itself:

  \usepackage[%
    pdftex,%
    colorlinks,%
    hyperindex,%
    plainpages=false,%
    bookmarksopen,%
    bookmarksnumbered,
    pdfusetitle,%
  ]{hyperref}

This way all the boxed will be gone, and the TOC items text color will become red, and the refs text color will become green.

| improve this answer | |
1

Taken from my PHD thesis as a starting point:

\usepackage[%
bookmarks, 
bookmarksopen=true, 
bookmarksopenlevel=1, 
bookmarksnumbered=true, 
hidelinks,
pdfstartpage={1}, 
pdfstartview={FitH},
pdfpagelabels=true,
plainpages=false,
hyperfootnotes=true,
]{hyperref} 

I think hidelinks is the most important part (removing color and border).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.