GeneralExtra space after punctuation

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Extra space after punctuation

Post by meho_r »

LaTeX leaves extra space after punctuation, at the sentence end, which sometimes looks pretty bad (like a hole ;)). I know there's a way to regulate this, but I've forgotten how :( Anyone?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

pumpkinegan
Posts: 91
Joined: Thu May 03, 2007 10:29 pm

Extra space after punctuation

Post by pumpkinegan »

Just put

Code: Select all

\frenchspacing
in the preamble (before \begin{document}).
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Extra space after punctuation

Post by meho_r »

Thanks. But I didn't mean to suppress spacing in all places in doc, only those that are too big. Generally, spacing after punctuation is good, about one-and-half or two regular spaces. But, if LaTeX can't find suitable place to hyphenate some words (especially if a line contain several 'bigger' words), it'll simply enlarge space after sentence end and that often doesn't look good (sometimes about 3-4 regular spaces). I used to manually correct this issue, but 'manually' in LaTeX can be veeeery painful ;)
Post Reply