CTAN Comprehensive TeX Archive Network

CTAN Update: ifnextok

Date: June 6, 2011 9:28:59 PM CEST
On Fri, 3 Jun 2011 Uwe Lück submitted an update to the ifnextok package. Summary description: make commands not skipping spaces, cf. amsmath/mathtools License type: lppl Announcement text:
After hints on texhax by Heiko Oberdiek and on LATEX-L by Bruno Le Floche (May 11) and Frank Mittelbach (May 15; that I now finally read, 2011-06-02), \IfNextToken and \IfStarNextToken of v0.21 essentially (not exactly) are \new at ifnextchar and \@ifstar, resp., from amsmath; main own features (i) control of where to employ them, (ii) use outside math, indeed rather thinking of humanities. Documentation now mentions amsmath and mathtools.
This package is located at http://mirror.ctan.org/macros/latex/contrib/ifnextok . More information is at http://www.ctan.org/pkg/ifnextok (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 .
Thanks for the upload. For the CTAN Team Rainer Schöpf

ifnextok – Utility macro: peek ahead without ignoring spaces

The package deals with the behaviour of the internal command \@ifnextchar, which skips blank spaces. This has the potential to surprise users, since it can produce really unwanted effects. A common example occurs with brackets starting a line following \\: the command looks for an optional argument, whereas the user wants the brackets to be printed.

The package offers commands and options for modifying this behaviour, maybe limited to certain parts of the document source.

Packageifnextok
Version0.3
MaintainerUwe Lück (deceased)

Announcements

more

Guest Book Sitemap Contact Contact Author