Menu
CTAN
Comprehensive TeX Archive Network
Home Upload Browse

ifnextok – Utility macro: peek ahead without ignoring spaces

The pack­age deals with the be­haviour of the LaTeX in­ter­nal com­mand \@ifnextchar, which skips blank spaces. This has the po­ten­tial to sur­prise users, since it can pro­duce re­ally un­wanted ef­fects. A com­mon ex­am­ple oc­curs with brack­ets start­ing a line fol­low­ing \\: the com­mand looks for an op­tional ar­gu­ment, whereas the user wants the brack­ets to be printed.

The pack­age of­fers com­mands and op­tions for mod­i­fy­ing this be­haviour, maybe lim­ited to cer­tain parts of the doc­u­ment source.

Sources/macros/latex/contrib/ifnextok
Doc­u­men­ta­tion
Ver­sion0.3
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2011 Uwe Lück
Main­tainerUwe Lück
TDS archiveifnextok.tds.zip
Con­tained inTeXlive as ifnex­tok
MikTeX as ifnex­tok
Topics sup­port for de­vel­op­ment of (La)TeX macros

Down­load the con­tents of this pack­age in one zip archive (244.2k).

Guest Book Sitemap Contact 2014-04-25 10:54 CEST