Coder Social home page Coder Social logo

buaathesis's Introduction

BUAAthesis

北航毕设论文 LaTeX 模板

项目说明

这是北航开源俱乐部维护的的北航毕设论文的 LaTeX 模板

目前仍在开发中,欢迎关注进展,提交 bug/issue,甚至贡献代码

预览

项目发布了最新版本的编译好的 PDF 样例文档 供大家预览:

依赖

模板依赖 v2.0 及以上版本的 ctex 包,请使用较新版本的 LaTeX 发行版。

目前已经测试的 LaTeX 发行版包括:

  • TeXLive 2015、TeXLive 2016、TeXLive 2019(** 推荐 **)
  • CTeX 2.9.3

对于老版本的 LaTeX 发行版,请通过包管理器升级 ctex 的版本。

此外,对于非Windows环境,会需要额外安装两个字体:

  • Times New Roman,该字体可以在Windows系统字体库中获取,可以从此链接下载,也可以在Ubuntu/Debian下快速安装(推荐使用此方法以实现自动化
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections  # 用于非交互模式下自动安装,其他情况下非必须
sudo apt-get install -y ttf-mscorefonts-installer  # 安装微软核心字体库
  • STXingKai,该字体暂无可靠的自动安装手段,可以从Windows系统字体库中获取,或从此链接下载

  • STKaiTi,该字体暂无可靠的自动安装手段,可以从Windows系统字体库中获取,或从此链接下载

  • SimSun,该字体暂无可靠的自动安装手段,可以从Windows系统字体库中获取,或从此链接下载

  • SimHei,该字体暂无可靠的自动安装手段,可以从Windows系统字体库中获取,或从此链接下载

关于Linux环境下安装字体,可以参考此篇:linux安装字体

如需更多字体文件,可以去此仓库查找并下载

使用方法

  1. 可以使用命令行或 PowerShell 等,配合项目中的 mamske.bat 批处理文件进行编译,详细使用方法请见 mamske.bat 文件;

  2. 使用 Makefile,需要所使用的命令行环境支持 Make,cd 到 BUAAthesis 相应目录,目前支持以下功能

  • make bachelor # 编译本科生的 LATEX(文件默认项,亦可直接输入 make)
  • make master # 编译研究生的 LATEX 文件
  • make kaitireport # 编译本科生/研究生/博士生的开题报告/文献综述文件
  • make clean # 删除编译过程中生成的文件(除了 pdf)
  • make depclean # 删除编译过程中生成的文件(包括 pdf)
  1. 使用 Visual Studio Code 等软件进行编译,请使用 xelatex->bibtex->xelatex*2 方式进行编译;

参考文献相关

模板参考文献格式采用国家标准 GB/T 7714-2005 《信息与文献 参考文献著录规则》之中描述的格式。代码实现为 CTeX-org / gbt7714-bibtex-style v2.0.1https://github.com/CTeX-org/gbt7714-bibtex-style/。参考文献详细说明请见该项目 README.md 或 https://mirror.ctan.org/biblio/bibtex/contrib/gbt7714/gbt7714.pdf

参考文献提供两种排序方式,分别为 按出现顺序(默认)和 按作者姓名和年份,请按需在模板 data\reference.tex 中做相应修改。

注意:根据 GB/T 7714-20058.4 节 出版项 中相关规定:

  • 无出版地的中文文献著录 “出版地不详”,外文文献著录 “S.l.”
  • 无出版者的中文文献著录 “出版者不详”,外文文献著录 “s.n.”

相应的解决方法为

  • 若编译的参考文献条目中出现 “出版地不详” 或 “S.l.”,请在相应的 bib 条目中添加 address 相关信息
  • 若编译的参考文献条目中出现 “出版者不详” 或 “s.n.”,请在相应的 bib 条目中添加 publisher 相关信息

实际使用中应避免出现 [S.l.]:[s.n.] 这样的著录形式。

文件格式相关

目前论文提交网站不再要求必须提交 docx 等格式的 Word 文件,但部分老师会要求在 Word 文件上修改和批注。 可使用如下方法将 Latex 文件(或编译后的 pdf 格式文件)转换为 Word 文件。

注意:将未公开的论文上传至网络有风险,推荐在本地进行转换。

pandoc 本地转换

  • 具体操作可参考 Latex2Word 这篇博客。
  • 优点:公式支持相对较好;可以基于 Word 模板进行转换。
  • 缺点: subfigure 支持差(可手动对编译后的 pdf 文件截图,进行替换);需手动调整对公式的\ref(可使用 Word 全局替换)。

在线转换

如下网址效果较好:

  • ilovepdf:整体效果好,包括页眉和页脚;公式支持差。
  • nitro:需要注册;对超链接、目录、段落格式和字体等支持较好;公式支持差。

buaathesis's People

Contributors

bingyao avatar cgsdfc avatar grissiom avatar hansbug avatar huxuan avatar ieverx avatar josephpeng avatar juruomp avatar kagamichan avatar kalteblau avatar leafduo avatar liueddd avatar mingzefei avatar pvc1989 avatar sighingnow avatar soldivelot avatar songjinghe avatar xinwen-cs avatar xuefeng-xu avatar yangalan123 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.