summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls (renamed from Master/texmf-dist/tex/latex/beautybook/Beautybook-V6.1-CN.cls)2
-rw-r--r--Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls (renamed from Master/texmf-dist/tex/latex/beautybook/Beautybook-V6.1-EN.cls)45
2 files changed, 21 insertions, 26 deletions
diff --git a/Master/texmf-dist/tex/latex/beautybook/Beautybook-V6.1-CN.cls b/Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls
index 4e2f170d623..22bdb8248cc 100644
--- a/Master/texmf-dist/tex/latex/beautybook/Beautybook-V6.1-CN.cls
+++ b/Master/texmf-dist/tex/latex/beautybook/Beautybook-CN.cls
@@ -1,6 +1,6 @@
%This Class is based on the default book class and options will be passed
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{Beautybook-V6.1-CN}[01-05-2023 V6.1 Beautybook Class]
+\ProvidesClass{Beautybook-CN}[17-06-2023 Beautybook Class]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
\ProcessOptions\relax
\LoadClass[twoside]{ctexbook}
diff --git a/Master/texmf-dist/tex/latex/beautybook/Beautybook-V6.1-EN.cls b/Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls
index 9efc7992952..5f2652d7533 100644
--- a/Master/texmf-dist/tex/latex/beautybook/Beautybook-V6.1-EN.cls
+++ b/Master/texmf-dist/tex/latex/beautybook/Beautybook-EN.cls
@@ -1,6 +1,6 @@
%This Class is based on the default book class and options will be passed
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{Beautybook-V6.1-EN}[01-05-2023 V6.1 Beautybook Class]
+\ProvidesClass{Beautybook-EN}[17-06-2023 Beautybook Class]
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\ProcessOptions\relax
\LoadClass[twoside]{book}
@@ -8,22 +8,20 @@
\RequirePackage[fontsize=13.5pt]{fontsize}
\linespread{1.05}
\RequirePackage[dvipsnames,svgnames,x11names,table]{xcolor}
-\colorlet{outermarginfgcolor}{DarkCyan} % foregroundcolor 较深
-\colorlet{outermarginbgcolor}{DarkCyan!30} % backgroundcolor 较浅
-\definecolor{高粱红}{HTML}{951c48}
+\colorlet{outermarginfgcolor}{DarkCyan} % foregroundcolor
+\colorlet{outermarginbgcolor}{DarkCyan!30} % backgroundcolor
\RequirePackage{cncolours}
-\RequirePackage{bropd} % math 自适应数学括号命令 \br{} !!!
-\RequirePackage{tikz-imagelabels} % tikz图像标注
-\RequirePackage{epigraph-keys} % 名言引用
-\RequirePackage{fitbox} % 图像自适应
+\RequirePackage{bropd}
+\RequirePackage{tikz-imagelabels}
+\RequirePackage{epigraph-keys}
+\RequirePackage{fitbox}
\RequirePackage{pgfornament-han}
\RequirePackage{tikz}
\usetikzlibrary{calc,shadows,hobby,intersections, decorations.markings, decorations.pathreplacing,spy,arrows,shapes,fadings,trees,mindmap,patterns,shapes.arrows,shapes.symbols,tikzmark,shapes.geometric,graphs, quotes, angles,decorations.pathmorphing,through,shadings,backgrounds,positioning,fit,arrows.meta,shapes.misc,decorations.shapes}
-\RequirePackage{pgfplots} %画图 %%页面样式设计核心包 %提供\pgfonlayer命令以及下列图层指令
+\RequirePackage{pgfplots}
\pgfplotsset{compat=1.18}
%
\ExplSyntaxOn
-% 封面切换程序 (LaTeX3)!
\keys_define:nn {Beautybook/coverstyle}
{
cover-choose.choice:,
@@ -32,7 +30,7 @@
cover-choose/en.code:n = {\RequirePackage{stys/Beautybook-en}},
cover-choose/enfig.code:n = {\RequirePackage{stys/Beautybook-enfig}},
cover-choose/birkar.code:n = {\RequirePackage{stys/Beautybook-birkar}},
- %cover-choose .initial:n = en , % 设置 en 为初始值
+ %cover-choose .initial:n = en ,
}
\newtoks \l__Beautybook_tmpa_toks
\cs_new_protected:Npn \coverstyle
@@ -65,7 +63,7 @@
}{}
\renewcommand{\partial}{{\text{\usefont{U}{nxlmi}{m}{it}\symbol{64}}\mspace{1mu}}}
},
- %cover-choose .initial:n = plain , % 设置 en 为初始值
+ %cover-choose .initial:n = plain ,
}
\cs_new_protected:Npn \mathstyle
{
@@ -80,7 +78,7 @@
%
\RequirePackage{amssymb,amsfonts}
\RequirePackage{makeidx}
-\RequirePackage{etoolbox} % 判断函数
+\RequirePackage{etoolbox}
\RequirePackage{paracol}
\RequirePackage{tikz-cd}
\RequirePackage{imakeidx}
@@ -89,30 +87,27 @@
\RequirePackage{xkeyval,ifthen}
\RequirePackage[backgroundcolor=yellow!40!cyan!20,bordercolor=yellow!40!cyan!20,linecolor=DarkCyan]{todonotes}
\RequirePackage{varwidth}
-\RequirePackage[colorlinks,linkcolor = purple, %%修改此处为你想要的颜色
-anchorcolor = purple, %%修改此处为你想要的颜色
-urlcolor = purple, %%修改此处为你想要的颜色
-citecolor = purple, %%修改此处为你想要的颜色
+\RequirePackage[colorlinks,linkcolor = purple,
+anchorcolor = purple,
+urlcolor = purple,
+citecolor = purple,
]{hyperref}
\setcounter{tocdepth}{3}
-\setcounter{secnumdepth}{3}%增加编号深度
+\setcounter{secnumdepth}{3}
\RequirePackage{dashrule}
\newlength\outermarginwidth
\setlength\outermarginwidth{1.5cm}
\newlength\covershift
\setlength\covershift{5cm}
\RequirePackage{caption}
-% 图注与表注格式
-\colorlet{captioncolor}{outermarginfgcolor} % 图片和表格题注文字颜色
+\colorlet{captioncolor}{outermarginfgcolor}
\makeatletter
-%%----------------------------------封面信息定义--------------------------------------------------------%%
\newcommand\bookseries[1]{\def\@bookseries{#1}}
\newcommand\subtitle[1]{\def\@subtitle{#1}}
\newcommand\edition[1]{\def\@edition{#1}}
\newcommand\presslogo[1]{\def\@presslogo{#1}}
\newcommand\pressname[1]{\def\@pressname{#1}}
\newcommand\coverimage[1]{\def\@coverimage{#1}}
-%%----------------------------------封面信息定义--------------------------------------------------------%%
\makeatother
\RequirePackage{indentfirst}
\RequirePackage{physics}
@@ -120,7 +115,7 @@ citecolor = purple, %%修改此处为你想要的颜色
\pagecolor{nuanbai}
\RequirePackage{amsmath}
\RequirePackage{zhlipsum}
-\RequirePackage{times}
+\RequirePackage{stix}
\RequirePackage[left=2cm,right=2cm,top=.6cm,bottom=2.2cm]{geometry}
\RequirePackage{xpatch}%修正章节编号
\RequirePackage[automark]{scrlayer-scrpage}%页面设置宏包,隶属于koma-script文档类
@@ -236,7 +231,7 @@ citecolor = purple, %%修改此处为你想要的颜色
% ([yshift=2cm]chapnum.north west) rectangle (chapnum.south east);
\fill [outermarginfgcolor,path fading=fade up,rounded corners=5pt]%
([yshift=2cm]chapnum.north west) rectangle (chapnum.south east);
- \node[above left,font=\fontsize{25}{25}\selectfont\bfseries,align=center] (contents name) at ([shift={(0cm,-4.45cm)}]current page.north east) {\begin{varwidth}{.7\linewidth}\baselineskip=2ex #1\end{varwidth}};
+ \node[above left,font=\fontsize{25}{25}\selectfont\bfseries,align=center] (contents name) at ([shift={(0cm,-4.45cm)}]current page.north east) {\begin{varwidth}{.7\linewidth}\baselineskip=2.3ex #1\end{varwidth}};
\end{pgfonlayer}
\begin{pgfonlayer}{bottom}
\node[right] (image) at ([shift={(-0.5cm,-2.8cm)}]current page.north west) {\includegraphics[width=7cm]{inner_pics/song2.png}};
@@ -249,7 +244,7 @@ citecolor = purple, %%修改此处为你想要的颜色
% ([yshift=2cm]chapnum.north west) rectangle (chapnum.south east);
\fill [outermarginfgcolor,path fading=fade up,rounded corners=5pt]%
([yshift=2cm]chapnum.north west) rectangle (chapnum.south east);
- \node[above right,font=\fontsize{25}{25}\selectfont\bfseries,align=center] (contents name) at ([shift={(0cm,-4.45cm)}]current page.north west) {\begin{varwidth}{.7\linewidth}\baselineskip=2ex #1\end{varwidth}};
+ \node[above right,font=\fontsize{25}{25}\selectfont\bfseries,align=center] (contents name) at ([shift={(0cm,-4.45cm)}]current page.north west) {\begin{varwidth}{.7\linewidth}\baselineskip=2.3ex #1\end{varwidth}};
\end{pgfonlayer}
\begin{pgfonlayer}{bottom}
\node[left] (image) at ([shift={(0.5cm,-2.8cm)}]current page.north east) {\includegraphics[width=7cm]{inner_pics/song.png}};