LaTeX 加粗


LaTeX 加粗

 

 

 


本系列文章由 @yhl_leo 出品,转载请注明出处。
文章链接: http://blog.csdn.net/yhl_leo/article/details/50997822
LaTeX中文本加粗的方法,给出代码示例,一看就懂:

\documentclass{article}
\usepackage{amsmath}


\begin{document}

1. yhlleo

2. \textbf{yhlleo}

3. $\textbf{yhlleo}$

4. $\mathbf{yhlleo}$

5. $\theta_i$

% 6. $\textbf{\theta}_i$

7. $\mathbf{\theta}_i$

8. $\pmb{\theta}_i$

\end{document}


可以看出2,3,4三种文本加粗方法基本没什么区别,而对于类似希腊字符的特殊字符是不允许使用\textbf{}的方式加粗的,编译会报错。对于特殊字符的加粗要使用\pmb{}的方法,\mathbf{}没有作用。
---------------------
作者:yhl_leo
来源:CSDN
原文:https://blog.csdn.net/yhl_leo/article/details/50997822
版权声明:本文为博主原创文章,转载请附上博文链接!

 

posted @ 2019-03-06 20:22  菜鸡一枚  阅读(3606)  评论(0)    收藏  举报