先从字体开始讲起。长久以来我一直都是用LaTeX的默认字体(所有TeX系统的默认字体)Computer Modern系列。严格讲,Computer Modern是Knuth制作的一系列配套的字体。我们先得介绍一些关于英文字体的术语:
1.serif/sans-serif
Serif就是比划顶端的衬线。典型的serif字体有
Times New Roman:
Computer Modern:
如果仔细看的话,computer modern字体横向的比划特别细,纵向比划特别粗。这是所有modern字体相对于old style或transitional(e.g. times new roman)的特点。
sans-serif就是没有衬线的字体。典型的sans-serif字体有
Helvetica
3. typewriter,bold, small cap, old style numeral, etc
typewriter也叫monospace,就是等宽字体。err,大家应该已经注意到前面所有的字体里,每个字符的宽度都不一样吧。typewriter字体既有serif的也有sans-serif的。典型的例子是Courier
bold是粗体,所有的字体都可以bold,不仅限于sans-serif。
small cap:
old style numerals:
4. pt, em, ex
传统的pt是一英寸的 1/72.27,TeX里的pt也是这个定义。现在新法的pt是1/72英寸,网页设计里讲的pt用的是这个定义。TeX里,1/72英寸叫做big point,或者bp。
em是当前字体中大写M的宽度。ex是当前字体中小写x的宽度。
市面上字体多如牛毛,但是大部分LaTeX用户还是在用Computer Modern。原因是大部分字体都没有考虑数学公式中的符号,要配一套风格谐调的正文字体和数学字体不是一件容易的事。
但是选择还是有的,Stephen G. Hartke就此写了篇总结文章:A Survey of Free Math Fonts for TeX and LaTeX1。我们看几个典型的例子