Page LayoutNeed PDF page size to be A5

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
shannon
Posts: 9
Joined: Fri Jun 25, 2010 2:47 pm

Need PDF page size to be A5

Post by shannon »

Hi,

I am using Kile 2.0 to create a book that needs to be printed on A5 paper. When I create the PDF (Latex->dvitops->PDF) I get a PDF that is A4, Portrait (8.26 x 11.69 inch) rather than the A5 5.85 x 8.26 inch that I need. I'm a bit of a novice, but I believe that the PDF is produced by GPL Ghostscript 8.63.

I've tried having both

Code: Select all

\documentclass[a5paper,10pt]{book}
and

Code: Select all

\documentclass[a5paper,10pt]{book}
\usepackage{geometry}
in the preamble. But neither produces the PDF I need. Any suggestions would be greatly appreciated.

Sorry if this is posted in the wrong forum...I searched around but couldn't find anything quite like this inquiry elsewhere.

Thanks,
Shannon
Last edited by shannon on Tue Jul 27, 2010 6:15 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.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Need PDF page size to be A5

Post by frabjous »

Try:

Code: Select all

\documentclass[10pt]{book}
\usepackage[a5paper]{geometry}
Also, is there a reason you need to go through DVI > PS > PDF rather than just using pdfLaTeX?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: Need PDF page size to be A5

Post by Stefan Kottwitz »

I would expect that if geometry receives the class option a5paper.
Shannon, you could check also the paper format of the dvi and ps output to figure out at which point the problem occurs (LaTeX, dvips or ps2pdf).

Stefan
LaTeX.org admin
shannon
Posts: 9
Joined: Fri Jun 25, 2010 2:47 pm

Need PDF page size to be A5

Post by shannon »

Thanks guys,

I added the following line and it seems to be working, the PDF properties have the right size:

Code: Select all

\documentclass[a5paper,10pt]{book}
\special{papersize=5.85in,8.26in}
When I tried

Code: Select all

\documentclass[10pt]{book}
\usepackage[a5paper]{geometry}
it didn't seem to work. The PDF remained A4 and the wrong size.

Thanks,
Shannon
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: Need PDF page size to be A5

Post by Stefan Kottwitz »

Hi Shannon,

I can see your checkmark symbol on the last post of this thread, fine. Note, to mark the whole thread as solved, the very first post has to be edited choosing the checkmark. Then the checkmark is visible in the forum overview showing it's solved.

Stefan
LaTeX.org admin
Post Reply