Article View: comp.text.tex
Article #1935How to test the page value of a float?
From: Philippe Louarn
Date: Tue, 01 Sep 1992 15:07
Date: Tue, 01 Sep 1992 15:07
22 lines
995 bytes
995 bytes
I want to be able to test the value of the page number where a floating
figure WILL be put.
I tried :
\begin{figure}[p]
\ifodd\value{page} <DO_SOMETHING> \else <DO_ANOTHER_THING>\fi
\end{figure}
That does not run, cause the \value{page} give me the value of
the current page (where the figure is declared) and not the value
of the page where the figure will be put.
Any ideas ?
--
Philippe LOUARN - Projet OPERA / Atelier IRISA
IRISA - INRIA, u.r. de Rennes
Campus de Beaulieu - F-35042 RENNES Cedex - France
Tel : (33) 99 84 73 66 / Fax : (33) 99 32 38 38
louarn@irisa.fr
Technical Details
Message-ID:
<1992Sep1.150736.5707@irisa.fr>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!irisa!irisa.fr!louarnShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!corton!irisa!irisa.fr!louarn From: louarn@irisa.fr (Philippe Louarn) Newsgroups: comp.text.tex Subject: How to test the page value of a float? Message-ID: <1992Sep1.150736.5707@irisa.fr> Date: 1 Sep 92 15:07:36 GMT Sender: news@irisa.fr Organization: IRISA, Rennes (France) Lines: 22