Latex段落标记指定颜色\textcolor使用方法

函数原型是:

\textcolor[model]{
    
    color}{
    
    text}

三个参数分别是:
model: 色彩模式,例如rgb
color: 色彩参数,例如1,0,0为正红色
text: 标颜色段落
案例:

\textcolor[rgb]{
    
    1,0,0}{
    
    This paragraph is an example.}

Guess you like

Origin blog.csdn.net/qq_43511299/article/details/119712383