0

Is it possible to assign numbers to each line?

I need this to locate a mistake.

0

Try adding below before \begin{document}:

% line numbers
\usepackage{lineno}
\modulolinenumbers[1]
\linenumbers

You can adjust the frequency of printed line numbers by changing number in [ ].

1
  • Thanks but I got an error when I used your package.
    – Red shoes
    Sep 15 at 0:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.