I want to place images after each other, without allowing any text to be placed in free space. I have 2 appendices in IEEEtran two column format. Both appendices have only figures. Appendix B should start after all figures in Appendix A are placed. But Appendix B text gets placed before that.
\appendices
\section{Examples of Emails in Gmail's Spam folder}
Below are screenshots of various types of warning messages shown by Gmail for different types of emails we found in Gmail's spam folder.
\begin{figure}[h!]
\centering
\includegraphics[width=\columnwidth]{imgs/gmail_spam/spam_spam}
\end{figure}
\begin{figure}[h!]
\centering
\includegraphics[width=\columnwidth]{imgs/gmail_spam/spam_phishing}
\end{figure}
\begin{figure}[h!]
\centering
\includegraphics[width=\columnwidth]{imgs/gmail_spam/spam_steal2}
\end{figure}
\section{Examples of Phishing Emails}
Below are some examples.
\begin{figure}[h!]
\centering
\includegraphics[width=\columnwidth]{imgs/phish_email/email1_neu}
\caption{Example 1}
\label{fig:email1}
\end{figure}
\begin{figure}[h!]
\centering
\includegraphics[width=\columnwidth]{imgs/phish_email/email2_neu}
\caption{Example 2}
\label{fig:email2}
\end{figure}
In Appendix A, there is no space remaining for the second figure, so the second figure goes to the next page. But in the space that is remaining, the text of Appendix B gets written. How to avoid this?
figures. Just include the graphics. You're not gaining anything by letting them float here, as far as I can see. Use thecenterenvironment, so you get appropriate spacing. – cfr Sep 22 '17 at 03:30\clearpage. – Nash J. Sep 22 '17 at 13:09