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

learn more… | top users | synonyms

2
votes
0answers
48 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} ...
0
votes
1answer
44 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} ...
2
votes
0answers
38 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
73 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 ...
2
votes
1answer
52 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
43 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 ...
14
votes
2answers
158 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 ...
4
votes
1answer
72 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
61 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
58 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
166 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
25 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 ...
0
votes
0answers
95 views

MinionPro & MinionMath setup for XeLateX

I'm trying to setup these two fonts, but I'm running into problems. I have placed the complete set of font files into /usr/share/fonts/opentype, /usr/share/texmf/fonts/opentype and ...
3
votes
0answers
103 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
58 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
53 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} ...
1
vote
1answer
44 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
42 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 ...
1
vote
1answer
89 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 ...
5
votes
2answers
57 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
121 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
114 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} ...
4
votes
1answer
43 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
49 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 ...
3
votes
1answer
87 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 ...
1
vote
0answers
77 views

Letter spacing with unicode-math

As this example shows \documentclass{article} \usepackage{fontspec} \usepackage[math-style=upright]{unicode-math} \setmainfont[LetterSpace=20]{Junicode} ...
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
100 views

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

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} ...
8
votes
2answers
172 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
1answer
91 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 ...
8
votes
1answer
89 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
101 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 ...
1
vote
0answers
71 views

xits-mathbold.otf: Some ugly symbols

I do not know how to get equations completely in bold without mistakes with Xits-boldmath. Here is my MWE: \documentclass{article} \usepackage{amsmath} \usepackage{fontspec} ...
3
votes
1answer
35 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
42 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
37 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
93 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 ...
8
votes
1answer
130 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 ...
5
votes
1answer
83 views

How to combine unicode-math font changing commands?

I would like to be able to combine font changing commands using unicode-math in a math environment. For instance, I define a symbol as being in an upright font, but I want a bold version of that ...
5
votes
1answer
84 views

Missing \varepsilon symbol using unicode-math and XeLaTeX

I like using Unicode symbols together with XeLaTeX, especially in mathematical documents, as it improves code readability. However there is a problem with the ɛ symbol. This should be mapped to ...
5
votes
1answer
139 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 ...
23
votes
1answer
172 views

Why is the fraction off the math axis in XeTeX?

The fraction in textstyle is off the math axis in XeTeX when I use a Unicode math font. In LuaTeX, though, it aligns nicely with the math axis. The follwing MWE should illustrate this. Also, in ...
2
votes
2answers
72 views

Taking math operators from Unicode font, but chars from text

since I've found a nice font (oldstandard), I'm doing my very first steps using XeLaTeX. This font has enough math operators for me, but unfortunately covers no mathmematical alphanumeric signs. So ...
4
votes
2answers
146 views

The unicode-math package messes up MnSymbol symbols

Using TeXLive 2015. The commands \lsem and \rsem of MnSymbol don’t work when the package unicode-math is loaded. Compare the codes, with unicode-math \documentclass{scrreprt}

 ...
3
votes
1answer
95 views

`$U$` and `$\mathcal U$` typeset very similarly with TeX Gyre Pagella

I love TeX Gyre Pagella, and use it and the corresponding math font like so: \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre ...
0
votes
0answers
44 views

Subscript spacing looks incorrect using unicode-math

I think the spacing of some math letter combination is wrong with this minimal document using xelatex, unicode-math and its default font. At least, it looks odd to me. $R_1$ looks ok but $v_f$ and ...
0
votes
0answers
64 views

unicode-math v.0.8c and LuaLatex error

I try to select math fonts using unicode-math and LuaLaTeX. After a lot of troubleshooting i used the following MWE (similar to the one given in the unicode-math manual): \documentclass{article} ...
0
votes
1answer
42 views

How to produce a character like 𝕜 (the nonexisting \mathbb{k})? [closed]

How to produce a character like 𝕜 (the nonexisting \mathbb{k}) in a TeX file?