TransWikia.com

Restoregeometry causes text to run of page

TeX - LaTeX Asked by G. de Man on March 9, 2021

Currently, I am working on a package for an association. I am trying to achieve the following: the geometry of the first page should be different from all the following pages. There are some questions answered that achieve exactly what I want, however, when I try to use these answers myself, they do not seem to actually work.

From Question 449245, the following code:

usepackage{geometry}
geometry{
    top=3cm,
    hmargin=1in,
}
usepackage{mwe}
usepackage{afterpage}
begin{document}
newgeometry{top=8cm}
afterpage{aftergrouprestoregeometry}
lipsum
lipsum
end{document}

The question provides exactly what I want to achieve, but the provided solution does not actually work for me:text still running of the page

Does anybody know why this solution does not work anymore? Is there a way to fix the code? Thanks in advance.

One Answer

After trying a bit more, I found that using globaldefs=1 instead of aftergroup seemed to resolve any issues I still faced.

Answered by G. de Man on March 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP