1

The sample book of tufte-latex gives no colored border around links when compiled with \hypersetup{colorlinks=false}. I checked that this is not a problem of the PDF viewer, so is unrelated to the other question. How to enable colored borders around links when using tufte-latex?

  • Welcome to TeX.SX! – moewe Sep 17 '15 at 7:10
  • Amongst others tufte-common.def sets \hypersetup{pdfborder = {0 0 0}}, try \hypersetup{pdfborder = {0 0 1}} – moewe Sep 17 '15 at 7:11
1

tufte-common.def sets

\hypersetup{%
  pdfborder = {0 0 0},
  bookmarksdepth = section,
  citecolor = DarkGreen,
  linkcolor = DarkBlue,
  urlcolor = DarkGreen,
}%

when hyperref is loaded.

So in order to get the borders back, we can just restore the default

\hypersetup{pdfborder = {0 0 1}}

See also What do the first two numbers in the pdfborder option of hyperref do?

MWE

\documentclass[nobib]{tufte-book}
\hypersetup{pdfborder = {0 0 1}}
\begin{document}
\url{http://www.example.com}
\end{document}

enter image description here

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.