[OS X TeX] microtype and tracking smallcaps don't work as desired

Morten Høgholm morten.hoegholm at gmail.com
Wed Oct 6 07:10:10 EDT 2010


On Wed, Oct 6, 2010 at 1:00 PM, Michael Hoppe <mh at michael-hoppe.de> wrote:
> \documentclass{article}
> \usepackage[tracking=smallcaps,letterspace=300]{microtype}
> \input{ddt}
> \begin{document}
>
> \textsc{AAAAAAAAAAAAAAA}
>
> \copy\scbox
>
> \end{document}
> %%%%%%%%%%%%%  ddt.tex  %%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \newbox\scbox \setbox\scbox=\hbox{{\textsc{AAAAAAAAAAAAAAA}}}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

> Putting \input{ddt} after
> \begin{document} works as desired.

\begin{document} implicitly means begin typesetting. However, by doing
your \input in the preamble some things may not have been set up yet
for typesetting (as you intend it) to happen. The microtype package
does many, many things behind the scenes so I'd wait with all such
things to _after_ \begin{document}.
-- 
Morten



More information about the MacOSX-TeX mailing list