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

learn more… | top users | synonyms

5
votes
1answer
34 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
136 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
42 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
50 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
173 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
92 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
42 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
40 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
353 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 ...
2
votes
1answer
60 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
42 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
278 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
52 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
76 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
203 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 ...
13
votes
0answers
320 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 ...
47
votes
2answers
64k 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
87 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
100 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
54 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
422 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
268 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
48 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
854 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
143 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
411 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
154 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
243 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
221 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
205 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
134 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
48 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
72 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
270 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
57 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
417 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
117 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, ...
12
votes
1answer
195 views

Fixing mathit spacing with unicode-math

I am using lhs2TeX to convert code into LaTeX. It typesets code into math mode. As I am also writing math formulas in the same document, I use unicode-math to switch between different math mode fonts ...
2
votes
1answer
138 views

blindtext, unicode-math, and babel won't play nice because of setmathfont (in LyX)

Usng unicode-math, I am trying (in LyX) to use a font for my main font, and also for math Latin and Greek characters, while keeping the rest as is. At the same time, I want to use blindtext. ...
3
votes
0answers
255 views

Font found with XeLaTeX not found with LuaLaTeX on Linux [closed]

The following MWE will build correctly with XeLaTeX but not with LuaLaTeX. \documentclass{article} \usepackage{unicode-math} \setmainfont{TimesNewRomanPSMT} \setmathfont{CambriaMath} ...
6
votes
1answer
80 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} ...
3
votes
1answer
549 views

XeLaTeX/beamer/fontspec/unicode-math: Change font of all math digits

Please consider the following MWE: \documentclass{beamer} \usepackage{unicode-math} \usepackage{fontspec} \setsansfont{some-font.otf} \usefonttheme[onlymath]{serif} \begin{document} ...
3
votes
1answer
117 views

XeLaTeX hang when using specific math symbols

I am using XeLaTeX in conjunction with amsmath and unicode-math for my reports. After a while, I ran into a weird problem in which compilation would just hang indefinitely. I found out the culprit was ...
7
votes
2answers
414 views

From XeLaTeX's Unicode-math to ConTeXt's typescript

I search a way to translate the following XeLaTeX's declaration (based on the unicode-math package) \setmainfont{Linux Libertine G} \setsansfont[Scale=MatchLowercase]{Liberation Sans} ...
4
votes
1answer
541 views

Using unicode “combining right arrow above” to generate vector command

This question originated from a confusion created by some Linux systems where, for some software (editor and browser) the combining unicode characters appear to apply to the right (instead of ...
6
votes
1answer
158 views

Is it possible to add new alphabets to unicode-math?

In ordinary LaTeX, one can easily add new math alphabets by using \DeclareMathAlphabet. One is then able to use, say, cmsy, eus, and rsfs letters side-by-side. Unfortunately, there does not seem to be ...
13
votes
3answers
616 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 -> ...