hycolor
Provides essential color handling functionality for hyperlinks and bookmarks in PDF documents.
Overview
Serves as a backend implementation package that manages color-related features for hyperlinks and document navigation elements. While not intended for direct user interaction, it plays a crucial role in:
- Enabling consistent color handling for clickable links in PDF output
- Supporting color specifications for document bookmarks
- Ensuring compatibility between hyperref and bookmark packages for PDF color management
Though typically not directly referenced by users, this package is automatically loaded when needed by other packages that require its color handling capabilities.
Getting Started
The hycolor
package is automatically loaded by hyperref and bookmark packages. You don't need to load it directly:
\documentclass{article}
\usepackage{hyperref} % hycolor is loaded automatically
% or
\usepackage{bookmark} % hycolor is loaded automatically
This package is primarily intended for package authors and provides color support for hyperref and bookmark packages.
Examples
Using hycolor with hyperref to create colored hyperlinks in a document.
\documentclass{article}
\usepackage{xcolor}
\usepackage[colorlinks=true,linkcolor=blue,citecolor=green,urlcolor=red]{hyperref}
\begin{document}
\section{Introduction}\label{sec:intro}
This is a document demonstrating colored hyperlinks. Click to go to the \hyperref[sec:references]{References} section.
See the paper by \cite{smith2020} for more information.
Visit \url{https://www.example.com} for additional resources.
\section{References}\label{sec:references}
\begin{thebibliography}{9}
\bibitem{smith2020} Smith, J. (2020). Example paper title. Journal of Examples, 1(1), 1-10.
\end{thebibliography}
\end{document}