Just make sure that \texttrademark is defined as ™ like this:
\renewcommand\texttrademark{™}.On 10 May 2011 04:23, Michael Joyner <[email protected]> wrote: > 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
-------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
