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。