[XeTeX] \newfontface and small caps
Martijn Storck
martijn at lico.nl
Thu Jan 21 15:24:19 CET 2010
Hi,
I?m relatively new to XeTeX and I?m a bit puzzled by the usage of fontspec
and \newfontface. Take this example:
\documentclass[11pt,a4paper]{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\begin{document}
{\fontspec{Adobe Caslon Pro}\scshape Adobe Caslon Pro}
\newfontface\myfont{Adobe Caslon Pro}
{\myfont\scshape Adobe Caslon Pro}
\end{document}
The first line has nice text with small caps from the font. However, the second
line does not have small caps. I cannot find anything that would explain this
behavior. I also tried setting SmallCapsFeatures={Letters=SmallCaps} in the
newfontface options, but that didn?t help either.
Can anyone tell me how to make this work?
Kind regards,
Martijn Storck
More information about the XeTeX
mailing list