Page Layout6x9 inch pdf?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
dorien
Posts: 7
Joined: Thu Jan 28, 2010 12:52 pm

6x9 inch pdf?

Post by dorien »

Hello,

For the book I am publishing, the printer wants a pdf of 6x9 inch. I see two ways of getting this:
  • shrink the pdf after LaTeX compiled it (advantage is that the ebook is in the a4 or letter size, which is ideal)
  • let pdftex generate a file of 6x9 directly
How would I accomplish option number 2? I already tried;

Code: Select all

\setlength{\pdfpagewidth}{6in}
\setlength{\pdfpageheight}{9in}
It had no effect...

What is your advice on this? I guess the TeX system specifies a default page size somewhere.

Recommended reading 2024:

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

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

dorien
Posts: 7
Joined: Thu Jan 28, 2010 12:52 pm

6x9 inch pdf?

Post by dorien »

Ok,

After pondering a whole night before posting, I found the solution withing 2 minutes after doing it... Be sure to put the commands inside the document tags... oh no...

Ok. So the page is smaller. But now the text goes outside of the page. Setting the seperate margins causes a big mess:

Code: Select all

  \setlength\topmargin{0.5in}
  \setlength\headheight{0.5in}
  \setlength\headsep{0.2in}
  \setlength\textheight{7.6in}
  \setlength\textwidth{5in}
   \setlength\oddsidemargin{0.5in}
   \setlength\evensidemargin{0.5in}
Solution, one command:

Code: Select all

\usepackage[margin=1in, paperwidth=6in, paperheight=9in]{geometry}
Post Reply