XeTeX [ zi ː tɛχ ] ( in German language area [ zi ː tɛç ] also ), also sometimes spelled ΧƎΤΕΧ, is based on eTeX alternative to pdfTeX. Author Jonathan Kew. XeTeX was originally written for Mac OS X and later ported to Linux and Windows, albeit with less functionality.


XeTeX is the successor of TeXGX, which was written for the now discontinued by Apple QuickDraw GX technology. Unlike TeX XeTeX provides native Unicode support and it also extends to the writing techniques of Mac OS X, Apple Advanced Typography (AAT) and OpenType. This XeTeX offers sophisticated typographic niceties like automatic ligatures, long s, letters of variation and jewelry letters, if so authorized by the font used. In addition XeTeX can deal with multiple master fonts.

Currently, XeTeX is still under development, but is already used productively. The version 0.9999.3 is part of TeX Live 2013. Originally, the 1.0 version was planned for 2007, but has not yet been released. It was originally designed for Mac OS X 10.3 (Panther ) and its successor, Mac OS X 10.4 (Tiger), so the ability to run on previous Mac OS X versions has not been tested. In addition to TeX Live XeTeX is also in MiKTeX, a TeX distribution for Windows, included.

XeTeX is subject to the MIT X11 license. Since 30 April 2006 a port for Linux and since June 13, 2006 there is a port for Windows.


XeTeX can in particular also handle Asian fonts and characters. For example, it can CJK font in right- concatenated to the left, vertically from top to bottom running column set, and Mongolian in from left to right strung together vertically from top to bottom extending columns.

Structure of a document

An example of a program written in XeLaTeX document and the corresponding output file. The font used is the Linux Libertine. The source code is compiled with the command xelatex.

% % This source code is stored in UTF -8 % % And to compile with XeLaTeX.   \ documentclass [ 11pt ] { article} \ usepackage { xltxtra } \ setmainfont [ Mapping = tex - text] { Linux Libertine O}   \ begin { document}   \ section { Unicode support }   \ subsection { English } All human beings are born free and equal in dignity and rights.   \ subsection { Íslenska } Hver he Madur borinn frjáls above jafn öðrum að virðingu above réttindum.   \ subsection { Русский } Все люди рождаются свободными и равными в своем достоинстве и правах.   \ subsection { Tiếng Việt } TAT ça moi nguoi sinh ra Djeu được tự do và Bình Đằng VE Nhân Pham và Quyen LOI.   \ subsection { Ελληνικά } Ὅλοι οἱ ἄνθρωποι γεννιοῦνται ἐλεύθεροι καὶ ἴσοι στὴν ἀξιοπρέπεια καὶ τὰ δικαιώματα.   \ section { Legacy syntax } When he goes --- `` Hello World! '' \ \ She replies, "Hello dear! "   \ section { Ligatures } \ fontspec [ Ligatures = { Common, Historical }] { Linux Libertine O Italic } \ fontsize { 12pt } { 18pt } \ selectfont Questo è strano assai!   \ section { } Numerals \ fontspec [ Numbers = { OldStyle }] { Linux Libertine O} Old style: 1234567 \ \ \ fontspec [ Numbers = { Lining }] { Linux Libertine O} Lining: 1234567   \ end {document } support

  • The editor TeXShop for Mac OS X supports the pdflatex Alternative Version number 1:35, its use is documented in the help function of TeXShop.
  • TeXworks from the MiKTeX package also supports XeTeX and XeLaTeX.
  • Also, the Windows editor TeXnicCenter support XeLaTeX.
  • Across platforms for Emacs exist corresponding modes.