TeX/month

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

[edit] Synopsis

\month=<integer>
\month<integer>

[edit] Description

\month is a parameter that TeX initiates to the decimal representation of the current month, for example, in June, TeX will initially set \month to 6. This parameter may be changed to any integer <integer> with either of two equivalent forms above.

[edit] Examples

Recall that the command \number will typeset the decimal representation of whatever follows it, and so in the month of June,

\number\month

will typeset 6, if \month has not be redefined.

\month=13
\number\month

will typeset 13.

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export