Skip to main content

  | मौसम…

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

411 REFERENCE · Wikibooks

TeX/inputlineno

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

Synopsis \inputlineno Description \inputlineno is an integer parameter that TeX sets to the current line number of the input file. Examples Recall that the command \number will typeset the decimal representation of whatever follows it, and so if the source file begins with \number\inputlineno on the first line, then TeX will typeset 1 at the beginning of the page. If \message{\number\inputlineno} occurs on line n of the source file, then TeX will output 'n' to the screen as a message.