# [OS X TeX] tex'ing newcommands

Wed May 26 13:38:48 EDT 2004

On Wednesday, May 26, 2004, at 01:29  PM, Donal Day wrote:

> Does there exist a tool that will read this file of definitions, strip
> out the definitions, put each on a line and render them into a  latex
> document? I would then compile it and keep the output as a handy
> reference. If so, I could usefully share this file and the list of
> commands with my collaborators so we can all benefit.

One can replace \def with your own command (say \mef) and then have a
switch at the beginning of the file which determines how \mef is
defined, whether it makes a command or typesets its argument.

William

--
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>