firamath
1.0.0
FIRA MATH是具有Unicode Math支持的Sans-Serif字体。该字体是
然后从github发布页面下载FiraMath-Regular.otf ,然后:
Install底部以安装。.otf字体文件直接复制到%WINDOWS%Fonts中以安装它们。.otf字体文件复制到您的字体目录。sudo fc-cache 。如果没有特殊原因,则应始终通过软件包管理器安装FIRA数学:
tlmgr install firamathmpm --admin --install=firamath这两个分布都有GUI接口,您也可以喜欢它们。
[不推荐]从CTAN或GITHUB发行页下载firamath.tds.zip ,将其提取在您的一个TDS树的根部,然后运行mktexlsr和fc-cache以更新文件名数据库和字体缓存。
在安装在OS(或TEX发行版)上后,可以在乳胶,上下文和Microsoft Word中使用Fira Math。
% Compiled with XeLaTeX or LuaLaTeX
documentclass { article }
usepackage { amsmath }
usepackage [ mathrm=sym ]{ unicode-math }
setmathfont {Fira Math}
begin { document }
[
int _0^{ mathrm { pi }} sin x , mathrm {d}x = 2
]
end { document }您也可以尝试firamath-otf软件包。 - 感谢赫伯特·沃斯!
% Compiled with ConTeXt MkIV
definefontfamily [mainface] [rm] [FiraGO] % Require FiraGO fonts
definefontfamily [mainface] [mm] [Fira Math]
setupbodyfont [mainface]
starttext
startformula
int _0^{ mathrm { pi }} sin x , mathrm {d}x = 2
stopformula
stoptext请参阅https://tex.stackexchange.com/q/429621。
请参阅https://superuser.com/q/1114697。
要构建FIRA数学,您可能
python -m pip install -U pip
pip install -r requirements.txt
patch $( python -c " import os, glyphsLib; print(os.path.join(glyphsLib.__path__[0], 'builder', 'axes.py')) " ) scripts/axes.py.diff
python scripts/build.py请注意,需要Python 3.9+。由于我们使用的是Glyphslib的开发版本,因此最好使用Python虚拟环境。
要编辑源文件,需要字形3。
如果您只想下载最新的开发版本,请尝试使用GitHub Action中的工件。
总是欢迎问题和拉的请求。
该字体软件由SIL Open Font许可证(版本1.1)获得许可。
版权所有©2018–2023撰写的Ziangdong Zeng。