[texhax] Conditional statement

Andreas Ess aess at vision.ee.ethz.ch
Mon Oct 23 17:19:08 CEST 2006

I'm trying to do some conditional statements with TeX...

Given the following statement

   \author #2// & \title #1//\\ \hline

, which takes arbeitE, of the following form

and then passes the two arguments on to the \author and \title commands, 
I want to execute the entire statement (\author ... \hline) only if the 
value of E equals a certain character sequence, and otherwise, do 
nothing... The things I don't see:

- How can I extract E from argument #2
- How can I do the actual comparison?


More information about the texhax mailing list