Conditional placement of content of a float
- From: "dpstory@xxxxxxxxxx" <dpstory@xxxxxxxxxx>
- Date: Tue, 10 Jul 2012 14:57:54 -0700 (PDT)
Greetings,
I would like to position content within a float, depending on whether the page number is odd or even
\begin{float}[htb]
\ifodd\value{page}
<odd_content>
\else
<even_content>
\fi
\end{float}
When the content "floats" to the next page from where it is in the source, the value of page is incorrect. Material that would appear at the bottom of page 6, appears on page 7, but \the\value{page}=6.
I've messed around with using \protect to delay the expansion of the conditional, and various other things, but nothing works. Does anyone have a solution?
Regards,
dps
.
- Follow-Ups:
- Re: Conditional placement of content of a float
- From: dpstory@xxxxxxxxxx
- Re: Conditional placement of content of a float
- From: Axel Berger
- Re: Conditional placement of content of a float
- From: dpstory@xxxxxxxxxx
- Re: Conditional placement of content of a float
- From: Enrico Gregorio
- Re: Conditional placement of content of a float
- From: Robin Fairbairns
- Re: Conditional placement of content of a float
- Prev by Date: Re: TeXlive 2012 finally!
- Next by Date: Nike air Jordan Retro 3 4 5 6 7 8 9 10 11 12 13 14 shoes (www.edoplaza.com)
- Previous by thread: moving from tex-pdf to a reader-friendly format?
- Next by thread: Re: Conditional placement of content of a float
- Index(es):
Relevant Pages
|