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

Synopsis[edit | edit source]


Description[edit | edit source]

\year is a parameter that TeX initiates to the current year. 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


will typeset 2021 (the current year), if the \year parameter has not be redefined.


will typeset 670.