forked from CasperVector/pkuthss
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🍭 rebase upstream, pickle code and tag v1.0.0
🧤 fix bold in cover & prepare the overleaf version and example 🤖 upload overleaf version url 🙀 fix Qr code setting 💂♀️ fix tableofcontents 🤳 Support replace copy & origin page to the portal version 🐽 Support library inspection requirements 🐿 Complete documentation & Support common features 🧟♂️ add fontset & overleaf adapter document 🦤 Support pkuthss v1.9.0 👹 prepare for release v1.0.0 🕶 rebase upstream 🍭 Modify the thesis template to meet the requirements 🧤 fix bold in cover & prepare the overleaf version and example 🧟♂️ add fontset & overleaf adapter document 👨🎨 tag v1.0.0 released information
- Loading branch information
Showing
28 changed files
with
1,405 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,293 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# ide | ||
.vscode | ||
.idea/ | ||
.history | ||
|
||
.DS_Store | ||
|
||
## Core latex/pdflatex auxiliary files: | ||
*.aux | ||
*.lof | ||
*.log | ||
*.lot | ||
*.fls | ||
*.out | ||
*.toc | ||
*.fmt | ||
*.fot | ||
*.cb | ||
*.cb2 | ||
.*.lb | ||
|
||
## Intermediate documents: | ||
*.dvi | ||
*.xdv | ||
*-converted-to.* | ||
# these rules might exclude image files for figures etc. | ||
# *.ps | ||
# *.eps | ||
|
||
## Generated if empty string is given at "Please type another file name for output:" | ||
|
||
## Bibliography auxiliary files (bibtex/biblatex/biber): | ||
*.bbl | ||
*.bcf | ||
*.blg | ||
*-blx.aux | ||
*-blx.bib | ||
*.run.xml | ||
|
||
## Build tool auxiliary files: | ||
*.fdb_latexmk | ||
*.synctex | ||
*.synctex(busy) | ||
*.synctex.gz | ||
*.synctex.gz(busy) | ||
*.pdfsync | ||
|
||
## Build tool directories for auxiliary files | ||
# latexrun | ||
latex.out/ | ||
|
||
## Auxiliary and intermediate files from other packages: | ||
# algorithms | ||
*.alg | ||
*.loa | ||
|
||
# achemso | ||
acs-*.bib | ||
|
||
# amsthm | ||
*.thm | ||
|
||
# beamer | ||
*.nav | ||
*.pre | ||
*.snm | ||
*.vrb | ||
|
||
# changes | ||
*.soc | ||
|
||
# comment | ||
*.cut | ||
|
||
# cprotect | ||
*.cpt | ||
|
||
# elsarticle (documentclass of Elsevier journals) | ||
*.spl | ||
|
||
# endnotes | ||
*.ent | ||
|
||
# fixme | ||
*.lox | ||
|
||
# feynmf/feynmp | ||
*.mf | ||
*.mp | ||
*.t[1-9] | ||
*.t[1-9][0-9] | ||
*.tfm | ||
|
||
#(r)(e)ledmac/(r)(e)ledpar | ||
*.end | ||
*.?end | ||
*.[1-9] | ||
*.[1-9][0-9] | ||
*.[1-9][0-9][0-9] | ||
*.[1-9]R | ||
*.[1-9][0-9]R | ||
*.[1-9][0-9][0-9]R | ||
*.eledsec[1-9] | ||
*.eledsec[1-9]R | ||
*.eledsec[1-9][0-9] | ||
*.eledsec[1-9][0-9]R | ||
*.eledsec[1-9][0-9][0-9] | ||
*.eledsec[1-9][0-9][0-9]R | ||
|
||
# glossaries | ||
*.acn | ||
*.acr | ||
*.glg | ||
*.glo | ||
*.gls | ||
*.glsdefs | ||
*.lzo | ||
*.lzs | ||
|
||
# uncomment this for glossaries-extra (will ignore makeindex's style files!) | ||
# *.ist | ||
|
||
# gnuplottex | ||
*-gnuplottex-* | ||
|
||
# gregoriotex | ||
*.gaux | ||
*.gtex | ||
|
||
# htlatex | ||
*.4ct | ||
*.4tc | ||
*.idv | ||
*.lg | ||
*.trc | ||
*.xref | ||
|
||
# hyperref | ||
*.brf | ||
|
||
# knitr | ||
*-concordance.tex | ||
# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files | ||
# *.tikz | ||
*-tikzDictionary | ||
|
||
# listings | ||
*.lol | ||
|
||
# luatexja-ruby | ||
*.ltjruby | ||
|
||
# makeidx | ||
*.idx | ||
*.ilg | ||
*.ind | ||
|
||
# minitoc | ||
*.maf | ||
*.mlf | ||
*.mlt | ||
*.mtc[0-9]* | ||
*.slf[0-9]* | ||
*.slt[0-9]* | ||
*.stc[0-9]* | ||
|
||
# minted | ||
_minted* | ||
*.pyg | ||
|
||
# morewrites | ||
*.mw | ||
|
||
# nomencl | ||
*.nlg | ||
*.nlo | ||
*.nls | ||
|
||
# pax | ||
*.pax | ||
|
||
# pdfpcnotes | ||
*.pdfpc | ||
|
||
# sagetex | ||
*.sagetex.sage | ||
*.sagetex.py | ||
*.sagetex.scmd | ||
|
||
# scrwfile | ||
*.wrt | ||
|
||
# sympy | ||
*.sout | ||
*.sympy | ||
sympy-plots-for-*.tex/ | ||
|
||
# pdfcomment | ||
*.upa | ||
*.upb | ||
|
||
# pythontex | ||
*.pytxcode | ||
pythontex-files-*/ | ||
|
||
# tcolorbox | ||
*.listing | ||
|
||
# thmtools | ||
*.loe | ||
|
||
# TikZ & PGF | ||
*.dpth | ||
*.md5 | ||
*.auxlock | ||
|
||
# todonotes | ||
*.tdo | ||
|
||
# vhistory | ||
*.hst | ||
*.ver | ||
|
||
# easy-todo | ||
*.lod | ||
|
||
# xcolor | ||
*.xcp | ||
|
||
# xmpincl | ||
*.xmpi | ||
|
||
# xindy | ||
*.xdy | ||
|
||
# xypic precompiled matrices and outlines | ||
*.xyc | ||
*.xyd | ||
|
||
# endfloat | ||
*.ttt | ||
*.fff | ||
|
||
# Latexian | ||
TSWLatexianTemp* | ||
|
||
## Editors: | ||
# WinEdt | ||
*.bak | ||
*.sav | ||
|
||
# Texpad | ||
.texpadtmp | ||
|
||
# LyX | ||
*.lyx~ | ||
|
||
# Kile | ||
*.backup | ||
|
||
# gummi | ||
.*.swp | ||
|
||
# KBibTeX | ||
*~[0-9]* | ||
|
||
# TeXnicCenter | ||
*.tps | ||
|
||
# auto folder when using emacs and auctex | ||
./auto/* | ||
*.el | ||
|
||
# expex forward references with \gathertags | ||
*-tags.tex | ||
|
||
# standalone packages | ||
*.sta | ||
|
||
# Makeindex log files | ||
*.lpz | ||
|
||
# xwatermark package | ||
*.xwm | ||
|
||
# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib | ||
# option is specified. Footnotes are the stored in a file with suffix Notes.bib. | ||
# Uncomment the next line to have this generated file ignored. | ||
#*Notes.bib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Changelog in Chinese | ||
|
||
此处记载了 pkuthss(iofu728 version) 中所有值得留意的改动,格式参照 [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)。 | ||
|
||
点击版本号即可在 GitHub 上查看相邻版本间的代码变动。 | ||
|
||
## [v1.0.0] - 2021-06-09 | ||
|
||
### Changed | ||
|
||
- 支持《北京大学研究生学位论文写作指南 V2.0-2019.pdf》和《硕士论文模板 2020.word》中对硕士学位论文目录格式要求。 | ||
- 支持 Overleaf。 | ||
- 支持门户原创页/版权声明页插入。 | ||
- 透传 ctex 的 fontset 设定,支持更多样的字体设定。 | ||
- 完善基本的文档和 Overleaf 适配细节。 | ||
- 增加主要符号对照表。 | ||
- 简化 blind 模式下用户设定。 | ||
- Windows 下中易宋体的粗体用假粗体替代。 | ||
|
||
### Fixed | ||
|
||
- 修正硕士学位论文封面“姓名”,“学号”等 key 的字体。 | ||
- 修正硕士学位论文目录章级段前间距。 | ||
- 修正图书馆上传版本对隐藏超链接的要求。 | ||
- 修正表格内引用序号,子图引用序号。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
**iofu728-pkuthss**: Modified version of `LaTeX` Peking University thesis template base on [CasperVector/pkuthss](https://github.com/CasperVector/pkuthss) v1.9.0 | ||
|
||
[**Overleaf** Version](https://www.overleaf.com/latex/templates/2021-peking-university-master-thesis-template-iofu728-pkuthss/rwfvbkpzydpf) is public, welcome to use! | ||
|
||
## Overview | ||
|
||
To use pkuthss in the overleaf platform, and to support some customization requirements in writing processing, I redevelop the template of pkuthss. | ||
|
||
**Modified details:** | ||
|
||
- Style Part: | ||
|
||
- Fixed the styles of table of contents(chapter); | ||
- Fixed `KEY WORDS`, `Title` in the cover -> remove the setting of `bold`; | ||
- Fixed Font Size / Font in the cover, like title and keys; | ||
- Hind hreflink; | ||
|
||
- Functional Part: | ||
- Support library inspection requirements; | ||
- Supported Overleaf online mode; | ||
- Support denotation table; | ||
- Support subfigure \ref, footnote in table; | ||
- Supported scanned pdf insert(origin and copy pages); | ||
- Add fontset mode, change bfseries -> AutoFakeBold in windows; | ||
- Simplify user settings in blind mode; | ||
|
||
## Quick Start | ||
|
||
_Requirements_ | ||
|
||
- TextLive(In mac, you can use MacTex) | ||
|
||
```bash | ||
> cd tex && make all | ||
> cd ../doc/example && latexmk | ||
``` | ||
|
||
## Notes and Acknowledgments | ||
|
||
This code base is built on top of [CasperVector/pkuthss](https://github.com/CasperVector/pkuthss). | ||
|
||
The following files have been changed | ||
|
||
- .gitignore | ||
- README.md | ||
- tex/pkuthss.cls | ||
- tex/pkuthss-\*.def | ||
- tex/Makefile | ||
- doc/example/chap/\* | ||
- doc/example/latexmkrc | ||
- doc/example/thesis.bib | ||
- doc/example/thesis.tex | ||
|
||
## ToDo Lists | ||
|
||
- [x] Check Table and Fig Setting. | ||
- [x] Support Overleaf. | ||
- [x] Fix table of contents. | ||
- [x] Support insert pdf (copy and origin pages). | ||
- [x] Adaptive pkuthss v1.9.0. | ||
|
||
## Change Log | ||
|
||
See [CHANGELOG.md](CHANGELOG.md) for the detailed changes in each release. | ||
|
||
## QA in chinese | ||
|
||
1. Q: 原创页使用这种方式生成得到的文件与 Mac 端字体不同。 | ||
|
||
A: 门户生成的 PDF 文件将字体信息写入文件,导致在 Mac 端呈现字体效果不同(Mac 端显示的是华文字体,而 Windows 端显示的是中易字体)。 | ||
请务必在 Windows 系统下进行打印,或者使用本包生成文件进行打印。 | ||
|
||
## Lincense | ||
|
||
This repository following [LaTeX Project Public License](http://www.latex-project.org/lppl.txt) and [Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/deed.en). |
Oops, something went wrong.