I have a latex document in revtex 4-1. I have added the linenumbers option in the preamble, and everything (even the title) has line numbers except for the abstract. How do I add line numbers to the abstract?
Here's what I have:
\documentclass[
pre,
twocolumn,
% twoside,
byrevtex,
superscriptaddress,
floatfix,
nofootinbib,
longbibliography,
linenumbers
]{revtex4-1}
\begin{document}
\title{\protect
Sample title
}
\begin{abstract}
test
several
lines
\end{abstract}
\maketitle
\section{Test}
Line 1
Line 2
\clearpage
\end{document}
linenumbersclass option to be used? If not is the\nolinenumbersnecessary if thelinenumbersclass option is omitted? – Dai Bowen Feb 10 '23 at 15:41linenumbersin the class option though. – irene Feb 13 '23 at 07:57