Skip to content

Commit 0186b7d

Browse files
committed
docs: finish polishing docs.
1 parent f3b16c7 commit 0186b7d

File tree

8 files changed

+787
-320
lines changed

8 files changed

+787
-320
lines changed

Diff for: bithesis.dtx

+226-78
Large diffs are not rendered by default.

Diff for: templates/graduate-thesis/bithesis.cls

+115-48
Large diffs are not rendered by default.

Diff for: templates/lab-report/bitreport.cls

+49-23
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@
2727
%%
2828
\RequirePackage{expl3,l3keys2e}
2929
\ProvidesExplClass{bitreport}
30-
{2022-09-29}{3.0.3}{BIT Thesis Templates}
31-
32-
30+
{2022-09-30}{3.0.4}{BIT Thesis Templates}
3331
\int_new:N \g__bithesis_report_type_int
34-
3532
\clist_const:Nn \c__bithesis_report_type_clist
3633
{ common, undergraduate_proposal}
3734
\seq_new:N \l__bithesis_right_seq
@@ -191,29 +188,39 @@
191188
{1} {
192189
\begin{titlepage}
193190
\centering
191+
194192
\vspace{23mm}
193+
195194
\tl_if_empty:NF \l_bit_coverimagepath_tl {
196195
\includegraphics[width=.5\textwidth]{\l_bit_coverimagepath_tl}\\
197196
}
197+
198198
\vspace{10mm}
199+
199200
\heiti\fontsize{24pt}{24pt}\selectfont{\l__bithesis_value_title_tl}\\
201+
200202
\vspace{67mm}
201-
\begin{spacing}{2.2}
202-
\songti\zihao{3}
203-
\clist_set:Nn \l__bithesis_input_clist {
204-
{\textbf{\qquad 院:}} {\l__bithesis_value_school_tl},
205-
{\textbf{\qquad 业:}} {\l__bithesis_value_major_tl},
206-
{\textbf{\qquad 级:}} {\l__bithesis_value_class_tl},
207-
{\textbf{\qquad 号:}} {\l__bithesis_value_student_id_tl},
208-
{\textbf{\qquad 名:}} {\l__bithesis_value_author_tl},
209-
{\textbf{任课教师:}} {\l__bithesis_value_supervisor_tl},
210-
}
211203

212-
\__bithesis_render_cover_entry:n \l__bithesis_input_clist
204+
\begin{spacing}{2.2}
205+
\songti\zihao{3}
206+
207+
\clist_set:Nn \l__bithesis_input_clist {
208+
{\textbf{\qquad 院:}} {\l__bithesis_value_school_tl},
209+
{\textbf{\qquad 业:}} {\l__bithesis_value_major_tl},
210+
{\textbf{\qquad 级:}} {\l__bithesis_value_class_tl},
211+
{\textbf{\qquad 号:}} {\l__bithesis_value_student_id_tl},
212+
{\textbf{\qquad 名:}} {\l__bithesis_value_author_tl},
213+
{\textbf{任课教师:}} {\l__bithesis_value_supervisor_tl},
214+
}
215+
216+
\__bithesis_render_cover_entry:n \l__bithesis_input_clist
217+
218+
\end{spacing}
213219

214-
\end{spacing}
215220
\vspace*{\fill}
221+
216222
\centering
223+
217224
\songti\fontsize{12pt}{12pt}\selectfont{
218225
\tl_if_empty:NTF \l__bithesis_cover_date_tl {
219226
\today
@@ -229,11 +236,15 @@
229236
\topskip=0pt
230237
\vspace*{-16mm}
231238
\centering
232-
\hspace{-6mm}\songti\fontsize{22pt}{22pt}\selectfont{北京理工大学}\par
239+
\hspace{-6mm}
240+
\songti\fontsize{22pt}{22pt}
241+
\selectfont{北京理工大学}\par
233242

234243
\vspace{13mm}
235244

236-
\hspace{-6mm}\heiti\fontsize{24pt}{24pt}\selectfont{本科生毕业设计(论文)开题报告}\par
245+
\hspace{-6mm}
246+
\heiti\fontsize{24pt}{24pt}
247+
\selectfont{本科生毕业设计(论文)开题报告}\par
237248

238249
\vspace{53mm}
239250

@@ -246,7 +257,7 @@
246257
{\textbf{\qquad 名:}} {\l__bithesis_value_author_tl},
247258
{\textbf{指导教师:}} {\l__bithesis_value_supervisor_tl},
248259
{\textbf{校外指导教师:}} {\l__bithesis_value_external_supervisor_tl},
249-
}
260+
}
250261

251262
\__bithesis_render_cover_entry:n \l__bithesis_input_clist
252263

@@ -256,6 +267,7 @@
256267

257268
\centering
258269
\hspace{-6mm}\songti\fontsize{12pt}{12pt}\selectfont{\today}
270+
259271
\end{titlepage}
260272
}
261273
}
@@ -279,24 +291,38 @@
279291
\setcounter{tocdepth}{3}
280292
\setcounter{secnumdepth}{3}
281293
\ctexset{section={
282-
format={\raggedright \bfseries \songti \zihao{-3}},
294+
format={
295+
\raggedright \bfseries \songti \zihao{-3}
296+
},
283297
beforeskip = 24bp plus 1ex minus .2ex,
284298
afterskip = 24bp plus .2ex,
285299
fixskip = true,
286300
name = {,.\quad}
287301
}
288302
}
289303
\ctexset{subsection={
290-
format = {\bfseries \songti \raggedright \zihao{4}},
304+
format = {
305+
\bfseries \songti \raggedright \zihao{4}
306+
},
291307
beforeskip = 24bp plus 1ex minus .2ex,
292308
afterskip = 24bp plus .2ex,
293309
fixskip = true,
294310
}
295311
}
296312
\fancyhf{}
297313
\int_case:nn {\g__bithesis_report_type_int} {
298-
{1} {\fancyhead[R]{\fontsize{10.5pt}{10.5pt}\selectfont{\l__bithesis_value_title_tl}}}
299-
{2} {\fancyhead[R]{\fontsize{10.5pt}{10.5pt}\selectfont{北京理工大学本科生毕业设计(论文)开题报告}}}
314+
{1} {
315+
\fancyhead[R]{
316+
\fontsize{10.5pt}{10.5pt}
317+
\selectfont{\l__bithesis_value_title_tl}
318+
}
319+
}
320+
{2} {
321+
\fancyhead[R]{
322+
\fontsize{10.5pt}{10.5pt}
323+
\selectfont{北京理工大学本科生毕业设计(论文)开题报告}
324+
}
325+
}
300326
}
301327
\fancyfoot[R]{\fontsize{9pt}{9pt}\selectfont{\thepage}}
302328
\renewcommand{\headrulewidth}{1pt}

0 commit comments

Comments
 (0)