XeTeX
XeTeX
|
|
---|---|
Basic data
|
|
developer | Jonathan Kew |
Publishing year | April 2004 |
Current version | 0.999991 (January 2, 2019) |
operating system | Platform independent |
programming language | C ++ , C |
category | Pleading |
License | MIT license |
http://xetex.sourceforge.net/ |
XeTeX [ ziːtɛχ ] (in German-speaking countries also [ ziːt Sprachç ]), sometimes also written Χ Ǝ Τ Ε Χ , is an eTeX- based alternative to pdfTeX . The author is Jonathan Kew. XeTeX was originally written for Mac OS X and later ported to Linux and Windows , albeit with less functionality.
development
XeTeX is the successor to TeXGX, which was written for the QuickDraw GX technology, which Apple has since abandoned . In contrast to TeX , XeTeX offers native Unicode support and also extends it to include the typeface technologies of Mac OS X, Apple Advanced Typography (AAT) and OpenType . As a result, XeTeX offers sophisticated typographical subtleties such as automatic ligatures , long s , letter variations and decorative letters, as far as the font used allows. XeTeX can also handle multiple master fonts .
XeTeX is currently still in the development stage, but can already be used productively. Version 0.999991 is part of TeX Live 2019. Version 1.0 was originally 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 functionality on earlier Mac OS X versions has not been tested. In addition to TeX Live , XeTeX is also included in MiKTeX , a TeX distribution for Windows.
XeTeX is subject to the X11- MIT license . A port for Linux has existed since April 30, 2006 and a port for Windows since June 13, 2006.
particularities
XeTeX can in particular also handle Asian fonts and characters. For example, it can put CJK in columns lined up from right to left, vertically from top to bottom, and Mongolian in columns lined up from left to right, vertically from top to bottom.
Structure of a document
An example of a document written in Xe LaTeX and the corresponding output file. The font used is the Linux Libertine . The source text is xelatex
compiled with the command .
Source text of a XeLaTeX document | Output of the compiled document |
---|---|
%% Dieser Sourcecode ist in der Kodierung UTF-8 zu speichern
%% und mit XeLaTeX zu kompilieren.
\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 maður er borinn frjáls og jafn öðrum að virðingu og réttindum.
\subsection{Русский}
Все люди рождаются свободными и равными в своем достоинстве и
правах.
\subsection{Tiếng Việt}
Tất cả mọi người sinh ra đều được tự do và bình đẳng về nhân phẩm và
quyền lợi.
\subsection{Ελληνικά}
Ὅλοι οἱ ἄνθρωποι γεννιοῦνται ἐλεύθεροι καὶ ἴσοι στὴν ἀξιοπρέπεια
καὶ τὰ δικαιώματα.
\section{Legacy syntax}
When he goes---``Hello World!''\\
She replies—“Hello dear!”
\section{Ligatures}
\fontspec[Ligatures={Common, Historic}]{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 TeXShop editor for Mac OS X supports the pdfLatex alternative from version number 1.35; its use is documented in the TeXShop help function.
- TeXworks from the MiKTeX package also supports XeTeX and XeLaTeX.
- The Windows editor TeXnicCenter also supports XeLaTeX.
- Corresponding modes exist for Emacs across all platforms .
literature
- Ulrike Fischer: First steps with XeLaTeX. (PDF; 1.8 MB). In: Die TeXnische Komödie 20th year, 2008, issue 3, pp. 7–35.
- Michel Goossens: The XeTeX Companion. TeX meets OpenType and Unicode. (PDF; 3.1 MB) work in progress, version January 11, 2010 (English).
Web links
- XeTeX - Unicode-based TeX - project homepage
- XeTeX on the Web - Overview of XeTeX resources
Individual evidence
- ^ SourceForge: Unicode-based TeX. Retrieved September 24, 2019.
- ↑ See the executable XeTeX file in TeX Live; Download from the TUG server.