LaTeX is ubiquitous among developers, engineers, and technical writers for creating high-quality documentation. The ability to organize content and annotate text through footnotes is an indispensable aspect of technical authoring. This definitive guide explores the diverse functionality of LaTeX footnotes that every modern LaTeX user should know.
LaTeX Footnotes 101
Before diving deeper, let‘s briefly recap the basics of adding footnotes in LaTeX for the uninitiated.
To insert a footnote, use the \footnote{...} command with the footnote text inside the curly brackets:
\documentclass{article}
\begin{document}
Here is some text.\footnote{My first footnote}
\end{document}
This will automatically add the footnote text at the bottom of the page numbered sequentially. You can add multiple footnotes by using \footnote repeatedly.
Now let‘s build on these basics to unlock the full potential of LaTeX footnotes.
Formatting Footnotes
LaTeX provides extensive custom formatting options to tweak the typography of footnotes as per publication requirements:
Changing Number Format
By default, footnote numbers use the \arabic numbering style starting from 1. This can changed globally using:
\renewcommand{\thefootnote}{\roman{footnote}}
Supported formats include:
\arabic– 1, 2, 3, …\roman– i, ii, iii, …\Roman– I, II, III, …\alph– a, b, c, …\Alph– A, B, C, …
Specifying Font
The font family, size, weight, posture, etc. can be modified:
\setlength{\footnotesep}{0.5cm}
\renewcommand{\footnotesize}{\small}
\renewcommand{\thefootnote}{\textbf{\alph{footnote}}}
This sets the space between footnotes, font size to small, and number style to bold alphabet letters respectively.
Controlling Space Between Notes
The \footnotesep length variable controls spacing between multiple footnotes:
\setlength{\footnotesep}{1cm} % More space between notes
Adding Rule/Separator
Insert a horizontal rule to visually separate footnotes from the main text using \footnoterule:
\footnoterule
\footnote{First footnote text}

Figure 1. Footnote with rule separator
Hyperlinks and Gobble Spacing
Modern LaTeX engines like XeLaTeX allow new functionality like hyperlinks within footnotes:
\usepackage{hyperref}
\footnote{\url{https://www.example.com}}
The gobble package disables automatic spacing after footnotes which can cause issues:
\usepackage{gobble}
\gobblefourfootnotes % Disable spacing for up to 4 footnotes
LaTeX vs Word Footnotes
LaTeX footnotes are far more powerful and flexible versus other document preparation systems like Microsoft Word. Here is a comparison:
| Capability | LaTeX | Word |
|---|---|---|
| Automated sequential numbering | Yes | Yes |
| Multiple formatting options for numbers | Yes | No |
| Per-document numbering style customization | Yes | No |
| Mix numbered and symbols based footnotes | Yes | Limited |
| Control typographic appearance | Yes | Limited |
| Hyperlinks in footnotes | Yes | No |
| Integration with BibTeX citations | Yes | No |
| Mulitple columns support | Yes | Limited |
| Professional publishing quality | Yes | No |
Table 1. LaTeX vs Word footnote feature comparison
Clearly, LaTeX provides unparalleled tools for footnote management suited for advanced publishing use cases.
Footnote Internals
Understanding the behind-the-scenes working of footnotes can help troubleshoot tricky formatting issues.
At a high level, here is what happens when LaTeX processes footnotes:
- LaTeX stores footnote text in a temporary register when
\footnoteis encountered - The footnote number marker is inserted in the actual text
- At the page bottom, the stored footnote content is recalled and rendered
- Voilà! Numbered footnote text now appears at bottom seamlessly
This is an oversimplification – the actual TeX algorithms for elegant footnote placement involve some very complex logic1. But the separations of concerns allows flexibility.
Now let‘s see some real-world applications and best practices when working with LaTeX footnotes.
1 An excellent reference is Frank Mittelbach‘s 2004 TUGboat paper "A new algorithm for proper placement of footnotes" which describes the refinements to the original TeX footnote algorithm.
Diverse Use Cases
LaTeX footnotes shine for annotating and augmenting content in technical documents:
Copyright Attribution
Copyright info is best placed unobstrusively as a footnote.
This document uses data from Project X\footnote{Project X datasets available under CC BY 4.0 license}
Citation and References
LaTeX supports BibTeX to autogenerate formatted academic references. Footnotes can also directly embed citations:
Several studies have attempted neural style transfer for code.\footnote{See \citet{yin2017syntactic}}
Commentary and Exposition
Annotations add color commentary without interrupting the main text flow:
The experimental technique has origins in quantum optics\footnote{Technically quantum nonlinear optics. The author should expand this citation.}
Whitepapers and Technical Reports
Long form documents often use footnotes to handle citations, cross-references, etc.
Accessibility Support
Semantic markup like \footnotemark and \footnotetext can improve accessibility for disabled readers relying on screen-readers.
In short, footnotes help provide extra context to enhance technical writing for scientific communication, software documentation, academic publishing, and related applications.
Best Practices
Here are some key tips to effectively leverage footnotes in your LaTeX authoring:
Keep It Simple
Avoid complex nested footnote formatting unless strictly required. Readers may find it confusing.
Be Judicious
Use footnotes sparingly to annotate text. Too many footnotes can make text disjointed and hamper readability.
Check Cross-References
If citing equations, figures, or tables – validate the footnote cross-references point to the correct spots.
Review Numeric Style
Ensure footnote numbering styles are consistent across document chapters or sections.
Automate Where Possible
Use BibTeX citation integration instead of manually adding footnote literature citations.
Strict adherence to these best practices will enable you to harness footnotes effectively.
Troubleshooting Issues
LaTeX handles footnote flow and typesetting automatically. But sometimes frustrating errors can crop up:
Footnotes Out of Sequence
LaTeX footnote numbering starts from 1 on each page. Verify expected sequencing across pages.
Spacing Problems
Footnotes spacing can sometimes collapse due to complex page breaking logic. Tweak \footnotesep length for consistency.
Footnotes Not Showing
If defining custom footnote styles, ensure LaTeX can still recognize and process the footnotes.
Floating Footnotes
In multicolumn layout, you may encounter issues with footnote float placement. Using packages like stfloats can help resolve.
In particular, footnote placement in two-column text can pose challenges depending on LaTeX engine and compilation method2. Debugging two-column footnotes could be a blog post by itself!
2 For example pdfLaTeX vs XeLaTeX, or single-stage compilation vs build cycles.
While anomalies are rare with regular use, knowledge of potential pitfalls helps in troubleshooting.
Conclusion
This guide should provide a comprehensive overview of footnote functionality that expands upon basic LaTeX footnote insertion. We covered:
- Formatting options like fonts, spacing, rules
- Comparison with Word footnotes
- Understanding internal processing logic
- Diverse use cases for technical writing
- Best practices for footnote usage
- Troubleshooting of footnote issues
LaTeX footnotes may seem just like a common document feature, but in reality offer immense flexibility and power in the hands of a skilled user. Mastering footnotes is a must for any LaTeX expert authoring advanced scientific reports, research papers, software manuals, or other technical documents.
The next time you need to annotate text with notes or citations, hopefully this piece will inspire you to push the boundaries of LaTeX footnote utility!


