跳至主要内容

在Latex中如何显示黑体的希腊字母

一般的英文字母用\textbf{}或者\mathbf{}(在数学环境中)可使之显示为黑体。但是这两个命令对于希腊字幕不好用。如何才能使希腊字母也显示成黑体呢?在网上找到了下面两种方法。
1)
Setting bold Greek letters in LaTeX

The issue here is complicated by the fact that \mathbf (the command for setting bold text in TeX maths) affects a select few mathematical symbols (the uppercase Greek letters). However lower-case Greek letters behave differently from upper-case Greek letters (due to Knuth’s esoteric font encoding decisions). However, \mathbf can’t be used even for upper-case Greek letters in the AMSLaTeX amsmath package, which disables this font-switching and you must use one of the techniques outlined below.

The Plain TeX solution does work, in a limited way:

{\boldmath$\theta$}

but \boldmath may not be used in maths mode, so this ‘solution’ requires arcana such as:

$... \mbox{\boldmath$\theta$} ...$

which then causes problems in superscripts, etc.

These problems may be addressed by using a bold mathematics package.

* The bm package, which is part of the LaTeX tools distribution, defines a command \bm which may be used anywhere in maths mode.
* The amsbsy package (which is part of AMSLaTeX) defines a command \boldsymbol, which (though slightly less comprehensive than \bm) covers almost all common cases.

All these solutions cover all mathematical symbols, not merely Greek letters.

2)
Using Bold Greek Letters in LaTeX

Bold Greek letters are available using boldsymbol in the amsmath package.

\documentclass{article}
\usepackage{amsmath}

\begin{document}
Let $\boldsymbol\alpha$ be a vector. Call it $\boldsymbol\beta$.
\end{document}

(Note that this is not to be taken as an example of good mathematical exposition.)

原文的链接在此:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=boldgreek
http://math.berkeley.edu/~vojta/tex/samp-l/boldgreek.html

评论

此博客中的热门博文

I want to learn Emacs

I'm using crimson editor, a good text editor from Korea. It has worked very well for me till now, but it has not been updated since 2004 and recently I found some features that crimson editor does not have,such as code folding, really useful. So I want to switch to a powerful, up-to-date, extendable and cross-platform editor. Between vi and Emacs, I chose the later one. Emacs is not easy to learn, so I just want to learn some basic features firstly. 1. Switch between buffers, buffer and minibuffer, and modes. One does not need to change into a special mode to input the content in Emacs (This is one reason why I did not choose vi), but Emacs does have a minibuffer to take some complected commands from the user. And in Emacs one can have many buffers and each buffer has a mode (not the same "mode" in vi). So have to learn what they are and how to switch between them. 2. Basic editing, such as creat new, open, save, and close file, copy and paste, search and replace ... 3. F...

闲话

通常我在google上搜索的是,“如何在windows 7下配置ssh”,“vi命令”, 诸如此类的问题。百无聊赖的时候,搜一下“如何才能活得快乐”,这个居然也有答案。 这两天睡的太晚。今天实在挺不住了,回到家先睡了一觉,结果晚上睡不着。喝了点儿酒,还是睡不着。其实也不是为了睡觉才喝酒,就是想喝酒。 现在写着的这支笔,用起来不太舒服。Sailor的pocket pen, 比我另外两支pocket pen还要短1cm。不戴笔帽太短了,戴上笔帽重心太靠后,笔总向上翘,不舒服。想到Ebay上把它卖了,不过在此之前要拍照留念。我现在是不戴笔帽写的。 对,我是在纸上写的,不是在电脑上敲的。有图有真相! 太晚了,还是得去睡觉了。明天早上起来又是一个好人。张爱玲说的。 要是落款的话,现在可以用“醉墨“两个字。 我觉得这笔也没有那么讨厌了。 晚安,再见!