[XeTeX] How to write a header for XeTeX, pdfTeX, and dvips/dvipdfm

Andreas Matthias amat at kabsi.at
Sun Nov 25 17:19:21 CET 2007

Peter Dyballa wrote:

> Anything better?

* Put hyperref outside the conditional statement. It can handle
  most cases without your help.

* Do not specify protrusion and expansion options with microtype.
  A simple \usepackage{microtype} will enable all micro-typographic
  features that are available with a specific TeX-engine. Hence
  you don't need any conditional.
  But if you specify these options explicitly you force microtype
  to enable or disable these option regardless of the TeX-engine
  you are using. IMHO not a very useful feature.

Now your Non-XeTeX case shrinks to:



More information about the XeTeX mailing list