निरंजन
I am dealing with a text which I am not allowed to change, but while printing it with LaTeX I get overfull hbox warnings. The following example demonstrates it.
```
\documentclass{article}
\usepackage{csquotes}
\begin{document}
Examples of suitable formats for Transparent copies include
plain ASCII without markup, Texinfo input format, \LaTeX\
input format, SGML or XML using a publicly available DTD,
and standard-conforming simple HTML, PostScript or PDF
designed for human modification.
\enquote{Massive Multiauthor Collaboration Site} (or
\enquote{MMC Site}) means any World Wide Web server that
publishes copyrightable works and also provides prominent
facilities for anybody to edit those works. A public wiki
that anybody can edit is an example of such a server. A
\enquote{Massive Multiauthor Collaboration} (or
\enquote{MMC}) contained in the site means any set of
copyrightable works thus published on the MMC site.
\end{document}
```
Usually when I get badboxes I just edit the text and make it suitable for the TeX standards, but now I don't have that option. I have to keep the text intact. Typographically what would be the best way to avoid these bad boxes and still not change the text?
Sorry, agreeably this question is too specific and about just one case, but I don't mind answers suggesting general ways of dealing with such cases which can be helpful to other users facing the issue with different texts.
Top Answer
Skillmon
You can relax TeX's penalties for "bad" typography locally using `\sloppy`:
```
\documentclass{article}
\usepackage{csquotes}
\overfullrule5pt
\begin{document}
\begingroup\sloppy
Examples of suitable formats for Transparent copies include
plain ASCII without markup, Texinfo input format, \LaTeX\
input format, SGML or XML using a publicly available DTD,
and standard-conforming simple HTML, PostScript or PDF
designed for human modification.
\enquote{Massive Multiauthor Collaboration Site} (or
\enquote{MMC Site}) means any World Wide Web server that
publishes copyrightable works and also provides prominent
facilities for anybody to edit those works. A public wiki
that anybody can edit is an example of such a server. A
\enquote{Massive Multiauthor Collaboration} (or
\enquote{MMC}) contained in the site means any set of
copyrightable works thus published on the MMC site.
\par
\endgroup
\end{document}
```
produces:
![niranjanoverfull.png](/image?hash=ab785bcb00faa94df7e26ab2ce0b0cbe4b36a02b26f2a805a75126bc8fff3444)
As you might see, the interword spaces are a bid too stretched out.
Answer #2
samcarter
In your specific case, loading the `microtype` package would be enough to avoid the overfull box warnings
```
\documentclass{article}
\usepackage{microtype}
\usepackage{csquotes}
\begin{document}
Examples of suitable formats for Transparent copies include
plain ASCII without markup, Texinfo input format, \LaTeX\
input format, SGML or XML using a publicly available DTD,
and standard-conforming simple HTML, PostScript or PDF
designed for human modification.
\enquote{Massive Multiauthor Collaboration Site} (or
\enquote{MMC Site}) means any World Wide Web server that
publishes copyrightable works and also provides prominent
facilities for anybody to edit those works. A public wiki
that anybody can edit is an example of such a server. A
\enquote{Massive Multiauthor Collaboration} (or
\enquote{MMC}) contained in the site means any set of
copyrightable works thus published on the MMC site.
\end{document}
```