Skip to content

hyperref and url in Scissor LaTeX

The hyperref and url packages mostly work in Scissor LaTeX: \href, \url, \hyperref[label]{text}, \autoref and \nameref work, while \hypersetup options such as link colours and PDF metadata are ignored and \nolinkurl is unknown.

What the packages do

hyperref turns references, citations and URLs into clickable links in the PDF and adds commands for links: \href{url}{text}, \url{...}, \hyperref[label]{text} and \autoref{label}, which prints the kind of thing and its number ("Section 2"). \hypersetup{...} sets link colours and PDF properties. The url package alone provides \url.

What works here

CommandIn Scissor LaTeXNotes
\href{url}{text}WorksAlso mailto: addresses.
\url{...}WorksCharacters such as _ need no escaping. The address is set in the text font, not in a monospaced font.
\hyperref[label]{text}WorksPrints the text.
\autoref{label}Works"Section 1", "Figure 2" and so on.
\nameref{label}PartlyPrints the number, not the title of the section.
\pageref{label}Works
\hypersetup{...}, package optionsLeft outLink colours, borders and PDF metadata are not applied.
\nolinkurl{...}Not supportedSkipped with a Problems note; the text is kept.

Examples

Links to the web, to an e-mail address and to a section, and \autoref:

\autoref for figures and tables, and \nameref, which prints a number here:

\autoref and \nameref

LaTeXPreamble: \usepackage{hyperref}Open in editor (opens in a new tab)
\section{Method}\label{sec:method}
\begin{table}[h]
  \centering
  \begin{tabular}{lr} Erika & 44 \\ John & 38 \\ \end{tabular}
  \caption{Scores.}\label{tab:scores}
\end{table}
\autoref{tab:scores} lists the scores; \nameref{sec:method}
describes how they were measured.
Rendered by Scissor LaTeX: \autoref and \nameref

\hypersetup is accepted, but colours are not applied:

\hypersetup is ignored

\documentclass{article}
\usepackage{hyperref}
\hypersetup{colorlinks=true, urlcolor=blue, linkcolor=red}
\begin{document}
A link to \href{https://example.com}{example.com} in plain black.
\end{document}

Compatibility

  • From a TeX installation to here: links and references work. Link colours and PDF properties from \hypersetup are not applied, and \nameref gives a number instead of a title.
  • From here to a TeX installation: documents compile there unchanged. Load hyperref last among your packages, as usual.

The full manuals are on CTAN: ctan.org/pkg/hyperref and ctan.org/pkg/url. For a guide, see Links and URLs and Labels and cross-references. For \cref, see cleveref.

Questions and answers

Are links clickable in the exported PDF?

Links from \href and \url point to their addresses, and \ref, \autoref and \hyperref jump to their targets in the PDF.

Why are my links not coloured?

\hypersetup and the colour options of hyperref are ignored, so links look like the surrounding text. That keeps the PDF ready for print.

Every example on this page is typeset by Scissor LaTeX when the site is built. Last updated 2026-11-06.