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)

25
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?
6
votes
1answer
28k views

PNG: importing it with latex | pdflatex | xelatex

I never understood how (pdf)latex determines the size of imported bitmaps, but many years ago I experimentally elaborated simple rule that allowed me to get same output by running either latex or ...
21
votes
1answer
7k 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 machine with MikTeX and XeTeX. %!TEX TS-program = xelatex %!TEX encoding = UTF-8 Unicode \documentclass[]{article} ...
9
votes
1answer
1k 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
2answers
2k views

Can XeLaTeX | LuaTeX import movies?

It seems that XeLaTeX cannot handle movies. I imported movies into PDF produced with pdflatex compiler using the multimedia package that comes with beamer. My search over various boards revealed that ...
3
votes
2answers
1k views

Space after closing double quotes in XeLaTeX

I'm writing some non-technical text that I'm trying to typeset using XeLaTeX. For simplicity, I'm keeping the actual text in plain text files which after certain modifications (e.g. escaping %, \ and ...
11
votes
2answers
1k views

Check for missing fonts/characters in XeLaTeX?

Because I began to use many Unicode characters (Japanese, some unusual diacritics, etc.) I switched from LaTeX to XeLaTeX to render my documents. Unfortunately, if a font is missing, the letters are ...
36
votes
1answer
9k 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 ...
7
votes
3answers
4k views

How do I include eps files using XeLaTeX?

According to everything I can find on Google, eps files in xelatex should work out-of-the-box. But that's not what I'm seeing (using TeX Live 2010 on Arch Linux). Consider the following simple input: ...
8
votes
1answer
870 views

Baseline shift with fontspec?

Is there a way to manually adjust the vertical position of a font using fontspec (in XeLaTeX)? Such a feature would be quite useful when typesetting Asian text, since different font vendors often ...
11
votes
2answers
4k views

Finding a font for XeTeX

I am trying to customize this document, it's a CV template for XeTeX. What I'd like to be able to do is change the main font. I belive the section of the code I need to change is this: %FONTS ...
3
votes
1answer
2k views

How do I get XeLaTeX to use the bold Minion Pro typeface for Greek characters?

I can't for the life of me get XeTeX to give me bold lowercase greek symbols, even though I have checked, e.g., in a word processor, that the font has a corresponding bold typeface with the greek ...
12
votes
3answers
3k views

Generating PDF without any intermediary files (stdin/stdout)

I am programmatically generating PDF's from a template and would like to avoid hitting the hard-drive all the time. Not so much for optimization but because I run parallell threads on all the cores ...
2
votes
1answer
439 views

Why is the % symbol not showing with XeTeX?

I'm using XeTeX and my % symbol is not showing when I compile to PDF! I've added my code below. I've gone through the XeTeX companion guide (maybe not very thoroughly) and Googled, but I can't find ...
16
votes
2answers
4k views

Does anyone know a good XeTeX tutorial?

I want to use XeTeX so that I can use a particular font, but I'm not quite sure about the documentation/commands in specifying this font in XeTeX. Can anyone point me to a good how-to tutorial on ...
6
votes
1answer
1k views

Use mathpazo for body and math but use a non-tex font (in this case Futura) for headings.

I have a document that so far has used mathpazo for everything. I love the texlive distributed Palatino for maths and body text. The small caps in particular are much better than the True Type ...
2
votes
1answer
493 views

RTL captions with newfloat?

Is it that the float package begins to show its age? I cannot get it to work right with XeLaTeX. Here is an example: \documentclass{article} % compile with xelatex \usepackage{float} ...
5
votes
2answers
513 views

Robust method to apply Hebrew numeral in an enumeration list?

The difficult bit is that the enumitem package has a closed list of numbering formats, and that \hebrewnumeral is not part of them. I have \renewcommand{\theenumi}{\hebrewnumeral{\value{enumi}}} ...
3
votes
1answer
614 views

The quickindex option is not working with xepersian package

I have installed TeXLive 2010 on Ubuntu 10.10, when I try to compile a LaTeX file such as: \documentclass{memoir} \usepackage{makeidx} \makeindex \usepackage[Kashida,quickindex]{xepersian} ...
2
votes
3answers
6k views

'fontspec' package problem with XeLaTeX in MiKTeX 2.9

Recently, I updated to MiKTeX 2.9, and after this the xelatex compiler fails when compiling documents with the fontspec package included. In other words, the following code won't compile: ...
4
votes
2answers
3k views

Hoefler Text Extended Ligatures and XeTeX

I'm using XeTeX (MacTex 2010, Mac OSX 10.6) to render a document in Apple Hoefler Text. However, although I can make it render common ligatures, such as fi and ffi, I can't seem to be able to force it ...
2
votes
3answers
3k views

Force Computer Modern in math mode

I am writing a presentation using the beamer class and XeTeX. I have changed the sans font using \setsansfont. Now some symbols in my equations are rendered using the mono font (like the lowercase ...
7
votes
2answers
1k 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 ...
6
votes
3answers
6k views

Last step in moving to XeTeX: Font shape problems

I am trying to move to the XeTeX distribution. My current problem is the following: If I leave these packages I have no problems with the Helvetica. \usepackage[portuges,english]{babel} ...
3
votes
1answer
964 views

XeTeX + hyperref + glossaries + glossary-superragged = Margin mess

I am using the glossaries package in my dissertation. I am trying to apply the superragged3col to my acronym list, which requires an extra package glossary-superragged. The thing is that while using ...
23
votes
1answer
30k 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 ...
6
votes
1answer
1k 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} ...
7
votes
5answers
3k views

On Ubuntu 10.10 with texlive-full installed, xelatex is rotating my figures 90 degrees counterclockwise

I am using the latest ubuntu with the texlive-full package. When I do a simple \includegraphics like this: \begin{figure}[h] \centering \rotatebox{-90}{\includegraphics[width=8cm]{problem1}} ...
1
vote
1answer
546 views

package arabxetex produces only blank pages

I've installed the arabxetex package, but whenever I run xelatex example.tex the resulting dvi is blank (i.e., xdvi example.dvi displays a blank page). The log file has lines: Package fontspec Info: ...
2
votes
3answers
2k views

Trouble with unicode-math/fontspec in XeTeX

The following MWE yields a wrong output: \documentclass{article} \RequirePackage{xltxtra} \RequirePackage{unicode-math} %\setmainfont{Linux Libertine} \setmathfont{Asana Math} \begin{document} ...
6
votes
3answers
3k views

Why can't I use some of the fonts which I have installed on my Windows system?

I have installed some fonts such as "HelveticaNeueLT Pro 53 Ex.otf" on my Windows, however my XeLaTeX cannot find the font. Here is my code: \font\headers="HelveticaNeueLT Pro 53 Ex:letterspace=5" at ...
10
votes
1answer
618 views

Polyglossia doesn't work with the ltxdoc document class

I have a package that uses the ltxdoc document class and the docstrip program for code and documentation generation. The package deals with some multilingual stuff and needs XeTeX (to be precise, ...
11
votes
2answers
696 views

Access specific characters in LuaTeX

Recently, I switched from XeTeX to LuaTex for a document of mine. However, there is a feature which I do not immediately see how to convert: Accessing specific characters. In particular, I need the ...
70
votes
11answers
18k 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 ...
3
votes
0answers
210 views

Font Appears different [closed]

Hi I am using Sanskrit2003 font and it appears with additional circle in TeXWorks, just to verify I copied it to MS Word & open office and it appeared fine in word. I am attaching an image to ...
7
votes
2answers
2k views

Using xetex, I'd like to set the monospace font size for my entire text

I set my monospace font using \setmonofont. I'd like to be able to change the size of this font for my entire document, rather than use \fontsize everywhere. How can I do that?
13
votes
1answer
2k views

Beamer XeTeX Right to Left

I am preparing Farsi slides in beamer which is a right to left language just like Hebrew. I have problems in the presentation which I briefly discuss: The TOC is left to right: The itemize can be ...
4
votes
1answer
2k views

XeLaTeX ttf font support

Watertank is some ttf font that I got from one of those cheap fonts CDs. I know it is installed in my system because I can use it in other programs; but when I use it in XeLaTeX (which works with ...
22
votes
3answers
4k 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 ...
5
votes
2answers
488 views

linebreaks for cjk languages?

What do I need to write documents in a CJK language? I'm getting no linebreaks at all on Japanese text. (overfull hboxes, text going off-page) Here is a (mostly) stripped-down test: ...
1
vote
1answer
1k views

xelatex+fontspec is slow (after a fast xelatex -no-pdf)

xelatex -no-pdf blazes through a single page diagram using pstricks+fontspec but xdvipdfmx on the .xdv output is VERY slow (about 20 seconds delay). Using xdvipdfmx -E -vv efa.xdv makes me think ...
9
votes
1answer
2k views

Add Metadata to XeTeX PDF's

Is it possible to specify the metadata in PDF's made with XeTeX? Here's an example of the type of metadata I'd like to set (and a speculative form for XeTeX): \pdfinfo { /Title (My Masterpiece) ...
2
votes
2answers
1k views

“pdf_open: Not a PDF 1.[1-5] file.” when typesetting TeX file in TextMate

I have a TeX file, which is typeset by XeLaTeX. The file has \includegraphics{coverimage.eps} on the first page, and coverimage.eps is located in the same directory as the TeX file. OS: MacOS ...
4
votes
2answers
744 views

How to get hanging hyphenation?

I am using XeTeX from TeXLive-2010-Basic in OSX with plain-format. My try was to follow the TeXbooks setup for commas et such (which I already have working nicely): \defaulthyphenchar=`‐% it is ...
2
votes
2answers
1k views

Stretch space characters horizontally

I'm using XeTeX to mimic another document, but I only have a similar font which I stretch using the extend and letterspace options. My main problem is though, that my font's spaces (U+0020) are only ...
0
votes
2answers
1k views

Why don't my images show up?

I am using LyX to create my documents. I then export them to plain LaTeX and use XeLaTeX to create a PDF output. My images show up in the LyX document but not in the PDF output. LyX generates this ...
36
votes
9answers
14k 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. ...
10
votes
3answers
1k views

Vertical alignment of fonts of different sizes on same line

In XeTeX, if I have a line with two font sizes, how can I arrange to have the smaller font aligned to either the center or top of the line? e.g. ...
1
vote
2answers
629 views

Getting vinculum in fractions with Asana Math and unicode-math

With this minimal example \documentclass[a4paper,12pt]{article} \usepackage{fontspec} \usepackage{unicode-math} \setmathfont{Asana Math} \begin{document} $\frac{2\pi r}{r} = 2\pi$ \end{document} I ...
12
votes
2answers
3k 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 ...