如何更改 \section{} 样式?特别是我想改变章节标题的颜色。
我碰巧在Edward R. Tufte(http://code.google.com/p/tufte-latex/)之后发现了一些简洁的风格,并且我正在尝试找到一种修改部分颜色的方法。
颜色包工作正常,但问题是颜色章节号没有改变。
\section{\color{Red}ELPA}
titlesec
。
将其放入 LaTeX 标头中(在
\begin{document}
之前)
\usepackage{titlesec}
\usepackage{color}
\titleformat{\section}
{\color{red}\normalfont\Large\bfseries}
{\color{red}\thesection}{1em}{}
\usepackage{sectsty} % llsections 字体