跳到主要内容

Colour and links

添加颜色

  • xcolor 宏包让你给文字上色。加载它,然后把词包起来:
\usepackage{xcolor}
...
\textcolor{red}{This is red} and \textcolor{blue}{this is blue}.
  • 内置的颜色名包括 red、blue、green、orange、gray 等。

textcolor 打印彩色文字,href 做出可点击的链接

登录或创建账户

IGCSE, A-Level & AP