Name : texlive-boolexpr
| |
Version : 20110705
| Vendor : Mandriva
|
Release : 3.1
| Date : 2011-10-27 08:43:10
|
Group : Publishing
| Source RPM : texlive-texmf-20110705-3.1.src.rpm
|
Size : 0.26 MB
| |
Packager : Paulo Andrade < pcpa_mandriva_com_br>
| |
Summary : A boolean expression evaluator and a switch command
|
Description :
The \\boolexpr macro evaluates boolean expressions in a purely expandable way. \\boolexpr{ A \\OR B \\AND C } expands to 0 if the logical expression is TRUE. A, B, C may be: - numeric expressions such as: x=y, x< >y, x>y or x< y; - boolean switches: \\iftrue 0\\else 1\\fi; - conditionals: \\ifcsname whatsit\\endcsname 0\\else 1\\fi; - another \\boolexpr: \\boolexpr{ D \\OR E \\AND F }: \\boolexpr may be used with \\ifcase: \\ifcase\\boolexpr{ A \\OR B \\AND C } What to do if true \\else What to do if false \\fi The \\switch command (which is also expandable) has the form: \\switch \\case{< boolean expression>} ... \\case{< boolean expression>} ... ... \\otherwise ... \\endswitch.
|
RPM found in directory: /vol/rzm6/linux-mandriva/devel/cooker/sparcv9/media/main/testing |