diff options
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf | bin | 5536441 -> 6210741 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.tex | 286 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/beautybook/README.md | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf | bin | 3560151 -> 3706871 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/beautybook/beautybook-en.tex | 161 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/beautybook/ref.bib | 7 |
6 files changed, 263 insertions, 193 deletions
diff --git a/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf b/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf Binary files differindex d5fe6b85614..924e220ab7d 100644 --- a/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf +++ b/Master/texmf-dist/doc/latex/beautybook/Beautybook-cn.pdf 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 Binary files differindex 5529baec457..e8f4618ed86 100644 --- a/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf +++ b/Master/texmf-dist/doc/latex/beautybook/beautybook-en.pdf 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}, -} - |