From 125e9746a5da925243dabf67b2609b556bb9215a Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 28 Dec 2009 04:12:10 +0000 Subject: Adjust for 7.5x9.25in output. --- docs/conf.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 71d8b9868..5c644ae0b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -185,3 +185,19 @@ latex_use_parts = True # If false, no module index is generated. latex_use_modindex = False + +## Say, for a moment that you have a twoside document that needs a 3cm +## inner margin to allow for binding and at least two centimetres the +## rest of the way around. You've been using the a4wide package up until +## now, because you like the amount of text it places on the +## page. Perhaps try something like this in your preamble: + +## \usepackage[bindingoffset=1cm,textheight=22cm,hdivide={2cm,*,2cm},vdivide={*,22cm,*}]{geometry} + + +_PREAMBLE = r"""\usepackage[bindingoffset=0.45in,textheight=7.25in,hdivide={0.5in,*,0.75in},vdivide={1in,7.25in,1in},papersize={7.5in,9.25in}]{geometry}""" + +latex_elements = { + 'preamble':_PREAMBLE, # omit for letter size +# 'fncychap':r'\usepackage[Sonny]{fncychap}', + } -- cgit v1.2.3