Removendo o espaço na página antes do apêndice

Removendo o espaço na página antes do apêndice

Estou escrevendo um artigo no formato IEEE, em duas colunas. Incluirei algumas figuras grandes no apêndice, abrangendo duas colunas - largas, mas não longas -, porque a colocação das figuras no texto prejudica a organização do artigo. Mas, quando eu crio o apêndice, depois das referências fica um enorme espaço em branco e o apêndice vai para a próxima página. Estou incluindo um código de exemplo para mostrar o problema.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%2345678901234567890123456789012345678901234567890123456789012345678901234567890
%        1         2         3         4         5         6         7         8

\documentclass[conference,10pt]{IEEEtran}
\makeatletter
\def\ps@headings{%
\def\@oddhead{\mbox{}\scriptsize\rightmark \hfil \thepage}%
\def\@evenhead{\scriptsize\thepage \hfil \leftmark\mbox{}}%
\def\@oddfoot{}%
\def\@evenfoot{}}
\makeatother
\pagestyle{empty}


\usepackage{booktabs}

\usepackage[caption=false]{subfig}
\usepackage{comment}
\usepackage[]{algorithm2e}
\usepackage{balance} 
\usepackage{booktabs} 
\usepackage{subfig}

\usepackage{balance}


\usepackage[english]{babel}
\usepackage{blindtext}

\usepackage{blindtext}
\usepackage{wrapfig}
\usepackage{amsmath}
\usepackage[dvipsnames,svgnames,x11names]{xcolor}
\usepackage[final]{changes}
\definechangesauthor[color=BrickRed]{EE}
\usepackage{todonotes}
\setlength{\marginparwidth}{3cm}
\makeatletter
\setremarkmarkup{\todo[color=Changes@Color#1!20,size=\scriptsize]{#1: #2}}
\makeatother

\newcommand{\note}[2][]{\added[#1,remark={#2}]{}}

\IEEEoverridecommandlockouts      

\title{\LARGE \bf A long title comes here about lets say whales}

\author{\IEEEauthorblockN{
Author First\IEEEauthorrefmark{1},
Author Second\IEEEauthorrefmark{1},
Author Third\IEEEauthorrefmark{1}, 
Author Fourth \IEEEauthorrefmark{2} and
Author Fifth \IEEEauthorrefmark{1}}
\IEEEauthorblockA{\IEEEauthorrefmark{1}A University, City, State\\
Email: \{first, second, third, fifth\}@city.edu}
\IEEEauthorblockA{\IEEEauthorrefmark{2}Another University, City, State\\
Email: [email protected]}}

\begin{document}



\maketitle
\thispagestyle{empty}
\pagestyle{empty}

\begin{abstract}

\blindtext

\end{abstract}

\section{Conclusion}
\Blindtext
\Blindtext

\balance
\onecolumn
\section*{Appendix}

\Blindtext

\end{document}

Alterei o conteúdo do artigo, mas estou incluindo todos os pacotes que estou usando nele. Como observação lateral, minhas figuras grandes são aquelas criadas com o pacote \minipage.Isto é o que recebo, observe o grande espaço residual antes do apêndice.

EDITAR NO CÓDIGO

Eu removi o máximo possível o uso redundante de pacotes para a criação do problema, só queria que outras pessoas soubessem se um dos pacotes que usei causa esse problema.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%2345678901234567890123456789012345678901234567890123456789012345678901234567890
%        1         2         3         4         5         6         7         8

\documentclass[conference,10pt]{IEEEtran}


\usepackage{balance}
\usepackage[english]{babel}
\usepackage{blindtext}
\IEEEoverridecommandlockouts      

\title{\LARGE \bf A long title comes here about lets say whales}

\author{\IEEEauthorblockN{
Author First\IEEEauthorrefmark{1},
Author Fourth \IEEEauthorrefmark{2} and
Author Fifth \IEEEauthorrefmark{1}}
\IEEEauthorblockA{\IEEEauthorrefmark{1}A University, City, State\\
Email: \{first, second, third, fifth\}@city.edu}
\IEEEauthorblockA{\IEEEauthorrefmark{2}Another University, City, State\\
Email: [email protected]}}

\begin{document}
\maketitle
\thispagestyle{empty}
\pagestyle{empty}

\begin{abstract}

\blindtext

\end{abstract}

\section{Conclusion}
\Blindtext
\Blindtext

\balance

\onecolumn

\section*{Appendix}

\Blindtext

\end{document}

Responder1

Esta solução usa o comando \shortpagepara alternar entre \twocolumne \onecolumnem um limite natural da página. Ele coloca o texto formatado em uma caixa de salvamento e despeja tudo de uma vez. O que resta no final da página é processado usando multicols.

\afterpageé executado no início da próxima página, onde \onecolumnnão criará uma nova página. Ele também salva o texto restante da página anterior em formato \AP@partial.

\documentclass[conference,10pt]{IEEEtran}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{balance}

\usepackage{afterpage}
\usepackage{multicol}
\newsavebox{\shortpagebox}

\makeatletter
\newcommand{\shortpage}[1]% #1= \twocolumn text to wrap into \onecolumn page
{\par
  \setbox\shortpagebox=\vbox{\strut #1\par}%
  \afterpage{\onecolumn
    \begin{multicols}{2}
    \unvbox\AP@partial
    \end{multicols}}%
  \unvbox\shortpagebox
\par}
\makeatother

\IEEEoverridecommandlockouts      

\title{\LARGE \bf A long title comes here about lets say whales}

\author{\IEEEauthorblockN{
Author First\IEEEauthorrefmark{1},
Author Second\IEEEauthorrefmark{1},
Author Third\IEEEauthorrefmark{1}, 
Author Fourth \IEEEauthorrefmark{2} and
Author Fifth \IEEEauthorrefmark{1}}
\IEEEauthorblockA{\IEEEauthorrefmark{1}A University, City, State\\
Email: \{first, second, third, fifth\}@city.edu}
\IEEEauthorblockA{\IEEEauthorrefmark{2}Another University, City, State\\
Email: [email protected]}}

\begin{document}

\maketitle
\thispagestyle{empty}
\pagestyle{empty}

\begin{abstract}

\blindtext

\end{abstract}

\section{Conclusion}
\Blindtext
\shortpage{\Blindtext}

\section*{Appendix}

\Blindtext

\end{document}

informação relacionada