如何在 amsart 中将地址放在作者姓名和摘要之间?

如何在 amsart 中将地址放在作者姓名和摘要之间?
\documentclass{amsart}

\usepackage{graphicx}    %and others

\begin{document}

\title[short title]{Title}

%how to make the title^*

\author[Nguyen Thi Hong]{ Nguyen Thi Hong \textsuperscript{1**}}

\address{\textsuperscript{1}Faculty of Mathematics and Physics, Charles University. Prague, Czech Republic.}

\email{[email protected]}

% i'd like to have the address placed here

\keywords{keyword1, keyword2, keyword3, ...}

\begin{abstract}
Abstract.....
\end{abstract}

\maketitle   %prints out Title, Author and Abstract (all in smallcaps)

%here is the contents, several pages of text 
%introduction, main part, conclusion
%in the first page, in footnotes I want to have before ** Email: [email protected]

\begin{thebibliography}{99}
%references
\end{thebibliography}


\newpage
\begin{appendix}
%lots of figures
\end{appendix}
\end{document}

答案1

该命令\maketitle使用\@maketitle包含作者等设置的命令,然后或多或少直接切换到摘要。但是,可以使用包\xpatchcmd中的xpatch命令并挂接到\@maketitle,在作者之后明确设置地址。

\makeatletter
\xpatchcmd{%
\@maketitle}{%
\ifx\@empty\authors \else \@setauthors \fi
}{%
  \ifx\@empty\authors \else \@setauthors \fi
  \ifx\@empty\addresses \else\@setaddresses\fi
}{\typeout{Patch successful}}{\typeout{Patch failed}}
\makeatother

我不确定出版商是否会接受这一点。

\documentclass{amsart}

\usepackage{xpatch}

\makeatletter
\xpatchcmd{%
\@maketitle}{%
\ifx\@empty\authors \else \@setauthors \fi
}{%
  \ifx\@empty\authors \else \@setauthors \fi

  \ifx\@empty\addresses \else\@setaddresses\fi
}{\typeout{Patch successful}}{\typeout{Patch failed}}
\makeatother

\usepackage{graphicx}    %and others

\begin{document}

\title[short title]{Title}

%how to make the title^*

\author[Nguyen Thi Hong]{ Nguyen Thi Hong \textsuperscript{1**}}

\address{\textsuperscript{1}Faculty of Mathematics and Physics, Charles University. Prague, Czech Republic.}

\email{[email protected]}

% i'd like to have the address placed here

\keywords{keyword1, keyword2, keyword3, ...}

\begin{abstract}
Abstract.....
\end{abstract}

\maketitle   %prints out Title, Author and Abstract (all in smallcaps)

%here is the contents, several pages of text 
%introduction, main part, conclusion
%in the first page, in footnotes I want to have before ** Email: [email protected]

\begin{thebibliography}{99}
%references
\end{thebibliography}


\newpage
\begin{appendix}
%lots of figures
\end{appendix}
\end{document}

enter image description here

相关内容