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

learn more… | top users | synonyms

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 ...
5
votes
1answer
115 views

\emptyset doesn't work with LuaTex + glossaries + unicode-math (bug?)

The following code doesn't work with LuaTex (I get an "undefined control sequence" error). It works if I either comment out \usepackage{unicode-math} or if I change the glossary name from $\emptyset$ ...
13
votes
3answers
618 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 -> ...
13
votes
2answers
8k views

\mathscr (LaTeX or XeLaTeX)

I'm trying to use \mathscr in my documents, but it just doesn't show up. I'm using MacTeX, with pdfTeX and XeTeX version 3.1415926 and TeXShop version 3.26. As an MWE, I can use: %!TEX TS-program = ...
4
votes
1answer
209 views

To have script-like S for Schwartz space

I want this symbol My tex \documentclass{article} \usepackage{mathrsfs} % for \mathscr{S} \usepackage{amsmath, amsfonts, amssymb, textcomp} \usepackage[T4, OT1]{fontenc} ...
8
votes
1answer
239 views

Loading otf font as mathfont range using unicode-math

I'm trying to replace the letters in the math font so that it matches the main font. Curiously, this works for the italic version, yet not for bold and roman. Why is that? \documentclass{article} ...
9
votes
1answer
200 views

lost symbols with unicode-math

I am trying to typeset my text and math latin/greek in Georgia, and digits (math mode) in Neo Euler. I am using XeLaTeX with unicode-math. MWE below loses ldots, also the star and minus operators, ...
8
votes
1answer
881 views

Fonts for Mathematics and Text

Are there some examples of long, real-world documents showing the variety of text and mathematical fonts now available? With unicode-math there are now many more fonts for text and mathematics, both ...
4
votes
1answer
137 views

How to get all the possible sizes of delimiters with Cambria Math

After this question, Cambria Math \bigg command doesn't work as expected, I discovered that Cambria has so many sizes of delimiters. I think the next logical step is to come up with a way of ...
4
votes
1answer
101 views

Exsheets does not work with unicode-math package

Here is the code: \documentclass{article} \usepackage[vmargin=1in]{geometry} \usepackage{xfrac,fontspec,unicode-math} \setmathfont[version=lm]{Latin Modern Math} \setmathfont[version=cambria]{Cambria ...
5
votes
1answer
173 views

Cambria Math \bigg command doesn't work as expected

I get wrong sizes when I use \bigg and family with Cambria. Here is an example (I loaded mathtools before unicode-math and then my actual problem showed up). We can see that the size \bigg exists ...
2
votes
2answers
235 views

Bold italics is hard to distinguish from italics

The aim of any special mathematical notation for a particular class of objects is to allow the reader immediately recognise objects of this class in expressions. For instance, the good old arrow ...
5
votes
2answers
381 views

Accents and unicode-math

Why are certain accents in math mode invisible? I am using unicode-math and compile with XeLaTeX. Here is a MWE: \documentclass{scrartcl} \usepackage{unicode-math} \begin{document} x̃ŷz̄ $x̃ŷz̄$ ...
3
votes
2answers
128 views

The √ symbol in the unicode-math package

I'm using the unicode-math package in comination with xelatex. Thanks to this package I can write unicode symbols in the tex code. However some unicode symbols, don't compile the way I would expect ...
0
votes
0answers
63 views

Unicode-math in combination with \begin{proof} \end{proof}

If I use unicode-math in combination with \begin{proof} \end{proof} the black square at the end of the proof, misses the top part. If I don't use unicode-math, the symbol looks normal again. If you ...
5
votes
2answers
193 views

How to redefine the colon-symbol with unicode-math (spacing problem)

I want to change the usual role of : and \colon. Consider the following code \documentclass{scrreprt} \usepackage{amsmath} \usepackage{unicode-math} %\unimathsetup{colon=literal} ...
6
votes
2answers
382 views

Using a unicode-math font that looks like computer modern roman

I'm looking for a math font that works with the unicode-math package that looks just like computer modern roman. I found the latin modern roman font quite good, but they have a ℝ symbol which looks ...
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 ...
4
votes
1answer
306 views

Double stroke fonts with unicode-math to match with Linux Libertine

After reading this question, Double stroke fonts with unicode-math like dsfont, I remembered that the font which comes with OpenOffice (Linux Libertine G) has a beautiful (but I don't know if useful) ...
5
votes
1answer
246 views

Using different text and math fonts with unicode-math

When using pdfLaTeX it is sometimes possible, when using different text and math font sets, to take the fonts for operators like sin and cos from the text font even within formulae. Thus, using the ...
4
votes
1answer
216 views

Removing the bold attribute from a specific unicode alphabet

I am using unicode-math with XeTeX and XITS fonts. Instead of writing \mathcal, I want to use the unicode characters 𝓐, 𝓑, …, 𝓩 and have them render like \mathcal A, \mathcal B, …, \mathcal Z. ...
7
votes
2answers
234 views

Uniform Unicode for text, math and listings?

What should I put in the preamble (preferably packages) for this to work as expected with its unicode characters? \documentclass{article} \usepackage{listings} \begin{document} $α$ α ...
3
votes
1answer
131 views

Quantifier spacing with unicode-math

When using consecutive quantification in a math formula, there is not enough spacing around the quantifiers. For example: \documentclass{article} \usepackage[colon=literal]{unicode-math} ...
7
votes
1answer
111 views

Why \@ifnextchar doesn't work correctly within of a unicodechar definition?

Consider the following code: \documentclass{article} \usepackage{amsmath} \usepackage{newunicodechar} \makeatletter \newunicodechar{∑}{\@ifnextchar_{\sum}{\@ifnextchar^{\sum}{\Sigma}}} ...
1
vote
1answer
291 views

Undefined control sequence ``\let`` in ``hyperref`` included after ``unicode-math``

Consider the following document: \documentclass{article} \usepackage{unicode-math} \usepackage{hyperref} \begin{document} aaa \end{document} When I compile it with lualatex, I get the following ...
4
votes
1answer
394 views

How to combine LaTeX fonts with system fonts in XeLaTeX

I am using URW Palladio L for my main text font. I have no math font of URW Palladio L on my system installed, but I like the math font of Bitstream Charter. Alternateively I could also use the URW ...
2
votes
0answers
68 views

LuaTeX: Strange symbol proportions when using Minion Pro for math [duplicate]

I'm writing my master's thesis in Minion Pro using LyX and I would like to use that font for math, too. For PDF output I use LuaTeX due to several nice features I got used to in the past (such as easy ...
5
votes
2answers
180 views

How can I vertically align the numerators of two fractions?

I am writing the following formula: % arara: lualatex \documentclass{article} \usepackage{mathtools} \usepackage{unicode-math} \begin{document} ...
1
vote
1answer
126 views

Using unicode-math makes an equation ugly [closed]

Using unicode-math makes following equation ugly. Is it a bug? How to solve that? \documentclass[10pt,a4paper]{article} \usepackage{unicode-math} \begin{document} $-| P |<r_u<|P|$ ...
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 ...
5
votes
1answer
202 views

How can I avoid that a functions argument touches the brackets using unicode-math?

Maybe, I am doing something wrong, but please have a look on the alignment in this formula: % arara: lualatex \documentclass{article} \usepackage{mathtools} \usepackage[% ,math-style=ISO ...
5
votes
0answers
138 views

Clickable box malformed in TOC when using math in heading and the Latin Modern Math font

The clickable box (the actual hyperlink) in the TOC is too heigh when using the Latin Modern Math font. Using Cambria Math everything looks normal. Using the \texorpdfstring{}{} command does not ...
3
votes
0answers
323 views

Combining unicode-math fonts: Problems with \underbrace [closed]

I switched to XeLaTeX and unicode-math a while ago. I really like the possibility to combine different fonts for mathematical symbols. But now I run into trouble by combining the \underbrace command ...
6
votes
1answer
506 views

Switching math fonts with unicode-math

I want to use a different math font in figures (namely tikzpictures). I already asked a question about this topic where I tried to mix mathspec and unicode-math. Now after some reseach I realized that ...
3
votes
1answer
193 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 ...
1
vote
3answers
384 views

To show something are appearing n-times!

Suppose I want to write that the sequence 1,1,...,1 appear n-times. How will I do this? Usually in mathematics we use a braces at the bottom and write "n-times" below the brace.
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 ...
0
votes
0answers
64 views

XeTeX error with Cambria Math, very simple formula [duplicate]

This MWE: \documentclass{book} \usepackage[no-math]{fontspec} \usepackage{unicode-math} \setmainfont{Cambria} \setmathfont{Cambria Math} \newcommand{\R}{\mathbb{R}} \begin{document} $\R^{m\times n}$ ...
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} ...
3
votes
1answer
332 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? ...
2
votes
1answer
460 views

unicode-math and tex4ht with utf-8 input

I have a document which I'm compiling to PDF using LuaTeX, and I want to create an HTML version from the same sources. The text is german with umlauts, and for convenience I'm using some unicode-math ...
4
votes
0answers
231 views

unicode-math and oldstyle figures

I'm trying to find a good way to archive the following using fontspec, unicode-math and lualatex: almost global oldstyle figures including inline math lining numbers for displayed equations, e.g. ...
7
votes
1answer
340 views

Math operator names with Neo Euler in XeLaTeX

I am writing a document in XeLaTeX using Libertine and Neo Euler as fonts: \usepackage[math-style=upright]{unicode-math} \setmainfont{Linux Libertine G} \setsansfont[Scale=MatchLowercase]{Liberation ...
5
votes
2answers
371 views

unicode-math interferes with siunitx

The Problem I'm using unicode-math and the font TeX Gyre Pagella Math. Also, I use siunitx to denote my quantities. Unfortunately, the option \micro of siunitx doesn't get expanded to µ, but is ...
24
votes
3answers
2k views

What is the difference between unicode-math and mathspec?

I'm currently typesetting my lecture notes for classical electrodynamics using the tufte-book class and XeLaTeX. This is my first time using XeLaTeX and so I stumbled upon the two packages ...
5
votes
2answers
256 views

unicode-math breaks \DeclareMathOperator

Problem Statement I'd like to introduce a new math operator (the divergence operator). Unfortunately the macro I'd like to use is already defined, so I "free" it using \let\div\undefined and ...
4
votes
1answer
515 views

Mirror greek symbol in math environment

I need a mirrored symbol \Gamma. Is it posible? I can't find this symbol and I do not know a way to mirror the symbol. I use unicode math.
5
votes
1answer
362 views

Upright greeks in Asana-math?

I'm using XeTeX, unicode-math with Asana-math.otf and required to make all greek letters in math -- upright. Asana-math seem to have upright greek letters: (on the contrary I can't find italic ...
6
votes
2answers
484 views

How I put \sqrt in arial with unicode-math?

I need to write an document with Arial. And have some math. I almost do this in entire document with this: \documentclass{article} \usepackage{amsmath} \usepackage{mathspec} ...
5
votes
2answers
661 views

Typesetting Quine quotes

The obvious way of typesetting Quine quotes, also known as quasi-quotation marks, in LaTeX doesn't work well when the content of the quote is tall. For example: \documentclass[12pt]{article} ...