% In order to get hyperlinks working (in PDF):
\RequirePackage{url}
\RequirePackage{color}
\RequirePackage{hyperref}
%% Formerly in R's hyperref.cfg, possibly to be shared with Sweave.sty
%% as well (but without setting pagebackref as this can give trouble
%% for .bib entries containing URLs with '#' characters).
\definecolor{Blue}{rgb}{0,0,0.8}
\definecolor{Red}{rgb}{0.7,0,0}
\hypersetup{%
  hyperindex,%
  colorlinks={true},% instead of "boxes" - advantage of boxes: do *NOT* print
  pagebackref={true},%
  linktocpage,%
  plainpages={false},%
  linkcolor={Blue},%
  citecolor={Blue},%
  urlcolor={Red},%
  pdfstartview={Fit},%
  pdfview={XYZ null null null}%
}

