Preparing a research paper involves more than presenting an idea or explaining the results of an experiment. Researchers must also organise their work, format mathematical expressions, number figures and tables, cite relevant studies, and prepare a document that follows the journal's submission guidelines. Managing all these elements can become challenging, particularly when a manuscript contains equations, scientific symbols, references, or multiple sections.
LaTeX offers a practical solution to many of these challenges. It is a document preparation system widely used in mathematics, engineering, physics, computer science, and other academic disciplines. Instead of relying entirely on visual formatting tools, authors write their content alongside simple commands that control the document's structure and appearance.
For beginners, LaTeX may initially seem unfamiliar because much of the formatting is written as code. However, learning a few basic commands can make research paper preparation easier and more consistent.
This guide explains what LaTeX is, how to get started, how to write different sections of a research paper, and how to manage references, equations, figures, and tables.
What Is LaTeX?
LaTeX is a document preparation system built on top of the TeX typesetting system. It allows authors to create professionally formatted documents by combining ordinary text with commands that describe the document's structure.
For example, a researcher can identify a section using a command rather than manually changing the font size and applying bold formatting. LaTeX then processes the source file and produces a formatted document, commonly as a PDF.
A simple LaTeX document looks like this:
\documentclass{article}
\begin{document}
\title{My First Research Paper}
\author{Author Name}
\date{\today}
\maketitle
\section{Introduction}
This is the introduction to my research paper.
\end{document}
Although the source contains commands such as \documentclass and \section, the resulting PDF displays a formatted title and section heading.
The key idea is that authors focus on the content and structure, while LaTeX handles much of the typesetting.
Why Do Researchers Use LaTeX?
LaTeX is particularly helpful when a research manuscript contains technical material or must follow a specific publication format.
1. Professional and consistent formatting
LaTeX applies formatting rules throughout the document. Headings, paragraphs, mathematical expressions, and other elements follow a consistent structure, reducing the need to adjust each item individually.
2. Accurate mathematical equations
Mathematical notation is one of LaTeX's strongest features. Researchers can write fractions, matrices, integrals, summations, Greek letters, and complex equations using readable commands.
For example:
\[
E = mc^2
\]
This produces the familiar equation expressing the relationship between mass and energy.
3. Automatic numbering
Sections, equations, tables, figures, and references can be numbered automatically. When content is added or rearranged, LaTeX can update the numbering during compilation.
4. Easier reference management
LaTeX works with bibliography tools such as BibTeX and Biber. These tools help organise references and format citations according to the selected bibliography style.
5. Support for journal templates
Many academic journals and conferences provide LaTeX templates. Starting with an official template can help authors meet publication requirements without recreating the formatting from scratch.
6. Better handling of long documents
For lengthy manuscripts, LaTeX can help manage chapters, appendices, cross-references, bibliographies, and supplementary material in an organised way.
LaTeX is not compulsory for every research paper. Microsoft Word and other editors remain suitable for many publications. The best choice depends on the author's workflow, the paper's complexity, and the target journal's instructions. If you are preparing a manuscript for a specific journal, our guide on how to write a research paper or article in engineering covers the broader writing process.
How to Get Started with LaTeX
Beginners generally have two options: use an online editor or install LaTeX on their computer.
Option 1: Use an online LaTeX editor
An online editor is often the easiest starting point because it does not require a local installation.
Overleaf is a popular browser-based LaTeX editor. Users can create projects, edit source files, compile documents, view PDFs, and collaborate with co-authors.
A typical workflow is:
- Create an account on the online editor.
- Start a blank project or select a suitable research paper template.
- Open the main
.texfile. - Enter the document content and LaTeX commands.
- Compile the source to generate a PDF.
- Review the output and correct any errors.
This approach is particularly convenient for students who are learning LaTeX for the first time.
Option 2: Install LaTeX on your computer
Researchers who prefer working offline can install a LaTeX distribution and use a compatible editor.
Common options include TeX Live, MiKTeX, and MacTeX. The installation process varies by operating system, and a suitable editor is needed to write and compile the source files.
A local installation can be useful for large projects, offline work, or workflows that involve scripts and version control.
Understanding the Basic Structure of a Research Paper
Most research papers contain a predictable set of sections, although the exact requirements vary across disciplines and journals.
A basic LaTeX manuscript can be organised as follows:
\documentclass[12pt]{article}
\title{A Sample Research Paper}
\author{Author Name}
\date{}
\begin{document}
\maketitle
\begin{abstract}
Write a brief summary of the research problem,
methodology, main findings, and conclusions.
\end{abstract}
\section{Introduction}
Introduce the research problem and objectives.
\section{Literature Review}
Discuss relevant previous studies.
\section{Methodology}
Explain the methods used in the research.
\section{Results and Discussion}
Present and interpret the findings.
\section{Conclusion}
Summarise the main contributions and limitations.
\bibliographystyle{plain}
\bibliography{references}
\end{document}
This example provides a starting structure rather than a universal journal format. Some journals require a different document class, an unnumbered abstract, specific heading names, or a particular reference style. Always check the target publication's instructions before preparing the final manuscript. For guidance on structuring specific sections, see our article on engineering research methodology: concepts, types and applications.
Essential LaTeX Commands for Beginners
Learning a small number of commands is usually enough to begin drafting a research paper.
| Command | Purpose |
|---|---|
\documentclass{article} |
Selects the document type |
\begin{document} |
Starts the document body |
\end{document} |
Ends the document body |
\section{Title} |
Creates a numbered section |
\subsection{Title} |
Creates a subsection |
\textbf{Text} |
Makes text bold |
\textit{Text} |
Makes text italic |
\emph{Text} |
Emphasises text |
\label{key} |
Defines a reference label |
\ref{key} |
Refers to a numbered item |
\cite{key} |
Inserts a citation using the bibliography system |
LaTeX commands generally begin with a backslash. Many commands accept their arguments inside curly braces. Some commands also accept optional settings inside square brackets.
For example:
\section{Research Methodology}
This creates a section titled "Research Methodology."
One useful habit is to give labels meaningful names, such as sec:methodology, fig:results, or eq:main, rather than using vague labels that are difficult to recognise later.
Writing Mathematical Equations in LaTeX
Researchers in technical disciplines frequently use mathematical expressions to explain models, assumptions, algorithms, and experimental relationships.
LaTeX supports both inline mathematics and displayed equations.
Inline equations
Use dollar signs to include a mathematical expression within a sentence.
The area of a circle is given by $A = \pi r^2$.
The equation appears within the paragraph rather than on a separate line.
Displayed equations
For an equation that deserves its own line, use display mathematics:
\[
a^2 + b^2 = c^2
\]
This places the equation on a separate line without an equation number.
Numbered equations
Use the equation environment when the equation needs a number:
\begin{equation}
F = ma
\label{eq:newton}
\end{equation}
You can refer to it elsewhere in the manuscript:
As shown in Equation~\ref{eq:newton}, force
depends on mass and acceleration.
The equation number is generated automatically.
Fractions, Greek letters, and summations
LaTeX makes many common mathematical expressions straightforward to write.
\[
\frac{a+b}{c}
\]
\[
\alpha + \beta = \gamma
\]
\[
\sum_{i=1}^{n} x_i
\]
These examples demonstrate a fraction, Greek letters, and a summation. Once the basic syntax becomes familiar, more complicated equations can be assembled from similar components.
Adding Figures and Tables to a Research Paper
Figures and tables are important for presenting experimental results, comparisons, datasets, diagrams, and statistical findings. LaTeX provides environments that help place, caption, label, and reference these elements.
Adding a figure
To insert an image, first load the graphicx package in the document preamble.
\usepackage{graphicx}
Then add the figure to the document:
\begin{figure}[htbp]
\centering
\includegraphics[width=0.75\linewidth]{results.png}
\caption{Overview of the experimental results.}
\label{fig:results}
\end{figure}
In this example, results.png is the image filename. The image must be available in the project, and the filename must match the uploaded file.
The \caption command adds a caption, while \label creates a reference point. You can refer to the figure using:
Figure~\ref{fig:results} presents the experimental results.
The placement option [htbp] suggests possible positions for the figure; it does not guarantee an exact location. LaTeX may move figures to maintain the document's layout.
Creating a table
Tables can be written using the tabular environment.
\begin{table}[htbp]
\centering
\caption{Illustrative comparison of methods}
\label{tab:comparison}
\begin{tabular}{lcc}
\hline
Method & Accuracy & Time (s) \\
\hline
Method A & 91\% & 12 \\
Method B & 94\% & 15 \\
\hline
\end{tabular}
\end{table}
Here, lcc specifies one left-aligned column followed by two centred columns. The & symbol separates cells, while \\ ends a row.
These figures and values are illustrative only. When preparing a real research paper, use actual results and ensure that captions, units, decimal places, and table headings are clear.
For complex tables, additional packages such as booktabs can improve readability. However, the formatting requirements of the target journal should take priority over personal styling preferences.
Managing References and Citations
Accurate referencing is essential in academic writing. Researchers must acknowledge previous work, distinguish their contributions from existing findings, and provide readers with enough information to locate cited sources.
LaTeX supports several approaches to bibliography management. One common method uses a separate .bib file.
Step 1: Create a bibliography file
Create a file named references.bib and add bibliographic records to it.
For example:
@article{sample2025,
author = {Author, A.},
title = {An Example Research Article},
journal = {Example Journal},
year = {2025},
volume = {10},
number = {2},
pages = {100--110}
}
This is a demonstration record, not a real publication. Replace it with accurate details from the source you actually consulted.
Step 2: Cite the reference in your paper
Use the citation key defined in the bibliography file:
Previous studies have examined this problem
\cite{sample2025}.
Step 3: Add the bibliography to the document
For a basic BibTeX workflow, place the following commands near the end of the document:
\bibliographystyle{plain}
\bibliography{references}
The plain style is only an example. A journal may require a different bibliography style or its own template and citation commands.
If a journal uses author-date citations, numeric citations, or a specialised reference format, select the appropriate style and follow its instructions. BibLaTeX with Biber is another option for managing more advanced bibliographies.
Important: LaTeX can format references, but it cannot guarantee that the bibliographic information is correct. Check author names, publication years, titles, page ranges, DOIs, and other details against the original sources.
Understanding LaTeX Packages
Packages extend LaTeX by adding features or improving how specific content is handled. They are loaded in the preamble, which is the part of the source file before \begin{document}.
Some commonly used packages include:
| Package | Typical use |
|---|---|
graphicx |
Inserting and resizing images |
amsmath |
Formatting mathematical expressions |
amssymb |
Additional mathematical symbols |
hyperref |
Creating clickable links and PDF references |
booktabs |
Producing professional-looking tables |
geometry |
Adjusting page dimensions and margins |
babel |
Language-specific typesetting support |
For example:
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{hyperref}
\begin{document}
Your research paper begins here.
\end{document}
Beginners should avoid loading many packages without understanding their purpose. Some packages may conflict with one another, and a journal template may already load the packages it needs.
Common LaTeX Errors and How to Fix Them
Learning LaTeX usually involves a few mistakes. Most beginner problems can be resolved by reading the error message and checking the relevant part of the source file.
1. Missing braces
A command such as \textbf{Important finding} requires a matching opening and closing brace. An unmatched brace can cause compilation errors or unexpected formatting.
2. Unclosed environments
Every environment opened with \begin{...} generally needs a matching \end{...}.
For example, an equation environment must be closed with \end{equation}.
3. Special characters
Characters such as %, $, &, _, and # have special meanings in LaTeX. When they must appear as ordinary text, they often need to be escaped.
For example:
The improvement was 25\% compared with the baseline.
4. Missing images or bibliography files
Check that image filenames and bibliography filenames match the files in your project. File extensions and letter case may also matter, depending on the system.
5. Undefined citations and references
A citation or reference may initially appear as a question mark if its target is missing or the document has not completed the required compilation steps. Confirm that the relevant key exists and follow the editor's compilation instructions.
6. Ignoring journal requirements
A manuscript that compiles successfully is not necessarily ready for submission. The journal may require a specific template, citation style, page layout, author declaration, or file format. Always check the submission guidelines. For a broader overview of journal selection, see our article on top factors to consider when selecting an engineering journal for publication.
Best Practices for Writing a Research Paper in LaTeX
A few simple habits can make the writing and revision process more manageable.
- Start with the journal template: Use the official template whenever one is available.
- Write in small sections: Draft the introduction, methodology, results, and other sections separately before assembling the final paper.
- Use labels and cross-references: Avoid typing figure, table, and equation numbers manually.
- Keep references organised: Maintain a clean bibliography file and verify each citation.
- Use descriptive filenames: Names such as
methodology-diagram.pngare easier to manage than generic filenames. - Compile regularly: Check the PDF after making significant changes instead of waiting until the end.
- Keep a backup: Save copies of the source files, bibliography, images, and other project assets.
- Review the final PDF: Check equations, figure quality, page breaks, citations, special characters, and the overall layout.
- Follow publication ethics: Cite sources accurately, report results honestly, and ensure that all authors have approved the final manuscript.
Researchers collaborating with co-authors may also benefit from version control or the revision history available in their editing platform.
Is LaTeX Better Than Microsoft Word for Research Papers?
Neither tool is the best choice for every researcher. The decision depends on the manuscript and the publication workflow.
| Consideration | LaTeX | Microsoft Word |
|---|---|---|
| Mathematical equations | Particularly suitable for complex notation | Supports equations through its equation editor |
| Automatic numbering | Strong support for structured references | Available through built-in document features |
| Reference management | BibTeX and BibLaTeX workflows | Often integrated through reference-management tools |
| Learning curve | Requires learning commands and syntax | Familiar visual editing interface for many users |
| Journal templates | Common in technical journals and conferences | Widely used across academic disciplines |
| Collaborative editing | Supported by online editors and source-control workflows | Supported through shared documents and review tools |
For papers containing many equations, algorithms, or cross-references, LaTeX may be especially convenient. For manuscripts involving extensive tracked changes or collaborators who prefer visual editing, Word may be more practical.
Before choosing, check whether the intended journal accepts LaTeX submissions and whether it provides a preferred template.
LaTeX can make research paper preparation more structured by helping authors manage equations, figures, tables, citations, and document formatting. Although its command-based approach takes some getting used to, beginners can make steady progress by learning the basic document structure and practising with short examples.
A sensible starting point is to create a simple manuscript, add a few sections, insert one equation and one figure, and then practise adding references. Once these tasks become familiar, more advanced features are easier to learn.
Ultimately, the purpose of LaTeX is not simply to produce an attractive PDF. It is to help researchers present their findings clearly, consistently, and in a format that meets academic publication requirements. For a step-by-step overview of the entire manuscript process, you can also refer to our guide on how to write a complete research paper.
If you found this guide useful, you may also enjoy these related reads:
