2022 Developer Survey is open! Take survey.

# Tag Info

## Hot answers tagged unicode-math

Accepted

### Which OpenType Math fonts are available?

The TeX Gyre Fonts Latin Modern This is the default font family loaded by unicode-math, but can also be set up explicitly. It is an OpenType version of Latin Modern, a clone of DEK’s Computer Modern, ...

### Compilation error "option-unknown" - unicode-math

There is a new version of the template. Check here: https://github.com/posquit0/Awesome-CV/commit/6e8586270b203d5861377ba017f30cf16ed425cc You have to replace line 1) with line 2) and you will get ...
• 341
Accepted

### Choice of consistent unicode open-type fonts for Phd Thesis in Engineering

The situation with fonts is much better than you thought! I absolutely agree with your advisor that you should use OpenType fonts (and therefore, the unicode-math package on either XeLaTeX or ...
• 37.5k

### Is there any sans-serif font that fully supports unicode-math?

I'm now doing one: https://github.com/firamath/firamath, which is based on FiraSans. Here is a showcase (use beamer theme metropolis): Of course, this work is far away from finished. For example, ...
• 2,545
Accepted

### Can't get unicode symbols in math mode

This is not a problem of cyrillic math characters; if the text were English, the correct input would be Letters only $\text{Memory: } M_{\textup{add}}(n) = \Theta(N)$ because Память and доп are ...
• 985k
Accepted

### Best math font with Times New Roman in XeLaTeX

I'm not sure what's supposed to be best. The following methods work well, though. For the Times (New) Roman text font, you could choose (via \setmainfont) Times New Roman XITS TeX Gyre Termes Stix ...
• 435k
Accepted

### Is it possible to use Linux Libertine as a mathematical font?

To provide a more current answer to this, there is now Libertinus, a fork of Linux Libertine with bug fixes and pretty nice math support (check out this example document). \documentclass[varwidth,...
• 3,224

### Possible to use MnSymbol with LuaTex?

Note that this explanation is actually a guess. I do not know enough about how these things work to be sure. Caveat emptor. It would be great to have a real solution to this problem. A real ...
• 183k

### State of Unicode math typesetting fonts?

The Latin Modern Math and TeX Gyre Math support projects are complete. Together, these fonts provide a total of 5 fonts for typesetting mathematics, all produced by the GUST e-foundry. Details can be ...
• 183k
Accepted

### Using sans font for tick labels in pgfplots

This can be achieved using a setting in the tick label style key. By default (without getting into too much details), pgf/pgfplots uses some "\ensuremath-like" business internally when typesetting the ...
• 28.1k

### Do ℕ, \mathbb{N}, \BbbN, \symbb{N} effectively differ, and is there a "canonical" specification of the naturals?

The difference is mainly historical. \BbbN was created for the original amsfonts, pre-LaTeX; it should be considered obsolete now. (Oops! @egreg points out in a comment that \BbbN has been defined ...
• 85.1k

### Using unicode "combining right arrow above" to generate vector command

Like the other answer already said, in Unicode the combining characters come after the base characters. Also this is not supported by unicode-math. But at least for LuaLaTeX you can add support for U+...
• 30.1k

### Ligatures are not used in OpenType maths families?

For luatex you can load the fonts in base mode \ifx\XeTeXversion\undefined \input luaotfload.sty \def\otf#1{file:#1.otf:mode=base} \else \def\otf#1{[#1.otf]} \fi For xetex, I pinged Arthur in ...
• 665k
Accepted

### LuaTeX: Wrong/missing italic correction in TeXLive 2015 vs 2014

The problem has a long history. It was brought up in 2011, as far as I know, with a message to the TeX Live mailing list; the thread went on also in the LuaTeX list. The problem is that LuaTeX doesn'...
Accepted

### unicode-math broken

It works with the development version of expl3, seems to have got ahead of ctan release, this will work in the meantime. \documentclass[12pt]{article} \ifdefined\suppressfontnotfounderror \...
• 665k
Accepted

### Fixing mathit spacing with unicode-math

This is the consequence of a bad decision in unicode-math: they named \mathit the normal math italic letters, instead of respecting the LaTeX convention of referring to them as \mathnormal; \mathit ...
• 985k
Accepted

### General guide on how to set up Minion Pro for math in lualatex

The bottom line at the top. Don't try this at home kids! Using MnSymbol with unicode-math will kill your time! The symbols provided by MnSymbol are not set up for use with unicode-math. Some are ...
• 5,950
Accepted

### Unicode math at TeX primitive level

In classical TeX a number of math mode fonts are used to supply the output glyphs based on the input, and as observed in the question the relevant \mathcode of the input token. In contrast, when using ...
• 243k

### Unicode math at TeX primitive level

The key information in the accepted answer is: load Unicode Math font (UnMaFo) as family 2 and the same font as family 3. The TeX engine (XeTeX or LuaTeX) re-calculates appropriate fontdimens for ...
• 52.4k

### Are there opentype sans math font(s) under development?

Fira Math: sans-serif font with Unicode math support Developed by Xiangdong Zeng (Stone-Zeng) at https://github.com/Stone-Zeng/FiraMath
• 105k
Accepted

### Why is the Latin script in LM Math derived from Euler rather than cmsy?

It was a design choice. In TUGboat, Volume 37 (2016), No. 3, https://www.tug.org/TUGboat/Contents/contents37-3.html, in the article "GUST e-foundry font projects", pages 317-336, the authors of the ...
• 292k

### Can't get unicode symbols in math mode

There has been some discussion about Cyrillic in math but the issue is still open: https://github.com/wspr/unicode-math/issues/29 As Joseph mentioned you need fonts with the glyph. In case of math (...
• 292k
Accepted

### What's wrong in the \tensor command?

There have been some changes in unicode-math, for fixing some issues in multiletter identifiers using \mathXY commands. Now, a single bold math symbol should be built with \symbf rather than \mathbf, ...
• 985k
Accepted

### Vertically centering symbols and graphics inside math formulas

In math-mode, you can easily vertically center a picture using \vcenter{\hbox{..}}. \documentclass{article} \usepackage{mathtools} \usepackage{unicode-math} \usepackage{fontspec} %\setmainfont{...
• 44.7k

### Do ℕ, \mathbb{N}, \BbbN, \symbb{N} effectively differ, and is there a "canonical" specification of the naturals?

If you modify your file to have \showoutput $$ℕ \mathbb{N} \BbbN \symbb{N} \showlists$$ Then you get \mathord .\fam0 ℕ \mathord .\fam0 ℕ \mathord .\fam0 ℕ \mathord .\fam0 ℕ ### horizontal mode ...
• 665k
Accepted

### Are mathfont and mathspec intended for same purpose?

mathfont and mathspec have similar purpose, but mathfont works not only with xelatex but also with lualatex. Both packages allow to change the font of various math symbols and math alphabets. Both ...
• 292k
Accepted

### Unicode-math and mathrm result in missing symbols

\mathrm is the wrong command, use \symrm \documentclass{article} \usepackage{hepnicenames} \usepackage{fontspec} \usepackage[math-style=ISO]{unicode-math} \setmathfont{Latin Modern Math} \...
• 292k