Page LayoutChange margins of an arbitrary page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
seron
Posts: 3
Joined: Mon Sep 14, 2009 9:06 am

Change margins of an arbitrary page

Post by seron »

I'm writing a thesis and would like to have different margins for the title page than the rest of the document. How could I change all four margings on the first page (or an arbitrary page)?

For the document type, I'm using

Code: Select all

\documentclass[a4paper,12pt]{article}
I'v had some success in changing the left/right margins using a new environment, but I was not able to change the bottom margin (my attempts are marked with <--- below:

Code: Select all

\newenvironment{changemargin}[2]{
	\begin{list}{}{
		\setlength{\topsep}{0pt}
		\setlength{\leftmargin}{#1}
		\setlength{\rightmargin}{#2}
		\setlength{\listparindent}{\parindent}
		\setlength{\itemindent}{\parindent}
		\setlength{\parsep}{\parskip}
		\addtolength{\textheight}{2cm}% <---
		\setlength{\footskip}{0pt}% <---
		}
		\item[]
	}
	{\end{list}
	}
I found the above piece of code here and am not sure how it works. I'm a beginner with LaTeX.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Change margins of an arbitrary page

Post by gmedina »

Hi,

the chngpage package can be useful for you; the documentation can be found in he changpage.sty file itself.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply