Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NJUThesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Danson Liao
NJUThesis
Commits
3bfe711e
Commit
3bfe711e
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
fix: 针对格式规范修复了部分标题错误加粗的问题
parent
6d6ef67a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
profile/page.sty
+12
-7
12 additions, 7 deletions
profile/page.sty
with
12 additions
and
7 deletions
profile/page.sty
+
12
−
7
View file @
3bfe711e
% \ProvidesExplPackage{profile/page}{2021-9-4}{0.1}{Some things I wrote}
% 论文页码 页脚居中、五号阿拉伯数字(新罗马体)连续编码
\fancypagestyle
{
njuplain
}{
%
\fancyhead
{}
\fancyfoot
[C]
{
\zihao
{
5
}
\thepage
}
...
...
@@ -12,18 +13,22 @@
\AtBeginDocument
{
\pagestyle
{
njuplain
}}
% 无页眉页脚
% ctex格式设置
% 目录标题 三号宋体加粗
% 各部分标题 四号黑体
\ctexset
{
contentsname =
\songti\bfseries\zihao
{
3
}
目录,
chapter/format =
\zihao
{
4
}
\
bfseries\
heiti\centering
,
section/format =
\zihao
{
4
}
\
bfseries\
heiti\raggedright
,
subsection/format =
\zihao
{
4
}
\
bfseries\
heiti\raggedright
,
subsubsection/format =
\zihao
{
4
}
\
bfseries\
heiti\raggedright
chapter/format =
\zihao
{
4
}
\heiti\centering
,
section/format =
\zihao
{
4
}
\heiti\raggedright
,
subsection/format =
\zihao
{
4
}
\heiti\raggedright
,
subsubsection/format =
\zihao
{
4
}
\heiti\raggedright
}
% 重定义目录中章节标题样式
\titlecontents
{
chapter
}
[5em]
{
\bfseries\heiti\zihao
{
4
}
\vspace
{
10pt
}}{
\contentslabel
{
4em
}}{
\hspace*
{
-4em
}}{
~
\titlerule*
[0.6pc]
{$
.
$}
~
\contentspage
}
\titlecontents
{
section
}
[5em]
{
\vspace
{
0pt
}}{
\contentslabel
{
2.5em
}}{}{
~
\titlerule*
[0.6pc]
{$
.
$}
~
\contentspage
}
\titlecontents
{
subsection
}
[8em]
{
\vspace
{
0pt
}}{
\contentslabel
{
3em
}}{}{
~
\titlerule*
[0.6pc]
{$
.
$}
~
\contentspage
}
% 目录内容中章的标题 四号黑体
% 目录中其他内容 小四号宋体
\titlecontents
{
chapter
}
[5em]
{
\heiti\zihao
{
4
}
\vspace
{
10pt
}}{
\contentslabel
{
4em
}}{
\hspace*
{
-4em
}}{
~
\titlerule*
[0.6pc]
{$
.
$}
~
\contentspage
}
\titlecontents
{
section
}
[5em]
{
\zihao
{
-4
}
\vspace
{
0pt
}}{
\contentslabel
{
2.5em
}}{}{
~
\titlerule*
[0.6pc]
{$
.
$}
~
\contentspage
}
\titlecontents
{
subsection
}
[8em]
{
\zihao
{
-4
}
\vspace
{
0pt
}}{
\contentslabel
{
3em
}}{}{
~
\titlerule*
[0.6pc]
{$
.
$}
~
\contentspage
}
% 1.{section}:标题级别
% 2.[5em]:标题位置 (左间距)
% 3.{\bfseries \zihao{5} \vspace{10pt}}:标题格式 (设置标题的整体格式,如字体尺寸、粗细、与上一个标题的垂直距离等,可空置)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment