
Em um livro, tenho algumas figuras, que são tão grandes que ganham sua própria página [p]. Se possível (por restrições do próximo capítulo, por exemplo, ou alguma outra semântica), eu preferiria ter figuras em páginas pares (à esquerda). Eu sei que posso forçá-los a estar ali, mas ignoro todas as outras regras relacionadas ao posicionamento das figuras. Existe uma maneira de fazer páginas de figurasprefiroaté mesmo páginas?
Responder1
O documento a seguir posicionaria carros alegóricos nas páginas 2, 3, 5 e 7
mas adicionar a definição mostrada adia as escolhas de páginas flutuantes em páginas ímpares para que sejam colocadas nas páginas 2, 4 e 6
\documentclass{article}
\let\eject\relax% just in this example
\makeatletter
\def\@floatplacement{\global\@topnum\c@topnumber
% Textpage bit, global:
\global\@toproom \topfraction\@colht
\global\@botnum \c@bottomnumber
\global\@botroom \bottomfraction\@colht
\global\@colnum \c@totalnumber
% Floatpage bit, local: don't let floats on to odd numbered p pages
\@fpmin \ifodd\c@page\maxdimen\else\floatpagefraction\@colht\fi
}
\makeatother
\begin{document}
\input{story}
\begin{figure}[p]
\centering
\write300{float on page \thepage}
\rule{3cm}{12cm}
\caption{a figure}
\end{figure}
\input{story}
\begin{figure}[p]
\centering
\write300{float on page \thepage}
\rule{3cm}{12cm}
\caption{a figure}
\end{figure}
\input{story}
\begin{figure}[p]
\centering
\write300{float on page \thepage}
\rule{3cm}{4cm}
\caption{a figure}
\end{figure}
\input{story}
\begin{figure}[p]
\centering
\write300{float on page \thepage}
\rule{3cm}{8cm}
\caption{a figure}
\end{figure}
\input{story}\input{story}
\begin{figure}[p]
\centering
\write300{float on page \thepage}
\rule{3cm}{4cm}
\caption{a figure}
\end{figure}
\begin{figure}[p]
\centering
\write300{float on page \thepage}
\rule{3cm}{4cm}
\caption{a figure}
\end{figure}
\input{story}\input{story}
\end{document}