"\documentclass[12pt,reqno,a4paper]{amsart}"에서 \chapter를 사용하는 방법

"\documentclass[12pt,reqno,a4paper]{amsart}"에서 \chapter를 사용하는 방법
\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{observation}{Observation}
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{remark}{Remark}[section]
\newtheorem{proposition}{Proposition}[subsection]
\renewcommand{\qedsymbol}{$\blacksquare$}
\newtheorem{example}{Example}
\newtheorem*{question}{Question}
\newtheorem*{solution}{Solution}
\newtheorem{exercise}{Exercise} 

\newcommand{\mc}{\mathcal}
\newcommand{\mf}{\mathfrak}
\newcommand{\mb}{\mathbb}
\newcommand{\xra}{\xrightarrow}
\newcommand{\ra}{\rightarrow}
\newcommand{\rra}{\rightrightarrows}
\pagestyle{myheadings}

\textheight 9.3in 
\textwidth 6.5in
\calclayout

% metadata

%\date{\today}


\title{something}
\author{someone} 
\address{somewhere}


\begin{document}
    %\today
\begin{abstract}

\end{abstract}
\maketitle

\end{document}

위의 문서 클래스에서 \chapter를 사용하고 싶습니다. "정의되지 않은 제어 순서"라는 오류가 표시됩니다.

보고서 문서 클래스를 사용해 보았습니다. \usepackage[english]{babel}에서는 "TeX 용량을 초과했습니다. 죄송합니다. [매개변수 스택 크기=10000]. \usepackage[english]"입니다. \chapter, \section 등을 사용할 수 있도록 위의 문서 클래스를 어떻게 변경합니까? 일부 문서 클래스에서 작동하지 않는 \usepakage를 추가했나요?

답변1

amsart저널 스타일을 지원하는 템플릿 중 하나입니다. amsbook대신 사용하면 다음과 같은 결과를 얻을 수 있습니다.

\documentclass[12pt,reqno,a4paper]{amsbook}
%\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{observation}{Observation}
\newtheorem{corollary}{Corollary}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{remark}{Remark}[section]
\newtheorem{proposition}{Proposition}[subsection]
\renewcommand{\qedsymbol}{$\blacksquare$}
\newtheorem{example}{Example}
\newtheorem*{question}{Question}
\newtheorem*{solution}{Solution}
\newtheorem{exercise}{Exercise} 

\newcommand{\mc}{\mathcal}
\newcommand{\mf}{\mathfrak}
\newcommand{\mb}{\mathbb}
\newcommand{\xra}{\xrightarrow}
\newcommand{\ra}{\rightarrow}
\newcommand{\rra}{\rightrightarrows}
\pagestyle{myheadings}

\textheight 9.3in 
\textwidth 6.5in
\calclayout

% metadata

%\date{\today}


\title{something}
\author{someone} 
\address{somewhere}


\begin{document}
    %\today
\begin{abstract}

\end{abstract}
\maketitle

\chapter{Test}

\end{document}

관련 정보