- Download the lineno Latex package.
- Unpack it (
unzip lineno.zip) and copy alllineno/*.styfiles into the directory that contains your Latex document. - In the Latex preamble include the line
\RequirePackage{lineno}
before the\documentclass{...}command.Note: this is necessary due to incompatibilities between the lineno package and RevTex. If you are not using RevTex to prepare your document you can also use the standard way:
\usepackage{lineno} - Line numbers can be activated by adding the line
\linenumbers
after\begin{document}
Archive for April 24th, 2008
Add line numbers using lineno.sty in RevTex 4
Published April 24, 2008 Linux 5 CommentsTags: latex, revtex