[texhax] Reset line numbers

Uwe Lück uwe.lueck at web.de
Thu Feb 4 12:34:21 CET 2010

At 06:22 03.02.10, Jesus Guillermo Andrade wrote:
>Dear fellows: I am trying to use lineno.sty in a way that whenever the 
>line numbers reach 64, it automatically resets to 1. Do any of you have an 
>idea on how can I achieve this?

Are you sure, or do you just want to number pagewise?

For the latter, just \usepackage[pagewise]{lineno} or \pagewiselinenumbers 
or \begin{pagewiselinenumbers}...\end{pagewiselinenumbers}.

Otherwise (assuming you indeed want to have line number 1 following line 
number 64)


(not tested).

HTH -- Uwe.

More information about the texhax mailing list