Line numbers in the abstract are not working as expected.
Thank you for such a great tool! This makes my life so much easier.
There seems to be some odd behavior with line numbering in the abstract.
A multi paragraph abstract (as follows) yields line numbers for paragraph 1, but not 2:
abstract: |
This is my abstract.
And my abstract has two paragraphs.
A single paragraph abstract (as follows) yields no line numbers:
abstract: |
This is my abstract. And my abstract has one paragraph.
I'm using the following format in the yaml header (note the lineno package):
format:
elsevier-pdf:
keep-tex: true
output-file: landsat_agb.pdf
include-in-header:
text: |
\usepackage{graphicx}
\usepackage{unicode-math}
\usepackage{hyperref}
\def\tightlist{}
\usepackage{setspace}
\doublespacing
\usepackage{lineno}
\linenumbers
journal:
name: A journal
formatting: preprint
model: 3p
cite-style: authoryear
Same problem here, @lucas-johnson . Do you solve it?
https://tex.stackexchange.com/questions/356189/second-part-of-abstract-is-not-numberred-lineno-with-elsarticle#:~:text=In%20order%20to%20get%20the%20correct%20line%20numbering,abstract%20is%20numbered%20as%20well%20as%20other%20sections.
Above link solves it properly.