[texhax] class options with spaces

Arno Trautmann Arno.Trautmann at gmx.de
Wed Aug 5 22:27:40 CEST 2009


Arno Trautmann wrote:
> So I might try it the other way round: As I want to compare the argument
> of the class option to the argument of a user level macro, it should
> work if I remove the spaces from the latter one. Maybe the better
> question is:
> 
> given:
> \documentclass[use=section one]{}
> \usermacro{section one}
> 
> how can I compare the two using e.g. \ifthenelse{\equal{}{}} ?

Ok, I managed that using \zap at space #1 \@empty.
Is this a good solution or can it be solved better?

cheers
Arno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/texhax/attachments/20090805/dffbb84b/attachment.bin>


More information about the texhax mailing list