Is it possible to assign numbers to each line?

I need this to locate a mistake.


Try adding below before \begin{document}:

% line numbers

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

  • 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.