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

learn more… | top users | synonyms

16
votes
3answers
921 views

Possible to use MnSymbol with LuaTex?

I want to use the Minion Pro font together with math symbols from MnSymbol (http://www.ctan.org/tex-archive/fonts/mnsymbol). Is this possible? It has already been discussed here -> ...
7
votes
2answers
828 views

\sqrt[x]{y} Breaks With unicode-math

I’m having trouble with XeLaTeX (0.9998) and unicode-math (0.7a). If I use \setmathfont more than twice, the \sqrt command breaks when a superscript is specified. \documentclass{minmal} ...
29
votes
3answers
3k views

What is the difference between unicode-math and mathspec?

I'm currently typesetting my lecture notes for classical electrodynamics using the tufte-book class and XeLaTeX. This is my first time using XeLaTeX and so I stumbled upon the two packages ...
11
votes
2answers
313 views

Why is unicode-math not working with TikZ?

This thread evoked from this thread. \documentclass{article} \usepackage{unicode-math} % This causes the question mark bug % This code requises unicode-math % How can you use the code without ...
10
votes
1answer
4k views

Cambria Math becomes plain Cambria

I'm a LaTeX neophyte, so please excuse my ignorance. I want to typeset a document with text in Cambria and math in Cambria Math. I found the unicode-math package, which seems to do what I want. Here ...
8
votes
2answers
2k views

How to use unicode-math with beamer and lualatex?

According to a recent article in "Die TeXnische Komödie", this should be the way to get Latin Modern Math to work with lualatex and the latest TeXLive 2011: \documentclass[professionalfonts]{beamer} ...
9
votes
2answers
296 views

How to use punctuation marks in LuaLaTeX with unicode-math?

I also posts this here: http://texwelt.de/wissen/fragen/3000/interpunktion-in-lualatex-mit-unicode-math-von-hauptschriftart. The problem is that I want to have the \period symbol (also range="002E ...
9
votes
2answers
2k views

Bold italic math with unicode-math

How can I get the output I get without unicode-math using unicode-math, preferably (not necessarily) using the same code (\boldmath)? I would like the solution to work with at least the XITS and Latin ...
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 ...
16
votes
2answers
899 views

Using several math fonts with unicode-math

I'd like to typeset a document that uses two different math fonts with unicode-math. In the documentation I can't find anything about switching the font mid-document. Just writing ...
24
votes
1answer
447 views

Please explain a strange interaction between bytefield, unicode-math, and mathtools

bytefield gives me different results when used in association with mathtools and unicode-math when used together. Here's my 'good' MWE: % !TEX TS-program = XeLaTeX \documentclass[a4paper]{article} ...
19
votes
2answers
1k views

Placement of subscripts using unicode-math. Is it XeTeX bug?

I don't like placement of subsripts when using unicode math fonts under XeLaTeX. In contrast to CM fonts the subscripts are placed at different vertical positions obviously depending on the depth of ...
4
votes
1answer
173 views

How to get all the possible sizes of delimiters with Cambria Math

After this question, Cambria Math \bigg command doesn't work as expected, I discovered that Cambria has so many sizes of delimiters. I think the next logical step is to come up with a way of ...
2
votes
1answer
139 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 ...
6
votes
2answers
1k views

Less vertical space in frac

I'm using unicode-math in lualatex with the Cambria Math fonts. Compared to Computer Modern math, there is too much vertical space between fractions. Is there a way I can achieve my adjustment without ...
6
votes
1answer
850 views

Strange behavior of XITS Math in XeLaTeX for \underset and \underaccent commands

Prompted in part by the question Is there an "underscript" command?, I started wondering if the \underset (from amsmath) and \underaccent (from accents) commands work equally when using XeLaTeX ...
5
votes
2answers
212 views

How can I vertically align the numerators of two fractions?

I am writing the following formula: % arara: lualatex \documentclass{article} \usepackage{mathtools} \usepackage{unicode-math} \begin{document} ...
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 ...
4
votes
2answers
1k views

Latex command for unfilled \bigstar

\bigstar produces a black star. What is the LaTeX command for white or unfilled \bigstar? The unicode-math package has a command \bigwhitestar, but I am not able to use it in the usual way. When I ...
14
votes
3answers
2k views

Minion Math with unicode-math

This is a little bit off topic as it is not exactly related to TeX. I saw recently that Minion Math was updated to 1.020 which comes with math table support. Does any one had a chance to play with ...
14
votes
2answers
758 views

What is the right way to input prime with Unicode-math (LuaTeX backend)

I opened an issue about this in Unicode-math's github repository. However, I am not so sure it is actually a bug, or I just did something wrong. Here is a minimal example, \documentclass{article} ...
8
votes
1answer
1k views

Fonts for Mathematics and Text

Are there some examples of long, real-world documents showing the variety of text and mathematical fonts now available? With unicode-math there are now many more fonts for text and mathematics, both ...
19
votes
2answers
17k views

\mathscr (LaTeX or XeLaTeX) [duplicate]

I'm trying to use \mathscr in my documents, but it just doesn't show up. I'm using MacTeX, with pdfTeX and XeTeX version 3.1415926 and TeXShop version 3.26. As an MWE, I can use: %!TEX TS-program = ...
9
votes
1answer
526 views

Making integral ∫ use \limits by default with unicode-math

How can I make the unicode integral symbol ∫ act as if it is followed by \limits? Classically \usepackage[intlimits]{amsmath} would do. But with unicode-math this does not help anymore. I also tried: ...
8
votes
3answers
3k views

Using Linux Libertine in math mode with unicode-math (XeLaTeX)

I'm trying to use the Linux Libertine font for my thesis. Libertine in fact does have mathematical symbols, but I didn't manage to use them properly in unicode-math. The following example sums up my ...
5
votes
1answer
132 views

Exsheets does not work with unicode-math package

Here is the code: \documentclass{article} \usepackage[vmargin=1in]{geometry} \usepackage{xfrac,fontspec,unicode-math} \setmathfont[version=lm]{Latin Modern Math} \setmathfont[version=cambria]{Cambria ...
3
votes
1answer
166 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} ...
10
votes
1answer
297 views

Is there a way to use unicode-math in a limited fashion?

At the moment, I am using mathspec and some traditional math packages such as mathpazo to typeset my mathematics. The results are mostly satisfactory, but I would like to expand the repertoire of some ...
8
votes
2answers
473 views

Using a unicode-math font that looks like computer modern roman

I'm looking for a math font that works with the unicode-math package that looks just like computer modern roman. I found the latin modern roman font quite good, but they have a ℝ symbol which looks ...
8
votes
2answers
625 views

Strange error when unicode-math and hyperref are combined in xelatex

The following is an MWE for a problem that I'm facing: \documentclass{article} \usepackage{hyperref} \usepackage{unicode-math} \setmathfont{Asana Math} \begin{document} \section{$2\times 2$} $2 ...
7
votes
2answers
304 views

Uniform Unicode for text, math and listings?

What should I put in the preamble (preferably packages) for this to work as expected with its unicode characters? \documentclass{article} \usepackage{listings} \begin{document} $α$ α ...
6
votes
2answers
661 views

How to make calligraphic numbers available with `unicode-math`?

I use xits-math.otf with unicode-math with XeLaTeX. It defines calligraphic upper case letters, but I need calligraphic lower case letters and especially numbers as well. I tried this: ...
5
votes
1answer
208 views

Cambria Math \bigg command doesn't work as expected

I get wrong sizes when I use \bigg and family with Cambria. Here is an example (I loaded mathtools before unicode-math and then my actual problem showed up). We can see that the size \bigg exists ...
14
votes
2answers
238 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} ...
12
votes
3answers
1k views

Which fonts can be used with *unicode-math* package?

What can i put into \setmathfont{<...>.otf} for the unicode-math package to make it all work (with XeLaTeX or LuaLaTeX)? There are several suggestions on the GitHub page of unicode-math, but ...
11
votes
4answers
1k views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
9
votes
1answer
1k views

XeLaTeX: lost \perp in Cambria math?

Occasionally I noted that Cambria Math fonts or the unicode-math package might have wrong definition of \perp math symbol. Attached picture shows that \perp is not printed properly while \bot is. ...
6
votes
0answers
55 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] ...
6
votes
1answer
140 views

Why does unicode-math break the kerning of accents in combination with amssymb?

I am using the following MWE. First time with unicode-math, second time without it: % arara: lualatex \documentclass{article} \usepackage{amssymb} %\usepackage{unicode-math} \begin{document} ...
6
votes
1answer
648 views

Switching math fonts with unicode-math

I want to use a different math font in figures (namely tikzpictures). I already asked a question about this topic where I tried to mix mathspec and unicode-math. Now after some reseach I realized that ...
6
votes
1answer
374 views

Math spacing in TeX Gyre Pagella

The spacing in the following output looks off to me. In particular, the integral symbol has not grown to accommodate the height of the integrand, the spacing in the fraction seems large, and the ...
6
votes
1answer
153 views

Is there any documentation of \Umathcode, \Umathcodenum, etc.?

Trying to use the package unicode-math I have been looking for some documentation of \Umathcode, \Umathcodenum, etc. The usually place, the package documentation (http://ctan.org/pkg/unicode-math), ...
6
votes
1answer
1k views

unicode-math and amsmath environments

I'd like to use unicode-math but I've run into some problems. The following mwe, compiles without problems. The aligned environment is used \documentclass{article} \usepackage{amsmath} ...
5
votes
1answer
222 views

How can I avoid that a functions argument touches the brackets using unicode-math?

Maybe, I am doing something wrong, but please have a look on the alignment in this formula: % arara: lualatex \documentclass{article} \usepackage{mathtools} \usepackage[% ,math-style=ISO ...
5
votes
0answers
303 views

How to get “XeLaTeX + unicode-math” output as close as possible to that of pdflatex?

I've started exploring XeTeX and the unicode-math package in order to use unicode in my input. Of the six math fonts described in unimath-symbols.pdf, Latin Modern Math seems to be closest to what ...
5
votes
1answer
557 views

font name with a space, using XeLaTeX and fontspec

I use XeLaTeX, amsmath, fontspec, unicode-math and standalone to create a pdf containing one single equation which I then import to Inkscape for a poster. When using font names with a space in it, ...
5
votes
0answers
389 views

How to lower the superscripts (and raise the subscripts) [duplicate]

Possible Duplicate: tex4ht problems with footnotes I am preparing a document using XeLaTeX, unicode-math and Asana Math OTF (turned on by \setmathfont{Asana-Math.otf}). I've noticed that ...
5
votes
1answer
716 views

Can I use Wolfram Mathematica fonts in XeTeX / LuaTeX?

Wolfram Mathematica comes with full (?) set of math fonts. Is it possible to use these fonts in XeLaTeX and LuaLaTeX? I mean something like \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} ...
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 ...
3
votes
1answer
109 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 ...