Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 1.53 KB

latex-math-font.md

File metadata and controls

59 lines (41 loc) · 1.53 KB

+++ title = "一行代码为 LaTeX 修改数学公式字体" description = "LaTeX 数学公式换字体也不难" categories = ["TECH","LaTeX 科技排版"] tags = [""] date = "2020-02-27T00:19:35+08:00" keywords = ["经验分享","技术总结","LaTeX","自定义字体","matnoble","数系家园"] katex = true series = ["latex"] +++

排版公式是 $\LaTeX$ 的强项, 但同一个字体看的次数多了, 也难免审美疲劳.所以, 今天用简单的几行命令改变一下公式的字体

  • 首先导入美国数学学会字体包
\usepackage{amsmath,amsthm,amsfonts,amssymb,bm}

然后尝试不同字体:

  • Times New Roman

最常用的新罗马字体

\usepackage{newtxtext,newtxmath}

Times New Roman

  • Times
\usepackage{mathptmx}

mathptmx

  • Charter
\usepackage{charter}

charter

  • Fourier
\usepackage{fourier}

fourier

上面几个字体效果图, 仔细看还是能看起来出区别来的. 喜欢哪个, 就拿去用吧!