{unicode-math} provides an implementation of Unicode math symbols and OpenType math fonts for XeLaTeX and LuaLaTeX.
24
votes
1answer
225 views
Please explain a strange interaction between bytefield, unicode-math, and mathtools
bytefield gives me different results when used in association with mathtools and unicode-math when used together. Here's my 'good' MWE:
% !TEX TS-program = XeLaTeX
\documentclass[a4paper]{article}
...
22
votes
2answers
12k views
Which dot character to use in which context?
Wikipedia lists several dot characters in Unicode. These are the ones that are ambiguous to me:
interpunct, middle dot (·) · · U+00B7 "midpoint (in typography)"
...
19
votes
2answers
670 views
Placement of subscripts using unicode-math. Is it XeTeX bug?
I don't like placement of subsripts when using unicode math fonts under XeLaTeX. In contrast to CM fonts the subscripts are placed at different vertical positions obviously depending on the depth of ...
18
votes
5answers
3k views
Is it possible to use Linux Libertine as a mathematical font?
I recently heard that there is a package called unicode-math that makes it possible to use an ordinary TTF/OTF font for mathematic typesetting. To what degree is that possible with Linux Libertine? I ...
14
votes
2answers
561 views
Using several math fonts with unicode-math
I'd like to typeset a document that uses two different math fonts with unicode-math. In the documentation I can't find anything about switching the font mid-document. Just writing
...
13
votes
3answers
918 views
'Not element of' in Latin Modern
In the following example, the ∉ symbol does not look good.
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setmathfont{Latin Modern Math}
\begin{document}
This ...
12
votes
2answers
1k views
Minion Math with unicode-math
This is a little bit off topic as it is not exactly related to TeX.
I saw recently that Minion Math was updated to 1.020 which comes with math table support.
Does any one had a chance to play with ...
12
votes
1answer
190 views
Remapping LaTeX symbol to another unicode value
When compiling the following piece of LaTeX code, the ∖ symbol does not show up.
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{Latin Modern Roman}
\setmathfont{Latin Modern Math}
...
12
votes
1answer
439 views
clash between mathtools and unicode-math
Lately I started looking into LuaTeX and I must say I’m growing fond of it with every feature I discover. So I decided to transfer my pdfTeX preamble to LuaTex checking which packages still work and ...
11
votes
4answers
778 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} ...
11
votes
2answers
396 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}
...
10
votes
2answers
552 views
Replacing Unicode non-breakable spaces by normal spaces
I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
10
votes
1answer
209 views
Is there a way to use unicode-math in a limited fashion?
At the moment, I am using mathspec and some traditional math packages such as mathpazo to typeset my mathematics. The results are mostly satisfactory, but I would like to expand the repertoire of some ...
9
votes
1answer
256 views
Is direct utf8 input of combining diacritics in math mode possible with lualatex?
I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue:
\documentclass{minimal}
...
8
votes
1answer
704 views
XeLaTeX: lost \perp in Cambria math?
Occasionally I noted that Cambria Math fonts or the unicode-math package might have wrong definition of \perp math symbol. Attached picture shows that \perp is not printed properly while \bot is.
...
8
votes
1answer
2k views
Cambria Math becomes plain Cambria
I'm a LaTeX neophyte, so please excuse my ignorance.
I want to typeset a document with text in Cambria and math in Cambria Math.
I found the unicode-math package, which seems to do what I want.
Here ...
8
votes
1answer
96 views
Spacing changes when using unicode-math range feature. Why?
You can use the range feature of unicode-math to set the math font for a specific unicode slots or the macro accessing the glyph. I tried this with the sum sign & Latin Modern, see my example:
...
7
votes
1answer
231 views
Making integral ∫ use \limits by default with unicode-math
How can I make the unicode integral symbol ∫ act as if it is followed by \limits? Classically \usepackage[intlimits]{amsmath} would do. But with unicode-math this does not help anymore. I also tried:
...
7
votes
1answer
277 views
Left-middle-right delimiters and unicode-math
Consider the rendering of \middle| in the code below:
\documentclass[12pt,a4paper]{article}
\usepackage{unicode-math}
\setmathfont{xits-math.otf}
\begin{document}
\[ \left\lbrace p_{i,j} \, \middle| ...
7
votes
1answer
408 views
Using a fancy font for mathmode, falling back to XITS for missing symbols
I'm using a silly font inside an environment, so that the text inside looks quite different than the surrounding text. However, I am having trouble getting mathmode to look silly, but legible.
...
6
votes
1answer
384 views
Weird font/spacing issue with LuaTeX & Asana Math
Trying to use LuaTeX font support in some big document, everything went fine except a little glitch with Asana Math font. Here is the issue:
\documentclass{standalone}
\usepackage{unicode-math}
...
6
votes
2answers
813 views
\underbrace symbol is wrong
Hey guys, I tried to google the solution, but I didn't find any solution to this. I am using beamer,xelatex to prepare a slide. When I use \underbrace, the brace doesn't show, instead, a crappy symbol ...
6
votes
1answer
458 views
Strange behavior of XITS Math in XeLaTeX for \underset and \underaccent commands
Prompted in part by the question Is there an "underscript" command?, I started wondering if the \underset (from amsmath) and \underaccent (from accents) commands work equally when using XeLaTeX ...
6
votes
2answers
313 views
Strange error when unicode-math and hyperref are combined in xelatex
The following is an MWE for a problem that I'm facing:
\documentclass{article}
\usepackage{hyperref}
\usepackage{unicode-math}
\setmathfont{Asana Math}
\begin{document}
\section{$2\times 2$}
$2 ...
6
votes
1answer
283 views
LuaTeX with unicode-math, how to get the font id of current math font
How can I query informations about the current math font?
I tried the following in a document using unicode-math and Cambria Math font
\documentclass{article}
\usepackage{unicode-math}
...
6
votes
1answer
300 views
Too much space after integral sign with unicode-math and lualatex
(I had a feeling this was a duplicate, but couldn't find an older question about it. Forgive me if I'm just bad at searching.)
Consider the minimal example
\documentclass{article}
...
6
votes
1answer
336 views
Math symbols not being printed.
I am having problems printing an equation. I have the following definitions:
\documentclass{scrreprt}
\usepackage{mathspec}
\defaultfontfeatures{Mapping=tex-text,BoldFeatures={Weight=2}}
...
6
votes
1answer
895 views
unicode-math and amsmath environments
I'd like to use unicode-math but I've run into some problems. The following mwe, compiles without problems. The aligned environment is used
\documentclass{article}
\usepackage{amsmath}
...
6
votes
1answer
213 views
Invisible math characters with unicode-math and ntheorem
When compiling this code with lualaTeX (from TeXLive 2011),
\documentclass{minimal}
\usepackage{unicode-math}
\usepackage{ntheorem,thmtools}
\setmathfont{xits-math}
\makeatletter
...
6
votes
1answer
71 views
Is there any documentation of \Umathcode, \Umathcodenum, etc.?
Trying to use the package unicode-math I have been looking for some documentation of \Umathcode, \Umathcodenum, etc. The usually place, the package documentation (http://ctan.org/pkg/unicode-math), ...
6
votes
1answer
337 views
unicode-math and various fonts fail at giving decent spacing in formula
I want to check if this problem is due to my configuration or if it is some kind of bug.
This are the packages I load and the configuration for them (all very minimal in order to test the problem). ...
6
votes
1answer
368 views
Brackets and parenthesis from different fonts in unicode-math
I am using the unicode-math package to use letters from the body font in math typesetting. The font I am using (Arno Pro) works quite well for this, because it includes a full Greek alphabet on top of ...
6
votes
2answers
280 views
\sqrt[x]{y} Breaks With unicode-math
I’m having trouble with XeLaTeX (0.9998) and unicode-math (0.7a). If I use \setmathfont more than twice, the \sqrt command breaks when a superscript is specified.
\documentclass{minmal}
...
6
votes
1answer
154 views
Math spacing in TeX Gyre Pagella
The spacing in the following output looks off to me. In particular, the integral symbol has not grown to accommodate the height of the integrand, the spacing in the fraction seems large, and the ...
6
votes
1answer
316 views
Using CJK (Chinese/kanji) characters in math using unicode-math on lualatex
I'm trying to persuade the unicode-math package to let me insert CJK characters (Chinese ideograms) in math formulæ. Here's a sample input (the first few lines are merely to check that basic ...
6
votes
1answer
224 views
Spacing of brackets with unicode-math
Consider this example:
\documentclass{article}
\usepackage{unicode-math}
\setmainfont{Linux Libertine O}
\setmathfont{XITS Math}
\setmathfont[range=\mathit/{latin,Latin,greek,Greek,num}]{Linux ...
5
votes
2answers
139 views
How to map unicode characters to math symbols?
I have documentation with some mathematics, that I want to convert via LaTeX, but I'd also like to keep it as much readable in source as possible (as it's more for me than anybody else). Since I can ...
5
votes
2answers
745 views
two mathcal families in the same document
Is it possible to use two math fonts from the calligraphy families in the same document?
Something like $\mathcal{P}$ from Zapfino and $\mathcal{T}$ from XITS math?
5
votes
2answers
254 views
LuaLaTeX + load one particular math symbol from an OTF file
I try to load exactly one symbol from an OpenType Font file and use it in a math environment. However, it seems to me, that I can only use the symbol in "normal" text but not in math mode. Here is a ...
5
votes
2answers
994 views
How to use unicode-math with beamer and lualatex?
According to a recent article in "Die TeXnische Komödie", this should be the way to get Latin Modern Math to work with lualatex and the latest TeXLive 2011:
\documentclass[professionalfonts]{beamer}
...
5
votes
2answers
419 views
Less vertical space in frac
I'm using unicode-math in lualatex with the Cambria Math fonts. Compared to Computer Modern math, there is too much vertical space between fractions. Is there a way I can achieve my adjustment without ...
5
votes
2answers
1k views
What Unicode Font is Best Suited for Math Symbols using Font-Locking under Emacs?
I recently installed Emacs + AucTeX on MS Windows using the pre-configured binary available from this CTAN webpage and everything works quite well with the latest MikTeX installation and Ghostscript 8 ...
5
votes
2answers
100 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}
...
5
votes
1answer
193 views
font name with a space, using XeLaTeX and fontspec
I use XeLaTeX, amsmath, fontspec, unicode-math and standalone to create a pdf containing one single equation which I then import to Inkscape for a poster.
When using font names with a space in it, ...
5
votes
2answers
783 views
Using Linux Libertine in math mode with unicode-math (XeLaTeX)
I'm trying to use the Linux Libertine font for my thesis. Libertine in fact does have mathematical symbols, but I didn't manage to use them properly in unicode-math. The following example sums up my ...
5
votes
1answer
204 views
Unicode math with amsmath, new error
After applying the most recent ctan updates, the following MWE does not compile with lualuatex. There is an error given ending with \cs_set_nopar:Npx that I can't make sense of.
...
5
votes
1answer
564 views
unicode-math and amsmath incompatible
When I compile the following mwe with xelatex, I am told:
ERROR: LaTeX Error: Command \dddot already defined.
--- TeX said ---
Or name \end... illegal, see p.192 of the manual.
l.571 ...
5
votes
1answer
554 views
Can I use Wolfram Mathematica fonts in XeTeX / LuaTeX?
Wolfram Mathematica comes with full (?) set of math fonts. Is it possible to use these fonts in XeLaTeX and LuaLaTeX? I mean something like
\usepackage[math-style=ISO,bold-style=ISO]{unicode-math}
...
5
votes
2answers
541 views
Bold italic math with unicode-math
How can I get the output I get without unicode-math using unicode-math, preferably (not necessarily) using the same code (\boldmath)? I would like the solution to work with at least the XITS and Latin ...
5
votes
0answers
86 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}
...
