elsarticle template
- Author: Elsevier
- Author Website: https://
www .elsevier .com / - Submission Guidelines
UsageΒΆ
See MyST Guide for creating Documents for instructions on how to set up a MyST project.
In the elsarticle template, the following options are available:
| Category | Option | Type | Required | Default | Description |
|---|---|---|---|---|---|
| Document | title | string | Yes | Title of your document | |
authors | list | Yes | List of authors | ||
keywords | string | Yes | List of keywords | ||
bibliography | string | No | Path to your bibliography file (*.bib) | ||
| Options | style | choice | No | review | Style of your document, preprint or review |
reference_style | choice | No | harv | Reference style, harv, num-names, or num | |
other_options | string | No | 12pt | Other options for the document class | |
journal_name | string | No | Nuclear Physics B | Journal name | |
lineno | boolean | No | false | Whether to show line numbers | |
| Parts | abstract | string | Yes | Abstract of your document | |
graphical_abstract | string | No | Graphical abstract of your document | ||
highlights | string | No | Highlights of your document | ||
availability | string | No | Data availability statement | ||
acknowledgements | string | No | Acknowledgements | ||
appendix | string | No | Appendix |
Steps to creating your own template!ΒΆ
- π Create this repository. Nailed it. π
- π Replace the
template.texwith your existing LaTeX template/article - π―ββοΈ Copy in any other style, definitions or images necessary for the template
- π©βπ¬ Add the files necessary into
fileslist in thetemplate.yml(documentation) - π§ββοΈ Start replacing template values with
[-options.my_value-]and put in[# if parts.abstract #]conditions to toggle sections on and off (documentation) - π©πΏβπ» Install jtex (
npm install -g jtex) and runjtex check(documentation) - πͺ Continue to improve the options in your template for
partsandoptions(documentation) - πΎ When ready, save your
template.ymland runjtex check --fix, this will add various packages that are auto detected and fix document options (documentation) - π§ͺ Test with real content:
myst build my-document.md --template ../path/to/template(documentation) - πΈ Create a
thumbnail.pngwith an accurate screenshot of the template - π§ Update this README, and check all values in the
template.yml - π Push to GitHub, and contribute to the community templates repository