Questions tagged [unicode-math]

{unicode-math} provides an implementation of Unicode math symbols and OpenType math fonts for XeLaTeX and LuaLaTeX.

921 questions
20
votes
3 answers

Minion Math with unicode-math

This is a little bit off topic as it is not exactly related to TeX. I saw recently that Minion Math was updated to 1.020 which comes with math table support. Does any one had a chance to play with this font and use it with unicode-math, and in…
Yan Zhou
  • 9,032
8
votes
3 answers

Placement of surd with unicode-math is incorrect

When I load the unicode-math package, the placement of $\surd$ is below the text baseline, like this: (I've included the $\exists$ to show it's not affecting every math mode symbol.) I would, of course, like it to look like this, which is what I…
Jigsaw
  • 935
7
votes
2 answers

Define environment `Question` when loading package `unicode-math`

I'm using Win10, TeXLive 2020. When I use XeLaTeX to compile code below \documentclass{article} \usepackage{unicode-math} \newenvironment{Question}{\textbf{envname}}{} \begin{document} \begin{Question} test …
Syvshc
  • 1,328
6
votes
2 answers

unicode-math, Fira Math: Fira Math font lacks scalable slash delimiters; how to pull from a different math font?

I'm making slides using beamer with Fira as the main font, and I want to use Fira Math to match it. However, I've found that Fira Math does not seem to have scalable forward slash delimiters, which I would like to use. Here's a MWE; it doesn't use…
Jigsaw
  • 935
6
votes
1 answer

Subscript placement differs with unicode-math. Intended?

There are several question here that ask why unicode-math documents have a different alignment of subscripts (1, 2, 3). But they all share two common points: They think this is bug, and they think it is related to XeLaTeX only. However, the…
mhchem
  • 3,485
  • 12
  • 37
6
votes
2 answers

\sin in section heading + xelatex + unicode-math fails to produce \tableofcontents

The following MWE example demonstrates the problem: \documentclass{article} \makeatletter \def\arctg{\mathop{\operator@font ArcTg}\nolimits} \makeatother \usepackage{ifxetex,ifluatex} \ifxetex \usepackage{fontspec} \setmainfont{Cambria} …
6
votes
1 answer

Compilation error option-unknown - can anyone help me?

everyone. I am trying to compile a file in Miktex but it shows this message: ! keyvalue error: "option-unknown" ! ! Unknown option 'vargreek-shape' for package unicode-math. ! ! See the keyvalue documentation for further information. ! ! For…
Alex
  • 61
6
votes
1 answer

Why does unicode-math break the kerning of accents in combination with amssymb?

I am using the following MWE. First time with unicode-math, second time without it: % arara: lualatex \documentclass{article} \usepackage{amssymb} %\usepackage{unicode-math} \begin{document} $\tilde\Box \hat\Box \bar\Box$ …
LaRiFaRi
  • 43,807
6
votes
1 answer

Switching math fonts with unicode-math

I want to use a different math font in figures (namely tikzpictures). I already asked a question about this topic where I tried to mix mathspec and unicode-math. Now after some reseach I realized that mathspec does not allow to switch the font at…
quinmars
  • 5,477
5
votes
2 answers

'Too many symbol fonts declared' error when repeating custom math environment

I have this "Too many symbol fonts declared" that is different from the two other posts in the forum. I am writing a book section where I have several subfiles with custom math symbols (from the open source cool jazz font). I can repeat up to 6…
JPMD
  • 311
5
votes
4 answers

What do the unicode-math range labels mean

The documentation for unicode-math says this about the various labels for range: In unicode-math, these ranges are indicated with the following (hopefully self-explanatory) labels: up, it, bb, bbit, scr, cal, bfcal, frak, tt, sfup, sfit, bfup,…
Alexis
  • 251
5
votes
1 answer

When specifying a character in `unicode-math`'s range option, why are alternative math style characters substituted as well?

This happens in both XeLaTeX and LuaLaTeX, and the relevant package's behavior in question is unicode-math. Pagella Math lacks a \setminus symbol, and I substitute in Asana Math's \setminus symbol. But more that that gets substituted in; most…
jhanschoo
  • 208
5
votes
3 answers

Why does my \mathcal character disappear?

My MWE \documentclass[varwidth, border=0.2in]{standalone} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont[]{TeX Gyre Pagella Math} \setmathfont[range={cal}]{Latin Modern Math} \begin{document} The distribution of $\mathbf{X}$ is…
Derek
  • 1,748
5
votes
1 answer

Redefine pi to uppi with unicode-math

I'd like to use unicode-math to use ISO-style fonts for my formulae. However, I'd like to use \pi instead of \uppi to create an upright pi. Unfortunately, my redefinition with \renewcommand doesn't work. How can I redefine the meaning of \pi to give…
Stefan
  • 865
5
votes
1 answer

How to combine unicode-math font changing commands?

I would like to be able to combine font changing commands using unicode-math in a math environment. For instance, I define a symbol as being in an upright font, but I want a bold version of that upright symbol. I was thinking that \symbf{\symup{V}}…
darthbith
  • 7,384
1
2 3 4 5