ข้ามไปยังเนื้อหา

สีและลิงก์

English

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

เข้าสู่ระบบหรือสร้างบัญชี

IGCSE, A-Level & AP