Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New README #45

Merged
merged 3 commits into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
Loading