[OS X TeX] LaTeX macro question

Ross Moore ross.moore at mq.edu.au
Wed Feb 8 14:57:36 EST 2012


Hello Jason,

On 09/02/2012, at 4:25 AM, J. McKenzie Alexander wrote:

> And now I can typeset that as many times as I want via \UseVerbatim{asdf}. 
> 
> But 
> 
> \scantokens{\UseVerbatim{asdf}}

You do not need to rescan  \UseVerbatim 

> 
> Just reproduces the same output as \UseVerbatim{asdf}
> 
> and
> 
> \expandafter\scantokens\expandafter{\UseVerbatim{asdf}}

Try this:

  \expandafter\UseVerbatim\expandafter{\scantokens{asdf}}

> 
> produces an error.
> 
> Any suggestions would be most appreciated!
> 
> Cheers,
> 
> Jason



Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






More information about the MacOSX-TeX mailing list