我遇到了一个奇怪的问题。我使用了一个出版期刊的模板(在期刊上发表文章是必须的)。使用它,“章节”出现在“摘要”之前。奇怪的是,如果您删除“\begin{aug} ... \end{aug}”部分,则不会出现此问题,但正如所说,这是期刊规定的强制性要求。如何获得正确的顺序?首先是摘要,然后是章节?
文档类的包的链接在这里: https://vtex-soft.github.io/texsupport.ims-aop/
以下是代码:
\documentclass[aop,preprint]{imsart}
%% Packages
\RequirePackage{amsthm,amsmath,amsfonts,amssymb}
\RequirePackage[numbers]{natbib}
\begin{document}
\begin{frontmatter}
\title{sample title}
\begin{aug}
\author[A]{\fnms{Peter} \snm{Pan}\ead[label=e1]{[email protected]}}
\address[A]{ \printead{e1}}
\end{aug}
\begin{abstract}
ABSTRACT. This is a test abstract. Unfortunately, the sections appear before the abstract. Why is that so?
\end{abstract}
\section{Introduction}
This section should appear after the abstract, but it doesnt. Why?
\end{frontmatter}
\end{document}
答案1
环境frontmatter
应该只包含文档标题中的内容。文档的正文应该放在后 \end{frontmatter}
。
\documentclass[aop,preprint]{imsart}
%% Packages
\usepackage{amsthm,amsmath,amsfonts,amssymb}
\usepackage[numbers]{natbib}
\begin{document}
\begin{frontmatter}
\title{sample title}
\begin{aug}
\author[A]{\fnms{Peter} \snm{Pan}\ead[label=e1]{[email protected]}}
\address[A]{ \printead{e1}}
\end{aug}
\begin{abstract}
ABSTRACT. This is a test abstract. the sections is after the abstract.
\end{abstract}
\end{frontmatter}
\section{Introduction}
This section should appear after the abstract, but it doesnt. Why?
\end{document}