有人可以建议我如何为以下代码添加 AMS 代码和关键词吗?
\documentclass[12pt,reqno,a4paper]{amsart}
\usepackage{extsizes}
\usepackage{blindtext}
\textheight 9.3in \textwidth 6.5in
\calclayout
\usepackage{mathtools}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{mathrsfs}
\usepackage[all]{xy}
\newcommand{\mc}{\mathcal}
\newcommand{\mf}{\mathfrak}
\usepackage[normalem]{ulem}
\theoremstyle{definition}
\newtheorem{theorem}{Theorem}[section]
\theoremstyle{definition}
\newtheorem{construction}{Construction}[section]
\theoremstyle{definition}
\newtheorem{corollary}{Corollary}[section]
\theoremstyle{definition}
\newtheorem{lemma}{Lemma}[section]
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\theoremstyle{definition}
\newtheorem{remark}{Remark}[section]
\theoremstyle{definition}
\newtheorem{proposition}{Proposition}[section]
\theoremstyle{definition}
\newtheorem{example}{Example}[section]
\theoremstyle{definition}
\newtheorem*{question}{Question}
\theoremstyle{definition}
\newtheorem*{solution}{Solution}
\theoremstyle{definition}
\newtheorem{exercise}{Exercise}
\usepackage{tikz-cd}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{datetime}
\usepackage{hyperref}
% \renewcommand{\baselinestretch}{2}
\usepackage{color}
\pagestyle{myheadings}
\newcommand{\xra}{\xrightarrow}
\newcommand{\ra}{\rightarrow}
\title{Something}
\author{Someone}
\begin{document}
\today
\begin{abstract}
\end{abstract}
\maketitle
%\tableofcontents
\end{document}
答案1
您只需在 之前使用\keywords{...}
and即可。\subjclass{...}
\maketitle
我重新组织了你的序言,使其更加一致。你应该更加注意包和声明的顺序;就目前的情况而言,序言令人困惑且难以维护。
一项\theoremstyle
声明一直有效,直到被另一项声明撤销,因此您无需一遍又一遍地重复它。
\documentclass[12pt,reqno,a4paper]{amsart}
%\usepackage[utf8]{inputenc} % not needed with up-to-date TeX systems
\usepackage[english]{babel}
\usepackage{amsmath,amsthm,amsfonts,amssymb}
\usepackage{mathtools}
\usepackage{color}
\usepackage{mathrsfs}
\usepackage[all]{xy}
\usepackage{tikz-cd}
\usepackage[normalem]{ulem} % do you *really* need it?
\usepackage{datetime}
\usepackage{hyperref}
\theoremstyle{definition}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{construction}{Construction}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{remark}{Remark}[section]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{example}{Example}[section]
\newtheorem*{question}{Question}
\newtheorem*{solution}{Solution}
\newtheorem{exercise}{Exercise}
\newcommand{\mc}{\mathcal}
\newcommand{\mf}{\mathfrak}
\newcommand{\xra}{\xrightarrow}
\newcommand{\ra}{\rightarrow}
\pagestyle{myheadings}
\setlength{\textheight}{9.3in}
\setlength{\textwidth}{6.5in}
\calclayout
% metadata
\title{Something}
\author{Someone}
\date{\today}
\begin{document}
\begin{abstract}
Some text for the abstract
\end{abstract}
\keywords{Keyword 1, keyword 2}
\subjclass{12X20, 13Y21}
\maketitle
\end{document}
为了制作图片,我降低了文本的高度。