1
vote
0answers
35 views

Spacing of fractions in TeX Gyre Pagella Math

Using TeX Gyre Pagella Math with xelatex, some objects like \frac12 just seem way too large compared to the rest of the equations. Have a look: In the first line, the numerator looks like it's ...
2
votes
1answer
36 views

xelatex mathspec with polyglossia

How to use mathspec package and polyglossia for the russian language? MWE \documentclass[14pt]{extreport} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{commath} % ...
2
votes
3answers
87 views

I think fractional expressions in my text is small and not normal?

\documentclass[12pt]{book} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{xepersian} \begin{document} \begin{persian} \lr{$-\frac{1}{3}$} \hspace{1cm} $-\frac{1}{3}$ ...
12
votes
1answer
141 views

Fixing mathit spacing with unicode-math

I am using lhs2TeX to convert code into LaTeX. It typesets code into math mode. As I am also writing math formulas in the same document, I use unicode-math to switch between different math mode fonts ...
5
votes
3answers
176 views

Greek capital letters with Latin Modern and TeX

Copying the plain TeX format, my formatting file contains the lines \font\tenrm="[lmroman10-regular.otf]:mapping=tex-text" \textfont0=\tenrm \def\rm{\fam0 \tenrm} to load a unicode font. However, ...
1
vote
0answers
68 views

Using oldstyle numbers in XeLaTeX math mode for ONLY inline math

Is there any way to use OldStyle numbers for text and inline math only, while using Lining in the align and equation environments? Ideally via mathspec, but I'm open to other solutions.
10
votes
2answers
5k 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 = ...
7
votes
0answers
232 views

PDF output showing blank spaces instead of math [closed]

I have a big problem now. I need to print my thesis tomorrow, but I learned that for mysterious reasons my supervisor most of the time sees blank spaces instead of math symbols in the pdf I send her ...
4
votes
1answer
122 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 ...
7
votes
3answers
2k views

What is the best Math Font for use with Minion Pro font?

I have began using the Minion Pro series of fonts and compiling with XeLaTeX. However, despite the typeface changing, I still have the same CM Modern Math fonts. Do any of you have a good suggestion ...
4
votes
1answer
324 views

Suddenly, a problem with boldface Greek symbols; bm package doesn't work

I've added the following packages: \usepackage{fontspec} \usepackage{xunicode,xltxtra,url,parskip} \usepackage[usenames,dvipsnames]{xcolor} \usepackage{hyperref} ...
2
votes
1answer
336 views

XeLaTeX, unicode-math and Linux Libertine: changing the look of \overrightarrow

I am using Linux Libertine and thus far everything has been working flawlessly with regard to the math mode, fonts look very well and match the text perfectly. However, I found that I do not like the ...
10
votes
3answers
584 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 ...
5
votes
1answer
289 views

Linux Libertine Bold Math

I'm using Linux Libertine everywhere in my document. However, I cannot figure out how to get bold math \mathbf to display as bold text. This answer seemed related to this problem, but trying that ...
4
votes
1answer
316 views

Does the minionpro package has problems with spacing in math mode (like mathspec)?

I recently started using the open type Minion Pro font with mathspec in XeLaTeX. But I noticed a major drawback: mathspec has problems with character spacing in math mode because Minion Pro is not a ...
28
votes
1answer
1k views

xelatex problem: Missing chars in TeXLive 2013 / \textfont XXX is undefined errors in miktex

I'm trying to track down the source of a problem with the new xetex binary in miktex. I think it is related to the following problem in TeXLive 2013: \documentclass{article} \usepackage{unicode-math} ...
4
votes
1answer
1k views

\hat and \widehat look terrible: fixing width and better positioning?

I want to make the use of quantum mechanical operators explicit in my text using \hat{A} or \widehat{A}. The problem is that depending on the symbol under the accent it looks either misplaced or too ...
3
votes
1answer
121 views

How to increase size of the diacritic/accent mark selectively without changing the alphabet size

I am using a typeface that has limited support for letters with diacritics. I am looking to use the features in latex (I'm using xetex on ubuntu) for providing the glyphs I am missing. My font has ...
6
votes
3answers
352 views

How do I get Libertine + Libertine in math mode + historical ligatures + french-style?

I would like to write a document using: Libertine; Libertine in a correct math mode; Historical ligatures; French style of mathematics (upright greek letters and capital letters). I know I should ...
8
votes
2answers
123 views

\setbox containing maths interferes with surrounding math mode in XeTeX

I encountered what might be a bug in XeTeX (but I would be glad to be proven wrong) while chasing a strange interaction between bytefield, unicode-math, and mathtools. In general, I do not expect a ...
2
votes
2answers
166 views

Set minimum math font size

Example: \begin{equation} \begin{array}{ll} \textrm{stejne rozptyly:} & U = \frac{ \bar{x}_1 - \bar{x}_2 }{ s \sqrt{ \frac{1}{n_1} + \frac{1}{n_2} } } \\ \textrm{ruzne ...
2
votes
2answers
179 views

How to make circumflexes wider but still of a fixed size in XeTeX?

Circumflexes looks too small and they are to close to the symbol in the PDF generated by XeLaTeX from UTF-8 source with Asana Math font for mathematics: Source: \documentclass[12pt]{article} ...
6
votes
5answers
8k views

Real numbers symbol in XeTeX

How can I get the 'real number' sign (something like \mathbb{R} with the amssymb package in LaTeX) in XeTeX?
6
votes
1answer
153 views

why this math mode in lettrine

Trying to use the lettrine package in XeLaTeX with the Georg Duffner's EB Garamond font results in: ! Bad USV code (-2411) Trial and error shows that the problem comes with these two lines in ...
2
votes
1answer
235 views

XeTeX/mathspec, more than one math digits font

When using the mathspec package, is it possible to have more than one math digits font in different places in the same document. Mostly, I want the font for my math digits to be the same as my main ...
7
votes
1answer
224 views

Trying to use FreeSerif as a maths font — what am I doing wrong?

Always in search of the ideal font combination unicorn, I thought I'd try the GNU Free UCS Outline Fonts (FreeSerif, FreeSans, and FreeMono). I seem to have fallen at the first hurdle: ...
3
votes
1answer
442 views

How to set lining numbers in math in Beamer (with EB Garamond) under XeLaTeX

I'm using EB Garamond with XeLaTeX and Beamer as follows. (I'm not actually sure whether it's all necessary--advice accepted.): \usepackage[T1]{fontenc} % not sure why ...
6
votes
1answer
2k views

How to use system font for equation in XeLaTeX?

I am trying to use system font for LaTeX. I am able to do it for text but not for the math part. Here is an example (compiled using XeLaTeX), where I use the font "Broadway", but it doesn't work for ...
6
votes
1answer
99 views

Can one use \XeTeXinterchartoks in math mode?

Is the \XeTeXinterchartoks active also in math mode? I tried: \documentclass{article} \usepackage{fontspec} \begin{document} \XeTeXinterchartokenstate = 1 \newXeTeXintercharclass \myletterclass ...
8
votes
2answers
351 views

XITS and \not\models

When using XITS (with xelatex), the \not is displayed way too high on certain commands. For instance: \documentclass{standalone} \usepackage{unicode-math} \setmathfont{XITS Math} ...
4
votes
1answer
351 views

utf8 math characters from source code file with minted in XeLaTeX

I want XeLaTeX/minted to display all my mathematical characters from my .java source file. More detailed: I file my programming homework in PDF documents in my university. I have been using LaTeX and ...
10
votes
1answer
434 views

When using more than 16 math alphabets, \mathtt uses italic font

I know that in TeX, you can only use 16 math alphabets but XeTeX extends this so I was curious to enlarge the number of my math alphabets and I had to redefine some internals of LaTeX. Here is my ...
9
votes
3answers
1k views

Diereses (German Umlauts) in math?

Is it possible to enter Umlauts directly in math? I would like to do something like the following (using XeLaTex): \documentclass{article} \usepackage{amsmath} \usepackage[silent,no-math]{fontspec} ...
5
votes
1answer
797 views

Cyrillic symbols in math equation xetex

I use Times New Roman font for my report. But in the math expressions are not displayed Cyrillic characters. Example: \begin{equation} S_{ном.} = S_{123} \end{equation} output ...
14
votes
2answers
733 views

How to insert Greek letters directly in math environment?

Why are non-Latin characters not displayed in formulas, even when using XeLaTeX? \documentclass{article} \usepackage{xltxtra} \begin{document} $\omega$ %displyed $ω$ %not displyed ...
1
vote
1answer
111 views

How to avoid sub-stacks being squeezed onto the baseline?

I'm using XeLaTeX on Linux (just to pre-empt any questions about that...) I think my question is best described with this Picture: As you can see in the red circles, the n \to \infty line got ...
7
votes
1answer
2k views

Using Cambria Math in XeLaTeX

Take a look at the following images, XeLaTeX typeset formula: Word generated formula: Note specifically the difference of the \hat implementations at g_i and g_i^2 in XeLaTeX. In Word the two ...
2
votes
2answers
273 views

Arrow is too long when \vec followed by subscript or superscript after using unicode-math package

The code is below \documentclass[12pt]{article} \usepackage{unicode-math} \setmathfont{XITS Math} \begin{document} \large $\vec{a}^{12345}$ \end{document} Then the arrow of ...
4
votes
1answer
2k views

How to use Palatino-like math fonts in XeLaTeX?

After some fighting with Asana Math, I thought that I could give a Palatino-like math font a chance. So the questions are: (1) what exactly is the difference between pxfonts and mathpazo and (2) how ...
2
votes
1answer
333 views

Palatino with text figures, not in math mode or headings

I'm working on a document which is fairly math-heavy, but also contains numbers outside of math mode. I want these numbers to be displayed as old-style/text figures. I also want a Palatino-type font ...
4
votes
2answers
478 views

Xelatex math weirdness - misaligned \not

I generally use xelatex for my documents, and the following snippet generally works fine for my math: \usepackage{fontspec} \usepackage{unicode-math} \setmathfont{Asana Math} But I recently ...
19
votes
4answers
3k views

What free math font could/should accompany Linux Libertine and Linux Biolinum?

Well, the title of the question pretty much says everything. To be more precise: I'd like to know (1) what font would be visually suitable to use with Linux Libertine and/or Linux Biolinum as the ...
4
votes
1answer
1k views

siunitx uses math mode for symbols - workaround needed when using different fonts for math and text

This is a follow up question from Using old style fonts of palatino (mathpazo) in math mode. The original problem has been solved using siunitx instead of dcolumn. However, the problem is that I am ...
3
votes
1answer
580 views

Automatic switching of math font based on current text font

I'm writing a document using xelatex and have set up my document fonts using fontspec as follows: \usepackage{fontspec} \setmainfont[Mapping=tex-text,Numbers=OldStyle]{Linux Libertine O} ...
3
votes
2answers
240 views

How to adjust the font in a \newcommand math expression to the environment

I'm writing my thesis about the gas NO2. The correct way to write this is $NO_2$. Currently, I have a macro defined to make typing easier: \newcommand{\notwo}[0]{\chem{NO_2}\xspace} \chem is a macro ...
19
votes
2answers
938 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 ...
3
votes
1answer
349 views

Loading a math font with stylistic set in plain XeTeX

How does one activate a stylistic set in plain XeTeX? I have tried: \font\test="XITS Math:+ss01" % for calligraphic \textfont2=\test $ \fam2 A $ \bye but with no luck.
9
votes
1answer
575 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. ...
4
votes
1answer
891 views

XeTeX \left and \right problem

I have a problem with the 〈 and 〉 symbols (Unicode encoding: 27E8 and 27E9) which replace the \langle and \rangle, when I try to combine them with \left and \right commands. The following examples ...
2
votes
1answer
680 views

How to debug hanging xetex compilation

I'm experiencing a weird problem. After updating my MikTeX installation my thesis document no longer compiles. Compilation (with xelatex) hangs and takes up all of one of my CPU's cores. However, if ...