32 lines
690 B
Plaintext
32 lines
690 B
Plaintext
|
% https://www.developpez.net/forums/d910711/autres-langages/autres-langages/latex/mise-forme/texte-recto-figures-verso/
|
||
|
% Solution by Martigan on Developpez.net
|
||
|
|
||
|
\RequirePackage{afterpage}
|
||
|
\RequirePackage{caption}
|
||
|
\newcommand\@addfig{\relax}
|
||
|
\newcommand\addfig[1]{\global\long\def\@addfig{#1}}
|
||
|
\newcommand\@putfig{\@addfig\addfig{\relax}}
|
||
|
\newcommand\blankpage{%
|
||
|
\null
|
||
|
\vfill
|
||
|
\captionsetup{type=figure} % Warning: this could be faulty if tables are required
|
||
|
\@putfig%
|
||
|
\vfill
|
||
|
\thispagestyle{empty}%
|
||
|
\clearpage%
|
||
|
\addtocounter{page}{-1}
|
||
|
\afterpage{\blankpage}
|
||
|
}
|
||
|
|
||
|
|
||
|
\iffalse
|
||
|
% Example
|
||
|
\addfig{%
|
||
|
|
||
|
\centering
|
||
|
\includegraphics[scale=1]{Image1}
|
||
|
\caption{Test}
|
||
|
\label{Ima1}
|
||
|
}
|
||
|
\fi
|