Generalcode line numbers

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
anything
Posts: 2
Joined: Thu Nov 25, 2010 6:19 am

code line numbers

Post by anything »

Hi,

I always receive the problem of error at line xxx. Is there a way which I can see line numbers on the left hand side of the code? I just need the line numbers to be displayed on the left of the code and not in the output.

Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: code line numbers

Post by frabjous »

It might help if you mentioned what editor you're using. The question is a little hard to answer otherwise.
anything
Posts: 2
Joined: Thu Nov 25, 2010 6:19 am

Re: code line numbers

Post by anything »

I am currently using TeXnicCenter.
Post Reply