This commit is contained in:
Xudong 2022-05-23 13:17:06 +08:00
parent dc3c62dad3
commit 622018fe8e
1 changed files with 8 additions and 2 deletions

View File

@ -37,7 +37,7 @@
\AtEndOfPackage{\makeatletter\input{zjutthesis.cfg}\makeatother}
\ProcessOptions\relax
\LoadClass[UTF8,zihao=-4,oneside,font=songti,AutoFakeSlant=true,scheme=chinese,linespread=1.25,SlantFactor=0.3]{ctexbook}
\LoadClass[UTF8,zihao=-4,oneside,font=songti,AutoFakeSlant=true,scheme=plain,linespread=1.25,SlantFactor=0.3]{ctexbook}
% \xeCJKsetup{AutoFakeBold=false,AutoFakeSlant=true,SlantFactor = 0.7,CheckSingle=true,AutoFallBack=true}
% , %
@ -197,17 +197,23 @@
%% http://mirror.bjtu.edu.cn/CTAN/macros/latex/contrib/titlesec/titlesec.pdf
%%%%%%%%%%%%%%%%%%%%
\ctexset{
chapter={
name={, },format=\bfseries\centering\zihao{3}
}
}
%%% 1181.5 {
\titleformat{\chapter}[block]{\onehalfspacing \sanhao\heiti\filcenter\bfseries}{\thechapter }{1em}{}[\vbox{\vspace*{2em}}]
\titlespacing{\chapter}{0pt}{-18pt}{18pt} % XXX @mckelvin
\titlecontents{chapter}[0em]
{\vspace{10pt}}
{\wuhao\bfseries\thecontentslabel}
{\wuhao\bfseries\thecontentslabel\hspace{1em}}
{\wuhao\bfseries}
{\wuhao\bfseries\titlerule*[3pt]{.}\contentspage}
%%% }
%%% 212121.5 {
\titleformat{\section}[hang]{\onehalfspacing \sihao\heiti\bfseries}{\thesection}{1em}{}{}
\titlespacing{\section}{0pt}{12pt}{12pt} % XXX @mckelvin