No items found.
By
Clemens Lode
,
August 30, 2025
Pen on a keyboard

Comparison of pdfTeX vs XeTeX vs LuaTeX

TeX Engine Comparison

Comprehensive comparison of pdfTeX, XeLaTeX, and LuaTeX

Feature/Aspect pdfTeX XeLaTeX LuaTeX
Core Characteristics
Base Engine Extended TeX with PDF output Extended e-TeX with Unicode Extended pdfTeX with Lua scripting
Initial Release 1996 2004 2007
Primary Purpose Direct PDF generation from TeX Unicode and modern font support Extensible TeX with scripting
Font Support
Traditional TeX Fonts Excellent Good Excellent
OpenType Fonts None Excellent Excellent
TrueType Fonts Limited Excellent Excellent
System Font Access None Full Access Full Access
Unicode and Encoding
Native Unicode No (8-bit encoding) Yes (UTF-8) Yes (UTF-8)
Input Encoding Requires inputenc package UTF-8 by default UTF-8 by default
Font Encoding Requires fontenc package Direct Unicode support Direct Unicode support
Programming and Extensibility
Scripting Language TeX macros only TeX macros only Lua 5.3+ embedded
Direct Node Access No No Yes (via Lua)
Callback System No No Extensive callbacks
Performance
Compilation Speed Fastest Moderate Slowest
Memory Usage Lowest Moderate Highest
Startup Time ~50ms ~100-150ms ~200-300ms
Advanced Features
Microtypography Full support Limited support Full support
Character Protrusion Yes Via microtype (limited) Yes
Font Expansion Yes No Yes
OpenType Features No Full control via fontspec Full control via fontspec
Graphics and Color
PDF Features Native support Via xdvipdfmx driver Extended native support
Color Models RGB, CMYK, Gray, Spot RGB, CMYK, Gray, Spot RGB, CMYK, Gray, Spot
Transparency Yes Yes Yes
Package Compatibility
Legacy Packages 100% ~90% ~95%
babel Support Full Full (polyglossia preferred) Full
Bibliography BibTeX, Biber BibTeX, Biber BibTeX, Biber
Use Cases
Best For Standard documents, maximum compatibility, fastest compilation Multilingual documents, modern fonts, Unicode-heavy content Complex programming, custom solutions, advanced typography
Limitations No Unicode, no system fonts, limited to TeX fonts No font expansion, slower than pdfTeX, some microtype limitations Slower compilation, higher memory usage, occasional compatibility issues

Related Books and Services

No items found.
No items found.

Recommended Further Reading

August 30, 2025

About the Author

Clemens Lode

Clemens Lode developed his passion for writing "choose your own adventure" books at age five. Soon, he turned to mechanical typewriters and, later, computers. He discovered LaTeX typesetting many years later during his computer studies, ultimately leading him to write more complex works on philosophy, science, and project management.

Read more...
Clemens Lode

Related Blog Posts

No items found.

Related Topics

No items found.

Do you have a question about our services?

Reach out, we'd love to hear from you! Schedule a video chat or message us by e-mail or WhatsApp!
We speak English (native), German (native), and French, but our template supports all languages!

Send us an e-mail (mail@lode.de), we will reply as soon as possible.

Reach out to us via a chat on Signal or WhatsApp.

Let's talk! Set up a free call with Clemens to discuss our services. Use Calendly to schedule the call.

Or send us your question or comment here and we'll get back to you ASAP:

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.