TransWikia.com

How to install elsevier's journal into overleaf

TeX - LaTeX Asked by WhoCares on July 4, 2021

Can someone tell me what to do for creating elsarticle.cls by using the docs provided by following link?

I uploaded all the directory into overleaf but that is it. I couldn’t get how to install it.

https://ctan.org/tex-archive/macros/latex/contrib/elsarticle

One Answer

If you want to use custom style or other files stored in a specific directory in your Overleaf project with them recognised when you recompile, you can create a file called latexmkrc to point to this directory, for example:

# Custom locations to include content from 

# Elsevier journal style

$ENV{'TEXINPUTS'}='./tex/latex/elsevier//:' . $ENV{'TEXINPUTS'}; 

In the above code snippet, './tex/latex/elsevier' is a series of nested folders where I saved the Elsevier style which I downloaded from CTAN.

Example compilation of an Overleaf file using the downloaded elsarticle style class files

The above is based on directions I found in the Overleaf help library here, which in turn was based on a StackExchange post here.

There are additional directions found in the elsdoc.pdf file in the elsarticle download from CTAN, here.

Regarding the suggestion to use the Overleaf elsarticle template (here) - this may work, however when I downloaded the elsarticle.cls style following Elsevier directions in January 2021, I noted that the files appeared to have been last updated in 2020, which may be more recent than the linked template which contains a rendered preview dated 2019. As a new user on this board, my reputation was too low to reply to the comment directly so added this note to my answer here.

Hope this helps!

Answered by Carl Higgs on July 4, 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