文章类中的地址和电子邮件

文章类中的地址和电子邮件

article我怎样才能像在课堂上一样在课文末尾(参考文献之后)排版电子邮件和地址amsart?有人知道可以这样做的宏吗?

答案1

在文章类中,您可以使用包authblk和命令\affil

\documentclass{article}
\usepackage{authblk}
\title{An important paper}

\author[$\dagger$]{R. Campbell}
\author[$\star$]{M. Dane}
\author[$\ddag$]{J. Jones}

\affil[$\dagger$]{Department of Mathematics, Pennsylvania State University,Pittsburgh, Pennsylvania 13593}
\affil[$\star$]{Atmospheric Research Station,
Pala Lundi, Fiji}
\affil[$\ddag$]{Department of Philosophy, Freedman College,
Periwinkle, Colorado 84320}

答案2

如果你不是在写一个新的类,而只是写一个文档,最简单的方法就是在开始的时候定义一个宏,然后在最后使用它;或者只在示例有的地方键入信息\Addresses

\documentclass{article}

\usepackage{lipsum} % just for the example

\begin{document}

\title{An important paper}

\author{R. Campbell
  \and
  M. Dane
  \and
  J. Jones
}

\newcommand{\Addresses}{{% additional braces for segregating \footnotesize
  \bigskip
  \footnotesize

  R.~Campbell, \textsc{Department of Mathematics, Pennsylvania State University,
    Pittsburgh, Pennsylvania 13593}\par\nopagebreak
  \textit{E-mail address}, R.~Campbell: \texttt{[email protected]}

  \medskip

  M.~Dane (Corresponding author), \textsc{Atmospheric Research Station,
    Pala Lundi, Fiji}\par\nopagebreak
  \textit{E-mail address}, M.~Dane: \texttt{DaneMark@@ffr.choice}

  \medskip

  J.~Jones, \textsc{Department of Philosophy, Freedman College,
    Periwinkle, Colorado 84320}\par\nopagebreak
  \textit{E-mail address}, J.~Jones: \texttt{id739e@@oseoi44 (Bitnet)}

}}

\maketitle

\lipsum

\begin{thebibliography}{9}
\bibitem{A} A. Uthor, A paper, J. of Interesting Results, 2015

\end{thebibliography}

\Addresses

\end{document}

在此处输入图片描述

答案3

根据AMS LaTeX 课程文档

在文章中,地址信息的排版是在文档末尾通过调用 完成的\@setaddresses。这是通过父函数 完成的 \enddoc@text,因为一些 AMS 期刊也在那里而不是开头打印摘要,而且重新定义比尝试\enddoc@text撤消已添加到钩子中的材料更容易\AtEndDocument

以下amsart最小文档

\documentclass{amsart}% http://ctan.org/pkg/amslatex

% Taken from the AMS LaTeX class documentation
\author{Roland Campbell}
\address{Department of Mathematics\\
  Pennsylvania State University\\
  Pittsburgh, Pennsylvania 13593}
\email[R.~Campbell]{campr@@galois.psu.edu}
\author{Mark M. Dane}
  % Same address as R. Campbell
\curraddr[M.~Dane]{Atmospheric Research Station\\
  Pala Lundi, Fiji}
\email[M.~Dane]{DaneMark@@ffr.choice}
\author{Jeremiah Jones}
\address[J.~Jones]{Department of Philosophy\\
  Freedman College\\
  Periwinkle, Colorado 84320}
\email[J.~Jones]{id739e@@oseoi44 (Bitnet)}

\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\begin{document}
\lipsum[1-10]
\end{document}

在文档末尾生成

在此处输入图片描述

我的建议是使用钩子模拟标题属性(作者、电子邮件、地址......)\AtEndDocument,因为它的用途是单一的:

在此处输入图片描述

\documentclass{article}
\usepackage[margin=1in]{geometry}% http://ctan.org/pkg/geometry

\AtEndDocument{\bigskip{\footnotesize%
  \textsc{Department of Mathematics, Pennsylvania State University, Pittsburgh, Pennsylvania 13593} \par  
  \textit{E-mail address}, R.~Campbell: \texttt{[email protected]} \par
  \addvspace{\medskipamount}
  \textit{Current address}, M.~Dane: Atmospheric Research Station, Pala Lundi, Fiji \par
  \textit{E-mail address}, M.~Dane: \texttt{DaneMark@@ffr.choice} \par
  \addvspace{\medskipamount}
  (J.~Jones) \textsc{Department of Philosophy, Freedman College, Periwinkle, Colorado 84320} \par
  \textit{E-mail address}, J.~Jones: \texttt{id739e@@oseoi44 (Bitnet)}
}}

\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\begin{document}
\lipsum[1-10]
\end{document}

相关内容