summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-11-17 09:42:06 -0500
committerBen Gamari <ben@smart-cactus.org>2019-11-17 09:43:43 -0500
commitf9c4ca1fcc820fca70a892d39fba627a3aab9867 (patch)
tree0f8497231db0258decc99fe8c39a91d727284ad5
parent2f5ed225b78b32c65d023072d78ae5d176e2f04b (diff)
downloadhaskell-wip/silence-underfull-hboxes.tar.gz
users guide: Try to silence underfull \hbox warningswip/silence-underfull-hboxes
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
''',
}