Ah Med Ah Med - 1 day ago 4
LaTeX Question

PDF page size with Latex

I made a pdf file using Latex but the size is 49% by default.

enter image description here

How can I change it to 100% by default ?

Thank you

Answer

By 49% I assume that's the zoom level of the viewer you're using. You can adjust this as part of the PDF using hyperref's pdfstartview option:

\documentclass{article}

\usepackage{hyperref,lipsum}

\hypersetup{
  pdfstartview = XYZ 0 0 1% x y zoom
}

\begin{document}

\lipsum

\end{document}

Note that this is viewer dependent, and most likely will only result in a start view at 100% if you use Adobe Reader.

Comments