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

\thispagestyle{empty} problem

251 views
Skip to first unread message

ste...@soc.plym.ac.uk

unread,
Jun 4, 1998, 3:00:00 AM6/4/98
to

Hi,
I have a figure that is a bit large for the page (actually it is an array of
epsfig's that ought to be on the same page so they can easily be compared.). I
want to switch the pagenumbering off on this page, so it doesn't interfere
with the figure. I have tried using \thispagestyle{empty}, but no matter where
I put it, it switches off the pagenumbering on the page where the figure is
invoked from (i.e. where the figure would have been if latex didn't put it on
a seperate page).

The (simplified) structure of this bit of my document is

\begin{figure}
\input{./subdir/wrapper.tex}
\caption{blah}
\end{figure}

where ./subdir/wrapper.tex is a second tex file containing the detail of
creating the particular figure. I've tried putting the \thispagestyle command
1. after \begin{figure}
2. at the beginning or end of ./subdir/wrapper.tex
3. after \end{figure}

anyone have any ideas?

thanks in advance

Steve Hill

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading

Piet van Oostrum

unread,
Jun 4, 1998, 3:00:00 AM6/4/98
to

>>>>> ste...@soc.plym.ac.uk (SH) writes:

SH> I have a figure that is a bit large for the page (actually it is an
SH> array of epsfig's that ought to be on the same page so they can easily
SH> be compared.). I want to switch the pagenumbering off on this page, so
SH> it doesn't interfere with the figure. I have tried using
SH> \thispagestyle{empty}, but no matter where I put it, it switches off
SH> the pagenumbering on the page where the figure is invoked from (i.e.
SH> where the figure would have been if latex didn't put it on a seperate
SH> page).

SH> anyone have any ideas?

Two, in fact:

1. fancyhdr has special commands to deal with headers/footers on float pages

2. \usepackage{afterpage} in your preamble

and near the figure:
\pagestyle{empty}\thispagestyle{plain}
\afterpage{\thispagestyle{plain}}
--
Piet van Oostrum <pi...@cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: Piet.van...@pi.net

Donald Arseneau

unread,
Jun 4, 1998, 3:00:00 AM6/4/98
to

In article <wzogw97...@kemmel.cs.uu.nl>, Piet van Oostrum <pi...@cs.uu.nl> writes...
>>>>>> ste...@soc.plym.ac.uk (SH) writes:
>SH> I want to switch the pagenumbering off on this [float] page, so

>
>1. fancyhdr has special commands to deal with headers/footers on float pages

That's good. I didn't know it had. Here is the equivalent I have
used without fancyhdr:

% Headings only on text pages, not on float pages (one-column).

\def\ps@textheadings{\ps@headings
\def\@oddfoot{}\def\@evenfoot{}%
\def\@oddhead{\if@fcolmade\else
{\sl \rightmark}\hfil \rm\thepage \fi }% Heading.
}

\pagestyle{textheadings}

>2. \usepackage{afterpage} in your preamble
>
>and near the figure:
>\pagestyle{empty}\thispagestyle{plain}
>\afterpage{\thispagestyle{plain}}

That is the other method I've used, but the last line is supposed to be:
\afterpage{\pagestyle{plain}}

Donald Arseneau as...@triumf.ca

0 new messages