AZ logo

Package ifnextok:
Utility macro: peek ahead without ignoring spaces.

The package deals with the behaviour of the LaTeX 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.

Getting it

If possible, get this package from your distribution using its installation manager. (For installation help, click on your distribution's name.)

Distribution Package name
MiKTeX ifnextok
TeX Live ifnextok

You can also visit ifnextok's CTAN directory to browse the source or download the material for installation by hand.

More

Documentation on CTAN
Readme
Package documentation
Documentation off CTAN -none known-
Maintainers
Uwe Lück
Version 0.3
License LaTeX Project Public License, version 1.3 or later
Related packages -none recorded-
Keywords
macro programming
Characterizations
primary:
Programming in TeX > Other

You can suggest changes to the keywords and characterizations and the maintainer information.

You can get information about any package.