Skip to content

Commit 8eb7ec9

Browse files
committed
doc: add explicit verbatim spacing for pdf
Define 0.75em spacing in code/literal blocks to subjectively improve the presentation of the content in these blocks. Signed-off-by: James Knight <[email protected]>
1 parent 46755cd commit 8eb7ec9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@
8181
# -- Options for Latex output --------------------------------------------
8282

8383
latex_elements = {
84+
# explicit verbatim spacing (looks better?)
85+
'sphinxsetup': r'''
86+
verbatimsep=0.75em,
87+
''',
8488
# remove empty pages
8589
'extraclassoptions': 'openany,oneside',
8690
# custom title

0 commit comments

Comments
 (0)