Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

TeX/ifodd

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Synopsis \ifodd <integer> <TeX code 1> [\else <TeX code 2>] \fi Description The \ifodd command denotes the start of an if-then-else control structure. The form <integer> must expand to an integer, and if it is odd then <TeX code 1> is processed; otherwise it is ignored. If the \else section is included and <integer> expands to an even integer, then <TeX code 2> is processed; otherwise it is ignored.