LaTeX Engine

 

pdf$\LaTeX$

%!TEX pdfLaTeX
  \documentclass{article}
  \usepackage{iftex}
  \newcommand\test[1]{\par\expandafter#1\string#1: true\fi}
  \begin{document}
  \ttfamily
  \test\ifpdftex
  \test\ifluatex
  \test\ifxetex
  \test\ifptex
  \test\ifuptex
  \end{document}

Lua$\LaTeX$

%!TEX LuaLaTeX
  \documentclass{article}
  \usepackage{iftex}
  \newcommand\test[1]{\par\expandafter#1\string#1: true\fi}
  \begin{document}
  \ttfamily
  \test\ifpdftex
  \test\ifluatex
  \test\ifxetex
  \test\ifptex
  \test\ifuptex
  \end{document}

Xe$\LaTeX$

%!TEX XeLateX
  \documentclass{article}
  \usepackage{iftex}
  \newcommand\test[1]{\par\expandafter#1\string#1: true\fi}
  \begin{document}
  \ttfamily
  \test\ifpdftex
  \test\ifluatex
  \test\ifxetex
  \test\ifptex
  \test\ifuptex
  \end{document}

Mau donasi lewat mana?

Paypal
Bank Rakyat Indonesia - An. Aan Triono / Rek : 0357-01-132169-50-3
Traktir saya minum kopi dengan cara memberi sedikit donasi. klik icon panah di atas. Terima kasih.
https://blog.choipanwendy.com