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

learn more… | top users | synonyms

1
vote
1answer
23 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 ...
1
vote
1answer
22 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
31 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
167 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} ...
1
vote
0answers
36 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
113 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
36 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
39 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
62 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
41 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
86 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
44 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 ...
6
votes
2answers
122 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
27 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
110 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
39 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
181 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
58 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
96 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
54 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
90 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
110 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
88 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} ...
5
votes
1answer
139 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
64 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
57 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
158 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
80 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
108 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
78 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 $...$ ...
3
votes
0answers
139 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
124 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: ...
3
votes
0answers
105 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 ...
12
votes
1answer
371 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
203 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
138 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
78 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
120 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
89 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
243 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 ...
3
votes
1answer
52 views

I can't run this code

\documentclass{article} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} The quadratic formula is \\\\ $x = \dfrac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ ...
4
votes
1answer
179 views

Use specific non-unicode character in lualatex

I've looked everywhere for an answer to this question, but none could answer this specific one: I have MinionMath font (from typoma.com, MinionMath-Regular.otf) and I want to use unicode f3a0f (under ...
0
votes
0answers
119 views

Scale font sizes – match text font (Comfortaa) and math font

Before I start, I want to note that I don't know very much about (La)TeX's font system and find it to be very confusing and not very well-documented. I've read the "fntguide", but that only gives very ...
10
votes
2answers
832 views

Best math font with Times New Roman in XeLaTeX

I compile my document with the following commands in the header: \usepackage{fontspec} \setmainfont{Times New Roman} which works fine. What is the "best" math font that will match the text in the ...
3
votes
1answer
112 views

Subscript scaling with Latin Modern Math

I'm using XeLateX, Unicode math, and the Latin Modern fonts (Latin Modern and Latin Modern Math). To me, it looks like subscripts in mathematical expressions are being properly (optically) scaled -- ...
2
votes
0answers
90 views

How to get mathbf to work properly in unicode-math

EXAMPLE I In short, I'm trying to reproduce the following: \documentclass{article} \usepackage{unicode-math} \setmathfont[bold-style=ISO]{xits-math.otf} \begin{document} \[ ...
1
vote
0answers
23 views

Latex (XeTex) places equation parenthesis the wrong way [duplicate]

I recently switched compilation of my tex document from pdflatex to xetex for reasons of typesetting occasional arabic text (the rest of document though is almost entirely in English). However now I ...
3
votes
1answer
138 views

\prime gives “Undefined control sequence” in xelatex with unicode-math

I cannot seem to be able to create a prime (') in any custom font. This, for example \documentclass{article} \usepackage{unicode-math, polyglossia} \setmainfont{Times New Roman} ...
4
votes
1answer
85 views

Showkeys and Unicode-math conflict

I am using showkeys and unicode-math packages but got the following error ! Missing $ inserted. This is a minimal example: \documentclass{article} \usepackage{showkeys} \usepackage{unicode-math} ...
2
votes
1answer
147 views

Difficulty finding/selecting CM Bright using `fontspec`

I'm trying to modify the fonts in my document so that normal text comes up in Calluna, and maths comes up in Computer Modern Bright. My preamble goes something like this: \documentclass{article} ...