Saved from https://blog.csdn.net/yhl_leo/article/details/50240179
需要包含宏包: \usepackage{color} 1 方法一: {\color{red} text} 1 方法二: \textcolor[rgb]{1,0,0}{text} 1 另外,使用宏包xcolor也可以实现: \textcolor{red/blue/green/black/white/cyan/magenta/yellow}{text} 1 其中textcolor{}中包含的是系统定义好的颜色。