关于amsart修改permission页面样式的问题?

发布于 2025-10-28 19:29:12

如下mwe:

\documentclass[11pt]{amsart}

\address[H. Zhu]{School of Physics and Information Engineering, Jiangsu Second Normal University, 6 Xinhe West Road, Shiqiu street, Nanjing 211200, P. R. China}
\email{\tt zhs@fudan.edu.cn}

\address[H. Song]{Department of Basic Courses, P. R. China}
\email{\tt s3@13.com}


\begin{document}

hello!

Here below is the permission:

\end{document}

编译将得到:

image.png

现在的目标是要修改为:

image.png

查看更多

关注者
0
被浏览
49
1 个回答
Sagittarius Rover
Sagittarius Rover 11小时前
这家伙很懒,什么也没写!

改的不是很好。

注意到amsart.sty中的:

% line 524~549
\def\@setaddresses{\par
  \nobreak \begingroup
\footnotesize
  \def\author##1{\nobreak\addvspace\bigskipamount}%
  \def\\{\unskip, \ignorespaces}%
  \interlinepenalty\@M
  \def\address##1##2{\begingroup
    \par\addvspace\bigskipamount\indent
    \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
    {\scshape\ignorespaces##2}\par\endgroup}%
  \def\curraddr##1##2{\begingroup
    \@ifnotempty{##2}{\nobreak\indent\curraddrname
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
      ##2\par}\endgroup}%
  \def\email##1##2{\begingroup
    \@ifnotempty{##2}{\nobreak\indent\emailaddrname
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
      \ttfamily##2\par}\endgroup}%
  \def\urladdr##1##2{\begingroup
    \def~{\char`\~}%
    \@ifnotempty{##2}{\nobreak\indent\urladdrname
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
      \ttfamily##2\par}\endgroup}%
  \addresses
  \endgroup
}

其中关键的部分为

    \par\addvspace\bigskipamount\indent
    \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
    {\scshape\ignorespaces##2}\par\endgroup}%

可以修改为「去掉小括号」+「去掉地址的小型大写字体」+「修改缩进」 +「编组内给姓名设置小体大写」...

    \par\addvspace\bigskipamount
    %\indent
    % \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
    \@ifnotempty{##1}{{\scshape\ignorespaces\noindent##1\unskip\par}}%
    % {\scshape\ignorespaces##2}\par\endgroup}%
    {\ignorespaces\noindent##2}\par\endgroup}%

完整代码:

\documentclass[11pt]{amsart}

\makeatletter
\def\@setaddresses{\par
  \nobreak \begingroup
\footnotesize
  \def\author##1{\nobreak\addvspace\bigskipamount}%
  \def\\{\unskip, \ignorespaces}%
  \interlinepenalty\@M
  \def\address##1##2{\begingroup
    \par\addvspace\bigskipamount
    %\indent
    % \@ifnotempty{##1}{(\ignorespaces##1\unskip) }%
    \@ifnotempty{##1}{{\scshape\ignorespaces\noindent##1\unskip\par}}%
    % {\scshape\ignorespaces##2}\par\endgroup}%
    {\ignorespaces\noindent##2}\par\endgroup}%
  \def\curraddr##1##2{\begingroup
    \@ifnotempty{##2}{\nobreak\indent\curraddrname
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
      ##2\par}\endgroup}%
  \def\email##1##2{\begingroup
    \@ifnotempty{##2}{\nobreak\indent\emailaddrname
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
      \ttfamily##2\par}\endgroup}%
  \def\urladdr##1##2{\begingroup
    \def~{\char`\~}%
    \@ifnotempty{##2}{\nobreak\indent\urladdrname
      \@ifnotempty{##1}{, \ignorespaces##1\unskip}\/:\space
      \ttfamily##2\par}\endgroup}%
  \addresses
  \endgroup
}
\makeatother


\address[H. Zhu]{School of Physics and Information Engineering, Jiangsu Second Normal University, 6 Xinhe West Road, Shiqiu street, Nanjing 211200, P. R. China}
\email{\tt zhs@fudan.edu.cn}

\address[H. Song]{Department of Basic Courses, P. R. China}
\email{\tt s3@13.com}


\begin{document}

hello!

Here below is the permission:

\end{document}

这将得到:

image.png

BTW, 这无疑是编辑的无理需求...

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览