I'm switching a code to LuaTex from XeTeX. In XeTeX, I had a combination of tracking and small caps using LetterSpace
and WordSpace
parameters in fontspec
calls, but these are not supported in with LuaTeX.
When using textls
with lualatex
from TL2011 and microtype v2.5 <beta-06>
, small caps are broken. Here is a MWE:
\documentclass{scrbook}
\usepackage{fontspec}
\usepackage{xunicode}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Linux Libertine O}
\newfontfamily\scfont[Letters=SmallCaps]{Linux Libertine O}
\usepackage{microtype}
\begin{document}
\scshape{Example of small caps}
\textls{\scshape{Example of small caps with textls}}
\scshape{\textls{Example of small caps with textls inside}}
{\lsstyle\scshape{Example of small caps with lsstyle}}
{\scfont Example of Letters=SmallCaps}
{\scfont\textls{Example of textls with Letters=SmallCaps}}
\end{document}
and the result I get:
Is there a way to get small caps with tracking in LuaTeX?