我如何更改论文中备注的编号?

我如何更改论文中备注的编号?

在我的论文中,所有定义、定理和引理都以 #章节.#节.#定义/定理/引理 的形式进行编号。例如,第一章第二节中的第一个定义将是Definition 1.2.1

除了备注,不是这样的。我得到了备注 1,备注 2,...见下图:

[![在此处输入图片描述][1]][1]

现在我被要求将 Remark 的样式设置为与其他样式一样。该怎么做?

    \documentclass[12pt]{unbthesis}
%\usepackage[left=4cm, right=2.5cm, top=2.5cm, bottom=2.5cm]{geometry}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{enumitem} 
\usepackage{amsmath}
\usepackage{subfig}
\usepackage[subfigure]{tocloft} % no number for Vita in ToC
\usepackage{fancyhdr}
\usepackage[english]{babel}
\usepackage{footmisc}
\usepackage{algorithmic}
\usepackage{listings}
\usepackage{fancyvrb}
\usepackage{amssymb} 
\usepackage[edges]{forest}
\usepackage{amsfonts} 
\usepackage{amsthm} 
\usepackage{longtable} 
\usepackage{multirow}
\usepackage{tikz}
\usepackage{qtree}
\usepackage{mathabx}
\usepackage[colorlinks]{hyperref}
\usepackage[symbols,nogroupskip,sort=none]{glossaries-extra}
\title{Outer approximations of core points for integer programming}
\author{Naghmeh Shahverdizadeh Shargh}
\predegree{Master of Science, University of Shahid Beheshti, Iran, 2013}
\degree{Doctor of Philosophy}
\gau{Mathematics and Statistics}
\supervisor{David Bremner, Ph.D, Computer Science\\ & Barry Monson, Ph.D,
Mathematics}
\examboard{Branimir Ćaćić, Ph.D, Mathematics
Chair\\  & Nicholas Touikan,  Ph.D, Mathematics}
\externalexam{name, degree,
department/field, institution}
\date{November, 2020}
\copyrightyear{2020}
\setlength\parindent{0pt}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{definition}{Definition}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{example}{Example}[section]
\newtheorem{notation}{Notation}[section]
\newtheorem{corollary}{Corollary}[section]
\newcolumntype{C}{>{\centering\arraybackslash}X}
\begin{document}
\unbtitlepage
\setcounter{secnumdepth}{3} \setcounter{tocdepth}{3}
\pagenumbering{roman} \setcounter{page}{1}
    


  [1]: https://i.stack.imgur.com/VOE3A.png

答案1

您的定义remark似乎在其他包中,但您想将其定义为类似的东西,下列的你的其他定理定义,

\theoremstyle{remark}
\newtheorem{rem}{Remark}[section]

第二个参数后的选项[section]对每个部分的注释进行编号。

相关内容