添加颜色:
\usepackage{color} \textcolor[rgb]{0,0,1}{text}
批量清除颜色:
替换命令,勾选正则表达式
\\textcolor\[rgb\]\{0\,0\,1\}\{([^}]*)\}替换为$1,即可以将\textcolor[rgb]{0,0,1}{text}还原为text
4.13 Replacing text with a regular expression
The parameter $1 must be used for the captured text and the "Regular Expression" option must be checked (click on the "+" button)
For example (to replace all the \textit{foo} by \textbf{foo}) :
"Find" field : \\textit\{([^}]*)\}
"Replace" field : \textbf{$1}