Skip to content

mewbak/elsevier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elsevier article template

Generic badge MIT License User Manual

The elsevier package is designed to closely resemble the LaTeX class used by Elsevier for article formatting, which is not publicly available. It is not intended for submission, but rather to help authors prepare articles that resemble the final published version. It mainly serves as a proof of concept, demonstrating that Typst is a viable option for academic writing and scientific publishing.

The template uses the following fonts to conform to the Elsevier style:

Basic usage

This section provides the minimal amount of information to get started with the template. For more detailed information, see the manual.

To use the elsevier template, you need to include the following line at the beginning of your typ file:

#import "@preview/elsevier:0.1.0": *

Initializing the template

After importing elsevier, you have to initialize the template by a show rule with the #elsevier() command. This function takes an optional argument to specify the title of the document.

  • paper-type: Type of the paper (e.g. Article, Review, Letter).
  • journal: Dictionary containing the journal information (e.g. mssp).
  • title: Title of the paper.
  • abstract: Abstract of the paper.
  • authors: List of the authors of the paper.
  • institutions: List of the institutions of the paper.
  • paper-info: Dictionary containing the paper information (e.g. year, volume, ...).
  • keywords: List of keywords of the paper.

Additional features

The elsevier template provides additional features to help you format your document properly.

Appendix

To activate the appendix environment, all you have to do is to place the following command in your document:

#show: appendix

// Appendix content here

Subfigures

Subfigures are not built-in features of Typst, but the elsevier template provides a way to handle them. It is based on the subpar package that allows you to create subfigures and properly reference them.

  #subfigure(
    figure(image("image1.png"), caption: []), <figa>,
    figure(image("image2.png"), caption: []), <figb>,
    columns: (1fr, 1fr),
    caption: [(a) Left image and (b) Right image],
    label: <fig>
  )

Roadmap

  • Add more journals dictionaries
  • Add more journal-specific styles to the template

License

MIT licensed

Copyright (C) 2025 Mathieu AUCEJO (maucejo)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Typst 77.2%
  • Shell 18.8%
  • TeX 4.0%