Page LayoutDifferent Margins for odd and even Pages

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
laailalalaa
Posts: 35
Joined: Thu Oct 27, 2011 5:31 pm

Different Margins for odd and even Pages

Post by laailalalaa »

Hello,

I'm using the book document class, with "oneside" option, among others. Then I set the margins for my paper:

Code: Select all

\geometry{top=3.5cm,bottom=2.5cm,left=3.5cm,right=2.7cm}
In the PDF everything looks fine, but when I print the file I get marginvaluesA for even pages and marginvaluesB for odd pages. Neither marginvaluesA nor marginvaluesB are the values I set.

What am I missing here?

Thanks
Last edited by laailalalaa on Tue Feb 07, 2012 3:34 pm, edited 1 time in total.

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Different Margins for odd and even Pages

Post by Stefan Kottwitz »

Perhaps your printer or the printer driver software or settings, respectively, may be responsible the the different margins. Check the driver settings. Perhaps print into a PDF file (with a PDF printer driver) or into a PostScript file, to compare.

As the generated PDF file is correct, it's not a LaTeX problem.

Stefan
LaTeX.org admin
laailalalaa
Posts: 35
Joined: Thu Oct 27, 2011 5:31 pm

Re: Different Margins for odd and even Pages

Post by laailalalaa »

Actually the PDF file was the problem. When checking Page Setup (after issuing a Print command), it didn't look so sexy any more, having different margins on odd / even pages.

In my case the problem was that, even though I specified an a4 format, the output had a letter format. I had to edit config.ps in MikTex to change this setting.

Hope it helps others too,
Cheers,
Post Reply