# How to change the margins for a landscape-orientated longtable in classicthesis

I am using the excellent classicthesis to typeset my thesis. It looks great, and I would be loathe to change unless I had to, but I've run up against a problem.

I have a number of longtables in the document that are in landscape orientation. I want to make the top and bottom margins, before and after the tables smaller, so that I can get more information on a page. At the same time I want to keep the margins in the rest of the document the same.

I have:

1. Tried using the package changepage, but this does not seem to work with longtable (http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2007-05/msg00623.html also had problems with this)

2. Considered using package geometry and then changing the margins before I enter the landscape environment with \newgeometry, but classicthesis does not appear to use geometry to manage page layout, so I think this will disrupt the page setup for the rest of the document

3. Tried playing with \LTpre, \LTpost, \LTleft, \LTright

4. Tried playing with the \addmargin command for KOMA script

Any thoughts appreciated

-

The interface could be better, I blame the author of the packages you are using, but this seems to work

\documentclass{article}
\usepackage{lscape,longtable}
\newcounter{z}
\def\z{\stepcounter{z}[[[[[\thez]]]]]}

\makeatletter

\def\fudge#1#2{%
\@colroom\textheight
\vsize\textheight
\@colht\textheight
\def\LS@rot{%
\setbox\@outputbox\vbox{\hbox{\kern-#2\rotatebox{90}{\box\@outputbox}}}}%
\clearpage}

\makeatother

\begin{document}
\begin{landscape}
\fudge{3cm}{1.5cm}% 3cm longer and raise by 1.5cm
\begin{longtable}{l}
\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\
\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\
\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\
\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\
\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\
\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\
\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\\z\\
\end{longtable}
\end{landscape}
\end{document}

-
This works perfectly. Thank you very much –  Will King Apr 10 '12 at 13:07