[texhax] ifthen package

Eduardo M KALINOWSKI eduardo at kalinowski.com.br
Tue Feb 10 11:53:38 CET 2009


wawan wrote:
> Hi all
> How I can write latex with ifthen package,
> so if there  XU will be atomagic converted while "compiling" latex.
> The pseudocode is like this :
>  If X followed by U then replace it with my symbosls

Would typing \XU be good for you? In this case, you can just use

\usepackage{xspace}
\newcommand{\XU}{replacement string\xspace}

-- 
"Most of us, when all is said and done, like what we like and make up reasons
for it afterwards."
		-- Soren F. Petersen

Eduardo M KALINOWSKI
eduardo at kalinowski.com.br
http://move.to/hpkb



More information about the texhax mailing list