跳转到内容

开始使用

切换到禅意模式

我们通过向 thesis 输入论文的参数,得到对应的返回页面,并通过类似 React 的方式将这些页面组装起来,例如:

#let (
twoside,
doc,
preface,
mainmatter,
appendix,
fonts-display-page,
cover,
committee-page,
decl-page,
abstract,
abstract-en,
bilingual-bibliography,
outline-page,
list-of-figures,
list-of-tables,
notation,
acknowledgement,
publication,
decision,
) = thesis(
doctype: "master",
degree: "professional",
anonymous: false,
twoside: false,
info: (
title: ("毕业论文中文题目", "有一点长有一点长有一点长有一点长有一点长有一点长"),
title-en: "Analysis of the genetic diversity within and between the XX population revealed by AFLP marker",
grade: "20XX",
student-id: "1234567890",
author: "张三",
author-en: "San Zhang",
secret-level: "",
secret-level-en: "Unclassified",
department: "信息科学与技术学院",
department-en: "School of Information Science and Technology",
discipline: "计算机科学与技术",
discipline-en: "Computer Science and Technology",
major: "计算机科学",
major-en: "Computer Science",
field: "人工智能",
field-en: "Artificial Intelligence",
supervisor: ("李四", "教授"),
supervisor-en: "Professor My Supervisor",
submit-date: datetime.today(),
),
bibliography: bibliography.with("ref.bib"),
)

这里具体的参数含义以及要求可以见 thesis() 参数文档 以及 info 中各个名词的意义

除去这些特定学位论文才有的页面,其余页面可以根据需求自己选择是否加入到论文中。

在开始搭配页面前,我们需要明确文档的设置以及页面构成的顺序,这些都需要去阅读论文装订规范。

一般而言,设置的顺序为:

  • 页面 & 元数据设置
  • 封面页
  • 扉页
  • 前言设置
  • 摘要
  • 目录
  • 正文设置
  • 参考文献
  • 附录设置
  • 后记

我们将通过页面设置的顺序一一 解释如何使用我们的模板指得注意的是,由于本科生论文的模板要求较少,因此正文部分的诸多要求参照研究生学位论文进行编写

可以通过 twoside 参数来控制双面打印,例如传入 thesis 时,设置 twoside: true 即可得到双面打印版本的论文