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

learn more… | top users | synonyms

3
votes
1answer
29 views

unicode-math and redefine a built-in math command

I'm trying to redefine a math command (let's say \int) so that it will always do more (let's say \int lol) using the following trick: http://tex.stackexchange.com/a/47353/15659 BUT, now I want to use ...
3
votes
1answer
44 views

Use libertine numbers in math mode and with siunitx

I am here again to seek your help. I would like all numbers in my document to be the same (in text or math mode). Now I have Please note also the size difference. What is the way to have all ...
6
votes
2answers
141 views

Modifying fraction macro for in-line text and exponents

There's an amazing fraction macro here* for FontSpec with LuaLaTeX (*: that would be the second macro in that answer, called \unifrac, which I like better than the first "macro"/ using the frac ...
1
vote
0answers
66 views

Letter spacing with unicode-math

As this example shows \documentclass{article} \usepackage{fontspec} \usepackage[math-style=upright]{unicode-math} \setmainfont[LetterSpace=20]{Junicode} ...
0
votes
0answers
19 views

Bug causing undefined control sequnce error with XeLaTeX, unicode-math and XITS Math [duplicate]

I am suffering from a bug in unicode-math whose TeX Live solution I have found, but I am using MikTeX 2.9 on Windows. Updating all eligible packages in MikTeX hasn't helped. The following "MWE" ...
6
votes
0answers
63 views

lualatex with package unicode-math does not work after texlive update

After the recent TeX Live update (tlmgr update --all), LuaLaTeX together with unicode-math does not work any more! Here is a minimal example: \documentclass{article} \usepackage{unicode-math} ...
1
vote
1answer
45 views

Accented letters, Unicode and LaTeX accents

So, there are three kinds of entities: accented Latin letters Unicode code points representing them Standard TeX/LaTeX commands that represent them. Of these, Unicode code points are defined ...
7
votes
1answer
44 views

siunitx 'detect-all' does not honor fontspec's math font in Beamer

Problem statement The \sisetup{detect-all} option of the siunitx package does not work for me as expected in a Beamer presentation, which I would like to typeset as follows: Text in Latin Modern ...
4
votes
2answers
74 views

Graph theory notation

I am writing a TeX document with some graph theory notation and there is some notation I couldn't get: I checked in Word and it's Cambria Math font, but when I used the {unicode-math} package it ...
1
vote
0answers
48 views

xits-mathbold.otf: Some ugly symbols

I do not know how to get equations completely in bold without mistakes with Xits-boldmath. Here is my MWE: \documentclass{article} \usepackage{amsmath} \usepackage{fontspec} ...
3
votes
1answer
32 views

\setmainfont breaks \DeclareMathOperator

\DeclareMathOperator works fine without \setmainfont. \documentclass[a4paper]{standalone} \usepackage{amsmath} \DeclareMathOperator{\grad}{\nabla} \usepackage{unicode-math} \begin{document} $\nabla ...
2
votes
1answer
24 views

Trying to get bold italic math with Lucida OT and unicode-math

I am using the Lucida Bright OT fonts. For various reasons -- yes, I know it is not the usual thing to do -- I need to have the variables in the following MWE in * bold italics*, not upright bold: % ...
0
votes
0answers
23 views

Package filehook error

I got the following error using Xelatex and unicode-math and I couldn't find a solution: Package filehook Error: Detected unknown definition of \InputIfFileExists. Here is a minimal example that ...
2
votes
0answers
62 views

\setmathsfont can be used only in preamble

Possibly related to What is the difference between unicode-math and mathspec? Change math font only in some parts of a document? Roughly speaking, I would like to know if it is possible to change ...
12
votes
1answer
381 views

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

As stated in the question title, is there any sans-serif font that fully supports the unicode-math package? Alternatively, is there a list that shows the different levels of support for (preferably ...
5
votes
1answer
102 views

How to create non-outlined SVG files from LaTeX formulae

Are there any ways of generating SVG files from LaTeX math formulae, that are not built from outlined glyphs? I.e., I want the SVG file to contain the math glyphs within <text> tags, not ...
8
votes
1answer
106 views

How are non-unicode glyphs referenced in LuaTeX .dvi files?

Dvi files reference glyphs by their unicode number. However, a document often contain some unencoded glyphs, such as large math symbols. By inspecting dvi files containing such glyphs, I conclude that ...
5
votes
1answer
63 views

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 ...
5
votes
1answer
57 views

Missing \varepsilon symbol using unicode-math and XeLaTeX

I like using Unicode symbols together with XeLaTeX, especially in mathematical documents, as it improves code readability. However there is a problem with the ɛ symbol. This should be mapped to ...
0
votes
1answer
58 views

Accesing Stylistic Sets with unicode-math

Consider the following MnWE: \documentclass{scrartcl} \usepackage{unicode-math} \setmathfont{MinionPro-It}[range={scr,bfscr,cal,bfcal},StylisticSet={1}] \begin{document} ...
21
votes
1answer
159 views

Why is the fraction off the math axis in XeTeX?

The fraction in textstyle is off the math axis in XeTeX when I use a Unicode math font. In LuaTeX, though, it aligns nicely with the math axis. The follwing MWE should illustrate this. Also, in ...
5
votes
2answers
184 views

\boldmath with unicode-math AND fonts with a MATH table

There are several questions on this site about \boldmath with unicode-math. As Example 1 below shows, \boldmath does not in general work for unicode fonts with a MATH table, unless there is a specific ...
2
votes
2answers
46 views

Taking math operators from Unicode font, but chars from text

since I've found a nice font (oldstandard), I'm doing my very first steps using XeLaTeX. This font has enough math operators for me, but unfortunately covers no mathmematical alphanumeric signs. So ...
4
votes
2answers
111 views

The unicode-math package messes up MnSymbol symbols

Using TeXLive 2015. The commands \lsem and \rsem of MnSymbol don’t work when the package unicode-math is loaded. Compare the codes, with unicode-math \documentclass{scrreprt}

 ...
3
votes
1answer
74 views

`$U$` and `$\mathcal U$` typeset very similarly with TeX Gyre Pagella

I love TeX Gyre Pagella, and use it and the corresponding math font like so: \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre ...
0
votes
1answer
111 views

Do I need XeLaTeX to compile a file which uses the unicode-math package?

I have found some information on Wikipedia concerned with XeTeX and the unicode-math package. My question is, if I include the unicode-math package in my document, is it enough to have LaTeX installed ...
12
votes
1answer
106 views

unicode-math breaks \not command

\documentclass{scrartcl} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} $\not\propto$ \end{document} Results in: How ...
10
votes
1answer
926 views

Too much space after integral sign with unicode-math and lualatex

(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.) Consider the minimal example \documentclass{article} ...
0
votes
0answers
37 views

Subscript spacing looks incorrect using unicode-math

I think the spacing of some math letter combination is wrong with this minimal document using xelatex, unicode-math and its default font. At least, it looks odd to me. $R_1$ looks ok but $v_f$ and ...
1
vote
1answer
79 views

Why no sans-serif italic numerals in unicode-math? How do I get them?

I'm trying to use unicode-math's \mathsfit to set sans-serif italicised numerals in math mode. I don't want sans-serif math in general; only numerals and latin/Latin (but that works already). I use ...
0
votes
0answers
47 views

unicode-math v.0.8c and LuaLatex error

I try to select math fonts using unicode-math and LuaLaTeX. After a lot of troubleshooting i used the following MWE (similar to the one given in the unicode-math manual): \documentclass{article} ...
0
votes
1answer
40 views

How to produce a character like 𝕜 (the nonexisting \mathbb{k})? [closed]

How to produce a character like 𝕜 (the nonexisting \mathbb{k}) in a TeX file?
11
votes
2answers
900 views

unicode-math broken

I updated texlive this morning and discovered that unicode-math is broken: <argument> \xetex_suppressfontnotfounderror:D Here is a MWE: \documentclass[12pt]{article} ...
2
votes
0answers
85 views

Wrong parentheses size in \binom with xelatex and unicode-math in displaystyle

I am writing thesis, using XeLaTeX with unicode-math, documentclass is modified memoir. I need to typeset equations with binomial coefficient, however I get wrong sizes of parentheses around them. ...
1
vote
0answers
31 views

How can I find which font unicode-math is using for a particular symbol?

The following MWE produces a blank document, as the default font does not contain ⟿. \documentclass{article} \usepackage{polyglossia} \usepackage{fontspec} \begin{document} \(⟿\) \end{document} ...
3
votes
0answers
106 views

\setmathfont[range=\sqrt]{…} changes size of integrals

Using the suggestion from this answer, I used the \sqrt sign from Asana Math with TeX Gyre Pagella Math to decrease the height of some inline math. However, this apparently had some unintended ...
3
votes
1answer
82 views

Line height with \sqrt and TeX Gyre Pagella Math

Using TeX Gyre Pagella Math as a math font with unicode-math, I've noticed that inserting an inline square root such as $\sqrt{S}$ in a paragraph results in a line that is too high, creating a very ...
2
votes
0answers
41 views

Bad `\limits` spacing with lualatex [duplicate]

Compiling this example: \documentclass{scrartcl} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf} \begin{document} \begin{equation} ...
6
votes
1answer
136 views

Mathsf Greek Symbols Lualatex

I am using Lualatex with Latin Modern as math font. I want to produce mathsf greek symbols. However, it seems that it doesn't work for greek symbols (Using \setmathfont[\range=mathsf]{Latin Modern ...
4
votes
1answer
83 views

Angle brackets with commath and Asana Math too large (or small)

I want to set bra-ket equations in my document, which uses Asana Math (with lualatex, fontspec and unicode-math). commath is also a requirement for certain stuff. However, in this specific ...
4
votes
0answers
20 views

Unicode-math no bold math or greek letters [duplicate]

What could be causing this? I'm on Ubuntu 14.04 I've uninstalled the Ubuntu TexLive packages and installed TexLive 2015 directly, and just updated today with tlmgr I've tried a few different ...
10
votes
1answer
315 views

What's wrong in the \tensor command?

After a recent update of MikTeX (and TeX Live!) on my computers (right after my vacation :)) I am not able to compile my book. The book is big and complex, uses many \if \else \fi constructions in the ...
4
votes
1answer
92 views

Blank left and right delimiters produce an unknown symbol

I recently compiled one of my files after updating my TeX distribution (including the unicode-math package, as I use the MinionMath font set) and noticed a strange error. In my file I used a cases ...
1
vote
0answers
94 views

sans serif math font selection using unicode-math

I am typesetting a document in XeLaTeX using a serif font for main text, and a sans serif for everything else (section titles, tables etc). For setting of mathematics, I use TeX Gyre Pagella Math. ...
3
votes
2answers
106 views

Issue with \xrightarrow

I get something weird from the \xrightarrow command: the line is dashed. Here is my main.texfile: ...
18
votes
1answer
356 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
6
votes
0answers
127 views

A problem with unicode-math.sty used in a .cls file [closed]

I am having a problem with the unicode-math.sty (I'm using MacTeX2015, updated this morning). I am using the following MWE class file. testthis.cls \NeedsTeXFormat{LaTeX2e}[2001/06/01] ...
2
votes
2answers
89 views

Prevent XeTeX infinite loop [closed]

When compiling the following using XeTeX it just goes into an infinite loop and does not even give an error. Removing the unicode-math package solves the problem, but I want to use unicode-math. ...
5
votes
0answers
83 views

Whitespace in fractions in XITS

I am using XITS to typeset math, but I have noticed that whitespace in fractions gets larger due to subscripts. The minimal example (typesetted with XeLaTex): \documentclass[11pt]{article} ...
3
votes
2answers
74 views

Changing the operator font with unicode-math loaded

How could I change the operator font to, let's say, the sans serif style, with the unicode-math package loaded? The following code only works without that package: \documentclass{article} ...