Skip to content

Commit

Permalink
docs-rst: fix verbatim font size on tables
Browse files Browse the repository at this point in the history
On Sphinx 1.6, fancy boxes are used for verbatim. The sphinx.sty
sets verbatim font is always \small. That causes a problem
inside tables that use smaller fonts, as it can be too big for
the box.

Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
mchehab authored and Jonathan Corbet committed Aug 26, 2017
1 parent c1aa387 commit 646056e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
latex_elements['preamble'] += '\\usepackage[margin=0.5in, top=1in, bottom=1in]{geometry}'
elif major == 1 and (minor > 5 or (minor == 5 and patch >= 3)):
latex_elements['sphinxsetup'] = 'hmargin=0.5in, vmargin=1in'

latex_elements['preamble'] += '\\fvset{fontsize=auto}\n'

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title,
Expand Down

0 comments on commit 646056e

Please sign in to comment.