使用 \begin{abstract} 指令時建立的新頁面

使用 \begin{abstract} 指令時建立的新頁面

我正在使用 emulateapj 並嘗試將摘要放入如下所示:

\documentclass{emulateapj}
\setcitestyle{authoryear,round,comma} 
\begin{document}
    \begin{abstract}
        hello world!
    \end{abstract}
\maketitle
\end{document}  

它目前正在創建一個帶有空白頁的 pdf 文件,然後是下一頁的摘要,並且沒有錯誤或警告。我已經清除了臨時文件,問題仍然存在。

(它也將標題放在新頁面上!)

有任何想法嗎?

答案1

該類別以特定方式格式化所有前文,因此,只有一個摘要,它不能像通常那樣列印內容。對於這個特定的課程,您必須先準備好一個部分,然後才能按預期的方式製作格式。請參閱下面的範例以了解可行的方法:

\documentclass[11pt,a4paper]{emulateapj}

\begin{document}

\title{A \LaTeX\, Example Document}
\author{A. Author}
\date{\today}


\begin{abstract}
This is a sample document which demonstrates some of the basic features
of \LaTeX.  You can easily reformat it for different document or bibliography styles.
\end{abstract}

%Section heading
\section{Introduction}
This file is an example of how to use \LaTeX.  In principle, you only have to worry
about the text content; formatting is taken care of by the options and arguments of
the ``$\backslash$documentclass'' command (other style files are available on the Web.
In practice, however, things are not so simple.  Things like figures and bibliographies 
can go all wrong when you change styles, so expect to have to fiddle!  



\end{document}

相關內容