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)

252
votes
5answers
40k views

Differences between LuaTeX, ConTeXt and XeTeX

I’m interested in the differences and commonalities between the “new” (La)TeX processors: LuaTeX, XeTeX, and ConTeXt. Personally, I’ve only used XeTeX so far and without having the time to try out ...
105
votes
3answers
20k views

Frequently loaded packages: Differences between pdfLaTeX and XeLaTeX

Until now, I have been compiling my LaTeX documents with pdfLaTeX. My standard document preamble includes the "usual suspects" for non-English speakers (inputenc, fontenc, babel) and a bunch of other ...
87
votes
3answers
17k views

What is XeTeX exactly and why should I use it?

I have been using LaTeX for five years now and have been using PDFLaTeX ever since. I find it hard to monitor the progress of LaTeX development. Recently there is a lot of talk about XeTeX. What is ...
86
votes
8answers
9k views

Drawbacks of XeTeX/LuaTeX

Currently I use pdflatex to process my documents, but I want to be with the cool kids and switch to XeTeX or LuaTeX. My documents are moderately multilingual (main text in portuguese or english, ...
78
votes
7answers
7k views

I am new to TeX. Should I use LaTeX, XeLaTeX, …?

I am starting to learn LaTeX and I really like what I am seeing. However, I get the feeling I should actually start with another 'TeX' version. I've been reading about different options. Some ...
58
votes
9answers
14k views

What best combination of fonts for Serif, Sans, and Mono do you recommend?

Now that Xe(La)TeX is being increasingly used to deliver nifty documents, I am wondering if any recommendations have been published or discussed about the best combination of font families for mixing ...
51
votes
1answer
3k views

Small-caps, old-style numbers, and some ligatures produce odd symbols in PDF copy text?

This is a problem I've had consistently with XeLaTeX. Here's a small example: \documentclass{article} \usepackage{fontspec} \setmainfont[Ligatures=TeX,Numbers={OldStyle,Proportional}]{Minion Pro} ...
49
votes
1answer
663 views

The ^^ notation in various engines

Basically, how does the ^^^... notation work in LuaTeX and XeTeX, exactly? In 8-bit TeX engines (recent TeX, eTeX, pdfTeX, at least), two consecutive identical catcode 7 characters (typically ^), ...
46
votes
1answer
2k views

Is it possible to provide alternative text to use when copying text from the PDF?

I’m using XeLaTeX within MiKTeX and have the following problem. Let there be some acronym, e.g. USA. I would like to write it in real small caps using \textsc{usa} but these are, of course, ...
44
votes
1answer
3k views

Frequently loaded packages: Differences between XeLaTeX and LuaLaTeX

Adding the missing member to pdfLaTeX vs. XeLaTeX and pdfLaTeX vs. LuaLaTeX, here's the last of the big three: XeLaTeX vs. LuaLaTeX. Where would a typical template for XeLaTeX differ from one for ...
43
votes
5answers
9k views

How to install TeX on android phones?

I used VerbTeX app in my android phone. But this app do not support XeLaTeX. Also I need internet connection for using of that. Is there any distribution of TeX for android? How I can install TeX on ...
40
votes
4answers
940 views

Are XeTeX and LuaTeX platform dependent?

One of the main goals that Don Knuth had when developing TeX (other than the obvious one of creating high-quality documents) was a 100% platform independence. A document produced on one system should ...
32
votes
1answer
5k views

Load fonts that are in a ./fonts directory

I'm new to TeX. I have the following problem: How can I load a font from a file in a directory, which is located in the root of the project? Say I have something like: /project /fonts ...
28
votes
8answers
10k views

How to get straight quotation marks?

How do I get straight quotation marks, i.e., " and ' in TeX? (No, \verb changes the font and this is unacceptable.) [Edit] I forgot to mention that I’m using XeLaTeX, and fontspec is a necessity. ...
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} ...
27
votes
3answers
1k views

Is XeTeX a complete rewrite of LaTeX/TeX?

I have been looking into XeTeX for type-setting Unicode Text. I looked into the source code of it. XeTeX source distribution comes with Web2C. Is XeTeX a complete rewrite of TeX? If not, how did it ...
25
votes
2answers
12k views

Is there any way to include an animated GIF directly?

Is there any way to include an animated GIF directly in either PDFLaTeX or XeLaTeX? I realize the animate package can include animations in a PDF, but it doesn't support animated GIFs and you have to ...
25
votes
2answers
582 views

What are lccode and uccode used for?

In TeX, each of the 256 bytes has an associated \lccode and an \uccode, integers in the range [0,255] which indicate among other things how \lowercase and \uppercase act. There are of course a bunch ...
24
votes
3answers
2k 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 ...
24
votes
4answers
4k views

Why choose LuaLaTeX over XeLaTeX?

There are questions on TeX.sX already about what the differences between LuaLaTeX and XeLaTeX are (Differences between LuaTeX, ConTeXt and XeTeX), what one should be keep in mind when going from ...
23
votes
3answers
1k views

Detect which TeX engine is used

How can I detect inside a TeX file which engine (pdftex/xetex/luatex) is used to compile the file? Is there a LaTeX package that provides this functionality?
22
votes
2answers
427 views

Will LaTeX work on any TeX?

As I understand it, latex is simply a macro package for tex, as in tex the program, not the format. (Again, weird, but I understand LaTeX to be a format of TeX.) Does this imply that LaTeX the ...
22
votes
1answer
651 views

Can I write a document that is compilable with both latex and xetex?

I have just started to have a look at XeTeX and I am wondering whether to make the switch, however I am a bit scared... ...and I am basically wondering if I have to take the step fully or if I can ...
21
votes
4answers
1k views

Which Unicode fonts are available with grades/optical sizes comparable to Donald Knuth's awesome eight grades in Computer Modern Roman?

Which Unicode fonts are available with grades/optical sizes comparable to Donald Knuth's awesome eight grades in Computer Modern Roman? It would be great to get at least 3 options! This question is ...
21
votes
3answers
3k views

PDF version issue when including PDF figures

I keep getting the following line in my log file ** WARNING ** Version of PDF file (1.5) is newer than version limit specification. with reference to each image I'm trying to include in my ...
21
votes
5answers
2k views

Considerations when migrating from XeTeX to LuaTeX?

What are the things to know when moving from XeTeX to LuaTeX, particularly when it comes to TTF/OTF support and OpenType features?
21
votes
1answer
1k views

Clipping support in XeTeX

In pdflatex I'm used to clip graphics using something like this: \includegraphics[trim=14mm 0mm 14mm 0mm,clip,width=1.2cm]{image.jpg} When I attempt this in XeLaTeX, no clipping occurs and I get a ...
21
votes
1answer
27k views

Use XeLaTeX in Texmaker instead of pdfLaTeX

I use TeX Live 2010 and my editor is Texmaker Bidi. It was working probably good but from 2 months ago I've encountered with the error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! Fatal ...
20
votes
4answers
581 views

It doesn't hyphenate words ending with “—”

UPDATE Well. After a while, I decided to see again about this “problem”, and just discovered that in pdfLaTeX, using \usepackage[utf8]{inputenc} and the — (the unicode —, not the ligature ---) it ...
20
votes
1answer
1k views

Putting quotation marks in TeX document

Have to put double quotes mark for a sentence. I am using Xetex. For the input string ``The work'', the output is also ``The work'' whereas it should be “The work”. Below is the list of packages and ...
20
votes
2answers
478 views

Automatically getting “V” as the capital letter for “u” when typesetting latin

I'm typesetting a large amount of Latin texts using XeLaTeX and the package polyglossia. I'd like to get the small letter "u" automatically printed as "V" when turned into a capital letter (including ...
19
votes
4answers
4k 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 ...
19
votes
1answer
3k views

XeLaTeX warning: Redefining document command \oldstylenums with arg. spec. 'm'

I updated my MiKTeX to the newest version a few days ago, and after this when I compile documents with the fontspec package included, there's a warning. For example: \documentclass{article} ...
19
votes
2answers
1k 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
4answers
884 views

How to typeset an i with asterisk above?

I tried it with a modification of \overset as suggested by Werner in this question: Creating non-math mode substitutes for \overset and \underset not dependent on the amsmath package With the new ...
18
votes
5answers
1k views

How can I access a specific glyph in LuaLaTeX/Fontspec?

The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
18
votes
1answer
22k views

Change section fonts

I am trying to emulate MS Word 2010 functionality with LaTeX since I am fed up with word. I am using TexShop, and I have been able to set the main font to Calibri through the use of XeTeX. How do I ...
18
votes
3answers
2k views

Using unicode Roman numerals in XeTeX

As mentioned in How can I get Roman numerals in text?, there are several ways in which one can add Roman numerals to text in TeX. However, these solutions all seem to use three I's to make a roman ...
18
votes
1answer
1k 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 ...
18
votes
1answer
11k views

xelatex: I can't write on file `test.pdf'.

Every so often I'll be working and all of a sudden xelatex won't work, saying "I can't write on file `test.pdf'". But why not? Is it something I did? Did I insult xelatex? Now it won't even compile my ...
18
votes
2answers
450 views

How can I improve my Turkish Small Capitals (XeTeX)

Status update In a private email, Bogusław Jackowski (to whom my sincere thanks) has recognised this as a bug in the TeX Gyre fonts. As the TeX Gyre team are all working hard on another piece of the ...
17
votes
5answers
917 views

Combining \ifxetex and \ifluatex with the logical OR operation

I want to write in the preamble of a LaTeX document code that should be take into account by different compilers when the document is typeset. There are fragments that should be used: only by ...
17
votes
3answers
1k views

Starting with TeX (not LaTeX)

I've been using LaTeX for 3 years and I'm decided to switch to (plain) TeX. For the moment I'm reading The TeXbook for the third time (I quietly start to read the double-danger signed paragraphs) and ...
17
votes
3answers
9k views

Can \includegraphics be used to change an image color?

I'm including a number of PDF images in my document using \includegraphics. I'm wondering if there's a way for LaTeX to adjust their color profile, hopefully the same way it can flip images upside ...
17
votes
1answer
2k views

Is microtype fully supported now by XeLaTeX? If not, how can I keep myself up-to-date?

Is microtype fully supported now by XeLaTeX? If not, how can I keep myself up-to-date on this argument?
17
votes
1answer
5k views

How to get a list of all available (TTF-) Fonts with XeTeX?

Very neat that I can use any available Truetype font on my Windows machien with MikTex and XeTeX. %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[]{article} ...
17
votes
1answer
2k views

fontspec with Helvetica breaks quotes

The usual quoting with `` and '' doesn't work anymore after including this (which also changes the engine to XeTeX): \usepackage{fontspec} \setmainfont{Helvetica} They are just printed verbatim in ...
17
votes
2answers
850 views

PDF Layers (OCG) using xelatex

I am switching from pdflatex to xelatex and have trouble finding an alternative on how to do layers in the pdf. So far I have been using ocg.sty to separate relevant content from eye-candy content ...
17
votes
1answer
137 views

What primitives can expandably tell us about the current horizontal list?

I've been writing some code that expands macros and catches characters and non-expandable primitives as they reach TeX's stomach, and I encountered an issue: since I gather letters one by one, with ...
16
votes
3answers
3k views

XeTeX: What happened to \mathcal and \mathscr?

Recently I switched from pdflatex to xelatex to be able to use OpenType fonts. I like to use variables highlighted using \mathcal for specific variables, while I used to use \mathscr-typeset variables ...