diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-11-17 09:42:06 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-12-05 16:07:45 -0500 |
commit | a2b535d9ef8864b2d314c739a0e788a6df911aaf (patch) | |
tree | e28bea0a4f7a4da23a5cfe651b6e6569dc7af94b /docs | |
parent | e49e54705dee111b64c061a01b1e193d89cf84ed (diff) | |
download | haskell-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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/conf.py | 4 |
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 ''', } |