TeX/day

From Wikibooks, open books for an open world
< TeX
Jump to navigation Jump to search

Synopsis[edit | edit source]

\day=<integer>
\day<integer>

Description[edit | edit source]

\day is a parameter that TeX initiates to the day of the month. It may be changed to any integer <integer> with either of two equivalent forms above.

Examples[edit | edit source]

Recall that the command \number will typeset the decimal representation of whatever follows it, and so if todays date is the 30th then

\number\day

will typeset 30, if the \day parameter has not be redefined.

\day=-45
\number\day

will typeset -45.