Blog

LaTeX for Academic Papers

LaTeX for Academic Papers: The Complete Guide from Setup to Submission

65 min read Research & Technical Writing Students, Researchers & Academics
Custom University Papers Research Team
Expert guidance on LaTeX document preparation, BibTeX and BibLaTeX bibliography management, mathematical typesetting, thesis and dissertation formatting, journal submission templates, Overleaf, and the full academic publishing workflow for STEM and humanities researchers.

The first time you see a well-typeset academic paper — the kind where every equation sits perfectly on the baseline, where citations flow without a single formatting inconsistency across two hundred references, where the spacing between lines and the kerning between letters have the quality of a professionally printed book — it was almost certainly produced with LaTeX. That visual clarity is not accidental, and it is not achievable in a word processor, regardless of how meticulously you apply styles. It is the product of a document preparation system specifically designed for technical and scientific writing, built from the ground up to handle the precision that academic work demands.

LaTeX has been the standard for typesetting in mathematics, physics, computer science, economics, and engineering for four decades. Its adoption has spread significantly into the biological sciences, medicine, and parts of the social sciences and humanities. Most major academic publishers — Elsevier, Springer, IEEE, ACM, the American Mathematical Society — provide official LaTeX templates and accept or prefer LaTeX submissions. Understanding LaTeX is increasingly not optional for researchers who want to produce publishable work efficiently and at the quality standard that journals expect. This guide covers everything: installation, document structure, the preamble, mathematical notation, bibliography management, figures and tables, thesis formatting, and the workflow from first draft to final submission.

What LaTeX Is and How It Works

LaTeX (pronounced “lah-tech” or “lay-tech” — the X represents the Greek chi, not the letter X) is a document preparation system built on top of TeX, the typesetting engine created by Stanford mathematician Donald Knuth between 1978 and 1989. Knuth developed TeX because he was dissatisfied with the typesetting quality of the second volume of his monumental work The Art of Computer Programming, which had been typeset by photocomposition and fell far short of the mathematical precision he required. TeX solved the typesetting quality problem with such thoroughness that it remains, after nearly fifty years, the reference standard for mathematical typography.

LaTeX, developed by computer scientist Leslie Lamport in the early 1980s, added a layer of higher-level commands on top of TeX’s low-level primitives, making it practical for document production rather than just typesetting research. Where TeX required understanding of box-and-glue models and kerning tables, LaTeX provides commands like \section{}, \begin{equation}, and \cite{} that map directly to document structure concepts any academic writer understands. This is the system used throughout the research world today.

1984
Year LaTeX was first released by Leslie Lamport — still the standard 40+ years later
6,000+
Packages available on CTAN extending LaTeX’s capabilities across every discipline
Top 20
Academic journals that provide official LaTeX templates for author submissions

The Markup Model

The fundamental difference between LaTeX and a word processor is the separation of content from presentation. In Microsoft Word, you apply formatting visually and immediately — you select text and click Bold, and it is bold. In LaTeX, you write plain text with markup commands that describe the document’s structure and meaning, and a compiler interprets those commands to produce a typeset PDF. You write \textbf{important term}, not because you have clicked bold, but because you are declaring that this term should receive bold emphasis. The compiler then decides how to render that declaration according to the document class, style settings, and house style rules.

LaTeX
% A minimal LaTeX document — everything needed to compile
\documentclass[12pt, a4paper]{article}

% --- Preamble: packages and settings ---
\usepackage{amsmath}    % Advanced mathematics
\usepackage{graphicx}   % Insert figures
\usepackage{natbib}     % Author-year citations
\usepackage{hyperref}   % Clickable PDF links

\title{The Effect of Temperature on Enzyme Activity}
\author{Jane Smith \and Robert Jones}
\date{March 2025}

% --- Document body ---
\begin{document}

\maketitle
\begin{abstract}
This paper investigates the relationship between temperature
and enzyme activity across five substrate concentrations...
\end{abstract}

\section{Introduction}
Enzyme kinetics have been studied extensively
\citep{Michaelis1913} since the early twentieth century...

\end{document}

This separation produces two significant advantages. First, consistent formatting is guaranteed across the entire document — the document class enforces rules that a writer cannot accidentally break by clicking the wrong button. Second, reformatting is trivial: switching from one journal’s style to another requires changing the document class and perhaps a few package options, not manually reformatting every heading, margin, and citation throughout a hundred-page document.

LaTeX vs. Word for Academic Writing

The LaTeX versus Word question is genuinely context-dependent — neither is universally superior, and the right choice depends on your discipline, target publication, collaborator requirements, and the nature of your content. Understanding specifically where each system excels and falls short allows you to make an informed decision for each project rather than defaulting to familiarity.

Criterion LaTeX Microsoft Word
Mathematical notation ✅ Industry standard — unlimited precision and complexity ⚠️ Equation editor functional but limited for complex notation
Typesetting quality ✅ Publication-grade by default — optical kerning, ligatures, precise spacing ⚠️ Adequate for most purposes; falls short of print publication standard
Bibliography management ✅ Fully automated via BibTeX/BibLaTeX — never manually formatted ⚠️ Built-in tool functional; complex bibliographies require third-party tools
Long document stability ✅ Handles 500-page documents without degradation ❌ Performance and stability issues common in very long documents
Learning curve ❌ Significant investment required; markup syntax must be learned ✅ Familiar WYSIWYG interface — no learning period for basic use
Collaboration ⚠️ Overleaf simplifies collaboration; offline LaTeX collaboration is harder ✅ Track changes, comments, and real-time collaboration mature and familiar
Journal template availability ✅ All major STEM journals provide LaTeX templates and prefer LaTeX ⚠️ Some journals provide Word templates; many prefer LaTeX for complex content
Version control compatibility ✅ Plain text files work natively with Git for full version history ❌ Binary format does not integrate cleanly with version control systems
Figure placement ⚠️ Float placement requires understanding of LaTeX’s algorithm ✅ Visual figure placement is immediate and intuitive
Cost ✅ Free and open source ❌ Subscription or institutional licence required
“LaTeX is not a tool you pick up on Tuesday to use on Wednesday. It is a tool you invest in once and then use with increasing efficiency for the rest of your research career.” — common observation among STEM researchers

The practical recommendation: if your work involves substantial mathematical content, use LaTeX without question. If you are writing a qualitative social science or humanities paper with minimal equations, Word may be the more efficient choice unless your target journal requires LaTeX. If you are writing a STEM thesis or dissertation, LaTeX is almost certainly the right tool — the time invested in learning it pays off across a research career. For support with research paper writing regardless of the tool used, our academic specialists work across both platforms.

Installation and Setup

Installing LaTeX means installing a TeX distribution — a complete package of the TeX/LaTeX engine, thousands of packages, and fonts. The distribution is separate from the editor you use to write your .tex files. You need both a distribution and an editor, though Overleaf (described in the next section) provides both in the browser and eliminates local installation entirely.

Windows

MiKTeX is the most popular Windows distribution — it installs packages on demand, keeping the initial download small. TeX Live is the comprehensive alternative. Both work well; MiKTeX’s on-demand installation is particularly convenient for beginners.

macOS

MacTeX (tug.org/mactex) is the standard macOS distribution — a complete TeX Live installation pre-configured for macOS, including the TeXShop editor. The download is large (~5GB) but provides everything needed without configuration.

Linux

TeX Live installs from your package manager. sudo apt-get install texlive-full on Debian/Ubuntu provides the complete distribution. The texlive meta-package without -full installs a smaller subset that can be supplemented with texlive-science, texlive-latex-extra etc.

Choosing a LaTeX Editor

With a distribution installed, you need an editor. The editor handles syntax highlighting, compilation shortcuts, error display, and PDF preview. All of the following are free:

  • TeXstudio — the most widely recommended editor for beginners on all platforms. Provides inline spell-checking, auto-completion of commands, integrated PDF viewer, and clear error reporting. Free and open source.
  • VS Code with LaTeX Workshop extension — preferred by researchers who already use VS Code for coding. The LaTeX Workshop extension provides compilation, PDF preview, syntax highlighting, and Git integration in a single, highly customisable environment.
  • TeXmaker — similar to TeXstudio, slightly simpler interface. Well-regarded on all platforms with integrated PDF viewer and shell-escape support for advanced use cases.
  • TeXShop (macOS only) — included with MacTeX. Clean, minimal interface that integrates well with macOS conventions. Popular among macOS users who prefer simplicity over feature density.
  • Emacs with AUCTeX — favoured by experienced LaTeX users who use Emacs for everything. Extremely powerful but requires significant setup investment.
Beginner recommendation: Install TeXstudio alongside your distribution. Its autocomplete for LaTeX commands, real-time spell-checking, and integrated error panel address the three most common beginner frustrations simultaneously. Once you are comfortable with LaTeX’s syntax and compilation model, you can migrate to a more customised setup if TeXstudio’s approach no longer fits your workflow.

Overleaf: The Browser-Based Option

Overleaf has become the dominant LaTeX platform in academic research, and for good reason. It eliminates the installation barrier entirely, provides real-time PDF compilation, supports multi-author collaboration with the same user experience as Google Docs, maintains version history, integrates directly with reference managers like Zotero and Mendeley, and offers direct submission pipelines to major journals including those published by Springer, Elsevier, Wiley, and IEEE. The free plan is sufficient for individual research projects. Many universities provide free Overleaf Professional accounts — check your institution’s software portal before purchasing.

What Overleaf Provides
  • No installation: Access from any browser on any device — including tablets during fieldwork or conferences
  • Real-time compilation: PDF updates as you type with error indicators inline in the editor
  • Template gallery: Thousands of journal, university thesis, and conference templates ready to use immediately
  • Collaboration: Multiple authors editing simultaneously with tracked changes on paid plans
  • Git integration: Sync with GitHub for external version control
  • Direct journal submission: Submit directly to Springer, IEEE, F1000Research, and others from within Overleaf

The main limitation of Overleaf is dependency on internet connectivity and the free plan’s 20-second compilation timeout, which can be reached on large theses with many figures. For production work on a thesis or book, a local LaTeX installation alongside Overleaf (using Git sync) provides both the cloud collaboration benefits and the reliability of local compilation. For most journal articles and academic papers, Overleaf alone is entirely sufficient.

Document Structure and Classes

Every LaTeX document follows the same fundamental architecture: a preamble (everything before \begin{document}) that declares the document class and loads packages, and a document body (between \begin{document} and \end{document}) that contains the actual content. Understanding this structure is the foundation of everything else in LaTeX.

Document Classes

The document class, declared with \documentclass[options]{classname}, controls the fundamental layout, available commands, and sectioning hierarchy. The class is the most important formatting decision you make — it determines margin widths, font sizes, header and footer style, and section numbering conventions. Options in square brackets modify the class behaviour.

Class Typical Use Sectioning Commands
article Journal articles, essays, short papers, reports under ~40 pages \section, \subsection, \subsubsection
report Theses, technical reports, longer documents with chapters \chapter, \section, \subsection
book Academic books, monographs, dissertations with front and back matter \part, \chapter, \section, \subsection
beamer Presentation slides — conference talks, seminar presentations \section, \subsection (used in outline)
Journal class (e.g., elsarticle) Submission to specific journal — provides all required formatting automatically Varies by class
Document Class Examples
% Standard academic article
\documentclass[12pt, a4paper, twocolumn]{article}

% Thesis / dissertation (report class)
\documentclass[12pt, a4paper, oneside]{report}

% Elsevier journal article (publisher's class)
\documentclass[review, 12pt]{elsarticle}

% IEEE conference paper
\documentclass[conference]{IEEEtran}

% ACM journal/conference paper
\documentclass[sigconf, nonacm]{acmart}

Sectioning and Hierarchy

LaTeX’s sectioning commands automatically handle numbering, table of contents entries, and header/footer content. You declare structure; LaTeX manages the numbering. Adding a section between two existing sections automatically renumbers all subsequent sections — a significant advantage over manual numbering in word processors.

Sectioning Commands
\section{Introduction}
\subsection{Background and Motivation}
\subsubsection{Historical Context}
\paragraph{Key Definitions}    % Inline heading
\subparagraph{Note on Terminology}  % Rarely used

% Unnumbered section (not in table of contents)
\section*{Acknowledgements}

% Add unnumbered section TO table of contents
\section*{Acknowledgements}
\addcontentsline{toc}{section}{Acknowledgements}

The Preamble: Essential Packages

The preamble is where you configure your document before any content begins. It contains package declarations (\usepackage{}), global settings, and custom command definitions. The package ecosystem — distributed through CTAN, the Comprehensive TeX Archive Network — is one of LaTeX’s greatest strengths: almost any typesetting requirement has already been solved by someone who packaged the solution for others to use. Here are the packages that belong in virtually every academic paper’s preamble.

Essential Packages for Academic Papers
amsmath
Indispensable for any mathematical content. Provides the equation, align, gather, multline environments, plus dozens of mathematical operators, symbols, and spacing commands. Load this in every STEM paper without exception.
amssymb
Extended mathematical symbol set including blackboard bold letters (ℝ, ℕ, ℤ), additional arrows, and set theory symbols. Complements amsmath for pure mathematics and theoretical work.
graphicx
Required for inserting figures. The \includegraphics command requires this package. Supports PDF, PNG, JPG, and EPS formats. Provides scaling, rotation, and bounding box control options.
geometry
Sets page dimensions and margins. Allows precise control: \usepackage[top=2.5cm, bottom=2.5cm, left=3cm, right=2.5cm]{geometry}. Essential when journal or thesis requirements specify exact margin values.
hyperref
Creates clickable PDF links for cross-references, citations, and URLs. Makes the table of contents, list of figures, and all \ref{} and \cite{} commands clickable in the output PDF. Load this last in the preamble.
natbib
Flexible citation styles supporting both author-year and numeric citation formats. Provides \citep{} (parenthetical) and \citet{} (textual) commands for author-year styles. Alternative to biblatex for traditional workflows.
biblatex
Modern bibliography system with greater flexibility than BibTeX. Used with the Biber backend. Supports all major citation styles and provides far more customisation than natbib. Preferred for new projects when journal doesn’t mandate natbib.
booktabs
Professional table formatting. Provides \toprule, \midrule, and \bottomrule commands that produce tables matching journal typesetting standards. Eliminates the amateur look of \hline-based tables.
siunitx
Scientific units and numbers. Provides \SI{9.8}{m/s^2}, \num{1.23e-4}, and table column alignment by decimal point. Essential for any paper reporting measured quantities with units.
cleveref
Smart cross-references. \cref{fig:results} automatically produces “Figure 3” or “Eq. (5)” depending on what type of label it references — eliminating manual “Figure”, “Equation”, “Table” prefixes before every reference.
microtype
Subtle typographic improvements — character protrusion and font expansion that improve the overall colour and texture of typeset paragraphs. Reduces the number of hyphenation breaks and overfull hboxes. Load and forget.
inputenc / fontenc
Character encoding (for pdflatex users): \usepackage[utf8]{inputenc} allows UTF-8 input including accented characters. \usepackage[T1]{fontenc} improves font handling. Not needed for XeLaTeX or LuaLaTeX, which handle Unicode natively.
Standard Academic Paper Preamble
\documentclass[12pt, a4paper]{article}

% Encoding (for pdflatex)
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

% Page layout
\usepackage[top=2.5cm, bottom=2.5cm, left=3cm, right=2.5cm]{geometry}

% Mathematics
\usepackage{amsmath, amssymb, amsthm}

% Figures and tables
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{siunitx}

% Typography
\usepackage{microtype}

% Bibliography (modern approach)
\usepackage[style=authoryear, backend=biber]{biblatex}
\addbibresource{references.bib}

% Cross-references — load LAST before \begin{document}
\usepackage{cleveref}
\usepackage[hidelinks]{hyperref}

Text Formatting and Document Elements

LaTeX handles text formatting through semantic commands that describe meaning rather than appearance. Rather than applying bold formatting by clicking a toolbar button, you mark text with \textbf{} because it is important, or \emph{} because it requires emphasis — distinctions that allow the document class to render these semantically differently if appropriate. This semantic approach ensures consistent formatting throughout documents without requiring any manual attention.

Text Commands

\textbf{bold text}
\textit{italic text}
\emph{emphasized text}
\texttt{monospace / code}
\textsc{Small Capitals}
\underline{underlined}
\footnote{Footnote text here.}

Lists

\begin{itemize}     % Bullet list
  \item First point
  \item Second point
\end{itemize}

\begin{enumerate}  % Numbered list
  \item Step one
  \item Step two
\end{enumerate}

Abstracts, Keywords, and Author Information

The abstract environment produces formatted abstracts according to the document class’s specifications. Journal classes often customise abstract formatting significantly — another reason to use the journal’s class rather than the generic article class when submitting to a specific publication.

Abstract and Author Block
\title{Bayesian Approaches to Climate Model Uncertainty Quantification}

\author{%
  Jane Smith\textsuperscript{1} \and
  Robert Jones\textsuperscript{1,2} \and
  Maria García\textsuperscript{2}
}

% Affiliations (method varies by document class)
\affil[1]{Department of Statistics, University of Cambridge, UK}
\affil[2]{Climate Research Institute, ETH Zürich, Switzerland}

\begin{abstract}
We present a hierarchical Bayesian framework for quantifying
uncertainty in coupled atmosphere--ocean climate models...
\end{abstract}

\keywords{Bayesian inference, climate modelling, uncertainty quantification,
ensemble methods, posterior predictive distributions}

Mathematical Typesetting

Mathematical notation is where LaTeX’s superiority over all alternatives is most decisive. The system for expressing mathematics in LaTeX — developed and refined over four decades by mathematicians and physicists who needed to express notation that had no precedent in typography — handles everything from basic fractions to multi-line aligned derivations, matrix equations, commutative diagrams, and symbolic computation output. No word processor approaches LaTeX’s mathematical typesetting quality or expressiveness.

Math Modes and Environments

LaTeX has three contexts for mathematical content: inline math within running text, displayed equations on their own line, and multi-line mathematical constructions using specialised environments.

Math Environments
% INLINE MATH — within running text
The mass-energy relationship $E = mc^2$ was published in 1905.

% DISPLAY EQUATION — numbered, centred on its own line
\begin{equation}
  \sigma^2 = \frac{1}{N-1} \sum_{i=1}^{N} (x_i - \bar{x})^2
  \label{eq:variance}
\end{equation}

% ALIGN — multiple equations aligned at = sign
\begin{align}
  f(x) &= ax^2 + bx + c \label{eq:quadratic} \\
       &= a\left(x + \frac{b}{2a}\right)^2 - \frac{b^2 - 4ac}{4a}
\end{align}

% UNNUMBERED — use starred versions
\begin{equation*}
  P(A|B) = \frac{P(B|A)\,P(A)}{P(B)}
\end{equation*}

Common Mathematical Constructs

Essential Math Commands
% Fractions
\frac{numerator}{denominator}
\dfrac{a}{b}   % Display-style fraction in inline math

% Superscripts and subscripts
x^{n+1}     % Superscript
a_{ij}      % Subscript
x^{n}_{i}   % Both

% Summation and integration
\sum_{i=1}^{n} x_i
\int_0^{\infty} e^{-x} \, dx
\iint, \oint, \prod

% Greek letters (lowercase / uppercase)
\alpha \beta \gamma \delta \epsilon \theta \lambda \mu \sigma \omega
\Gamma \Delta \Theta \Lambda \Sigma \Omega \Pi

% Matrices (from amsmath)
\begin{pmatrix}   % parentheses
  a & b \\
  c & d
\end{pmatrix}

% Brackets that scale automatically
\left( \frac{x^2}{y} \right)
\left[ \begin{matrix} a & b \\ c & d \end{matrix} \right]

% Norms, absolute values, floor/ceiling
\|x\|, \lvert x \rvert
\lfloor x \rfloor, \lceil x \rceil

Theorem Environments for Pure Mathematics

For mathematics papers, define theorem-like environments in the preamble using the amsthm package. \newtheorem{theorem}{Theorem}, \newtheorem{lemma}{Lemma}, \newtheorem{corollary}{Corollary}, and \newtheorem*{remark}{Remark} produce numbered and unnumbered environments with consistent formatting. The proof environment provides an automatic QED symbol. This infrastructure is expected in mathematics papers and journals — using it signals familiarity with the field’s conventions. For help with mathematics assignments involving LaTeX formatting, our specialists are familiar with both the mathematical content and its typesetting.

Bibliography and Citations

Bibliography management is one of the most compelling reasons to use LaTeX. Once you build or import a .bib file of references, citations in the text and the formatted reference list are generated completely automatically — adjusting to your chosen citation style without any manual formatting. Adding or removing a citation causes the entire bibliography to update on next compilation. Changing from author-year to numeric citation style requires changing one option, not reformatting every citation and reference.

The .bib File

All reference data lives in a .bib file — a plain text database of bibliography entries. Each entry has a type (article, book, inproceedings, thesis, etc.), a citation key that you use in \cite{key} commands, and fields for author, title, journal, year, volume, pages, DOI, and so on. You can build this file manually, but the far more efficient approach is to export it from Zotero, Mendeley, or JabRef, which generate correct .bib entries automatically from DOIs or imported PDFs.

BibTeX Entry Examples (references.bib)
% Journal article
@article{Smith2023,
  author  = {Smith, Jane and Jones, Robert},
  title   = {Uncertainty Quantification in Climate Models},
  journal = {Nature Climate Change},
  year    = {2023},
  volume  = {13},
  pages   = {145--158},
  doi     = {10.1038/s41558-023-01234-5}
}

% Book
@book{Gelman2013,
  author    = {Gelman, Andrew and others},
  title     = {Bayesian Data Analysis},
  edition   = {3rd},
  publisher = {CRC Press},
  address   = {Boca Raton, FL},
  year      = {2013}
}

% Conference paper
@inproceedings{Garcia2022,
  author    = {García, María and Chen, Wei},
  title     = {Scalable Inference for Hierarchical Models},
  booktitle = {Proceedings of NeurIPS 2022},
  year      = {2022},
  pages     = {3421--3433}
}

% PhD Thesis
@phdthesis{Brown2021,
  author = {Brown, Thomas K.},
  title  = {Variational Methods for Approximate Bayesian Inference},
  school = {University of Oxford},
  year   = {2021}
}

BibTeX vs. BibLaTeX

LaTeX supports two bibliography systems. BibTeX is the traditional approach, available since the 1980s, and is required by many older journal classes. BibLaTeX with Biber is the modern replacement — more flexible, better Unicode support, more citation style options, and actively maintained. For new projects where the journal does not mandate BibTeX, use BibLaTeX.

Citation Commands (natbib style)
% Author-year citations (natbib package)
\citet{Smith2023}        % Smith and Jones (2023)
\citep{Smith2023}        % (Smith and Jones, 2023)
\citep[p.~45]{Smith2023}  % (Smith and Jones, 2023, p. 45)
\citeauthor{Smith2023}   % Smith and Jones
\citeyear{Smith2023}     % 2023

% Multiple citations
\citep{Smith2023, Garcia2022, Brown2021}

% BibLaTeX equivalents
\textcite{Smith2023}     % Smith and Jones (2023)
\parencite{Smith2023}   % (Smith and Jones, 2023)
\autocite{Smith2023}    % Style-dependent automatic choice

% Print bibliography at end of document
\bibliography{references}        % BibTeX
\printbibliography                  % BibLaTeX
Zotero Integration with LaTeX

Zotero’s Better BibTeX plugin (available from retorque.re/zotero-better-bibtex) provides seamless LaTeX integration: it auto-generates and maintains citation keys in a consistent format, and it can keep a continuously synchronized .bib file that updates whenever you modify your Zotero library. This eliminates manual .bib file maintenance entirely. With Better BibTeX and Zotero, your bibliography management workflow becomes: find a paper → import to Zotero (one click) → cite it in LaTeX using the auto-generated key. No manual data entry at any point.

Figures and Tables

Figures and tables in LaTeX are placed in float environments — containers that LaTeX positions automatically to optimise page layout. Rather than specifying “put this figure exactly here,” you declare a figure and give LaTeX placement preferences, and it finds the best available position. This approach is philosophically different from word processor figure placement and initially frustrating to writers accustomed to visual control — but it produces significantly better page layout across long documents by preventing widows, orphans, and partially empty pages.

Figure Environment
\begin{figure}[htbp]   % Placement: here, top, bottom, page
  \centering
  \includegraphics[width=0.85\textwidth]{figures/results_plot.pdf}
  \caption{%
    Mean temperature anomaly (°C) relative to 1980--2010 baseline
    for the five ensemble members. Shaded region shows 95\%
    credible interval from the hierarchical Bayesian model.
  }
  \label{fig:temperature-anomaly}
\end{figure}

% Reference the figure in text
As shown in \cref{fig:temperature-anomaly}, the anomaly...
% Produces: "As shown in Figure 3, the anomaly..."
Always use PDF or vector figures in LaTeX. Including raster images (PNG, JPG) in an academic paper produces lower-quality output and files that may not meet journal resolution requirements. Export all plots from R (ggplot2), Python (matplotlib), or MATLAB as PDF or EPS vector files. They scale to any size without quality loss, and LaTeX’s PDF output chain handles them without any compression artefacts.

Professional Tables with booktabs

The booktabs package transforms LaTeX tables from amateur to professional with three rules: \toprule above the header, \midrule below the header, and \bottomrule at the table’s end. Never use vertical rules (|) in academic tables — they are considered poor typographic practice and are explicitly discouraged by the booktabs package documentation.

Professional Table with booktabs
\begin{table}[htbp]
  \centering
  \caption{Model performance metrics across five datasets}
  \label{tab:performance}
  \begin{tabular}{lSSS}   % S columns from siunitx align at decimal
    \toprule
    % Column headers
    {Dataset} & {Accuracy (\%)} & {F1 Score} & {AUC-ROC} \\
    \midrule
    MNIST       & 99.21  & 0.9918 & 0.9997 \\
    CIFAR-10    & 94.73  & 0.9469 & 0.9841 \\
    ImageNet    & 78.45  & 0.7731 & 0.9203 \\
    \addlinespace  % Extra space between groups
    Combined    & 90.80  & 0.9057 & 0.9625 \\
    \bottomrule
  \end{tabular}
\end{table}

Cross-References and Hyperlinks

LaTeX’s cross-referencing system is one of its most underappreciated advantages for long academic documents. The \label{} and \ref{} mechanism allows you to reference any numbered element — equation, figure, table, section, theorem — by a logical key rather than a number. When you insert a new figure between Figure 3 and Figure 4, every \ref{fig:results} in the document automatically updates to the correct new number. In a 300-page thesis, this automation is invaluable.

Labels and References
% Set a label anywhere a number is generated
\section{Methodology} \label{sec:methodology}
\begin{equation} f(x) = x^2 \label{eq:squared} \end{equation}
\begin{figure}...\label{fig:results}...\end{figure}

% Reference using \ref{} or cleveref's \cref{}
See \cref{sec:methodology} for details.
  % → "See Section 3 for details."

Equation \eqref{eq:squared} shows that...
  % → "Equation (2) shows that..."

Results are plotted in \cref{fig:results}.
  % → "Results are plotted in Figure 4."

% Multiple references at once
\cref{fig:results,fig:comparison,tab:summary}
  % → "Figures 4, 5 and Table 2"

The hyperref Package

The hyperref package transforms all cross-references, citations, table of contents entries, and URLs into clickable links in the PDF output. This is now expected in digital academic submissions. Load it last in the preamble to avoid conflicts. The hidelinks option removes coloured boxes around links (preferred for most academic contexts). The package also enables PDF metadata — title, author, subject, keywords — which improves discoverability in digital repositories.

hyperref Configuration
\usepackage[
  hidelinks,
  pdftitle    = {Bayesian Climate Model Uncertainty},
  pdfauthor   = {Smith, J. and Jones, R.},
  pdfsubject  = {Climate Science, Statistical Methods},
  pdfkeywords = {Bayesian inference, climate models, MCMC}
]{hyperref}

% URLs in text
\url{https://www.overleaf.com}
\href{https://ctan.org}{CTAN package archive}

Thesis and Dissertation Formatting

A thesis or dissertation represents the most demanding LaTeX project most researchers will undertake — typically hundreds of pages, multiple chapters, elaborate front matter, strict institutional formatting requirements, and complex cross-referencing across chapters. The investment in setting up LaTeX correctly for a thesis pays substantial dividends: automatic chapter numbering, consistent headers and footers, auto-generated table of contents, list of figures, list of tables, and bibliography formatting that would require hours of manual work in a word processor.

Multi-File Document Structure

For any document over roughly 50 pages, separate each chapter into its own .tex file and use \include{} in the main file. This keeps each file manageable, allows selective compilation of individual chapters during writing (using \includeonly{}), and makes version control diffs meaningful — changes to Chapter 3 appear only in chapter03.tex rather than in a single 300-page monolithic file.

Multi-File Thesis Structure (main.tex)
\documentclass[12pt, a4paper, twoside, openright]{report}

% --- Packages and settings ---
\usepackage[inner=3.5cm, outer=2.5cm, top=2.5cm, bottom=2.5cm]{geometry}
\usepackage{fancyhdr}   % Custom headers and footers
\usepackage{setspace}  % Line spacing: \doublespacing, \onehalfspacing
\usepackage{titlesec}  % Customise chapter/section headings

\onehalfspacing         % Required by most institutions

\begin{document}

% --- FRONT MATTER ---
\frontmatter             % Roman page numbering
\include{frontmatter/titlepage}
\include{frontmatter/abstract}
\include{frontmatter/acknowledgements}

\tableofcontents
\listoffigures
\listoftables

% --- MAIN MATTER ---
\mainmatter              % Arabic page numbering resets to 1

% Compile only selected chapters during writing
% \includeonly{chapters/chapter02, chapters/chapter03}

\include{chapters/chapter01-introduction}
\include{chapters/chapter02-literature-review}
\include{chapters/chapter03-methodology}
\include{chapters/chapter04-results}
\include{chapters/chapter05-discussion}
\include{chapters/chapter06-conclusion}

% --- BACK MATTER ---
\backmatter
\printbibliography[heading=bibintoc, title={References}]
\include{backmatter/appendices}

\end{document}
Use Your Institution’s Thesis Template

Before configuring any thesis formatting manually, check whether your university provides an official LaTeX thesis template. Most UK, US, Canadian, and Australian research universities maintain templates on their graduate school or library websites, or on Overleaf’s template gallery. These templates implement your institution’s exact margin, font, spacing, and title page requirements automatically. Using the official template saves hours of configuration work and guarantees compliance with submission requirements. Search “[your university name] LaTeX thesis template” or check Overleaf’s thesis template gallery for your institution.

Journal Submission Workflow

Submitting a LaTeX paper to a journal involves more than uploading a PDF. Most journals require the source .tex files, figure files, and bibliography files so that their production team can work with the LaTeX source directly. Understanding the journal’s specific requirements and using their official template from the outset — rather than converting at the end — is the most reliable path to a smooth submission process.

1Get journal template
2Write using template
3Compile to PDF
4Verify all refs resolve
5Package source files
6Submit via portal

Major Publisher LaTeX Resources

Publisher LaTeX Class / Template Notes
Elsevier elsarticle Available on CTAN and Overleaf; supports most Elsevier journals; review, preprint, and final options
Springer svjour3, llncs svjour3 for Springer journals; llncs for Lecture Notes in Computer Science proceedings
IEEE IEEEtran Comprehensive class for all IEEE journals and conferences; extensive documentation available
ACM acmart Single class for all ACM journals and conferences; format controlled by document class options
AMS (Mathematics) amsart, amsbook AMS classes for mathematical journals; tightly integrated with amsmath
Nature Portfolio Springer Nature template Available on Overleaf; Nature journals now accept LaTeX submissions through Overleaf integration
PLOS PLOS template Available on Overleaf; required for PLOS ONE and other PLOS journals

Preparing Source Files for Submission

When submitting source files to a journal, include: the main .tex file, all chapter or section .tex files if using a multi-file structure, all figure files in their original format (PDF, EPS, or high-resolution PNG/TIFF as required), the .bib bibliography file, and any custom .cls or .sty style files that are not part of the standard LaTeX distribution. Most journals accept a .zip archive containing all these files. Do not include compiled output files (.pdf, .aux, .log, .bbl) unless specifically requested — the journal’s production team compiles from source.

arXiv Submission Considerations

When submitting a preprint to arXiv alongside journal submission, be aware that arXiv uses TeX Live and compiles your source on their servers. Avoid non-standard packages, custom fonts requiring system installation, or compiled bibliography (.bbl) files that conflict with arXiv’s TeX version. Submit the .bbl file (generated by running BibTeX/Biber locally) alongside your .tex file rather than relying on arXiv to run BibTeX. Test compilation on Overleaf before arXiv submission — Overleaf’s environment is closer to arXiv’s than most local installations.

Compilation and Error Debugging

Compiling a LaTeX document produces a PDF through one or more passes of the LaTeX engine. Unlike a word processor where the output is always visible, LaTeX compilation can fail — producing cryptic error messages that beginners find intimidating. Understanding the compilation process and common error patterns demystifies debugging and turns LaTeX errors from obstacles into fixable problems.

The Compilation Sequence

LaTeX typically requires multiple compilation passes to resolve all cross-references, citations, and the table of contents. A complete compilation sequence for a document using BibLaTeX is:

$ pdflatex main.tex # First pass — generates .aux file $ biber main # Process bibliography $ pdflatex main.tex # Second pass — resolves citations $ pdflatex main.tex # Third pass — resolves cross-refs, TOC # For BibTeX instead of Biber: $ pdflatex main.tex $ bibtex main $ pdflatex main.tex $ pdflatex main.tex # XeLaTeX for Unicode/custom fonts: $ xelatex main.tex $ biber main $ xelatex main.tex

Common LaTeX Errors and Fixes

Error Message Likely Cause Fix
! Undefined control sequence Mistyped command, or using a command from a package that hasn’t been loaded Check spelling of the command; verify the required package is in the preamble
! Missing $ inserted Used a math symbol or command outside of math mode Wrap the mathematical content in $ ... $ or an equation environment
! File 'package.sty' not found Package not installed in your TeX distribution Install via MiKTeX Package Manager, tlmgr (TeX Live), or use Overleaf which has all packages
Overfull \hbox (Xpt too wide) Content wider than the text column — a word doesn’t fit Add hyphenation hint, reword, or use the microtype package (often resolves automatically)
! LaTeX Error: \begin{X} on input line N ended by \end{Y} Mismatched begin/end environment names Find the opening \begin{X} and ensure it is closed by a matching \end{X}
Citations show as [?] or author-year as [Smith, ?] Bibliography not compiled, or citation key not in .bib file Run the full compilation sequence (pdflatex → biber/bibtex → pdflatex × 2); verify the key exists in .bib
Table of contents shows wrong page numbers Document needs another compilation pass Run pdflatex one more time — TOC updates on the pass after content is compiled
Debugging strategy: When compilation fails, read the error message in the log file from the first error, not the last. LaTeX errors cascade — one missing brace can produce dozens of downstream errors. Fix the first error reported, recompile, and repeat. In TeXstudio or Overleaf, click on an error message to jump to the offending line. Never ignore warnings about underfull boxes, overfull hboxes, or undefined references — they indicate real problems that affect output quality.

Advanced Packages Worth Knowing

Beyond the essential packages covered in the preamble section, a second tier of packages addresses specific academic writing requirements that arise regularly. Each of the following is well-maintained, widely used in academic publishing, and addresses a problem that is either impossible or significantly more difficult without it.

Advanced Packages for Academic Research
tikz / pgfplots
Create publication-quality diagrams and plots directly in LaTeX. TikZ (TikZ Is not a drawing program) is a complete vector drawing system. pgfplots builds on TikZ for scientific data plots. Both produce figures that exactly match the document’s fonts and styles. Complex but extremely powerful — the TikZ and PGF documentation covers every use case.
algorithm2e
Typeset algorithms and pseudocode in a clean, numbered format standard in computer science papers. Provides keywords (\While, \For, \If, \Return), automatic indentation, and algorithm caption/label/reference support. Alternatives include algorithmicx and algpseudocode.
listings / minted
Display source code with syntax highlighting. listings is built into most distributions with no extra dependencies. minted uses Python’s Pygments library for higher-quality highlighting across 300+ languages — requires shell-escape compilation flag but produces better output for code-heavy papers.
subcaption
Creates subfigures — multiple related panels (a), (b), (c) within a single figure float, each with its own caption and label. Standard in papers comparing multiple methods, experimental conditions, or time points. Supersedes the older subfig package.
longtable
Tables that span multiple pages with repeated header rows on each page. Essential for appendix tables, large datasets, or any table longer than a single page. Works with booktabs column rules.
todonotes
Inline TODO comments during writing. \todo{Check this reference} produces a coloured margin note visible in the PDF during drafting, and \listoftodos generates a list of all pending items. Suppress all notes for final output with the disable option.
changes
Track and display manuscript revisions for journal reviewer responses. Marks added, deleted, and replaced text in colour, with a list of all changes. Invaluable during the revision-and-resubmission stage of peer review.
fontspec
Custom fonts in XeLaTeX or LuaLaTeX. Allows any system font to be used: \setmainfont{Palatino}, \setsansfont{Helvetica Neue}. Required if your institution mandates a specific font (e.g., Times New Roman) not available in standard LaTeX distributions.
glossaries
Automated glossary and list of acronyms. Define terms once (\newglossaryentry{}) and reference them throughout the document (\gls{}). The package automatically generates a sorted glossary, handles first-use expansion of acronyms (BSc (Bachelor of Science)), and links references back to glossary entries.

LaTeX for Specific Disciplines

Different fields have developed specialised packages that have become discipline-specific standards. Chemistry papers use chemfig for structural formulae and mhchem for chemical equations. Music notation is handled by lilypond integration. Linguistics papers use gb4e for numbered example sentences with glosses. Genealogy trees, game theory payoff matrices, circuit diagrams — almost any domain-specific formatting problem has been solved by someone in the LaTeX community and packaged for reuse. The CTAN package archive is the definitive resource for finding discipline-specific solutions.

Version Control with Git and LaTeX

Because LaTeX documents are plain text, they integrate perfectly with Git version control. Every change to the .tex file is tracked as a diff — you can see exactly what changed between any two versions, revert to any previous state, and branch the document to try different structural approaches. This is impossible with binary Word files. For research papers with multiple authors and multiple revision rounds, a Git repository on GitHub or GitLab combined with Overleaf’s Git sync provides complete version history, author accountability, and a backup that never depends on any single person’s computer. For academic writing support and structuring complex research, our research paper writing services work with LaTeX, Word, and all major academic formats.

Learning LaTeX: Resources That Actually Help

The most common experience with learning LaTeX is initial frustration followed by rapid proficiency. The learning curve is real but short — within two to four weeks of regular use, the syntax becomes automatic, compilation errors are quickly diagnosed, and the advantages of the system are felt in every document. The following resources represent the most reliable, comprehensive, and up-to-date guides available.

The Not So Short Introduction

Tobias Oetiker’s The Not So Short Introduction to LaTeX 2ε — freely available as a PDF — is the standard beginner text. Comprehensive, well-organised, and updated for current LaTeX. Covers everything in this guide and more at a depth suitable for beginners.

Overleaf Documentation

Overleaf’s Learn LaTeX documentation is among the clearest and most comprehensive available online. Each page covers a specific topic with examples and live compilable code snippets. The 30-minute beginner tutorial is an excellent first step.

TeX Stack Exchange

The LaTeX community at tex.stackexchange.com has answered over 350,000 questions across every conceivable LaTeX topic. Search before asking — it is rare to encounter a LaTeX problem that has not already been solved and explained there.

The Recommended Learning Path

1
Start on Overleaf with a journal template

Open an Overleaf account, find the template for a journal in your field, and start writing a real paper in it. Learning LaTeX through a generic example is far less motivating and useful than learning it through a document you are actually writing.

2
Learn one concept at a time in context

When you need a figure, learn the figure environment. When you need a complex equation, look up the specific notation. Context-driven learning consolidates knowledge faster than reading comprehensively before writing.

3
Set up your bibliography system early

Configure Zotero with Better BibTeX and establish your citation workflow before you have many references to manage. Retrofitting bibliography management into a document with 60 manually formatted citations is painful; building it from the first citation is effortless.

4
Install a local distribution for your thesis

Once comfortable with LaTeX for journal papers, install a local TeX distribution and set up Git version control for your thesis. The combination of local compilation reliability with Git’s version history is the optimal thesis-writing environment.


Practical LaTeX Workflows for Different Academic Contexts

Different academic writing contexts — solo journal article, multi-author collaboration, thesis writing, conference submission — call for different LaTeX workflow configurations. Understanding which tools and conventions suit each context prevents the friction that comes from using a single-author local workflow for multi-author collaboration, or from using a cloud-only workflow for a 300-page thesis with complex compilation requirements.

Context Recommended Setup Key Considerations
Solo journal article Overleaf (free plan) with Zotero sync Use journal’s official template from the start; configure BibLaTeX with the journal’s style
Multi-author collaboration Overleaf Professional (shared project) or GitHub + local LaTeX Agree on citation key format; one person owns the .bib file; use todonotes for reviewer comments
PhD thesis Local TeX distribution + TeXstudio/VS Code + Git repository + Overleaf Git sync as backup Use institution’s template; separate chapters into files; back up daily; track with Git
Conference paper (fast turnaround) Overleaf with conference template Set page limit counter; check double-blind anonymisation requirements; submit .tex source to proceedings
Book / monograph Local installation with book class; Git for version control Publisher typically provides class file; plan chapter file structure before writing; index with makeidx

The academic writing process extends well beyond the technical production of LaTeX documents. Understanding how to construct a rigorous argument, synthesise sources, position your work within existing literature, and write with precision and clarity are skills that complement your LaTeX proficiency. For support with the writing dimensions of academic research across disciplines, our specialists provide research paper writing support, dissertation assistance, and academic editing and proofreading for LaTeX-produced documents at any stage.

LaTeX Competency Builds Across Your Research Career

The LaTeX skills you invest in developing as a postgraduate student compound in value across your research career. Every subsequent paper, conference submission, grant proposal, and book benefits from the same infrastructure — maintained .bib libraries, established templates, practiced workflows. Researchers who use LaTeX consistently report that it becomes faster than Word for technical documents within months of adoption, because the automation it provides — bibliography formatting, cross-referencing, equation numbering — eliminates entire categories of tedious manual work that accumulate across a career’s worth of publications. For students beginning this journey, our academic writing services support the full process from research through drafting to final submission.

FAQs

What is LaTeX and why do academics use it?

LaTeX is a document preparation system built on Donald Knuth’s TeX typesetting engine, where authors write plain text with markup commands that a compiler turns into a typeset PDF. Academics use it because it handles mathematical notation with unmatched precision, produces professional typesetting quality meeting journal standards, manages complex bibliographies automatically via BibTeX or BibLaTeX, handles large documents without performance issues, and maintains consistent formatting automatically. Most STEM journals either require or strongly prefer LaTeX submissions, and most provide official LaTeX templates for authors.

Is LaTeX better than Word for academic papers?

LaTeX is superior to Word for STEM academic papers involving substantial mathematical content, complex bibliographies, long documents, or journal submission where LaTeX templates are required. Word is preferable for quick documents without complex formatting, social science or humanities papers with minimal equations, or when collaborating with non-LaTeX users who need Track Changes. The practical rule: if your target journal provides a LaTeX template and your work involves equations, use LaTeX. If you are writing qualitative work for a journal that accepts Word, Word may be the more efficient choice.

How do I install LaTeX on my computer?

On Windows, install MiKTeX (miktex.org) or TeX Live. On macOS, install MacTeX (tug.org/mactex) — a complete distribution pre-configured for macOS. On Linux, install TeX Live via your package manager: sudo apt-get install texlive-full on Ubuntu/Debian. After installing the distribution, install an editor: TeXstudio is recommended for beginners on all platforms. Alternatively, use Overleaf (overleaf.com) — a browser-based LaTeX editor requiring no local installation and supporting real-time collaboration. Overleaf is the easiest starting point for most new users.

What LaTeX document class should I use for academic papers?

Always use the journal or institution’s provided class when one is available — it implements their formatting requirements automatically. For general academic papers without a mandated class, use article for journal papers and short reports, report for theses and longer technical documents with chapters, and book for academic monographs. For conference papers, use the conference-specific class (IEEEtran for IEEE, acmart for ACM, llncs for Springer LNCS). Using the correct class from the start saves significant reformatting work at submission time.

How do I manage citations and bibliography in LaTeX?

LaTeX has two bibliography systems. BibTeX is traditional and required by many older journal classes — use \cite{} commands in text, specify \bibliographystyle{}, and run bibtex during compilation. BibLaTeX with Biber is the modern alternative with more flexibility and better Unicode support. For both, maintain a .bib file of reference data — ideally exported from Zotero with the Better BibTeX plugin, which auto-generates consistent citation keys and keeps your .bib file synchronised with your reference library. Use the citation system your target journal specifies; otherwise, BibLaTeX is the better choice for new projects.

How do I write mathematical equations in LaTeX?

LaTeX has three main math contexts. Inline math uses $ ... $ delimiters for equations within text. Display equations use \begin{equation}...\end{equation} for numbered, centred equations on their own line. Multi-line equations use \begin{align}...\end{align} from the amsmath package, with & marking the alignment point and \\ ending each line. Essential commands: \frac{a}{b} for fractions, ^{} for superscripts, _{} for subscripts, \sum \int for summation and integration, and Greek letter names preceded by backslash. Load amsmath in every STEM paper — it is indispensable.

What is Overleaf and should I use it?

Overleaf is a browser-based LaTeX platform requiring no local installation. It provides real-time PDF compilation, multi-author collaboration, version history, a large template library for journals and universities, and direct submission pipelines to major publishers. The free plan is sufficient for individual work. Many universities provide free Overleaf Professional accounts — check your institution’s software portal. Overleaf is strongly recommended for beginners and for collaborative work. For thesis writing, pairing Overleaf with a local installation via Git sync provides both collaboration convenience and local compilation reliability.

How do I format a thesis in LaTeX?

Check whether your institution provides an official LaTeX thesis template — most do, available from the graduate school website or Overleaf’s thesis template gallery. Using it ensures automatic compliance with margin, font, spacing, and title page requirements. If no template exists, use the report or book class, set margins with geometry, control headers and footers with fancyhdr, and set line spacing with setspace. Separate each chapter into its own .tex file using \include{}, and track all work with Git version control. The hyperref package creates clickable cross-references and table of contents entries in the output PDF.

Need Support with Your Academic Research Paper?

Our academic writing specialists provide expert support across research papers, dissertations, and academic editing — including LaTeX-formatted documents for journal submission and thesis examination.

Get Academic Writing Support

LaTeX as a Research Infrastructure Investment

Learning LaTeX is genuinely an infrastructure investment rather than a one-off skill acquisition. The first paper you write in LaTeX will take longer than the equivalent Word document. The second paper, built on the first’s preamble and workflow, takes less time. By the fifth paper, your LaTeX workflow is faster than Word for technical content — because bibliography management, equation numbering, cross-referencing, and figure placement are all automated. By the tenth, you have a library of reusable components, templates, and custom commands that dramatically accelerate production of any new document.

The academic publishing ecosystem is built around LaTeX’s output quality. Understanding that ecosystem — how journals use LaTeX templates, how production editors work with .tex source files, how preprint servers compile documents — makes you a more fluent participant in scholarly communication. For students and researchers building that fluency alongside the demands of active research, our academic writing services and research paper support are available for every stage of the academic writing process, from first draft through journal revision and final submission.

Related Academic Writing Resources

Develop complementary research skills with our guides on literature review writing, citation and referencing conventions, dissertation and thesis writing, and academic proofreading and editing. Our research paper writing specialists work across all disciplines and submission formats.

Ready to Get Expert Academic Writing Support?

From LaTeX-formatted research papers to dissertation chapters and journal-ready manuscripts — our academic specialists support the full research writing workflow.

Get Professional Research Writing Help
Article Reviewed by

Simon

Experienced content lead, SEO specialist, and educator with a strong background in social sciences and economics.

Bio Profile

To top