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

learn more… | top users | synonyms

7
votes
1answer
1k views

Using CJK (Chinese/kanji) characters in math using unicode-math on lualatex

I'm trying to persuade the unicode-math package to let me insert CJK characters (Chinese ideograms) in math formulæ. Here's a sample input (the first few lines are merely to check that basic ...
9
votes
1answer
154 views

Expex glosses get broken when unicode-math is loaded in XeLaTeX and LuaLaTeX

I'm trying to typeset multiline numbered examples with John Frampton's expex package (version 4.1). Since I'm using XeLaTeX (TeXLive 2012), I've picked unicode-math to typeset maths. The ...
7
votes
2answers
466 views

How to map unicode characters to math symbols?

I have documentation with some mathematics, that I want to convert via LaTeX, but I'd also like to keep it as much readable in source as possible (as it's more for me than anybody else). Since I can ...
8
votes
1answer
240 views

Spacing changes when using unicode-math range feature. Why?

You can use the range feature of unicode-math to set the math font for a specific unicode slots or the macro accessing the glyph. I tried this with the sum sign & Latin Modern, see my example: ...
2
votes
1answer
342 views

Is there a way to use external font files with unicode-math?

I use fontspec with LuaLaTeX to load fonts from external file even if they are not installed on the system. Such as \usepackage{fontspec} \setmainfont[Path=fonts/, Extension=.otf, ...
2
votes
1answer
132 views

Using Greek letters with the Nath package

I'd like to use the Nath package together with a math font which supports Greek letters, while retaining the default font for the non-Greek letters. Is this possible? I tried compiling the following ...
1
vote
1answer
246 views

using unicode-math with math keyboard or hotkeys?

Here is more information about the unicode math-package: http://ctan.mackichan.com/macros/latex/contrib/unicode-math/unicode-math.pdf A great pro for using unicode math, is that your code is much ...
0
votes
1answer
811 views

Unable to load Asana-Math and compile with XeLaTeX

Just few days ago I decided to give XeLaTeX a try for its wonderful use of system fonts. I read a bit on the net about "fundamental lines" to change (I come from LaTeX) which basically boil down to ...
4
votes
1answer
352 views

subscript is set too low in math-mode with xits-math

I use unicode-math with xits-math as math font and asana-math for math double-struck symbols. I compile with lualatex, and my packages are from TeXlive 2011. Now, when use asana-math mixed with xits, ...
2
votes
0answers
34 views

Fat Semicolon for Function Composition in Diagrammatic Order [duplicate]

Possible Duplicate: How to look up a symbol? Is there a LaTeX macro that produces the fat semicolon symbol? As noted in Wikipedia, A further variation encountered in computer science is ...
11
votes
2answers
530 views

Is direct utf8 input of combining diacritics in math mode possible with lualatex?

I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue: \documentclass{minimal} ...
5
votes
1answer
540 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, ...
6
votes
1answer
937 views

Brackets and parenthesis from different fonts in unicode-math

I am using the unicode-math package to use letters from the body font in math typesetting. The font I am using (Arno Pro) works quite well for this, because it includes a full Greek alphabet on top of ...
2
votes
1answer
944 views

Unicode-math and \Re

I'm experimenting with Unicode-Math. I am using Neo-Euler with Concrete so I am generating my document with xelatex. I want \Re to give me the AMS-style double-lined \mathbb{R} but I am having ...
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
394 views

Invisible math characters with unicode-math and ntheorem

When compiling this code with lualaTeX (from TeXLive 2011), \documentclass{minimal} \usepackage{unicode-math} \usepackage{ntheorem,thmtools} \setmathfont{xits-math} \makeatletter ...
7
votes
1answer
2k views

unicode-math and various fonts fail at giving decent spacing in formula

I want to check if this problem is due to my configuration or if it is some kind of bug. This are the packages I load and the configuration for them (all very minimal in order to test the problem). ...
8
votes
2answers
608 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 ...
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
284 views

Unicode math with amsmath, new error

After applying the most recent ctan updates, the following MWE does not compile with lualuatex. There is an error given ending with \cs_set_nopar:Npx that I can't make sense of. ...
7
votes
2answers
815 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} ...
2
votes
0answers
30 views

Unicode-math math-style does not work for Latin capitals and Greek [duplicate]

Possible Duplicate: Cambria Math becomes plain Cambria Table 3, pg. 7 of the unicode-math documentation says: math-style=ISO (π‘Ž, 𝑧, 𝐡, 𝑋) (𝛼, 𝛽, 𝛀, 𝛯) But when I use ISO ...
9
votes
1answer
440 views

Switching math fonts and back to normal fails in figures?

For my current document I want to use a normal serif font for the main text. Most diagrams from other sources and myself are with sans serif fonts (TeX Gyre Heros). Now I want to use pgfplots to ...
9
votes
1answer
511 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: ...
3
votes
1answer
907 views

Double stroke fonts with unicode-math like dsfont

It is tempting to switch to unicode-math. But there is (at least) one point that I still don't like. That are the double stroke characters. They look simply terrible in XITS Math. Just compare: ...
4
votes
1answer
286 views

Get back “old” math font in LuaLaTeX+beamer

Updated my tlmgr install (and all packages I have installed today) earlier today, and something changed in the font loaded by unicode-math, which I can't figure out of. The preamble I've been using ...
3
votes
2answers
368 views

color of unicode-math in xetex

My question is based on the example which may be found here in teh second answer. Actually, I discovered this feature of unicode-math some time ago, but suspected that I am doing something wrong. ...
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 ...
9
votes
2answers
1k 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
3answers
18k views

'Not element of' in Latin Modern

In the following example, the βˆ‰ symbol does not look good. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} \begin{document} This ...
12
votes
1answer
343 views

Remapping LaTeX symbol to another unicode value

When compiling the following piece of LaTeX code, the βˆ– symbol does not show up. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} ...
4
votes
1answer
204 views

Remapping fonts in unicode-math has no effect on e.g. `\mscrC`

For some reason, in this setup, \mathscr{C} and \mscrC produce different results: \documentclass[12pt,a4paper]{article} \usepackage{unicode-math} \unimathsetup{math-style=TeX} \setmathfont{Cambria ...
8
votes
1answer
616 views

Left-middle-right delimiters and unicode-math

Consider the rendering of \middle| in the code below: \documentclass[12pt,a4paper]{article} \usepackage{unicode-math} \setmathfont{xits-math.otf} \begin{document} \[ \left\lbrace p_{i,j} \, \middle| ...
7
votes
3answers
395 views

unicode-math and braces scaling

I am trying to create a minimal lualatex distribution, and hence try to eliminate as much non OTF fonts as possible (I try to get rid of the .afm, .pfb, .map, etc files to save space). Everything is ...
8
votes
1answer
2k views

unicode-math and amsmath incompatible

When I compile the following mwe with xelatex, I am told: ERROR: LaTeX Error: Command \dddot already defined. --- TeX said --- Or name \end... illegal, see p.192 of the manual. l.571 ...
2
votes
2answers
294 views

Arrow is too long when \vec followed by subscript or superscript after using unicode-math package

The code is below \documentclass[12pt]{article} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} \large $\vec{a}^{12345}$ \end{document} Then the arrow of ...
5
votes
0answers
386 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 ...
4
votes
0answers
850 views

XeLaTeX and unicode-math problems [closed]

I am using XeLaTeX (TeXLive 2011) on OS X. It seems that unicode-math is not working as it should: \usepackage{unicode-math} \setmathfont{XITS Math} Produces: kpathsea: Invalid fontname `XITS ...
5
votes
2answers
367 views

LuaLaTeX + load one particular math symbol from an OTF file

I try to load exactly one symbol from an OpenType Font file and use it in a math environment. However, it seems to me, that I can only use the symbol in "normal" text but not in math mode. Here is a ...
2
votes
1answer
275 views

How to take \varkappa from XITS when using Asana math?

I don't like \varkappa in Asana math font and want to substute it with \varkappa from XITS math font. Here is MWE: \documentclass{article} \usepackage[math-style=ISO,bold-style=ISO]{unicode-math} ...
2
votes
1answer
310 views

why are the overarrows too short and the sqrt missing its vinculum?

I've been fighting with XeLaTeX (from a full TeX Live 2011 install on a linux box) for the past few hours and am finally almost at the result I want, but (as shown above) the overarrows aren't ...
3
votes
2answers
991 views

LyX and mathspec gives fontspec error, unicode-math no better

I get the following error message whenever using mathspec in LyX ...Package[\eu@zf@math]{fontspec}[2008/08/09] The package fontspec has already been loaded with options: [] There has now been an ...
5
votes
1answer
950 views

switching between math-styles with \mathversion?

This is a follow-up to this question. It explains switching math fonts within a single document with unicode-maths \mathversion command. The unicode-math docs have it that ...
3
votes
2answers
749 views

LuaLaTeX + unicode-math + semantic package

I am trying to use lualatex with the unicode-math and semantic packages. I have some problems with the semantic package - when I load full version or with the shorthand option I get "Invalid math ...
13
votes
1answer
698 views

clash between mathtools and unicode-math

Lately I started looking into LuaTeX and I must say I’m growing fond of it with every feature I discover. So I decided to transfer my pdfTeX preamble to LuaTex checking which packages still work and ...
10
votes
1answer
292 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 ...
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 ...
5
votes
2answers
2k views

What Unicode Font is Best Suited for Math Symbols using Font-Locking under Emacs?

I recently installed Emacs + AucTeX on MS Windows using the pre-configured binary available from this CTAN webpage and everything works quite well with the latest MikTeX installation and Ghostscript 8 ...
9
votes
1answer
625 views

Using a fancy font for mathmode, falling back to XITS for missing symbols

I'm using a silly font inside an environment, so that the text inside looks quite different than the surrounding text. However, I am having trouble getting mathmode to look silly, but legible. ...
7
votes
1answer
682 views

Too much space after integral sign with unicode-math and lualatex

(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.) Consider the minimal example \documentclass{article} ...