I am using elsarticle
class to prepare a preprint. For this, I would like to use structured abstract i.e., use of different paragraph headings in the abstract. However, using \paragraph
result in one blank page before the title page and last paragraph command is not shown in the final output. I don't really know where should I look. Alternatively, I can achieve the desired results by simply using italic text, however, it would be good to know the problem and the fix if any.
Here is a MWE.
\documentclass[preprint,12pt,authoryear]{elsarticle}
\begin{document}
\begin{frontmatter}
\begin{abstract}
\paragraph{Introduction}
\paragraph{Conclusions}
\end{abstract}
\end{frontmatter}
\end{document}
Best Answer
You can use
\paragraph
, but not as the first object in the abstract.However, I see no real reason for such an approach: the abstract should be short and sharp.
In your example, the blank page is generated by
\paragraph
being the first object in the abstract; the second\paragraph
doesn't show because no text follows it (it happens also if you have\paragraph{Foo}
and no text up to\end{document}
.With
\mbox{}\par
we generate a dummy paragraph, but we need to back up one line.