From 4f324f2ca977618d51b8e4a5d1a3510ff712bc92 Mon Sep 17 00:00:00 2001 From: EthanDeng Date: Sun, 4 Aug 2019 19:48:18 +0800 Subject: [PATCH] revert back to cmlargesymbols --- elegantbook-cn.tex | 3 ++- elegantbook.cls | 18 +++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/elegantbook-cn.tex b/elegantbook-cn.tex index 9c7c465..083cfb3 100644 --- a/elegantbook-cn.tex +++ b/elegantbook-cn.tex @@ -1,4 +1,4 @@ -\documentclass[cn,11pt,twocol]{elegantbook} +\documentclass[cn,11pt]{elegantbook} \title{ElegantBook:优美的 \LaTeX{} 书籍模板} \subtitle{Elegant\LaTeX{} 经典之作} @@ -457,6 +457,7 @@ Lebesgue 积分有几种不同的定义方式。我们将采用逐步定义非 \begin{itemize} \item 名词解释 \begin{definition}{可积性}{int} +$\vv{AB}$ 设 $ f(x)=\sum\limits_{i=1}^{k} a_i \chi_{A_i}(x)\oint_{a}^b\ointop_{a}^b\prod_{i=1}^n$ 是 $E$ 上的非负简单函数,其中 $\{A_1,A_2,\ldots,A_k\}$ 是 $E$ 上的一个可测分割,$a_1,a_2,\ldots,a_k$ 是非负实数。定义 $f$ 在 $E$ 上的积分为 $\int_{a}^b f(x)$ \begin{equation} \label{inter} diff --git a/elegantbook.cls b/elegantbook.cls index e525f62..6881857 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -99,13 +99,13 @@ \RequirePackage{anyfontsize} \ifdefstring{\ELEGANT@math}{newtxmath}{ \RequirePackage{newtxmath} -\DeclareSymbolFont{CMletters} {OML}{cmm} {m}{it}% -\DeclareSymbolFont{CMsymbols} {OMS}{cmsy}{m}{n}% -\DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{n}% -\let\intop\relax -\let\sumop\relax -\let\ointop\relax -\let\prodop\relax +\let\oldwidering\widering +\let\widering\undefined +\RequirePackage{yhmath} +\let\widering\oldwidering +\RequirePackage{esvect} +\DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{n} +\let\intop\relax\let\sumop\relax\let\ointop\relax\let\prodop\relax \DeclareMathSymbol{\sumop}{\mathop}{CMlargesymbols}{"50} \DeclareMathSymbol{\intop}{\mathop}{CMlargesymbols}{"52} \DeclareMathSymbol{\ointop}{\mathop}{CMlargesymbols}{"48} @@ -243,7 +243,7 @@ %\RequirePackage{enumerate} \RequirePackage{amsmath,mathrsfs,amsfonts,amssymb} \RequirePackage{booktabs} -\RequirePackage{multicol} +\RequirePackage{multicol,multirow} \RequirePackage{xcolor} \RequirePackage{fancyvrb} \RequirePackage{makecell,lipsum,hologo,setspace} @@ -639,7 +639,7 @@ \fancyhead[L]{\color{structurecolor}\ifdefstring{\ELEGANT@lang}{en}{\itshape}{\kaishu}\rightmark} \fi -\fancyfoot[c]{\base{structurecolor}{88}} +\fancyfoot[c]{\catcode`\$=3\relax\base{structurecolor}{88}} \renewcommand{\headrule}{\color{structurecolor}\hrule width\textwidth} \pagestyle{fancy} \renewcommand{\headrulewidth}{1pt}