[Tugindia] Custom page format
Nilay Bhatt
nilaybhatt at gmail.com
Tue Sep 13 13:24:45 CEST 2005
hello everybody,
i want to write some memo/description in a customized page format,
i.e. diff. margin settings for diff pages.
For example,
page -1
+ -------------------+
| |
| |
| -------------- |
| | | |
| | | |
| -------------- |
+--------------------+
page-2
+--------------------+
| -------------- |
| | | |
| | | |
| -------------- |
| |
| |
| |
+-------------------+
and so on...........
i tried to write a class file like the following one........
==============================
\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}}{}
=========================================
but it does the job for the 1st page only and maintains the
format for all other pages.
can anybody help me out on this issue??????
hoping to get a +ve reply
--
cheers,
nilay
More information about the tugindia
mailing list