TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

LuaTeX has limited support for microtypograhpy now, and it can be invoked if only type1 fonts are used. But is it possible for microtype to work with opentype fonts loaded with fontspec now? I have searched the Internet for this, but most of the relevant information is outdated.

share|improve this question
@Mico: OK, it works. I thought that microtype 2.5 was included in TeXLive 2012, since it had been out before 2011. – Siyuan Ren Sep 27 '12 at 15:10
@Mico: Do you know how to install microtype 2.5 beta in miktex? – Siyuan Ren Nov 21 '12 at 12:11
@Mico: You should turn your comments into answers so that I may accept them. – Siyuan Ren Nov 23 '12 at 0:50
Thanks for this suggestion -- I'm glad to oblige. :-) – Mico Nov 23 '12 at 1:47
up vote 10 down vote accepted

You ask whether

it [is] possible for microtype to work with OpenType fonts loaded with fontspec.

The short answer is yes. A longer answer would add that microtype's functionality under LuaLaTeX isn't as complete as it is under pdfLaTeX. However, the limitations are not caused by the use of OpenType fonts.

The version of microtype that's currently distributed with TeXLive 2012 and MikTeX 2.9 is still version 2.4. However, a late-beta edition of version 2.5 of the microtype package, dated 2012-05-23, may be downloaded from http://tlcontrib.metatex.org/cgi-bin/package.cgi/action=view/id=608. This version, when run under LuaLaTeX, still isn't as capable as when it's run under pdfLaTeX, but it comes a lot closer than if you stick with version 2.4.

You ask in a follow-up comment how version 2.5 of microtype might be installed manually under MikTeX. Do you have a "local" directory set up among the directories that are searched by MikTeX? (Bring up the "Settings" app of MikTeX to find out.) If not, do set up such a directory. Then, you could

  • make sure that this local directory is topmost in the search order (so that the version of microtype to be installed by you in the local directory are seen before the "official" but now somewhat obsolete version that's still distributed with MikTeX 2.9);

  • copy the files of microtype 2.5 beta to subdirectories of the local directory (such as ..\tex\latex\microtype and ..\doc\microtype); and

  • update MikTeX's filename database; the particulars of this update process will depend on whether or not you installed MikTeX in ordinary mode or admin mode.

Update: Version 2.5a of the microtype package was released in May 2013.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.