如何將“部分”改為“章節”

如何將“部分”改為“章節”

我正在使用amsart文檔類。

amsart 中的結構順序為 Part -> Section -> subsection -> subsubsection

我的問題:如何修改\part以使乳膠顯示“章節”而不是“部分”?


我嘗試了下面提供的想法,但它在我的乳膠中不起作用......:(

請在下面找到最小工作範例和螢幕截圖

\documentclass[english, reqno, 9pt]{amsart}
\usepackage{geometry}            % See geometry.pdf to learn the layout options. There are lots.
%\geometry{letterpaper}                   % ... or a4paper or a5paper or ... 
%\geometry{landscape}                % Activate for for rotated page geometry
%\usepackage[parfill]{parskip}    % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{amssymb,amsmath,amsthm,amsfonts,color}
\usepackage{mathrsfs,dsfont, comment,mathscinet}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{mathtools}
\usepackage{babel}
\usepackage{enumerate,esint}
\usepackage{natbib}


\usepackage{indentfirst}
\usepackage{bm}
\usepackage{picinpar}
\usepackage{lipsum}


\usepackage[toc,page]{appendix}

\usepackage{etoolbox}
\usepackage{authblk}
\usepackage{amsaddr}


\usepackage{caption}
\usepackage{subcaption}




%-----------------------------------------------------------------------------------

\renewcommand{\partname}{Chapter}
\newcommand{\chapter}{\part}

%----------------------------------------------------------------------------------------------


%----------------------------Special for this paper ------------------------------





\title{test}

\begin{document}

\maketitle

\thispagestyle{empty}%this command remove the page number at the title page

\tableofcontents


\chapter{Introduction}

\end{document}

在此輸入影像描述

答案1

調整\partname並為自己創建一個名為的巨集\chapter,以便事情在上下文上有意義(...看看我在那裡做了什麼...?):

在此輸入影像描述

\documentclass{amsart}

\renewcommand{\partname}{Chapter}
\newcommand{\chapter}{\part}

\begin{document}

\tableofcontents

\chapter{A chapter}
\section{A section}
\subsection{A subsection}
\subsubsection{A subsubsection}

\end{document}

如果您正在加載babel,那麼你可以使用

\newcommand{\chapter}{\part}
\AtBeginDocument{\renewcommand{\partname}{Chapter}}

或者

\addto\captionsenglish{\renewcommand{\partname}{Chapter}}

更新\partname

相關內容