summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-03-17 19:47:27 +0000
committerKarl Berry <karl@freefriends.org>2024-03-17 19:47:27 +0000
commitbaec0e743a16b0a97f725febabbc98d9b116e430 (patch)
treea32cbe244e7871845d0eba61c36c2c0db24d198c /Master
parent3cddb4a66cf2107181d72936bbd411267833a5b0 (diff)
beautybook (17mar24)
git-svn-id: svn://tug.org/texlive/trunk@70672 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdfbin5536441 -> 6210741 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.tex286
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/README.md2
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdfbin3560151 -> 3706871 bytes
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex161
-rw-r--r--Master/texmf-dist/doc/latex/beautybook/ref.bib7
-rw-r--r--Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls43
-rw-r--r--Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls39
-rw-r--r--Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-bottompage.sty4
-rw-r--r--Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-cover-cn.sty8
10 files changed, 330 insertions, 220 deletions
diff --git a/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf b/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf
index d5fe6b85614..924e220ab7d 100644
--- a/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf
+++ b/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.tex b/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.tex
index 5722dcb40cd..4e0e850bf4e 100644
--- a/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.tex
+++ b/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.tex
@@ -2,12 +2,24 @@
% This template is made by Ethan Lu.
% Please use XeLaTeX engine!
\documentclass[zihao=-4,fontset=windows]{Beautybook-CN}
+% ---------------------------------------------------------------------------- %
+% The Cover Theme Chosen %
+% ---------------------------------------------------------------------------- %
+\definecolor{coverbgcolor}{HTML}{e0e0e0}
+\definecolor{coverfgcolor}{HTML}{826e68} % The color of the background
+\definecolor{coverbar}{HTML}{7c9092} % The color of the left bar
+\definecolor{bottomcolor}{HTML}{826e68}
\coverstyle={ % 封面键值列表
cover-choose=cn, % cn (需新增项\entitle{#}); en ; enfig ; birkar
}
+% ---------------------------------------------------------------------------- %
+% The Cover Theme Chosen %
+% ---------------------------------------------------------------------------- %
\mathstyle={ % 数学字体键值列表
math-font=plain, %plain (默认数学字体); stix; mtpro2
}
+\setmainfont{Times New Roman}
+\renewcommand{\partial}{∂}
%% First one
\mynewtheorem{
defi={\textbf{Definition}}[section]{interior style={left color=ReD!8,right color=ReD!5!CyaN!50}, borderline west={1.5mm}{0mm}{ReD}},
@@ -187,15 +199,6 @@ sorting=nty
\makeindex[title={\sffamily References},columns=3,columnsep=15pt,columnseprule]
\makeindex
-\newcommand{\pr}{^\prime}
-\newcommand{\prr}{^{\prime\prime}}
-\newcommand{\bd}{\partial}
-\newcommand{\bdd}{\overline{\partial}}
-\newcommand{\Dif}[2]{\frac{\dd #1}{\dd #2}}
-\newcommand{\Diff}[2][]{\frac{\partial #1}{\partial #2}}
-\usepackage{shadowtext}\shadowoffset{.65pt}
-\newcommand*{\circledd}[1]{\lower.7ex\hbox{\tikz\draw (0pt, 0pt)%
- circle (.5em) node {\makebox[1em][c]{\small #1}};}}
\usepackage{listings}
\lstset{
basicstyle=\small\ttfamily,
@@ -245,19 +248,24 @@ sorting=nty
\coverimage{inner_pics/coverimage.jpg}%ivy-ge998908f8_1280.jpg
\makecover
-
+\makeatletter
+% ---------------------------------------------------------------------------- %
+% The Sidebar Theme Chosen %
+% ---------------------------------------------------------------------------- %
\definecolor{bg}{HTML}{e0e0e0}
\definecolor{fg}{HTML}{2c4f54}
\colorlet{outermarginbgcolor}{bg}
\colorlet{outermarginfgcolor}{fg}
-\colorlet{framegolden}{fg}
-\colorlet{framegray}{bg!50}
-
-\makeatletter
% set the contents of the outer margin on even and odd pages for scrheadings, plain and scth
-\oddoutermargin{\sffamily Vanishing Theorems on Vector Bundles with Semidefinite Curvature} % Odd 奇数页
-\evenoutermargin{\sffamily\@title} % Even 偶数页
-%
+\oddoutermargin{\sffamily \leftmark} % Odd
+\evenoutermargin{\sffamily\@title} % Even
+% ---------------------------------------------------------------------------- %
+% The Sidebar Theme Chosen %
+% ---------------------------------------------------------------------------- %
+
+% ---------------------------------------------------------------------------- %
+% The images used in the title %
+% ---------------------------------------------------------------------------- %
\titleimage{
chapteroddimage={odd1,odd2,odd3,odd4,odd5,odd6,odd7,odd8,odd9,odd10,odd11,odd12,odd13,odd14,odd15,mid1,mid2,mid3,mid4,mid5,mid6,mid7,mid8,mid9,mid10,mid11},
%
@@ -270,7 +278,19 @@ sorting=nty
\chapimage{\Beautybook@chapterimagename} % 会自动改变
\partimage{\Beautybook@partimagename} % 会自动改变
\makeatother
-%
+% ---------------------------------------------------------------------------- %
+% The images used in the title %
+% ---------------------------------------------------------------------------- %
+
+% ---------------------------------------------------------------------------- %
+% The Color Chosen for The Magic Box %
+% ---------------------------------------------------------------------------- %
+\colorlet{framegolden}{fg} % The line color of the magic box
+\colorlet{framegray}{bg!50} % The background color of the magic box
+% ---------------------------------------------------------------------------- %
+% The Color Chosen for The Magic Box %
+% ---------------------------------------------------------------------------- %
+
\frontmatter
\pagenumbering{Roman}
@@ -283,8 +303,8 @@ Introduction to Beatybook template.
\hfill
\begin{tabular}{lr}
- &----- Ethan Lu\\
- &2023-09-01
+ &--- Ethan Lu\\
+ &2024-03-17
\end{tabular}
\clearpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -323,23 +343,20 @@ Beauty\LaTeX{} 系列模板是由我所做的书籍模板系列, 名叫\textbf{B
\subsection{在线使用模板}
本模板可以直接上传到overleaf上使用,但需要注意的是, 需要使用 math-font=plain 键值, 并使用XeLaTeX或者lualatex编译!
-
+\newpage
\subsection{本地安装使用}
-\textbf{本地安装}使用方法如下:从 GitHub 或者 QQ群下载最新版, 然后将模板文件放在你的工作目录下并且同步复制这几个文件夹: \textit{chinesefonts}, \textit{fonts}, \textit{stys}, \textit{inner\_pics}, 即可使用。这样使用的好处是,相比在线使用,可以通过自行安装mtpro2字体实现更加精美的效果,当然如何选择交给用户本身,此处不作评价.
+\textbf{本地安装}使用方法如下:从 GitHub 或者 QQ群下载最新版, 然后将模板文件放在你的工作目录下即可使用。
以下是最小工作示例:
\begin{lstlisting}
\documentclass[zihao=-4,fontset=windows]{Beautybook-CN}
-\coverstyle={
- cover-choose=enfig, % cn (en ; enfig ; birkar)
+\coverstyle={ % 封面键值列表
+ cover-choose=cn, % cn (需新增项\entitle{#}); en ; enfig ; birkar
}
-\mathstyle={
- math-font=plain, % plain; stix; mtpro2
+\mathstyle={ % 数学字体键值列表
+ math-font=plain, %plain (默认数学字体); stix; mtpro2
}
-\usepackage{bm}
-% \overfullrule=1pt
-% \RequirePackage[fontsize=13.5pt]{fontsize}
%% First one
\mynewtheorem{
defi={\textbf{Definition}}[section]{interior style={left color=ReD!8,right color=ReD!5!CyaN!50}, borderline west={1.5mm}{0mm}{ReD}},
@@ -353,35 +370,35 @@ Beauty\LaTeX{} 系列模板是由我所做的书籍模板系列, 名叫\textbf{B
%% Second one
\makeatletter
\mynewtcbtheorem{
- % Theorems
+ % 这个 theorem 是环境名
problem={
counter=tcbprob,
the counter=\thesection.\arabic{tcbprob},
- name=Problem,
- thmcolor=purple,
+ name=Problem, % 它保存到 \theorem@name 里
+ thmcolor=绛紫,
autoref name=\bfseries Problem,
style={
- arc=3pt,breakable,enhanced,interior style={top color=purple!9 ,middle color=purple!6, bottom color=purple!3},boxrule=0pt,top=8mm,
- fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},
- fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},
+ arc=3pt,breakable,enhanced,interior style={top color=绛紫!9 ,middle color=绛紫!6, bottom color=绛紫!3},boxrule=0pt,top=8mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
opacityframe=0, opacityback=0.98,
fontupper=\itshape, step={tcbprob},
before pre=\smallskip, after app=\smallskip,
- overlay unbroken=\my@theorem@overlay@unbroken{Problem\ \thetcbprob}{purple},
- overlay first=\my@theorem@overlay@first{Problem\ \thetcbprob}{purple},
- overlay last=\my@theorem@overlay@last{purple},
+ overlay unbroken=\my@theorem@overlay@unbroken{Problem\ \thetcbprob}{绛紫},
+ overlay first=\my@theorem@overlay@first{Problem\ \thetcbprob}{绛紫},
+ overlay last=\my@theorem@overlay@last{绛紫},
}
},
lemma={
counter=tcblem,
the counter=\thesection.\arabic{tcblem},
name=Lemma,
- lemcolor=blue,
+ lemcolor=靛蓝,
autoref name=\bfseries Lemma,
style={
- arc=0mm,breakable,enhanced,interior style={top color=blue!9 ,middle color=blue!6, bottom color=blue!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
- fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},%
- fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%
+ arc=0mm,breakable,enhanced,interior style={top color=靛蓝!9 ,middle color=靛蓝!6, bottom color=靛蓝!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
opacityframe=0, opacityback=0.98,
fontupper=\itshape,step={tcblem},
before pre=\smallskip, after app=\smallskip,
@@ -390,12 +407,124 @@ Beauty\LaTeX{} 系列模板是由我所做的书籍模板系列, 名叫\textbf{B
overlay last=\my@lemma@overlay@last{\lemma@lemcolor},
}
},
+ corollary={
+ counter=tcbcor,
+ the counter=\thesection.\arabic{tcbcor},
+ autoref name=\bfseries Corollary,
+ style={
+ arc=0mm,breakable,enhanced,interior style={top color=茶色!9 ,middle color=茶色!6, bottom color=茶色!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+ opacityframe=0, opacityback=0.98,
+ fontupper=\itshape,step={tcbcor},
+ before pre=\smallskip, after app=\smallskip,
+ overlay unbroken=\my@lemma@overlay@unbroken{Corollary\ \thetcbcor}{茶色},
+ overlay first=\my@lemma@overlay@first{Corollary\ \thetcbcor}{茶色},
+ overlay last=\my@lemma@overlay@last{茶色},
+ }
+ },
+ proposition={
+ counter=tcbprop,
+ the counter=\thesection.\arabic{tcbprop},
+ autoref name=\bfseries Proposition,
+ style={
+ arc=0mm,breakable,enhanced,interior style={top color=黛绿!9 ,middle color=黛绿!6, bottom color=黛绿!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+ opacityframe=0, opacityback=0.98,
+ fontupper=\itshape,step={tcbprop},
+ before pre=\smallskip, after app=\smallskip,
+ overlay unbroken=\my@lemma@overlay@unbroken{Proposition\ \thetcbprop}{黛绿},
+ overlay first=\my@lemma@overlay@first{Proposition\ \thetcbprop}{黛绿},
+ overlay last=\my@lemma@overlay@last{黛绿},
+ }
+ },
+ definition={
+ counter=tcbdefi,
+ the counter=\thesection.\arabic{tcbdefi},
+ autoref name=\bfseries Definition,
+ style={
+ arc=0mm,breakable,enhanced,interior style={top color=茜色!9 ,middle color=茜色!6, bottom color=茜色!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+ opacityframe=0, opacityback=0.98,
+ fontupper=\normalsize,step={tcbdefi},
+ before pre=\smallskip, after app=\smallskip,
+ overlay unbroken=\my@lemma@overlay@unbroken{Definition\ \thetcbdefi}{茜色},
+ overlay first=\my@lemma@overlay@first{Definition\ \thetcbdefi}{茜色},
+ overlay last=\my@lemma@overlay@last{茜色},
+ }
+ },
+ example={
+ counter=tcbexam,
+ the counter=\thesection.\arabic{tcbexam},
+ autoref name=\bfseries Example,
+ style={
+ arc=0mm,breakable,enhanced,interior style={top color=黛绿!9 ,middle color=黛绿!6, bottom color=黛绿!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+ opacityframe=0, opacityback=0.98,
+ fontupper=\normalsize,step={tcbexam},
+ before pre=\smallskip, after app=\smallskip,
+ overlay unbroken=\my@lemma@overlay@unbroken{Example\ \thetcbexam}{黛绿},
+ overlay first=\my@lemma@overlay@first{Example\ \thetcbexam}{黛绿},
+ overlay last=\my@lemma@overlay@last{黛绿},
+ }
+ },
+ Exercise={
+ counter=tcbexer,
+ the counter=\thechapter.\arabic{tcbexer},
+ autoref name=\bfseries Exercise,
+ style={
+ arc=0mm,breakable,enhanced,interior style={top color=绛紫!9 ,middle color=绛紫!6, bottom color=绛紫!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+ opacityframe=0, opacityback=0.9,
+ fontupper=\normalsize,step={tcbexer},
+ before pre=\smallskip, after app=\smallskip,
+ overlay unbroken=\my@lemma@overlay@unbroken{Exercise\ \thetcbexer}{绛紫},
+ overlay first=\my@lemma@overlay@first{Exercise\ \thetcbexer}{绛紫},
+ overlay last=\my@lemma@overlay@last{绛紫},
+ }
+ },
+ theorem={
+ counter=tcbthm,
+ the counter=\thesection.\arabic{tcbthm},
+ autoref name=\bfseries Theorem,
+ style={
+ arc=0mm,breakable,enhanced,interior style={top color=黛绿!9 ,middle color=黛绿!6, bottom color=黛绿!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+ opacityframe=0, opacityback=0.98,
+ fontupper=\itshape,step={tcbthm},
+ before pre=\smallskip, after app=\smallskip,
+ overlay unbroken=\my@lemma@overlay@unbroken{Theorem\ \thetcbthm}{黛绿},
+ overlay first=\my@lemma@overlay@first{Theorem\ \thetcbthm}{黛绿},
+ overlay last=\my@lemma@overlay@last{黛绿},
+ }
+ },
+ conjecture={
+ counter=tcbconj,
+ the counter=\thesection.\arabic{tcbconj},
+ name=Conjecture,
+ lemcolor=靛蓝,
+ autoref name=\bfseries Conjecture,
+ style={
+ arc=0mm,breakable,enhanced,interior style={top color=靛蓝!9 ,middle color=靛蓝!6, bottom color=靛蓝!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
+ fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
+ fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+ opacityframe=0, opacityback=0.98,
+ fontupper=\itshape,step={tcbconj},
+ before pre=\smallskip, after app=\smallskip,
+ overlay unbroken=\my@lemma@overlay@unbroken{Conjecture\ \thetcblem}{靛蓝},
+ overlay first=\my@lemma@overlay@first{Conjecture\ \thetcblem}{靛蓝},
+ overlay last=\my@lemma@overlay@last{靛蓝},
+ }
+ },
}
\makeatother
-%
-
-%% --------References
+%% --------参考文献
\RequirePackage[
backend=biber,
style=numeric,
@@ -406,28 +535,17 @@ sorting=nty
\indexsetup{level=\chapter*,noclearpage}
\makeindex[title={\sffamily References},columns=3,columnsep=15pt,columnseprule]
\makeindex
-
-\newcommand{\pr}{^\prime}
-\newcommand{\prr}{^{\prime\prime}}
-\newcommand{\bd}{\partial}
-\newcommand{\bdd}{\overline{\partial}}
-\newcommand{\Dif}[2]{\frac{\dd #1}{\dd #2}}
-\newcommand{\Diff}[2][]{\frac{\partial #1}{\partial #2}}
-\usepackage{shadowtext}\shadowoffset{.65pt}
-\newcommand*{\circledd}[1]{\lower.7ex\hbox{\tikz\draw (0pt, 0pt)%
- circle (.5em) node {\makebox[1em][c]{\small #1}};}}
\usepackage{listings}
- \lstset{
+ \lstset{ % 代码环境
basicstyle=\small\ttfamily,
keywordstyle=\color{NavyBlue},
commentstyle=\color{gray!50!black!50},
stringstyle=\rmfamily\slshape\color{red},
backgroundcolor=\color{gray!5},
frame=leftline,
- framerule=12pt,%
- rulecolor=\color{gray!90},
+ framerule=0.5pt,rulecolor=\color{gray!80},
numbers=left,
- numberstyle=\footnotesize\itshape,
+ numberstyle=\footnotesize,
firstnumber=1,
stepnumber=1,
numbersep=7pt,
@@ -456,12 +574,12 @@ sorting=nty
\begin{document}
\thispagestyle{empty}
-\title{An Introduction to Beautybook template}
+\title{Beautybook模板简介}
\subtitle{}
\edition{First Edition}
\bookseries{Illustrated by Ethan Lu}
\author{Ethan Lu}
-\pressname{Springer}
+\pressname{Beautybook}
\presslogo{inner_pics/logo.png}
\coverimage{inner_pics/coverimage.jpg}%ivy-ge998908f8_1280.jpg
\makecover
@@ -476,8 +594,8 @@ sorting=nty
\makeatletter
% set the contents of the outer margin on even and odd pages for scrheadings, plain and scth
-\oddoutermargin{\sffamily Vanishing Theorems on Vector Bundles with Semidefinite Curvature} % Odd pages
-\evenoutermargin{\sffamily\@title} % Even pages
+\oddoutermargin{\sffamily Vanishing Theorems on Vector Bundles with Semidefinite Curvature} % Odd 奇数页
+\evenoutermargin{\sffamily\@title} % Even 偶数页
%
\titleimage{
chapteroddimage={odd1,odd2,odd3,odd4,odd5,odd6,odd7,odd8,odd9,odd10,odd11,odd12,odd13,odd14,odd15,mid1,mid2,mid3,mid4,mid5,mid6,mid7,mid8,mid9,mid10,mid11},
@@ -488,8 +606,8 @@ sorting=nty
%
partevenimage={songeven,even1,even2,even3,even4,mid1,mid2,mid3,mid4,mid5,mid6,mid7,mid8,mid9,mid10,mid11},
}
-\chapimage{\Beautybook@chapterimagename} % Changing automatically.
-\partimage{\Beautybook@partimagename} % Changing automatically.
+\chapimage{\Beautybook@chapterimagename} % 会自动改变
+\partimage{\Beautybook@partimagename} % 会自动改变
\makeatother
%
\frontmatter
@@ -499,13 +617,13 @@ sorting=nty
\thispagestyle{empty}
% \addcontentsline{toc}{chapter}{Preface}
\chapter*{Preface}
-Your words here.
+Introduction to Beatybook template.
\hfill
\begin{tabular}{lr}
- &----- author\\
- & 2023-09-01
+ &---- Ethan Lu\\
+ &2024-03-17
\end{tabular}
\clearpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -517,12 +635,12 @@ Your words here.
\mainmatter
\pagenumbering{arabic}
-\partabstract{\hspace*{2em} Here is the introduction area of each part, where you can write a concise overview of the part, of course, if there is nothing to say, you can leave it blank.}
-\part{The template usage introduction of \textbf{Beautybook}}
+\partabstract{\hspace*{2em} \textbf{Beautybook} 模板的使用说明,这里是每一个部分 (Part) 的简介区域, 您可以在此处书写下您对该部分的一个简明扼要的概述, 当然,倘若无话可说,此处可以留空.}
+\part{\textbf{Beautybook} 模板使用说明}
-\chapter{A short introduction of \textbf{Beautybook}}
+\chapter{Beautybook模板的简要介绍}
-\section{Section}
+\section{简介}
% your main contents here!
@@ -534,11 +652,12 @@ Your words here.
\makebottomcover
\end{document}
\end{lstlisting}
+
\subsection{发行版安装与更新}
本模板测试环境为
\begin{enumerate}
-\item Win11 22H2 + \TeX{} Live 2023;
+\item Win11 23H2 + \TeX{} Live 2024;
\end{enumerate}
\TeX Live/Mac\TeX{} 的安装请参考知乎的文章,此处略过。
@@ -555,7 +674,7 @@ tlmgr update --self --all --reinstall-forcibly-removed
\subsection{其他发行版本}
-由于宏包版本问题,本模板不支持 C\TeX{} 套装,请务必安装 TeX Live/Mac\TeX{}。更多关于 \TeX{} Live 的安装使用以及 C\TeX{} 与 \TeX{} Live 的兼容、系统路径问题,请参考官方文档以及啸行的\href{https://github.com/OsbertWang/install-latex-guide-zh-cn/releases/}{一份简短的关于安装 \LaTeX{} 安装的介绍}。
+由于宏包版本问题,本模板不支持 C\TeX{} 套装,请务必安装 TeX Live/Mac\TeX{}。更多关于 \TeX{} Live 的安装使用以及 C\TeX{} 与 \TeX{} Live 的兼容、系统路径问题,请参考官方文档。
@@ -621,14 +740,14 @@ tlmgr update --self --all --reinstall-forcibly-removed
\hline
标题 & \lstinline|\title| & 副标题 & \lstinline|\subtitle| & 作者 & \lstinline|\author| \\
出版社 & \lstinline|\pressname| & 版本 & \lstinline|\edition| & 封面图 & \lstinline|\coverimage|\\
- 徽标 & \lstinline|\presslogo| & 英文标题(cn)&\lstinline|\entitle|&&\\
+ 徽标 & \lstinline|\presslogo| & &&&\\
\hline
\end{tabular}
\end{table}
\subsection{封面图}
-封面图片可以自行去找.
+封面图片可以自行选取.
\subsection{徽标}
@@ -690,7 +809,6 @@ tlmgr update --self --all --reinstall-forcibly-removed
\begin{definition}[][名称][def label]
这是个人定制的盒子定制的定理环境,这是其中定义环境示例。注意:使用方法如下
-
\begin{itemize}
\item 如果你没有名称和标签,使用方法为
\begin{lstlisting}
@@ -717,7 +835,6 @@ tlmgr update --self --all --reinstall-forcibly-removed
\end{definition}
\end{lstlisting}
\end{itemize}
-
\end{definition}
\begin{theorem}
@@ -798,7 +915,7 @@ tlmgr update --self --all --reinstall-forcibly-removed
\begin{remark}
解释一下, 其中的overlay部分更改需要看中文修改,定理名称改成你想要的,颜色也是,然后别忘了给最外面的example之类的环境名改成你的,比如axiom之类,还有就是tcbexam这个计数器名称要换成你新定义的,如tcbaxiom之类,其他就不用动了。至于说第一种定理样式看上面例子相信您能学会的。
\end{remark}
-
+\newpage
\section{列表环境}
本模板借助于 \lstinline{enumitem} 实现了可定制化,具体见enumitem宏包说明文档,这里示例如下\\[2ex]
\begin{minipage}[b]{0.49\textwidth}
@@ -842,13 +959,11 @@ tlmgr update --self --all --reinstall-forcibly-removed
关于文献条目(bib item),你可以在谷歌学术,Mendeley,Endnote 中取,然后把它们添加到 \lstinline{ref.bib} 中。在文中引用的时候,引用它们的键值(bib key)即可。
-文献样式默认为国标 GB7714-2015, 参考文献示例:\cite{Huybrechts2010Complex}。
-
-如果需要设置为数字样式,需要将biblatex宏包选项中的国标改为numerical.
+文献样式默认为数字样式。
\begin{lstlisting}
\usepackage[
-backend=biber, % 可改为bibtex (或者直接删掉就是bibtex)
-style=gb7714-2015, % 可改为 numerical
+backend=biber, % 可改为bibtex
+style=numeric, % 可改为其他样式,参考biblatex说明文档
sorting=nty
]{biblatex}
\addbibresource{ref.bib}
@@ -870,8 +985,7 @@ sorting=nty
!必须全部使用英文字体名称进行导入,否则报错找不到的!!切记!!
\section{数学字体选项}
-本模板使用的是mtpro2字体,需要用户自行安装,安装教程见\href{https://www.latexstudio.net/archives/51742.html}{mtpro2字体安装教程}。当然也可以删除本文件导言区的mtpro2字体换回默认数学字体,诸君随意。
-
+本模板使用的是默认数学字体,仅将$\partial$符号改为Times New Roman的Unicode符号。
{\normalem
\printbibliography[
diff --git a/Master/texmf-dist/doc/latex/beautybook/README.md b/Master/texmf-dist/doc/latex/beautybook/README.md
index a4201581151..c738ffd950e 100644
--- a/Master/texmf-dist/doc/latex/beautybook/README.md
+++ b/Master/texmf-dist/doc/latex/beautybook/README.md
@@ -17,7 +17,7 @@ If you are an English user, then please use a cls file with the "-EN" suffix and
---
## Version
-Release 2023-10-02.
+Release 2024-03-17.
---
## License
diff --git a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf
index 5529baec457..e8f4618ed86 100644
--- a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf
+++ b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex
index 4d89fd12af4..1e5dd8438ed 100644
--- a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex
+++ b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex
@@ -1,7 +1,17 @@
\documentclass[12pt]{Beautybook-EN}
-\coverstyle={
- cover-choose=enfig, % cn (en ; enfig ; birkar)
+% ---------------------------------------------------------------------------- %
+% The Cover Theme Chosen %
+% ---------------------------------------------------------------------------- %
+\definecolor{coverbgcolor}{HTML}{e0e0e0}
+\definecolor{coverfgcolor}{HTML}{826e68} % The color of the background
+\definecolor{coverbar}{HTML}{7c9092} % The color of the left bar
+\definecolor{bottomcolor}{HTML}{826e68}
+\coverstyle={ % 封面键值列表
+ cover-choose=cn, % cn (需新增项\entitle{#}); en ; enfig ; birkar
}
+% ---------------------------------------------------------------------------- %
+% The Cover Theme Chosen %
+% ---------------------------------------------------------------------------- %
\mathstyle={
math-font=plain, % plain; stix; mtpro2
}
@@ -189,15 +199,6 @@ sorting=nty
\makeindex[title={\sffamily References},columns=3,columnsep=15pt,columnseprule]
\makeindex
-\newcommand{\pr}{^\prime}
-\newcommand{\prr}{^{\prime\prime}}
-\newcommand{\bd}{\partial}
-\newcommand{\bdd}{\overline{\partial}}
-\newcommand{\Dif}[2]{\frac{\dd #1}{\dd #2}}
-\newcommand{\Diff}[2][]{\frac{\partial #1}{\partial #2}}
-\usepackage{shadowtext}\shadowoffset{.65pt}
-\newcommand*{\circledd}[1]{\lower.7ex\hbox{\tikz\draw (0pt, 0pt)%
- circle (.5em) node {\makebox[1em][c]{\small #1}};}}
\usepackage{listings}
\lstset{
basicstyle=\small\ttfamily,
@@ -247,19 +248,24 @@ sorting=nty
\coverimage{inner_pics/coverimage.jpg}%ivy-ge998908f8_1280.jpg
\makecover
-
+\makeatletter
+% ---------------------------------------------------------------------------- %
+% The Sidebar Theme Chosen %
+% ---------------------------------------------------------------------------- %
\definecolor{bg}{HTML}{e0e0e0}
\definecolor{fg}{HTML}{2c4f54}
\colorlet{outermarginbgcolor}{bg}
\colorlet{outermarginfgcolor}{fg}
-\colorlet{framegolden}{fg}
-\colorlet{framegray}{bg!50}
-
-\makeatletter
% set the contents of the outer margin on even and odd pages for scrheadings, plain and scth
-\oddoutermargin{\sffamily Vanishing Theorems on Vector Bundles with Semidefinite Curvature} % Odd 奇数页
-\evenoutermargin{\sffamily\@title} % Even 偶数页
-%
+\oddoutermargin{\sffamily \leftmark} % Odd
+\evenoutermargin{\sffamily\@title} % Even
+% ---------------------------------------------------------------------------- %
+% The Sidebar Theme Chosen %
+% ---------------------------------------------------------------------------- %
+
+% ---------------------------------------------------------------------------- %
+% The images used in the title %
+% ---------------------------------------------------------------------------- %
\titleimage{
chapteroddimage={odd1,odd2,odd3,odd4,odd5,odd6,odd7,odd8,odd9,odd10,odd11,odd12,odd13,odd14,odd15,mid1,mid2,mid3,mid4,mid5,mid6,mid7,mid8,mid9,mid10,mid11},
%
@@ -269,10 +275,22 @@ sorting=nty
%
partevenimage={songeven,even1,even2,even3,even4,mid1,mid2,mid3,mid4,mid5,mid6,mid7,mid8,mid9,mid10,mid11},
}
-\chapimage{\Beautybook@chapterimagename} % 会自动改变
-\partimage{\Beautybook@partimagename} % 会自动改变
+\chapimage{\Beautybook@chapterimagename}
+\partimage{\Beautybook@partimagename}
\makeatother
-%
+% ---------------------------------------------------------------------------- %
+% The images used in the title %
+% ---------------------------------------------------------------------------- %
+
+% ---------------------------------------------------------------------------- %
+% The Color Chosen for The Magic Box %
+% ---------------------------------------------------------------------------- %
+\colorlet{framegolden}{fg} % The line color of the magic box
+\colorlet{framegray}{bg!50} % The background color of the magic box
+% ---------------------------------------------------------------------------- %
+% The Color Chosen for The Magic Box %
+% ---------------------------------------------------------------------------- %
+
\frontmatter
\pagenumbering{Roman}
@@ -280,13 +298,13 @@ sorting=nty
\thispagestyle{empty}
% \addcontentsline{toc}{chapter}{Preface}
\chapter*{Preface}
-In this note, we obtain a logarithmic vanishing theorem on certain weakly pseudoconvex K\"ahler manifolds. It is a generalization of Norimatsu's result on compact K\"ahler manifolds. As a direct corollary, we obtain relative vanishing theorems of certain direct image sheaves.
+An introduction to the beautybook template.
\hfill
\begin{tabular}{lr}
- &----- Ethan Lu\\
- &2023-09-01
+ &--- Ethan Lu\\
+ &2024-03-17
\end{tabular}
\clearpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -334,9 +352,10 @@ It is worth noting that when you download the template from CTAN, then the Engli
\subsection{Local Installation}
-To install locally, follow these steps: download the latest version from GitHub, CTAN or the QQ group. Then place the template files in your working directory and copy these folders synchronously: \texttt{fonts}, \texttt{stys}, \texttt{figures}, \texttt{inner\_pics}, and \texttt{frontmatter}, in order to utilize them. (If you are a chinese user, you can choose to copy the chinesefonts folder.) The advantage of this is that you can install \texttt{mtpro2} font to achieve a more elegant effect than if you were using it online. Of course, the choice is left to the users, and I won't comment here.
+To install locally, follow above steps to download the latest version from GitHub, CTAN or the QQ group.
The following is an example of a minimal work:
+
\begin{lstlisting}
\documentclass[12pt]{Beautybook-EN}
\coverstyle={
@@ -358,52 +377,9 @@ The following is an example of a minimal work:
cor={\textbf{Corollary}}[chapter]{interior style={left color=violet!8,right color=violet!5!CyaN!50}, borderline west={1.5mm}{0mm}{violet}},
}
\newtheorem*{remark}{\textbf{Remark}}
-%% Second one
-\makeatletter
-\mynewtcbtheorem{
- % Theorems
- problem={
- counter=tcbprob,
- the counter=\thesection.\arabic{tcbprob},
- name=Problem,
- thmcolor=purple,
- autoref name=\bfseries Problem,
- style={
- arc=3pt,breakable,enhanced,interior style={top color=purple!9 ,middle color=purple!6, bottom color=purple!3},boxrule=0pt,top=8mm,
- fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},
- fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},
- opacityframe=0, opacityback=0.98,
- fontupper=\itshape, step={tcbprob},
- before pre=\smallskip, after app=\smallskip,
- overlay unbroken=\my@theorem@overlay@unbroken{Problem\ \thetcbprob}{purple},
- overlay first=\my@theorem@overlay@first{Problem\ \thetcbprob}{purple},
- overlay last=\my@theorem@overlay@last{purple},
- }
- },
- lemma={
- counter=tcblem,
- the counter=\thesection.\arabic{tcblem},
- name=Lemma,
- lemcolor=blue,
- autoref name=\bfseries Lemma,
- style={
- arc=0mm,breakable,enhanced,interior style={top color=blue!9 ,middle color=blue!6, bottom color=blue!3},arc=3pt,boxrule=0pt,top=6mm,bottom=5mm,
- fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},%
- fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%
- opacityframe=0, opacityback=0.98,
- fontupper=\itshape,step={tcblem},
- before pre=\smallskip, after app=\smallskip,
- overlay unbroken=\my@lemma@overlay@unbroken{\lemma@name\ \thetcblem}{\lemma@lemcolor},
- overlay first=\my@lemma@overlay@first{\lemma@name\ \thetcblem}{\lemma@lemcolor},
- overlay last=\my@lemma@overlay@last{\lemma@lemcolor},
- }
- },
-}
-\makeatother
%
-%% --------References
\RequirePackage[
backend=biber,
style=numeric,
@@ -415,15 +391,6 @@ sorting=nty
\makeindex[title={\sffamily References},columns=3,columnsep=15pt,columnseprule]
\makeindex
-\newcommand{\pr}{^\prime}
-\newcommand{\prr}{^{\prime\prime}}
-\newcommand{\bd}{\partial}
-\newcommand{\bdd}{\overline{\partial}}
-\newcommand{\Dif}[2]{\frac{\dd #1}{\dd #2}}
-\newcommand{\Diff}[2][]{\frac{\partial #1}{\partial #2}}
-\usepackage{shadowtext}\shadowoffset{.65pt}
-\newcommand*{\circledd}[1]{\lower.7ex\hbox{\tikz\draw (0pt, 0pt)%
- circle (.5em) node {\makebox[1em][c]{\small #1}};}}
\usepackage{listings}
\lstset{
basicstyle=\small\ttfamily,
@@ -432,10 +399,9 @@ sorting=nty
stringstyle=\rmfamily\slshape\color{red},
backgroundcolor=\color{gray!5},
frame=leftline,
- framerule=12pt,%
- rulecolor=\color{gray!90},
+ framerule=0.5pt,rulecolor=\color{gray!80},
numbers=left,
- numberstyle=\footnotesize\itshape,
+ numberstyle=\footnotesize,
firstnumber=1,
stepnumber=1,
numbersep=7pt,
@@ -469,7 +435,7 @@ sorting=nty
\edition{First Edition}
\bookseries{Illustrated by Ethan Lu}
\author{Ethan Lu}
-\pressname{Springer}
+\pressname{Beautybook}
\presslogo{inner_pics/logo.png}
\coverimage{inner_pics/coverimage.jpg}%ivy-ge998908f8_1280.jpg
\makecover
@@ -484,8 +450,8 @@ sorting=nty
\makeatletter
% set the contents of the outer margin on even and odd pages for scrheadings, plain and scth
-\oddoutermargin{\sffamily Vanishing Theorems on Vector Bundles with Semidefinite Curvature} % Odd pages
-\evenoutermargin{\sffamily\@title} % Even pages
+\oddoutermargin{\sffamily \leftmark} % Odd page
+\evenoutermargin{\sffamily\@title} % Even page
%
\titleimage{
chapteroddimage={odd1,odd2,odd3,odd4,odd5,odd6,odd7,odd8,odd9,odd10,odd11,odd12,odd13,odd14,odd15,mid1,mid2,mid3,mid4,mid5,mid6,mid7,mid8,mid9,mid10,mid11},
@@ -496,8 +462,8 @@ sorting=nty
%
partevenimage={songeven,even1,even2,even3,even4,mid1,mid2,mid3,mid4,mid5,mid6,mid7,mid8,mid9,mid10,mid11},
}
-\chapimage{\Beautybook@chapterimagename} % Changing automatically.
-\partimage{\Beautybook@partimagename} % Changing automatically.
+\chapimage{\Beautybook@chapterimagename}
+\partimage{\Beautybook@partimagename}
\makeatother
%
\frontmatter
@@ -507,13 +473,13 @@ sorting=nty
\thispagestyle{empty}
% \addcontentsline{toc}{chapter}{Preface}
\chapter*{Preface}
-Your words here.
+An introduction to the beautybook template.
\hfill
\begin{tabular}{lr}
- &----- author\\
- & 2023-09-01
+ &--- Ethan Lu\\
+ &2024-03-17
\end{tabular}
\clearpage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -530,7 +496,7 @@ Your words here.
\chapter{A short introduction of \textbf{Beautybook}}
-\section{Section}
+\section{Introduction}
% your main contents here!
@@ -547,7 +513,7 @@ Your words here.
The test environment for this template is
\begin{enumerate}
-\item Win11 22H2 + \TeX{} Live 2023;
+\item Win11 23H2 + \TeX{} Live 2024;
\end{enumerate}
For the installation of \TeX Live/Mac\TeX{} , please refer to articles online, which is omitted here.
@@ -628,7 +594,7 @@ This template has multiple sets of covers that can be used at will, and the use
\hline
Title & \lstinline|\title| & subtitle & \lstinline|\subtitle| & author & \lstinline|\author| \\
Publisher & \lstinline|\pressname| & Version & \lstinline|\edition| & cover image & \lstinline|\coverimage|\\
- Logo & \lstinline|\presslogo| & English title (cn)&\lstinline|\entitle|&&\\
+ Logo & \lstinline|\presslogo| &&&&\\
\hline
\end{tabular}
\end{table}
@@ -741,11 +707,10 @@ Here is the effect of the theorem environment provided by amsthm.
\begin{corollary}
The usage is the same as above, refer to the tag \ref{def label} below or you can \autoref{def label}.
\end{corollary}
-
+\newpage
\begin{example}
The usage is the same as above, refer to the tag \ref{def label} below or you can \autoref{def label}.
\end{example}
-
\subsection*{Ancient style box}
\begin{fancybox}
Test ancient style box , you can use it to nest outside of other environments arbitrarily!
@@ -856,14 +821,12 @@ In addition, this template calls the Biblatex macro package and provides Biber e
For bib items, you can pick them up in Google Scholar, Mendeley, Endnote and add them to \lstinline{ref.bib}. When quoting in the text, just quote their bib key.
-The default reference style used by the template is ``GB7714-2015". There is a simple reference example. \cite{Huybrechts2010Complex}
-
-If you need to set to a numeric style, you need to change the ``GB7714-2015" in the biblatex macro package option to ``numerical".
+The default reference style used by the template is ``numeric".
\begin{lstlisting}
\usepackage[
-backend=biber, % can be changed to bibtex (or simply delete bibtex)
-style=GB7714-2015, % can be changed to numerical
+backend=biber, % It can be changed to bibtex.
+style=numeric, % It can be changed to others, cf the documentation of biblatex.
sorting=nty
]{biblatex}
\addbibresource{ref.bib}
diff --git a/Master/texmf-dist/doc/latex/beautybook/ref.bib b/Master/texmf-dist/doc/latex/beautybook/ref.bib
deleted file mode 100644
index c1be504341b..00000000000
--- a/Master/texmf-dist/doc/latex/beautybook/ref.bib
+++ /dev/null
@@ -1,7 +0,0 @@
-@book{Huybrechts2010Complex,
- title={Complex geometry:an introduction},
- author={Huybrechts and Daniel},
- publisher={Springer},
- year={2010},
-}
-
diff --git a/Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls b/Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls
index 32a3f4de852..d3ab12a333e 100644
--- a/Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls
+++ b/Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls
@@ -7,6 +7,8 @@
\RequirePackage[dvipsnames,svgnames,x11names,table]{xcolor}
\RequirePackage{cncolours}
\setmainfont{Times New Roman}
+\setsansfont{HONOR Sans}
+\setmonofont{Latin Modern Mono}
\colorlet{outermarginfgcolor}{DarkCyan} % foregroundcolor 较深
\colorlet{outermarginbgcolor}{DarkCyan!30} % backgroundcolor 较浅
\RequirePackage{bropd} % math 自适应数学括号命令 \br{} !!!
@@ -193,32 +195,53 @@ citecolor = purple, %%修改此处为你想要的颜色
\newcommand\boxednum[1]
{
\tcbsidebyside[sidebyside adapt=left,
-nobeforeafter,fontupper=\sffamily\large\bfseries,fontlower=\large\bfseries,colframe=white,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width =\textwidth,
-top=0mm,bottom=0mm,right=0mm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside gap=6mm,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
-fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+nobeforeafter,fontupper=\sffamily\large\bfseries,fontlower=\large,colframe=white,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width =\textwidth,
+top=0mm,bottom=0mm,right=0mm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside gap=6mm,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,fuzzy shadow={-0.4mm}{0.4mm}{0mm}{0.2mm}{white!50!gray},% 上
+fuzzy shadow={0.4mm}{-0.4mm}{0mm}{0.2mm}{fill=white!40!gray},%下
]{% left hand side % adjust from this side
\thecontentslabel
}{% right hand side
-#1 \hfill \bfseries\sffamily\thecontentspage
+\textbf{#1} \hfill \thecontentspage
}% end
}
\newcommand\boxednonum[1]
{
-\begin{tcolorbox}[nobeforeafter,fontupper=\large,fontlower=\large\bfseries,colframe=white,fontupper=\sffamily\bfseries,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width = 1\textwidth,sidebyside gap=6mm,
-top=0mm,bottom=0mm,right=0cm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,lefthand width=3mm,fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
-fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+\begin{tcolorbox}[nobeforeafter,fontupper=\large,fontlower=\large,colframe=white,fontupper=\sffamily\bfseries,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width = \textwidth,sidebyside gap=6mm,
+top=0mm,bottom=0mm,right=0cm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,lefthand width=3mm,fuzzy shadow={-0.4mm}{0.4mm}{0mm}{0.2mm}{white!50!gray},% 上
+fuzzy shadow={0.4mm}{-0.4mm}{0mm}{0.2mm}{fill=white!40!gray},%下
]
-\tcblower #1\hfill \bfseries\sffamily\thecontentspage
+\tcblower \textbf{#1}\hfill \thecontentspage
\end{tcolorbox}
}
-
+%
\titlecontents{chapter}[0mm]
{\addvspace{-.5em}}
{\contentsmargin{0pt}\boxednum}
{\contentsmargin{0pt}\boxednonum}
{}
[\addvspace{-.5em}]
+%
+ \titlecontents{section}
+ [4.5em] % ie, 1.5em (chapter) + 2.3em
+ {}
+ {\hyperlink{section.\thecontentslabel}{\contentslabel{2.2em}}}
+ {\hspace*{-2.2em}}
+ {\titlerule*[1pc]{.}\contentspage\hspace*{1.5mm}}
+%
+ \titlecontents{subsection}
+ [7.3em] % ie, 1.5em (chapter) + 2.3em
+ {}
+ {\hyperlink{subsection.\thecontentslabel}{\contentslabel{2.7em}}}
+ {\hspace*{-2.7em}}
+ {\titlerule*[1pc]{.}\contentspage\hspace*{1.5mm}}
+%
+ \titlecontents{subsubsection}
+ [10.7em] % ie, 1.5em (chapter) + 2.3em
+ {}
+ {\hyperlink{subsubsection.\thecontentslabel}{\contentslabel{3.3em}}}
+ {\hspace*{-3.3em}}
+ {\titlerule*[1pc]{.}\contentspage\hspace*{1.5mm}}
% tcolorbox中插入图片或者tikz绘图方法
\newcommand\Figure[4]{%
@@ -1119,7 +1142,7 @@ anchor=west,rounded corners=3pt,font=\bfseries\normalsize] at ([xshift=0cm,yshif
bodyfont=\normalfont,
postheadspace=.5em,
headpunct={.},
- qed=$\blacksquare$,%\qedsymbol
+ qed=\color{cyan!40!black}$\blacksquare$,%\qedsymbol
]{Proofstyle}
\declaretheorem[style=Proofstyle,numbered=no,name={\itbf{Proof}}]{Proof}
\renewenvironment{proof}{\begin{Proof} }{\end{Proof}}
diff --git a/Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls b/Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls
index f64062a4684..63e3e038dff 100644
--- a/Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls
+++ b/Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls
@@ -196,32 +196,53 @@ citecolor = purple, %%修改此处为你想要的颜色
\newcommand\boxednum[1]
{
\tcbsidebyside[sidebyside adapt=left,
-nobeforeafter,fontupper=\sffamily\large\bfseries,fontlower=\large\bfseries,colframe=white,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width =\textwidth,
-top=0mm,bottom=0mm,right=0mm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside gap=6mm,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
-fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+nobeforeafter,fontupper=\sffamily\large\bfseries,fontlower=\large,colframe=white,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width =\textwidth,
+top=0mm,bottom=0mm,right=0mm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside gap=6mm,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,fuzzy shadow={-0.4mm}{0.4mm}{0mm}{0.2mm}{white!50!gray},% 上
+fuzzy shadow={0.4mm}{-0.4mm}{0mm}{0.2mm}{fill=white!40!gray},%下
]{% left hand side % adjust from this side
\thecontentslabel
}{% right hand side
-#1 \hfill \bfseries\sffamily\thecontentspage
+\textbf{#1} \hfill \thecontentspage
}% end
}
\newcommand\boxednonum[1]
{
-\begin{tcolorbox}[nobeforeafter,fontupper=\large,fontlower=\large\bfseries,colframe=white,fontupper=\sffamily\bfseries,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width = 1\textwidth,sidebyside gap=6mm,
-top=0mm,bottom=0mm,right=0cm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,lefthand width=3mm,fuzzy shadow={-0.6mm}{0.6mm}{0mm}{0.3mm}{white!50!gray},% 上
-fuzzy shadow={0.6mm}{-0.6mm}{0mm}{0.3mm}{fill=white!40!gray},%下
+\begin{tcolorbox}[nobeforeafter,fontupper=\large,fontlower=\large,colframe=white,fontupper=\sffamily\bfseries,colupper=white,colback=outermarginfgcolor!90,colbacklower=gray!10,frame hidden,width = \textwidth,sidebyside gap=6mm,
+top=0mm,bottom=0mm,right=0cm,left=2mm,before skip balanced=0em,after skip balanced=0em,arc=0pt,outer arc=0pt,bicolor,sidebyside,boxrule=0pt,sidebyside align=center,halign=center,halign lower=left,lefthand width=3mm,fuzzy shadow={-0.4mm}{0.4mm}{0mm}{0.2mm}{white!50!gray},% 上
+fuzzy shadow={0.4mm}{-0.4mm}{0mm}{0.2mm}{fill=white!40!gray},%下
]
-\tcblower #1\hfill \bfseries\sffamily\thecontentspage
+\tcblower \textbf{#1}\hfill \thecontentspage
\end{tcolorbox}
}
-
+%
\titlecontents{chapter}[0mm]
{\addvspace{-.5em}}
{\contentsmargin{0pt}\boxednum}
{\contentsmargin{0pt}\boxednonum}
{}
[\addvspace{-.5em}]
+%
+ \titlecontents{section}
+ [4.5em] % ie, 1.5em (chapter) + 2.3em
+ {}
+ {\hyperlink{section.\thecontentslabel}{\contentslabel{2.2em}}}
+ {\hspace*{-2.2em}}
+ {\titlerule*[1pc]{.}\contentspage\hspace*{1.5mm}}
+%
+ \titlecontents{subsection}
+ [7.3em] % ie, 1.5em (chapter) + 2.3em
+ {}
+ {\hyperlink{subsection.\thecontentslabel}{\contentslabel{2.7em}}}
+ {\hspace*{-2.7em}}
+ {\titlerule*[1pc]{.}\contentspage\hspace*{1.5mm}}
+%
+ \titlecontents{subsubsection}
+ [10.7em] % ie, 1.5em (chapter) + 2.3em
+ {}
+ {\hyperlink{subsubsection.\thecontentslabel}{\contentslabel{3.3em}}}
+ {\hspace*{-3.3em}}
+ {\titlerule*[1pc]{.}\contentspage\hspace*{1.5mm}}
% tcolorbox中插入图片或者tikz绘图方法
\newcommand\Figure[4]{%
diff --git a/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-bottompage.sty b/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-bottompage.sty
index dca0a3f4eaa..892cf4fbac0 100644
--- a/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-bottompage.sty
+++ b/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-bottompage.sty
@@ -15,10 +15,6 @@
\pgfdeclarelayer{top} %顶部
\pgfdeclarelayer{bottom} %底部
\pgfsetlayers{bottom,background,main,foreground,top}
-\definecolor{coverbgcolor}{HTML}{e0e0e0} %f9b868
-\definecolor{coverfgcolor}{HTML}{826e68} %503D4B
-\definecolor{coverbar}{HTML}{7c9092}
-\definecolor{bottomcolor}{HTML}{826e68}
\makeatletter
\newcommand*\makebottomcover{
%% Use the Tikz library positioning and clear the page header and footer
diff --git a/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-cover-cn.sty b/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-cover-cn.sty
index 73357bb24e5..b151d4e5fc2 100644
--- a/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-cover-cn.sty
+++ b/Master/texmf-dist/tex/latex/beautybook/stys/Beautybook-cover-cn.sty
@@ -64,14 +64,14 @@ bottom color=transparent!50]
\end{minipage}}
};% 封面作者信息栏
\fill [path picture={ \node at (path picture bounding box.center)
- {\includegraphics[height=.92\linewidth]{\@coverimage}};}]
- ([xshift=\outermarginwidth]current page.south west) rectangle ++(1.8*\covershift,.58\paperheight);
+ {\includegraphics[height=1.1\linewidth]{\@coverimage}};}]
+ ([xshift=\outermarginwidth]current page.south west) rectangle ++(1.8*\covershift,.575\paperheight);
\fill[pattern color=coverfgcolor!70,pattern=horizontal lines,opacity=0.8]
([xshift=\outermarginwidth,yshift=.2\covershift]current page.south west) rectangle ([xshift=-\outermarginwidth,yshift=1.43\covershift]current page.south east);
\fill [coverfgcolor!80,path fading=fade right]%
- ([xshift=\outermarginwidth+.5\linewidth+.2cm,yshift=.2\covershift]current page.south west) rectangle ([xshift=-\outermarginwidth,yshift=1.43\covershift]current page.south east);
+ ([xshift=\outermarginwidth+.5\linewidth+.5cm,yshift=.2\covershift]current page.south west) rectangle ([xshift=-\outermarginwidth,yshift=1.43\covershift]current page.south east);
\fill [coverfgcolor!80,path fading=fade left]%
- ([xshift=\outermarginwidth+.5\linewidth+.2cm,yshift=.2\covershift]current page.south west) rectangle ([xshift=-\outermarginwidth,yshift=1.43\covershift]current page.south east);
+ ([xshift=\outermarginwidth+.5\linewidth+.5cm,yshift=.2\covershift]current page.south west) rectangle ([xshift=-\outermarginwidth,yshift=1.43\covershift]current page.south east);
\node[left,text=white,font=\rmfamily\Large,] at
([shift={(-2cm,2cm)}]current page.south east) %
{\raisebox{-1.1cm}{\includegraphics[width=0.2\linewidth]{\@presslogo}}\hspace*{-3.5ex}\begin{varwidth}{.4\textwidth}\tikz\draw[white,line width=1.25pt] (0,0)--++(0,1cm);\,\raisebox{.25cm}{\@pressname} \end{varwidth}};%