Skip to content

Colour and links

Adding colour

  • The xcolor package lets you colour text. Load it, then wrap words:
\usepackage{xcolor}
...
\textcolor{red}{This is red} and \textcolor{blue}{this is blue}.
  • Built-in names include red, blue, green, orange, gray, and more.

textcolor prints coloured text and href makes a clickable link

Log in or create account

IGCSE & A-Level