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.
153
votes
5answers
23k 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 ...
75
votes
3answers
9k 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 ...
65
votes
8answers
7k 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, ...
38
votes
1answer
1k 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, ...
12
votes
1answer
11k 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 ...
7
votes
1answer
986 views
Using XeLaTeX instead of pdfLaTeX
I would like to give XeLaTeX a try. I've been using pdflatex to process the following:
\listfiles
\documentclass{article}
\usepackage[backend=biber]{biblatex}
\usepackage{filecontents}
...
49
votes
3answers
7k 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 ...
13
votes
1answer
584 views
TeX accents do not seem to work with fontspec and xe/lua/latex
I am using Minion Pro as mainfont and it does not have in its glyph table the character U+1E47 Latin small letter with dot below which I need only once in my document. Rather than change to another ...
56
votes
6answers
4k 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 ...
18
votes
1answer
2k 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
...
13
votes
2answers
2k views
Getting Started to Xetex for Devangari?
I have learn LaTeX for a while. Now, I want to type Indic scripts using Tex and I found that XeTeX is the best because it supports unicode and opentype fonts. But the problem is there are not any ...
13
votes
1answer
2k views
Margin kerning in Xe(La)TeX for TeXlive 2010: how to enable?
I'm using the pre-release testing version of TeXlive 2010. From what I understand from the TeXlive Guide, a new feature is that support for magin kerning has been added to XeTeX.
From what I can ...
7
votes
1answer
670 views
Vertical Chinese text with XeTeX
How can I place vertical Chinese text for some of the text in a document?
I think the CJK package can do this, but with XeTeX one generally uses xeCJK.
I could not find these options in the ...
9
votes
4answers
2k views
Inkscape → PDF → includegraphics → XeLaTeX → changed colors
I have an SVG file, which I have made/edited with Inkscape. I want to include this image in my thesis. The svg file is here: http://brussense.be/temp/theSVG.svg
(because Inkscape uses a non-standard ...
2
votes
2answers
2k views
Use of \scshape or \textsc with fontspec/xelatex
I've already tried Use of \scshape or \textsc in beamer \institute fix with \rmfamily in the MWE below, but it doesn't work - I've seen A problem with \textsc as well, but I don't think I should load ...
45
votes
1answer
2k 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}
...
7
votes
1answer
247 views
“Interactive PDF, Latex and Article of the Future” with opentype/truetype fonts and unicode
I'm looking for a way to get popup references when hovering with the mouse cursor over the references in my papers. I looked around on this forum and found this question and hpesoj626's answer very ...
15
votes
3answers
2k 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 ...
10
votes
2answers
617 views
Using simple quotes “” instead of \text{}
Is there a way to use newcommand or some other nice technique to transform any occurence of
"bla"
in math mode into
\text{bla}
The reason I ask is because it is easy, and doesn't interrupt the ...
10
votes
1answer
402 views
Tabs in output file written by xelatex and pdflatex are different
I'm trying out pgfplots with gnuplot to generate the data. This works by having pgfplots write some stuff to an external file, run gnuplot on the file, and then use the generated data to plot the ...
6
votes
1answer
941 views
Latest MiKTeX-Update broke XeLaTeX with fontspec
I updated MiKTeX a few days ago and since then I cannot compile XeLaTeX with fontspec anymore.
\documentclass{article}
\usepackage{fontspec}
\begin{document}
Hello world!
\end{document}
When I try ...
18
votes
3answers
739 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?
8
votes
2answers
404 views
xeCJK messes with punctuation
Neither a question nor really a complain, but I find I cannot use xeCJK in multilingual documents (in the present case French + English + Chinese), simply because it messes with the punctuation in the ...
5
votes
2answers
211 views
Is it possible to change text color for all headings?
I want to change only the color (not font size, etc.) of all headings in my documents (\section, \subsection, \subsubsection, ...). I want to keep all other settings fixed.
Is there a way to do ...
8
votes
2answers
283 views
How to get devanagari numerals in latex or xetex
How to get devanagari numerals in xetex or latex - especially in enumerate environment?
I can use unicode to write devanagari text but I am unable to get devenagari numerals in section numbers, ...
7
votes
2answers
996 views
Transparency in tikz, preview package and xelatex
Is it possible to have transparency in a tikz picture while using the preview package and compiling with xelatex?
The following mwe compiles without warnings/errors under both xelatex and pdflatex ...
5
votes
1answer
349 views
superscripts with xelatex? (footnotes, natbib)
This example illustrates some conflict between xelatex and natbib- and footnote-generated superscripts. The semi-colon between distinct citations is not typeset as a superscript, nor is the dagger. ...
4
votes
1answer
607 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 ...
40
votes
9answers
7k 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 ...
6
votes
1answer
2k views
Getting Started with Minion Pro, XeLaTeX and mathspec
I have just started using Minion Pro and mathspec for my work and now I have the following in my preamble:
\usepackage[MnSymbol]{mathspec}
\usepackage{xltxtra}
...
33
votes
1answer
921 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 ...
11
votes
3answers
1k views
How to use xindy with XeTeX/LuaTeX?
According to Xindy revisited: Multi-lingual index creation for the UTF-8 age (TUGboat), “if one has a raw index file that was produced by [XeTeX], one can use xindy; it will ‘just work’.”
...
10
votes
2answers
594 views
Kerning issue with Adobe Garamond Pro: XeTeX or font file to blame ?
I have run into a strange kerning issue, limited to the German letter pair Wä, when using the Adobe Garamond Pro font with XeTeX. The document looks great except for that particular pair. But see for ...
6
votes
3answers
2k views
AUCTeX and Xetex
I use emacs+AUCTeX to write my *-tex. Using the PDF mode, I can run pdflatex automatically with the C-c C-c command. However, I don't see a way to run xelatex automatically, or even set up a command ...
17
votes
5answers
1k 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?
15
votes
1answer
717 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 ...
9
votes
2answers
1k views
Moving from pdfLaTeX to XeTeX - what do I need to know?
I've used pdfLaTeX for some time, but have encountered problems wanting to use other fonts than the defaults. I've been recommended to use XeTeX instead, as this supports usage of system fonts ...
8
votes
2answers
264 views
Syncing text on bilingual pages
This is quite a technically involved question. Of which the essence is how XeLaTeX handles page-breaking.
I need to produce a bilingual book. With one language on the left hand side page and another ...
7
votes
1answer
398 views
Use stylistic set variations only for certain glyphs
Some fonts include stylistic variations of certain glyphs. But it seems like there is only a global switch for these alternates, as in this example from the fontspec manual:
\fontspec{Linux ...
5
votes
2answers
736 views
Font selection in XeTeX for specific characters
I just ran into another issue, I like to use gill sans very much but the number 1, lower case L and upper case I are almost indistinguisable. On the other hand I like Helvetica numbers. Is there a way ...
5
votes
2answers
737 views
XeTeX, change font usage when meeting greek characters (Sabon Linotype / Sabon Greek)
I love Sabon, and want to keep using it. However I'm running into a few problems when trying to use it with XeTeX.
Problem is that Sabon LT does not contain the full greek alphabet, it is in a ...
16
votes
3answers
920 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 ...
12
votes
3answers
266 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 ...
7
votes
1answer
393 views
Punctuation marks in math mode in xetex/mathspec
I am using XeTeX and have the following short document:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amsthm}
\usepackage[MnSymbol]{mathspec}
\usepackage[no-sscript]{xltxtra}
...
6
votes
1answer
642 views
Font substitution with XeLaTeX
I have an automatically generated document (using Doxygen) that has
many different Unicode characters for many languages: Hebrew, Japanese, Greek, Arabic and more.
Some parts of text displayed using ...
4
votes
1answer
2k views
Make an invisible vbox
I'm placing a PDF meta information in a \vbox in a plain XeTeX document, and I would like it to behave as if there were no box at all (so any additional \vskip after the \vbox will appear). Right now, ...
4
votes
1answer
365 views
high and low CJK codepoints in a single XeLaTeX document
I often require a combination of CJK characters with both low and high codepoints in the same line of text. (Here "low" means "in the Basic Multilingual Plane" or BMP, with codepoint lower than hex ...
12
votes
1answer
435 views
Using TIPA with fontspec
I'm trying to write a document that will contain characters in many different scripts (for which I am using fontspec and rendering with xelatex) and IPA symbols (for which I am using TIPA). ...
11
votes
2answers
1k views
How to change the PDF producer metadata with XeLaTeX on MikTeX
I tried to change the PDF Producer of the generated PDF file with XeLaTeX, but it always be "MikTeX-xdvipdfmx (0.7.8)", if the PDF is generated with pdflatex, it will change as I wish, does anybody ...
8
votes
3answers
1k views
'Standalone' TikZ pictures
I want to create a TikZ picture in an external PDF file, which then can be included in my main document via \includegraphics.
However, compiling a document with a TikZ picture in it produces a whole ...