Command in package control.




Outputs "true" if at least one of val1 and val2 evaluate to "true", otherwise outputs "false".

Note that the decision between "true" and "false" is not made when JMmtex converts the TeX file, but when the XML is
transformed to the final output format, usually (X)HTML. This allows for a dynamic decision.


\newcommand{\mystr}{foo} \newcommand{\mynum}{1.0}

1: \OR{true}{true}

2: \OR{true}{false}

3: \OR{false}{false}

4: \OR{\EQUAL{\mystr}{foo}}{\EQUAL[n]{\mynum}{1}}

5: \OR{\EQUAL{\mystr}{bar}}{\EQUAL[n]{\mynum}{1}}

Result, as rendered by your browser

1: truetrue

2: truefalse

3: falsefalse

4: foofoo1.01

5: foobar1.01

This page is generated automatically and each change here will be replaced on a next update.

Add picture from clipboard (Maximum size: 500 MB)