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

learn more… | top users | synonyms

2
votes
2answers
62 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
57 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
51 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: ...
19
votes
1answer
213 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
151 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
64 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
70 views

How to write a definite integral in latex?

And also how to edit the differential ? And how to put a summatory ?
0
votes
0answers
32 views

Error changing mathbb font with unicode-math [on hold]

I'm using unicode-math, and want to revert back to the old nice style mathbb font (Blackboard Bold?). I found the solution here: Using a unicode-math font that looks like computer modern roman, but ...
5
votes
1answer
61 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
89 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
65 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
53 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
43 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
217 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
49 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
151 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
47 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
60 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
91 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
46 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
98 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
60 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
160 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
32 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
147 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
52 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
210 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
70 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
109 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
70 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
153 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
118 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
99 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
202 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
80 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
68 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
180 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
99 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
118 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
90 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 $...$ ...
4
votes
0answers
186 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
168 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
141 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 ...
13
votes
1answer
421 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
222 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 ...
3
votes
1answer
157 views

Math font with lualatex

The result is never satisfying for Minion Pro and lualatex. I manage to get a result close to perfection with the following MWE: \documentclass{article} \usepackage{fontspec} ...
6
votes
1answer
86 views

Arrow length in LuaTeX in combination with the unicode-math package

I have a probably rather simple question: Is it possible to use the unicode-math package within LuaLaTeX such that arrows stretch when writing some longer expression above or below it? For example ...
2
votes
1answer
137 views

Try to use AMS blackboard bold font together with TexGyrePagella

I am trying to use AMS blackboard bold font together with TG Pagella Math in the way given in this answer. But I got the error ! Internal error: bad native font flag in `map_char_to_glyph' Example ...
3
votes
1answer
103 views

Correct superscript spacing for new mathbin

I redefined the \div command so that it's U+2215 aka ∕, but for some reason when I use it as a superscript the spacing between this symbol and its numbers is really tight (works fine in displaymode or ...
6
votes
2answers
264 views

LuaLatex + Unicode-math, can't get upright greek with “\up*” commands

I was trying to type in upright greek letters in LaTex, and I've been recommended to use LuaLaTex with Unicode-math package to accomplish that. However I ran into a weird issue. If I want to type in ...