Line breaks in \hyperlink text

by Daniel   Last Updated January 09, 2018 12:23 PM

I'm writing a document with lots of \hypertarget and \hyperlink in them using pdflatex.

I'm trying to get the text of

\hyperlink{label}{very long text that should line break}

to line break. Similarly with

\hyperref[label]{very long text that should line break}

I'm including hyperref with

\usepackage[linktocpage,
            ocgcolorlinks,
            allcolors=blue,
            breaklinks]{hyperref}

unfortunately to no avail. How can I get the link text to line break?



Related Questions






Can't embed hyperlink references in a tooltip

Updated October 23, 2017 13:23 PM