Skip to content

Commit

Permalink
Merge pull request #55 from barryzhu6/barryzhu6-patch-1
Browse files Browse the repository at this point in the history
Some fixes
  • Loading branch information
liziwl authored May 26, 2024
2 parents 99d45eb + db2f8dc commit 579e348
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions sustechthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
\newif\ifsustech@master
\newif\ifsustech@doctor
\sustech@validate@key{degree}
\LoadClass[a4paper,UTF8,scheme=chinese,zihao=-4]{ctexart}
\LoadClass[a4paper,UTF8,scheme=chinese,zihao=-4,twoside]{ctexart}
\ifsustech@master
\ClassError{sustechthesis}{NotImplementedError}
\fi
Expand Down Expand Up @@ -70,7 +70,8 @@

%取消标题空行
\RequirePackage{titlesec}
\titlespacing{\section}{0pt}{1.2ex plus .0ex minus .0ex}{.3ex plus .0ex}
%第一层标题段前空一行
\titlespacing{\section}{0pt}{15.6pt}{.3ex plus .0ex}
\titlespacing{\subsection}{0pt}{1.2ex plus .0ex minus .0ex}{.3ex plus .0ex}

\RequirePackage{geometry}
Expand Down Expand Up @@ -452,7 +453,12 @@
\newcommand\摘要标题{
\pdfbookmark[1]{\sustech@abstract@name}{abstract}
\begin{center}
\黑\二\题目@中\\
\ifsustech@chinese
\黑\二\题目@中
\else
\黑\二\题目@英
\fi
\\
\ifdefempty{\副标题@中}%
{% empty
\relax
Expand Down

0 comments on commit 579e348

Please sign in to comment.