Article View: aus.computers.tex
Article #53setting different page margins for different pages!! help!!
From: Sunder
Date: Tue, 13 Sep 2005 07:28
Date: Tue, 13 Sep 2005 07:28
45 lines
2524 bytes
2524 bytes
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
Technical Details
Message-ID:
<1126596493.788616.141080@z14g2000cwz.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10b0c4,7bd7e5e92069d144,start X-Google-Attributes: gid10b0c4,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: "Sunder" <sundhu13@gmail.com> Newsgroups: aus.computers.tex Subject: setting different page margins for different pages!! help!! Date: 13 Sep 2005 00:28:13 -0700 Organization: http://groups.google.com Lines: 46 Message-ID: <1126596493.788616.141080@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: 203.197.30.2 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1126596498 11631 127.0.0.1 (13 Sep 2005 07:28:18 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 13 Sep 2005 07:28:18 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0),gzip(gfe),gzip(gfe) X-HTTP-Via: 1.0 ganga.barc.ernet.in:8080 (squid/2.5.STABLE10) Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=203.197.30.2; posting-account=Qe9Dqg0AAABmn9TKWtI5JEvUjh9SGMA9