[Tex/LaTex] Using microtype letterspacing with LuaTeX, Version beta-0.70.2-2012062812

letterspacingluatexmicrotype

Does the letterspacing (and tracking) options of microtype not work with the latest version of LuaTeX?

When I try:

\documentclass{article}
\usepackage[no-math]{fontspec}
\fontspec[SmallCapsFont={LinLibertineCapitalsO},
          SmallCapsFeatures={Letters=SmallCaps}]{Linux Libertine O}
\usepackage[tracking,letterspace=500]{microtype}
\begin{document}\parindent0em

stealing sheap

\textsc{Stealing Sheep}

\textls[800]{\scshape Stealing Sheep}

\end{document}

I get error messages in my .log:

This is LuaTeX, Version beta-0.70.2-2012062812 (TeX Live 2012) (format=lualatex 2012.7.13)  10 AUG 2012 09:14
.....
! Package microtype Error: The `tracking' feature doesn't currently work
(microtype)                with luatex.
......
! Package microtype Error: Letterspacing currently doesn't work with luatex.

See the microtype package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.18 \textls[800]{\scshape Stealing Sheep}

Run pdftex, or use the `soul' package instead.

Best Answer

If you use version 2.5 of the microtype package -- still in "late beta", but available online at http://tlcontrib.metatex.org/cgi-bin/package.cgi/action=view/id=608 -- you can use the letterspacing and tracking features of the package -- but not (yet) the kerning features; the latter are available only if the package is used with pdflatex.

% !TEX TS-program = lualatex
\documentclass{article}
\usepackage[no-math]{fontspec}
\fontspec[SmallCapsFont={LinLibertineCapitalsO},
          SmallCapsFeatures={Letters=SmallCaps}]{Linux Libertine O}
\usepackage[tracking,letterspace=500]{microtype}
\begin{document}    
stealing sheap

\textsc{Stealing Sheep}

\textls[800]{\scshape Stealing Sheep}
\end{document}

enter image description here

Related Question