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
伊力亚尔 加尔
NJUThesis
Commits
bb6ee9b2
Commit
bb6ee9b2
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
fix: 修复了数学环境格式不统一的问题
parent
5c856ca2
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
chapters/Mathematics.tex
+2
-2
2 additions, 2 deletions
chapters/Mathematics.tex
profile/components.sty
+108
-13
108 additions, 13 deletions
profile/components.sty
profile/packages.sty
+1
-0
1 addition, 0 deletions
profile/packages.sty
profile/reference.sty
+10
-10
10 additions, 10 deletions
profile/reference.sty
with
121 additions
and
25 deletions
chapters/Mathematics.tex
+
2
−
2
View file @
bb6ee9b2
...
...
@@ -56,13 +56,13 @@
condition
&
条件
\\
corollary
&
推论
\\
definition
&
定义
\\
proof
&
证明
\\
example
&
例
\\
lemma
&
引理
\\
proof
&
证明
\\
property
&
性质
\\
proposition
&
命题
\\
remark
&
注解
\\
theorem
&
定理
\\
\bottomrule
\end{tabular}
\end{table}
\ No newline at end of file
\end{table}
This diff is collapsed.
Click to expand it.
profile/components.sty
+
108
−
13
View file @
bb6ee9b2
...
...
@@ -58,16 +58,111 @@
\setlist
[description]
{
noitemsep
}
% 数学环境
\newtheorem
{
example
}{
例
}
\newtheorem
{
algorithm
}{
算法
}
\newtheorem
{
theorem
}{
定理
}
[section]
% 按 section 编号
\newtheorem
{
definition
}{
定义
}
\newtheorem
{
axiom
}{
公理
}
\newtheorem
{
property
}{
性质
}
\newtheorem
{
proposition
}{
命题
}
\newtheorem
{
lemma
}{
引理
}
\newtheorem
{
corollary
}{
推论
}
\newtheorem
{
remark
}{
注解
}
\newtheorem
{
condition
}{
条件
}
\newtheorem
{
conclusion
}{
结论
}
\newtheorem
{
assumption
}{
假设
}
\declaretheoremstyle
[
%spaceabove=.5\thm@preskip,
%spacebelow=.5\thm@postskip,
headfont=
\bf\songti
,
%\scshape,
notefont=
\songti
,
% notebraces={ (}{)},
bodyfont=
\songti
,
%headformat={\NAME\space\NUMBER\space\NOTE},
headpunct=
{}
,
%postheadspace={.5em plus .1em minus .1em},
%prefoothook={\hfill\qedsymbol}
]
{
njuthm
}
\theoremstyle
{
njuthm
}
\let\oldproofname
=
\proofname
\renewcommand*
{
\proofname
}{
\rm\bf\songti
{
\oldproofname
}}
% 修改证明环境标题
\declaretheorem
[
name=算法,
style=njuthm,
refname=
{
算法,算法
}
,
Refname=
{
算法,算法
}
,
% numberwithin=section,
]
{
algorithm
}
\declaretheorem
[
name=假设,
style=njuthm,
refname=
{
假设,假设
}
,
Refname=
{
假设,假设
}
,
% numberwithin=section,
]
{
assumption
}
\declaretheorem
[
name=公理,
style=njuthm,
refname=
{
公理,公理
}
,
Refname=
{
公理,公理
}
,
% numberwithin=section,
]
{
axiom
}
\declaretheorem
[
name=结论,
style=njuthm,
refname=
{
结论,结论
}
,
Refname=
{
结论,结论
}
,
% numberwithin=section,
]
{
conclusion
}
\declaretheorem
[
name=条件,
style=njuthm,
refname=
{
条件,条件
}
,
Refname=
{
条件,条件
}
,
% numberwithin=section,
]
{
condition
}
\declaretheorem
[
name=推论,
style=njuthm,
refname=
{
推论,推论
}
,
Refname=
{
推论,推论
}
,
% numberwithin=section,
]
{
corollary
}
\declaretheorem
[
name=定义,
style=njuthm,
refname=
{
定义,定义
}
,
Refname=
{
定义,定义
}
,
% numberwithin=section,
]
{
definition
}
\declaretheorem
[
name=例,
style=njuthm,
refname=
{
例,例
}
,
Refname=
{
例,例
}
,
% numberwithin=section,
]
{
example
}
\declaretheorem
[
name=引理,
style=njuthm,
refname=
{
引理,引理
}
,
Refname=
{
引理,引理
}
,
% numberwithin=section,
]
{
lemma
}
\declaretheorem
[
name=性质,
style=njuthm,
refname=
{
性质,性质
}
,
Refname=
{
性质,性质
}
,
% numberwithin=section,
]
{
property
}
\declaretheorem
[
name=命题,
style=njuthm,
refname=
{
命题,命题
}
,
Refname=
{
命题,命题
}
,
% numberwithin=section,
]
{
proposition
}
\declaretheorem
[
name=注解,
style=njuthm,
refname=
{
注解,注解
}
,
Refname=
{
注解,注解
}
,
% numberwithin=section,
]
{
remark
}
\declaretheorem
[
name=定理,
style=njuthm,
refname=
{
定理,定理
}
,
Refname=
{
定理,定理
}
,
numberwithin=section,
]
{
theorem
}
This diff is collapsed.
Click to expand it.
profile/packages.sty
+
1
−
0
View file @
bb6ee9b2
...
...
@@ -41,6 +41,7 @@
\RequirePackage
{
amsmath
}
% Must be loaded before unicode-math
\RequirePackage
{
amsthm
}
% Mathematical environments
\RequirePackage
{
thmtools
}
% Theorem styles
\RequirePackage
{
unicode-math
}
% Math fonts in xetexorluatex
\RequirePackage
{
graphicx
}
...
...
This diff is collapsed.
Click to expand it.
profile/reference.sty
+
10
−
10
View file @
bb6ee9b2
...
...
@@ -56,13 +56,13 @@
% \crefname{subsubsection}{§}{§}
\crefname
{
appendix
}{
附录
}{
附录
}
\crefname
{
definition
}{
定义
}{
定义
}
\crefname
{
axiom
}{
公理
}{
公理
}
\crefname
{
property
}{
性质
}{
性质
}
\crefname
{
proposition
}{
命题
}{
命题
}
\crefname
{
lemma
}{
引理
}{
引理
}
\crefname
{
corollary
}{
推论
}{
推论
}
\crefname
{
remark
}{
注解
}{
注解
}
\crefname
{
condition
}{
条件
}{
条件
}
\crefname
{
conclusion
}{
结论
}{
结论
}
\crefname
{
assumption
}{
假设
}{
假设
}
%
\crefname{definition}{定义}{定义}
%
\crefname{axiom}{公理}{公理}
%
\crefname{property}{性质}{性质}
%
\crefname{proposition}{命题}{命题}
%
\crefname{lemma}{引理}{引理}
%
\crefname{corollary}{推论}{推论}
%
\crefname{remark}{注解}{注解}
%
\crefname{condition}{条件}{条件}
%
\crefname{conclusion}{结论}{结论}
%
\crefname{assumption}{假设}{假设}
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