I am using the lineno package to number lines modulo 5 in a document that consists of several sections with lots of small paragraphs (typically 2-5 lines) and with white lines between every paragraph. I would like to only count the lines of plain text, or as my document is simple enough style-wise, I would like to omit section headers and white lines.
Using the response of the maintainer Uwe Lück of the lineno package to an earlier question (Headline-ignoring, pagewise line numbers), I managed to exclude section headers. It involves introducing a new command to replace \section. Is there maybe a similar solution, which would save me from inserting a linenumber command after every paragraph?
\documentclass{...}and ending with\end{document}. – egreg Oct 04 '13 at 15:08\\, rather than leaving a blank/empty line in your code. Using the latter approach you can increase\parskip(or read up on theparskippackage) rather than manually inserting the blank lines. – Werner Oct 04 '13 at 18:52