如果我有以下内容
\newtheorem{remark}{Remark}
我将获得备注 1、备注 2 等等。请问我可以知道如何删除备注中的编号吗?比如我只想要“备注”这个词,而不是数字 1、2、3 等等。
答案1
通过阅读文档amsthm
你会发现这个定义:
\newtheorem*{}{}
允许您没有数字。
看看这个MWE:
\documentclass{report}
\usepackage{amsthm}
\newtheorem*{remark}{Remark}
\begin{document}
\chapter{Introduction}
\section{The social interaction}
\begin{remark}[Homophily]
Homophily is the principle that a contact between similar people occurs at a
higher rate than among dissimilar people.
\end{remark}
\begin{remark}[Social distance]
Social distance describes the distance between different groups of society and is opposed to locational distance
\end{remark}
\end{document}
结果是: