Directory macros/unicodetex/latex/unicode-math
The UNICODE-MATH package
This package provides an implementation of Unicode/OpenType mathematics for XeLaTeX and LuaLaTeX.
While I am a little wary of encouraging people to use this package for production work, I understand that it has certain uses and am making it available for distribution. Your testing and feedback is essential to fill in the many gaps that I miss!
Please be aware that this package is undergoing continued development and the interface and functionality should not be considered completely stable. But the more the package is used the more stable it will become. (Things are generally working now; it is only minutiae that may change in the future.)
Unicode maths is currently supported by the following freely available fonts:
- Latin Modern Math (Bogusław Jackowski, Janusz M. Nowacki)
- TeX Gyre Bonum Math (B. Jackowski, P. Strzelczyk and P. Pianowski)
- TeX Gyre Pagella Math (B. Jackowski, P. Strzelczyk and P. Pianowski)
- TeX Gyre Schola Math (B. Jackowski, P. Strzelczyk and P. Pianowski)
- TeX Gyre Termes Math (B. Jackowski, P. Strzelczyk and P. Pianowski)
- DejaVu Math TeX Gyre (B. Jackowski, P. Strzelczyk and P. Pianowski)
- Asana Math (Apostolos Syropolous),
- STIX (STIpub), and
- XITS Math (Khaled Hosny),
- Libertinus Math (Philipp H. Poll and Khaled Hosny).
- Fira Math (Xiangdong Zeng).
These fonts are available under open source licences (the GUST Font License and Open Font Licence).
The following fonts are proprietary with OpenType maths support:
- Lucida Bright Math (Charles Bigelow and Kris Holmes)
- Cambria Math (Microsoft),
- Minion Math (Johannes Küster, typoma GmbH)
I'm always looking for new fonts to test with, so please let me know of any new releases.
PACKAGE USAGE
Please see the PDF documentation for full details. A simple beginning is:
\usepackage{unicode-math} \setmathfont{texgyrepagella-math.otf}
Most LaTeX math should still work after this. (Let me know if it doesn't.) Furthermore, it will be in a different font.
REQUIREMENTS
As well as running XeTeX or LuaTeX, this package requires recent versions of the lm-math
, fontspec
, expl3
, xpackages
, and lualatex-math
packages.
THANKS
I write LaTeX code as a hobby and a passion, not as part of my day job. If you would like to say thanks, please consider a donation at: https://www.patreon.com/wspr
DEVELOPMENT and MAINTENANCE
The current release version is available from CTAN:
https://ctan.org/pkg/unicode-math
Latest developmental and archived historical versions are available from Github:
http://github.com/wspr/unicode-math
Please file bug reports with minimal examples:
http://github.com/wspr/unicode-math/issues
See CHANGES.md
for the complete listing of change history.
Further information on the details surrounding the development of the package can be found in the CONTRIBUTING.md
file in the Github repository.
LICENCE
The unicode-math package may be modified and distributed under the terms and conditions of the LaTeX Project Public License, version 1.3c or greater.
This work is maintained by Will Robertson and consists of the files listed in MANIFEST.md
.
Download the contents of this package in one zip archive (3.3M).
unicode-math – Unicode mathematics support for XeTeX and LuaTeX
This package provides a comprehensive implementation of unicode maths for XeLaTeX and LuaLaTeX. Unicode maths requires an OpenType mathematics font, of which there are now a number available via CTAN.
While backwards compatibility is strived for, there are some differences between the legacy mathematical definitions in LaTeX and amsmath, and the Unicode mathematics definitions. Care should be taken when transitioning from a legacy workflow to a Unicode-based one.
Package | unicode-math |
Repository | https://github.com/wspr/unicode-math/ |
Version | 0.8r 2023-08-13 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2006–2019 Will Robertson 2010–2017 Philipp Stephani 2011–2017 Joseph Wright 2012–2015 Khaled Hosny |
Maintainer | Khaled Hosny Will Robertson |
TDS archive | unicode-math.tds.zip |
Contained in | TeX Live as unicode-math MiKTeX as unicode-math |
Topics | Maths XeTeX LuaTeX Font use Unicode |