17

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? – Leonardo Herrera Feb 21 '11 at 21:18
  • 1
    @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
7

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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