Skip to main content

  | मौसम…

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

411 REFERENCE · Wikibooks

TeX/time

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

Synopsis \time=<integer> \time<integer> Description \time is a parameter that TeX initiates to the number of minutes that have completed in the current day. TeX sets this parameter once upon start-up. If, for example, TeX starts at 10:32:45am, then \time would be set to 60*10+32=632, dropping the 45 seconds. This parameter may be changed to <integer> with either of the two equivalent forms above. Examples Recall that the command \number will typeset the decimal representation of whatever follows it, and TeX started at, say, 10:32:04am then \number\time will typeset 632, if the \time parameter has not be redefined since TeX started. \time=-45 \number\time will typeset -45.