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
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
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