我正在写实验报告,并已将文档格式化为段落之间留有空格。有没有办法删除我的所属机构和提交日期之间的间距(如下所示),但保留所有其他段落的间距?:
以下是乳胶代码的相关部分:
\setlength{\parskip}{1em}
\setlength{\topskip}{1em}
\title{N-Body Simulation of the formation of a Globular Cluster}
\author{O.L.C. Moore}
\affiliation{\normalfont Level 3 computing Project, Group C1}
\date{Submitted: \today{}, Date of Experiment: 2021}
答案1
这对我和我的revtex4-2
班级都很有用。请你们也尝试一下。
\documentclass[preprint]{revtex4-2}
\setlength{\parskip}{1em}
\setlength{\topskip}{1em}
\begin{document}
\title{N-Body Simulation of the formation of a Globular Cluster}
\author{O.L.C. Moore}
\affiliation{\normalfont Level 3 computing Project, Group C1 \vspace*{-20pt}} % negative space
\date{Submitted: \today{}, Date of Experiment: 2021}
\maketitle
\end{document}
或者也许最好保持风格,
\affiliation{\normalfont Level 3 computing Project, Group C1 \vspace*{-1em}} % negative space