[texhax] question about \if

Vafa Khalighi vafakhlgh at gmail.com
Fri Nov 12 07:31:13 CET 2010


\newcommand{\test}[1]{\if#1t True\fi}
\test{t}

gives "True" as expected.

I want to change that so that \test{txys} gives "True" but I do not know
how?

-- 
I prefer the most bloodcurdling death to living with humility. The only
country I am faithful to, is IRAN. Do not denigrate my last moments...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101112/aea65ccd/attachment.html>


More information about the texhax mailing list