Research papers, theses, and dissertations¶
Prerequisites: academic writing and bibliography management. Goal: organize a long document without losing a reproducible build.
Start with the institution's rules¶
A thesis is not simply a longer article. Universities may prescribe front matter, declarations, margins, line spacing, reference styles, accessibility, and archival formats. Use an official template when one exists. The example here teaches organization; it does not claim institutional approval.
For research papers, a venue's class and bibliography requirements take precedence over the generic article template. Do not modify a publisher's class to simulate compliance with an unrelated format.
A multi-file thesis¶
\documentclass[11pt,oneside]{book}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[margin=1in]{geometry}
\usepackage{microtype}
\usepackage[backend=biber,style=authoryear]{biblatex}
\addbibresource{../../resources/references.bib}
\usepackage{hyperref}
\title{A Small Demonstration Thesis}
\author{LaTeX for Everyone}
\date{\today}
\begin{document}
\frontmatter
\maketitle
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
This teaching document demonstrates a multi-file thesis structure.
It is not an institution-approved thesis or a submitted dissertation.
\tableofcontents
\mainmatter
\input{chapters/introduction}
\input{chapters/method}
\input{chapters/conclusion}
\backmatter
\printbibliography[heading=bibintoc]
\end{document}
The book class provides \frontmatter, \mainmatter, and \backmatter.
These organize numbering and chapter behavior; they are not commands available
in every class. \input inserts a file's contents without creating a separate
document.
Here is the first chapter:
\chapter{Introduction}
\label{chap:introduction}
Long documents benefit from a stable structure. LaTeX supports
cross-references and bibliographies without manual renumbering
\parencite{lamport1994}.
\section{Scope}
The research question for this demonstration is practical: how can
an author split a document into manageable source files?
The method and conclusion complete the working example.
Compile and expected output¶
From the repository root, with the shared bibliography still in place:
Open build/main.pdf. Expect a title page, an abstract, a table of contents,
three numbered chapters, an appendix with a reproducibility checklist, and a
bibliography. Chapter cross-references should resolve.
The appendix uses alphabetic numbering.
Manage a growing project¶
- Keep one clear root document and compile it from its own directory.
- Name files after their purpose rather than their current chapter number.
- Use labels such as
chap:methodrather thanchapter2. - Commit sources, figures, data, and build instructions; keep disposable auxiliary files out of version control.
- For a large project,
\includeand\includeonlycan support partial compilation, but\includeintroduces page breaks and auxiliary files. Understand that behavior before replacing\input.
Practice¶
Add a chapter named evaluation.tex, include it before the conclusion, and
reference it from the introduction. Put it under version control.
Check: the contents page updates automatically, references remain correct after reordering chapters, and another person can build from a clean checkout.
Next: complete research workflow.