← Back to blog

Resources

A LaTeX Template for OmicVerse Papers

Most OmicVerse projects end in a manuscript, and until now each group set its preprints in its own style. The new omicverse-latex-template repository gives community papers, preprints and reports one shared look. It holds a single LaTeX class, pdarticle, a numbered reference style, vector logos and worked examples in English and Chinese.

Download ZIPView on GitHub
Pages 1 and 2 of the English example in the default rail design
Pages 1 and 2 of the English example in the default rail design

What is in the class

Quick start

Download the ZIP above, or clone the repository:

git clone https://github.com/omicverse/omicverse-latex-template.git

Copy template.tex and start writing. Keep pdarticle.cls, numbered.bst and the logos/ folder next to your main .tex file, then compile:

# English papers: pdfLaTeX, XeLaTeX or LuaLaTeX
latexmk -pdf template.tex
# Chinese papers (the zh option) need XeLaTeX
latexmk -xelatex example-zh.tex

On Overleaf, upload pdarticle.cls, numbered.bst and logos/ together with your .tex and .bib files. pdfLaTeX works for English papers; set the compiler to XeLaTeX for zh.

A minimal paper looks like this:

\documentclass[brand=omicverse]{pdarticle}

\journalname{OmicVerse}
\articletype{Research Article}
\journalinfo{OmicVerse Preprint, \today}
\copyrightholder{\the\year\ OmicVerse}

\title{Title of the paper}
\author{First Author,\affmark{1} and Last Author\affmark{1,*}}
\affiliation{1}{[Department, Institution, City, Country]}
\correspondence{author@example.com}

\summary{Summary text.}
\keywords{keyword one, keyword two}
\bibliographystyle{numbered}

\begin{document}
\maketitle
\section{Introduction}
Text.\cite{zeng2024omicverse}
\bibliography{example}
\end{document}

Page designs

Pick a design with design=. Each image below is page 1 of the same example.

Page 1 in the rail, masthead and panel designs
Page 1 in the rail, masthead and panel designs

Later pages in every design carry a small logo at the top left, the page number at the top right and a hairline rule.

Two columns and line numbers

Page 1 of the two-column layout, and page 2 of the single-column layout with line numbers
Page 1 of the two-column layout, and page 2 of the single-column layout with line numbers

twocolumn sets two columns with a 13 pt gap. A full-width figure* floats to the top of the next page, so define it one page before the place it should appear. lineno puts small gray line numbers in the right margin, or on the outer side of each column in the two-column layout.

Your own colors and logo

The OmicVerse and PrimorDecode brand presets
The OmicVerse and PrimorDecode brand presets

Each preset has three color roles: tab for the rail, primary for the summary, headings, figure titles and links, and secondary for the article type and the marker before each heading. Override any of them from the class options, for example primary=1F6F8B, secondary=B23A48, tab=1F6F8B. Roles you leave out keep the preset. \brandlogo[height=0.4in]{path/to/logo} swaps the logo, and \brandgraphic{...} replaces the TikZ corner graphic. For OmicVerse that graphic is a DNA helix that fades into a scatter of points, like a single-cell embedding.

Chinese papers

The English example and the Chinese example, page 1
The English example and the Chinese example, page 1

With zh, headings are never upper-cased, the labels become 摘要, 图, 表, 专栏, 通讯作者 and 参考文献, and line spacing widens by 1.08×. The CJK font is the first one installed of Source Han Sans SC, Noto Sans CJK SC, Hiragino Sans GB and PingFang SC.

License

pdarticle.cls and the example and template files are distributed under the LaTeX Project Public License 1.3c or later. numbered.bst is based on model6-num-names.bst from Elsevier's elsarticle bundle, also under the LPPL. The OmicVerse and PrimorDecode logos belong to their owners and are not covered by the LPPL.

Questions and improvements are welcome as issues or pull requests on the repository.

Download ZIPRead the full README