![Forrest logo](/images/logo.png)
xetex
XeTeX is a powerful open-source typesetting system based on a version of the TeX typesetting language. It is widely used for producing high-quality documents and is particularly popular for typesetting non-Latin scripts and languages.
One of the main advantages of XeTeX is its ability to handle Unicode input directly. This allows users to work with a wide range of characters from different scripts without needing complex workarounds.
XeTeX provides extensive support for various font formats such as TrueType, OpenType, and PostScript. This flexibility allows users to utilize a vast collection of fonts for their documents, including system fonts and commercial fonts.
In addition to standard typesetting features, XeTeX supports powerful typographic features like advanced line and paragraph breaking, kerning, ligatures, and optical margin alignment.
It also provides support for microtypography, a technique that improves the appearance of characters by adjusting their spacing subtly.
XeTeX integrates well with other tools in the TeX ecosystem, including packages and macros. This allows users to take advantage of the vast library of existing resources available for TeX.
With its support for multiple languages, XeTeX offers bidirectional typesetting, meaning it can handle scripts that are written from right to left, such as Arabic, Hebrew, and Persian.
XeTeX can output documents in various formats, including PDF, DVI (Device Independent File), and PostScript, making it suitable for different publishing needs.
As an open-source tool, XeTeX benefits from a thriving community of developers and users who contribute to its development, provide support, and share knowledge.
Overall, XeTeX is a versatile command-line tool that empowers users to produce professional-quality documents with extensive typographic capabilities, multi-language support, and compatibility with a wide range of fonts and formats.
List of commands for xetex:
-
xetex:tldr:49a3e xetex: Compile a PDF document, specifying an output directory.$ xetex -output-directory=${path-to-directory} ${source-tex}try on your machineexplain this command
-
xetex:tldr:67997 xetex: Compile a PDF document.$ xetex ${source-tex}try on your machineexplain this command
-
xetex:tldr:8232e xetex: Compile a PDF document, exiting if errors occur.$ xetex -halt-on-error ${source-tex}try on your machineexplain this command