summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-17 09:42:06 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-12-05 16:07:45 -0500
commita2b535d9ef8864b2d314c739a0e788a6df911aaf (patch)
treee28bea0a4f7a4da23a5cfe651b6e6569dc7af94b
parente49e54705dee111b64c061a01b1e193d89cf84ed (diff)
downloadhaskell-a2b535d9ef8864b2d314c739a0e788a6df911aaf.tar.gz
users guide: Try to silence underfull \hbox warnings
We use two tricks, as suggested here [1]: * Use microtype to try to reduce the incidence of underfull boxes * Bump up \hbadness to eliminate the warnings
-rw-r--r--docs/users_guide/conf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users_guide/conf.py b/docs/users_guide/conf.py
index 597d6765c7..802d4c7e92 100644
--- a/docs/users_guide/conf.py
+++ b/docs/users_guide/conf.py
@@ -107,6 +107,10 @@ latex_elements = {
\setromanfont{DejaVu Serif}
\setmonofont{DejaVu Sans Mono}
\setlength{\\tymin}{45pt}
+
+% Avoid a torrent of over-full \hbox warnings
+\usepackage{microtype}
+\hbadness=99999
''',
}