我正在构建附录,附录的标题和我想要附加的图之间存在很大差距。下面是我的代码和进一步描述问题的屏幕截图。如果图片不清楚,附录的标题(“附录 A:概述”)和图之间大约有 1.5 页的差距,这不是最佳的。
提前致谢,如果您需要更多信息,请告诉我!
\documentclass[pmlr,twocolumn,10pt]{jmlr} % W&CP article
\let\SUP\textsuperscript
\usepackage{tabto}
\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage{natbib}
\usepackage{url}
\usepackage{booktabs}
\usepackage[load-configurations=version-1]{siunitx} % newer version
\newcommand{\cs}[1]{\texttt{\char`\\#1}}% remove this in your real article
\newcommand{\equal}[1]{{\hypersetup{linkcolor=black}\thanks{#1}}}
% Customized Tabs
\newcommand\mytab{\hspace{10mm} \hspace{-5cm}}
% Define an unnumbered theorem just for this sample document for
% illustrative purposes:
\theorembodyfont{\upshape}
\theoremheaderfont{\scshape}
\theorempostheader{:}
\theoremsep{\newline}
\newtheorem*{note}{Note}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\begin{keywords}
\end{keywords}
\section{Introduction}
\label{sec:intro}
\section{Related Works}
\label{sec:RelatedWorks}
\section{Dataset, Preprocessing, and Annotations}
\label{sec:Dataset+Preprocessing+Annotations}
\paragraph{Dataset}
\label{sec:Dataset}
% Figure 1 - Example Sequences
\begin{figure*}[h!]
\label{fig:fig1}
\centering
\includegraphics[scale = 0.35]{Figure-1.png}
\caption{Example Sequences}
\end{figure*}
\paragraph{Preprocessing}
\label{sec:Preprocessing}
\paragraph{Annotations}
\label{sec:Annotations}
\section{Methodology}
\label{sec:Methodology}
\section{Results}
\label{sec:Results}
%% Conclusion + Future Work %%
\section{Conclusion and Future Work}
\clearpage
\appendix
% Appendix A
% Figure 2 - Overview
\section{Overview}
\label{fig:fig2}
\begin{figure*}[!htbp]
\centering
\includegraphics[scale = 0.14]{Overview.png}
\caption{Overview}
\end{figure*}
\newpage
\end{document}
答案1
\onecolumn
在之后使用\appendix
可以立即使用整页,而不是figure*
转到下一页。
\documentclass[pmlr,twocolumn,10pt]{jmlr} % W&CP article
\usepackage{graphicx}
\usepackage{kantlipsum} % dummy text
\begin{document}
\section{Introduction}
\label{sec:intro}
\section{Related Works}
\label{sec:RelatedWorks}
\section{Dataset, Preprocessing, and Annotations}
\label{sec:Dataset+Preprocessing+Annotations}
\section{Methodology}
\label{sec:Methodology}
\kant[1]
\section{Results}
\label{sec:Results}
\kant[9]
\newpage
\section{Conclusion and Future Work}
\kant[11]
\clearpage
\appendix
\onecolumn % added <<<<<<<<
% Appendix A
% Figure 2 - Overview
\section{Overview}
\label{fig:fig2}
\begin{figure*}[!htbp]
\centering
\includegraphics[width=\textwidth]{example-image}
\caption{Overview}
\end{figure*}
\end{document}