21

When I usually open a PDF with Acrobat Reader it opens it in Fill Window mode (the page fills all the space of the window). When using the hyperref package it always opens the file in Full page mode (show a single page at a time and jumps from page to page when scrolling) and show the bookmarks.

How to make this effect disappear? I know there is an option of hyperref that forces the way a PDF file is opened but I forgot and are having trouble finding it again.

Thanks if you remember it or can find it easily and tell us.

21

Try:

\hypersetup{pdfstartview={XYZ null null 1.00}}

which instructs the pdf reader to use initial view zoom factor = 1.00, i.e., to open at zoom = 100%. Other pdfstartview= values include Fit, to show the whole page; FitH, to fit the width of the page in the window; or FitB, to fit the width of the contents to the window.

  • 1
    That's the one! and with the FitH option is what I needed. Thanks. – Anna Taurogenireva Sep 24 '10 at 15:57
  • Actually, I think one can nowadays just do pdfstartview= to leave the entry out of the dictionary entirely, so that the PDF viewer just does whatever it normally does. – SamB Dec 16 '10 at 23:36
18

Geoffrey is close, but not quite correct. To really make hyperref stop overriding Adobe [Acrobat] Reader's default zoom settings, you need to pass this setting to hyperref:

\hypersetup{pdfstartview=}

This causes hyperref to omit the relevant key from the relevant PDF dictionary entirely, so that Reader just uses the (user-configured) default, even if the user has chosen something different from FitH.

(Note that support for an empty value for this option was added more recently than the option itself, so it is unfortunately not possible to get all versions of hyperref to leave this key out of the PDF.)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.