2

I'm trying to change the page size of my thesis document. As adviced in other threads, the graphics package can be used for this purpose. I currently have the following command where I also specified the page margins.

\usepackage[pass,paperheight=26cm,paperwidth=19cm,top=20mm,bottom = 15mm, left = 30mm, right = 30mm ]{geometry} 

On the thesis document, the pdf page size wont change from 8.50x11inch. The thesis document contains inputs from 4 other files (4 chapters) too. If I create a new tex file and have the same command, the pdf document will have the correct dimensions. For instance,

\documentclass[11pt]{report}
\usepackage[paperheight=26cm,paperwidth=19cm]{geometry}

\begin{document}

hello world

\end{document}

Works perfectly. Can anybody tell me why it wouldn't work in my previous file?

2
  • Omit the pass option, as it basically disables all geometry options, except of verbose and showframe, see the manual please, it is stated on the 12th page, at least in the version I have on my disk...
    – user31729
    Jul 2, 2014 at 6:04
  • Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – user31729
    Jul 2, 2014 at 6:05

1 Answer 1

2

From the geometry user manual (section 5.7 Other options):

pass

disables all of the geometry options and calculations except verbose and showframe. It is order-independent and can be used for checking out the page layout of the document class, other packages and manual settings without geometry.

Remove this from your options and geometry will set the page layout accordingly.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .