I am having some problem with lineno. Specifically, this happens when I introduce the first equation in my document. I the following example I get a wrong numbering of text lines in the latex resulting pdf. In particular, in all "bla bla" part the numbering is missing.
I will try to make myself clear.
(I apologize to everyone for my previous and wrong post)
Here the example:
\documentclass[review,10pt]{elsarticle}
\usepackage{lineno}
\usepackage{amsmath}
\usepackage{amssymb}
\linenumbers
\begin{document}
\section{bla abcd}
bla bla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla blabla bla
%
%
\begin{equation}\label{eq.2d.hy}
1+1=2
\end{equation}
%
abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd abcd
\end{document}
This example works only if I comment the equation or either \usepackage{amsmath} \usepackage{amssymb}.
However, I need both amsmath and amssymb packages.
What I am experiencing is a generla problem or is related only to elsevier package?
Thanks in advance for any kind of help.
Diedro
\section(it should be\section{test}instead), I end up with the following output: https://i.stack.imgur.com/rCMAB.png If you also want the equation to get a line number, add themathlinesoption to thelinenopackage. – leandriis Oct 16 '20 at 20:55