I would like to have every second page of my rather large document have different margins, top and bottom.
I have tried editing the geometry package options, but no luck, I get different errors each time:
Code: Select all
\ifthenelse{\equal{\value{Hilf}}{0}}{\geometry{top=1.5cm}}{\ifthenelse{\isodd{\value{page}}}{\geometry{top=1.5cm}}{\geometry{top=.5cm}}}
\ifthenelse
has helped me out a lot, but I've read the texdoc documentation on the geometry package and it doesn't seem like you can do anything other than arithmetics inside the arguments of the package.Code: Select all
\usepackage[left=2.5cm,right=2.5cm]{geometry}
\geometry{
top={\ifthenelse{\equal{\value{Hilf}}{0}}{1.5cm}{{\ifthenelse{\isodd{\value{page}}}{1.5cm}{.5cm}}}},
bottom=1.5cm,
footskip=1.4cm, nomarginpar
%top={\ifthenelse{\isodd{\value{page}}}
%{2cm}
%{5cm}}
}
\newgeometry
and \restoregeometry
every second page, there has to be a better way 
Thank you!