Skip to content

Commit

Permalink
尝试解决连续章节的孤行问题、增加定理类环境的缩进
Browse files Browse the repository at this point in the history
  • Loading branch information
xkwxdyy committed Apr 20, 2022
1 parent ae23301 commit 9589fde
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
10 changes: 7 additions & 3 deletions CCNUthesis.cls
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{expl3}
\ProvidesExplClass{CCNUthesis}
{2022-04-19}{v1.1.11}
{2022-04-20}{v1.1.12}
{Thesis template for Central China Normal University}
\RequirePackage { xtemplate, l3keys2e }

Expand Down Expand Up @@ -293,7 +293,8 @@
adjustbox,
etoolbox,
amsthm,
thmtools
thmtools,
needspace
}
\RequirePackage[shortlabels]{enumitem}
\RequirePackage[physics]{physicx}
Expand Down Expand Up @@ -830,7 +831,8 @@
number = \__ccnu_arabic:n { chapter },
fixskip = true,
name = {},
break = {},
% break = {},
break = {\needspace{4em}},
indent = 2\ccwd
},
section =
Expand Down Expand Up @@ -2388,6 +2390,7 @@
[
headpunct = {},
postheadspace = { 0.5em },
headindent = 2\ccwd
]{ccnustyle}
\cs_new:Npn \__xdyymath_declare_theorem_with_counter_within:n #1
{
Expand Down Expand Up @@ -2441,6 +2444,7 @@
\trivlist
\item \relax
\group_begin:
\hspace*{2\ccwd}
\bfseries #1\@addpunct{:}
\group_end:
\hspace \labelsep \ignorespaces
Expand Down
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@

更多关于模版的内容和如何使用,请仔细阅读 [wiki](https://gitee.com/xkwxdyy/CCNUthesis/wikis)

v1.1.10 -> v1.1.11: 只需要更新 `CCNUtheis.cls`
v1.1.11 -> v1.1.12: 只需要更新 `CCNUtheis.cls`

## [v1.1.12] - 2022-04-20

### Changed

- 定理环境增加缩进

### Fixed

- 尝试解决连续章节的孤行问题

## [v1.1.11] - 2022-04-19

Expand Down

0 comments on commit 9589fde

Please sign in to comment.