Page 1 of 1

Page size with geometry package

Posted: Fri Jul 28, 2006 5:45 am
by wms
My document uses

\documentclass[11pt,oneside,a4paper]{article}
\usepackage[a4paper]{geometry}
\begin{document}
...
\end{document}

When I translate the input file with regular latex (LaTeX2e <2006/06/01>) the printed area including heading fills about WxH=16.2cm x 24.5cm.

When I translate the input file with PCTeX the printed area is only about 14.7cm x 21.9cm.

Am I overlooking something or is this a bug?

Martin

Re: Page size with geometry package

Posted: Mon Jul 31, 2006 12:37 pm
by PTIForAdmin
wms wrote:My document uses

\documentclass[11pt,oneside,a4paper]{article}
\usepackage[a4paper]{geometry}
\begin{document}
...
\end{document}

When I translate the input file with regular latex (LaTeX2e <2006/06/01>) the printed area including heading fills about WxH=16.2cm x 24.5cm.

When I translate the input file with PCTeX the printed area is only about 14.7cm x 21.9cm.

Am I overlooking something or is this a bug?
It doesn't seem like a PCTeX bug, since this is a straight LaTeX file. We supply LaTeX from TeX Live 2005 (LaTeX2e <2003/12/01>) and also the various packages from the same distribution.

A likely source of the problem is the geometry package. Which version did you use? You can get this from the log file. The one we supply is geometry 2002/07/08 v3.2. In the log file it shows

Code: Select all

-------------------- Geometry parameters
paper&#58; a4paper
landscape&#58; --
twocolumn&#58; --
twoside&#58; --
...
driver&#58; pdftex
-------------------- Page layout dimensions and switches
\paperwidth  597.50787pt
\paperheight 845.04684pt
\textwidth  418.25368pt
\textheight 591.5302pt
...
which agrees with the sizes you noted for PCTeX, 14.7cm x 20.7cm.

Posted: Tue Aug 01, 2006 1:15 am
by wms
Oh I see, thanks, I should have figured that one out myself... the geometry package on our Red Hat box was version 2.2. I added the compat2 option to the package parameters and that solved the problem.

By the way, thanks for fixing the earlier bug with files on residing on mounted shared drives. I can now use the PCTeX v6 beta fully it seems.