Text FormattingOverfull box warning on a quote

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
wmeyer48
Posts: 10
Joined: Mon Sep 23, 2019 4:40 pm

Overfull box warning on a quote

Post by wmeyer48 »

I have this text:
As \href{https://en.wikipedia.org/wiki/SOLID}{Wikipedia} tells us:
\begin{quote}
In object-oriented computer programming, SOLID is a mnemonic acronym for five design principles intended to make software designs more understandable, flexible and maintainable. It is not related to the GRASP software design principles. The principles are a subset of many principles promoted by American software engineer and instructor Robert C. Martin. Though they apply to any object-oriented design, the SOLID principles can also form a core philosophy for methodologies such as agile development or adaptive software development. The theory of SOLID principles was introduced by Martin in his 2000 paper Design Principles and Design Patterns, although the SOLID acronym was introduced later by Michael Feathers.
\end{quote}

When I compile, I get an overfull box warning. If I comment out the quoted text, I get no warning. If I comment out from "mnemonic" to end of comment, I get no warning. I realize the warning does not prevent compiling to output, but would like to understand why this happens, and how I can eliminate the warning. The log text is:
Overfull \hbox (3.81561pt too wide) in paragraph at lines 1939--1940
[]\OT1/lmr/m/n/10.95 (-20) In object-oriented com-puter pro-gram-ming, SOLID is
a mnemonic
[]

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

Post Reply