Go to: Intranet Home Page
  Dashboard > TeX Typesetting Tools > ... > cookbook section > Controlling top and bottom margins
  TeX Typesetting Tools
  Controlling top and bottom margins
Log In   View a printable version of the current page.  
 

Added by Jelle Huisman , last edited by Jelle Huisman on Apr 15, 2008  (view change)
Labels: 

Related thread see TTT list archive
Category top bottom margin header footer

Problem

  1. I have a PDF border for my document, but I want to make the bottom margin a little larger, so it doesn't run into my border.
  2. It appears to me that the top/bottom margins specify the limits of the text including the header and footer. So how can you specify the distance between the header and the body text (and same for footer)?

Solution

  • Use \BottomMarginFactor in ptx-stylesheet.tex if you want to control top and bottom separately. (If you leave it undefined, the macros will re-use the top factor for both.) So, \TopMarginFactor (and \BottomMarginFactor, if separately specified) will relate just to the margins of the body text area, independent of headers and footers.
  • The parameters \HeaderPosition and \FooterPosition (with defaults of 0.5) controls the position of the header and footer. These are also in terms of \MarginUnit, and give the position of the baseline of the header/footer relative to the top/bottom edge of the paper (not the text area).
  • \RHruleposition (position of rule under the running head) measures from the baseline of the header (rather than upwards from the text area). This is a simple dimension, not a relative "factor".

Source

ptx-stylesheet.tex
Powered by a free Atlassian Confluence Open Source Project / Non-profit License granted to Canadian Bible Society. Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators