[XeTeX] command argument as macro

Vafa Khalighi vafa at users.berlios.de
Thu Oct 8 14:42:53 CEST 2009


On Thu, Oct 8, 2009 at 11:39 PM, Vafa Khalighi <vafa at users.berlios.de>wrote:

> Huh? This will insert the digit 1 now and a hash mark after the end of
>>
>> the current group.
>>
>> I believe we are looking at
>>
>> \makeatletter
>> \newcommand*\getnumber[1]{\@nameuse{#1}}
>> \makeatother
>>
>> Possibly with a some extra checks to see whether the command called
>> has been defined.
>>
>>
> Yes, my mistake.
> --
> Vafa
>

Which \@nameuse is defined in LaTeX as \csname #1\endcsname


-- 
Vafa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20091008/9820ec2d/attachment.html>


More information about the XeTeX mailing list