Consider the following LaTeX Code:
\documentclass[a4paper]{amsart}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}
The generated PDF has US Letter, Portrait (8.50 × 11.00 inch)
as its letter size, but I specifically requested it to be a4paper
. However, adding \usepackage{graphicx}
fixes the issue:
\documentclass[a4paper]{amsart}
\usepackage{graphicx}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}
The paper size is now A4, Portrait (8.27 × 11.69 inch)
.
Questions
- What is causing the effect described above?
- Should the paper size be changed by adding
\usepackage{graphicx}
or is there a more standard way to do so?
\documentclass[a4paper]{amsart}
, I get a PDF with 210 x 297 mm which is A4. The optiona4paper
is also documented in the package documentation. Anyways, the paper size can also be set using the packagegeometry
. The packagegraphicx
is not meant for this.