TeX/ifodd

Synopsis
\ifodd  [\else ] \fi

Description
The \ifodd command denotes the start of an if-then-else control structure. The form must expand to an integer, and if it is odd then  is processed; otherwise it is ignored. If the \else section is included and expands to an even integer, then  is processed; otherwise it is ignored.