CTAN Comprehensive TeX Archive Network

hrefhide – Suppress hyper links when printing

This package provides the command \hrefdisplayonly (additionally to \href provided by the hyperref package). While the (hyperlinked) text appears like an ordinary \href in the compiled pdf-file, the same text will be “hidden” when printing the text. Hiding is actually achieved by making the text the same colour as the background, thus preserving the layout of the rest of the text.

Further the commands \hycon and \hycoff (hyper-colour-on/off) can be used to simulate switching option ocgcolorlinks of the hyperref package on and off.

This package is possibly obsolete, see section 3: “Alternatives” in the documentation.

Version1.1a 2023-02-26
LicensesThe Project Public License 1.3
Copyright2010–2023 H.-Martin Münch
MaintainerHans-Martin Münch
TDS archivehrefhide.tds.zip
Contained inTeX Live as hrefhide
MiKTeX as hrefhide

Download the contents of this package in one zip archive (431.9k).

Community Comments



Here you can see a respective diagram in newer browsers.


Guest Book Sitemap Contact Contact Author