Text FormattingLinks

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Georg

Links

Post by Georg »

Hi
I have a crash here:
\usepackage[pdftex, pdfborderstyle={/S}]{hyperref}
\hypersetup{pdfborder={0 0 0}, citecolor=Black}
\hypersetup{pdfborder={0 0 1}, linkcolor=Black}

pdfborder is not working for both of them.
How can we let pdfborder to work well for both conditions?

Thank you all.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

kaiserkarl13
Posts: 707
Joined: Tue Mar 25, 2008 5:02 pm

Links

Post by kaiserkarl13 »

I'm pretty sure pdfborderstyle={\S} is wrong; I looked through the source and through some other forums, and tried this:
\usepackage[pdftex, pdfborderstyle={/S/S}]{hyperref}
and that seemed to work.

You cannot set border thicknesses on different types of links independently, from what I can see.
Georg

Links

Post by Georg »

Dear Karl,
Thank you but it is not working.
I mean borders around links and no borders around cites.
Post Reply