diff options
| author | Chris McDonough <chrism@agendaless.com> | 2009-12-28 04:12:10 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2009-12-28 04:12:10 +0000 |
| commit | 125e9746a5da925243dabf67b2609b556bb9215a (patch) | |
| tree | 2ef52dadcf40f840586293f8cf66e9a11d0f04b0 /docs/conf.py | |
| parent | 48ed96bf621128adf59b225f1c8e33af44bc0594 (diff) | |
| download | pyramid-125e9746a5da925243dabf67b2609b556bb9215a.tar.gz pyramid-125e9746a5da925243dabf67b2609b556bb9215a.tar.bz2 pyramid-125e9746a5da925243dabf67b2609b556bb9215a.zip | |
Adjust for 7.5x9.25in output.
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 16 |
1 files changed, 16 insertions, 0 deletions
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}', + } |
