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

learn more… | top users | synonyms

10
votes
2answers
965 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
32 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
107 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
69 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} ...
4
votes
0answers
172 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
116 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
119 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
42 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
214 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
337 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
129 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
140 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
119 views

Issue with \xrightarrow

I get something weird from the \xrightarrow command: the line is dashed. Here is my main.texfile: ...
4
votes
1answer
100 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
165 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
106 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
87 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
194 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
294 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
200 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
152 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 ...
7
votes
2answers
242 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
174 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
150 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
95 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
79 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
357 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} ...
3
votes
0answers
71 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
288 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
81 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
117 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 ...
5
votes
2answers
220 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
75 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
127 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
131 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 ...
8
votes
2answers
315 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
59 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
342 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
110 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
271 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
99 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 ...
4
votes
1answer
182 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
126 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? ...
2
votes
1answer
862 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
143 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
136 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} ...
7
votes
1answer
428 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
126 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
1answer
124 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 ...