Skip to content

Commit

Permalink
New README
Browse files Browse the repository at this point in the history
  • Loading branch information
RizhongLin committed Apr 27, 2024
1 parent 0796856 commit 44e6d55
Show file tree
Hide file tree
Showing 7 changed files with 95 additions and 202 deletions.
Binary file removed AdobeFangsongStd-Regular.otf
Binary file not shown.
Binary file removed AdobeHeitiStd-Regular.otf
Binary file not shown.
Binary file removed AdobeKaitiStd-Regular.otf
Binary file not shown.
Binary file removed AdobeSongStd-Light.otf
Binary file not shown.
261 changes: 92 additions & 169 deletions README.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
\begin{document}

\input{sections/frontcover.tex}
\clearchapterpage
\cleardoublepage

\pagestyle{firststyle}
\input{sections/00_abstract.tex}

\clearpage
\tableofcontents %放置目录
\clearchapterpage
\cleardoublepage

\pagestyle{mainstyle}
\input{sections/01_intro}
Expand Down
32 changes: 1 addition & 31 deletions style/tongjithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@
% 该类提供包括但不限于 \heiti \zihao 等指令
\LoadClass[UTF8,a4paper,fontset=fandol]{ctexart}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \LoadClass[UTF8,a4paper,fontset=adobe]{ctexart}
% 若需要使用包含所有 GBK 字符的 Adobe 字体,可使用如上命令
% 需要完成 README.md 中提到的字体安装步骤
% Overleaf 上使用该命令时编译速度会变慢很多,建议本地编译
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 若你想要用句点(.)替换句号(。)
% 可以打开下面的注释
Expand All @@ -27,17 +18,6 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 在 Windows 上使用时:
% 若你想避免将 Python 加入环境变量,可以在此手动指定 Python 环境
% 打开下面的注释,并替换尖括号 <> 中的路径
% e.g. {<X:/your/path/to/python>/python.exe} -> {C:/software/Anaconda3/envs/latex/python.exe}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \newcommand{\myPython}{<X:/your/path/to/python>/python.exe}
% \renewcommand{\MintedPygmentize}{\myPython\space -m pygments}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% 设置页边距
\setlength{\headheight}{43pt}
\RequirePackage[a4paper,top=4.2cm,bottom=2.7cm,left=3.3cm,right=1.8cm]{geometry}
Expand Down Expand Up @@ -408,14 +388,4 @@
\textbf{Key words:\quad}#2
}
\par
}

\makeatletter
\def\clearchapterpage{%
\@ifclasswith{tongjithesis}{twoside}{%
\cleardoublepage % 如果使用双面模式的 tongjithesis 文档类,使用 \cleardoublepage 清除页面
}{%
\clearpage % 否则,使用 \clearpage 清除页面
}
}
\makeatother
}

0 comments on commit 44e6d55

Please sign in to comment.