Documentation/Spacing & Layout/Fix: Extra Space After Periods in LaTeX
Spacing & Layout

Fix: Extra Space After Periods in LaTeX

LaTeX follows a traditional typographic convention: it adds extra space after a period that ends a sentence. This looks great for sentences, but causes ugly gaps after abbreviations like 'Dr.', 'Fig.', or 'e.g.' where the period doesn't end a sentence. Understanding how LaTeX decides sentence boundaries — and how to override it — will make your documents look polished. Bibby AI detects suspicious spacing after common abbreviations and suggests fixes automatically, a smart feature that Overleaf doesn't offer.

Understand the Problem and Fix Individual Cases

LaTeX treats a period after a lowercase letter as a sentence end (adding extra space) and a period after an uppercase letter as an abbreviation (normal space). Use \@ and ~ to override:

\documentclass{article}
\begin{document}

% Problem: extra space after abbreviations
% "See Fig. 3" has too much space after "Fig."

% Fix 1: backslash-space after the period
See Fig.\ 3 for details.

% Fix 2: tie (~) to also prevent line break
Dr.~Smith and Prof.~Jones

% Fix 3: force sentence-end space after capitals
% LaTeX thinks "...in the USA. The..." has no sentence end
...in the USA\@. The next sentence starts here.

\end{document}

Use frenchspacing to Disable Extra Spacing Globally

If you prefer uniform spacing everywhere (common in many modern style guides), use \frenchspacing:

\documentclass{article}

% Option 1: Disable extra sentence spacing globally
\frenchspacing

\begin{document}

% Now ALL periods get the same spacing
Dr. Smith went to Washington. He arrived on Monday.
See Fig. 3. The results are in Table 2.

% To re-enable default spacing locally:
{\nonfrenchspacing
This paragraph has traditional extra sentence spacing.
}

\end{document}

💡 Tips

  • Many modern style guides and journals prefer \frenchspacing — check your target publication's guidelines.
  • Use \@ before the period when a sentence ends with a capital letter: NASA\@. ensures correct spacing.
  • Use \ (backslash-space) or ~ after abbreviations like 'etc.\ ', 'vs.\ ', 'i.e.\ ' to suppress the extra space.
  • Bibby AI highlights likely abbreviation-spacing issues in your source and offers one-click fixes.

Try This in Bibby AI

Write LaTeX faster with AI auto-complete and instant compilation.

Start Writing Free

Related Tutorials

Fix: Extra Space After Periods in LaTeX | Bibby AI