TransWikia.com

Shorthand or simplified boolean expressions?

TeX - LaTeX Asked by Nick Nagy on February 11, 2021

I have a lot of self-defined booleans and conditional statements, and have conditions like

ifthenelse{NOT boolean{foo} AND NOT boolean{bar} AND NOT boolean{baz}}{...}{...}

I want a way to simplify this expression using what I know about boolean arithmetic such as

ifthenelse{NOT (boolean{foo} OR boolean{bar} OR boolean{baz})}{...}{...}

But can’t figure out the logical syntax for it.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP