# How to avoid geometry affecting the first page? [duplicate]

Possible Duplicate:
Remove margins for title page

I'm using the package geometry to set the margins of my report, according to my needs (with a particularly wide right margin). However, it seems that it affects the front page as well, that is, the title of the report is not centered anymore in its page.

How can I avoid this?

-
See my answer to this question: Remove margins for title page. –  Gonzalo Medina Jun 7 '11 at 14:34

## migrated from stackoverflow.comJun 7 '11 at 14:19

This question came from our site for professional and enthusiast programmers.

## marked as duplicate by Gonzalo Medina, Lev Bishop, Martin Scharrer♦Jun 8 '11 at 8:43

The geometry package provides the \newgeometry command, which allows you to change the page layout at any time. So if you want to leave the front page alone, you could try something like this.

\documentclass{report}
\usepackage{geometry}
\title{My report}
\author{A N Other}
\begin{document}
\maketitle
\newgeometry{rmargin=15cm}
The quick brown fox jumps over the lazy dog.
\end{document}

-
If you want to see the changed and unchanged margins, even on relatively empty pages, you can load geometry with the showframe option, which will add lines indicating the margins. –  doncherry Jun 7 '11 at 14:35
Many thanks Ian, that solved my problem perfectly well. Doncherry, thank you for the tip and the editing ! –  user6006 Jun 7 '11 at 14:58