引言和摘要之间的分页

引言和摘要之间的分页
\documentclass[twocolumn]{aastex61}
\pdfoutput=1 %for arXiv submission
\usepackage{amsmath,amstext}
\usepackage[T1]{fontenc}
\usepackage{apjfonts} 
\usepackage[figure,figure*]{hypcap}

\renewcommand*{\sectionautorefname}{Section} %for \autoref
\renewcommand*{\subsectionautorefname}{Section} %for \autoref

\shorttitle{AASTeX 6.1 Template}
\shortauthors{AUthor A. et al.}

\begin{document}

\title{Title of the Paper}

\author{Author 1}
\author{Author 2}
\author{Author 3}

\affiliation{The UX}

\begin{abstract}
Abstract of this paper!
\end{abstract}
\keywords{keyword1 --- keyword2 --- keyword3}

\section{Introduction}
Intro to the paper

\section{Summary}
Summary text.

\acknowledgments
Acknowledgments.

%\facility{facility ID}
\facilities{facility ID, facility ID, facility ID} 
\software{Numpy}

\bibliographystyle{yahapj}
\bibliography{references}

\appendix
\section{appendix section}

\end{document}

使用此命令后,在预览部分,我可以看到标题和摘要;但我的简介却从全新的一页开始。我该如何避免这种情况?

输出如下:

第 1 页 第2页 第 3 页

PS:我在 overleaf 上做了所有这些

答案1

该类aastex61定义\section要执行的操作

\def\section{%
\if@firstsection
      \maketitle
\global\@firstsectionfalse
     \setcounter{footnote}{\thefront@matter@foot@note}%
     \let\footnotetext=\old@foot@note@text
     \let\footnotemark=\old@foot@note@mark
   \clearpage
   \if@two@col
   \twocolumngrid
   \fi
\fi
    \@startsection{section}{1}{\z@}{9pt plus 1pt minus
    1pt}{4pt}{\apjsecfont\center}} 

条件\if@firstsection在开始时设置为真,因此第一个\section命令的效果是发出\maketitle

\def\frontmatter@maketitle{%
\@author@finish
\if@firstsection
  \title@column\titleblock@produce
\onecolumngrid
\else
%
\global\firstaffiltrue
 \title@column\secondtitleblock@produce
\fi
  \suppressfloats[t]%
%% Prevent these from being turned off so that
%% we can use \maketitle again for \AllAuthors.
%%
%  \let\and\relax
  \let\affiliation\@gobble
  \let\author\@gobble
%  \let\@AAC@list\@empty
%  \let\@AFF@list\@empty
%  \let\@AFG@list\@empty
%  \let\@AF@join\@AF@join@error
%  \let\email\@gobble
%  \let\@address\@empty
% \let\maketitle\relax
%  \let\thanks\@gobble
\if@firstsection
  \let\abstract\@undefined\let\endabstract\@undefined
  \titlepage@sw{%
   \vfil
   \clearpage
  }{}%
\fi
}%

\let\maketitle\frontmatter@maketitle

结论是,摘要后的分页符(实际上是所有前言信息之后)排版后通缉

您可以通过在之前添加来删除分页符\begin{document}

\makeatletter
\@booleanfalse\titlepage@sw
\makeatother

这种情况不再发生aastex63(也适用于 TeX Live)。

\documentclass[twocolumn]{aastex63}
\pdfoutput=1 %for arXiv submission
\usepackage{amsmath,amstext}
\usepackage[T1]{fontenc}
%\usepackage{apjfonts} 
\usepackage[figure,figure*]{hypcap}

\renewcommand*{\sectionautorefname}{Section} %for \autoref
\renewcommand*{\subsectionautorefname}{Section} %for \autoref

\shorttitle{AASTeX 6.1 Template}
\shortauthors{AUthor A. et al.}

\begin{document}

\title{Title of the Paper}

\author{Author 1}
\author{Author 2}
\author{Author 3}

\affiliation{The UX}

\begin{abstract}
Abstract of this paper!
\end{abstract}
\keywords{keyword1 --- keyword2 --- keyword3}

\section{Introduction}
Intro to the paper

\section{Summary}
Summary text.

\acknowledgments
Acknowledgments.

%\facility{facility ID}
\facilities{facility ID, facility ID, facility ID} 
\software{Numpy}

\bibliographystyle{yahapj}
\bibliography{references}

\appendix
\section{appendix section}

\end{document}

(我评论apjfonts说我没有)

在此处输入图片描述

答案2

你试过这个吗:https://stackoverflow.com/questions/55552325/unwanted-page-break-after-maketitle?我认为它能适用于你的特定情况。

相关内容