Skip to content
Snippets Groups Projects
Commit 06ba9137 authored by Yichen Zhao's avatar Yichen Zhao
Browse files

目录标题三号宋体,增加文档

parent 2cf5e261
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
## TODO
- [x] 主要代码转为Latex3,使用expl3宏包
- [ ] 基于CTEX宏集重构所有页面以符合学校论文要求
- [ ] 基于CTex宏集重构所有页面以符合学校论文要求
- [x] Github Action自动化构建预览PDF
- [ ] 完善文档
- [ ] CTAN发布宏包
# format文件
该文件用作论文排版格式控制。包含了摘要、封面、字体、页边距、页眉页脚和CTex宏包格式设置功能。
......@@ -30,6 +30,8 @@
\englishkeywords{Drive}
\end{englishabstract}
\tableofcontents
% 开始正文部分
\mainmatter
\chapter{绪论}
......
......@@ -3,10 +3,11 @@
\input{profile/format/abstract.tex}
\input{profile/format/page.tex}
% ctex格式设置
\ctexset{
contentsname = \songti\bfseries\zihao{3}目录,
chapter/format = \zihao{4}\bfseries\centering,
section/format = \zihao{4}\bfseries\raggedright,
subsection/format = \zihao{4}\bfseries\raggedright,
subsubsection/format = \zihao{4}\bfseries\raggedright
}
......@@ -10,6 +10,7 @@
}
{
% 检测是否是Macos
% TODO: 不同OS版本字体应有不同设置(没MAC)
\ctex_if_platform_macos:TF
{
......
......@@ -9,9 +9,12 @@
\RequirePackage{ulem}
\RequirePackage{setspace}
\RequirePackage{l3keys2e}
\RequirePackage[hidelinks]{hyperref}
\DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}
\graphicspath{{./}{./img/}{./fig/}{./image/}{./figure/}{./picture/}{./imgs/}{./figs/}{./images/}{./figures/}{./pictures/}}
% biblatex设置
\RequirePackage[
style=gb7714-2015,
% gbpub=false, % Uncomment if you do NOT want '[S.l. : s.n.]' in reference entries, GitHub Issue (#47)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment