-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathnputhesis-sample.tex
138 lines (124 loc) · 3.96 KB
/
nputhesis-sample.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
%%
%% This is file `nputhesis-sample.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% nputhesis.dtx (with options: `sample')
%% Copyright (C) 2020 by Zongze Yang <yangzongze@gmail.com>
%%
%% It may be distributed and/or modified under the conditions of the LaTeX
%% Project Public License, either version 1.3b of this license or (at your
%% option) any later version. The latest version of this license is in
%% https://www.latex-project.org/lppl.txt
%% and version 1.3b or later is part of all distributions of LaTeX version
%% 2005/12/01 or later.
\documentclass[twoside, UTF8, phd, AutoFakeBold]{nputhesis}
\usepackage{lipsum}
\usepackage{hyperref} % 可以保证生成的 pdf 显示逻辑页码
\usepackage{filecontents}
\usepackage[backend=biber,
style=gb7714-2015, maxbibnames=3,minbibnames=3,
gbnamefmt=givenahead,
doi=false,
url=false,
]{biblatex}
\begin{filecontents}{myrefs.bib}
@Book{Knuth1986,
Title = {The \TeX book},
Author = {Donald~Ervin Knuth},
Publisher = {Addison-Wesley},
Year = {1986}
}
@Book{Lamport1994,
Title = {A Document Preparation System},
Author = {Leslie Lamport},
Publisher = {Addison-Wesley},
Year = {1994}
}
@Book{Liu2013,
Title = {\LaTeX 入门},
Author = {刘海洋},
Publisher = {电子工业出版社},
Year = {2013}
}
\end{filecontents}
\addbibresource{myrefs.bib}
\schoolno{10699}
\classno{O242}
\secretlevel{公开}
\authorno{0000999999}
\title[\LaTeX\ Template of NPU Thesis]{西工大硕博学位论文 \LaTeX 模板}
\author[\dbr{San Zhang}]{\dbr{张三}}
\major[Philosophy in Mathematics]{数学}
\supervisor[\dbr{Si Li}]{\dbr{李四}}
\applydate[April 2046]{2046~年~4~月}
\support{本文研究得到某某基金(编号:XXXXXXX)资助。}
\begin{document}
\makecover
\frontmatter
\begin{abstract}
本模板基本实现了西北工业大学硕博论文格式要求: 封皮, 页眉页脚,
章节标题格式, 参考文献格式等.
\begin{keywords}
学位论文, \LaTeX\ 模板, 西工大
\end{keywords}
\end{abstract}
\begin{Abstract}
We implement the class |nputhesis| for the thesis of NWPU.
\begin{Keywords}
Thesis Template, \LaTeX, NPU
\end{Keywords}
\end{Abstract}
\tableofcontents
\printnomenclature
\mainmatter
\chapter{绪论}
\section{\TeX 和 \LaTeX 介绍}
\TeX \parencite{Knuth1986} 和 \LaTeX \cite{Lamport1994, Liu2013}的介绍.
\section{nputhesis 简介}
\chapter{基础知识}
\section{基本命令}
\section{宏包}
\section{图表}
\begin{table}
\caption{数值误差和收敛阶}
\begin{nputabu}{CCC}
\toprule
$N$ & $L^2$ 误差 & 收敛阶 \\
\midrule
4 & 8.1060e-03 & 0.00 \\
8 & 2.0489e-03 & 1.98 \\
16 & 5.3476e-04 & 1.94 \\
32 & 1.5625e-04 & 1.77 \\
\bottomrule
\end{nputabu}
\end{table}
\backmatter
\printbibliography % biblatex 输出参考文件方式
\Appendix % 编号附录
\Appendix* % 不编号附录
\Thanks % 致谢
\Work
\papersection % 以下填写发表论文情况
\begin{npulist}
\item {\bf \dbr{S. Zhang}}, \dbr{S. Li}. NPU 硕博学位论文
\LaTeX\ 模板[D]. 2019.
\end{npulist}
\researchsection % 以下填写参加科研情况
\begin{npulist}
\item NPU \LaTeX 模板. 编号: 000000000, 参与.
\end{npulist}
\statement
\end{document}
%%
%% This work consists of the file nputhesis.dtx
%% and the derived files nputhesis.ins,
%% nputhesis.pdf,
%% nputhesis.cls,
%% nputhesis-sample.tex,
%% nputhesis-sample.pdf and
%% README.org
%%
%%
%% End of file `nputhesis-sample.tex'.