GeneralVertical offset for even/oddsides

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Lothloriena
Posts: 2
Joined: Sun Oct 26, 2008 8:55 pm

Vertical offset for even/oddsides

Post by Lothloriena »

Hi there,

I am just formatting my PhD thesis and adjusting it such that the printer offsets are corrected from the software side. Our printer has a little vertical offset of the page, which means that the evenside is printed a little further up than the oddside. Can anyone suggest how to solve this problem? Is there a similar command as \evensidemargin and \oddsidemargin for the topmargin?

Thanks in advance!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Vertical offset for even/oddsides

Post by Juanjo »

Add this to the preamble:

Code: Select all

\usepackage{everyshi}
\EveryShipout{\ifodd\value{page}\setlength{\voffset}{0pt}\else\setlength{\voffset}{2cm}\fi}
If everything goes fine, you'll see in the screen that even pages start 2cm below odd pages, so, when printed, they start at the same level (if the gap is 2cm). Instead of 2cm, write above the correct length (which can be negative, if needed).
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Lothloriena
Posts: 2
Joined: Sun Oct 26, 2008 8:55 pm

Re: Vertical offset for even/oddsides

Post by Lothloriena »

Thanks a million, Juanjo! It worked fine! :D
Post Reply