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, ...
Community wiki
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 ...
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 ...
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, ...
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 ...
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 ...
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,...
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 ...
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 ...
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 ...
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 ...
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+...
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 ...
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
\...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 (...
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, ...
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{...
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 ...
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 ...
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}
\...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
unicode-math × 778xetex × 221
luatex × 210
fonts × 166
math-mode × 152
fontspec × 115
unicode × 58
symbols × 44
math-fonts × 33
amsmath × 31
siunitx × 29
mathtools × 27
spacing × 21
math-operators × 20
opentype × 19
stix × 19
tex-gyre-math × 18
mathspec × 17
latin-modern × 17
accents × 16
greek × 15
sans-serif × 13
delimiters × 12
beamer × 11
subscripts × 11