我正在使用以下代码:
\documentclass[12pt,a4paper]{amsart}
%------------------------------------------------------------
\usepackage{amsmath,amssymb,amsthm}
\usepackage{color}
\usepackage{url}
%------------------------------------------------------------
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%------------------------------------------------------------
\usepackage{geometry}
\geometry{left=2cm,right=2cm,top=2cm,bottom=2cm}
% ------------------------------------------------------------
\newtheorem{theorem}{Theorem}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{definitions}{Definitions}[section]
\newtheorem{notation}{Notation}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{remark}{Remark}[section]
\newtheorem{example}{Example}[section]
\numberwithin{equation}{section}
%%%%%%%%%%%%% hyperref %%%%%%%%%%%%%%%%%%%%
\usepackage[colorlinks=true,pagebackref=true]{hyperref}
\hypersetup{urlcolor=blue, citecolor=red, linkcolor=blue}
\begin{document}
\title[Paper1]{Paper1}
\author[First author, Second author] {First author$^{1}$, Second
author$^{2}$}
\address{$^{1}$ University 1.}
\email{\textcolor[rgb]{0.00,0.00,0.84}{[email protected]}}
\address{$^{2}$ Sfax University 2.}
\email{\textcolor[rgb]{0.00,0.00,0.84}{[email protected]}}
\subjclass[2010]{46C05, 47A05}
\keywords{operator, spectrum.}
\maketitle
\begin{abstract}
In this article, we ..
\end{abstract}
\section{One}
\begin{thebibliography}{10} \addcontentsline{toc}{chapter}{References}
\footnotesize
\bibitem{acg1}{G. Corach,} {Partial isometries,} Linear Algebra Appl.
\end{thebibliography}
\end{document}
我希望编译后得到的标题和作者姓名是小写字母而不是大写字母。
答案1
您请求的更改最容易通过补丁完成amsart.cls
。(我删除了本例中不需要的大量代码。)
\documentclass[12pt,a4paper]{amsart}
\usepackage{etoolbox}
\makeatletter
\patchcmd\maketitle
{\uppercasenonmath\shorttitle}
{}
{}{}
\patchcmd\maketitle
{\@nx\MakeUppercase{\the\toks@}}
{\the\toks@}
{}
{}{}
\patchcmd\@settitle
{\uppercasenonmath\@title}
{}
{}{}
\patchcmd\@setauthors
{\MakeUppercase{\authors}}
{\authors}
{}{}
\makeatother
%------------------------------------------------------------
\usepackage{color}
\usepackage{url}
%------------------------------------------------------------
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%------------------------------------------------------------
\usepackage{geometry}
\geometry{left=2cm,right=2cm,top=2cm,bottom=2cm}
% ------------------------------------------------------------
\numberwithin{equation}{section}
%%%%%%%%%%%%% hyperref %%%%%%%%%%%%%%%%%%%%
\usepackage[colorlinks=true,pagebackref=true]{hyperref}
\hypersetup{urlcolor=blue, citecolor=red, linkcolor=blue}
\begin{document}
\title[Paper1]{Paper1}
\author[First author, Second author] {First author$^{1}$, Second
author$^{2}$}
\address{$^{1}$ University 1.}
\email{\textcolor[rgb]{0.00,0.00,0.84}{[email protected]}}
\address{$^{2}$ Sfax University 2.}
\email{\textcolor[rgb]{0.00,0.00,0.84}{[email protected]}}
\subjclass[2010]{46C05, 47A05}
\keywords{operator, spectrum.}
\maketitle
\begin{abstract}
In this article, we ..
\end{abstract}
\section{One}
\begin{thebibliography}{10} \addcontentsline{toc}{chapter}{References}
\footnotesize
\bibitem{acg1}{G. Corach,} {Partial isometries,} Linear Algebra Appl.
\end{thebibliography}
\end{document}
前两个补丁将从页眉中删除大写字母。第三和第四个补丁将分别从标题和作者中删除大写字母。附加的输出中仅显示第一页。