如何在Latex中设置标题字体颜色 [英] how to set header font color in Latex

查看:2090
本文介绍了如何在Latex中设置标题字体颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Latex中更改标题字体的颜色?

Is it possible to change the header font color in Latex?

推荐答案

您可以查看sectsty软件包.

secsty软件包提供了一组命令,用于更改标准LATEX2ε文档类中用于各种截面标题的fount 1.

从手册中:

通过在您的 文件序言:

Make sure you include the package in your document by saying in your document preamble:

\usepackage{sectsty}

然后,您将有一些新命令可用.例如:

You will then have some new commands available. For example:

\allsectionsfont{\sffamily}

将为您提供所有分段标题的sanserif.
 

will give you sanserif for all sectional headings.
 

  • 这是完整手册
    • Here is the full manual
    • 这篇关于如何在Latex中设置标题字体颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆