Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
LaTeX2e package providing extented variants of \newcommand and friends
TeX VimL
tag: 1.09

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
Session.vim
lyx.tex
ori-lyx.tex
release
test.tex
todo
xargs.dtx

README

                               The xargs package

            Defining commands with many optional arguments made easy

               Manuel P\'egouri\'e-Gonnard <mpg@math.jussieu.fr>


Presentation
------------

Defining commands with an optional argument is easy in LaTeXe. There is,
however, two limitations: there can be at most one optional argument and it must
be the first one. The xargs package provide extended variants of \newcommand &
friends, for which these limitations no longer hold.

You may know some tricks in order to define commands with many optional
arguments, or with last argument optional, etc. Theses tricks are subject to a
few problems (using arguments in arbitrary order can be difficult, sometimes
space is gobbled where it should not), which can be difficult to solve.  Anyway,
you don't want to worry about such tricky things while writing a document.

The xargs package provides you with an easy and (hopefully) robust way to define
such commands, using a nice key=value syntax.

Contents
--------

xargs.sty:      the package itself
xargs.pdf:      the (English) documentation and documented code
xargs-fr.pdf:   the French documentation

xargs.dtx:      source for both documentations and package

Version info
------------

2007-10-20  v1.0    first release
2008-03-08  v1.09   Added the usedefault and addprefix keys, not
                    documented yet...

License
-------

This material is subject to the LaTeX Project Public License. See
http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for the
details of that license.

Something went wrong with that request. Please try again.