在乳膠中插入圖形後如何將頁面的其餘部分留空?

在乳膠中插入圖形後如何將頁面的其餘部分留空?

我想使用以下程式碼在頁面中完全插入一個帶有標題的圖形:

\documentclass[a4paper,fleqn,usenatbib]{mnras}


\usepackage{newtxtext,newtxmath}
% Depending on your LaTeX fonts installation, you might get better results with one of these:
%\usepackage{mathptmx}
%\usepackage{txfonts}

\usepackage[T1]{fontenc}
\usepackage{ae,aecompl}


% Only include extra packages if you really need them. Common packages are:
\usepackage{graphicx}   % Including figure files
\usepackage{relsize}          %To change the scale/size of the fonts
\usepackage{amsmath}    % Advanced maths commands
\usepackage{siunitx}
%\usepackage{amssymb}   % Extra maths symbols

% Extra packages
\usepackage{mathrsfs}
\usepackage{lipsum}
\usepackage{blindtext}
\usepackage{afterpage}
%\usepackage{extarrows}

\title[]{Title of the Paper}

\author[First Author]{
First Author's name,$^{1}$\thanks{E-mail: [email protected]}
Second Author's name,$^{2}$\thanks{E-mail: [email protected]}
Third Author's name$^{2,3}$\thanks{E-mail: [email protected]}
\\
$^{2}$The mailing address of the university in which 2nd author resides\\
$^{3}$The mailing address of the university in which 3rd author resides\\
$^{1}$The mailing address of the university in which 2nd author resides}






\date{Accepted XXX. Received YYY; in original form ZZZ}

\pubyear{2017}

\begin{document}
\label{firstpage}
\pagerange{\pageref{firstpage}--\pageref{lastpage}}
\maketitle

\begin{abstract}

\end{abstract}


\begin{keywords}

\end{keywords}


\section{Convergence due to Resolution Effects}  \label{Appendix:Appendix C}

\begin{figure*}
     \includegraphics[height=9.5cm]{m12m_hist_high}
    \caption{the caption for 34th figure}
    \label{fig:Figure 34}
\end{figure*}


\begin{figure*}
       \includegraphics[height=9.5cm]{m11q_low_high}
    \caption{the caption for 42nd figure.}
    \label{fig:Figure 42}
\end{figure*}



\begin{figure*}
       \includegraphics[height=9.5cm]{m11q_local_high}
    \caption{the caption for 43rd figure}
    \label{fig:Figure 43}
\end{figure*}

\begin{figure*}
     \includegraphics[height=9.5cm]{m11q_hist_high}
    \caption{the caption for 53rd figure.}
    \label{fig:Figure 53}
\end{figure*}



\bsp    % typesetting comment
\label{lastpage}
\end{document}

然而,在圖 34 之後,我還有其他具有不同目的的圖。我嘗試在第一個圖之外使用符號,但這給我留下了整個空白頁面,這是不希望的。

有沒有辦法刪除兩者之間的空白頁面,而是將第一個數字之後的第一頁的其餘部分留空並從下一頁開始?

答案1

我必須遵循這些才能達成解決方案:

(1)依照egreg的建議,刪除廢棄的包ae和包aecompl

(2)根據Peter Flynn的建議驗證mnras.cls禁用該選項的可能性[p]

(3) 按照 David Carlisle 的評論,並\clearpage再次嘗試newtxtext透過不恰當地使用 (1) 中提到的過時包來覆蓋包,而無需單獨使用\afterpage

\bst(4) 我自己意識到文件末尾不需要命令,.tex因為它強制創建一個完全空的頁面,這是不希望的。

我終於能夠解決這個問題了。感謝大家的貢獻。

相關內容