TransWikia.com

Title, author and abstract not generate in Elsarticle class only

TeX - LaTeX Asked by Raunak Lohiya on July 27, 2021

Title, author and abstract do not generate in Elsarticle class only. When I execute the following example in LyX, empty file generated dialog box pops. Everything after index terms is able to generate in PDF. Please help me out. Thanks in advance 🙂

begin{document}

title{This is the title}
begin{abstract}
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
end{abstract}
end{document}

2 Answers

This is the minimal document that you need to make your title and abstract appear.

documentclass{elsarticle}
begin{document}
title{This is the title}
begin{abstract}
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
  eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
  ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
  aliquip ex ea commodo consequat. Duis aute irure dolor in
  reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
  pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
  culpa qui officia deserunt mollit anim id est laborum.
end{abstract}
maketitle
end{document}

enter image description here

Correct answer by gernot on July 27, 2021

I would like to outline what I did:

  1. First create a document and apply the ELSEVIER article class to it

Create an Elsevier Article

  1. Then use the Begin and End Frontmatter from LyX

Begin and End Frontmatter

Of course, you may add many more things to the Front-matter and for that, I used the elsevier class article supplied in this thread to know what to place in the Frontmatter... Really cool and easy... Thanks...

Answered by Diego on July 27, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP