2

My top margin in the whole document is 1 inch, but I want it to be 2 inches only for the pages that are the beginning of a new section. I start each new section on a new page. If For instance, my introduction takes 3 pages. I want only the first page of the introduction to have a 2-inch margin. If I used \newgeometry before the introduction, how can I specify that \restoregeometry takes place on the next page without cutting the text?

5
  • 1
    Welcome to tex.sx. Since you always start a new section on a new page, it would seem more effective to patch the definition of \section than to try to adjust the page geometry temporarily every time. Mar 20, 2023 at 20:15
  • @Enas Which documentclass do you use? From you description, maybe something like the chapters from the book class might be better suited? Mar 20, 2023 at 20:26
  • @samcarter_is_at_topanswers.xyz I am using the article class. Could you please elaborate on how could the book class be better fin my case?
    – Enas
    Mar 21, 2023 at 4:55
  • @barbarabeeton would you please elaborate more? What do you mean by patching the definition of \section?
    – Enas
    Mar 21, 2023 at 4:56
  • 1
    @Enas The chapters in book class automatically start on new pages and have a bigger space on top. I'm not sure which layout you are exactly looking for, but maybe have a look if maybe the book class would automatically do what you want. Mar 21, 2023 at 7:18

1 Answer 1

1

It turns out there is a pretty easy fix. I just used this code before each section starts.

\vspace*{-40pt + 1in} 

I have tried using \vspace before but without the * and it was not working for that reason.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .