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.

Possible Duplicate:
Change \textwidth and \textheight in mid-document

I am currently using geometry package to set margin sizes. I want to set different \topmargin sizes for different pages. For example, in the first page, \topmargin is 1 inch, and in the second page, it is 1.5 inch. How can I do this?

share|improve this question

marked as duplicate by Alan Munn, Gonzalo Medina, Werner, Jake, cmhughes Apr 15 '12 at 7:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
This is a duplicate of Change \textwidth and \textheight in mid-document. –  Alan Munn Apr 15 '12 at 2:01
    
Ah indeed, I should have probably looked around before answering. –  ArTourter Apr 15 '12 at 2:17
    
@AlanMunn Thanks. By the way, can I explicitly specify "the second page"? –  FEQ Apr 15 '12 at 5:15

1 Answer 1

you can change the layout mid-document by using the \newgeometry{...} command.

if you need to return to the top level geometry later on , you then use the \restoregeometry command.

As far as I know the syntax is the same as the one you would use in the preamble. one thing to note is that \newgeometry will disable all the settings set with the \geometry command, with the exception of paper size related ones.

share|improve this answer

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