Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have to include a large graphic in a A4 document, the figure fits into an A4 height, but is much wider. I used \pdfpagewidth=3.1\pdfpagewidth to increase the paper size, and included the figure. I use srcbook(one-sided) with the header and footer aligned to the right. The problem with the oversized page is, that the header and footer are not moved to the final right end. Finally, the oversized page gets folded so that it fits in the printed thesis in A4, I want the header and footer on the page that you finally see when you open the book.

That is how I did it so far:

% Example to show oversized page with figure

\documentclass[fontsize=12pt,DIV14,BCOR15mm,oneside, headings=small,headsepline, appendixprefix]{scrbook}

\usepackage{graphicx}       % Package for Pictures
\usepackage[bf,footnotesize,width=.9\textwidth,format=hang]{caption}    

% Oneside option puts header and footer in centered alignment, this changes to right alignment
\usepackage{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\ofoot[\pagemark]{\pagemark}
\ohead{\headmark}


\begin{document}

\chapter{Literature Review - Experimental Work} 

A bit of text ….
\newpage
A bit of text again, just to show the header and footer on the usual A4 pages.

\newpage
\begingroup
\pdfpagewidth=3.1\pdfpagewidth
\begin{figure}[p]
\centering
{\includegraphics[height=227mm]{HistoricalOverview.pdf}}
\caption{Historical Overview}
\end{figure}
\clearpage
\endgroup

\end{document}

That is the output with the header and footer at the wrong horizontal position: Output

How can I change the horizontal alignment of my header / footer? I had a look to \changepage and to Insert A3 page with figure into A4 document with active references but I don't get it working.

Any advice helps, thanks. Gerlind

share|improve this question
1  
So you have an over-broad page? Perhaps cleanest is to have that one without headers/footers... –  vonbrand Jan 27 at 1:51

1 Answer 1

up vote 1 down vote accepted

I believe that the class doesn't measure the right margin, instead it measures the text width. So I did a bit of a hack and changed that. It looks ok to me, if you don't mind the decoration line running all along the top of the page. You can use a value for \textwidth that's more precise. I'm sure someone more expert can provide a more elegant solution!

Inside your group:

\begingroup
\pdfpagewidth=3.1\pdfpagewidth
\textwidth=590mm
\begin{figure}[p]
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.