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

learn more… | top users | synonyms

4
votes
1answer
2k 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} \begin{frame}...
3
votes
1answer
284 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 ...
5
votes
1answer
1k 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 to ...
9
votes
1answer
256 views

Is it possible to make siunitx typeset exponents in “cramped” style?

I'm using siunitx to typeset physical quantities. The result is not always ideal with many exponents in my eyes, because the exponents increase the line to line distance. At least this is my ...
0
votes
0answers
28 views

XeTeX and miriad “Missing character” messages in log file [duplicate]

I have a XeTeX source which compiles "nicely" into PDF except for many messages of the following kind Missing character: There is no ೛ in font [Asana-Math]/ICU:script=math;language= DFLT;! First of ...
8
votes
1answer
228 views

Unicode-math does not render the Gamma letter

(updated) I wonder why unicode-math does not render the letter Latin Gamma!? \documentclass{article} \usepackage{unicode-math} \setmathfont{Tahoma} \begin{document} $ɣ γ$ \end{document} This only ...
4
votes
2answers
129 views

Who do I have to ask, if I need a \mathsfup{\Theta} (missing unicode character)?

Strange question, I guess, but I am needing a \mathsfup{\Theta} and this char is not included to the range of unicode characters. Who should I ask, if I want to obtain this letter in medium weight ...
12
votes
1answer
212 views

How to change the mathematical symbol class of a unicode math symbol?

In unicode-math-table.tex the math class of many symbols is defined by lines like: \UnicodeMathSymbol{"026AC}{\mdsmwhtcircle}{\mathord}{medium small white circle}% Now if I want to use this ...
11
votes
2answers
362 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 ...
4
votes
1answer
741 views

Selecting math font with unicode-math in beamer with XeLaTeX

I'm trying to use unicode-math in XeLaTeX to use Asana Math in a beamer presentation, but I am unable to use select the font for letters in math mode. See the following MWE: \documentclass{beamer} \...
18
votes
1answer
370 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} \usepackage{...
9
votes
1answer
374 views

Problem between unicode-math and babel option frenchb in LuaLaTeX

I've got a strange problem in LuaLaTeX with both babel, option frenchb, and unicode-math. My TeX Distribution is TeX Live 2013 (installed with MacTeX on a OS X.8.5 system). If I run the following ...
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
576 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
341 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
493 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
170 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 -> http://www.latex-...
21
votes
2answers
29k 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
633 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} \usepackage{...
11
votes
1answer
576 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
434 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
204 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
148 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
236 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
536 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
785 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
254 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 it....
5
votes
2answers
301 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
606 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 ...
13
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
479 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
369 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
349 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
440 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} $α$ α \begin{...
3
votes
1answer
211 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
166 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
580 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
705 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
79 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
282 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} \[y_\mathup{COG}=\frac{h}{3}\frac{l_\mathup{c,a}+2l_\...
1
vote
1answer
179 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|$ \end{document}...
6
votes
1answer
286 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
231 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
180 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
527 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
755 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
391 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.