XeTeX is a Unicode-capable variant of the TeX engine. Use this tag if your question is about Xe(La)TeX specific problems and is not related to standard (La)TeX.

learn more… | top users | synonyms (1)

14
votes
3answers
8k 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
1answer
289 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} ...
2
votes
1answer
204 views

Error in amsmath as primitive \eqno no longer primitive [closed]

I am trying to typeset (with XeLaTeX) a simple Tufte-LaTeX example (http://tufte-latex.googlecode.com/files/Week5Lecture.tex) and getting an error message like the following: ...
1
vote
1answer
282 views

Changing the font for braces

I managed to successfully hack mathspec to use parentheses () and brackets [] from the specified font via e.g. \DeclareMathSymbol{]}{\mathord}{\eu@DigitsArabic@symfont}{`]} Obviously, I'd like to ...
4
votes
1answer
281 views

Use mathrm by default for uppercase Latin characters

I'm trying to mix Optima and AMS Euler using eulervm and mathspec in XeLaTeX. The relevant bit of code in my source file is as follows: \usepackage{eulervm} \usepackage{mathspec} ...
1
vote
0answers
80 views

changing font of one (or a small number of) text character only [duplicate]

Possible Duplicate: Font substitution with XeLaTeX I am using a text font that unfortunately does not have accents for the letter e, which I need. But I have found a very similar font, and ...
8
votes
1answer
460 views

Abstract with amsart class and fontspec (with XeLaTeX)

There is an error message which I do not understand when I use amsart in conjunction with fontspec. The math text in the abstract seems to be deemed too small? The error is \textfont 6 is ...
14
votes
2answers
749 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 ...
2
votes
1answer
377 views

unscalable oldstyle numbers through \newfont with XeLaTeX (Minion)

In what is below, the \newfont command does not scale the numbers. I would like to know why. \documentclass{book} \usepackage{fontspec} \setmainfont[Ligatures={Common}, Numbers={OldStyle}]{Minion ...
5
votes
1answer
2k views

Encoding error when changing from LaTeX to XeTeX engine in Emacs AucTeX

The following MWE works fine when compiling with the LaTeX engine (AUCTeX 11.86) \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \begin{document} ...
18
votes
1answer
991 views

PDF file size with LuaLaTeX vs XeLaTeX

I have a set of one-page documents written in LaTex. The same file compiled in LuaLaTeX is about 23 times larger than when it is complied using XeLaTex (about 641 KB vs 28 kb). I tried with a couple ...
2
votes
1answer
2k views

TexWorks used to output PDF from TeX file result in XeTeX required error

I'm new with TeX and Linux, but I want to learn to use it. I found an open source TeX file from here and I want to be able to compile from the cv.tex file to cv.pdf. After searching around, I found ...
3
votes
1answer
441 views

LTR sequences within RTL text - alternative to cumbersome markup?

I am writing a book in Persian that is full of text in Latin scripts scattered all over book. I have to wrap every Latin script with \lt{} to guide xetex to align words from left to right. It's ...
4
votes
2answers
160 views

How to make the function identifier ( f(x) ) more dominant?

When a function has a rather complex set of parameters, the function identifier (usually simply f), gets dwarfed by the parentheses and the parameters inside of them: As you can see in the red ...
1
vote
1answer
115 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 ...
5
votes
1answer
196 views

How to change the appearance of the optional argument of \cite in amsrefs?

Continuing my odyssey with oldstyle numbers, I'd like to disable them also in the optional (second) argument of \cite{...}*{...} in amsrefs. Any hints how to do that? (I'm using XeLaTeX, but this is ...
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 ...
4
votes
1answer
190 views

Remapping fonts in unicode-math has no effect on e.g. `\mscrC`

For some reason, in this setup, \mathscr{C} and \mscrC produce different results: \documentclass[12pt,a4paper]{article} \usepackage{unicode-math} \unimathsetup{math-style=TeX} \setmathfont{Cambria ...
4
votes
1answer
227 views

Custom inheritance rules not working with biblatex

I work on a document (XeLaTeX), where many mixed language collections are cited. Using biblatex I can make use of the hyphenation field to switch between different languages (although the babel-option ...
13
votes
2answers
479 views

Better way of embedding OpenOffice plots into LaTeX?

Right now, I create plots in the spreadsheet, copy them to OpenOffice Draw, save as images, and then put them (as images) into my .tex file. But that leads to problems with resolution (labels too ...
4
votes
1answer
620 views

Using another font for a glyph that is not available in the current font

I want to declare more than one font so XeTeX can use other fonts when first font did not have a specific glyph. How can I do that? In windows when the current font does not have a glyph, other font ...
1
vote
1answer
199 views

Unexpected scoping issue using \XeTeXinterchartoks

Minimal example (compile with xetex): \XeTeXinterchartokenstate = 1 \newXeTeXintercharclass \classa \XeTeXcharclass `\a \classa \XeTeXinterchartoks 255 \classa = {\begingroup} \XeTeXinterchartoks ...
7
votes
1answer
2k views

Set font in listings in XeLaTeX

I want to set specific font just for listings in XeLaTeX. \newfontfamily\consolas{Consolas} \lstdefinelanguage{MyLanguage}{ basicstyle=\ttfamily, .... % my language definition } ...
4
votes
2answers
645 views

How to check if a font exists in XeLaTeX

Is there a way to check if a font exists in XeLaTeX? I am aware of Check for missing fonts/characters in XeLaTeX?, but sadly the one answer only refers to the log. I am interested for a test via code. ...
4
votes
1answer
469 views

Asana Math calligraphic capital R with XeTeX

I am having problems getting a calligraphic ‘R’ with Asana Math. This is my minimal: \font\asanacal="Asana Math:script=math;mapping=script;+salt" \font\asanascr="Asana ...
5
votes
2answers
1k views

Conversion XeTeX -> EPUB

I've got (Xe)TeX document. It s fine to compile into PDF. However, I'd like to know how can I do to export it into EPUB in order to read it with my Sony Reader. I've tried to use many tools such as ...
2
votes
1answer
487 views

Arabxetex: how to type eastern arabic numerals

how can I type eastern arabic numbers (or so called arabic indic) via arabxetex? http://en.wikipedia.org/wiki/Hindu%E2%80%93Arabic_numeral_system http://en.wikipedia.org/wiki/Eastern_Arabic_numerals ...
2
votes
3answers
418 views

Placing an image with caption at the bottom of the page in XeLaTeX?

I need to create a figure an place it at the bottom of the page (figure includes the image and some caption text). Is there a way to do it? I tired using figure environment, but it sends my image all ...
4
votes
1answer
1k views

Is there a way to export XeLaTeX document into doc or similar?

I need to export my .tex file to .doc. I tried to do it using mk4ht ooxelatex file.tex but got complete garbage as output. The file itself is quite simple - some text and a pair of images. Is ...
1
vote
2answers
2k views

\hyperref to a \label doesn't work (“empty destination key”)

In one of my documents, I used the combination of \label with \hyperref. Now, I fail for some reason. I included the package: \usepackage[colorlinks=true,urlcolor=blue,linkcolor=blue]{hyperref} ...
0
votes
0answers
173 views

avilable XeTeX editors [duplicate]

Possible Duplicate: LaTeX Editors/IDEs Can anybody please list Unicode compatible XeTeX editors for Windows which support RTL languages? (I know TeXmaker and Texnic 2alpha ) Update: ...
2
votes
3answers
687 views

My .eps images appear to lack resolution, but turn out crisp after compiling my document, what's going on?

I have produced some .eps images of graphs (using the Python matplotlib module) and they look very shoddy, e.g. the crosshatching looks like a very rough plaid, but when I compile my document with ...
3
votes
1answer
196 views

Number not displayed in parentheses

When I put a number between parentheses it will vanished: What is wrong? MWE: ‎\documentclass{article}‎‎ ‎\usepackage{hyperref}‎‎ ‎‎‎ \usepackage{syntonly} ‎\usepackage{xepersian}‎‎ ...
7
votes
1answer
498 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| ...
1
vote
1answer
292 views

Is my \date broken?

When using \date{}, I get this weird result: (I've blurred out some parts, since they're, well, sensitive for me) Why is it doing this? I'm using isodate, but it's not the issue, I've commented it ...
1
vote
0answers
160 views

How to remove font information at the head of page 1? [closed]

I set TeXLive 2011 on my MacBookPro. In my preamble I have: \usepackage{fontspec} \setmainfont{Hoefler Text} \newfontfamily{\sbl}[Script=Hebrew]{SBL Hebrew} When I compile with xelatex I get at the ...
6
votes
2answers
765 views

Sample files of LTR text on left and RTL text on right

I am looking for sample files with mix LTR and RTL texts where each occupy their respective side of the page on each line. In addition I want the ability to indent odd/even lines by different ...
2
votes
1answer
274 views

How to make a line of text in a slightly different color (light gray in my case) in XeLaTeX

I Like to add an informal footnote to my document, containing web addresses. Some of the text is to be de-emphasized using gray text. How do I do that for a line or a word in XeLaTeX?
4
votes
2answers
408 views

How to disable oldstyle numerals in a boldface text in Linux Libertine?

This document compiles (in XeLaTeX), but the boldface numbers are set oldstyle. Why? How to use boldface lining digits with Linux Libertine? \documentclass{article} \RequirePackage{fontspec} ...
2
votes
2answers
3k views

Linux Libertine O and Linux Biolinum O not found

I have TeX Live 2011. I set \usepackage{fontspec} \setmainfont{Linux Libertine O} \setsansfont{Linux Biolinum O} but I get a warning that these fonts are not found! If I try ...
6
votes
2answers
380 views

How to add numerical (ala No Starch Press) listing notes without XeTeX?

I've been following the instructions and code available at: https://zuttobenkyou.wordpress.com/2010/12/05/latex-saner-source-code-listings-no-starch-press-style/ I would like to add notes (and style) ...
6
votes
2answers
5k views

Dimension too large on a PNG figure under xelatex and beamer

I have PNG image I want to introduce into my presentation. The figure is black and white and the edges are small. When I compile the file in pdflatex everything is fine but when I Compile it with ...
2
votes
2answers
275 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 ...
7
votes
0answers
648 views

No transparency in TikZ pictures including external PDF graphics in XeLaTeX [closed]

I was trying to create a tikzpicture environment which includes external graphics (as a PDF). The external graphics should be translucent, so I used the opacity parameter. Using pdfLaTeX it works as ...
2
votes
0answers
2k views

! Undefined control sequence. l.52 \char_make_active:n {"20}% [closed]

This is the XeTeX code I copied from Wikipedia, theoretically it must be working: \documentclass[11pt]{article} \usepackage{xltxtra} \setmainfont[Mapping=tex-text]{Linux Libertine O} \begin{document} ...
1
vote
1answer
223 views

How to set equation numbers in lining numerals?

I'm using XeLaTeX with Linux Libertine (using fontspec) and oldstyle numbers. I'd like, however, to set equation numbers (using amsmath's \eqref) in lining numbers. This does not work: ...
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 ...
5
votes
0answers
368 views

How to lower the superscripts (and raise the subscripts) [duplicate]

Possible Duplicate: tex4ht problems with footnotes I am preparing a document using XeLaTeX, unicode-math and Asana Math OTF (turned on by \setmathfont{Asana-Math.otf}). I've noticed that ...
4
votes
0answers
666 views

XeLaTeX and unicode-math problems [closed]

I am using XeLaTeX (TeXLive 2011) on OS X. It seems that unicode-math is not working as it should: \usepackage{unicode-math} \setmathfont{XITS Math} Produces: kpathsea: Invalid fontname `XITS ...
5
votes
1answer
859 views

XeLaTeX complaining about fonts

I have TeXLive 2011 installed. My document looks like this: \documentclass[11pt,a4paper]{moderncv} \moderncvstyle{classic} \moderncvcolor{orange} \usepackage{moderntimeline} ...