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?

  • 3
    What kind of lines does it skip? Commented Feb 21, 2011 at 21:18
  • 1
    @Leonardo Basically anything in a box. Displayed math also causes problems. See this this answer here.
    – Alan Munn
    Commented Feb 21, 2011 at 21:30
  • @endir: Welcome to tex.sx! Does the answer in Alan's link help you? Commented Feb 22, 2011 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
    Commented Mar 13, 2011 at 14:17
  • See also this answer which explains how to use \internallinenumbers to number boxes etc.
    – Seamus
    Commented Mar 22, 2011 at 18:33

1 Answer 1


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .