summaryrefslogtreecommitdiff
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-16 13:25:40 -0300
committerJonathan Corbet <corbet@lwn.net>2016-08-18 16:42:02 -0600
commit85c21e5c3ee74fb75d690c57f7066bae7e2dca55 (patch)
tree65766dc12b0df9cb8d4862e9478dd247fb85ab1f /Documentation/conf.py
parenta682ec4ba10c88231cdbb8bb9823b2cc749d6364 (diff)
downloadlwn-85c21e5c3ee74fb75d690c57f7066bae7e2dca55.tar.gz
lwn-85c21e5c3ee74fb75d690c57f7066bae7e2dca55.zip
docs-rst: better adjust margins and font size
As we have big tables, reduce the left/right margins and decrease the point size to 8pt. Visually, it is still good enough, and now less tables are too big to be displayed. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 06e6db916d2f..61b71ae60ad0 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -249,7 +249,7 @@ latex_elements = {
'papersize': 'a4paper',
# The font size ('10pt', '11pt' or '12pt').
-'pointsize': '10pt',
+'pointsize': '8pt',
# Latex figure (float) alignment
#'figure_align': 'htbp',
@@ -260,6 +260,9 @@ latex_elements = {
# Additional stuff for the LaTeX preamble.
'preamble': '''
+ % Adjust margins
+ \\usepackage[margin=0.5in, top=1in, bottom=1in]{geometry}
+
% Allow generate some pages in landscape
\\usepackage{lscape}