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

learn more… | top users | synonyms

14
votes
0answers
204 views
+50

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
3
votes
0answers
61 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 ...
2
votes
1answer
76 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} ...
4
votes
1answer
52 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
42 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 ...
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} ...
14
votes
1answer
350 views

How to use arrowheads from a unicode math font in TikZ diagrams under XeLaTeX or LuaLaTeX?

I like arrowheads in my TikZ diagrams to match the math font arrowheads. For Computer Modern, this is no problem: the TikZ arrows library provides matching arrowheads. But I often use other fonts ...
12
votes
1answer
254 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 ...
24
votes
6answers
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 ...
4
votes
2answers
140 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 ...
4
votes
1answer
351 views

Use of unicode-math results in “unprintable” PDF

In the following example, if I uncomment the inclusion of unicode-math, I still get an PDF that shows up fine in my PDF Viewer (Evince), but none of the equation shows up in print. Why is that? ...
6
votes
1answer
49 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 ...
8
votes
1answer
137 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 ...
2
votes
1answer
61 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
64 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
188 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 ...
4
votes
1answer
109 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 ...
3
votes
1answer
47 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}$ ...
0
votes
0answers
56 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 ...
9
votes
2answers
462 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
89 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
50 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
22 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 ...
2
votes
1answer
293 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, ...
3
votes
1answer
68 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
79 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} ...
8
votes
1answer
215 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 ...
48
votes
2answers
66k 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)" ...
2
votes
1answer
94 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} ...
4
votes
1answer
125 views

Negated binary or relation symbols in lualatex of xelatex

According to this answer http://tex.stackexchange.com/a/82121/16895 \not is defined (in unicode-math) to look for the next csname and to see if there is a csname prefixed with n or not. However, ...
3
votes
1answer
57 views

Partial Sign with Unicode Math

I have a problem with Linux Libertine and the \partial sign. I use following code, but there is no \partial sign (I left all my fonts there, but the problem is the font for range=\mathit): ...
8
votes
2answers
458 views

Can't get unicode symbols in math mode

I am trying for about a week to launch unicode-math package with XeLaTeX and got nothing. PDF is created well but all Cyrillic symbols in math mode are skipped. I tried using different math fonts - no ...
5
votes
0answers
274 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 ...
4
votes
1answer
49 views

Float addition operator in LaTeX?

I need to get the +. sign (see the OCaml float addition operator) in LaTeX. However, when I try: *$\mid h :: t \-> h +. sumList(t)$ \\** The output is as follows: How can I make sure that ...
7
votes
3answers
2k 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 ...
10
votes
3answers
931 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 ...
5
votes
1answer
169 views

Problem with \setmathfont and siunitx

I have some problem with the following code. \documentclass{minimal} \usepackage{fontspec,luatextra,unicode-math} \usepackage{icomma} \usepackage[noload=abbr]{siunitx} \sisetup{decimalsymbol=comma, ...
1
vote
1answer
516 views

Lots of errors in default friggeri resumé cv

I get lots of errors when compiling (XeLaTeX, from up-to-date MiKTeX 2.9 x64, TeXstudio 2.8.0, Windows 8 x64) the friggeri-cv template. Download it here: ...
1
vote
1answer
161 views

Italic greek letters, upright operators and working partial sign with unicode-math and TeX Gyre Pagella

I need upright math operators such as \sin, \tan etc., italic uppercase greek letters and a working \partial operator. With the code below I was able to get two out of three, but I was told that it's ...
8
votes
4answers
252 views

Use the beta variant

Is it possible to use the curled beta: ϐ (U+03D0) in a formula? There are variants available for \epsilon, \theta, \phi, \rho, \sigma and \phi with \varepsilon, \vartheta, etc... but there is no ...
7
votes
2answers
238 views

Using sans font for tick labels in pgfplots

I am using a sans font for my figures. Hence I also want the tick labels of the pgfplots to be in sans. The tick labels, however, are set in a math enviroment. So changing the text font does not ...
6
votes
2answers
225 views

unicode-math + TeX Gyre Termes Math without \bigstar?

When I use TeX Gyre Termes Math with unicode-math like in the example I can't get the \bigstar symbol. It seems that the font does not have a bigstar at U-2605. Is there a way to re-define the ...
3
votes
0answers
143 views

Error using fontspec v2.4a and unicode-math [closed]

Compiling the following example with XeLaTeX or LuaLaTeX \documentclass[11pt]{article} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf} \begin{document} \small \begin{tabular}{c} Foo ...
0
votes
0answers
25 views

Error: Font \l_tmpa_font has only 8 fontdimen parameters [duplicate]

I get the above error when I try to use my main font for the math letters. If I leave out the \sqrt[3]{2} bit, it works but gives a load of complaints about not having the OpenType feature ...
0
votes
0answers
53 views

Finding a way to get mathscr and unicode without using xelatex, which is stymied

This really should be a comment to \mathscr (LaTeX or XeLaTeX) Which is about running XeLatex to get \mathscr fonts. The sample program provided in that post is \documentclass[a4paper]{report} ...
5
votes
1answer
76 views

amsthm not working correctly with unicode-math [duplicate]

I'm trying to use unicode-math with amsthm. I'm using the following code: \documentclass{article} \usepackage{amsthm} \usepackage[math-style=TeX]{unicode-math} \newtheorem{question}{Question} ...
11
votes
2answers
277 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 ...
3
votes
0answers
59 views

Accessing cmex10-equivalent symbols in latinmodern math in rendering code

I wish to display and print mathematical formulae not using one of the existing TeX distributions and not via a web browser, but using my own code so that the display is integrated into my packages as ...
6
votes
2answers
450 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: ...
3
votes
1answer
122 views

Changing Math Fonts with luaotfload in Plain TeX

Changing Math Fonts with luaotfload in Plain LuaTeX Without a major exposition on all the options tried, here is the short of it: Using Tex Live 2013, LuaTeX, plain.fmt and luaotfload.sty, ...