[Tex/LaTex] Numbering not every line with lineno

line-numbering

How it is possible to number not every line with lineno?

For example only every fifth line.

There are no hints in the manual.

Best Answer

Page 2 of my copy of the manual mentions the modulo option: "Print line numbers only if they are multiples of five".

\documentclass{article}

\usepackage[modulo]{lineno}
\linenumbers

\usepackage{lipsum}

\begin{document}

\lipsum[1]

\end{document}

enter image description here