Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Add line numbers to any LaTeX document

📅 2012-Oct-01 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ latex, line number, lineno ⬩ 📚 Archive

Line numbers  for every line of text is useful for people reviewing a PDF generated from a LaTeX document. To add line numbers use the lineno package and add the linenumbers command to the preamble of your document:

\usepackage{lineno}
\linenumbers

``````