e71828 / nputhesis

LaTeX Thesis Template for NPU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nputhesis

西北工业大学学位论文 LaTeX 模板 LaTeX Thesis Template for NPU (静待官方模板)

TODO

  • 关键字:cfg 中的 Keywords 改为 Key Words
  • 文中字体行距:修改 cls 中的 linespread;小四字体字宽为12 pt,字高约为1.25倍的字宽,拉伸系数为1.389。
  • 目录行距:修改 thesis.tex 中的 linespread
  • 章文距离:修改 cls 中的 parskip
  • 目录额外距离: 修改 cls 中的chaptervspace
  • 题注字体;修改 sty 中的 caption
  • 层级标题:修改 cls 中的 structure layout 部分;
  • 文献字体:修改 sty 中的 bibfont
  • 文武线:修改 sty 中的 headrule,例 \renewcommand{\headrule}{\hrule width\headwidth height3.4pt \vspace{0.9pt} \hrule width\headwidth height0.6pt}
  • 设置奇数页的页眉文字:修改 cls 中的 \@title,例 \def\@title{\ucas@value@ch@school \ucas@label@ch@thesis@mas}
  • 页面宽度:修改 cls 中的 textwidth,例 \setlength{\textwidth}{160mm}
  • 页边距:修改 cls 中的 oddsidemarginevensidemargin,例 0-0.8,或 -0.4-0.4
  • 页眉英文是否大写: 修改 cls 中的 titlemark, 使得 {\MakeUppercase{#1}}}
  • 融合插入 pdf 页面:在 Thesis.tex 中引入 pdfpages三明治模式,借用 NWPUMetaphysicsOffice/Yet-Another-LaTeX-Template-for-NPU-Thesis
  • 封面:Frontmatter 封面处添加 \includepdf[pages={1-8}]{NPUstyle/yanputhesis-sample.pdf}
  • 声明:Thesis.tex 添加 \AtEndDocument{\includepdf[pages={last}]{NPUstyle/yanputhesis-sample}}
  • 题注和公式的连字符,在导言区添加:
\patchcmd\thefigure {.}{-} {}{\fail}
\patchcmd\thetable {.}{-} {}{\fail}
\patchcmd\theequation {.}{-} {}{\fail}

\renewcommand{\thefigure}{\arabic{chapter}\raisebox{1pt}{--}\arabic{figure}}

源自 ucasthesis 国科大学位论文 LaTeX 模板

LaTeX 写作的思维模式

LaTeX 的核心**在于内容与格式的分离。 LaTeX的意义在于让作者从格式中解脱。

LaTeX 的创始者 Leslie Lamport 曾被问道人们在使用 LaTeX 时应停止犯的错误时,其回答如下:

“Worrying too much about formatting and not enough about content.” “Worrying too much about formatting and not enough about content.“ ”Worrying too much about formatting and not enough about content.” 这个回答也同样适用于 ucasthesis 许多使用者。 论文写作最重要的是通过规范的学术写作表达自己的研究**和成果,而不是纠结于某些格式及样子上的差异。

根据个人经历,当花费过多的时间关注和修葺论文的格式而非内容时,往往是想逃避论文的写作而表现出的拖延症状。在此,与大家共省。

请记住:

你的学位论文的价值评判将基于其内容和表达而非其参考文献中的人名等是如何显示的。

模板下载

  1. 请在页面右边点击:Clone or download -> Download Zip
  2. 提取文件,并进入目录
  3. 请先编译另外的项目NWPUMetaphysicsOffice/Yet-Another-LaTeX-Template-for-NPU-Thesis
  4. 生成 yanputhesis-sample.pdf./NPUsytle/

Pycharm 使用

根据.run/ 修改配置文件,结合 BibLatex 编译,配合 PyCharm 和 TeXiFy-IDEA食用

自动编译脚本

使用方法

  1. 安装 getoptions
  2. chmod +x artratex.sh
  3. /artratex.sh -h
  4. /artratex.sh -xa: 全编译 OR /artratex.sh -x:不含参考文献

测试终端

  • git bash
  • Ubuntu bash
  • Cygwin(x64)

重要建议

Credits

License

This software is released under the GPL-3.0 license.

About

LaTeX Thesis Template for NPU


Languages

Language:TeX 74.3%Language:Perl 24.2%Language:Shell 0.8%Language:Batchfile 0.4%Language:Python 0.3%