Also, I am not getting line no of to each line. how to solve it.
Code: Select all
\documentclass[final,3p,times]{elsarticle}
\usepackage{graphics}
\usepackage{epsfig}
\usepackage{amssymb,amsfonts,amsmath,amsthm}
\usepackage{hypcap}
\usepackage{lineno}
%*******************************************************************
%NECESSARY TO OBTAIN THE SECTIONS, SUBSECTIONS, ETC. DEFINED AS 1.1., 2.1.3. FOR INSTANCE
%*******************************************************************
\renewcommand\thesection{\arabic{section}.}
\renewcommand\thesubsection{\thesection\arabic{subsection}.}
\renewcommand\thesubsubsection{\thesubsection\arabic{subsubsection}.}
\renewcommand\theequation{\thesection\arabic{equation}}
\biboptions{comma,square,sort&compress}
\begin{document}
\linenumbers
\section{Introduction}
\label{intro_a}
\noindent Study
\begin{align}
a=b+c
\end{align}
\section{abs}
Let
\begin{align}
c=d+r
\end{align}
\end{document}