Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

setting different page margins for different pages!! help!!

0 views
Skip to first unread message

Sunder

unread,
Sep 13, 2005, 3:28:13 AM9/13/05
to
Hi

I'm a newbie in latex. I want to make class file to prepare a document
with margins and text height different for different pages. I tried the

following


\LoadClass[11pt,legalpaper]{article}
\ProvidesClass{crtemp}
\usepackage{ifthen}
\setlength{\oddsidemargin}{-0.25in}
\setlength{\textwidth}{7.0in}
\pagestyle{empty}
\setcounter{page}{1}
\ifthenelse{\value{page} = 1}%
{\setlength{\topmargin}{7.5in} \setlength{\textheight}{1.5in}}{}
\ifthenelse{\value{page} = 2}%
{\addtolength{\topmargin}{-7.5 \topmargin}
\setlength{\textheight}{7.5in}}{}


It sets the top margin and text height for the first page properly and
maintains the same for the remaining pages.

I required this because Every year we have to submit a
annual report mentioning our years work. This should be written on a
form with some headers and foot notes already press printed. The
height of these headers and footnotes varies for different pages. The
matter should be written continously starting from the first page. This

is a small document with hardly 2 to 3 pages.
Every year I use MicroSoft Word to type this document and formatting it

with page break. I got fed up by doing this formatting every year and I

thought of making a latex class file which can do this.
Hope u got my problem!!

I don't know how to do it?
can any one help me?


thanx
Sunder

0 new messages