General ⇒ Printing input line numbers
-
- Posts: 1
- Joined: Sun Oct 11, 2009 5:04 am
Printing input line numbers
I couldn't find the answer to this on the web, so it's possible that a package hasn't been written for this, but maybe I haven't looked hard enough.
I'm writing quite a large document and I want the input line number to appear on the printed/compiled .pdf file. I don't want the lineno package (I don't want the line numbers to be printed), just the input line numbers so I when I'm reading the .pdf file I can easily find where the code is that produced what I'm reading.
As I said, not sure whether someone has done this before, but it would seem useful, so possible someone has.
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