# [texhax] hyperref side effect

Nina Mazumdar nina.mazumdar at gmail.com
Fri Jun 20 07:30:26 CEST 2008

On Fri, Jun 20, 2008 at 12:49 AM, Tom Schneider <toms at ncifcrf.gov> wrote:
> Mahi:
>
>> >I have gotten hyperref running nicely so my pdf has lovely hyper
>> >links, but there is an odd side effect:  my pages are shifted down by
>> >some amount and so the page number goes off the bottom.  Yes, I can:
>> >
>> >\topmargin -0.5in % to shift the whole thing up
>> >
>> >but I shouldn't have to do it.  Any idea what's the cause and/or how
>> >to avoid it?
>>
>> You can use these commands in your class file to correct the page appearance
>> \voffset-1.25pc%%%%%%%% for vertical
>> \hoffset.3pc%%%%%%%% for horizontal
>
> Thanks, but the topmargin does the job (though it shifts the display
> up on the screen while it corrects the pdf).  I don't want to have to
> change my class files and I don't want to do this all the time.  The
> question is why it's happening.  It seems to be an unnecessary side
> effect.

You seem to have different page sizes for different jobs, i.e., US
letter size for your LaTeX job and A4 size for your dvips job or vice
versa.  If you make the page sizes of both jobs the same, I think the
problem will disappear.

Happy TeXing and best regards

--
Nina