CTAN package update: newcommand
LaTeX's \newcommand is fairly limited in the way it processes optional arguments, but the TeX alternative, a batch of \defs and \futurelets, can be overwhelming to the casual LaTeX user. newcommand.py is a Python program that automatically generates LaTeX macro definitions for macros that require more powerful argument processing than \newcommand can handle. newcommand.py is intended for LaTeX advanced beginners (i.e., those who know how to use \newcommand but not internal LaTeX2e commands such as \@ifnextchar) and for more advanced users who want to save some typing when defining complex macros. This update supports optional arguments whose default value is the value of a preceding argument.
This package is located at http://tug.ctan.org/tex-archive/support/newcommand . More information is at http://tug.ctan.org/pkg/newcommand (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .
newcommand – Generate new LaTeX command definitions
Generating any other than the simple \newcommand-style commands, in LaTeX, is tedious (in the least). This script allows the specification of commands in a ‘natural’ style; the script then generates macros to define the command.
|Copyright||2008 Scott Pakin|