0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.