summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/firamath/README.md
blob: 0f20daea3cda543d899fb54bdf8b08f785630239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Fira Math

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

- [FiraSans](https://github.com/bBoxType/FiraSans)
- [FiraGO](https://github.com/bBoxType/FiraGO)

## Usage

Fira Math can be used in LaTeX or Microsoft Word after installed on your OS.

### LaTeX

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

### Microsoft Word

1. Create a new equation. Then select the little *additional settings* corner.

1. In the menu, change the *Default font* to Fira Math.

1. In order for the changes to take effect, you will have to create a new equation environment (the current one will not be changed).

1. 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>.

## License

This Font Software is licensed under the [SIL Open Font License](http://scripts.sil.org/OFL), Version 1.1.

-----

Copyright (C) 2018 by Xiangdong Zeng <xdzeng96@gmail.com>.