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

learn more… | top users | synonyms

6
votes
1answer
29 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
44 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
39 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. ...
2
votes
2answers
77 views

Issue with \xrightarrow

I get something weird from the \xrightarrow command: the line is dashed. Here is my main.texfile: ...
3
votes
0answers
35 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
53 views

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

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
69 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
61 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
55 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
228 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} ...
14
votes
1answer
155 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 ...
2
votes
1answer
69 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 ...
0
votes
0answers
72 views

How to write a definite integral in latex?

And also how to edit the differential ? And how to put a summatory ?
5
votes
1answer
69 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
94 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 ...
1
vote
1answer
74 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 ...
2
votes
2answers
56 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} ...
2
votes
1answer
46 views

Unicode-math and fractions

I try to use unicode-math with Linux Libertine, and the result is in general working fine. In my opnion, the main problem is fractions. Consider the below example where there is far too much space ...
14
votes
2answers
237 views

Kerning and ligatures in upright math font with unicode-math

How can I get the kerning and ligatures of text mode in an upright math font with the unicode-math package loaded? 1. Without unicode-math Code: \documentclass{article} \begin{document} ...
2
votes
0answers
51 views

How does `unicode-math` correct super-/sub-script positioning?

From my understanding, unicode-math primarily relies on the data in the OpenType MATH table to properly typeset each font. However, in most of the OpenType fonts I have examined (including the ones ...
6
votes
3answers
163 views

Symbol \pm is lower than the number next to it

Why does the \pm sign is ower compared to the number next to it? Is it normal behaviour? How can I raise it so to be at the same level as the number? My distribution is Vanilla TeX and it is ...
0
votes
1answer
49 views

How to select numbers from another font?

How can I change the numbers of the text font with the math font numbers and the other way around using XeLaTeX?
1
vote
0answers
67 views

Replace missing character (minus) in text font for use in siunitx with fontspec

I'm forced to use a commercial (Univers) font in my presentations, which obviously does not contain a dedicated \minus sign, which is called by siunitx. (Though I'm not sure if it is \minus or ...
4
votes
2answers
105 views

How can I set the \boldmath font with unicode-math?

I am trying to typeset a document in Linux Libertine, and I want to use the font for alphanumeric characters in math mode as well. I am using unicode-math, not mathspec, because I need to specify ...
2
votes
1answer
49 views

Full stop missing in MnSymbol - replacement renders brackets with cdots - Why? [duplicate]

I'm close to give up my fight for MnSymbol in unicode-math. I realized I already replaced so many missing and faulty characters, that there is barely something left of MnSymol. So probably I will just ...
4
votes
1answer
100 views

\begin{document} breaks redefinition of \Re

To replace the Gothic type real-part operator by a plain 'Re', the following works for me: \documentclass[a4paper,11pt,twoside,fleqn]{report} [...] \usepackage{amsmath} \usepackage{mathtools} ...
1
vote
1answer
64 views

Replace greek letters with its variants in case unicode-math is used

When unicode-math is used, the replacement of e.g. greek characters with its variants does not work as before: \let\phi\varphi What is the way to achieve the same with unicode-math? minimal ...
7
votes
2answers
174 views

Define certain letter in math-mode to be always non-italic - using unicode-math in lualatex

I once had this question a while ago, asking about how to set the letter j always to be non-italic j in math mode without using \mathrm. The provided solution was: ...
3
votes
1answer
34 views

Command … unavailable in encoding EU1 when using unicode-math

Because I cannot be dependent on a particular package (drm), I need to emulate it as best as possible, which works fine until I decide to load unicode-math. Please consider this MWE which is cut so ...
4
votes
2answers
153 views

Unicode macros for square root and integral

Is it possible to define math-mode macros √ and ∫ which would expand in the following way: √a ≡ \sqrt{a} √{a + b} ≡ \sqrt{a + b} ∫ ≡ \int ∫_a ≡ \int\limits_a ∫^a ≡ \int\limits^a ∫_a^b ...
2
votes
1answer
59 views

unicode integral symbol in latex

I was wondering if there is a way to replace the usual integral symbol with U222B: http://www.marathon-studios.com/unicode/U222B/Integral I use xelatex and pdflatex as well. Thank you!
6
votes
1answer
220 views

Alleged Missing Characters in Latin Modern Math

I'm using the Unicode-math package, with Latin Modern Math as my math font. Thus \documentclass[]{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} ...
4
votes
0answers
74 views

mtpro2 and unicode-math

I am new to Stack Exchange, so please excuse the few mistakes that might have happened. I like the large square roots, parantheses and braces, the wide accents, underbraces, etc that one gets with ...
3
votes
1answer
114 views

How to make all math bold by default in LuaLaTeX

I would like to make all of my equations bold by default in a LuaLaTeX document that uses the lmodern math font. The answer to this question suggests using \boldmath, but I can't get it to work while ...
3
votes
1answer
77 views

Superscript placement using unicode-math with scaling

When I scale up a math font using the unicode-math package, the placement of the superscript is too low. How can I globally adjust the placement of superscripts for this scaled math font? ...
1
vote
1answer
201 views

Using mathspec \setmathfont with \newenvironment

I would like to change back and forth between two fonts. But I would like these two fonts to affect both normal text, as well as the digits and letters in maths mode. Something like this should work ...
0
votes
2answers
119 views

Make Specific Math Symbols Heavier

I am trying to figure out how to have fine grain control over typesetting my documents. I have been looking at this pdf but I can't seem to figure out how to set symbols such as '(), +, -, =,...' to ...
2
votes
1answer
102 views

Scaling Line Integral Symbols

I need to use special integral symbols but with Cambria Math they are too small. Is there any way to scale these automatically? \documentclass{article} \usepackage{mathspec} \usepackage{unicode-math} ...
6
votes
1answer
213 views

pgfplots + unicode-math + lualatex gives the error “kernel/command-already-defined” [closed]

With the following MWE compiled with lualatex, I get the error: ... LaTeX error: "kernel/command-already-defined" Control sequence \crampeddisplaystyle already defined. ... l.637 ...
1
vote
0answers
87 views

IM (Input Methods) for entering Unicode math on Windows 7 for use with the unicode-math package?

On Windows 7, if I need to enter Chinese, I can setup an input method whereby when I type something such as hao Windows automatically suggests a list of characters to choose from, among which I can ...
0
votes
0answers
70 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 ...
0
votes
2answers
189 views

How many LaTeX characters have Unicode equivalents, and which characters and mathematical character combinations cannot be represented by Unicode?

I would like to know how many LaTeX characters, including all the special math symbols, can be represented by Unicode. Would I be right to say, that nowadyas, LaTeX's strangths over Unicode are mainly ...
0
votes
1answer
105 views

Why can't I use my font with unicode-math?

\documentclass{article} \usepackage{unicode-math} \setmathfont{Latin Modern Sans} \usepackage{mwe} \blindmathtrue \begin{document} \Blinddocument \end{document} The above fails with the error ...
4
votes
0answers
121 views

unicode-math + siunitx + lualatex = long compile times. Why?

The following MWE, compiled under several situations (with appropriate lines removed) gives the following timings (with all output files removed between runs), as timed by Measure-Command on Windows 7 ...
1
vote
0answers
92 views

mathspec and unicode-math characters not displayed

I have using mathspec and unicode-math for the purpose of two different math symbols in my documents. I have used as per this how do set table body math parts in different font. But when using $...$ ...
5
votes
0answers
210 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 ...
4
votes
1answer
180 views

Small caps with TeX Gyre Heros (via unicode-math/fontspec) in beamer

I would like to use small caps for short text sections in a beamer presentation. In a normal article, the following produces small caps in the TeX Gyre Heros font, as shown in this question: ...
7
votes
1answer
154 views

Use of Script-size and Script-script-size glyphs

In the answers to this question, I learned that OpenType Math fonts like Cambria and Latin Modern Math contain script-size and script-script-size characters, with different optical scaling. In my ...
14
votes
1answer
442 views

State of Unicode math typesetting fonts?

In a 2011 EuroBachoTeX talk, Ulrik Vieth discusses TeX unicode math fonts and their state of completeness. He lists the following 4 fonts as (more or less) production-ready: Cambria Math Asana ...
4
votes
2answers
223 views

unicode-math: inline math characters get stretched horizontally when changing font size

I need to change font size mid document. The issue is that the characters in the inline math get stretched (get wider) compared to text mode no matter what method I tried and this looks bad (and ...