Skip to content

Commit 45e6562

Browse files
committed
avoid orphans and widows
1 parent d834a58 commit 45e6562

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# LaTeX Template for Bachelor's Degree Thesis of WHUT v0.99
1+
# LaTeX Template for Bachelor's Degree Thesis of WHUT v0.991
22

33
## 简介
44

@@ -10,7 +10,7 @@
1010

1111
## 简明帮助
1212

13-
参照 [`main.tex`](main.tex) 以及 `body/` 文件夹中文件修改即可。
13+
参照 [`main.tex`](main.tex) 以及 [`body/`](body/) 文件夹中文件修改即可。
1414

1515
对于使用 [Overleaf](https://www.overleaf.com/) 或其他尚未安装 *华文中宋 (STzhongsong)* 字体的系统,请在 [`main.tex`](main.tex) 中导入文档类 [`whut-bachelor`](whut-bachelor.cls) 时传入参数 `noextrafonts`
1616
(即 `\documentclass[noextrafonts]{whut-bachelor}`)。
@@ -37,4 +37,4 @@
3737
- 补充帮助
3838
- 补充示例
3939

40-
如果您对本模板的各方面有意见或建议,欢迎提出 issue
40+
如果您对本模板的各方面有意见或建议,欢迎提出 [issues](https://github.com/Markhng/WHUT-Bachelor/issues)[pull requests](https://github.com/Markhng/WHUT-Bachelor/pulls)

whut-bachelor.cls

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
99
\ProvidesClass{whut-bachelor}
10-
[2020/05/29 v0.99 Unofficial LaTeX Document Class for WHUT Bachelor Thesis]
10+
[2021/03/17 v0.991 Unofficial LaTeX Document Class for WHUT Bachelor Thesis]
1111

1212
\newcommand*\whut@tokens@title{}
1313
\newcommand*\whut@tokens@school{}
@@ -89,6 +89,9 @@
8989
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9090
%%%% define markups
9191

92+
\widowpenalty=10000
93+
\clubpenalty=10000
94+
9295
\setlength{\baselineskip}{20pt}
9396
% \renewcommand*{\baselinestretch}{1.5}
9497
\renewcommand\normalsize{

0 commit comments

Comments
 (0)