Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PDF generated by Latex doesn't open in 100% zoom [closed]

Tags:

pdf

zooming

latex

I created a pdf in Latex. All is well, except that I want to have the generated pdf to open at 100% zoom level by default when opened in adobe pdf reader. Currently, it is being displayed at 57%. I have also noticed other instances of pdf generated by my other Latex code being displayed at zoom levels other than 100%.

Is this just an issue with viewer or does this deviation from 100% zoom has to do something with Latex code in itself. I mean, if you change the page borders or something (or that the document type is article and not book or something else); does that effect the default zoom?

like image 667
Bikash Gyawali Avatar asked Jan 25 '11 17:01

Bikash Gyawali


People also ask

How do I make my PDF zoom to 100?

Open Acrobat Reader, navigate to Edit menu -> Preferences -> Page Display -> set your required Zoom percentage. Click OK to confirm the change.

How do I fix the zoom size of a PDF?

To decrease the magnification by one preset level, Ctrl-click the Marquee Zoom tool. The Continuous Zoom or Dynamic tool zooms in when you drag it up the page and it zooms out when you drag down.

How do I enable zoom in PDF?

Once the document is opened, press the control button along with the plus key (a). Open the 'Zoom To' tool by choosing 'View' to open the view menu. Then choose 'Zoom' to open the zoom menu and, finally, choose the 'Zoom To …' option.

How do you zoom in on a PDF in overleaf?

To adjust the zoom setting using the Overleaf viewer: move your mouse near to the top-left of the PDF preview panel. use the pop-up buttons to zoom in or out.


2 Answers

I do not remember LaTeX defaults, but for sure you can control zoom level using the hyperref package if you are not already doing so. Direct link to manual: here

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

Please note I do not have Acrobat Reader installed on the machine I'm writing these, so don't hesitate to report if somethings wrong. Also, assuming compilation with pdflatex.

like image 155
triazotan Avatar answered Oct 16 '22 21:10

triazotan


Start your code in this way if you want to compile your text either with pdflatex or latex. Adequate it to your needs.

\RequirePackage{ifpdf}
\ifpdf
  \documentclass[pdftex,letterpaper,12pt]{article}
  \usepackage{lmodern}
  %  \usepackage{textcomp}   
\else
 \documentclass[dvips,letterpaper,12pt]{article}
%  \usepackage[active]{srcltx}  % for dvi viewers supporting source code mapping
\fi

But you may want to set the default zoom size in your viewer preferences option. Evince viewer allows to configure the buttons of the top bar, add the scaling buttons.

like image 39
anonymous Avatar answered Oct 16 '22 21:10

anonymous