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

learn more… | top users | synonyms

0
votes
1answer
64 views

Improving compile time with xelatex

I'm currently compiling a document using xelatex. I've included a lot of packages that I think slow it down. Here's my preamble: \documentclass{article} \usepackage{cite} \usepackage{pdfpages} \...
4
votes
2answers
126 views

Bug in unicode-math or lualatex?

Consider the following minimal example: \documentclass{article} \usepackage{unicode-math} \newcommand{\dotcup}{\ensuremath{\mathaccent\cdot\cup}} \begin{document} $a \dotcup b$ \end{document} If ...
5
votes
1answer
59 views

Mimicking mathspec practices in LuaLaTeX

After discovering the magic of microtype, I've decided to switch to LuaLaTeX from XeLaTeX for a large document. Unfortunately, I'm having some difficulties mimicking my mathspec practices from the ...
2
votes
1answer
44 views

Math Operators and beamer

I'm using xelatex and I'm having a very strange problem: while \documentclass{article} \usepackage{xparse} \usepackage{subfig} \usepackage{amsmath} \...
1
vote
0answers
43 views

scrartcl 14pt with unicode-math and XITS math: strange prime

Please consider this minimal example. Compiled with XeLaTeX. \documentclass[fontsize=14pt]{scrartcl} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} Test $\exists a'$.%^\prime: ...
5
votes
1answer
114 views

\typecolon is a \mathbin; it should be \mathrel

In unimath-symbols.pdf, the open colon ⦂ (U+02982), called the Z notation type colon, is declared as \mathbin. As far as I know, you use this type colon as demonstrated in the following example. The ...
3
votes
1answer
46 views

Vanishing math font styles in unicode-math due to a mess of mathtools, mathtt and using math fonts with ranges

I’m using TeXLive 2015. Okay, so I have some sort of poltergeist in the following code. I compile it with either XeLaTeX or LuaLaTeX. \documentclass{article} \usepackage{ fontspec, % mathtools,...
0
votes
1answer
133 views

How to write this Digamma Symbol in Latex?

Specifically I want to write these in LateX: Unicode name: Mathematical bold small digamma Codepoint (hexadecimal): 0x1D7CB Codepoint (decimal): 120779 In unicode block: Mathematical Alphanumeric ...
19
votes
2answers
859 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
0answers
165 views

LuaTeX 0.95 “incorrect math kerning”

I am trying out the new luatex 0.95 in TeXLive 2016 pretest. There's a problem with math kernel. Below is a MWE \documentclass{article} \usepackage{unicode-math} \setmathfont{Lucida Bright Math OT} \...
14
votes
2answers
181 views

Unicode math at TeX primitive level

I am looking for information how to implement Math OTF font in XeTeX or LuaTeX at TeX primitive level (using XeTeX or LuaTeX primitives). There exist a LaTeX package unicode-math. Unfortunatelly, this ...
2
votes
0answers
46 views

Copy and paste unicode math

Consider the following example compiled with luatex. \documentclass{standalone} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} $A_1$ \end{document} Since Latin Modern ...
4
votes
1answer
78 views

Why might \sin and \cos be italicized in the output?

Introduction I know that \sin and \cos are supposed to produce non-italicized (operator) output when in math mode. Oddly, these macros are producing italicized output, as if I had typed sin or cos--...
2
votes
1answer
55 views

Comparing the path from \int or ∫ in the .tex file to ∫ in the .pdf file with type1 and OpenType math fonts in luatex

I'm trying to understand better how math fonts are handled and, in particular, how an OpenType math font can do the same job as a type1 font with far less files. My reference engine is luatex (version ...
1
vote
1answer
45 views

Does one need extra files for an OpenType font to work with luatex?

Suppose I want to use (with lualatex) an OpenType font that has no TeX support (yet). Do I need .map, .enc, .fd, .tfm, .vf files and/or some adjustments at LaTeX level or will fontspec be powerful ...
4
votes
1answer
85 views

Unicode math and double factorial

I must confess that the details of font usage and related packages are pretty fuzzy to me. That said, I am under the impression that to use the TeX Gyre fonts, my document must look like the ...
5
votes
1answer
65 views

luatex has different subscript distances

I wanted to write some scientific text in TeX Gyre Schola, because I like its increased weight compared to Latin Modern Roman. Unfortunately, I noticed that the spacing between a variable and its ...
3
votes
1answer
98 views

XeLaTeX, Latin Modern, \mathbb and \mathcal

I'm using XeLaTeX on Linux. I know that Latin Modern Roman is the default font of XeLaTeX, however if in my preamble I write \setmainfont{Latin Modern Roman} \setsansfont{Latin Modern Sans} \...
4
votes
0answers
29 views

Why does \mitsans#1 command (unicode-math) still produce upright sans serif in math mode

I never thought that sans serif letters are subset of the glyphs in unicode OpenType fonts, until I see this in texdoc unimath-symbols: However, I cannot get the italic shape of sans serif letters ...
4
votes
1answer
176 views

Redefine pi to uppi with unicode-math

I'd like to use unicode-math to use ISO-style fonts for my formulae. However, I'd like to use \pi instead of \uppi to create an upright pi. Unfortunately, my redefinition with \renewcommand doesn't ...
0
votes
0answers
30 views

Unicode-math upright symbols

In the unicode-math package, what is the difference between \mupalpha and \upalpha? What is the purpose of the m prefix?
1
vote
0answers
12 views

Length and thickness of overline when using unicode-math

Here is a wrong behavior of the package unicode-math. With the code \documentclass{book} \usepackage{unicode-math} \def\ooverline #1#2#3% {\mkern#1mu \overline{\mkern-#1mu #3 \mkern-#2mu}\mkern#...
5
votes
3answers
397 views

When using unicode-math, how do I get the original calligraphic alphabet back?

I am happy with the great majority of what unicode-math does. But at times I find that I prefer a symbol the way it was before. With \varnothing and \complement, for example. In those cases I was able ...
3
votes
0answers
114 views

XeLaTeX: mathtools, unicode-math and \text spoil \mathtt

I work on a big XeLaTeX document and encountered a rendering bug(?) with my MiKTeX installation (all packages are updated as per April 10, 2016). Here is a minimal example: \documentclass{article} \...
9
votes
0answers
70 views

Side effects of changing blackboard bold font with \setmathfont

I'm using Latin Modern Math as math font but, since I don't like the blackboard bold letters that come with it, I replace them with the ones from TeX Gyre Termes Math. I believe to achieve this, the ...
3
votes
1answer
55 views

Conflict with unicode-math and listings

\documentclass{article} \usepackage{unicode-math} \usepackage{listings} \usepackage{fancyvrb} \begin{document} \lstset{fancyvrb} \begin{Verbatim}[commandchars=\\\{\}] \pm \end{Verbatim} \end{...
1
vote
1answer
46 views

Arsclassica (pdflatex-dependent) and unicode symbols

I know that to use unicode symbols, I need unicode-math and that requires XeLaTeX or LuaLaTeX. I have previously set up my own package (mostly macros) that uses unicode-math and runs on LuaLaTeX. ...
0
votes
0answers
57 views

What are recommended notations for 2nd order tensor and trace of the tensor?

In this forum, there several posts asking about specific notations for second order tensors, see in particular Double-bar notation for second-order tensors, Double sided arrow notation for second-...
1
vote
1answer
117 views

How to combine Helvetica and Symbol with LuaTeX?

For text and equation in figures I want to use the Helvetica font. Unfortunately the greek symbols from Helvetica are not really suitable. A number of publishers recommend to combine Helvetica with ...
16
votes
5answers
11k 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} ...
5
votes
2answers
78 views

How do I get the XITS font to work with unicode-math and hepnames in lualatex

I have been trying to get the XITS font, hepnames and unicode-math to behave correctly together for quite some time now, but I have been unable to find a solution to my problem. Perhaps, I have been ...
4
votes
1answer
127 views

Bug in xelatex + unicode+math + vphantom

This question is a simplified version of a slightly more complicated problem with XITS Math: Consider the following code: \documentclass{article} \usepackage{unicode-math} \begin{document} \(|^a\) \(\...
4
votes
2answers
122 views

Bug in xelatex + unicode-math + xits + \vphantom?

Compiling the file \documentclass{article} \usepackage{unicode-math} \setmathfont[ Extension=.otf, range={\smallblacktriangleright}, BoldFont = *bold ]{xits-math} \begin{document} \[\vphantom{\...
4
votes
1answer
49 views

Beamer and unicode-math together make log-like operators disappear

Using beamer and unicode-math together leads to the disappearance of all log-like operators (\log, \mod, \sin, etc.), as shown by the following minimal file. Interestingly, compiling with XeLaTeX or ...
3
votes
1answer
52 views

unicode-math and redefine a built-in math command

I'm trying to redefine a math command (let's say \int) so that it will always do more (let's say \int lol) using the following trick: http://tex.stackexchange.com/a/47353/15659 BUT, now I want to use ...
4
votes
1answer
98 views

Use libertine numbers in math mode and with siunitx

I am here again to seek your help. I would like all numbers in my document to be the same (in text or math mode). Now I have Please note also the size difference. What is the way to have all ...
8
votes
2answers
183 views

Modifying fraction macro for in-line text and exponents

There's an amazing fraction macro here* for FontSpec with LuaLaTeX (*: that would be the second macro in that answer, called \unifrac, which I like better than the first "macro"/ using the frac ...
1
vote
0answers
78 views

Letter spacing with unicode-math

As this example shows \documentclass{article} \usepackage{fontspec} \usepackage[math-style=upright]{unicode-math} \setmainfont[LetterSpace=20]{Junicode} \setmathfont[Script=Latin,LetterSpace=20]{...
0
votes
0answers
21 views

Bug causing undefined control sequnce error with XeLaTeX, unicode-math and XITS Math [duplicate]

I am suffering from a bug in unicode-math whose TeX Live solution I have found, but I am using MikTeX 2.9 on Windows. Updating all eligible packages in MikTeX hasn't helped. The following "MWE" \...
6
votes
0answers
113 views

lualatex with package unicode-math does not work after texlive update [closed]

After the recent TeX Live update (tlmgr update --all), LuaLaTeX together with unicode-math does not work any more! Here is a minimal example: \documentclass{article} \usepackage{unicode-math} \...
1
vote
1answer
110 views

Accented letters, Unicode and LaTeX accents

So, there are three kinds of entities: accented Latin letters Unicode code points representing them Standard TeX/LaTeX commands that represent them. Of these, Unicode code points are defined best....
8
votes
1answer
113 views

siunitx 'detect-all' does not honor fontspec's math font in Beamer

Problem statement The \sisetup{detect-all} option of the siunitx package does not work for me as expected in a Beamer presentation, which I would like to typeset as follows: Text in Latin Modern ...
4
votes
2answers
125 views

Graph theory notation

I am writing a TeX document with some graph theory notation and there is some notation I couldn't get: I checked in Word and it's Cambria Math font, but when I used the {unicode-math} package it ...
3
votes
1answer
37 views

\setmainfont breaks \DeclareMathOperator

\DeclareMathOperator works fine without \setmainfont. \documentclass[a4paper]{standalone} \usepackage{amsmath} \DeclareMathOperator{\grad}{\nabla} \usepackage{unicode-math} \begin{document} $\nabla \...
3
votes
1answer
47 views

Trying to get bold italic math with Lucida OT and unicode-math

I am using the Lucida Bright OT fonts. For various reasons -- yes, I know it is not the usual thing to do -- I need to have the variables in the following MWE in * bold italics*, not upright bold: % !...
0
votes
0answers
40 views

Package filehook error

I got the following error using Xelatex and unicode-math and I couldn't find a solution: Package filehook Error: Detected unknown definition of \InputIfFileExists. Here is a minimal example that ...
2
votes
0answers
104 views

\setmathsfont can be used only in preamble

Possibly related to What is the difference between unicode-math and mathspec? Change math font only in some parts of a document? Roughly speaking, I would like to know if it is possible to change ...
12
votes
1answer
507 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 ...
5
votes
1answer
148 views

How to create non-outlined SVG files from LaTeX formulae

Are there any ways of generating SVG files from LaTeX math formulae, that are not built from outlined glyphs? I.e., I want the SVG file to contain the math glyphs within <text> tags, not <...
8
votes
1answer
137 views

How are non-unicode glyphs referenced in LuaTeX .dvi files?

Dvi files reference glyphs by their unicode number. However, a document often contain some unencoded glyphs, such as large math symbols. By inspecting dvi files containing such glyphs, I conclude that ...