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

learn more… | top users | synonyms

1
vote
0answers
65 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
59 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} ...
6
votes
2answers
122 views
+50

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
1answer
44 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
40 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
72 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
46 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
23 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
22 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
59 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 ...
8
votes
1answer
105 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
61 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
55 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 ...
5
votes
1answer
100 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 ...
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 ...
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
108 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
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 ...
0
votes
0answers
46 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?
2
votes
0answers
84 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. ...
11
votes
2answers
897 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} ...
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} ...
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
1answer
57 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} ...
3
votes
0answers
103 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
81 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 ...
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 ...
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
133 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
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
314 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
90 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
92 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: ...
4
votes
1answer
82 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 ...
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
86 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
81 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} ...
1
vote
0answers
131 views

Specifying the font for only one character with unicode-math

I'm using XeTeX and the fontspec and unicode-math packages. In order to use a different math font for Greek letters, I do something like this, using the range option of \setmathfont: ...
20
votes
1answer
269 views

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

Italic correction for OTF math fonts seems to be broken in LuaTeX in TL15. MWE: \documentclass{article} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} \begin{equation} ...
15
votes
1answer
183 views

Ligatures are not used in OpenType maths families?

The appended plain TeX example shows three cases: maths alphabets \rm, \bf, \it using plain TeX setup similarly maths alphabets loaded from "classical" Latin Modern fonts similarly maths alphabets ...
3
votes
1answer
108 views

Problem with math symbols unicode-math

I'm begginer with lualatex, fontspec and unicode-math packages. I try load differents fonts for text and for math operators. But some math symbols not appears. For example, I try this (just to show ...
5
votes
2answers
181 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 ...
4
votes
2answers
144 views

Non-math fonts with unicode-math kill \widetilde and \widehat

I suspect this might be a bug in unicode-math, but you never know. It appears that loading any non-math font for any purpose at all breaks \widehat and \widetilde. Consider, for instance, the MWE ...
2
votes
1answer
122 views

Using sans-serif font for chemfig

In my document, I'm currently using chemformula for chemical formulae. To draw reaction mechanisms I'm trying to use chemfig, but it's proving very difficult to get chemfig to use the same sans-serif ...
3
votes
2answers
73 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} ...