| 1 |
README for the `ifnextok' package |
| 2 |
variant of \@ifnextchar not skipping spaces |
| 3 |
(C) Uwe Lueck 2011/06/02 |
| 4 |
|
| 5 |
|
| 6 |
`ifnextok' deals with the behavior of LaTeX's internal |
| 7 |
`\@ifnextchar' to skip blank spaces. This sometimes has surprising |
| 8 |
or for some users really unwanted effects, especially with |
| 9 |
brackets following `\\' when the user does not intend to specify |
| 10 |
an optional argument, rather wants that brackets are printed. |
| 11 |
The package offers commands and options for modifying this |
| 12 |
behavior, maybe limited to certain parts of the document source. |
| 13 |
|
| 14 |
A general method the package offers is |
| 15 |
|
| 16 |
\usepackage[stdbreaks]{ifnextok} |
| 17 |
|
| 18 |
so in "standard" circumstances `\\ [' prints a bracket in a |
| 19 |
new line. `\MakeNotSkipping<target>{<on-space>} modifies <target> |
| 20 |
so it executes <on-space> when followed by a space token. |
| 21 |
|
| 22 |
KEYWORDS: macro programming, optional command arguments, |
| 23 |
manual line breaks, humanities |
| 24 |
|
| 25 |
RELATED PACKAGES: amsmath, mathtools |
| 26 |
|
| 27 |
The package file `ifnextok.sty' and the documentation files |
| 28 |
`ifnextok.pdf' and `ifnextok.tex' can be redistributed and/or |
| 29 |
modified under the terms of the LaTeX Project Public License; |
| 30 |
either version 1.3c of the License, or any later version, see |
| 31 |
|
| 32 |
http://www.latex-project.org/lppl.txt |
| 33 |
|
| 34 |
We did our best to help you, but there is NO WARRANTY. |
| 35 |
|
| 36 |
The `ifnextok' package is author-maintained in the sense of |
| 37 |
this license. |
| 38 |
|
| 39 |
The latest public version of the package is available at |
| 40 |
|
| 41 |
http://mirror.ctan.org/macros/latex/contrib/ifnextok/ |
| 42 |
|
| 43 |
A TDS version `ifnextok.tds.zip' is available at |
| 44 |
|
| 45 |
http://mirror.ctan.org/install/macros/latex/contrib/ |
| 46 |
|
| 47 |
Please report bugs, problems, and suggestions via |
| 48 |
|
| 49 |
http://www.contact-ednotes.sty.de.vu |
| 50 |
|
| 51 |
|