From ccb5464463a72be4b2c8b6fb1d9f0e87ddcfe926 Mon Sep 17 00:00:00 2001 From: syvshc Date: Thu, 2 Jun 2022 23:44:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=20\section=20=E4=B8=AD=E7=9A=84=20\ls?= =?UTF-8?q?tinline=20=E6=94=B9=E4=B8=BA=20\texttt,=20=E6=B6=88=E9=99=A4=20?= =?UTF-8?q?overfull=20box=20=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- elegantbook-cn.tex | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/elegantbook-cn.tex b/elegantbook-cn.tex index c1de8c3..d12e00c 100644 --- a/elegantbook-cn.tex +++ b/elegantbook-cn.tex @@ -271,7 +271,7 @@ tlmgr update --self --all --reinstall-forcibly-removed \subsection{定理类环境的使用} -\subsubsection{\lstinline{fancy} 模式} +\subsubsection{\texttt{fancy} 模式} 在 \lstinline{fancy} 模式下使用了 \lstinline{tcolorbox} 宏包来定制定理类环境,所以和普通的定理环境的使用有些许区别,有编号定理的使用方法如下: @@ -363,7 +363,7 @@ tlmgr update --self --all --reinstall-forcibly-removed \end{lstlisting} 这时引用不需要加前缀,\lstinline{\ref} 中的内容与 \lstinline{\label} 中的内容相同,换句话说,这时的使用方法与使用原生定理环境的时候几乎相同。 -\subsubsection{\lstinline{simple} 模式} +\subsubsection{\texttt{simple} 模式} 在 \lstinline{simple} 模式下使用了 \lstinline{amsthm} 宏包,定理类环境使用方法与原生一致,定理的使用方法如下: @@ -438,7 +438,9 @@ tlmgr update --self --all --reinstall-forcibly-removed % simple 模式 \elegantnewtheorem{env}{title}{style} \end{lstlisting} -该命令可以同时定义编号环境 \lstinline|env| 和不编号环境 \lstinline|env*|。其中 \lstinline|style| 支持的参数有:\lstinline{defstyle},\lstinline{thmstyle},\lstinline{prostyle},分别对应“定义”,“定理”,“命题”三种样式。 +该命令可以同时定义编号环境 \lstinline|env| 和不编号环境 \lstinline|env*|。 + +其中 \lstinline|style| 支持的参数有:\lstinline|defstyle|,\lstinline|thmstyle|,\lstinline|prostyle|,分别对应“定义”,“定理”,“命题”三种样式。 \begin{itemize}