Hello and help!

I am trying to setup a custom negative kerning setting for the following
letter pairs: ™. and ™, so that the . and the , are under the ™.

Here is my code fragment, but I can't figure how to tell it to also consider
'\texttrademark' as part of the charclass.

\XeTeXinterchartokenstate=1
\newXeTeXintercharclass \pAfterTM
\XeTeXcharclass `. \pAfterTM
\XeTeXcharclass `, \pAfterTM
\newXeTeXintercharclass \ptrademark
\XeTeXcharclass `™ \ptrademark
\XeTeXcharclass `\texttrademark \ptrademark
\XeTeXinterchartoks \ptrademark \pAfterTM = {\kern-0.75em}

Thanks for any suggestions!

-Mike

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to