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

learn more… | top users | synonyms

4
votes
2answers
2k views

Latex command for unfilled \bigstar

\bigstar produces a black star. What is the LaTeX command for white or unfilled \bigstar? The unicode-math package has a command \bigwhitestar, but I am not able to use it in the usual way. When I ...
8
votes
1answer
540 views

Different appearance of \dots, \ldots in text and math mode in LuaLaTex + unicode-math (bug)?

I get tons of warnings "Command \textellipsis invalid in math mode" after I have switched to LuaLaTex. The warning comes from the unicode-math package, which I needed to set the math font. If I use ...
9
votes
2answers
332 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 ...
14
votes
1answer
486 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
162 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$ ...
17
votes
3answers
1k 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 -> ...
20
votes
2answers
27k views

\mathscr (LaTeX or XeLaTeX) [duplicate]

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
586 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} ...
11
votes
1answer
548 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} ...
10
votes
1answer
414 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
2k 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
200 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 ...
6
votes
1answer
145 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
231 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
516 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
759 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
243 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 ...
5
votes
2answers
294 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} ...
8
votes
2answers
586 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 ...
12
votes
3answers
2k 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
473 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
360 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
342 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
411 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
205 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
160 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
564 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
677 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
78 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
278 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
171 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
275 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
230 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
174 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
510 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
737 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 ...
5
votes
3answers
375 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
1k 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
334 views

How to get “XeLaTeX + unicode-math” output as close as possible to that of pdflatex? [closed]

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
552 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
386 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
802 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 ...
6
votes
0answers
358 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
590 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 ...
7
votes
2answers
689 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 ...
31
votes
3answers
5k 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 ...
7
votes
2answers
1k 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 ...
5
votes
1answer
1k 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
595 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 ...