In a document with the scrreprt
class, I show an image with a caption.
The image is set to fill the text height.
\documentclass{scrreprt}
\usepackage{graphicx}
\begin{document}
\begin{figure}
\centering
\includegraphics[height=1\textheight]{example-image-a4}
\caption{Image caption}
\end{figure}
\end{document}
I would like this image to be bigger than that, but still on the page. This is because the image shows an entire page of an old document which is originally in a larger format: I want to show its geometry and typography, so the whole page has to be visible, but at the same time, it is important that some detail remains discernible.
For this, I have two options:
- Increase the size of the image via the
height
orwidth
option. - Increase the size of the text area (or: reduce the margins) on this page only.
Trying option 1, I increased the height
, but already at 1.1\textheight
, the image shifts to the right and also covers the page number, while I expected it to be centered and located a bit further to the top of the page.
I don’t know how to achieve option 2: the question »How to set page geometry for a single page only?« doesn’t have an up-to-date answer, and this task seems to be non-trivial.
How can I place an image on a whole page in such a way that it
- is a bit bigger than the text area of the rest of the document,
- stays within the printable area and leaves a little room for margins,
- does not cover the page number?
\changepage{〈text height〉}{〈text width〉}{〈even-side margin〉}{〈odd-side margin〉}{〈column sep.〉}{〈topmargin〉}{〈headheight〉}{〈headsep〉}{〈footskip〉}
from thechangepage
package. – leandriis Jun 14 '18 at 15:19