\GE¶
Command in package control.
Synopsis¶
\GE{val1}{val2}
Description¶
Outputs "true" if val1 is greater then or equal to val2, otherwise "false". Both val1 and val2 must evaluate
to numbers.
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.
Example¶
\newcommand{\mynumx}{10} \newcommand{\mynumy}{0.25}
1: \GE{\mynumx}{5}
2: \GE{\mynumx}{10}
3: \GE{\mynumx}{15}
4: \GE{\mynumy}{-2}
5: \GE{1}{\mynumy}
Result, as rendered by your browser
1: 105
2: 1010
3: 1015
4: 0.25-2
5: 10.25
This page is generated automatically and each change here will be replaced on a next update.