AnswerBun.com

Can I set a pdfstartview that is compatible with Google Chrome?

TeX - LaTeX Asked on November 21, 2020

I would like to have the default setting for my PDF be to fit the page to the window of the PDF viewer.

My entire tex file is

documentclass{beamer}

usepackage{hyperref}
hypersetup{pdfstartview={Fit}}

begin{document}
    begin{frame}
        frametitle{Test}
    end{frame}
end{document}

When I open the PDF output of this in atril document viewer, it fits the slide to the window, but when I open the PDF file in Google Chrome, it presents the slide with its absolute dimensions by default.

Is there a setting for hyperref that is compatible with Google Chrome?

One Answer

So...... Instead of actually changing the display setting, I found a work-a-round that is practical but not elegant. Basically, I am magnifying the pages to be an extremely large absolute size. Then when Google Chrome (or another viewer) opens it, the viewer zooms out until it is able to fit one page width (by default).

Adding the line below does the necessary magnification (although 10000 is probably overkill).

geometry{mag=10000,truedemin}

Answered by Tom on November 21, 2020

Add your own answers!

Related Questions

Include specific parts of a standalone subfile

1  Asked on January 26, 2021 by kuzdogan

       

Angle position away from inch.center

2  Asked on January 26, 2021

 

Forest package: How to use forestset in the preamble?

2  Asked on January 26, 2021 by nicomachus

     

Display square matrix as square

1  Asked on January 26, 2021 by d-petrov

   

Greek and English in lstlisting

1  Asked on January 26, 2021 by spike

     

ShareLatex CVPR template not compiling tikz

1  Asked on January 26, 2021 by ameet-deshpande

     

varepsilon vs. epsilon

2  Asked on January 26, 2021

     

tkz-euclide Change Axes Names

1  Asked on January 26, 2021 by drblau

   

Hyperlink in moderncv with acrobat reader

3  Asked on January 26, 2021 by satoshi-nawata

       

Square version of cdot (small black square)?

7  Asked on January 26, 2021 by mr-eyeglasses

     

subtable does not align properly

1  Asked on January 26, 2021 by paolo

 

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir