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:
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?

share|improve this question

migrated from stackoverflow.com Jun 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

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

1 Answer 1

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}
share|improve this answer
    
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