
我正在嘗試向一家期刊提交一篇文章,該期刊要求在文章標題後註明作者姓名和聯絡資訊。我使用的是amsart樣式,該樣式的預設設定是在文章末尾列出聯絡資訊。由於我不想更改樣式,因此任何有關如何在文章開頭列出作者姓名的聯絡資訊的建議將不勝感激。
答案1
正如評論中所提到的:如果期刊提供或建議特定的 LaTeX 樣式或模板,那麼您應該使用它。一般來說,您無法選擇自己的風格來提交給期刊。
在amsart
類別中,聯絡資訊是使用命令排版的\enddoc@text
。您可以\maketitle
在標題後立即使用該命令來獲取聯絡資訊:
\maketitle
\makeatletter
\enddoc@text
\let\enddoc@text\empty % to remove the contact info from the end of the document
\makeatother
請注意,我們需要\makeatletter
和\makeatother
才能使用\enddoc@text
,因為它包含一個@
.我們確實\let\enddoc@text\empty
從文件末尾刪除了聯絡資訊。
帶有一些格式的完整範例:
\documentclass{amsart}
\usepackage{lipsum}
\author{Author \and Author}
\title{Title}
\address{University of bla}
\email{[email protected]}
\begin{document}
\maketitle
\makeatletter
\vspace{-2em}
{\centering\enddoc@text}
\let\enddoc@text\empty % to remove the contact info from the end of the document
\makeatother
\begin{abstract}
\lipsum[50]
\end{abstract}
\lipsum
\end{document}