A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/firamath/firamath below:

firamath/firamath: Sans-serif font with Unicode math support

Fira Math is a sans-serif font with Unicode math support. This font is a fork of

Download FiraMath-Regular.otf from the GitHub release page, then:

Fira Math can be used in LaTeX, ConTeXt and Microsoft Word after installed on your OS (or the TeX distribution).

% 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}

You may try the firamath-otf package as well. - Thanks Herbert Voß!

% 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

See https://tex.stackexchange.com/q/429621.

  1. Create a new equation. Then select the little additional settings corner.
  2. In the menu, change the Default font to Fira Math.
  3. In order for the changes to take effect, you will have to create a new equation environment (the current one will not be changed).
  4. To change the font in existing equations, select the equation text and select an OpenType math-enabled font (such as Fira Math).

See https://superuser.com/q/1114697.

To build Fira Math, you may

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

Note that Python 3.9+ is required. Since we are using the dev version of glyphsLib, it's better to use a Python virtual environment.

To edit the source files, Glyphs 3 is required.

If you just want to download the latest development version, please try the artifacts in GitHub Actions.

Issues and pull requests are always welcome.

This Font Software is licensed under the SIL Open Font License, Version 1.1.

Copyright © 2018–2023 by Xiangdong Zeng.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4