A scientific article template for LaTeX and Overleaf
This article template for LaTeX and Overleaf is a clean starting point for a scientific paper, preprint or course article. It uses the standard article class at 11 pt with 1 inch margins, so it compiles anywhere with pdfLaTeX and moves easily into a publisher's class later. Authors and affiliations are set with the authblk package, which numbers each affiliation and prints it under the names, the format most journals use for multi-author papers.
The body follows the familiar research article structure, with placeholder text in square brackets: an abstract, a Keywords line, Introduction, Background (Historical Context and Current State), Methods (Data Collection and Analysis Approach), Results with a figure environment and a Statistical Analysis subsection, Discussion (Interpretation and Limitations), Conclusion and an unnumbered Acknowledgments section. Citations are numeric through the cite package, which sorts and compresses runs such as [1, 2, 3] into [1–3], and the bibliography is built by BibTeX from references.bib with the plain style. amsmath, amssymb and graphicx are loaded for equations and figures. If you need a slightly more compact layout with author-year citations, the journal article template is the closest alternative.
What is included
\documentclass[11pt]{article}with 1 inch margins- Two authors and numbered affiliations via
authblk - Abstract and a bold Keywords line
- Six numbered sections with subsections in the standard IMRaD order
- A labelled figure environment ready for an image
- Numeric citations with
citeand\bibliographystyle{plain}
How to use it
- Click Open as Template to edit in Octree, or View Source and paste the code into Overleaf or a local
article.tex. - Create
references.biband cite entries with\cite{key}. - Compile with pdfLaTeX and BibTeX (
latexmk -pdf article.tex). - Edit
\title, the\author[n]and\affil[n]lines, the abstract and the keywords. - Replace every bracketed placeholder, then search for
[to catch any you missed.
Customise the template
Put an image in the figure. The sample figure has a caption but no content. graphicx is loaded, so add \includegraphics and reference it with \ref:
\begin{figure}[t]
\centering
\includegraphics[width=0.8\linewidth]{results.pdf}
\caption{Results visualization}
\label{fig:results}
\end{figure}
As Figure~\ref{fig:results} shows, ...Add emails and shared affiliations. authblk accepts several numbers per author, and \texttt inside \affil is a simple way to list contact addresses:
\author[1]{First Author}
\author[1,2]{Second Author}
\author[2]{Third Author}
\affil[1]{Department of Physics, University A}
\affil[2]{Institute B \\ \texttt{third.author@example.org}}Number equations for reference. amsmath is loaded, so use equation or align with labels and cite them with \eqref:
\begin{align}
y &= \beta_0 + \beta_1 x + \varepsilon \label{eq:model} \\
\hat{\beta}_1 &= \frac{\sum_i (x_i - \bar{x})(y_i - \bar{y})}{\sum_i (x_i - \bar{x})^2}
\end{align}
We estimate model~\eqref{eq:model} by least squares.Related templates: journal article, research paper and manuscript.
Article template FAQ
- Does this article template work in Overleaf?
- Yes. It uses the standard article class and packages that ship with TeX Live (geometry, amsmath, amssymb, graphicx, cite and authblk), so it compiles in Overleaf, Octree or a local install with pdfLaTeX. Add a references.bib file for the bibliography.
- How do I give two authors the same affiliation?
- With authblk, give both authors the same number: \author[1]{First Author} and \author[1]{Second Author}, with a single \affil[1]{...}. An author with two affiliations gets both numbers, for example \author[1,2]{Third Author}.
- How do I change the citation style?
- The template uses numeric citations with \bibliographystyle{plain}, which sorts the reference list alphabetically. Use unsrt to number references in order of first citation, or abbrv for abbreviated first names. For author-year citations, replace the cite package with natbib and use a style such as plainnat.
- Can I submit this article template to a journal?
- Use it for drafting and for preprints. Most journals and publishers provide their own class file, so check the author guidelines; because the template uses plain \section commands and a standard BibTeX bibliography, your text and references move into a journal class with few changes.