Skip to main content
Some packages and fonts require a specific engine.

Common Symptoms

  • Unicode glyph failures under pdfLaTeX.
  • fontspec errors with pdfLaTeX.
  • CJK or RTL rendering issues.

Rule of Thumb

  • pdfLaTeX: classic latin workflows.
  • XeLaTeX/LuaLaTeX: modern Unicode, system fonts, CJK, RTL.

Example

engine-choice.tex
% Requires XeLaTeX or LuaLaTeX
\usepackage{fontspec}
\setmainfont{TeX Gyre Termes}