CTAN Comprehensive TeX Archive Network

New Ctan package: ifnextok

Datum: 23. Mai 2011 19:14:11 MESZ
On Mon, 23 May 2011 Uwe Lück submitted the ifnextok package. Summary description: replacing \@ifnextchar so `\\ [' prints `[' in new line etc. License type: lppl Announcement text:
`ifnextok' deals with the behavior of LaTeX's internal `\@ifnextchar' to skip blank spaces. This sometimes has surprising or for some users really unwanted effects, especially with brackets following `\\' where the user does not intend to specify an optional argument, rather wants that brackets are printed. The package offers commands and options for modifying this behavior, maybe limited to certain parts of the document source.
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.

Paketifnextok
Version0.3
BetreuerUwe Lück (verstorben)

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren