To save space in tables, I want to reduce the tracking in the words. To do this I am using code from here.
The code below works correctly and is displayed as expected, but for every occurence of \test I am getting a warning like this:
Package microtype Warning: tracking amount list `output.tex/8' will override list `default' for font `OT1////' on input line 8.
I wasn't able to figure out why this happens, maybe someone with deeper insight could help me out here.
\documentclass{article}
\usepackage{microtype}
\newcommand\narrowstyle{\SetTracking{encoding=*}{-50}\lsstyle}
\newcommand{\test}{\narrowstyle Test}
\begin{document}
\test\test\test
\end{document}
silence
package, then, It's very versatile.\SetTracking
is meant to be used in the preamble only. You could set up acontext
for the narrow parts:\SetTracking[context=narrow]{encoding=*}{-50}
, and then in your\narrowstyle
command:\microtypecontext{tracking=narrow}