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

learn more… | top users | synonyms

13
votes
3answers
5k 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
257 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
180 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 ...
7
votes
1answer
446 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
348 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 ...
7
votes
1answer
1k 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
266 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
360 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 ...
3
votes
0answers
570 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
310 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
228 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
256 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
791 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
675 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
579 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 ...
12
votes
1answer
567 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
255 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
868 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
1k 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
539 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. ...
6
votes
1answer
438 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} ...
6
votes
1answer
615 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 ...
4
votes
1answer
840 views

XeTeX \left and \right problem

I have a problem with the 〈 and 〉 symbols (Unicode encoding: 27E8 and 27E9) which replace the \langle and \rangle, when I try to combine them with \left and \right commands. The following examples ...
5
votes
1answer
640 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} ...
20
votes
5answers
4k views

Is it possible to use Linux Libertine as a mathematical font?

I recently heard that there is a package called unicode-math that makes it possible to use an ordinary TTF/OTF font for mathematic typesetting. To what degree is that possible with Linux Libertine? I ...
1
vote
1answer
183 views

What's the use of multiple vertical variants for math operators of a OpenType math font?

The only fonts I know that have more than one "large" version of the math operators are Asana Math and Cambria Math. The other ones just have one glyph for the \textstyle version and other for the ...
12
votes
2answers
543 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} ...
16
votes
2answers
726 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 ...
6
votes
1answer
387 views

LuaTeX with unicode-math, how to get the font id of current math font

How can I query informations about the current math font? I tried the following in a document using unicode-math and Cambria Math font \documentclass{article} \usepackage{unicode-math} ...
11
votes
4answers
2k views

How to print \frac{1}{2} by a single Unicode character?

I am looking for a command which would print simple fractions like 1/2, 1/3 etc using glyphs available in modern TTF/OTF fonts. Ideally, I want this command to output ordinary \frac{1}{2}, \frac{1}{3} ...
6
votes
2answers
274 views

Spacing of brackets with unicode-math

Consider this example: \documentclass{article} \usepackage{unicode-math} \setmainfont{Linux Libertine O} \setmathfont{XITS Math} \setmathfont[range=\mathit/{latin,Latin,greek,Greek,num}]{Linux ...
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 ...
6
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} ...
6
votes
1answer
455 views

Weird font/spacing issue with LuaTeX & Asana Math

Trying to use LuaTeX font support in some big document, everything went fine except a little glitch with Asana Math font. Here is the issue: \documentclass{standalone} \usepackage{unicode-math} ...
38
votes
2answers
45k views

Which dot character to use in which context?

Wikipedia lists several dot characters in Unicode. These are the ones that are ambiguous to me: interpunct, middle dot (·) · · U+00B7 "midpoint (in typography)" ...
11
votes
4answers
729 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 ...
6
votes
2answers
1k views

\underbrace symbol is wrong

Hey guys, I tried to google the solution, but I didn't find any solution to this. I am using beamer,xelatex to prepare a slide. When I use \underbrace, the brace doesn't show, instead, a crappy symbol ...
6
votes
1answer
414 views

Math symbols not being printed.

I am having problems printing an equation. I have the following definitions: \documentclass{scrreprt} \usepackage{mathspec} \defaultfontfeatures{Mapping=tex-text,BoldFeatures={Weight=2}} ...
9
votes
1answer
855 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
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} ...
2
votes
3answers
1k views

Trouble with unicode-math/fontspec in XeTeX

The following MWE yields a wrong output: \documentclass{article} \RequirePackage{xltxtra} \RequirePackage{unicode-math} %\setmainfont{Linux Libertine} \setmathfont{Asana Math} \begin{document} ...
5
votes
2answers
860 views

two mathcal families in the same document

Is it possible to use two math fonts from the calligraphy families in the same document? Something like $\mathcal{P}$ from Zapfino and $\mathcal{T}$ from XITS math?