在 overleaf 中,我最初使用文档类 extarticle 来模仿与过滤器集成,才发现他们一直在使用 amsart!
我尝试将文章转换为 amsart 格式,但文档没有显示作者,章节和小节有误,而且看起来一点也不像与过滤器集成(参见下面的代码和问题):
\documentclass{amsart}
\usepackage{amssymb}
\usepackage{geometry}\geometry{margin=1in,top=3cm}
\usepackage[utf8]{inputenc}
\usepackage{hyperref}
\usepackage{authblk}
\usepackage{physics}
\usepackage{indentfirst}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{enumitem}
\setlist[enumerate]{leftmargin=5mm}
\newtheorem{definition}{Definition}
\makeatletter
\newtheoremstyle{TheoStyle}
\makeatother
\theoremstyle{TheoStyle}
\usepackage{microtype}
\usepackage{listings}
\newtheorem{mydef}{Definition}
\usepackage{cases}
\usepackage{graphicx}
\usepackage{accents}
\newcommand*{\dt}[1]{%
\accentset{\mbox{\large\bfseries .}}{#1}}
\newcommand*{\ddt}[1]{%
\accentset{\mbox{\large\bfseries .\hspace{-0.25ex}.}}{#1}}
\DeclareMathOperator{\sign}{sign}
\makeatletter
\newcommand{\vast}{\bBigg@{4.5}}
\newcommand{\Vast}{\bBigg@{5}}
\usepackage{titlesec}
\setcounter{section}{-1}
\setcounter{secnumdepth}{3}
\makeatletter
\renewcommand\subparagraph{%
\@startsection {subparagraph}{5}{\z@ }{3.25ex \@plus 1ex
\@minus .2ex}{-1em}{\normalfont \normalsize \bfseries }}%
\makeatother
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{3.25ex plus 1ex minus .2ex}{1.5ex plus .2ex}
\makeatother
\title{Finding the Most Generalized, Satisfying Extension of The Mean With Respect To the Hausdorff Measure}
\author{Bharath Krishnan}
\affil[1]{Department of Mathematics, Indiana East University}
\date{December 14, 2022}
\begin{document}
\renewcommand{\labelenumii}{\arabic{enumi}.\arabic{enumii}}
\renewcommand{\labelenumiii}{\arabic{enumi}.\arabic{enumii}.\arabic{enumiii}}
\renewcommand{\labelenumiv}{\arabic{enumi}.\arabic{enumii}.\arabic{enumiii}.\arabic{enumiv}}
\vspace{-10cm}
\maketitle
\subparagraph{Key Words:} Measure Theory, Means of functions, Hausdorff Measure, Set Theory, Choice Function, Union and Intersection of Measurable sets, Uniform Cover, Entropy,
\section{Intro}
\section{Preliminaries}
\subsubsection{Generalized Hausdorff Measure and Mean}
\section{Attempt to Answer Thesis}
\subsection{Intro}
\subsection{Preliminaries}
\subsubsection{Second Half}
\subsection{Proposed Solutions}
\end{document}
问题:我如何让我的论文具有类似的格式与过滤器集成并保留我添加的代码?
答案1
该amsart
课程与以下课程不兼容
authblock
titlesec
删除它们和相关命令。
该类将关键字排版为第一页的脚注。您可能希望在之后以不同的方式设置它们\maketitle
,可能与 一起设置\subsubsection*
。或者作为摘要的一部分。我展示了所有三种方法,任您选择。
\newtheoremstyle{TheoStyle}
代码中的声明毫无意义,因为\newtheoremstyle
需要 9强制的參數。
\documentclass{amsart}
\usepackage{geometry}
\geometry{margin=1in,top=3cm}
\usepackage{amssymb}
\usepackage{microtype}
\usepackage{listings}
\usepackage{cases}
\usepackage{graphicx}
\usepackage{accents}
\usepackage{enumitem}
\usepackage{hyperref}
\setlist[enumerate]{leftmargin=5mm}
\newtheorem{definition}{Definition}
\newcommand*{\dt}[1]{\accentset{\mbox{\large\bfseries .}}{#1}}
\newcommand*{\ddt}[1]{\accentset{\mbox{\large\bfseries .\hspace{-0.25ex}.}}{#1}}
\DeclareMathOperator{\sign}{sign}
\makeatletter
\newcommand{\vast}{\bBigg@{4.5}}
\newcommand{\Vast}{\bBigg@{5}}
\makeatother
\begin{document}
\title{Finding the Most Generalized, Satisfying Extension of The Mean
With Respect To the Hausdorff Measure}
\author{Bharath Krishnan}
\address{Department of Mathematics, Indiana East University}
\date{December 14, 2022}
\begin{abstract}
Some text
\bigskip
\noindent\textit{Keywords.}
Measure Theory, Means of functions, Hausdorff Measure,
Set Theory, Choice Function, Union and Intersection of Measurable sets,
Uniform Cover, Entropy
\end{abstract}
\keywords{Measure Theory, Means of functions, Hausdorff Measure,
Set Theory, Choice Function, Union and Intersection of Measurable sets,
Uniform Cover, Entropy}
\maketitle
\subsubsection*{Keywords}
Measure Theory, Means of functions, Hausdorff Measure,
Set Theory, Choice Function, Union and Intersection of Measurable sets,
Uniform Cover, Entropy
\section{Intro}
Some text for the section. Test $\dt{x}$ and $\ddt{x}$.
\section{Preliminaries}
Some text for the section.
\subsection{Generalized Hausdorff Measure and Mean}
Some text for the subsection.
\section{Attempt to Answer Thesis}
Some text for the section.
\subsection{Intro}
Some text for the subsection.
\subsection{Preliminaries}
Some text for the subsection.
\subsubsection{Second Half}
Some text for the subsection.
\subsection{Proposed Solutions}
Some text for the subsection.
\end{document}