CTAN Comprehensive TeX Archive Network

CTAN Update: ifnextok

Date: June 1, 2011 7:46:18 PM CEST
On Tue, 31 May 2011 Uwe Lück submitted an update to the ifnextok package. Summary description: make commands not skipping spaces License type: lppl Announcement text:
v0.2 provides \MakeNotSkipping<target>{<on-space>} modifying a given document-level command <target>, based on \IfNextSpace{<if>}{<else>}, actually addressing what the abstract of ifnextok.pdf has promised so far (including active double quote); maybe rather showing problems than being practically useful (as opposed to package options useful for end-users)
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.

MaintainerUwe Lück (deceased)



Guest Book Sitemap Contact Contact Author