Skip to content

Commit 4cadb1d

Browse files
polosskcfrpg
andauthored
Release 1.5.0 (#27)
* pre-release 1.5.0 (#26) * GNU General Public License v3.0 * Update README.md * Update README.md (#25) Co-authored-by: cfrpg <[email protected]> * update 1.5.0 * update Co-authored-by: cfrpg <[email protected]>
1 parent 0fcb0e7 commit 4cadb1d

File tree

7 files changed

+114
-71
lines changed

7 files changed

+114
-71
lines changed

README.md

Lines changed: 40 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,57 @@
33
![TeX-Document](https://img.shields.io/badge/TeX-Document-3D6117.svg)
44
[![License](https://img.shields.io/badge/license-GNU_General_Public_License_v3.0-blue.svg)](LICENSE)
55
![Status](https://img.shields.io/badge/status-complete-brightgreen.svg)
6-
![Version](https://img.shields.io/badge/version-v1.4.1.0430-674EA7.svg)
6+
![Version](https://img.shields.io/badge/version-v1.5.0.0426-674EA7.svg)
77

88
| TeXLive Environment | Status |
99
| -------------------------------------------------------------------- | ------------------ |
1010
| ![TeXLive2016](https://img.shields.io/badge/TeXLive-2016-3D6117.svg) | :heavy_check_mark: |
1111
| ![TeXLive2017](https://img.shields.io/badge/TeXLive-2017-3D6117.svg) | :heavy_check_mark: |
1212
| ![TeXLive2018](https://img.shields.io/badge/TeXLive-2018-3D6117.svg) | :heavy_check_mark: |
13+
| ![TeXLive2019](https://img.shields.io/badge/TeXLive-2019-3D6117.svg) | :heavy_check_mark: |
14+
| ![TeXLive2020](https://img.shields.io/badge/TeXLive-2020-3D6117.svg) | :heavy_check_mark: |
1315

14-
## Usage
16+
这是在西北工业大学本科毕业设计论文格式的要求下的一份 LaTeX 文档类型模板。使用者无需修改导言区文档类型,直接在发布版的基础上,修改章节标题,撰写内容,即可完成毕业设计论文任务。
1517

16-
1. 安装 `setting` 中的字体 `nwpuname.ttf`
17-
2. 直接对 `example.tex` 文件进行修改
18-
3. 如有必要,请仿照 `example.tex`*导言区* 引用 `\input{settings/thesis-setting}`
18+
## 使用说明
19+
20+
1. 安装 `setting` 文件夹中的字体 `nwpuname.ttf`
21+
2. 直接对 `example.tex` 文件进行修改,对应的摘要、章节内容、附录文件均以默认生成,在此基础上加以修改即可
22+
3. 如有必要,也可以请仿照 `example.tex`*导言区* 引用 `\input{settings/thesis-setting}` 来直接设置文档格式为本科毕业设计论文格式
1923
4. 如有必要,修改 `makefile` 文件的 `MAIN` 选项为自己 `tex` 文档的文件名
2024
5. make & Enjoy
2125

22-
## Note
26+
## 注意事项以及常见问题
2327

24-
* 本模板使用的是 **Adobe** 字体(宋体,黑体,楷体,仿宋),需要另行购买或下载
25-
* `cover.tex` 文件为论文的封面页, `translation-cover` 为本科毕业设计的文献翻译封面页
26-
* 所有字体大小的控制命令统一前缀为`s(a.k.a size)`, 所有字体格式的控制命令统一前缀为`f(a.k.a font)`
27-
* `makefile` 中的 `close`, `clean` 以及 `wipe` 选项为 `windows` 专用, 并且假设使用了 `Acrobat` 打开了当前 pdf 文件
28-
* 校徽用`tikz`生成矢量图形 `logo.tex`
29-
* 额外制作了西北工业大学的标题的特殊字体 `nwpuname.ttf`
30-
* 如有任何问题,请发[issue](https://github.com/NWPUMetaphysicsOffice/LaTeX-Template-For-NPU-Thesis/issues/new)
31-
* 基于[GPLv3-LICENSE](LICENSE),如有帮助,请在自己的文章中引用
32-
* 在编译过程中,如果遇到卡在字体缓冲问题,请先关闭当前进程,并用管理员模式打开命令提示符(或终端),键入 `fc-cache -f -v` 强制刷新字体缓存即可
33-
* Windows 下请将字体放入 `C:\Windows\Fonts` 下,并选择“为所有用户安装”以确保字体文件正确安装
34-
* Adobe 字体:<https://github.com/dolbydu/font/tree/master/unicode>
28+
* **字体问题**
29+
* 本模板出于排版美观考虑,使用的是 **Adobe** 字体(宋体,黑体,楷体,仿宋),需要另行购买或下载
30+
* Adobe 字体:<https://github.com/dolbydu/font/tree/master/unicode>
31+
* Windows 下请将字体放入 `C:\Windows\Fonts` 下,并选择“为所有用户安装”以确保字体文件正确安装
32+
* `nwpuname.ttf` 是校名“西北工业大学”的字体文件,该文件只包含这 6 个汉字
33+
* **`makefile` 问题**
34+
* 本模板提供了简单的 `makefile` 文件来控制编译流程
35+
* 这份 `makefile` 中的 `close`, `clean` 以及 `wipe` 选项为 `windows` 专用, 并且假设使用了 `Acrobat` 打开了当前 pdf 文件
36+
* 对于 Linux 玩家而言,没有比这份 `makefile` 更简单的版本了,在此基础上稍作修改即可使用
37+
* **预创建文件及部分格式符说明**
38+
* `cover.tex` 为论文的封面页
39+
* `translation-cover.tex` 为本科毕业设计的文献翻译封面页
40+
* `logo.tex` 是通过 `tikz` 生成的校徽矢量图形 ,如果觉得不好看也可以去形象识别系统下载对应版本,并自行替换
41+
* 字体大小(size)的控制命令统一前缀为 `s`
42+
* 字体格式(font)的控制命令统一前缀为 `f`
43+
* **开源许可问题**
44+
* 基于 [GPLv3-LICENSE](LICENSE)
45+
* 如有帮助,请在自己的文章中引用;如果在此基础上新增/删除/更改,请按照开源许可的要求继续保持开源,且同时继续使用相同开源许可
46+
* **其他可能的模板使用问题**
47+
* 在编译过程中,如果遇到卡在字体缓冲问题,请先关闭当前进程,并用管理员模式打开命令提示符(或终端),键入 `fc-cache -f -v` 强制刷新字体缓存即可
48+
* 模板成型于 **2016 年**,制作者们都已经离开了当时的制作环境。如果后期有任何格式上的变化,欢迎 fork-modify-pull-request 或者在 [issue](https://github.com/polossk/LaTeX-Template-For-NPU-Thesis/issues/new) 中详细说明新旧格式,我们乐意解决模板使用的问题
49+
* **恕制作者们不解答任何 LaTeX 使用问题**
3550

3651
## BibTeX
3752

3853
```bibtex
3954
@misc{NWPUThesisLaTeXTemplate,
4055
title={{{\LaTeX}}-Template-For-NPU-Thesis},
41-
author={Shangkun Shen and Zhihe Wang and Weijia Zhang},
56+
author={Shangkun Shen and Zhihe Wang and Jiduo Zhang and Weijia Zhang},
4257
year={2016},
4358
month={05}
4459
}
@@ -47,11 +62,15 @@
4762
## Copyright
4863

4964
Use this code whatever you want, under the circumstances of acknowleged the
50-
mit license this page below. Star this repository if you like, and it will
65+
GPL license this page below. Star this repository if you like, and it will
5166
be very generous of you!
5267

5368
## License
5469

55-
Copyright (c) 2016 NWPU Metaphysics Office <https://github.com/NWPUMetaphysicsOffice>
70+
Copyright (c) 2016-2020 *NWPU Metaphysics Office* <https://github.com/NWPUMetaphysicsOffice>
71+
72+
This repo is under the license of **GNU General Public License v3.0**. Go
73+
and check [license](LICENSE) for details.
5674

57-
This repo is under the license of GNU General Public License v3.0. Go and check [license](LICENSE) for details.
75+
The association *NWPU Metaphysics Office* is a club-like student group. The
76+
members are cfrpg, kidozh, njzwj, polossk, in alphabet order.

example.pdf

636 Bytes
Binary file not shown.

example.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
\mainmatter
5757

5858
\renewcommand{\baselinestretch}{1.0}
59-
\sRealHalfXiaosi\fSong
59+
\sHalfXiaosi\fSong
6060

6161
% 正文内容
6262
\input{chapters/chapter01.tex}

plug-ins/math-symbols-readme.pdf

-11.3 KB
Binary file not shown.

plug-ins/math-symbols.sty

Lines changed: 59 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
% math-symbols.sty
2-
% by polossk, version 2.0
3-
% last update 2018-5-15
2+
% by polossk, version 2.2.0.1230
3+
% last update 2019-12-30
44
% github.com/polossk/Math-Symbols-in-LaTeX
5-
\ProvidesPackage{math-symbols}[2018/5/15 v2.0 Math-Symbols-in-LaTeX]
5+
\ProvidesPackage{math-symbols}[2019/12/30 v2.2.0.1230 Math-Symbols-in-LaTeX]
66
%------------------------------------------------------------------------------%
77
%-Requare-Packages-------------------------------------------------------------%
88
%------------------------------------------------------------------------------%
@@ -28,6 +28,7 @@
2828
\newcommand\mi{{\mathrm i}} % constant i
2929
\newcommand\mj{{\mathrm j}} % constant j
3030
\newcommand\me{{\mathrm e}} % constant e
31+
\newcommand\mdeg{{^\circ}} % symbol degree
3132
\newcommand\mnatr{{\mathbb N}} % natural num set N
3233
\newcommand\mintg{{\mathbb Z}} % integer set Z
3334
\newcommand\mrato{{\mathbb Q}} % rational set Q
@@ -92,6 +93,12 @@
9293
\newcommand\mvchi{{\bm \chi}} % vector chi
9394
\newcommand\mvpsi{{\bm \psi}} % vector psi
9495
\newcommand\mvomega{{\bm \omega}} % vector omega
96+
\newcommand\mvvarepsilon{{\bm \varepsilon}} % vector varepsilon
97+
\newcommand\mvvarkappa{{\bm \varkappa}} % vector varkappa
98+
\newcommand\mvvarphi{{\bm \varphi}} % vector varphi
99+
\newcommand\mvvarpi{{\bm \varpi}} % vector varpi
100+
\newcommand\mvvarrho{{\bm \varrho}} % vector varrho
101+
\newcommand\mvvartheta{{\bm \vartheta}} % vector vartheta
95102
%------------------------------------------------------------------------------%
96103
%-[M]ath-[M]atrix-Defination---------------------------------------------------%
97104
%------------------------------------------------------------------------------%
@@ -133,6 +140,46 @@
133140
\newcommand\mmpsi{{\bm \Psi}} % matrix Psi
134141
\newcommand\mmomega{{\bm \Omega}} % matrix Omega
135142
%------------------------------------------------------------------------------%
143+
%-[M]ath-[T]ensor-Defination---------------------------------------------------%
144+
%------------------------------------------------------------------------------%
145+
\newcommand\mta{{\mathbf A}} % tensor A
146+
\newcommand\mtb{{\mathbf B}} % tensor B
147+
\newcommand\mtc{{\mathbf C}} % tensor C
148+
\newcommand\mtd{{\mathbf D}} % tensor D
149+
\newcommand\mte{{\mathbf E}} % tensor E
150+
\newcommand\mtf{{\mathbf F}} % tensor F
151+
\newcommand\mtg{{\mathbf G}} % tensor G
152+
\newcommand\mth{{\mathbf H}} % tensor H
153+
\newcommand\mti{{\mathbf I}} % tensor I
154+
\newcommand\mtj{{\mathbf J}} % tensor J
155+
\newcommand\mtk{{\mathbf K}} % tensor K
156+
\newcommand\mtl{{\mathbf L}} % tensor L
157+
\newcommand\mtm{{\mathbf M}} % tensor M
158+
\newcommand\mtn{{\mathbf N}} % tensor N
159+
\newcommand\mto{{\mathbf O}} % tensor O
160+
\newcommand\mtp{{\mathbf P}} % tensor P
161+
\newcommand\mtq{{\mathbf Q}} % tensor Q
162+
\newcommand\mtr{{\mathbf R}} % tensor R
163+
\newcommand\mts{{\mathbf S}} % tensor S
164+
\newcommand\mtt{{\mathbf T}} % tensor T
165+
\newcommand\mtu{{\mathbf U}} % tensor U
166+
\newcommand\mtv{{\mathbf V}} % tensor V
167+
\newcommand\mtw{{\mathbf W}} % tensor W
168+
\newcommand\mtx{{\mathbf X}} % tensor X
169+
\newcommand\mty{{\mathbf Y}} % tensor Y
170+
\newcommand\mtz{{\mathbf Z}} % tensor Z
171+
\newcommand\mtgamma{{\bm \Gamma}} % tensor Gamma
172+
\newcommand\mtdelta{{\bm \Delta}} % tensor Delta
173+
\newcommand\mttheta{{\bm \Theta}} % tensor Theta
174+
\newcommand\mtlambda{{\bm \Lambda}} % tensor Lambda
175+
\newcommand\mtxi{{\bm \Xi}} % tensor Xi
176+
\newcommand\mtpi{{\bm \Pi}} % tensor Pi
177+
\newcommand\mtsigma{{\bm \Sigma}} % tensor Sigma
178+
\newcommand\mtupsilon{{\bm \Upsilon}} % tensor Upsilon
179+
\newcommand\mtphi{{\bm \Phi}} % tensor Phi
180+
\newcommand\mtpsi{{\bm \Psi}} % tensor Psi
181+
\newcommand\mtomega{{\bm \Omega}} % tensor Omega
182+
%------------------------------------------------------------------------------%
136183
%-[M]ath-[V]ector-Defination-[T]ransposed--------------------------------------%
137184
%------------------------------------------------------------------------------%
138185
\newcommand\mmat{{{\mathbf A}^T}} % matrix A^T
@@ -173,41 +220,14 @@
173220
\newcommand\mmpsit{{{\bm \Psi}^T}} % matrix Psi^T
174221
\newcommand\mmomegat{{{\bm \Omega}^T}} % matrix Omega^T
175222
%------------------------------------------------------------------------------%
176-
%-[M]ath-[T]ensor-Defination---------------------------------------------------%
177-
%------------------------------------------------------------------------------%
178-
\newcommand\mta{{\mathsf A}} % tensor A
179-
\newcommand\mtb{{\mathsf B}} % tensor B
180-
\newcommand\mtc{{\mathsf C}} % tensor C
181-
\newcommand\mtd{{\mathsf D}} % tensor D
182-
\newcommand\mte{{\mathsf E}} % tensor E
183-
\newcommand\mtf{{\mathsf F}} % tensor F
184-
\newcommand\mtg{{\mathsf G}} % tensor G
185-
\newcommand\mth{{\mathsf H}} % tensor H
186-
\newcommand\mti{{\mathsf I}} % tensor I
187-
\newcommand\mtj{{\mathsf J}} % tensor J
188-
\newcommand\mtk{{\mathsf K}} % tensor K
189-
\newcommand\mtl{{\mathsf L}} % tensor L
190-
\newcommand\mtm{{\mathsf M}} % tensor M
191-
\newcommand\mtn{{\mathsf N}} % tensor N
192-
\newcommand\mto{{\mathsf O}} % tensor O
193-
\newcommand\mtp{{\mathsf P}} % tensor P
194-
\newcommand\mtq{{\mathsf Q}} % tensor Q
195-
\newcommand\mtr{{\mathsf R}} % tensor R
196-
\newcommand\mts{{\mathsf S}} % tensor S
197-
\newcommand\mtt{{\mathsf T}} % tensor T
198-
\newcommand\mtu{{\mathsf U}} % tensor U
199-
\newcommand\mtv{{\mathsf V}} % tensor V
200-
\newcommand\mtw{{\mathsf W}} % tensor W
201-
\newcommand\mtx{{\mathsf X}} % tensor X
202-
\newcommand\mty{{\mathsf Y}} % tensor Y
203-
\newcommand\mtz{{\mathsf Z}} % tensor Z
204-
%------------------------------------------------------------------------------%
205223
\newcommand\mvzero{{\bm 0}} % vector 0
206224
\newcommand\mvone{{\bm 1}} % vector 1
207225
\newcommand\mmzero{{\mathbf 0}} % matrix 0
208226
\newcommand\mmone{{\mathbf 1}} % matrix 1
227+
\newcommand\mtzero{{\mathbf 0}} % tensor 0
228+
\newcommand\mtone{{\mathbf 1}} % tensor 1
209229
%------------------------------------------------------------------------------%
210-
%-Useful-Functions-and-Operators-----------------------------------------------%
230+
%-Useful-Operators-------------------------------------------------------------%
211231
%------------------------------------------------------------------------------%
212232
\DeclareMathOperator\diff{d\!} % operator diff
213233
\DeclareMathOperator\Diff{D} % operator Diff
@@ -226,6 +246,12 @@
226246
\DeclareMathOperator*{\argmax}{argmax} % operator argmax
227247
\DeclareMathOperator*{\argopt}{argopt} % operator argopt
228248
\DeclareMathOperator*{\dist}{dist} % operator dist
249+
\DeclareMathOperator\rot{rot} % operator rot
250+
\DeclareMathOperator\curl{curl} % operator curl
251+
\DeclareMathOperator\divergence{div} % operator div
252+
%------------------------------------------------------------------------------%
253+
%-Useful-Functions-------------------------------------------------------------%
254+
%------------------------------------------------------------------------------%
229255
\newcommand\abs[1]{{\lvert {#1} \rvert}} % operator abs
230256
\newcommand\norm[1]{{\| {#1} \|}} % operator norm
231257
\newcommand\normlp[2]{{\norm{#1}}_{#2}} % operator Lp-norm

references/reference.bib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@misc{NWPUThesisLaTeXTemplate,
22
title={{{\LaTeX}}-Template-For-NPU-Thesis},
3-
author={Shangkun Shen and Zhihe Wang and Weijia Zhang},
3+
author={Shangkun Shen and Zhihe Wang and Jiduo Zhang and Weijia Zhang},
44
year={2016},
55
month={05}
66
}

0 commit comments

Comments
 (0)