2022 Developer Survey is open! Take survey.
173 votes
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, ...
34 votes

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 ...
user avatar
  • 341
26 votes
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 ...
user avatar
  • 37.5k
23 votes

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, ...
user avatar
  • 2,545
20 votes
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 ...
user avatar
  • 985k
20 votes
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 ...
user avatar
  • 435k
17 votes
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,...
user avatar
  • 3,224
17 votes

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 ...
user avatar
  • 183k
17 votes

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 ...
user avatar
  • 183k
16 votes
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 ...
user avatar
  • 28.1k
15 votes

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 ...
user avatar
13 votes

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+...
user avatar
13 votes

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 ...
user avatar
13 votes
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'...
13 votes
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 \...
user avatar
12 votes
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 ...
user avatar
  • 985k
12 votes
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 ...
user avatar
12 votes
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 ...
user avatar
  • 243k
12 votes

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 ...
user avatar
  • 52.4k
12 votes

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
user avatar
12 votes
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 ...
user avatar
11 votes

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 (...
user avatar
11 votes
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, ...
user avatar
  • 985k
11 votes
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{...
user avatar
  • 44.7k
11 votes

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 ...
user avatar
11 votes
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 ...
user avatar
11 votes
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} \...
user avatar
11 votes
Accepted

Math mode does not recognize color

(I updated this answer significantly after learning that modifying \everydisplay can cause serious problems with various display math style environments.) Setting the Color=... option while loading a ...
user avatar
  • 435k

Only top scored, non community-wiki answers of a minimum length are eligible