[Tugindia] Changing Pagestyle inside Environments

Manoj Kummini kummini at yahoo.com
Sat Apr 12 08:44:32 CEST 2003


I am trying to define an `acknowledgement' environment, which should
be typeset without page-numbers. This is what I tried:

\def\acknowledgement{%
  \begingroup\if at openright\cleardoublepage\else\clearpage\fi%
  \@makeschapterhead{Acknowledgement}%
  \pagestyle{empty}}
\def\endacknowledgement{\endgroup}

In a particular case the acknoledgement text runs into two printed
pages. The first page has pagestyle empty, while the second one has
pagestyle plain. Can someone explain why this happens?

Manoj.

=====
--
Manoj Kummini
http://www.geocities.com/kummini/index.html
12 deg 58 min N, 77 deg 35 min E

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com


More information about the Tugindia mailing list