Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to have a draft of a document I am writing, with the line numbers aside. I looked at some options like lineno, but this way it skips some lines. Is there a simple workaround or another package to do this?

share|improve this question
2  
What kind of lines does it skip? –  Leonardo Herrera Feb 21 '11 at 21:18
    
@Leonardo Basically anything in a box. Displayed math also causes problems. See this this answer here. –  Alan Munn Feb 21 '11 at 21:30
    
@endir: Welcome to tex.sx! Does the answer in Alan's link help you? –  Hendrik Vogt Feb 22 '11 at 7:56
    
@endir: Any update on this? The answer to the question lined by @Alan seems like the best plan to me. –  Joseph Wright Mar 13 '11 at 14:17
    
See also this answer which explains how to use \internallinenumbers to number boxes etc. –  Seamus Mar 22 '11 at 18:33
show 1 more comment

1 Answer

The Number every line of pages question was very similar to this.

The code I posted Number every line of pages, appears to solve this problem and hence the reason for posting this short snippet here. As the code does not box or unbox paragraphs, displayed math can be used.

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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