| 1 |
# The LaTeX package ifallfalse - version 2.0.0 (2021/07/22) |
| 2 |
|
| 3 |
> Copyright (C) 2021 Dennis Chen <[email protected]> |
| 4 |
> |
| 5 |
> This file may be distributed and/or modified under |
| 6 |
> the conditions the LaTeX Project Public License (LPPL), |
| 7 |
> either version 1.3 of this license or (at your option) |
| 8 |
> any later version. The latest version of this license |
| 9 |
> can be found in |
| 10 |
> http://www.latex-project.org/lppl.txt |
| 11 |
> and version 1.3 or later is part of all distributions of LaTeX |
| 12 |
> version 2005/12/01 or later. |
| 13 |
|
| 14 |
`ifallfalse` provides an `allfalse` environment that can compare a string against a set of another strings, and if it matches none of them, it executes some action. |
| 15 |
|
| 16 |
Note that this package does not work with the `lualatex` engine. |
| 17 |
|
| 18 |
## Package contents |
| 19 |
|
| 20 |
- `README.md` this file |
| 21 |
- `ifallfalse.pdf` documentation PDF with implementation details |
| 22 |
- `ifallfalse.dtx` contains package and documentation code |
| 23 |
- `ifallfalse.ins` generates .sty from .dtx |
| 24 |
|
| 25 |
## File generation |
| 26 |
|
| 27 |
A working TeX installation is required. |
| 28 |
|
| 29 |
Run |
| 30 |
|
| 31 |
tex ifallfalse.ins |
| 32 |
|
| 33 |
to generate `ifallfalse.sty`. To use it, you need to put `ifallfalse.sty` into a directory searched by TeX. |
| 34 |
|
| 35 |
Run |
| 36 |
|
| 37 |
pdflatex ifallfalse.dtx |
| 38 |
|
| 39 |
to generate `ifallfalse.pdf`, which contains the package documentation. |