LaTeX 加粗


本系列文章由 @yhl_leo 出品,转载请注明出处。
文章链接: http://blog.csdn.net/yhl_leo/article/details/50997822


LaTeX中文本加粗的方法,给出代码示例,一看就懂:

documentclass{article}
usepackage{amsmath}


begin{document}

    1. yhlleo

    2. 	extbf{yhlleo}

    3. $textbf{yhlleo}$

    4. $mathbf{yhlleo}$

    5. $theta_i$

%   6. $textbf{	heta}_i$

    7. $mathbf{	heta}_i$

    8. $pmb{	heta}_i$

end{document}

latex

可以看出2,3,4三种文本加粗方法基本没什么区别,而对于类似希腊字符的特殊字符是不允许使用 extbf{}的方式加粗的,编译会报错。对于特殊字符的加粗要使用pmb{}的方法,mathbf{}没有作用。

原文地址:https://www.cnblogs.com/hehehaha/p/6332141.html